Skip to main content
GET
/
analytics
Get User Analytics
curl --request GET \
  --url https://api.example.com/analytics
{
  "total_workflows": {},
  "total_jobs": {},
  "total_joblogs": {},
  "total_job_execution_duration": {}
}

Response

total_workflows
uint32
Total number of workflows ever created by the user, including active, terminated, and deleted workflows
total_jobs
uint64
Total number of jobs ever created by the user’s workflows, including active, terminated, and deleted jobs
total_joblogs
uint64
Total number of job logs generated by the user’s workflows across all jobs
total_job_execution_duration
uint64
Sum of job execution durations for all jobs in seconds
The user ID is automatically extracted from the authentication context. Analytics include data from all workflows, including those that have been terminated or deleted.

Example Request

curl -X GET "https://api.chronoverse.com/analytics" \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Example Response

{
  "total_workflows": 42,
  "total_jobs": 1337,
  "total_joblogs": 45892,
  "total_job_execution_duration": 156789
}

Build docs developers (and LLMs) love