Agents Through the API articles
Agents Through the API 94
Using your AI agent through the API: agent/ in the model field
You call an agent through the chat endpoint you already know, POST /v1/chat/completions, with the same key and the...
Agents Through the API 93
What an AI agent costs, and how to test it without spending
An agent has no price of its own. You pay for the model it uses, in AI credits, at the price shown in GET...
Agents Through the API 13
Listing your agents through the API: type=agent, base_model and status
The API model list, GET /v1/models, also includes your agents, before the models. With type=agent, it returns only...
Agents Through the API 16
An agent's answer with streaming: why the first piece can take longer
With stream: true, the answer arrives in pieces, as the model writes. In a chat, the text appears little by little...
Agents Through the API 5
Agent limits: 5 tool rounds, and max_tokens and temperature that can only go down
An agent brings its own settings to every request. Your program can lower some of them, but cannot go above them....
Agents Through the API 19
Agent errors through the API: agent_paused and model_not_found
When a request to the agent fails, the API answers with an HTTP status and an error object, with code, message,...
Agents Through the API 12
Putting your agent in your website chat: what your server sends and what it does not
For the agent to talk to the visitors on your website, the path is always the same: the browser talks to your...
Agents Through the API 6
Talking to your agent from Claude Code or ChatGPT with the MCP chat tool
The MozOut MCP server gives assistants such as Claude Code and ChatGPT the chat tool. With it, the assistant asks a...
Agents Through the API 8
Using your agent in n8n or another OpenAI-compatible app: agent/ as the model
An app that talks to OpenAI in the chat format also talks to your agents. It needs three things: our base address,...
Agents Through the API 8
Calling your agent from Python, Node.js or curl: the examples in Use through the API
Each agent has a Use through the API section, on the Agents tab of All in One AI. There you find the agent id, with...





