How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

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 File. 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.2.0, at version 1.0.0.

Requests are made against a single base URL, https://api.moonshot.cn.

5 operations 3 paths 4 schemas 1 DELETE3 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://api.moonshot.cn/v1/chat/completions
Authentication
HTTP Bearer
Resource Areas
1

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.

Files 5
POST
/v1/files
上传文件
postV1Files body → 200400401500
GET
/v1/files
文件列表
getV1Files → 200401500
GET
/v1/files/{file_id}
获取文件信息
getV1FilesByFileId 1 param → 200401404500
DELETE
/v1/files/{file_id}
删除文件
deleteV1FilesByFileId 1 param → 200401404500
GET
/v1/files/{file_id}/content
获取文件内容
getV1FilesByFileIdContent 1 param → 200401404500

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.

FileListResponse
object
2 properties 2 required
ErrorResponse
object
1 property 1 required
FileObject
object
8 properties 7 required
FileDeleteResponse
object
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kimi-moonshot-files-api-openapi.yml Raw ↑

Other APIs Kimi (Moonshot AI) publishes across the network.

Kimi Embeddings API
Kimi Files API
Kimi Fine-Tuning API
Kimi Models API
Kimi Tokenizer API
Kimi Assistant (kimi.com)
Moonshot Open-Weights Releases
Kimi (Moonshot AI) Batch API
Kimi (Moonshot AI) Billing API
Kimi (Moonshot AI) Chat API
Kimi (Moonshot AI) Models API
Kimi (Moonshot AI) Utilities API
Where this information came from

This is an independent, third-party profile of Kimi (Moonshot AI) Files API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.