OneTrust Inventory Schema API

APIs used to define and maintain schema attributes that shape inventory data collection and validation.

Operations 9

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

GET /api/inventory/v2/schemas List inventory schemas · Get List of Inventory Schemas #
Ask an LLM
“Which inventory schemas are defined in my tenant?”
“Can I see every schema available for inventories?”
Tell an agent
List all inventory schemas.
Show me the schemas my inventories use.
POST /api/inventory/v2/schemas/attributes/{attributeId}/values/bulk/ Add options to a select attribute · Create Attribute Values #
Ask an LLM
“Can I bulk-add dropdown options to a single or multi select inventory attribute?”
“Which attribute types support creating new option values?”
Tell an agent
Create option values for attribute {attributeId}.
Bulk add new select options to inventory attribute {attributeId}.
PUT /api/inventory/v2/schemas/attributes/{attributeId}/values/{valueId} Edit or deactivate an attribute option · Manage Attribute Options #
Ask an LLM
“Can I rename an existing option on an inventory attribute?”
“Is it possible to deactivate a single option value on one attribute without deleting it?”
Tell an agent
Rename option {valueId} on attribute {attributeId} to {Value}.
Set status {Status} on option {valueId} of attribute {attributeId} with value {Value}.
GET /api/inventory/v2/schemas/{schemaName} Get an inventory schema with hidden fields · Get Inventory Schema #
Ask an LLM
“Can I fetch a schema by name including hidden attributes?”
“Does a schema lookup by name return personal data attributes too?”
Tell an agent
Get the inventory schema {schemaName}.
Get schema {schemaName} including hidden attributes {includeHidden} and personal data {includePersonalData}.
POST /api/inventory/v2/schemas/{schemaName}/attributes/ Create an inventory attribute · Create Attribute #
Ask an LLM
“Can I add a custom attribute to the assets or vendors schema?”
“What response types can a new inventory attribute have?”
Tell an agent
Create attribute {name} on schema {schemaName} with response type {responseType} and description {description}.
Add a {responseType} field called {name} to the {schemaName} schema, described as {description}.
PUT /api/inventory/v2/schemas/{schemaName}/attributes/activate Activate inventory attributes · Activate Attribute Values #
Ask an LLM
“Can I re-enable attributes on a schema by their field names?”
“Is there a bulk way to turn inactive schema attributes back on?”
Tell an agent
Activate attributes by field name on schema {schemaName}.
Turn deactivated fields back on for the {schemaName} schema.
PUT /api/inventory/v2/schemas/{schemaName}/attributes/deactivate Deactivate inventory attributes · Deactivate Attribute Values #
Ask an LLM
“Can I switch off attributes on a schema by their field names?”
“Is there a bulk way to hide attributes I no longer use?”
Tell an agent
Deactivate attributes by field name on schema {schemaName}.
Switch off unused fields in the {schemaName} schema.
GET /api/inventory/v2/schemas/{schemaName}/attributes/{fieldName} Get one attribute's schema details · Get Inventory Schema Details #
Ask an LLM
“What are the settings and options of a single attribute in a schema?”
“Can I limit how many options come back for one schema field?”
Tell an agent
Get details of field {fieldName} in schema {schemaName}.
Show field {fieldName} of schema {schemaName} with up to {optionsSize} options.
GET /inventory/v2/schemas/{type} Get attribute definitions for an inventory type · Get Inventory Schema #
Ask an LLM
“What attributes, types and validation rules does an inventory type have?”
“Where can I learn the structure of an inventory category before importing records?”
Tell an agent
Get the attribute definitions for inventory type {type}.
Show validation rules for all attributes of inventory type {type}, show all {showAll}.

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-schema-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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-schema-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Onetrust Inventory Schema API
  version: '1.0'
  description: 'Operations tagged Inventory Schema 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 (151 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/onetrust/refs/heads/main/openapi/onetrust-inventory-schema-api-openapi.yml