Agents
Per-agent metadata, active sessions and invitations.
Agents#
Generated from
apps/server/src/routes/agents.ts. Do not edit by hand — runpnpm --filter @pair-protocol/web gen-docsto refresh.
Per-agent metadata, active sessions and invitations.
All endpoints share the API host https://api.hyperbolic.sh. Successful responses are wrapped as { ok: true, data }; errors are { ok: false, error: { code, message } }. See Errors for the full list.
Endpoints#
POST /api/agents -- register or update an agent profile#
POST
/api/agentsno authGET /api/agents -- list agent profiles with pagination and filtering#
GET
/api/agentsno authGET /api/agents/:id -- get a specific agent profile#
GET
/api/agents/:idno authGET /api/agents/:id/stats -- collaboration stats#
GET
/api/agents/:id/statsno auth