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

# Get Inventory by ID

Use this API to retrieve the details of a specific inventory.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Privacy Automation - Data Mapping 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 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": [
    {
      "name": "Inventory",
      "description": "APIs used to create and manage inventory records for supported schema types (processing-activities, vendors, assets, entities).",
      "externalDocs": {
        "description": "OpenAPI 3.1.0 - Download Definition",
        "url": "https://developer.onetrust.com/onetrust/openapi/privacy-automation-data-mapping-automation.json"
      }
    }
  ],
  "x-onetrust": {
    "spec-label": "OpenAPI 3.1.0",
    "links": [
      "{'Data Mapping Automation Knowledge Base': 'https://my.onetrust.com/s/topic/0TO1Q000000ItRxWAK/data-mapping-automation'}"
    ]
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false,
    "metrics-enabled": false
  },
  "paths": {
    "/api/inventory/v2/inventories/{schemaName}/{id}": {
      "get": {
        "operationId": "getInventoryByIdUsingGET",
        "summary": "Get Inventory by ID",
        "description": "Use this API to retrieve the details of a specific inventory.",
        "tags": [
          "Inventory"
        ],
        "x-onetrust": {
          "spec-label": "https://developer.onetrust.com/onetrust/openapi/privacy-automation-data-mapping-automation.json"
        },
        "parameters": [
          {
            "name": "schemaName",
            "in": "path",
            "description": "The `name` property of the schema. The value can be obtained using the [Get Schemas](/onetrust/reference/getSchemas) API.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "processing-activities",
                "vendors",
                "assets",
                "entities"
              ]
            },
            "example": "vendors"
          },
          {
            "name": "id",
            "in": "path",
            "description": "The unique identifier of an inventory record. The value can be obtained using the [List Inventories](/onetrust/reference/getInventoryList) API.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "example": "9a7c3ec1-7830-4811-8563-36e0a093e7ae"
          }
        ],
        "responses": {
          "200": {
            "description": "OK - Successfully retrieved inventory details.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/OneTrustResponseOfVendorInventory"
                    },
                    {
                      "$ref": "#/components/schemas/OneTrustResponseOfAssetInventory"
                    },
                    {
                      "$ref": "#/components/schemas/OneTrustResponseOfEntityInventory"
                    },
                    {
                      "$ref": "#/components/schemas/OneTrustResponseOfInventory"
                    }
                  ]
                },
                "examples": {
                  "vendors": {
                    "summary": "Vendor Inventory Response",
                    "description": "vendors",
                    "value": {
                      "data": {
                        "id": "9a7c3ec1-7830-4811-8563-36e0a093e7ae",
                        "name": "Vendor Name",
                        "organization": {
                          "value": "aws",
                          "id": "01d5d6db-a3f0-424e-9956-cfa205dc8af7"
                        },
                        "type": {
                          "value": "Operations",
                          "id": "a9e976c7-f643-4e3c-94c6-edec5d0279a9",
                          "valueKey": "VendorsTypeOperations"
                        },
                        "isEditable": true,
                        "isDeletable": true,
                        "canViewDetails": true,
                        "status": {
                          "key": "active"
                        },
                        "number": 1,
                        "isParent": false,
                        "updatedBy": {
                          "id": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc"
                        },
                        "createdBy": {
                          "id": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc"
                        },
                        "createdDate": "2023-05-29T12:06:35.787Z",
                        "updatedDate": "2023-06-02T06:29:44.717Z",
                        "owner": [
                          {
                            "id": "dc60cf7c-d5f9-4a91-a0ef-2e23faea1d88"
                          }
                        ]
                      }
                    }
                  },
                  "assets": {
                    "summary": "Asset Inventory Response",
                    "description": "assets",
                    "value": {
                      "data": {
                        "id": "9a7c3ec1-7830-4811-8563-36e0a093e7ae",
                        "name": "Asset Name",
                        "organization": {
                          "value": "aws",
                          "id": "01d5d6db-a3f0-424e-9956-cfa205dc8af7"
                        },
                        "location": {
                          "value": "US East",
                          "id": "b2c4d6e8-1234-5678-9abc-def012345678"
                        },
                        "isEditable": true,
                        "isDeletable": true,
                        "canViewDetails": true,
                        "status": {
                          "key": "active"
                        },
                        "number": 2,
                        "isParent": false,
                        "updatedBy": {
                          "id": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc"
                        },
                        "createdBy": {
                          "id": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc"
                        },
                        "createdDate": "2023-05-29T12:06:35.787Z",
                        "updatedDate": "2023-06-02T06:29:44.717Z",
                        "owner": [
                          {
                            "id": "dc60cf7c-d5f9-4a91-a0ef-2e23faea1d88"
                          }
                        ]
                      }
                    }
                  },
                  "processing-activities": {
                    "summary": "Processing Activity Inventory Response",
                    "description": "processing-activities",
                    "value": {
                      "data": {
                        "id": "9a7c3ec1-7830-4811-8563-36e0a093e7ae",
                        "name": "Processing Activity Name",
                        "organization": {
                          "value": "aws",
                          "id": "01d5d6db-a3f0-424e-9956-cfa205dc8af7"
                        },
                        "isEditable": true,
                        "isDeletable": true,
                        "canViewDetails": true,
                        "status": {
                          "key": "active"
                        },
                        "number": 3,
                        "isParent": false,
                        "updatedBy": {
                          "id": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc"
                        },
                        "createdBy": {
                          "id": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc"
                        },
                        "createdDate": "2023-05-29T12:06:35.787Z",
                        "updatedDate": "2023-06-02T06:29:44.717Z",
                        "owner": [
                          {
                            "id": "dc60cf7c-d5f9-4a91-a0ef-2e23faea1d88"
                          }
                        ]
                      }
                    }
                  },
                  "entities": {
                    "summary": "Entity Inventory Response",
                    "description": "entities",
                    "value": {
                      "data": {
                        "id": "9a7c3ec1-7830-4811-8563-36e0a093e7ae",
                        "name": "Entity Name",
                        "organization": {
                          "value": "aws",
                          "id": "01d5d6db-a3f0-424e-9956-cfa205dc8af7"
                        },
                        "primaryOperatingLocation": {
                          "value": "US East",
                          "id": "b2c4d6e8-1234-5678-9abc-def012345678"
                        },
                        "isEditable": true,
                        "isDeletable": true,
                        "canViewDetails": true,
                        "status": {
                          "key": "active"
                        },
                        "number": 4,
                        "isParent": false,
                        "updatedBy": {
                          "id": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc"
                        },
                        "createdBy": {
                          "id": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc"
                        },
                        "createdDate": "2023-05-29T12:06:35.787Z",
                        "updatedDate": "2023-06-02T06:29:44.717Z",
                        "owner": [
                          {
                            "id": "dc60cf7c-d5f9-4a91-a0ef-2e23faea1d88"
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Not Found"
          },
          "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": [
          {
            "OAUTH2": [
              "INVENTORY",
              "INVENTORY_READ",
              "INVENTORY_WRITE"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "InventoryValue": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Unique identifier of the inventory value",
            "type": "string",
            "format": "uuid",
            "example": "7e9d5f2a-8b1c-4d3e-9f6a-1a2b3c4d5e6f"
          },
          "value": {
            "description": "The display value",
            "type": "string",
            "example": "High Risk"
          },
          "valueKey": {
            "description": "The key of the value",
            "type": "string",
            "example": "HIGH_RISK"
          },
          "colorCode": {
            "description": "Color code associated with the value",
            "type": "string",
            "example": "#FF0000"
          },
          "selectionValue": {
            "description": "Selection value",
            "type": "string",
            "example": "high"
          }
        }
      },
      "InventoryWorkflowStageDto": {
        "type": "object",
        "properties": {
          "stage": {
            "description": "Reference to the workflow stage",
            "$ref": "#/components/schemas/ObjectReference"
          },
          "badgeColor": {
            "description": "Color code for the workflow stage badge",
            "type": "string",
            "example": "#4CAF50"
          }
        }
      },
      "KeyNameDto": {
        "type": "object",
        "properties": {
          "key": {
            "description": "The key identifier",
            "type": "string",
            "example": "active"
          },
          "name": {
            "description": "The display name associated with the key",
            "type": "string",
            "example": "Active"
          }
        },
        "required": [
          "key"
        ]
      },
      "ObjectReference": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "value": {
            "type": "string"
          },
          "valueKey": {
            "type": "string"
          }
        }
      },
      "OneTrustResponseOfVendorInventory": {
        "type": "object",
        "properties": {
          "data": {
            "description": "Inventory details",
            "$ref": "#/components/schemas/VendorInventory"
          }
        }
      },
      "SimilarRecordDetail": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "organization": {
            "$ref": "#/components/schemas/ObjectReference"
          },
          "location": {
            "$ref": "#/components/schemas/ObjectReference"
          },
          "hasAccessToSimilarRecord": {
            "type": "boolean"
          }
        }
      },
      "VendorInventory": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Unique identifier of the inventory item",
            "type": "string",
            "format": "uuid",
            "example": "96214230-ffbb-4870-b6c4-0f30c3bfec60"
          },
          "organization": {
            "description": "Organization reference to which the inventory belongs",
            "$ref": "#/components/schemas/ObjectReference"
          },
          "canViewDetails": {
            "description": "Flag indicating if the current user can view inventory details",
            "type": "boolean",
            "example": true
          },
          "name": {
            "description": "Name of the inventory",
            "type": "string",
            "example": "Vendor XYZ"
          },
          "riskLevel": {
            "description": "Risk level of the inventory",
            "type": "string",
            "example": "HIGH",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "riskScore": {
            "description": "Risk score of the inventory",
            "type": "number",
            "example": 8.5
          },
          "status": {
            "description": "Status of the inventory",
            "example": {
              "key": "active",
              "name": "Active"
            },
            "$ref": "#/components/schemas/KeyNameDto"
          },
          "externalId": {
            "description": "External identifier of the inventory",
            "type": "string",
            "example": "EXT-12345"
          },
          "createdDate": {
            "description": "Date and time when the inventory was created",
            "type": "string",
            "format": "date-time",
            "example": "2023-01-15T10:30:45.123Z"
          },
          "createdBy": {
            "description": "Reference to the user who created the inventory",
            "example": {
              "id": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc",
              "value": null
            },
            "$ref": "#/components/schemas/ObjectReference"
          },
          "updatedDate": {
            "description": "Date and time when the inventory was last updated",
            "type": "string",
            "format": "date-time",
            "example": "2023-02-20T14:15:30.456Z"
          },
          "updatedBy": {
            "description": "Reference to the user who last updated the inventory",
            "example": {
              "id": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc",
              "value": null
            },
            "$ref": "#/components/schemas/ObjectReference"
          },
          "selectFields": {
            "description": "Map of select fields with their values",
            "type": "object",
            "example": {
              "data-residency": [
                {
                  "key": "us",
                  "value": "US"
                }
              ]
            },
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/InventoryValue"
              }
            }
          },
          "textFields": {
            "description": "Map of text fields with their values",
            "type": "object",
            "example": {
              "description": "Sample description"
            },
            "additionalProperties": {
              "type": "string"
            }
          },
          "number": {
            "description": "Sequence number of the inventory",
            "type": "integer",
            "format": "int64",
            "example": 123
          },
          "isParent": {
            "description": "Flag indicating if this inventory is a parent",
            "type": "boolean",
            "example": true
          },
          "inheritFromMaster": {
            "description": "Flag indicating if this inventory inherits from master",
            "type": "boolean",
            "example": true
          },
          "parentInventoryId": {
            "description": "ID of the parent inventory",
            "type": "string",
            "format": "uuid",
            "example": "96214230-ffbb-4870-b6c4-0f30c3bfec60"
          },
          "masterRecord": {
            "description": "Reference to the master record",
            "type": "string",
            "example": "MASTER-001"
          },
          "workflow": {
            "description": "Reference to the workflow associated with this inventory",
            "example": {
              "id": "0cfe2b89-1d73-4c07-8c6b-ff1a5a6c8b88",
              "value": "Vendor Review Workflow"
            },
            "$ref": "#/components/schemas/ObjectReference"
          },
          "workflowStage": {
            "description": "Current workflow stage of the inventory",
            "example": {
              "stage": {
                "id": "c2c9a3b4-1d20-4bd4-8b86-5a6ef5a3b2a1",
                "value": "In Review"
              },
              "badgeColor": "#4CAF50"
            },
            "$ref": "#/components/schemas/InventoryWorkflowStageDto"
          },
          "inherentRiskLevel": {
            "description": "Inherent risk level of the inventory",
            "type": "string",
            "example": "MEDIUM",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "inherentRiskScore": {
            "description": "Inherent risk score of the inventory",
            "type": "number",
            "example": 6.5
          },
          "targetRiskLevel": {
            "description": "Target risk level of the inventory",
            "type": "string",
            "example": "LOW",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "targetRiskScore": {
            "description": "Target risk score of the inventory",
            "type": "number",
            "example": 3
          },
          "totalHierarchyRiskLevel": {
            "description": "Total hierarchy risk level of the inventory",
            "type": "string",
            "example": "HIGH",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "totalHierarchyRiskScore": {
            "description": "Total hierarchy risk score of the inventory",
            "type": "number",
            "example": 8
          },
          "totalHierarchyInherentRiskLevel": {
            "description": "Total hierarchy inherent risk level of the inventory",
            "type": "string",
            "example": "MEDIUM",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "totalHierarchyInherentRiskScore": {
            "description": "Total hierarchy inherent risk score of the inventory",
            "type": "number",
            "example": 6
          },
          "totalHierarchyTargetRiskLevel": {
            "description": "Total hierarchy target risk level of the inventory",
            "type": "string",
            "example": "LOW",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "totalHierarchyTargetRiskScore": {
            "description": "Total hierarchy target risk score of the inventory",
            "type": "number",
            "example": 3
          },
          "inventoryDeleteType": {
            "description": "Type of deletion for the inventory",
            "type": "string",
            "example": "SOFT",
            "enum": [
              "HARD",
              "SOFT",
              "NONE"
            ]
          },
          "deletedReason": {
            "description": "Reason for deletion of the inventory",
            "type": "string",
            "example": "No longer required"
          },
          "deletedBy": {
            "description": "ID of the user who deleted the inventory",
            "type": "string",
            "format": "uuid",
            "example": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc"
          },
          "deletedDate": {
            "description": "Date and time when the inventory was deleted",
            "type": "string",
            "format": "date-time",
            "example": "2023-03-01T12:00:00.000Z"
          },
          "isGlobalAttributeConfigurationEnabled": {
            "description": "Flag indicating if global attribute configuration is enabled",
            "type": "boolean",
            "example": true
          },
          "sourceId": {
            "description": "ID of the source inventory",
            "type": "string",
            "format": "uuid",
            "example": "c79fb1a9-9406-4e9b-bff7-c72e635ee82b"
          },
          "integrationWorkflowId": {
            "description": "ID of the integration workflow",
            "type": "string",
            "example": "wf-123"
          },
          "sourceType": {
            "description": "Type of the source inventory",
            "type": "string",
            "example": "API_INTEGRATION"
          },
          "reviewType": {
            "description": "Type of review for the inventory",
            "type": "string",
            "example": "ANNUAL"
          },
          "similarRecord": {
            "description": "Similar record detail for the inventory",
            "example": {
              "id": "c79fb1a9-9406-4e9b-bff7-c72e635ee82b",
              "name": "Vendor ABC",
              "hasAccessToSimilarRecord": true
            },
            "$ref": "#/components/schemas/SimilarRecordDetail"
          },
          "detailsUri": {
            "description": "URI for viewing the inventory details page",
            "type": "string",
            "example": "https://app.onetrust.com/inventory/details/vendors/c79fb1a9-9406-4e9b-bff7-c72e635ee82b"
          },
          "redacted": {
            "description": "Field names that should be redacted when user lacks advanced view access",
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "field1",
              "field2"
            ],
            "uniqueItems": true
          },
          "type": {
            "description": "Type reference",
            "example": {
              "id": "cc11c8a5-bbb3-4377-a33d-52a23b1455f9",
              "value": "Regulatory"
            },
            "$ref": "#/components/schemas/ObjectReference"
          },
          "editable": {
            "type": "boolean"
          },
          "deletable": {
            "type": "boolean"
          }
        }
      },
      "AssetInventory": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Unique identifier of the inventory item",
            "type": "string",
            "format": "uuid",
            "example": "96214230-ffbb-4870-b6c4-0f30c3bfec60"
          },
          "organization": {
            "description": "Organization reference to which the inventory belongs",
            "$ref": "#/components/schemas/ObjectReference"
          },
          "canViewDetails": {
            "description": "Flag indicating if the current user can view inventory details",
            "type": "boolean",
            "example": true
          },
          "name": {
            "description": "Name of the inventory",
            "type": "string",
            "example": "Vendor XYZ"
          },
          "riskLevel": {
            "description": "Risk level of the inventory",
            "type": "string",
            "example": "HIGH",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "riskScore": {
            "description": "Risk score of the inventory",
            "type": "number",
            "example": 8.5
          },
          "status": {
            "description": "Status of the inventory",
            "example": {
              "key": "active",
              "name": "Active"
            },
            "$ref": "#/components/schemas/KeyNameDto"
          },
          "externalId": {
            "description": "External identifier of the inventory",
            "type": "string",
            "example": "EXT-12345"
          },
          "createdDate": {
            "description": "Date and time when the inventory was created",
            "type": "string",
            "format": "date-time",
            "example": "2023-01-15T10:30:45.123Z"
          },
          "createdBy": {
            "description": "Reference to the user who created the inventory",
            "example": {
              "id": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc",
              "value": null
            },
            "$ref": "#/components/schemas/ObjectReference"
          },
          "updatedDate": {
            "description": "Date and time when the inventory was last updated",
            "type": "string",
            "format": "date-time",
            "example": "2023-02-20T14:15:30.456Z"
          },
          "updatedBy": {
            "description": "Reference to the user who last updated the inventory",
            "example": {
              "id": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc",
              "value": null
            },
            "$ref": "#/components/schemas/ObjectReference"
          },
          "selectFields": {
            "description": "Map of select fields with their values",
            "type": "object",
            "example": {
              "data-residency": [
                {
                  "key": "us",
                  "value": "US"
                }
              ]
            },
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/InventoryValue"
              }
            }
          },
          "textFields": {
            "description": "Map of text fields with their values",
            "type": "object",
            "example": {
              "description": "Sample description"
            },
            "additionalProperties": {
              "type": "string"
            }
          },
          "number": {
            "description": "Sequence number of the inventory",
            "type": "integer",
            "format": "int64",
            "example": 123
          },
          "isParent": {
            "description": "Flag indicating if this inventory is a parent",
            "type": "boolean",
            "example": true
          },
          "inheritFromMaster": {
            "description": "Flag indicating if this inventory inherits from master",
            "type": "boolean",
            "example": true
          },
          "parentInventoryId": {
            "description": "ID of the parent inventory",
            "type": "string",
            "format": "uuid",
            "example": "96214230-ffbb-4870-b6c4-0f30c3bfec60"
          },
          "masterRecord": {
            "description": "Reference to the master record",
            "type": "string",
            "example": "MASTER-001"
          },
          "workflow": {
            "description": "Reference to the workflow associated with this inventory",
            "example": {
              "id": "0cfe2b89-1d73-4c07-8c6b-ff1a5a6c8b88",
              "value": "Vendor Review Workflow"
            },
            "$ref": "#/components/schemas/ObjectReference"
          },
          "workflowStage": {
            "description": "Current workflow stage of the inventory",
            "example": {
              "stage": {
                "id": "c2c9a3b4-1d20-4bd4-8b86-5a6ef5a3b2a1",
                "value": "In Review"
              },
              "badgeColor": "#4CAF50"
            },
            "$ref": "#/components/schemas/InventoryWorkflowStageDto"
          },
          "inherentRiskLevel": {
            "description": "Inherent risk level of the inventory",
            "type": "string",
            "example": "MEDIUM",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "inherentRiskScore": {
            "description": "Inherent risk score of the inventory",
            "type": "number",
            "example": 6.5
          },
          "targetRiskLevel": {
            "description": "Target risk level of the inventory",
            "type": "string",
            "example": "LOW",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "targetRiskScore": {
            "description": "Target risk score of the inventory",
            "type": "number",
            "example": 3
          },
          "totalHierarchyRiskLevel": {
            "description": "Total hierarchy risk level of the inventory",
            "type": "string",
            "example": "HIGH",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "totalHierarchyRiskScore": {
            "description": "Total hierarchy risk score of the inventory",
            "type": "number",
            "example": 8
          },
          "totalHierarchyInherentRiskLevel": {
            "description": "Total hierarchy inherent risk level of the inventory",
            "type": "string",
            "example": "MEDIUM",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "totalHierarchyInherentRiskScore": {
            "description": "Total hierarchy inherent risk score of the inventory",
            "type": "number",
            "example": 6
          },
          "totalHierarchyTargetRiskLevel": {
            "description": "Total hierarchy target risk level of the inventory",
            "type": "string",
            "example": "LOW",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "totalHierarchyTargetRiskScore": {
            "description": "Total hierarchy target risk score of the inventory",
            "type": "number",
            "example": 3
          },
          "inventoryDeleteType": {
            "description": "Type of deletion for the inventory",
            "type": "string",
            "example": "SOFT",
            "enum": [
              "HARD",
              "SOFT",
              "NONE"
            ]
          },
          "deletedReason": {
            "description": "Reason for deletion of the inventory",
            "type": "string",
            "example": "No longer required"
          },
          "deletedBy": {
            "description": "ID of the user who deleted the inventory",
            "type": "string",
            "format": "uuid",
            "example": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc"
          },
          "deletedDate": {
            "description": "Date and time when the inventory was deleted",
            "type": "string",
            "format": "date-time",
            "example": "2023-03-01T12:00:00.000Z"
          },
          "isGlobalAttributeConfigurationEnabled": {
            "description": "Flag indicating if global attribute configuration is enabled",
            "type": "boolean",
            "example": true
          },
          "sourceId": {
            "description": "ID of the source inventory",
            "type": "string",
            "format": "uuid",
            "example": "c79fb1a9-9406-4e9b-bff7-c72e635ee82b"
          },
          "integrationWorkflowId": {
            "description": "ID of the integration workflow",
            "type": "string",
            "example": "wf-123"
          },
          "sourceType": {
            "description": "Type of the source inventory",
            "type": "string",
            "example": "API_INTEGRATION"
          },
          "reviewType": {
            "description": "Type of review for the inventory",
            "type": "string",
            "example": "ANNUAL"
          },
          "similarRecord": {
            "description": "Similar record detail for the inventory",
            "example": {
              "id": "c79fb1a9-9406-4e9b-bff7-c72e635ee82b",
              "name": "Vendor ABC",
              "hasAccessToSimilarRecord": true
            },
            "$ref": "#/components/schemas/SimilarRecordDetail"
          },
          "detailsUri": {
            "description": "URI for viewing the inventory details page",
            "type": "string",
            "example": "https://app.onetrust.com/inventory/details/vendors/c79fb1a9-9406-4e9b-bff7-c72e635ee82b"
          },
          "redacted": {
            "description": "Field names that should be redacted when user lacks advanced view access",
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "field1",
              "field2"
            ],
            "uniqueItems": true
          },
          "location": {
            "description": "Location reference (required for assets)",
            "example": {
              "value": "US East",
              "id": "b2c4d6e8-1234-5678-9abc-def012345678"
            },
            "$ref": "#/components/schemas/ObjectReference"
          },
          "editable": {
            "type": "boolean"
          },
          "deletable": {
            "type": "boolean"
          }
        }
      },
      "OneTrustResponseOfAssetInventory": {
        "type": "object",
        "properties": {
          "data": {
            "description": "Inventory details",
            "$ref": "#/components/schemas/AssetInventory"
          }
        }
      },
      "EntityInventory": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Unique identifier of the inventory item",
            "type": "string",
            "format": "uuid",
            "example": "96214230-ffbb-4870-b6c4-0f30c3bfec60"
          },
          "organization": {
            "description": "Organization reference to which the inventory belongs",
            "$ref": "#/components/schemas/ObjectReference"
          },
          "canViewDetails": {
            "description": "Flag indicating if the current user can view inventory details",
            "type": "boolean",
            "example": true
          },
          "name": {
            "description": "Name of the inventory",
            "type": "string",
            "example": "Vendor XYZ"
          },
          "riskLevel": {
            "description": "Risk level of the inventory",
            "type": "string",
            "example": "HIGH",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "riskScore": {
            "description": "Risk score of the inventory",
            "type": "number",
            "example": 8.5
          },
          "status": {
            "description": "Status of the inventory",
            "example": {
              "key": "active",
              "name": "Active"
            },
            "$ref": "#/components/schemas/KeyNameDto"
          },
          "externalId": {
            "description": "External identifier of the inventory",
            "type": "string",
            "example": "EXT-12345"
          },
          "createdDate": {
            "description": "Date and time when the inventory was created",
            "type": "string",
            "format": "date-time",
            "example": "2023-01-15T10:30:45.123Z"
          },
          "createdBy": {
            "description": "Reference to the user who created the inventory",
            "example": {
              "id": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc",
              "value": null
            },
            "$ref": "#/components/schemas/ObjectReference"
          },
          "updatedDate": {
            "description": "Date and time when the inventory was last updated",
            "type": "string",
            "format": "date-time",
            "example": "2023-02-20T14:15:30.456Z"
          },
          "updatedBy": {
            "description": "Reference to the user who last updated the inventory",
            "example": {
              "id": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc",
              "value": null
            },
            "$ref": "#/components/schemas/ObjectReference"
          },
          "selectFields": {
            "description": "Map of select fields with their values",
            "type": "object",
            "example": {
              "data-residency": [
                {
                  "key": "us",
                  "value": "US"
                }
              ]
            },
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/InventoryValue"
              }
            }
          },
          "textFields": {
            "description": "Map of text fields with their values",
            "type": "object",
            "example": {
              "description": "Sample description"
            },
            "additionalProperties": {
              "type": "string"
            }
          },
          "number": {
            "description": "Sequence number of the inventory",
            "type": "integer",
            "format": "int64",
            "example": 123
          },
          "isParent": {
            "description": "Flag indicating if this inventory is a parent",
            "type": "boolean",
            "example": true
          },
          "inheritFromMaster": {
            "description": "Flag indicating if this inventory inherits from master",
            "type": "boolean",
            "example": true
          },
          "parentInventoryId": {
            "description": "ID of the parent inventory",
            "type": "string",
            "format": "uuid",
            "example": "96214230-ffbb-4870-b6c4-0f30c3bfec60"
          },
          "masterRecord": {
            "description": "Reference to the master record",
            "type": "string",
            "example": "MASTER-001"
          },
          "workflow": {
            "description": "Reference to the workflow associated with this inventory",
            "example": {
              "id": "0cfe2b89-1d73-4c07-8c6b-ff1a5a6c8b88",
              "value": "Vendor Review Workflow"
            },
            "$ref": "#/components/schemas/ObjectReference"
          },
          "workflowStage": {
            "description": "Current workflow stage of the inventory",
            "example": {
              "stage": {
                "id": "c2c9a3b4-1d20-4bd4-8b86-5a6ef5a3b2a1",
                "value": "In Review"
              },
              "badgeColor": "#4CAF50"
            },
            "$ref": "#/components/schemas/InventoryWorkflowStageDto"
          },
          "inherentRiskLevel": {
            "description": "Inherent risk level of the inventory",
            "type": "string",
            "example": "MEDIUM",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "inherentRiskScore": {
            "description": "Inherent risk score of the inventory",
            "type": "number",
            "example": 6.5
          },
          "targetRiskLevel": {
            "description": "Target risk level of the inventory",
            "type": "string",
            "example": "LOW",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "targetRiskScore": {
            "description": "Target risk score of the inventory",
            "type": "number",
            "example": 3
          },
          "totalHierarchyRiskLevel": {
            "description": "Total hierarchy risk level of the inventory",
            "type": "string",
            "example": "HIGH",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "totalHierarchyRiskScore": {
            "description": "Total hierarchy risk score of the inventory",
            "type": "number",
            "example": 8
          },
          "totalHierarchyInherentRiskLevel": {
            "description": "Total hierarchy inherent risk level of the inventory",
            "type": "string",
            "example": "MEDIUM",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "totalHierarchyInherentRiskScore": {
            "description": "Total hierarchy inherent risk score of the inventory",
            "type": "number",
            "example": 6
          },
          "totalHierarchyTargetRiskLevel": {
            "description": "Total hierarchy target risk level of the inventory",
            "type": "string",
            "example": "LOW",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "totalHierarchyTargetRiskScore": {
            "description": "Total hierarchy target risk score of the inventory",
            "type": "number",
            "example": 3
          },
          "inventoryDeleteType": {
            "description": "Type of deletion for the inventory",
            "type": "string",
            "example": "SOFT",
            "enum": [
              "HARD",
              "SOFT",
              "NONE"
            ]
          },
          "deletedReason": {
            "description": "Reason for deletion of the inventory",
            "type": "string",
            "example": "No longer required"
          },
          "deletedBy": {
            "description": "ID of the user who deleted the inventory",
            "type": "string",
            "format": "uuid",
            "example": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc"
          },
          "deletedDate": {
            "description": "Date and time when the inventory was deleted",
            "type": "string",
            "format": "date-time",
            "example": "2023-03-01T12:00:00.000Z"
          },
          "isGlobalAttributeConfigurationEnabled": {
            "description": "Flag indicating if global attribute configuration is enabled",
            "type": "boolean",
            "example": true
          },
          "sourceId": {
            "description": "ID of the source inventory",
            "type": "string",
            "format": "uuid",
            "example": "c79fb1a9-9406-4e9b-bff7-c72e635ee82b"
          },
          "integrationWorkflowId": {
            "description": "ID of the integration workflow",
            "type": "string",
            "example": "wf-123"
          },
          "sourceType": {
            "description": "Type of the source inventory",
            "type": "string",
            "example": "API_INTEGRATION"
          },
          "reviewType": {
            "description": "Type of review for the inventory",
            "type": "string",
            "example": "ANNUAL"
          },
          "similarRecord": {
            "description": "Similar record detail for the inventory",
            "example": {
              "id": "c79fb1a9-9406-4e9b-bff7-c72e635ee82b",
              "name": "Vendor ABC",
              "hasAccessToSimilarRecord": true
            },
            "$ref": "#/components/schemas/SimilarRecordDetail"
          },
          "detailsUri": {
            "description": "URI for viewing the inventory details page",
            "type": "string",
            "example": "https://app.onetrust.com/inventory/details/vendors/c79fb1a9-9406-4e9b-bff7-c72e635ee82b"
          },
          "redacted": {
            "description": "Field names that should be redacted when user lacks advanced view access",
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "field1",
              "field2"
            ],
            "uniqueItems": true
          },
          "primaryOperatingLocation": {
            "description": "Primary operating location reference (required for entities)",
            "example": {
              "value": "US East",
              "id": "b2c4d6e8-1234-5678-9abc-def012345678"
            },
            "$ref": "#/components/schemas/ObjectReference"
          },
          "editable": {
            "type": "boolean"
          },
          "deletable": {
            "type": "boolean"
          }
        }
      },
      "OneTrustResponseOfEntityInventory": {
        "type": "object",
        "properties": {
          "data": {
            "description": "Inventory details",
            "$ref": "#/components/schemas/EntityInventory"
          }
        }
      },
      "Inventory": {
        "type": "object",
        "properties": {
          "id": {
            "description": "Unique identifier of the inventory item",
            "type": "string",
            "format": "uuid",
            "example": "96214230-ffbb-4870-b6c4-0f30c3bfec60"
          },
          "organization": {
            "description": "Organization reference to which the inventory belongs",
            "$ref": "#/components/schemas/ObjectReference"
          },
          "canViewDetails": {
            "description": "Flag indicating if the current user can view inventory details",
            "type": "boolean",
            "example": true
          },
          "name": {
            "description": "Name of the inventory",
            "type": "string",
            "example": "Vendor XYZ"
          },
          "riskLevel": {
            "description": "Risk level of the inventory",
            "type": "string",
            "example": "HIGH",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "riskScore": {
            "description": "Risk score of the inventory",
            "type": "number",
            "example": 8.5
          },
          "status": {
            "description": "Status of the inventory",
            "example": {
              "key": "active",
              "name": "Active"
            },
            "$ref": "#/components/schemas/KeyNameDto"
          },
          "externalId": {
            "description": "External identifier of the inventory",
            "type": "string",
            "example": "EXT-12345"
          },
          "createdDate": {
            "description": "Date and time when the inventory was created",
            "type": "string",
            "format": "date-time",
            "example": "2023-01-15T10:30:45.123Z"
          },
          "createdBy": {
            "description": "Reference to the user who created the inventory",
            "example": {
              "id": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc",
              "value": null
            },
            "$ref": "#/components/schemas/ObjectReference"
          },
          "updatedDate": {
            "description": "Date and time when the inventory was last updated",
            "type": "string",
            "format": "date-time",
            "example": "2023-02-20T14:15:30.456Z"
          },
          "updatedBy": {
            "description": "Reference to the user who last updated the inventory",
            "example": {
              "id": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc",
              "value": null
            },
            "$ref": "#/components/schemas/ObjectReference"
          },
          "selectFields": {
            "description": "Map of select fields with their values",
            "type": "object",
            "example": {
              "data-residency": [
                {
                  "key": "us",
                  "value": "US"
                }
              ]
            },
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/InventoryValue"
              }
            }
          },
          "textFields": {
            "description": "Map of text fields with their values",
            "type": "object",
            "example": {
              "description": "Sample description"
            },
            "additionalProperties": {
              "type": "string"
            }
          },
          "number": {
            "description": "Sequence number of the inventory",
            "type": "integer",
            "format": "int64",
            "example": 123
          },
          "isParent": {
            "description": "Flag indicating if this inventory is a parent",
            "type": "boolean",
            "example": true
          },
          "inheritFromMaster": {
            "description": "Flag indicating if this inventory inherits from master",
            "type": "boolean",
            "example": true
          },
          "parentInventoryId": {
            "description": "ID of the parent inventory",
            "type": "string",
            "format": "uuid",
            "example": "96214230-ffbb-4870-b6c4-0f30c3bfec60"
          },
          "masterRecord": {
            "description": "Reference to the master record",
            "type": "string",
            "example": "MASTER-001"
          },
          "workflow": {
            "description": "Reference to the workflow associated with this inventory",
            "example": {
              "id": "0cfe2b89-1d73-4c07-8c6b-ff1a5a6c8b88",
              "value": "Vendor Review Workflow"
            },
            "$ref": "#/components/schemas/ObjectReference"
          },
          "workflowStage": {
            "description": "Current workflow stage of the inventory",
            "example": {
              "stage": {
                "id": "c2c9a3b4-1d20-4bd4-8b86-5a6ef5a3b2a1",
                "value": "In Review"
              },
              "badgeColor": "#4CAF50"
            },
            "$ref": "#/components/schemas/InventoryWorkflowStageDto"
          },
          "inherentRiskLevel": {
            "description": "Inherent risk level of the inventory",
            "type": "string",
            "example": "MEDIUM",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "inherentRiskScore": {
            "description": "Inherent risk score of the inventory",
            "type": "number",
            "example": 6.5
          },
          "targetRiskLevel": {
            "description": "Target risk level of the inventory",
            "type": "string",
            "example": "LOW",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "targetRiskScore": {
            "description": "Target risk score of the inventory",
            "type": "number",
            "example": 3
          },
          "totalHierarchyRiskLevel": {
            "description": "Total hierarchy risk level of the inventory",
            "type": "string",
            "example": "HIGH",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "totalHierarchyRiskScore": {
            "description": "Total hierarchy risk score of the inventory",
            "type": "number",
            "example": 8
          },
          "totalHierarchyInherentRiskLevel": {
            "description": "Total hierarchy inherent risk level of the inventory",
            "type": "string",
            "example": "MEDIUM",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "totalHierarchyInherentRiskScore": {
            "description": "Total hierarchy inherent risk score of the inventory",
            "type": "number",
            "example": 6
          },
          "totalHierarchyTargetRiskLevel": {
            "description": "Total hierarchy target risk level of the inventory",
            "type": "string",
            "example": "LOW",
            "enum": [
              "ZERO",
              "LOW",
              "MEDIUM",
              "HIGH",
              "VERY_HIGH"
            ]
          },
          "totalHierarchyTargetRiskScore": {
            "description": "Total hierarchy target risk score of the inventory",
            "type": "number",
            "example": 3
          },
          "inventoryDeleteType": {
            "description": "Type of deletion for the inventory",
            "type": "string",
            "example": "SOFT",
            "enum": [
              "HARD",
              "SOFT",
              "NONE"
            ]
          },
          "deletedReason": {
            "description": "Reason for deletion of the inventory",
            "type": "string",
            "example": "No longer required"
          },
          "deletedBy": {
            "description": "ID of the user who deleted the inventory",
            "type": "string",
            "format": "uuid",
            "example": "ab0b11d9-8ba2-46f3-b845-2ca50bef4efc"
          },
          "deletedDate": {
            "description": "Date and time when the inventory was deleted",
            "type": "string",
            "format": "date-time",
            "example": "2023-03-01T12:00:00.000Z"
          },
          "isGlobalAttributeConfigurationEnabled": {
            "description": "Flag indicating if global attribute configuration is enabled",
            "type": "boolean",
            "example": true
          },
          "sourceId": {
            "description": "ID of the source inventory",
            "type": "string",
            "format": "uuid",
            "example": "c79fb1a9-9406-4e9b-bff7-c72e635ee82b"
          },
          "integrationWorkflowId": {
            "description": "ID of the integration workflow",
            "type": "string",
            "example": "wf-123"
          },
          "sourceType": {
            "description": "Type of the source inventory",
            "type": "string",
            "example": "API_INTEGRATION"
          },
          "reviewType": {
            "description": "Type of review for the inventory",
            "type": "string",
            "example": "ANNUAL"
          },
          "similarRecord": {
            "description": "Similar record detail for the inventory",
            "example": {
              "id": "c79fb1a9-9406-4e9b-bff7-c72e635ee82b",
              "name": "Vendor ABC",
              "hasAccessToSimilarRecord": true
            },
            "$ref": "#/components/schemas/SimilarRecordDetail"
          },
          "detailsUri": {
            "description": "URI for viewing the inventory details page",
            "type": "string",
            "example": "https://app.onetrust.com/inventory/details/vendors/c79fb1a9-9406-4e9b-bff7-c72e635ee82b"
          },
          "redacted": {
            "description": "Field names that should be redacted when user lacks advanced view access",
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "field1",
              "field2"
            ],
            "uniqueItems": true
          },
          "editable": {
            "type": "boolean"
          },
          "deletable": {
            "type": "boolean"
          }
        }
      },
      "OneTrustResponseOfInventory": {
        "type": "object",
        "properties": {
          "data": {
            "description": "Inventory details",
            "$ref": "#/components/schemas/Inventory"
          }
        }
      }
    },
    "securitySchemes": {
      "OAUTH2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://{hostname}/api/access/v1/oauth/token",
            "scopes": {
              "INVENTORY": "Inventory Scope gives the user access to read/write operations",
              "INVENTORY_READ": "Inventory Read Scope gives the user read-only access",
              "INVENTORY_WRITE": "Inventory Write Scope gives the user write access"
            }
          }
        }
      }
    }
  }
}
```

# Sibling pages

* [Get List of Inventories](https://developer.onetrust.com/onetrust/reference/getlistofinventoriesusingget.md)
* [Get List of Inventories by Criteria](https://developer.onetrust.com/onetrust/reference/getlistofinventoriesbyfiltercriteriausingpost.md)
* [Get Inventory by External ID](https://developer.onetrust.com/onetrust/reference/getinventorybyexternalidusingget.md)
* [Update Inventory by ID](https://developer.onetrust.com/onetrust/reference/updateinventoryusingput.md)
* [Create Inventory](https://developer.onetrust.com/onetrust/reference/createinventoryusingpost.md)
* [Update Inventory by External ID](https://developer.onetrust.com/onetrust/reference/upsertinventoryusingput.md)
* [Delete Inventory](https://developer.onetrust.com/onetrust/reference/deleteinventoryusingdelete.md)
* [Copy Inventory](https://developer.onetrust.com/onetrust/reference/copyinventoryusingpost.md)
* [Update Inventory Status](https://developer.onetrust.com/onetrust/reference/updateinventorystatusbyidusingput.md)