Swetrix Performance API
Frontend and backend performance metrics
Operations 2
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Ask an LLM
“What's the p95 time to first byte on my site this month?”
“Can I see DNS, TLS and render timings bucketed over time?”
Tell an agent
Get performance timings for project {pid} over {period} by {timeBucket}.
Show {measure} page load metrics for project {pid}, bucketed by {timeBucket}, for {period}.
GET
/v1/log/performance/birdseye
Compare performance against the previous period · Get Birdseye Performance Summary
#
Ask an LLM
“Did my sites get faster or slower compared with the previous period?”
“Can I get a performance summary across several projects at once?”
Tell an agent
Summarize performance for projects {pids} over {period} versus the previous period.
Give me the birdseye performance comparison for {period}.
Documentation
Documentation
https://swetrix.com/docs/statistics-api
Documentation
https://swetrix.com/docs/admin-api
Specifications
Other Resources
Overlay
https://artifacts.apis.io/swetrix/overlays/swetrix-performance-api-overlay.yaml
PostmanCollection
https://artifacts.apis.io/swetrix/postman/swetrix-performance-api.postman_collection.json
OpenCollection
https://artifacts.apis.io/swetrix/collections/swetrix-performance-api.opencollection.json