Chuyển đến nội dung chính
GET
/
api
/
v1
/
agents
/
{id}
Get Agent
curl --request GET \
  --url https://api.agentwallex.com/api/v1/agents/{id} \
  --header 'X-API-Key: <api-key>'
{
  "id": "<string>",
  "agent_name": "<string>",
  "agent_description": "<string>",
  "wallet": {
    "address": "<string>",
    "chain": "<string>"
  },
  "status": "active",
  "metadata": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}
Truy xuất chi tiết đầy đủ của một tác nhân, bao gồm địa chỉ ví, trạng thái, metadata và dấu thời gian tạo.

Tham số Đường dẫn

id
string
bắt buộc
Định danh tác nhân duy nhất (ví dụ: agent_abc123).

Phản hồi

Ví dụ

curl -X GET https://api.agentwallex.com/api/v1/agents/agent_abc123 \
  -H "X-API-Key: awx_your_api_key"
Response
{
  "id": "agent_abc123",
  "agent_name": "research-bot",
  "agent_description": "Market research automation agent",
  "wallet": {
    "address": "0x1234567890abcdef1234567890abcdef12345678",
    "chain": "eip155:84532"
  },
  "status": "active",
  "metadata": "{\"team\":\"growth\"}",
  "created_at": "2025-06-01T10:00:00Z"
}

Ủy quyền

X-API-Key
string
header
bắt buộc

API key authentication. Keys are prefixed with awx_.

Tham số đường dẫn

id
string
bắt buộc

The unique agent identifier (e.g., agent_abc123).

Phản hồi

Agent details.

An AI agent with an MPC-secured wallet.

id
string

Unique agent identifier (e.g., agent_abc123).

agent_name
string

Agent display name.

agent_description
string

Agent description.

wallet
object

An on-chain wallet associated with an agent.

status
enum<string>

Agent status.

Tùy chọn có sẵn:
active,
inactive
metadata
string

JSON-encoded metadata string.

created_at
string<date-time>

ISO 8601 creation timestamp.