Skip to main content

Get the status of a task

GET 

/v1/task/:task_id

Get the status of a task (parsing, extraction).

Request

Path Parameters

    task_id Task Idrequired

Responses

The status of the task.

Schema

    status ResourceStatus (string)required

    Possible values: [COMPLETED, FAILED, BUILDING, WAITING]

    The status of the task.

    error

    object

    An error message if the task failed.

    anyOf

    string

    result

    object

    The result of the task.

    anyOf

    task_id Task Id (string)required

    The ID of the task.

    duration Duration (number)required

    The time taken to complete the task, in seconds.

    result_url Result Url (string)required

    A URL to access the results (e.g., parsed file, extracted information).

Loading...