メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
experimentation
/
segments
List segments for the tenant.
curl --request GET \
  --url https://{tenantDomain}/api/v2/experimentation/segments \
  --header 'Authorization: Bearer <token>'
{
  "segments": [
    {
      "id": "<string>",
      "name": "<string>",
      "type": "self",
      "rules": [
        {
          "match": {
            "client_id": [
              "<string>"
            ],
            "connection": [
              "<string>"
            ],
            "connection_type": [
              "<string>"
            ],
            "organization_id": [
              "<string>"
            ],
            "domain": [
              "<string>"
            ],
            "device_type": [
              "<string>"
            ],
            "browser": [
              "<string>"
            ],
            "platform": [
              "<string>"
            ],
            "user_agent": [
              "<string>"
            ],
            "country": [
              "<string>"
            ],
            "region": [
              "<string>"
            ]
          },
          "not_match": {
            "client_id": [
              "<string>"
            ],
            "connection": [
              "<string>"
            ],
            "connection_type": [
              "<string>"
            ],
            "organization_id": [
              "<string>"
            ],
            "domain": [
              "<string>"
            ],
            "device_type": [
              "<string>"
            ],
            "browser": [
              "<string>"
            ],
            "platform": [
              "<string>"
            ],
            "user_agent": [
              "<string>"
            ],
            "country": [
              "<string>"
            ],
            "region": [
              "<string>"
            ]
          }
        }
      ],
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "description": "<string>"
    }
  ],
  "next": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://auth-test.auth0-mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

承認

Authorization
string
header
必須

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

クエリパラメータ

from
string

Optional Id from which to start selection.

take
integer

Number of segments to return per page. Defaults to 25, maximum 50.

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

Filter by type. Exact match.

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

レスポンス

Segments successfully retrieved.

segments
object[]
必須
next
string

Checkpoint token for the next page. Omitted when there are no further results.