curl --request GET \
--url https://dev.startree.ai/segments/{tableName} \
--header 'Authorization: <api-key>'
[
{}
]
List all segments
curl --request GET \
--url https://dev.startree.ai/segments/{tableName} \
--header 'Authorization: <api-key>'
[
{}
]
The format of the key is "Basic <token>" or "Bearer <token>"
Name of the table
OFFLINE|REALTIME
Whether to exclude replaced segments in the response, which have been replaced specified in the segment lineage entries and cannot be queried from the table
Start timestamp (inclusive)
End timestamp (exclusive)
Whether to exclude the segments overlapping with the timestamps, false by default
successful operation
The response is of type object[]
.