---
updatedAt: 2026-05-27T12:51:18.000Z
agentTools:
  projectIndex: https://developer.onetrust.com/onetrust/llms.txt
---

# Add Data Points to Targeted Data Discovery Results Summary

Use this API to add Targeted Data Discovery results that include unstructured data to a request.

> 🗒 Things to Know
>
> - This is an asynchronous operation. The results may take some time to reflect.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Privacy Automation - Data Subject Request (DSR) Automation",
    "version": "1.0",
    "contact": {
      "name": "OneTrust Support",
      "url": "https://my.onetrust.com/s/contactsupport"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0"
    },
    "description": "The Privacy Rights Automation are used to manage, process, and fulfill data subject access requests (DSARs), including request creation, subtask management, resolution codes, verification methods, and audit history."
  },
  "servers": [
    {
      "url": "https://{hostname}",
      "variables": {
        "hostname": {
          "default": "hostname",
          "description": "The OneTrust hostname such as app.onetrust.com, app-eu.onetrust.com, app-de.onetrust.com, app-uk.onetrust.com, app-apac.onetrust.com, trial.onetrust.com, or uat.onetrust.com."
        }
      }
    }
  ],
  "tags": [
    {
      "name": "Targeted Data Discovery",
      "description": "APIs used to add, update, and retrieve structured or unstructured data discovery results linked to privacy requests.",
      "externalDocs": {
        "description": "OpenAPI 3.1.0 - Download Definition",
        "url": "https://developer.onetrust.com/onetrust/openapi/privacy-automation-data-subject-request-dsr-automation.json"
      },
      "x-displayName": "Targeted Data Discovery"
    }
  ],
  "paths": {
    "/api/datasubject/v3/datadiscovery/requestqueues/{requestQueueRefId}": {
      "post": {
        "operationId": "unstructuredDataDiscoveryUpdatesUsingPOST",
        "summary": "Add Data Points to Targeted Data Discovery Results Summary",
        "description": "Use this API to add Targeted Data Discovery results that include unstructured data to a request.\n\n> 🗒 Things to Know\n>\n> - This is an asynchronous operation. The results may take some time to reflect.",
        "tags": [
          "Targeted Data Discovery"
        ],
        "x-onetrust": {
          "spec-label": "https://developer.onetrust.com/onetrust/openapi/privacy-automation-data-subject-request-dsr-automation.json"
        },
        "parameters": [
          {
            "name": "requestQueueRefId",
            "in": "path",
            "required": true,
            "schema": {
              "description": "Request queue reference Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PrivacyAutomation-DataSubjectRequestDSRAutomation_DataDiscoveryGroupV3RequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "429": {
            "description": "Too Many Requests. \nFor more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).",
            "headers": {
              "Retry-After": {
                "schema": {
                  "description": "The number of seconds after which requests will be allowed again.",
                  "format": "int32"
                }
              },
              "ot-period": {
                "schema": {
                  "description": "The unit of time for which the rate limit applies",
                  "enum": [
                    "HOUR",
                    "MINUTE"
                  ]
                }
              },
              "ot-ratelimit-event-id": {
                "schema": {
                  "description": "The unique identifier for the rate-limiting event.",
                  "format": "uuid"
                }
              },
              "ot-request-made": {
                "schema": {
                  "description": "The number of requests made within the specified period.",
                  "format": "int32"
                }
              },
              "ot-requests-allowed": {
                "schema": {
                  "description": "The number of requests allowed within the specified period.",
                  "format": "int32"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "PrivacyAutomation-DataSubjectRequestDSRAutomation_OAUTH2": [
              "DSAR",
              "DSAR_WRITE"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "PrivacyAutomation-DataSubjectRequestDSRAutomation_DataDiscoveryAttachmentV3Dto": {
        "type": "object",
        "properties": {
          "fileName": {
            "description": "Name of the file.",
            "type": "string",
            "example": "receipt.pdf"
          },
          "fileId": {
            "description": "Unique Identifier of the File.",
            "type": "string",
            "format": "uuid",
            "example": "e2d0f59e-3df0-4b1f-965d-d57547ed44ad"
          },
          "isRedact": {
            "description": "Whether this attachment should be redacted.",
            "type": "boolean",
            "example": false
          },
          "emlAttachmentMetadata": {
            "$ref": "#/components/schemas/PrivacyAutomation-DataSubjectRequestDSRAutomation_EmlAttachmentMetadata"
          }
        }
      },
      "PrivacyAutomation-DataSubjectRequestDSRAutomation_DataDiscoveryGroupV3RequestDto": {
        "type": "object",
        "properties": {
          "system": {
            "description": "Name or identifier of the system from which this data is sourced. This will be displayed on the Results Summary.",
            "type": "string",
            "example": "Office365"
          },
          "results": {
            "description": "Dataset that includes list of data groups with nested name-value-pairs to capture structured data.",
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "additionalProperties": {
                "type": "object"
              }
            }
          },
          "unstructuredResults": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PrivacyAutomation-DataSubjectRequestDSRAutomation_UnStructuredData"
            }
          },
          "attachments": {
            "description": "Optional. List of name-value-pairs containing file names and IDs to attach. Use the Add File API to add file into OneTrust and retrieve the File IDs. These files will be visible in the Results Summary.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PrivacyAutomation-DataSubjectRequestDSRAutomation_DataDiscoveryAttachmentV3Dto"
            }
          }
        },
        "required": [
          "system"
        ]
      },
      "PrivacyAutomation-DataSubjectRequestDSRAutomation_EmlAttachmentMetadata": {
        "type": "object",
        "properties": {
          "attachmentId": {
            "type": "string",
            "format": "uuid"
          },
          "emlSubject": {
            "type": "string"
          },
          "senderName": {
            "type": "string"
          },
          "sendDate": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "PrivacyAutomation-DataSubjectRequestDSRAutomation_UnStructuredData": {
        "type": "object",
        "properties": {
          "type": {
            "description": "The type of unstructured data (e.g., document, image, email).",
            "type": "string",
            "example": "document"
          },
          "status": {
            "description": "The processing status of the unstructured data.",
            "type": "string",
            "example": "processed"
          },
          "key": {
            "description": "A unique identifier or name for the unstructured data item.",
            "type": "string",
            "example": "contract_2023"
          },
          "value": {
            "description": "The content or reference to the unstructured data.",
            "type": "string",
            "example": "https://storage.example.com/documents/contract_2023.pdf"
          },
          "isRedact": {
            "description": "Indicates whether the data should be redacted in the response.",
            "type": "boolean",
            "example": true
          },
          "attributes": {
            "description": "Additional attributes or metadata associated with the unstructured data.",
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "required": [
          "key",
          "type",
          "value"
        ]
      }
    },
    "securitySchemes": {
      "PrivacyAutomation-DataSubjectRequestDSRAutomation_OAUTH2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://{hostname}/api/access/v1/oauth/token",
            "scopes": {
              "DSAR_READ": "Read-only access to DSAR objects scope for external systems",
              "DSAR_WRITE": "Access to DSAR objects scope for external systems",
              "DSAR": "Access to DSAR objects scope for external systems"
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false,
    "metrics-enabled": false
  },
  "x-onetrust": {
    "spec-label": "OpenAPI 3.1.0"
  }
}
```

# Sibling pages

* [Get Targeted Data Discovery Group](https://developer.onetrust.com/onetrust/reference/getallgroupandattachmentdetailsusingget.md)
* [Get List of Targeted Data Discovery Groups](https://developer.onetrust.com/onetrust/reference/getallgroupbyrequestusingget.md)
* [Add Targeted Data Discovery Results Summary to Request](https://developer.onetrust.com/onetrust/reference/datadiscoveryupdatesusingpost.md)