Nexatron Semantic API

The semantic API from Nexatron — 2 operation(s) for semantic.

GitHub OpenAPI

Operations 4

GET /api/v1/semantic/metrics List Metrics #
POST /api/v1/semantic/metrics Create Metric #
DELETE /api/v1/semantic/metrics/{metric_id} Delete Metric #
PATCH /api/v1/semantic/metrics/{metric_id} Update Metric #

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/nexatron-io:nexatron-io-semantic-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

nexatron-io-semantic-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: ai@nexatron.io
    name: Nexatron
    url: https://nexatron.io/
  description: 'Nexatron API: governed answers from your connected systems, in your own words. Action tools available over MCP v2: list_actions / dry_run / execute_action.


    This specification documents the public Nexatron REST API surface. Admin, compliance, billing, audit, and internal pipeline endpoints are documented separately and are available to enterprise customers via their account team.'
  license:
    name: Proprietary
  title: Nexatron Semantic API
  version: 2.13.6
tags:
- name: semantic
paths:
  /api/v1/semantic/metrics:
    get:
      operationId: list_metrics_api_v1_semantic_metrics_get
      parameters:
      - in: query
        name: limit
        required: false
        schema:
          default: 50
          maximum: 200
          minimum: 1
          title: Limit
          type: integer
      - in: query
        name: offset
        required: false
        schema:
          default: 0
          minimum: 0
          title: Offset
          type: integer
      - description: If set, return only metrics whose underlying view has at least one column sourced from this connection. Same intent as the /views filter.
        in: query
        name: connection_id
        required: false
        schema:
          anyOf:
          - format: uuid
            type: string
          - type: 'null'
          description: If set, return only metrics whose underlying view has at least one column sourced from this connection. Same intent as the /views filter.
          title: Connection Id
      - description: BCP-47 tag of the person reading, e.g. 'de-DE'. Selects which of a metric's authored `translations` fills `display_name_localized` / `description_localized`. Falls back to Accept-Language, then to the canonical authored text. Formatting/labelling only; it never changes which rows or numbers an answer contains.
        in: query
        name: locale
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: BCP-47 tag of the person reading, e.g. 'de-DE'. Selects which of a metric's authored `translations` fills `display_name_localized` / `description_localized`. Falls back to Accept-Language, then to the canonical authored text. Formatting/labelling only; it never changes which rows or numbers an answer contains.
          title: Locale
      - in: header
        name: Accept-Language
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/MetricResponse'
                title: Response List Metrics Api V1 Semantic Metrics Get
                type: array
          description: Successful Response
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Authentication required or invalid credentials
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Authenticated but insufficient permissions
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Validation error
      security:
      - HTTPBearer: []
      summary: List Metrics
      tags:
      - semantic
      x-public: true
    post:
      operationId: create_metric_api_v1_semantic_metrics_post
      parameters:
      - description: BCP-47 tag of the person reading, e.g. 'de-DE'. Selects which of a metric's authored `translations` fills `display_name_localized` / `description_localized`. Falls back to Accept-Language, then to the canonical authored text. Formatting/labelling only; it never changes which rows or numbers an answer contains.
        in: query
        name: locale
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: BCP-47 tag of the person reading, e.g. 'de-DE'. Selects which of a metric's authored `translations` fills `display_name_localized` / `description_localized`. Falls back to Accept-Language, then to the canonical authored text. Formatting/labelling only; it never changes which rows or numbers an answer contains.
          title: Locale
      - in: header
        name: Accept-Language
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetricCreate'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetricResponse'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Malformed or business-invalid request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Authentication required or invalid credentials
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Authenticated but insufficient permissions
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Resource not found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Validation error
      security:
      - HTTPBearer: []
      summary: Create Metric
      tags:
      - semantic
      x-public: true
  /api/v1/semantic/metrics/{metric_id}:
    delete:
      operationId: delete_metric_api_v1_semantic_metrics__metric_id__delete
      parameters:
      - in: path
        name: metric_id
        required: true
        schema:
          format: uuid
          title: Metric Id
          type: string
      responses:
        '204':
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Malformed or business-invalid request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Authentication required or invalid credentials
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Authenticated but insufficient permissions
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Resource not found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Validation error
      security:
      - HTTPBearer: []
      summary: Delete Metric
      tags:
      - semantic
      x-public: true
    patch:
      operationId: update_metric_api_v1_semantic_metrics__metric_id__patch
      parameters:
      - in: path
        name: metric_id
        required: true
        schema:
          format: uuid
          title: Metric Id
          type: string
      - description: BCP-47 tag of the person reading, e.g. 'de-DE'. Selects which of a metric's authored `translations` fills `display_name_localized` / `description_localized`. Falls back to Accept-Language, then to the canonical authored text. Formatting/labelling only; it never changes which rows or numbers an answer contains.
        in: query
        name: locale
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: BCP-47 tag of the person reading, e.g. 'de-DE'. Selects which of a metric's authored `translations` fills `display_name_localized` / `description_localized`. Falls back to Accept-Language, then to the canonical authored text. Formatting/labelling only; it never changes which rows or numbers an answer contains.
          title: Locale
      - in: header
        name: Accept-Language
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Accept-Language
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MetricUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetricResponse'
          description: Successful Response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Malformed or business-invalid request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Authentication required or invalid credentials
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Authenticated but insufficient permissions
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Resource not found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Validation error
      security:
      - HTTPBearer: []
      summary: Update Metric
      tags:
      - semantic
      x-public: true
