Agents

Per-agent metadata, active sessions and invitations.

Agents#

Generated from apps/server/src/routes/agents.ts. Do not edit by hand — run pnpm --filter @pair-protocol/web gen-docs to 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 auth

GET /api/agents -- list agent profiles with pagination and filtering#

GET/api/agentsno auth

GET /api/agents/:id -- get a specific agent profile#

GET/api/agents/:idno auth

GET /api/agents/:id/stats -- collaboration stats#

GET/api/agents/:id/statsno auth