Skip to main content
GET
Get run usage

Authorizations

Authorization
string
header
required

Company API key (mwk_) or personal access token (mel_). A PAT requires X-Workspace-ID on company-scoped routes. An API key implies its own company.

Headers

X-Workspace-ID
string<uuid>

Company UUID for a personal token on company-scoped operations. A company API key already binds its company.

Path Parameters

runId
string
required

runId from the corresponding authorized response.

Response

Successful response.

run_id
string
required
task_id
string
required
workspace_id
string
required
funding
object
required
as_of
string<date-time>
required
final
boolean
required
pending_count
integer
required
customer_billed_ticks
string
required
reported_model_cost_ticks
string | null
required
reported_model_cost_updated_at
string<date-time> | null
required
receipts
object[]
required
usage
object[]
required
execution_identity_id
string | null