Documentation Index
Fetch the complete documentation index at: https://mintlify.com/lumina-ai-inc/chunkr/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Authentication
This endpoint requires API key authentication via theAuthorization header:
Path Parameters
The unique identifier of the task to retrieve
Query Parameters
Whether to return base64 encoded URLs. If false, the URLs will be returned as presigned URLs.
Whether to include chunks in the output response. Set to false for faster responses when you only need task metadata.
Response
The unique identifier for the task
The current status of the task:
Starting: Task is queued and waiting to beginProcessing: Task is currently being processedSucceeded: Task completed successfullyFailed: Task failed during processingCancelled: Task was cancelled
The date and time when the task was created and queued (ISO 8601 format)
The date and time when the task started processing (ISO 8601 format)
The date and time when the task was finished (ISO 8601 format)
The date and time when the task will expire (ISO 8601 format)
A message describing the task’s status or any errors that occurred
The presigned URL of the task
The complete task configuration including:
Output data (only present when
status is Succeeded and include_chunks is true)Status Codes
- 200: Task retrieved successfully
- 404: Task not found or expired
- 500: Internal server error
Examples
Use Cases
This endpoint can be used to:- Poll task status during processing - Check if a task has moved from
Starting→Processing→Succeeded - Retrieve final output - Get processed chunks, segments, and metadata once processing is complete
- Access task metadata - Get file information, page count, timestamps, and configuration
- Monitor task progress - Track when tasks were created, started, and finished
Notes
- Set
include_chunks=falsefor faster responses when you only need status information - The
outputfield is only populated when the task status isSucceeded - Expired tasks will return a 404 error
- Use base64_urls=true if you need to embed resources directly in your application
- For long-running tasks, implement exponential backoff in your polling logic