> ## Documentation Index
> Fetch the complete documentation index at: https://docs.salad.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> For autonomous tasks, use live SaladCloud API responses for current state, availability, quotas, models, and other dynamic values. Use current OpenAPI specifications where provided for paths, schemas, required fields, and enums. Never invent endpoints, fields, prices, availability, quotas, models, or state. Prefer API workflows over Portal steps. Read before changing and never expose credentials, signed media URLs, prompts, or sensitive outputs. Retry only safe or idempotent operations with bounded backoff, honoring Retry-After. Verify every write with a read. Stop rather than repeat an uncertain non-idempotent or billable request. AI Gateway uses an organization-specific Bearer key and live /v1/models discovery. Do not delete, cancel, stop, or reduce capacity without explicit user intent. Bind shared operation IDs to the selected product path. Treat Container Engine instances as interruptible and local state as ephemeral. Install the SaladCloud skills (npx skills add https://docs.salad.com), start from the salad skill and /agents/overview; docs MCP: https://docs.salad.com/mcp.

# Creating a Job Queue

*Last Updated: October 7, 2026*

# Using the Public API

Job Queues are not available through the portal, but you can create a Job Queue with the
[Job Queue API](https://docs.salad.com/reference/saladcloud-api/queues/create-queue.md). You will also need to
[create your container group](https://docs.salad.com/reference/saladcloud-api/container-groups/create-container-group.md) via the public API in
order to attach a job queue to it.
[Ensure your container image includes the job queue worker](https://docs.salad.com/container-engine/how-to-guides/job-processing/queue-worker.md)

> [!TIP]
>
> To keep each test round short while you get the queue working, see [Cold Starts and Iterating
> Quickly](https://docs.salad.com/container-engine/how-to-guides/cold-starts-and-iterating-quickly.md).

> 📘 Job Queue Connections
>
> A Job Queue can be connected to multiple container groups at once. but a container group can only be connected to at
> most a single Job Queue. The connection is set when you create the container group. It cannot be added, changed or
> removed afterwards, so to change it you need a new container group.

**We recommend adding a [readiness probe](https://docs.salad.com/container-engine/explanation/infrastructure-platform/readiness-probes.md) to
your container deployment**. This probe will allow your replica to announce to the Job Queue Service when it's ready to
receive and process jobs. We recommend using it in conjunction with a startup probe. Readiness probes will start to run
after a startup probe succeeds. Without a startup or readiness probe, the Job Queue Worker will immediately start to
look for jobs, even if your application inside is not yet ready to receive jobs. If this happens, the job will fail and
you’ll need to submit it again. In our testing, all four attempts of a waiting job were used up within seconds, and the
job was marked `failed` permanently. With a readiness probe in place, the worker waited until the probe passed and then
took the jobs with no failed attempts.

How the readiness probe is configured will depend on your container image, and how it’s configured inside. Many prebuilt
containers or http-apps found in open-source libraries will have a liveness API URL you can check, that will respond
with a 200 code when it’s ready to receive work. Other times, any pre-requisite work may be done before the server
starts, and the server starts up as the last step, so any health-check endpoint would work. In a Whisper Large v3
example below, this is what we have. If your container does not contain a way to check health statuses, you may need to
add one of your own. You can usually find any references to this in the readme or documentation for the container image
you are using. Readiness probes can flip between passing and failing, and will continue to check until it’s ready to go.

```yml theme={null}
Protocol: HTTP/1.X
Path: /hc
Port: 8000
Headers: None Configured
Initial Delay Seconds: 60
Period Seconds: 10
Timeout Seconds: 1
Success Threshold: 1
Failure Threshold: 3
```

> [!NOTE]
>
> The portal shows "Headers: None Configured". If you create the container group through the API, an HTTP probe must
> still send `"headers": []`. Leaving the field out is rejected with `ReadinessProbe.Http.Headers: The Headers field is
>     required`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.