Search Organization Metadata API Not Found
Hello,
It seems that Searching Organization Metadata is deprecated with the following API:
https://zitadel.com/docs/apis/resources/mgmt/management-service-list-org-metadata
and is supported (in beta) with the following API instead:
https://zitadel.com/docs/apis/resources/org_service_v2beta/zitadel-org-v-2-beta-organization-service-list-organization-metadata
I'm confused about the documentation and looking for help:
- Is there a reason we're not keeping a stable undeprecated API while one is under beta?
- Which Zitadel versions are these released/in beta-development/deprecated under? It's difficult knowing which docs apply to the version I currently use (2.71.11) despite still being maintained by Zitadel
Thank you in advance for the help!
\
ZITADEL Docs
Get the metadata of an organization filtered by your query.
ZITADEL Docs
List Organization Metadata
8 Replies
hey @nullsense thanks for your question and feedback, I am raising this internally as we speak, V2 is still evolving and we are slowly getting rid of V1 apis so there's a lot of mix and matches and hence can create confusion, apologies for that.
For now, if that matters, Both APIs work. I just tested them, the old one is deprecated but functional. Also, please test the
beta
API for future-proofing, but note it may still evolve.What I mean is the docs don’t seem clear whether the V2 API is available on our self-hosted v2.71.11 and we’re hoping someone on the Zitadel team can confirm (and make the docs more clear). If it is indeed not available (and only available on 4.0.0-rc?), then unfortunately we won’t be able to test the api at this time.
@Rajat Thanks for letting me know.
Can you help me understand what I'm missing in the following requests then?
I wanted to try reaching a different v2 api with rest to validate we can access those apis
which is successful ✅
when I change it to the metadata request though, as the docs show here:
I get the following error
I must be missing something small... Do you see anything?
Again, I'm on a self-hosted v2.71.11
hey @nullsense good morning 🙂
yes the V2 search metadata is not working
please go ahead and use V1 Search User Metadata for now.

Thanks @Rajat ! Is this a bug we might see resolved?
yes it will be resolved, we are transtioning a LOT of apis from v1->v2 and the process is still going on. For now, this endpoint should work for you 🙂
hey @nullsense
the issue to this error of not found was very simple actually, I only got the response from my engineers just now.
can you try it with all files in a clean directory and with fresh data?
and then try running all the wget/docker commands form here
https://zitadel.com/docs/self-hosting/deploy/compose
docker thinks it should mount not yet existing directories (not files) and it creates the directories. This breaks future attempts of docker compose up.
That is why you kept on getting this error