Skip to main content
PUT
Replace a schema

Authorizations

Authorization
string
header
required

A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.

Path Parameters

id
string<uuid>
required

The model's ID (not its project ID). Find it with GET /models?name=your-org/your-model.

schema_id
string<uuid>
required

The schema's ID.

Body

application/json
schema
object
required

A non-empty OpenAPI document that replaces the current one.

Response

The updated schema.

id
string<uuid>
required
model_id
string<uuid>
required
release
string
required
schema
object
required

The OpenAPI document, stored as sent.

created_at
string<date-time>
required

When it was created, as an RFC 3339 timestamp.

Example:

"2026-01-15T10:30:00Z"

updated_at
string<date-time>
required

When it was last updated, as an RFC 3339 timestamp.

Example:

"2026-01-15T10:30:00Z"