Skip to main content
Security & Audit/ZMetis Audit

GetZmetisAudit

Get one zmetis audit event subject to server-side row authorization

GET/api/v1/zmetis/audits/{uuid}

Operation ID

GetZmetisAudit

Since

1.2.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

application/json

Path Parameters

  • uuid
    StringRequired

    UUID of the target resource

Responses

200 OK

A successful response.

Content-Type: application/json

Response body root type: object

  • uuid
    String

    Unique identifier of the audit event.

    Example: value

  • requestId
    String

    Request id for this resource

    Example: value

  • sourceModule
    String

    Source module for this resource

    Example: value

  • action
    String

    Action for this resource

    Example: value

  • rpcMethod
    String

    Rpc method for this resource

    Example: value

  • result
    String

    Audit result: running for an active asynchronous attempt, success, failure, partial, or denied

    Example: running

  • resourceType
    String

    Resource type for this resource

    Example: value

  • resourceUuid
    String

    Resource uuid for this resource

    Example: value

  • resourceName
    String

    Resource name for this resource

    Example: value

  • actorId
    String

    Actor id for this resource

    Example: value

  • actorName
    String

    Actor name for this resource

    Example: value

  • clientIp
    String

    Client ip for this resource

    Example: value

  • errorCode
    String

    Error code for this resource

    Example: value

  • errorMessage
    String

    Error message for this resource

    Example: value

  • metadata
    Object

    Metadata key-value pairs

  • startedAt
    String

    Started at for this resource

    Example: 2026-01-15T08:00:00Z

    {"format":"date-time"}

  • finishedAt
    String

    Finished at for this resource

    Example: 2026-01-15T08:00:00Z

    {"format":"date-time"}

  • durationMs
    String

    Duration ms for this resource

    Example: 10

    {"format":"int64"}

  • createdAt
    String

    Created at for this resource

    Example: 2026-01-15T08:00:00Z

    {"format":"date-time"}

  • sourceEvent
    Object

    Original source facts; absent for legacy best-effort audit records. This does not change the UUID used by GetAudit or row authorization.

    • sourceSystem
      String

      Source system for this resource

      Example: value

    • record
      Object

      Record for this resource

      • eventId
        String

        Event id for this resource

        Example: value

      • requestId
        String

        Request id for this resource

        Example: value

      • timestamp
        String

        Timestamp for this resource

        Example: 2026-01-15T08:00:00Z

        {"format":"date-time"}

      • actorType
        String

        Actor type for this resource

        Example: value

      • tenantId
        String

        Tenant id for this resource

        Example: value

      • userId
        String

        User id for this resource

        Example: value

      • username
        String

        Username for this resource

        Example: value

      • userDisplayName
        String

        User display name for this resource

        Example: value

      • sourceIp
        String

        Source ip for this resource

        Example: value

      • userAgent
        String

        User agent for this resource

        Example: value

      • apiPath
        String

        Api path for this resource

        Example: value

      • httpMethod
        String

        Http method for this resource

        Example: value

      • httpStatus
        Integer

        Absent when the source did not observe the HTTP response status.

        Example: 10

        {"format":"int32"}

      • operation
        String

        Operation for this resource

        Example: value

      • action
        String

        Action for this resource

        Example: value

      • module
        String

        Module for this resource

        Example: value

      • resourceType
        String

        Resource type for this resource

        Example: value

      • resourceId
        String

        Resource id for this resource

        Example: value

      • severity
        String

        Severity for this resource

        Example: value

      • result
        String

        Result for this resource

        Example: value

      • responseTimeMs
        String

        Absent when request timing is unknown; an explicit zero is a known duration.

        Example: 10

        {"format":"int64"}

      • detail
        String

        Detail for this resource

        Example: value

      • errorDetailJson
        String

        Error detail json for this resource

        Example: value

      • decisionDetailJson
        String

        Decision detail json for this resource

        Example: value

  • Change Time

    AddedResponse fields actorType, apiPath, decisionDetailJson...
    View API
  • Change Time

    DeletedResponse fields actorType, apiPath, decisionDetailJson...
    View API
  • Change Time

    AddedResponse fields actorType, apiPath, decisionDetailJson...
    View API