Microsoft Azure Relationship API

The Relationship API from Microsoft Azure, for relationship.

GitHub OpenAPI
Business capability
Data Governance Management BC-610.10

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /atlas/v2/relationship Create a relationship between catalog entities · Microsoft Azure Post Atlas Relationship #
Ask an LLM
“How do I link two entities in the data catalog with a new relationship?”
“Can I create a typed relationship between a table and a column?”
Tell an agent
Create a {typeName} relationship between {end1} and {end2}.
Link entities {end1} and {end2} with a new relationship labeled {label}.
PUT /atlas/v2/relationship Update a relationship between catalog entities · Microsoft Azure Put Atlas Relationship #
Ask an LLM
“How do I change an existing lineage or relationship between two data catalog entities?”
“Can I update the attributes on a relationship that already exists?”
Tell an agent
Update existing relationship {guid} with attributes {attributes}.
Change the status of existing relationship {guid} to {status}.
GET /atlas/v2/relationship/guid/{guid} Get a relationship by GUID · Microsoft Azure Get Atlas Relationship Guid Guid #
Ask an LLM
“How do I look up a relationship between entities using its GUID?”
“Can I get the full details of both ends when fetching a relationship?”
Tell an agent
Get relationship {guid}.
Show relationship {guid} with extended info set to {extendedInfo}.
DELETE /atlas/v2/relationship/guid/{guid} Delete a relationship by GUID · Microsoft Azure Delete Atlas Relationship Guid Guid #
Ask an LLM
“How do I remove a relationship between two catalog entities?”
“Can I unlink entities by deleting the relationship's GUID?”
Tell an agent destructive · confirm first
Delete relationship {guid}.
Unlink the entities joined by relationship {guid}.

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

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

microsoft-azure-relationship-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Purview Catalog Service REST API Document…
  description: Purview Catalog Service is a fully managed cloud service whose users can discover the data sources they need and understand the data sources they find. At the same time, Data Catalog helps organizations get more value from their existing investments. This spec defines REST API of Purview Catalog Service.
  version: 2023-02-01-preview
servers:
- url: /catalog/api
security:
- azure_auth:
  - user_impersonation
