Get current plan

Returns the subscription and plan associated with the API key owner. Use this to programmatically check job limits and other plan-level constraints before creating resources.

curl https://velora-api.psalinks.com/api/v1/plan \
  -H "Authorization: Bearer YOUR_API_KEY"
200 Response — active subscription
{
  "subscription": {
    "id": "sub_abc123",
    "plan_id": "plan_pro",
    "status": "active",
    "metadata": null,
    "created_at": "2026-01-15T10:00:00.000Z"
  },
  "plan": {
    "id": "plan_pro",
    "slug": "plan_pro",
    "name": "Pro",
    "limits": {
      "max_jobs": 100,
      "max_api_keys": 20
    }
  }
}
200 Response — no subscription (free tier fallback)
{
  "subscription": null,
  "plan": {
    "id": "plan_free",
    "slug": "plan_free",
    "name": "Free",
    "limits": {
      "max_jobs": 5,
      "max_api_keys": 3
    }
  }
}
StatuserrorTypical cause
401api_key_missing | invalid_api_keyMissing or invalid bearer key
500db_errorTemporary database issue
No specific scope is required — any valid API key can query its own plan.

© 2026 Velora · API Documentation