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

# Test Data Export

> Check that the stored credentials can still write

Writes `<pathPrefix>/_sequenzy/connection-test.json` with the stored credentials. Use it after changing bucket policies or rotating keys on your side. Requires `data_exports:write`.

<ParamField path="id" type="string" required>
  Data export ID.
</ParamField>

```bash theme={null}
curl -X POST "https://api.sequenzy.com/api/v1/data-exports/exp_abc123/test" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "testedAt": "2026-09-30T12:00:00.000Z"
  }
  ```

  ```json 400 theme={null}
  {
    "success": false,
    "code": "connection_failed",
    "error": "Bucket \"acme-exports\" is in a different region than the one configured."
  }
  ```

  ```json 404 theme={null}
  {
    "success": false,
    "code": "not_found",
    "error": "Data export destination not found."
  }
  ```
</ResponseExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.