Create an API key
API keys
Create an API key
Mints a new key. The plaintext field in the response is shown exactly once — store it securely.
POST
Create an API key
Body
application/json
Human label for the key (e.g. 'hassan-dev').
Required string length:
1 - 100Example:
"my-service-key"
Key prefix environment. Defaults to 'test'.
Available options:
live, test Override default scopes. Defaults to ['detect', 'extract', 'extractions:read'].
Response
Key created.
Includes the one-time plaintext.
