Get compliance status for an API.
Returns the overall governance compliance status for the given API and a per-ruleset breakdown. Each ruleset entry includes the evaluation status, compliance verdict, violation counts, and a compliance level score (0–100). The ruleset name is resolved from tyk_rulesets. Detailed violation lists are served separately by GET /api/governance/evaluation-details/. Scoped to the caller’s org.
Authorizations
The Tyk Dashboard API Access Credentials
Path Parameters
The API's api_id.
Response
Compliance stats fetched.
Governance compliance summary for one API. Returned by GET /api/governance/apis/{apiID}/compliance.
compliant = all completed rulesets have zero errors. non_compliant = at least one completed ruleset has error_count > 0. in_process = no failing completed ruleset, but at least one evaluation is still running. not_evaluated = no records exist, or all evaluations failed.
compliant, non_compliant, in_process, not_evaluated