Skip to main content
DELETE
Cancel a Databricks Metric View publication run
Requests cancellation of an active run and returns its state. Metric Views already written in the run are not rolled back. Requires SchemaUpdate access.

Authorizations

Authorization
string
header
required

Token authentication. Send Authorization: Bearer <YOUR_TOKEN>.

Path Parameters

deploymentId
integer
required
dataSourceName
string
required
runId
string
required

Response

200 - application/json
createdAt
string
required
Pattern: \d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z?
dataSourceName
string
required
deploymentId
integer
required
incompleteViewCount
integer
required

How many published views are missing measures the conversion could not represent. A run reports COMPLETED with this above zero, because every view published — so automation that treats COMPLETED as "fully published" should assert this is 0. Read views[].withheldMembers for which measures, and why.

Required range: x >= 0
integrationPublicId
string
required
runId
string
required
status
enum<string>
required
Available options:
QUEUED,
RUNNING,
CANCELLING,
COMPLETED,
PARTIAL,
FAILED,
CANCELLED
trigger
enum<string>
required
Available options:
MANUAL
viewNames
string[]
required

The Cube views this run was planned against.

views
object[]
required
buildJobId
integer | null
cancelRequestedAt
string | null
Pattern: \d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z?
commit
string | null
completedAt
string | null
Pattern: \d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z?
configurationVersion
integer | null
deletionPolicy
string | null
durationMs
integer | null
progress
object | null

Live progress while the run is active; null once it is terminal.

stage
string | null
startedAt
string | null
Pattern: \d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z?
targetCatalog
string | null
targetSchema
string | null