/api/orgs/{org_id}/provider-connections/{provider}/plansCheck plan account availability
Whether ChatGPT (openai) or Claude (anthropic) plan accounts can be added on this deployment, and how the browser sign-in completes. Claude plans need the Experiential OAuth app configured; when it is not, available is false. Any member may ask; no Pro needed.
認証: AuthorizationヘッダーにBearer形式のAPIキー
パスパラメータ
org_idstring必須Your organization id (uuid).
GET /api/whoamireturns it.providerenum必須openaifor ChatGPT plans,anthropicfor Claude plans. Any other provider answers 404.
レスポンス
200Availability.
レスポンス
availableboolean必須completionenum必須paste: paste the landing address or code into sign-in/complete;redirect: the web callback completes it.
401Missing, unknown or revoked API key.
レスポンス
errorstring必須Human-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
404The resource does not exist or belongs to another organization.
レスポンス
errorstring必須Human-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
リクエスト
curl https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/provider-connections/openai/plans \
-H "Authorization: Bearer YOUR_API_KEY"レスポンス
{
"available": true,
"completion": "paste"
}https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/provider-connections/openai/plans