List Extract Jobs
List extraction jobs with optional filtering and pagination.
Filter by configuration_id, status, file_input, or creation date range. Results are returned newest-first. Use expand=configuration to include the full configuration used, and expand=extract_metadata for per-field metadata.
Query parameters
Filter by document input type (file_id or parse_job_id)
Filter by document input type (file_id or parse_job_id)
Filter by file input value
Filter by file input value
Deprecated: use file_input instead
Deprecated: use file_input instead
Filter by status
Filter by status
Number of items per page
Number of items per page
Token for pagination
Token for pagination
Filter by specific job IDs
Filter by specific job IDs
Additional fields to include: configuration, extract_metadata
Additional fields to include: configuration, extract_metadata
Filter by configuration ID
Filter by configuration ID
Include items created at or after this timestamp (inclusive)
Include items created at or after this timestamp (inclusive)
Include items created at or before this timestamp (inclusive)
Include items created at or before this timestamp (inclusive)
Cookies
Response
Successful Response
Example response
{
"items": [
{
"file_input": "dfl-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"id": "ext-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"project_id": "prj-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"configuration_id": "cfg-11111111-2222-3333-4444-555555555555",
"configuration": {
"target_pages": "1,3,5-7",
"max_pages": 10,
"tier": "cost_effective",
"version": "latest",
"extraction_target": "per_doc",
"system_prompt": "Extract all monetary values in USD. If a currency is not specified, assume USD.",
"parse_tier": "fast",
"parse_config_id": "cfg-11111111-2222-3333-4444-555555555555"
},
"status": "COMPLETED",
"extract_metadata": {
"field_metadata": {
"document_metadata": {
"items": [
{
"amount": {
"citation": [
{
"matching_text": "$10.00",
"page": 1
}
],
"confidence": 1
},
"description": {
"citation": [
{
"matching_text": "$10/month",
"page": 1
}
],
"confidence": 0.998
}
}
],
"total": {
"citation": [
{
"matching_text": "$10.00",
"page": 1
}
],
"confidence": 1
},
"vendor": {
"citation": [
{
"matching_text": "Noisebridge",
"page": 1
}
],
"confidence": 1,
"extraction_confidence": 1,
"parsing_confidence": 1
}
}
}
}
}
]
}Changes
Changed in 8 of the 33 revisions of this API.149
- ○
added the optional property
detail/items/ctxto the response with the422statusresponse-optional-property-added
- ○
added the optional property
detail/items/inputto the response with the422statusresponse-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 optional property
items/items/configuration/anyOf[subschema #1: ExtractConfiguration]/extract_versionfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
items/items/configuration/anyOf[subschema #1: ExtractConfiguration]/versionto the response with the200statusresponse-optional-property-added
- ●
- ●
removed the optional property
items/items/metadata/anyOf[subschema #1: ExtractV2JobMetadata]/usage/anyOf[subschema #1: ExtractJobUsage]/num_document_tokensfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/items/metadata/anyOf[subschema #1: ExtractV2JobMetadata]/usage/anyOf[subschema #1: ExtractJobUsage]/num_output_tokensfrom the response with the200statusresponse-optional-property-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
api tag
LlamaExtractremovedapi-tag-removed
- ○
- ○
api tag
LlamaExtractaddedapi-tag-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
api tag
LlamaExtractremovedapi-tag-removed
- ○
- ●
removed the optional property
items/items/configuration/anyOf[subschema #1: ExtractConfiguration]/langfrom the response with the200statusresponse-optional-property-removed
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
removed the required property
items/items/document_input_valuefrom the response with the200statusresponse-required-property-removed
- ○
added the new optional
queryrequest parameterfile_inputnew-optional-request-parameter
- ○
queryrequest parameterdocument_input_valuewas deprecatedrequest-parameter-deprecated
- ○
added the required property
items/items/file_inputto the response with the200statusresponse-required-property-added
- ▲