The results of both ad-hoc queries and saved report queries can be exported to a S3 bucket in CSV format. The Kissmetrics Query API requires S3 bucket details and the ID of the query to export (obtained from running an ad-hoc report or running a saved report).

The S3 bucket must be writable or else the export will fail. See the documentation for instructions on how to give write access to Kissmetrics.

The response for this endpoint provides an export ID, which can be used to check the status of the export (unstarted/started/completed/error/cancelled).

If an error occurs and an email is provided, an error notification will be sent to the specified address.

Click Try It! to start a request and see the response here!