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

# Get the board audit log

> Card and configuration changes for this board, newest first. Defaults to the last 92 days. Array parameters
accept a comma-separated string or repeated parameters. Webhook URLs in change values have their
credentials (userinfo and query values) masked.
Accepts an API key (`x-token`), a delegate token with the board read scope, or an internal
partner token with `board-admin` (partner requests must send `x-company-id`). Where a user is identified (the delegate's own user, or `x-user-id`
with a key or partner token) that user must be an active company member with permission to edit the
board's settings, otherwise 403. A partner token with no user is allowed. Archived boards are 404.




## OpenAPI

````yaml /openapi.yaml get /api/board/{boardId}/diagnostics/audit-log
openapi: 3.0.3
info:
  title: Aptly API
  version: '1.1'
  description: |
    The Aptly API lets external systems work with boards, contacts, inboxes,
    tasks, files, and other Aptly resources.

    Most endpoints accept an API key in the `x-token` header. Some endpoints
    also accept a delegate token or partner bearer token, as shown in each
    operation's security requirements, and explicitly public endpoints require
    no credential. API keys are scoped to a company and may be restricted to
    specific boards and read, insert, or update permissions; requests outside
    those restrictions receive a 403 `FORBIDDEN` response.
servers:
  - url: https://core-api.getaptly.com
    description: Production
security:
  - ApiKeyHeader: []
paths:
  /api/board/{boardId}/diagnostics/audit-log:
    get:
      tags:
        - Board
      summary: Get the board audit log
      description: >
        Card and configuration changes for this board, newest first. Defaults to
        the last 92 days. Array parameters

        accept a comma-separated string or repeated parameters. Webhook URLs in
        change values have their

        credentials (userinfo and query values) masked.

        Accepts an API key (`x-token`), a delegate token with the board read
        scope, or an internal

        partner token with `board-admin` (partner requests must send
        `x-company-id`). Where a user is identified (the delegate's own user, or
        `x-user-id`

        with a key or partner token) that user must be an active company member
        with permission to edit the

        board's settings, otherwise 403. A partner token with no user is
        allowed. Archived boards are 404.
      operationId: getBoardDiagnosticsAuditLog
      parameters:
        - name: boardId
          in: path
          required: true
          schema:
            type: string
          description: The board's UUID.
        - name: changeTypes
          in: query
          required: false
          schema:
            type: string
          description: Any of `all`, `configuration`, `automation`, `card`. Default all.
        - name: userIds
          in: query
          required: false
          schema:
            type: string
          description: Only changes by these user ids.
        - name: aptletInstanceIds
          in: query
          required: false
          schema:
            type: string
          description: Only these card ids.
        - name: since
          in: query
          required: false
          schema:
            type: string
            format: date-time
          description: ISO 8601 start date.
        - name: groupResults
          in: query
          required: false
          schema:
            type: boolean
          description: Group changes per card per day.
        - name: limit
          in: query
          required: false
          schema:
            type: integer
          description: Page size, clamped to 1..300. Default 100.
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            maximum: 100
          description: Zero-based page, at most 100.
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      additionalProperties: true
        '400':
          description: Invalid query.
        '401':
          description: Invalid or missing credential.
        '403':
          description: The credential or user cannot read this board.
        '404':
          description: Board not found.
      security:
        - ApiKeyHeader: []
        - DelegateToken: []
        - PartnerBearer: []
components:
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-token
    DelegateToken:
      type: apiKey
      in: header
      name: Authorization
      description: 'Delegate token issued by the platform. Format: `DelegateToken <token>`'
    PartnerBearer:
      type: http
      scheme: bearer
      description: 'Partner token. Format: `Authorization: Bearer <token>`'

````

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