# VectorStore

## Retrieves public vector stores, optionally filtered by category.

> Retrieves public vector stores, optionally filtered by category.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/v1/VectorStore/GetPublicVectorStores":{"get":{"tags":["VectorStore"],"summary":"Retrieves public vector stores, optionally filtered by category.","description":"Retrieves public vector stores, optionally filtered by category.","parameters":[{"name":"categoryId","in":"query","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Retrieves sidebar vector stores available to the current user.

> Retrieves sidebar vector stores available to the current user.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/v1/VectorStore/GetSidebar":{"get":{"tags":["VectorStore"],"summary":"Retrieves sidebar vector stores available to the current user.","description":"Retrieves sidebar vector stores available to the current user.","responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Retrieves public vector stores, optionally filtered by category.

> Retrieves public vector stores, optionally filtered by category.\
> \
> Required roles: Admin, Knowledge Base Contributor, Moderator.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"FilterDataViewModel2":{"type":"object","properties":{"skip":{"type":"integer","description":"Number of records to skip from the start of the result set.","format":"int32","nullable":true},"take":{"type":"integer","description":"Maximum number of records to return.","format":"int32","nullable":true},"search":{"type":"string","description":"Free-text query applied to searchable fields.","nullable":true},"companyId":{"type":"string","description":"Company scope used to limit results to a specific tenant.","format":"uuid","nullable":true},"startDate":{"type":"string","description":"Inclusive start date for date-range filtering.","format":"date-time","nullable":true},"endDate":{"type":"string","description":"Inclusive end date for date-range filtering.","format":"date-time","nullable":true},"sorted":{"type":"array","items":{"$ref":"#/components/schemas/SortDescriptor"},"description":"Sorting instructions, ordered by priority.","nullable":true}},"description":"Represents a generic filter request for paged list endpoints.","nullable":true},"SortDescriptor":{"type":"object","properties":{"name":{"type":"string","description":"Gets or sets the Name."},"direction":{"type":"string","description":"Gets or sets the Direction."}},"description":"Represents the view model SortDescriptor."}}},"paths":{"/v1/VectorStore/Get":{"post":{"tags":["VectorStore"],"summary":"Retrieves public vector stores, optionally filtered by category.","description":"Retrieves public vector stores, optionally filtered by category.\n\nRequired roles: Admin, Knowledge Base Contributor, Moderator.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FilterDataViewModel2"}},"text/json":{"schema":{"$ref":"#/components/schemas/FilterDataViewModel2"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/FilterDataViewModel2"}}}},"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Retrieves public vector stores, optionally filtered by category.

> Retrieves public vector stores, optionally filtered by category.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/v1/VectorStore/Get/{vectorStoreId}":{"get":{"tags":["VectorStore"],"summary":"Retrieves public vector stores, optionally filtered by category.","description":"Retrieves public vector stores, optionally filtered by category.","parameters":[{"name":"vectorStoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Creates a new vector store.

> Creates a new vector store.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"CreateVectorStoreViewModel":{"required":["name","type"],"type":"object","properties":{"name":{"type":"string"},"type":{"$ref":"#/components/schemas/VectorStoreType"},"systemMessageOverride":{"type":"string","description":"Optional system-message override for assistant behavior.","nullable":true},"modelConfigId":{"type":"string","description":"Optional model-configuration identifier.","format":"uuid","nullable":true},"reasoningEffort":{"$ref":"#/components/schemas/NullableOfReasoningEffort3"},"vectorStoreCategoryId":{"type":"string","description":"Optional category identifier.","format":"uuid","nullable":true},"icon":{"type":"string","description":"Optional icon key used in UI displays.","nullable":true},"codeInterpreter":{"type":"boolean","description":"Enables code-interpreter tooling.","nullable":true},"webSearch":{"type":"boolean","description":"Enables web-search tooling.","nullable":true}},"description":"Represents input for creating a vector store."},"VectorStoreType":{"type":"integer","description":"Ownership scope type for the vector store."},"NullableOfReasoningEffort3":{"type":"integer","description":"Reasoning-effort setting for model calls.","nullable":true}}},"paths":{"/v1/VectorStore/Create/{companyId}":{"post":{"tags":["VectorStore"],"summary":"Creates a new vector store.","description":"Creates a new vector store.","parameters":[{"name":"companyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVectorStoreViewModel"}},"text/json":{"schema":{"$ref":"#/components/schemas/CreateVectorStoreViewModel"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/CreateVectorStoreViewModel"}}},"required":true},"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Updates vector-store configuration.

> Updates vector-store configuration.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"UpdateVectorStoreViewModel":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"type":{"$ref":"#/components/schemas/NullableOfVectorStoreType"},"systemMessageOverride":{"type":"string","description":"Updated optional system-message override.","nullable":true},"modelConfigId":{"type":"string","description":"Updated optional model-configuration identifier.","format":"uuid","nullable":true},"reasoningEffort":{"$ref":"#/components/schemas/NullableOfReasoningEffort4"},"vectorStoreCategoryId":{"type":"string","description":"Updated optional category identifier.","format":"uuid","nullable":true},"sharingStatus":{"$ref":"#/components/schemas/NullableOfVectorStoreSharingStatus"},"icon":{"type":"string","description":"Updated icon key used in UI displays.","nullable":true},"codeInterpreter":{"type":"boolean","description":"Updated code-interpreter enablement.","nullable":true},"webSearch":{"type":"boolean","description":"Updated web-search enablement.","nullable":true},"clearSystemMessageOverride":{"type":"boolean","description":"Indicates whether to clear the system-message override.","nullable":true},"clearModelConfig":{"type":"boolean","description":"Indicates whether to clear the model configuration.","nullable":true}},"description":"Represents input for updating vector-store settings."},"NullableOfVectorStoreType":{"type":"integer","description":"Updated ownership scope type.","nullable":true},"NullableOfReasoningEffort4":{"type":"integer","description":"Updated reasoning-effort setting.","nullable":true},"NullableOfVectorStoreSharingStatus":{"type":"integer","description":"Updated sharing status for personal vector stores.","nullable":true}}},"paths":{"/v1/VectorStore/Update/{vectorStoreId}":{"patch":{"tags":["VectorStore"],"summary":"Updates vector-store configuration.","description":"Updates vector-store configuration.","parameters":[{"name":"vectorStoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVectorStoreViewModel"}},"text/json":{"schema":{"$ref":"#/components/schemas/UpdateVectorStoreViewModel"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UpdateVectorStoreViewModel"}}},"required":true},"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Updates team access for a vector store.

> Updates team access for a vector store.\
> \
> Required roles: Admin, Moderator.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"UpdateTeamAppViewModel":{"required":["teamIds"],"type":"object","properties":{"teamIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Team identifiers that should be linked to the app user."}},"description":"Represents team assignments for an app user."}}},"paths":{"/v1/VectorStore/UpdateTeams/{vectorStoreId}":{"put":{"tags":["VectorStore"],"summary":"Updates team access for a vector store.","description":"Updates team access for a vector store.\n\nRequired roles: Admin, Moderator.","parameters":[{"name":"vectorStoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTeamAppViewModel"}},"text/json":{"schema":{"$ref":"#/components/schemas/UpdateTeamAppViewModel"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/UpdateTeamAppViewModel"}}},"required":true},"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Deletes a vector store.

> Deletes a vector store.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/v1/VectorStore/Delete/{vectorStoreId}":{"delete":{"tags":["VectorStore"],"summary":"Deletes a vector store.","description":"Deletes a vector store.","parameters":[{"name":"vectorStoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Retrieves file associations for a vector store.

> Retrieves file associations for a vector store.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/v1/VectorStore/GetFiles/{vectorStoreId}":{"get":{"tags":["VectorStore"],"summary":"Retrieves file associations for a vector store.","description":"Retrieves file associations for a vector store.","parameters":[{"name":"vectorStoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Retrieves media records linked to a vector store.

> Retrieves media records linked to a vector store.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/v1/VectorStore/GetMediaFiles/{vectorStoreId}":{"get":{"tags":["VectorStore"],"summary":"Retrieves media records linked to a vector store.","description":"Retrieves media records linked to a vector store.","parameters":[{"name":"vectorStoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Verifies sync status for a single media file in a vector store.

> Verifies sync status for a single media file in a vector store.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/v1/VectorStore/VerifyFile/{vectorStoreId}/{mediaId}":{"get":{"tags":["VectorStore"],"summary":"Verifies sync status for a single media file in a vector store.","description":"Verifies sync status for a single media file in a vector store.","parameters":[{"name":"vectorStoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"mediaId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Verifies sync status for multiple media files in a vector store.

> Verifies sync status for multiple media files in a vector store.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/v1/VectorStore/VerifyFiles/{vectorStoreId}":{"post":{"tags":["VectorStore"],"summary":"Verifies sync status for multiple media files in a vector store.","description":"Verifies sync status for multiple media files in a vector store.","parameters":[{"name":"vectorStoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string","format":"uuid"}}},"text/json":{"schema":{"type":"array","items":{"type":"string","format":"uuid"}}},"application/*+json":{"schema":{"type":"array","items":{"type":"string","format":"uuid"}}}},"required":true},"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Adds uploaded files to a vector store.

> Adds uploaded files to a vector store.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AddFileVectorStoreViewModel":{"required":["mediaIds"],"type":"object","properties":{"mediaIds":{"type":"array","items":{"type":"string","format":"uuid"}}},"description":"Represents input for adding existing media files to a vector store."}}},"paths":{"/v1/VectorStore/AddFile/{vectorStoreId}":{"post":{"tags":["VectorStore"],"summary":"Adds uploaded files to a vector store.","description":"Adds uploaded files to a vector store.","parameters":[{"name":"vectorStoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddFileVectorStoreViewModel"}},"text/json":{"schema":{"$ref":"#/components/schemas/AddFileVectorStoreViewModel"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/AddFileVectorStoreViewModel"}}},"required":true},"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Deletes a file from a vector store.

> Deletes a file from a vector store.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/v1/VectorStore/DeleteFile/{vectorStoreId}/{fileId}":{"delete":{"tags":["VectorStore"],"summary":"Deletes a file from a vector store.","description":"Deletes a file from a vector store.","parameters":[{"name":"vectorStoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"fileId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Deletes multiple files from a vector store.

> Deletes multiple files from a vector store.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/v1/VectorStore/DeleteFiles/{vectorStoreId}":{"delete":{"tags":["VectorStore"],"summary":"Deletes multiple files from a vector store.","description":"Deletes multiple files from a vector store.","parameters":[{"name":"vectorStoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}},"text/json":{"schema":{"type":"array","items":{"type":"string"}}},"application/*+json":{"schema":{"type":"array","items":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Previews website-import candidates for a vector store.

> Previews website-import candidates for a vector store.\
> \
> Required roles: Admin, Moderator.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AddWebsiteVectorStoreViewModel":{"required":["url"],"type":"object","properties":{"url":{"type":"string","description":"Root URL or sitemap URL to import."},"useSitemap":{"type":"boolean","description":"Indicates whether sitemap discovery should be used."},"autoSyncEnabled":{"type":"boolean","description":"Enables automatic synchronization for imported content.","nullable":true},"scrapeDelayEnabled":{"type":"boolean","description":"Enables delay between page-scrape requests."},"scrapeDelayMilliseconds":{"type":"integer","description":"Delay duration in milliseconds when scraping delay is enabled.","format":"int32","nullable":true},"pages":{"type":"array","items":{"$ref":"#/components/schemas/WebsiteImportPageViewModel"},"description":"Optional explicit page list to import.","nullable":true}},"description":"Represents input for importing website content into a vector store."},"WebsiteImportPageViewModel":{"required":["url"],"type":"object","properties":{"url":{"type":"string","description":"Absolute page URL."},"lastModified":{"type":"string","description":"Last-modified timestamp reported by the source.","format":"date-time","nullable":true}},"description":"Represents a page entry selected for website import."}}},"paths":{"/v1/VectorStore/PreviewWebsiteImport/{vectorStoreId}":{"post":{"tags":["VectorStore"],"summary":"Previews website-import candidates for a vector store.","description":"Previews website-import candidates for a vector store.\n\nRequired roles: Admin, Moderator.","parameters":[{"name":"vectorStoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddWebsiteVectorStoreViewModel"}},"text/json":{"schema":{"$ref":"#/components/schemas/AddWebsiteVectorStoreViewModel"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/AddWebsiteVectorStoreViewModel"}}},"required":true},"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Imports website content into a vector store.

> Imports website content into a vector store.\
> \
> Required roles: Admin, Moderator.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AddWebsiteVectorStoreViewModel":{"required":["url"],"type":"object","properties":{"url":{"type":"string","description":"Root URL or sitemap URL to import."},"useSitemap":{"type":"boolean","description":"Indicates whether sitemap discovery should be used."},"autoSyncEnabled":{"type":"boolean","description":"Enables automatic synchronization for imported content.","nullable":true},"scrapeDelayEnabled":{"type":"boolean","description":"Enables delay between page-scrape requests."},"scrapeDelayMilliseconds":{"type":"integer","description":"Delay duration in milliseconds when scraping delay is enabled.","format":"int32","nullable":true},"pages":{"type":"array","items":{"$ref":"#/components/schemas/WebsiteImportPageViewModel"},"description":"Optional explicit page list to import.","nullable":true}},"description":"Represents input for importing website content into a vector store."},"WebsiteImportPageViewModel":{"required":["url"],"type":"object","properties":{"url":{"type":"string","description":"Absolute page URL."},"lastModified":{"type":"string","description":"Last-modified timestamp reported by the source.","format":"date-time","nullable":true}},"description":"Represents a page entry selected for website import."}}},"paths":{"/v1/VectorStore/AddWebsite/{vectorStoreId}":{"post":{"tags":["VectorStore"],"summary":"Imports website content into a vector store.","description":"Imports website content into a vector store.\n\nRequired roles: Admin, Moderator.","parameters":[{"name":"vectorStoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddWebsiteVectorStoreViewModel"}},"text/json":{"schema":{"$ref":"#/components/schemas/AddWebsiteVectorStoreViewModel"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/AddWebsiteVectorStoreViewModel"}}},"required":true},"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Previews integration-import content for a vector store.

> Previews integration-import content for a vector store.\
> \
> Required roles: Admin, Knowledge Base Contributor, Moderator.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AddIntegrationVectorStoreImportViewModel":{"required":["integrationId"],"type":"object","properties":{"integrationId":{"type":"string","description":"Identifier of the integration source.","format":"uuid"},"query":{"type":"string","description":"Optional source query used to filter imported content.","nullable":true},"autoSyncEnabled":{"type":"boolean","description":"Indicates whether automatic synchronization should be enabled."},"attributeMappings":{"type":"object","additionalProperties":{"type":"string"},"description":"Optional field mappings from source attributes to target schema.","nullable":true},"selectedExternalIds":{"type":"array","items":{"type":"string"},"description":"Optional explicit list of source-item identifiers to import.","nullable":true}},"description":"Represents input for importing knowledge-base content from an integration."}}},"paths":{"/v1/VectorStore/PreviewIntegrationImport/{vectorStoreId}":{"post":{"tags":["VectorStore"],"summary":"Previews integration-import content for a vector store.","description":"Previews integration-import content for a vector store.\n\nRequired roles: Admin, Knowledge Base Contributor, Moderator.","parameters":[{"name":"vectorStoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddIntegrationVectorStoreImportViewModel"}},"text/json":{"schema":{"$ref":"#/components/schemas/AddIntegrationVectorStoreImportViewModel"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/AddIntegrationVectorStoreImportViewModel"}}},"required":true},"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Imports integration content into a vector store.

> Imports integration content into a vector store.\
> \
> Required roles: Admin, Knowledge Base Contributor, Moderator.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"AddIntegrationVectorStoreImportViewModel":{"required":["integrationId"],"type":"object","properties":{"integrationId":{"type":"string","description":"Identifier of the integration source.","format":"uuid"},"query":{"type":"string","description":"Optional source query used to filter imported content.","nullable":true},"autoSyncEnabled":{"type":"boolean","description":"Indicates whether automatic synchronization should be enabled."},"attributeMappings":{"type":"object","additionalProperties":{"type":"string"},"description":"Optional field mappings from source attributes to target schema.","nullable":true},"selectedExternalIds":{"type":"array","items":{"type":"string"},"description":"Optional explicit list of source-item identifiers to import.","nullable":true}},"description":"Represents input for importing knowledge-base content from an integration."}}},"paths":{"/v1/VectorStore/ImportFromIntegration/{vectorStoreId}":{"post":{"tags":["VectorStore"],"summary":"Imports integration content into a vector store.","description":"Imports integration content into a vector store.\n\nRequired roles: Admin, Knowledge Base Contributor, Moderator.","parameters":[{"name":"vectorStoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddIntegrationVectorStoreImportViewModel"}},"text/json":{"schema":{"$ref":"#/components/schemas/AddIntegrationVectorStoreImportViewModel"}},"application/*+json":{"schema":{"$ref":"#/components/schemas/AddIntegrationVectorStoreImportViewModel"}}},"required":true},"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Triggers manual sync for selected dataset media.

> Triggers manual sync for selected dataset media.\
> \
> Required roles: Admin, Moderator.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/v1/VectorStore/ManualSync/{vectorStoreId}":{"post":{"tags":["VectorStore"],"summary":"Triggers manual sync for selected dataset media.","description":"Triggers manual sync for selected dataset media.\n\nRequired roles: Admin, Moderator.","parameters":[{"name":"vectorStoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string","format":"uuid"}}},"text/json":{"schema":{"type":"array","items":{"type":"string","format":"uuid"}}},"application/*+json":{"schema":{"type":"array","items":{"type":"string","format":"uuid"}}}},"required":true},"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Repairs a vector store by restoring missing external state.

> Repairs a vector store by restoring missing external state.\
> \
> Required roles: Admin, Moderator.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/v1/VectorStore/Repair/{vectorStoreId}":{"get":{"tags":["VectorStore"],"summary":"Repairs a vector store by restoring missing external state.","description":"Repairs a vector store by restoring missing external state.\n\nRequired roles: Admin, Moderator.","parameters":[{"name":"vectorStoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```

## Clears all files from a vector store.

> Clears all files from a vector store.\
> \
> Required roles: Admin, Moderator.

```json
{"openapi":"3.0.1","info":{"title":"WebApi | v1","version":"1.0.0"},"tags":[{"name":"VectorStore"}],"servers":[{"url":"https://api.safegpt.nl/"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"JWT bearer token. Example: 'Bearer {token}'.","scheme":"bearer","bearerFormat":"JWT"}}},"paths":{"/v1/VectorStore/ClearFiles/{vectorStoreId}":{"get":{"tags":["VectorStore"],"summary":"Clears all files from a vector store.","description":"Clears all files from a vector store.\n\nRequired roles: Admin, Moderator.","parameters":[{"name":"vectorStoreId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK"},"401":{"description":"Authentication is required."},"403":{"description":"The user is not authorized to access this endpoint."}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.safegpt.nl/api-nl/endpoints/vectorstore.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
