Skip to documentation

API & MCP

API playground

Call every operation of the eli.ai public REST API from your browser. The playground is driven by the same live /api/v1/openapi.json document as the API reference — pick an operation, fill in parameters, send, and inspect the response (or the SSE event stream). Every request also mirrors into a copyable curl command.

Live requests — no mock mode

Requests run against this deployment with your key. The POST operations (structured query, agent runs) invoke the workspace's chat model and consume real tokens; agent runs can take a while and stream progress over SSE.

Kept in sessionStorage only — session-scoped on purpose, so your key does not persist on shared machines. Create keys in Settings → API keys (workspace keys, plus “Your keys (cross-workspace)”) — see Authentication. A missing, invalid, or revoked key returns 401 unauthorized.

X-Workspace-Id targets a workspace for user keys (eli_uk_…) that can reach more than one; workspace keys (eli_sk_…) always act on their own workspace.