Luviner Training API

Train anomaly detectors and classifiers

GitHub OpenAPI

Operations 2

POST /train/anomaly Train anomaly detector #
POST /train/classifier Train multi-class classifier #

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/luviner-com:luviner-com-training-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

luviner-com-training-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Luviner AI Training API
  description: 13 specialized neural engines for time-series anomaly detection, classification, and synthetic industrial failure data generation. No GPU required. Sub-millisecond inference.
  version: 1.0.0
  contact:
    name: Luviner
    email: info@luviner.com
    url: https://luviner.com
servers:
- url: https://luviner.com/api/v1
  description: Production
security:
- BearerAuth: []
tags:
- name: Training
  description: Train anomaly detectors and classifiers
paths:
  /train/anomaly:
    post:
      summary: Train anomaly detector
      description: Train a one-class anomaly detector on NORMAL data only. The model learns what normal looks like — any future input deviating from normal is flagged as anomalous. Returns a model_id for inference.
      operationId: trainAnomaly
      tags:
      - Training
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TrainAnomalyRequest'
            example:
              data:
              - - 0.1
                - 0.2
                - 0.3
              - - 0.15
                - 0.22
                - 0.28
              - - 0.12
                - 0.19
                - 0.31
              engine: vivi4
              epochs: 30
      responses:
        '200':
          description: Training result with model_id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrainResult'
  /train/classifier:
    post:
      summary: Train multi-class classifier
      description: Train a supervised classifier on labeled data. Returns a model_id and accuracy score.
      operationId: trainClassifier
      tags:
      - Training
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TrainClassifierRequest'
            example:
              data:
              - - 0.1
                - 0.2
              - - 0.9
                - 0.8
              - - 0.15
                - 0.18
              - - 0.85
                - 0.9
              labels:
              - 0
              - 1
              - 0
              - 1
              engine: vivi3
              epochs: 50
              class_names:
              - healthy
              - faulty
      responses:
        '200':
          description: Training result with model_id and accuracy
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClassifierTrainResult'
components:
  schemas:
    ClassifierTrainResult:
      type: object
      properties:
        model_id:
          type: string
        engine:
          type: string
        accuracy:
          type: number
        n_features:
          type: integer
        n_classes:
          type: integer
        total_params:
          type: integer
    TrainResult:
      type: object
      properties:
        model_id:
          type: string
          example: f329f1f4
        engine:
          type: string
        n_features:
          type: integer
        n_samples_trained:
          type: integer
        hidden_size:
          type: integer
        status:
          type: string
          example: ready
    TrainClassifierRequest:
      type: object
      required:
      - data
      - labels
      properties:
        data:
          type: array
          items:
            type: array
            items:
              type: number
        labels:
          type: array
          items:
            type: integer
        engine:
          type: string
          default: lnn
        hidden_size:
          type: integer
          default: 48
        n_layers:
          type: integer
          default: 2
        epochs:
          type: integer
          default: 50
        class_names:
          type: array
          items:
            type: string
    TrainAnomalyRequest:
      type: object
      required:
      - data
      properties:
        data:
          type: array
          items:
            type: array
            items:
              type: number
          description: 2D array of NORMAL samples (min 5 rows)
        engine:
          type: string
          default: v4
          description: Engine key from /engines
        hidden_size:
          type: integer
          default: 48
        n_layers:
          type: integer
          default: 2
        epochs:
          type: integer
          default: 30
        contamination:
          type: number
          default: 0.05
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API token from your Luviner dashboard (Settings > API Access)