Skip to content
API referenceList a guardrail's audit log

List a guardrail's audit log

GET/v1/guardrails/{slug}/audit-log

List 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

  • slugstringrequired

    the guardrail's slug

Query parameters

  • organizationstringrequired

    slug 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

200application/json
  • dataobject[]

    The entries on this page.

    Child attributes
    • idstring<uuid>

      The entry's unique id (UUID).

    • guardrail_idstring<uuid>

      Id (UUID) of the guardrail.

    • actionstring

      What happened: CREATE (guardrail created), UPDATE (name, description, enabled or checks changed), ENABLE or DISABLE. Enabling an enabled guardrail, or disabling a disabled one, records nothing.

    • actor_idstring

      Identifier of the caller (user or API key) that made the change, or unknown when 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.

NVIDIA Inception Program member

VectorAxis is built by GK Labs, a member of NVIDIA Inception.