Skip to main content
Breaking changes ship only under new dated versions. All entries below are non-breaking changes within the current version; clients must tolerate new endpoints, optional request fields, response fields and headers, and new response enum values.

2026-12-02

Tool results
  • agent.tool_result no longer falls back to copying content into structured_content (breaking change): structured_content now carries only user-facing display content provided by the tool (such as file or artifact cards, or structured display views). When a tool produces no separate display content—including plain-text tools such as read, read_file, write, write_file, edit, bash, shell, glob, and grep, MCP tools, and failed calls without display blocks—this field returns an empty array []. Clients that previously read only structured_content must fall back to reading content when they receive an empty array; historical events already written retain their original structured_content. See Event Stream.
Built-in toolsets
  • Default toolset and version pinning: Added the built-in toolset agent_toolset_20261101, which includes read, write, edit, bash, glob, grep, web_search, web_fetch, and save_artifact. When POST /v1/agents omits agent_toolset (including omitting tools, passing an empty array, or declaring only custom / MCP tools), the platform prepends agent_toolset_20261101 to tools (counting toward the 128-item limit). Replacing an agent’s tools or setting a session’s agent_overrides.tools without an agent_toolset keeps the currently effective or bound agent’s agent_toolset (or prepends agent_toolset_20261101 if none exists); passing tools: [] when updating a session still clears the override. Each tools list allows at most one sandbox toolset; mixing agent_toolset_20260901 and agent_toolset_20261101 returns 400 invalid_parameter_error. Updating an older agent version that lacks an agent_toolset without passing tools returns 400 failed_precondition_error; pass tools to pin a toolset. Existing agent versions keep their original toolset unchanged. To disable all built-in tools, declare an agent_toolset with default_config: {enabled: false}.
  • Built-in toolset rename: Built-in sandbox toolsets have been renamed from default_toolset_<date> to agent_toolset_<date>, namely agent_toolset_20260901 and agent_toolset_20261101. default_toolset_20260901 in requests and existing configurations remains supported as a deprecated alias for agent_toolset_20260901; use agent_toolset_20260901 or agent_toolset_20261101 in new requests. See Tools.
Self-hosted environments
  • Self-hosted support for agent_toolset_20261101: Self-hosted environments now support both agent_toolset_20260901 (including the deprecated alias default_toolset_20260901) and agent_toolset_20261101. read, write, edit, bash, glob, and grep execute locally on the worker, web_search and web_fetch execute on the platform, and save_artifact remains disabled in self-hosted environments. See Self-Hosted Environments.
  • Self-hosted toolset compatibility checks: When creating a session or updating session overrides, if the effective sandbox toolset of the coordinator or a subagent is not supported by the self-hosted environment (including restoring an incompatible inherited value by clearing an override), the request is rejected before writing with 400 invalid_parameter_error (param=environment_id on creation, param=agent_overrides.tools on override updates); validation is skipped when the entire sandbox toolset has enabled: false. Updating an existing session returns 400 failed_precondition_error if a subagent’s toolset is incompatible. Agents themselves are not bound to an environment.
Official skills
  • Official image search skill: Added the official search-image skill, which searches public web images by keyword and downloads the original images to a local sandbox directory. It is designed for the default toolset agent_toolset_20261101, which no longer includes search_image_by_* tools. See Skills.

2026-10-14

Triggers
  • reuse_session updates: updating a Trigger that is and stays in reuse_session now returns 400 failed_precondition_error when it changes agent_id, agent_version, environment_id, or resources. These changes were previously accepted but never reached the managed Session, which keeps the configuration it was created with. Switch session_mode to new_session first, or create a new Trigger.
  • Platform-started runs: runs started by the platform for a managed Trigger, such as a Dreams policy’s activity check, now record context.type: "system" instead of a manual context attributed to the Trigger’s creator. Clients that branch on context.type must accept system.
Session event streams
  • Delta previews opt-in: the Session and Thread event streams no longer include agent.delta events by default. Set the new include_deltas=true query parameter to keep receiving incremental previews; consumers of complete events only no longer receive delta traffic.

2026-10-10

Self-hosted worker shutdown
  • Worker shutdown: an interrupted Session can release its WorkItem after cancellation finishes even if input remains queued. Explicit Continue queues work again when the lease was released. Use user.interrupt to stop Session execution, or WorkItem stop to request worker shutdown.
  • Stop completion: WorkItem stop without final_status enters stopping; the worker cancels tools, finishes result writes, then submits final_status: completed. A still-busy Session is canceled. An idle worker can submit completed directly to release without cancellation; active execution or new input returns 409 failed_precondition_error. Session work tokens may stop their own WorkItem. REST does not accept force or reason.
Tool confirmation and Custom Tools
  • Tool replies: always_ask tools emit agent.tool_use and wait for user.tool_confirmation. Tools declared with type: custom emit agent.custom_tool_use; the client executes them and submits user.custom_tool_result. Both replies reference data.event_id, omit session_thread_id, and use the first valid reply for each call.
  • Waiting Threads: requires_action and stop_reason.event_ids identify pending confirmations and Custom Tool results. Each Thread resumes when all its pending replies arrive; the Session list aggregates waiting Threads. Child status, requests, and replies appear in the Session stream with top-level session_thread_id.

