Skip to content
English
  • There are no suggestions because the search field is empty.

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: '

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

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