GET
/
api
/
v2
/
tasks
/
stats
Task statistics
curl --request GET \
  --url https://api.vida.dev/api/v2/tasks/stats
{
  "success": true,
  "total": 10,
  "byState": {
    "pending": 2,
    "running": 3,
    "finished": 5
  }
}

Response

Stats

success
boolean
Example:

true

total
number
Example:

10

byState
object