Qlik Sense Audits API

The audits API from Qlik Sense — 7 operation(s) for audits.

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/audits List recent audit events · List recent audit events #
Ask an LLM
“Who did what in my Qlik tenant over the last few weeks?”
“Can I filter audit events by user or event type?”
Tell an agent
List recent audit events.
Show audit events of type {eventType} by user {userId}.
GET /api/v1/audits/{id} Get an audit event · Get a specific audit event #
Ask an LLM
“How do I see the full details of one audit event?”
“What was recorded in a particular audit entry?”
Tell an agent
Get audit event {id}.
Show me the details of audit entry {id}.
POST /api/v1/audits/actions/fetch-consumption-app Export the consumption usage app · Export consumption app #
Ask an LLM
“How do I get a usage report app for my capacity subscription?”
“Who is allowed to export the consumption QVF?”
Tell an agent
Export the consumption app for my tenant.
Download the QVF with subscription usage data.
GET /api/v1/audits/archive List archived audit events for a date · List archived audit events #
Ask an LLM
“Where can I find audit events older than 90 days?”
“Can I pull archived audit logs for a specific day?”
Tell an agent
Get archived audit events for {date}.
Retrieve the long-term audit archive for day {date}.
GET /api/v1/audits/settings Get audit service settings · Get server configuration options #
Ask an LLM
“How is the audit service configured on my tenant?”
“What configuration options does the audit server run with?”
Tell an agent
Show the audit service configuration.
Get the audit server settings.
GET /api/v1/audits/sources List audit event sources · List possible event sources #
Ask an LLM
“Which services can produce audit events?”
“What event sources can I filter audits on?”
Tell an agent
List the possible audit event sources.
Show which sources emit audit events here.
GET /api/v1/audits/types List audit event types · List possible event types #
Ask an LLM
“What kinds of audit events can occur in my tenant?”
“Which event types are available for audit filtering?”
Tell an agent
List the possible audit event types.
Show every audit event type for this tenant.

Documentation

