Skip to main content
POST
Create a query endpoint

Authorizations

Authorization
string
header
required

API token issued from the Splendor console.

Headers

x-splendor-tenant-id
string
required

Selects the tenant (workspace) the request acts within.

Body

application/json

Create a Query Endpoint (#684): a named SQL template + typed parameters.

name
string
required
Required string length: 1 - 255
sql
string
required
Minimum string length: 1
description
string | null
Maximum string length: 2000
parameters
QueryParameter · object[]

Response

Successful Response

created_at
string<date-time>
required
endpoint_id
string
required
latest_version
integer
required
name
string
required
updated_at
string<date-time>
required
description
string | null