Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

Export data from Optimizely to Amazon S3.

📘

Note

There are two IDs returned in the response. The export ID is the first id value in the response body (above the path value). This is the ID you should use for the Get Export Job Status API.

You can either request an unfiltered or filtered export:

  • Unfiltered – You must include the objects array in your request body. For example:
    {
      "format": "csv",
      "delimiter": "comma",
      "objects": [
        "products"
      ]
    }
    
  • Filtered – You must include the select object in your request body. For example:
    {
      "format": "csv",
      "delimiter": "comma",
      "select": {
        "object": "events",
        "fields": [
          "product.name"
        ],
        "filter": {
          "field": "product.name",
          "operator": "=",
          "value": "%shoe%"
        },
        "sorts": [
          {
            "field": "product.name",
            "order": "asc"
          }
        ]
      }
    }
    
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!