Send a prompt directly. The API chooses a fast model and falls back automatically when needed.
GET /api/chat/Hello%20world
Use the memory endpoint when you want 0code to keep conversational context. Send only your prompt. A session is managed automatically for browsers.
POST /api/memory Content-Type: text/plain Remember that my project uses JavaScript.
JSON bodies are also accepted: {"prompt":"..."}. For API clients, reuse the returned X-0code-Memory value.
Under high server usage, requests are queued automatically and return a request ID. Poll the supplied status_url until the status is complete.