PhotoPrism Albums API

The Albums API from PhotoPrism — 11 operation(s) for albums.

GitHub OpenAPI
Business capability
Photo & Image Libraries AE-170.30

Operations 18

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

1 of 18 operations are conformant: apis.io called them with no credentials and the responses matched this contract. Checked 2026-11-12. how this works · status file

GET /api/v1/albums Find albums by title, location or date · finds albums and returns them as JSON #
Ask an LLM
“How do I find albums by title or location?”
“Can I list only albums from a specific year or month?”
Tell an agent
Find albums matching {q}.
List {type} albums from {year} {month}.
POST /api/v1/albums Create a new album · creates a new album #
Ask an LLM
“How do I create a new album with a title and description?”
“Can I make a new album private or set its thumbnail?”
Tell an agent
Create an album titled {Title}.
Create album {Title} in category {Category} with description {Description}.
DELETE /api/v1/albums/{uid} Delete an album · deletes an existing album #
Ask an LLM
“How do I delete an album I no longer need?”
“Can I permanently remove an album instead of archiving it?”
Tell an agent destructive · confirm first
Delete album {uid}.
Permanently delete album {uid} with force {force}.
GET /api/v1/albums/{uid} Get an album's details · returns album details as JSON #
Ask an LLM
“How do I see the title, description and photos in one album?”
“What metadata does a single album record include?”
Tell an agent
Show album {uid}.
Get the details of album {uid}.
PUT /api/v1/albums/{uid} Rename or edit an album's metadata · updates album metadata like title and description #
Ask an LLM
“How do I change an album's title or description?”
“Can I make an existing album private or reorder its photos?”
Tell an agent
Rename album {uid} to {Title}.
Set the description of album {uid} to {Description}.
POST /api/v1/albums/{uid}/clone Copy photos from albums into another album · creates a new album containing pictures from other albums #
Ask an LLM
“How do I copy photos from several albums into one album?”
“Can I clone all photos matching a label into an album?”
Tell an agent
Clone albums {albums} into album {uid}.
Copy photos matching {labels} into album {uid}.
GET /api/v1/albums/{uid}/dl Download an album as a zip file · streams the album contents as zip archive #
Ask an LLM
“How do I download all the photos in an album as a zip?”
“Can I stream an album's contents for offline backup?”
Tell an agent
Download album {uid} as a zip.
Stream the contents of album {uid} for download.
DELETE /api/v1/albums/{uid}/like Remove the favorite flag from an album · removes the favorite flag from an album #
Ask an LLM
“How do I unmark an album as a favorite?”
“Can I take the favorite flag off an album I liked by mistake?”
Tell an agent destructive · confirm first
Dislike album {uid}.
Remove the favorite flag from album {uid}.
POST /api/v1/albums/{uid}/like Mark an album as a favorite · sets the favorite flag for an album #
Ask an LLM
“How do I mark an album as a favorite?”
“Can I flag an album so it shows up first in my list?”
Tell an agent
Like album {uid}.
Set favorite flag on album {uid}.
DELETE /api/v1/albums/{uid}/photos Remove photos from an album · removes photos from an album #
Ask an LLM
“How do I take photos out of an album?”
“Can I remove all photos matching a label from an album?”
Tell an agent destructive · confirm first
Remove photos {photos} from album {uid}.
Remove all photos matching {labels} from album {uid}.
POST /api/v1/albums/{uid}/photos Add photos to an album · adds photos to an album #
Ask an LLM
“How do I add photos to an existing album?”
“Can I add all photos matching a label to an album?”
Tell an agent
Add photos {photos} to album {uid}.
Add all photos matching {labels} to album {uid}.
GET /api/v1/albums/{uid}/t/{token}/{size} Get an album cover image · returns an album cover image #
Ask an LLM
“How do I get the cover image of an album?”
“Can I request an album cover at a specific size?”
Tell an agent
Get the cover of album {uid} at size {size}.
Show album {uid} cover {size} for token {token}.
POST /api/v1/batch/albums/delete Permanently delete many albums at once · permanently removes multiple albums #
Ask an LLM
“How do I permanently remove several albums in one request?”
“Can I bulk delete albums by label or location?”
Tell an agent destructive · confirm first
Permanently delete albums {albums}.
Bulk delete all albums matching {labels}.
GET /api/v1/moments/time List monthly albums · returns monthly albums as JSON conformant #
Ask an LLM
“What monthly albums are available?”
“Can I get the month-by-month albums as JSON?”
Tell an agent
List the monthly albums.
Show the year and month albums.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/photoprism:photoprism-albums-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

photoprism-albums-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact: {}
  description: 'API request bodies and responses are usually JSON-encoded, except for binary data and some of the OAuth2 endpoints. Note that the `Content-Type` header must be set to `application/json` for this, as the request may otherwise fail with error 400.

    When clients have a valid access token, e.g. obtained through the `POST /api/v1/session` or `POST /api/v1/oauth/token` endpoint, they can use a standard Bearer Authorization header to authenticate their requests. Submitting the access token with a custom `X-Auth-Token` header is supported as well.'
  title: PhotoPrism Albums API
  version: v1
servers:
- url: https://demo.photoprism.app
security:
- BearerAuth: []
tags:


# --- truncated at 32 KB (35 KB total) ---
# Full source: https://artifacts.apis.io/photoprism/openapi/photoprism-albums-api-openapi.yml