List Deployment Runs
List the recorded runs of a scheduled deployment, each with its trigger time and outcome.
/anthropic/v1/deployment_runs○ UnsupportedRequest parameters
created_at[gt]string可选query: Return records created strictly after this time.
created_at[gte]string可选query: Return records created at or after this time.
created_at[lt]string可选query: Return records created strictly before this time.
created_at[lte]string可选query: Return records created at or before this time.
deployment_idstring可选query: Deployment ID (path or query parameter).
has_errorboolean可选query: Filter deployment runs by whether they errored.
trigger_typestring可选query: Filter deployment runs by trigger type.
limitnumber可选query: Maximum number of items per page.
pagestring可选query: Pagination cursor taken from the previous response's next_page.
Returns
501 This endpoint is not implemented yet; calling it returns the response below:
The platform cannot run agents automatically on a schedule or by trigger yet. Calling it returns 501 (not_implemented_error), produces no side effects, and the official SDK does not retry.
Errors follow the Claude Managed Agents format — see error codes
Response
HTTP 200
Successful response
application/json
| Name | Type | Description |
|---|---|---|
| data | array<object> | |
| data[].id | string | Unique identifier for this run (`drun_...`). |
| data[].agent | object | A resolved agent reference with a concrete version. |
| data[].created_at | string | A timestamp in RFC 3339 format |
| data[].deployment_id | string | ID of the deployment that produced this run. |
| data[].error | null | object | Why the run failed to create a session. The type identifies the failure; message is human-readable detail. |
| data[].session_id | null | string | Populated on success. Null on creation failure. Exactly one of `session_id` or `error` is non-null. |
| data[].trigger_context | object | Describes what triggered a deployment run, with trigger-specific metadata. |
| data[].type | string | |
| next_page | string | null |