Get Jobs
GET/api/v1/jobs/
Get jobs for a project.
Request
Query Parameters
Possible values: <= 100
50
0
false
Cookie Parameters
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
- MOD1
- MOD2
- Base
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- Base
- UsageMetricResponse
]
jobs
object[]
required
job_record
object
required
Schema for a job's metadata.
The name of the job.
Possible values: [load_documents_job
, load_files_job
, playground_job
, eval_dataset_job
, pipeline_managed_ingestion_job
, data_source_managed_ingestion_job
, data_source_update_dispatcher_job
, pipeline_file_update_dispatcher_job
, pipeline_file_updater_job
, file_managed_ingestion_job
, document_ingestion_job
, parse_raw_file_job
, llama_parse_transform_job
, metadata_update_job
, parse_raw_file_job_cached
, extraction_job
, extract_job
, asyncio_test_job
]
partitions
object
required
The partitions for this execution. Used for determining where to save job output.
property name*
object
anyOf
string
string
parameters
object
Additional metadata for the job execution.
anyOf
session_id
object
The upstream request ID that created this job. Used for tracking the job across services.
anyOf
string
correlation_id
object
The correlation ID for this job. Used for tracking the job across services.
anyOf
string
parent_job_execution_id
object
The ID of the parent job execution.
anyOf
string
user_id
object
The ID of the user that created this job
anyOf
string
Creation datetime
project_id
object
The ID of the project this job belongs to.
anyOf
string
Unique identifier
Enum for representing the status of a job
Possible values: [PENDING
, SUCCESS
, ERROR
, PARTIAL_SUCCESS
]
error_code
object
anyOf
string
error_message
object
anyOf
string
attempts
object
The number of times this job has been attempted
anyOf
integer
started_at
object
anyOf
string
ended_at
object
anyOf
string
Update datetime
data
object
Additional metadata for the job execution.
anyOf
usage_metrics
object
anyOf
user
object
required
The user id from who triggered the job
The name of the user
{
"jobs": [
{
"job_record": {
"job_name": "load_documents_job",
"partitions": {},
"parameters": {},
"session_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"correlation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"parent_job_execution_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"user_id": "string",
"created_at": "2024-07-29T15:51:28.071Z",
"project_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "PENDING",
"error_code": "string",
"error_message": "string",
"attempts": 0,
"started_at": "2024-07-29T15:51:28.071Z",
"ended_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"data": {}
},
"usage_metrics": {},
"user": {
"id": "string",
"name": "string"
}
}
],
"total_count": 0,
"limit": 0,
"offset": 0
}
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"
}
]
}