GET /api/v1/orgs/{orgId}/projects

ロールの割り当てに基づいて、認証されたユーザーが表示できるプロジェクトを、 URLパスの組織に一覧表示します。

path パラメータ

  • orgId string 必須

    組織ID

応答

  • サポートされていないAPIバージョンまたは不正な API バージョン、選択した公開契約で利用できない操作、または受け入れができない表現(サポートされていないメディアタイプのパラメーター、または除外された SSE を含む)。既存の認証、認可、およびレート制限の失敗が優先されます。

    応答属性の非表示 応答属性の表示 オブジェクト
    • validRequestDetail オブジェクト

      標準エラースキーマによって定義される任意の検証の詳細。 APIネゴシエート エラーでは、このフィールドは出力されません。

      validRequestDetail 属性を非表示にする validRequestDetail 属性の表示 オブジェクト
      • フィールド array[オブジェクト]

        検証に失敗したフィールド。

        フィールド属性を非表示にする フィールド属性の表示 オブジェクト

        フィールドとその検証の失敗。

        • 説明 string 必須

          人間が判読できる検証の失敗。

        • フィールド string 必須

          無効なリクエストフィールドの名前またはパス。

    • 詳細 string 必須

      人間が判読できるエラーの詳細。

    • エラー integer 必須

      HTTP status code.

    • errorCode string 必須

      マシンが判読できるエラー コード。

    • パラメーター array[string]

      エラーに関連付けられたリクエスト パラメータ名。該当しない場合は省略します。

    • 理由 string 必須

      HTTPステータス理由フレーズ。

    応答属性の非表示 応答属性の表示 オブジェクト
    • validRequestDetail オブジェクト

      標準エラースキーマによって定義される任意の検証の詳細。 APIネゴシエート エラーでは、このフィールドは出力されません。

      validRequestDetail 属性を非表示にする validRequestDetail 属性の表示 オブジェクト
      • フィールド array[オブジェクト]

        検証に失敗したフィールド。

        フィールド属性を非表示にする フィールド属性の表示 オブジェクト

        フィールドとその検証の失敗。

        • 説明 string 必須

          人間が判読できる検証の失敗。

        • フィールド string 必須

          無効なリクエストフィールドの名前またはパス。

    • 詳細 string 必須

      人間が判読できるエラーの詳細。

    • エラー integer 必須

      HTTP status code.

    • errorCode string 必須

      マシンが判読できるエラー コード。

    • パラメーター array[string]

      エラーに関連付けられたリクエスト パラメータ名。該当しない場合は省略します。

    • 理由 string 必須

      HTTPステータス理由フレーズ。

  • 200

    OK

    応答属性の非表示 応答属性の表示 オブジェクト
    • atlas_reauth_required ブール値

      Atlas 付与が使用できず、かつゲートウェイが最後に反映されたプロジェクトを読み取り専用として返す場合は、この 200 応答に AtlasReauthRequired が設定されます。クライアントはこのフィールドからリカバリを開始する必要があります。プロジェクトリストは 401 PLATform_OAUTH_* を返しません。

    • プロジェクト array[オブジェクト]
      プロジェクト属性を非表示にする プロジェクト属性の表示 オブジェクト
      • allow_member_invites ブール値
      • atlas オブジェクト
        Atlas 属性の非表示 Atlas 属性の表示 オブジェクト
        • environment string 必須
        • id string 必須
        • organization_id string 必須
      • can_manage_deployments ブール値
      • created_at string
      • 説明 string
      • id string
      • name string
      • org_id string
      • 共有_ポリシー オブジェクト
        共有_ポリシー属性を非表示にする Shared_ policies 属性の表示 オブジェクト
        • allow_sources array[string]
        • 共有_モード array[string]
        • 共有可能な ブール値
      • ソース string

        値は atlas または agent_engine です。

      • Updated_at string
      • Workspace_count integer

        WorkspaceCount は、プロジェクト内の削除されていないワークスペースの数です。リスト応答には含まれ、単一プロジェクト GET では省略されます。

    • 合計 integer
    応答属性の非表示 応答属性の表示 オブジェクト
    • atlas_reauth_required ブール値

      Atlas 付与が使用できず、かつゲートウェイが最後に反映されたプロジェクトを読み取り専用として返す場合は、この 200 応答に AtlasReauthRequired が設定されます。クライアントはこのフィールドからリカバリを開始する必要があります。プロジェクトリストは 401 PLATform_OAUTH_* を返しません。

    • プロジェクト array[オブジェクト]
      プロジェクト属性を非表示にする プロジェクト属性の表示 オブジェクト
      • allow_member_invites ブール値
      • atlas オブジェクト
        Atlas 属性の非表示 Atlas 属性の表示 オブジェクト
        • environment string 必須
        • id string 必須
        • organization_id string 必須
      • can_manage_deployments ブール値
      • created_at string
      • 説明 string
      • id string
      • name string
      • org_id string
      • 共有_ポリシー オブジェクト
        共有_ポリシー属性を非表示にする Shared_ policies 属性の表示 オブジェクト
        • allow_sources array[string]
        • 共有_モード array[string]
        • 共有可能な ブール値
      • ソース string

        値は atlas または agent_engine です。

      • Updated_at string
      • Workspace_count integer

        WorkspaceCount は、プロジェクト内の削除されていないワークスペースの数です。リスト応答には含まれ、単一プロジェクト GET では省略されます。

    • 合計 integer
  • 無効なリクエスト

    応答属性の非表示 応答属性の表示 オブジェクト
    • コード string
    • エラー string
    • 成功 ブール値
    応答属性の非表示 応答属性の表示 オブジェクト
    • コード string
    • エラー string
    • 成功 ブール値
  • Forbidden

    応答属性の非表示 応答属性の表示 オブジェクト
    • コード string
    • エラー string
    • 成功 ブール値
    応答属性の非表示 応答属性の表示 オブジェクト
    • コード string
    • エラー string
    • 成功 ブール値
  • 内部サーバーエラー

    応答属性の非表示 応答属性の表示 オブジェクト
    • コード string
    • エラー string
    • 成功 ブール値
    応答属性の非表示 応答属性の表示 オブジェクト
    • コード string
    • エラー string
    • 成功 ブール値
