Skip to main content
POST
/
organizations
/
{organization_name}
/
projects
/
{project_name}
/
queues
/
{queue_name}
/
jobs
Python
from salad_cloud_sdk import SaladCloudSdk
from salad_cloud_sdk.models import QueueJobPrototype

sdk = SaladCloudSdk(
    api_key="YOUR_API_KEY",
    api_key_header="YOUR_API_KEY_HEADER",
    timeout=10000
)

request_body = QueueJobPrototype(
    input="",
    metadata={},
    webhook="webhook"
)

result = sdk.queues.create_queue_job(
    request_body=request_body,
    organization_name="acme-corp",
    project_name="dev-env",
    queue_name="fifo-queue"
)

print(result)
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "input": "<unknown>",
  "status": "pending",
  "events": [
    {
      "action": "created",
      "time": "2023-11-07T05:31:56Z"
    }
  ],
  "create_time": "2023-11-07T05:31:56Z",
  "update_time": "2023-11-07T05:31:56Z",
  "metadata": {},
  "webhook": "<string>",
  "output": "<unknown>"
}
Last Updated: July 1, 2025

Authorizations

Salad-Api-Key
string
header
required

Path Parameters

organization_name
string
required

Your organization name. This identifies the billing context for the API operation and represents a security boundary for SaladCloud resources. The organization must be created before using the API, and you must be a member of the organization. The organization name.

Required string length: 2 - 63
Pattern: ^[a-z][a-z0-9-]{0,61}[a-z0-9]$
Example:

"acme-corp"

project_name
string
required

Your project name. This represents a collection of related SaladCloud resources. The project must be created before using the API. The project name.

Required string length: 2 - 63
Pattern: ^[a-z][a-z0-9-]{0,61}[a-z0-9]$
Example:

"dev-env"

queue_name
string
required

The queue name.

Required string length: 2 - 63
Pattern: ^[a-z][a-z0-9-]{0,61}[a-z0-9]$
Example:

"fifo-queue"

Body

application/json

Represents a request to create a queue job

input
any
required

The job input. May be any valid JSON.

metadata
object

Additional metadata for the job

webhook
string<url>

The webhook to call when the job completes

Required string length: 1 - 2048
Pattern: ^.*$

Response

Created

Represents a queue job

id
string<uuid>
required

The job identifier

input
any
required

The job input. May be any valid JSON.

status
enum<string>
required

The job status

Available options:
pending,
running,
succeeded,
cancelled,
failed
events
object[]
required

The job events

Maximum array length: 1000
create_time
string<date-time>
required

The job creation time

update_time
string<date-time>
required

The job update time

metadata
object

Additional metadata for the job

webhook
string<url>

The webhook URL to notify when the job completes

Required string length: 20 - 27
Pattern: ^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(Z|[+-]\\d{2}:\\d{2})$
output
any

The job output. May be any valid JSON.