templates

Get Template

Get details of a single template (including agent_config)

Args: template_id: ID of the template to retrieve lang: Optional language code for localized descriptions

Returns: Detailed template information with agent configuration

Raises: HTTPException: If template not found

get/api/templates/{template_id}

Path parameters

template_idstring required

Query parameters

langstring nullable

Language code (e.g., 'en', 'zh')

Language code (e.g., 'en', 'zh')

Response

Successful Response

idstring required

Template unique identifier

namestring required

Template name

categorystring required

Template category

featuredboolean

Whether the template is featured

descriptionstring required

Template description

featuresstring[]

Template features

setup_timestring

Setup time

tagsstring[]

Template tags

authorstring required

Template author

versionstring required

Template version

viewsinteger

Number of views

likesinteger

Number of likes

used_countinteger

Number of times used

is_likedboolean

Whether the current user liked this template

agent_configobject required

Agent configuration

Changes

Changed in 2 of the 4 revisions of this API.134

    • added the optional property is_liked to the response with the 200 status

      response-optional-property-added

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • c9eb29ec9a1b133See the full diff
    • removed the required property agent_config/instructions from the response with the 200 status

      response-required-property-removed

    • removed the optional property agent_config/execution_mode from the response with the 200 status

      response-optional-property-removed

    • removed the optional property agent_config/skills from the response with the 200 status

      response-optional-property-removed

    • removed the optional property agent_config/tool_categories from the response with the 200 status

      response-optional-property-removed

    • added the optional property connections to the response with the 200 status

      response-optional-property-added

    • added the optional property features to the response with the 200 status

      response-optional-property-added

    • added the optional property setup_time to the response with the 200 status

      response-optional-property-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog