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

# List templates

> List the templates you have published.

Returns the templates published under your account. Each item carries the template's `ref`, its content-addressed `digest`, the `published` timestamp, and the full template document.

<Tip>
  Looking for the curated templates Orgo ships (Claude Code, OpenClaw, Hermes)? Use [List curated templates](/api-reference/templates/list-curated) instead.
</Tip>

## Query parameters

<ParamField query="namespace" type="string">
  Filter to a single namespace. Your own templates are published under `default` unless you choose another namespace.
</ParamField>

## Response

<ResponseField name="templates" type="array">
  Array of template list items.

  <Expandable title="item">
    <ResponseField name="ref" type="string">
      Template ref, in `namespace/name@version` form.
    </ResponseField>

    <ResponseField name="digest" type="string">
      Content-addressed SHA-256 digest of the canonical template. Two semantically identical templates always share a digest.
    </ResponseField>

    <ResponseField name="published" type="string">
      ISO 8601 timestamp of when the version was published.
    </ResponseField>

    <ResponseField name="template" type="object">
      The full `orgo.ai/v1` document. See the [schema reference](/guides/templates/schema).
    </ResponseField>
  </Expandable>
</ResponseField>

## Example

<CodeGroup>
  ```bash cURL theme={null}
  curl https://www.orgo.ai/api/templates \
    -H "Authorization: Bearer $ORGO_API_KEY"
  ```

  ```python Python theme={null}
  import os, requests

  r = requests.get(
      "https://www.orgo.ai/api/templates",
      headers={"Authorization": f"Bearer {os.environ['ORGO_API_KEY']}"},
  )
  for t in r.json()["templates"]:
      print(t["ref"], t["digest"][:12])
  ```

  ```javascript JavaScript theme={null}
  const r = await fetch("https://www.orgo.ai/api/templates", {
    headers: { Authorization: `Bearer ${process.env.ORGO_API_KEY}` },
  });
  const { templates } = await r.json();
  templates.forEach((t) => console.log(t.ref));
  ```
</CodeGroup>

### Response

```json theme={null}
{
  "templates": [
    {
      "ref": "default/claude-code@1.0.0",
      "digest": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2",
      "published": "2026-06-08T17:00:00Z"
    }
  ]
}
```


## OpenAPI

````yaml GET /templates
openapi: 3.1.0
info:
  title: Orgo API
  description: >-
    Launch cloud computers that AI agents can control and interact with. Create
    workspaces, provision computers, and control them programmatically.
  version: 2.0.0
  contact:
    name: Orgo Support
    email: spencer@orgo.ai
    url: https://orgo.ai
servers:
  - url: https://www.orgo.ai/api
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Workspaces
    description: Organize computers into named workspaces
  - name: Computers
    description: Provision and manage virtual computers
  - name: Computer Lifecycle
    description: Start, stop, and restart computers
  - name: Computer Actions
    description: Control mouse, keyboard, and execute commands
  - name: Streaming
    description: Stream computer display via RTMP
  - name: Files
    description: Upload and download files
  - name: Templates
    description: Author, build, and launch reproducible computers from templates
paths:
  /templates:
    get:
      tags:
        - Templates
      summary: List templates
      description: Lists the templates published under your account.
      operationId: listTemplates
      parameters:
        - name: namespace
          in: query
          required: false
          description: >-
            Filter to a single namespace. Your own templates default to
            `default`.
          schema:
            type: string
      responses:
        '200':
          description: Your templates
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TemplateListResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    TemplateListResponse:
      type: object
      properties:
        templates:
          type: array
          items:
            $ref: '#/components/schemas/TemplateListItem'
    TemplateListItem:
      type: object
      properties:
        ref:
          type: string
          description: Template ref, `namespace/name@version`.
          example: default/claude-code@1.0.0
        digest:
          type: string
          description: >-
            Content-addressed SHA-256 digest of the canonical template. Two
            semantically identical templates always share a digest.
        published:
          type: string
          format: date-time
        template:
          $ref: '#/components/schemas/Template'
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
    Template:
      type: object
      description: >-
        An orgo.ai/v1 template document. Only `api_version` and `template` are
        required. See the full JSON Schema at GET /template-schema, or the
        schema guide at https://docs.orgo.ai/guides/templates/schema.
      required:
        - api_version
        - template
      additionalProperties: true
      properties:
        api_version:
          type: string
          enum:
            - orgo.ai/v1
        template:
          type: object
          required:
            - name
            - version
          properties:
            name:
              type: string
              description: Lowercase kebab-case, 1-64 chars.
              example: claude-code
            version:
              type: string
              description: Semver, immutable once published.
              example: 1.0.0
            description:
              type: string
        hardware:
          type: object
        secrets:
          type: array
          items:
            type: object
        vars:
          type: object
        env:
          type: object
        build:
          type: object
        files:
          type: array
        apps:
          type: array
        triggers:
          type: array
        terminal:
          type: array
        hooks:
          type: object
        telemetry:
          type: object
        egress_policy:
          type: object
        streaming:
          type: array
  responses:
    Unauthorized:
      description: Invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Invalid API key
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key authentication. Get your key at orgo.ai/workspaces

````