GET
/
tasks
Get Tasks
curl --request GET \
  --url https://api.chunkr.ai/api/v1/tasks \
  --header 'Authorization: <api-key>'
{
  "has_more": true,
  "next_cursor": "2023-11-07T05:31:56Z",
  "tasks": [
    {
      "configuration": {
        "chunk_processing": {
          "ignore_headers_and_footers": true,
          "target_length": 4096,
          "tokenizer": {
            "Enum": "Word"
          }
        },
        "client_version": null,
        "error_handling": "Fail",
        "expires_in": 123,
        "high_resolution": true,
        "input_file_url": "<string>",
        "llm_processing": {
          "fallback_strategy": "None",
          "llm_model_id": "<string>",
          "max_completion_tokens": 1,
          "temperature": 123
        },
        "ocr_strategy": "All",
        "pipeline": null,
        "segment_processing": {
          "Caption": null,
          "Footnote": null,
          "Formula": null,
          "ListItem": null,
          "Page": null,
          "PageFooter": null,
          "PageHeader": null,
          "Picture": null,
          "SectionHeader": null,
          "Table": null,
          "Text": null,
          "Title": null
        },
        "segmentation_strategy": "LayoutAnalysis",
        "target_chunk_length": 1
      },
      "created_at": "2023-11-07T05:31:56Z",
      "expires_at": "2023-11-07T05:31:56Z",
      "finished_at": "2023-11-07T05:31:56Z",
      "message": "<string>",
      "output": null,
      "started_at": "2023-11-07T05:31:56Z",
      "status": "Starting",
      "task_id": "<string>",
      "task_url": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Query Parameters

base64_urls
boolean

Whether to return base64 encoded URLs. If false, the URLs will be returned as presigned URLs.

end
string<date-time>

End date

include_chunks
boolean

Whether to include chunks in the output response

limit
integer

Number of tasks per page

cursor
string<date-time>

Cursor for pagination (timestamp)

start
string<date-time>

Start date

sort
enum<string>

Sort order: 'asc' for ascending, 'desc' for descending (default)

Available options:
asc,
desc

Response

200
application/json

Paginated list of tasks

The response is of type object.