๐Ÿ“‚ Workspaces

Organize your AI projects with workspaces. Separate environments for development, staging, and production with isolated API keys and usage tracking.

Why Use Workspaces?

๐Ÿ”’
Isolated API Keys
Each workspace has its own API keys, preventing cross-environment access
๐Ÿ“Š
Separate Usage
Track usage and costs per workspace for accurate billing allocation
๐Ÿ‘ฅ
Team Access
Granular permissions per workspace for team collaboration
๐ŸŽ›๏ธ
Rate Limits
Configure rate limits independently for each workspace
๐Ÿท๏ธ
Custom Labels
Organize workspaces with custom labels and descriptions
๐Ÿ“ˆ
Analytics
Per-workspace dashboards and usage analytics

Workspace Dashboard

Production Workspace
Active
1.2M
Requests Today
45.6M
Tokens Used
$234.50
Estimated Cost

Organization Hierarchy

๐Ÿข Organization
๐Ÿ“‚ Production Workspace
๐Ÿ”‘ API Key: mythic-prod-...
๐Ÿ“‚ Staging Workspace
๐Ÿ”‘ API Key: mythic-stg-...
๐Ÿ“‚ Development Workspace
๐Ÿ”‘ API Key: mythic-dev-...

Create a Workspace

Python
from mythicdot import MythicDot client = MythicDot(api_key="mythic-admin-...") # Create a new workspace workspace = client.workspaces.create( name="Production", description="Live production environment", settings={ "rate_limit_rpm": 5000, "rate_limit_tpm": 800000 } ) print(f"Created workspace: {workspace.id}") # Create an API key for this workspace key = client.workspaces.api_keys.create( workspace_id=workspace.id, name="Production API Key" ) print(f"API Key: {key.key}") # Save this securely! # List all workspaces workspaces = client.workspaces.list() for ws in workspaces.data: print(f"{ws.name}: {ws.id}")

Common Use Cases

๐Ÿš€ Environment Separation

Create dev, staging, and production workspaces to keep environments isolated with separate API keys and limits.

๐Ÿ’ผ Client Projects

Agencies can create separate workspaces per client for isolated billing, usage tracking, and access control.

๐Ÿงช A/B Testing

Run experiments in isolated workspaces without affecting production traffic or metrics.

๐Ÿ“Š Cost Centers

Track costs by department or project with workspace-level usage reporting and budget controls.

Organize Your Projects

Create workspaces to keep your AI projects organized and secure.

Get Started โ†’ Admin API โ†’