Telnyx AI Collections API

Create and manage logical collections of your Telnyx data, tune retrieval settings, manage sources, and run collection-scoped semantic search.

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 /ai/collections List AI collections · List collections #
Ask an LLM
“Which AI collections exist in my organization?”
“Can I page through all collections?”
Tell an agent
List all collections.
Show collections {page_size} per page.
POST /ai/collections Create an AI collection · Create a collection #
Ask an LLM
“How do I create a new AI collection for my organization?”
“Can I attach sources and retrieval settings when creating a collection?”
Tell an agent
Create a collection named {name}.
Create collection {name} with sources {sources} and settings {settings}.
GET /ai/collections/slug/{slug} Get an AI collection by slug · Get a collection by slug #
Ask an LLM
“How do I look up an AI collection using its slug?”
“What does a collection's slug point to?”
Tell an agent
Get the collection with slug {slug}.
Show me the AI collection identified by {slug}.
DELETE /ai/collections/{uuid} Delete an AI collection · Delete a collection #
Ask an LLM
“How do I delete an AI collection?”
“Is a deleted collection's slug freed up for reuse?”
Tell an agent destructive · confirm first
Delete collection {uuid}.
Soft-delete the AI collection {uuid}.
GET /ai/collections/{uuid} Get an AI collection by UUID · Get a collection #
Ask an LLM
“Can I fetch an AI collection using its UUID?”
“What metadata does a collection UUID return?”
Tell an agent
Get collection {uuid}.
Fetch the AI collection with UUID {uuid}.
PATCH /ai/collections/{uuid} Rename or redescribe an AI collection · Update a collection #
Ask an LLM
“Can I rename an existing AI collection?”
“How do I change a collection's description?”
Tell an agent
Rename collection {uuid} to {name}.
Set the description of collection {uuid} to {description}.
GET /ai/collections/{uuid}/settings Get an AI collection's retrieval settings · Get collection settings #
Ask an LLM
“What retrieval settings does my AI collection use?”
“How are documents retrieved from a collection?”
Tell an agent
Show the retrieval settings for collection {uuid}.
Get how collection {uuid} retrieves documents.
PATCH /ai/collections/{uuid}/settings Partially update an AI collection's retrieval settings · Update collection settings #
Ask an LLM
“Can I change just one retrieval setting on a collection?”
“Is there a partial update for collection retrieval settings?”
Tell an agent
Partially update the retrieval settings of collection {uuid}.
Patch collection {uuid}'s retrieval mode.
PUT /ai/collections/{uuid}/settings Replace an AI collection's retrieval settings · Replace collection settings #
Ask an LLM
“How do I overwrite a collection's retrieval settings entirely?”
“Can I set the whole retrieval configuration of a collection at once?”
Tell an agent
Replace the retrieval settings of collection {uuid} with {retrieval}.
Overwrite collection {uuid}'s retrieval mode with {retrieval}.
GET /ai/collections/{uuid}/sources List sources attached to an AI collection · List collection sources #
Ask an LLM
“Which sources are attached to my AI collection?”
“What content sources feed a collection?”
Tell an agent
List the sources of collection {uuid}.
Show what content sources collection {uuid} is attached to.
POST /ai/collections/{uuid}/sources Attach a content source to an AI collection · Add a collection source #
Ask an LLM
“How do I attach a voice recording bucket as a source to an AI collection?”
“Does adding a collection source ingest its content so it can be searched?”
Tell an agent
Attach a {source_type} source to collection {uuid}.
Add a {source_type} source to collection {uuid} from bucket {bucket_id}.
PUT /ai/collections/{uuid}/sources Replace all sources of an AI collection · Replace collection sources #
Ask an LLM
“How do I replace every source on a collection at once?”
“Can I get a report of which sources were added, retained and removed when I replace them?”
Tell an agent
Replace all sources of collection {uuid} with {sources}.
Overwrite collection {uuid}'s source set and report added, retained and removed sources.
DELETE /ai/collections/{uuid}/sources/{sourceId} Remove a source from an AI collection · Remove a collection source #
Ask an LLM
“How do I detach one source from an AI collection?”
“Can I remove a single content source from a collection?”
Tell an agent destructive · confirm first
Remove source {sourceId} from collection {uuid}.
Detach content source {sourceId} from collection {uuid}.
GET /ai/knowledge/collections/{slug}/documents Search documents in an AI collection · Search collection documents #
Ask an LLM
“How do I search the documents in an AI collection with a natural-language query?”
“Can I limit a collection search to certain sources or apply filters?”
Tell an agent
Search collection {slug} for {query}.
Find documents in collection {slug} matching {query} from sources {sources}.

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/telnyx:telnyx-ai-collections-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

telnyx-ai-collections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Telnyx AI Collections API
  version: 2.0.0
  contact:
    email: support@telnyx.com
  x-endpoint-cost: light
  x-latency-category: responsive
  description: 'Operations tagged AI Collections across 2 of this provider''s published API definitions: telnyx-openapi.json, telnyx-openapi_2.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.telnyx.com/v2
  description: Version 2.0.0 of the Telnyx API
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (38 KB total) ---
# Full source: https://artifacts.apis.io/telnyx/openapi/telnyx-ai-collections-api-openapi.yml