Skip to main content

Get Jobs

GET 

/api/v1/jobs/

Get jobs for a project.

Request

Query Parameters

    job_name any
    limit Limit

    Possible values: <= 100

    Default value: 50
    offset Offset
    Default value: 0
    include_usage_metrics Include Usage Metrics
    Default value: false
    project_id any
    organization_id any

Cookie Parameters

    session any

Responses

Successful Response

Schema

    jobs

    object[]

    required

  • Array [

  • job_record

    object

    required

    Schema for a job's metadata.

    job_name JobNames (string)required

    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

    parameters

    object

    Additional metadata for the job execution.

    anyOf

    object

    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

    created_at date-timerequired

    Creation datetime

    project_id

    object

    The ID of the project this job belongs to.

    anyOf

    string

    id uuid

    Unique identifier

    status StatusEnum (string)required

    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

    updated_at date-time

    Update datetime

    data

    object

    Additional metadata for the job execution.

    anyOf

    object

    usage_metrics

    object

    anyOf

    feature_usage objectrequired
    day Day (string)required
    source Source (string)required
    job_id Job Id (string)required

    user

    object

    required

    id Id (string)required

    The user id from who triggered the job

    name Name (string)required

    The name of the user

  • ]

  • total_count Total Count (integer)required
    limit Limit (integer)required
    offset Offset (integer)required