curl -X GET "https://api.devkit4ai.com/api/v1/projects/stats" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
curl -X GET "https://api.devkit4ai.com/api/v1/projects/stats?is_active=true" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
"projects": {
"total": 5,
"active": 4
},
"users": {
"total": 150,
"active": 120
},
"api_keys": {
"total": 10,
"active": 8
}
}
Project Management
Get Global Stats
Get global statistics for all developer’s projects with optional filtering
GET
/
api
/
v1
/
projects
/
stats
curl -X GET "https://api.devkit4ai.com/api/v1/projects/stats" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
curl -X GET "https://api.devkit4ai.com/api/v1/projects/stats?is_active=true" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
"projects": {
"total": 5,
"active": 4
},
"users": {
"total": 150,
"active": 120
},
"api_keys": {
"total": 10,
"active": 8
}
}
Retrieve global statistics across all projects belonging to the authenticated developer. This endpoint provides aggregate counts for projects, users, and API keys.
Headers
string
required
Bearer token for authentication
Query Parameters
string
Optional search term to filter statistics
boolean
Filter by active status
string
Filter statistics for a specific project (UUID format)
Response
object
required
object
required
object
required
curl -X GET "https://api.devkit4ai.com/api/v1/projects/stats" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
curl -X GET "https://api.devkit4ai.com/api/v1/projects/stats?is_active=true" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
"projects": {
"total": 5,
"active": 4
},
"users": {
"total": 150,
"active": 120
},
"api_keys": {
"total": 10,
"active": 8
}
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Response
Successful Response

