Chat

DAG Planner Streaming

Stream a conversation through a DAG planner. Returns Server-Sent Events with planning phases, step execution, and analysis.

post/api/dag

Request body

qstring required

The user query or message

conversation_idstring nullable

Attach to an existing conversation (optional)

agent_idstring nullable

Bind to a specific agent (optional)

tokenstring nullable

API key (fim_xxx) or JWT token for SSE (optional, alternative to Authorization header)

image_idsstring nullable

Comma-separated image IDs to attach (optional)

user_metadatastring nullable

JSON string of custom metadata (optional)

Response

Server-Sent Events stream with DAG execution events

Changes