Get a run's trace
Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.
GET
Read every attempt, turn, tool call, check and review of a run, each with its time and credits. A run outside your workspace is a 404. Requires the coding:runs:usage scope.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
run_id*stringFormat
uuidcustomer_id?|nullRequest fulfilled, document follows
application/json- response
charged_usd*numberlive*booleanrows*array<>curl -X GET 'https://api.syndai.ai/api/v1/external/coding/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/trace'Example Response
{ "charged_usd": 0, "live": true, "rows": [ { "credits_usd": 0, "ended_at": "2019-08-24T14:15:22Z", "error": "string", "id": "string", "kind": "string", "minutes": 0, "name": "string", "paid_by": "string", "parent_id": "string", "started_at": "2019-08-24T14:15:22Z", "status": "string", "summary_in": "string", "summary_out": "string", "tokens_in": 0, "tokens_out": 0 } ]}