Skip to main content

Snowflake Documentation

GET /chargeback/cb/appt

Gets chargeback reports by application type. Gives the count of all applications in all queues for all users across all clusters.

Request
GET http://<unravel-host>:3000/api/v1/chargeback/cb/appt?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 "Content-Type:application/json" -H "Accept: application/json" http://my_server.unraveldata.com:3000/api/v1/search/cb/appt?clusterUid=3c599cf8-aa69-11ec-9173-1e0036001415&lte=2022-03-30T11:43:07%2B05:30&gte=2022-02-28T11:43:07%2B05:30

Response body:

{"cb":[{"ms":10969669,"io":0,"count":51,"v1":"spark","vs":7433},{"ms":0,"io":0,"count":9,"v1":"mr","vs":0}]}