Apache Superset Chart API

The Chart API from Apache Superset — 10 operation(s) for chart.

OpenAPI Specification

apache-superset-chart-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Apache Superset REST Annotation Layer Chart API
  version: '1.0'
  description: Minimal OpenAPI for the Apache Superset REST API covering authentication, dashboards, charts, datasets, databases, SQL Lab, queries, tags, themes, annotations, security (users/roles/permissions), reports, and assets.
servers:
- url: http://localhost:8088
  description: Superset
tags:
- name: Chart
paths:
  /api/v1/chart/:
    get:
      summary: List charts
      responses:
        '200':
          description: OK
      tags:
      - Chart
    post:
      summary: Create chart
      responses:
        '201':
          description: Created
      tags:
      - Chart
    delete:
      summary: Bulk delete charts
      responses:
        '200':
          description: OK
      tags:
      - Chart
  /api/v1/chart/_info:
    get:
      summary: Chart schema info
      responses:
        '200':
          description: OK
      tags:
      - Chart
  /api/v1/chart/{id_or_uuid}:
    get:
      summary: Get chart
      parameters:
      - name: id_or_uuid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      tags:
      - Chart
  /api/v1/chart/{pk}:
    put:
      summary: Update chart
      parameters:
      - name: pk
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      tags:
      - Chart
    delete:
      summary: Delete chart
      parameters:
      - name: pk
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      tags:
      - Chart
  /api/v1/chart/{pk}/data/:
    get:
      summary: Get chart data
      parameters:
      - name: pk
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      tags:
      - Chart
  /api/v1/chart/data:
    post:
      summary: Run chart data query
      responses:
        '200':
          description: OK
      tags:
      - Chart
  /api/v1/chart/data/{cache_key}:
    get:
      summary: Fetch cached chart data
      parameters:
      - name: cache_key
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      tags:
      - Chart
  /api/v1/chart/export/:
    get:
      summary: Export charts
      responses:
        '200':
          description: OK
      tags:
      - Chart
  /api/v1/chart/import/:
    post:
      summary: Import charts
      responses:
        '200':
          description: OK
      tags:
      - Chart
  /api/v1/chart/{pk}/favorites/:
    post:
      summary: Favorite chart
      parameters:
      - name: pk
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      tags:
      - Chart
    delete:
      summary: Unfavorite chart
      parameters:
      - name: pk
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      tags:
      - Chart
x-generated-from: https://superset.apache.org/developer-docs/api
x-generated-by: claude-crawl-2026-05-08