v64

OpenAPI 3.1.0raw.githubusercontent.com2026-08-016280256.4 KB
assets

Check asset existence

Checks which assets exist in the user's library based on checksums or device identifiers. Provide exactly one of: checksums, checksum_sha1s, or (deviceId AND deviceAssetIds). List parameters are limited to 5000 items.

post/api/assets/exist

Query parameters

library_idstring nullable

Library to check assets in (optional)

Library to check assets in (optional)

Request body

checksumsstring[] nullable

List of base64-encoded SHA-256 checksums to check for existence

checksum_sha1sstring[] nullable

List of base64-encoded SHA-1 checksums to check for existence (for Immich compatibility)

deviceIdstring nullable

Device ID to filter assets by (required with deviceAssetIds)

deviceAssetIdsstring[] nullable

List of device asset IDs to check for existence (requires deviceId)

Response

Successful Response