AnthropicClaude 托管智能体
读取部署运行
读取一次定时部署运行的详细记录(触发方式、状态、结果)。
GET
/anthropic/v1/deployment_runs/{deployment_run_id}○ 未支持请求参数
deployment_run_idstring必填path: 路径参数:部署运行 ID。
返回
501 平台还没有实现这个端点;调用会得到下面这个响应:
平台还不能按计划或触发条件自动运行智能体。调用会返回 501(not_implemented_error),不产生副作用,官方 SDK 不会重试。
错误按 Claude Managed Agents 格式返回,参见 错误码
响应
HTTP 200
Successful response
application/json
| 名称 | 类型 | 说明 |
|---|---|---|
| id | string | Unique identifier for this run (`drun_...`). |
| agent | object | A resolved agent reference with a concrete version. |
| agent.id | string | |
| agent.type | string | |
| agent.version | number | |
| created_at | string | A timestamp in RFC 3339 format |
| deployment_id | string | ID of the deployment that produced this run. |
| error | null | object | Why the run failed to create a session. The type identifies the failure; message is human-readable detail. |
| error.message | string | Human-readable error description. |
| error.type | string | |
| session_id | null | string | Populated on success. Null on creation failure. Exactly one of `session_id` or `error` is non-null. |
| trigger_context | object | Describes what triggered a deployment run, with trigger-specific metadata. |
| trigger_context.scheduled_at | string | A timestamp in RFC 3339 format |
| trigger_context.type | string | |
| type | string |