メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
experimentation
/
experiments
/
{id}
ID で実験を取得します。
curl --request GET \
  --url https://{tenantDomain}/api/v2/experimentation/experiments/{id} \
  --header 'Authorization: Bearer <token>'
{
  "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"
}

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

取得する実験の ID。

レスポンス

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

allocation_strategy
enum<string>
必須
利用可能なオプション:
percentage,
segment
allocations
object[]
必須
assignment_config
object
必須
authentication_flow
string
必須
created_at
string<date-time>
必須
feature_flag_id
string
必須
id
string
必須
Pattern: ^exp_[A-HJ-NP-Za-km-z1-9]+$
is_valid
boolean
必須
name
string
必須
status
enum<string>
必須

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

利用可能なオプション:
draft,
active,
paused,
completed,
archived
updated_at
string<date-time>
必須
description
string
ended_at
string<date-time>
started_at
string<date-time>