Skip to main content
PATCH
Update a level

Authorizations

Authorization
string
header
required

An API key (onx_sk_…) created in OnlyX under Settings → API & MCP, or an OAuth access token (onx_at_…) issued to a connected app. Send it as Authorization: Bearer <credential>. API keys may also be sent as X-API-Key: <key>.

Headers

Idempotency-Key
string

Optional. A unique value (8 to 64 letters, digits, - or _; a UUID is ideal) that makes a retry safe: the same key with the same request within 24 hours returns the stored response, with Idempotent-Replayed: true, instead of doing the work twice. The same key with a different request is 409 IDEMPOTENCY_KEY_REUSED; while the first request still runs it is 409 IDEMPOTENCY_IN_PROGRESS. A malformed key is 400 VALIDATION_ERROR.

Required string length: 8 - 64
Pattern: ^[A-Za-z0-9_-]{8,64}$

Path Parameters

creatorId
string
required

The creator id (cre_…).

levelId
string
required

The level (set) id (set_…).

Body

application/json

Send only the fields you want to change.

active
boolean

false pauses the level.

availableInPaidMessages
boolean

false keeps the level on the board but out of chats.

description
string | null

Up to 2,000 characters; null clears it.

Maximum string length: 2000
highlight
string | null

Up to 80 characters; null clears it.

Maximum string length: 80
name
string | null

Up to 120 characters; null clears it.

Maximum string length: 120
priceCents
integer

The floor price in cents. Moving a level between free and priced converts its media: free makes everything preview, priced makes everything paid.

Required range: 0 <= x <= 1000000
tags
string[]

Up to 30 tags of up to 40 characters; replaces the list.

Maximum array length: 30
Required string length: 1 - 40

Response

The whole content board after the change.

A creator's whole AI content setup. Every AI content write returns the updated board.

collections
Collection · object[]
required

Ladders, by position.

creatorId
string
required

The creator this board belongs to.

folders
Folder · object[]
required

Folders, by position.

levels
Level · object[]
required

Every level of every ladder, by ladder and then by rung.

vault
VaultUsage · object
required

How much of the vault the ladders use.