GET
/
v1
/
chunk
/
document
/
{document_id}
curl --request GET \
  --url https://api.aurelio.ai/v1/chunk/document/{document_id} \
  --header 'authorization: <api-key>'
{
  "status": "pending",
  "usage": {
    "tokens": 123,
    "pages": 123,
    "seconds": 123
  },
  "message": "<string>",
  "processing_options": {
    "max_chunk_length": 400,
    "chunker_type": "regex",
    "window_size": 1,
    "delimiters": []
  },
  "document": {
    "id": "<string>",
    "content": "<string>",
    "source": "<string>",
    "source_type": "application/pdf",
    "num_chunks": 123,
    "metadata": {},
    "chunks": []
  },
  "uploaded_urls": {
    "original_file": "<string>",
    "result_html": "<string>",
    "result_json": "<string>",
    "result_markdown": "<string>"
  }
}

Authorizations

authorization
string
header
required

Path Parameters

document_id
string
required

Response

200
application/json
Successful Response

Extended response payload for chunking

status
enum<string>
required

The status of the chunking process

Available options:
pending,
completed,
failed
usage
object
required

Usage

processing_options
object
required

The processing options for the chunker

document
object
required
message
string | null

Message

uploaded_urls
object | null

Uploaded URLs