---
title: "Get bulk task status"
method: GET
path: "/api/v3/bulk/stream/{task_info_id}/"
tags: ["Extracts"]
---

# Get bulk task status

`GET /api/v3/bulk/stream/{task_info_id}/`

## Request

- Base URL: `https://embedded.improvado.io`
- URL: `https://embedded.improvado.io/api/v3/bulk/stream/{task_info_id}/`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `dts_session_id`
- TypeScript: <https://skmtc.dev/improvado/apis/improvado-embedded-api-v3/docs/api/v3/bulk/stream/:task_info_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Poll a JSON status response (not SSE) for a task submitted by this user in the current agency and workspace. Requires extract VIEW permission. Service principals are not supported. A success status means the action was processed, not that extraction downloading has completed. Inspect result counts and failures for partial failures, even when status is success. Bulk edit IDs are polled here too. A bulk edit changes all selected extractions or none, so its result is always empty; on error, error_text says why the settings were rejected, and internal failures are reported with a generic message.

## Path parameters

- `task_info_id` string, uuid, required

## Headers

- `X-IM-WORKSPACE-ID` integer

## Response `200`

Current task status.

- BulkTaskStatus
  - `status` 'in_progress' | 'success' | 'error' | 'cancelled', required: cancelled applies only to bulk edits.
  - `error_text` string, required
  - `result` object, required: Empty while pending; completed extraction actions include counts and per-item failures. Always empty for bulk edits.
    - `succeeded_count` integer
    - `failed_count` integer
    - `failures` object[]
      - `id` integer
      - `reason` string

## Other responses

- `403`: Authentication or permissions missing, or unsupported service principal.
- `404`: Task not found in the current user's agency and workspace scope.

---

[API](https://skmtc.dev/improvado/apis/improvado-embedded-api-v3.md) - [All operations](https://skmtc.dev/improvado/apis/improvado-embedded-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/improvado/apis/improvado-embedded-api-v3/revisions/a881099bd6c4?raw)
