Skip to main content
GET
/
company
/
{id}
/
paas-usage
Get usage
curl --request GET \
  --url https://api.sevalla.com/v2/company/{id}/paas-usage \
  --header 'Authorization: Bearer <token>'
{
  "company": {
    "paas_usage": [
      {
        "id": "usage_12345",
        "date": 1738195200000,
        "category": "appRuntimeCosts",
        "id_resource": "fb5e5168-4281-4bec-94c5-0d1584e9e657",
        "usage": 24.5,
        "cost": 12.75
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Pass your API key as a Bearer token in the Authorization header.

Path Parameters

id
string<uuid>
required

Company identifier

Example:

"fb5e5168-4281-4bec-94c5-0d1584e9e657"

Query Parameters

period_offset
integer
default:0

Period offset for usage data. 0 is the current period, -1 is the previous period, and so on.

Required range: -5 <= x <= 0
Example:

0

Response

Default Response

company
object
required