SchemaLabs API

SchemaLabs API as documented publicly: 29 operations. Contract generated from the documentation by API Evangelist (2026-11-24); not the provider's own document.

GitHub OpenAPI

Operations 29

GET /v2/data List data #
DELETE /v2/data/{id} Delete data #
GET /v2/data/{id} Retrieve data #
POST /v2/data/{id}/pin Pin a dataset #
POST /v2/data/{id}/sync Sync a connection #
POST /v2/data/{id}/unpin Unpin a dataset #
POST /v2/data/connect Connect a source #
POST /v2/data/generate Generate synthetic data #
GET /v2/endpoints List endpoints #
POST /v2/endpoints POST /v2/endpoints #
DELETE /v2/endpoints/{id} Tears the endpoint down immediately; its reports remain in the org’s audit trail. #
GET /v2/endpoints/{id} Read the stored endpoint object and the bundle already computed over the pinned data. #
GET /v2/endpoints/{id}/logs Returns the endpoint’s operation log (create, refresh, upgrade, job events). #
POST /v2/endpoints/{id}/refresh Refresh re‑syncs data, re‑scores the endpoint when the source data changes. #
POST /v2/endpoints/{id}/upgrade Upgrade runs the same pinned data on a newer base and re‑scores the endpoint. #
GET /v2/jobs List jobs #
GET /v2/jobs/{id} Retrieve a job #
POST /v2/jobs/{id}/cancel Cancel a job #
GET /v2/keys List keys #
POST /v2/keys POST /v2/keys #
DELETE /v2/keys/{id} Revoke a key #
POST /v2/keys/{id}/rotate Rotate a key #
GET /v2/models List models #
GET /v2/openapi/{id} Endpoint OpenAPI description #
POST /v2/preflight Preflight a call run #
GET /v2/reports List reports #
GET /v2/reports/{id} Retrieve a report #
POST /v2/run POST /v2/run #
GET /v2/usage Retrieve usage #

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/schemalabs-ai:schemalabs-ai-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

schemalabs-ai-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: SchemaLabs API
  version: '2026-11-24'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-24: 29 operation(s) read from 5 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; SchemaLabs has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 6
    documentation: 23
    pages-with-code: 4
    pages-read: 5
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-24'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.schemalabs.ai/endpoints
  - https://docs.schemalabs.ai/endpoints.md
  - https://docs.schemalabs.ai/api-reference
  - https://docs.schemalabs.ai/api-reference.md
  - https://docs.schemalabs.ai/api-reference/run
