GET
/
segments
/
{tableName}
/
select
curl --request GET \
  --url https://dev.startree.ai/segments/{tableName}/select \
  --header 'Authorization: <api-key>'
[
  {}
]

Authorizations

Authorization
string
header
required

The format of the key is "Basic <token>" or "Bearer <token>"

Path Parameters

tableName
string
required

Name of the table

Query Parameters

type
string

OFFLINE|REALTIME

startTimestamp
string

Start timestamp (inclusive) in milliseconds

endTimestamp
string

End timestamp (exclusive) in milliseconds

excludeOverlapping
boolean
default:false

Whether to exclude the segments overlapping with the timestamps, false by default

Response

200 - application/json
successful operation

The response is of type object[].