v52

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0189112274.5 KB
Agent APIKeys

Create Api Key

post/agent_api_keys

Request body

agent_idstring nullable

The UUID of the agent

agent_namestring nullable

The name of the agent - if not provided, the agent_id must be set.

namestring required

The name of the agent's API key.

api_key_type'internal' | 'external' | 'github' | 'slack'
api_keystring nullable

Optionally provide the API key value - if not set, one will be generated.

Response

Successful Response

idstring required

The unique identifier of the agent API key.

agent_idstring required

The UUID of the agent

created_atstring date-time required

When the agent API key was created

namestring nullable required

The optional name of the agent API key.

api_key_type'internal' | 'external' | 'github' | 'slack' required
api_keystring required

The value of the newly created API key.