curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.computer.stateset.app/api/v1/templates/{name}' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
{
"name": "Two-Person Tent",
"kind": "builtin",
"description": "Two-person tent, green — replacement for damaged pole set.",
"defaults": {}
}
Get Template V1
Single template detail. Returns the same fields as GET /templates plus the defaults blob, so callers can inspect what params will be auto-merged before they…
GET
/
api
/
v1
/
templates
/
{name}
curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.computer.stateset.app/api/v1/templates/{name}' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
{
"name": "Two-Person Tent",
"kind": "builtin",
"description": "Two-person tent, green — replacement for damaged pole set.",
"defaults": {}
}
Confirm your deployment before running this request. This page describes an API contract;
a published reference does not establish hosted availability. Check the dated
host report and obtain your deployment URL and credentials.
Replace the example host if your provisioned service uses a different URL.
GET /templates plus the defaults blob,
so callers can inspect what params will be auto-merged before they
send a /trigger. Built-in lookups always succeed; tenant lookups
404 if the template doesn’t belong to the calling tenant.
Path parameters
string
required
Response
TemplateDetail
string
required
string
required
Allowed values:
'builtin', 'tenant'.string,null
object
Default
params merged into every trigger that targets this template. Empty for built-ins.Status codes
| Code | Meaning |
|---|---|
200 | Successful Response |
422 | Validation Error |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.computer.stateset.app/api/v1/templates/{name}' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
{
"name": "Two-Person Tent",
"kind": "builtin",
"description": "Two-person tent, green — replacement for damaged pole set.",
"defaults": {}
}
Last modified on September 21, 2026