---
descriptions:
  audit_log_export:
    self: 'The [Audit Log Export](/reference/audit-logs/export) object.'
    object: Distinguishes the Audit Log Export object.
    id: The unique ID of the Audit Log Export.
    created_at: The timestamp when the Audit Log Export was created.
    updated_at: The timestamp when the Audit Log Export was last updated.
    state:
      lowercase: |
        The state of the export. Possible values:
        - `pending`
        - `ready`
        - `error`.
      titlecase: |
        The state of the export. Possible values:
        - `Pending`
        - `Ready`
        - `Error`.
    url: A URL to the CSV file. Only defined when the Audit Log Export is ready.
reference:
  curl:
    - url: /reference/audit-logs/export
      key: audit_log_export
      id: audit_log_export
      title: audit_log_export
      properties:
        - key: object
          type: '"audit_log_export"'
          description: (audit_log_export.object)
        - key: id
          type: string
          description: (audit_log_export.id)
        - key: created_at
          type: string
          description: (audit_log_export.created_at)
        - key: updated_at
          type: string
          description: (audit_log_export.updated_at)
        - key: state
          type: |
            "pending" | "ready" | "error"
          description: (audit_log_export.state.lowercase)
        - key: url
          type: string
          optional: true
          description: (audit_log_export.url)
  js:
    - url: /reference/audit-logs/export
      key: AuditLogExport
      id: audit_log_export
      title: interface AuditLogExport
      properties:
        - key: object
          type: '"audit_log_export"'
          description: (audit_log_export.object)
        - key: id
          type: string
          description: (audit_log_export.id)
        - key: createdAt
          type: string
          description: (audit_log_export.created_at)
        - key: updatedAt
          type: string
          description: (audit_log_export.updated_at)
        - key: state
          type: |
            "pending" | "ready" | "error"
          description: (audit_log_export.state.lowercase)
        - key: url
          type: string
          optional: true
          description: (audit_log_export.url)
  java:
    - url: /reference/audit-logs/export
      key: AuditLogExport
      id: audit_log_export
      title: class AuditLogExport
      properties:
        - key: object
          type: '"audit_log_export"'
          description: (audit_log_export.object)
        - key: id
          type: String
          description: (audit_log_export.id)
        - key: state
          type: AuditLogExportState
          description: (audit_log_export.state.titlecase)
        - key: url
          type: String
          optional: true
          description: (audit_log_export.url)
        - key: createdAt
          type: Date
          description: (audit_log_export.created_at)
        - key: updatedAt
          type: Date
          description: (audit_log_export.updated_at)
  dotnet:
    - url: /reference/audit-logs/export
      key: AuditLogExport
      id: audit_log_export
      title: class AuditLogExport
      properties:
        - key: Object
          type: '"audit_log_export"'
          description: (audit_log_export.object)
        - key: Id
          type: string
          description: (audit_log_export.id)
        - key: CreatedAt
          type: string
          description: (audit_log_export.created_at)
        - key: UpdatedAt
          type: string
          description: (audit_log_export.updated_at)
        - key: State
          type: AuditLogExportState
          description: (audit_log_export.state.lowercase)
        - key: Url
          type: string
          optional: true
          description: (audit_log_export.url)
  php:
    - url: /reference/audit-logs/export
      key: AuditLogExport
      id: audit_log_export
      title: WorkOS\Resource\AuditLogExport
      properties:
        - key: object
          type: '"audit_log_export"'
          description: (audit_log_export.object)
        - key: id
          type: string
          description: (audit_log_export.id)
        - key: createdAt
          type: string
          description: (audit_log_export.created_at)
        - key: updatedAt
          type: string
          description: (audit_log_export.updated_at)
        - key: state
          type: |
            "pending"|"ready"|"error"
          description: (audit_log_export.state.lowercase)
        - key: url
          type: string
          optional: true
          description: (audit_log_export.url)
  python:
    - url: /reference/audit-logs/export
      key: AuditLogExport
      id: audit_log_export
      title: AuditLogExport
      properties:
        - key: object
          type: '"audit_log_export"'
          description: (audit_log_export.object)
        - key: id
          type: str
          description: (audit_log_export.id)
        - key: created_at
          type: str
          description: (audit_log_export.created_at)
        - key: updated_at
          type: str
          description: (audit_log_export.updated_at)
        - key: state
          type: |
            "pending" | "ready" | "error"
          description: (audit_log_export.state.lowercase)
        - key: url
          type: str
          optional: true
          description: (audit_log_export.url)
  ruby:
    - url: /reference/audit-logs/export
      key: AuditLogExport
      id: audit_log_export
      title: class AuditLogExport
      properties:
        - key: object
          type: '"audit_log_export"'
          description: (audit_log_export.object)
        - key: id
          type: String
          description: (audit_log_export.id)
        - key: created_at
          type: String
          description: (audit_log_export.created_at)
        - key: updated_at
          type: String
          description: (audit_log_export.updated_at)
        - key: state
          type: |
            "pending" | "ready" | "error"
          description: (audit_log_export.state.lowercase)
        - key: url
          type: String
          optional: true
          description: (audit_log_export.url)
  go:
    - url: /reference/audit-logs/export
      key: AuditLogExport
      id: audit_log_export
      title: auditlogs.AuditLogExport
      properties:
        - key: Object
          type: '"audit_log_export"'
          description: (audit_log_export.object)
        - key: ID
          type: string
          description: (audit_log_export.id)
        - key: CreatedAt
          type: string
          description: (audit_log_export.created_at)
        - key: UpdatedAt
          type: string
          description: (audit_log_export.updated_at)
        - key: State
          type: auditlogs.AuditLogExportState
          description: (audit_log_export.state.lowercase)
        - key: URL
          type: string
          optional: true
          description: (audit_log_export.url)
originalPath: .tmp-workos-clone/packages/docs/content/reference/audit-logs/export/index.mdx
---

# Audit Log Export

An object representing an Audit Log Export.

<CodeBlock
  title="Audit Log Export"
  file="audit-log-export"
  referenceId="audit_log_export"
/>
