Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: AI GNT Roi API
version: 0.1.0
servers:
- url: https://api.gntai.dev
description: Production
tags:
- name: roi
paths:
/v1/roi/summary:
get:
tags:
- roi
summary: Get Roi Summary
description: 'This org''s ROI numbers (rules served, actions checked,
blocked/needs_human counts, gap count, coverage growth) — the metrics
that make the case gnt is worth keeping installed, the same
aggregation workers/tasks_digest.py''s weekly email sends
(gnt.roi_summary.build_roi_summary), surfaced here for `gnt status` —
see that CLI command for how this renders. Current 7-day window vs.
the 7 days before it, so a customer sees the number AND whether it''s
moving, not just a point-in-time total.'
operationId: get_roi_summary_v1_roi_summary_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
components:
securitySchemes:
HTTPBearer:
type: http
scheme: bearer