OneTrust Inventory Relationships V1 API

APIs used to create, update, and delete bidirectional links between inventories and to manage associations to related items (including personal data).

Business capability
Privacy & Data Protection Management BC-130.50

Operations 12

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PUT /api/inventory/v2/inventories/{id}/associations/{associationId} Update an existing link between two inventories · Update Inventory Link #
Ask an LLM
“How do I change the relation type on a link between two inventory records?”
“Can I edit an inventory link after it has been created?”
Tell an agent
Change link {associationId} on inventory {id} to relation {relation}.
Update the relation of inventory {id}'s existing link {associationId}.
GET /api/inventory/v2/inventories/{id}/personal-data List personal data linked to an inventory · Get Personal Data Links #
Ask an LLM
“Which personal data items are linked to this asset or processing activity?”
“Can I page through the personal data links on an inventory record?”
Tell an agent
List the personal data items linked to inventory {id}.
Show page {page} of personal data links for inventory {id}.
POST /api/inventory/v2/inventories/{id}/personal-data Link personal data items to an inventory · Link Personal Data #
Ask an LLM
“How do I record that an asset processes certain personal data?”
“Can I attach personal data elements to an inventory record?”
Tell an agent
Link personal data items to inventory {id}.
Attach personal data to inventory {id} using generator {generator}.
DELETE /api/inventory/v2/inventories/{id}/personal-data Delete personal data links from an inventory · Delete Personal Data Link #
Ask an LLM
“How do I unlink personal data from an inventory record?”
“Is removing a personal data link from an inventory permanent?”
Tell an agent destructive · confirm first
Permanently remove the personal data links on inventory {id}.
Unlink personal data from inventory {id}.
PUT /api/inventory/v2/inventories/{id}/relations Link inventories to each other (PUT variant) · Link Inventory #
Ask an LLM
“Is there a PUT call to link an inventory to other inventories?”
“Can I replace-style link an inventory to several others of one entity type with PUT?”
Tell an agent
Using PUT, link inventory {id} to other inventories of type {entityType}.
Send a PUT to create bidirectional links from inventory {id}.
POST /api/inventory/v2/inventories/{id}/relations Link inventories to each other (POST variant) · Link Inventory #
Ask an LLM
“How do I create a two-way link between a vendor and an asset inventory?”
“Can I link one inventory to several other inventories in one POST?”
Tell an agent
Create new bidirectional links from inventory {id} to inventories of type {entityType}.
POST a new link between inventory {id} and other inventories.
DELETE /api/inventory/v2/inventories/{id}/relations Delete links between inventories · Delete Inventory Link #
Ask an LLM
“How do I break the link between two inventory records?”
“Is deleting an inventory-to-inventory link reversible?”
Tell an agent destructive · confirm first
Delete the inventory links on inventory {id}.
Permanently unlink inventory {id} from its related inventories.
GET /api/inventory/v2/inventories/{id}/relations/{inventoryType} List an inventory's links of a given type · Get Inventory Links #
Ask an LLM
“Which vendors are linked to a given processing activity?”
“Can I see only the related inventories of one type for a record?”
Tell an agent
List inventory {id}'s links to {inventoryType} inventories.
Show page {page} of {inventoryType} records linked to inventory {id}.
GET /api/inventory/v2/inventories/{inventoryId}/personal-data/{personalDataAssociationId}/attributes Get attributes tracked on a personal data link · Get Inventory Personal Data Link Attributes #
Ask an LLM
“What attribute values are recorded on an inventory's personal data link?”
“Where do I read the tracked attributes of one personal data association?”
Tell an agent
Show the attribute values on personal data link {personalDataAssociationId} of inventory {inventoryId}.
Get tracked link attributes for association {personalDataAssociationId} on inventory {inventoryId}.
PUT /api/inventory/v2/inventories/{schemaName}/{id}/relations/{relatedSchemaName}/{linkId}/attributes Update attributes on an inventory relation link · Update Inventory Personal Data Link Attributes #
Ask an LLM
“How do I change attribute values tracked on a link between two schemas?”
“Can I edit link attributes addressed by schema name and link ID?”
Tell an agent
Set link attributes {linkAttributes} on link {linkId} from {schemaName} {id} to {relatedSchemaName}.
Update the tracked attributes of relation link {linkId} between {schemaName} record {id} and {relatedSchemaName}.
POST /api/inventory/v2/inventories/{type}/{inventoryId}/control-implementations Add control implementations to an inventory · Create Control Implementation #
Ask an LLM
“How do I apply master controls to an asset or vendor inventory?”
“Can I set a status on control implementations when I add them to an inventory?”
Tell an agent
Implement controls {controlIds} on {type} inventory {inventoryId}.
Add controls {controlIds} to {type} {inventoryId} with status {status}.
PUT /api/inventory/v2/inventories-personal-data/{personalDataAssociationId} Update advanced attributes of a personal data association · Update Advanced Attributes for Personal Data Association #
Ask an LLM
“How do I update the advanced attributes of personal data linked to an inventory?”
“Which inventory type do I need to supply when editing a personal data association?”
Tell an agent
Update advanced attributes of personal data association {personalDataAssociationId} on a {inventoryType} inventory.
Set advanced attributes {linkAttributes} on personal data association {personalDataAssociationId} ({inventoryType}).

