Get time buckets
Changed onRetrieve a list of all minimal time buckets.
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/timeline/buckets
- Auth: one of:
- HTTP bearer
- API key in cookie immich_access_token
- API key in header x-api-key
Query parameters
Filter assets belonging to a specific album
Bounding box coordinates as west,south,east,north (WGS84)
Filter by favorite status (true for favorites only, false for non-favorites only)
Filter by trash status (true for trashed assets only, false for non-trashed only)
Asset sort order
Sort order for assets within time buckets (ASC for oldest first, DESC for newest first)
Asset sorting property
Date to group and order assets by (takenAt for date taken, createdAt for date added to Immich)
Filter assets containing a specific person (face recognition)
Filter assets with a specific tag
Filter assets by specific user ID
Asset visibility
Filter by asset visibility status (ARCHIVE, TIMELINE, HIDDEN, LOCKED)
Include location data in the response
Include assets shared by partners
Include stacked assets in the response. When true, only primary assets from stacks are returned.
Response
Example response
[
{
"count": 42,
"timeBucket": "2024-01-01"
}
]Changes
- info
added the new optional
queryrequest parameterorderBy
- info