Join us Nov 24 to watch Insights Agent turn slow queries into PRs. RSVP
Navigation

Query Insights API endpoints

Query Insights data is now available through the public PlanetScale API. New endpoints let you programmatically access everything you see in the Insights dashboard:

To use these with a service token, grant your token read_database permission.

Read more