---
title: "Get Quarantine Data Export Settings for A User"
method: GET
path: "/users/{user_id}/quarantine_settings"
tags: ["Quarantine Settings"]
---

# Get Quarantine Data Export Settings for A User

`GET /users/{user_id}/quarantine_settings`

## Request

- Base URL: `https://dataops.nexla.io/nexla-api`
- URL: `https://dataops.nexla.io/nexla-api/users/{user_id}/quarantine_settings`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nexla/apis/nexla-rest-api/docs/users/:user_id/quarantine_settings/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve Quarantine Data Export Settings for all resources owned by a user. 

Nexla detects errors during different stages of data flow such as ingestion, transformation, and output. Error records are quarantined and accessible to the user via APIs as well as files. With Quarantine Data Export Settings, you can configure Nexla to write files containing information about erroneous records across all resources owned by a user.

> This endpoint returns a 404 status code if no Quarantine Data Export Settings have been configured for the user.

## Path parameters

- `user_id` integer, required

## Headers

- `Accept` 'application/vnd.nexla.api.v1+json' | 'application/json': Setting to `application/vnd.nexla.api.v1+json` is recommended.

## Response `200`

Success

- QuarantineSetting
  - `id` integer
  - `owner` UserSimplified
    - `id` integer
    - `full_name` string
    - `email` string
    - `email_verified_at` string, date-time
  - `org` OrgSimplified
    - `id` integer
    - `name` string
    - `email_domain` string
    - `email` string
    - `client_identifier` string
    - `org_webhook_host` string
  - `resource_type` 'ORG' | 'USER' | 'FLOW' | 'PIPELINE' | 'DATA_FLOW' | 'CUSTOM_DATA_FLOW' | 'SOURCE' | 'DATASET' | 'SINK'
  - `resource_id` integer
  - `config` object
    - `start.cron` string
    - `path` string
  - `data_credentials_id` integer
  - `credentials_type` string
  - `data_credentials` DataCredential
    - `id` integer
    - `name` string
    - `description` string
    - `owner` UserSimplified
      - `id` integer
      - `full_name` string
      - `email` string
      - `email_verified_at` string, date-time
    - `org` OrgSimplified
      - `id` integer
      - `name` string
      - `email_domain` string
      - `email` string
      - `client_identifier` string
      - `org_webhook_host` string
    - `access_roles` string[]
    - `credentials_version` string
    - `managed` boolean
    - `credentials_type` string
    - `connector` object
      - `id` integer
      - `type` string
      - `connection_type` string
      - `name` string
      - `description` string
      - `nexset_api_compatible` boolean
    - `api_keys` unknown[]
      - unknown
    - `credentials_non_secure_data` object
    - `verified_status` string
    - `verified_at` string, date-time
    - `copied_from_id` integer
    - `updated_at` string, date-time
    - `created_at` string, date-time
    - `tags` unknown[]
      - unknown

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

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