Get project-scoped indicator
GET
/api/v2/projects/{projectId}/indicators/{indicatorId}
const url = 'https://localhost:10001/api/v2/projects/1/indicators/example';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/example \ --header 'Authorization: <Authorization>'Retrieves one project-owned indicator template by UUID along with its usage count
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” projectId
required
integer
Project ID
indicatorId
required
string
Indicator UUID
Responses
Section titled “ Responses ”Project indicator template
Media type application/json
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
Example
{ "declarationProfile": { "emitOn": "pass" }, "triggerType": "event", "type": "custom"}Bad request - Invalid indicator ID format
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"}Indicator not found
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"}