API Reference
Base URL: https://agent-api.degov.ai. These are the 11 public operations in the current V2 contract. OpenAPI supplies the complete typed contract and each paid operation's x-payment-info.
| Method | Path | Access | Reference |
|---|---|---|---|
| GET | /v2/daos |
Free | DAOs |
| GET | /v2/daos/{daoId} |
Free | DAOs |
| GET | /v2/daos/{daoId}/participants |
Plus | Participants & Voters |
| GET | /v2/proposals |
Standard | Proposals |
| POST | /v2/proposals/resolve |
Standard | Proposals |
| GET | /v2/proposals/{proposalId} |
Plus | Proposals |
| GET | /v2/proposals/{proposalId}/vote-summary |
Plus | Proposals |
| GET | /v2/proposals/{proposalId}/votes |
Plus | Proposals |
| GET | /v2/forum-topics |
Standard | Forum topics |
| GET | /v2/voters/{voterId} |
Plus | Participants & Voters |
| GET | /v2/voters/{voterId}/votes |
Plus | Participants & Voters |
The V2 OpenAPI alias serves the same specification. Only use documented operations; the public contract does not advertise application or operational routes.
- Inputs are strict: unknown fields, unsupported sort values, and invalid ranges return a validation error.
- All lists use
limitfrom 1 to 100 (default 25) and opaque cursors. - See response envelopes, pagination, and errors.
- A generated client must handle x402 or an issued partner token for paid resources; an OpenAPI import alone does not authorize payment.