Skip to main content
Reload a model into its serving runtime. ariapin has no separate serving process, so reload restarts the agent that ran the model’s training job. That agent already holds the weights, so a restart loads the latest checkpoint.

Method + Path

Authentication

Include your PIN API token or JWT in the Authorization header as a Bearer token.

Path parameters

string
required
The model identifier (e.g., md_abc123def456).

Request body

No request body is required.

Request example

Response

Returns a standard PIN success envelope with the reload result.
integer
required
0 on success, nonzero on error.
object
required
string
Human-readable message (empty on success).

Example response

Reload requirements

A model can only be reloaded if all of the following are true:
  1. The model was produced by an ariapin training job (job_id is set).
  2. The source training job still exists in the database.
  3. The source job is bound to an active agent (agent_id is not empty).
Stopped or resumed jobs release their agent, so reloading those models will fail with a 422 error.

Errors