---
title: "Get Export"
method: GET
path: "/v2/exports/{export_id}"
tags: ["exports"]
---

# Get Export

`GET /v2/exports/{export_id}`

## Request

- Base URL: `https://api.stuut.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stuut.ai/v2/exports/{export_id}`
- Auth: HTTP bearer

Get Export

Retrieve details of a specific export including download URL if ready.
Users can only access their own exports unless they are org admins.

## Path parameters

- `export_id` string, required

## Response `200`

Successful Response

- ExportResponse: Response containing export details.
  - `id` string, required
  - `export_type` 'invoice' | 'partner' | 'payment' | 'analytics' | 'bank_transaction' | 'credit_memo' | 'customer_transaction' | 'invoice_pdf' | 'audit_log' | 'ask_stuut_table' | 'journal_entry' | 'ar_aging' | 'collections_readiness', required
  - `status` 'pending' | 'processing' | 'completed' | 'failed', required
  - `filters` object, nullable, required
  - `format` 'csv' | 'json', nullable, required
  - `error_code` 'limit_exceeded' | 'timed_out' | 'generation_failed', required
  - `record_count` integer, nullable, required: Number of rows included in the export. Journal exports in both CSV and JSON skip events without accounting snapshots and can complete with those events omitted. The response does not include a skipped-event count.
  - `download_url` string, nullable, required
  - `created_at` string, date-time, required
  - `started_at` string, date-time, required
  - `completed_at` string, date-time, required
  - `requested_by` ExportUserRef, required: Reference to the user who requested the export.
    - `id` string, required
    - `name` string, required
    - `email` string, required
  - `report_config_id` string, nullable, required: The report config this export was sent for, when it is a report send.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stuut/apis/stuut-api.md) - [All operations](https://skmtc.dev/stuut/apis/stuut-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stuut/apis/stuut-api/revisions/3b5ab941f918?raw)
