---
title: "Stream Databook Agent Endpoint"
method: POST
path: "/api/businesses/{business_id}/workbook/databook/agent/stream"
tags: ["Data Cleaning"]
---

# Stream Databook Agent Endpoint

`POST /api/businesses/{business_id}/workbook/databook/agent/stream`

## Request

- Base URL: `https://api.flagpost.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flagpost.ai/api/businesses/{business_id}/workbook/databook/agent/stream`
- Auth: HTTP bearer

SSE: status, tool_call, tool_result, done, error.

## Path parameters

- `business_id` string, required

## Request body

- DatabookAgentStreamRequest: SSE chat request for the databook agent.
  - `message` string, required
  - `session_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/flagpost/apis/flagpost-api.md) - [All operations](https://skmtc.dev/flagpost/apis/flagpost-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flagpost/apis/flagpost-api/revisions/0308cef485ca?raw)
