Reference / Authz

List relationship tuples (paginated, newest first), optionally per namespace.

GET /v1/authz/relations
End-user session operationId: list_relations

Authorization

Called from the browser with the publishable application id (x-application-id); the access token lives in memory.

Query parameters

  • namespace string optional

    Restrict to one object namespace (e.g. `document`).

  • limit integer<int64> optional

    Page size (default 25, max 100).

  • offset integer<int64> optional

    Row offset (default 0).

Responses

200 Relationship tuples
{
  "data": {
    "limit": 0,
    "offset": 0,
    "relations": [
      {
        "created_at": null,
        "object": null,
        "relation": null,
        "subject": null
      }
    ],
    "total": 0
  },
  "error": {
    "code": "string",
    "message": "string"
  },
  "meta": {
    "timestamp": "string"
  },
  "success": false
}

Request

curl -X GET "http://localhost:8080/v1/authz/relations" \

Try it

live request
GET http://localhost:8080/v1/authz/relations

Query parameters