PRODUCT DOCUMENTATION

API Reference

A practical index of the versioned HTTP API, its protected endpoint groups and the generated Swagger reference.

REVIEWED 28 NOVEMBER 2026 · ALPHA-1.0.0 · DOCUMENTED CAPABILITIES & LIMITS

Based on the Civernode alpha-1.0.0 documentation, reviewed 28 November 2026. Version and deployment settings affect availability.

01 / BASE PATH AND AUTHENTICATION

Base path and authentication

Versioned routes use /api/v1/. Protected endpoints require a Keycloak access token in Authorization: Bearer …. Authorization is enforced per endpoint; the summaries below are selective, not an exhaustive authorization matrix.

In local development, Swagger is documented at http://localhost:3001/api. Use the running deployment’s API host and its Swagger path where enabled.

02 / ENDPOINT GROUPS

Endpoint groups

AreaRepresentative routesAccess / behavior
Health & identityGET /api/v1/health
GET /api/v1/auth/me
Health is public; identity requires a Bearer token.
Setup/api/v1/setup/*Status for authenticated users; organization/site/complete/reopen writes require ADMIN.
IPAM/sites, /vlans, /subnets, /ip-addresses, /vrfsProtected and scope-checked; writes generally require ADMIN or NETWORK_OPERATOR.
Discovery/discovery/jobs, /discovery/results/:id/reviewJobs enqueue in Redis BullMQ; worker required. Results are reviewed before promotion.
Infrastructure/devices, /interfaces, /racks, /assetsRole and resource scopes apply; device deletion archives as RETIRED.
AuditGET /api/v1/audit/eventsADMIN or AUDITOR.
SNMPGET /api/v1/snmp/devices/:deviceId
GET .../lldp-observations, GET .../topology-proposals
POST /api/v1/snmp/topology-proposals/:id/apply|reject|undo
All listed reads require authentication and device scope; reads allow ADMIN, NETWORK_OPERATOR, AUDITOR or READ_ONLY. Proposal writes allow ADMIN or NETWORK_OPERATOR.
03 / DASHBOARD, SETTINGS AND WORKSPACE ENDPOINTS

Dashboard, settings and workspace endpoints

Other implemented API groups include dashboard workspaces/layout and operational summaries; inventory-quality findings/summary; application-link catalog reads and admin-only create/update/delete/availability checks; settings for organization, discovery, SNMP listeners, audit policy, users, role requests and access groups; and the authenticated profile role-request endpoints.

Inventory-quality assignment, acknowledgement and snooze are restricted to ADMIN, NETWORK_OPERATOR or SYSTEMS_OPERATOR; administrator reconciliation is ADMIN-only. Role-request submission is authenticated and administrator decisions are ADMIN-only. Settings controls have endpoint-specific role gates, so do not infer a blanket permission rule from this overview.

Example paths: /api/v1/dashboard/workspaces, /api/v1/dashboard/layout, /api/v1/inventory-quality/findings, /api/v1/application-links, /api/v1/settings/role-requests/me.

04 / PAGINATION AND VALIDATION

Pagination and validation

Documented list endpoints commonly accept search, page and pageSize and return paged items with totals. IP address search also supports source filtering. The API validates IPv4 subnet membership and normalizes IPv4 CIDR input.

Endpoint paths and role requirements evolve with the application. Use the generated Swagger spec and current source documentation for the exact request schema and response contract.

Based on the Civernode alpha-1.0.0 README and docs/setup.md, api.md, architecture.md, security.md, troubleshooting.md and SNMP review; checked 28 November 2026. Source project