Skip to main content
POST
Create a workbook parameter
Add a SQL parameter to a workbook. Requires edit access to the workbook. Returns 400 when the workbook already has a parameter with the same name (case-insensitive).

Authorizations

Authorization
string
header
required

Token authentication. Send Authorization: Bearer <YOUR_TOKEN>.

Path Parameters

deploymentId
number
required
workbookId
number
required

Body

application/json

CreateWorkbookParameterInput

defaultValue
string
required
Maximum string length: 1000
name
string
required
Maximum string length: 63
Pattern: ^[A-Za-z_]\w*$
type
enum<string>
required
Available options:
string,
number,
date,
timestamp,
boolean,
expr
description
string | null
title
string | null

Response

200 - application/json
createdAt
required
createdBy
number
required
defaultValue
string
required
id
string
required
name
string
required
type
enum<string>
required
Available options:
string,
number,
date,
timestamp,
boolean,
expr
updatedAt
required
description
string | null
title
string | null