---
title: "Poll the status of an org's background demo-populate task."
method: GET
path: "/api/v1/organizations/{id}/populate-demo/status"
tags: ["Organizations", "internal"]
---

# Poll the status of an org's background demo-populate task.

`GET /api/v1/organizations/{id}/populate-demo/status`

## Path parameters

- `id` string, uuid, required

## Response `200`

Demo populate status

- ApiResponseDemoPopulateStatus
  - `data` union — Lifecycle of a demo-populate task. `Running` is set synchronously in the POST handler (before the `202`), then flipped to a terminal variant by the spawned task. `Failed` carries the error string so the UI can show why.
    - object
      - `started_at` string, date-time, required — When population began.
      - `state` 'running', required
    - object
      - `finished_at` string, date-time, required — When population finished.
      - `state` 'complete', required
    - object
      - `error` string, required — Why population failed.
      - `finished_at` string, date-time, required — When it gave up.
      - `state` 'failed', required
  - `error` string, nullable — Human-readable failure message. Omitted on success.
  - `meta` ApiMeta, required — API metadata included in all responses
    - `api_version` integer, required — API version (integer, increments on breaking changes)
    - `server_version` string, required — Server version (semver)
  - `success` boolean, required — `true` when the request succeeded. `false` responses carry `error` instead of `data`.

## Other responses

- `404` — No demo-populate task for this organization

## Changes

- **2026-07-29** `51af15be596e` — 1 breaking, 1 info
  - added `subschema #1: Running, subschema #2: Complete, subschema #3: Failed` to the `data` response property `oneOf` list for the response status `200`
  - removed `subschema #1, subschema #2, subschema #3` from the `data` response property `oneOf` list for the response status `200`
- **2026-07-23** `c037832cd07f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/scanopy/apis/scanopy-api/changes/api/v1/organizations/:id/populate-demo/status/get.md)

---

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