PutPut · Schema

PresignRequest

Request body for getting a presigned upload URL.

File UploadAPI ServiceCloud StorageSoftware-as-a-ServiceShutdown

Properties

Name Type Description
filename string Original filename. Sanitized server-side (safe chars only, max 200 chars).
content_type string MIME type of the file. Guest tokens cannot upload text/html, text/javascript, text/css, application/xml, application/xhtml+xml, or image/svg+xml.
size_bytes integer Exact file size in bytes. Checked against plan limits.
visibility string File visibility. "private" requires a Pro plan.
prefix string Optional path prefix for organizing files (e.g. "avatars", "documents/2026").
metadata object Key-value metadata. Max 10 keys, key max 256 chars, value max 1024 chars.
tags array Tags for categorization. Max 10 tags, 50 chars each.
expires_at string ISO 8601 datetime when the file should be automatically deleted. Must be in the future.
View JSON Schema on GitHub

JSON Schema

putput-io-presign-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/putput-io/json-schema/putput-io-presign-request-schema.json",
  "title": "PresignRequest",
  "description": "Request body for getting a presigned upload URL.",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/putput-io-openapi.json#/components/schemas/PresignRequest",
  "type": "object",
  "properties": {
    "filename": {
      "type": "string",
      "description": "Original filename. Sanitized server-side (safe chars only, max 200 chars)."
    },
    "content_type": {
      "type": "string",
      "description": "MIME type of the file. Guest tokens cannot upload text/html, text/javascript, text/css, application/xml, application/xhtml+xml, or image/svg+xml."
    },
    "size_bytes": {
      "type": "integer",
      "description": "Exact file size in bytes. Checked against plan limits."
    },
    "visibility": {
      "type": "string",
      "enum": [
        "public",
        "private"
      ],
      "default": "public",
      "description": "File visibility. \"private\" requires a Pro plan."
    },
    "prefix": {
      "type": "string",
      "maxLength": 200,
      "description": "Optional path prefix for organizing files (e.g. \"avatars\", \"documents/2026\")."
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string",
        "maxLength": 1024
      },
      "maxProperties": 10,
      "description": "Key-value metadata. Max 10 keys, key max 256 chars, value max 1024 chars."
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 50
      },
      "maxItems": 10,
      "description": "Tags for categorization. Max 10 tags, 50 chars each."
    },
    "expires_at": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 datetime when the file should be automatically deleted. Must be in the future."
    }
  },
  "required": [
    "filename",
    "content_type",
    "size_bytes"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/putput-io-presign-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.