Thread Usage

Post-hoc credit and token cost for every run on a conversation thread (X-Thread-Id). A thread rollup is not the complete ledger because thread_id 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

thread_idstringRequired

Headers

x-api-pathstring or nullOptional

Response

Successful Response
thread_idstring
requested_creditsdouble
charged_creditsdouble
tokensobject

Metered model tokens. Prompt = input; completion = output.

runslist of objects

Errors

422
Unprocessable Entity Error