Skip to main content
Use this endpoint to reload a model into its serving runtime. Because ariapin has no separate serving process, reloading is implemented by restarting the agent that executed the model’s training job. The 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