Get per-record cost for a batch
Get per-record cost for a batch
Returns the total cost for a specific record within a batch execution.
Authentication
AuthorizationBearer
API key or Clerk session token
Path parameters
batchId
Batch execution ID
recordId
Record ID
Response
Record cost
batchExecutionId
billedCostThousandthsCent
Exact raw Runtype-funded provider and hosted-tool cost before account margin, in thousandths of a cent ($1 = 100,000), or null when historical/unpriced rows make the split unavailable.
billedCostUsd
Dollar projection of billedCostThousandthsCent (raw Runtype-funded cost before account margin), or null when the exact split is unavailable.
recordId
selfReportedCostUsd
Portion of totalCostUsd asserted by an externally-run agent pushed to /v1/executions/ingest. Unverified: Runtype neither dispatched nor paid for it. 0 unless external runs were ingested.
totalCostUsd
unpricedExecutions
Count of rows inside totalCostUsd that recorded no cost figure. Their contribution is 0 because the cost is unknown, not because it was free.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error