Report API

Generate Pdf Report

Get PDF report if available, or trigger generation if not.

  • Returns PDF metadata if already generated
  • Triggers generation and returns 202 if not available
  • Returns processing status if generation in progress
get/v2/reports/pdf/{media_id}

Path parameters

media_idstring required

Unique identifier of the media

Unique identifier of the media

Query parameters

media_typestring required

Type: Only 'video' is allowed at present

Type: Only 'video' is allowed at present

callback_urlstring nullable

Callback URL for completion notification

Callback URL for completion notification

Response

PDF stream when the artifact is ready; JSON {id, message, status} when this request triggered generation.

idstring required
messagestring required
statusstring required