Healthsources
This contains APIs related to CV Health Sources
Account Identifier
Organization Identifier
Project Identifier
Lists all Health Sources for the given scope
GET /health-sources?accountIdentifier=text HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Accept: */*
Lists all Health Sources for the given scope
{
"status": "SUCCESS",
"data": [
{
"accountId": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"identifier": "text",
"name": "text",
"connectorRef": "text",
"mcpRef": "text",
"dataSourceType": "DatadogMetrics",
"queryDefinitions": {
"type": "Metrics",
"spec": {
"type": "text"
}
},
"healthSourceParams": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"variables": [
{
"name": "text",
"type": "String",
"required": true,
"description": "text",
"metadata": "text"
}
],
"createdAt": 1,
"lastUpdatedAt": 1
}
],
"metaData": {},
"correlationId": "text"
}Account Identifier
Organization Identifier
Project Identifier
This contains details of the Health Source configuration
Identifier of the Health Source
Name of the Health Source
Connector reference for the data source
MCP reference for AI/ML capabilities
Type of data source
Creates a new Health Source for verifying metrics or logs
POST /health-sources?accountIdentifier=text HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Content-Type: application/json
Accept: */*
Content-Length: 325
{
"identifier": "text",
"name": "text",
"connectorRef": "text",
"mcpRef": "text",
"dataSourceType": "DatadogMetrics",
"queryDefinitions": {
"type": "Metrics",
"spec": {
"type": "text"
}
},
"healthSourceParams": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"variables": [
{
"name": "text",
"type": "String",
"required": true,
"description": "text",
"metadata": "text"
}
]
}Creates a new Health Source for verifying metrics or logs
{
"status": "SUCCESS",
"data": {
"accountId": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"identifier": "text",
"name": "text",
"connectorRef": "text",
"mcpRef": "text",
"dataSourceType": "DatadogMetrics",
"queryDefinitions": {
"type": "Metrics",
"spec": {
"type": "text"
}
},
"healthSourceParams": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"variables": [
{
"name": "text",
"type": "String",
"required": true,
"description": "text",
"metadata": "text"
}
],
"createdAt": 1,
"lastUpdatedAt": 1
},
"metaData": {},
"correlationId": "text"
}Account Identifier
Organization Identifier
Project Identifier
This contains details of the Health Source configuration
Identifier of the Health Source
Name of the Health Source
Connector reference for the data source
MCP reference for AI/ML capabilities
Type of data source
Updates an existing Health Source configuration
PUT /health-sources?accountIdentifier=text HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Content-Type: application/json
Accept: */*
Content-Length: 325
{
"identifier": "text",
"name": "text",
"connectorRef": "text",
"mcpRef": "text",
"dataSourceType": "DatadogMetrics",
"queryDefinitions": {
"type": "Metrics",
"spec": {
"type": "text"
}
},
"healthSourceParams": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"variables": [
{
"name": "text",
"type": "String",
"required": true,
"description": "text",
"metadata": "text"
}
]
}Updates an existing Health Source configuration
{
"status": "SUCCESS",
"data": {
"accountId": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"identifier": "text",
"name": "text",
"connectorRef": "text",
"mcpRef": "text",
"dataSourceType": "DatadogMetrics",
"queryDefinitions": {
"type": "Metrics",
"spec": {
"type": "text"
}
},
"healthSourceParams": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"variables": [
{
"name": "text",
"type": "String",
"required": true,
"description": "text",
"metadata": "text"
}
],
"createdAt": 1,
"lastUpdatedAt": 1
},
"metaData": {},
"correlationId": "text"
}Health Source Identifier
Account Identifier
Organization Identifier
Project Identifier
Retrieves a Health Source by its identifier
GET /health-sources/{identifier}?accountIdentifier=text HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Accept: */*
Retrieves a Health Source by its identifier
{
"status": "SUCCESS",
"data": {
"accountId": "text",
"orgIdentifier": "text",
"projectIdentifier": "text",
"identifier": "text",
"name": "text",
"connectorRef": "text",
"mcpRef": "text",
"dataSourceType": "DatadogMetrics",
"queryDefinitions": {
"type": "Metrics",
"spec": {
"type": "text"
}
},
"healthSourceParams": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"variables": [
{
"name": "text",
"type": "String",
"required": true,
"description": "text",
"metadata": "text"
}
],
"createdAt": 1,
"lastUpdatedAt": 1
},
"metaData": {},
"correlationId": "text"
}Health Source Identifier
Account Identifier
Organization Identifier
Project Identifier
Deletes a Health Source by its identifier
DELETE /health-sources/{identifier}?accountIdentifier=text HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Accept: */*
Deletes a Health Source by its identifier
{
"status": "SUCCESS",
"data": true,
"metaData": {},
"correlationId": "text"
}Health Source Identifier
Account Identifier
Organization Identifier
Project Identifier
Returns only the fields marked as <+input> on the saved HealthSource. Embed runtimeInputYaml directly as healthSourceInputs in the AI Verify step YAML.
GET /health-sources/{identifier}/runtime-inputs?accountIdentifier=text HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Accept: */*
Returns only the fields marked as <+input> on the saved HealthSource. Embed runtimeInputYaml directly as healthSourceInputs in the AI Verify step YAML.
{
"status": "SUCCESS",
"data": {
"hasRuntimeInputs": true,
"runtimeInputYaml": "text",
"runtimeInputs": {}
},
"metaData": {},
"correlationId": "text"
}Last updated
Was this helpful?