Agents
One-shot synchronous ask - text in, the agent's reply out (b2b)
Sends the text straight to the agent's LLM persona (plus its RAG knowledge base when enabled) and returns the reply in the same HTTP response - no chat room or XMPP involved. Built for server-to-server automations (e.g. n8n flows). Requires a b2b token: the call bypasses room membership entirely. Responses can take 10-30s for long generations - set client timeouts accordingly.
post/v2/agents/{id}/reply
Request
- Base URL: https://api.chat.ethora.com
- URL: https://api.chat.ethora.com/v2/agents/{id}/reply
- Auth: HTTP bearer
Path parameters
idstring required
Agent id
Request body
Response
ok ({ ok, agentId, reply, model, ragDocsUsed, totalTokens })
Changes
No recorded changes to this operation across all 1 revision of this API.