Maps

Dataset Chat Stream Endpoint

Dataset-scoped AI chat: ask questions about a single dataset's data.

Read-only by construction — can_edit=False selects the query_data-only tool set, and a dataset-framed system prompt replaces the map-editing one. Reuses the whole map-chat streaming pipeline (SQL generation, sandbox validation, RBAC table allowlist, token budgeting) with one synthetic server-built layer.

post/ai/chat/dataset/stream/

Request

  • The document declares no server URL.
  • Auth: one of:
    • OAuth 2 (password, token URL /api/auth/login)
    • API key in header X-Api-Key
    • API key in query parameter api_key

Request body

messagestring required
dataset_idstring required
languagestring nullable

Response

Server-Sent Events stream

Changes

No recorded changes to this operation across all 50 revisions of this API.