retrieval

List retrieval entries

Changed on

Returns paginated retrieval entries. Each entry represents an ingested document or text. Filter by namespace, content_type, or free-text search on the entry ID.

Required permission: retrieval.view.

get/v1/projects/{project_id}/retrieval/entries

Request

  • Base URL
    https://api.connic.co
  • Auth
    HTTP bearer

Path parameters

project_id, string uuid required

ID of the project the API key belongs to.

Query parameters

environment_id, string uuid required

Environment ID from GET /environments.

namespace, string nullable

Only entries in this namespace or its child namespaces.

content_type, string nullable

Only entries of this type: text (text uploads and plain-text files), pdf, image, document, spreadsheet, presentation, or email.

search, string nullable

Case-insensitive match anywhere in the entry ID. % and _ act as wildcards.

limit, integer

Maximum number of entries to return.

offset, integer

Number of entries to skip.

sort_by, 'entry' | 'chunks' | 'namespace' | 'created' nullable

Sort key: entry (entry ID), chunks (chunk count), namespace, or created (first ingestion time). Defaults to created.

sort_dir, 'asc' | 'desc' nullable

Sort direction. Defaults to desc.

Response

Successful Response

PublicRetrievalEntriesResponse required
entries, PublicRetrievalEntryResponse[] required

Entries on this page.

total, integer required

Entries matching the filters across all pages.

Changes