Error
Queries
Replace a saved query's name, description, SQL and params.
A full replacement, not a patch: send every field you want to keep, because
an omitted description is written back as empty. Dashboard tiles that
render this query pick up the new SQL the next time they are run — editing
a query changes every chart built on it.
PUT
Error
Authorizations
A scoped AgentEye API key. Mint one in the dashboard under Settings → API keys, or with POST /v1/keys. Each endpoint names the permission it requires; a key without it gets 403 and a required_permission field naming what was missing.
Path Parameters
Saved query id.
Response
The updated saved query.

