Create API Key
API Keys
Create API Key
Generate a new API key. The raw key is returned only once in the response and cannot be retrieved after creation.
POST
Create API Key
Body
application/json
The request body resource
Response
Created
Creation timestamp
Subject of the admin who created this key
Revocation timestamp
Subject of the admin who revoked this key
Groups assigned to this API key
Example:
["engineering"]Unique identifier
The generated API key. This is the only time the full key is shown.
Example:
"hpk_Ab3fX9kL..."
Timestamp of last usage
Masked version of the API key for identification
Example:
"hpk_1nzb***************************************"
Human-readable name
Example:
"ai-agent"
Organization ID
Current status of the API key
Available options:
active, revoked