---
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.net/getfrontline/apis/public-api.md) · [All operations](https://skmtc.net/getfrontline/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getfrontline/public-api/revisions/9d33b6aad674/schema)