Documentation

📖
Documentation
https://developer.onetrust.com/onetrust/reference/attribute-management
📖
Documentation
https://developer.onetrust.com/onetrust/reference/activity-log
📖
Documentation
https://developer.onetrust.com/onetrust/reference/preferences-v2
📖
Documentation
https://developer.onetrust.com/onetrust/reference/banner
📖
Documentation
https://developer.onetrust.com/onetrust/reference/consent-receipts
📖
Documentation
https://developer.onetrust.com/onetrust/reference/applications
📖
Documentation
https://developer.onetrust.com/onetrust/reference/categorizations
📖
Documentation
https://developer.onetrust.com/onetrust/reference/domain-data
📖
Documentation
https://developer.onetrust.com/onetrust/reference/preferences
📖
Documentation
https://developer.onetrust.com/onetrust/reference/mobile-app-data
📖
Documentation
https://developer.onetrust.com/onetrust/reference/privacy-notice-v2
📖
Documentation
https://developer.onetrust.com/onetrust/reference/collection-points
📖
Documentation
https://developer.onetrust.com/onetrust/reference/catalog-search-v1
📖
Documentation
https://developer.onetrust.com/onetrust/reference/classification
📖
Documentation
https://developer.onetrust.com/onetrust/reference/custom-scan
📖
Documentation
https://developer.onetrust.com/onetrust/reference/carbon-management
📖
Documentation
https://developer.onetrust.com/onetrust/reference/audit-records
📖
Documentation
https://developer.onetrust.com/onetrust/reference/bulk-export
📖
Documentation
https://developer.onetrust.com/onetrust/reference/attachments
📖
Documentation
https://developer.onetrust.com/onetrust/reference/system-credentials
📖
Documentation
https://developer.onetrust.com/onetrust/reference/inventory-relationships-v2
📖
Documentation
https://developer.onetrust.com/onetrust/reference/model-management
📖
Documentation
https://developer.onetrust.com/onetrust/reference/tasks
📖
Documentation
https://developer.onetrust.com/onetrust/reference/groups-v2
📖
Documentation
https://developer.onetrust.com/onetrust/reference/assessment-actions
📖
Documentation
https://developer.onetrust.com/onetrust/reference/inventory
📖
Documentation
https://developer.onetrust.com/onetrust/reference/inventory-1
📖
Documentation
https://developer.onetrust.com/onetrust/reference/drop-management
📖
Documentation
https://developer.onetrust.com/onetrust/reference/incidents
📖
Documentation
https://developer.onetrust.com/onetrust/reference/document-controller
📖
Documentation
https://developer.onetrust.com/onetrust/reference/audits
📖
Documentation
https://developer.onetrust.com/onetrust/reference/initiatives
📖
Documentation
https://developer.onetrust.com/onetrust/reference/document-attachments
📖
Documentation
https://developer.onetrust.com/onetrust/reference/issues
📖
Documentation
https://developer.onetrust.com/onetrust/reference/control-implementations
📖
Documentation
https://developer.onetrust.com/onetrust/reference/training
📖
Documentation
https://developer.onetrust.com/onetrust/reference/contracts

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/onetrust:onetrust-inventory-relationships-v1-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

onetrust-inventory-relationships-v1-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Privacy Automation - Data Mapping Automation Inventory…
  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 Data Mapping Automation APIs are used to manage structured records (assets, vendors, processing activities, and legal entities), define schema attributes, traverse parent–child hierarchies, and create cross-record relationships—including links to personal data.
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:


# --- truncated at 32 KB (45 KB total) ---
# Full source: https://artifacts.apis.io/onetrust/openapi/onetrust-inventory-relationships-v1-api-openapi.yml