メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
experimentation
/
segments
テナントのセグメントを一覧表示します。
curl --request GET \
  --url https://{tenantDomain}/api/v2/experimentation/segments \
  --header 'Authorization: Bearer <token>'
{
  "segments": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "name": "<string>",
      "rules": [
        {
          "match": {
            "browser": [
              "<string>"
            ],
            "client_id": [
              "<string>"
            ],
            "connection": [
              "<string>"
            ],
            "connection_type": [
              "<string>"
            ],
            "country": [
              "<string>"
            ],
            "device_type": [
              "<string>"
            ],
            "domain": [
              "<string>"
            ],
            "organization_id": [
              "<string>"
            ],
            "platform": [
              "<string>"
            ],
            "region": [
              "<string>"
            ],
            "user_agent": [
              "<string>"
            ]
          },
          "not_match": {
            "browser": [
              "<string>"
            ],
            "client_id": [
              "<string>"
            ],
            "connection": [
              "<string>"
            ],
            "connection_type": [
              "<string>"
            ],
            "country": [
              "<string>"
            ],
            "device_type": [
              "<string>"
            ],
            "domain": [
              "<string>"
            ],
            "organization_id": [
              "<string>"
            ],
            "platform": [
              "<string>"
            ],
            "region": [
              "<string>"
            ],
            "user_agent": [
              "<string>"
            ]
          }
        }
      ],
      "updated_at": "2023-11-07T05:31:56Z",
      "description": "<string>"
    }
  ],
  "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
type
enum<string>

タイプで絞り込みます。完全一致です。 typeでフィルタリングします。完全一致です。

利用可能なオプション:
auth0,
self

レスポンス

セグメントが正常に取得されました。

segments
object[]
必須
next
string

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