2026-10-09

  • MCP tools now load on demand when neither the toolset nor the tool sets load_mode. The model receives names first and loads schemas as needed. To keep the previous loading behavior, set load_mode: eager to send schemas with every request; models without on-demand support still use eager loading.
  • In agent_toolset_20260901, search_image_by_text and search_image_by_image adopt the same default. Other built-in tools remain eager.

2026-09-24

  • project Plugin references accept version: "latest", resolving to the adopted version on each wake. Omitting the version still pins the latest published version at write time. official references must omit the version; any explicit value returns 400 invalid_parameter_error.

2026-09-23

  • Prompt validation: Session creation and update reject invalid agent_overrides.system templates with 400 invalid_parameter_error.
  • Execution events: New agent.model_started and agent.tool_started events mark the start of model requests and tool execution. Streaming calls emit agent.thinking_started and agent.message_started at the first respective chunks; non-streaming calls omit them. Measure TTFT from agent.model_started to the first agent.delta.
  • Configuration notifications: Concurrent updates emit session.updated in commit order; the event does not identify when running execution adopts the new configuration.

2026-09-21

Project Plugins
  • Project Plugins: POST /v1/plugins and POST /v1/plugins/{id}/versions publish .zip bundles up to 64 MiB, returning 201 with the Plugin, version, and validation report. Both accept Idempotency-Key. POST /v1/plugins/validate checks without publishing; an unpublishable bundle returns a 200 report with ok: false.
  • Plugin versions and archive: GET /v1/plugins/{id}/versions lists newest semantic versions first; GET /v1/plugins/{id}/versions/{version}/content downloads application/zip. POST /v1/plugins/{id}/archive returns 204, removes the Plugin from reads, and releases its project name. Existing exact version references keep working.
  • Plugin selection: GET /v1/plugins accepts scope for official or project; omission returns both, while org and user return 400 invalid_parameter_error. Plugin adds scope, status, and latest_version; version still identifies the version pinned at configuration write time.
  • Session Plugins: create and update accept agent_overrides.plugins, replacing the frozen Agent’s set with the same three-state semantics as skills. official entries omit version; project entries may pin a published version.
OAuth routing
  • MCPOAuthCredential and CreateVaultOAuthSession accept egress_environment_id. Discovery, dynamic client registration, token exchange, and background refresh use that Environment’s proxy. An empty string clears the binding. Omission leaves a new credential unbound and preserves an existing binding on update.

2026-09-20

  • Plugin and Skill responses add optional categories for display; uncategorized resources omit it. The declared vocabulary includes finance. Categories do not change Agent configuration. GET /v1/plugins and GET /v1/skills accept category to filter the list.

2026-09-19

  • Agent and Session model.reasoning_effort accept max. This remains a hint that the selected model may ignore.

2026-09-17

Session input and configuration
  • Input capacity: 50 pending Session inputs cause new input to return 400 failed_precondition_error. Consumption or retraction frees capacity; Interrupt and Continue remain available.
  • Session overrides: agent_overrides adds tools, model, and system alongside mcp_servers and skills. roster can be overridden only on creation; including it in PATCH returns 400 invalid_parameter_error.
  • Skill versions: omission freezes the current version at write time; "latest" resolves on every wake; an exact version is validated and pinned. Mixing "latest" and an exact version for one skill_id returns 400 invalid_parameter_error.
  • Update events: session.updated is emitted only for actual changes and carries only changed fields: the effective Agent snapshot and override document, or title. Clearing all overrides emits an empty agent_overrides object. Clients can safely ignore an unrecognized event.
Trigger delivery and pauses
  • Reused Sessions: scheduled and manual reuse_session runs skip idle Sessions last stopped by an execution error (session_failed) and full queues (session_queue_full). Three consecutive such skips for the same Session pause the Trigger; other outcomes reset the count. Existing messages and Session retries are unaffected.
  • Trigger pauses: scheduled runs that automatically pause an active Trigger send trigger.paused webhooks. Use data.id to retrieve the Trigger’s paused_reason. Ordinary skips and manual operations do not emit the webhook.
Contract corrections and clarifications
  • Trigger errors: TriggerRun.error and PausedReason.error use TriggerError, whose display-only type is an open string, including fire_failed, session_failed, and overlap_in_flight. This corrects the schema’s use of ErrorType; the wire payload is unchanged.
  • Existing behavior clarified: interrupt retains pending input; Trigger updates revalidate unchanged initial_events; Sessions without a multiagent roster omit orchestration tools; duplicate built-in toolsets use the first declaration without merging. Requests and responses are unchanged.

2026-09-15

  • Unknown JSON fields: undeclared members now return 400 invalid_parameter_error with a path such as body.unknown_key; they were previously ignored. Remove extra members from requests.
  • Time filters: Agent and Session lists accept created_at_gt, created_at_gte, created_at_lt, created_at_lte, and matching updated_at_* filters. gt and lt exclude the boundary; gte and lte include it.
  • Contract declarations: OpenAPI moves from 3.1.0 to 3.2.0. Multipart file parts on POST /v1/files and POST /v1/skills use the standard file-part declaration with untyped schemas and wildcard encoding. Event streams declare per-event itemSchema with event and data. Create operations share one Idempotency-Key parameter. Wire formats and request handling are unchanged.

