LlamaExtract

Create Extraction Agent

post/api/v1/extraction/extraction-agents

Query parameters

project_idstring uuid nullable
organization_idstring uuid nullable

Cookies

sessionstring nullable

Request body

namestring required

The name of the extraction schema

Response

Successful Response

idstring uuid required

The id of the extraction agent.

namestring required

The name of the extraction agent.

project_idstring uuid required

The ID of the project that the extraction agent belongs to.

data_schemaobject required

The schema of the data.

custom_configuration'default' nullable

Custom configuration type for the extraction agent. Currently supports 'default'.

created_atstring date-time nullable

The creation time of the extraction agent.

updated_atstring date-time nullable

The last update time of the extraction agent.

Changes

Changed in 2 of the 33 revisions of this API.24

    • added the optional property detail/items/ctx to the response with the 422 status

      response-optional-property-added

    • added the optional property detail/items/input to the response with the 422 status

      response-optional-property-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 1bbc901f8c0d22See the full diff
    • removed the enum value gemini-1.5-flash of the request property config/parse_model/anyOf[subschema #1: PublicModelName]/

      request-property-enum-value-removed

    • removed the enum value gemini-1.5-pro of the request property config/parse_model/anyOf[subschema #1: PublicModelName]/

      request-property-enum-value-removed

    • removed the gemini-1.5-flash enum value from the config/parse_model/anyOf[subschema #1: PublicModelName]/ response property for the response status 200

      response-property-enum-value-removed

    • removed the gemini-1.5-pro enum value from the config/parse_model/anyOf[subschema #1: PublicModelName]/ response property for the response status 200

      response-property-enum-value-removed

    This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog