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

# List Charts

> List all charts with optional filtering and pagination

# List Charts

List all charts with optional filtering and pagination.

## Query Parameters

**service** `string`

Filter by dashboard service fully qualified name.

**limit** `integer` (default: 10)

Maximum number of results to return (max: 1000000).

**before** `string`

Cursor for backward pagination.

**after** `string`

Cursor for forward pagination.

**fields** `string`

Comma-separated list of fields to include: `owners`, `tags`, `followers`, `votes`, `extension`, `domains`, `sourceHash`. See [Supported Fields](#supported-fields) below.

**include** `string` (default: non-deleted)

Include `all`, `deleted`, or `non-deleted` entities.

```python GET /v1/charts theme={null}
from metadata.sdk import configure
from metadata.sdk.entities import Charts

configure(
    host="https://your-company.open-metadata.org/api",
    jwt_token="your-jwt-token"
)

# List first page
charts = Charts.list(limit=50)
for c in charts.entities:
    print(f"{c.fullyQualifiedName.root}")

# List all with auto-pagination
for c in Charts.list_all():
    print(f"{c.fullyQualifiedName.root}")

# Filter by service
charts = Charts.list(
    filters={"service": "sample_superset"},
    fields=["owners", "tags", "domains"],
    limit=50
)

for c in charts.entities:
    print(f"{c.fullyQualifiedName.root} ({c.chartType.value})")
    if c.owners:
        print(f"  Owners: {[o.name for o in c.owners.root]}")
    if c.tags:
        print(f"  Tags: {[t.tagFQN.root for t in c.tags]}")
```

```java GET /v1/charts theme={null}
import org.openmetadata.sdk.models.ListParams;
import org.openmetadata.sdk.models.ListResponse;
import org.openmetadata.schema.entity.data.Chart;

// client is an initialized OpenMetadataClient.

// List first page
ListResponse<Chart> firstPage = client.charts().list(
    new ListParams().setLimit(50)
);

for (Chart chart : firstPage.getData()) {
    System.out.println(chart.getFullyQualifiedName());
}

// Filter by service with fields
ListResponse<Chart> filtered = client.charts().list(
    new ListParams()
        .setService("sample_superset")
        .setFields("owners,tags,domains")
        .setLimit(50)
);

for (Chart chart : filtered.getData()) {
    System.out.println(chart.getFullyQualifiedName());
}
```

```bash GET /v1/charts theme={null}
# List all
curl "{base_url}/api/v1/charts?limit=50" \
  -H "Authorization: Bearer {access_token}"

# Filter by service
curl "{base_url}/api/v1/charts?service=sample_superset&limit=50" \
  -H "Authorization: Bearer {access_token}"

# With fields
curl "{base_url}/api/v1/charts?service=sample_superset&fields=owners,tags,domains&limit=50" \
  -H "Authorization: Bearer {access_token}"
```

```json Response theme={null}
{
  "data": [
    {
      "id": "2dde4b53-a577-424b-bbaa-18ac32eca8a9",
      "name": "114",
      "displayName": "# of Games That Hit 100k in Sales By Release Year",
      "fullyQualifiedName": "sample_superset.114",
      "chartType": "Other",
      "version": 0.1,
      "updatedAt": 1769982666218,
      "updatedBy": "admin",
      "sourceUrl": "http://localhost:808/explore/?slice_id=114",
      "service": {
        "id": "b1e6a71d-7f47-4e5f-8ce0-e6e8a88ec97a",
        "type": "dashboardService",
        "name": "sample_superset",
        "fullyQualifiedName": "sample_superset",
        "deleted": false
      },
      "serviceType": "Superset",
      "href": "http://localhost:8585/api/v1/charts/2dde4b53-a577-424b-bbaa-18ac32eca8a9",
      "deleted": false,
      "owners": [],
      "tags": [],
      "followers": [],
      "votes": {
        "upVotes": 0,
        "downVotes": 0
      },
      "domains": []
    }
  ],
  "paging": {
    "after": "...",
    "total": 20
  }
}
```

***

## Returns

Returns a paginated list of chart objects. By default, only basic fields are included. Use the `fields` parameter to request additional data.

## Response

**data** `array`

Array of chart objects.

**properties**

**id** `string`

Unique identifier for the chart (UUID format).

**name** `string`

Chart name.

**fullyQualifiedName** `string`

Fully qualified name in format `service.chartName`.

**displayName** `string`

Human-readable display name.

**chartType** `string`

Type of chart visualization.

**service** `object`

Reference to the parent dashboard service.

**serviceType** `string`

Type of dashboard service, for example Superset, Looker, Tableau.

**sourceUrl** `string`

URL of the chart in the source system.

**owners** `array`

List of owners assigned to the chart. Only included when `fields` contains `owners`.

**tags** `array`

Classification tags applied. Only included when `fields` contains `tags`.

**domains** `array`

Domain assignments for governance. Only included when `fields` contains `domains`.

**followers** `array`

Users following this chart. Only included when `fields` contains `followers`.

**votes** `object`

User votes and ratings. Only included when `fields` contains `votes`.

**extension** `object`

Custom properties. Only included when `fields` contains `extension`.

**paging** `object`

Pagination information.

**properties**

**total** `integer`

Total count of charts matching the query.

**after** `string`

Cursor for the next page of results. Null if this is the last page.

**before** `string`

Cursor for the previous page of results. Null if this is the first page.

***

## Supported Fields

The following fields can be requested via the `fields` query parameter:

| Field | Description |
| - | - |
| `owners` | Owner references (users and teams) |
| `tags` | Classification tags |
| `followers` | Users following the chart |
| `votes` | User votes and ratings |
| `extension` | Custom property values |
| `domains` | Domain assignments for governance |
| `sourceHash` | Hash for change detection |

***

## Error Handling

| Code | Error Type | Description |
| - | - | - |
| `401` | `UNAUTHORIZED` | Invalid or missing authentication token |
| `403` | `FORBIDDEN` | User lacks permission to list charts |


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