---
title: "Close an agent conversation"
method: POST
path: "/public/v1/agents/{agentId}/conversations/{conversationId}/close"
tags: ["Agents"]
---

# Close an agent conversation

`POST /public/v1/agents/{agentId}/conversations/{conversationId}/close`

Closes a conversation (e.g. one started via the run endpoint). Requires a USER API key.

## Path parameters

- `agentId` string, required
- `conversationId` number, nullable

## Response `200`

The conversation was closed

---

[API](https://skmtc.dev/getfrontline/apis/public-api.md) · [All operations](https://skmtc.dev/getfrontline/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getfrontline/apis/public-api/revisions/666cd9efa9f3?raw)
