Cube Dev Embed API

The Embed API from Cube Dev — 3 operation(s) for embed.

Operations 3

GET /api/v1/embed/dashboard/{publicid}/comments GET /api/v1/embed/dashboard/{publicId}/comments #
POST /api/v1/embed/generate-session POST /api/v1/embed/generate-session #
POST /api/v1/embed/session/{sessionid} POST /api/v1/embed/session/revoke #

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/cube-dev/json-schema/cube-dev-get-api-v1-deployments-deploymentid-id-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/cube-dev/json-schema/cube-dev-post-api-v1-deployments-deploymentid-environments-environmentid-tok2-schema.json
📊
JSONSchema
https://artifacts.apis.io/cube-dev/json-schema/cube-dev-put-build-api-v1-deployments-deploymentid-branches-staging-environme2-schema.json
📊
JSONSchema
https://artifacts.apis.io/cube-dev/json-schema/cube-dev-post-api-v1-deployments-deploymentid-environments-environmentid-tok-schema.json
📊
JSONSchema
https://artifacts.apis.io/cube-dev/json-schema/cube-dev-post-api-v1-deployments-deploymentid-dashboard-exports-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/cube-dev/json-schema/cube-dev-put-build-api-v1-deployments-deploymentid-branches-staging-environme-schema.json
📊
JSONSchema
https://artifacts.apis.io/cube-dev/json-schema/cube-dev-post-cubejs-api-v1-cubesql-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/cube-dev/json-schema/cube-dev-post-api-v1-embed-generate-session-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/cube-dev/json-schema/cube-dev-patch-dashboard-publicid-comments-commentid-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/cube-dev/json-schema/cube-dev-post-dashboard-publicid-comments-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/cube-dev/json-schema/cube-dev-get-dashboard-publicid-comments-mentionable-users-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/cube-dev/json-schema/cube-dev-get-dashboard-publicid-comments-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/cube-dev/json-schema/cube-dev-post-dashboard-publicid-comments-commentid-resolve-response-schema.json

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cube-dev:cube-dev-embed-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cube-dev-embed-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cube Dev Embed API
  version: '2026-10-11'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-11: 23 operation(s) read from 8 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; Cube Dev has published no machine-readable contract that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 15
    documentation: 8
    pages-with-code: 8
    pages-read: 8
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-11'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.cube.dev/reference/cli.md
  - https://docs.cube.dev/reference/control-plane-api
  - https://docs.cube.dev/reference/control-plane-api.md
  - https://docs.cube.dev/reference/core-data-apis/sql-api
  - https://docs.cube.dev/reference/core-data-apis/rest-api
  - https://docs.cube.dev/reference/embed-apis/generate-session
  - https://docs.cube.dev/reference/embed-apis/dashboard-comments
  - https://docs.cube.dev/reference/embed-apis/generate-session.md
servers:
- url: https://YOUR_CUBE_CLOUD_HOST
security:
- bearer: []
tags:
- name: Embed
paths:
  /api/v1/embed/dashboard/{publicid}/comments:
    get:
      operationId: get_api_v1_embed_dashboard_publicid_comments
      tags:
      - Embed
      summary: GET /api/v1/embed/dashboard/{publicId}/comments
      x-source: https://docs.cube.dev/reference/embed-apis/dashboard-comments
      parameters:
      - name: publicid
        in: path
        required: true
        schema:
          type: string
      - name: first
        in: query
        required: false
        schema:
          type: string
      - name: includeResolved
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl \"https://your-account.cubecloud.dev/api/v1/embed/dashboard/PUBLIC_ID/comments?includeResolved=true&first=20\"  -H \"Authorization: Embed-Token YOUR_EMBED_TOKEN\" \n ​ Errors \n Status When 400 Replying to a reply, resolving a reply’s id, a body that is empty or over 10,000 characters, or a query parameter out of range — search over 255 characters, first below 1. 401 The Embed-Token is invalid or e"
  /api/v1/embed/generate-session:
    post:
      operationId: post_api_v1_embed_generate_session
      tags:
      - Embed
      summary: POST /api/v1/embed/generate-session
      x-source: https://docs.cube.dev/reference/embed-apis/generate-session
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1EmbedGenerateSessionRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST \"https://your-account.cubecloud.dev/api/v1/embed/generate-session\"  -H \"Content-Type: application/json\"  -H \"Authorization: Api-Key YOUR_API_KEY\"  -d '{ \n \"deploymentId\": 32, \n \"externalId\": \"user@example.com\", \n \"userAttributes\": [ \n {\"name\": \"department\", \"value\": \"Sales\"} \n ], \n \"groups\": [\"analysts\"] \n }' \n Use session ID in signed embedding . \n ​ Revoke a session \n POST https://{"
  /api/v1/embed/session/{sessionid}:
    post:
      operationId: post_api_v1_embed_session_sessionid
      tags:
      - Embed
      summary: POST /api/v1/embed/session/revoke
      x-source: https://docs.cube.dev/reference/embed-apis/generate-session
      parameters:
      - name: sessionid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1EmbedSessionSessionidRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST \"https://your-account.cubecloud.dev/api/v1/embed/session/revoke\"  -H \"Content-Type: application/json\"  -H \"Authorization: Api-Key YOUR_API_KEY\"  -d '{ \"sessionId\": \"abc123def456...\" }' \n Returns 204 No Content on success, with no body. \n It requires an admin principal — an API key, embed JWT, or bearer token belonging\nto an admin user. \n Unlike Generate Session, an API key’s scope is "
        collapsed_from: 2 example path(s) differing only at sessionId
components:
  schemas:
    PostApiV1EmbedSessionSessionidRequest:
      type: object
      properties:
        sessionId:
          type: string
    PostApiV1EmbedGenerateSessionRequest:
      type: object
      properties:
        deploymentId:
          type: integer
        externalId:
          type: string
        userAttributes:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              value:
                type: string
        groups:
          type: array
          items:
            type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer