Skip to main content

List Extract Runs

GET 

/api/v1/extractionv2/runs

List Extract Runs

Request

Query Parameters

    extraction_agent_id any
    run_id any
    job_id any

Cookie Parameters

    session any

Responses

Successful Response

Schema

  • Array [

  • id uuidrequired

    The id of the extraction run

    created_at

    object

    Creation datetime

    anyOf

    string

    updated_at

    object

    Update datetime

    anyOf

    string

    extraction_agent_id uuidrequired

    The id of the extraction agent

    data_schema

    object

    required

    The schema used for extraction

    property name*

    object

    anyOf

    object

    config

    object

    required

    Additional parameters for the extraction agent.

    extraction_mode ExtractMode (string)

    The extraction mode specified.

    Possible values: [PER_DOC, PER_PAGE]

    Default value: PER_DOC
    handle_missing Handle Missing (boolean)

    Whether to handle missing fields in the schema.

    Default value: false

    system_prompt

    object

    The system prompt to use for the extraction.

    anyOf

    string

    file

    object

    required

    Schema for a file.

    id uuidrequired

    Unique identifier

    created_at

    object

    Creation datetime

    anyOf

    string

    updated_at

    object

    Update datetime

    anyOf

    string

    name Name (string)required

    Possible values: non-empty and <= 3000 characters

    external_file_id External File Id (string)required

    The ID of the file in the external system

    file_size

    object

    Size of the file in bytes

    anyOf

    integer

    file_type

    object

    File type (e.g. pdf, docx, etc.)

    anyOf

    string

    Possible values: non-empty and <= 3000 characters

    project_id uuidrequired

    The ID of the project that the file belongs to

    last_modified_at

    object

    The last modified time of the file

    anyOf

    string

    resource_info

    object

    Resource information for the file

    anyOf

    property name*

    object

    anyOf

    object

    permission_info

    object

    Permission information for the file

    anyOf

    property name*

    object

    anyOf

    object

    data_source_id

    object

    The ID of the data source that the file belongs to

    anyOf

    string

    status ExtractState (string)required

    The status of the extraction run

    Possible values: [CREATED, PENDING, SUCCESS, ERROR]

    error

    object

    The error that occurred during extraction

    anyOf

    string

    job_id

    object

    The id of the job that the extraction run belongs to

    anyOf

    string

    data

    object

    The data extracted from the file

    anyOf

    property name*

    object

    anyOf

    object

    extraction_metadata

    object

    The metadata extracted from the file

    anyOf

    property name*

    object

    anyOf

    object

  • ]