---
title: "Poll the status of a run"
method: GET
path: "/prompts/status"
tags: ["Runs"]
---

# Poll the status of a run

`GET /prompts/status`

Pass `runId` for a specific run, or only `projectId` to fetch the project's most recent run. Live count fields distinguish retrieved provider outputs from evidence-ready analyzed outputs. Returns `status: "none"` when no run exists yet.

## Query parameters

- `projectId` string, uuid, required
- `runId` string, uuid

## Response `200`

Successful response

- object
  - `runId` string, uuid
  - `status` 'running' | 'completed' | 'failed' | 'interrupted' | 'cancelled' | 'none' — `cancelled` is reported by /prompts/status when a `failed` run had `cancelRequested = true`. `none` only appears when no run exists for the project.
  - `cancelRequested` boolean
  - `totalTasks` integer
  - `completedTasks` integer
  - `retrievedTasks` integer
  - `analyzedTasks` integer
  - `settledTasks` integer
  - `failedTasks` integer
  - `pendingTasks` integer
  - `remainingTasks` integer
  - `cancelledTasks` integer
  - `incompleteTasks` integer
  - `extractionPendingTasks` integer
  - `extractionFailedTasks` integer
  - `extractionIncompleteTasks` integer
  - `scraperAttempted` boolean
  - `scraperSucceeded` boolean
  - `startedAt` string, date-time, nullable
  - `completedAt` string, date-time, nullable
  - `resultsRevision` integer

## Other responses

- `400` — Missing or invalid request parameter.
- `401` — Missing, malformed, or revoked API key.
- `402` — Monthly included API calls for your tier are used up (code `USAGE_LIMIT`). Body includes a `limit` object — `{ limitHit, currentTier, targetTier, feature, cap, used, resetAt }` — describing the cap and the upgrade that lifts it.
- `404` — Resource not found or not owned by your account.
- `429` — Rate limit, project cap, or daily quota hit. Body includes a `code` field.
- `500` — Server error. Retry; if persistent, contact support.

## Changes

- **2026-08-12** `f8f03e555193` — 6 info
  - added the optional property `analyzedTasks` to the response with the `200` status
  - added the optional property `cancelRequested` to the response with the `200` status
  - added the optional property `remainingTasks` to the response with the `200` status
  - added the optional property `resultsRevision` to the response with the `200` status
  - …2 more
- **2026-08-04** `d307a7633c0a` — 3 info
  - added the optional property `extractionFailedTasks` to the response with the `200` status
  - added the optional property `extractionIncompleteTasks` to the response with the `200` status
  - added the optional property `extractionPendingTasks` to the response with the `200` status

[Change history](https://skmtc.dev/openlens/apis/openlens-api/changes/prompts/status/get.md)

---

[API](https://skmtc.dev/openlens/apis/openlens-api.md) · [All operations](https://skmtc.dev/openlens/apis/openlens-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openlens/openlens-api/revisions/f8f03e555193/schema)
