Get Training Status
Training Studio
Get Training Status
Poll a policy import until its Training Studio adapter is ready
GET
Get Training Status
Return the current training run for a policy import. Poll after
Train Policy Adapter until
status is succeeded or failed.
The successful poll is part of activation: when Training Studio reports
succeeded, ZeroDrift records the run as the import’s active adapter. A failed
retraining attempt does not replace an earlier working adapter.
Path Parameters
string
required
The policy import whose training run you want to inspect.
Response
string
Policy import associated with the run.
string
Training Studio run identifier.
string
Current run status.
succeeded and failed are terminal.string
Current training pipeline stage, when reported.
object
Training progress details, when reported.
string
Failure detail when
status is failed.Error Responses
Complete flow
Training extends the custom-policy flow:- Import Policy.
- Poll Get Import Details
until extraction reaches
pending_review. - Review or simulate the extracted rules, then Activate Rules.
- Train Policy Adapter.
- Poll this endpoint until
statusissucceededorfailed. Stop on either terminal status; do not keep polling a failed run. - If the run
succeeded, enforce content withvalidation_scope.importscontaining the import ID.
Example
This sample starts training and polls to a terminal state.Python

