Agents

Test conversation with an AI Agent, without a chat room (v2)

One turn of a test chat: the agent answers text with its instructions, Memory and knowledge, given the conversation so far in history. No room, no XMPP, nothing is stored; the client keeps the history and sends it back on the next turn.

Open to the owner, and to anyone for an unlisted or public agent (so it can be tried before cloning). A private agent of another owner reads as 404. Supports User JWT and B2B Server JWT. Requires the ai license feature. Replies can take tens of seconds.

post/v2/agents/{idOrAddress}/try

Request

  • Base URL: https://api.chat.ethora.com
  • URL: https://api.chat.ethora.com/v2/agents/{idOrAddress}/try
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

idOrAddressstring required

Agent id, or the agent's 0x... address.

Request body

textstring required

Response

{ ok: true, reply: string, sources: object[], ragDocsUsed: number, model: string|null }

Changes

No recorded changes to this operation across all 1 revision of this API.