Skip to content
Hayonix

API reference · Schema

FileLimits

  • objectstringrequired

    Always `file_limits`: the type of this object

    One offile_limits

  • max_upload_bytesintegerrequired

    Largest file `POST /v1/files` takes

  • purposesarray of stringrequired

    Purposes an upload may name

  • max_line_bytesintegerrequired

    Largest single line (one example)

  • reported_errorsintegerrequired

    Errors 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