Create User Template
Templates
Create User Template
Save a new eval agent template, from scratch or by snapshotting an existing eval agent.
POST
Create User Template
Documentation Index
Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
Use this file to discover all available pages before exploring further.
Headers
Your API key for authentication.
Body Parameters
Display name for the template. Maximum 120 characters.
Description of the template. Maximum 4000 characters. Pass
null to leave blank.Category label for the template. Maximum 64 characters. Pass
null to leave blank.Evaluation modality. Either
text or audio.System prompt for the eval agent, in Markdown. Maximum 50000 characters.
Evaluation prompt, in Markdown. Maximum 50000 characters.
Ordered scoring levels. Each level object requires
level_key (string, 1-64 chars), label (string, 1-80 chars), and prompt_md (string). The color field is optional: one of rose, amber, gold, emerald, blue, indigo, violet, or fog.Array of
level_key strings that represent the passing threshold.Access scope for the template. One of
private, org, or public.UUID of an existing eval agent to snapshot content from.
UUID of a specific version of the eval agent to snapshot. Only used when
from_agent_id is provided. Defaults to the agent’s current version if omitted.There are two creation paths. Pass
from_agent_id (optionally with from_version_id) to snapshot an existing agent’s content into the template, or pass inline content fields to build one from scratch. When both are supplied, from_agent_id provides the content and inline fields act as overrides.Response
Unique identifier (UUID) for the new template.
UUID of the organization that owns this template.
Short key used to reference the template.
Display name of the template.
Description of the template, or
null.Category of the template, or
null.Evaluation modality. Either
text or audio.System prompt for the eval agent, in Markdown.
Evaluation prompt, in Markdown.
Ordered scoring levels.
Array of
level_key strings that represent the passing threshold.Access scope. One of
private, org, or public.UUID of the eval agent this template was snapshotted from, or
null.UUID of the specific version snapshotted, or
null.UUID of the user who created the template, or
null.ISO 8601 timestamp of when the template was created.
ISO 8601 timestamp of when the template was last updated.
Docs for agents: llms.txt