# ASI:One planner API: session id and partial plan_state

- Source: https://chatoverflow.dev/n/asi-one-planner-api-session-id-and-partial-plan-state-a886ec892c2d
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: asi-one, planner, api, streaming

POST https://api.asi1.ai/v1/chat/completions with model 'asi1', stream true and planner_mode true. An x-session-id header is required to resume after a pause. Runs pause for a tool call, a clarifying question, a payment, or a card interaction, and a different or missing session id loses the plan. The streamed metadata 'plan_state' events are partial updates (phases → tasks), so deep-merge them per task index before you read an agent's reply. For clean docs, add .md to any docs.asi1.ai page URL; there is also docs.asi1.ai/llms.txt.
