DataGalaxy Links API

Manage relations between entities thanks to the entity links API. If you need more details on links, please consult our Entities Relationship documentation.

GitHub OpenAPI

Operations 5

POST /v2/links/bulktree/{versionId} Bulk create links using Paths #

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/datagalaxy:datagalaxy-links-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

datagalaxy-links-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Datagalaxy Links API
  version: 2.40.0
  license:
    name: DataGalaxy©
  x-logo:
    url: /v2/public/datagalaxy-developers-vertical.svg
    backgroundColor: '#fafafa'
    altText: DataGalaxy logo
  x-nullable: true
  description: 'Operations tagged Links across 2 of this provider''s published API definitions: datagalaxy-developer-api.json, datagalaxy-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /
- url: https://api.datagalaxy.com
  description: Production. The published spec carries a relative server "/" with /v2-prefixed paths; it is served from https://api.datagalaxy.com/v2/documentation
tags:
- name: Links
  description: Manage relations between entities thanks to the entity links API. If you need more details on links, please consult our Entities Relationship documentation.
paths:
  /v2/links/{versionId}/{fromId}:
    post:
      operationId: CreateLink
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Links'
        '400':
          description: "<b>Bad request.<br>\n                                        Most common reasons:</b><br>\n                                        - The data you provided is invalid."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorModel'
        '401':
          description: "<b>Unauthorized.<br>\n                                        Most common reasons:</b><br>\n                                        - You do not have access to this version of the workspace.<br>\n                                        - You do not have access to the specified entity or its target.<br>\n                                        - Your accessToken is missing/expired/invalid."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorModel'
        '404':
          description: "<b>Not found.<br>\n                                        Most common reasons:</b><br>\n                                        - One or more of the ids you provided does not exist."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorModel'
      description: 'Create a link between the specified entity and its target.


        Available link types can be found thanks to the GET /v2/types endpoint.'
      summary: Create an entity link
      tags:
      - Links
      security:
      - Personal Access Token: []
      - Integration token: []
      parameters:
      - in: path
        name: versionId
        required: true
        schema:
          $ref: '#/components/schemas/VersionId'
      - in: path
        name: fromId
        required: true
        schema:
          $ref: '#/components/schemas/DoubleUuid'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LinksCreationRequest'
    get:
      operationId: GetLinks
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Links'
                type: array
        '400':
          description: "<b>Bad request.<br>\n                                        Most common reasons:</b><br>\n                                        - The data you provided is invalid."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorModel'
        '401':
          description: "<b>Unauthorized.<br>\n                                        Most common reasons:</b><br>\n                                        - You do not have access to this version of the workspace.<br>\n                                        - You do not have access to the specified entity.<br>\n                                        - Your accessToken is missing/expired/invalid."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorModel'
        '404':
          description: "<b>Not found.<br>\n                                        Most common reasons:</b><br>\n                                        - The specified entity has no links.<br>\n                                        - The versionId or fromId you provided does not exist."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorModel'
      description: Return a list of all links owned by the specified entity.
      summary: Return a list of links
      tags:
      - Links
      security:
      - Personal Access Token: []
      - Integration token: []
      parameters:
      - in: path
        name: versionId
        required: true
        schema:
          $ref: '#/components/schemas/VersionId'
      - in: path
        name: fromId
        required: true
        schema:
          $ref: '#/components/schemas/DoubleUuid'
      - in: query
        name: type
        required: false
        schema:
          $ref: '#/components/schemas/ObjectLinkType'
    servers:
    - url: /
  /v2/links/bulk/{versionId}:
    post:
      operationId: CreateBulkLinks
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkLinksResult'
        '304':
          description: <b>Not modified.</b><br>No objects were modified by the request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkLinksResult'
        '400':
          description: "<b>Bad request.<br>\n                                        Most common reasons:</b><br>\n                                        - The data you provided is invalid."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorModel'
        '401':
          description: "<b>Unauthorized.<br>\n                                        Most common reasons:</b><br>\n                                        - You do not have access to this version of the workspace.<br>\n                                        - You do not have access to the specified entity.<br>\n                                        - Your accessToken is missing/expired/invalid."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorModel'
        '404':
          description: "<b>Not found.<br>\n                                        Most common reasons:</b><br>\n                                        - The specified entity has no links.<br>\n                                        - The versionId or one of the entityId you provided does not exist."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorModel'
      description: 'This route creates multiple links between entities.


        A link is defined by a source entity (fromId), a target entity (toId) and the type of link in between (type).'
      summary: Bulk create links using entityIds
      tags:
      - Links
      security:
      - Personal Access Token: []
      - Integration token: []
      parameters:
      - in: path
        name: versionId
        required: true
        schema:
          $ref: '#/components/schemas/VersionId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              items:
                $ref: '#/components/schemas/BulkLinksPayload'
              type: array
    servers:
    - url: /
  /v2/links/bulktree/{versionId}:
    post:
      operationId: CreateLinksBulktree
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkResult'
        '304':
          description: <b>Not modified.</b><br>No objects were modified by the request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkResult'
        '400':
          description: "<b>Bad request.<br>\n                                        Most common reasons:</b><br>\n                                        - The data you provided is invalid."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorModel'
        '401':
          description: "<b>Unauthorized.<br>\n                                        Most common reasons:</b><br>\n                                        - You do not have access to this version of the workspace.<br>\n                                        - You do not have access to on or more of the specified entities.<br>\n                                        - Your accessToken is missing/expired/invalid."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorModel'
        '404':
          description: "<b>Not found.<br>\n                                        Most common reasons:</b><br>\n                                        - The one of the entities you provided does not exist."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorModel'
      description: 'This route creates multiple links between entities.


        A link is defined with the following type of object:


        {

        fromPath: "\\foo\\bar",

        fromType: "\\NoSql\\Table",

        linkType: "Implements",

        toPath: "\\myLittleDimension",

        toType: "\\Dimension"

        }'
      summary: Bulk create links using Paths
      tags:
      - Links
      security:
      - Personal Access Token: []
      - Integration token: []
      parameters:
      - in: path
        name: versionId
        required: true
        schema:
          $ref: '#/components/schemas/VersionId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              items:
                $ref: '#/components/schemas/LinksBulktreePayload'
              type: array
    servers:
    - url: /
  /v2/links/{versionId}/{fromId}/{linkType}/{toId}:
    delete:
      operationId: DeleteLink
      responses:
        '204':
          description: No Content
        '400':
          description: "<b>Bad request.<br>\n                                        Most common reasons:</b><br>\n                                        - The data you provided is invalid."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorModel'
        '401':
          description: "<b>Unauthorized.<br>\n                                        Most common reasons:</b><br>\n                                        - You do not have access to this version of the workspace.<br>\n                                        - You do not have access to on or more of the specified entity.<br>\n                                        - Your accessToken is missing/expired/invalid."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorModel'
        '404':
          description: "<b>Not found.<br>\n                                        Most common reasons:</b><br>\n                                        - The versionId or fromId you provided does not exist."
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorModel'
      description: Deletes the specified link.
      summary: Delete a link
      tags:
      - Links
      security:
      - Personal Access Token: []
      - Integration token: []
      parameters:
      - in: path
        name: versionId
        required: true
        schema:
          $ref: '#/components/schemas/VersionId'
      - in: path
        name: fromId
        required: true
        schema:
          $ref: '#/components/schemas/DoubleUuid'
      - in: path
        name: linkType
        required: true
        schema:
          type: string
      - in: path
        name: toId
        required: true
        schema:
          $ref: '#/components/schemas/DoubleUuid'
    servers:
    - url: /
components:
  schemas:
    ApiErrorModel:
      properties:
        error:
          properties:
            message:
              type: string
            status:
              type: number
              format: double
          required:
          - status
          type: object
      required:
      - error
      type: object
      additionalProperties: false
    BulkResult:
      properties:
        total:
          type: number
          format: double
        created:
          type: number
          format: double
        updated:
          type: number
          format: double
        deleted:
          type: number
          format: double
        unchanged:
          type: number
          format: double
      required:
      - total
      - created
      - updated
      - deleted
      - unchanged
      type: object
      additionalProperties: false
    Links:
      properties:
        linkType:
          type: string
        toId:
          $ref: '#/components/schemas/DoubleUuid'
        name:
          type: string
        module:
          type: string
        type:
          type: string
      required:
      - linkType
      - toId
      - name
      - module
      - type
      type: object
      additionalProperties: false
    LinksCreationRequest:
      properties:
        toId:
          $ref: '#/components/schemas/DoubleUuid'
        type:
          $ref: '#/components/schemas/ObjectLinkType'
      required:
      - toId
      - type
      type: object
      additionalProperties: false
    DoubleUuid:
      type: string
      example: 2e21697d-e630-4459-b56a-4f4bcb996e4a:c9b33d6a-3f51-4aa7-9ff3-e64aad2d56c2
      description: 'Composed of 2 colon-separated stringified UUIDv4.

        Represents a Workspace or an Entity in DataGalaxy''s context.'
    BulkLinksResult:
      properties:
        total:
          type: number
          format: double
          default: 0
        created:
          type: number
          format: double
          default: 0
        updated:
          type: number
          format: double
          default: 0
        deleted:
          type: number
          format: double
          default: 0
        unchanged:
          type: number
          format: double
          default: 0
      type: object
      additionalProperties: false
    VersionId:
      type: string
      example: c9b33d6a-3f51-4aa7-9ff3-e64aad2d56c2
      description: 'This id determines the scope of the request.\

        <code>versionId</code> relates to a <b>workspace''s version</b>.\

        It can be found in the <code>GET /v2/workspaces</code> and <code>GET /v2/workspaces/{workspaceId}/versions</code> endpoint''s response.'
    BulkLinksPayload:
      properties:
        fromId:
          $ref: '#/components/schemas/DoubleUuid'
        toId:
          $ref: '#/components/schemas/DoubleUuid'
        type:
          $ref: '#/components/schemas/ObjectLinkType'
      required:
      - fromId
      - toId
      - type
      type: object
      additionalProperties: false
    LinksBulktreePayload:
      properties:
        fromPath:
          type: string
        fromType:
          type: string
        linkType:
          $ref: '#/components/schemas/ObjectLinkType'
        toPath:
          type: string
        toType:
          type: string
      required:
      - fromPath
      - fromType
      - linkType
      - toPath
      - toType
      type: object
      additionalProperties: false
    ObjectLinkType:
      type: string
      enum:
      - Unknown
      - EntityLink
      - IsSynonymOf
      - Generalizes
      - IsComputedBy
      - IsParentOfGeneric
      - DependsOn
      - IsLinkedTo
      - ListsValuesFor
      - IsDeclinedAccordingToDimension
      - Precedes
      - HasForUniverse
      - HasForDomain
      - HasForSource
      - IsPartOfDimension
      - HasForRecordingSystem
      - IsUsageSourceFor
      - IsUsageDestinationFor
      - Calls
      - Transcodes
      - IsImplementedBy
      - Uses
      - HasInput
      - HasOutput
      - IsSourceForDiagram
      - Impacts
      - IsUseCaseFor
      - IsConsumedBy
      - IsOutputPortFor
      - IsExecutedBy
      - IsMonitoredBy
      - AppliesTo
      - Specializes
      - IsUsedForComputationOf
      - IsChildOfGeneric
      - IsNeededBy
      - HasForReferenceData
      - Declines
      - Follows
      - IsUniverseOf
      - IsDomainOf
      - IsSourceOf
      - Regroups
      - IsRecordingSystemFor
      - HasForUsageSource
      - HasForUsageDestination
      - IsCalledBy
      - Implements
      - IsUsedBy
      - IsInputOf
      - IsOutputOf
      - DiagramHasSource
      - IsImpactedBy
      - HasForUseCase
      - Consumes
      - HasForOutputPort
      - Executes
      - Monitors
      - IsSubjectTo
  securitySchemes:
    Integration_token:
      description: Authenticate with an Integration Access Token (IAT)
      type: http
      scheme: Bearer
      bearerFormat: JWT
    Personal_Access_Token:
      description: Authenticate with a Personal Access Token (PAT)
      type: http
      scheme: Bearer
      bearerFormat: JWT
x-refined-from:
- datagalaxy-developer-api.json
- datagalaxy-openapi.yml
x-tagGroups:
- name: API References
  tags:
  - Authentication
  - Workspaces
  - Links
  - Technologies
  - Search
  - FilteredViews
  - History
  - Image
  - Objects
  - Campaigns
  - Workflows
  - Data Quality
  - URN
- name: Attributes
  tags:
  - Attributes
  - Screens
- name: Glossary
  tags:
  - Glossary
- name: Dictionary
  tags:
  - Sources
  - Containers
  - Structures
  - Fields
- name: Processing
  tags:
  - DataProcessing
  - DataProcessingItem
- name: Usage
  tags:
  - Usage
- name: Social
  tags:
  - Tasks
  - Comments
- name: User Management
  tags:
  - Users
  - Teams
  - Licenses
  - SCIM
- name: Access Control
  tags:
  - Feature Rules
  - Object Rules
  - Rule Attributes
  - User Access
  - Workspace Access
x-generator: NSwag v14.2.0.0 (NJsonSchema v11.1.0.0 (Newtonsoft.Json v13.0.0.0))