Public

Create a template, or copy an existing one.

  • template_id — copy that template instead of creating an empty one.
  • with_agents — copy its agents too. A copied agent keeps its source's status when the copy can run: an active agent arrives active if it passes the same check as activating it by hand, and disabled otherwise.
  • with_agent_files — also copy the reference CSV of any datatable-match or pricelist-compliance agent. Optional, off by default, and only meaningful together with with_agents. Without it the copied agent starts with empty storage of its own — it never shares the original's files — and so arrives disabled, having no table to match against.
post/v1/create_template/

Request

Query parameters

template_idinteger nullable
with_agentsboolean
with_agent_filesboolean

Request body

folder_idinteger required
namestring required
descstring nullable
number_locale'EU' | 'US'
date_locale'EU' | 'US'

Response

Successful Response

idinteger required
namestring required
descstring nullable
folder_idinteger required
field_idsinteger[] nullable
instruction_idsinteger[] nullable
agent_idsinteger[] nullable

Changes

    • info

      added the new optional query request parameter with_agent_files

    • info

      added the optional property to the response with the status