Skip to main content

Run Job

POST 

/api/v1/extraction/jobs

Run Job

Request

Cookie Parameters

    session any

Body

required

    schema_id uuidrequired

    The id of the schema

    file_id uuidrequired

    The id of the file

Responses

Successful Response

Schema

    id uuidrequired

    The id of the extraction job

    status StatusEnum (string)required

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

    Enum for representing the status of a job

    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

    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

    data_source_id

    object

    The ID of the data source that the file belongs to

    anyOf

    string

Loading...