Get content run
Returns status and optional result payload for one direct Content Intelligence run.
Endpoint
Section titled “Endpoint”GET /v1/content-intelligence/runs/{run_id}Authentication
Section titled “Authentication”| Header | Required | Value |
|---|---|---|
Authorization | Yes | Bearer sw_api_live_... |
Required scope:
runs:readPath Parameters
Section titled “Path Parameters”| Parameter | Type | Description |
|---|---|---|
run_id | string | Content Intelligence run UUID. |
Query Parameters
Section titled “Query Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
include_result | boolean | No | Include ca_result. Defaults to false. |
Example Request
Section titled “Example Request”curl -s "https://api.sleepwalker.ai/v1/content-intelligence/runs/414cee1a-0000-0000-0000-000000000000?include_result=true" \ -H "Authorization: Bearer sw_api_live_..."The same request in Python and JavaScript:
import requests
run_id = "414cee1a-0000-0000-0000-000000000000"resp = requests.get( f"https://api.sleepwalker.ai/v1/content-intelligence/runs/{run_id}", headers={"Authorization": "Bearer sw_api_live_..."}, params={"include_result": "true"},)resp.raise_for_status()print(resp.json())const runId = "414cee1a-0000-0000-0000-000000000000";const resp = await fetch( `https://api.sleepwalker.ai/v1/content-intelligence/runs/${runId}?include_result=true`, { headers: { Authorization: "Bearer sw_api_live_..." } },);const data = await resp.json();console.log(data);Response
Section titled “Response”{ "run_id": "414cee1a-...", "action_decision_id": "act_...", "test_id": null, "status": "completed", "source": "api", "created_at": "2026-06-10T12:30:00Z", "started_at": "2026-06-10T12:30:04Z", "completed_at": "2026-06-10T12:30:38Z", "url": "https://www.sleepwalker.ai", "language": "en", "country": "US", "analysis_depth": "score", "overall_score": 76, "overall_band": "Good", "estimated_credits": "3.00", "settled_credits": "3.00", "explanation": "Run completed.", "ca_result": { "overall_score": 76, "overall_band": "Good", "top_recommendations": [] }}Polling Pattern
Section titled “Polling Pattern”create run -> queuedpoll status -> runningpoll status -> completedfetch include_result=true when terminalErrors
Section titled “Errors”| Status | Meaning |
|---|---|
401 | Missing or invalid API key. |
403 | API key is missing runs:read, or this action is unavailable. |
404 | Run was not found or does not belong to the authenticated user. |