Agents
Get a factory agent
Changed onFetch 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.
get/v1/agent-templates/{templateId}
Request
- Base URLhttps://api.zavu.dev
- URLhttps://api.zavu.dev/v1/agent-templates/{templateId}
- AuthHTTP bearer
Path parameters
templateIdstring required
Response
Rendered factory agent.
Example response
{
"template": {
"id": "fermi",
"defaultSlug": "fermi",
"files": [
{
"path": "index.ts"
}
],
"requiredSecrets": [
{
"key": "SENDER_ID"
}
]
}
}Changes
- info
endpoint added
- info