Templates

Get a template by slug with its versions, compatibility, caps, installed tools and plan clamping

The organization’s own template shadows a platform template of the same slug (like open); open_resolves_to is what open would use now. Unpublished versions appear only for owners/admins of the owning organization. 404 outside the organization.

get/v1/organizations/{organization_id}/templates/{slug}

Request

  • Base URL: https://api.shardflux.dev
  • URL: https://api.shardflux.dev/v1/organizations/{organization_id}/templates/{slug}
  • Auth: HTTP bearer

Path parameters

organization_idstring uuid required

UUIDv7, lowercase canonical form.

slugstring required

Query parameters

include_archivedboolean

Include archived templates and versions.

owner'platform' | 'organization'

Pick the platform template even when an organization template shadows its slug.

Response

Default Response

idstring uuid required

UUIDv7, lowercase canonical form.

slugstring required
namestring required
owner'platform' | 'organization' required
organization_idstring uuid nullable required

UUIDv7, lowercase canonical form.

created_atstring date-time required

RFC 3339 UTC timestamp with Z.

archived_atstring date-time nullable required

RFC 3339 UTC timestamp with Z.

shadowed_by_organization_templateboolean required

Platform template whose slug the caller’s organization template currently wins for open (resolution prefers the organization’s published version).

computer_useboolean required

: the template’s computer use switch for its workspaces (a workspace may override it). Set by the owning organization; platform templates are off.

category'os' | 'stack' nullable required

Platform templates: os (a bare operating system) or stack (preinstalled tools). Organization templates: null.

versions_truncatedboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.