---
descriptions:
  audit_log_schema:
    self: 'The [Audit Log Schema](/reference/audit-logs/schema) object.'
    object: Distinguishes the Audit Log Schema object.
    version: The version of the schema.
    targets: The list of targets for the schema.
    actor: The metadata schema for the actor.
    metadata: |
      Additional data that should be associated with the event or entity.
      There is a limit of 50 keys. Key names can be up to 40 characters long,
      and values can be up to 500 characters long.
    created_at: The timestamp when the Audit Log Schema was created.
reference:
  curl:
    - url: /reference/audit-logs/schema
      key: audit_log_schema
      id: audit_log_schema
      title: audit_log_schema
      properties:
        - key: object
          type: '"audit_log_schema"'
          description: (audit_log_schema.object)
        - key: version
          type: number
          description: (audit_log_schema.version)
        - key: targets
          type: array
          description: (audit_log_schema.targets)
        - key: actor
          type: object
          description: (audit_log_schema.actor)
        - key: metadata
          type: object
          description: (audit_log_schema.metadata)
  js:
    - url: /reference/audit-logs/schema
      key: AuditLogSchema
      id: audit_log_schema
      title: interface AuditLogSchema
      properties:
        - key: object
          type: '"audit_log_schema"'
          description: (audit_log_schema.object)
        - key: version
          type: number
          description: (audit_log_schema.version)
        - key: targets
          type: array
          description: (audit_log_schema.targets)
        - key: actor
          type: object
          description: (audit_log_schema.actor)
        - key: metadata
          type: object
          description: (audit_log_schema.metadata)
originalPath: .tmp-workos-clone/packages/docs/content/reference/audit-logs/schema/index.mdx
---

# Audit Log Schema

An object representing an Audit Log Schema.

<CodeBlock
  title="Audit Log Schema"
  file="audit-log-schema"
  referenceId="audit_log_schema"
/>
