Find gaps in a model
POST
/api/models/{id}/review/gaps
const url = 'https://forge.example.com/api/models/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/review/gaps';const options = {method: 'POST', 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 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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Responses
Section titled “Responses”OK
Media typeapplication/json
object
gaps
required
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" ]}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.
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"}