servers:
- url: https://api.schemalabs.ai
paths:
  /v2/data:
    get:
      operationId: get_v2_data
      tags:
      - Data
      summary: List data
      x-source: https://docs.schemalabs.ai/api-reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v2/data/{id}:
    delete:
      operationId: delete_v2_data_id
      tags:
      - Data
      summary: Delete data
      x-source: https://docs.schemalabs.ai/api-reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    get:
      operationId: get_v2_data_id
      tags:
      - Data
      summary: Retrieve data
      x-source: https://docs.schemalabs.ai/api-reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v2/data/{id}/pin:
    post:
      operationId: post_v2_data_id_pin
      tags:
      - Data
      summary: Pin a dataset
      x-source: https://docs.schemalabs.ai/api-reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v2/data/{id}/sync:
    post:
      operationId: post_v2_data_id_sync
      tags:
      - Data
      summary: Sync a connection
      x-source: https://docs.schemalabs.ai/api-reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v2/data/{id}/unpin:
    post:
      operationId: post_v2_data_id_unpin
      tags:
      - Data
      summary: Unpin a dataset
      x-source: https://docs.schemalabs.ai/api-reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v2/data/connect:
    post:
      operationId: post_v2_data_connect
      tags:
      - Data
      summary: Connect a source
      x-source: https://docs.schemalabs.ai/api-reference
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v2/data/generate:
    post:
      operationId: post_v2_data_generate
      tags:
      - Data
      summary: Generate synthetic data
      x-source: https://docs.schemalabs.ai/api-reference
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v2/endpoints:
    get:
      operationId: get_v2_endpoints
      tags:
      - Endpoints
      summary: List endpoints
      x-source: https://docs.schemalabs.ai/api-reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_v2_endpoints
      tags:
      - Endpoints
      summary: POST /v2/endpoints
      x-source: https://docs.schemalabs.ai/endpoints
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://api.schemalabs.ai/v2/endpoints  -H \" Authorization: Bearer $SCHEMA_API_KEY \"  -H \" Content-Type: application/json\
          \ \"  -H \" Idempotency-Key: <unique key> \"  -d ' { \"name\": \"churn\", \n \"data\": [\"ds_crm01\", \"ds_bill01\"], \n \"target\"\
          : { \"column\": \"crm_contacts.c3\" }, \n \"task\": { \"type\": \"classification\" } } ' "
  /v2/endpoints/{id}:
    delete:
      operationId: delete_v2_endpoints_id
      tags:
      - Endpoints
      summary: Tears the endpoint down immediately; its reports remain in the org’s audit trail.
      x-source: https://docs.schemalabs.ai/endpoints
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    get:
      operationId: get_v2_endpoints_id
      tags:
      - Endpoints
      summary: Read the stored endpoint object and the bundle already computed over the pinned data.
      x-source: https://docs.schemalabs.ai/endpoints
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV2EndpointsIdResponse'
      x-evidence:
        kind: documentation
  /v2/endpoints/{id}/logs:
    get:
      operationId: get_v2_endpoints_id_logs
      tags:
      - Endpoints
      summary: Returns the endpoint’s operation log (create, refresh, upgrade, job events).
      x-source: https://docs.schemalabs.ai/endpoints
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV2EndpointsIdLogsResponse'
      x-evidence:
        kind: documentation
  /v2/endpoints/{id}/refresh:
    post:
      operationId: post_v2_endpoints_id_refresh
      tags:
      - Endpoints
      summary: Refresh re‑syncs data, re‑scores the endpoint when the source data changes.
      x-source: https://docs.schemalabs.ai/endpoints
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '202':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV2EndpointsIdRefreshResponse'
      x-evidence:
        kind: documentation
  /v2/endpoints/{id}/upgrade:
    post:
      operationId: post_v2_endpoints_id_upgrade
      tags:
      - Endpoints
      summary: Upgrade runs the same pinned data on a newer base and re‑scores the endpoint.
      x-source: https://docs.schemalabs.ai/endpoints
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV2EndpointsIdUpgradeRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostV2EndpointsIdUpgradeResponse'
      x-evidence:
        kind: documentation
  /v2/jobs:
    get:
      operationId: get_v2_jobs
      tags:
      - Jobs
      summary: List jobs
      x-source: https://docs.schemalabs.ai/api-reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v2/jobs/{id}:
    get:
      operationId: get_v2_jobs_id
      tags:
      - Jobs
      summary: Retrieve a job
      x-source: https://docs.schemalabs.ai/api-reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v2/jobs/{id}/cancel:
    post:
      operationId: post_v2_jobs_id_cancel
      tags:
      - Jobs
      summary: Cancel a job
      x-source: https://docs.schemalabs.ai/api-reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v2/keys:
    get:
      operationId: get_v2_keys
      tags:
      - Keys
      summary: List keys
      x-source: https://docs.schemalabs.ai/api-reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_v2_keys
      tags:
      - Keys
      summary: POST /v2/keys
      x-source: https://docs.schemalabs.ai/endpoints
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST https://api.schemalabs.ai/v2/keys  -H " Authorization: Bearer $SCHEMA_API_KEY "  -H " Content-Type: application/json
          "  -d '' { "name": "churn-pipeline", "scopes": ["serve"] } '' '
  /v2/keys/{id}:
    delete:
      operationId: delete_v2_keys_id
      tags:
      - Keys
      summary: Revoke a key
      x-source: https://docs.schemalabs.ai/api-reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v2/keys/{id}/rotate:
    post:
      operationId: post_v2_keys_id_rotate
      tags:
      - Keys
      summary: Rotate a key
      x-source: https://docs.schemalabs.ai/api-reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v2/models:
    get:
      operationId: get_v2_models
      tags:
      - Models
      summary: List models
      x-source: https://docs.schemalabs.ai/api-reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v2/openapi/{id}:
    get:
      operationId: get_v2_openapi_id
      tags:
      - Openapi
      summary: Endpoint OpenAPI description
      x-source: https://docs.schemalabs.ai/api-reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v2/preflight:
    post:
      operationId: post_v2_preflight
      tags:
      - Preflight
      summary: Preflight a call run
      x-source: https://docs.schemalabs.ai/api-reference
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v2/reports:
    get:
      operationId: get_v2_reports
      tags:
      - Reports
      summary: List reports
      x-source: https://docs.schemalabs.ai/api-reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v2/reports/{id}:
    get:
      operationId: get_v2_reports_id
      tags:
      - Reports
      summary: Retrieve a report
      x-source: https://docs.schemalabs.ai/api-reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v2/run:
    post:
      operationId: post_v2_run
      tags:
      - Run
      summary: POST /v2/run
      x-source: https://docs.schemalabs.ai/api-reference
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://api.schemalabs.ai/v2/run  -H \" Authorization: Bearer $SCHEMA_API_KEY \"  -H \" Content-Type: application/json\
          \ \"  -d ' { \n \"tables\": [{ \n \"id\": \"crm_contacts\", \n \"columns\": [\"c0\", \"c1\", \"c2\", \"c3\"], \n \"rows\": [ \n [\"\
          ana@example.io\", \"555-0142\", \"2025-01-10\", \"retained\"], \n [\"lee@example.io\", \"555-0199\", null, \"churned\"] \n ] \n }],\
          \ \n \"target\": { \"mode\": \"auto\" } \n } ' Basics Base UR"
  /v2/usage:
    get:
      operationId: get_v2_usage
      tags:
      - Usage
      summary: Retrieve usage
      x-source: https://docs.schemalabs.ai/api-reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    GetV2EndpointsIdResponse:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        base:
          type: string
        data_snapshot:
          type: string
        configuration:
          type: object
        system_prompts:
          type: array
        held_out_report:
          type: object
    GetV2EndpointsIdLogsResponse:
      type: object
      properties:
        logs:
          type: array
          description: Array of log entries.
    PostV2EndpointsIdRefreshResponse:
      type: object
      properties:
        job:
          type: string
          description: Job identifier for the refresh operation.
    PostV2EndpointsIdUpgradeRequest:
      type: object
      properties:
        base:
          type: string
      required:
      - base
    PostV2EndpointsIdUpgradeResponse:
      type: object
      properties:
        base:
          type: string
        held_out:
          type: object
        previous:
          type: object
        delta:
          type: string
        report:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Data
- name: Endpoints
- name: Jobs
- name: Keys
- name: Models
- name: Openapi
- name: Preflight
- name: Reports
- name: Run
- name: Usage