OneTrust · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Onetrust Inventory Schema API
10 actions
10 updates
phrasing
extends
openapi/onetrust-inventory-schema-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for OneTrust's API. It is a proposal applied on top of the contract, not a document OneTrust publishes.
What the actions change
x-apievangelist-phrasing
Targets 10
$.info
$.paths['/api/inventory/v2/schemas'].get
$.paths['/api/inventory/v2/schemas/attributes/{attributeId}/values/bulk/'].post
$.paths['/api/inventory/v2/schemas/attributes/{attributeId}/values/{valueId}'].put
$.paths['/api/inventory/v2/schemas/{schemaName}'].get
$.paths['/api/inventory/v2/schemas/{schemaName}/attributes/'].post
$.paths['/api/inventory/v2/schemas/{schemaName}/attributes/activate'].put
$.paths['/api/inventory/v2/schemas/{schemaName}/attributes/deactivate'].put
$.paths['/api/inventory/v2/schemas/{schemaName}/attributes/{fieldName}'].get
$.paths['/inventory/v2/schemas/{type}'].get
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Onetrust Inventory Schema API
version: 1.0.0
extends: openapi/onetrust-inventory-schema-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-10-02'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 9
- target: $.paths['/api/inventory/v2/schemas'].get
update:
x-apievangelist-phrasing:
intent: List inventory schemas
effect: read
questions:
- Which inventory schemas are defined in my tenant?
- Can I see every schema available for inventories?
instructions:
- text: List all inventory schemas.
- text: Show me the schemas my inventories use.
method: generated
generated: '2026-09-26'
- target: $.paths['/api/inventory/v2/schemas/attributes/{attributeId}/values/bulk/'].post
update:
x-apievangelist-phrasing:
intent: Add options to a select attribute
effect: write
questions:
- Can I bulk-add dropdown options to a single or multi select inventory attribute?
- Which attribute types support creating new option values?
instructions:
- text: Create option values for attribute {attributeId}.
slots:
attributeId: path.attributeId
- text: Bulk add new select options to inventory attribute {attributeId}.
slots:
attributeId: path.attributeId
method: generated
generated: '2026-09-26'
- target: $.paths['/api/inventory/v2/schemas/attributes/{attributeId}/values/{valueId}'].put
update:
x-apievangelist-phrasing:
intent: Edit or deactivate an attribute option
effect: write
questions:
- 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?
instructions:
- text: Rename option {valueId} on attribute {attributeId} to {Value}.
slots:
valueId: path.valueId
attributeId: path.attributeId
Value: requestBody.Value
- text: Set status {Status} on option {valueId} of attribute {attributeId} with value {Value}.
slots:
Status: requestBody.Status
valueId: path.valueId
attributeId: path.attributeId
Value: requestBody.Value
method: generated
generated: '2026-10-02'
- target: $.paths['/api/inventory/v2/schemas/{schemaName}'].get
update:
x-apievangelist-phrasing:
intent: Get an inventory schema with hidden fields
effect: read
questions:
- Can I fetch a schema by name including hidden attributes?
- Does a schema lookup by name return personal data attributes too?
instructions:
- text: Get the inventory schema {schemaName}.
slots:
schemaName: path.schemaName
- text: Get schema {schemaName} including hidden attributes {includeHidden} and personal data {includePersonalData}.
slots:
schemaName: path.schemaName
includeHidden: query.includeHidden
includePersonalData: query.includePersonalData
method: generated
generated: '2026-09-26'
- target: $.paths['/api/inventory/v2/schemas/{schemaName}/attributes/'].post
update:
x-apievangelist-phrasing:
intent: Create an inventory attribute
effect: write
questions:
- Can I add a custom attribute to the assets or vendors schema?
- What response types can a new inventory attribute have?
instructions:
- text: Create attribute {name} on schema {schemaName} with response type {responseType} and description {description}.
slots:
name: requestBody.name
schemaName: path.schemaName
responseType: requestBody.responseType
description: requestBody.description
- text: Add a {responseType} field called {name} to the {schemaName} schema, described as {description}.
slots:
responseType: requestBody.responseType
name: requestBody.name
schemaName: path.schemaName
description: requestBody.description
method: generated
generated: '2026-09-26'
- target: $.paths['/api/inventory/v2/schemas/{schemaName}/attributes/activate'].put
update:
x-apievangelist-phrasing:
intent: Activate inventory attributes
effect: write
questions:
- Can I re-enable attributes on a schema by their field names?
- Is there a bulk way to turn inactive schema attributes back on?
instructions:
- text: Activate attributes by field name on schema {schemaName}.
slots:
schemaName: path.schemaName
- text: Turn deactivated fields back on for the {schemaName} schema.
slots:
schemaName: path.schemaName
method: generated
generated: '2026-09-26'
- target: $.paths['/api/inventory/v2/schemas/{schemaName}/attributes/deactivate'].put
update:
x-apievangelist-phrasing:
intent: Deactivate inventory attributes
effect: write
questions:
- Can I switch off attributes on a schema by their field names?
- Is there a bulk way to hide attributes I no longer use?
instructions:
- text: Deactivate attributes by field name on schema {schemaName}.
slots:
schemaName: path.schemaName
- text: Switch off unused fields in the {schemaName} schema.
slots:
schemaName: path.schemaName
method: generated
generated: '2026-09-26'
- target: $.paths['/api/inventory/v2/schemas/{schemaName}/attributes/{fieldName}'].get
update:
x-apievangelist-phrasing:
intent: Get one attribute's schema details
effect: read
questions:
- 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?
instructions:
- text: Get details of field {fieldName} in schema {schemaName}.
slots:
fieldName: path.fieldName
schemaName: path.schemaName
- text: Show field {fieldName} of schema {schemaName} with up to {optionsSize} options.
slots:
fieldName: path.fieldName
schemaName: path.schemaName
optionsSize: query.optionsSize
method: generated
generated: '2026-09-26'
- target: $.paths['/inventory/v2/schemas/{type}'].get
update:
x-apievangelist-phrasing:
intent: Get attribute definitions for an inventory type
effect: read
questions:
- What attributes, types and validation rules does an inventory type have?
- Where can I learn the structure of an inventory category before importing records?
instructions:
- text: Get the attribute definitions for inventory type {type}.
slots:
type: path.type
- text: Show validation rules for all attributes of inventory type {type}, show all {showAll}.
slots:
type: path.type
showAll: query.showAll
method: generated
generated: '2026-09-26'
Work with this as data
Every overlay 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 openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/onetrust-inventory-schema-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.