Agents

Upload agent avatar

Replace an agent's avatar image. Requires the authenticated principal to be the agent's owner (agents.user_id == auth.sub). Old avatar is replaced; storage cleanup happens server-side.

put/agents/{agent_id}/avatar

Request

  • Base URL: https://api.mnemom.ai/v1
  • URL: https://api.mnemom.ai/v1/agents/{agent_id}/avatar
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Mnemom-Api-Key

Path parameters

agent_idstring required

Agent identifier (e.g. smolt-abc123)

Response

Avatar uploaded; persistent URL returned

avatar_urlstring uri required

Public URL of the uploaded avatar (CDN-served).

Example response

{
  "avatar_url": "https://cdn.mnemom.ai/avatars/agents/mnm-7f3b9e2a/abc123.png"
}

Changes

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