Skip to main content
GET
/
templates
/
{namespace}
/
{name}
List template versions
curl --request GET \
  --url https://www.orgo.ai/api/templates/{namespace}/{name} \
  --header 'Authorization: Bearer <token>'
{
  "versions": [
    {
      "ref": "default/claude-code@1.0.0",
      "digest": "<string>",
      "published": "2023-11-07T05:31:56Z",
      "template": {
        "api_version": "orgo.ai/v1",
        "template": {
          "name": "claude-code",
          "version": "1.0.0",
          "description": "<string>"
        },
        "hardware": {},
        "secrets": [
          {}
        ],
        "vars": {},
        "env": {},
        "build": {},
        "files": "<array>",
        "apps": "<array>",
        "triggers": "<array>",
        "terminal": "<array>",
        "hooks": {},
        "telemetry": {},
        "egress_policy": {},
        "streaming": "<array>"
      }
    }
  ]
}
Lists all published versions of a single template, so you can show a version history or resolve the latest.

Path parameters

namespace
string
required
Template namespace.
name
string
required
Template name.

Response

versions
array
Array of template list items, one per published version. Each has ref, digest, published, and the full template document.

Example

curl https://www.orgo.ai/api/templates/default/claude-code \
  -H "Authorization: Bearer $ORGO_API_KEY"

Response

{
  "versions": [
    {
      "ref": "default/claude-code@1.0.0",
      "digest": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2",
      "published": "2026-06-08T17:00:00Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication. Get your key at orgo.ai/workspaces

Path Parameters

namespace
string
required

Template namespace.

name
string
required

Template name.

Response

Versions

versions
object[]