Skip to main content
POST
Record Usage

Authorizations

Authorization
string
header
required

Clerk session JWT for the web app, or a control-plane API key (so_…) from POST /api/v1/api-keys for programmatic / docs try-it use.

Path Parameters

agent_id
string<uuid>
required

Body

application/json
event_type
string
required
Example:

"tool_call"

quantity
number
default:1
unit
string
default:count
meta
Meta · object

Response

Successful Response

id
string
required
ok
boolean
default:true