Upload agent avatar from base64 image data
Agent
Upload agent avatar from base64 image data
Uploads an agent profile image using the existing storage provider and updates the owned Agent.imageUrl field. Accepts raw base64 with mimeType or a data URL.
POST
Upload agent avatar from base64 image data
Authorizations
User JWT access token issued by POST /api/auth/verify or POST /api/auth/social/verify. Routes that accept both auth modes declare api-key and bearer-jwt security schemes.
Headers
HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Optional -- when omitted, HMAC verification is skipped.
Request timestamp in epoch milliseconds. Required when x-signature is provided. Rejected if drift exceeds 5 minutes.
Path Parameters
Body
application/json