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

# List Audit Events

> Who changed what in this project, newest first (project owners' keys only)



## OpenAPI

````yaml /api/openapi.json get /audit-events
openapi: 3.1.0
info:
  description: Programmatic access to Infinite Compute GPU servers, volumes and usage.
  title: Infinite Compute API
  version: v1
servers:
  - url: https://{console}/api/public/v1
    description: Your console address is in your welcome email
    variables:
      console:
        default: your-console-address
security: []
paths:
  /audit-events:
    get:
      tags:
        - Audit
      summary: List Audit Events
      description: >-
        Who changed what in this project, newest first (project owners' keys
        only)
      operationId: list_audit_events_audit_events_get
      parameters:
        - description: Only this user id's actions
          in: query
          name: person
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Only this user id's actions
            title: Person
        - description: An action ("server.create") or a resource ("server")
          in: query
          name: action
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: An action ("server.create") or a resource ("server")
            title: Action
        - description: RFC 3339, inclusive
          in: query
          name: since
          required: false
          schema:
            anyOf:
              - format: date-time
                type: string
              - type: 'null'
            description: RFC 3339, inclusive
            title: Since
        - description: RFC 3339, exclusive
          in: query
          name: until
          required: false
          schema:
            anyOf:
              - format: date-time
                type: string
              - type: 'null'
            description: RFC 3339, exclusive
            title: Until
        - in: query
          name: limit
          required: false
          schema:
            default: 50
            maximum: 200
            minimum: 1
            title: Limit
            type: integer
        - in: query
          name: cursor
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Cursor
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuditEventPage'
          description: Successful Response
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Error
      security:
        - ApiKey: []
components:
  schemas:
    AuditEventPage:
      properties:
        data:
          items:
            $ref: '#/components/schemas/AuditEvent'
          title: Data
          type: array
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          description: Pass as ?cursor= for the next (older) page; absent on the last
          title: Next Cursor
      required:
        - data
      title: AuditEventPage
      type: object
    ErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      required:
        - error
      title: ErrorResponse
      type: object
    AuditEvent:
      properties:
        action:
          description: Our verb, e.g. server.create, volume.attach
          title: Action
          type: string
        actor:
          $ref: '#/components/schemas/AuditActor'
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          description: Set when outcome isn't ok
          title: Error Code
        id:
          title: Id
          type: string
        outcome:
          description: '"ok", "denied" or "error"'
          title: Outcome
          type: string
        project_id:
          title: Project Id
          type: string
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Request Id
        resource:
          anyOf:
            - $ref: '#/components/schemas/AuditResource'
            - type: 'null'
        source_ip:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Ip
        time:
          format: date-time
          title: Time
          type: string
        via:
          description: '"console" or "api"'
          title: Via
          type: string
      required:
        - id
        - time
        - project_id
        - actor
        - via
        - action
        - outcome
      title: AuditEvent
      type: object
    ErrorDetail:
      properties:
        code:
          description: Machine-readable error code, e.g. not_found
          title: Code
          type: string
        message:
          description: What went wrong, for people
          title: Message
          type: string
        request_id:
          description: Quote this when contacting support
          title: Request Id
          type: string
      required:
        - code
        - message
        - request_id
      title: ErrorDetail
      type: object
    AuditActor:
      properties:
        api_key_prefix:
          anyOf:
            - type: string
            - type: 'null'
          description: The key used, when the call came through the API
          title: Api Key Prefix
        name:
          anyOf:
            - type: string
            - type: 'null'
          description: Their user name at the time
          title: Name
        user_id:
          anyOf:
            - type: string
            - type: 'null'
          description: Who did it (absent when unknown)
          title: User Id
      title: AuditActor
      type: object
    AuditResource:
      properties:
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        type:
          anyOf:
            - type: string
            - type: 'null'
          description: e.g. server, volume, api_key
          title: Type
      title: AuditResource
      type: object
  securitySchemes:
    ApiKey:
      description: 'An API key from the console: Authorization: Bearer ic_ck_...'
      scheme: bearer
      type: http

````

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