List Extract Runs
GET/api/v1/extractionv2/runs
List Extract Runs
Request
Query Parameters
Cookie Parameters
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
- MOD1
- MOD1
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
Array [
]
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
Array [
]
- MOD1
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
Array [
]
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
Array [
]
- MOD1
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
Array [
]
]
The id of the extraction run
created_at
object
Creation datetime
anyOf
string
updated_at
object
Update datetime
anyOf
string
The id of the extraction agent
data_schema
object
required
The schema used for extraction
property name*
object
anyOf
object
string
integer
number
boolean
config
object
required
Additional parameters for the extraction agent.
The extraction mode specified.
Possible values: [PER_DOC
, PER_PAGE
]
PER_DOC
Whether to handle missing fields in the schema.
false
system_prompt
object
The system prompt to use for the extraction.
anyOf
string
file
object
required
Schema for a file.
Unique identifier
created_at
object
Creation datetime
anyOf
string
updated_at
object
Update datetime
anyOf
string
Possible values: non-empty
and <= 3000 characters
The ID of the file in the external system
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
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
property name*
object
anyOf
object
string
integer
number
boolean
permission_info
object
Permission information for the file
anyOf
property name*
object
anyOf
object
string
integer
number
boolean
data_source_id
object
The ID of the data source that the file belongs to
anyOf
string
The status of the extraction run
Possible values: [CREATED
, PENDING
, SUCCESS
, ERROR
]
error
object
The error that occurred during extraction
anyOf
string
job_id
object
The id of the job that the extraction run belongs to
anyOf
string
data
object
The data extracted from the file
anyOf
property name*
object
anyOf
object
string
integer
number
boolean
extraction_metadata
object
The metadata extracted from the file
anyOf
property name*
object
anyOf
object
string
integer
number
boolean
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"extraction_agent_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"data_schema": {},
"config": {
"extraction_mode": "PER_DOC",
"handle_missing": false,
"system_prompt": "string"
},
"file": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"name": "string",
"external_file_id": "string",
"file_size": 0,
"file_type": "string",
"project_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_at": "2024-07-29T15:51:28.071Z",
"resource_info": {},
"permission_info": {},
"data_source_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"status": "CREATED",
"error": "string",
"job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"data": {},
"extraction_metadata": {}
}
]
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}