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

# This org's community templates, drafts and published

> **Token scope:** `account` · `org` — read-only tokens allowed.

One summary per template, with no services, variables or publish requirements. getOrgTemplate serves one template in full.



## OpenAPI

````yaml /openapi/org.json get /orgs/{orgId}/templates
openapi: 3.1.0
info:
  title: InstaCloud API — Organization level
  version: 0.1.0
  description: >-
    Endpoints under `/orgs/{orgId}`: members, projects, billing, domains.
    Callable with an account-wide token or a token bound to that organization.


    Generated from the platform's own OpenAPI document
    (https://api.instacloud.com/openapi.json); see the [API
    overview](/reference/api/overview) for authentication and token scopes.
servers:
  - url: https://api.instacloud.com
    description: InstaCloud
security:
  - bearerAuth: []
tags:
  - name: Organization
    description: 'The organization itself: name, members, invitations.'
  - name: Projects
    description: Projects inside an organization.
  - name: Audit
    description: The project's event timeline, including agent-ingested events.
  - name: Domains
    description: >-
      Domains bought through InstaCloud, bring-your-own zones and their DNS
      records.
  - name: Billing
    description: Usage, cycles, invoices and credits.
  - name: Templates
    description: Deploy a template into a project.
paths:
  /orgs/{orgId}/templates:
    get:
      tags:
        - Templates
      summary: This org's community templates, drafts and published
      description: >-
        **Token scope:** `account` · `org` — read-only tokens allowed.


        One summary per template, with no services, variables or publish
        requirements. getOrgTemplate serves one template in full.
      operationId: listOrgTemplates
      parameters:
        - schema:
            format: uuid
            type: string
          in: path
          name: orgId
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  templates:
                    type: array
                    items:
                      $ref: '#/components/schemas/CommunityTemplateSummary'
                required:
                  - templates
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: >-
            This user listed the templates too many times in the last minute.
            Retry later.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    CommunityTemplateSummary:
      type: object
      properties:
        id:
          format: uuid
          description: >-
            The draft's stable id. A rename of its code keeps it, and a new
            draft gets a new one, even under a code a deleted draft had. Routes
            and editor links address a draft by its code.
          type: string
        code:
          type: string
        orgId:
          format: uuid
          type: string
        sourceProjectId:
          format: uuid
          type:
            - string
            - 'null'
        blank:
          description: >-
            Created with POST /orgs/{orgId}/templates, with no project behind
            it: every service is one the author added, and Regenerate From
            Project answers 400. A generated draft whose project was deleted is
            not blank.
          type: boolean
        status:
          type: string
          enum:
            - draft
            - published
            - unpublished
        publishedVersion:
          type:
            - string
            - 'null'
        hasUnpublishedChanges:
          type: boolean
        takenDown:
          description: Staff took this template down. It cannot be republished.
          type: boolean
        name:
          type: string
        tagline:
          type:
            - string
            - 'null'
        category:
          type:
            - string
            - 'null'
        logoUrl:
          type:
            - string
            - 'null'
        updatedAt:
          type: string
        deployCount:
          description: Succeeded deployments of this template.
          type: integer
        totalProjects:
          description: >-
            Distinct projects that deployed this template since its first
            publish, any outcome: the number the gallery card shows (the
            catalog's totalProjects).
          type: integer
      required:
        - id
        - code
        - orgId
        - sourceProjectId
        - blank
        - status
        - publishedVersion
        - hasUnpublishedChanges
        - takenDown
        - name
        - tagline
        - category
        - logoUrl
        - updatedAt
        - deployCount
        - totalProjects
      description: >-
        One template of the org as GET /orgs/{orgId}/templates lists it, with no
        services, variables, reference options, publish requirements or README.
        GET /orgs/{orgId}/templates/{code} serves one in full.
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Session access JWT or an API token (`insta_<prefix>_<secret>`).

````