Get Agent Details
Two endpoints retrieve a registry entry: by name (public) or by ID (authenticated).
By Name
GET /api/v1/registry/agent/name/{agent_name} — 🌐 Public
Path Parameters
| Parameter | Description |
|---|---|
agent_name | The agent's slug name |
Examples
- curl
- Python
- JavaScript
curl https://nasiko.dev/api/v1/registry/agent/name/weather-agent
import httpx
response = httpx.get(
"https://nasiko.dev/api/v1/registry/agent/name/weather-agent"
)
agent = response.json()["data"]
const res = await fetch(
"https://nasiko.dev/api/v1/registry/agent/name/weather-agent"
);
const { data } = await res.json();
By ID
GET /api/v1/registry/agent/id/{agent_id} — 🔒 Requires Auth
Path Parameters
| Parameter | Description |
|---|---|
agent_id | The agent's UUID |
Examples
- curl
- Python
- JavaScript
curl https://nasiko.dev/api/v1/registry/agent/id/agent-abc123 \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
import httpx
response = httpx.get(
"https://nasiko.dev/api/v1/registry/agent/id/agent-abc123",
headers={"Authorization": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."},
)
agent = response.json()["data"]
const res = await fetch(
"https://nasiko.dev/api/v1/registry/agent/id/agent-abc123",
{ headers: { Authorization: "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." } }
);
const { data } = await res.json();