Skip to content
中文

List Deployments

GET/anthropic/v1/deployments● Supported

Request parameters

  • agent_idstringoptional

    query: Filter results by agent ID.

  • created_at[gte]stringoptional

    query: Return records created at or after this time.

  • created_at[lte]stringoptional

    query: Return records created at or before this time.

  • include_archivedbooleanoptional

    query: Whether to include archived records.

  • statusstringoptional

    query: Filter by status: active or paused.

  • limitnumberoptional

    query: Maximum number of items per page.

  • pagestringoptional

    query: Pagination cursor taken from the previous response's next_page.

Returns

501

Deployment resources support creation, retrieval, filtering, updates, archival, pause and unpause. Versions are pinned; schedules return up to five future occurrences. Only user.message initial events and file resources are accepted. Supports vault_ids, up to 50, owned by the current organization and not archived; secrets reach the session's machine as environment variables and are matched against its MCP servers. 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. Computer deployments are skipped by lists; individual operations return 400 with a /agent/v1 pointer. Reads project overrides to base references; updates containing agent on overridden deployments return 400.

Errors follow the Claude Managed Agents format — see error codes

Request

curl
curl https://api.deepraxis.com/anthropic/v1/deployments \
  -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.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.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/deployments); see the docs for the supported subset."
  },
  "request_id": "2ca7eb9c-b675-43d3-8be2-eef796ee3a1d"
}

Response

HTTP 200

Successful response

application/json

Name Type Description
data array<object>
data[].id string Unique identifier for this deployment.
data[].agent object A resolved agent reference with a concrete version.
data[].archived_at null | string A timestamp in RFC 3339 format
data[].created_at string A timestamp in RFC 3339 format
data[].description null | string Description of what the deployment does.
data[].environment_id string ID of the environment where sessions run.
data[].initial_events array<object> Events sent to each session immediately after creation.
data[].metadata object Arbitrary key-value metadata. Maximum 16 pairs.
data[].name string Human-readable name.
data[].paused_reason null | object Why a deployment is paused. Non-null exactly when status is paused.
data[].resources array<object> Resources attached to sessions created from this deployment. Echoes the input minus write-only credentials.
data[].schedule null | object 5-field POSIX cron schedule with computed runtime timestamps.
data[].status string Lifecycle status of a deployment.
data[].type string
data[].updated_at string A timestamp in RFC 3339 format
data[].vault_ids array<string> Vault IDs supplying stored credentials for sessions created from this deployment.
data[].budget null | object A hard spend ceiling. The session stops issuing new model requests once the tracked list cost reaches max_list_cost.
next_page string | null