> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# End Conversation (v1)

> End a v1 conversation.

End a v1 conversation.

### Path parameters

**conversation\_id** `string` *required*

### Response

`object`

**status** `string` *required*

**conversation\_id** `string` *required*

### Status codes

| Code | Meaning |
| - | - |
| `200` | Successful response |
| `401` | Authentication required |
| `422` | Validation Error |
| `429` | Rate limit exceeded |

```bash cURL theme={null}
curl --request DELETE \
  --url 'http://localhost:8000/api/v1/conversations/{conversation_id}' \
  --header "Authorization: Bearer $STATESET_AGENTS_API_KEY"
```

```json 200 theme={null}
{
  "status": "ended",
  "conversation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.