Instana · Schema

TraceActivityTreeNodeDetails

APMInfrastructureMonitoringObservabilityTracing

Properties

Name Type Description
batchSelfTime integer Sum of all self times in a batch of calls. For example, if 5 calls are in a batch and its self times are : `[1,2,3,4,5]` in milliseconds, then the batch self time would be sum of the self times, in th
batchSize integer Number of calls in a batch.
destination object
duration integer The total time taken for the entire operation of a call, from the moment the request was initiated to when the response was received. The time measured is in milliseconds. This is also known as latenc
errorCount integer Represents whether the call is erroneous or not. 0 is not erroneous and 1 is erroneous.
id string The call ID. A unique identifier for an individual call. For example: `1bcad5c82338deaf`.
isSynthetic boolean
label string Name of the call. For example: `GET /articles/:id`.
logs array Information about the logs attached to the call, if available.
minSelfTime integer The smallest self time in the batch. May be null to indicate that `minSelfTime` is unknown when this node has only an exit span and no children. The time measured is in milliseconds.
networkTime integer The time difference between the Exit Span Time of the caller and the Entry Span Time of the call. This value is measured in milliseconds and may be null if network time is not applicable.
rawSpanLoadError string Whether an error occurred loading raw spans from external storage.
source object
spans array Information about the spans from which the call is composed.
start integer The timestamp when the call or request was initiated. For example, Unix epoch time in milliseconds `1735532879870` is `Monday, 30 December 2024 04:27:59.870 GMT`
synthetic boolean
View JSON Schema on GitHub

JSON Schema