2026-09-14

  • Explicit null on an optional non-nullable request field now returns 400 invalid_parameter_error, identifying a path such as body.name or body.description. It was previously treated as omission. Omit fields to leave them unchanged; use a field’s documented empty value to clear it.

2026-09-13

  • Request validation now enforces declared types, required fields, ranges, patterns, enums, and composition rules for query, path, header, and JSON inputs. Violations return 400 invalid_parameter_error. Validation paths include location prefixes and array indices, such as body.mcp_servers[2].name and query.page_size. Some violations were previously accepted or reported later with shorter paths and different messages. Check requests against the declared constraints; use error.type and param rather than matching message text.
  • An undeclared Content-Type now returns 400 invalid_request_error, even if the body can be parsed. Use application/json for JSON operations and multipart/form-data for uploads.

2026-09-10

The durable-interrupt behavior announced on 2026-09-09 is now effective.
  • Interrupt: idle Sessions now accept interrupt and return 202 with control_epoch rather than 400. The Session and active Threads stop asynchronously; neither the response nor user.interrupt acknowledgment confirms completion. Check Get Session. The optional token is data.expected_control_epoch; stale values return 409 conflict_error. Repeated interrupt does not advance the epoch while the Session remains interrupted.
  • Continue: POST /v1/sessions/{id}/continue returns control_epoch, leaves uninterrupted Sessions unchanged, and returns 409 conflict_error for stopping or terminated Sessions. Acceptance does not mean startup is complete; check continue_pending at the returned epoch.
  • Queued input: new input after stop resumes execution once stopping finishes. Retained input alone does not resume the Session; resumption preserves queue order.
  • Archive: running child Threads can be archived and canceled, including during Session stop. Repeated child archive returns 204 while the parent Session is not terminated. Session archive returns 409 conflict_error while stopping and still returns 400 while running.

2026-09-09

The durable-interrupt contract was announced on this date. Execution changes took effect on 2026-09-10; see that entry for stop completion and recovery behavior.
  • Control state: Threads add interrupted and control_epoch; Sessions add stopping, interrupted, control_epoch, and continue_pending; events may include epoch and user.interrupt acknowledgments.
  • Lifecycle operations: the contract adds bodyless POST /v1/sessions/{id}/continue, interrupt for idle Sessions, and resumption by new input after stop. An optional expected epoch rejects stale requests with 409 conflict_error; omission targets the current generation. Child archive cancels active execution. Session deletion returns 409 conflict_error while lifecycle work or active Threads remain.
  • Trigger input: initial_events and pending events accept queued user messages, excluding interrupt commands in this beta. A reuse_session Trigger resumes a stopped Session.

2026-09-07

  • Field errors: JSON typing and validation failures use invalid_parameter_error with the field path; union errors identify the union itself. Request-level failures use invalid_request_error without param. This corrects previously misclassified or incomplete field errors. Missing user.message.data and below-minimum activity.min_changed_sessions are now rejected.
  • Opaque IDs: resource IDs no longer declare pattern constraints. Remove validation based on the old patterns; they did not cover all issued IDs.
  • MCP errors: SessionErrorType adds mcp_connection_failed and mcp_authentication_failed for initial connection or mid-turn failures. Authentication failures are reported if a request still fails after one automatic credential refresh and retry; other refresh failures are not Session errors. SessionErrorPayload.mcp_server_name identifies the affected server and is absent on other types and older events. Use it instead of parsing the message.
  • Official Environments: GET /v1/environments adds official_only, defaulting to false.

2026-09-06

  • listTriggers accepts agent_id to filter by owning Agent.

2026-09-05

  • listMemoryStores and listMemories now return newest first instead of ascending creation order. Update clients that rely on the old order.
  • GET /v1/agents adds official_only, defaulting to false.

2026-09-04

  • Contract declarations only: operations declare the optional kimi-api-version header; runtime still requires it outside /v1/files* and selects the compatibility format when omitted on file endpoints. Streams declare the existing Cache-Control: no-cache and X-Accel-Buffering: no headers. The shared 429 response declares the existing Retry-After header, sent only for rate_limit_reached_error. Request handling is unchanged.

2026-09-03

  • Batch files: attaching a batch file to a Session returns 400 failed_precondition_error instead of 404 resource_not_found_error. Attachment remains unsupported.
  • MCP headers: Agent and Session McpServer declarations accept write-only headers for non-sensitive connection headers. On update, omitted or empty headers preserve values for an unchanged server identity (name, type, and URL); non-empty headers replace them, and empty-string values delete keys. Names differing only in case are rejected.
  • Environment proxy: EnvironmentProxy.route_all routes all egress hosts through the proxy and allows an empty hosts list. Platform-internal endpoints bypass it. Under limited, the host allow list does not apply; the proxy determines reachability.