📖
Documentation
https://qlik.dev/apis/rest/analytics/apps/
📖
APIReference
https://qlik.dev/apis/rest/analytics/apps/
📖
Documentation
https://qlik.dev/apis/rest/analytics/change-stores/
📖
APIReference
https://qlik.dev/apis/rest/analytics/change-stores/
📖
Documentation
https://qlik.dev/apis/rest/analytics/discovery-agent/adaptive-cards/
📖
APIReference
https://qlik.dev/apis/rest/analytics/discovery-agent/adaptive-cards/
📖
Documentation
https://qlik.dev/apis/rest/analytics/odag-apps/
📖
APIReference
https://qlik.dev/apis/rest/analytics/odag-apps/
📖
Documentation
https://qlik.dev/apis/rest/analytics/odag-links/
📖
APIReference
https://qlik.dev/apis/rest/analytics/odag-links/
📖
Documentation
https://qlik.dev/apis/rest/analytics/odag-requests/
📖
APIReference
https://qlik.dev/apis/rest/analytics/odag-requests/
📖
Documentation
https://qlik.dev/apis/rest/analytics/odag-settings/
📖
APIReference
https://qlik.dev/apis/rest/analytics/odag-settings/
📖
Documentation
https://qlik.dev/apis/rest/api-keys/
📖
APIReference
https://qlik.dev/apis/rest/api-keys/
📖
Documentation
https://qlik.dev/apis/rest/apps/
📖
APIReference
https://qlik.dev/apis/rest/apps/
📖
Documentation
https://qlik.dev/apis/rest/assistants/
📖
APIReference
https://qlik.dev/apis/rest/assistants/
📖
Documentation
https://qlik.dev/apis/rest/audits/
📖
APIReference
https://qlik.dev/apis/rest/audits/
📖
Documentation
https://qlik.dev/apis/rest/automation-connections/
📖
APIReference
https://qlik.dev/apis/rest/automation-connections/
📖
Documentation
https://qlik.dev/apis/rest/automation-connectors/
📖
APIReference
https://qlik.dev/apis/rest/automation-connectors/
📖
Documentation
https://qlik.dev/apis/rest/automations/
📖
APIReference
https://qlik.dev/apis/rest/automations/
📖
Documentation
https://qlik.dev/apis/rest/automl-deployments/
📖
APIReference
https://qlik.dev/apis/rest/automl-deployments/
📖
Documentation
https://qlik.dev/apis/rest/automl-predictions/
📖
APIReference
https://qlik.dev/apis/rest/automl-predictions/
📖
Documentation
https://qlik.dev/apis/rest/banners/
📖
APIReference
https://qlik.dev/apis/rest/banners/
📖
Documentation
https://qlik.dev/apis/rest/brands/
📖
APIReference
https://qlik.dev/apis/rest/brands/
📖
Documentation
https://qlik.dev/apis/rest/collections/
📖
APIReference
https://qlik.dev/apis/rest/collections/
📖
Documentation
https://qlik.dev/apis/rest/conditions/
📖
APIReference
https://qlik.dev/apis/rest/conditions/
📖
Documentation
https://qlik.dev/apis/rest/consumption/
📖
APIReference
https://qlik.dev/apis/rest/consumption/
📖
Documentation
https://qlik.dev/apis/rest/core/auth-settings/
📖
APIReference
https://qlik.dev/apis/rest/core/auth-settings/
📖
Documentation
https://qlik.dev/apis/rest/core/ip-policies/
📖
APIReference
https://qlik.dev/apis/rest/core/ip-policies/
📖
Documentation
https://qlik.dev/apis/rest/csp-origins/
📖
APIReference
https://qlik.dev/apis/rest/csp-origins/
📖
Documentation
https://qlik.dev/apis/rest/csrf-token/
📖
APIReference
https://qlik.dev/apis/rest/csrf-token/
📖
Documentation
https://qlik.dev/apis/rest/data-alerts/
📖
APIReference
https://qlik.dev/apis/rest/data-alerts/
📖
Documentation
https://qlik.dev/apis/rest/data-assets/
📖
APIReference
https://qlik.dev/apis/rest/data-assets/
📖
Documentation
https://qlik.dev/apis/rest/data-connections/
📖
APIReference
https://qlik.dev/apis/rest/data-connections/
📖
Documentation
https://qlik.dev/apis/rest/data-credentials/
📖
APIReference
https://qlik.dev/apis/rest/data-credentials/
📖
Documentation
https://qlik.dev/apis/rest/data-files/
📖
APIReference
https://qlik.dev/apis/rest/data-files/
📖
Documentation
https://qlik.dev/apis/rest/data-governance/data-products/
📖
APIReference
https://qlik.dev/apis/rest/data-governance/data-products/
📖
Documentation
https://qlik.dev/apis/rest/data-governance/data-qualities/
📖
APIReference
https://qlik.dev/apis/rest/data-governance/data-qualities/
📖
Documentation
https://qlik.dev/apis/rest/data-governance/trust-scores/
📖
APIReference
https://qlik.dev/apis/rest/data-governance/trust-scores/
📖
Documentation
https://qlik.dev/apis/rest/data-qualities/
📖
APIReference
https://qlik.dev/apis/rest/data-qualities/
📖
Documentation
https://qlik.dev/apis/rest/data-sets/
📖
APIReference
https://qlik.dev/apis/rest/data-sets/
📖
Documentation
https://qlik.dev/apis/rest/data-sources/
📖
APIReference
https://qlik.dev/apis/rest/data-sources/
📖
Documentation
https://qlik.dev/apis/rest/data-stores/
📖
APIReference
https://qlik.dev/apis/rest/data-stores/
📖
Documentation
https://qlik.dev/apis/rest/di-projects/
📖
APIReference
https://qlik.dev/apis/rest/di-projects/
📖
Documentation
https://qlik.dev/apis/rest/direct-access-agents/
📖
APIReference
https://qlik.dev/apis/rest/direct-access-agents/
📖
Documentation
https://qlik.dev/apis/rest/encryption/
📖
APIReference
https://qlik.dev/apis/rest/encryption/
📖
Documentation
https://qlik.dev/apis/rest/extensions/
📖
APIReference
https://qlik.dev/apis/rest/extensions/
📖
Documentation
https://qlik.dev/apis/rest/glossaries/
📖
APIReference
https://qlik.dev/apis/rest/glossaries/
📖
Documentation
https://qlik.dev/apis/rest/groups/
📖
APIReference
https://qlik.dev/apis/rest/groups/
📖
Documentation
https://qlik.dev/apis/rest/identity-providers/
📖
APIReference
https://qlik.dev/apis/rest/identity-providers/
📖
Documentation
https://qlik.dev/apis/rest/items/
📖
APIReference
https://qlik.dev/apis/rest/items/
📖
Documentation
https://qlik.dev/apis/rest/knowledgebases/
📖
APIReference
https://qlik.dev/apis/rest/knowledgebases/
📖
Documentation
https://qlik.dev/apis/rest/licenses/
📖
APIReference
https://qlik.dev/apis/rest/licenses/
📖
Documentation
https://qlik.dev/apis/rest/lineage-graphs/
📖
APIReference
https://qlik.dev/apis/rest/lineage-graphs/
📖
Documentation
https://qlik.dev/apis/rest/login/
📖
APIReference
https://qlik.dev/apis/rest/login/
📖
Documentation
https://qlik.dev/apis/rest/ml/
📖
APIReference
https://qlik.dev/apis/rest/ml/
📖
Documentation
https://qlik.dev/apis/rest/notes/
📖
APIReference
https://qlik.dev/apis/rest/notes/
📖
Documentation
https://qlik.dev/apis/rest/notifications/
📖
APIReference
https://qlik.dev/apis/rest/notifications/
📖
Documentation
https://qlik.dev/apis/rest/oauth-clients/
📖
APIReference
https://qlik.dev/apis/rest/oauth-clients/
📖
Documentation
https://qlik.dev/apis/rest/oauth-tokens/
📖
APIReference
https://qlik.dev/apis/rest/oauth-tokens/
📖
Documentation
https://qlik.dev/apis/rest/questions/
📖
APIReference
https://qlik.dev/apis/rest/questions/
📖
Documentation
https://qlik.dev/apis/rest/quotas/
📖
APIReference
https://qlik.dev/apis/rest/quotas/
📖
Documentation
https://qlik.dev/apis/rest/reload-tasks/
📖
APIReference
https://qlik.dev/apis/rest/reload-tasks/
📖
Documentation
https://qlik.dev/apis/rest/reloads/
📖
APIReference
https://qlik.dev/apis/rest/reloads/
📖
Documentation
https://qlik.dev/apis/rest/report-templates/
📖
APIReference
https://qlik.dev/apis/rest/report-templates/
📖
Documentation
https://qlik.dev/apis/rest/reports/
📖
APIReference
https://qlik.dev/apis/rest/reports/
📖
Documentation
https://qlik.dev/apis/rest/roles/
📖
APIReference
https://qlik.dev/apis/rest/roles/
📖
Documentation
https://qlik.dev/apis/rest/scheduling/tasks/
📖
APIReference
https://qlik.dev/apis/rest/scheduling/tasks/
📖
Documentation
https://qlik.dev/apis/rest/sharing-tasks/
📖
APIReference
https://qlik.dev/apis/rest/sharing-tasks/
📖
Documentation
https://qlik.dev/apis/rest/spaces/
📖
APIReference
https://qlik.dev/apis/rest/spaces/
📖
Documentation
https://qlik.dev/apis/rest/tasks/
📖
APIReference
https://qlik.dev/apis/rest/tasks/
📖
Documentation
https://qlik.dev/apis/rest/temp-contents/
📖
APIReference
https://qlik.dev/apis/rest/temp-contents/
📖
Documentation
https://qlik.dev/apis/rest/tenant-settings/
📖
APIReference
https://qlik.dev/apis/rest/tenant-settings/
📖
Documentation
https://qlik.dev/apis/rest/tenants/
📖
APIReference
https://qlik.dev/apis/rest/tenants/
📖
Documentation
https://qlik.dev/apis/rest/themes/
📖
APIReference
https://qlik.dev/apis/rest/themes/
📖
Documentation
https://qlik.dev/apis/rest/transports/
📖
APIReference
https://qlik.dev/apis/rest/transports/
📖
Documentation
https://qlik.dev/apis/rest/ui-config/
📖
APIReference
https://qlik.dev/apis/rest/ui-config/
📖
Documentation
https://qlik.dev/apis/rest/users/
📖
APIReference
https://qlik.dev/apis/rest/users/
📖
Documentation
https://qlik.dev/apis/rest/web-integrations/
📖
APIReference
https://qlik.dev/apis/rest/web-integrations/
📖
Documentation
https://qlik.dev/apis/rest/web-notifications/
📖
APIReference
https://qlik.dev/apis/rest/web-notifications/
📖
Documentation
https://qlik.dev/apis/rest/webhooks/
📖
APIReference
https://qlik.dev/apis/rest/webhooks/
📖
Documentation
https://qlik.dev/apis/rest/workflows/automation-connections/
📖
APIReference
https://qlik.dev/apis/rest/workflows/automation-connections/
📖
Documentation
https://qlik.dev/apis/rest/workflows/automation-connectors/
📖
APIReference
https://qlik.dev/apis/rest/workflows/automation-connectors/
📖
Documentation
https://qlik.dev/apis/rest/workflows/automations/
📖
APIReference
https://qlik.dev/apis/rest/workflows/automations/
📖
Documentation
https://qlik.dev/apis/rest
📖
Authentication
https://qlik.dev/authenticate

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/qliksense:qliksense-audits-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

