---
title: "Create Extraction Job"
method: GET
path: "/document/extraction/create_job"
tags: ["Extraction"]
---

# Create Extraction Job

`GET /document/extraction/create_job`

## Endpoint to Create an Extraction Job
This endpoint creates an extraction job and returns the job ID that can be used to get the status of the job.

***

## Response Body

| Field               | Type   | Description                      |
|---------------------|--------|----------------------------------|
| extraction_job_id   | str    | The ID of the created job.       |
| status              | str    | The status of the created job. Returns CREATED if the job is created successfully. |

***

#### Errors

- **500 Internal Server Error**: If there is an unexpected error during the creation of the extraction job.

## Response `200`

Successful Response

- CreateExtractionResponse
  - `extraction_job_id` string, required
  - `status` 'CREATED' | 'STARTED' | 'COMPLETED' | 'COMPLETED_WITH_ERRORS' | 'FAILED', required

---

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