Skip to main content
POST
Fetch a template and its schema

Authorizations

x-api-key
string
header
required

Body

application/json

Fetch a template's content and its input schema by id.

template_id
string
required

Response

Success.

data
TemplateFetchView · object
required

A stored template's content and its inferred input schema. The schema object is an inferred JSON schema (it may carry an x-tai42-inference: partial marker when type inference is incomplete). The Python attribute is suffixed to avoid shadowing a BaseModel member; the wire key stays schema via the alias.