<@U04UQ68083H> How do I see new identities?
# ory-copilot
b
@chilly-king-10285 How do I see new identities?
b
A message from kapa.ai
To see new identities in Ory, there are a couple of approaches you can take: 1. Using the Ory Console: The Ory Console provides a user interface to view and manage identities. However, based on the provided knowledge sources, there's currently no built-in way to sort identities by creation date in the console. 2. Using the API: You can use the Ory API to list identities. Here's how you can do it: - Use the
GET /admin/identities
endpoint to list all identities. - Authentication is required using an Ory Access Token. [Ory API Reference](https://www.ory.sh/docs/reference/api) provides more details on this endpoint. However, it's important to note that there's currently a limitation in ordering the results. As mentioned in a GitHub issue: [Order identities and Sessions by "created at" in console](https://github.com/ory/network/issues/356) states that "Our API doesn't support ordering yet, so it will be a bit more involved to get this working." Given this limitation, to see new identities specifically, you might need to: 1. Retrieve all identities using the API. 2. Process the results on your end to sort them by creation date. Alternatively, you could monitor the
IdentityCreated
event using Ory's event system. The [Event descriptions](https://www.ory.sh/docs/actions/live-events#event-descriptions) document mentions this event, which is emitted when "A new identity (user or account) has been successfully created." For the most up-to-date and accurate solution, you might want to reach out to Ory support or check for any recent updates to the API or console that might have addressed this limitation.
b
@chilly-king-10285 How does fuzzy search work?
b
A message from kapa.ai
Based on the knowledge sources provided, I can offer some information about fuzzy search in Ory, specifically in the context of searching for identities: 1. Fuzzy search is available in the Ory Console: According to a GitHub issue [Identities cannot be search by domain](https://github.com/ory/network/issues/405), there is a fuzzy search option in the Users Management > Users & Identities section of the Ory Console. 2. Limitations of fuzzy search: The same GitHub issue mentions that even with fuzzy search enabled, there are limitations. Specifically, it's not possible to search identities by domain. For example, searching for "gmail.com" doesn't return all identities with Gmail addresses. 3. API search capabilities: While the console has some search functionality, the API seems to have limited search capabilities. The [Ory API Reference](https://www.ory.sh/docs/reference/api) for the
listIdentities
endpoint doesn't mention any fuzzy search parameters. 4. Filtering options: The API does allow for some filtering, but it's limited. You can filter by credential type (username, email) and organization ID, but these are exact matches rather than fuzzy searches. 5. Future improvements: There are ongoing discussions about improving search capabilities. For instance, a GitHub comment suggests that filtering users by organization ID is possible in the API, indicating that more advanced search features might be in development. It's important to note that the exact implementation details of the fuzzy search algorithm are not provided in the given knowledge sources. The term "fuzzy" suggests that it allows for some degree of approximation or flexibility in matching search terms, but the specifics of how this works in Ory's system are not clear from the available information. For the most up-to-date and detailed information about fuzzy search capabilities and how they work in Ory, it would be best to consult the latest documentation or reach out to Ory support directly.
b
@chilly-king-10285 No, in the identity search screen, how do I fuzzy search
b
A message from kapa.ai
Based on the information provided in the knowledge sources, I can give you some guidance on how to use fuzzy search in the identity search screen: 1. Navigate to the identity search screen: Go to the Users Management > Users & Identities section in the Ory Console. 2. Select the fuzzy search option: According to the [GitHub issue about identity search](https://github.com/ory/network/issues/405), there is a fuzzy search option available. Look for a dropdown or toggle that allows you to switch between search methods. Select "Fuzzy" as the search method. 3. Enter your search term: Once you've selected the fuzzy search option, enter the term you want to search for in the search field. 4. Execute the search: Press enter or click on a search button to perform the fuzzy search. However, it's important to note that there are some limitations to the fuzzy search functionality: - The fuzzy search does not seem to work for searching by domain. For example, searching for "gmail.com" won't return all identities with Gmail addresses. - The exact behavior of the fuzzy search algorithm is not detailed in the provided knowledge sources, so the degree of "fuzziness" or what types of approximate matches it allows for is not clear. If you're having trouble with the fuzzy search or need more specific information, it would be best to consult the latest Ory documentation or contact Ory support directly, as the functionality may have been updated since the information in these knowledge sources was published.