Skip to main content
GET
List Agent Versions

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

Agent 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

Agent versions are ordered newest first.

One page of immutable Agent versions, newest first.

items
object[]
required

Versions returned for this request, newest first. Each item is the full Agent configuration captured by that immutable version. Its top-level version identifies the version.

Example:
next_page_token
string

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

Example:

"next-page-token"