Skip to main content

Run Job With Parsed File

POST 

/api/v1/extractionv2/jobs/parsed

Run Job With Parsed File

Request

Cookie Parameters

    session any

Body

required

    extraction_agent_id uuidrequired

    The id of the extraction agent

    file_id uuidrequired

    The id of the file

    data_schema_override

    object

    The data schema to override the extraction agent's data schema with

    anyOf

    property name*

    object

    anyOf

    object

    config_override

    object

    The config to override the extraction agent's config with

    anyOf

    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

Responses

Successful Response

Schema

    run_id uuidrequired

    The id of the extraction run

    extraction_agent_id uuidrequired

    The id of the extraction agent

    data

    object

    required

    The data extracted from the file

    anyOf

    property name*

    object

    anyOf

    object

    extraction_metadata

    object

    required

    The metadata extracted from the file

    property name*

    object

    anyOf

    object