Skip to main content
GET
/
batch
/
jobs
/
queue
curl https://api.u1.archetypeai.app/v0.5/batch/jobs/queue \
  -H "Authorization: Bearer $ATAI_API_KEY"
{
  "queues": [
    {
      "pipeline_type": "batch",
      "depth": 12
    },
    {
      "pipeline_type": "training",
      "depth": 3
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.archetypeai.app/llms.txt

Use this file to discover all available pages before exploring further.

Overview

This endpoint returns the current queue depths for all pipeline types. Use this to monitor how many jobs are waiting to be processed.

Response

queues
array
Array of queue depth entries, each containing:
  • pipeline_type — Pipeline type (batch or training)
  • depth — Number of jobs currently in the queue for this pipeline type
curl https://api.u1.archetypeai.app/v0.5/batch/jobs/queue \
  -H "Authorization: Bearer $ATAI_API_KEY"
{
  "queues": [
    {
      "pipeline_type": "batch",
      "depth": 12
    },
    {
      "pipeline_type": "training",
      "depth": 3
    }
  ]
}