{
  "opencollection": "1.0.0",
  "info": {
    "name": "Coveo Activity Activities Exports API - Version 15 API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://platform.cloud.coveo.com/oauth/authorize",
      "accessTokenUrl": "https://platform.cloud.coveo.com/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Exports API - Version 15",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get All the Export Schedules",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.cloud.coveo.com/v15/exports/schedules",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              }
            ]
          },
          "docs": "Get All the Export Schedules"
        },
        {
          "info": {
            "name": "Create an Export Schedule",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.cloud.coveo.com/v15/exports/schedules",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an Export Schedule"
        },
        {
          "info": {
            "name": "Get Information on an Export",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.cloud.coveo.com/v15/exports/:exportId",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              },
              {
                "name": "exportId",
                "value": "",
                "type": "path",
                "description": "The export's unique identifier."
              },
              {
                "name": "redirect",
                "value": "",
                "type": "query",
                "description": "Whether to return a HTTP redirect to the actual file.\n\n Note: for technical reasons, setting this parameter to true will yield an error when calling the endpoint through Swagger user interface."
              }
            ]
          },
          "docs": "Get Information on an Export"
        },
        {
          "info": {
            "name": "Delete an Export",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://platform.cloud.coveo.com/v15/exports/:exportId",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              },
              {
                "name": "exportId",
                "value": "",
                "type": "path",
                "description": "The export's unique identifier."
              }
            ]
          },
          "docs": "Delete an Export"
        },
        {
          "info": {
            "name": "Get Information on an Export Schedule",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.cloud.coveo.com/v15/exports/schedules/:exportScheduleId",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              },
              {
                "name": "exportScheduleId",
                "value": "",
                "type": "path",
                "description": "The export schedule's unique identifier."
              }
            ]
          },
          "docs": "Get Information on an Export Schedule"
        },
        {
          "info": {
            "name": "Update an Existing Export Schedule",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://platform.cloud.coveo.com/v15/exports/schedules/:exportScheduleId",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              },
              {
                "name": "exportScheduleId",
                "value": "",
                "type": "path",
                "description": "The export schedule's unique identifier."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an Existing Export Schedule"
        },
        {
          "info": {
            "name": "Delete an Export Schedule",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://platform.cloud.coveo.com/v15/exports/schedules/:exportScheduleId",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              },
              {
                "name": "exportScheduleId",
                "value": "",
                "type": "path",
                "description": "The export schedule's unique identifier."
              }
            ]
          },
          "docs": "Delete an Export Schedule"
        },
        {
          "info": {
            "name": "Estimate the Number of Rows in an Export",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.cloud.coveo.com/v15/exports/estimate",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "The beginning date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'"
              },
              {
                "name": "to",
                "value": "",
                "type": "query",
                "description": "The end date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'"
              },
              {
                "name": "tables",
                "value": "",
                "type": "query",
                "description": "The tables that will be exported. If not provided, all tables will be exported."
              },
              {
                "name": "f",
                "value": "",
                "type": "query",
                "description": "The filter that will be applied to the events common dimensions (shared by all types of events). Multiple filter parameters are joined with the AND operator."
              },
              {
                "name": "fs",
                "value": "",
                "type": "query",
                "description": "The filter that will be applied to the click and search events dimensions. Multiple filter parameters are joined with the AND operator."
              },
              {
                "name": "fc",
                "value": "",
                "type": "query",
                "description": "The filter that will be applied to the custom events dimensions. Multiple filter parameters are joined with the AND operator."
              }
            ]
          },
          "docs": "Estimate the Number of Rows in an Export"
        },
        {
          "info": {
            "name": "Estimate the Number of Rows in a Visit Export",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.cloud.coveo.com/v15/exports/visits/estimate",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "The beginning date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'"
              },
              {
                "name": "to",
                "value": "",
                "type": "query",
                "description": "The end date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'"
              },
              {
                "name": "f",
                "value": "",
                "type": "query",
                "description": "The filter that will be applied to the events dimensions. Multiple filter parameters are joined with the AND operator."
              },
              {
                "name": "hideEventFilters",
                "value": "",
                "type": "query",
                "description": "Each specified filter is inverted in order to hide events. Multiple filter parameters are joined with the AND operator."
              },
              {
                "name": "fn",
                "value": "",
                "type": "query",
                "description": "The filter that will be applied to dimensions to exclude events from the results. Multiple filter parameters are joined with the AND operator."
              }
            ]
          },
          "docs": "Estimate the Number of Rows in a Visit Export"
        },
        {
          "info": {
            "name": "Lists All Exports",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.cloud.coveo.com/v15/exports",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              }
            ]
          },
          "docs": "Lists All Exports"
        },
        {
          "info": {
            "name": "Generate an Export",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.cloud.coveo.com/v15/exports",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "The beginning date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'"
              },
              {
                "name": "to",
                "value": "",
                "type": "query",
                "description": "The end date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'"
              },
              {
                "name": "f",
                "value": "",
                "type": "query",
                "description": "The filter that will be applied to the events common dimensions (shared by all types of events). Multiple filter parameters are joined with the AND operator."
              },
              {
                "name": "fs",
                "value": "",
                "type": "query",
                "description": "The filter that will be applied to the click and search events dimensions. Multiple filter parameters are joined with the AND operator."
              },
              {
                "name": "fc",
                "value": "",
                "type": "query",
                "description": "The filter that will be applied to the custom events dimensions. Multiple filter parameters are joined with the AND operator."
              },
              {
                "name": "filename",
                "value": "",
                "type": "query",
                "description": "A file name for the export. Can only contain US-ASCII characters. If none is supplied it will be set to the export's id."
              },
              {
                "name": "d",
                "value": "",
                "type": "query",
                "description": "Export's description."
              },
              {
                "name": "dimensions",
                "value": "",
                "type": "query",
                "description": "The dimensions that will be exported. If not provided, all dimensions will be exported."
              },
              {
                "name": "tables",
                "value": "",
                "type": "query",
                "description": "The tables that will be exported. If not provided, all tables will be exported."
              },
              {
                "name": "format",
                "value": "",
                "type": "query",
                "description": "The format of the generated CSV files."
              },
              {
                "name": "useDisplayNames",
                "value": "",
                "type": "query",
                "description": "Whether to use the display names in the export's header. If false, the api names will be used."
              }
            ]
          },
          "docs": "Generate an Export"
        },
        {
          "info": {
            "name": "Generate a Visit Export",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.cloud.coveo.com/v15/exports/visits",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "The beginning date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'"
              },
              {
                "name": "to",
                "value": "",
                "type": "query",
                "description": "The end date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'"
              },
              {
                "name": "f",
                "value": "",
                "type": "query",
                "description": "The filter that will be applied to the events dimensions. Multiple filter parameters are joined with the AND operator."
              },
              {
                "name": "hideEventFilters",
                "value": "",
                "type": "query",
                "description": "Each specified filter is inverted in order to hide events. Multiple filter parameters are joined with the AND operator."
              },
              {
                "name": "fn",
                "value": "",
                "type": "query",
                "description": "The filter that will be applied to dimensions to exclude events from the results. Multiple filter parameters are joined with the AND operator."
              },
              {
                "name": "filename",
                "value": "",
                "type": "query",
                "description": "A file name for the export. Can only contain US-ASCII characters. If none is supplied it will be set to the export's id."
              },
              {
                "name": "d",
                "value": "",
                "type": "query",
                "description": "Export's description."
              },
              {
                "name": "dimensions",
                "value": "",
                "type": "query",
                "description": "The dimensions that will be exported. If not provided, all dimensions will be exported."
              },
              {
                "name": "format",
                "value": "",
                "type": "query",
                "description": "The format of the generated CSV files."
              },
              {
                "name": "ordered",
                "value": "",
                "type": "query",
                "description": "Whether to order the rows by datetime in the export. If the number of rows exported is to great, this parameter will be ignored and data will be unsorted."
              },
              {
                "name": "useDisplayNames",
                "value": "",
                "type": "query",
                "description": "Whether to use the display names in the export's header. If false, the api names will be used."
              }
            ]
          },
          "docs": "Generate a Visit Export"
        },
        {
          "info": {
            "name": "Generate a Visit Export (with Parameters as Request Body)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.cloud.coveo.com/v15/exports/visits/create",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Generate a Visit Export (with Parameters as Request Body)"
        },
        {
          "info": {
            "name": "Generate an Export (with Parameters as Request Body)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.cloud.coveo.com/v15/exports/create",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Generate an Export (with Parameters as Request Body)"
        },
        {
          "info": {
            "name": "Get the Download Link of an Export",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.cloud.coveo.com/v15/exports/:exportId/downloadlink",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              },
              {
                "name": "exportId",
                "value": "",
                "type": "path",
                "description": "The export's unique identifier."
              }
            ]
          },
          "docs": "Get the Download Link of an Export"
        },
        {
          "info": {
            "name": "Get the Maximum Allowed Number of Rows an Export Can Have",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.cloud.coveo.com/v15/exports/rowLimit",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              }
            ]
          },
          "docs": "Get the Maximum Allowed Number of Rows an Export Can Have"
        },
        {
          "info": {
            "name": "Get Exports Generated by the Specified Schedule",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.cloud.coveo.com/v15/exports/schedules/:exportScheduleId/exports",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              },
              {
                "name": "exportScheduleId",
                "value": "",
                "type": "path",
                "description": "The export schedule's unique identifier."
              }
            ]
          },
          "docs": "Get Exports Generated by the Specified Schedule"
        },
        {
          "info": {
            "name": "Health Check for the Exports Service",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.cloud.coveo.com/v15/exports/monitoring/health"
          },
          "docs": "Health Check for the Exports Service"
        },
        {
          "info": {
            "name": "Get the Exports Service Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.cloud.coveo.com/v15/exports/status"
          },
          "docs": "Get the Exports Service Status"
        }
      ]
    }
  ],
  "bundled": true
}