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

# Charts

> Create, retrieve, update, list, and delete chart entities with visualization types, owners, tags, and lineage within a dashboard service using the Collate REST API.

# Charts

A **Chart** is a visual representation of data within a Dashboard Service. Charts can be associated with one or more Dashboards.

> [!NOTE]
>
> Entity schema follows the [OpenMetadata Standard](https://openmetadatastandards.org/data-assets/dashboards/chart/).

## Entity Hierarchy

Charts belong to a Dashboard Service:

```txt Chart theme={null}
DashboardService
└── Dashboard
    └── Chart (this page)
```

## Fully Qualified Name

The FQN format for a chart is:

```
service.chartName
```

For example: `sample_superset.114`

***

## API Endpoints

| Method | Endpoint | Description |
| - | - | - |
| `PUT` | `/v1/charts` | [Create or update a chart](https://docs.getcollate.io/api-reference/data-assets/charts/create.md) |
| `POST` | `/v1/charts` | [Create a chart (POST variant)](https://docs.getcollate.io/api-reference/data-assets/charts/create.md) |
| `GET` | `/v1/charts` | [List charts](https://docs.getcollate.io/api-reference/data-assets/charts/list.md) |
| `GET` | `/v1/charts/{id}` | [Get by ID](https://docs.getcollate.io/api-reference/data-assets/charts/retrieve.md) |
| `GET` | `/v1/charts/name/{fqn}` | [Get by FQN](https://docs.getcollate.io/api-reference/data-assets/charts/retrieve.md) |
| `PATCH` | `/v1/charts/{id}` | [Update by ID](https://docs.getcollate.io/api-reference/data-assets/charts/update.md) |
| `PATCH` | `/v1/charts/name/{fqn}` | [Update by name](https://docs.getcollate.io/api-reference/data-assets/charts/update.md) |
| `DELETE` | `/v1/charts/{id}` | [Delete by ID](https://docs.getcollate.io/api-reference/data-assets/charts/delete.md) |
| `DELETE` | `/v1/charts/name/{fqn}` | [Delete by name](https://docs.getcollate.io/api-reference/data-assets/charts/delete.md) |
| `PUT` | `/v1/charts/restore` | [Restore soft-deleted chart](https://docs.getcollate.io/api-reference/data-assets/charts/delete.md) |
| `GET` | `/v1/charts/{id}/versions` | [List versions](https://docs.getcollate.io/api-reference/data-assets/charts/versions.md) |
| `GET` | `/v1/charts/{id}/versions/{version}` | [Get specific version](https://docs.getcollate.io/api-reference/data-assets/charts/versions.md) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.