Skip to main content
GET
/
batch
/
jobs
/
{id}
curl https://api.u1.archetypeai.app/v0.5/batch/jobs/job_2abc3def4ghi5jkl6mno7pqr \
  -H "Authorization: Bearer $ATAI_API_KEY"
{
  "id": "job_2abc3def4ghi5jkl6mno7pqr",
  "org_id": "org_1abc2def3ghi4jkl",
  "name": "tep-classification",
  "pipeline_type": "batch",
  "pipeline_key": "machine-state-classification",
  "pipeline_version": "1.1.1",
  "status": "COMPLETED",
  "parameters": {
    "worker": {
      "parallelism": 1,
      "config": {
        "model_type": "omega_1_4_base",
        "batch_size": 32,
        "reader_config": {
          "data_columns": ["xmeas_1", "xmeas_2", "xmv_11"],
          "timestamp_column": "timestamp",
          "window_size": 64,
          "step_size": 1
        },
        "classifier_config": {
          "n_neighbors": 5,
          "metric": "euclidean",
          "weights": "uniform",
          "normalize_embeddings": false
        }
      }
    }
  },
  "retry_count": 0,
  "preemption_count": 0,
  "queue_position": null,
  "queue_depth": null,
  "input_progress": {
    "pending": 0,
    "processing": 0,
    "completed": 1,
    "failed": 0
  },
  "created_at": "2026-04-14T10:00:00Z",
  "updated_at": "2026-04-14T10:15:00Z",
  "started_at": "2026-04-14T10:02:00Z",
  "completed_at": "2026-04-14T10:15:00Z",
  "failed_at": null,
  "cancelled_at": null,
  "error": null
}

Overview

This endpoint returns the full details of a specific job, including its current status, parameters, and timestamps.

Request

id
string
required
The unique job identifier

Response

id
string
Unique job identifier
org_id
string
Organization identifier
name
string
Job name
pipeline_type
string
Pipeline type (batch or training)
pipeline_key
string
Pipeline key
pipeline_version
string
Pipeline version used
status
string
Current job status: PENDING, ADMITTED, RUNNING, COMPLETED, FAILED, PREEMPTED, or CANCELLED
parameters
object
Job parameters
retry_count
integer
Number of times the job has been retried
preemption_count
integer
Number of times the job has been preempted
queue_position
integer
Current position in queue (null if not queued)
queue_depth
integer
Total queue depth (null if not queued)
input_progress
object
Per-status counts of tracked (non-reference) inputs, with integer fields pending, processing, completed, failed. Populated on read paths so list views can render progress badges without N+1 fetches; null on write-path responses (create, retry, cancel).
created_at
string
Creation timestamp
updated_at
string
Last update timestamp
started_at
string
Start timestamp (null if not yet started)
completed_at
string
Completion timestamp (null if not completed)
failed_at
string
Failure timestamp (null if not failed)
cancelled_at
string
Cancellation timestamp (null if not cancelled)
error
object
Error details (null if no error)
curl https://api.u1.archetypeai.app/v0.5/batch/jobs/job_2abc3def4ghi5jkl6mno7pqr \
  -H "Authorization: Bearer $ATAI_API_KEY"
{
  "id": "job_2abc3def4ghi5jkl6mno7pqr",
  "org_id": "org_1abc2def3ghi4jkl",
  "name": "tep-classification",
  "pipeline_type": "batch",
  "pipeline_key": "machine-state-classification",
  "pipeline_version": "1.1.1",
  "status": "COMPLETED",
  "parameters": {
    "worker": {
      "parallelism": 1,
      "config": {
        "model_type": "omega_1_4_base",
        "batch_size": 32,
        "reader_config": {
          "data_columns": ["xmeas_1", "xmeas_2", "xmv_11"],
          "timestamp_column": "timestamp",
          "window_size": 64,
          "step_size": 1
        },
        "classifier_config": {
          "n_neighbors": 5,
          "metric": "euclidean",
          "weights": "uniform",
          "normalize_embeddings": false
        }
      }
    }
  },
  "retry_count": 0,
  "preemption_count": 0,
  "queue_position": null,
  "queue_depth": null,
  "input_progress": {
    "pending": 0,
    "processing": 0,
    "completed": 1,
    "failed": 0
  },
  "created_at": "2026-04-14T10:00:00Z",
  "updated_at": "2026-04-14T10:15:00Z",
  "started_at": "2026-04-14T10:02:00Z",
  "completed_at": "2026-04-14T10:15:00Z",
  "failed_at": null,
  "cancelled_at": null,
  "error": null
}