Skip to main content
GET
/
analytics
/
{workflow_id}
Get Workflow Analytics
curl --request GET \
  --url https://api.example.com/analytics/{workflow_id}
{
  "workflow_id": "<string>",
  "total_job_execution_duration": {},
  "total_jobs": {},
  "total_joblogs": {}
}

Path Parameters

workflow_id
string
required
Unique identifier of the workflow to retrieve analytics for

Response

workflow_id
string
Unique identifier of the workflow
total_job_execution_duration
uint64
Total job execution duration in seconds for all jobs in this workflow
total_jobs
uint32
Total number of jobs ever created by this workflow, including active, terminated, and deleted jobs
total_joblogs
uint64
Total number of job logs generated by this workflow across all its jobs
The user ID is automatically extracted from the authentication context. Only workflows owned by the authenticated user can be accessed.

Example Request

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

Example Response

{
  "workflow_id": "wf_abc123",
  "total_job_execution_duration": 3456,
  "total_jobs": 127,
  "total_joblogs": 8943
}

Build docs developers (and LLMs) love