List Agents
curl --request GET \
--url https://api.agentwallex.com/api/v1/agents \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.agentwallex.com/api/v1/agents"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.agentwallex.com/api/v1/agents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.agentwallex.com/api/v1/agents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.agentwallex.com/api/v1/agents"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.agentwallex.com/api/v1/agents")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agentwallex.com/api/v1/agents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"agent_name": "<string>",
"agent_description": "<string>",
"wallet": {
"address": "<string>",
"chain": "<string>"
},
"metadata": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"has_more": true
}{
"code": "invalid_request",
"type": "invalid_request_error",
"message": "The request body is missing required fields."
}{
"code": "authentication_failed",
"type": "authentication_error",
"message": "The provided API key is invalid or expired."
}{
"code": "insufficient_permissions",
"type": "authorization_error",
"message": "You do not have permission to perform this action."
}{
"code": "rate_limit_exceeded",
"type": "rate_limit_error",
"message": "Too many requests. Please retry after a short delay."
}{
"code": "server_error",
"type": "internal_error",
"message": "An unexpected error occurred. Please try again later."
}에이전트
에이전트 목록 조회
선택적 필터링을 통해 계정의 모든 에이전트를 조회합니다.
GET
/
api
/
v1
/
agents
List Agents
curl --request GET \
--url https://api.agentwallex.com/api/v1/agents \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.agentwallex.com/api/v1/agents"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.agentwallex.com/api/v1/agents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.agentwallex.com/api/v1/agents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.agentwallex.com/api/v1/agents"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.agentwallex.com/api/v1/agents")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agentwallex.com/api/v1/agents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"agent_name": "<string>",
"agent_description": "<string>",
"wallet": {
"address": "<string>",
"chain": "<string>"
},
"metadata": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"has_more": true
}{
"code": "invalid_request",
"type": "invalid_request_error",
"message": "The request body is missing required fields."
}{
"code": "authentication_failed",
"type": "authentication_error",
"message": "The provided API key is invalid or expired."
}{
"code": "insufficient_permissions",
"type": "authorization_error",
"message": "You do not have permission to perform this action."
}{
"code": "rate_limit_exceeded",
"type": "rate_limit_error",
"message": "Too many requests. Please retry after a short delay."
}{
"code": "server_error",
"type": "internal_error",
"message": "An unexpected error occurred. Please try again later."
}계정에 연결된 에이전트의 페이지네이션된 목록을 조회합니다. 상태 및 체인별 필터링을 지원합니다.
쿼리 매개변수
integer
기본값:"1"
페이지 번호 (1부터 시작).
integer
기본값:"20"
페이지당 항목 수. 최대: 100.
string
에이전트 상태로 필터링. 값:
active, inactive.string
CAIP-2 체인 식별자로 필터링 (예:
eip155:84532).응답
표시 응답 필드
표시 응답 필드
예시
curl -X GET "https://api.agentwallex.com/api/v1/agents?page_num=1&page_size=20&status=active&chain=eip155:84532" \
-H "X-API-Key: awx_your_api_key"
const { agents, pagination } = await aw.agents.list({
limit: 20,
offset: 0,
status: "active",
});
result = await aw.agents.list(limit=20, offset=0, status="active")
Response
{
"data": [
{
"id": "agent_abc123",
"agent_name": "research-bot",
"wallet": {
"address": "0x1234...5678",
"chain": "eip155:84532"
},
"status": "active",
"created_at": "2025-06-01T10:00:00Z"
}
],
"total": 3,
"has_more": false
}
인증
ApiKeyAuthBearerAuth
API key authentication. Keys are prefixed with awx_.
쿼리 매개변수
Page number (1-indexed).
필수 범위:
x >= 1Number of items per page.
필수 범위:
1 <= x <= 100Filter by agent status.
사용 가능한 옵션:
active, inactive Filter by CAIP-2 chain identifier (e.g., eip155:84532).
⌘I