© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•8mo ago•
4 replies
tobeconfirmed21

Immich API search/metadata. How to get optional response body items?

My question isn't about the setup, so I've excluded my docker-compose.yml and .env files.

I've been having a play with the image API and I've managed to work out most of what I'm wanting to do, but there's one thing I've not been able to get to work and I can't find any guidance on it in the documentation.

Not sure if it's relevant but the majority of my assets are stored in an external library that is mounted to the Immich container.

I've been using the searchAssets [https://immich.app/docs/api/search-assets] (search/metadata) endpoint to pull out data about all my assets. But the items array only seems to contain the non-optional data.

Specifically, I'm looking to pull out the exifInfo along with the results. This appears as a sub-object of the 'items' object array in the documentation but I've yet been able to pull it out. Can anyone help please?

URL: ${IMMICH_ROOT}/api/search/metadata
Method: POST
Headers:
- Accept: application/json
- x-api-key: REDACTED
Body:
{
"size": 1000,
"page": 1
}
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Get back tags when using the /search/metadata API route
ImmichIImmich / help-desk-support
4mo ago
How to hide archived items from search?
ImmichIImmich / help-desk-support
5mo ago
Immich failing to parse video metadata
ImmichIImmich / help-desk-support
6mo ago
Immich - Metadata, Portainer, Synology Photos, Immich_power_tools
ImmichIImmich / help-desk-support
10mo ago