Skip to main content
POST
Register 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.

Body

application/json
release
string
required

The release this schema describes. Cannot change later.

Example:

"v1.0.5-ge6187a05"

schema
object
required

A non-empty OpenAPI document.

Response

The schema was registered.

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"