Kimi (Moonshot AI) Files API
The Files API from Kimi (Moonshot AI) — 3 operation(s) for files.
Kimi (Moonshot AI) Files API is one of 13 APIs that Kimi (Moonshot AI) publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.
Tagged areas include Files. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an AsyncAPI specification.
This API exposes 5 operations across 3 paths, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.
Requests are made against a single base URL, https://api.moonshot.cn.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Kimi (Moonshot AI) Files API declares
1 security scheme
for authenticating requests.
It accepts HTTP bearer tokens (bearerAuth).
bearerAuth— Authorization 请求头需要一个 Bearer 令牌。使用 MOONSHOTAPIKEY 作为令牌。这是一个服务端密钥,请在 [API 密钥页面](https://platform.kimi.com/console/api-keys) 生成。
Paths & Operations 5
Across 3 paths, the API surfaces 5 operations — 1 DELETE, 3 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.
Schemas 4
The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are FileObject (8 properties), FileDeleteResponse (3 properties), FileListResponse (2 properties), ErrorResponse (1 property). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Kimi (Moonshot AI) 12
Other APIs Kimi (Moonshot AI) publishes across the network.