Get project-scoped indicator
const url = 'https://localhost:10001/api/v2/projects/example/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/example/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 ”Project ID, UUID (urn:uuid optional), or slug:my-project
Indicator UUID (urn:uuid optional) or slug:my-indicator
Responses
Section titled “ Responses ”Project indicator template
A project-scoped indicator template, with a count of the controls it is applied to
object
object
object
When to emit a declaration
object
Urn:uuid form
object
Example
{ "declarationProfile": { "emitOn": "pass" }, "triggerType": "event", "type": "custom"}Bad request - Invalid indicator ID format
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Unauthorized - Authentication required
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Forbidden - No project access or insufficient permissions
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Indicator not found
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}Internal server error
Error body returned by the governance endpoints; the message is human-readable and not a stable identifier
object
Example
{ "error": "Invalid request body"}