Moonshot AI · Schema
BatchCreateRequest
Artificial IntelligenceLLMInferenceLong ContextKimiFoundation Models
Properties
| Name | Type | Description |
|---|---|---|
| input_file_id | string | ID of the input file, must be a .jsonl file uploaded with purpose="batch" |
| endpoint | string | Request endpoint, currently only /v1/chat/completions is supported |
| completion_window | string | Time window for task processing, supports formats like 12h, 1d, 3d, minimum 12h, maximum 7d |
| metadata | object | Custom metadata, up to 16 key-value pairs, key max 64 chars, value max 512 chars |
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-batch-create-request-schema.json",
"title": "BatchCreateRequest",
"x-generated": "2026-10-13",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/moonshot-ai-batch-api-openapi.yml#/components/schemas/BatchCreateRequest",
"type": "object",
"properties": {
"input_file_id": {
"type": "string",
"description": "ID of the input file, must be a .jsonl file uploaded with purpose=\"batch\""
},
"endpoint": {
"type": "string",
"description": "Request endpoint, currently only /v1/chat/completions is supported",
"enum": [
"/v1/chat/completions"
]
},
"completion_window": {
"type": "string",
"description": "Time window for task processing, supports formats like 12h, 1d, 3d, minimum 12h, maximum 7d"
},
"metadata": {
"type": "object",
"description": "Custom metadata, up to 16 key-value pairs, key max 64 chars, value max 512 chars",
"additionalProperties": {
"type": "string",
"maxLength": 512
}
}
},
"required": [
"input_file_id",
"endpoint",
"completion_window"
]
}
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-batch-create-request"
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.