Create an API key
Authentication
AuthorizationBearer
An AgentRouter API key or an OAuth access token issued to an MCP host or the CLI.
Request
This endpoint expects an object.
name
scopes
Defaults to read, invoke, topup, feedback and dispute.
Response
The key, including its secret (shown once)
key_id
name
scopes
display
created_via
last_used_at
revoked_at
secret
Shown once.
note
created_at
Errors
400
Bad Request Error