Skip to content

Download a report on a model as a PDF

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

The same report as /report (kind: exec, developer or audit), printed by the worker’s confined browser, with the model’s name, the revision, its classification’s banner at the top and the bottom, and page numbers. Answers 503 when the worker has no browser to print with.

id
required
string format: uuid
kind
string

The report, a PDF file, as an attachment to keep or send.

Media typeapplication/pdf
string

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"
}