Project Health Snapshot
A 3-step recipe with Treblle. We can help you get access.
Recipe · 3 steps
Project Health Snapshot
with Treblle
Combine a project's analytics and discovered endpoints into one snapshot.
- Confirm the target project exists before pulling its analytics.
- Retrieve aggregated analytics for the project over the supplied date range, including error rate, average response time, and top endpoints.
- List the endpoints Treblle auto-discovered from live traffic for the project, including per-endpoint performance metrics.
What you'll need to have ready
- apiKey: Treblle API key passed in the Treblle-Api-Key header.
- projectId: The project to build a health snapshot for.
- startDate: Analytics start date (YYYY-MM-DD).
- endDate: Analytics end date (YYYY-MM-DD).
For your developer
Arazzo workflow treblle:project-health-snapshot, 3 operations: getProject → getProjectAnalytics → listEndpoints. Specs on APIs.io.