Retrieving Experiment Configuration Data Programmatically
Export Convert project, experiment, and variation configurations via REST API in JSON format
THIS ARTICLE WILL HELP YOU:
Download a project's configuration as JSON
To read a project's experiences, variations and settings from your own code, request the project configuration from Convert's Serving API. It returns JSON and needs no API key:
https://cdn-4.convertexperiments.com/api/v1/config/ACCOUNT_ID/PROJECT_ID
Replace ACCOUNT_ID and PROJECT_ID with your account ID and project ID. They are the two numbers before .js in your Convert tracking code. To get only one environment's experiences, add ?environment= with the environment key, for example ?environment=production.

The response includes:
- the project's settings and its Global Project Javascript
- the project's goals, locations and audiences
- the experiences the tracking script can serve (Active, Scheduled and Completed), each with its variations: ID, name, traffic allocation, status and changes
When data anonymization is on, names are replaced with IDs. The Default Get Project Config reference in the developer docs lists every field.
A trimmed example of the response:
{
"account_id": "10000001",
"project": {
"id": "10000002",
"name": "My Project",
"type": "web",
"global_javascript": "console.log('Global Project Javascript');",
...
},
"goals": [ ... ],
"locations": [ ... ],
"audiences": [ ... ],
"experiences": [
{
"id": "10000100",
"name": "Homepage headline test",
"key": "homepage-headline-test",
"status": "active",
"variations": [
{ "id": "10000101", "name": "Original", "traffic_allocation": 5000, "status": "running", ... },
{ "id": "10000102", "name": "Variation 1", "traffic_allocation": 5000, "status": "running", ... }
],
...
}
],
...
}
📒Note: Older guides used https://cdn-3.convertexperiments.com/JSON/ACCOUNT_ID-PROJECT_ID.json. That address isn't part of the documented API, so use the endpoint above instead. It has the same experiences and variations in a different format: experiences are a list instead of an object keyed by ID, and each experience's variations list replaces vars_sort.