Skip to content
中文

Get Agent

Call Create agent first and replace the example agent ID with its returned ID.

GET/anthropic/v1/agents/{agent_id}● Supported

Official Claude documentation ↗

Request parameters

  • agent_idstringrequired

    path: Filter results by agent ID.

  • versionnumberoptional

    query: Path parameter: the version.

Returns

200

Replace example resource IDs with IDs from resources you created.

Errors follow the Claude Managed Agents format — see error codes

Request

curl
# Call Create agent first and replace the example agent ID with its returned ID.
curl https://api.deepraxis.com/anthropic/v1/agents/agent_123 \
  -H "x-api-key: $PRAXIS_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "anthropic-beta: managed-agents-2026-04-01"
Python
# Call Create agent first and replace the example agent ID with its returned ID.
from anthropic import Anthropic

client = Anthropic(
    base_url="https://api.deepraxis.com/anthropic",
    api_key="$PRAXIS_API_KEY",
)

result = client.beta.agents.retrieve("agent_123")
print(result)
TypeScript
// Call Create agent first and replace the example agent ID with its returned ID.
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  baseURL: "https://api.deepraxis.com/anthropic",
  apiKey: "$PRAXIS_API_KEY",
});

const result = await client.beta.agents.retrieve("agent_123");
console.log(result);

Response 200

{
  "id": "agent_d491cb4e-690a-4f8e-8977-d8186eee6919",
  "type": "agent",
  "name": "文档助手",
  "description": null,
  "system": "用一句话简短回答。",
  "model": {
    "id": "deepseek-flash"
  },
  "metadata": {},
  "tools": [
    {
      "type": "agent_toolset_20260401",
      "default_config": {
        "enabled": true,
        "permission_policy": {
          "type": "always_allow"
        }
      },
      "configs": [
        {
          "name": "bash",
          "enabled": true,
          "permission_policy": null
        },
        {
          "name": "edit",
          "enabled": true,
          "permission_policy": null
        },
        {
          "name": "glob",
          "enabled": true,
          "permission_policy": null
        },
        {
          "name": "grep",
          "enabled": true,
          "permission_policy": null
        },
        {
          "name": "read",
          "enabled": true,
          "permission_policy": null
        },
        {
          "name": "write",
          "enabled": true,
          "permission_policy": null
        },
        {
          "name": "web_search",
          "type": "web_search",
          "enabled": true,
          "permission_policy": null
        },
        {
          "name": "web_fetch",
          "type": "web_fetch",
          "enabled": true,
          "permission_policy": null
        }
      ]
    }
  ],
  "mcp_servers": [],
  "skills": [],
  "multiagent": null,
  "version": 1,
  "created_at": "2026-10-23T01:35:25.425Z",
  "updated_at": "2026-10-23T01:35:25.425Z",
  "archived_at": null
}

Response

HTTP 200

Successful response

application/json

Name Type Description
id string
archived_at null | string A timestamp in RFC 3339 format
created_at string A timestamp in RFC 3339 format
description null | string
mcp_servers array<object>
mcp_servers[].type string
mcp_servers[].name string
mcp_servers[].url string
metadata object
model object Model identifier and configuration.
model.id string A model id from the Praxis model catalog (praxis.model.models.list). Unlike Anthropic, Claude model ids other than those in the catalog are rejected.
model.effort object How hard Claude works on each turn. Sets output_config.effort on every Messages call the session makes.
model.inference_geo string Geographic region for model inference. When unset, requests fall through to the workspace's default_inference_geo.
model.speed string Inference speed mode. fast provides significantly faster output token generation at premium pricing. Not all models support fast; invalid combinations are rejected at create time.
multiagent null | object Resolved coordinator topology with a concrete agent roster.
multiagent.agents array<object> Agents the coordinator may spawn as session threads, each resolved to a specific version.
multiagent.type string
name string
skills array<object>
skills[].skill_id string
skills[].type string
skills[].version string
system null | string
tools array<object>
tools[].configs array<object> | array | null
tools[].default_config object | object | null Resolved default configuration for agent tools.
tools[].type string
tools[].mcp_server_name string
tools[].description string
tools[].input_schema object JSON Schema for custom tool input parameters.
tools[].name string
type string
updated_at string A timestamp in RFC 3339 format
version number The agent's current version. Starts at 1 and increments when the agent is modified.