curl -X GET "https://api.devkit4ai.com/api/v1/projects/123e4567-e89b-12d3-a456-426614174000/stats" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
curl -X GET "https://api.devkit4ai.com/api/v1/projects/123e4567-e89b-12d3-a456-426614174000/stats?is_active=true" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
"users": {
"total": 45,
"active": 38
},
"api_keys": {
"total": 3,
"active": 2
}
}
Project Management
Get Project Stats
Get statistics for a specific project with optional filtering
GET
/
api
/
v1
/
projects
/
{project_id}
/
stats
curl -X GET "https://api.devkit4ai.com/api/v1/projects/123e4567-e89b-12d3-a456-426614174000/stats" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
curl -X GET "https://api.devkit4ai.com/api/v1/projects/123e4567-e89b-12d3-a456-426614174000/stats?is_active=true" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
"users": {
"total": 45,
"active": 38
},
"api_keys": {
"total": 3,
"active": 2
}
}
Retrieve statistics for a specific project. This endpoint provides counts for users and API keys within the specified project.
Headers
string
required
Bearer token for authentication
Path Parameters
string
required
Project unique identifier (UUID format)
Query Parameters
string
Optional search term to filter statistics
boolean
Filter by active status
Response
object
required
object
required
curl -X GET "https://api.devkit4ai.com/api/v1/projects/123e4567-e89b-12d3-a456-426614174000/stats" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
curl -X GET "https://api.devkit4ai.com/api/v1/projects/123e4567-e89b-12d3-a456-426614174000/stats?is_active=true" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
"users": {
"total": 45,
"active": 38
},
"api_keys": {
"total": 3,
"active": 2
}
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.

