Get batch execution total cost

Returns the total cost across all records, flow steps, agent executions, and nested subagents.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

idstringRequired
Batch execution ID

Response

Batch cost
batchExecutionIdstring
totalCostUsddouble

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error