Get agent information
curl --request GET \
--url https://api.sandbox.brickken.com/get-agent-info \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sandbox.brickken.com/get-agent-info"
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.sandbox.brickken.com/get-agent-info', 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.sandbox.brickken.com/get-agent-info",
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.sandbox.brickken.com/get-agent-info"
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.sandbox.brickken.com/get-agent-info")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.brickken.com/get-agent-info")
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{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"chainId": "84532",
"ownerWalletAddress": "<string>",
"agentId": "<string>",
"standard": "ERC-8004",
"registryAddress": "<string>",
"agentURI": "<string>",
"metadataCid": "<string>",
"name": "<string>",
"description": "<string>",
"image": "<string>",
"services": [
{}
],
"supportedTrust": [
"<string>"
],
"x402Support": true,
"active": true,
"lifecycleStatus": "<string>",
"status": "<string>",
"actualTxHash": "<string>",
"error": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"aiModelName": "<string>",
"aiModelProvider": "<string>",
"profileRevision": 123,
"registrationFile": {},
"onchainMetadata": {},
"prepareTxId": "<string>"
}Agent Reads
Get Agent Information
Get a complete ERC-8004 agent profile by stored UUID or on-chain ID.
GET
/
get-agent-info
Get agent information
curl --request GET \
--url https://api.sandbox.brickken.com/get-agent-info \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sandbox.brickken.com/get-agent-info"
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.sandbox.brickken.com/get-agent-info', 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.sandbox.brickken.com/get-agent-info",
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.sandbox.brickken.com/get-agent-info"
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.sandbox.brickken.com/get-agent-info")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.brickken.com/get-agent-info")
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{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"chainId": "84532",
"ownerWalletAddress": "<string>",
"agentId": "<string>",
"standard": "ERC-8004",
"registryAddress": "<string>",
"agentURI": "<string>",
"metadataCid": "<string>",
"name": "<string>",
"description": "<string>",
"image": "<string>",
"services": [
{}
],
"supportedTrust": [
"<string>"
],
"x402Support": true,
"active": true,
"lifecycleStatus": "<string>",
"status": "<string>",
"actualTxHash": "<string>",
"error": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"aiModelName": "<string>",
"aiModelProvider": "<string>",
"profileRevision": 123,
"registrationFile": {},
"onchainMetadata": {},
"prepareTxId": "<string>"
}Provide one of these references:
The detail response extends the list summary with
agentUuid; oragentIdtogether withchainId.
0.000001 USDC in x402 mode. API-key access is checked against the API client’s agent scope. For x402, the payer must match the agent’s stored owner wallet.
Client examples
- CLI
- MCP
- SDK
brickken agent info --agent-uuid "$AGENT_UUID" --json
{
"name": "get_agent_info",
"arguments": { "agentUuid": "YOUR_AGENT_UUID" }
}
const agent = await bkn.agent.get({ agentUuid })
// Equivalent on-chain reference:
const sameAgent = await bkn.agent.get({ agentId: '8896', chainId: '84532' })
registrationFile, onchainMetadata, and prepareTxId.Authorizations
apiKeyAuthx402Payment
Response
Complete agent profile.
Example:
"84532"
Pattern:
^0x[a-fA-F0-9]{40}$Example:
"ERC-8004"
Name of the AI model behind the agent.
Provider of the AI model behind the agent.
Revision counter of the stored agent profile.