LlamaExtract

Extract Stateless

Changed on

Stateless extraction endpoint that uses a default extraction agent in the user's default project. Requires data_schema, config, and either file_id, text, or base64 encoded file data.

post/api/v1/extraction/run

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Query parameters

project_idstring uuid nullable
organization_idstring uuid nullable

Cookies

sessionstring nullable

Request body

file_idstring uuid nullable

The ID of the file to extract from

textstring nullable

The text content to extract from

Response

Successful Response

idstring uuid required

The id of the extraction job

status'PENDING' | 'SUCCESS' | 'ERROR' | 'PARTIAL_SUCCESS' | 'CANCELLED' required

Enum for representing the status of a job

errorstring nullable

The error that occurred during extraction

file_idstring uuid nullable

The id of the file that the extract was extracted from

Changes

    • ▲

      the response property became optional for the status

    • ▲

      the response's property type changed from object to no type for status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ▲

      removed the required property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ●

      removed the optional property / from the response with the status

    • ●

      added the new PER_TABLE_ROW enum value to the // response property for the response status

    • ●

      added the new anthropic-haiku-3.5 enum value to the /// response property for the response status

    • ●

      added the new anthropic-haiku-4.5 enum value to the /// response property for the response status

    • ●

      added the new anthropic-sonnet-4.5 enum value to the /// response property for the response status

    • ●

      added the new gemini-3.0-pro enum value to the /// response property for the response status

    • ○

      added the new optional request property /

    • ○

      the request property default value changed from BALANCED to PREMIUM

    • ○

      added the new PER_TABLE_ROW enum value to the request property /

    • ○

      added the new anthropic-haiku-3.5 enum value to the request property //

    • ○

      added the new anthropic-haiku-4.5 enum value to the request property //

    • ○

      added the new anthropic-sonnet-4.5 enum value to the request property //

    • ○

      added the new gemini-3.0-pro enum value to the request property //

    • ○

      added the optional property // to the response with the status

    • ○

      added the optional property to the response with the status

    • ○

      added subschema #2 to the response property anyOf list for the response status

    • ○

      the response's property default value changed from BALANCED to PREMIUM for the status

    • ○

      response property file deprecated

    • ●

      added the new gemini-2.5-flash-lite enum value to the /// response property for the response status

    • ●

      added the new gemini-2.5-flash-lite enum value to the /// response property for the response status

    • ○

      added the new optional request property /

    • ○

      added the new gemini-2.5-flash-lite enum value to the request property //

    • ○

      added the new gemini-2.5-flash-lite enum value to the request property //

    • ○

      added the optional property // to the response with the status