Instantiate a template for this tenant
The POST /agents body to create an agent from this template on the calling tenant. Unlike GET /templates/<id>, the payload is adapted: permission blocks for a PSA or RMM the tenant has not connected are reset (a block for a not-yet-connected PSA is kept), identities from the authoring tenant are removed, and the FIND_ENTITIES filter is unpacked into top-level ticket_conditions / time_entry_conditions. Edit create_body (name, filter, toolbox) and send it verbatim to POST /agents. Prefer this over hand-building a body from GET /templates/<id>.
Authorizations
Authorization: Bearer <token> where <token> is either a neo_sk_<env>_<secret> API key (service account) or a Microsoft Entra ID access token (dashboard user).
Path Parameters
Query Parameters
state stamped on create_body: ENABLED or DISABLED. Defaults to DISABLED so a template-born agent is reviewed before it runs.
Response
Success.
A template adapted to the calling tenant, as a ready-to-send POST /agents body.
create_body is the intent-shaped create request for the template's autonomy_type
(ticket_conditions / time_entry_conditions at the top level, no FIND_ENTITIES in
actions), already adapted to this tenant: permission blocks for a PSA/RMM the tenant does
not have are reset, identities from the authoring tenant are removed. Edit it — name, filter,
toolbox — then send it verbatim to POST /agents.
