List project-scoped indicators
GET
/api/v2/projects/{projectId}/indicators
const url = 'https://localhost:10001/api/v2/projects/1/indicators';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://localhost:10001/api/v2/projects/1/indicators \ --header 'Authorization: <Authorization>'Lists active indicator templates owned by a project, filtered by search and tag, with pagination
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” projectId
required
integer
Project ID
Query Parameters
Section titled “Query Parameters ” search
string
Search by name or description
tag
string
Filter by tag
limit
integer
Page size
offset
integer
Page offset
Responses
Section titled “ Responses ”Page of project indicator templates
Media type application/json
object
indicators
Array<object>
object
createdAt
string
criteria
Array<object>
object
declarationProfile
object
emitOn
“pass” | “fail” | “both” | “none”
string
statementTemplate
string
titleTemplate
string
description
string
extractionRules
object
id
string
name
string
parameters
object
projectId
integer
provider
string
slug
string
tags
Array<string>
triggerType
string
type
string
updatedAt
string
usageCount
integer
limit
integer
offset
integer
total
integer
Example
{ "indicators": [ { "declarationProfile": { "emitOn": "pass" }, "triggerType": "event", "type": "custom" } ]}Bad request - Invalid limit or offset parameter
Media type application/json
object
key
additional properties
string
Example generated
{ "additionalProperty": "example"}Unauthorized - Authentication required
Media type application/json
object
key
additional properties
string
Example generated
{ "additionalProperty": "example"}Forbidden - No project access or insufficient permissions
Media type application/json
object
key
additional properties
string
Example generated
{ "additionalProperty": "example"}Internal server error
Media type application/json
object
key
additional properties
string
Example generated
{ "additionalProperty": "example"}