---
title: "Get Targeted Data Discovery Group"
method: GET
path: "/api/datasubject/v2/datadiscovery/groups/{groupId}/requestqueues/{requestQueueRefId}"
tags: ["Targeted Data Discovery"]
---

# Get Targeted Data Discovery Group

`GET /api/datasubject/v2/datadiscovery/groups/{groupId}/requestqueues/{requestQueueRefId}`

## Request

- Base URL: `https://hostname`
- URL: `https://hostname/api/datasubject/v2/datadiscovery/groups/{groupId}/requestqueues/{requestQueueRefId}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{hostname}/api/access/v1/oauth/token` scopes: `DSAR`, `DSAR_READ`, `DSAR_WRITE`

Use this API to retrieve results for a Targeted Data Discovery group for the specified request.

## Path parameters

- `groupId` string, uuid, required: TDD Group Id
- `requestQueueRefId` string, required: Request queue ref ID

## Query parameters

- `includeAttachments` boolean: Set to true to include attachment information in the response. If false or omitted, attachments will not be included.

## Response `200`

OK

- PrivacyAutomationDataSubjectRequestDSRAutomationDataDiscoveryGroupV2Dto
  - `groupName` string: Name of the group.
  - `groupId` string, uuid: Unique Identifier of the group.
  - `dataDiscoveryResultsV2Dtos` PrivacyAutomationDataSubjectRequestDSRAutomationPageDataDiscoveryResultsV2Dto
    - `totalElements` integer
    - `totalPages` integer
    - `size` integer
    - `content` PrivacyAutomationDataSubjectRequestDSRAutomationDataDiscoveryResultsV2Dto[]
      - `id` string, uuid: Unique Identifier for field Id.
      - `fieldName` string: The name for a data field in the results summary
      - `value` string: This is the actual data element.
      - `system` string: Displays the name of the source of a particular data element.
    - `number` integer
    - `sort` PrivacyAutomationDataSubjectRequestDSRAutomationSortObject
      - `empty` boolean
      - `sorted` boolean
      - `unsorted` boolean
    - `last` boolean
    - `first` boolean
    - `numberOfElements` integer
    - `pageable` PrivacyAutomationDataSubjectRequestDSRAutomationPageableObject
      - `offset` integer
      - `sort` PrivacyAutomationDataSubjectRequestDSRAutomationSortObject
        - `empty` boolean
        - `sorted` boolean
        - `unsorted` boolean
      - `paged` boolean
      - `pageSize` integer
      - `pageNumber` integer
      - `unpaged` boolean
    - `empty` boolean
  - `dataDiscoveryAttachmentListDtos` PrivacyAutomationDataSubjectRequestDSRAutomationDataDiscoveryAttachmentListDto[]
    - `id` string, uuid
    - `fileName` string: Name of the file.
    - `fileId` string, uuid: Unique Identifier of the File.
    - `source` string: Name of the system where the attachment originated and displayed as targeted data discovery system for files added by user.
    - `fileSize` integer: Size of the file in kilobyte.
    - `isSharable` boolean
    - `sharable` boolean

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500`: Internal Server Error

---

[API](https://skmtc.dev/onetrust/apis/privacy-automation-data-subject-request-dsr-automation.md) - [All operations](https://skmtc.dev/onetrust/apis/privacy-automation-data-subject-request-dsr-automation/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/privacy-automation-data-subject-request-dsr-automation/revisions/612f0b39b904?raw)
