> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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…

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. Sorted: built-ins first (alphabetical),
then tenant templates.

### Response

`TemplateInfo[]` — each element:

<ResponseField name="name" type="string" required>
  The exact string to pass as `agent_type` on /trigger.
</ResponseField>

<ResponseField name="kind" type="string" required>
  `builtin` ships with the platform; `tenant` is owned by your org.
</ResponseField>

<ResponseField name="description" type="string,null">
  Human-readable description (tenant templates only).
</ResponseField>

### Status codes

| Code  | Meaning             |
| ----- | ------------------- |
| `200` | Successful Response |

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url 'https://api.computer.stateset.app/api/v1/templates' \
    --header 'X-API-Key: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  [
    {
      "name": "Two-Person Tent",
      "kind": "builtin",
      "description": "Two-person tent, green — replacement for damaged pole set."
    }
  ]
  ```
</ResponseExample>
