Try it free

Get analyzer input JSON schema

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Get an analyzer input JSON schema in Dynatrace with the Davis AI Predictive and Causal API to document the analyzer input structure in machine-readable form.

GETSaaShttps://{your-environment-id}.apps.dynatrace.com/platform/davis/analyzers/v1/analyzers/{analyzer-name}/json-schema/input

Overview

You provide the analyzer-name path parameter and can use config to shape JSON schema generation. The response returns the JSON input schema of the requested analyzer.

Authentication

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

Parameters

ParameterTypeDescriptionInRequired
analyzer-namestring

The name of the analyzer.

pathRequired
configJsonSchemaConfig

The configuration for the JSON schema generation.

The element can hold these values
  • DEFAULT
  • LLM
queryOptional

Response

Response codes

CodeTypeDescription
200object

The JSON input schema of the requested analyzer.

400AnalyzerErrorEnvelope

Invalid or malformed request.

403AnalyzerErrorEnvelope

Insufficient permissions.

404AnalyzerErrorEnvelope

No analyzer available with the requested name.

4XXAnalyzerErrorEnvelope

Client error.

5XXAnalyzerErrorEnvelope

Internal server error.

Response body objects

The ResponseBody object

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

{
"title": "Input for Generic Forecast Analysis",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Forecast of a time series",
"type": "object",
"additionalProperties": false,
"required": [
"timeSeriesData"
],
"properties": {
"generalParameters": {
"title": "General parameters",
"description": "Parameters available for each analyzer.",
"default": {
"timeframe": {},
"resolveDimensionalQueryData": false,
"logVerbosity": "WARNING"
},
"x-parameter-type": "analyzerStructure",
"type": "object",
"additionalProperties": false,
"properties": {
"timeframe": {
"title": "Timeframe",
"description": "By default, the general timeframe for queries is the last 2 hours from now.",
"default": {},
"x-parameter-type": "timeframe",
"type": "object",
"additionalProperties": false,
"properties": {
"startTime": {
"title": "Start time",
"description": "Supports absolute or relative timestamps. Specify an absolute time in the ISO 8601 (yyyy-MM-ddTHH:mm:ssZ) format or use a relative time such as 'now-2h'.",
"type": "string",
"format": "dt-date-time",
"examples": [
"2023-04-10T12:00:00Z"
],
"default": "now-2h"
},
"endTime": {
"title": "End time",
"type": "string",
"format": "dt-date-time",
"examples": [
"2023-04-12T12:00:00Z"
],
"default": "now"
}
},
"required": [
"startTime"
],
"examples": [
{
"startTime": "2023-04-10T12:00Z"
},
{
"startTime": "2023-04-10T12:00Z",
"endTime": "2023-04-12T12:00Z"
}
]
},
"resolveDimensionalQueryData": {
"title": "Resolve data",
"description": "Include output query results in analysis result.",
"default": false,
"x-parameter-type": "boolean",
"type": "boolean"
},
"logVerbosity": {
"title": "Log verbosity",
"description": "Controls the level of log details in analysis result.",
"default": "WARNING",
"x-parameter-type": "enumeration",
"type": "string",
"anyOf": [
{
"title": "Tracing",
"description": "Tracing",
"enum": [
"TRACING"
]
},
{
"title": "Info",
"description": "Info",
"enum": [
"INFO"
]
},
{
"title": "Warning",
"description": "Warning",
"enum": [
"WARNING"
]
},
{
"title": "Severe",
"description": "Severe",
"enum": [
"SEVERE"
]
}
]
}
}
},
"timeSeriesData": {
"title": "Time series data",
"description": "Time series data or query to analyze. Supports the Dynatrace Query Language (DQL).",
"x-parameter-type": "timeseriesQuery",
"type": "string"
},
"coverageProbability": {
"title": "Coverage probability",
"description": "The forecast's targeted coverage probability. Defines how many of the observations (in percent) lie within the prediction interval.",
"default": 0.9,
"x-parameter-type": "double",
"type": "number",
"minimum": 0,
"maximum": 1
},
"forecastHorizon": {
"title": "Data points to predict",
"description": "Total steps the time series is forecasted. More steps generally results in less reliable forecasts and longer analyzer runtimes.",
"default": 100,
"x-parameter-type": "integer",
"type": "integer",
"minimum": 1,
"maximum": 600
},
"nPaths": {
"title": "Number of paths",
"description": "Total simulated paths. As the forecasting algorithm uses a simulation-based approach, more paths generally result in more accurate forecasts but can increase analyzer runtimes.",
"default": 200,
"x-parameter-type": "integer",
"type": "integer",
"minimum": 0,
"maximum": 1000
},
"applyZeroLowerBoundHeuristic": {
"title": "Apply zero lower bound heuristic",
"description": "Apply a lower bound of zero.",
"default": false,
"x-parameter-type": "boolean",
"type": "boolean"
},
"useModelCache": {
"title": "Trained model is stored",
"description": "If true, the trained model is stored in and loaded from the model store. If false, a new model will be trained.",
"default": true,
"x-parameter-type": "boolean",
"type": "boolean"
}
}
}
{
"error": {
"code": 400,
"message": "string",
"details": {
"constraintViolations": [
{
"level": "TRACING",
"message": "string",
"path": "string"
}
]
}
}
}
Related tags
Platform APIDynatrace PlatformAI Observability