Skip to main content

Repositories

Repository endpoints manage image storage locations, synchronization, monitoring, and repository-wide facet discovery. The complete schemas and security requirements are defined in back-end/openapi.json.

MethodEndpointPurpose
GET/repository/listLists repositories.
POST/repository/createCreates a repository.
PUT/repository/ensureCreates an extension-attached repository if it does not exist.
GET/repository/{id}/getGets a repository.
PUT/repository/{id}/updateUpdates repository configuration.
PUT/repository/{id}/renameImageRenames an image file.
POST/repository/{id}/storeImageStores an image in a repository.
PUT/repository/{id}/synchronizeSynchronizes a repository.
PUT/repository/{id}/setModeChanges a repository's operating mode.
PUT/repository/startOrStopStarts or stops repositories.
GET/repository/activitiesReports repository activities.
DELETE/repository/{id}/deleteDeletes a repository.
GET/repository/getImageByUrlResolves an image from its URL.
GET/repository/tagsLists repository tags.
GET/repository/featureNamesLists repository feature names.
GET/repository/embeddingsNamesLists repository embedding names.

Repository modes​

A repository has one of three operating modes:

ModeBehavior
disabledThe repository is excluded from search and capability processing.
enabledThe repository is available and is synchronized once when its configuration is applied.
watchingThe repository is available and its file location is monitored for ongoing changes.

Use PUT /repository/{id}/setMode to change the mode. Switching to disabled stops repository operations; switching to enabled or watching starts synchronization. The watching mode is supported for file repositories.

Extension-attached repositories​

Extensions can create or retrieve a dedicated repository with PUT /repository/ensure. The request identifies the extension with extensionId, and the repository stores that association. Repository names and comments remain user- visible configuration fields. The location type is file, and the operating mode is selected explicitly with mode.

The OpenAPI specification is authoritative for parameters, payloads, permissions, and response schemas. See Images for image-level enrichment endpoints.