Skip to main content
GET
https://sandbox.getcollate.io/api
/
v1
/
charts
/
{id}
GET /v1/charts/{id}
from metadata.sdk import configure
from metadata.sdk.entities import Charts

configure(
    host="https://your-company.getcollate.io/api",
    jwt_token="your-jwt-token"
)

# Get by ID
chart = Charts.retrieve("2dde4b53-a577-424b-bbaa-18ac32eca8a9")
print(f"{chart.fullyQualifiedName}: {chart.displayName}")

# Get by ID with fields
chart = Charts.retrieve(
    "2dde4b53-a577-424b-bbaa-18ac32eca8a9",
    fields=["owners", "tags"]
)

# Get by fully qualified name
chart = Charts.retrieve_by_name("sample_superset.114")

# Get by name with fields
chart = Charts.retrieve_by_name(
    "sample_superset.114",
    fields=["owners", "tags", "domains"]
)
{
  "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": []
}

Retrieve a Chart

Get a single chart by its unique ID or fully qualified name.

Get by ID

id
string
required
UUID of the chart to retrieve.
fields
string
Comma-separated list of fields to include (e.g., owners,tags,followers,votes,extension,domains,sourceHash).
include
string
default:"non-deleted"
Include all, deleted, or non-deleted entities.

Get by Fully Qualified Name

Use GET /v1/charts/name/{fqn} to retrieve by fully qualified name.
fqn
string
required
Fully qualified name of the chart (e.g., sample_superset.114).
fields
string
Comma-separated list of fields to include: owners, tags, followers, votes, extension, domains, sourceHash.
include
string
default:"non-deleted"
Include all, deleted, or non-deleted entities.
GET /v1/charts/{id}
from metadata.sdk import configure
from metadata.sdk.entities import Charts

configure(
    host="https://your-company.getcollate.io/api",
    jwt_token="your-jwt-token"
)

# Get by ID
chart = Charts.retrieve("2dde4b53-a577-424b-bbaa-18ac32eca8a9")
print(f"{chart.fullyQualifiedName}: {chart.displayName}")

# Get by ID with fields
chart = Charts.retrieve(
    "2dde4b53-a577-424b-bbaa-18ac32eca8a9",
    fields=["owners", "tags"]
)

# Get by fully qualified name
chart = Charts.retrieve_by_name("sample_superset.114")

# Get by name with fields
chart = Charts.retrieve_by_name(
    "sample_superset.114",
    fields=["owners", "tags", "domains"]
)
{
  "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": []
}

Returns

Returns a chart object with all requested fields populated.

Response

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.
description
string
Description of the chart in Markdown format.
chartType
string
Type of chart visualization.
service
object
Reference to the parent dashboard service.
sourceUrl
string
URL of the chart in the source system.
serviceType
string
Type of dashboard service (e.g., Superset, Looker, Tableau).
version
number
Version number for the entity.
owners
array
List of owners. Only included when fields contains owners.
tags
array
Classification tags. Only included when fields contains tags.
domains
array
Domain assignments. Only included when fields contains domains.

Error Handling

CodeError TypeDescription
401UNAUTHORIZEDInvalid or missing authentication token
403FORBIDDENUser lacks permission to view this chart
404NOT_FOUNDChart with given ID or FQN does not exist