GET/api/orgs/{org_id}/provider-connections/{provider}/plans

Check 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/whoami returns it.

  • providerenum必須

    openai for ChatGPT plans, anthropic for Claude plans. Any other provider answers 404.

    "openai""anthropic"

レスポンス

  • 200

    Availability.

    レスポンス
    • availableboolean必須
    • completionenum必須

      paste: paste the landing address or code into sign-in/complete; redirect: the web callback completes it.

      "paste""redirect"
  • 401

    Missing, unknown or revoked API key.

    レスポンス
    • errorstring必須

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 404

    The resource does not exist or belongs to another organization.

    レスポンス
    • errorstring必須

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-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