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

# Get a stored export and fresh signed download URL



## OpenAPI

````yaml https://api.aws53.cloud/openapi-intent.json get /v1/intent/audiences/{id}/runs/{runId}/exports/{exportId}
openapi: 3.1.0
info:
  title: Orbit API
  version: 1.0.0
  description: >-
    Orbit Audience Intent API: topic discovery, site analysis, curated ICP
    filters, saved audiences, materialization runs, stats, and CSV export.
    Discovery endpoints are public; audience management accepts either Bearer
    JWT or X-API-Key auth.
servers:
  - url: https://api.aws53.cloud
    description: Production
security: []
tags:
  - name: Topic Discovery
    description: Browse, search, and analyze available intent topics
  - name: Site Analysis
    description: Analyze a website URL to find matching intent topics
  - name: Site Topics
    description: Recent organization site-topic analyses
  - name: Audience Builder
    description: >-
      Curated filters, preview, saved audiences, runs, stats, CSV export, and
      saved topic lists
paths:
  /v1/intent/audiences/{id}/runs/{runId}/exports/{exportId}:
    get:
      tags:
        - Audience Builder
      summary: Get a stored export and fresh signed download URL
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: id
          in: path
        - schema:
            type: string
            format: uuid
          required: true
          name: runId
          in: path
        - schema:
            type: string
            format: uuid
          required: true
          name: exportId
          in: path
      responses:
        '200':
          description: Stored export with a fresh signed download URL
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/IntentAudienceExportWithUrl'
                  meta:
                    $ref: '#/components/schemas/ApiMeta'
                required:
                  - data
                  - meta
        '404':
          description: Export not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '409':
          description: Stored export is not ready
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: B2 export storage is not configured
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
      security:
        - bearerAuth: []
        - apiKeyAuth: []
components:
  schemas:
    IntentAudienceExportWithUrl:
      type: object
      properties:
        export:
          $ref: '#/components/schemas/IntentAudienceExport'
        downloadUrl:
          type:
            - string
            - 'null'
          format: uri
        downloadUrlExpiresAt:
          type:
            - string
            - 'null'
          format: date-time
        downloadUrlTtlSeconds:
          type:
            - integer
            - 'null'
      required:
        - export
        - downloadUrl
        - downloadUrlExpiresAt
        - downloadUrlTtlSeconds
    ApiMeta:
      type: object
      properties:
        timestamp:
          type: string
          format: date-time
        request_id:
          type: string
      required:
        - timestamp
        - request_id
    ApiErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ApiError'
        meta:
          $ref: '#/components/schemas/ApiMeta'
      required:
        - error
        - meta
    IntentAudienceExport:
      type: object
      properties:
        id:
          type: string
          format: uuid
        organizationId:
          type: string
          format: uuid
        audienceId:
          type: string
          format: uuid
        runId:
          type: string
          format: uuid
        exportType:
          type: string
          enum:
            - csv
        status:
          type: string
          enum:
            - processing
            - completed
            - failed
        storageProvider:
          type: string
          enum:
            - b2
        bucketName:
          type:
            - string
            - 'null'
        fileId:
          type:
            - string
            - 'null'
        fileName:
          type:
            - string
            - 'null'
        contentType:
          type: string
        byteSize:
          type: integer
        rowCount:
          type: integer
        contentSha1:
          type:
            - string
            - 'null'
        errorCode:
          type:
            - string
            - 'null'
        errorMessage:
          type:
            - string
            - 'null'
        requestedBy:
          type:
            - string
            - 'null'
          format: uuid
        completedAt:
          type:
            - string
            - 'null'
          format: date-time
        expiresAt:
          type:
            - string
            - 'null'
          format: date-time
        createdAt:
          type:
            - string
            - 'null'
          format: date-time
        updatedAt:
          type:
            - string
            - 'null'
          format: date-time
      required:
        - id
        - organizationId
        - audienceId
        - runId
        - exportType
        - status
        - storageProvider
        - contentType
        - byteSize
        - rowCount
    ApiError:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        details: {}
      required:
        - code
        - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Dashboard access token. Send as Authorization: Bearer <token>.'
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'Organization API key (sk_...). Send as X-API-Key: <key>.'

````