dazzling-toothbrush-6258
05/29/2025, 12:10 PMbrief-egg-61061
05/29/2025, 12:11 PMbrief-egg-61061
05/29/2025, 12:11 PMory get identity $(ory ls identities --format json | jq -r 'map(select(.recovery_addresses[].value | endswith("@ory.sh"))) | .[].id')
This approach is only available via the CLI and not as a REST API feature. The documentation also acknowledges this limitation and invites users to request such selectors as a feature enhancement[ory get identity](https://www.ory.sh/docs/cli/ory-get-identity#ory-get-identity), [kratos get identity](https://www.ory.sh/docs/kratos/cli/kratos-get-identity#kratos-get-identity). In summary, the REST API does not support querying identities by email directly. You must retrieve all identities and filter them on the client side.