diff --git a/api-reference/openapi.en.json b/api-reference/openapi.en.json index 982fa060..330ae9dc 100644 --- a/api-reference/openapi.en.json +++ b/api-reference/openapi.en.json @@ -25076,6 +25076,10 @@ "type": "boolean", "description": "True when an agent turn is currently in flight for this session." }, + "turn_in_flight": { + "type": "boolean", + "description": "`true` while a turn is executing. `is_running` additionally covers dispatched sub-task rounds that are still open." + }, "standing_tasks": { "type": "integer", "description": "Number of the session's process-type tasks (background shell commands or monitors) still alive when the response was built; 0 when none or when the count cannot be read." @@ -25134,6 +25138,7 @@ "archived_at", "pinned_at", "is_running", + "turn_in_flight", "standing_tasks", "has_unread", "current_turn_started_at", @@ -34762,6 +34767,10 @@ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$", "type": "string" }, + "application_id": { + "description": "Application the dashboard belongs to. Every query in `definition` must read this same application. 1 to 64 bytes.", + "type": "string" + }, "schema_version": { "description": "Wire schema of the definition. Must be `dashboard.v1`.", "enum": [ @@ -34775,6 +34784,7 @@ }, "required": [ "dashboard_id", + "application_id", "schema_version", "definition" ], @@ -35063,6 +35073,10 @@ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$", "type": "string" }, + "application_id": { + "description": "Application the dashboard belongs to.", + "type": "string" + }, "title": { "description": "Dashboard title.", "type": "string" @@ -35087,6 +35101,7 @@ }, "required": [ "dashboard_id", + "application_id", "title", "revision", "updated_by", @@ -35101,6 +35116,10 @@ "description": "Search text, at most 128 characters. Split on spaces; each word must appear in the title or the description.", "type": "string" }, + "application_id": { + "description": "Keep only the dashboards of this application. Omit to list the dashboards of every application.", + "type": "string" + }, "sort": { "description": "Sort order, at most two unique fields; defaults to `updated_at` descending.", "items": { @@ -35456,6 +35475,10 @@ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$", "type": "string" }, + "application_id": { + "description": "Application the dashboard belongs to. Fixed at creation.", + "type": "string" + }, "schema_version": { "description": "Wire schema of the definition. Always `dashboard.v1`.", "enum": [ @@ -35490,6 +35513,7 @@ }, "required": [ "dashboard_id", + "application_id", "schema_version", "revision", "definition", @@ -56031,6 +56055,7 @@ "content": { "application/json": { "example": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "dashboard_id": "0192f3a4-5b6c-7d8e-9f01-234567890abc", "definition": { "default_time_range": { @@ -56237,6 +56262,7 @@ "application/json": { "example": { "data": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "created_at": 1792401120000, "created_by": { "id": 2477033058131, @@ -56513,7 +56539,7 @@ "RUM/Dashboards" ], "x-mint": { - "content": "## Restrictions\n\n| Aspect | Value |\n| ------ | ----- |\n| Rate limits | **300 requests/minute**; **20 requests/second** per account |\n| Permissions | **Dashboards Manage** (`rum`) |\n\n## Usage\n\n- `dashboard_id` is chosen by the caller and must be a canonical UUIDv7. Reusing an ID that already exists returns HTTP 409 `DashboardIDConflict`.\n- Every application a definition reads must exist in the account and be readable by the caller, otherwise the call fails with `InvalidParameter` or `AccessDenied`.\n- A failed `definition` validation returns HTTP 400 with up to 20 `violations`, each naming a `path`, a `rule` and a `message`, and the first one repeated as the error `message`.\n- Unknown request fields are rejected: the body is decoded strictly, so a typo fails with `InvalidParameter` instead of being ignored.\n- A body over 2 MiB, a definition over 1 MiB, or exceeding a count limit returns HTTP 413 `EntityTooLarge`; a `schema_version` other than `dashboard.v1` returns HTTP 422 `UnsupportedSchemaVersion`.", + "content": "## Restrictions\n\n| Aspect | Value |\n| ------ | ----- |\n| Rate limits | **300 requests/minute**; **20 requests/second** per account |\n| Permissions | **Dashboards Manage** (`rum`) |\n\n## Usage\n\n- `dashboard_id` is chosen by the caller and must be a canonical UUIDv7. Reusing an ID that already exists returns HTTP 409 `DashboardIDConflict`.\n- Every application a definition reads must exist in the account and be readable by the caller, otherwise the call fails with `InvalidParameter` or `AccessDenied`. The dashboard belongs to the single application named by `application_id`, and every query in `definition` must read that same application.\n- A failed `definition` validation returns HTTP 400 with up to 20 `violations`, each naming a `path`, a `rule` and a `message`, and the first one repeated as the error `message`.\n- Unknown request fields are rejected: the body is decoded strictly, so a typo fails with `InvalidParameter` instead of being ignored.\n- A body over 2 MiB, a definition over 1 MiB, or exceeding a count limit returns HTTP 413 `EntityTooLarge`; a `schema_version` other than `dashboard.v1` returns HTTP 422 `UnsupportedSchemaVersion`.", "href": "/en/api-reference/rum/dashboards/rum-dashboard-write-create", "metadata": { "sidebarTitle": "Create dashboard" @@ -56651,6 +56677,7 @@ "application/json": { "example": { "data": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "created_at": 1792401120000, "created_by": { "id": 2477033058131, @@ -56958,6 +56985,7 @@ "data": { "items": [ { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "dashboard_id": "0192f3a4-5b6c-7d8e-9f01-234567890abc", "description": "Loading time and error rate of the storefront.", "revision": 3, @@ -57045,6 +57073,7 @@ "application/json": { "example": { "data": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "created_at": 1792401120000, "created_by": { "id": 2477033058131, @@ -58032,6 +58061,7 @@ "data": { "changed": true, "resource": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "created_at": 1792401120000, "created_by": { "id": 2477033058131, @@ -65172,6 +65202,7 @@ "pinned_at": 0, "last_event_at": 1780367992649, "is_running": false, + "turn_in_flight": false, "standing_tasks": 0, "has_unread": false, "current_turn_started_at": 1780367971241, @@ -65325,6 +65356,7 @@ "pinned_at": 0, "last_event_at": 1780367992649, "is_running": false, + "turn_in_flight": false, "standing_tasks": 0, "has_unread": true, "current_turn_started_at": 0, diff --git a/api-reference/openapi.zh.json b/api-reference/openapi.zh.json index 6c6f93fa..b157e136 100644 --- a/api-reference/openapi.zh.json +++ b/api-reference/openapi.zh.json @@ -25076,6 +25076,10 @@ "type": "boolean", "description": "当该会话当前有正在进行的智能体轮次时为 true。" }, + "turn_in_flight": { + "type": "boolean", + "description": "`true` 表示当前有轮次正在执行;`is_running` 还覆盖仍在进行中的子任务轮次。" + }, "standing_tasks": { "type": "integer", "description": "生成响应时该会话仍存活的进程型任务数(后台命令或 monitor);没有或无法读取时为 0。" @@ -25134,6 +25138,7 @@ "archived_at", "pinned_at", "is_running", + "turn_in_flight", "standing_tasks", "has_unread", "current_turn_started_at", @@ -34762,6 +34767,10 @@ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$", "type": "string" }, + "application_id": { + "description": "看板所属的应用。`definition` 中的每个查询都必须读取同一个应用。长度 1~64 字节。", + "type": "string" + }, "schema_version": { "description": "定义所遵循的接口 schema,必须为 `dashboard.v1`。", "enum": [ @@ -34775,6 +34784,7 @@ }, "required": [ "dashboard_id", + "application_id", "schema_version", "definition" ], @@ -35063,6 +35073,10 @@ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$", "type": "string" }, + "application_id": { + "description": "看板所属的应用。", + "type": "string" + }, "title": { "description": "仪表盘标题。", "type": "string" @@ -35087,6 +35101,7 @@ }, "required": [ "dashboard_id", + "application_id", "title", "revision", "updated_by", @@ -35101,6 +35116,10 @@ "description": "搜索文本,最多 128 个字符。按空格拆分,每个词都须出现在标题或描述中。", "type": "string" }, + "application_id": { + "description": "只返回该应用下的看板;不传则返回所有应用的看板。", + "type": "string" + }, "sort": { "description": "排序方式,最多两个且不重复的字段;默认按 `updated_at` 倒序。", "items": { @@ -35456,6 +35475,10 @@ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$", "type": "string" }, + "application_id": { + "description": "看板所属的应用,创建时指定。", + "type": "string" + }, "schema_version": { "description": "定义所遵循的接口 schema,固定为 `dashboard.v1`。", "enum": [ @@ -35490,6 +35513,7 @@ }, "required": [ "dashboard_id", + "application_id", "schema_version", "revision", "definition", @@ -56031,6 +56055,7 @@ "content": { "application/json": { "example": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "dashboard_id": "0192f3a4-5b6c-7d8e-9f01-234567890abc", "definition": { "default_time_range": { @@ -56237,6 +56262,7 @@ "application/json": { "example": { "data": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "created_at": 1792401120000, "created_by": { "id": 2477033058131, @@ -56513,7 +56539,7 @@ "RUM/仪表盘" ], "x-mint": { - "content": "## 限制说明\n\n| 项目 | 说明 |\n| ---- | ---- |\n| 速率限制 | 每个账户 **300 次/分钟**;**20 次/秒** |\n| 权限要求 | **看板管理**(`rum`) |\n\n## 使用说明\n\n- `dashboard_id` 由调用方生成,必须是规范 UUIDv7。复用已存在的 ID 会返回 HTTP 409 `DashboardIDConflict`。\n- 定义中读取的每个应用必须存在于本账户且调用方可读,否则返回 `InvalidParameter` 或 `AccessDenied`。\n- 定义校验失败时返回 HTTP 400,并带最多 20 条 `violations`,每条包含 `path`、`rule`、`message`,其中第一条同时作为错误 `message`。\n- 请求体按严格模式解码,未知字段会被拒绝并以 `InvalidParameter` 报错,而不是被忽略。\n- 请求体超过 2 MiB、定义超过 1 MiB 或超出数量上限时返回 HTTP 413 `EntityTooLarge`;`schema_version` 不是 `dashboard.v1` 时返回 HTTP 422 `UnsupportedSchemaVersion`。", + "content": "## 限制说明\n\n| 项目 | 说明 |\n| ---- | ---- |\n| 速率限制 | 每个账户 **300 次/分钟**;**20 次/秒** |\n| 权限要求 | **看板管理**(`rum`) |\n\n## 使用说明\n\n- `dashboard_id` 由调用方生成,必须是规范 UUIDv7。复用已存在的 ID 会返回 HTTP 409 `DashboardIDConflict`。\n- 定义中读取的每个应用必须存在于本账户且调用方可读,否则返回 `InvalidParameter` 或 `AccessDenied`。看板归属于 `application_id` 指定的那一个应用,`definition` 中的每个查询都必须读取该应用。\n- 定义校验失败时返回 HTTP 400,并带最多 20 条 `violations`,每条包含 `path`、`rule`、`message`,其中第一条同时作为错误 `message`。\n- 请求体按严格模式解码,未知字段会被拒绝并以 `InvalidParameter` 报错,而不是被忽略。\n- 请求体超过 2 MiB、定义超过 1 MiB 或超出数量上限时返回 HTTP 413 `EntityTooLarge`;`schema_version` 不是 `dashboard.v1` 时返回 HTTP 422 `UnsupportedSchemaVersion`。", "href": "/zh/api-reference/rum/dashboards/rum-dashboard-write-create", "metadata": { "sidebarTitle": "创建仪表盘" @@ -56651,6 +56677,7 @@ "application/json": { "example": { "data": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "created_at": 1792401120000, "created_by": { "id": 2477033058131, @@ -56958,6 +56985,7 @@ "data": { "items": [ { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "dashboard_id": "0192f3a4-5b6c-7d8e-9f01-234567890abc", "description": "商城的加载耗时与错误率。", "revision": 3, @@ -57045,6 +57073,7 @@ "application/json": { "example": { "data": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "created_at": 1792401120000, "created_by": { "id": 2477033058131, @@ -58032,6 +58061,7 @@ "data": { "changed": true, "resource": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "created_at": 1792401120000, "created_by": { "id": 2477033058131, @@ -65172,6 +65202,7 @@ "pinned_at": 0, "last_event_at": 1780367992649, "is_running": false, + "turn_in_flight": false, "standing_tasks": 0, "has_unread": false, "current_turn_started_at": 1780367971241, @@ -65325,6 +65356,7 @@ "pinned_at": 0, "last_event_at": 1780367992649, "is_running": false, + "turn_in_flight": false, "standing_tasks": 0, "has_unread": true, "current_turn_started_at": 0, diff --git a/api-reference/rum.openapi.en.json b/api-reference/rum.openapi.en.json index db596a30..1a4a0857 100644 --- a/api-reference/rum.openapi.en.json +++ b/api-reference/rum.openapi.en.json @@ -4354,6 +4354,10 @@ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$", "type": "string" }, + "application_id": { + "description": "Application the dashboard belongs to. Every query in `definition` must read this same application. 1 to 64 bytes.", + "type": "string" + }, "schema_version": { "description": "Wire schema of the definition. Must be `dashboard.v1`.", "enum": [ @@ -4367,6 +4371,7 @@ }, "required": [ "dashboard_id", + "application_id", "schema_version", "definition" ], @@ -4655,6 +4660,10 @@ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$", "type": "string" }, + "application_id": { + "description": "Application the dashboard belongs to.", + "type": "string" + }, "title": { "description": "Dashboard title.", "type": "string" @@ -4679,6 +4688,7 @@ }, "required": [ "dashboard_id", + "application_id", "title", "revision", "updated_by", @@ -4693,6 +4703,10 @@ "description": "Search text, at most 128 characters. Split on spaces; each word must appear in the title or the description.", "type": "string" }, + "application_id": { + "description": "Keep only the dashboards of this application. Omit to list the dashboards of every application.", + "type": "string" + }, "sort": { "description": "Sort order, at most two unique fields; defaults to `updated_at` descending.", "items": { @@ -5048,6 +5062,10 @@ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$", "type": "string" }, + "application_id": { + "description": "Application the dashboard belongs to. Fixed at creation.", + "type": "string" + }, "schema_version": { "description": "Wire schema of the definition. Always `dashboard.v1`.", "enum": [ @@ -5082,6 +5100,7 @@ }, "required": [ "dashboard_id", + "application_id", "schema_version", "revision", "definition", @@ -7220,6 +7239,7 @@ "content": { "application/json": { "example": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "dashboard_id": "0192f3a4-5b6c-7d8e-9f01-234567890abc", "definition": { "default_time_range": { @@ -7426,6 +7446,7 @@ "application/json": { "example": { "data": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "created_at": 1792401120000, "created_by": { "id": 2477033058131, @@ -7702,7 +7723,7 @@ "RUM/Dashboards" ], "x-mint": { - "content": "## Restrictions\n\n| Aspect | Value |\n| ------ | ----- |\n| Rate limits | **300 requests/minute**; **20 requests/second** per account |\n| Permissions | **Dashboards Manage** (`rum`) |\n\n## Usage\n\n- `dashboard_id` is chosen by the caller and must be a canonical UUIDv7. Reusing an ID that already exists returns HTTP 409 `DashboardIDConflict`.\n- Every application a definition reads must exist in the account and be readable by the caller, otherwise the call fails with `InvalidParameter` or `AccessDenied`.\n- A failed `definition` validation returns HTTP 400 with up to 20 `violations`, each naming a `path`, a `rule` and a `message`, and the first one repeated as the error `message`.\n- Unknown request fields are rejected: the body is decoded strictly, so a typo fails with `InvalidParameter` instead of being ignored.\n- A body over 2 MiB, a definition over 1 MiB, or exceeding a count limit returns HTTP 413 `EntityTooLarge`; a `schema_version` other than `dashboard.v1` returns HTTP 422 `UnsupportedSchemaVersion`.", + "content": "## Restrictions\n\n| Aspect | Value |\n| ------ | ----- |\n| Rate limits | **300 requests/minute**; **20 requests/second** per account |\n| Permissions | **Dashboards Manage** (`rum`) |\n\n## Usage\n\n- `dashboard_id` is chosen by the caller and must be a canonical UUIDv7. Reusing an ID that already exists returns HTTP 409 `DashboardIDConflict`.\n- Every application a definition reads must exist in the account and be readable by the caller, otherwise the call fails with `InvalidParameter` or `AccessDenied`. The dashboard belongs to the single application named by `application_id`, and every query in `definition` must read that same application.\n- A failed `definition` validation returns HTTP 400 with up to 20 `violations`, each naming a `path`, a `rule` and a `message`, and the first one repeated as the error `message`.\n- Unknown request fields are rejected: the body is decoded strictly, so a typo fails with `InvalidParameter` instead of being ignored.\n- A body over 2 MiB, a definition over 1 MiB, or exceeding a count limit returns HTTP 413 `EntityTooLarge`; a `schema_version` other than `dashboard.v1` returns HTTP 422 `UnsupportedSchemaVersion`.", "href": "/en/api-reference/rum/dashboards/rum-dashboard-write-create", "metadata": { "sidebarTitle": "Create dashboard" @@ -7840,6 +7861,7 @@ "application/json": { "example": { "data": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "created_at": 1792401120000, "created_by": { "id": 2477033058131, @@ -8147,6 +8169,7 @@ "data": { "items": [ { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "dashboard_id": "0192f3a4-5b6c-7d8e-9f01-234567890abc", "description": "Loading time and error rate of the storefront.", "revision": 3, @@ -8234,6 +8257,7 @@ "application/json": { "example": { "data": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "created_at": 1792401120000, "created_by": { "id": 2477033058131, @@ -9221,6 +9245,7 @@ "data": { "changed": true, "resource": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "created_at": 1792401120000, "created_by": { "id": 2477033058131, diff --git a/api-reference/rum.openapi.zh.json b/api-reference/rum.openapi.zh.json index 2550aae9..ec9f1909 100644 --- a/api-reference/rum.openapi.zh.json +++ b/api-reference/rum.openapi.zh.json @@ -4354,6 +4354,10 @@ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$", "type": "string" }, + "application_id": { + "description": "看板所属的应用。`definition` 中的每个查询都必须读取同一个应用。长度 1~64 字节。", + "type": "string" + }, "schema_version": { "description": "定义所遵循的接口 schema,必须为 `dashboard.v1`。", "enum": [ @@ -4367,6 +4371,7 @@ }, "required": [ "dashboard_id", + "application_id", "schema_version", "definition" ], @@ -4655,6 +4660,10 @@ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$", "type": "string" }, + "application_id": { + "description": "看板所属的应用。", + "type": "string" + }, "title": { "description": "仪表盘标题。", "type": "string" @@ -4679,6 +4688,7 @@ }, "required": [ "dashboard_id", + "application_id", "title", "revision", "updated_by", @@ -4693,6 +4703,10 @@ "description": "搜索文本,最多 128 个字符。按空格拆分,每个词都须出现在标题或描述中。", "type": "string" }, + "application_id": { + "description": "只返回该应用下的看板;不传则返回所有应用的看板。", + "type": "string" + }, "sort": { "description": "排序方式,最多两个且不重复的字段;默认按 `updated_at` 倒序。", "items": { @@ -5048,6 +5062,10 @@ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$", "type": "string" }, + "application_id": { + "description": "看板所属的应用,创建时指定。", + "type": "string" + }, "schema_version": { "description": "定义所遵循的接口 schema,固定为 `dashboard.v1`。", "enum": [ @@ -5082,6 +5100,7 @@ }, "required": [ "dashboard_id", + "application_id", "schema_version", "revision", "definition", @@ -7220,6 +7239,7 @@ "content": { "application/json": { "example": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "dashboard_id": "0192f3a4-5b6c-7d8e-9f01-234567890abc", "definition": { "default_time_range": { @@ -7426,6 +7446,7 @@ "application/json": { "example": { "data": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "created_at": 1792401120000, "created_by": { "id": 2477033058131, @@ -7702,7 +7723,7 @@ "RUM/仪表盘" ], "x-mint": { - "content": "## 限制说明\n\n| 项目 | 说明 |\n| ---- | ---- |\n| 速率限制 | 每个账户 **300 次/分钟**;**20 次/秒** |\n| 权限要求 | **看板管理**(`rum`) |\n\n## 使用说明\n\n- `dashboard_id` 由调用方生成,必须是规范 UUIDv7。复用已存在的 ID 会返回 HTTP 409 `DashboardIDConflict`。\n- 定义中读取的每个应用必须存在于本账户且调用方可读,否则返回 `InvalidParameter` 或 `AccessDenied`。\n- 定义校验失败时返回 HTTP 400,并带最多 20 条 `violations`,每条包含 `path`、`rule`、`message`,其中第一条同时作为错误 `message`。\n- 请求体按严格模式解码,未知字段会被拒绝并以 `InvalidParameter` 报错,而不是被忽略。\n- 请求体超过 2 MiB、定义超过 1 MiB 或超出数量上限时返回 HTTP 413 `EntityTooLarge`;`schema_version` 不是 `dashboard.v1` 时返回 HTTP 422 `UnsupportedSchemaVersion`。", + "content": "## 限制说明\n\n| 项目 | 说明 |\n| ---- | ---- |\n| 速率限制 | 每个账户 **300 次/分钟**;**20 次/秒** |\n| 权限要求 | **看板管理**(`rum`) |\n\n## 使用说明\n\n- `dashboard_id` 由调用方生成,必须是规范 UUIDv7。复用已存在的 ID 会返回 HTTP 409 `DashboardIDConflict`。\n- 定义中读取的每个应用必须存在于本账户且调用方可读,否则返回 `InvalidParameter` 或 `AccessDenied`。看板归属于 `application_id` 指定的那一个应用,`definition` 中的每个查询都必须读取该应用。\n- 定义校验失败时返回 HTTP 400,并带最多 20 条 `violations`,每条包含 `path`、`rule`、`message`,其中第一条同时作为错误 `message`。\n- 请求体按严格模式解码,未知字段会被拒绝并以 `InvalidParameter` 报错,而不是被忽略。\n- 请求体超过 2 MiB、定义超过 1 MiB 或超出数量上限时返回 HTTP 413 `EntityTooLarge`;`schema_version` 不是 `dashboard.v1` 时返回 HTTP 422 `UnsupportedSchemaVersion`。", "href": "/zh/api-reference/rum/dashboards/rum-dashboard-write-create", "metadata": { "sidebarTitle": "创建仪表盘" @@ -7840,6 +7861,7 @@ "application/json": { "example": { "data": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "created_at": 1792401120000, "created_by": { "id": 2477033058131, @@ -8147,6 +8169,7 @@ "data": { "items": [ { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "dashboard_id": "0192f3a4-5b6c-7d8e-9f01-234567890abc", "description": "商城的加载耗时与错误率。", "revision": 3, @@ -8234,6 +8257,7 @@ "application/json": { "example": { "data": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "created_at": 1792401120000, "created_by": { "id": 2477033058131, @@ -9221,6 +9245,7 @@ "data": { "changed": true, "resource": { + "application_id": "qLpu24Dz4CAzWsESPbJYWA", "created_at": 1792401120000, "created_by": { "id": 2477033058131, diff --git a/api-reference/safari.openapi.en.json b/api-reference/safari.openapi.en.json index 08a2a505..3edce801 100644 --- a/api-reference/safari.openapi.en.json +++ b/api-reference/safari.openapi.en.json @@ -2407,6 +2407,7 @@ "pinned_at": 0, "last_event_at": 1780367992649, "is_running": false, + "turn_in_flight": false, "standing_tasks": 0, "has_unread": false, "current_turn_started_at": 1780367971241, @@ -2560,6 +2561,7 @@ "pinned_at": 0, "last_event_at": 1780367992649, "is_running": false, + "turn_in_flight": false, "standing_tasks": 0, "has_unread": true, "current_turn_started_at": 0, @@ -7977,6 +7979,10 @@ "type": "boolean", "description": "True when an agent turn is currently in flight for this session." }, + "turn_in_flight": { + "type": "boolean", + "description": "`true` while a turn is executing. `is_running` additionally covers dispatched sub-task rounds that are still open." + }, "standing_tasks": { "type": "integer", "description": "Number of the session's process-type tasks (background shell commands or monitors) still alive when the response was built; 0 when none or when the count cannot be read." @@ -8035,6 +8041,7 @@ "archived_at", "pinned_at", "is_running", + "turn_in_flight", "standing_tasks", "has_unread", "current_turn_started_at", diff --git a/api-reference/safari.openapi.zh.json b/api-reference/safari.openapi.zh.json index 418fff7d..fa58da32 100644 --- a/api-reference/safari.openapi.zh.json +++ b/api-reference/safari.openapi.zh.json @@ -2407,6 +2407,7 @@ "pinned_at": 0, "last_event_at": 1780367992649, "is_running": false, + "turn_in_flight": false, "standing_tasks": 0, "has_unread": false, "current_turn_started_at": 1780367971241, @@ -2560,6 +2561,7 @@ "pinned_at": 0, "last_event_at": 1780367992649, "is_running": false, + "turn_in_flight": false, "standing_tasks": 0, "has_unread": true, "current_turn_started_at": 0, @@ -7977,6 +7979,10 @@ "type": "boolean", "description": "当该会话当前有正在进行的智能体轮次时为 true。" }, + "turn_in_flight": { + "type": "boolean", + "description": "`true` 表示当前有轮次正在执行;`is_running` 还覆盖仍在进行中的子任务轮次。" + }, "standing_tasks": { "type": "integer", "description": "生成响应时该会话仍存活的进程型任务数(后台命令或 monitor);没有或无法读取时为 0。" @@ -8035,6 +8041,7 @@ "archived_at", "pinned_at", "is_running", + "turn_in_flight", "standing_tasks", "has_unread", "current_turn_started_at",