customer-insights

Operations related to customer-insights

Create Download

Create Customer Insights Presigned URLs

The rate limit for this endpoint is 1 requests per minute, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See Rate Limiting for more information.

Securitytoken
Request
Request Body schema: application/vnd.segment.v1alpha+json
required
collectionId
required
string (collectionId)

The collection's unique id.

workspaceId
required
string (workspaceId)

The Workspace id for the collection.

startTime
required
string (startTime)

The ISO8601 formatted timestamp corresponding to the beginning of the time range. Currently, there is a month of data retained.

Responses
200

OK

404

Resource not found

422

Validation failure

429

Too many requests

post/customer-insights/download
Request samples
application/vnd.segment.v1alpha+json
{
  • "collectionId": "2wmpXTGB69A8BwGJ4hD5XvQ03aD",
  • "workspaceId": "9y433Y71snvrWKfchyBbu9",
  • "startTime": "2006-01-02T15:04:05.000Z"
}
Response samples
application/vnd.segment.v1alpha+json
{}