Validate assistant file attachments
POSThttps://platform.docana.com/api/v1/assistant/validate-attachments/
Checks each file’s MIME type and size before the client uploads it to an assistant chat. The accepted set is broader than the model’s native attachments: convertible and Docana-only types pass with their own size limits, and when code execution is enabled for the application any type is accepted. Validation never stores the files.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Per-file validation results
The request body, query, or path failed validation. See validationErrors.
The API key or session is missing, expired, or malformed.
The caller is authenticated but not allowed to perform this operation.
Unexpected server error.