Get an agent's prompt history
Return the agent’s immutable prompt/config version history — prompt text, model, sampling knobs, tools, knowledge-base links, safety config, and provenance per version, newest first — plus the distinct branch names in use. Alias of GET /api/v1/agents//versions under friendlier naming for non-developer integrations; identical response shape, so SDKs can swap the URL without re-mapping fields. Use it to browse prior revisions before picking the target of a rollback. 404 when the agent does not exist.
Authorizations
Dashboard JWT token from Clerk
Headers
Sandbox opt-in for Clerk-session-authenticated requests. Set to true to route the call through the test-mode pipeline: no real provider delivery, no credits deducted, response meta.test_mode: true. Ignored for live API keys (dv_live_sk_*) — server-to-server clients must use a test-prefixed key (dv_test_sk_*) to exercise sandbox. Test-prefixed keys unconditionally enable sandbox regardless of this header.
true, false