Twilio Enterprise Knowledge API

Enterprise Knowledge v2: knowledge bases (control plane), knowledge sources, chunks, search and long-running operations that feed grounded answers to Twilio conversational AI.

GitHub OpenAPI
Business capability
Retrieval & Embeddings AE-110.60

Operations 14

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 /v2/KnowledgeBases/{kbId}/Knowledge List sources in a knowledge base · List Knowledge Sources #
Ask an LLM
“Which web pages, files or text sources are loaded into a knowledge base?”
“Can I page through all knowledge sources in a base?”
Tell an agent
List knowledge sources in knowledge base {kbId}.
Show the first {pageSize} sources loaded into {kbId}.
POST /v2/KnowledgeBases/{kbId}/Knowledge Add a knowledge source to a knowledge base · Create Knowledge Source #
Ask an LLM
“How do I index web content, files or raw text as a knowledge source?”
“Can I name and describe a knowledge source when I add it?”
Tell an agent
Create a knowledge source named {name} in knowledge base {kbId}.
Add knowledge source {name} with description {description} and source {source}.
POST /v2/KnowledgeBases/{kbId}/Search Search a knowledge base for answers · Search Knowledge Chunks #
Ask an LLM
“What does my knowledge base know about a given question?”
“Can I limit a knowledge search to certain sources?”
Tell an agent
Search knowledge base {kbId} for {query}, returning the top {top} results.
Find the {top} most relevant chunks in {kbId} about {query} from sources {knowledgeIds}.
GET /v2/KnowledgeBases/{kbId}/Knowledge/{knowledgeId} Get a knowledge source's details · Retrieve Knowledge Source #
Ask an LLM
“What type and status is a particular knowledge source?”
“Can I see the source details of one loaded source?”
Tell an agent
Show knowledge source {knowledgeId} in {kbId}.
Get the status and source details of {knowledgeId} in knowledge base {kbId}.
PATCH /v2/KnowledgeBases/{kbId}/Knowledge/{knowledgeId} Rename or reconfigure a knowledge source · Update Knowledge Source #
Ask an LLM
“Can I change the name or description of a knowledge source?”
“Does updating a knowledge source reprocess its content?”
Tell an agent
Rename knowledge source {knowledgeId} in {kbId} to {name}.
Update the description of {knowledgeId} in {kbId} to {description}.
DELETE /v2/KnowledgeBases/{kbId}/Knowledge/{knowledgeId} Delete a knowledge source · Delete Knowledge Source #
Ask an LLM
“How do I permanently remove a knowledge source and its chunks?”
“Is deleting a knowledge source reversible?”
Tell an agent destructive · confirm first
Delete knowledge source {knowledgeId} from {kbId}.
Permanently remove {knowledgeId} and all its data from knowledge base {kbId}.
GET /v2/KnowledgeBases/{kbId}/Knowledge/{knowledgeId}/Chunks List the chunks of a knowledge source · List Knowledge Chunks #
Ask an LLM
“What chunks were extracted from a knowledge source?”
“Can I page through the processed chunks of one source?”
Tell an agent
List the chunks of knowledge source {knowledgeId} in {kbId}.
Show {pageSize} processed chunks from {knowledgeId} in knowledge base {kbId}.
GET /v1/Knowledge List all knowledge sources (v1) · List all knowledge #
Ask an LLM
“Which knowledge sources exist across all my knowledge bases?”
“Can I filter the v1 knowledge list by tag?”
Tell an agent
List all knowledge sources using the v1 endpoint.
Find knowledge sources tagged {Tags} with the v1 API.
POST /v1/Knowledge Create a knowledge source (v1) · Create knowledge #
Ask an LLM
“How do I create a knowledge source through the v1 endpoint?”
“Can I choose the embedding model when creating knowledge?”
Tell an agent
Create a v1 knowledge source named {name} of type {type}.
Add {type} knowledge source {name} to the v1 knowledge list with model {embedding_model}.
DELETE /v1/Knowledge/{id} Delete a knowledge source (v1) · Delete knowledge #
Ask an LLM
“How do I delete a knowledge source using the v1 endpoint?”
“Can I remove a v1 knowledge source by ID?”
Tell an agent destructive · confirm first
Delete v1 knowledge source {id}.
Remove the knowledge source with v1 ID {id}.
GET /v1/Knowledge/{id} Get a knowledge source (v1) · Get knowledge #
Ask an LLM
“What are the details of one knowledge source from the v1 list?”
“Can I fetch a single v1 knowledge source by ID?”
Tell an agent
Get v1 knowledge source {id}.
Show the v1 knowledge source with ID {id}.
PUT /v1/Knowledge/{id} Update a knowledge source (v1) · Update knowledge #
Ask an LLM
“Can I change the description of a knowledge source through the v1 API?”
“Does updating a v1 knowledge source reprocess it?”
Tell an agent
Update v1 knowledge source {id} with description {description}.
Change the v1 knowledge source {id} to type {type}.
GET /v1/Knowledge/{id}/Status Check a knowledge source's status (v1) · Get knowledge status #
Ask an LLM
“Is my knowledge source still processing?”
“What status does the v1 knowledge source report?”
Tell an agent
Get the status of v1 knowledge source {id}.
Check whether v1 knowledge source {id} is ready.
GET /v1/Knowledge/{id}/Chunks List chunks of a v1 knowledge source · List knowledge chunks #
Ask an LLM
“What text chunks did the v1 API extract from a knowledge entry?”
“Can I page through the chunks of a v1 knowledge item with a page token?”
Tell an agent
Get the v1 chunks for knowledge entry {id}.
Return {PageSize} v1 chunks per page for knowledge entry {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/twilio:twilio-enterprise-knowledge-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

twilio-knowledge-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Twilio Knowledge API
  contact:
    name: Twilio Support
    url: https://support.twilio.com
    email: support@twilio.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  termsOfService: https://www.twilio.com/legal/tos
  x-refined-note:
  - x-twilio differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged Knowledge across 2 of this provider''s published API definitions: knowledge-openapi-original.yml, knowledge-v1-openapi-original.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://knowledge.twilio.com
security:
- accountSid_authToken: []
tags:


# --- truncated at 32 KB (52 KB total) ---
# Full source: https://artifacts.apis.io/twilio/openapi/twilio-knowledge-api-openapi.yml