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

List project-scoped indicators

GET /api/v2/projects/{projectId}/indicators Select code sample Fetch cURL
const url = 'https://localhost:10001/api/v2/projects/1/indicators';const options = {method: 'GET', headers: {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: 
  
   '
  

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 ”

200

Section titled “200 ”

Page of project indicator templates

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

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

stringAllowed 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 stringAllowed values: event type stringAllowed values: custom updatedAt string usageCount integer limit integer offset integer total integer
Example
{  "indicators": [    {      "declarationProfile": {        "emitOn": "pass"      },      "triggerType": "event",      "type": "custom"    }  ]}

400

Section titled “400 ”

Bad request - Invalid limit or offset parameter

Media type application/json object key additional properties string
Example generated
{  "additionalProperty": "example"}

401

Section titled “401 ”

Unauthorized - Authentication required

Media type application/json object key additional properties string
Example generated
{  "additionalProperty": "example"}

403

Section titled “403 ”

Forbidden - No project access or insufficient permissions

Media type application/json object key additional properties string
Example generated
{  "additionalProperty": "example"}

500

Section titled “500 ”

Internal server error

Media type application/json object key additional properties string
Example generated
{  "additionalProperty": "example"}
Previous
Activate project indicator application
Next
Create project-scoped indicator