Componecat Relationships API

The Relationships API from Componecat — 5 operation(s) for relationships.

GitHub OpenAPI

Operations 7

GET /api/rest/v1/catalog/{id}/relationships List relationships for a catalog entity #
POST /api/rest/v1/catalog/{id}/relationships Create a new relationship from a catalog entity #
GET /api/rest/v1/catalog/{id}/relationships/count Get relationship count for a catalog entity #
PATCH /api/rest/v1/catalog/{id}/relationships/{relationshipId} Update an existing relationship #
DELETE /api/rest/v1/catalog/{id}/relationships/{relationshipId} Delete a relationship #
POST /api/rest/v1/catalog/{id}/relationships/bulk Bulk upsert relationships for a catalog entity #
GET /api/rest/v1/catalog/{id}/relationships/transitive Traverse transitive relationships for a catalog entity #

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/componecat-ai:componecat-ai-relationships-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

componecat-ai-relationships-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Componecat Ai Relationships API
  version: v1
  description: 'Operations tagged Relationships across 2 of this provider''s published API definitions: componecat-ai-openapi.json, componecat-ai-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://app.componecat.ai/
security:
- {}
tags:
- name: Relationships
paths:
  /api/rest/v1/catalog/{id}/relationships:
    get:
      tags:
      - Relationships
      summary: List relationships for a catalog entity
      operationId: ListRelationships
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: kindKey
        in: query
        schema:
          type: string
      - name: direction
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestApiResponseOfCatalogRelationshipItem_2'
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '429':
          description: Too Many Requests
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
    post:
      tags:
      - Relationships
      summary: Create a new relationship from a catalog entity
      operationId: CreateRelationship
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRelationshipRequest'
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestApiResponseOfCatalogRelationshipItem'
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '422':
          description: Unprocessable Entity
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '429':
          description: Too Many Requests
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
    servers:
    - url: https://app.componecat.ai/
  /api/rest/v1/catalog/{id}/relationships/count:
    get:
      tags:
      - Relationships
      summary: Get relationship count for a catalog entity
      operationId: GetRelationshipCount
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: kindKey
        in: query
        schema:
          type: string
      - name: direction
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestApiResponseOfRelationshipCountResult'
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '429':
          description: Too Many Requests
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
    servers:
    - url: https://app.componecat.ai/
  /api/rest/v1/catalog/{id}/relationships/{relationshipId}:
    patch:
      tags:
      - Relationships
      summary: Update an existing relationship
      operationId: UpdateRelationship
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: relationshipId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateRelationshipRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestApiResponseOfCatalogRelationshipItem'
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '422':
          description: Unprocessable Entity
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '429':
          description: Too Many Requests
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
    delete:
      tags:
      - Relationships
      summary: Delete a relationship
      operationId: DeleteRelationship
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: relationshipId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: No Content
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '429':
          description: Too Many Requests
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
    servers:
    - url: https://app.componecat.ai/
  /api/rest/v1/catalog/{id}/relationships/bulk:
    post:
      tags:
      - Relationships
      summary: Bulk upsert relationships for a catalog entity
      operationId: BulkUpsertRelationships
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkUpsertRelationshipsRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestApiResponseOfCatalogRelationshipItem_2'
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '422':
          description: Unprocessable Entity
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '429':
          description: Too Many Requests
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
    servers:
    - url: https://app.componecat.ai/
  /api/rest/v1/catalog/{id}/relationships/transitive:
    get:
      tags:
      - Relationships
      summary: Traverse transitive relationships for a catalog entity
      operationId: GetTransitiveRelationships
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: kindKey
        in: query
        schema:
          type: string
      - name: direction
        in: query
        schema:
          type: string
      - name: maxDepth
        in: query
        schema:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int32
      - name: maxResults
        in: query
        schema:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestApiResponseOfTransitiveRelationshipItem'
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '429':
          description: Too Many Requests
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
    servers:
    - url: https://app.componecat.ai/
