API referenceREST API v1 reference
Required scope: read:compliance
apiKeyAuthorizationBearer <token>Send the key as Authorization: Bearer plk_live_.... No other header is accepted.
limit?integerPage size.
1 <= value <= 10050cursor?stringThe next_cursor from the previous page. Reuse the same since and until.
since?stringOldest creation time to include (ISO 8601). Values older than your plan's data retention are moved forward, and meta.retention_clamped is true.
date-timeuntil?stringNewest creation time to include (ISO 8601). Defaults to now.
date-timestatus?stringOnly results with this status (passing, failing, warning, not_evaluated).
A page of compliance results.
application/jsondata*array<>next_cursor*string|nullmeta*curl -X GET "https://api.prodgator.io/v1/compliance/results" \ -H "Authorization: Bearer plk_live_YOUR_KEY"{ "data": [ { "id": "string", "org_id": "string", "policy_id": "string", "policy_name": "string", "status": "passing", "details": [ { "rule": "string", "result": "pass", "evidence": "string" } ], "repository": "string", "evaluated_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "next_cursor": "string", "meta": { "since": "2019-08-24T14:15:22Z", "until": "2019-08-24T14:15:22Z", "retention_clamped": true }}