List templates

Returns the seven canonical studio functions and the shared, versioned role templates that ventures reuse.

GET /v1/agent/roster/templates

Addresshttps://api.hanzo.ai/v1/agent/roster/templates
MethodGET
Operationget_agent_roster_templates
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the seven canonical studio functions and the shared, versioned role templates that ventures reuse.

Request

GET /v1/agent/roster/templates takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200agent.rosterTemplatesOutok
defaultproblem-detailsrefused

200 body — 22 fields.

FieldInTypeAlwaysDescription
functionsbodyagent.StudioFunction[]—Functions are the seven canonical studio functions.
functions[].defaultOutputbodystring—DefaultOutput describes the required deliverable structure and citation standard.
functions[].defaultToolsbodystring[]—DefaultTools lists the MCP tool names granted by default to specialists in this function.
functions[].dutiesbodystring—Duties states the core responsibilities and operating boundaries of the function.
functions[].expertisebodystring—Expertise summarizes the domain specialization covered by roles in this function.
functions[].idbodystring—ID is the stable slug identifying the studio function (e.g. "regulatory-clinical").
functions[].titlebodystring—Title is the human-readable name of the studio function.
templatesbodyagent.RoleTemplate[]—Templates are the versioned role templates (lead plus the seven specialist functions).
templates[].cap_micro_usdbodyinteger (int64)—CapMicroUSD is the default period budget cap in integer micro-USD.
templates[].expertisebodystring—Expertise is the one-line catalog description explaining when another agent or lead should delegate to this role.
templates[].functionbodystring—Function is the studio function this role belongs to ("lead" or one of the seven studio functions).
templates[].idbodystring—ID is the stable template identifier (e.g. "venture-lead" or "specialist-regulatory-clinical").
templates[].instructionsbodystring—Instructions is the system prompt governing how the role gathers evidence, cites sources, and flags unsupported claims.
templates[].managerbodystring—Manager is the default parent role handle this role reports to; empty for the venture lead.
templates[].max_task_micro_usdbodyinteger (int64)—MaxTaskMicroUSD is the default single-run ceiling in integer micro-USD.
templates[].outputbodystring—Output specifies the structured deliverable format expected from this role.
templates[].periodbodystring—Period is the budget reset window: day, week, or month.
templates[].sourcesbodystring[]—Sources lists the authorized evidence and knowledge sources for this role.
templates[].titlebodystring—Title is the human-readable role title.
templates[].toolsbodystring[]—Tools lists the MCP tool names this role is allowed to invoke.
templates[].versionbodystring—Version is the explicit template revision string, preserved when a venture enrolls the role.
versionbodystring—Version is the current studio template catalog version string.

Failure carries the platform error shape — see Errors.

Examples

hanzo agent roster templates
import { Configuration, AgentApi } from 'hanzoai';

const api = new AgentApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getAgentRosterTemplates();
from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import AgentApi

client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = AgentApi(client).get_agent_roster_templates()
cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)

resp, _, err := client.AgentAPI.GetAgentRosterTemplates(context.Background()).Execute()
if err != nil {
	return err
}
use hanzo_client::apis::{configuration::Configuration, agent_api};

let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();

let result = agent_api::get_agent_roster_templates(&cfg, Default::default()).await?;
import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.AgentApi;

ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));

var result = new AgentApi(client).getAgentRosterTemplates();

The method above is the one at the current release of the document. [email protected] (npm) and [email protected] (PyPI) were generated from an earlier release, where this operation carried a different id, so it spells the method differently — regenerating the clients is what makes the two agree. SDKs →

curl https://api.hanzo.ai/v1/agent/roster/templates \
  -H "Authorization: Bearer $HANZO_API_KEY"

MCP reaches agent through the agent tool, which names its 51 operations with its own verbs — this one among them, under a name only MCP declares. describe explains any of them:

curl -X POST https://api.hanzo.ai/v1/mcp \
  -H "Content-Type: application/json" \
  -d '{
       "jsonrpc": "2.0",
       "id": 1,
       "method": "tools/call",
       "params": {
         "name": "describe",
         "arguments": {
           "op": "list_agents"
         }
       }
     }'

Agent API · All Hanzo APIs · Interactive reference

Was this page useful?
Broken link or missing step? Drop it in #docs on Discord or open a PR.