OpenAPI 3.0.02026-08-121996601.2 MB
a95087fe3a20
API Keys
Get an API key
Returns an API key. The response shows the corpora the key can access and with what permissions.
Users that hold none of the corpus_administrator, administrator, or owner roles can only get their own personal API key; a key that exists but belongs to another user returns a 404 error. Machine credentials — API keys, app clients, and service accounts — without one of those three roles cannot call this operation.
get/v2/api_keys/{api_key_id}
Path parameters
api_key_idstring required
The ID of the API key.
Headers
Request-Timeoutinteger
The platform makes a best effort to complete the request in the specified seconds, or it times out.
Request-Timeout-Millisinteger
The platform makes a best effort to complete the request in the specified milliseconds, or it times out.
Response
The response includes the API key name, enabled status, API key role, and API policy.