Agents

Create an AI Agent for an app (v2, tenant actor)

Same body and response as POST /v2/agents, with the App in the path as the agent's home App (ownerAppId) unless the body names another. The caller must manage that App (403 OWNER_APP_FORBIDDEN otherwise). Supports User JWT and B2B Server JWT; with a B2B Server JWT the owner is the token's tenant App. Like POST /v2/agents it requires the ai license feature and the account's agents capability.

post/v2/apps/{appId}/agents

Request

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

Path parameters

appIdstring required

Target App ID. Must be an app the calling actor owns or has been delegated access to.

Request body

object required

Same fields as POST /v2/agents.

Response

{ ok: true, agent: Agent }

Changes

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