Skip to main content
POST
Pull Snowflake Semantic Views into Cube
Pulls Snowflake Semantic Views into a Cube branch and returns a job ID to poll. Generated files are committed to the branch. Requires an API key or OAuth deployment.write token, SQL runner access, and preview enablement.

Authorizations

Authorization
string
header
required

Token authentication. Send Authorization: Bearer <YOUR_TOKEN>.

Path Parameters

deploymentId
integer
required

Body

application/json

StartSnowflakeSemanticViewPullInput

outputPath
string
required
Minimum string length: 1
schema
string
required
Minimum string length: 1
branchName
string | null

Cube branch to write. Defaults to the deployment's deploy branch.

commitMessage
string | null
dataSource
string | null
idempotencyKey
string<uuid> | null

Optional idempotency key. Repeating a pull with the same key and inputs returns the original sync.

namePrefix
string | null
titlePrefix
string | null
viewNames
string[] | null

Semantic view names or * patterns to pull. Omit to pull every view in the schema.

Response

202 - application/json
syncJobId
string<uuid>
required
workflowId
string
required