Skip to main content
POST
Continue a Session

Headers

kimi-api-version
enum<string>

API version for this request, in YYYY-MM-DD form. Send 2026-09-01-beta for the version documented here. Required outside /v1/files*: a missing header there is rejected with 400 invalid_request_error; on /v1/files* its absence selects the compatibility behavior. An unknown value is rejected with 400 invalid_request_error on every endpoint. API versions served by the platform. New dated versions are added as they ship; a version is removed after its announced Sunset date.

Available options:
2026-09-01-beta

Path Parameters

id
string
required

Session ID.

Response

The Session's control generation after the request.

Accepted Session lifecycle operation. Poll the Session to observe completion.

control_epoch
string
required

Control generation after the operation.

Maximum string length: 19
Pattern: ^(0|[1-9][0-9]{0,18})$
Example:

"1"