Skip to main content
GET
Get an Agent

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.

Response

The Agent and its latest immutable version.

The current immutable configuration of an Agent.

id
string
required

Agent ID.

Example:

"agent_01h455vb4pex5vsknk084sn02q"

name
string
required

Display name of the Agent.

Example:

"Example Agent"

model
required

Model used by the Agent.

Example:
version
string
required

Current immutable version of the agent.

Example:

"1"

created_at
string<date-time>
required

Creation timestamp.

Example:

"2026-01-01T00:00:00Z"

updated_at
string<date-time>
required

Time when the Agent was last updated.

Example:

"2026-01-01T00:00:00Z"

scope
enum<string>
required

Visibility scope.

Available options:
official,
org,
project,
user
Example:

"project"

description
string

Description of the Agent.

Example:

"An Agent for data analysis tasks."

system
string

System prompt that guides the Agent.

Example:

"You are a helpful coding assistant."

tools
(Agent toolset · object | Custom tool · object | MCP toolset · object)[]

Tools the Agent can use.

Declaration of a built-in toolset for an Agent. If the same name appears more than once, only the first declaration is used, including its default_config and configs; later declarations are not merged.

Example:
mcp_servers
object[]

MCP servers the Agent can use.

Example:
skills
object[]

Skill versions available to the Agent. Empty versions are frozen at write time; "latest" is kept as-is and re-resolved on every wake.

Example:
plugins
object[]

Plugins available to the Agent, fixed when this version was created.

Example:
metadata
object

Caller-defined metadata with up to 16 entries.

Example:
archived_at
string<date-time>

Time when the Agent was archived. Absent while active.

Example:

"2026-01-03T00:00:00Z"

multiagent
object

Resolved child-agent configuration. Absent for a single agent.

Example: