For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Healthsources

This contains APIs related to CV Health Sources

List Health Sources

get
Query parameters
accountIdentifierstringRequired

Account Identifier

orgIdentifierstringOptional

Organization Identifier

projectIdentifierstringOptional

Project Identifier

Responses
default

Lists all Health Sources for the given scope

statusstring · enumOptionalPossible values:
metaDataobjectOptional
correlationIdstringOptional
get/health-sources
GET /health-sources?accountIdentifier=text HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Accept: */*
default

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

Create a Health Source

post
Query parameters
accountIdentifierstringRequired

Account Identifier

orgIdentifierstringOptional

Organization Identifier

projectIdentifierstringOptional

Project Identifier

Body

This contains details of the Health Source configuration

identifierstringRequired

Identifier of the Health Source

namestringRequired

Name of the Health Source

connectorRefstringRequired

Connector reference for the data source

mcpRefstringOptional

MCP reference for AI/ML capabilities

dataSourceTypestring · enumRequired

Type of data source

Possible values:
Responses
default

Creates a new Health Source for verifying metrics or logs

statusstring · enumOptionalPossible values:
metaDataobjectOptional
correlationIdstringOptional
post/health-sources
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"
    }
  ]
}
default

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

Update a Health Source

put
Query parameters
accountIdentifierstringRequired

Account Identifier

orgIdentifierstringOptional

Organization Identifier

projectIdentifierstringOptional

Project Identifier

Body

This contains details of the Health Source configuration

identifierstringRequired

Identifier of the Health Source

namestringRequired

Name of the Health Source

connectorRefstringRequired

Connector reference for the data source

mcpRefstringOptional

MCP reference for AI/ML capabilities

dataSourceTypestring · enumRequired

Type of data source

Possible values:
Responses
default

Updates an existing Health Source configuration

statusstring · enumOptionalPossible values:
metaDataobjectOptional
correlationIdstringOptional
put/health-sources
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"
    }
  ]
}
default

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

Get a Health Source

get
Path parameters
identifierstringRequired

Health Source Identifier

Query parameters
accountIdentifierstringRequired

Account Identifier

orgIdentifierstringOptional

Organization Identifier

projectIdentifierstringOptional

Project Identifier

Responses
default

Retrieves a Health Source by its identifier

statusstring · enumOptionalPossible values:
metaDataobjectOptional
correlationIdstringOptional
get/health-sources/{identifier}
GET /health-sources/{identifier}?accountIdentifier=text HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Accept: */*
default

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

Delete a Health Source

delete
Path parameters
identifierstringRequired

Health Source Identifier

Query parameters
accountIdentifierstringRequired

Account Identifier

orgIdentifierstringOptional

Organization Identifier

projectIdentifierstringOptional

Project Identifier

Responses
default

Deletes a Health Source by its identifier

statusstring · enumOptionalPossible values:
databooleanOptional
metaDataobjectOptional
correlationIdstringOptional
delete/health-sources/{identifier}
DELETE /health-sources/{identifier}?accountIdentifier=text HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Accept: */*
default

Deletes a Health Source by its identifier

{
  "status": "SUCCESS",
  "data": true,
  "metaData": {},
  "correlationId": "text"
}

Get runtime inputs for a Health Source

get
Path parameters
identifierstringRequired

Health Source Identifier

Query parameters
accountIdentifierstringRequired

Account Identifier

orgIdentifierstringOptional

Organization Identifier

projectIdentifierstringOptional

Project Identifier

Responses
default

Returns only the fields marked as <+input> on the saved HealthSource. Embed runtimeInputYaml directly as healthSourceInputs in the AI Verify step YAML.

statusstring · enumOptionalPossible values:
metaDataobjectOptional
correlationIdstringOptional
get/health-sources/{identifier}/runtime-inputs
GET /health-sources/{identifier}/runtime-inputs?accountIdentifier=text HTTP/1.1
Host: cv-nextgen-94fb8b655-lbzqs
Accept: */*
default

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?