curl --request GET \
--url https://api.example.com/api/albums{
"data": [
{
"id": "<string>",
"name": "<string>",
"asset_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"album_cover_asset_id": "<string>",
"asset_urls": {},
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z"
}
],
"has_more": true
}Returns a paginated list of albums ordered by creation time (newest first). Use this to enumerate a user’s albums or to find which albums contain a specific asset (via asset_id).
list_albums returns album metadata only — to list the assets inside a particular album, use list_album_assets or list_assets with album_id.
Pagination is cursor-based: when has_more is true, pass the id of the last album in data as starting_after_id to fetch the next page.
curl --request GET \
--url https://api.example.com/api/albums{
"data": [
{
"id": "<string>",
"name": "<string>",
"asset_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"album_cover_asset_id": "<string>",
"asset_urls": {},
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z"
}
],
"has_more": true
}Documentation Index
Fetch the complete documentation index at: https://docs.gumnut.ai/llms.txt
Use this file to discover all available pages before exploring further.
Library to list albums from. Optional if the user has a single library; required when they have multiple. Use list_libraries to enumerate.
Return only albums that contain this asset. Useful for answering 'which albums is this photo in?' without calling list_album_assets.
Look up specific albums by ID (max 100; each ID has the album_ prefix). Use for bulk fetch when IDs are already known.
Maximum number of albums to return per page (1–200). Defaults to 20.
1 <= x <= 200Cursor for pagination. Pass the id of the last album in the previous response's data to fetch the next page. Omit for the first page.