Docs
Usage

Get detailed usage

GET
/v1/usage/detailed

Authorization

BearerAuth
AuthorizationBearer <token>

API key (csk_live_…)

In: header

Response Body

application/json

application/json

curl -X GET "https://api.cospec.io/v1/usage/detailed"
{
  "organization": {
    "creditsUsd": 0,
    "usedUsd": 0,
    "remainingUsd": 0
  },
  "currentMonth": {
    "sandboxSeconds": 0,
    "sandboxCostUsd": 0,
    "runsCount": 0
  }
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "requestId": "string"
}