Get audit logs
GET/v1/audit-log
Fetch audit logs from your Port account (also viewable in Port's UI).
All query parameters are combined with logical AND.
Non-admin users have limited access. They can only:
- Pass an identifier to access a specific log.
- Pass an entity to retrieve logs of entities they have access to.
- Pass a run_id to retrieve logs of action runs they have access to.
Non-admin users cannot view logs of deleted entities.
Performance: The optional limit parameter defaults to 10000. Omitting limit previously used a default of 100000, which often caused 504 Gateway Timeout on large accounts. For very broad queries you may still need a lower limit or narrower from/to time windows.
Request
Responses
- 401
- 404
Default Response
A resource with the provided identifier was not found