---
title: "Flush Job Queue"
method: POST
path: "/agents/{AgentID}/flush"
tags: ["Agents"]
---

# Flush Job Queue

`POST /agents/{AgentID}/flush`

## Request

- Base URL: `https://example.app.liongard.com/api/v1`
- URL: `https://example.app.liongard.com/api/v1/agents/{AgentID}/flush`
- Auth: API key in header `X-ROAR-API-KEY`

Empty an agent's job queue.

## Path parameters

- `AgentID` integer, required

## Response `200`

- integer

---

[API](https://skmtc.dev/liongard/apis/liongard-v1-endpoints.md) - [All operations](https://skmtc.dev/liongard/apis/liongard-v1-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/liongard/apis/liongard-v1-endpoints/revisions/7efdc24166c1?raw)
