メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
experimentation
/
experiments
テナントの実験を一覧表示します。
curl --request GET \
  --url https://{tenantDomain}/api/v2/experimentation/experiments \
  --header 'Authorization: Bearer <token>'
{
  "experiments": [
    {
      "allocations": [
        {
          "is_control": true,
          "is_fallback": true,
          "priority": 123,
          "segment_id": "<string>",
          "variation_id": "<string>",
          "weight": 123
        }
      ],
      "assignment_config": {
        "subject": "device"
      },
      "authentication_flow": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "feature_flag_id": "<string>",
      "id": "<string>",
      "is_valid": true,
      "name": "<string>",
      "updated_at": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "ended_at": "2023-11-07T05:31:56Z",
      "started_at": "2023-11-07T05:31:56Z"
    }
  ],
  "next": "<string>"
}

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

クエリパラメータ

from
string

選択の開始位置となる任意の Id。

take
integer

1ページあたりに返される実験の数。デフォルトは25、最大は50です。

必須範囲: 1 <= x <= 50
status
enum<string>

status で絞り込みます。完全一致です。 status で絞り込みます。完全一致。

利用可能なオプション:
draft,
active,
paused,
completed,
archived
authentication_flow
string

認証フローで絞り込みます。完全一致です。

feature_flag_id
string

機能フラグ ID で絞り込みます。完全一致です。

レスポンス

実験を正常に取得しました。

experiments
object[]
必須
next
string

次のページの checkpoint トークン。以降の結果がない場合は省略されます。