Skip to main content
POST
ClickStack: Validate App
Beta This endpoint is in beta. API contract is stable, and no breaking changes are expected in the future.

ClickStack: Preview. Checks an app body without saving it: validates the fields and compiles the code. Intended for plan-time checks in tools such as Terraform.

Permission

The API key must have the control-plane:service:manage-clickstack-api permission.

Authorizations

Authorization
string
header
required

Use key ID and key secret obtained in ClickHouse Cloud console: https://clickhouse.com/docs/cloud/manage/openapi

Path Parameters

organizationId
string<uuid>
required

ID of the organization that owns the service.

serviceId
string<uuid>
required

ID of the ClickStack service.

Body

application/json
name
string
required

App name. Must not be blank or start or end with whitespace.

Example:

"Checkout health"

code
string
required

The app's TSX source. It must default-export a React component and import only modules the app runtime provides.

Example:

"export default function App() { return <div>Hello</div>; }"

isShared
boolean

Whether the whole team can see and edit the app. When false, only the app's creator (the API key's user) can. Only the creator can change it.

purpose
string

What the app is for, who it helps, and how to use it. Shown on the app's About page and used as context when the app is edited in the app builder.

Example:

"Shows checkout errors for on-call engineers."

Response

Successful response

status
number

HTTP status code.

Example:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object