templates

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}

Request

Path parameters

template_idstring required

Query parameters

langstring nullable

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

    • info

      added the optional property to the response with the status

    • breaking

      removed the required property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status