POST /v1/charts
Create a Chart
Create a new chart within a dashboard service
POST
POST /v1/charts
Documentation Index
Fetch the complete documentation index at: https://openmetadata-codex-audit-docs-codebase-alignment.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Create a Chart
Create a new chart within a dashboard service.Body Parameters
Name of the chart. Must be unique within the parent dashboard service.
Fully qualified name of the parent DashboardService (e.g.,
sample_superset).Human-readable display name for the chart.
Description of the chart in Markdown format.
Type of chart visualization:
Line, Bar, Area, Pie, Scatter, Table, Histogram, Other.URL of the chart in the source system.
Array of owner references (users or teams) to assign to the chart.
Fully qualified name of the domain to assign for governance purposes.
Array of classification tags to apply to the chart.
Custom property values defined by your organization’s metadata schema.
POST /v1/charts
Returns
Returns the created chart object with all specified properties and system-generated fields.Response
Unique identifier for the chart (UUID format).
Chart name.
Fully qualified name in format
service.chartName.Human-readable display name.
Description of the chart in Markdown format.
Type of chart visualization (e.g., Line, Bar, Area, Pie, Scatter, Table, Histogram, Other).
Reference to the parent dashboard service.
URL of the chart in the source system.
Type of dashboard service (e.g., Superset, Looker, Tableau, Metabase, PowerBI).
List of owners assigned to the chart.
Domain assignments for governance.
Classification tags applied to the chart.
Custom property values defined by your organization’s metadata schema.
Version number for the entity (starts at 0.1).
Create or Update (PUT)
UsePUT /v1/charts instead of POST to perform an upsert. If a chart with the same fullyQualifiedName already exists, it will be updated; otherwise, a new chart is created. The request body is the same as POST.
PUT will not return a 409 conflict error if the entity already exists — it will update the existing entity instead.Bulk Create or Update (PUT)
UsePUT /v1/charts/bulk to create or update multiple charts in a single request. The request body is an array of create request objects.
Error Handling
| Code | Error Type | Description |
|---|---|---|
400 | BAD_REQUEST | Invalid request body or missing required fields |
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to create charts |
409 | ENTITY_ALREADY_EXISTS | Chart with same name already exists in service (POST only) |