API keys
Get an API key
Fetch metadata for one federated API key by its prefix. The plaintext key is never returned after creation.
Fetch one federated API key by itsDocumentation Index
Fetch the complete documentation index at: https://docs.baseten.co/llms.txt
Use this file to discover all available pages before exploring further.
prefix. Only metadata is returned; the plaintext key is shown exactly once at creation and is unrecoverable afterward. To inspect the model access and limits the key resolves to, fetch its group and read the effective_models block.
Authentication
Workspace API key with management scope, formatted as
Api-Key <your-key>.Path parameters
Internal Baseten ID of the owning group.
The key’s prefix (the substring before the
. in the full key string). Returned as prefix from Create an API key and from List API keys for a group.Response
The key’s prefix.
Display name set when the key was minted.
null if no name was provided.Errors
| Status | Meaning |
|---|---|
403 Forbidden | The group or key exists but isn’t in your workspace, or the caller doesn’t have management scope. |
404 Not Found | No group or key with these identifiers in your workspace, or the key has been revoked. |
Previous
Revoke API keyRevoke a federated API key by its prefix. Other keys under the same group are unaffected.
Next