Audit
List audit log entries
List audit log entries
Required scopes: audit_logs:read
Example (curl):
curl 'https://api.yardstick.team/v1/audit_log?limit=20' \
-H 'Authorization: Bearer ys_sk_live_…'
Example (TypeScript):
await fetch("https://api.yardstick.team/v1/audit_log?limit=20", {
headers: { Authorization: `Bearer ${process.env.YS_API_KEY}` },
}).then((r) => r.json());
get/v1/audit_log
Request
- Base URL: https://api.yardstick.team
- URL: https://api.yardstick.team/v1/audit_log
- Auth: HTTP bearer
Query parameters
limitinteger
Page size (1-100, default 20).
starting_afterstring
Cursor: id of the last record from the previous page.
Headers
X-Request-Idstring
Optional caller-supplied request identifier. Values must match ^[A-Za-z0-9_-]{1,128}$; a valid value is echoed in the response X-Request-Id header, otherwise the API generates one.
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.