GET /experiments
Get a list of all the Experiments by Project or Campaign. Either the project_id or campaign_id query parameter is required.
Servers
- https://api.optimizely.com/v2
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
page |
Integer | No |
Optional pagination argument that specifies the page to return. If you have 140 objects and you choose to return 100 objects per page you will be able to access the last 40 objects on page 2. The default value is 1. Default value: 1 |
project_id |
Integer | No |
The Project ID of the Project you would like to list all Experiments for. You have to either use this argument or the campaign_id argument |
per_page |
Integer | No |
Optional pagination argument that specifies the maximum number of objects to return per request Default value: 25 |
campaign_id |
Integer | No |
The Campaign ID of the Campaign you would like to list all Experiments for. You have to either use this argument or the project_id argument |
include_classic |
Boolean | No |
Whether or not to include classic Experiments in the list of Experiments. If this parameter is not provided it will default to false Default value: false |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.