Skip to main content
GET
Export Agent Template

Example Response

Use Cases

  • Backup your agent configuration before making changes
  • Share agent templates across workspaces (import will scrub instance-specific fields)
  • Prefer POST /agents/{agentId}/clone for in-workspace duplication

Notes

  • The exported template includes tools, variables, and nodes
  • SECRET_API_KEY is excluded from exports for security
  • On import, branding / funnel recipients / channel secrets are stripped server-side — do not rely on client-side sanitization alone
  • Use /agents/import-template to restore; use /agents/{id}/clone for safe live clones

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agentId
string
required

Response

Successful response

agentTemplate
object
required