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.

api_keystring nullable

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

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

The name of the agent's API key.

Response

Successful Response

agent_idstring required

The UUID of the agent

api_keystring required

The value of the newly created API key.

api_key_type'internal' | 'external' | 'github' | 'slack' required
created_atstring date-time required

When the agent API key was created

idstring required

The unique identifier of the agent API key.

namestring nullable required

The optional name of the agent API key.

Changes