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

# enterprise.export.detail

> Retrieves the status and metadata of an export task. Poll until `record.status` is `EXPORT_STATUS_COMPLETED`.

<sup>Questions or issues? Contact us at [api-support@manus.ai](mailto:api-support@manus.ai).</sup>

<Tip>
  **Polling:** Call this every few seconds after [enterprise.export.create](/enterprise/v1/enterprise.export.create) until `record.status` is `EXPORT_STATUS_COMPLETED` or `EXPORT_STATUS_FAILED`.

  **Failures:** When status is `EXPORT_STATUS_FAILED`, `record.error_message` describes the cause. `EXPORT_STATUS_CANCELLED` indicates the export was cancelled before completion.

  **Completed records carry the URL:** When `record.status` is `EXPORT_STATUS_COMPLETED`, `record.file_url` already contains a pre-signed download URL with `record.url_expires_at`. Call [enterprise.export.downloadUrl](/enterprise/v1/enterprise.export.downloadUrl) only when that URL has expired.

  **File retention:** Completed exports are retained for 30 days; after that the underlying file is purged and `enterprise.export.downloadUrl` will fail.
</Tip>


## OpenAPI

````yaml POST /dataexport.v1.EnterpriseDataExportService/GetExport
openapi: 3.1.0
info:
  title: Manus Enterprise Data Export OpenAPI v1
  description: >-
    gRPC-style API for exporting enterprise user data. All endpoints are POSTs
    to `/dataexport.v1.EnterpriseDataExportService/<Method>` and return raw JSON
    with an inline `request_id`. See also [v2](/enterprise/v2/introduction),
    which provides the same operations over REST URLs with a unified response
    envelope.
  version: 1.0.0
servers:
  - url: https://api.manus.im
security:
  - ApiKeyAuth: []
paths:
  /dataexport.v1.EnterpriseDataExportService/GetExport:
    post:
      summary: GetExport
      description: >-
        Retrieves the status and metadata of an export task. Poll until
        `record.status` is `EXPORT_STATUS_COMPLETED`.
      operationId: dataexport.v1.EnterpriseDataExportService.GetExport
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                uid:
                  type: string
                  description: >-
                    Export task UID returned by
                    [enterprise.export.create](/enterprise/v1/enterprise.export.create).
                  example: 5YX76pz7Dga3yztNVw97Dh
              required:
                - uid
      responses:
        '200':
          description: Export task retrieved successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  record:
                    $ref: '#/components/schemas/ExportRecord'
                    description: Export task record.
                  request_id:
                    type: string
                    description: Request ID for tracing and auditing.
        4XX:
          description: Error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ExportRecord:
      type: object
      description: An export task record.
      properties:
        uid:
          type: string
          description: Export task UID.
        user_id:
          type: string
          description: Target user ID.
          format: uuid
          example: 123e4567-e89b-12d3-a456-426614174000
        status:
          $ref: '#/components/schemas/ExportStatus'
          description: Current export status.
        file_url:
          type: string
          description: >-
            Pre-signed download URL for the export archive. Only present when
            `status` is `EXPORT_STATUS_COMPLETED`. See `url_expires_at` for the
            expiry. To mint a fresh URL after expiry, call
            [enterprise.export.downloadUrl](/enterprise/v1/enterprise.export.downloadUrl).
        file_size:
          type: integer
          format: int64
          description: >-
            Export archive size in bytes. Serialized as a JSON string per proto3
            int64 conventions.
        file_size_human:
          type: string
          description: Human-readable file size (e.g., "1.82 MB").
        url_expires_at:
          type: string
          format: date-time
          description: >-
            Expiration time of `file_url`. Only present when `status` is
            `EXPORT_STATUS_COMPLETED`. The underlying file is retained for 30
            days; mint a fresh URL via
            [enterprise.export.downloadUrl](/enterprise/v1/enterprise.export.downloadUrl)
            if this URL has expired.
        completed_at:
          type: string
          format: date-time
          description: >-
            When the export finished. Only present when status is
            `EXPORT_STATUS_COMPLETED`.
        created_at:
          type: string
          format: date-time
          description: Task creation time.
        error_message:
          type: string
          description: Failure reason. Only present when status is `EXPORT_STATUS_FAILED`.
    ErrorResponse:
      type: object
      description: Standard gRPC-style error response.
      properties:
        code:
          type: string
          description: >-
            Error code: `INVALID_ARGUMENT`, `NOT_FOUND`, `PERMISSION_DENIED`,
            `FAILED_PRECONDITION`, or `INTERNAL`.
        message:
          type: string
          description: Human-readable error description.
    ExportStatus:
      type: string
      description: >-
        Lifecycle status of an export task. Flow: `PENDING` → `PROCESSING` →
        `COMPLETED` (or `FAILED` / `CANCELLED`).
      enum:
        - EXPORT_STATUS_PENDING
        - EXPORT_STATUS_PROCESSING
        - EXPORT_STATUS_COMPLETED
        - EXPORT_STATUS_FAILED
        - EXPORT_STATUS_CANCELLED
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````