Videos

Get a generated document

Changed on

Returns a document started with POST /v1/videos/{id}/documents: its status, and its Markdown content once completed. Only the API user who started it can read it, for 7 days.

get/v1/videos/{id}/documents/{documentId}

Request

Path parameters

idstring required

Unique video identifier

Example:vid_abc123
documentIdstring required

The document ID returned when generation started

Example:doc_abc123

Response

OK

Example response

{
  "document": {
    "content": "# How to export a video\n\n1. Open the video...",
    "id": "doc_abc123",
    "status": "completed",
    "videoId": "vid_abc123"
  }
}

Changes