Hanzo
OpenapiAccount

Fetch a profile photo

Streams a profile photo's raw BYTES. This is the address stored on the user's IAM record and rendered directly by an `<img>`, so it takes no credentials —…

GET /v1/account/avatar/{org}/{user}/{digest}

Addresshttps://api.hanzo.ai/v1/account/avatar/{org}/{user}/{digest}
MethodGET
Operationget_account_avatar_by_org_by_user_by_digest
AuthAuthorization: Bearer $HANZO_API_KEY

Streams a profile photo's raw BYTES. This is the address stored on the user's IAM record and rendered directly by an <img>, so it takes no credentials — the 64-hex content digest in the path is the capability, and it can only be produced by someone who already has the image.

The Content-Type is derived from the stored bytes and the response carries nosniff, so only a real raster image is ever served and only under its true type. Anything else — a miss, a malformed path, an object that is not an image — is one 404, and a hit caches for a year because the address is the content.

Request

3 fields.

FieldInTypeRequiredDescription
orgpathstringyes
userpathstringyes
digestpathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Account API · All Hanzo APIs · Interactive reference

How is this guide?

On this page