components:
  schemas:
    ErrorEnvelope:
      description: Standard error response envelope. Every non-2xx response the API returns has this shape.
      properties:
        category:
          description: Coarse error category, e.g. 'permanent_user_input', 'auth'.
          type: string
        code:
          description: Machine-readable error code, e.g. 'NotFoundError', 'ValidationError'.
          type: string
        detail:
          description: Deprecated one-release alias of 'message'.
          type: string
        fields:
          additionalProperties:
            type: string
          description: Per-field validation messages (validation errors only).
          type: object
        message:
          description: Human-readable error message.
          type: string
        retry_after:
          description: Seconds to wait before retrying (rate-limit / transient errors).
          type: integer
        support_id:
          description: Request id for support correlation (present when a request id exists).
          type: string
      required:
      - code
      - category
      - message
      - detail
      title: ErrorEnvelope
      type: object
    MetricCreate:
      properties:
        denominator_ref:
          anyOf:
          - format: uuid
            type: string
          - type: 'null'
          title: Denominator Ref
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        dimensions:
          default: []
          items:
            type: string
          title: Dimensions
          type: array
        display_name:
          maxLength: 255
          title: Display Name
          type: string
        expression:
          anyOf:
          - type: string
          - type: 'null'
          title: Expression
        filters:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Filters
        format:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Format
        from_table:
          anyOf:
          - type: string
          - type: 'null'
          title: From Table
        grain:
          anyOf:
          - enum:
            - year
            - quarter
            - month
            - week
            - day
            - hour
            type: string
          - type: 'null'
          title: Grain
        metric_type:
          default: simple
          enum:
          - simple
          - derived
          - cumulative
          - ratio
          - time_intelligence
          - window
          - cohort
          - composite
          - funnel
          - semi_additive
          - tree_node
          title: Metric Type
          type: string
        name:
          maxLength: 255
          title: Name
          type: string
        numerator_ref:
          anyOf:
          - format: uuid
            type: string
          - type: 'null'
          title: Numerator Ref
        tags:
          default: []
          items:
            type: string
          title: Tags
          type: array
        translations:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Translations
        type_config:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Type Config
        view_id:
          anyOf:
          - format: uuid
            type: string
          - type: 'null'
          title: View Id
      required:
      - name
      - display_name
      title: MetricCreate
      type: object
    MetricUpdate:
      properties:
        denominator_ref:
          anyOf:
          - format: uuid
            type: string
          - type: 'null'
          title: Denominator Ref
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        dimensions:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Dimensions
        display_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Display Name
        expression:
          anyOf:
          - type: string
          - type: 'null'
          title: Expression
        filters:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Filters
        format:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Format
        from_table:
          anyOf:
          - type: string
          - type: 'null'
          title: From Table
        grain:
          anyOf:
          - enum:
            - year
            - quarter
            - month
            - week
            - day
            - hour
            type: string
          - type: 'null'
          title: Grain
        is_certified:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Certified
        metric_type:
          anyOf:
          - enum:
            - simple
            - derived
            - cumulative
            - ratio
            - time_intelligence
            - window
            - cohort
            - composite
            - funnel
            - semi_additive
            - tree_node
            type: string
          - type: 'null'
          title: Metric Type
        numerator_ref:
          anyOf:
          - format: uuid
            type: string
          - type: 'null'
          title: Numerator Ref
        tags:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Tags
        translations:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Translations
        type_config:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Type Config
      title: MetricUpdate
      type: object
    MetricResponse:
      properties:
        created_at:
          format: date-time
          title: Created At
          type: string
        denominator_ref:
          anyOf:
          - format: uuid
            type: string
          - type: 'null'
          title: Denominator Ref
        description:
          anyOf:
          - type: string
          - type: 'null'
          title: Description
        description_localized:
          anyOf:
          - type: string
          - type: 'null'
          title: Description Localized
        dimensions:
          items:
            type: string
          title: Dimensions
          type: array
        display_name:
          title: Display Name
          type: string
        display_name_localized:
          default: ''
          title: Display Name Localized
          type: string
        expression:
          title: Expression
          type: string
        format:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Format
        from_table:
          anyOf:
          - type: string
          - type: 'null'
          title: From Table
        grain:
          anyOf:
          - type: string
          - type: 'null'
          title: Grain
        id:
          format: uuid
          title: Id
          type: string
        is_certified:
          title: Is Certified
          type: boolean
        metric_type:
          title: Metric Type
          type: string
        name:
          title: Name
          type: string
        numerator_ref:
          anyOf:
          - format: uuid
            type: string
          - type: 'null'
          title: Numerator Ref
        owner_id:
          anyOf:
          - format: uuid
            type: string
          - type: 'null'
          title: Owner Id
        tags:
          items:
            type: string
          title: Tags
          type: array
        tenant_id:
          format: uuid
          title: Tenant Id
          type: string
        translations:
          additionalProperties: true
          default: {}
          title: Translations
          type: object
        type_config:
          additionalProperties: true
          default: {}
          title: Type Config
          type: object
        updated_at:
          format: date-time
          title: Updated At
          type: string
        view_id:
          anyOf:
          - format: uuid
            type: string
          - type: 'null'
          title: View Id
      required:
      - id
      - created_at
      - updated_at
      - tenant_id
      - name
      - display_name
      - description
      - metric_type
      - expression
      - view_id
      - dimensions
      - is_certified
      - tags
      - owner_id
      title: MetricResponse
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http