Book a demo

A 30-minute walkthrough on your real providers. We'll deploy CodeVector against your OpenAI or Anthropic key, configure Claude Code or Cursor live, and answer the questions your security team will ask. No slides.

Request deployment access

Tell us about your deployment and we will send Docker registry credentials for the private image and a license token for your environment.

Docs / API Keys

API Keys

Create and manage API keys in CodeVector. Each key is per-user, hashed at rest with a memory-hard algorithm, and revealed only once at creation.

Your gateway URL

Pin your own gateway hostname and we'll rewrite the routes and curl examples on every docs page so you can click straight through to the live console. Stored locally in your browser.

API keys are per-user bearer tokens that authenticate requests to the gateway. Each key has a name, optional expiry, and a prefix for identification.

The API Keys list

API Keys list showing names, prefixes, status dots, last used dates, and expiry dates

The API Keys list shows every key with its prefix, status, last used date, and expiry.

Open /api-keys to see your keys. The table shows:

  • Name - the label you gave the key.
  • Prefix - the first few characters of the key, shown in monospace.
  • Status - Active with a green dot, or Revoked with a gray dot.
  • Last used - when the key was last seen in a gateway request.
  • Expires - the expiry date, or - if none.

Creating a key

New API key modal with a Name field marked optional and a Create key button
Click Create key, give the key a name, and CodeVector issues it.

Click Create key and enter a name. The name is optional but recommended for keys that outlive a single device.

The full key is shown once in a modal immediately after creation. Copy it immediately; there is no way to retrieve it later. The console only stores the prefix and a one-way hash of the key.

Revoking a key

Click the row menu and select Revoke. Revoked keys return 401 on all future gateway requests. This is immediate and cannot be undone.

Using a key

Pass the key in the Authorization header:

curl https://your-gateway.example.com/gateway/openai/v1/chat/completions \
  -H "Authorization: Bearer your-api-key" \
  -H "Content-Type: application/json" \
  -d '{"model": "claude-sonnet-4-6", "messages": [{"role": "user", "content": "Hello"}]}'

Frequently asked questions

Can I see a key after I create it?

No. The full key is shown exactly once at creation. After that, only the prefix is stored and visible.

What happens when a key expires?

Expired keys return 401 on gateway requests. You can revoke a key early at any time.

Can an admin see my API keys?

No. Keys are hashed at rest with a memory-hard algorithm. Admins can see the prefix and last-used timestamp, but never the full key.

  • Connect. Use the CLI to wire coding tools to your gateway automatically.
  • Usage. Track request volume and spend per API key.
  • Models. The model slugs you reference in gateway requests.