Run Usage
Post-hoc credit and token cost for one agent run. run_id is X-Run-Id / job_id from POST /agents. Poll while status is authorized or pricing_pending. thread_id may be null because thread attach is best-effort. Accepts mcp:read or agents:run.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
run_id
Headers
x-api-path
Response
Successful Response
job_id
run_id
source
status
budget
requested_credits
Authorization hold reserved when the run started
charged_credits
Credits actually deducted after settlement or debt
tokens
Metered model tokens. Prompt = input; completion = output.
created_at
thread_id
team_id
billed_team_id
Team wallet that was debited, when spend used the shared team wallet
billable_credits
Metered settlement amount, if priced
settled_at
Errors
422
Unprocessable Entity Error