Skip to main content

Snowflake Documentation

GET /chargeback/cb/appt/queue

Gets chargeback reports by the queue.

Request
GET http://<unravel-host>:3000/api/v1/chargeback/cb/appt/Queue?clusterUid={clusterUid}&lte={end-date}&gte={start-date}
Path parameters

None.

Query parameters

Required parameters are highlighted.

Name

Type

Description

clusterUid

string

Cluster unique ID.

lte

string

End date. Format: yyyy-mm-ddThh:mm:ss.SSS+offset value or Unix epoch value.

gte

string

Start date. Format: yyyy-mm-ddThh:mm:ss.SSS+offset value or Unix epoch value.

Examples

Request:

curl -X GET -H "Authorization: JWT <token>" -H "Accept: application/json" http://my_server.unraveldata.com:3000/api/v1/search/cb/appt/user?clusterUid=3c599cf8-aa69-11ec-9173-1e0036001415&lte=2022-03-30T11:33:26%2B05:30&gte=2022-02-28T11:33:26%2B05:30

Response body:

{"cb":[{"count":0,"v1":"spark","cb":[{"ms":764802,"io":0,"count":7,"v2":"DataAnalyst","vs":563},{"ms":2067650,"io":0,"count":8,"v2":"default","vs":1342},{"ms":692758,"io":0,"count":6,"v2":"DataForecast","vs":450},{"ms":317953,"io":0,"count":5,"v2":"DataScience","vs":204},{"ms":1135457,"io":0,"count":5,"v2":"Payroll","vs":796},{"ms":3591234,"io":0,"count":5,"v2":"Sales","vs":2331},{"ms":626366,"io":0,"count":5,"v2":"ThirdPartyData","vs":464},{"ms":522253,"io":0,"count":4,"v2":"Marketing","vs":394},{"ms":98690,"io":0,"count":3,"v2":"DataSecurity","vs":142},{"ms":550873,"io":0,"count":1,"v2":"Finance","vs":357},{"ms":45569,"io":0,"count":1,"v2":"user5","vs":29},{"ms":556064,"io":0,"count":1,"v2":"NULL","vs":361}]},{"count":0,"v1":"mr","cb":[{"ms":0,"io":0,"count":9,"v2":"NULL","vs":0}]}]}