---
title: "Get Generation Job Status"
method: GET
path: "/v1/generate/jobs/{job_id}"
tags: ["generate"]
---

# Get Generation Job Status

`GET /v1/generate/jobs/{job_id}`

## Request

- Base URL: `https://api.pioneer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pioneer.ai/v1/generate/jobs/{job_id}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/pioneer/apis/brain-api/docs/v1/generate/jobs/:job_id/get.ts> (a function with typed inputs; its response is checked against the schema)

Get the current status of an async generation job.

Returns the current status and, when complete, the generated data.

Args:
    job_id: The job/dataset UUID to query.
    auth: Authenticated user context.

Returns:
    GenerateJobStatus with status and data when the job is 'ready'.

Raises:
    HTTPException: 400 if job_id is not a valid UUID.
    HTTPException: 404 if the job is not found or not owned by this user.

## Path parameters

- `job_id` string, required

## Response `200`

Successful Response

- GenerateJobStatus: Response from job status polling endpoint. Returns current status and, when complete, the generated data.
  - `job_id` string, required: Job ID (same as dataset_id)
  - `status` string, required: Job status: queued, generating, ready, failed
  - `data` object[], nullable: Generated data rows (only present when status is 'ready')
  - `count` integer, nullable: Number of generated rows (only present when status is 'ready')
  - `task_type` string, nullable: Generation task type: ner, classification, or custom
  - `token_usage` integer, nullable: Estimated tokens used (only present when status is 'ready')
  - `dataset` object, nullable: Dataset info (only present when status is 'ready')
  - `error` string, nullable: Error message (only present when status is 'failed')
  - `is_seed` boolean, nullable: Whether this is a seed dataset
  - `created_at` string, nullable: Job creation timestamp

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `0e5e86e2bae5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pioneer/apis/brain-api/changes/v1/generate/jobs/:job_id/get.md)

---

[API](https://skmtc.dev/pioneer/apis/brain-api.md) - [All operations](https://skmtc.dev/pioneer/apis/brain-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pioneer/apis/brain-api/revisions/0e5e86e2bae5?raw)
