Creative Agent

Chat

Enqueue one agent turn. Returns the job_id immediately; the SAQ worker runs the turn and writes streamed events into the creative_agent_events table. Frontend polls GET /jobs/{id}/events?since=cursor for progress.

post/api/v1/creative-agent/sessions/{session_id}/chat

Request

  • Base URL: https://api.muapi.ai
  • URL: https://api.muapi.ai/api/v1/creative-agent/sessions/{session_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

session_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
modelstring
canvas_stateobject nullable

Response

Successful Response

unknown required

Changes

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