Skip to main content
GET
Get a Session resource

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.

resource_id
string
required

Session resource binding ID.

Response

The resource binding.

An uploaded file available to a Session.

type
enum<string>
required
Available options:
file
file_id
string
required

Identifier of the uploaded file.

id
string

Session resource ID assigned at binding.

mime_type
string

MIME type of the uploaded file.

title
string

Display title of the uploaded file.

path
string

Path where the file is linked inside the Session workspace, under upload/.