Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

If using Bearer auth, pass the Secret Key as the token:

Body

application/json
name
string
required

Name of the dimension

datasourceId
string
required

ID of the datasource this dimension belongs to

identifierType
string
required

Type of identifier (user, anonymous, etc.)

query
string
required

SQL query or equivalent for the dimension

description
string

Description of the dimension

Maximum string length: 10000
owner
string

The userId or email address of the owner. If an email address is provided, it will be used to look up the userId of the matching organization member. If an ID is provided, it will be validated as existing in the organization.

managedBy
enum<string>

Where this dimension must be managed from. If not set (empty string), it can be managed from anywhere.

Available options:
,
api

Response

200 - application/json

Resource created

dimension
object
required