Tài liệu kỹ thuật cho toàn bộ hệ sinh thái *.iai.one.
Dành cho developer, node builder, và integration architect.
Developer portal. Đây là nơi bạn đang đọc. Auth, APIs, SDKs, node dev.
Backend API. Cloudflare Workers. Auth, flows, executions, nodes, agents.
API Docs →Kết nối API trong 5 phút. Tạo session, fetch flows, chạy execution.
Cookie-based session auth. Login, session check, logout, workspace context.
Toàn bộ endpoints: flows, runs, logs, nodes, agents, templates.
Tạo custom node. Node schema, input/output contract, config spec.
Code examples thật: fetch flows, trigger runs, stream logs, agent calls.
TypeScript SDK. Client setup, typed methods, error handling.
https://api.flow.iai.one
Tất cả requests đều cần credentials: "include" để gửi session cookie.
| Concept | Mô tả |
|---|---|
| Flow | Workflow definition. Gồm nodes + edges. Lưu trong D1. |
| Run | Một lần chạy flow. Có status, duration, step logs. |
| Node | Đơn vị xử lý trong flow. Mỗi node có type, config, input/output. |
| Agent | AI agent chạy multi-step tool loop. Dùng Anthropic tool_use. |
| Workspace | Tenant isolation. Mọi flow, run, log đều thuộc workspace. |
| Session | Cookie-based auth. Opaque token, 7-day TTL, stored in D1. |