Upload your own picture
Stores a PNG, JPEG or WebP image of at most 1 MB as the caller's picture, as sent: it is not resized or converted. The type is read from the bytes, not from a header. The answer is the address to show it at; the web app then sets it on the account. The picture is the caller's own and the same in eve
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
Idempotency-Key?stringMakes retries safe. A repeated key with the same request returns the first result and sets
Idempotent-Replayed: true. The same key with a different request answers 409
idempotency.key_reused, and while the first request is still running 409
idempotency.in_progress. Results are kept for 24 hours. Server errors and refusals for lack
of sign-in or permission are not kept, so a retry runs again.
^[A-Za-z0-9_.:-]+$1 <= length <= 255body*file*/*binaryWhere the picture is served.
application/json- response
url*stringThe path the picture is served at, such as /api/v1/users/<id>/avatars/<digest>.
curl -X PUT 'https://wardn.example.com/api/v1/me/avatar'{ "url": "string"}Read the organization's request, stream and agent job limits GET
The limits that protect every organization from one runaway client, with the organization's use of each now:
Read a person's picture GET
The picture a person uploaded, by its digest, so an address never changes what it shows and may be cached for good. Any signed-in person may read it, as anyone who sees the person's name sees their picture.