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

# List your team's audit log

> Lists changes to your team, newest first: who made each one and what it changed.

> [accordion] Details
>
> * Owners and Admins only. An API key needs team:manage.
>
> * Kinds: team members and invitations, login access, API keys created or revoked, and tools published or deleted.
>
> * Filter by kind and time range.
>
> * Events stay listed for 90 days.
>
> * **Callers:** an API key, an MCP OAuth token or a Dashboard session.
>
> * **Permission:** `team:manage`; an API key also needs `team:manage`.
>
> * **Effect:** Changes nothing.
>
> * **Errors:** [`business_account_required`](https://docs.pomerado.ai/errors#business_account_required), [`role_permission_missing`](https://docs.pomerado.ai/errors#role_permission_missing), and the [errors any request can get](https://docs.pomerado.ai/errors.md).


## OpenAPI

````yaml /api-reference/openapi.json get /v1/audit-events
openapi: 3.1.0
info:
  title: Pomerado API
  version: '1'
  description: >-
    Run and build website tools, follow their jobs, and manage logins, API keys
    and webhooks. Authenticate with a Pomerado API key (pom_…), an MCP OAuth
    token or a Dashboard session as a Bearer token.
servers:
  - url: https://api.pomerado.ai
security: []
tags:
  - name: account
    x-group: Account
  - name: api_keys
    x-group: API keys
  - name: connected_apps
    x-group: Connected apps
  - name: usage
    x-group: Usage
  - name: quota
    x-group: Quota
  - name: billing
    x-group: Billing
  - name: integrations
    x-group: Integrations
  - name: connect
    x-group: Connect
  - name: code
    x-group: Code
  - name: logins
    x-group: Saved logins
  - name: two_factor
    x-group: 2FA
  - name: login_access
    x-group: Login access
  - name: tools
    x-group: Tools
  - name: webhooks
    x-group: Webhooks
  - name: runs
    x-group: Runs
  - name: builds
    x-group: Builds
  - name: jobs
    x-group: Jobs
  - name: suggestions
    x-group: Suggestions
  - name: audit
    x-group: Audit
  - name: files
    x-group: Files
  - name: team
    x-group: Team
  - name: sso
    x-group: Single sign-on
  - name: issue_reports
    x-group: Problem reports
paths:
  /v1/audit-events:
    get:
      tags:
        - audit
      summary: List your team's audit log
      description: >-
        Lists changes to your team, newest first: who made each one and what it
        changed.
      operationId: audit.list
      parameters:
        - name: kind
          in: query
          required: false
          description: Only events of this kind
          schema:
            type: string
            enum:
              - team.member_added
              - team.role_changed
              - team.member_removed
              - team.invitation_sent
              - team.invitation_resent
              - team.invitation_revoked
              - login.access_granted
              - login.access_changed
              - login.access_revoked
              - api_key.created
              - api_key.revoked
              - tool.published
              - tool.deleted
        - name: from
          in: query
          required: false
          description: 'At or after, inclusive (default and earliest: 90 days ago)'
          schema:
            type: string
        - name: to
          in: query
          required: false
          description: 'Before (default: now)'
          schema:
            type: string
        - name: cursor
          in: query
          required: false
          description: The next_cursor of the previous page
          schema:
            type: string
        - name: limit
          in: query
          required: false
          description: Items per page, 1 to 100 (default 20)
          schema:
            type: string
      responses:
        '200':
          description: One page of events
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - next_cursor
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/AuditEvent'
                  next_cursor:
                    anyOf:
                      - type: string
                      - type: 'null'
                additionalProperties: false
        '400':
          description: invalid_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: unauthorized, reauthentication_required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: business_account_required, role_permission_missing, forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: temporarily_unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearer: []
components:
  schemas:
    AuditEvent:
      type: object
      required:
        - id
        - occurred_at
        - kind
        - actor
        - target
        - member
        - from
        - to
      properties:
        id:
          type: string
        occurred_at:
          type: string
        kind:
          type: string
          enum:
            - team.member_added
            - team.role_changed
            - team.member_removed
            - team.invitation_sent
            - team.invitation_resent
            - team.invitation_revoked
            - login.access_granted
            - login.access_changed
            - login.access_revoked
            - api_key.created
            - api_key.revoked
            - tool.published
            - tool.deleted
        actor:
          anyOf:
            - type: object
              required:
                - member_id
                - name
                - email
                - api_key
              properties:
                member_id:
                  type: string
                  description: The member's user ID
                name:
                  anyOf:
                    - type: string
                    - type: 'null'
                email:
                  anyOf:
                    - type: string
                    - type: 'null'
                api_key:
                  anyOf:
                    - type: object
                      required:
                        - id
                        - name
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                      additionalProperties: false
                    - type: 'null'
              additionalProperties: false
            - type: 'null'
          description: >-
            Who made the change, and the API key they used for an API key
            change, a build, a requested change or a tool deletion. Null when
            Pomerado made it
        target:
          type: object
          required:
            - id
            - name
          properties:
            id:
              type: string
            name:
              anyOf:
                - type: string
                - type: 'null'
          additionalProperties: false
          description: 'What changed: the member, invitation, login, API key or tool'
        member:
          anyOf:
            - type: object
              required:
                - member_id
                - name
                - email
              properties:
                member_id:
                  type: string
                  description: The member's user ID
                name:
                  anyOf:
                    - type: string
                    - type: 'null'
                email:
                  anyOf:
                    - type: string
                    - type: 'null'
              additionalProperties: false
            - type: 'null'
          description: >-
            On a login access event, the member whose access changed. Null for
            the whole team, and on other events
        from:
          anyOf:
            - type: string
            - type: 'null'
          description: The role or access level before
        to:
          anyOf:
            - type: string
            - type: 'null'
          description: The role or access level after
      additionalProperties: false
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - retryable
            - docs_url
          properties:
            code:
              type: string
            message:
              type: string
            retryable:
              type: boolean
            docs_url:
              type: string
            details:
              type: object
              required: []
              properties: {}
              additionalProperties:
                $id: /schemas/unknown
          additionalProperties: false
      additionalProperties: false
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````

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