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). Required for API-key authenticated requests (JWT/OAuth session auth is exempt).
Request timestamp in epoch milliseconds. Required with x-signature for API-key auth. Rejected if drift exceeds 5 minutes.
Path Parameters
Body
application/json