Cycle Intelligence Ontology API

The ontology API from Cycle Intelligence — 4 operation(s) for ontology.

Operations 7

GET /api/v1/ontology/edges List Edges #
POST /api/v1/ontology/edges Create Edge #
GET /api/v1/ontology/edges/{edge_id} Get Edge #
PATCH /api/v1/ontology/edges/{edge_id} Patch Edge #
DELETE /api/v1/ontology/edges/{edge_id} Close Edge #
POST /api/v1/ontology/backfill Run Backfill #
GET /api/v1/ontology/coverage Coverage #

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/cycle-platform-com:cycle-platform-com-ontology-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

cycle-platform-com-ontology-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cycle Platform Com Ontology API
  version: phase2
  description: 'Operations tagged ontology across 2 of this provider''s published API definitions: openapi.json, cycle-platform-com-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: ontology
paths:
  /api/v1/ontology/edges:
    get:
      tags:
      - ontology
      summary: List Edges
      operationId: list_edges_api_v1_ontology_edges_get
      parameters:
      - name: from_type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: From Type
      - name: from_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: From Id
      - name: to_type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: To Type
      - name: to_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: To Id
      - name: rel
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Rel
      - name: source
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Source
      - name: at
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: 'ISO date: relaciones vigentes en esa fecha'
          title: At
        description: 'ISO date: relaciones vigentes en esa fecha'
      - name: include_closed
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Closed
      - name: org_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Org Id
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: size
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          default: 50
          title: Size
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - ontology
      summary: Create Edge
      description: '{from:{type,id,label?}, rel, to:{type,id,label?}, attributes?, source_ref?, confidence?,

        valid_from?, valid_to?, org_id? (solo admin)}. Fuente = ''manual''.'
      operationId: create_edge_api_v1_ontology_edges_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/ontology/edges/{edge_id}:
    get:
      tags:
      - ontology
      summary: Get Edge
      operationId: get_edge_api_v1_ontology_edges__edge_id__get
      parameters:
      - name: edge_id
        in: path
        required: true
        schema:
          type: string
          title: Edge Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - ontology
      summary: Patch Edge
      description: 'Edita atributos / confianza / validez de una arista (no su origen ni su destino:

        eso es OTRA relación → se cierra esta y se crea la nueva).'
      operationId: patch_edge_api_v1_ontology_edges__edge_id__patch
      parameters:
      - name: edge_id
        in: path
        required: true
        schema:
          type: string
          title: Edge Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - ontology
      summary: Close Edge
      operationId: close_edge_api_v1_ontology_edges__edge_id__delete
      parameters:
      - name: edge_id
        in: path
        required: true
        schema:
          type: string
          title: Edge Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/ontology/backfill:
    post:
      tags:
      - ontology
      summary: Run Backfill
      description: 'Deriva las aristas implícitas en master_products / units / suppliers de una org.

        Idempotente; cierra (no borra) las derivadas cuyo dato ya no existe.'
      operationId: run_backfill_api_v1_ontology_backfill_post
      parameters:
      - name: org_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Org Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/ontology/coverage:
    get:
      tags:
      - ontology
      summary: Coverage
      description: '% del catálogo conectado por cada relación (aristas abiertas). Sin escribir nada.'
      operationId: coverage_api_v1_ontology_coverage_get
      parameters:
      - name: org_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Org Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
x-refined-from:
- openapi.json
- cycle-platform-com-openapi.json