Yes, you can manage relationships and permissions APIs of Ory Keto on a self-hosted version. Ory provides a set of APIs that allow you to manage relationships and permissions in your application. For example, you can define namespaces to organize your entities, and use the Ory Permissions API to create and manage relationships and permissions programmatically[^1^]. The Ory Keto SDK allows for integration with a self-hosted Ory Keto Permission Server[^5^]. You can use the SDK to interact with the Ory Keto APIs, including the APIs for managing relationships and permissions. The Check API allows you to check whether a subject has a relation on an object[^4^]. This API resolves subject sets and relationships. This API is primarily used to check permissions to restrict actions[^4^]. You can also use the List relationships API to query relationships by providing a partial relationship[^4^]. It can be used to list objects a user has access to, list users who have a specific role, list users who are members of a specific group, and audit permissions in the system[^4^]. In terms of managing permissions dynamically and in real-time, Ory Permissions allows you to build flexible permission models that can be customized to fit any application need[^1^]. This means you can create access control policies that are as simple or as complex as you need them to be, while still ensuring that your application remains secure and protected[^1^]. [^1^]: (
https://www.ory.sh/docs/keto/guides/simple-access-check-guide) [^4^]: (
https://www.ory.sh/docs/keto/concepts/api-overview) [^5^]: (
https://www.ory.sh/docs/keto/sdk/overview)