Skip to content
中文

Get Deployment Run

GET/anthropic/v1/deployment_runs/{deployment_run_id}● Supported

Request parameters

  • deployment_run_idstringrequired

    path: Path parameter: the deployment run ID.

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/deployment_run_123 \
  -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.retrieve("deployment_run_123")
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.retrieve("deployment_run_123");
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/{deployment_run_id}); see the docs for the supported subset."
  },
  "request_id": "5672f93b-2158-4923-b504-69bf2cb8bcb4"
}

Response

HTTP 200

Successful response

application/json

Name Type Description
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