List a guardrail's audit log
/v1/guardrails/{slug}/audit-logList a guardrail's audit log.
Returns the changes made to the guardrail (create, update, enable, disable), newest first. Requires membership of the guardrail's workspace. 404 when the guardrail does not exist.
Authorization
AuthorizationBearer va_A platform API key (
va_...), created under Settings > API keys. Scoped to an organization or one workspace, with an admin or member role. Used by the management API.
Path parameters
slugstringrequiredthe guardrail's slug
Query parameters
organizationstringrequiredslug of the organization that owns it
pageinteger<int32>page number, from 1. Default 1
page_sizeinteger<int32>entries per page. Default 50, at most 200
Responses
dataobject[]The entries on this page.
Child attributes
idstring<uuid>The entry's unique id (UUID).
guardrail_idstring<uuid>Id (UUID) of the guardrail.
actionstringWhat happened:
CREATE(guardrail created),UPDATE(name, description, enabled or checks changed),ENABLEorDISABLE. Enabling an enabled guardrail, or disabling a disabled one, records nothing.actor_idstringIdentifier of the caller (user or API key) that made the change, or
unknownwhen the caller could not be identified.detailmap<string, object>Not returned at present: always null.
created_atstring<date-time>When the change was made (ISO 8601).
pageinteger<int32>The page number, from 1.
page_sizeinteger<int32>Entries per page.
totalinteger<int64>Number of entries in the whole log.