Get a run's phases
Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.
GET
Read how long a run spent in each phase (plan, build, check, review...): rounds, seconds, when it entered, and since when it is running if it still is. A run outside your workspace is a 404. Requires the coding:runs:read 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
phases*array<>curl -X GET 'https://api.syndai.ai/api/v1/external/coding/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/phases'Example Response
{ "phases": [ { "entered_at": "2019-08-24T14:15:22Z", "phase": "string", "rounds": 0, "running_since": "2019-08-24T14:15:22Z", "seconds": 0 } ]}