ALSORNDocs

Get Agent

Retrieve a single agent by ID, including the full trust record.

GET/agents/{agent_id}

Get a registered agent by ID with the full trust record.

Requires API key authentication

Path Parameters

ParameterTypeRequiredDescription
agent_idstringrequiredThe agent’s unique identifier

Response

Returns the full agent object with an expanded trust record containing scoring details.

Response — 200 OK
{  "id": "agent_7f3k9x2m",  "name": "Trading Agent Alpha",  "description": null,  "fingerprint": "sha256:a1b2c3d4e5f6...",  "environment": "production",  "status": "active",  "authorized_actions": ["execute_trades"],  "spending_limit": 50000,  "currency": "USD",  "org_id": "org_abc123",  "owner_id": "user_xyz789",  "created_at": "2025-01-15T10:30:00Z",  "trust_record": {    "id": "tr_m4n5o6",    "agent_id": "agent_7f3k9x2m",    "score": 785,    "total_tasks": 1240,    "disputes": 3,    "completion_rate": 0.9976,    "tenure_days": 64,    "operator_verified": true,    "last_evaluated": "2025-03-20T08:15:00Z"  }}

Examples

BASH
curl https://api.alsorn.com/agents/agent_7f3k9x2m \  -H "Authorization: Bearer YOUR_API_KEY"