Workspace Configuration
Copy page
Learn how to configure your workspace
Overview
The inkeep.config.ts file at the workspace root defines settings for all projects in this workspace. See Project Management for where this file should be placed.
Prop
Type
Tenant identifier
Type
string
Management API configuration
Type
ApiConfig
Default
http://localhost:3002
Runtime API configuration
Type
ApiConfig
Default
http://localhost:3002
Management UI URL
Type
string | undefined
Default
http://localhost:3000
Output directory for generated files
Type
string | undefined
Prop
Type
API endpoint URL
Type
string
API key
Type
string | undefined
Configuration hierarchy
One can override the settings in inkeep.config.ts by setting the following settings in this order (highest to lowest priority):
1. CLI Flags
Command-line flags override all other settings:
2. Environment Variables
Environment variables override config file values:
Supported Environment Variables:
| Variable | Config Equivalent | Description |
|---|---|---|
INKEEP_TENANT_ID | tenantId | Tenant identifier |
INKEEP_AGENTS_MANAGE_API_URL | agentsManageApiUrl | Management API URL |
INKEEP_AGENTS_RUN_API_URL | agentsRunApiUrl | Runtime API URL |
3. Config File Values
Values explicitly set in your inkeep.config.ts:
4. Built-in Defaults
Default values used when not specified elsewhere:
Working with multiple configurations
Dynamic configuration
You can use environment-based logic in your workspace config:
Multiple configuration files
For workspaces requiring different configurations: