Skip to main content
Sources are the data inputs a collection searches across. Each source type has its own page covering what it indexes and how to enable the underlying data: Sources are managed through dedicated endpoints — never through collection PATCH (which would be ambiguous about intent). When a source is added, the resource is created with status set to ready and its content is indexed for search.

Add One Source

POST /v2/ai/collections/{uuid}/sources adds a single source without touching the others.
Returns 201 Created with the new source object.

Replace All Sources

PUT /v2/ai/collections/{uuid}/sources replaces the complete source list. The server reconciles by logical identity:
  • voice — by source_type
Retained sources are not reindexed. Dropped sources are detached from this collection only — replacing the list never starts physical cleanup of chunks, embeddings, or metadata, and never deletes the underlying Telnyx product data.

List Sources

Remove One Source

DELETE /v2/ai/collections/{uuid}/sources/{source_id} removes a single source; the rest are untouched. Excluded from new searches immediately — this detaches the collection’s pointer to the source only. A source can back many collections, so detaching never starts physical cleanup of chunks, embeddings, or metadata. Never deletes the original Telnyx product data. Never disables a bucket or credential connection.
Returns 204 No Content — no body.
  • Collections — create, list, retrieve, update, and delete collections
  • Settings — configure retrieval type and top_k