Skip to main content
POST
Create a generative UI template for an agent

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'

Path Parameters

agent_name
string
required

Body

application/json
template_id
string
required

Client-provided unique template id

generative_spec
Generative Spec · object
required

json-render layout (e.g. root, elements, state)

description
string | null

Human-readable description

Response

Successful Response

id
string
required

Template id

agent_name
string
required

Owning agent (normalized)

generative_spec
Generative Spec · object
required

json-render spec

description
string | null

Description

created_by
string | null

Creator identifier

created_at
string | null

Creation time (ISO)

updated_at
string | null

Last update time (ISO)