### POST /api/v4/exports/{id}/approve

**Approve an export** (`approve_export`). Start the export at its quoted price. Reserves quote.max_cost_usd_cents; actual rows are charged.

Free. API key required. Success: `200`. Accepts `Idempotency-Key`.

#### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Export UUID. |

#### Body

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `quote_id` | string | yes | The quote_id you are approving. A stale id returns 409 QUOTE_EXPIRED with the new quote. |

#### Response

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `data` | object | yes | The result. |
| `data.id` | string | yes | UUID. |
| `data.type` | "export" | yes |  |
| `data.status` | "quoting" \| "awaiting_approval" \| "queued" \| "running" \| "canceling" \| "succeeded" \| "partially_succeeded" \| "failed" \| "canceled" | yes |  |
| `data.client_reference` | string \| null | yes |  |
| `data.created_at` | string \| null | yes |  |
| `data.finished_at` | string \| null | yes |  |
| `data.collection` | any | yes |  |
| `data.format` | any | yes |  |
| `data.quote` | object | yes |  |
| `data.quote.quote_id` | string | yes | UUID. |
| `data.quote.rows` | integer | yes |  |
| `data.quote.max_cost_usd_cents` | integer | yes | The most approval can charge. |
| `data.quote.expires_at` | string | yes | ISO 8601 timestamp (UTC). |
| `data.quote.lines` | array<object> | yes |  |
| `data.progress` | object | yes |  |
| `data.progress.rows` | integer | yes |  |
| `data.cost` | object | yes |  |
| `data.cost.reserved_usd_cents` | integer | yes | USD cents. |
| `data.cost.charged_usd_cents` | integer | yes | USD cents. |
| `data.cost.refunded_usd_cents` | integer | yes | USD cents. |
| `data.result` | object \| null | yes |  |
| `data.result.download_url` | string \| null | yes |  |
| `data.result.url_expires_at` | string \| null |  |  |
| `data.result.artifact_expires_at` | string \| null | yes |  |
| `data.result.filename` | string |  |  |
| `data.result.rows` | integer | yes |  |
| `data.result.truncated_to_quote` | boolean |  |  |
| `data.result.note` | string |  |  |
| `data.failure` | object \| null | yes |  |
| `data.failure.code` | string | yes |  |
| `data.failure.message` | string \| null | yes |  |
| `meta.request_id` | string | yes | Request id (also in X-Request-Id). |
| `meta.cost_usd_cents` | number | yes | Charged for this request, in USD cents. |

#### Errors

| Status | Code | Meaning |
| --- | --- | --- |
| 400 | `VALIDATION_FAILED` | The request does not match the endpoint contract. |
| 401 | `UNAUTHORIZED` | The API key is missing, invalid or revoked. |
| 402 | `INSUFFICIENT_FUNDS` | The account balance cannot cover this request or job. |
| 404 | `NOT_FOUND` | The record or resource does not exist for this account. |
| 409 | `IDEMPOTENCY_MISMATCH` | This Idempotency-Key was already used with a different request. |
| 409 | `IDEMPOTENCY_IN_PROGRESS` | A request with this Idempotency-Key is still running. |
| 409 | `QUOTE_EXPIRED` | The quote is older than 30 minutes or was replaced. |
| 409 | `CONFLICT` | The resource changed concurrently or already exists. |
| 429 | `RATE_LIMITED` | Too many requests in the current window. |
| 429 | `QUOTA_EXCEEDED` | A daily or concurrency quota is used up. |
| 500 | `INTERNAL_ERROR` | An unexpected server error. |
| 503 | `SERVICE_UNAVAILABLE` | A dependency is temporarily unavailable. |

#### Example

```bash

curl -X POST 'https://startup-seeker.com/api/v4/exports/11111111-1111-4111-8111-111111111111/approve' \
  -H "Authorization: Bearer $STARTUPSEEKER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "quote_id": "22222222-2222-4222-8222-222222222222"
  }' \
  -H "Idempotency-Key: $(uuidgen)"

```