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

# Get Export Download Url

> Mint a fresh signed download URL for a completed export job.

Signed URLs are short-lived, so they are minted on demand from the
``file_url`` the worker stored on the job's metadata.

**Authentication Required**: Requires `product:read` permission.



## OpenAPI

````yaml /openapi/merchantops-public.json get /api/products/export/{job_id}/download-url
openapi: 3.1.0
info:
  description: >-
    Public API for the MerchantOps product catalog, pricing, and publishing
    surface.
  title: MerchantOps API
  version: 1.0.0
servers:
  - description: Production
    url: https://api.merchantops.ai
security: []
paths:
  /api/products/export/{job_id}/download-url:
    get:
      tags:
        - Products
      summary: Get Export Download Url
      description: |-
        Mint a fresh signed download URL for a completed export job.

        Signed URLs are short-lived, so they are minted on demand from the
        ``file_url`` the worker stored on the job's metadata.

        **Authentication Required**: Requires `product:read` permission.
      operationId: get_export_download_url
      parameters:
        - in: path
          name: job_id
          required: true
          schema:
            title: Job Id
            type: string
        - in: header
          name: authorization
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - in: header
          name: X-Organization-ID
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Organization-Id
        - in: cookie
          name: stytch_session
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Stytch Session
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExportDownloadUrlResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    ExportDownloadUrlResponse:
      description: >-
        Response containing a freshly-minted signed download URL for an export
        job.
      properties:
        download_url:
          description: Signed URL to download the export file
          title: Download Url
          type: string
        expires_in_seconds:
          description: Seconds until the signed URL expires
          title: Expires In Seconds
          type: integer
        filename:
          description: Suggested download filename
          title: Filename
          type: string
      required:
        - download_url
        - filename
        - expires_in_seconds
      title: ExportDownloadUrlResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object

````