Skip to main content
GET
List quota usage for the authenticated user

Authorizations

Authorization
string
header
required

Personal Access Token (cnap_pat_...) or OAuth2 JWT. Create tokens at https://cnap.tech/account/tokens

Query Parameters

cluster_id
string

Cluster ID to include concurrency quotas

Response

Quota info for all metrics

metric
string
required

Metric: service/resource

Example:

"compute/machines"

type
enum<string>
required
Available options:
allocation,
rate,
concurrency
Example:

"allocation"

display_name
string
required
Example:

"Compute machines"

unit
string
required

count, cores, bytes, count/day

Example:

"count"

limit
number
required
Example:

1

usage
number
required
Example:

0

remaining
number
required
Example:

1

resets_at
string

For rate quotas: ISO 8601 reset time