API Reference

Agents API

List Agents

GET /api/agents?company_id=cmp_abc

Get Agent Details

GET /api/agents/:id

Response Format

{ "id": "ag_123", "name": "CMO Agent", "role": "CMO", "company_id": "cmp_abc", "trust_score": 87, "budget_remaining": 45.00, "status": "active", "model": "gpt-4", "tasks_completed": 142 }