curl --request POST \
--url https://dev.startree.ai/upsert/estimateHeapUsage \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '"<string>"'
"<string>"
This API returns the estimated heap usage based on primary key column stats. This allows us to estimate table size before onboarding.
curl --request POST \
--url https://dev.startree.ai/upsert/estimateHeapUsage \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '"<string>"'
"<string>"
The format of the key is "Basic <token>" or "Bearer <token>"
cardinality
primaryKeySize
numPartitions
The body is of type string
.
successful operation
The response is of type string
.