Anthropic · Schema

FileMetadataSchema

LLMAnthropicArtificial IntelligenceClaudeFoundation ModelsMachine LearningMCPAgents

Properties

Name Type Description
created_at string RFC 3339 datetime string representing when the file was created.
downloadable boolean Whether the file can be downloaded.
expires_at object RFC 3339 datetime string representing when the file will expire and become unavailable for download. Null if the file does not expire. For files uploaded with `expires_in_seconds`, this is the upload
filename string Original filename of the uploaded file.
id string Unique object identifier. The format and length of IDs may change over time.
mime_type string MIME type of the file.
size_bytes integer Size of the file in bytes.
type string Object type. For files, this is always `"file"`.
View JSON Schema on GitHub

JSON Schema

anthropic-file-metadata-schema-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/anthropic/main/json-schema/anthropic-file-metadata-schema-schema.json",
  "title": "FileMetadataSchema",
  "x-generated": "2026-09-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anthropic-files-api-openapi.yml#/components/schemas/FileMetadataSchema",
  "properties": {
    "created_at": {
      "description": "RFC 3339 datetime string representing when the file was created.",
      "format": "date-time",
      "title": "Created At",
      "type": "string"
    },
    "downloadable": {
      "default": false,
      "description": "Whether the file can be downloaded.",
      "title": "Downloadable",
      "type": "boolean"
    },
    "expires_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "RFC 3339 datetime string representing when the file will expire and become unavailable for download. Null if the file does not expire. For files uploaded with `expires_in_seconds`, this is the upload time plus that value.",
      "title": "Expires At"
    },
    "filename": {
      "description": "Original filename of the uploaded file.",
      "maxLength": 500,
      "minLength": 1,
      "title": "Filename",
      "type": "string"
    },
    "id": {
      "description": "Unique object identifier.\n\nThe format and length of IDs may change over time.",
      "title": "Id",
      "type": "string"
    },
    "mime_type": {
      "description": "MIME type of the file.",
      "maxLength": 255,
      "minLength": 1,
      "title": "Mime Type",
      "type": "string"
    },
    "size_bytes": {
      "description": "Size of the file in bytes.",
      "minimum": 0,
      "title": "Size Bytes",
      "type": "integer"
    },
    "type": {
      "const": "file",
      "description": "Object type.\n\nFor files, this is always `\"file\"`.",
      "title": "Type",
      "type": "string"
    }
  },
  "required": [
    "created_at",
    "filename",
    "id",
    "mime_type",
    "size_bytes",
    "type"
  ],
  "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/anthropic-file-metadata-schema"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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