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

# Get Relationship Type

Use this API to retrieve the details of a single Relationship Type by its unique identifier.

> 🗒 Things to Know
> 
> - This API only supports objects created via Object Manager, including Projects, Models, and Datasets.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Platform - Object Manager",
    "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 Object Manager APIs are used to integrate external systems and streamline the flow of data for objects created via Object Manager in the OneTrust Platform."
  },
  "servers": [
    {
      "url": "https://{hostname}/api/custom-entity",
      "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": "Object Relationship Type Management",
      "description": "The Object Relationship Type Management APIs are used to manage the types of relationships that can exist between objects.",
      "externalDocs": {
        "description": "OpenAPI 3.1.0 - Download Definition",
        "url": "https://developer.onetrust.com/onetrust/openapi/platform-object-manager.json"
      }
    }
  ],
  "x-onetrust": {
    "spec-label": "OpenAPI 3.1.0",
    "links": [
      "{'Object Manager': 'https://my.onetrust.com/s/topic/0TO3q000000JPkQGAW/object-manager'}"
    ]
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false,
    "metrics-enabled": false
  },
  "paths": {
    "/v1/entity-link-types/{entityLinkTypeId}": {
      "get": {
        "operationId": "getLinkTypeUsingGET",
        "summary": "Get Relationship Type",
        "description": "Use this API to retrieve the details of a single Relationship Type by its unique identifier.\n\n> 🗒 Things to Know\n> \n> - This API only supports objects created via Object Manager, including Projects, Models, and Datasets.",
        "tags": [
          "Object Relationship Type Management"
        ],
        "x-onetrust": {
          "spec-label": "https://developer.onetrust.com/onetrust/openapi/platform-object-manager.json"
        },
        "parameters": [
          {
            "name": "entityLinkTypeId",
            "in": "path",
            "description": "This flag indicates whether the object type is seeded. ",
            "required": true,
            "schema": {
              "description": "Unique identifier (UUID) of the relationship type to retrieve",
              "type": "string",
              "format": "uuid"
            },
            "example": "2aa71ead-0c9a-416a-8471-bdfb67c8d113"
          }
        ],
        "responses": {
          "200": {
            "description": "OK - Returns the complete details of the requested relationship type",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkTypeInformation"
                },
                "examples": {
                  "model dataset Response": {
                    "summary": "Example of relationship type details",
                    "description": "model dataset Response",
                    "value": {
                      "id": "bea0115d-27ae-4b6e-bc52-bed53c4abcf1",
                      "name": "relationship_01",
                      "nameKey": "5596a8d1-be57-46a3-9993-f0eb0b94a1dd",
                      "schemaName": "bb89c78b-7be5-4b2a-b91c-f5c1d1a239e2",
                      "seeded": false,
                      "moduleName": "CustomEntityManagement",
                      "description": "desc",
                      "descriptionKey": "7803bc48-d046-4c02-b230-36247e7e1a77",
                      "entityType1ToEntityType2EntityLinkName": "model",
                      "entityType1ToEntityType2EntityLinkNameKey": "c2e0fade-62d5-4728-84bd-13a02bc888f2",
                      "entityType2ToEntityType1EntityLinkName": "dataset",
                      "entityType2ToEntityType1EntityLinkNameKey": "d346be41-2e24-4704-bb56-4537217a331a",
                      "enableAudit": true,
                      "allowNewCustomLinkAssociation": true,
                      "auditFields": {
                        "createdDate": "2025-06-12T08:52:58.307Z",
                        "lastUpdatedDate": "2025-06-12T08:52:58.307Z"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "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": [
              "OBJECT_MANAGER",
              "OBJECT_MANAGER_READ",
              "OBJECT_MANAGER_WRITE"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "EntityBasicUserInformation": {
        "type": "object",
        "properties": {
          "id": {
            "description": "The unique identifier of the user who last modified the record.",
            "type": "string",
            "format": "uuid",
            "example": "f2229953-b4b5-4042-8cb9-b78038cc4c46"
          },
          "name": {
            "description": "The name of the user who last modified the record.",
            "type": "string",
            "example": "First Last"
          },
          "email": {
            "description": "The email address of the user who last modified the record.",
            "type": "string",
            "example": "user@gmail.com"
          },
          "initials": {
            "description": "The initials of the user who last modified the record.",
            "type": "string",
            "example": "FL"
          }
        }
      },
      "EntityRecordAuditInformation": {
        "type": "object",
        "properties": {
          "createdDate": {
            "description": "The date and time that the record was created.",
            "type": "string",
            "format": "date-time",
            "example": "2021-05-13T13:06:49.853Z"
          },
          "lastUpdatedDate": {
            "description": "The date and time that the record was last updated.",
            "type": "string",
            "format": "date-time",
            "example": "2021-05-13T13:06:49.853Z"
          },
          "createdBy": {
            "description": "The creation details of the record.",
            "example": {
              "id": "c21319953-b4b5-4042-8cb9-b78038cc4c51",
              "name": "Name"
            },
            "$ref": "#/components/schemas/EntityBasicUserInformation"
          },
          "lastModifiedBy": {
            "description": "The last modified details of the record.",
            "example": {
              "id": "c21319953-b4b5-4042-8cb9-b78038cc4c51",
              "name": "Name"
            },
            "$ref": "#/components/schemas/EntityBasicUserInformation"
          }
        },
        "required": [
          "createdDate"
        ]
      },
      "LinkTypeInformation": {
        "type": "object",
        "properties": {
          "id": {
            "description": "The unique identifier of the relationship type.",
            "type": "string",
            "format": "uuid",
            "example": "f2229953-b4b5-4042-8cb9-b78038cc4c46"
          },
          "name": {
            "description": "The name of the relationship type.",
            "type": "string",
            "example": "Product/Service",
            "maxLength": 255,
            "minLength": 1
          },
          "nameKey": {
            "description": "The name key of the relationship type used for translation purposes.",
            "type": "string",
            "example": "link.type.productservice.name"
          },
          "seeded": {
            "description": "This flag indicates whether the relationship type is seeded.",
            "type": "boolean",
            "example": true,
            "default": "false"
          },
          "moduleName": {
            "description": "The name of the product where the relationship type exists.",
            "type": "string",
            "example": "CustomEntityManagement"
          },
          "description": {
            "description": "The description of the relationship type.",
            "type": "string",
            "example": "Links between vendors and their products"
          },
          "descriptionKey": {
            "description": "The description key of the relationship type used for translation purposes.",
            "type": "string",
            "example": "entity.link.vendor_product.description"
          },
          "entityType1ToEntityType2EntityLinkName": {
            "description": "The name of the source object type's relationship to the target object type.",
            "type": "string",
            "example": "Vendor provides Product"
          },
          "entityType1ToEntityType2EntityLinkNameKey": {
            "description": "The name key of the source object type's relationship to the target object type used for translation purposes.",
            "type": "string",
            "example": "entity.link.vendor_to_product"
          },
          "entityType2ToEntityType1EntityLinkName": {
            "description": "The name of the target object type's relationship to the source object type.",
            "type": "string",
            "example": "Product belongs to Vendor"
          },
          "entityType2ToEntityType1EntityLinkNameKey": {
            "description": "The name key of the target object type's relationship to the source object type used for translation purposes.",
            "type": "string",
            "example": "entity.link.product_to_vendor"
          },
          "enableAudit": {
            "description": "This flag indicates whether audit activity is enabled.",
            "type": "boolean",
            "example": true,
            "default": "false"
          },
          "allowNewCustomLinkAssociation": {
            "description": "This flag indicates whether new custom relationship links are allowed.",
            "type": "boolean",
            "example": false,
            "default": "true"
          },
          "auditFields": {
            "description": "The activity details of when the record was created and last updated.",
            "$ref": "#/components/schemas/EntityRecordAuditInformation"
          }
        },
        "example": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "name": "Vendor-Product",
          "nameKey": "entity.link.vendor_product",
          "description": "Links between vendors and their products",
          "descriptionKey": "entity.link.vendor_product.description",
          "displayName": "Vendor Product Relationship",
          "displayNameKey": "entity.link.vendor_product.display",
          "entityType1Id": "789e4567-e89b-12d3-a456-426614174123",
          "entityType1Name": "Vendor",
          "entityType2Id": "456e4567-e89b-12d3-a456-426614174789",
          "entityType2Name": "Product",
          "entityType1ToEntityType2EntityLinkName": "Vendor provides Product",
          "entityType1ToEntityType2EntityLinkNameKey": "entity.link.vendor_to_product",
          "entityType2ToEntityType1EntityLinkName": "Product belongs to Vendor",
          "entityType2ToEntityType1EntityLinkNameKey": "entity.link.product_to_vendor",
          "enableAudit": true,
          "allowNewCustomLinkAssociation": false,
          "auditFields": {
            "createdBy": "john.doe@example.com",
            "createdTimestamp": "2025-01-15T10:30:45Z",
            "lastModifiedBy": "jane.smith@example.com",
            "lastModifiedTimestamp": "2025-06-10T14:15:22Z"
          }
        },
        "required": [
          "id",
          "name"
        ]
      }
    },
    "securitySchemes": {
      "OAUTH2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://{hostname}/api/access/v1/oauth/token",
            "scopes": {
              "OBJECT_MANAGER": "Grants full access to Object Manager related APIs.",
              "OBJECT_MANAGER_READ": "Grants read access to Object Manager related APIs",
              "OBJECT_MANAGER_WRITE": "Grants write access to Object Manager related APIs"
            }
          }
        }
      }
    }
  }
}
```

# Sibling pages

* [Create Relationship Type between Objects](https://developer.onetrust.com/onetrust/reference/createcustomlinktypeusingpost.md)
* [Get List of Relationship Link Types](https://developer.onetrust.com/onetrust/reference/findallbylinktypeandcriteriausingpost.md)