Results

Get one step with the console and network entries of that step

Operation ID: getStep

GET
/runs/{runId}/tests/{testRunId}/steps/{n}

Needs an API key with the read scope.

Authorization

apiKey
headerAuthorizationBearer <oq_ followed by 43 letters and digits>

An Outqube API key, made in the app's settings. It belongs to one app and has the scope read, trigger or manage; a higher scope includes the lower ones. A revoked or expired key is a 401.

Path Parameters

runId*string

The run's id.

Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
testRunId*string

The test_run_id of one of the run's tests.

Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
n*integer

The step number, from 1.

Range0 < value <= 9007199254740991

Response Body

OK

application/json
  1. response

One step with its reasoning, console and network entries, and screenshot.

n*integer

The step's number in the test, from 1.

Range0 < value <= 9007199254740991
action*string

What the agent did, for example click, type or navigate.

summary*string

The step in plain words.

url*|

The page the step happened on, or null.

outcome*|

ok, error, or blocked (the page stopped the agent, for example a captcha). More values may be added.

at*string

When the step happened.

Match^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
Formatdate-time
reasoning*string

Why the agent took this step.

console*array<>

Console messages from this step.

network*array<>

Network requests from this step.

screenshot_artifact_id*|

Resolve with GET /artifacts/{artifactId}; null when the evidence is gone (retention).

Example Request
curl -X GET 'https://app.outqube.com/api/v1/runs/3f8a6c1e-5b2d-4e7a-8c19-0d4b7e2a9f61/tests/c2e5a7b9-1d3f-4a68-b0c4-8e9d2f1a3b57/steps/3'
Example Response
{  "n": 3,  "action": "click",  "summary": "Select Sign in",  "url": "https://staging.acme.test/sign-in",  "outcome": "error",  "at": "2026-10-30T12:01:12.000Z",  "reasoning": "The sign-in button is visible and enabled, so select it to submit the form.",  "console": [    {      "step": 3,      "kind": "console",      "level": "error",      "message": "Uncaught TypeError: Cannot read properties of undefined (reading 'id')",      "url": null,      "method": null,      "status": null,      "at": "2026-10-30T12:01:12.450Z"    }  ],  "network": [    {      "step": 3,      "kind": "network",      "level": null,      "message": "POST /api/session failed",      "url": "https://staging.acme.test/api/session",      "method": "POST",      "status": 500,      "at": "2026-10-30T12:01:12.400Z"    }  ],  "screenshot_artifact_id": "art_c2e5a7b91d3f4a68b0c48e9d2f1a3b57"}