Skip to main content
Use this endpoint to manually intervene in a running training job. You can either stop the job immediately or hot-change a subset of hyperparameters (learning rate, epochs, beta, group size) without restarting the container.

Method + Path

Authentication

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

Path parameters

string
required
The job identifier (e.g., jb_abc123def456).

Request body

string
required
Intervention action. Must be stop or update_hyperparams.
string
Human-readable reason for the intervention (logged for audit).
object
New hyperparameters when action is update_hyperparams. Only these fields may be hot-changed: lr, epochs, beta, group_size.

Request body example

Request example

Response

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

Example response

Errors