v1

latestOpenAPI 3.1.02026-07-26157321426.3 KB

Searches training jobs

Searches training jobs for the organization.

post/v1/training_jobs/search

Request body

project_idstring nullable

Filter the training jobs by project ID.

job_idstring nullable

Filter the training jobs by job ID.

statusesstring[] nullable

Filter the training jobs by status.

Example request

{
  "project_id": "n4q95w5",
  "job_id": "p7qr9qv",
  "statuses": [
    "TRAINING_JOB_RUNNING",
    "TRAINING_JOB_COMPLETED"
  ],
  "order_by": [
    {
      "field": "created_at",
      "order": "asc"
    }
  ]
}

Response

Example response

{
  "training_jobs": [
    {
      "name": "gpt-oss-job"
    }
  ]
}