Skip to main content

API - workspace, reports and compliance

All paths are relative to https://api.wakora.io/v1/; see the overview for tokens, scopes and errors.

Usage, team, keys, tokens​

MethodEndpointScopeWhat it does
GET/usagereadThe billing axes, live: hosts, sites, APM sites, devices, container groups, RUM views, log volume, flow volume, status pages.
GET/status-pagesreadYour status pages with their public URLs.
GET/teamadminMembers and their roles.
GET/agent-keysadminEnrollment keys with per-key host counts and last use.
POST/agent-keysadminIssue a key: label. The plaintext is in this one answer and never shown again.
DELETE/agent-keys/{id}adminRevoke a key. Hosts already enrolled are not affected; only new registrations with that key stop.
GET/tokensadminThe workspace's API and MCP tokens.
DELETE/tokens/{id}adminRevoke a token.

SLA objectives and reports​

MethodEndpointScopeWhat it does
GET/sloreadSLA objectives with their live 30-day error-budget state.
POST/sloadminSave an objective: id (to edit an existing one), name, kind (host, service or site), ref (a host uuid, uuid/service, or a bare domain), target (90 to 99.999).
POST/slo/{id}/deleteadminDelete an objective.
GET/reports/schedulesreadScheduled report exports.
POST/reports/schedulesadminAdd a schedule: report (digest, sla, capacity), cadence (weekly, monthly), onDay, hour (local to tz), tz (IANA name, default UTC), formats (pdf,csv), recipients.
POST/reports/schedules/{id}/runactSend a schedule right now.
POST/reports/schedules/{id}/deleteadminDelete a schedule.
GET/deliverabilityreadE-mail deliverability per sender domain: SPF, DKIM, DMARC, blocklist status, score.
GET/fleet/avg?days=readPer-host metric averages over N days, the data behind the capacity and idle-host views.

Audit​

MethodEndpointScopeWhat it does
GET/audit?from=&to=&limit=&offset=adminThe audit chain, newest first; limit caps at 500. Every row carries its hash and the previous row's hash.
GET/audit/verifyadminWalk the whole chain server-side and answer whether it is intact.

Both are Business plan and above, like the Audit log tab. Exports you make through the console carry the verification verdict in the file; through the API, call /audit/verify and store the answer next to your export.

Definitions, marketplace, fleet rollout​

MethodEndpointScopeWhat it does
GET/defsreadThe signed definition catalog: versions, match summaries, per-probe previews down to the exact command or query, matched-host counts.
GET/fleet/rolloutreadThe rollout rings with members, versions and state, the latest release, and the workspace version pin.
GET/marketreadThe marketplace catalog with probe summaries and your install state.
GET/market/minereadYour own templates, full definitions included.
GET/market/{id}readOne template with its full definition.
POST/marketadminCreate a template: name, title, descr, def (the definition JSON). Authoring needs Pro and above; names are global and carry the community_ prefix.
POST/market/{id}adminUpdate yours; the version bumps automatically.
POST/market/{id}/publishadminMake a private template visible to the community.
POST/market/{id}/submitadminSubmit a published template for verified review.
POST/market/{id}/installadminInstall a community template for this workspace. Installing an unverified template through the API is as deliberate as clicking through the console warning.
POST/market/{id}/uninstalladminRemove it again.
DELETE/market/{id}adminDelete your template.