<@ULVA73B9P> is there a way to access the audit lo...
# ask-marvin
g
@Marvin is there a way to access the audit log programmatically or is it only available through the UI?
m
It appears that the Prefect UI has undergone changes and the documentation has been updated accordingly, though detailed information about the changes to the audit log access is not directly available here. There is also mention of an
API_ERROR
with a GraphQL query targeting the log, which does include a field
is_audit_log
. This indicates that there is a programmatic way to access log data, which could potentially include audit logs, using GraphQL queries in Prefect. Therefore, to access the audit log programmatically, you might use GraphQL queries via Prefect's API, but for specific guidance on how to do this with the latest version, I'd have to refer to the current Prefect documentation or support resources – which my system access does not include presently.