LlamaExtract

Get Or Create Default Extraction Agent

Get or create the default extraction agent for the current project (empty schema, default config).

get/api/v1/extraction/extraction-agents/default

Query parameters

project_idstring uuid nullable
organization_idstring uuid nullable

Cookies

sessionstring nullable

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.4

    • 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

    • 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