v1

latestOpenAPI 3.1.02026-07-1714861257.5 KB
costs

Complete Execution

Record the completion of an agent execution.

post/costs/executions/{execution_id}/complete

Path parameters

execution_idstring required

Request body

cache_read_tokensinteger
cache_write_tokensinteger
cost_usdnumber
duration_secondsinteger nullable
error_messagestring nullable
execution_idstring required
input_tokensinteger
metadataobject
output_tokensinteger
statusstring required

Response

Successful Response

{"stackTrail":"paths:/costs/executions/{execution_id}/complete:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}