/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.
Authentication: Bearer API key in the Authorization header
Path parameters
org_idstringrequiredYour organization id (uuid).
GET /api/whoamireturns it.providerenumrequiredopenaifor ChatGPT plans,anthropicfor Claude plans. Any other provider answers 404.
Responses
200Availability.
Response
availablebooleanrequiredcompletionenumrequiredpaste: paste the landing address or code into sign-in/complete;redirect: the web callback completes it.
401Missing, unknown or revoked API key.
Response
errorstringrequiredHuman-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.
Response
errorstringrequiredHuman-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).
Request
curl https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/provider-connections/openai/plans \
-H "Authorization: Bearer YOUR_API_KEY"Response
{
"available": true,
"completion": "paste"
}https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/provider-connections/openai/plans