GET
List template groups in a project

Authorizations

Authorization
string
header
required

Obtain a token via POST /api/v1/oauth/token (password grant) and send it as Authorization: Bearer <token>.

Path Parameters

database
string
required

Project identifier (each project has its own database). Obtain it from GET /api/v2/data/projects.

Query Parameters

includeActive
boolean

Include active (not archived) items. Together with includeArchived this replaces archived: when either is sent, archived is ignored. Both true or both false returns active and archived items alike.

includeArchived
boolean

Include archived items. See includeActive.

archived
boolean
default:false

Older switch: true lists only archived items, false (default) only active ones. Ignored when includeActive or includeArchived is sent.

searchByName
string
page
integer
default:0

Zero-based page number. page * size may not exceed 10,000.

Required range: x >= 0
size
integer
default:20

Results per page.

Required range: x >= 1

Response

Search envelope with TemplateGroup objects in results.

Standard envelope returned by all list and search endpoints.

size
integer

Number of results on this page.

page
integer

Current page (zero-based).

hits
integer

Total number of matching documents.

results
object[]
aggregations
object

Facet counts, present when the aggregate parameter was used.