Get a factory agent
GET
Fetch a single factory agent fully rendered: the function files to scaffold (an index.ts that declares the agent with defineAgent and its skills with defineTool) plus the secrets it needs. This is what npx zavudev agents pull <id> writes to disk before npx zavudev deploy.
Authorization
AuthorizationheaderrequiredBearer YOUR_API_KEY. Create a key in the dashboard.
Path parameters
templateIdstringrequired
Responses
200Rendered factory agent.
templateobjectrequiredA fully rendered factory agent: the function files to scaffold plus the secrets it needs. Returned by GET /v1/agent-templates/{templateId} and consumed by
npx zavudev agents pull.9 properties
idstringrequirednamestringrequiredsummarystringrequiredcategorystringrequiredOne ofsalessupportfrontDeskopsvoicebooleanrequireddefaultSlugstringrequiredfilesobject[]required2 properties
pathstringrequiredcontentstringrequiredFile contents to write verbatim.
dependenciesobjectrequirednpm dependencies for the scaffolded function.
1 properties
{key}string
requiredSecretsobject[]required2 properties
keystringrequiredhintstringrequired
401Unauthorized.
codestringrequiredmessagestringrequireddetailsobject
404Template not found.
codestringrequiredmessagestringrequireddetailsobject