Prisma · Arazzo Workflow
Prisma Optimize Record and Analyze a Session
Version 1.0.0
Open a query recording session, pull the slowest captured queries and recommendations, then stop the session.
Provider
Workflows
record-and-analyze-session
Create a recording session, fetch its slowest queries and recommendations, and stop it.
Opens a recording session, lists captured queries sorted by duration, pulls optimization recommendations, then stops the session.
1
createSession
createSession
Open a new query recording session for the supplied database provider.
2
listSlowestQueries
listSessionQueries
List the queries captured during the session ordered by duration descending so the slowest queries surface first.
3
listRecommendations
listRecommendations
Pull the AI-powered optimization recommendations generated for the captured queries in the session.
4
stopSession
stopSession
Stop the recording session to finalize the captured query data for analysis. No further queries are captured after this.