{
  "opencollection": "1.0.0",
  "info": {
    "name": "Chunkr Files Tasks API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Tasks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a parse task",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.chunkr.ai/tasks/parse",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a parse task that runs layout analysis, OCR, segmentation, and chunking over the supplied document and returns the initial task record. Poll GET /tasks/{task_id} until status is Succeeded or Failed."
        },
        {
          "info": {
            "name": "Create an extract task",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.chunkr.ai/tasks/extract",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates an extract task that pulls schema-driven structured data from a document and returns JSON output with citations and metrics."
        },
        {
          "info": {
            "name": "List tasks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.chunkr.ai/tasks",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "include_chunks",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a paginated list of tasks for the authenticated account."
        },
        {
          "info": {
            "name": "Get a task",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.chunkr.ai/tasks/:task_id",
            "params": [
              {
                "name": "task_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the task."
              },
              {
                "name": "base64_urls",
                "value": "",
                "type": "query",
                "description": "Return base64-encoded URLs instead of presigned URLs."
              },
              {
                "name": "include_chunks",
                "value": "",
                "type": "query",
                "description": "Include chunks in the response."
              }
            ]
          },
          "docs": "Retrieves a parse or extract task by id, including output when completed."
        },
        {
          "info": {
            "name": "Delete a task",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.chunkr.ai/tasks/:task_id",
            "params": [
              {
                "name": "task_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the task."
              }
            ]
          },
          "docs": "Deletes a task and its associated artifacts. Tasks must not be processing."
        },
        {
          "info": {
            "name": "Get a parse task",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.chunkr.ai/tasks/:task_id/parse",
            "params": [
              {
                "name": "task_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the task."
              }
            ]
          },
          "docs": "Retrieves the parse-specific output for a task."
        },
        {
          "info": {
            "name": "Get an extract task",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.chunkr.ai/tasks/:task_id/extract",
            "params": [
              {
                "name": "task_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the task."
              }
            ]
          },
          "docs": "Retrieves the extract-specific output for a task."
        },
        {
          "info": {
            "name": "Cancel a task",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.chunkr.ai/tasks/:task_id/cancel",
            "params": [
              {
                "name": "task_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the task."
              }
            ]
          },
          "docs": "Cancels a task that is queued or processing."
        }
      ]
    }
  ],
  "bundled": true
}