Models
Create a new model
POST
/
sources
/
{source_id}
/
models
Authorizations
Authorization
string
headerrequiredBearer token for the current workspace. Can be retrieved from the Workspace's settings page.
Path Parameters
source_id
integer
requiredID of the source
Body
application/json
name
string
requiredThe name of this model.
query
string
requiredThe SQL query associated with this model.
description
string
The description for this model.
Response
201 - application/json
status
enum<string>
Outcome of the operation.
Available options:
success
, updated
, created
, not_found
, error
data
object
Was this page helpful?