Amplitude · Example Payload

Amplitude Createexperiment Example

A/B TestingAnalyticsExperimentationFeature FlagsProduct AnalyticsUser Behavior

Amplitude Createexperiment Example is an example object payload from Amplitude, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "createExperiment",
  "method": "POST",
  "path": "/api/1/experiments",
  "summary": "Amplitude Create an Experiment",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "createExperiment200Example",
      "example": {
        "id": "500123",
        "projectId": "500123",
        "key": "example_value",
        "name": "Example Name",
        "description": "Example description text",
        "enabled": true,
        "evaluationMode": "local",
        "bucketingKey": "example_value",
        "bucketingSalt": "example_value",
        "variants": [
          "example_value"
        ],
        "deployments": [
          "example_value"
        ],
        "segments": [
          "example_value"
        ],
        "state": "draft",
        "rolledOutVariant": "example_value",
        "startDate": "2025-03-15T14:30:00Z",
        "endDate": "2025-03-15T14:30:00Z"
      }
    }
  ]
}