GET /api/v1 /orgs/{orgId}/projects
curl \
 --request GET 'https://agentengine.mongodb.com/api/v1/orgs/{orgId}/projects' \
 --header "Authorization: $API_KEY"
応答の例(406)
{
  "detail": "This operation is not available in API version 2026-09-20-preview.",
  "error": 406,
  "errorCode": "OPERATION_NOT_IN_API_VERSION",
  "parameters": [
    "Accept"
  ],
  "reason": "Not Acceptable"
}
{
  "detail": "This operation supports text/event-stream, which the Accept header excludes. Remove unsupported media-type parameters or accept this type with a positive q value.",
  "error": 406,
  "errorCode": "UNACCEPTABLE_MEDIA_TYPE",
  "parameters": [
    "Accept"
  ],
  "reason": "Not Acceptable"
}
{
  "detail": "The requested API version is not supported. Supported versions: 2026-09-20-preview.",
  "error": 406,
  "errorCode": "UNSUPPORTED_API_VERSION",
  "parameters": [
    "Accept"
  ],
  "reason": "Not Acceptable"
}
応答の例(406)
{
  "detail": "This operation is not available in API version 2026-09-20-preview.",
  "error": 406,
  "errorCode": "OPERATION_NOT_IN_API_VERSION",
  "parameters": [
    "Accept"
  ],
  "reason": "Not Acceptable"
}
応答の例(200)
{
  "atlas_reauth_required": true,
  "projects": [
    {
      "allow_member_invites": true,
      "atlas": {
        "environment": "string",
        "id": "string",
        "organization_id": "string"
      },
      "can_manage_deployments": true,
      "created_at": "string",
      "description": "string",
      "id": "string",
      "name": "string",
      "org_id": "string",
      "sharing_policy": {
        "allowed_sources": [
          "string"
        ],
        "share_modes": [
          "string"
        ],
        "shareable": true
      },
      "source": "atlas",
      "updated_at": "string",
      "workspace_count": 42
    }
  ],
  "total": 42
}
応答の例(200)
{
  "atlas_reauth_required": true,
  "projects": [
    {
      "allow_member_invites": true,
      "atlas": {
        "environment": "string",
        "id": "string",
        "organization_id": "string"
      },
      "can_manage_deployments": true,
      "created_at": "string",
      "description": "string",
      "id": "string",
      "name": "string",
      "org_id": "string",
      "sharing_policy": {
        "allowed_sources": [
          "string"
        ],
        "share_modes": [
          "string"
        ],
        "shareable": true
      },
      "source": "atlas",
      "updated_at": "string",
      "workspace_count": 42
    }
  ],
  "total": 42
}
応答の例(400)
{
  "code": "string",
  "error": "string",
  "success": true
}
応答の例(400)
{
  "code": "string",
  "error": "string",
  "success": true
}
応答の例(403)
{
  "code": "string",
  "error": "string",
  "success": true
}
応答の例(403)
{
  "code": "string",
  "error": "string",
  "success": true
}
応答の例(500)
{
  "code": "string",
  "error": "string",
  "success": true
}
応答の例(500)
{
  "code": "string",
  "error": "string",
  "success": true
}