---
title: "Get Files For Chunk Job"
method: GET
path: "/document/chunking/job_files/{job_id}"
tags: ["Chunking"]
---

# Get Files For Chunk Job

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

## Endpoint to Get Files for a Chunking Job
This endpoint returns a list of files associated with 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.      |
| files               | List   | List of files associated with the job. Each file contains the following fields: file_name, status, timestamp. |

***

#### Errors

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

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