Skip to content

Find gaps in a model

POST
/api/models/{id}/review/gaps
curl --request POST \
--url https://forge.example.com/api/models/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/review/gaps \
--header 'Authorization: Bearer <token>'

Questions drafted from the engine’s rules, from the Organization Environment held against the model by the engine, and, where the model’s classification lets an AI see it, from the organization’s AI. Nothing is posted. For the model’s reviewers.

id
required
string format: uuid

OK

Media typeapplication/json
object
gaps
required
Array<object>
object
kind
required
string
text
required
string
anchor
required
One of:
null
origin
required
string
basis
required
string
missing
required
null | string
rulesOnly
required
boolean
reason
required
null | string
vendor
required
null | string
model
required
null | string
environmentApplies
required
Array<string>

Example generated

{
"gaps": [
{
"kind": "example",
"text": "example",
"anchor": {
"tab": "example",
"kind": "example",
"ref": "example"
},
"origin": "example",
"basis": "example",
"missing": "example"
}
],
"rulesOnly": true,
"reason": "example",
"vendor": "example",
"model": "example",
"environmentApplies": [
"example"
]
}

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.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}