How to query patients, studies, ...etc by specific labels

Using the endpoint /tools/find the results return labels associated with the resources but it seems that querying for specific labels doesn’t work. Is there an alternative?

Hello!

Have you had a look on the doc?
https://book.orthanc-server.com/faq/features.html#labels
https://api.orthanc-server.com/index.html#tag/System/paths/~1tools~1find/post

Could you describe your problem with more details?

You are welcome,

Hi,
strange, I’m sure I tried all the possible combinations of including the Labels in the body of the post request to /tools/find and it didn’t work, but I retried now and it worked perfectly as expected. I restarted postgresql service (I’m using it for indexation) since I was experiencing some issues. Maybe that’s why it didn’t work.

Thanks for the help