Get an analyzer definition in Dynatrace with the Davis AI Predictive and Causal API and retrieve all available meta-information for the named analyzer.
| GET | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/davis/analyzers/v1/analyzers/{analyzer-name} |
You provide the analyzer-name path parameter to identify the analyzer definition you want. The response returns the definition of the requested analyzer.
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.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| analyzer-name | string | The name of the analyzer. | path | Required |
| Code | Type | Description |
|---|---|---|
| 200 | Analyzer | The definition of the requested analyzer. |
| 400 | Analyzer | Invalid or malformed request. |
| 403 | Analyzer | Insufficient permissions. |
| 404 | Analyzer | No analyzer available with the requested name. |
| 4XX | Analyzer | Client error. |
| 5XX | Analyzer | Internal server error. |
AnalyzerDefinition objectThe definition of the analyzer. It describes which input and output data the analyzer accepts and produces when being executed.
| Element | Type | Description |
|---|---|---|
| name | string | The uniquely identifying name of the analyzer. |
| displayName | string | - |
| description | string | Detailed description of the analyzers' functionality. Get the documentation of the analyzer for more information. |
| category | Analyzer | The category of an analyzer used to logically group different analyzers. |
| type | string | The type of the analyzer.
The element can hold these values
|
| labels | string[] | A list of string-based labels to group and mark different analyzers. |
| baseAnalyzer | string | The analyzer name that the current analyzer is based on. All input and output parameters are inherited. Additional parameters may be present in the current analyzer. |
| input | Parameter | - |
| output | Parameter | - |
AnalyzerCategory objectThe category of an analyzer used to logically group different analyzers.
| Element | Type | Description |
|---|---|---|
| displayName | string | - |
ParameterDefinition objectThe definition for a single parameter, describing its name and other meta information.
| Element | Type | Description |
|---|---|---|
| name | string | - |
| type | string | The type of the parameter, indicating the format of the value to be provided. The element can hold these values
|
| displayName | string | - |
| description | string | - |
| advanced | boolean | If true, this parameter is considered to be for advanced usage. |
| extendedType | string | Provides extended type information for this parameter. This allows additional semantics that can be utilized by analyzer consumers. |
| optional | boolean | Whether this parameter can be omitted when executing the analyzer. |
| array | boolean | Whether this parameter can have an array of values. Passing a single, non-array value is also allowed. |
| defaultValue | - | The default value used when the parameter is omitted. |
| maxSize | integer | The maximum number of elements if the parameter is an array. |
| valueConstraints | object | Defines value constraints for string or number parameters. Not applicable to other parameter types. |
| enumerationValues | Enumeration | - |
| fields | Parameter | Given the parameter is of type |
EnumerationElement objectAn object that has a fixed set of possible values differentiated by the key property.
| Element | Type | Description |
|---|---|---|
| key | string | - |
| displayName | string | - |
| description | string | - |
AnalyzerErrorEnvelope object| Element | Type | Description |
|---|---|---|
| error | Analyzer | The error that is returned for unsuccessful responses. |
AnalyzerError objectThe error that is returned for unsuccessful responses.
| Element | Type | Description |
|---|---|---|
| code | integer | The HTTP status code of the error. |
| message | string | - |
| details | Analyzer | - |
AnalyzerErrorDetails object| Element | Type | Description |
|---|---|---|
| constraintViolations | Constraint | - |
ConstraintViolation objectA constraint violation indicating why an error has occurred.
AnalyzerExecutionLog object| Element | Type | Description |
|---|---|---|
| level | Analyzer | Determines the severity of the log. The element can hold these values
|
| message | string | - |
| path | string | A path pointing to the source of the error in the input. The format of the path follows the JSON path specification. |
AnalyzerExecutionLogLevel objectDetermines the severity of the log.
{"name": "string","displayName": "string","description": "string","category": {"displayName": "string"},"type": "IMPLEMENTED","labels": ["string"],"baseAnalyzer": "string","input": [{"name": "string","type": "analyzerStructure","displayName": "string","description": "string","advanced": true,"extendedType": "string","optional": true,"array": true,"defaultValue": {},"maxSize": 1,"valueConstraints": {},"enumerationValues": [{"key": "string","displayName": "string","description": "string"}],"fields": [{}]}],"output": [{}]}
{"error": {"code": 400,"message": "string","details": {"constraintViolations": [{"level": "TRACING","message": "string","path": "string"}]}}}