---
title: "Abort an agent session"
method: POST
path: "/agent/sessions/{sessionId}/abort"
tags: ["Agent"]
---

# Abort an agent session

`POST /agent/sessions/{sessionId}/abort`

## Path parameters

- `sessionId` string, uuid, required

## Headers

- `Replo-Api-Version` '2026-08-21', required

## Response `200`

Abort an agent session

- object
  - `ok` boolean, required

## Other responses

- `400` — Invalid request.
- `401` — Missing or invalid Replo Public API token.
- `403` — You are not authorized to access this resource.
- `404` — Not Found
- `409` — The resource is in a conflicting state.
- `429` — Too many requests. Please retry after the time indicated by the Retry-After header.
- `500` — An internal error occurred.
- `503` — Service temporarily unavailable.

---

[API](https://skmtc.dev/replo/apis/replo-public-api.md) · [All operations](https://skmtc.dev/replo/apis/replo-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/replo/replo-public-api/revisions/6f031f6819f4/schema)
