2026-12-02
Tool resultsagent.tool_resultno longer falls back to copyingcontentintostructured_content(breaking change):structured_contentnow 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 asread,read_file,write,write_file,edit,bash,shell,glob, andgrep, MCP tools, and failed calls without display blocks—this field returns an empty array[]. Clients that previously read onlystructured_contentmust fall back to readingcontentwhen they receive an empty array; historical events already written retain their originalstructured_content. See Event Stream.
- Default toolset and version pinning: Added the built-in toolset
agent_toolset_20261101, which includesread,write,edit,bash,glob,grep,web_search,web_fetch, andsave_artifact. WhenPOST /v1/agentsomitsagent_toolset(including omittingtools, passing an empty array, or declaring only custom / MCP tools), the platform prependsagent_toolset_20261101totools(counting toward the 128-item limit). Replacing an agent’stoolsor setting a session’sagent_overrides.toolswithout anagent_toolsetkeeps the currently effective or bound agent’sagent_toolset(or prependsagent_toolset_20261101if none exists); passingtools: []when updating a session still clears the override. Eachtoolslist allows at most one sandbox toolset; mixingagent_toolset_20260901andagent_toolset_20261101returns 400invalid_parameter_error. Updating an older agent version that lacks anagent_toolsetwithout passingtoolsreturns 400failed_precondition_error; passtoolsto pin a toolset. Existing agent versions keep their original toolset unchanged. To disable all built-in tools, declare anagent_toolsetwithdefault_config: {enabled: false}. - Built-in toolset rename: Built-in sandbox toolsets have been renamed from
default_toolset_<date>toagent_toolset_<date>, namelyagent_toolset_20260901andagent_toolset_20261101.default_toolset_20260901in requests and existing configurations remains supported as a deprecated alias foragent_toolset_20260901; useagent_toolset_20260901oragent_toolset_20261101in new requests. See Tools.
- Self-hosted support for
agent_toolset_20261101: Self-hosted environments now support bothagent_toolset_20260901(including the deprecated aliasdefault_toolset_20260901) andagent_toolset_20261101.read,write,edit,bash,glob, andgrepexecute locally on the worker,web_searchandweb_fetchexecute on the platform, andsave_artifactremains 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_idon creation,param=agent_overrides.toolson override updates); validation is skipped when the entire sandbox toolset hasenabled: false. Updating an existing session returns 400failed_precondition_errorif a subagent’s toolset is incompatible. Agents themselves are not bound to an environment.
- Official image search skill: Added the official
search-imageskill, which searches public web images by keyword and downloads the original images to a local sandbox directory. It is designed for the default toolsetagent_toolset_20261101, which no longer includessearch_image_by_*tools. See Skills.
2026-10-14
Triggersreuse_sessionupdates: updating a Trigger that is and stays inreuse_sessionnow returns 400failed_precondition_errorwhen it changesagent_id,agent_version,environment_id, orresources. These changes were previously accepted but never reached the managed Session, which keeps the configuration it was created with. Switchsession_modetonew_sessionfirst, 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 amanualcontext attributed to the Trigger’s creator. Clients that branch oncontext.typemust acceptsystem.
- Delta previews opt-in: the Session and Thread event streams no longer include
agent.deltaevents by default. Set the newinclude_deltas=truequery 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.interruptto stop Session execution, or WorkItem stop to request worker shutdown. - Stop completion: WorkItem stop without
final_statusentersstopping; the worker cancels tools, finishes result writes, then submitsfinal_status: completed. A still-busy Session is canceled. An idle worker can submitcompleteddirectly to release without cancellation; active execution or new input returns 409failed_precondition_error. Session work tokens may stop their own WorkItem. REST does not acceptforceorreason.
- Tool replies:
always_asktools emitagent.tool_useand wait foruser.tool_confirmation. Tools declared withtype: customemitagent.custom_tool_use; the client executes them and submitsuser.custom_tool_result. Both replies referencedata.event_id, omitsession_thread_id, and use the first valid reply for each call. - Waiting Threads:
requires_actionandstop_reason.event_idsidentify 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-levelsession_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, setload_mode: eagerto send schemas with every request; models without on-demand support still use eager loading. - In
agent_toolset_20260901,search_image_by_textandsearch_image_by_imageadopt the same default. Other built-in tools remaineager.
2026-09-24
projectPlugin references acceptversion: "latest", resolving to the adopted version on each wake. Omitting the version still pins the latest published version at write time.officialreferences must omit the version; any explicit value returns 400invalid_parameter_error.
2026-09-23
- Prompt validation: Session creation and update reject invalid
agent_overrides.systemtemplates with 400invalid_parameter_error. - Execution events: New
agent.model_startedandagent.tool_startedevents mark the start of model requests and tool execution. Streaming calls emitagent.thinking_startedandagent.message_startedat the first respective chunks; non-streaming calls omit them. Measure TTFT fromagent.model_startedto the firstagent.delta. - Configuration notifications: Concurrent updates emit
session.updatedin commit order; the event does not identify when running execution adopts the new configuration.
2026-09-21
Project Plugins- Project Plugins:
POST /v1/pluginsandPOST /v1/plugins/{id}/versionspublish.zipbundles up to 64 MiB, returning 201 with the Plugin, version, and validation report. Both acceptIdempotency-Key.POST /v1/plugins/validatechecks without publishing; an unpublishable bundle returns a 200 report withok: false. - Plugin versions and archive:
GET /v1/plugins/{id}/versionslists newest semantic versions first;GET /v1/plugins/{id}/versions/{version}/contentdownloadsapplication/zip.POST /v1/plugins/{id}/archivereturns 204, removes the Plugin from reads, and releases its project name. Existing exact version references keep working. - Plugin selection:
GET /v1/pluginsacceptsscopeforofficialorproject; omission returns both, whileorganduserreturn 400invalid_parameter_error.Pluginaddsscope,status, andlatest_version;versionstill 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 asskills.officialentries omitversion;projectentries may pin a published version.
MCPOAuthCredentialandCreateVaultOAuthSessionacceptegress_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
categoriesfor display; uncategorized resources omit it. The declared vocabulary includesfinance. Categories do not change Agent configuration.GET /v1/pluginsandGET /v1/skillsacceptcategoryto filter the list.
2026-09-19
- Agent and Session
model.reasoning_effortacceptmax. 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_overridesaddstools,model, andsystemalongsidemcp_serversandskills.rostercan be overridden only on creation; including it inPATCHreturns 400invalid_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 oneskill_idreturns 400invalid_parameter_error. - Update events:
session.updatedis emitted only for actual changes and carries only changed fields: the effective Agent snapshot and override document, ortitle. Clearing all overrides emits an emptyagent_overridesobject. Clients can safely ignore an unrecognized event.
- Reused Sessions: scheduled and manual
reuse_sessionruns 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.pausedwebhooks. Usedata.idto retrieve the Trigger’spaused_reason. Ordinary skips and manual operations do not emit the webhook.
- Trigger errors:
TriggerRun.errorandPausedReason.erroruseTriggerError, whose display-onlytypeis an open string, includingfire_failed,session_failed, andoverlap_in_flight. This corrects the schema’s use ofErrorType; 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_errorwith a path such asbody.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 matchingupdated_at_*filters.gtandltexclude the boundary;gteandlteinclude it. - Contract declarations: OpenAPI moves from 3.1.0 to 3.2.0. Multipart file parts on
POST /v1/filesandPOST /v1/skillsuse the standard file-part declaration with untyped schemas and wildcard encoding. Event streams declare per-eventitemSchemawitheventanddata. Create operations share oneIdempotency-Keyparameter. Wire formats and request handling are unchanged.
2026-09-14
- Explicit
nullon an optional non-nullable request field now returns 400invalid_parameter_error, identifying a path such asbody.nameorbody.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 asbody.mcp_servers[2].nameandquery.page_size. Some violations were previously accepted or reported later with shorter paths and different messages. Check requests against the declared constraints; useerror.typeandparamrather than matching message text. - An undeclared
Content-Typenow returns 400invalid_request_error, even if the body can be parsed. Useapplication/jsonfor JSON operations andmultipart/form-datafor 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_epochrather than 400. The Session and active Threads stop asynchronously; neither the response noruser.interruptacknowledgment confirms completion. Check Get Session. The optional token isdata.expected_control_epoch; stale values return 409conflict_error. Repeated interrupt does not advance the epoch while the Session remains interrupted. - Continue:
POST /v1/sessions/{id}/continuereturnscontrol_epoch, leaves uninterrupted Sessions unchanged, and returns 409conflict_errorfor stopping or terminated Sessions. Acceptance does not mean startup is complete; checkcontinue_pendingat 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_errorwhile 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
interruptedandcontrol_epoch; Sessions addstopping,interrupted,control_epoch, andcontinue_pending; events may includeepochanduser.interruptacknowledgments. - 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 409conflict_error; omission targets the current generation. Child archive cancels active execution. Session deletion returns 409conflict_errorwhile lifecycle work or active Threads remain. - Trigger input:
initial_eventsand pending events accept queued user messages, excluding interrupt commands in this beta. Areuse_sessionTrigger resumes a stopped Session.
2026-09-07
- Field errors: JSON typing and validation failures use
invalid_parameter_errorwith the field path; union errors identify the union itself. Request-level failures useinvalid_request_errorwithoutparam. This corrects previously misclassified or incomplete field errors. Missinguser.message.dataand below-minimumactivity.min_changed_sessionsare now rejected. - Opaque IDs: resource IDs no longer declare
patternconstraints. Remove validation based on the old patterns; they did not cover all issued IDs. - MCP errors:
SessionErrorTypeaddsmcp_connection_failedandmcp_authentication_failedfor 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_nameidentifies the affected server and is absent on other types and older events. Use it instead of parsing the message. - Official Environments:
GET /v1/environmentsaddsofficial_only, defaulting to false.
2026-09-06
listTriggersacceptsagent_idto filter by owning Agent.
2026-09-05
listMemoryStoresandlistMemoriesnow return newest first instead of ascending creation order. Update clients that rely on the old order.GET /v1/agentsaddsofficial_only, defaulting to false.
2026-09-04
- Contract declarations only: operations declare the optional
kimi-api-versionheader; runtime still requires it outside/v1/files*and selects the compatibility format when omitted on file endpoints. Streams declare the existingCache-Control: no-cacheandX-Accel-Buffering: noheaders. The shared 429 response declares the existingRetry-Afterheader, sent only forrate_limit_reached_error. Request handling is unchanged.
2026-09-03
- Batch files: attaching a
batchfile to a Session returns 400failed_precondition_errorinstead of 404resource_not_found_error. Attachment remains unsupported. - MCP headers: Agent and Session
McpServerdeclarations accept write-onlyheadersfor 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_allroutes all egress hosts through the proxy and allows an emptyhostslist. Platform-internal endpoints bypass it. Underlimited, the host allow list does not apply; the proxy determines reachability.