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

# Get Template

> Get a specific SuperAgent template by id.

Returns the legacy ``{"message": ...}`` payload both when the
template does not exist and when it exists but is restricted to an
org the caller does not belong to — the two cases are intentionally
indistinguishable so org membership is not leaked through the
response shape.



## OpenAPI

````yaml /api-reference/openapi.json get /api/superagents/{template_id}
openapi: 3.1.0
info:
  title: apowerb API
  description: REST API of the apowerb agentic framework (open-source edition).
  version: 0.1.2
  license:
    name: MIT
    url: https://github.com/apowerb/apowerb/blob/main/LICENSE
servers:
  - url: https://api.example.com
    description: Your apowerb instance
  - url: http://localhost:8000
    description: Local stack
security: []
paths:
  /api/superagents/{template_id}:
    get:
      tags:
        - superagents
      summary: Get Template
      description: |-
        Get a specific SuperAgent template by id.

        Returns the legacy ``{"message": ...}`` payload both when the
        template does not exist and when it exists but is restricted to an
        org the caller does not belong to — the two cases are intentionally
        indistinguishable so org membership is not leaked through the
        response shape.
      operationId: get_template_api_superagents__template_id__get
      parameters:
        - name: template_id
          in: path
          required: true
          schema:
            type: string
            title: Template Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

## Related topics

- [List Templates](/api-reference/superagents/list-templates.md)
- [Template Status](/api-reference/agents/template-status.md)
- [Resync Template](/api-reference/agents/resync-template.md)
- [Webhooks](/guides/webhooks.md)
- [Update Subscription](/api-reference/webhooks/update-subscription.md)
