---
title: "Get Job Status"
method: GET
path: "/document/extraction/job_status/{extraction_job_id}"
tags: ["Extraction"]
---

# Get Job Status

`GET /document/extraction/job_status/{extraction_job_id}`

## Endpoint to Get the Status of an Extraction Job
This endpoint returns the status of an extraction job.

***

## Request Parameters

| Parameter           | Type   | Description                      |
|---------------------|--------|----------------------------------|
| extraction_job_id   | str    | The ID of the extraction job.    |

***

## Response Body

| Field               | Type   | Description                      |
|---------------------|--------|----------------------------------|
| job_id              | str    | The ID of the extraction job.    |
| completed_file_count| int    | The number of files completed.   |
| total_file_count    | int    | The total number of files.       |
| failed_file_count   | int    | The number of files failed.      |
| status              | str    | The status of the extraction job. Can be CREATED, STARTED, IN_PROGRESS, COMPLETED, or COMPLETED_WITH_ERRORS.          |

***

#### Errors

- **404**: If the job ID is not found.
- **500**: If any other error occurs during the retrieval of the job status.

## Path parameters

- `extraction_job_id` string, required

## Response `200`

Successful Response

- ExtractionJobStatusResponse
  - `job_id` string, required
  - `completed_file_count` integer, required
  - `total_file_count` integer, required
  - `failed_file_count` integer, required
  - `status` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/aws-samples/apis/generative-ai-foundational-platform-api.md) · [All operations](https://skmtc.dev/aws-samples/apis/generative-ai-foundational-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aws-samples/generative-ai-foundational-platform-api/revisions/8831d08902e9/schema)
