---
title: "Get Chunk Job Results"
method: POST
path: "/document/chunking/chunk_file_url"
tags: ["Chunking"]
---

# Get Chunk Job Results

`POST /document/chunking/chunk_file_url`

## Endpoint to Get Chunk Job Results
This endpoint returns the presigned URL for the chunked file associated with a chunking job.

***

## Request Body

| Field               | Type   | Description                      |
|---------------------|--------|----------------------------------|
| chunking_job_id     | str    | The ID of the chunking job.      |
| file_name           | str    | The name of the file.            |

***

## Response Body

| Field               | Type   | Description                      |
|---------------------|--------|----------------------------------|
| file_name           | str    | The name of the file.            |
| chunk_file_url      | str    | The presigned URL for the chunked file. |

***

#### Errors

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

## Request body

- GetFileChunksRequest
  - `chunking_job_id` string, required
  - `file_name` 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)
