> ## Documentation Index
> Fetch the complete documentation index at: https://docs.datris.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Audit log operational status (admin)

> Admin-only. Whether auditing is on and how the write queue is doing. Answers 200 whether or not the audit log is enabled, and is never refused by the strict-mode gate.



## OpenAPI

````yaml /openapi.yaml get /api/v1/audit-log/status
openapi: 3.0.3
info:
  title: Datris API
  description: >
    REST API for the Datris AI Data Platform. Ingest, validate, transform,
    store, and retrieve data.


    For AI agent integration, use the [MCP
    Server](https://docs.datris.ai/mcp-server) instead.
  version: 1.57.1
  contact:
    name: Datris
    url: https://datris.ai
  license:
    name: Apache 2.0
servers:
  - url: http://localhost:8080
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /api/v1/audit-log/status:
    get:
      tags:
        - Audit Log
      summary: Audit log operational status (admin)
      description: >-
        Admin-only. Whether auditing is on and how the write queue is doing.
        Answers 200 whether or not the audit log is enabled, and is never
        refused by the strict-mode gate.
      responses:
        '200':
          description: Status
          content:
            application/json:
              schema:
                type: object
                properties:
                  enabled:
                    type: boolean
                  retentionDays:
                    type: integer
                  logReads:
                    type: boolean
                  emitLogLine:
                    type: boolean
                  dropped:
                    type: integer
                    format: int64
                    description: Entries dropped under backpressure since startup
                  queueDepth:
                    type: integer
                  strict:
                    type: boolean
                    description: AUDIT_LOG_STRICT in effect
                  unrecorded:
                    type: integer
                    format: int64
                    description: Entries that could not be queued (strict mode)
                  acceptingWrites:
                    type: boolean
                    description: '`false` while audited requests are being refused'
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Optional API key for authentication (enabled via application.yaml)

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.