Skip to main content

Validate assistant file attachments

POST 

https://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

Per-file validation results