Get Plan
Returns the current subscription plan for the authenticated user, including tier details and feature limits.
Getting Started
What is v0?Agentic FeaturesVercel IntegrationQuickstartFAQsPrompt
Text PromptingScreenshots and FilesFigmaIterate
Code editingDesign modeDesign systemsImages and videosVersionsIntegrate
AI modelsDatabasesExternal APIsGitHubMCP IntegrationsShip
DeploymentsCustom domainSharingTemplatesManage
AccountCommunityEnterpriseInstructionsProjectsPricingTeamsSecurityEmbed
ClineCursorOpenAI CodexZedGuides
Full-stack appsPrototypingPRD designReturns the current subscription plan for the authenticated user, including tier details and feature limits.
import { v0 } from 'v0-sdk'
const result = await v0.user.getPlan()
console.log(result)