Vector store
Configure whether a project uses Perchat's platform vector store or a bring-your-own (BYO) cluster for semantic indexing and search. Today the backend uses Qdrant; these endpoints are provider-agnostic. Settings are per project and affect indexer workers and the catalog service.
Console session only — authenticate with Authorization: Bearer <jwt> from login plus X-Workspace-Id and X-Project-Id. Requires workspace role permissions vector_store:read or vector_store:update. Project and workspace API keys cannot call these routes (use the dashboard or mint a session).
Platform default — set useCustom: falseto use Perchat's managed Qdrant for indexer jobs and content search. Custom URL and API key are kept on the project but not used until you switch back.
Custom vector store (BYO) — set useCustom: true with a valid https:// cluster URL. Saving or updating custom settings runs an automatic connection test and cluster sizing check against platform minimums (requiredClusterSpecs in settings). Failed checks return 422 validationError and settings are not saved.
apiKeyis required for*.cloud.qdrant.iohosts and when the cluster rejects unauthenticated requests.- The API key is stored encrypted; responses only include
apiKeySet: true. - Omit
apiKeyonPATCHto keep the stored key; send an empty string only when no key is stored yet. - Indexer jobs and catalog search use the live cluster for the project. Vectors are not copied when you switch clusters — re-run indexer jobs on the new cluster.
Project vector store settings
- useCustomboolean
- When
true, indexer and search useurlwith the stored API key. Whenfalse, the platform default cluster is used. - urlstring | null, optional
- HTTPS (or HTTP) Qdrant base URL without a trailing slash.
- apiKeySetboolean
- True when an API key is stored for the custom cluster.
- requiredClusterSpecsobject
- Minimum allocated cluster size (nodes, RAM, disk, vCPU) enforced when saving BYO settings. Values are set in platform admin.
Get vector store settings
/v1/project-vector-store/settingsRequires permission
vector_store:read
Update vector store settings
/v1/project-vector-store/settingsuseCustom: false) or configure BYO Qdrant (useCustom: true with url and usually apiKey). BYO updates run connection + sizing validation before save.Requires permission
vector_store:update
Parameters
- useCustomboolean, optional
- Platform default (false) or project custom cluster (true).
- urlstring, optional
- Required when enabling or changing custom Qdrant.
- apiKeystring, optional
- Database API key for Qdrant Cloud / secured clusters. Omit to keep stored key.
Test connection and sizing
/v1/project-vector-store/testclusterSpecs and clusterSpecsValidation without saving. Use before PATCH …/settings.Requires permission
vector_store:update
Parameters
- urlstring, optional
- Custom cluster URL to test. Omit to use the saved project URL.
- apiKeystring, optional
- API key to test. Omit to use the stored key when the project already has one.
Probe cluster sizing
/v1/project-vector-store/specsRequires permission
vector_store:read
Parameters
- urlstring, optional
- Cluster URL.
- apiKeystring, optional
- API key with metrics access.
Health check (active cluster)
/v1/project-vector-store/healthRequires permission
vector_store:read
Indexed inventory by connection
/v1/project-vector-store/inventorypreviewUrl compares a draft BYO URL before save.Requires permission
vector_store:read
Parameters
- previewUrlstring, optional
- Draft custom Qdrant URL to include as a preview row.