Try it free

Validate analyzer input

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Validate analyzer input in Dynatrace with the Davis AI Predictive and Causal API before execution, using the same input you plan to run.

POSTSaaShttps://{your-environment-id}.apps.dynatrace.com/platform/davis/analyzers/v1/analyzers/{analyzer-name}:validate

Overview

You provide the analyzer-name path parameter and the input you plan to use for execution. The response returns the validation result for the requested analyzer execution.

Authentication

To execute this request, you need a platform token or OAuth access token with davis:analyzers:execute scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
analyzer-namestring

The name of the analyzer.

pathRequired
bodyAnalyzerData

The map of actual data matching the input and output definition of the analyzer.

bodyRequired

Request body objects

The AnalyzerData object

The map of actual data matching the input and output definition of the analyzer.

ElementTypeDescriptionRequired
generalParametersAnalyzerGeneralParameters

Parameters that are present in all analyzer input parameter definitions.

Optional

The object

The AnalyzerGeneralParameters object

Parameters that are present in all analyzer input parameter definitions.

ElementTypeDescriptionRequired
timeframeTimeframe-Optional
resolveDimensionalQueryDataboolean-Optional
logVerbosityAnalyzerExecutionLogLevel

Determines the severity of the log.

The element can hold these values
  • TRACING
  • INFO
  • WARNING
  • SEVERE
Optional

The Timeframe object

ElementTypeDescriptionRequired
startTimestring

Specify the start time in either absolute or relative format. For absolute format, use the ISO 8601 format (yyyy-MM-ddTHH:mm:ssZ). For relative format, use 'now' for the current time or apply an offset with the available units: 's' for seconds, 'm' for minutes, 'h' for hours, and 'd' for days. For example, use 'now-2h' or '-2h' for a relative offset of 2 hours.

Required
endTimestring

Specify the end time in either absolute or relative format. For absolute format, use the ISO 8601 format (yyyy-MM-ddTHH:mm:ssZ). For relative format, use 'now' for the current time or apply an offset with the available units: 's' for seconds, 'm' for minutes, 'h' for hours, and 'd' for days. For example, use 'now-2h' or '-2h' for a relative offset of 2 hours. If not specified, defaults to now.

Optional

The AnalyzerExecutionLogLevel object

Determines the severity of the log.

Request body JSON model

This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.

{
"$ref": "#/components/examples/AnalyzerData"
}

Response

Response codes

CodeTypeDescription
200AnalyzerValidationResult

The validation result for the requested analyzer execution.

400AnalyzerErrorEnvelope

No analyzer available with the requested name.

403AnalyzerErrorEnvelope

Insufficient permissions.

404AnalyzerErrorEnvelope

Not found

4XXAnalyzerErrorEnvelope

Client error.

5XXAnalyzerErrorEnvelope

Internal server error.

Response body objects

The AnalyzerValidationResult object

The result of the dry-execution of the analyzer.

ElementTypeDescription
validboolean

Whether the analyzer can be successfully executed with the given input data.

detailsAnalyzerErrorDetails-

The AnalyzerErrorDetails object

ElementTypeDescription
constraintViolationsConstraintViolation[]-

The ConstraintViolation object

A constraint violation indicating why an error has occurred.

The AnalyzerExecutionLog object

ElementTypeDescription
levelAnalyzerExecutionLogLevel

Determines the severity of the log.

The element can hold these values
  • TRACING
  • INFO
  • WARNING
  • SEVERE
messagestring-
pathstring

A path pointing to the source of the error in the input. The format of the path follows the JSON path specification.

The AnalyzerExecutionLogLevel object

Determines the severity of the log.

The AnalyzerErrorEnvelope object

ElementTypeDescription
errorAnalyzerError

The error that is returned for unsuccessful responses.

The AnalyzerError object

The error that is returned for unsuccessful responses.

ElementTypeDescription
codeinteger

The HTTP status code of the error.

messagestring-
detailsAnalyzerErrorDetails-

The AnalyzerErrorDetails object

ElementTypeDescription
constraintViolationsConstraintViolation[]-

The ConstraintViolation object

A constraint violation indicating why an error has occurred.

The AnalyzerExecutionLog object

ElementTypeDescription
levelAnalyzerExecutionLogLevel

Determines the severity of the log.

The element can hold these values
  • TRACING
  • INFO
  • WARNING
  • SEVERE
messagestring-
pathstring

A path pointing to the source of the error in the input. The format of the path follows the JSON path specification.

The AnalyzerExecutionLogLevel object

Determines the severity of the log.

Response body JSON models

{
"valid": true,
"details": {
"constraintViolations": [
{
"level": "TRACING",
"message": "string",
"path": "string"
}
]
}
}
{
"error": {
"code": 400,
"message": "string",
"details": {
"constraintViolations": [
{
"level": "TRACING",
"message": "string",
"path": "string"
}
]
}
}
}
Related tags
Platform APIDynatrace PlatformAI Observability