curl --request GET \
--url https://dev.startree.ai/segments/{tableName}/select \
--header 'Authorization: <api-key>'
[
{}
]
Get the selected segments given the (inclusive) start and (exclusive) end timestamps in milliseconds. These timestamps will be compared against minmax values of the time column in each segment. If the table is a refresh use case, the value of start and end timestamp is voided, since there is no time column for refresh use case; instead, the whole qualified segments will be returned. If no timestamps are provided, all the qualified segments will be returned. For the segments that partially belong to the time range, the boolean flag ‘excludeOverlapping’ is introduced in order for user to determine whether to exclude this kind of segments in the response.
curl --request GET \
--url https://dev.startree.ai/segments/{tableName}/select \
--header 'Authorization: <api-key>'
[
{}
]
The format of the key is "Basic <token>" or "Bearer <token>"
Name of the table
OFFLINE|REALTIME
Start timestamp (inclusive) in milliseconds
End timestamp (exclusive) in milliseconds
Whether to exclude the segments overlapping with the timestamps, false by default
successful operation
The response is of type object[]
.