This section contains all entity types that are considered Generative AI entities.
Get an overview of all GenAI entities.
smartscapeNodes "GENAI_*"
Count all GenAI entities, grouped by entity type.
smartscapeNodes "GENAI_*"| summarize count(), by: {type}
Get an overview of all GenAI relationships, grouped by source type, relationship type, and target type.
smartscapeEdges "*"| filter startsWith(source_type, "GENAI")| summarize count(), by: {source_type, type, target_type}
Fields shared across all GenAI entities.
| Attribute | Type | Description | Examples |
|---|---|---|---|
gen_ai.provider.name | string | experimental Display name: Provider nameName of GenAI product being used. | aws_bedrock; openai |
gen_ai.provider.name has the following list of well-known values. If one of them applies, then the respective value MUST be used, otherwise a custom value MAY be used.
| Value | Description | Display name |
|---|---|---|
anthropic | Anthropic | Anthropic |
aws.bedrock | Amazon Bedrock | Amazon Bedrock |
cohere | Cohere | Cohere |
deepseek | DeepSeek | DeepSeek |
gcp.gemini | Google Gemini | Google Gemini |
gcp.vertex_ai | Google Vertex AI | Google Vertex AI |
groq | Groq | Groq |
ibm.watsonx.ai | IBM Watsonx AI | IBM Watsonx AI |
microsoft.foundry | Microsoft Foundry | Microsoft Foundry |
mistral | Mistral | Mistral |
ollama | Ollama | Ollama |
openai | OpenAI | OpenAI |
perplexity | Perplexity | Perplexity |
x_ai | xAI | xAI |
Smartscape node name: gen_ai.agent.name
Smartscape node type: GENAI_AGENT
This entity represents an agent, an autonomous component that orchestrates LLM calls and tool use.
Required span attributes (all three must be present for the entity to be created):
gen_ai.agent.name: identifies the agent (for example, pricing)gen_ai.provider.name: the LLM provider called by the agent (for example, openai); also required for GENAI_PROVIDER entity creation and the calls topology edgedt.smartscape.service: the service the agent runs in; derived from service.name via UNIFIED_SERVICE_DETECTIONThe model attributes (gen_ai.request.model, gen_ai.response.model) are not required for the agent entity itself, but are needed for the GENAI_MODEL entity to be created and for the uses edge to appear in the topology.
Example span attributes:
gen_ai.agent.name = pricinggen_ai.provider.name = openaigen_ai.request.model = gpt-4o
Fetch all Smartscape nodes from the smartscape.nodes table and filter for the entity type "GENAI_AGENT".
smartscapeNodes GENAI_AGENT
Count all agent relationships, grouped by relationship type (uses, calls, is_part_of).
smartscapeEdges "*"| filter source_type == "GENAI_AGENT"| summarize count(), by: {type}
Find all models used by a specific agent, showing both agent and model name.
smartscapeNodes GENAI_AGENT| filter startsWith(name, "FAQ")| traverse {uses}, {GENAI_MODEL}| fieldsAdd gen_ai.agent.name = getNodeName(dt.traverse.history[0][id])| fieldsKeep id, lifetime, name, gen_ai.agent.name
Find all providers called by any agent, showing both agent and provider name.
smartscapeNodes GENAI_AGENT| traverse {calls}, {GENAI_PROVIDER}| fieldsAdd gen_ai.agent.name = getNodeName(dt.traverse.history[0][id])| fieldsKeep id, lifetime, name, gen_ai.agent.name
Fetch spans from agents and enrich each span with the corresponding agent entity metadata.
fetch spans| filter isNotNull(gen_ai.agent.name)| fieldsAdd agent_entity = lookup([smartscapeNodes GENAI_AGENT| fields id, name, gen_ai.provider.name], sourceField: gen_ai.agent.name, lookupField: name)
The following base fields are used for all entities.
| Attribute | Type | Description | Examples |
|---|---|---|---|
id | smartscapeId | stable Display name: IDA Smartscape ID consists of two components: an UPPER_CASE entity type and a random 16-character hexadecimal unique identifier, separated by a dash. Use Smartscape conversion functions when working with strings that represent Smartscape IDs. | <type>-017198AD253CBD63 |
id_classic | string | deprecated Display name: Classic IDThe entity ID that was used in the classic entity store. This ID is present in old monitoring data. Not all entities have this ID, and it is not generated for new entities. Use the id field instead, which is the Smartscape ID. | <type>-017198AD253CBD63 |
name | string | stable Display name: NameThe entity name. | localhost; easyTravel; product-catalog |
type | string | stable Display name: TypeThe entity type. UPPER_SNAKE_CASE string that represents the type of the entity. Tags: permission | TYPE_A |
tags | record | stable Display name: TagsA consolidated record that aggregates all tag values originating from different contexts. Each nested field within tags represents a specific key (for example, release or name). The value of each nested field is the tag value from one or multiple contexts. Tags for specific context can be queried via tags:context field. Note that rule-based tags do not exist in the new model. | tags[tag_key-1] = [context_A_tag_val-1, context_B_tag_val-1]; tags[tag_key-2] = context_C_tag_val-1; tags:context_A[tag_key-1] = context_A_tag_val-1 |
lifetime | timeframe | stable Display name: LifetimeThe lifetime of the entity. This is a record with two nested fields: start and end, which represent the time when the entity was first and last observed, respectively. Each time an entity is updated, the end time is updated to the current time. | { start: 2022-07-06T13:36:00.808Z, end: 2024-04-11T06:56:01.204Z } |
references | record | stable Display name: ReferencesProvides access to static edges pointing to other entities. In this record each nested field represents a relationship type and target type, and the value is an array of target Smartscape IDs. This field is hidden by default but can be added using the fieldsAdd command. | { references[runs_on.host] : [HOST-C251A1173C2B4B39,HOST-0E9038C7C4409D69], references[runs_on.container] : [CONTAINER-68A08967EF4F675B] } |
dt.security_context | string[] | resource stable Display name: DT security contextThe security contexts associated with the entity. For Smartscape entities, this field is always an array. Tags: permission | [] |
Fields specific to agent entities.
| Attribute | Type | Description | Examples |
|---|---|---|---|
gen_ai.agent.name | string | experimental Display name: Agent nameHuman-readable name of the GenAI agent provided by the application. | Math Tutor; Fiction Writer |
gen_ai.provider.name | string | experimental Display name: Provider nameName of GenAI product being used. | aws_bedrock; openai |
gen_ai.provider.name has the following list of well-known values. If one of them applies, then the respective value MUST be used, otherwise a custom value MAY be used.
| Value | Description | Display name |
|---|---|---|
anthropic | Anthropic | Anthropic |
aws.bedrock | Amazon Bedrock | Amazon Bedrock |
cohere | Cohere | Cohere |
deepseek | DeepSeek | DeepSeek |
gcp.gemini | Google Gemini | Google Gemini |
gcp.vertex_ai | Google Vertex AI | Google Vertex AI |
groq | Groq | Groq |
ibm.watsonx.ai | IBM Watsonx AI | IBM Watsonx AI |
microsoft.foundry | Microsoft Foundry | Microsoft Foundry |
mistral | Mistral | Mistral |
ollama | Ollama | Ollama |
openai | OpenAI | OpenAI |
perplexity | Perplexity | Perplexity |
x_ai | xAI | xAI |
Relationships of an agent entity.
| Type | Target type | Kind | Description |
|---|---|---|---|
uses | GENAI_MODEL | dynamic | stable Similar to is_attached_to but in the opposite direction. Examples: EC2 Instance uses DHCP options, Auto Scaling Group uses EC2 Launch Template |
calls | GENAI_PROVIDER | dynamic | stable Defines a "horizontal" relationship between two entities that "call" each other. The "calls" relation does not imply a parent/child or other strong structural relation but rather a dynamic communication association. Examples: Typical examples include services calling other services, but also services calling databases, queue brokers, or other infrastructure entities. |
is_part_of | SERVICE | dynamic | stable Defines if the instance is part of a cluster, similar to a composition in UML. The source (child) cannot exist without the destination (parent). |
Smartscape node name: gen_ai.response.model
Smartscape node type: GENAI_MODEL
This entity represents a GenAI model. The entity is built based on the value of gen_ai.request.model and gen_ai.response.model, each only when the respective attribute is present. There are no precedence rules between the two variants; they are independent.
Fetch all Smartscape nodes from the smartscape.nodes table and filter for the entity type "GENAI_MODEL".
smartscapeNodes GENAI_MODEL
Find all agents that use a specific model, showing both model and agent name.
smartscapeNodes GENAI_MODEL| filter startsWith(name, "gpt")| traverse {uses}, {GENAI_AGENT}, direction:backward| fieldsAdd gen_ai.model.name = getNodeName(dt.traverse.history[0][id])| fieldsKeep id, lifetime, gen_ai.provider.name, gen_ai.model.name
Find all providers that serve a specific model, showing both model and provider name.
smartscapeNodes GENAI_MODEL| filter startsWith(name, "gpt")| traverse {belongs_to}, {GENAI_PROVIDER}, direction:backward| fieldsAdd gen_ai.model.name = getNodeName(dt.traverse.history[0][id])| fieldsKeep id, lifetime, name, gen_ai.model.name
The following base fields are used for all entities.
| Attribute | Type | Description | Examples |
|---|---|---|---|
id | smartscapeId | stable Display name: IDA Smartscape ID consists of two components: an UPPER_CASE entity type and a random 16-character hexadecimal unique identifier, separated by a dash. Use Smartscape conversion functions when working with strings that represent Smartscape IDs. | <type>-017198AD253CBD63 |
id_classic | string | deprecated Display name: Classic IDThe entity ID that was used in the classic entity store. This ID is present in old monitoring data. Not all entities have this ID, and it is not generated for new entities. Use the id field instead, which is the Smartscape ID. | <type>-017198AD253CBD63 |
name | string | stable Display name: NameThe entity name. | localhost; easyTravel; product-catalog |
type | string | stable Display name: TypeThe entity type. UPPER_SNAKE_CASE string that represents the type of the entity. Tags: permission | TYPE_A |
tags | record | stable Display name: TagsA consolidated record that aggregates all tag values originating from different contexts. Each nested field within tags represents a specific key (for example, release or name). The value of each nested field is the tag value from one or multiple contexts. Tags for specific context can be queried via tags:context field. Note that rule-based tags do not exist in the new model. | tags[tag_key-1] = [context_A_tag_val-1, context_B_tag_val-1]; tags[tag_key-2] = context_C_tag_val-1; tags:context_A[tag_key-1] = context_A_tag_val-1 |
lifetime | timeframe | stable Display name: LifetimeThe lifetime of the entity. This is a record with two nested fields: start and end, which represent the time when the entity was first and last observed, respectively. Each time an entity is updated, the end time is updated to the current time. | { start: 2022-07-06T13:36:00.808Z, end: 2024-04-11T06:56:01.204Z } |
references | record | stable Display name: ReferencesProvides access to static edges pointing to other entities. In this record each nested field represents a relationship type and target type, and the value is an array of target Smartscape IDs. This field is hidden by default but can be added using the fieldsAdd command. | { references[runs_on.host] : [HOST-C251A1173C2B4B39,HOST-0E9038C7C4409D69], references[runs_on.container] : [CONTAINER-68A08967EF4F675B] } |
dt.security_context | string[] | resource stable Display name: DT security contextThe security contexts associated with the entity. For Smartscape entities, this field is always an array. Tags: permission | [] |
Fields specific to model entities.
| Attribute | Type | Description | Examples |
|---|---|---|---|
gen_ai.request.model | string | experimental Display name: Request modelModel chosen to handle the request. | amazon.nova-micro-v1:0; anthropic.claude-3-7-sonnet-20250219-v1:0 |
gen_ai.response.model | string | experimental Display name: Response modelModel that handled the request. | amazon.nova-micro-v1:0; anthropic.claude-3-7-sonnet-20250219-v1:0 |
gen_ai.provider.name | string | experimental Display name: Provider nameName of GenAI product being used. | aws_bedrock; openai |
gen_ai.provider.name has the following list of well-known values. If one of them applies, then the respective value MUST be used, otherwise a custom value MAY be used.
| Value | Description | Display name |
|---|---|---|
anthropic | Anthropic | Anthropic |
aws.bedrock | Amazon Bedrock | Amazon Bedrock |
cohere | Cohere | Cohere |
deepseek | DeepSeek | DeepSeek |
gcp.gemini | Google Gemini | Google Gemini |
gcp.vertex_ai | Google Vertex AI | Google Vertex AI |
groq | Groq | Groq |
ibm.watsonx.ai | IBM Watsonx AI | IBM Watsonx AI |
microsoft.foundry | Microsoft Foundry | Microsoft Foundry |
mistral | Mistral | Mistral |
ollama | Ollama | Ollama |
openai | OpenAI | OpenAI |
perplexity | Perplexity | Perplexity |
x_ai | xAI | xAI |
Smartscape node name: gen_ai.provider.name
Smartscape node type: GENAI_PROVIDER
This entity represents a GenAI provider.
Fetch all Smartscape nodes from the smartscape.nodes table and filter for the entity type "GENAI_PROVIDER".
smartscapeNodes GENAI_PROVIDER
Find all agents calling a specific provider, showing agent name and provider.
smartscapeNodes GENAI_PROVIDER| filter name == "openai"| traverse {calls}, {GENAI_AGENT}, direction:backward| fieldsKeep id, lifetime, name, gen_ai.provider.name
List all provider–model pairs, showing which models each provider belongs to.
smartscapeEdges belongs_to| filter source_type == "GENAI_PROVIDER"| fieldsAdd provider_name = getNodeName(source_id), model_name = getNodeName(target_id)
The following base fields are used for all entities.
| Attribute | Type | Description | Examples |
|---|---|---|---|
id | smartscapeId | stable Display name: IDA Smartscape ID consists of two components: an UPPER_CASE entity type and a random 16-character hexadecimal unique identifier, separated by a dash. Use Smartscape conversion functions when working with strings that represent Smartscape IDs. | <type>-017198AD253CBD63 |
id_classic | string | deprecated Display name: Classic IDThe entity ID that was used in the classic entity store. This ID is present in old monitoring data. Not all entities have this ID, and it is not generated for new entities. Use the id field instead, which is the Smartscape ID. | <type>-017198AD253CBD63 |
name | string | stable Display name: NameThe entity name. | localhost; easyTravel; product-catalog |
type | string | stable Display name: TypeThe entity type. UPPER_SNAKE_CASE string that represents the type of the entity. Tags: permission | TYPE_A |
tags | record | stable Display name: TagsA consolidated record that aggregates all tag values originating from different contexts. Each nested field within tags represents a specific key (for example, release or name). The value of each nested field is the tag value from one or multiple contexts. Tags for specific context can be queried via tags:context field. Note that rule-based tags do not exist in the new model. | tags[tag_key-1] = [context_A_tag_val-1, context_B_tag_val-1]; tags[tag_key-2] = context_C_tag_val-1; tags:context_A[tag_key-1] = context_A_tag_val-1 |
lifetime | timeframe | stable Display name: LifetimeThe lifetime of the entity. This is a record with two nested fields: start and end, which represent the time when the entity was first and last observed, respectively. Each time an entity is updated, the end time is updated to the current time. | { start: 2022-07-06T13:36:00.808Z, end: 2024-04-11T06:56:01.204Z } |
references | record | stable Display name: ReferencesProvides access to static edges pointing to other entities. In this record each nested field represents a relationship type and target type, and the value is an array of target Smartscape IDs. This field is hidden by default but can be added using the fieldsAdd command. | { references[runs_on.host] : [HOST-C251A1173C2B4B39,HOST-0E9038C7C4409D69], references[runs_on.container] : [CONTAINER-68A08967EF4F675B] } |
dt.security_context | string[] | resource stable Display name: DT security contextThe security contexts associated with the entity. For Smartscape entities, this field is always an array. Tags: permission | [] |
Fields specific to provider entities.
| Attribute | Type | Description | Examples |
|---|---|---|---|
gen_ai.provider.name | string | experimental Display name: Provider nameName of GenAI product being used. | aws_bedrock; openai |
gen_ai.provider.name has the following list of well-known values. If one of them applies, then the respective value MUST be used, otherwise a custom value MAY be used.
| Value | Description | Display name |
|---|---|---|
anthropic | Anthropic | Anthropic |
aws.bedrock | Amazon Bedrock | Amazon Bedrock |
cohere | Cohere | Cohere |
deepseek | DeepSeek | DeepSeek |
gcp.gemini | Google Gemini | Google Gemini |
gcp.vertex_ai | Google Vertex AI | Google Vertex AI |
groq | Groq | Groq |
ibm.watsonx.ai | IBM Watsonx AI | IBM Watsonx AI |
microsoft.foundry | Microsoft Foundry | Microsoft Foundry |
mistral | Mistral | Mistral |
ollama | Ollama | Ollama |
openai | OpenAI | OpenAI |
perplexity | Perplexity | Perplexity |
x_ai | xAI | xAI |
Relationships of a GenAI provider entity.
| Type | Target type | Kind | Description |
|---|---|---|---|
belongs_to | GENAI_MODEL | dynamic | stable This is similar to an aggregation in UML. It is a many-to-many relationship without existential properties (the destination is not composed of the sources). |
Smartscape node name: dt.service.name
Smartscape node type: GENAI_SERVICE
This entity represents a GenAI service.
Fetch all Smartscape nodes from the smartscape.nodes table and filter for the entity type "GENAI_SERVICE".
smartscapeNodes GENAI_SERVICE
Find the underlying service entity for each GenAI service, showing both service and GenAI service name.
smartscapeNodes GENAI_SERVICE| traverse {instance_of}, {SERVICE}| fieldsAdd gen_ai.service.name = getNodeName(dt.traverse.history[0][id])| fieldsKeep id, lifetime, name, gen_ai.service.name
Count all service relationships, grouped by relationship type.
smartscapeEdges "*"| filter source_type == "GENAI_SERVICE"| summarize count(), by: {type}
The following base fields are used for all entities.
| Attribute | Type | Description | Examples |
|---|---|---|---|
id | smartscapeId | stable Display name: IDA Smartscape ID consists of two components: an UPPER_CASE entity type and a random 16-character hexadecimal unique identifier, separated by a dash. Use Smartscape conversion functions when working with strings that represent Smartscape IDs. | <type>-017198AD253CBD63 |
id_classic | string | deprecated Display name: Classic IDThe entity ID that was used in the classic entity store. This ID is present in old monitoring data. Not all entities have this ID, and it is not generated for new entities. Use the id field instead, which is the Smartscape ID. | <type>-017198AD253CBD63 |
name | string | stable Display name: NameThe entity name. | localhost; easyTravel; product-catalog |
type | string | stable Display name: TypeThe entity type. UPPER_SNAKE_CASE string that represents the type of the entity. Tags: permission | TYPE_A |
tags | record | stable Display name: TagsA consolidated record that aggregates all tag values originating from different contexts. Each nested field within tags represents a specific key (for example, release or name). The value of each nested field is the tag value from one or multiple contexts. Tags for specific context can be queried via tags:context field. Note that rule-based tags do not exist in the new model. | tags[tag_key-1] = [context_A_tag_val-1, context_B_tag_val-1]; tags[tag_key-2] = context_C_tag_val-1; tags:context_A[tag_key-1] = context_A_tag_val-1 |
lifetime | timeframe | stable Display name: LifetimeThe lifetime of the entity. This is a record with two nested fields: start and end, which represent the time when the entity was first and last observed, respectively. Each time an entity is updated, the end time is updated to the current time. | { start: 2022-07-06T13:36:00.808Z, end: 2024-04-11T06:56:01.204Z } |
references | record | stable Display name: ReferencesProvides access to static edges pointing to other entities. In this record each nested field represents a relationship type and target type, and the value is an array of target Smartscape IDs. This field is hidden by default but can be added using the fieldsAdd command. | { references[runs_on.host] : [HOST-C251A1173C2B4B39,HOST-0E9038C7C4409D69], references[runs_on.container] : [CONTAINER-68A08967EF4F675B] } |
dt.security_context | string[] | resource stable Display name: DT security contextThe security contexts associated with the entity. For Smartscape entities, this field is always an array. Tags: permission | [] |
Fields specific to service entities.
| Attribute | Type | Description | Examples |
|---|---|---|---|
dt.service.name | string | resource stable Display name: Service nameThe Dynatrace service name derived from service detection rules. It is equal to the Smartscape service node name. | OrderProcessingService; payment-api |
Relationships of a GenAI service entity.
| Type | Target type | Kind | Description |
|---|---|---|---|
instance_of | SERVICE | dynamic | stable Relationship field that contains all instance_of-relationships as nested fields.Opposite direction: instantiates |
uses | GENAI_MODEL | dynamic | stable Similar to is_attached_to but in the opposite direction. Examples: EC2 Instance uses DHCP options, Auto Scaling Group uses EC2 Launch Template |