Scale AI Knowledge Bases API

The Knowledge Bases API from Scale AI — 19 operation(s) for knowledge bases.

Business capability
Retrieval & Embeddings AE-110.60

Operations 31

POST /v4/knowledge-bases/{knowledge_base_id}/artifacts/batch-delete Batch Delete Locally Stored Artifacts #
POST /v4/knowledge-bases/{knowledge_base_id}/uploads/{upload_id}/cancel Cancel Upload Job #
POST /v4/knowledge-bases/{knowledge_base_id}/artifacts/{artifact_id}/chunks Create chunk for local chunk artifacts #
GET /v4/knowledge-bases/{knowledge_base_id}/artifacts/{artifact_id}/chunks List Chunks of Artifacts with Pagination #
POST /v4/knowledge-bases Create Knowledge Base #
GET /v4/knowledge-bases List Knowledge Bases #
POST /v4/knowledge-bases/{knowledge_base_id}/upload-schedules Create Upload Schedule #
GET /v4/knowledge-bases/{knowledge_base_id}/upload-schedules List Upload Schedules #
POST /v4/knowledge-bases/{knowledge_base_id}/data-source-connections/{knowledge_base_data_source_id}/delete Delete Data Source Connection #
DELETE /v4/knowledge-bases/{knowledge_base_id} Delete Knowledge Base #
GET /v4/knowledge-bases/{knowledge_base_id} Get Knowledge Base #
PATCH /v4/knowledge-bases/{knowledge_base_id} Patch Knowledge Base #
DELETE /v4/knowledge-bases/{knowledge_base_id}/artifacts/{artifact_id} Delete Locally Stored Artifact #
GET /v4/knowledge-bases/{knowledge_base_id}/artifacts/{artifact_id} Get Tracked Artifact Details #
PATCH /v4/knowledge-bases/{knowledge_base_id}/artifacts/{artifact_id} Patch Artifact Information #
DELETE /v4/knowledge-bases/{knowledge_base_id}/artifacts/{artifact_id}/chunks/{chunk_id} Delete Single Chunk from Local Artifact #
GET /v4/knowledge-bases/{knowledge_base_id}/artifacts/{artifact_id}/chunks/{chunk_id} Get Single Chunk Information and status #
PUT /v4/knowledge-bases/{knowledge_base_id}/artifacts/{artifact_id}/chunks/{chunk_id} Update Single Chunk data for local artifact #
DELETE /v4/knowledge-bases/{knowledge_base_id}/upload-schedules/{upload_schedule_id} Delete Upload Schedule #
GET /v4/knowledge-bases/{knowledge_base_id}/upload-schedules/{upload_schedule_id} Get Upload Schedule #
PATCH /v4/knowledge-bases/{knowledge_base_id}/upload-schedules/{upload_schedule_id} Update Upload Schedule #
GET /v4/knowledge-bases/{knowledge_base_id}/chunks Fetch Chunks by ID or Metadata #
GET /v4/knowledge-bases/chunks/{chunk_id} Get Chunk and Artifact Information by Chunk ID #
GET /v4/knowledge-bases/{knowledge_base_id}/uploads/{upload_id} Get Upload Job #
GET /v4/knowledge-bases/{knowledge_base_id}/async-jobs List Knowledge Base Async Jobs #
GET /v4/knowledge-bases/{knowledge_base_id}/artifacts List Tracked Artifacts #
GET /v4/knowledge-bases/{knowledge_base_id}/uploads List Upload Jobs #
POST /v4/knowledge-bases/{knowledge_base_id}/uploads Submit Upload Job #
POST /v4/knowledge-bases/{knowledge_base_id}/query Query Relevant Chunks #
POST /v4/knowledge-bases/{knowledge_base_id}/upload_files Submit Upload Job with local files #
POST /v4/knowledge-base-data-sources/{knowledge_base_data_source_id}/verify Test Knowledge Base Data Source credentials #

Documentation

Specifications

SDKs

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-response-object-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-chat-completion-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-spans-export-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-response-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-spans-by-span-metrics-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-spans-metrics-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-egp-api-backend-server-api-apps-public-routers-inference-inference-model-models-chat-completion-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-create-chat-completion-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-egp-api-backend-server-utils-model-schemas-completions-chat-completion-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-completion-request-v2-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-execute-agent-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-legacy-evaluation-response-with-views-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-agent-run-schedule-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-register-agent-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-update-agent-run-schedule-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-create-agent-run-schedule-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-create-span-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-span-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-research-job-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-job-entity-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-data-source-entity-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-parse-result-entity-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-file-entity-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-sgpvector-store-create-request-base-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-chat-completion-v2-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-completion-v2-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-create-model-endpoint-v1-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-update-model-endpoint-v1-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-create-batch-completions-v2-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/scale-ai/json-schema/scale-ai-create-batch-completions-v1-request-schema.json

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/scale-ai:scale-ai-knowledge-bases-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

scale-ai-knowledge-bases-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: EGP API V4 Knowledge Bases API
  description: This is the parent API for all EGP APIs. If you are looking for the EGP API, please go to https://api.egp.scale.com/docs.
  contact:
    name: Scale Generative AI Platform
    url: https://scale.com/genai-platform
  version: 0.1.0
servers:
- url: https://api.egp.scale.com
security: []
tags:


# --- truncated at 32 KB (159 KB total) ---
# Full source: https://artifacts.apis.io/scale-ai/openapi/scale-ai-knowledge-bases-api-openapi.yml