<@U04UQ68083H> The Ory Keto &gt; Concepts doc says...
# ory-copilot
s
@chilly-king-10285 The Ory Keto > Concepts doc says "As a special case, subject sets can also refer to an object by using the empty relation." How do I achieve this using the HTTP API?
c
A message from kapa.ai
New message text here
s
j
@chilly-king-10285 Is there an API for Permission Rules?
c
A message from kapa.ai
Yes, Ory provides APIs for managing permission rules. The Ory Permissions Go SDK provides code examples for interacting with the Permission API and the Relationship API. These APIs are exposed via REST and gRPC. For REST API, you can use the following endpoints: - [Permission API](https://www.ory.sh/docs/reference/api#tag/permission) - [Relationship API](https://www.ory.sh/docs/reference/api#tag/relationship) For gRPC API, you can refer to the [gRPC API documentation](http://ory.sh/docs/keto/reference/proto-api). To install the REST API, you can use the following command:
Copy code
bash go get <http://github.com/ory/client-go|github.com/ory/client-go>
To install the gRPC API, you can use the following command:
Copy code
bash go get <http://github.com/ory/keto/proto|github.com/ory/keto/proto>
You can find more examples of SDK usage in the auto-generated documentation [
client-go
](https://github.com/ory/client-go/tree/master/docs). For more details, you can refer to the [Ory Keto SDK Go documentation](https://www.ory.sh/docs/keto/sdk/go).