Skip to main content
POST
Compose Keys
Compose Keys are bearer credentials with a budget, expiry, purpose, owner wallet, and chain ID. They are used by native routes, paid runtime routes, and external OpenAI-compatible routes.

Routes

Create body

number | string
required
Positive integer budget in USDC atomic units.
number | string
required
Unix timestamp in milliseconds. Must be in the future.
number | string
required
Chain ID used for key settlement.
string
required
session or api.
string
Optional display name.

Headers

string
required
Owner wallet address for create and list operations.
string
Required for inspecting and revoking a key: Bearer compose-... for the target key or another live key owned by the same wallet.

Response

string
Key identifier.
string
Bearer token returned when a key is created. List and inspect routes do not return token material.
string | number
Configured budget in USDC atomic units.
string | number
Available budget after used and reserved amounts.