curl --request GET \
--url https://api.testdino.com/api/public/v1/{projectId}/usage \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"planName": "<string>",
"orgLimit": 123,
"orgUsed": 123,
"orgRemaining": 123,
"projectAllocated": 123,
"projectUsed": 123,
"projectRemaining": 123,
"unallocatedPool": 123,
"periodStart": "2023-11-07T05:31:56Z",
"periodEnd": "2023-11-07T05:31:56Z",
"resetDate": "2023-11-07T05:31:56Z",
"orgName": "<string>",
"projects": [
{
"id": "<string>",
"name": "<string>"
}
],
"projectUsage": [
{
"id": "<string>",
"name": "<string>",
"allocated": 123,
"used": 123,
"remaining": 123
}
]
}
}Subscription plan and per-project usage for the current billing period.
Returns the org’s plan, test case limit/used/remaining, this project’s allocation, and a breakdown across all projects in the organization. Also includes billing period start/end and the next reset date. Without a subscription, free-tier defaults are returned.
curl --request GET \
--url https://api.testdino.com/api/public/v1/{projectId}/usage \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"planName": "<string>",
"orgLimit": 123,
"orgUsed": 123,
"orgRemaining": 123,
"projectAllocated": 123,
"projectUsed": 123,
"projectRemaining": 123,
"unallocatedPool": 123,
"periodStart": "2023-11-07T05:31:56Z",
"periodEnd": "2023-11-07T05:31:56Z",
"resetDate": "2023-11-07T05:31:56Z",
"orgName": "<string>",
"projects": [
{
"id": "<string>",
"name": "<string>"
}
],
"projectUsage": [
{
"id": "<string>",
"name": "<string>",
"allocated": 123,
"used": 123,
"remaining": 123
}
]
}
}Was this page helpful?