Privacy
All API endpoints accept a metadata object in the request body. Set metadata.improve_mathpix to control whether Mathpix can use your request data to improve the service.
improve_mathpix | Behavior |
|---|---|
true (default) |
|
false |
|
{
"metadata": {
"improve_mathpix": false
}
}
Supported endpoints
- POST v3/text
- POST v3/latex
- POST v3/strokes
- POST v3/batch
- POST v3/pdf
- POST v3/converter
- POST files/v1 (direct upload — see the Files API overview)
- POST files/v1/uri
- POST files/v1/jobs
For Files API submissions, metadata travels with the other OCR options: in the JSON body for POST files/v1/uri, in the options_json form field for direct uploads, and in the job-wide options for POST files/v1/jobs — where it applies to every file in the request.
Account-level setting
Mathpix can also pin improve_mathpix at the account level on your app key (for example, as part of an enterprise agreement). When an account-level value is set, it takes precedence over the per-request metadata.improve_mathpix value on all endpoints above. Contact support@mathpix.com to configure this.
Data retention
improve_mathpix controls whether your data is used for quality improvements and whether we persist it for later retrieval. For retention periods by artifact type and endpoint, see Data Retention.