API keys
List API keys for a group
List the federated API keys minted under a Frontier Gateway group. Cursor-paginated.
List the federated API keys minted under a group. Results are cursor-paginated. Per-key responses carry only the
prefix and name; to inspect the model access and limits a key resolves to, fetch its group and read the effective_models block.
Authentication
Workspace API key with management scope, passed as
Authorization: Api-Key $BASETEN_API_KEY (or Bearer; both are accepted).Path parameters
Internal Baseten ID of the group whose keys you want to list.
Query parameters
Page size. Default 100, maximum 1000.
Pagination cursor from the previous response’s
pagination.cursor. Omit on the first call.Response
Key objects. Each item:
prefix(string): The key’s prefix.name(stringornull): Display name set when the key was minted.
has_more(boolean):truewhen more pages exist.cursor(stringornull): Cursor for the next page.nullon the last page.
Errors
| Status | Meaning |
|---|---|
403 Forbidden | The group exists but isn’t in your workspace, or the caller doesn’t have management scope. |
404 Not Found | No group with this id in your workspace, or it has been deleted. |
Previous
Get API keyFetch metadata for one federated API key by its prefix. The plaintext key is never returned after creation.
Next