Skip to main content
POST
Create modal

Authorizations

Authorization
string
header
required

LithoBlocks API key obtained from your organization dashboard. The LithoBlocks MCP server also presents a Supabase-issued user session token here on the user's behalf; such a token acts as that user with the scopes their organization role allows.

Headers

Idempotency-Key
string

Any unique string (a UUID is fine). Repeating a request with the same key and body within 24 hours replays the original response with Idempotency-Replayed: true instead of running again; the same key with a different body is a 409. Incomplete and 5xx outcomes are retained for reconciliation beyond 24 hours. Applies only on the documented endpoints. Never automatically change keys to bypass an uncertain outcome.

Required string length: 1 - 255
Example:

"3f7d2c1a-9b4e-4f0a-8c6d-2e1b5a7c9d10"

Body

application/json

Operation input

name
string
required
Required string length: 1 - 255
title
string
required
Required string length: 1 - 24
blocks
object[]
required
Required array length: 1 - 100 elements
description
string | null
Maximum string length: 2000
submit_label
string
default:Submit
Required string length: 1 - 24
close_label
string
default:Cancel
Required string length: 1 - 24
sample_data
object
activate
boolean
default:false

Response

Operation result

name
string
required
Required string length: 1 - 255
title
string
required
Required string length: 1 - 24
submit_label
string | null
required
close_label
string | null
required
id
string<uuid>
required
organization_id
string<uuid>
required
current_version_id
string<uuid> | null
required
is_multi_step
boolean | null
required
created_by
string
required
created_at
string | null
required
updated_at
string | null
required
description
string | null
Maximum string length: 2000
steps
unknown
current_version
object | null
version
object