Skip to main content
Fetch one federated API key by its 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

string
required
Workspace API key with management scope, passed as Authorization: Api-Key $BASETEN_API_KEY (or Bearer; both are accepted).

Path parameters

string
required
Internal Baseten ID of the owning group.
string
required
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

string
required
The key’s prefix.
string
Display name set when the key was minted. null if no name was provided.

Errors