List all historical runs/passes for a study
GET
/studies/{slug}/runs
const url = 'https://app.discotrace.com/api/v1/studies/core-discovery/runs';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.discotrace.com/api/v1/studies/core-discovery/runs \ --header 'Authorization: Bearer <token>'Requires read scope. Returns immutable pass records (Pass 1 through Pass N) with shipped-change markers and summary KPIs.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”slug
required
string
Example
core-discoveryLowercase study slug within the authenticated workspace.
Responses
Section titled “Responses”Historical passes for the study.
Structured error payload with remediation link (resolveUrl).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
retryable
required
boolean
resolveUrl
required
string format: uri
details
object
key
additional properties
any
Example
{ "error": { "code": "insufficient_scope", "message": "API key is missing required scope 'run'.", "retryable": false, "resolveUrl": "https://app.discotrace.com/w/acme/api" }}Structured error payload with remediation link (resolveUrl).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
retryable
required
boolean
resolveUrl
required
string format: uri
details
object
key
additional properties
any
Example
{ "error": { "code": "insufficient_scope", "message": "API key is missing required scope 'run'.", "retryable": false, "resolveUrl": "https://app.discotrace.com/w/acme/api" }}