Skip to main content
A collection is the core resource in Search — a named container for data sources with its own retrieval settings. This page covers the full CRUD lifecycle. Sources and Settings have their own subresources, documented separately. Management operations address a collection by 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).
Returns 201 Created with the full collection record.

Slug Conflicts

If a collection with the same slug already exists for the account, the request returns 409 Conflict:

List Collections

Returns 200 OK with the Telnyx V2 data + meta envelope — each item is a full collection record:

Pagination

Pagination is optional. Use page[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.
If no collection exists with that UUID for the account, the request returns 404 Not Found.

Retrieve a Collection by Slug

Lookup by slug returns the same full record. Slugs are unique per organization.
If no collection exists with that slug for the account, the request returns 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.
Returns the full updated collection record with a refreshed updated_at. Slug is unchanged.

Sources

Add, replace, and remove data sources.

Settings

Configure retrieval type and top_k.

Delete a Collection

Soft delete. Sets deleted_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.
Returns 204 No Content — no body.
  • 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