curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.computer.stateset.app/api/v1/templates' \
--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."
}
]
List Templates V1
Discover the agent_type values you can use on /trigger. Returns the union of platform built-ins (always queue-able) and any Template rows your tenant owns…
GET
/
api
/
v1
/
templates
curl --silent --show-error --fail-with-body --request GET \
--url 'https://api.computer.stateset.app/api/v1/templates' \
--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."
}
]
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.
agent_type values you can use on /trigger.
Returns the union of platform built-ins (always queue-able) and any
Template rows your tenant owns. Sorted: built-ins first (alphabetical),
then tenant templates.
Response
TemplateInfo[] — each element:
string
required
The exact string to pass as
agent_type on /trigger.string
required
builtin ships with the platform; tenant is owned by your org. Allowed values: 'builtin', 'tenant'.string,null
Human-readable description (tenant templates only).
Status codes
| Code | Meaning |
|---|---|
200 | Successful Response |
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' \
--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."
}
]
Last modified on September 21, 2026