Moonshot AI · Schema
FileObject
Artificial IntelligenceLLMInferenceLong ContextKimiFoundation Models
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique file identifier |
| object | string | Object type |
| bytes | integer | File size in bytes |
| created_at | integer | Unix timestamp when the file was created |
| filename | string | Original file name |
| purpose | string | Purpose used when uploading the file. file-extract: extract file contents; image: upload images for vision understanding; video: upload videos for video understanding; batch: upload JSONL files for ba |
| status | string | Processing status of the file |
| status_details | string | Additional status details when processing fails or returns warnings |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/moonshot-ai/main/json-schema/moonshot-ai-file-object-schema.json",
"title": "FileObject",
"x-generated": "2026-10-13",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/moonshot-ai-files-api-openapi.yml#/components/schemas/FileObject",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique file identifier"
},
"object": {
"type": "string",
"description": "Object type"
},
"bytes": {
"type": "integer",
"description": "File size in bytes"
},
"created_at": {
"type": "integer",
"description": "Unix timestamp when the file was created"
},
"filename": {
"type": "string",
"description": "Original file name"
},
"purpose": {
"type": "string",
"description": "Purpose used when uploading the file. file-extract: extract file contents; image: upload images for vision understanding; video: upload videos for video understanding; batch: upload JSONL files for batch processing",
"enum": [
"file-extract",
"image",
"video",
"batch"
]
},
"status": {
"type": "string",
"description": "Processing status of the file"
},
"status_details": {
"type": "string",
"description": "Additional status details when processing fails or returns warnings"
}
},
"required": [
"id",
"object",
"bytes",
"created_at",
"filename",
"purpose",
"status"
]
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/moonshot-ai-file-object"
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.