You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🔑 Multiple Authentication Methods - Database API keys, legacy keys, and JWT tokens
📝 Project Management - Create, update, and manage projects programmatically
🤖 Codespace Tasks - Create and manage AI-powered coding tasks
🎯 Model Management - Query and manage LLM models and providers
🔐 Security Keys - Securely manage provider API keys and GitHub tokens
📊 Usage Tracking - Monitor API usage and credits
🛡️ TypeScript Support - Full type safety and IntelliSense
Getting Started
Install the package: npm install @codeguide/core
Get your API key: Sign up at codeguide.ai to get your API key
Initialize the client: See CodeGuide Client for setup instructions
Authenticate: See Authentication for authentication options
Start building: Explore the service documentation to learn about available features
Common Use Cases
Creating a Project
constproject=awaitcodeguide.projects.createProject({title: 'My New Project',description: 'Project description here'})
Creating a Codespace Task
consttask=awaitcodeguide.codespace.createCodespaceTaskV2({project_id: project.id,task_description: 'Implement user authentication',execution_mode: 'implementation'})
Managing Security Keys
// Store a provider API keyawaitcodeguide.securityKeys.createProviderAPIKey({provider_key: 'openai',api_key: 'sk-your-openai-key'})// Store a GitHub tokenawaitcodeguide.securityKeys.createGitHubToken({github_token: 'ghp_your_github_token'})