Get time bucket
immich_get_time_bucketRetrieve all asset IDs within a specified time bucket to build a date-based timeline of Immich photos and videos.
Instructions
Get time bucket
Retrieve a string of all asset ids in a given time bucket.
Immich operation: GET /timeline/bucket · 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) | |
| timeBucket | Yes | Time bucket identifier in YYYY-MM-DD format | |
| 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 |