| Store | Purpose | Backends |
|---|---|---|
config_store | Provider configs, virtual keys, governance rules | SQLite, PostgreSQL |
logs_store | Request/response logs shown in UI | SQLite, PostgreSQL + optional S3/GCS offload |
vector_store | Semantic response caching | Weaviate, Redis, Valkey, Qdrant, Pinecone |
If you use PostgreSQL for any store, the target database must be UTF8 encoded. See PostgreSQL UTF8 Requirement.
config_store
When
config_store is disabled (or absent), all configuration is loaded from config.json at startup only — the Web UI is disabled and changes require a restart. See Two Configuration Modes.- SQLite
- PostgreSQL
- Disabled
SQLite (Default)
Simplest setup — no external database required. Bifrost stores configuration in a local SQLite file.| Field | Description |
|---|---|
config.path | Path to the SQLite file (relative to app-dir, or absolute) |
logs_store
- SQLite
- PostgreSQL
- Disabled
SQLite
Log Retention
Setretention_days to automatically purge old log entries. 0 disables retention-based cleanup.
Object Storage for Logs
Offload large request/response payloads from the database to S3 or GCS. The database retains only lightweight index records; payloads are fetched on demand.- AWS S3
- Google Cloud Storage
- MinIO (Self-Hosted)
access_key_id and secret_access_key:| Field | Description |
|---|---|
bucket | S3 bucket name (supports env. prefix) |
prefix | Key prefix for stored objects (default: "bifrost") |
compress | Enable gzip compression (default: false) |
region | AWS region |
access_key_id | AWS access key ID (omit for default credential chain) |
secret_access_key | AWS secret access key |
session_token | STS temporary credentials session token |
role_arn | IAM role ARN for STS AssumeRole |
endpoint | Custom endpoint for MinIO / Cloudflare R2 |
force_path_style | Use path-style URLs (required for MinIO, default: false) |
vector_store
A vector store is required for semantic caching. Choose from Weaviate, Redis/Valkey, Qdrant, or Pinecone.- Weaviate
- Redis / Valkey
- Qdrant
- Pinecone
| Field | Required | Description |
|---|---|---|
scheme | Yes | "http" or "https" |
host | Yes | Weaviate server host and port |
api_key | No | Weaviate API key (supports env. prefix) |
grpc_config.host | No | gRPC host for faster vector operations |
grpc_config.secured | No | Use TLS for gRPC connection |

