Diff two agent prompt versions
Return a field-level diff between the version in the path and a comparison target, for the versioned fields (prompt, model, temperature, max tokens, tools, knowledge bases, safety config, config, and cost cap). Set the against query param to prev (the immediately preceding version, the default), live (the agent’s current live config), or another version id on the same agent. Powers the compare-versions view; the first version returns an all-unchanged diff with against: null.
Authorizations
Dashboard JWT token from Clerk
Path Parameters
Identifier of the agent whose versions to diff.
Identifier of the source version (the path side of the diff).
Query Parameters
Comparison target: prev, live, or another version id on the same agent.