Auth0 Relationship Queries API

The Relationship Queries API from Auth0 — 6 operation(s) for relationship queries.

Business capability
Identity & Access Management BC-620.20

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /stores/{store_id}/batch-check Check many relationships in one request · Send a list of `check` operations in a single request #
Ask an LLM
“Can I run a whole list of authorization checks in a single FGA call?”
“How does a batch check report results for each relationship?”
Tell an agent
Run batch checks {checks} in store {store_id}.
Batch-check {checks} against model {authorization_model_id} in store {store_id}.
POST /stores/{store_id}/check Check if a user has a relation to an object · Check whether a user is authorized to access an object #
Ask an LLM
“Is user anne allowed to view document roadmap according to my FGA store?”
“Can I include contextual tuples when checking one relationship?”
Tell an agent
Check tuple {tuple_key} in store {store_id}.
Check {tuple_key} in store {store_id} with contextual tuples {contextual_tuples}.
POST /stores/{store_id}/expand Expand a relationship into its userset tree · Expand all relationships in userset tree format, and following userset rewrite… #
Ask an LLM
“How can I debug why someone has a relation by seeing the userset tree?”
“What does the expanded tree of a relationship look like?”
Tell an agent
Expand relationship {tuple_key} in store {store_id}.
Show the userset tree for {tuple_key} in store {store_id}.
POST /stores/{store_id}/list-objects List objects a user has a relation with · List all objects of the given type that the user has a relation with #
Ask an LLM
“Which documents can a user edit, returned all at once?”
“Can I list every object of a type a user is related to?”
Tell an agent
List {type} objects where {user} is {relation} in store {store_id}.
Find all {type} that {user} has {relation} on in store {store_id}.
POST /stores/{store_id}/list-users List users with a relation to an object · List the users matching the provided filter who have a certain relation to a… #
Ask an LLM
“Which users are viewers of a particular document?”
“Can I filter the users returned by type when listing who relates to an object?”
Tell an agent
List users of type {user_filters} with {relation} on {object} in store {store_id}.
Find who has {relation} on {object} in store {store_id}, filtered by {user_filters}.
POST /stores/{store_id}/streamed-list-objects Stream objects a user has a relation with · Stream all objects of the given type that the user has a relation with #
Ask an LLM
“Can I stream accessible objects as they are found instead of waiting for the full list?”
“Is there a streaming way to list objects for very large result sets?”
Tell an agent
Stream {type} objects where {user} has {relation} in store {store_id}.
Stream every {type} that {user} can {relation} from store {store_id} as results arrive.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/auth0:auth0-relationship-queries-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

auth0-relationship-queries-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenFGA Relationship Queries API
  description: A high performance and flexible authorization/permission engine built for developers and inspired by Google Zanzibar.
  version: 1.x
  contact:
    name: OpenFGA
    url: https://openfga.dev
    email: community@openfga.dev
  license:
    name: Apache-2.0
    url: https://github.com/openfga/openfga/blob/main/LICENSE
tags:


# --- truncated at 32 KB (44 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/auth0/refs/heads/main/openapi/auth0-relationship-queries-api-openapi.yml