API reference · Schema
FileLimits
objectstringrequiredAlways `file_limits`: the type of this object
One of
file_limitsmax_upload_bytesintegerrequiredLargest file `POST /v1/files` takes
purposesarray of stringrequiredPurposes an upload may name
max_line_bytesintegerrequiredLargest single line (one example)
reported_errorsintegerrequiredErrors kept in a validation report (all are counted)
Example
{
"object": "file_limits",
"max_upload_bytes": 1,
"purposes": [
"fine-tune"
],
"max_line_bytes": 1,
"reported_errors": 1
}Used by
- The upload size cap, the purposes and the validation limits
GET /v1/files/limits