OneTrust Inventory API

APIs used to create and manage inventory records for supported schema types (processing-activities, vendors, assets, entities).

GitHub OpenAPI

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

POST /api/inventory/v2/inventories/{inventoryId}/attachments Attach documents to an inventory record · Add Attachments to Inventory #
Ask an LLM
“How do I link existing attachments to an inventory record?”
“Where do attached documents show up on an inventory's details page?”
Tell an agent
Attach existing documents to inventory record {inventoryId}.
Add attachments to the Documents tab of inventory {inventoryId}.
GET /api/inventory/v2/inventories/{schemaName} List inventories of a type · Get List of Inventories #
Ask an LLM
“What assets or processing activities are in my inventory?”
“Can I include inventory records marked for deletion in the list?”
Tell an agent
List all {schemaName} inventories.
List {schemaName} inventories matching {filter}.
POST /api/inventory/v2/inventories/{schemaName} Create an inventory record · Create Inventory #
Ask an LLM
“How do I add a new asset or processing activity to my inventory?”
“Can I create an inventory record as a master record?”
Tell an agent
Create a new {schemaName} inventory record.
Create a {schemaName} inventory as master: {createAsMaster}.
PUT /api/inventory/v2/inventories/{schemaName}/business-key Upsert an inventory by external ID · Update Inventory by External ID #
Ask an LLM
“How do I sync an inventory record from another system, creating it if it doesn't exist?”
“Can I update an inventory using my own business key instead of the OneTrust ID?”
Tell an agent
Upsert a {schemaName} inventory by its business key.
Create or update the {schemaName} record matched on external ID.
POST /api/inventory/v2/inventories/{schemaName}/criteria Search inventories by criteria · Get List of Inventories by Criteria #
Ask an LLM
“How do I find inventory records matching several attribute filters?”
“Which inventories of a type meet structured filter criteria?”
Tell an agent
Search {schemaName} inventories using criteria {filters}.
Query {schemaName} records by filter criteria {filters}, page {page}.
GET /api/inventory/v2/inventories/{schemaName}/reference/{externalId} Get an inventory by external ID · Get Inventory by External ID #
Ask an LLM
“How do I look up an inventory record using the ID from my own system?”
“Can I fetch an asset by its external reference?”
Tell an agent
Get the {schemaName} inventory with external ID {externalId}.
Look up {schemaName} record by external reference {externalId}.
GET /api/inventory/v2/inventories/{schemaName}/{id} Get an inventory by ID · Get Inventory by ID #
Ask an LLM
“What details are stored on one inventory record?”
“How do I open a specific asset or vendor record by its OneTrust ID?”
Tell an agent
Show {schemaName} inventory {id}.
Get the details of inventory record {id} of type {schemaName}.
PUT /api/inventory/v2/inventories/{schemaName}/{id} Update an inventory by ID · Update Inventory by ID #
Ask an LLM
“How do I change fields on an existing inventory record?”
“Do I need to send every field when updating an inventory, or only the changed ones?”
Tell an agent
Update {schemaName} inventory {id} with {inventoryRequest}.
Change the fields of inventory record {id} of type {schemaName}.
DELETE /api/inventory/v2/inventories/{schemaName}/{id} Delete an inventory record · Delete Inventory #
Ask an LLM
“How do I delete an asset or processing activity from my inventory?”
“Can I record a reason when deleting an inventory record?”
Tell an agent destructive · confirm first
Delete {schemaName} inventory {id}.
Delete inventory {id} of type {schemaName} with reason {deleteReason}.
POST /api/inventory/v2/inventories/{schemaName}/{id}/copy Copy an inventory record · Copy Inventory #
Ask an LLM
“How do I duplicate an existing inventory record?”
“Can a copied inventory bring its related records along or become a child?”
Tell an agent
Copy {schemaName} inventory {id}.
Duplicate inventory {id} of type {schemaName} as {name}, copying related records.
PUT /api/inventory/v2/inventories/{schemaName}/{id}/status Change an inventory record's status · Update Inventory Status #
Ask an LLM
“How do I move an inventory record to a different status?”
“Can I set an asset's status without editing its other fields?”
Tell an agent
Set the status of {schemaName} inventory {id} to {key}.
Change inventory {id} of type {schemaName} to status {key}.
GET /inventory/v2/schemas/attributes/{attributeId}/values/{valueId} Get an inventory attribute's option value · Get Attribute Options #
Ask an LLM
“How do I look up a single option value defined on an inventory schema attribute?”
“Can I see the current name of one picklist option on an inventory attribute before renaming it?”
Tell an agent
Get option value {valueId} of inventory attribute {attributeId}.
Show me the schema attribute option {valueId} under attribute {attributeId} so I can check its name.

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-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

onetrust-inventory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Onetrust Inventory API
  version: '1.0'
  description: 'Operations tagged Inventory across 2 of this provider''s published API definitions: onetrust-privacy-automation-data-mapping-automation-openapi.json, onetrust-privacy-automation-data-mapping-automation-swagger-openapi.json. Each path carries the servers of the definition it was published in.'
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.
- url: https://customer.my.onetrust.com/api
tags:


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