API Keys
Create, manage, and revoke API keys for secure access to the platform.
Create an API key
Creates an API key. You can bind the key to one or more corpora. A `personal` key has the same permissions as its owner; any other key carries exactly the roles assigned to it with `api_roles`, `corpus_roles`, and `agent_roles`.
List API keys
Lists the API keys the caller can access. The response shows the corpora each key can access and with what permissions.
Get an API key
Returns an API key. The response shows the corpora the key can access and with what permissions.
Update an API key
Updates an API key. Enable or disable the key to temporarily remove access without deleting the key. This is useful for maintenance windows, or when your team no longer requires access to a specific corpus.
Delete an API key
Deletes an API key. Delete a key when it is no longer needed or when it is compromised.