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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/ask-sage-training-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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
openapi: 3.2.0
info:
title: Ask Sage Server Training API
description: Ask Sage is an AI-powered platform providing intelligent completions, knowledge management, and workflow automation.
version: '2.0'
contact:
name: Ask Sage Support
email: support@asksage.ai
url: https://asksage.ai
servers:
- url: '{baseUrl}/server'
description: Ask Sage Server API
variables:
baseUrl:
default: https://api.asksage.ai
description: API base URL. Use https://api.asksage.ai for production, or your self-hosted instance URL.
security:
- ApiKeyAuth: []
tags:
- name: Training
description: Model training and content ingestion
paths:
/train:
post:
summary: Train the model
description: Add new content to the knowledge base
tags:
- Training
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- content
properties:
content:
type: string
description: Content to train/ingest
context:
type: string
description: Additional context for the content
skip_vectordb:
type: boolean
default: false
description: Skip adding to vector database
force_dataset:
type: string
description: Force specific dataset for training
responses:
'200':
description: Training successful
content:
application/json:
schema:
type: object
properties:
response:
type: string
embedding:
type: string
status:
type: integer
operationId: postTrain
x-operation-id-source: derived
get:
summary: Train the model (GET)
description: Add new content to the knowledge base
tags:
- Training
responses:
'200':
description: Training successful
content:
application/json:
schema:
type: object
properties:
response:
type: string
embedding:
type: string
status:
type: integer
operationId: getTrain
x-operation-id-source: derived
/train-with-file:
post:
summary: Train with file
description: Train the model using file content
tags:
- Training
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
required:
- file
properties:
file:
type: string
format: binary
description: File to train from
dataset:
type: string
description: Dataset to add content to
responses:
'200':
description: File training successful
content:
application/json:
schema:
type: object
properties:
response:
type: string
embedding:
type: array
items:
type: string
status:
type: integer
operationId: postTrainWithFile
x-operation-id-source: derived
get:
summary: Train with file (GET)
description: Train the model using file content
tags:
- Training
responses:
'200':
description: File training successful
content:
application/json:
schema:
type: object
properties:
response:
type: string
embedding:
type: array
items:
type: string
status:
type: integer
operationId: getTrainWithFile
x-operation-id-source: derived
/train-with-array:
post:
summary: Train with array of data
description: Train the model using an array of content
tags:
- Training
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
required:
- data
- dataset
properties:
data:
type: string
description: JSON array of data to train
dataset:
type: string
description: Dataset name
context:
type: string
description: Additional context
filename:
type: string
description: Source filename
responses:
'200':
description: Array training successful
content:
application/json:
schema:
type: object
properties:
response:
type: string
embedding:
type: array
items:
type: array
items:
type: string
status:
type: integer
operationId: postTrainWithArray
x-operation-id-source: derived
get:
summary: Train with array of data (GET)
description: Train the model using an array of content
tags:
- Training
responses:
'200':
description: Array training successful
content:
application/json:
schema:
type: object
properties:
response:
type: string
embedding:
type: array
items:
type: array
items:
type: string
status:
type: integer
operationId: getTrainWithArray
x-operation-id-source: derived
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-access-tokens
description: JWT authentication token. Obtain a token by calling the User API endpoint `/user/get-token-with-api-key` with your email and API key.