Files

Get document thumbnail

Changed on

Returns the 256x256 WebP thumbnail for a document. Thumbnails are generated asynchronously after ingestion completes: poll the thumbnail.status field on the file resource and request this endpoint once it reads READY.

get/api/v3/files/{id}/thumbnail

Request

  • Base URL
    https://api.lighton.ai
  • URL
    https://api.lighton.ai/api/v3/files/{id}/thumbnail
  • Auth
    HTTP bearer

Path parameters

idinteger required

A unique integer value identifying this Document.

Response

WebP thumbnail image stream (image/webp)

Changes