Create a definition
Definitions
Create a definition
Creates a new definition within an organization. Requires admin access to the organization.
POST
Create a definition
Authorizations
API key authentication using Bearer token format: Bearer <basedash_api_key>
Path Parameters
Organization ID
Body
application/json
Human-readable definition name
Required string length:
1 - 100Data source ID
SQL query that defines the reusable dataset
Required string length:
1 - 100000Stable SQL reference name for the definition
Required string length:
1 - 100Definition description
Maximum string length:
10000Response
Definition created successfully