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

名称类型说明
idstringUnique identifier for this run (`drun_...`).
agentobjectA resolved agent reference with a concrete version.
agent.idstring
agent.typestring
agent.versionnumber
created_atstringA timestamp in RFC 3339 format
deployment_idstringID of the deployment that produced this run.
errornull | objectWhy the run failed to create a session. The type identifies the failure; message is human-readable detail.
error.messagestringHuman-readable error description.
error.typestring
session_idnull | stringPopulated on success. Null on creation failure. Exactly one of `session_id` or `error` is non-null.
trigger_contextobjectDescribes what triggered a deployment run, with trigger-specific metadata.
trigger_context.scheduled_atstringA timestamp in RFC 3339 format
trigger_context.typestring
typestring