APIReferenceRuns

List individual captures for a run

One row per stored sample, with its own answer text, sample index, surface, and sources. Filter by prompt ID and/or surface slug (e.g. `chatgpt_ui`). Default 25 rows per page, maximum 100. Follow `next` across all pages and use a finished run for a stable dataset. Empty or errored stored samples are included. Failed attempts without a stored sample have no row here.

GET/api/runs/{run_id}/samples/

Authorization

AuthorizationBearer <token>

Personal Access Token (create one from Settings -> API Keys in the dashboard). Send as Authorization: Bearer gr_live_.... An X-API-Key: gr_live_... header (see the apiKeyAuth scheme) is accepted as an equivalent alternative — send ONE of the two, not both.

In: header

Path Parameters

run_id*integer

Query Parameters

page?integer

1-based page number.

page_size?integer

Rows per page. Server-side default/cap vary per endpoint.

prompt_id?integer
Range1 <= value
surface?string
Length1 <= length <= 40

Response Body

application/json

curl -X GET "https://example.com/api/runs/0/samples/"
{  "results": [    {      "id": 0,      "runId": 0,      "promptId": 0,      "sampleIndex": 0,      "surface": "string",      "model": "string",      "promptText": "string",      "answerText": "string",      "capturedAt": "2019-08-24T14:15:22Z",      "sources": [        "string"      ],      "outcome": "captured"    }  ],  "count": 0,  "next": "string",  "previous": "string"}