Agents

Agent Chat

Conversational endpoint for the agent (Polling Architecture). Returns a request_id for the frontend to poll /api/v1/predictions/{id}/result.

post/agents/{agent_id}/chat

Request

  • Base URL: https://api.muapi.ai
  • URL: https://api.muapi.ai/agents/{agent_id}/chat
  • Auth: one of:
    • API key in header x-api-key
    • OAuth 2 (client credentials, token URL https://api.muapi.ai/oauth/token)

Path parameters

agent_idstring required

Query parameters

team_idinteger nullable

Headers

x-api-keystring
x-embed-codestring nullable
x-agent-embed-codestring nullable
x-whitelabel-studiostring nullable
authorizationstring nullable

Request body

messagestring required
conversation_idstring nullable
streamboolean
attachmentsstring[] nullable
webhook_urlstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.