Create semantic model relationship

Add a new relationship to a semantic model version.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

The ID of the account

uuid
required

The ID of the data product

uuid
required

The ID of the semantic model version

Body Params
string
required

Relationship name

string
required

Left table name

string
required

Right table name

joinColumns
array of objects

Column pairs used for the join condition

joinColumns
string
enum

SQL join type (inner, left, right, full, cross)

Allowed:
string
enum

Relationship cardinality (one_to_one, one_to_many, many_to_one, many_to_many)

Allowed:
string

Left table reference in $table()/$ref() format

string

Right table reference in $table()/$ref() format

boolean

Whether this relationship is deployed or in draft state

Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json