Nukez · Schema

CreateFileRequest

Request body for create_file. Notes: - filename is optional (server can auto-generate). - ttl_min controls the signed URL lifetime. - expected_hash and expected_size_bytes are the client's pre-commitment for the object it is about to upload; confirm refuses to record the manifest hash unless the stored bytes agree with both. They bring the single-file route to parity with the batch route, which already accepted expected_hash. - upload_mode selects the data plane: "put" (default) returns the single signed PUT URL; "resumable" additionally returns a resumable_upload block for large objects (provider must support it; GCS does). See file_ops.create_file.

AI AgentsInfrastructureAutonomousArtificial IntelligenceStorage

Properties

Name Type Description
filename object
content_type object
ttl_min object
expected_hash object Optional sha256 precommit hash (with or without 'sha256:' prefix)
expected_size_bytes object Optional declared object size in bytes; confirm verifies it
upload_mode object Data plane: 'put' (default, single signed PUT) or 'resumable'
View JSON Schema on GitHub

JSON Schema

nukez-xyz-create-file-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nukez-xyz/json-schema/nukez-xyz-create-file-request-schema.json",
  "title": "CreateFileRequest",
  "description": "Request body for create_file.\n\nNotes:\n  - filename is optional (server can auto-generate).\n  - ttl_min controls the signed URL lifetime.\n  - expected_hash and expected_size_bytes are the client's\n    pre-commitment for the object it is about to upload; confirm\n    refuses to record the manifest hash unless the stored bytes agree\n    with both. They bring the single-file route to parity with the\n    batch route, which already accepted expected_hash.\n  - upload_mode selects the data plane: \"put\" (default) returns the\n    single signed PUT URL; \"resumable\" additionally returns a\n    resumable_upload block for large objects (provider must support\n    it; GCS does). See file_ops.create_file.",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nukez-xyz-openapi.json#/components/schemas/CreateFileRequest",
  "properties": {
    "filename": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Filename"
    },
    "content_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Content Type"
    },
    "ttl_min": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 1440.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Ttl Min"
    },
    "expected_hash": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Expected Hash",
      "description": "Optional sha256 precommit hash (with or without 'sha256:' prefix)"
    },
    "expected_size_bytes": {
      "anyOf": [
        {
          "type": "integer",
          "exclusiveMinimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Expected Size Bytes",
      "description": "Optional declared object size in bytes; confirm verifies it"
    },
    "upload_mode": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^(put|resumable)$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Upload Mode",
      "description": "Data plane: 'put' (default, single signed PUT) or 'resumable'"
    }
  },
  "type": "object"
}

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/nukez-xyz-create-file-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.