Pre-warm the embedding cache for a search query
POSThttps://platform.docana.com/api/v1/search/warmup/
Generates the text and multimodal embeddings for the query and stores them in the embedding cache, so a following POST /api/v1/search/ call with the same query reads them from cache instead of waiting on the embedding service. Body: { query } with 5-1000 characters. Validation failures answer 400 { error: "Invalid query" }.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Both embeddings were generated and cached
Invalid JSON body or invalid query
The API key or session is missing, expired, or malformed.
The caller is authenticated but not allowed to perform this operation.
Embedding generation failed