Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude
API/schemas
Schema

TemplateCreate

Request to create a new template with WDL steps.

FieldTypeDescription
namerequiredstringTemplate name
descriptionstring | nullTemplate description
category"compliance" | "advisory" | "audit" | "bookkeeping" | "tax" | "internal" | nullTemplate category (closed taxonomy; off-taxonomy input is mapped)
stepsTaskStepDefinition | ToolCallStepDefinition | ArchieQueryStepDefinition | NotifyStepDefinition | ConditionalStepDefinition | LoopStepDefinition | ParallelStepDefinition | ApprovalStepDefinition | DocumentUploadStepDefinition | StageStepDefinition | GotoStepDefinition | SubWorkStreamStepDefinition | DeterministicExtractionStepDefinition | VerificationStepDefinition | EmailSendStepDefinition | WaitForReplyStepDefinition | SkillStepDefinition | AgentRunStepDefinition | WaitStepDefinition | WebhookStepDefinition | FormStepDefinition | FileStepDefinition[]WDL step definitions
default_configobjectDefault configuration
show nested
Empty object.
tagsstring[]Template tags
input_schemaobject[]Declared workstream inputs (array of InputDef: name/type/required/...).
item shape
Empty object.
output_schemaobject[]Declared workstream outputs (array of OutputDef: name/label/type/format/...).
item shape
Empty object.
data_filesobject | nullData files kept with the WorkStream: layouts/<name>.json to a JSON object. Omit to store none; the handler refuses a bad key or value.
execution_modestring | nullExecution mode
jurisdictionsstring[] | nullApplicable jurisdictions
ownerstring | nullOwner (owning_team_id)
goal_specGoalSpecPayload | nullOptional goal contract scored by the deterministic goal gate after each cycle. A workstream is launchable with steps OR a goal_spec.
accounting_ledger"off" | "optional" | "required"Cycle Accounting Ledger capability. Most WorkStreams leave this off; optional exposes Ledger tools on demand; required makes a frozen Ledger checkpoint a completion condition.
offoptionalrequired