Docs
Api referenceEbookGet ebook GET

Get ebook

Returns the AI-generated ebook for a video: its generation status, the served document (your manual edits if any, otherwise the original), whether it is stale, and provenance. After requesting generation, poll this endpoint until status is ready.

GET
/v1/videos/{id}/ebook

Authorization

BearerAuth
AuthorizationBearer <token>

Pass the raw API key as a Bearer token (Authorization: Bearer <key>). Publishable keys start with mvi_pub_ (playback-scoped). Other prefixes denote private/admin keys for general REST routes. GET /v1/embeds/{embedId}/playback accepts publishable keys only.

In: header

Path Parameters

id*string

Video UUID.

Formatuuid

Response Body

application/json

application/json

curl -X GET "https://api.moviie.ai/v1/videos/497f6eca-6276-4993-bfeb-53cbbbba6f08/ebook"
{
  "status": "ready",
  "isStale": true,
  "hasEdit": true,
  "document": {
    "version": 1,
    "title": "Getting started with video hosting",
    "intro": "string",
    "chapters": [
      {
        "title": "Getting started",
        "body": "string",
        "startSeconds": 0
      }
    ],
    "recap": "string"
  },
  "model": "string",
  "costCredits": "string",
  "generatedAt": "string",
  "displayEnabled": true
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}