/
/Cube API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 20m ago · Updated 1mo ago
  • getReturns the ready state of the deployment
  • getReturns the liveness state of the deployment
  • getGet the data for a provided query
  • getGet the SQL Code generated by Cube
  • getGet meta-information for cubes defined in the data model
  • postRun SQL query on the datasource
  • getTest connection of the datasource
  • getGet tables schema from the datasource
  • postGenerate data models from the datasource tables
  • postPre-aggregation preview
  • getGet pre-aggregations

Run SQL query on the datasource

post/api/v1/run-sql

Headers

x-hasura-datasource-idstring uuid required

The ID of the datasource

x-hasura-branch-idstring uuid

The ID of the branch

Request body

querystring required

Response

Successful operation

Changes