---
title: "Clear a model's pending jobs"
method: POST
path: "/queue/clear"
tags: ["Queue"]
---

# Clear a model's pending jobs

`POST /queue/clear`

Cancel all pending jobs for the given model. Running jobs are left untouched. Returns the number of jobs that were canceled.

## Request body

- QueueClearRequest — Request to clear pending jobs for a model.
  - `model` string, required — Model identifier whose pending jobs should be canceled

## Response `200`

Pending jobs canceled

- QueueClearResponse — Count of pending jobs canceled by the clear operation.
  - `canceled_count` integer, required — Number of pending jobs that were canceled

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.net/together/apis/together-apis.md) · [All operations](https://skmtc.net/together/apis/together-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/together/together-apis/revisions/f26a23fab8e0/schema)
