---
title: "Get Job Status"
method: GET
path: "/document/chunking/job_status/{job_id}"
tags: ["Chunking"]
---

# Get Job Status

`GET /document/chunking/job_status/{job_id}`

## Endpoint to Get the Status of a Chunking Job
This endpoint returns the status of a chunking job.

***

## Request Parameters

| Parameter           | Type   | Description                      |
|---------------------|--------|----------------------------------|
| job_id              | str    | The ID of the chunking job.      |

***

## Response Body

| Field               | Type   | Description                      |
|---------------------|--------|----------------------------------|
| chunking_job_id     | str    | The ID of the chunking job.      |
| status              | str    | The status of the chunking job. Can be QUEUED, IN_PROGRESS, COMPLETED, or FAILED. |
| total_file_count    | int    | The total number of files to be chunked. |
| completed_files     | int    | The number of files completed.   |
| failed_files        | int    | The number of files failed.      |

***

#### Errors

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

## Path parameters

- `job_id` string, required

## Response `200`

Successful Response

- unknown

## 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)
