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

# Get Export Job Status

> Retrieve the current status of an export job and, when available, the
download URL for the exported data.




## OpenAPI

````yaml /anaconda-platform/cloud/admin/audit-logs/audit_log_api.json get /api/audit-logs/export/{job_id}
openapi: 3.1.0
info:
  title: Audit Logs API
  version: 0.1.0
servers:
  - url: https://anaconda.com
    description: Anaconda Cloud
security: []
paths:
  /api/audit-logs/export/{job_id}:
    get:
      summary: Get Export Job Status
      description: |
        Retrieve the current status of an export job and, when available, the
        download URL for the exported data.
      operationId: get_export_job_status_export__job_id__get
      parameters:
        - description: |
            UUID of the export job to query.
          in: path
          name: job_id
          required: true
          schema:
            description: |
              Identifier of the export job.
            format: uuid
            title: Job Id
            type: string
            example: <uuid>
        - description: >
            Name of the organization to scope the request to. This header is
            required

            in multi-tenant deployments.
          in: header
          name: X-Org-Name
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: |
              Organization name used to resolve the tenant context.
            title: X-Org-Name
        - description: |
            API version identifier (for example, `v1` or `v2`). Defaults to `v1`
            when not provided.
          in: header
          name: X-API-Version
          required: false
          schema:
            default: v1
            description: |
              API version to target for this request.
            title: X-Api-Version
            type: string
      responses:
        '200':
          description: |
            Request succeeded and the export job status is returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExportJobResponse'
        '422':
          description: |
            The request parameters failed validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - JWT or Access Token: []
components:
  schemas:
    ExportJobResponse:
      description: >
        **Response** containing the state of a bulk export job and, when
        complete,

        its download URL.
      properties:
        completed_at:
          anyOf:
            - format: date-time
              type: string
              example: <timestamp>
            - type: 'null'
          description: |
            Time when the export job finished processing, if it has completed.
          title: Completed At
        created_at:
          format: date-time
          title: Created At
          type: string
          example: <timestamp>
        download_url:
          anyOf:
            - type: string
            - type: 'null'
          description: |
            URL to download the exported data in JSON Lines format, present when
            the job has completed successfully.
          title: Download Url
        error_message:
          anyOf:
            - type: string
            - type: 'null'
          description: |
            Error message describing why the export job failed, if applicable.
          title: Error Message
        id:
          format: uuid
          title: Id
          type: string
          example: <uuid>
        org_id:
          format: uuid
          title: Org Id
          type: string
          example: <uuid>
        progress:
          anyOf:
            - type: integer
            - type: 'null'
          description: >
            Approximate completion percentage for the export job, in the range
            `0–100`.
          title: Progress
        status:
          description: |
            Current status of the export job (for example, `pending`, `running`,
            `completed`, or `failed`).
          title: Status
          type: string
        total_records:
          anyOf:
            - type: integer
            - type: 'null'
          description: |
            Total number of records included in the export, when known.
          title: Total Records
      required:
        - id
        - org_id
        - status
        - created_at
      title: ExportJobResponse
      type: object
    HTTPValidationError:
      description: |
        **Error response** returned when the request fails validation.
      properties:
        detail:
          description: >
            List of validation errors describing which fields are invalid and
            why.
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      description: >
        **Validation error** describing an issue with a specific part of the
        request.
      properties:
        loc:
          description: |
            Location of the validation error as a path of components, such as
            `["body", "field_name"]` or `["query", "param_name"]`.
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          description: |
            Human-readable description of the validation error.
          title: Message
          type: string
        type:
          description: |
            Machine-readable error type code.
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    JWT or Access Token:
      bearerFormat: JWT or Access Token
      description: >
        Authenticate requests using a bearer token.


        Supported token types:


        - **Access Token** — short-lived token obtained from the authentication
        service  

        - **JWT Token** — JSON Web Token containing encoded credentials  


        **Header format**


        - `Authorization: Bearer <your_token>`
      scheme: bearer
      type: http

````