跳到主要内容
版本:v0.4

Get summary cluster costs for costs.

Get summary cluster costs for costs.

Get summary cluster costs for costs.

Request Body required
    connectorID string
    endTime date-time
    startTime date-time
Responses

OK


Schema
    averageDailyCost double
    collectedTimeRange object
    firstTime date-time
    lastTime date-time
    currency integer
    idleCost double
    itemCost double
    managementCost double
    totalCost double
POST /v1/costs/_/summary-cluster-costs

Authorization

name: BasicAuthtype: httpdescription: Basic Authentication, in form of base64(<username>:<password>), the password must be a valid Seal API token.in: headerscheme: basic

Request

Security Scheme
Username
Password
Body required
{
"connectorID": "string",
"endTime": "2023-12-14T09:24:33.433Z",
"startTime": "2023-12-14T09:24:33.433Z"
}
curl / cURL
curl -L -X POST 'https://seal-io.github.io/v1/costs/_/summary-cluster-costs' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"connectorID": "string",
"endTime": "2023-12-14T09:24:33.433Z",
"startTime": "2023-12-14T09:24:33.433Z"
}'