Check a model against its policy, for a build pipeline
const url = 'https://forge.example.com/api/models/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/check';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://forge.example.com/api/models/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/check \ --header 'Authorization: Bearer <token>'Answers whether a revision passes the engine’s strict policy: the policy in the model’s own settings over the engine’s defaults (an open threat at high or above with no plan on track, an open threat with no treatment decision, an overdue control, an approved requirement with no control, an element still marked as a suggestion, an accepted risk past its review date). The current valid revision is checked, or the one given as revision. With approved=true it must also be the revision an approver published, with no later change waiting for reassessment. Always 200 for a model you can see: read passed, and failures for the reasons, one sentence each. Nothing is changed. Made for an API key of a service account in a pipeline; a person may call it too.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”OK
object
object
object
object
Example generated
{ "modelId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "modelName": "example", "revision": 1, "passed": true, "failures": [ "example" ], "errors": [ { "message": "example", "path": "example" } ], "warnings": [ { "message": "example", "path": "example" } ], "review": { "signedOffRevision": 1, "signedOffOutcome": "example", "publishedRevision": 1, "reassessmentNeeded": true, "approved": true }, "engine": { "version": "example", "renderer": "example", "sha256": "example" }, "checkedAt": "2026-04-15T12:00:00Z"}default
Section titled “default”A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.
object
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}