Create Vector Stores
Vector Stores are AI-powered search indexes that organize your files for semantic search. Choose the right configuration for your use case, from temporary development environments to public knowledge bases.
Basic Creation
Create a new Vector Store with default settings:
When you create a Vector Store, you get a Vector Store object with a unique ID (UUID). You can use either the ID or the name you provide as Vector Store identifiers in all operations.
For complete details on the Vector Store object structure, see Data Models.
Configuration Options
Name
Names and IDs are interchangeable identifiers for all operations.
Names must be unique within your organization and can be updated at any time.
Expiration Policies
Set automatic cleanup policies to manage Vector Store lifecycle based on activity:
The last_active_at
anchor resets the expiration timer whenever you add files, delete files, or perform searches. Vector Stores never expire unless explicitly configured.
Public Access
Control read access to your Vector Store:
Private (default): Only your organization can access. You pay all costs.
Public: Anyone with an API key can search. They pay for their own searches.
Configuration Guide
Use Case | Name Pattern | Expiration | Public | Purpose |
---|---|---|---|---|
Development | dev-{feature} | 7 days | No | Temporary testing |
Production Docs | docs-v{version} | Never | Yes | Public documentation |
Customer Data | customer-{id} | Never | No | Private customer content |
Demo/POC | demo-{client} | 30 days | No | Time-limited demos |
Combined Configuration
Use multiple configuration options together for specific use cases:
Last updated: September 2, 2025