API reference · 3 endpoints
Namespace templates
Export a namespace's configuration as a template and import it elsewhere.
/v1/default/namespaces/{namespace_id}/exportExport namespace template
Export a namespace's current configuration, automations, and directives as a template manifest. The exported manifest can be imported into another namespace to replicate the setup.
Parameters
namespace_idstringpathrequired/v1/default/namespaces/{namespace_id}/importImport namespace template
Import a namespace template manifest to create or update a namespace's configuration, automations, and directives. If the namespace does not exist it is created. Config fields are applied as per-namespace overrides. Automations are matched by id, directives by name — existing ones are updated, new ones are created. Use dry_run=true to validate the manifest without applying changes.
Parameters
namespace_idstringpathrequireddry_runbooleanqueryValidate only, do not apply changes
/v1/namespace-template-schemaGet namespace template JSON Schema
Returns the JSON Schema for the namespace template manifest format. Use this to validate template manifests before importing.