> ## 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

<ParamField path="conversation_id" type="string" required />

### Response

`object`

<ResponseField name="status" type="string" required />

<ResponseField name="conversation_id" type="string" required />

### Status codes

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

<RequestExample>
  ```bash cURL theme={null}
  curl --request DELETE \
    --url 'http://localhost:8000/api/v1/conversations/{conversation_id}' \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```
</RequestExample>

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