Skip to main content
POST
Create a schema type

Authorizations

Authorization
string
header
required

Identify accepts a workspace API key (sk_…). Loom accepts either a short-lived session token (direct) or a workspace API key (relay).

Headers

Idempotency-Key
string

Makes this POST safe to retry. The first call does the work and its response is stored; a retry with the same key returns that stored response with Idempotency-Replayed: true, without charging again. Same key with a different body is rejected. Keys expire after 24 hours.

Maximum string length: 255

Body

application/json
name
string
required
schema
object
required

The restricted JSON Schema.

description
string

Response

The created schema type.

status
string
required
Allowed value: "success"
data
object
required