Entities
Get person photo
Returns the profile photo bytes for a person whose photo is stored in Glean (crawled from an identity source or user-uploaded via admin console). Photos hosted externally (e.g. Slack CDN) are not served by this endpoint; callers should follow the photoUrl from /people or /listentities directly. Responses include a Cache-Control header (max-age=3600) to reduce redundant fetches.
get/rest/api/v1/people/{person_id}/photo
Path parameters
person_idstring required
The obfuscated ID of the person whose photo to retrieve.
Query parameters
dsstring
Optional datasource override for crawled photos (e.g. AZURE, GDRIVE, OKTA). When omitted, the datasource is derived from the person's stored photo URL or the deployment's primary person datasource.
Response
Photo bytes returned successfully.