qliksense-audits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Audits API
  version: ''
servers:
- url: https://{tenant}.{region}.qlikcloud.com
  variables:
    region:
      default: us
      description: The region the tenant is hosted in
    tenant:
      default: your-tenant
      description: Name of the tenant that will be called
tags:
- name: Audits
paths:
  /api/v1/audits:
    get:
      tags:
      - Audits
      summary: List recent audit events
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetResult'
          description: OK Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not authorized.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      parameters:
      - in: query
        name: eventTime
        schema:
          type: string
          example: 2021-07-14T18:41:15.00Z/2021-07-14T18:41:15.99Z
          pattern: YYYY-MM-DDThh:mm:ss.sssZ/YYYY-MM-DDThh:mm:ss.sssZ
        description: The start/end time interval formatted in ISO 8601 to search by eventTime. For example, "?eventTime=2021-07-14T18:41:15.00Z/2021-07-14T18:41:15.99Z".
      - in: query
        name: eventType
        schema:
          type: string
        description: The case-sensitive string used to search by eventType. Retrieve a list of possible eventTypes with `/v1/audits/types`.
      - in: query
        name: id
        schema:
          type: string
        description: The comma separated list of audit unique identifiers.
      - in: query
        name: limit
        schema:
          type: integer
          format: int64
          default: 10
          maximum: 100
          minimum: 1
        description: The maximum number of resources to return for a request.
      - in: query
        name: next
        schema:
          type: string
        description: The cursor to the next page of resources. Provide either the next or prev cursor, but not both.
      - in: query
        name: prev
        schema:
          type: string
        description: The cursor to the previous page of resources. Provide either the next or prev cursor, but not both.
      - in: query
        name: sort
        schema:
          type: string
          default: -eventTime
        description: The property of a resource to sort on (default sort is -eventTime). The supported properties are source, eventType, and eventTime. A property must be prefixed by + or - to indicate ascending or descending sort order respectively.
      - in: query
        name: source
        schema:
          type: string
          example: com.qlik/licenses
        description: The case-sensitive string used to search by source. Retrieve a list of possible sources with `/v1/audits/sources`.
      - in: query
        name: userId
        schema:
          type: string
        description: The case-sensitive string used to search by userId.
      - in: header
        name: Authorization
        schema:
          type: string
        required: true
        description: The JWT used for authentication. Send the JWT in the AuthRequest header using the Bearer schema.
      description: Retrieves list of events for subscribed services for your tenant. Stores events for 90 days, after which they can be accessed via `/v1/audits/archive`.
      operationId: audits
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: special
        limit: 1000
  /api/v1/audits/{id}:
    get:
      tags:
      - Audits
      summary: Get a specific audit event
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetByIDResult'
          description: OK Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not authorized.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      parameters:
      - in: path
        name: id
        schema:
          type: string
        required: true
        description: The audit item's unique identifier.
      - in: header
        name: Authorization
        schema:
          type: string
        required: true
        description: The JWT used for authentication. Send the JWT in the AuthRequest header using the Bearer schema.
      description: Finds and returns a specific audit events for the given event ID.
      operationId: audit
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: special
        limit: 1000
  /api/v1/audits/actions/fetch-consumption-app:
    post:
      tags:
      - Audits
      summary: Export consumption app
      responses:
        '200':
          content:
            '*/*':
              schema:
                type: string
                format: binary
          description: OK Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not authorized.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Forbidden.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      parameters:
      - in: header
        name: Authorization
        schema:
          type: string
        required: true
        description: The JWT used for authentication. Send the JWT in the AuthRequest header using the Bearer schema.
      description: Returns a Qlik Sense application (QVF file) containing usage data for the tenant's subscription. Requesting user must be assigned the `TenantAdmin` role. Available only for Capacity subscriptions. Consumption report is updated once per day.
      operationId: fetch-consumption-app
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: '2'
        limit: 100
  /api/v1/audits/archive:
    get:
      tags:
      - Audits
      summary: List archived audit events
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetArchiveResult'
          description: OK Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not authorized.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      parameters:
      - in: query
        name: date
        schema:
          type: string
          format: date
          example: '2020-02-20'
          pattern: YYYY-MM-DD
        required: true
        description: Date to be used as filter and criteria during extraction.
        allowEmptyValue: false
      - in: header
        name: Authorization
        schema:
          type: string
        required: true
        description: The JWT is used for authentication. Send the JWT in the AuthRequest header using the Bearer schema.
      description: 'Retrieves audit events from long-term storage. Returns all archived audit events for the specified date and tenant, formatted as a JSON array.

        Archived events are retained for the full lifetime of the tenant, and are not removed or size-limited.'
      operationId: archive
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: special
        limit: 1000
  /api/v1/audits/settings:
    get:
      tags:
      - Audits
      summary: Get server configuration options
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetSettingsResult'
          description: OK Response
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not authorized.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      parameters:
      - in: header
        name: Authorization
        schema:
          type: string
        required: true
        description: The JWT used for authentication. Send the JWT in the AuthRequest header using the Bearer schema.
      description: Returns the server configuration options. It includes options that represent the server configuration state and parameters that were used to run the server with certain functionality.
      operationId: getSettings
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: special
        limit: 1000
  /api/v1/audits/sources:
    get:
      tags:
      - Audits
      summary: List possible event sources
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetObjectsResult'
          description: OK Response
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not authorized.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      parameters:
      - in: header
        name: Authorization
        schema:
          type: string
        required: true
        description: The JWT used for authentication. Send the JWT in the AuthRequest header using the Bearer schema.
      description: Finds and returns the list of possible event sources for this tenant.
      operationId: sources
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: special
        limit: 1000
  /api/v1/audits/types:
    get:
      tags:
      - Audits
      summary: List possible event types
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetObjectsResult'
          description: OK Response
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not authorized.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
      parameters:
      - in: header
        name: Authorization
        schema:
          type: string
        required: true
        description: The JWT used for authentication. Send the JWT in the AuthRequest header using the Bearer schema.
      description: Finds and returns the list of possible event types for this tenant.
      operationId: eventTypes
      x-qlik-visibility: public
      x-qlik-stability: stable
      x-qlik-deprecated: false
      x-qlik-tier:
        tier: special
        limit: 1000
