Get time buckets
immich_get_time_bucketsRetrieve minimal time buckets from Immich timelines to group photos and videos by date, with filters for albums, people, tags, favorites, visibility, and partners.
Instructions
Get time buckets
Retrieve a list of all minimal time buckets.
Immich operation: GET /timeline/buckets · tag: Timeline
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| bbox | No | Bounding box coordinates as west,south,east,north (WGS84) | |
| slug | No | ||
| order | No | Sort order for assets within time buckets (ASC for oldest first, DESC for newest first) | |
| tagId | No | Filter assets with a specific tag | |
| userId | No | Filter assets by specific user ID | |
| albumId | No | Filter assets belonging to a specific album | |
| orderBy | No | Date to group and order assets by (takenAt for date taken, createdAt for date added to Immich) | |
| personId | No | Filter assets containing a specific person (face recognition) | |
| isTrashed | No | Filter by trash status (true for trashed assets only, false for non-trashed only) | |
| isFavorite | No | Filter by favorite status (true for favorites only, false for non-favorites only) | |
| visibility | No | Filter by asset visibility status (ARCHIVE, TIMELINE, HIDDEN, LOCKED) | |
| withStacked | No | Include stacked assets in the response. When true, only primary assets from stacks are returned. | |
| withPartners | No | Include assets shared by partners | |
| withCoordinates | No | Include location data in the response |