List Deployment Runs
/anthropic/v1/deployment_runs● SupportedRequest parameters
created_at[gt]stringoptionalquery: Return records created strictly after this time.
created_at[gte]stringoptionalquery: Return records created at or after this time.
created_at[lt]stringoptionalquery: Return records created strictly before this time.
created_at[lte]stringoptionalquery: Return records created at or before this time.
deployment_idstringoptionalquery: Deployment ID (path or query parameter).
has_errorbooleanoptionalquery: Filter deployment runs by whether they errored.
trigger_typestringoptionalquery: Filter deployment runs by trigger type.
limitnumberoptionalquery: Maximum number of items per page.
pagestringoptionalquery: Pagination cursor taken from the previous response's next_page.
Returns
501
Manual triggers and cron schedules create sessions with pinned agent versions. Session creation errors are recorded and automatically pause the deployment; unpause to resume scheduling. Missed cron occurrences produce one catch-up run. Lists support deployment_id, has_error, trigger_type and all four created_at bounds, with keyset pagination.
Errors follow the Claude Managed Agents format — see error codes
Request
curl
curl https://api.deepraxis.com/anthropic/v1/deployment_runs \
-H "x-api-key: $PRAXIS_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "anthropic-beta: managed-agents-2026-04-01"Python
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.deepraxis.com/anthropic",
api_key="$PRAXIS_API_KEY",
)
# 官方有、平台未支持:调用得到 501(not_implemented_error),无副作用。
result = client.beta.deployment_runs.list()
print(result)TypeScript
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://api.deepraxis.com/anthropic",
apiKey: "$PRAXIS_API_KEY",
});
// 官方有、平台未支持:调用得到 501(not_implemented_error),无副作用。
const result = await client.beta.deploymentRuns.list();
console.log(result);Response 501
{
"type": "error",
"error": {
"type": "not_implemented_error",
"message": "Not implemented: this Managed Agents operation is not implemented on this platform yet (GET /v1/deployment_runs); see the docs for the supported subset."
},
"request_id": "bd3ecf5d-d96b-451d-a9ec-9f7b7fe98c9f"
}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 |