List saved audit-log views for the current admin
/portal/v1/me/audit-viewsReturns every saved audit-log view the calling admin has created, as a { items } collection. Views are user-scoped (no Account or Application in the path) since an admin reuses them across the Accounts they belong to. Each entry carries name, surface (admin or identities), and a filters snapshot in AuditQueryDto shape. Returns an empty array when the admin has saved none.
Authentication
Bearer Token
AuthorizationJWT access token. Never send alongside X-API-Key: a request carrying both is refused.
Responses
application/json
items *AuditViewResponseDto[]
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Returned object
curl -X GET "https://auth.canopy-io.com/portal/v1/me/audit-views" \ -H "Authorization: Bearer $CANOPY_TOKEN"
{ "items": [ { "name": "string", "surface": "admin", "filters": {} } ] }
Tell us how we can improve this guide.