diff --git a/README.en.md b/README.en.md
index e168563a..c6e3cc67 100644
--- a/README.en.md
+++ b/README.en.md
@@ -104,16 +104,13 @@ Agent Kernel centralizes trusted control, Harness owns composition and lifecycle
## Docs And Examples
-- Documentation:
-- Quick Start:
-- Why KsADK:
-- Architecture:
-- Ecosystem Positioning:
-- Observability:
-- Cloud Deployment:
-- Hosted UI and Event Replay:
-- Environment Variables:
-- Samples:
+[Documentation home](https://kingsoftcloud.github.io/ksadk-python/) — browse the full guides and references.
+
+- **Getting started**: [Quick start](https://kingsoftcloud.github.io/ksadk-python/en/docs/framework/getting-started/quickstart/) · [Why KsADK](https://kingsoftcloud.github.io/ksadk-python/en/docs/framework/getting-started/why-ksadk/) · [Architecture](https://kingsoftcloud.github.io/ksadk-python/en/docs/framework/getting-started/architecture/) · [Ecosystem positioning](https://kingsoftcloud.github.io/ksadk-python/en/docs/framework/getting-started/comparison/)
+- **Core capabilities**: [Tool tunnel](https://kingsoftcloud.github.io/ksadk-python/en/docs/framework/guides/tool-tunnel/) · [OAuth / API key MCP](https://kingsoftcloud.github.io/ksadk-python/en/docs/framework/guides/mcp-oauth/) · [AG-UI / A2UI](https://kingsoftcloud.github.io/ksadk-python/en/docs/framework/guides/agui-a2ui/) · [A2A](https://kingsoftcloud.github.io/ksadk-python/en/docs/framework/guides/a2a-runtime/) · [Channel Connector](https://kingsoftcloud.github.io/ksadk-python/en/docs/framework/guides/channel-connector/)
+- **Deployment and operations**: [Cloud deployment](https://kingsoftcloud.github.io/ksadk-python/en/docs/framework/guides/cloud-deployment/) · [Observability](https://kingsoftcloud.github.io/ksadk-python/en/docs/framework/guides/observability-tracing/) · [Hosted UI and event replay](https://kingsoftcloud.github.io/ksadk-python/en/docs/framework/guides/hosted-ui-events/) · [Environment variables](https://kingsoftcloud.github.io/ksadk-python/en/docs/references/environment-variables/) · [0.8.8 upgrade guide](https://kingsoftcloud.github.io/ksadk-python/en/docs/framework/guides/upgrade-0-8-8/)
+- **API reference**: [Agent Web API](https://kingsoftcloud.github.io/ksadk-python/en/docs/references/agent-web-api/)
+- **Examples**: [Sample repository](https://github.com/kingsoftcloud/ksadk-samples)
## Related Projects
diff --git a/README.md b/README.md
index 4155a2e1..5f62c0f6 100644
--- a/README.md
+++ b/README.md
@@ -104,16 +104,13 @@ Agent Kernel 收口可信控制,Harness 管理装配与生命周期,可插
## 文档与样例
-- 文档:
-- 快速开始:
-- 为什么需要 KsADK:
-- 架构:
-- 生态定位对比:
-- 可观测:
-- 云端部署:
-- Hosted UI 与事件回放:
-- 环境变量:
-- 样例仓库:
+[文档首页](https://kingsoftcloud.github.io/ksadk-python/):完整使用手册与参考文档。
+
+- **入门**:[快速开始](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/getting-started/quickstart/) · [为什么需要 KsADK](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/getting-started/why-ksadk/) · [架构](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/getting-started/architecture/) · [生态定位对比](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/getting-started/comparison/)
+- **核心能力**:[Tunnel 工具隧道](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/guides/tool-tunnel/) · [OAuth / API Key MCP](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/guides/mcp-oauth/) · [AG-UI / A2UI](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/guides/agui-a2ui/) · [A2A](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/guides/a2a-runtime/) · [Channel Connector](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/guides/channel-connector/)
+- **部署与运维**:[云端部署](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/guides/cloud-deployment/) · [可观测](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/guides/observability-tracing/) · [Hosted UI 与事件回放](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/guides/hosted-ui-events/) · [环境变量](https://kingsoftcloud.github.io/ksadk-python/cn/docs/references/environment-variables/) · [0.8.8 升级指南](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/guides/upgrade-0-8-8/)
+- **接口参考**:[Agent Web API](https://kingsoftcloud.github.io/ksadk-python/cn/docs/references/agent-web-api/)
+- **样例**:[样例仓库](https://github.com/kingsoftcloud/ksadk-samples)
## 相关项目
diff --git a/README.zh-CN.md b/README.zh-CN.md
index cc26cb1a..5379abf6 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -101,16 +101,13 @@ Agent Kernel 收口可信控制,Harness 管理装配与生命周期,可插
## 文档与样例
-- 文档:
-- 快速开始:
-- 为什么需要 KsADK:
-- 架构:
-- 生态定位对比:
-- 可观测:
-- 云端部署:
-- Hosted UI 与事件回放:
-- 环境变量:
-- 样例仓库:
+[文档首页](https://kingsoftcloud.github.io/ksadk-python/):完整使用手册与参考文档。
+
+- **入门**:[快速开始](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/getting-started/quickstart/) · [为什么需要 KsADK](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/getting-started/why-ksadk/) · [架构](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/getting-started/architecture/) · [生态定位对比](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/getting-started/comparison/)
+- **核心能力**:[Tunnel 工具隧道](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/guides/tool-tunnel/) · [OAuth / API Key MCP](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/guides/mcp-oauth/) · [AG-UI / A2UI](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/guides/agui-a2ui/) · [A2A](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/guides/a2a-runtime/) · [Channel Connector](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/guides/channel-connector/)
+- **部署与运维**:[云端部署](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/guides/cloud-deployment/) · [可观测](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/guides/observability-tracing/) · [Hosted UI 与事件回放](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/guides/hosted-ui-events/) · [环境变量](https://kingsoftcloud.github.io/ksadk-python/cn/docs/references/environment-variables/) · [0.8.8 升级指南](https://kingsoftcloud.github.io/ksadk-python/cn/docs/framework/guides/upgrade-0-8-8/)
+- **接口参考**:[Agent Web API](https://kingsoftcloud.github.io/ksadk-python/cn/docs/references/agent-web-api/)
+- **样例**:[样例仓库](https://github.com/kingsoftcloud/ksadk-samples)
## 相关项目
diff --git a/docs-site/content/docs/framework/index.en.mdx b/docs-site/content/docs/framework/index.en.mdx
index 62b820f6..3ba36b6e 100644
--- a/docs-site/content/docs/framework/index.en.mdx
+++ b/docs-site/content/docs/framework/index.en.mdx
@@ -42,11 +42,20 @@ pip install -U "ksadk[all]"
## Events, interoperability, and delivery
+
+
+
+## Upgrade and migration
+
+
+
+
+
## Find the exact contract
diff --git a/docs-site/content/docs/framework/index.mdx b/docs-site/content/docs/framework/index.mdx
index 21f14791..072ba008 100644
--- a/docs-site/content/docs/framework/index.mdx
+++ b/docs-site/content/docs/framework/index.mdx
@@ -41,11 +41,20 @@ pip install -U "ksadk[all]"
## 事件、互操作与交付
+
+
+
+## 升级与迁移
+
+
+
+
+
## 查找精确契约
diff --git a/docs-site/content/docs/framework/meta.en.json b/docs-site/content/docs/framework/meta.en.json
index 2ba86381..a8760b27 100644
--- a/docs-site/content/docs/framework/meta.en.json
+++ b/docs-site/content/docs/framework/meta.en.json
@@ -28,7 +28,11 @@
"guides/attachments-multimodal",
"guides/workspace-files",
"---[Network]Events and Interoperability---",
+ "guides/agui-a2ui",
+ "guides/mcp-oauth",
+ "guides/tool-tunnel",
"guides/hosted-ui-events",
+ "guides/channel-connector",
"guides/a2a-runtime",
"---[Cloud]Build and Deploy---",
"guides/managed-runtime",
@@ -37,6 +41,10 @@
"guides/runtime-products",
"---[Wrench]Operations and Maintenance---",
"guides/observability-tracing",
- "guides/web-ui-source"
+ "guides/web-ui-source",
+ "guides/integration-0-8-7",
+ "guides/upgrade-0-8-8",
+ "guides/upgrade-0-8-7",
+ "guides/upgrade-0-8-6"
]
}
diff --git a/docs-site/content/docs/framework/meta.json b/docs-site/content/docs/framework/meta.json
index 611dc352..9653459b 100644
--- a/docs-site/content/docs/framework/meta.json
+++ b/docs-site/content/docs/framework/meta.json
@@ -28,7 +28,11 @@
"guides/attachments-multimodal",
"guides/workspace-files",
"---[Network]统一事件与互操作---",
+ "guides/agui-a2ui",
+ "guides/mcp-oauth",
+ "guides/tool-tunnel",
"guides/hosted-ui-events",
+ "guides/channel-connector",
"guides/a2a-runtime",
"---[Cloud]构建与部署---",
"guides/managed-runtime",
@@ -37,6 +41,10 @@
"guides/runtime-products",
"---[Wrench]运维与维护---",
"guides/observability-tracing",
- "guides/web-ui-source"
+ "guides/web-ui-source",
+ "guides/integration-0-8-7",
+ "guides/upgrade-0-8-8",
+ "guides/upgrade-0-8-7",
+ "guides/upgrade-0-8-6"
]
}
diff --git a/docs-site/content/docs/references/agent-web-api.en.mdx b/docs-site/content/docs/references/agent-web-api.en.mdx
new file mode 100644
index 00000000..ca0cc584
--- /dev/null
+++ b/docs-site/content/docs/references/agent-web-api.en.mdx
@@ -0,0 +1,885 @@
+---
+title: "Agent Web API"
+description: "Sessions, runs, history, interactions, files, feedback, and MCP OAuth for Agent chat interfaces"
+---
+
+## Overview
+
+Use this reference to build an Agent chat interface: initialize capabilities, manage sessions, read history, run conversations, resume execution, handle interactions, access files, submit feedback, and complete MCP OAuth authorization. Optional file-preview and native-terminal endpoints are documented separately.
+
+Paths are relative to the Agent access URL supplied by the service. Read the capabilities first and use only features declared by the current deployment.
+
+## Requests and authentication
+
+| Item | Convention |
+| --- | --- |
+| Base URL | Use the access URL provided by the Agent service |
+| Authentication | Automation clients supply Authorization: Bearer API_KEY as required by the service; browser clients may use an established access session |
+| JSON | Content-Type: application/json |
+| Streaming | Accept: text/event-stream and Stream=true where required |
+| Upload | multipart/form-data; the HTTP client generates the boundary |
+| Field names | JSON and query parameter names are case-sensitive |
+
+AgentId, UserId, and SessionId locate resources but do not grant authorization. Request, session, invocation, run, checkpoint, and model-response IDs have distinct meanings and are not interchangeable.
+
+## Responses and errors
+
+Ordinary JSON Actions use this success envelope:
+
+```json
+{"Code":0,"Message":"Success","RequestId":"req-example","Action":"CreateSession","Data":{"Session":{"SessionId":"session-example","AgentId":"agent-example","UserId":"user-example"}}}
+```
+
+Data depends on the operation. MCP OAuth success responses do not guarantee RequestId or Action. Downloads return raw bytes; SSE is an incremental event stream rather than one JSON response.
+
+| Result | Client handling |
+| --- | --- |
+| HTTP 400 / 422 | Check fields, types, bounds, and field combinations |
+| HTTP 401 / 403 | Re-establish a valid access session or correct permissions; do not blindly replay operations |
+| HTTP 404 | Check identifiers, ownership, and whether the feature is enabled |
+| HTTP 409 | Refresh revision or history state; changing an idempotency key is not a safe automatic retry |
+| HTTP 429 | Handle rate or queue limits using the service retry guidance |
+| HTTP 503 / 504 | Retry eligible reads; establish the outcome of a write before repeating it |
+| HTTP 200 with Code other than 0 | Treat as a business failure and inspect Message, ReasonCode, or detail |
+
+Errors may use Message, ReasonCode, detail, or error. An expired browser access session can also produce an HTML 401/403 response; do not treat it as normal API JSON.
+
+## Endpoint directory
+
+| Method and path | Purpose |
+| --- | --- |
+| `POST /agentengine/api/v1/GetAgentUiBootstrap` | Get UI capabilities |
+| `POST /agentengine/api/v1/ListAgentModels` | List models |
+| `POST /agentengine/api/v1/CreateSession` | Create a session |
+| `POST /agentengine/api/v1/ListSessions` | List sessions |
+| `POST /agentengine/api/v1/GetSession` | Get a session |
+| `POST /agentengine/api/v1/DeleteSession` | Delete a session |
+| `POST /agentengine/api/v1/ListSessionMessages` | Read chat history |
+| `POST /agentengine/api/v1/ListSessionEvents` | Read session events |
+| `POST /agentengine/api/v1/RunAgent` | Run an Agent |
+| `GET /agentengine/api/v1/SubscribeRunEvents` | Subscribe to run events |
+| `POST /agentengine/api/v1/CancelRun` | Cancel a run |
+| `POST /agentengine/api/v1/ListSessionCheckpoints` | List checkpoints |
+| `POST /agentengine/api/v1/GetCheckpointResumePreview` | Preview checkpoint recovery |
+| `POST /agentengine/api/v1/ResumeRun` | Resume a run |
+| `POST /agentengine/api/v1/ListToolReceipts` | List tool receipts |
+| `POST /agentengine/api/v1/SubmitInteraction` | Submit an interaction |
+| `POST /agentengine/api/v1/UploadFile` | Upload an attachment |
+| `GET /agentengine/api/v1/AttachmentContent` | Download an attachment |
+| `POST /agentengine/api/v1/ListWorkspaceFiles` | List workspace files |
+| `POST /agentengine/api/v1/AddWorkspaceFile` | Upload a workspace file |
+| `POST /agentengine/api/v1/DeleteWorkspaceFile` | Delete a workspace file |
+| `GET /agentengine/api/v1/GetWorkspaceFileContent` | Download a workspace file |
+| `GET /agentengine/api/v1/ExportWorkspaceZip` | Export a workspace directory |
+| `POST /agentengine/api/v1/GetResponseFeedback` | Get response feedback |
+| `POST /agentengine/api/v1/UpsertResponseFeedback` | Save response feedback |
+| `POST /agentengine/api/v1/DeleteResponseFeedback` | Delete response feedback |
+| `POST /agentengine/api/v1/GetMcpAuthorizationWait` | Get authorization state |
+| `POST /agentengine/api/v1/OpenMcpAuthorization` | Open authorization |
+| `POST /agentengine/api/v1/RetryMcpAuthorization` | Retry authorization |
+| `POST /agentengine/api/v1/RetryMcpConnection` | Retry MCP connection |
+| `POST /agentengine/api/v1/CancelMcpAuthorizationWait` | Cancel authorization wait |
+| `POST /agentengine/agui` | AG-UI conversation |
+
+Identifiers in the examples are placeholders; replace them with values returned by your service.
+
+## Initialization
+
+### Get UI capabilities
+
+`POST /agentengine/api/v1/GetAgentUiBootstrap`
+
+Initialize the client with Agent identity, available chat transports, history, recovery, file, OAuth, and terminal capabilities.
+
+| Parameter | Location | Type | Required | Default | Description |
+| --- | --- | --- | --- | --- | --- |
+| `AgentId` | body | `string / null` | No | `null` | Target Agent identifier. |
+| `SessionId` | body | `string / null` | No | `null` | Session identifier. |
+
+Example request:
+
+```json
+{"AgentId":"agent-example"}
+```
+
+**Response:** Data.Agent contains Agent metadata; Capabilities contains feature declarations; HostedChat contains available transports; ApiFormats lists output formats; WorkspaceFiles describes file capabilities; SessionBackend describes session storage.
+
+Use Capabilities to decide which controls to display. Obtain the AG-UI Endpoint from HostedChat.Transports.
+
+### List models
+
+`POST /agentengine/api/v1/ListAgentModels`
+
+Read the available model catalog and current selection.
+
+| Parameter | Location | Type | Required | Default | Description |
+| --- | --- | --- | --- | --- | --- |
+| `AgentId` | body | `string / null` | No | `null` | Target Agent identifier. |
+| `Name` | body | `string / null` | No | `null` | Compatibility field; the current model catalog is determined by the Agent runtime configuration. |
+
+Example request:
+
+```json
+{"AgentId":"agent-example"}
+```
+
+**Response:** Data.Models is the model array; Current is the current model; Source identifies the catalog origin.
+
+## Sessions and history
+
+### Create a session
+
+`POST /agentengine/api/v1/CreateSession`
+
+Create a session. An explicitly supplied existing SessionId is handled according to the service session policy.
+
+| Parameter | Location | Type | Required | Default | Description |
+| --- | --- | --- | --- | --- | --- |
+| `AgentId` | body | `string` | Yes | `—` | Target Agent identifier. |
+| `UserId` | body | `string / null` | No | `"user"` | Logical user identifier; authorization is still enforced by the authenticated identity. |
+| `SessionId` | body | `string / null` | No | `null` | Session identifier. |
+
+Example request:
+
+```json
+{"AgentId":"agent-example"}
+```
+
+**Response:** Data.Session is a Session object.
+
+### List sessions
+
+`POST /agentengine/api/v1/ListSessions`
+
+Read sessions for an Agent using page-based pagination.
+
+| Parameter | Location | Type | Required | Default | Description |
+| --- | --- | --- | --- | --- | --- |
+| `AgentId` | body | `string` | Yes | `—` | Target Agent identifier. |
+| `UserId` | body | `string / null` | No | `null` | Logical user identifier; authorization is still enforced by the authenticated identity. |
+| `Page` | body | `integer` | No | `1` | Page number, starting at 1. minimum 1. |
+| `PageSize` | body | `integer` | No | `20` | Number of sessions per page. minimum 1; maximum 1000. |
+
+Example request:
+
+```json
+{"AgentId":"agent-example","Page":1,"PageSize":20}
+```
+
+**Response:** Data contains Sessions, Total, Page, and PageSize; it may also include DataSource, Degraded, and SessionContractVersion.
+
+Keep AgentId, UserId, and PageSize consistent across pages. Omitting UserId does not grant cross-user access.
+
+### Get a session
+
+`POST /agentengine/api/v1/GetSession`
+
+Read session metadata and its current or most recent run information.
+
+| Parameter | Location | Type | Required | Default | Description |
+| --- | --- | --- | --- | --- | --- |
+| `SessionId` | body | `string` | Yes | `—` | Session identifier. |
+| `AgentId` | body | `string / null` | No | `null` | Target Agent identifier. |
+| `UserId` | body | `string / null` | No | `null` | Logical user identifier; authorization is still enforced by the authenticated identity. |
+
+Example request:
+
+```json
+{"AgentId":"agent-example","SessionId":"session-example"}
+```
+
+**Response:** Data.Session is a Session object.
+
+### Delete a session
+
+`POST /agentengine/api/v1/DeleteSession`
+
+Delete a session and associated records, cancelling its outstanding detached streams.
+
+| Parameter | Location | Type | Required | Default | Description |
+| --- | --- | --- | --- | --- | --- |
+| `SessionId` | body | `string` | Yes | `—` | Session identifier. |
+| `AgentId` | body | `string / null` | No | `null` | Target Agent identifier. |
+| `UserId` | body | `string / null` | No | `null` | Logical user identifier; authorization is still enforced by the authenticated identity. |
+
+Example request:
+
+```json
+{"AgentId":"agent-example","SessionId":"session-example"}
+```
+
+**Response:** Data.Deleted is true on successful deletion.
+
+### Read chat history
+
+`POST /agentengine/api/v1/ListSessionMessages`
+
+Read projected chat messages, with backward pagination and incremental queries.
+
+| Parameter | Location | Type | Required | Default | Description |
+| --- | --- | --- | --- | --- | --- |
+| `AgentId` | body | `string / null` | No | `null` | Target Agent identifier. |
+| `UserId` | body | `string / null` | No | `null` | Logical user identifier; authorization is still enforced by the authenticated identity. |
+| `SessionId` | body | `string` | Yes | `—` | Session identifier. |
+| `AfterSeqId` | body | `integer / null` | No | `null` | Read events or messages after this sequence number. minimum 0. |
+| `BeforeSeqId` | body | `integer / null` | No | `null` | Read events or messages before this sequence number. minimum 1. |
+| `Limit` | body | `integer` | No | `50` | Maximum number of returned items. minimum 1; maximum 200. |
+| `IncludeReasoning` | body | `boolean` | No | `false` | Include reasoning content that the service permits returning. |
+| `IncludeToolEvents` | body | `boolean` | No | `false` | Include tool execution events. |
+| `IncludeAttachments` | body | `boolean` | No | `true` | Include attachment metadata. |
+| `HistoryEpoch` | body | `string / null` | No | `null` | History epoch returned by the preceding response. |
+| `CursorSource` | body | `string / null` | No | `null` | Cursor source returned by the preceding response. allowed runtime, control. |
+| `SnapshotSeqId` | body | `integer / null` | No | `null` | History snapshot sequence returned by the preceding response. minimum 0. |
+
+Example request:
+
+```json
+{"AgentId":"agent-example","SessionId":"session-example","Limit":50,"IncludeReasoning":false}
+```
+
+**Response:** Data contains SessionId, Messages, LatestSeqId, HasMore, NextCursor, and history context such as HistoryEpoch, SnapshotSeqId, and CursorSource.
+
+Reuse the returned CursorSource, HistoryEpoch, and SnapshotSeqId. When the service requires a history reload, discard the old cursor before querying again.
+
+### Read session events
+
+`POST /agentengine/api/v1/ListSessionEvents`
+
+Read events for progress recovery, tool results, and the event timeline.
+
+| Parameter | Location | Type | Required | Default | Description |
+| --- | --- | --- | --- | --- | --- |
+| `AgentId` | body | `string / null` | No | `null` | Target Agent identifier. |
+| `SessionId` | body | `string / null` | No | `null` | Session identifier. |
+| `UserId` | body | `string / null` | No | `null` | Logical user identifier; authorization is still enforced by the authenticated identity. |
+| `CheckpointIds` | body | `array` | No | `[]` | Filter by checkpoint identifiers. |
+| `EventTypes` | body | `array` | No | `[]` | Filter by event type; an empty array disables this filter. |
+| `Offset` | body | `integer / null` | No | `null` | Result offset, starting at 0. minimum 0. |
+| `Limit` | body | `integer` | No | `200` | Maximum number of returned items. minimum 1; maximum 2000. |
+| `AfterSeqId` | body | `integer / null` | No | `null` | Read events or messages after this sequence number. minimum 0. |
+| `BeforeSeqId` | body | `integer / null` | No | `null` | Read events or messages before this sequence number. minimum 1. |
+| `EventOrder` | body | `string / null` | No | `null` | Event ordering. |
+| `CursorSource` | body | `string / null` | No | `null` | Cursor source returned by the preceding response. allowed runtime, control. |
+| `HistoryEpoch` | body | `string / null` | No | `null` | History epoch returned by the preceding response. |
+| `SnapshotSeqId` | body | `integer / null` | No | `null` | History snapshot sequence returned by the preceding response. minimum 0. |
+
+Example request:
+
+```json
+{"AgentId":"agent-example","SessionId":"session-example","AfterSeqId":0,"Limit":200}
+```
+
+**Response:** Data contains Events, Total, Offset, Limit, and optional HasMore and history context.
+
+Events can represent tool activity, status changes, or interactions; do not append every raw event as a chat message.
+
+## Conversations and runs
+
+### Run an Agent
+
+`POST /agentengine/api/v1/RunAgent`
+
+Execute a conversation turn synchronously, as SSE, or in a supported background mode.
+
+| Parameter | Location | Type | Required | Default | Description |
+| --- | --- | --- | --- | --- | --- |
+| `AgentId` | body | `string` | Yes | `—` | Target Agent identifier. |
+| `Messages` | body | `array