components:
  schemas:
    RestApiResponseOfCatalogRelationshipItem_2:
      required:
      - data
      type: object
      properties:
        data:
          type:
          - 'null'
          - array
          items:
            $ref: '#/components/schemas/CatalogRelationshipItem'
      description: Standard REST API response envelope for a single resource.
    BulkUpsertRelationshipsRequest:
      required:
      - relationshipKindKey
      - relationships
      type: object
      properties:
        relationshipKindKey:
          type: string
        relationships:
          type: array
          items:
            $ref: '#/components/schemas/BulkRelationshipItemRequest'
      description: Bulk upsert relationships request body.
    TransitiveRelationshipItem:
      required:
      - entityId
      - entityName
      - entityDisplayName
      - depth
      - relationshipId
      type: object
      properties:
        entityId:
          type: string
          format: uuid
        entityName:
          type: string
        entityDisplayName:
          type: string
        depth:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int32
        relationshipId:
          type:
          - 'null'
          - string
          format: uuid
      description: Transitive relationship item for traversal responses.
    ProblemDetails:
      type: object
      properties:
        type:
          type:
          - 'null'
          - string
        title:
          type:
          - 'null'
          - string
        status:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - 'null'
          - integer
          - string
          format: int32
        detail:
          type:
          - 'null'
          - string
        instance:
          type:
          - 'null'
          - string
    RestApiResponseOfRelationshipCountResult:
      required:
      - data
      type: object
      properties:
        data:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/RelationshipCountResult'
      description: Standard REST API response envelope for a single resource.
    UpdateRelationshipRequest:
      type: object
      properties:
        description:
          type:
          - 'null'
          - string
      description: Update relationship request body.
    RestApiResponseOfTransitiveRelationshipItem:
      required:
      - data
      type: object
      properties:
        data:
          type:
          - 'null'
          - array
          items:
            $ref: '#/components/schemas/TransitiveRelationshipItem'
      description: Standard REST API response envelope for a single resource.
    BulkRelationshipItemRequest:
      required:
      - targetEntityId
      type: object
      properties:
        targetEntityId:
          type: string
          format: uuid
        description:
          type:
          - 'null'
          - string
      description: A single item in a bulk upsert request.
    RestApiResponseOfCatalogRelationshipItem:
      required:
      - data
      type: object
      properties:
        data:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/CatalogRelationshipItem'
      description: Standard REST API response envelope for a single resource.
    CreateRelationshipRequest:
      type: object
      properties:
        relationshipKindId:
          type:
          - 'null'
          - string
          format: uuid
        relationshipKindKey:
          type:
          - 'null'
          - string
        targetEntityId:
          type:
          - 'null'
          - string
          format: uuid
        description:
          type:
          - 'null'
          - string
      description: Create relationship request body.
    RelationshipCountResult:
      required:
      - count
      type: object
      properties:
        count:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int32
      description: Relationship count response.
    CatalogRelationshipItem:
      required:
      - id
      - relationshipKindId
      - relationshipKindKey
      - sourceEntityId
      - targetEntityId
      - description
      - source
      - confidence
      - createdAt
      - updatedAt
      type: object
      properties:
        id:
          type: string
          format: uuid
        relationshipKindId:
          type: string
          format: uuid
        relationshipKindKey:
          type:
          - 'null'
          - string
        sourceEntityId:
          type: string
          format: uuid
        targetEntityId:
          type: string
          format: uuid
        description:
          type:
          - 'null'
          - string
        source:
          type: string
        confidence:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$
          type:
          - number
          - string
          format: double
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      description: Catalog relationship item for list and detail responses.
  securitySchemes:
    bearer:
      type: http
      description: Personal access token. Create one in the application settings.
      scheme: bearer
      bearerFormat: JWT
x-refined-from:
- componecat-ai-openapi.json
- componecat-ai-openapi.yml