Skip to main content
POST
Start a Data API from a semantic model or a table

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Start a Data API from an existing asset. Creates its first draft.

name
string
required

URL name: lowercase letters, digits, _.

source_kind
enum<string>
required

What a Data API reads.

Available options:
semantic_model,
table
source_id
string
required

Semantic model id, or a table as catalog.schema.table.

title
string
default:""
description
string
default:""

Response

Successful Response

name
string
required
title
string
required
description
string
required
owner
string
required
source_kind
enum<string>
required

What a Data API reads.

Available options:
semantic_model,
table
source_id
string
required
source_table
string
required
source_label
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
versions
DataApiVersionSummary · object[]
required
endpoint_path
string
required

e.g. /api/data/orders_daily/v2

domain
string | null
latest_version
integer | null

Newest published version.

has_draft
boolean
default:false
can_edit
boolean
default:false