Syndai Docs

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
/api/v1/external/coding/runs/{run_id}/phases

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.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

run_id*string
Formatuuid

Query Parameters

customer_id?|null

Response Body

Request fulfilled, document follows

application/json
  1. response
phases*array<>
Example Request
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    }  ]}
Was this page helpful?