# Poll or re-read a run

> For the complete documentation index, see [llms.txt](https://www.shortsintel.com/llms.txt). Every docs page is also available as markdown: add .md to its URL. To connect, read [agents.md](https://www.shortsintel.com/agents.md).

GET `/v1/runs/{id}`

Re-reads one Run in the same envelope the original call returned. This is both the poll endpoint for a Run that outlived its wait budget and the permanent free re-read; it never charges and never re-runs the work. Another Customer's Run id is a 404, not a 403.

## Price

Free.

## Parameters

| Name | In | Type | Required | Default | Description |
| --- | --- | --- | --- | --- | --- |
| `id` | path | `string` | Required | — | Run id. |
| `wait` | query | `integer` min 0; max 120 | Optional | `0` | Seconds to hold the response while the Run runs: 200 once it settles, else 202 with poll hints. Default 0 (answer at once), max 120; out of range is a 400 `invalid_request`, as on a paid call. |

## Responses

### 200 OK

`{ run, result }` for a completed or partial Run.

object

The envelope every charged operation answers with: `{ run }` while the Run is running (plus `poll_url` on the 202), joined by `result` once it completes or `error` once it fails.

- `run` object required Every charged operation creates a Run. The envelope is identical whether the result came back inline or was polled.
  - `id` string required
  - `kind` string required What was run, e.g. `video_lookup`.
  - `status` string required one of `running`, `completed`, `partial`, `failed` `partial` keeps the completed items and charges for them, up to what the Balance covers; `failed` charges nothing.
  - `created_at` string required RFC 3339.
  - `completed_at` string required nullable Null while the Run is still running.
  - `charge_credits` integer required What this Run actually cost, in Credits. A stored answer costs the same as a fresh one.
  - `list_price_credits` integer required The full price of the work asked for, in Credits. Equal to `charge_credits` unless the Run charged for only part of it.
  - `cached` boolean required True when a stored result answered without a fresh fetch.
  - `progress` object What a running Research has done so far, refreshed as it works: its `stage` and the counts known by then, such as `analysed` of `shortlisted`. A count is absent until its stage produced it. Absent once the Run settles, and on every other kind.
    - `stage` string required one of `keywords`, `searching`, `reading_creators`, `filtering`, `analysing`, `writing_digest`
    - `keywords` integer value at least 0
    - `creators` integer value at least 0
    - `creators_read` integer value at least 0
    - `searches` integer value at least 0
    - `found` integer value at least 0
    - `judged` integer value at least 0
    - `kept` integer value at least 0
    - `dropped_off_topic` integer value at least 0
    - `dropped_unsure` integer value at least 0
    - `shortlisted` integer value at least 0
    - `analysed` integer value at least 0
    - `updated_at` string required
- `result` any

### 202 Accepted

`{ run }` while the Run is still running.

object

Still running. Poll `poll_url` (`GET /v1/runs/{id}`), waiting the 202's `Retry-After` seconds between polls.

- `run` object required Every charged operation creates a Run. The envelope is identical whether the result came back inline or was polled.
  - `id` string required
  - `kind` string required What was run, e.g. `video_lookup`.
  - `status` string required one of `running`, `completed`, `partial`, `failed` `partial` keeps the completed items and charges for them, up to what the Balance covers; `failed` charges nothing.
  - `created_at` string required RFC 3339.
  - `completed_at` string required nullable Null while the Run is still running.
  - `charge_credits` integer required What this Run actually cost, in Credits. A stored answer costs the same as a fresh one.
  - `list_price_credits` integer required The full price of the work asked for, in Credits. Equal to `charge_credits` unless the Run charged for only part of it.
  - `cached` boolean required True when a stored result answered without a fresh fetch.
  - `progress` object What a running Research has done so far, refreshed as it works: its `stage` and the counts known by then, such as `analysed` of `shortlisted`. A count is absent until its stage produced it. Absent once the Run settles, and on every other kind.
    - `stage` string required one of `keywords`, `searching`, `reading_creators`, `filtering`, `analysing`, `writing_digest`
    - `keywords` integer value at least 0
    - `creators` integer value at least 0
    - `creators_read` integer value at least 0
    - `searches` integer value at least 0
    - `found` integer value at least 0
    - `judged` integer value at least 0
    - `kept` integer value at least 0
    - `dropped_off_topic` integer value at least 0
    - `dropped_unsure` integer value at least 0
    - `shortlisted` integer value at least 0
    - `analysed` integer value at least 0
    - `updated_at` string required
- `poll_url` string required format `uri` Absolute URL of `GET /v1/runs/{id}` for this Run, the body's copy of the 202's `Location` header for callers that never see headers (MCP). Present only while the Run is `running`.

202 · Example

```json
{
  "run": {
    "id": "run_123",
    "kind": "video_lookup",
    "status": "running",
    "created_at": "2026-09-08T09:14:02.418Z",
    "completed_at": null,
    "charge_credits": 0,
    "list_price_credits": 0,
    "cached": false
  },
  "poll_url": "https://www.shortsintel.com/v1/runs/run_123"
}
```

### 401 Unauthorized

Codes: `missing_authorization`, `invalid_key`, `key_revoked`, `key_expired`, `invalid_token`. The problem body and every code are on [Errors](https://www.shortsintel.com/docs/reference/errors).

### 404 Not Found

Code: `not_found`. The problem body and every code are on [Errors](https://www.shortsintel.com/docs/reference/errors).

### 502 Bad Gateway

A Run that itself failed is answered as `application/problem+json` with its problem's status (404, 502,...), the problem members beside the unchanged Run envelope.

Code: `vendor_error`. The problem body and every code are on [Errors](https://www.shortsintel.com/docs/reference/errors).

## Related guides

This call creates a Run. With `wait` it holds the response open until the Run finishes or the wait runs out, then answers with the finished result or `202` and the running Run. Poll [`GET /v1/runs/{id}`](https://www.shortsintel.com/docs/reference/runs/get-run) until it settles; re-reading a Run is free.

- [Runs](https://www.shortsintel.com/docs/concepts/runs): How a call becomes a Run, waiting inline, polling and free re-reads.

## Request samples

curl:

```bash
curl "https://www.shortsintel.com/v1/runs/run_8f2c1ad04b?wait=0" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
```

TypeScript:

```typescript
const response = await fetch(
  "https://www.shortsintel.com/v1/runs/run_8f2c1ad04b?wait=0",
  {
    method: "GET",
    headers: {
      "Authorization": "Bearer sk_live_YOUR_KEY",
    },
  },
);

if (!response.ok) {
  throw new Error(`ShortsIntel ${response.status}`);
}

const data = await response.json();
```

Python:

```python
import requests

response = requests.get(
    "https://www.shortsintel.com/v1/runs/run_8f2c1ad04b?wait=0",
    headers={
        "Authorization": "Bearer sk_live_YOUR_KEY",
    },
)
response.raise_for_status()

data = response.json()
```

200 · `{ run, result }` for a completed or partial Run.

```json
{
  "run": {
    "id": "run_123",
    "kind": "video_lookup",
    "status": "completed",
    "created_at": "2026-09-08T09:14:02.418Z",
    "completed_at": "2026-09-08T09:14:04.930Z",
    "charge_credits": 5,
    "list_price_credits": 5,
    "cached": false
  },
  "result": {
    "platform": "tiktok",
    "id": "7300000000000000000",
    "url": "https://www.tiktok.com/@someone/video/7300000000000000000",
    "description": "3 minutes at 4°C every morning for 30 days. Here is what actually changed. #coldplunge #recovery",
    "posted_at": "2026-09-05T06:32:11.000Z",
    "duration_seconds": 41,
    "thumbnail_url": "https://p16-sign.tiktokcdn.com/obj/tos-cover-7300000000000000000.jpeg",
    "hashtags": [
      "coldplunge",
      "recovery",
      "morningroutine"
    ],
    "sound": {
      "id": "7180000000000000000",
      "title": "original sound - someone",
      "author": "someone",
      "is_original": true
    },
    "creator": {
      "id": "cre_9d4b2a7f1c",
      "handle": "someone",
      "name": "Someone",
      "follower_count": 184300,
      "avatar_url": "https://p16-sign.tiktokcdn.com/obj/tos-avatar-someone.jpeg",
      "verified": false
    },
    "region": "US",
    "language": "en",
    "title": null,
    "commerce": {
      "is_ad": false,
      "paid_partnership": null,
      "affiliate": null,
      "shop_url": null,
      "anchors": [
        {
          "kind": "54",
          "label": "CapCut · Editing made easy"
        }
      ]
    },
    "people": {
      "mentions": [
        "coldplungeco"
      ],
      "collaborators": []
    },
    "location": null,
    "topics": {
      "keywords": [],
      "genre": null,
      "labels": [
        "Fitness",
        "Health"
      ]
    },
    "chapters": null,
    "ai_generated": false,
    "snapshot": {
      "at": "2026-09-08T09:14:04.219Z",
      "views": 1284000,
      "likes": 143200,
      "comments": 2810,
      "shares": 9040,
      "saves": 21600
    },
    "scores": {
      "outlier": 4.21,
      "outlier_p90": 1.6,
      "percentile": 95,
      "velocity": {
        "views_per_hour": 6698.6,
        "window": "snapshot"
      },
      "reason": null,
      "baseline": {
        "median_views": 305000,
        "p90_views": 802000,
        "engagement_rate": 0.1342,
        "posts_per_week": 4.1,
        "sample": 20,
        "confidence": "high",
        "source": "videos",
        "computed_at": "2026-09-08T09:14:03.902Z",
        "stale": false
      }
    }
  }
}
```

[Previous List your recent runs](https://www.shortsintel.com/docs/reference/runs/list-runs)[Next List what a run delivered](https://www.shortsintel.com/docs/reference/runs/list-run-items)
