account
Read the usage of a plan
GET
/api/v1/usage
What a space holds of what its plan allows: flows, steps and storage.
key
Required scope: read
Query parameters
-
spacestring · optionalThe space to measure:
me(default) ororg:<id>.
Response
200
Usage
-
spacestringThe space measured, as asked.
-
planstringCode of the plan of that space.
-
metersarray of MeterOne meter per metric.
4 fields
-
metricstringWhat is counted.
-
usednumberHow much the space holds.
-
limitnumber or nullHow much the plan allows;
nullwhen unlimited. -
statusstringnear: close to the limit.full: at the limit, nothing more can be added.
-
Errors
-
401
No valid credential.
-
403
The credential lacks the required scope, or the account may not do this.
-
422
A value is missing or malformed.
-
429
Too many requests;
Retry-Aftergives the seconds to wait.