Skip to content

Get all templates

Request

Retrieve a list of all templates for the specified organization.

Security
sessionAuth
Path
orgIdstringrequired

The ID of the organization where templates will be retrieved.

Query
namestring

Filter templates by name (partial match).

activeboolean

Filter templates by active status.

tagsstring

Filter templates by tag.

is_globalboolean

Filter by global status.

is_agenticboolean

Filter templates created by an AI agent.

created_bystring

Filter by creator user ID.

template_typestring

Shorthand filter. "global" sets is_global=true, "user-created" sets is_global=false.

Enum:"global""user-created"
created_by_typestring

Filter by creation type.

Enum:"user_created""ai_created""global""all"
pageinteger

Page number for paginated results.

Default:1
limitinteger

Number of results per page.

Default:10
skip_attribute_overridesboolean

Set to "true" to skip merging List attribute overrides in the response.

curl -i -X GET \
  'https://api.aipim.fynd.com/service/panel/templates/v1.0/org/{orgId}/template?name=string&active=true&tags=string&is_global=true&is_agentic=true&created_by=string&template_type=global&created_by_type=user_created&page=1&limit=10&skip_attribute_overrides=true' \
  -b cc.session=YOUR_API_KEY_HERE

Responses

A list of templates.

Bodyapplication/json
resourcesArray of objects(TemplateResponse)
item_totalinteger

The total number of attributes.

documentsInCurrPageinteger

The limit set for the results.

currPageinteger

The current page number

Response
{ "resources": [ { … } ], "item_total": 0, "documentsInCurrPage": 0, "currPage": 0 }