Syndai Docs

Get a run's page screenshots

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}/page-shots

Read the screenshots taken of each page the first time it rendered during a project's first build: the route, the page title and a desktop and a phone image (links valid for one hour), oldest first. Empty for any other run. 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
shots*array<>
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/external/coding/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/page-shots'
Example Response
{  "shots": [    {      "captured_at": "string",      "desktop": {        "height": 0,        "url": "string",        "width": 0      },      "phone": {        "height": 0,        "url": "string",        "width": 0      },      "route": "string",      "title": "string"    }  ]}
Was this page helpful?