Templates, Search, and Metrics
Work with templates, search, metrics, statistics, tags, and onboarding data.
| Method | Endpoint | Description |
|---|---|---|
GET | /v1/metrics/failure-rate | Get overall failure rate statistics for a time period. Maximum time range is 365 days. |
GET | /v1/metrics/recent-activity | Get recent workflow run activity |
GET | /v1/metrics/runs-timeseries | Get time-series data for workflow runs (total, success, failure) |
GET | /v1/metrics/summary | Get aggregated metrics (runs time-series, failure rate, top errors, recent activity) in a single request. |
GET | /v1/metrics/top-errors | Get most common errors with counts. Maximum time range is 365 days. |
GET | /v1/onboarding/questions | Get active onboarding questions for the specified scope |
POST | /v1/onboarding/responses | Submit onboarding responses and mark onboarding as complete |
GET | /v1/onboarding/status | Get user's onboarding completion status |
GET | /v1/search | Search resources |
GET | /v1/search/similar/{type}/{id} | Find similar resources |
GET | /v1/statistics | Get cumulative statistics for all nodes (actions + triggers) |
GET | /v1/statistics/{type}/{id}/usage | Get usage time-series data for a specific node |
GET | /v1/statistics/action/{id}/latency | Get latency time-series data for a specific action |
GET | /v1/tags | List available tags, optionally filtered by category and/or search query with pagination |
GET | /v1/tags/categories | List all unique categories from tags |
GET | /v1/templates | List templates by category and tags |
POST | /v1/templates | Create a new workflow template |
GET | /v1/templates/{templateId} | Get template by ID |
PATCH | /v1/templates/{templateId} | Update an existing workflow template |
POST | /v1/templates/{templateId}/rollback | Rollback template to a previous version |
GET | /v1/templates/{templateId}/stats | Get template statistics |
GET | /v1/templates/{templateId}/versions | List all versions of a template |
GET | /v1/templates/{templateId}/versions/{versionNumber} | Get a specific version of a template by version number |
GET | /v1/templates/{templateId}/versions/count | Count total versions for a specific template |
GET | /v1/templates/by-source-workflow/{workflowId} | Get template by source workflow ID. Returns 200 with null data when no template exists for the workflow. |
GET | /v1/templates/recommended | Get personalized template recommendations based on user's tag interests |
