API reference/Endpoints
Issues
GET /issues
Aggregated, read-only view of the tenant's open issues: it gathers 6 sources into a single feed. This endpoint has no POST/PUT/DELETE: each item is always handled in its source module (Gaps, Incidents, etc.), never from here.
Authentication: browser session or x-api-key: this endpoint accepts both, unlike most endpoints in this section, which only accept x-api-key.
Query params:
| Param | Type | Description | |||||
|---|---|---|---|---|---|---|---|
source |
string | Filter by source: GAP |
INTEGRATION_FINDING |
AUDIT_FINDING |
CAPA |
CONTROL_TEST |
INCIDENT |
severity |
string | Filter by normalized severity: LOW |
MEDIUM |
HIGH |
CRITICAL |
||
entityId |
string | Filter by entity: only applies to the GAP, CONTROL_TEST and INCIDENT sources (the others have no entityId in the schema) |
|||||
limit |
int | Max number of items per source (default 100, max 500): not a global limit on data |
Response:
{
"data": [
{
"source": "GAP",
"sourceId": "gap_abc123",
"title": "Falta MFA em contas administrativas",
"severity": "CRITICAL",
"status": "OPEN",
"dueDate": null,
"href": "/dashboard/gaps/gap_abc123",
"createdAt": "2026-08-01T09:00:00Z"
},
{
"source": "CONTROL_TEST",
"sourceId": "ct_xyz789",
"title": "Verificação de MFA em contas privilegiadas",
"severity": "HIGH",
"status": "FAIL",
"dueDate": "2026-09-01T00:00:00Z",
"href": "/dashboard/control-tests",
"createdAt": "2026-08-05T06:00:00Z"
}
],
"meta": {
"total": 2,
"counts": {
"total": 47,
"bySource": {
"GAP": 12,
"INTEGRATION_FINDING": 20,
"AUDIT_FINDING": 3,
"CAPA": 5,
"CONTROL_TEST": 4,
"INCIDENT": 3
},
"bySeverity": { "LOW": 8, "MEDIUM": 15, "HIGH": 18, "CRITICAL": 6 }
}
}
}
Notes:
meta.totalreflects the number of items returned indata(subject to the per-sourcelimit). For the real, unlimited totals, usemeta.counts.totalandmeta.counts.bySource, calculated with directgroupBy/countqueries on the database.datais ordered by severity desc and, within the same severity, bycreatedAtdesc.- Severity normalization per source:
GAP/INTEGRATION_FINDING(RiskLevelscale,INFO→LOW),CAPA(Priorityscale, 1:1 mapping),AUDIT_FINDING(MAJOR→HIGH,MINOR→MEDIUM,OBSERVATION→LOW, no equivalent ofCRITICAL),CONTROL_TEST(alwaysHIGH: a control failure is always treated as severe),INCIDENT(IncidentSeverityscale, 1:1 mapping). - Rate limit: 60 req/min per tenant (included in the generic read group: see the Rate Limits section).
Coming soonThis page will be available soon.