Skip to content

Get project-scoped indicator

GET
/api/v2/projects/{projectId}/indicators/{indicatorId}
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

projectId
required
integer

Project ID

indicatorId
required
string

Indicator UUID

Project indicator template

Media type application/json
object
createdAt
string
criteria
Array<object>
object
declarationProfile
object
emitOn

“pass” | “fail” | “both” | “none”

string
Allowed values: pass fail both none
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
Allowed values: event
type
string
Allowed values: custom
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"
}

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"
}