Download a document image
Download an image from an indexed document, such as an image linked in a chat response. Chat responses link these images as /api/v1/images?key=<key>; pass the same key here. Returns the image bytes with a Content-Type header matching the image format. Only document images are supported, and the caller must have access to the source document.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Image content.
Key missing or invalid, or not a document image.
Missing or invalid API token.
Caller does not have access to the source document.
Image not found.
Internal server error.