> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fga.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Managing Models

> How to use the Model Explorer and manage authorization models

## Model Explorer

The **Model Explorer** allows you to visualize, edit, and manage your [authorization model](https://docs.fga.dev/fga-concepts.md#what-is-an-authorization-model).

1. In the **Model Explorer** page, you may make changes to the authorization model in the editor panel located on the left part of the page. Note that only the [DSL syntax](https://docs.fga.dev/modeling/configuration-language.md) is supported.

   ![Image showing the model explorer](https://mintlify.s3.us-west-1.amazonaws.com/auth0-fga/images/fga/docs/content/dashboard/assets/dashboard-model-explorer-1.png)

2. After the changes are made, click **SAVE**. The **SAVE** button will be disabled if no changes have been made since the last save.

   ![Image showing the model explorer save button active](https://mintlify.s3.us-west-1.amazonaws.com/auth0-fga/images/fga/docs/content/dashboard/assets/dashboard-model-explorer-2.png)

3. After the authorization model is saved, the **Previewer** will be updated with a visualization of the new authorization model. You will also be given a new **Model ID** that corresponds to the latest model.

   ![Image showing the model explorer previewer](https://mintlify.s3.us-west-1.amazonaws.com/auth0-fga/images/fga/docs/content/dashboard/assets/dashboard-model-explorer-3.png)

4. After the authorization model is saved, the **SAVE** button is no longer active.

   ![Image showing the model explorer save button after save](https://mintlify.s3.us-west-1.amazonaws.com/auth0-fga/images/fga/docs/content/dashboard/assets/dashboard-model-explorer-4.png)

### Syntax Errors

Syntax errors will be highlighted in red. Hovering the mouse over the error will provide additional details.

![Image showing the model explorer with invalid syntax](https://mintlify.s3.us-west-1.amazonaws.com/auth0-fga/images/fga/docs/content/dashboard/assets/dashboard-model-explorer-invalid.png)

### Model Versions

Below the model editor, the **Model Versions** section lists all saved, immutable versions of your authorization model. Use the search bar to filter by any Model ID.

Click any model version to open a **Model Preview** panel that slides in from the right side of the screen. The panel displays the full DSL. From there, you can copy/paste content into the model editor. This makes it easy to restore a previous version or cherry-pick changes between different model versions.

![Image showing the Model Versions list and Model Preview panel](https://mintlify.s3.us-west-1.amazonaws.com/auth0-fga/images/fga/docs/content/dashboard/assets/dashboard-model-versions-preview.png)

This view is read-only. To edit a model, use the editor as described above.
