Requests made with a secret
getAudit() returns the requests authenticated with a secret, across every sandbox that used it, newest first:
upstreamStatus from the real service:
Python uses the snake_case names (
sandbox_id, upstream_status, and so on).
Filtering
Narrow to a status class, or page back with thebefore cursor:
"errors" matches every request with a status of 400 or higher. This includes 4xx and 5xx responses from the upstream service, for example a 401 from a provider that rejected the credential. To find the requests the proxy refused or failed itself, keep the events that have an errorCode. Those events have no upstreamStatus.
The audit log keeps the last 7 days. Older rows are dropped on a rolling basis; page the API if you want to keep a longer trail elsewhere.
Sandboxes using a secret
To see where a secret is bound,getSandboxes() lists the live bindings: