uuid; search addresses it by slug.
Create a Collection
name is required. slug is derived from name when omitted and must be unique per organization. A collection may be created with or without initial sources. settings is optional — defaults apply (top_k = 5, retrieval_type = vector).
201 Created with the full collection record.
Slug Conflicts
If a collection with the same slug already exists for the account, the request returns409 Conflict:
List Collections
200 OK with the Telnyx V2 data + meta envelope — each item is a full collection record:
Pagination
Pagination is optional. Usepage[number]/page[size] query parameters (default size 20, max 100). Results are sorted by slug then created_at.
Retrieve a Collection by UUID
Lookup by UUID returns the full collection record.404 Not Found.
Retrieve a Collection by Slug
Lookup by slug returns the same full record. Slugs are unique per organization.404 Not Found.
Update Collection Metadata
PATCH updates metadata only (name, description). Partial — omitted fields are untouched. slug is immutable; renaming does not regenerate it. Sources and settings have their own subresources.
updated_at. Slug is unchanged.
Sources
Add, replace, and remove data sources.
Settings
Configure retrieval type and top_k.
Delete a Collection
Soft delete. Setsdeleted_at and status = deleted, then excludes the collection from list results and returns 404 on detail lookups. The slug is freed for reuse immediately.
No external data is touched — transcriptions, embeddings, and credential connections are not affected. Deleting an already-deleted or unknown collection returns 404.
204 No Content — no body.
Related
- Get started — first collection to first search
- Sources — add, replace, and remove data sources
- Settings — configure retrieval type and top_k
- Search — query a collection’s documents