Skip to main content
GET
List Session Resources

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.

Query Parameters

page_size
integer<int32>
default:50

How many items to return (1–1000; default 50).

Required range: 1 <= x <= 1000
page_token
string

Pass the next_page_token from a previous response to fetch the next page.

Response

Resources currently bound to the Session.

One page of resources bound to a Session.

items
(File · object | Vault · object | Memory Store · object | GitHub repository · object)[]
required

Resources in the current page.

An uploaded file available to a Session.

Example:
next_page_token
string

Pagination token for the next page. Absent when the listing is exhausted.

Example:

"next-page-token"