Organize your AI projects with workspaces. Separate environments for development, staging, and production with isolated API keys and usage tracking.
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}")
Create dev, staging, and production workspaces to keep environments isolated with separate API keys and limits.
Agencies can create separate workspaces per client for isolated billing, usage tracking, and access control.
Run experiments in isolated workspaces without affecting production traffic or metrics.
Track costs by department or project with workspace-level usage reporting and budget controls.
Create workspaces to keep your AI projects organized and secure.