# Auth0 FGA Docs > Guides and API reference for Auth0 Fine-Grained Authorization - [Welcome to Auth0 Fine-Grained Authorization](https://docs.fga.dev/index.md): Model relationships, write authorization data, and check access with Auth0 FGA. - [Introduction to Auth0 Fine-Grained Authorization (FGA)](https://docs.fga.dev/fga.md): Introduction to Auth0 FGA - [What's New in Auth0 FGA](https://docs.fga.dev/whats-new.md): Discover what's new in FGA — features, fixes, and more. - [Getting started with Auth0 FGA](https://docs.fga.dev/getting-started.md): An introduction to Auth0 FGA - [Authorization Concepts](https://docs.fga.dev/authorization-concepts.md): Introduction to Authorization - [Fine-Grained Authorization (FGA) Concepts](https://docs.fga.dev/fga-concepts.md): Learning about FGA concepts - [Introduction to the Auth0 Fine-Grained Authorization (FGA) Playground](https://docs.fga.dev/intro/playground.md): Introduction to the Auth0 FGA Playground - [Auth0 FGA Subscription Plans](https://docs.fga.dev/subscription-plans.md): Learning about Auth0 FGA subscription plans - [Auth0 FGA support channels](https://docs.fga.dev/support.md): Learning about Auth0 FGA support channels - [Auth0 FGA Private Cloud on AWS](https://docs.fga.dev/private-cloud.md): Learn about Auth0 FGA Private Cloud in AWS - [Auth0 FGA Logging](https://docs.fga.dev/fga-logging.md): Overview of the Auth0 FGA Logging - [Auth0 FGA vs OpenFGA - what's the difference?](https://docs.fga.dev/openfga-vs-auth0-fga.md): A description of the differences between OpenFGA and Auth0's FGA product - [FGA Permissions Index](https://docs.fga.dev/permissions-index/fga-permissions-index.md): Learn how the FGA Permissions Index precomputes authorization results for faster permission-aware queries. - [Getting Started with the FGA Permissions Index](https://docs.fga.dev/permissions-index/getting-started.md): Learn how to create an FGA Permissions Index, stream expansions, and persist them in your own data store. - [Best Practices — Colocated Permissions Index](https://docs.fga.dev/permissions-index/best-practices.md): Learn the best practices for using the Colocated Permissions Index effectively. - [Permissions Index Terminology](https://docs.fga.dev/permissions-index/terminology.md): Learn the core terminology behind the Permissions Index. - [Introduction to the Auth0 Fine-Grained Authorization (FGA) Dashboard](https://docs.fga.dev/intro/dashboard.md): Introduction to the Auth0 FGA Dashboard - [Manage Account](https://docs.fga.dev/dashboard/account.md): How to manage FGA accounts and conditions in the dashboard - [Manage Members](https://docs.fga.dev/dashboard/members.md): Manage access to your FGA account by inviting members, assigning account ownership, and removing members. - [Manage Groups](https://docs.fga.dev/dashboard/groups.md): Manage permissions for multiple members in the FGA dashboard. - [Roles and Permissions](https://docs.fga.dev/dashboard/roles.md): Defines the roles a user can see and do within the FGA Dashboard. - [Manage Stores in the Dashboard](https://docs.fga.dev/intro/stores.md): How to manage stores in the FGA Dashboard - [Managing Models](https://docs.fga.dev/intro/models.md): How to use the Model Explorer and manage authorization models - [Adding Relationship Tuples](https://docs.fga.dev/intro/add-tuples.md): How to add FGA tuples in the Dashboard - [Run Queries](https://docs.fga.dev/intro/run-queries.md): How to run queries on the FGA Dashboard - [Developer Mode](https://docs.fga.dev/intro/developer-mode.md): How to use Developer Mode on the FGA Dashboard - [Manage Credentials](https://docs.fga.dev/intro/credentials.md): How to manage FGA API keys and credentials in the Dashboard - [View Metrics](https://docs.fga.dev/intro/metrics.md): How to view FGA metrics in the Dashboard - [Enabling Single Sign-On (SSO) for the FGA Dashboard](https://docs.fga.dev/enabling-sso.md): Learn how to enable SSO for the FGA Dashboard - [Define Your Authorization Model](https://docs.fga.dev/modeling.md): Define Your Authorization Model - [Get Started with Modeling](https://docs.fga.dev/modeling/getting-started.md): An introduction to modeling - [Configuration Language](https://docs.fga.dev/modeling/configuration-language.md): Learning about the FGA configuration language and using it to build a representation of a system's authorization model - [Immutable Authorization Models](https://docs.fga.dev/modeling/immutable-models.md): Learn how to take advantage of the immutable properties of Authorization Models - [Modeling Basics](https://docs.fga.dev/modeling/basics/modeling-basics.md): Granting a user access to an object - [Modeling User Groups](https://docs.fga.dev/modeling/basics/user-groups.md): Adding users to groups and granting group members access to an object - [Modeling Roles and Permissions](https://docs.fga.dev/modeling/basics/roles-and-permissions.md): Modeling basic roles and permissions - [Modeling Parent-Child Objects](https://docs.fga.dev/modeling/basics/parent-child.md): Indicate relationships between objects, and how users' relationships to one object can affect their relationship with another - [Modeling Blocklists](https://docs.fga.dev/modeling/basics/blocklists.md): Preventing certain users from accessing objects - [Modeling Public Access](https://docs.fga.dev/modeling/basics/public-access.md): Granting public access to an object - [Modeling With Multiple Restrictions](https://docs.fga.dev/modeling/basics/multiple-restrictions.md): Modeling system that requires multiple authorizations before allowing users to perform actions on particular objects - [Modeling Custom Roles](https://docs.fga.dev/modeling/basics/custom-roles.md): Modeling custom and dynamically changing roles in your system - [Conditions](https://docs.fga.dev/modeling/basics/conditions.md): Modeling relationships with Conditions - [Use Token Claims As Contextual Tuples](https://docs.fga.dev/modeling/token-claims-contextual-tuples.md): Using identity token claims to define contextual relations - [Contextual and Time-Based Authorization](https://docs.fga.dev/modeling/basics/contextual-time-based-authorization.md): Checking relations that depends on certain dynamic or contextual data (such as time, location, ip address, weather) that have not been written - [Authorization Through Organization Context](https://docs.fga.dev/modeling/basics/organization-context-authorization.md): Modeling authorization through organization context - [Testing Models](https://docs.fga.dev/modeling/testing.md): Testing Models - [Store File Format](https://docs.fga.dev/modeling/store-file-format.md): Store File Format (.fga.yaml) - [Modular Models](https://docs.fga.dev/modeling/modular-models.md): Modular Models - [Direct Relationships](https://docs.fga.dev/modeling/concepts/direct-relationships.md): Modeling Concepts: Direct Relationships - [Concentric Relationships](https://docs.fga.dev/modeling/concepts/concentric-relationships.md): Modeling Concepts: Concentric Relationships - [Object to Object Relationships](https://docs.fga.dev/modeling/concepts/object-to-object-relationships.md): Modeling relationships between objects (e.g. folder parent of a document) - [Usersets](https://docs.fga.dev/modeling/concepts/usersets.md): Modeling with userset - [Migrating Relations](https://docs.fga.dev/modeling/migrating/migrating-relations.md): Migrating relations - [Model Migrations](https://docs.fga.dev/modeling/migrating/migrating-models.md): Model Migrations - [Write Your Authorization Data](https://docs.fga.dev/writing-data.md): Write Your Authorization Data - [Managing User Access](https://docs.fga.dev/writing-data/managing-user-access.md): Granting a user access to a particular object - [Managing Group Access](https://docs.fga.dev/writing-data/managing-group-access.md): Granting a group of users access to a particular object - [Managing Group Membership](https://docs.fga.dev/writing-data/managing-group-membership.md): Updating a user's membership to a group by adding and removing them from it - [Managing Relationships Between Objects](https://docs.fga.dev/writing-data/managing-relationships-between-objects.md): Granting a user access to a particular object through a relationship with another object - [Transactional Writes](https://docs.fga.dev/writing-data/transactional-writes.md): Updating multiple relationship tuples in a single transaction - [Auth0 FGA Consistency Modes](https://docs.fga.dev/writing-data/consistency-modes.md): Auth0 FGA available Consistency modes when Performing Reads and Evaluation Queries (Check, ListObjects, ListUsers and Expand) - [Relationship Queries: Check, Read, Expand, ListObjects and ListUsers](https://docs.fga.dev/writing-data/advanced/check-read-expand.md): An overview of how to use the Check, Read, Expand, ListObjects and ListUsers APIs - [Add Authorization to Your API](https://docs.fga.dev/integration.md): Add Authorization to Your API - [How to get your API keys](https://docs.fga.dev/integration/getting-your-api-keys.md): How to get your API keys - [How To Install The SDK](https://docs.fga.dev/integration/install-sdk.md): Installing the SDK client - [How to Setup the SDK Client](https://docs.fga.dev/integration/setup-sdk-client.md): Setting up an OpenFGA SDK client - [How To Update Relationship Tuples](https://docs.fga.dev/integration/update-tuples.md): Introduction to adding and deleting relationship tuples - [How To Perform A Check](https://docs.fga.dev/integration/perform-check.md): Checking if a user is authorized to perform an action on a resource - [Perform a List Objects call](https://docs.fga.dev/integration/perform-list-objects.md): List all objects a user is authorized to perform a specified action for a given resource type - [Perform a List Users call](https://docs.fga.dev/integration/perform-list-users.md): List all users that have a certain relation with a particular object - [How to use the FGA CLI](https://docs.fga.dev/getting-started/cli.md): How to use the FGA CLI - [How to integrate within a framework](https://docs.fga.dev/integration/framework.md): Integrating FGA within a framework, such as Fastify or Fiber - [How to get tuple changes](https://docs.fga.dev/integration/advanced/read-tuple-changes.md): Getting tuple changes - [Search With Permissions](https://docs.fga.dev/integration/advanced/search-with-permissions.md): Integrating FGA into your search - [Configure SDK Client Telemetry](https://docs.fga.dev/integration/advanced/configure-telemetry.md): How to configure your SDK Client to collect telemetry using OpenTelemetry. - [Testing Auth0 FGA Latency and Throughput](https://docs.fga.dev/best-practices/latency-tests.md): Best practices for testing latency and throughput in Auth0 FGA - [Auth0 FGA Adoption Patterns](https://docs.fga.dev/best-practices/adoption-patterns.md): Describe different ways FGA can be adopted in an organization - [Authorization Model Design Principles](https://docs.fga.dev/best-practices/modeling-design-principles.md): Best practices for creating clear, performant, and maintainable authorization models. - [Modeling roles](https://docs.fga.dev/best-practices/modeling-roles.md): Various ways of modeling static and dynamic roles in FGA - both coarse and fine-grained. - [Modeling ABAC with Auth0 FGA](https://docs.fga.dev/best-practices/modeling-abac.md): Learn how to model Attribute-Based Access Control (ABAC) patterns using stored and dynamic attributes. - [Best Practices of Managing Tuples and Invoking APIs](https://docs.fga.dev/writing-data/advanced/tuples-api-best-practices.md): Best Practices of Managing Tuples and Invoking APIs - [When to use Auth0 FGA as the 'source of truth' for authorization data](https://docs.fga.dev/best-practices/source-of-truth.md): Deciding where to store the "source of truth" for authorization data - [Sync Auth0 Data to FGA](https://docs.fga.dev/relationship-sync/overview.md): Overview of Auth0 Relationship Sync, which turns Auth0 events into FGA relationship tuples using mapping rules you define. - [Getting Started with Auth0 Relationship Sync](https://docs.fga.dev/relationship-sync/getting-started.md): Set up Auth0 Relationship Sync end to end, from authentication through your first synced tuple. - [B2B via Organizations](https://docs.fga.dev/relationship-sync/use-cases/b2b-organizations.md): Sync external B2B customers into FGA using Auth0 Organizations, organization membership, and optionally tenant roles. - [B2B via Connections](https://docs.fga.dev/relationship-sync/use-cases/b2b-connections.md): Sync external B2B customers into FGA using enterprise connections and SCIM groups, without Auth0 Organizations. - [Workforce via SCIM Groups](https://docs.fga.dev/relationship-sync/use-cases/workforce-scim-groups.md): Sync an internal workforce identity provider into FGA using SCIM-provisioned Auth0 groups and group membership. - [Attributes and metadata](https://docs.fga.dev/relationship-sync/use-cases/attributes-and-metadata.md): Sync a field on a user, organization, or connection, such as a metadata value or a profile attribute, into an FGA relation as it changes, by diffing against the previous value or reconciling with tuple filters. - [Roles](https://docs.fga.dev/relationship-sync/use-cases/roles.md): How role assignment maps to FGA tuples for every place a role can attach in Auth0 — a user within an organization, a group at the tenant level, a group within an organization — plus how to model static vs. dynamic roles. - [Mapping Language](https://docs.fga.dev/relationship-sync/mapping-language.md): The complete mapping file syntax for Auth0 Relationship Sync, covering rules, tuple templates, tuple filters, iterators, and the expression language. - [Working with Mapping Files](https://docs.fga.dev/relationship-sync/mapping-files.md): How mapping validation works for a Sync pipeline, and how to work with mapping files from the command line. - [Managing Sync Pipelines](https://docs.fga.dev/relationship-sync/managing.md): Pause, resume, and delete a Sync pipeline, change its model or mapping, rotate signing credentials, and reconcile FGA with Auth0. - [Troubleshooting](https://docs.fga.dev/relationship-sync/troubleshooting.md): Common Auth0 Relationship Sync failure modes, including FGA drifting from Auth0, and how to resolve them, plus mapping and rate limits. - [Authorization for Agents](https://docs.fga.dev/modeling/agents.md): Authorization patterns for AI agents and automated processes - [Modeling Agents as Principals](https://docs.fga.dev/modeling/agents/agents-as-principals.md): Model agents as first-class principals in your authorization model so they inherit access through the same permission hierarchy as users - [RAG Authorization](https://docs.fga.dev/modeling/agents/rag-authorization.md): Ensuring AI agents only retrieve documents users are authorized to access - [Authorization for MCP Servers](https://docs.fga.dev/modeling/agents/mcp-authorization.md): Controlling which tools users can access on an MCP server - [Modeling Task-Based Authorization for Agents](https://docs.fga.dev/modeling/agents/task-based-authorization.md): Modeling task-based authorization for agents - [Advanced Use-Cases](https://docs.fga.dev/modeling/advanced.md): Advanced use cases and patterns for authorization modeling - [Modeling Google Drive permissions with Auth0 FGA](https://docs.fga.dev/modeling/advanced/use-cases/gdrive.md): Modeling Google Drive permissions - [Modeling GitHub permissions with Auth0 FGA](https://docs.fga.dev/modeling/advanced/use-cases/github.md): Modeling GitHub permissions - [Modeling Authorization for Slack with Auth0 FGA](https://docs.fga.dev/modeling/advanced/use-cases/slack.md): Modeling authorization for Slack - [Modeling Authorization for an IoT Security System with Auth0 FGA](https://docs.fga.dev/modeling/advanced/use-cases/iot.md): Modeling fine-grained authorization for an IoT security camera system - [Modeling Entitlements for a System with Auth0 FGA](https://docs.fga.dev/modeling/advanced/patterns/entitlements.md): Modeling entitlements for a system - [Decommissioning Notice - Legacy FGA Token Issuer](https://docs.fga.dev/notices/token-issuer-migration.md): Decommissioning notice and migration instructions for the Legacy FGA API Token Issuer - [Auth0 FGA API Reference](https://docs.fga.dev/api/service.md): REST API reference for Auth0 Fine-Grained Authorization. - [Get assertions for a model](https://docs.fga.dev/api/service/assertions/read-assertions.md): The ReadAssertions API returns all the assertions stored for a given authorization model ID. An assertion is an object that contains a tuple key, and the expectation of whether a call to the Check API of that tuple key returns true or false. - [Upsert assertions for a model](https://docs.fga.dev/api/service/assertions/write-assertions.md): The WriteAssertions API upserts new assertions for an authorization model ID, or overwrites the existing ones. An assertion is an object that contains a tuple key, and the expectation of whether a call to the Check API of that tuple key returns true or false. - [Get all authorization models](https://docs.fga.dev/api/service/authorization-models/read-authorization-models.md): The ReadAuthorizationModels API returns all the authorization models for a certain store. Auth0 FGA's response contains an array of all authorization models, sorted in descending order of creation. - [Create a new authorization model](https://docs.fga.dev/api/service/authorization-models/write-authorization-model.md): The WriteAuthorizationModel API adds a new authorization model to a store. Each item in the `type_definitions` array is a type definition as specified in the field `type_definition`. The response returns the authorization model's ID in the `authorization_model_id` field. - [Get an authorization model by its ID](https://docs.fga.dev/api/service/authorization-models/read-authorization-model.md): The ReadAuthorizationModel API returns an authorization model by its identifier. The response returns the authorization model for the particular ID. - [Check multiple authorizations in a single request](https://docs.fga.dev/api/service/relationship-queries/batch-check.md): The `BatchCheck` API functions nearly identically to `Check`, but instead of checking a single user-object relationship BatchCheck accepts a list of relationships to check and returns a map containing `BatchCheckItem` response for each check it received. - [Check user authorization](https://docs.fga.dev/api/service/relationship-queries/check.md): The Check API returns whether a given user has a relationship with a given object in a given store. - [Expand relationships in userset tree format](https://docs.fga.dev/api/service/relationship-queries/expand.md): The Expand API returns all users and usersets that have certain relationship with an object in a certain store. Use it to reason about and debug a certain relationship. - [List objects a user is related to](https://docs.fga.dev/api/service/relationship-queries/list-objects.md): The ListObjects API returns a list of all the objects of the given type that the user has a relation with. - [List users related to an object](https://docs.fga.dev/api/service/relationship-queries/list-users.md): The ListUsers API returns a list of all the users of a specific type that have a relation to a given object. - [[EXPERIMENTAL] Stream objects a user is related to](https://docs.fga.dev/api/service/relationship-queries/streamed-list-objects.md): The Streamed ListObjects API is very similar to the [ListObjects](https://docs.fga.dev/api/service/relationship-queries/list-objects) API, with two differences: - [Get all tuple changes](https://docs.fga.dev/api/service/relationship-tuples/read-changes.md): The ReadChanges API returns a paginated list of tuple changes (additions and deletions) that occurred in a given store, sorted by ascending time. The response includes a continuation token that is used to get the next set of changes. If there are no changes after the provided continuation token, the… - [Get stored relationship tuples](https://docs.fga.dev/api/service/relationship-tuples/read.md): The Read API returns the tuples from a certain store that match a query filter specified in the body of the request. The API doesn't guarantee order by any field. It is different from the `/stores/{store_id}/expand` API in that it only returns relationship tuples that are stored in the system and… - [Add or delete tuples](https://docs.fga.dev/api/service/relationship-tuples/write.md): The Write API transactionally updates the tuples for a certain store. Tuples and type definitions allow Auth0 FGA to determine whether a relationship exists between an object and a user. - [Stream expansion events from a permissions index](https://docs.fga.dev/api/service/permissions-index/read-expansions.md): The ReadExpansions API streams pre-computed permission expansion events and index freshness events from a permissions index. Each expansion event represents the addition or removal of a resolved `(subject, relation, object)` tuple from the indexed FGA relationship. When called without a `from` curso… - [Search logs for a store.](https://docs.fga.dev/api/service/logs/search-store-logs.md): The SearchStoreLogs API will return a paginated list of logs for a given store, sorted by ascending time. The response will include a continuation token that is used to get the next set of logs. If there are no logs after the provided continuation token, the same token will be returned in order for… ## OpenAPI Specs - [openapi](https://api.us1.fga.dev/docs/openapi.json)