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

# Get Token Access Log Export

> Check an export's progress and get the download URL of its Parquet file.



## OpenAPI

````yaml GET /api/v1/token-access-logs/exports/{id}/
openapi: 3.0.3
info:
  title: Nekt API
  version: v1
  description: Nekt API Documentation
  contact:
    email: support@nekt.ai
servers:
  - url: https://api.nekt.ai
security: []
paths:
  /api/v1/token-access-logs/exports/{id}/:
    get:
      tags:
        - v1
      summary: Retrieve a token access log export
      description: >-
        The export's progress. Once `status` is `succeeded`, `download_url` is a
        signed link to the Parquet file, valid until `download_url_expires_at`;
        read the export again for a new link.
      operationId: v1_token_access_logs_exports_retrieve
      parameters:
        - in: path
          name: id
          schema:
            type: string
            format: uuid
          description: A UUID string identifying this token access log export.
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenAccessLogExport'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    TokenAccessLogExport:
      type: object
      description: >-
        A token access log export.


        Poll it until `status` is `succeeded` or `failed`. Once it has
        succeeded, `download_url` is a

        signed link to the Parquet file in your workspace's lakehouse bucket,
        valid until

        `download_url_expires_at`; read the export again for a fresh one.
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        status:
          allOf:
            - $ref: '#/components/schemas/TokenAccessLogExportStatusEnum'
          readOnly: true
        start_date:
          type: string
          format: date
          readOnly: true
          description: Inclusive, UTC.
        end_date:
          type: string
          format: date
          readOnly: true
          description: Inclusive, UTC.
        filters:
          readOnly: true
          description: >-
            The list filters the export was asked for, already validated: lists
            of values per key.
        row_count:
          type: integer
          readOnly: true
          nullable: true
        file_name:
          type: string
          readOnly: true
        error:
          type: string
          readOnly: true
          description: Shown to the customer; no internals.
        created_at:
          type: string
          format: date-time
          readOnly: true
        started_at:
          type: string
          format: date-time
          readOnly: true
          nullable: true
        finished_at:
          type: string
          format: date-time
          readOnly: true
          nullable: true
        download_url:
          type: string
          readOnly: true
          nullable: true
        download_url_expires_at:
          type: string
          format: date-time
          readOnly: true
          nullable: true
      required:
        - created_at
        - download_url
        - download_url_expires_at
        - end_date
        - error
        - file_name
        - filters
        - finished_at
        - id
        - row_count
        - start_date
        - started_at
        - status
    TokenAccessLogExportStatusEnum:
      enum:
        - pending
        - running
        - succeeded
        - failed
      type: string
      description: |-
        * `pending` - Pending
        * `running` - Running
        * `succeeded` - Succeeded
        * `failed` - Failed
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: 'API Key authentication. Format: ''x-api-key: api_key'''

````

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