tags:
- name: Relationship
paths:
  /atlas/v2/relationship:
    post:
      tags:
      - Relationship
      description: Create a new relationship between entities.
      operationId: microsoftAzureRelationshipCreate
      x-ms-examples:
        Relationship_Create:
          $ref: ./examples/Relationship_Create.json
      responses:
        '200':
          description: OK. The relationship is created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AtlasRelationship'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Post Atlas Relationship
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AtlasRelationship'
        description: The AtlasRelationship object containing the information for the relationship to be created.
        required: true
    put:
      tags:
      - Relationship
      description: Update an existing relationship between entities.
      operationId: microsoftAzureRelationshipUpdate
      x-ms-examples:
        Relationship_Update:
          $ref: ./examples/Relationship_Update.json
      responses:
        '200':
          description: OK. The relationship is updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AtlasRelationship'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Put Atlas Relationship
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AtlasRelationship'
        description: The AtlasRelationship object containing the information for the relationship to be created.
        required: true
  /atlas/v2/relationship/guid/{guid}:
    get:
      tags:
      - Relationship
      description: Get relationship information between entities by its GUID.
      operationId: microsoftAzureRelationshipGet
      x-ms-examples:
        Relationship_Get:
          $ref: ./examples/Relationship_Get.json
      parameters:
      - $ref: '#/components/parameters/relationshipGuid'
      - $ref: '#/components/parameters/extendedInfo'
      responses:
        '200':
          description: OK.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AtlasRelationshipWithExtInfo'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Get Atlas Relationship Guid Guid
    delete:
      tags:
      - Relationship
      description: Delete a relationship between entities by its GUID.
      operationId: microsoftAzureRelationshipDelete
      x-ms-examples:
        Relationship_Delete:
          $ref: ./examples/Relationship_Delete.json
      parameters:
      - $ref: '#/components/parameters/relationshipGuid'
      responses:
        '204':
          description: OK. The relationship is deleted.
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Microsoft Azure Delete Atlas Relationship Guid Guid
components:
  schemas:
    AtlasRelationshipWithExtInfo:
      type: object
      properties:
        referredEntities:
          type: object
          description: The referred entity header.
          additionalProperties:
            $ref: '#/components/schemas/AtlasEntityHeader'
        relationship:
          $ref: '#/components/schemas/AtlasRelationship'
      title: AtlasRelationshipWithExtInfo
      description: The relationship with extended information.
    AtlasRelationship:
      type: object
      title: AtlasRelationship
      allOf:
      - $ref: '#/components/schemas/AtlasStruct'
      - properties:
          createTime:
            type: integer
            format: int64
            description: The created time of the record.
          createdBy:
            type: string
            description: The user who created the record.
          end1:
            $ref: '#/components/schemas/AtlasObjectId'
          end2:
            $ref: '#/components/schemas/AtlasObjectId'
          guid:
            type: string
            description: The GUID of the relationship.
          homeId:
            type: string
            description: The home ID of the relationship.
          label:
            type: string
            description: The label of the relationship.
          provenanceType:
            readOnly: false
            description: Used to record the provenance of an instance of an entity or relationship
            type: number
          status:
            $ref: '#/components/schemas/Status_AtlasRelationship'
          updateTime:
            type: integer
            format: int64
            description: The update time of the record.
          updatedBy:
            type: string
            description: The user who updated the record.
          version:
            type: number
            description: The version of the relationship.
      description: Atlas relationship instance.
    Status_AtlasRelationship:
      type: string
      title: Status
      description: The enum of relationship status.
      enum:
      - ACTIVE
      - DELETED
      x-ms-enum:
        name: Status_AtlasRelationship
        modelAsString: true
    AtlasTermAssignmentStatus:
      type: string
      title: AtlasTermAssignmentStatus
      description: The status of terms assignment.
      enum:
      - DISCOVERED
      - PROPOSED
      - IMPORTED
      - VALIDATED
      - DEPRECATED
      - OBSOLETE
      - OTHER
      x-ms-enum:
        name: AtlasTermAssignmentStatus
        modelAsString: true
    ErrorResponse:
      description: An error response from the service
      type: object
      properties:
        requestId:
          type: string
          description: The request ID.
        errorCode:
          type: string
          description: The error code.
        errorMessage:
          type: string
          description: The error message.
    Status:
      type: string
      title: Status
      description: Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store.
      enum:
      - ACTIVE
      - DELETED
      x-ms-enum:
        name: Status
        modelAsString: true
    TimeBoundary:
      type: object
      properties:
        endTime:
          type: string
          description: The end of the time boundary.
        startTime:
          type: string
          description: The start of the time boundary.
        timeZone:
          type: string
          description: The timezone of the time boundary.
      title: TimeBoundary
      description: Captures time-boundary details
    LastModifiedTS:
      type: string
      title: lastModifiedTS
      description: ETag for concurrency control.
    AtlasTermAssignmentHeader:
      type: object
      properties:
        confidence:
          type: integer
          format: int32
          description: The confidence of the term assignment.
        createdBy:
          type: string
          description: The user who created the record.
        description:
          type: string
          description: The description of the term assignment.
        displayText:
          type: string
          description: The display text.
        expression:
          type: string
          description: The expression of the term assignment.
        relationGuid:
          type: string
          description: The GUID of the relationship.
        source:
          type: string
          description: The source of the term.
        status:
          $ref: '#/components/schemas/AtlasTermAssignmentStatus'
        steward:
          type: string
          description: The steward of the term.
        termGuid:
          type: string
          description: The GUID of the term.
      title: AtlasTermAssignmentHeader
      description: The header for term assignment.
    AtlasObjectId:
      type: object
      properties:
        guid:
          type: string
          description: The GUID of the object.
        typeName:
          type: string
          description: The name of the type.
        uniqueAttributes:
          type: object
          description: The unique attributes of the object.
          additionalProperties: {}
      title: AtlasObjectId
      description: Reference to an object-instance of an Atlas type - like entity.
    AtlasStruct:
      type: object
      properties:
        attributes:
          type: object
          description: The attributes of the struct.
          additionalProperties: {}
        typeName:
          type: string
          description: The name of the type.
        lastModifiedTS:
          $ref: '#/components/schemas/LastModifiedTS'
      title: AtlasStruct
      description: Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification.
    AtlasEntityHeader:
      type: object
      title: AtlasEntityHeader
      allOf:
      - $ref: '#/components/schemas/AtlasStruct'
      - properties:
          classificationNames:
            type: array
            description: An array of classification names.
            items:
              type: string
          classifications:
            type: array
            description: An array of classifications.
            items:
              $ref: '#/components/schemas/AtlasClassification'
          displayText:
            type: string
            description: The display text.
          guid:
            type: string
            description: The GUID of the record.
          isIncomplete:
            readOnly: false
            description: Whether it is a shell entity
            type: boolean
          labels:
            readOnly: false
            description: labels
            type: array
            items:
              type: string
          meaningNames:
            type: array
            description: An array of meanings.
            items:
              type: string
          meanings:
            type: array
            description: An array of term assignment headers.
            items:
              $ref: '#/components/schemas/AtlasTermAssignmentHeader'
          status:
            $ref: '#/components/schemas/Status'
      description: An instance of an entity - like hive_table, hive_database.
    AtlasClassification:
      type: object
      title: AtlasClassification
      allOf:
      - $ref: '#/components/schemas/AtlasStruct'
      - properties:
          entityGuid:
            type: string
            description: The GUID of the entity.
          entityStatus:
            $ref: '#/components/schemas/Status'
          removePropagationsOnEntityDelete:
            type: boolean
            description: Determines if propagations will be removed on entity deletion.
          validityPeriods:
            type: array
            description: An array of time boundaries indicating validity periods.
            items:
              $ref: '#/components/schemas/TimeBoundary'
          source:
            type: string
            description: indicate the source who create the classification detail
          sourceDetails:
            type: object
            additionalProperties:
              type: object
              properties: {}
            description: more detail on source information
      description: An instance of a classification; it doesn't have an identity, this object exists only when associated with an entity.
  parameters:
    extendedInfo:
      name: extendedInfo
      description: Limits whether includes extended information.
      in: query
      required: false
      x-ms-parameter-location: method
      schema:
        type: boolean
    relationshipGuid:
      name: guid
      description: The globally unique identifier of the relationship.
      in: path
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 4096
        minLength: 1
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.
x-ms-parameterized-host:
  hostTemplate: '{Endpoint}'
  useSchemePrefix: false
  parameters:
  - $ref: '#/components/parameters/Endpoint'