Export one agent's full configuration
Download one agent’s COMPLETE configuration — system prompt, model, inference params, tools, knowledge-base bindings, runtime config, and guardrails — as a file attachment wrapped in export_metadata provenance. Use ?format=yaml for a YAML download; JSON is the default. Unlike /conversations/export (conversation data), this is the configuration document, and it round-trips through POST /agents/config/import for backup, templating, and promote-to-prod (GitOps) workflows. The download is audit-logged as a SOC2-relevant read.
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 Path Parameters
The agent id.
1Response
The portable config document (export_metadata + agent) as an attachment; ?format=yaml returns the same document as YAML text instead.