components:
  schemas:
    ArchiveItem:
      type: object
      title: ArchiveItem is schema for the achived audit entry.
      properties:
        data:
          type: object
          description: Additional information about the event's details. The structure depends on the type and version of the event.
        source:
          type: string
          description: The source of the event message, usually the producing service.
        userId:
          type: string
          description: The ID of the user who performed the action that triggered the event.
        eventId:
          type: string
          description: The event's unique identifier.
        tenantId:
          type: string
          description: The ID of the tenant that owns the item. This is populated using the JWT.
        eventTime:
          type: string
          format: date-time
          description: The RFC3339 datetime when the event happened.
        eventType:
          type: string
          description: The type of event that describes committed action.
        extensions:
          $ref: '#/components/schemas/EventExtensions'
        contentType:
          type: string
          description: The type that content is encoded in, always "application/json".
        eventTypeVersion:
          type: string
          description: The version of the event type.
    ErrorResponse:
      type: object
      title: ErrorResponse indicates the error response.
      properties:
        errors:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
                example: HTTP-400
              title:
                type: string
                example: error title
              detail:
                type: string
                example: error details
        traceId:
          type: string
          example: 507f191e810c19729de860ea
    GetLinks:
      type: object
      title: GetLinks are the HAL links for a single result.
      properties:
        self:
          $ref: '#/components/schemas/href'
    GetSettingsResult:
      type: object
      title: GetSettingsResult is the result type of a getSettings request.
      properties:
        data:
          type: object
          properties:
            EventTTL:
              type: integer
              description: The events TTL in seconds.
            ArchiveEnabled:
              type: boolean
              description: Is Long Term Storage archiving enabled?.
          description: Server configuration options.
    ListLinks:
      type: object
      title: ListLinks are the HAL links for a list result.
      properties:
        next:
          $ref: '#/components/schemas/href'
        prev:
          $ref: '#/components/schemas/href'
        self:
          $ref: '#/components/schemas/href'
    EventExtensions:
      type: object
      title: Additional metadata and custom fields.
      properties:
        actor:
          type: object
          properties:
            sub:
              type: string
              description: Opaque value identifying impersonating entity.
            subType:
              type: string
              description: The type of the impersonating entity.
          description: Specifies the entity performing the action on behalf of another party listed as triggering the action.
        ownerId:
          type: string
          description: Id of the owner of the resource affected by the eventContext.
        spaceId:
          type: string
          description: Id of the space related to the action performed on the eventContext.
        updates:
          description: Might be present if the action is of type "updated" and should contain information about the changes made to the resource.
        topLevelResourceId:
          type: string
          description: If the event originated from a sub resource the topLevelResourceId contains the id of the top level resource associated with the sub resource.
      description: The availability of the properties depends on the event and the context it was triggered in.
    GetResult:
      type: object
      title: GetResult is the result type of the audit service Get method.
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/GetByIDResult'
          description: List of audit items.
        links:
          $ref: '#/components/schemas/ListLinks'
    href:
      type: object
      title: href is a URL.
      properties:
        href:
          type: string
    GetObjectsResult:
      type: object
      title: GetObjectsResult is the result type of audit service generic resources.
      properties:
        data:
          type: array
          items:
            type: string
          description: List of requested resources.
        links:
          $ref: '#/components/schemas/ListLinks'
    GetArchiveResult:
      type: object
      title: GetArchiveResult is the result type of the audit service GetArchive method.
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ArchiveItem'
          description: List of archived events. The structure of the events depend on their type and version.
    GetByIDResult:
      type: object
      title: GetByIDResult is the result type of the audit service GetByID method.
      properties:
        id:
          type: string
          description: The resource item's unique identifier.
        data:
          type: object
          description: Additional information about the event's details. The structure depends on the type and version of the event.
        links:
          $ref: '#/components/schemas/GetLinks'
        source:
          type: string
          description: The source of the event message, usually the producing service.
        userId:
          type: string
          description: The ID of the user who performed the action that triggered the event.
        eventId:
          type: string
          description: The event's unique identifier.
        tenantId:
          type: string
          description: The ID of the tenant that owns the item. This is populated using the JWT.
        eventTime:
          type: string
          format: date-time
          description: The RFC3339 datetime when the event happened.
        eventType:
          type: string
          description: The type of event that describes committed action.
        extensions:
          $ref: '#/components/schemas/EventExtensions'
        contentType:
          type: string
          description: The type that content is encoded in, always "application/json".
        eventTypeVersion:
          type: string
          description: The version of the event type.