---
title: "Stream"
method: POST
path: "/agent/stream"
tags: ["Runtime"]
deprecated: true
---

# Stream

`POST /agent/stream`

> **Deprecated.**

Process a message with the agent, streaming ag-ui events.

## Request body

- ChatRequest — Request payload for synchronous and streaming chat endpoints. Attributes: session_id: Client-provided session identifier for routing state. query: Natural language prompt or input for the agent.
  - `session_id` string, required
  - `query` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/idun-group/apis/idun-agent-engine-server.md) · [All operations](https://skmtc.net/idun-group/apis/idun-agent-engine-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/idun-group/idun-agent-engine-server/versions/8909cd73cc1c/schema)
