Skip to main content
POST

Authorizations

Authorization
string
header
required

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

Body

application/json
model
object
required
description
string

Human-facing description.

status
enum<integer>
default:1

Initial status as an integer: 1 active, 2 deprecated, 3 disabled. Responses return the lowercase string.

Available options:
1,
2,
3
is_public
boolean
default:false

Must be false or omitted; a customer cannot create a public model.

is_gpu
boolean
default:false

Whether the model needs a GPU. With true, gpu_type is required.

gpu_type
string

An accelerator name from GET /gpu_types. Integer values are refused.

Example:

"NVIDIA_H100"

gpu_count
integer

GPUs per instance. Some types allow only 1.

Required range: x >= 0
extra_args
string[]

Extra command-line arguments passed to the model container.

cpu_request
string

CPU request of the model container, such as 4. Defaults apply when omitted.

cpu_limit
string

CPU limit; must be at least cpu_request.

memory_request
string

Memory request, such as 32Gi.

memory_limit
string

Memory limit; must be at least memory_request.

workers
object

Makes the model multi-session: each instance runs one model server, which holds the model and the GPUs, plus count workers, each serving one session. The model's own gpu_*, cpu_*, and memory_* fields apply to the model server. Omit workers for one session per instance. The CLI sends this from model.resources.workers in reactor.yaml.

Response

The model was created. The body is the model detail, without project_id.

The full view of a model, for its owner.

id
string<uuid>
required
name
string
required
Example:

"your-org/your-model"

status
enum<string>
required

The model's status, always lowercase in responses.

Available options:
active,
deprecated,
disabled
is_public
boolean
required
is_gpu
boolean
required
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"

account_id
string<uuid>

The owning account.

account
string

The owning account's name.

description
string
gpu_type
string
Example:

"NVIDIA_H100"

gpu_count
integer
extra_args
string[]
cpu_request
string
Example:

"4"

cpu_limit
string
memory_request
string
Example:

"32Gi"

memory_limit
string
workers
object

Makes the model multi-session: each instance runs one model server, which holds the model and the GPUs, plus count workers, each serving one session. The model's own gpu_*, cpu_*, and memory_* fields apply to the model server. Omit workers for one session per instance. The CLI sends this from model.resources.workers in reactor.yaml.

pod_total
object
read-only

For a model with workers: the CPU and memory of one whole instance, with defaults filled in. This is what your account's per-model quotas are checked against.

project_id
string<uuid>

The model's project. Only on GET /models/{id}.