API Keys

Create an agent-scoped API key

Creates a new chr_ak_* key scoped to a single agent. Only org-level API keys may call this endpoint. Requires Pro plan.

post/v1/keys

Request

  • Base URL: https://api.chronary.ai
  • URL: https://api.chronary.ai/v1/keys
  • Auth: HTTP bearer

Request body

agent_idstring required
labelstring

Response

Scoped API key created

idstring required
key_prefixstring required
agent_idstring required
labelstring nullable required
created_atstring date-time required
keystring required

Example response

{
  "id": "db59cb2d-5bd6-4631-84e7-c65db55ff9f9",
  "key_prefix": "chr_ak_0A1B2C3D4E5F6G7H",
  "agent_id": "agt_01H9X4M2P5R8T6V0",
  "label": "Customer A",
  "created_at": "2026-04-17T16:20:00.000Z",
  "key": "chr_ak_0123456789ABCDEFghijklmnopqrstuvwxyz0123456"
}

Changes

No recorded changes to this operation across all 1 revision of this API.