AimableDocs
DocsAPI Reference
POST/v1/knowledge/prerender-thumbnails

Trigger Prerender Thumbnails

Trigger background generation of thumbnails for documents. Tenant-scoped: `collection_id` is REQUIRED and must belong to the caller's tenant. Without this, any authenticated user could pre-render PNGs of every page of every tenant's documents into the shared thumbnail cache (the background task walks `knowledge_uploads/` recursively).

Query Parameters

NameTypeRequiredDescription
collection_idstringOptional
forcebooleanOptional
Default: false

Headers

NameTypeRequiredDescription
X-API-KeystringOptional

Request

curl -X POST '/api-proxy/v1/knowledge/prerender-thumbnails' \
  -H 'Authorization: Bearer <YOUR_TOKEN>'

Response

200

No response body documented

Error Responses