curl --request POST \
--url https://api.together.ai/v1/queue/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "my-queue-model",
"payload": {},
"info": {},
"priority": 0
}
'{
"requestId": "<string>"
}Submit a new job to the queue for asynchronous processing. Jobs are processed in strict priority order (higher priority first, FIFO within the same priority). Returns a request ID that can be used to poll status or cancel the job.
curl --request POST \
--url https://api.together.ai/v1/queue/submit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "my-queue-model",
"payload": {},
"info": {},
"priority": 0
}
'{
"requestId": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.together.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Job request
Request to submit a job to the queue.
Required model identifier
"my-queue-model"
Freeform model input. Passed unchanged to the model. Contents are model-specific.
Arbitrary JSON metadata stored with the job. Returned in status responses, where the model and system may have added or modified keys (e.g. progress).
Job priority. Higher values are processed first (strict priority ordering). Jobs with equal priority are processed in submission order (FIFO).
Successfully queued request
Response returned after queueing a job.
Unique identifier for the submitted job. Use this to poll status or cancel.
Was this page helpful?