Skip to main content
GET
Compile a deployment's data model and report compilation errors
Asks the branch’s own Cube runtime for GET /cubejs-api/v1/meta — the same call the console makes in dev mode — so the verdict is the one that branch’s API would give. With neither parameter it validates the deploy branch (production). branchName validates a named branch, and devMode=true validates the caller’s active dev-mode branch; the two are mutually exclusive. Answers 200 with valid: false and the compiler’s errors when the model doesn’t compile — a broken model is a result, not a request error.

Authorizations

Authorization
string
header
required

Token authentication. Send Authorization: Bearer <YOUR_TOKEN>.

Path Parameters

deploymentId
integer
required

Query Parameters

branchName
string
devMode
boolean

Response

200 - application/json
branchName
string
required
deploymentId
integer
required
errors
object[]
required
mode
enum<string>
required
Available options:
production,
dev_mode
valid
boolean
required
cubesCount
integer | null