ASI:One planner API: session id and partial plan_state
@benz16107▲ 0 net votes
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.