GET
List audit templates 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

groupid
string

Only templates in this template group.

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.

isPublished
boolean
searchByName
string
filterRole
string

Only templates where roleMailAddress holds this role. Ignored without roleMailAddress.

roleMailAddress
string<email>
rangeFilter
enum<string>

Date field(s) that fromDate/untilDate bound, comma-separated.

Available options:
CREATIONDATE,
LASTMODIFIEDDATE
dateFilterType
enum<string>
Available options:
AND,
OR
fromDate
string<date-time>
untilDate
string<date-time>
aggregate
string

Comma-separated index field names to count values of.

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 AuditTemplate 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.