---
title: "Drain Conversation Queue (Stream)"
method: POST
path: "/v1/agents/{agent_id}/conversations/{conversation_id}/drain/stream"
tags: ["API v1", "Agents", "Agent Conversations"]
---

# Drain Conversation Queue (Stream)

`POST /v1/agents/{agent_id}/conversations/{conversation_id}/drain/stream`

## Request

- Base URL: `https://api.xpander.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xpander.ai/v1/agents/{agent_id}/conversations/{conversation_id}/drain/stream`
- Auth: API key in header `x-api-key`

Drain an idle conversation's queued follow-ups, streaming each turn over SSE.

## Path parameters

- `agent_id` string, required
- `conversation_id` string, required

## Query parameters

- `version` string, nullable: Agent version to run.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xpander/apis/xpander-ai-api-service.md) - [All operations](https://skmtc.dev/xpander/apis/xpander-ai-api-service/llms.txt) - [OpenAPI document](https://skmtc.dev/xpander/apis/xpander-ai-api-service/revisions/4389ec0875d0?raw)
