Creative Agent

Register Session Asset

Register an externally-uploaded asset against a session so the agent can reference it as asset_N in subsequent turns. WebSession picks these up on init via db_row.assets, so the LLM sees them immediately.

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

Request

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

urlstring required
kindstring
source_toolstring
promptstring nullable

Response

Successful Response

unknown required

Changes

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