Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Permify/permify/llms.txt
Use this file to discover all available pages before exploring further.
POST /v1/tenants/{tenant_id}/data/relationships/read
The Read Relationships endpoint queries the stored relationship graph and returns matching tuples. Use filters to narrow results by entity type, entity IDs, relation name, and/or subject. Results are paginated.
Path Parameters
The tenant identifier. Use
t1 for single-tenant deployments. Must match ^([a-zA-Z0-9_\-@\.:+]{1,128}|\*)$.Request Body
Criteria for selecting which tuples to return.
Number of tuples to return per page. Must be
>= 1.Pagination token from a previous response. Omit for the first page.
Response
The list of relationship tuples matching the filter.
Pagination token for the next page. Empty when there are no more results.
Example
Error Codes
| HTTP Status | Description |
|---|---|
400 | Bad request — invalid filter fields |
401 | Unauthorized |
404 | Tenant not found |
429 | Rate limit exceeded |
500 | Internal server error |