Componecat Relationship Kind Definitions API

The Relationship Kind Definitions API from Componecat — 3 operation(s) for relationship kind definitions.

GitHub OpenAPI

Operations 6

GET /api/rest/v1/relationship-kinds/templates List available relationship kind templates #
GET /api/rest/v1/relationship-kinds List all relationship kind definitions #
POST /api/rest/v1/relationship-kinds Create a new relationship kind definition #
GET /api/rest/v1/relationship-kinds/{id} Get a relationship kind definition by ID #
PATCH /api/rest/v1/relationship-kinds/{id} Update a relationship kind definition #
DELETE /api/rest/v1/relationship-kinds/{id} Delete a relationship kind definition #

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-relationship-kind-definitions-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-relationship-kind-definitions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Componecat Ai Relationship Kind Definitions API
  version: v1
  description: 'Operations tagged Relationship Kind Definitions 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: Relationship Kind Definitions
paths:
  /api/rest/v1/relationship-kinds/templates:
    get:
      tags:
      - Relationship Kind Definitions
      summary: List available relationship kind templates
      operationId: ListRelationshipKindTemplates
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestApiListResponseOfRelationshipKindTemplateItem'
        '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/relationship-kinds:
    get:
      tags:
      - Relationship Kind Definitions
      summary: List all relationship kind definitions
      description: Supports cursor-based pagination via `limit` and `cursor` query parameters.
      operationId: ListRelationshipKindDefinitions
      parameters:
      - name: limit
        in: query
        schema:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int32
      - name: cursor
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestApiListResponseOfRelationshipKindDefinitionItem'
        '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:
      - Relationship Kind Definitions
      summary: Create a new relationship kind definition
      operationId: CreateRelationshipKindDefinition
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRelationshipKindDefinitionRequest'
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestApiResponseOfRelationshipKindDefinitionItem'
        '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/relationship-kinds/{id}:
    get:
      tags:
      - Relationship Kind Definitions
      summary: Get a relationship kind definition by ID
      operationId: GetRelationshipKindDefinition
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestApiResponseOfRelationshipKindDefinitionItem'
        '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'
    patch:
      tags:
      - Relationship Kind Definitions
      summary: Update a relationship kind definition
      operationId: UpdateRelationshipKindDefinition
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonElement'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestApiResponseOfRelationshipKindDefinitionItem'
        '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:
      - Relationship Kind Definitions
      summary: Delete a relationship kind definition
      operationId: DeleteRelationshipKindDefinition
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: No Content
        '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'
        '429':
          description: Too Many Requests
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
    servers:
    - url: https://app.componecat.ai/
components:
  schemas:
    RelationshipKindTemplateItem:
      required:
      - key
      - displayName
      - description
      - icon
      - color
      - cardinality
      - cyclePolicy
      - deletePolicy
      - sourceLabel
      - targetLabel
      - isHierarchical
      - isDependency
      - isApiProvider
      type: object
      properties:
        key:
          type: string
        displayName:
          type: string
        description:
          type: string
        icon:
          type: string
        color:
          type: string
        cardinality:
          type: string
        cyclePolicy:
          type: string
        deletePolicy:
          type: string
        sourceLabel:
          type: string
        targetLabel:
          type: string
        isHierarchical:
          type: boolean
        isDependency:
          type: boolean
        isApiProvider:
          type: boolean
      description: Relationship kind template item — a predefined kind available for adoption.
    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
    CreateRelationshipKindDefinitionRequest:
      required:
      - key
      - displayName
      - sourceLabel
      - targetLabel
      type: object
      properties:
        key:
          type: string
        displayName:
          type: string
        sourceLabel:
          type: string
        targetLabel:
          type: string
        description:
          type:
          - 'null'
          - string
        icon:
          type: string
          default: link
        color:
          type: string
          default: sky
        cardinality:
          type: string
          default: MANY_TO_MANY
        cyclePolicy:
          type: string
          default: WARN
        deletePolicy:
          type: string
          default: CASCADE
        isHierarchical:
          type: boolean
          default: false
        isDependency:
          type: boolean
          default: false
        isApiProvider:
          type: boolean
          default: false
      description: Create relationship kind definition request body.
    PaginationInfo:
      required:
      - cursor
      - hasMore
      type: object
      properties:
        cursor:
          type:
          - 'null'
          - string
        hasMore:
          type: boolean
      description: Pagination metadata for REST API list responses.
    RestApiListResponseOfRelationshipKindTemplateItem:
      required:
      - data
      - pagination
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/RelationshipKindTemplateItem'
        pagination:
          $ref: '#/components/schemas/PaginationInfo'
      description: Standard REST API response envelope for a collection of resources.
    JsonElement: {}
    RestApiListResponseOfRelationshipKindDefinitionItem:
      required:
      - data
      - pagination
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/RelationshipKindDefinitionItem'
        pagination:
          $ref: '#/components/schemas/PaginationInfo'
      description: Standard REST API response envelope for a collection of resources.
    RelationshipKindDefinitionItem:
      required:
      - id
      - key
      - displayName
      - description
      - icon
      - color
      - displayOrder
      - isHierarchical
      - isDependency
      - isApiProvider
      - cardinality
      - cyclePolicy
      - deletePolicy
      - sourceLabel
      - targetLabel
      type: object
      properties:
        id:
          type: string
          format: uuid
        key:
          type: string
        displayName:
          type: string
        description:
          type:
          - 'null'
          - string
        icon:
          type: string
        color:
          type: string
        displayOrder:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int32
        isHierarchical:
          type: boolean
        isDependency:
          type: boolean
        isApiProvider:
          type: boolean
        cardinality:
          type: string
        cyclePolicy:
          type: string
        deletePolicy:
          type: string
        sourceLabel:
          type: string
        targetLabel:
          type: string
      description: Relationship kind definition item for list and single-resource responses.
    RestApiResponseOfRelationshipKindDefinitionItem:
      required:
      - data
      type: object
      properties:
        data:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/RelationshipKindDefinitionItem'
      description: Standard REST API response envelope for a single resource.
  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