instana-trace-activity-tree-node-details-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/instana/json-schema/instana-trace-activity-tree-node-details-schema.json",
  "title": "TraceActivityTreeNodeDetails",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/instana-application-analyze-api-openapi.yml#/components/schemas/TraceActivityTreeNodeDetails",
  "type": "object",
  "properties": {
    "batchSelfTime": {
      "type": "integer",
      "format": "int64",
      "description": "Sum of all self times in a batch of calls.\nFor example, if 5 calls are in a batch and its self times are : `[1,2,3,4,5]` in milliseconds, then the batch self time would be sum of the self times,\nin this case, it will be 15 milliseconds.\n"
    },
    "batchSize": {
      "type": "integer",
      "format": "int32",
      "description": "Number of calls in a batch.",
      "minimum": 0
    },
    "destination": {
      "$ref": "#/$defs/SpanRelation"
    },
    "duration": {
      "type": "integer",
      "format": "int64",
      "description": "The total time taken for the entire operation of a call, from the moment the request was initiated to when the response was received. The time measured is in milliseconds. This is also known as latency of a call.",
      "minimum": 0
    },
    "errorCount": {
      "type": "integer",
      "format": "int32",
      "description": "Represents whether the call is erroneous or not. 0 is not erroneous and 1 is erroneous.",
      "minimum": 0
    },
    "id": {
      "type": "string",
      "description": "The call ID. A unique identifier for an individual call. For example: `1bcad5c82338deaf`."
    },
    "isSynthetic": {
      "type": "boolean",
      "writeOnly": true
    },
    "label": {
      "type": "string",
      "description": "Name of the call. For example: `GET /articles/:id`.",
      "maxLength": 128,
      "minLength": 0
    },
    "logs": {
      "type": "array",
      "description": "Information about the logs attached to the call, if available.",
      "items": {
        "$ref": "#/$defs/SpanExcerpt"
      },
      "uniqueItems": true
    },
    "minSelfTime": {
      "type": "integer",
      "format": "int64",
      "description": "The smallest self time in the batch. May be null to indicate that `minSelfTime` is unknown when this node has only an exit span and no children. The time measured is in milliseconds."
    },
    "networkTime": {
      "type": "integer",
      "format": "int64",
      "description": "The time difference between the Exit Span Time of the caller and the Entry Span Time of the call. This value is measured in milliseconds and may be null if network time is not applicable."
    },
    "rawSpanLoadError": {
      "type": "string",
      "description": "Whether an error occurred loading raw spans from external storage.",
      "enum": [
        "UNKNOWN_ERROR",
        "NOT_FOUND",
        "PERMISSION_DENIED",
        "NO_ERROR"
      ]
    },
    "source": {
      "$ref": "#/$defs/SpanRelation"
    },
    "spans": {
      "type": "array",
      "description": "Information about the spans from which the call is composed.",
      "items": {
        "$ref": "#/$defs/SpanExcerpt"
      },
      "maxItems": 2,
      "minItems": 1,
      "uniqueItems": true
    },
    "start": {
      "type": "integer",
      "format": "int64",
      "description": "The timestamp when the call or request was initiated. For example, Unix epoch time in milliseconds `1735532879870` is `Monday, 30 December 2024 04:27:59.870 GMT`",
      "minimum": 1
    },
    "synthetic": {
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "label",
    "logs",
    "spans"
  ],
  "$defs": {
    "Application": {
      "type": "object",
      "description": "Returns a list of Application Perspectives.",
      "properties": {
        "boundaryScope": {
          "type": "string",
          "description": "Here, `ALL` Application Boundary Scope is considered."
        },
        "entityType": {
          "type": "string",
          "description": "Since, this is an Application Perspective, it will be of type `APPLICATION`.",
          "enum": [
            "APPLICATION",
            "SERVICE",
            "ENDPOINT"
          ]
        },
        "id": {
          "type": "string",
          "description": "Unique ID of the Application Perspective. Eg: `Av62RoIKQv-A3n6DbMQh9g`."
        },
        "label": {
          "type": "string",
          "description": "Name of the Application Perspective. Eg: `app1`."
        }
      },
      "required": [
        "boundaryScope",
        "id",
        "label"
      ]
    },
    "CloudfoundryPhysicalContext": {
      "type": "object",
      "description": "Contains physical context of Cloudfoundry. It contains the following information:\n1. `application`: Application running within Cloud Foundry environment.\n2. `cfInstanceIndex`: A unique ID of the container created and managed by Garden in the Cloud Foundry environment.\n3. `organization`: Organization in the Cloud Foundry environment.\n4. `space`: Space within an organization in Cloud Foundry environment.\n",
      "properties": {
        "application": {
          "$ref": "#/$defs/SnapshotPreview"
        },
        "cfInstanceIndex": {
          "type": "string",
          "description": "A unique ID of the container created and managed by Garden in the Cloud Foundry environment."
        },
        "organization": {
          "$ref": "#/$defs/SnapshotPreview"
        },
        "space": {
          "$ref": "#/$defs/SnapshotPreview"
        }
      }
    },
    "DatabaseIntegration": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "Endpoint": {
      "type": "object",
      "properties": {
        "entityType": {
          "type": "string",
          "description": "Since, this is a Endpoint, it will be of type `ENDPOINT`.",
          "enum": [
            "APPLICATION",
            "SERVICE",
            "ENDPOINT"
          ]
        },
        "id": {
          "type": "string",
          "description": "Unique ID of the Endpoint. Eg: `NCRq5oYnan5x-PkdTPQwLLUdu5M`."
        },
        "isSynthetic": {
          "type": "boolean",
          "writeOnly": true
        },
        "label": {
          "type": "string",
          "description": "Name of the Endpoint. Eg: `GET /api/fetch`."
        },
        "serviceId": {
          "type": "string",
          "description": "The serviceId this endpoint belongs to."
        },
        "synthetic": {
          "type": "boolean"
        },
        "syntheticType": {
          "type": "string",
          "enum": [
            "NON_SYNTHETIC",
            "SYNTHETIC",
            "MIXED"
          ]
        },
        "technologies": {
          "type": "array",
          "description": "List of technologies: `Eg:[\"springbootApplicationContainer\"]`",
          "items": {
            "type": "string",
            "description": "List of technologies: `Eg:[\"springbootApplicationContainer\"]`"
          },
          "uniqueItems": true
        },
        "type": {
          "type": "string",
          "description": "The type of the Endpoint.",
          "enum": [
            "UNDEFINED",
            "RPC",
            "EVENT",
            "GRAPHQL",
            "BATCH",
            "SHELL",
            "HTTP",
            "SDK",
            "OPENTELEMETRY",
            "INTERNAL",
            "DATABASE",
            "MESSAGING",
            "PAGE",
            "PAGE_RESOURCE"
          ]
        }
      },
      "required": [
        "id",
        "label",
        "serviceId",
        "technologies",
        "type"
      ]
    },
    "KubernetesPhysicalContext": {
      "type": "object",
      "description": "Contains physical context of Kubernetes which contains information about the cluster, namespace, node and pod.",
      "properties": {
        "cluster": {
          "$ref": "#/$defs/SnapshotPreview"
        },
        "namespace": {
          "$ref": "#/$defs/SnapshotPreview"
        },
        "node": {
          "$ref": "#/$defs/SnapshotPreview"
        },
        "pod": {
          "$ref": "#/$defs/SnapshotPreview"
        }
      }
    },
    "PhysicalContext": {
      "type": "object",
      "description": "The physical context of an entity. This is typically used to describe where a host, container or process fits into the infrastructure.\n1. `cloudfoundry`: Contains physical context of Cloudfoundry.\n2. `cluster`: Contains physical context of cluster like Hazelcast, Elasticsearch.\n3. `container`: Contains physical context of container.\n4. `host`: Contains physical context of host.\n5. `kubernetes`: Contains physical context of Kubernetes.\n6. `process`: Contains physical context of a process.\n",
      "properties": {
        "cloudfoundry": {
          "$ref": "#/$defs/CloudfoundryPhysicalContext"
        },
        "cluster": {
          "$ref": "#/$defs/SnapshotPreview"
        },
        "container": {
          "$ref": "#/$defs/SnapshotPreview"
        },
        "host": {
          "$ref": "#/$defs/SnapshotPreview"
        },
        "kubernetes": {
          "$ref": "#/$defs/KubernetesPhysicalContext"
        },
        "process": {
          "$ref": "#/$defs/SnapshotPreview"
        }
      }
    },
    "Service": {
      "type": "object",
      "properties": {
        "entityType": {
          "type": "string",
          "description": "Since, this is a Service, it will be of type `SERVICE`.",
          "enum": [
            "APPLICATION",
            "SERVICE",
            "ENDPOINT"
          ]
        },
        "id": {
          "type": "string",
          "description": "Unique ID of the Service. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`."
        },
        "label": {
          "type": "string",
          "description": "Name of the Service. Eg: `payment`."
        },
        "snapshotIds": {
          "type": "array",
          "description": "A unique identifier the metrics are assigned to.",
          "items": {
            "type": "string",
            "description": "A unique identifier the metrics are assigned to."
          },
          "uniqueItems": true
        },
        "technologies": {
          "type": "array",
          "description": "List of technologies: `Eg:[\"springbootApplicationContainer\"]`",
          "items": {
            "type": "string",
            "description": "List of technologies: `Eg:[\"springbootApplicationContainer\"]`"
          },
          "uniqueItems": true
        },
        "types": {
          "type": "array",
          "description": "Shows types of Endpoints a Service can consist of. It may be one or more. Eg: `HTTP` `OPENTELEMETRY` can be in 1 Service.",
          "items": {
            "type": "string",
            "description": "Shows types of Endpoints a Service can consist of. It may be one or more. Eg: `HTTP` `OPENTELEMETRY` can be in 1 Service.",
            "enum": [
              "UNDEFINED",
              "RPC",
              "EVENT",
              "GRAPHQL",
              "BATCH",
              "SHELL",
              "HTTP",
              "SDK",
              "OPENTELEMETRY",
              "INTERNAL",
              "DATABASE",
              "MESSAGING",
              "PAGE",
              "PAGE_RESOURCE"
            ]
          },
          "uniqueItems": true
        }
      },
      "required": [
        "id",
        "label",
        "snapshotIds",
        "technologies",
        "types"
      ]
    },
    "SnapshotPreview": {
      "type": "object",
      "properties": {
        "data": {
          "type": "object",
          "additionalProperties": {
            "type": "object",
            "description": "Subset of the data section of the plugin. In most cases this field will be null."
          },
          "description": "Subset of the data section of the plugin. In most cases this field will be null."
        },
        "id": {
          "type": "string",
          "description": "This is a snapshot ID. A unique identifier the metrics are assigned to."
        },
        "label": {
          "type": "string",
          "description": "Name of the entity."
        },
        "plugin": {
          "type": "string",
          "description": "A short plugin ID. For example, `containerd`, `nginx` etc."
        },
        "time": {
          "type": "integer",
          "format": "int64",
          "description": "Specifies the exact point at which the id, label and plugin are valid.",
          "minimum": 1
        }
      },
      "required": [
        "id"
      ]
    },
    "SpanExcerpt": {
      "type": "object",
      "description": "Information about the logs attached to the call, if available.",
      "properties": {
        "data": {
          "type": "object",
          "additionalProperties": {
            "type": "object",
            "description": "Some information about the span, like service name, if it is an http call, then some information about it like, path, method, host, errors etc."
          },
          "description": "Some information about the span, like service name, if it is an http call, then some information about it like, path, method, host, errors etc."
        },
        "databaseIntegrations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DatabaseIntegration"
          }
        },
        "duration": {
          "type": "integer",
          "format": "int64",
          "description": "The total time taken for the entire operation of a call, from the moment the request was initiated to when the response was received. The time measured is in milliseconds. This is also known as latency of a call.",
          "minimum": 0
        },
        "errorCount": {
          "type": "integer",
          "format": "int32",
          "description": "Represents whether the span is erroneous or not. 0 is not erroneous and 1 is erroneous.",
          "minimum": 0
        },
        "foreignParentId": {
          "type": "string"
        },
        "id": {
          "type": "string",
          "description": "The call ID. A unique identifier for an individual call. For example: `1bcad5c82338deaf`."
        },
        "kind": {
          "type": "string",
          "description": "There are 4 types of span kind:\n1. `ENTRY`: An entry span represents an incoming request into a traced service.\n2. `EXIT`: An exit span represents an outgoing request that a service makes to some other service.\n3. `INTERMEDIATE`: An intermediate span represents anything that happens inside a traced service where the flow of control neither enters nor leaves that service, but stays inside it.\n4. `UNKNOWN`: Instana can't determine the span kind.\n",
          "enum": [
            "UNKNOWN",
            "ENTRY",
            "EXIT",
            "INTERMEDIATE"
          ]
        },
        "name": {
          "type": "string",
          "description": "The technical type of the span. For example, `node.http.client` or `jdbc`."
        },
        "parentId": {
          "type": "string",
          "description": "The parent call id, referring to another call in the same trace which triggered the processing associated with this call."
        },
        "stackTrace": {
          "type": "array",
          "description": "For an erroneous call, if stack trace is available it will show a list of items containing file, method and line number of the code.",
          "items": {
            "$ref": "#/$defs/StackTraceItem"
          }
        },
        "start": {
          "type": "integer",
          "format": "int64",
          "description": "The timestamp when the call or request was initiated. For example, Unix epoch time in milliseconds `1735532879870` is `Monday, 30 December 2024 04:27:59.870 GMT`",
          "minimum": 1
        }
      },
      "required": [
        "data",
        "id",
        "kind",
        "name",
        "stackTrace"
      ]
    },
    "SpanRelation": {
      "type": "object",
      "description": "It shows from where the call is destined to. It includes the following information:\n1. List of Application Perspectives from which the call is destined to.\n2. Destination service and destination endpoint.\n3. Physical context from the infrastructure point of view.\n",
      "properties": {
        "applications": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Application"
          },
          "uniqueItems": true
        },
        "endpoint": {
          "$ref": "#/$defs/Endpoint"
        },
        "physicalContext": {
          "$ref": "#/$defs/PhysicalContext"
        },
        "service": {
          "$ref": "#/$defs/Service"
        }
      },
      "required": [
        "applications"
      ]
    },
    "StackTraceItem": {
      "type": "object",
      "description": "For an erroneous call, if stack trace is available it will show a list of items containing file, method and line number of the code.",
      "properties": {
        "file": {
          "type": "string",
          "description": "The name of the file where the executed code resides."
        },
        "line": {
          "type": "string",
          "description": "The line number within the file where the error was thrown."
        },
        "method": {
          "type": "string",
          "description": "The name of the method or function being executed at the time the stack trace item was generated."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/instana-trace-activity-tree-node-details"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.