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-datasets-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 Datasets 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: Datasets
description: Knowledge dataset management
paths:
/get-datasets:
get:
summary: Get available datasets
description: Returns a list of available knowledge datasets
tags:
- Datasets
responses:
'200':
description: List of datasets
content:
application/json:
schema:
type: object
properties:
response:
type: array
items:
type: string
status:
type: integer
operationId: getGetDatasets
x-operation-id-source: derived
post:
summary: Get available datasets
description: Returns a list of available knowledge datasets
tags:
- Datasets
responses:
'200':
description: List of datasets
content:
application/json:
schema:
type: object
properties:
response:
type: array
items:
type: string
status:
type: integer
operationId: postGetDatasets
x-operation-id-source: derived
/dataset:
delete:
summary: Delete a dataset
description: Delete a specific dataset
tags:
- Datasets
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- dataset
properties:
dataset:
type: string
description: Name of the dataset to delete
responses:
'200':
description: Dataset deleted
content:
application/json:
schema:
type: object
properties:
response:
type: string
status:
type: integer
operationId: deleteDataset
x-operation-id-source: derived
/delete-filename-from-dataset:
post:
summary: Delete file from dataset
description: Remove a specific file from a dataset
tags:
- Datasets
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- dataset
- filename
properties:
dataset:
type: string
description: Dataset name
filename:
type: string
description: Filename to delete
responses:
'200':
description: File deleted from dataset
content:
application/json:
schema:
type: object
properties:
response:
type: string
status:
type: integer
operationId: postDeleteFilenameFromDataset
x-operation-id-source: derived
get:
summary: Delete file from dataset (GET)
description: Remove a specific file from a dataset
tags:
- Datasets
responses:
'200':
description: File deleted from dataset
content:
application/json:
schema:
type: object
properties:
response:
type: string
status:
type: integer
operationId: getDeleteFilenameFromDataset
x-operation-id-source: derived
/get-all-files-ingested:
post:
summary: Get all ingested files
description: Returns a list of all files that have been ingested
tags:
- Datasets
responses:
'200':
description: List of ingested files
content:
application/json:
schema:
type: object
properties:
response:
type: array
items:
type: object
status:
type: integer
operationId: postGetAllFilesIngested
x-operation-id-source: derived
/copy-files-dataset:
post:
summary: Copy files to dataset
description: Copy files from one dataset to another
tags:
- Datasets
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- dataset
- files
properties:
dataset:
type: string
description: Target dataset name
files:
type: array
items:
type: object
properties:
filename:
type: string
source_string:
type: string
description: Files to copy
responses:
'200':
description: Files copied successfully
content:
application/json:
schema:
type: object
properties:
response:
type: array
items:
type: string
status:
type: integer
operationId: postCopyFilesDataset
x-operation-id-source: derived
/get-dataset-info:
post:
summary: Get dataset info
description: Returns metadata for a specific dataset, including is_tabular flag
tags:
- Datasets
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- dataset
properties:
dataset:
type: string
description: Dataset name
responses:
'200':
description: Dataset info retrieved
content:
application/json:
schema:
type: object
properties:
response:
type: object
properties:
id:
type: integer
name:
type: string
classification:
type: string
is_tabular:
type: boolean
status:
type: integer
'404':
description: Dataset not found
operationId: postGetDatasetInfo
x-operation-id-source: derived
/get-dataset-results:
post:
summary: Get dataset results
description: Get search results from specified datasets
tags:
- Datasets
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- datasets
properties:
datasets:
type: array
items:
type: object
properties:
value:
type: string
description: List of datasets to search
responses:
'200':
description: Dataset results retrieved
operationId: postGetDatasetResults
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.