Skip to content

Get a report on a model

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

kind is exec (the default), developer or audit, as Markdown. The published revision’s executive report is the one kept with it.

id
required
string format: uuid
kind
string

OK

Media typeapplication/json
object
kind
required
string
revision
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
published
required
boolean
markdown
required
string
modelName
required
string

Example generated

{
"kind": "example",
"revision": 1,
"published": true,
"markdown": "example",
"modelName": "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"
}