Treasure Data Knowledge Base API

The Knowledge Base API from Treasure Data — 3 operation(s) for knowledge base.

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/knowledge_bases List knowledge bases · index #
Ask an LLM
“Which knowledge bases do my Treasure Data AI agents have?”
“Can I sort my knowledge bases?”
Tell an agent
List all my knowledge bases.
List knowledge bases sorted by {sort}.
POST /api/knowledge_bases Create a knowledge base · create #
Ask an LLM
“How do I give an AI agent a knowledge base backed by my data?”
“What is needed to create a new knowledge base?”
Tell an agent
Create a knowledge base with {data}.
Set up a new knowledge base for my agents using {data}.
DELETE /api/knowledge_bases/{id} Delete a knowledge base · destroy #
Ask an LLM
“How do I remove a knowledge base I no longer need?”
“Will agents lose access once a knowledge base is deleted?”
Tell an agent destructive · confirm first
Delete knowledge base {id}.
Remove the outdated knowledge base {id}.
GET /api/knowledge_bases/{id} Get a knowledge base · show #
Ask an LLM
“How is a particular knowledge base configured?”
“Can I look up a knowledge base by its ID?”
Tell an agent
Show knowledge base {id}.
Fetch the configuration of knowledge base {id}.
PATCH /api/knowledge_bases/{id} Update a knowledge base · update #
Ask an LLM
“Can I change the settings of an existing knowledge base?”
“What can I edit on a knowledge base after creating it?”
Tell an agent
Update knowledge base {id} with {data}.
Edit the configuration of existing knowledge base {id}.
POST /api/knowledge_bases/{id}/query Query a knowledge base · query #
Ask an LLM
“Can I run a query against a knowledge base directly?”
“What function and arguments does a knowledge base query take?”
Tell an agent
Query knowledge base {id} by calling {function} with {arguments}.
Run function {function} against knowledge base {id}.

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/treasure-data:treasure-data-knowledge-base-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

treasure-data-knowledge-base-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: llm-api Knowledge Base API
  version: 1.0.0
servers:
- url: https://llm-api.treasuredata.com
- url: https://llm-api.eu01.treasuredata.com
- url: https://llm-api.ap02.treasuredata.com
- url: https://llm-api.treasuredata.co.jp
security:
- ApiKeyAuth: []
tags:


# --- truncated at 32 KB (50 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/treasure-data/refs/heads/main/openapi/treasure-data-knowledge-base-api-openapi.yml