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

# Get Export Status

> Check export readiness per provider for a partner user (`uid`).

Use `sources[]` and wait for the provider you need to report `data_ready: true`.



## OpenAPI

````yaml /openapi/link.json get /export/status/{uid}
openapi: 3.1.0
info:
  title: Emerge API
  version: 1.0.0
  description: >-
    Privacy-first API for accessing consented user data. Emerge provides two
    main services: **Link** for collecting user consent and **Query** for
    retrieving user data.
  contact:
    name: Emerge Support
    email: account@emergedata.ai
servers:
  - url: https://link.emergedata.ai
    description: Link API - Consent collection
security:
  - bearerAuth: []
tags:
  - name: Link
    description: Consent flow configuration and status
paths:
  /export/status/{uid}:
    get:
      tags:
        - Link
      summary: Get Export Status
      description: >-
        Check export readiness per provider for a partner user (`uid`).


        Use `sources[]` and wait for the provider you need to report
        `data_ready: true`.
      operationId: get_export_status_export_status__uid__get
      parameters:
        - name: uid
          in: path
          required: true
          schema:
            type: string
            title: Uid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExportStatusResponse'
              examples:
                default:
                  summary: Per-provider export readiness
                  value:
                    uid: psub_d4e5f6789012345678901234abcdef01
                    sources:
                      - provider: google_data
                        data_ready: true
                        data_landed_at: '2026-02-12T09:10:11.000000+00:00'
                        export_status: completed
                        export_completed_at: '2026-02-12T09:10:11.000000+00:00'
                      - provider: gmail
                        data_ready: false
                        data_landed_at: null
                        export_status: running
                        export_completed_at: null
        '401':
          description: Unauthorized
          content:
            application/json:
              example:
                detail: Invalid token
        '404':
          description: User not found
          content:
            application/json:
              example:
                detail: User not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
              example:
                detail:
                  - loc:
                      - query
                      - uid
                    msg: Field required
                    type: missing
      security:
        - bearerAuth: []
components:
  schemas:
    ExportStatusResponse:
      type: object
      title: ExportStatusResponse
      description: Per-provider export readiness for a partner user.
      properties:
        uid:
          type: string
          title: Uid
        sources:
          type: array
          items:
            $ref: '#/components/schemas/ProviderExportStatus'
          title: Sources
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ProviderExportStatus:
      type: object
      title: ProviderExportStatus
      description: Export status for a single provider.
      properties:
        provider:
          type: string
          title: Provider
        data_ready:
          type: boolean
          title: Data Ready
        data_landed_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Data Landed At
        export_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Export Status
        export_completed_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Export Completed At
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API token from the Control Room. Include as `Authorization: Bearer
        <token>`

````