Observe · Schema

ApmInvocationGraphResponse

The service dependency graph for the requested scope. `interval` echoes the resolved query window, `services` lists every service in the graph, and `invocations` lists the calls between them. A service that is never the `target` of a call is a root.

CompanyObservabilityMonitoringLogsMetricsTracesAPMSnowflake

Properties

Name Type Description
interval object
services array
invocations array
View JSON Schema on GitHub

JSON Schema

observeinc-apm-invocation-graph-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/observeinc/json-schema/observeinc-apm-invocation-graph-response-schema.json",
  "title": "ApmInvocationGraphResponse",
  "description": "The service dependency graph for the requested scope. `interval` echoes\nthe resolved query window, `services` lists every service in the graph,\nand `invocations` lists the calls between them. A service that is never\nthe `target` of a call is a root.\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/observeinc-apm-api-openapi.yml#/components/schemas/Apm-InvocationGraphResponse",
  "type": "object",
  "required": [
    "interval",
    "services",
    "invocations"
  ],
  "properties": {
    "interval": {
      "$ref": "#/$defs/Apm-Interval"
    },
    "services": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Apm-Service"
      }
    },
    "invocations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Apm-ServiceInvocation"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Apm-Interval": {
      "title": "ApmInterval",
      "type": "object",
      "description": "A `[startTime, endTime)` half-open window. Used both as the per-record\ntime slice on `MetricsRecord` and as the response-level executed-window\necho. RFC3339, startTime inclusive, endTime exclusive.\n",
      "required": [
        "startTime",
        "endTime"
      ],
      "properties": {
        "startTime": {
          "type": "string",
          "format": "date-time"
        },
        "endTime": {
          "type": "string",
          "format": "date-time"
        }
      },
      "additionalProperties": false
    },
    "Apm-InvocationParticipant": {
      "title": "ApmInvocationParticipant",
      "description": "Source or target end of a ServiceInvocation edge. endpointName is\npopulated only in focal-endpoint mode of /v1/apm/invocation-graph.\n",
      "allOf": [
        {
          "$ref": "#/$defs/Apm-ServiceIdentity"
        },
        {
          "type": "object",
          "properties": {
            "serviceNamespace": {
              "type": [
                "string",
                "null"
              ]
            },
            "type": {
              "oneOf": [
                {
                  "$ref": "#/$defs/Apm-ServiceType"
                },
                {
                  "type": "null"
                }
              ]
            },
            "language": {
              "type": [
                "string",
                "null"
              ]
            },
            "endpointName": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        }
      ]
    },
    "Apm-MetricRef": {
      "title": "ApmMetricRef",
      "type": "object",
      "description": "One queryable metric on Service.related.metrics. Names are the RED\nmetrics used for this row (call count, error count, duration). Every\nentry shares the same `attributeMapping` as `related.correlationTags`.\nPick the `serviceName` dimension from `Service.type`: `Service` →\n`service.name`, `Database` → `peer.db.name`, `Messaging` →\n`peer.messaging.system`, `ExternalCall` → `peer.server.address`.\nPrecedence is `Service` > `Database` > `Messaging` > `ExternalCall`.\nWhen `type` is null, use `service.name`.\n",
      "required": [
        "metricName",
        "dataset",
        "attributeMapping"
      ],
      "properties": {
        "metricName": {
          "type": "string"
        },
        "dataset": {
          "$ref": "#/$defs/DatasetRef"
        },
        "attributeMapping": {
          "type": "object",
          "additionalProperties": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "additionalProperties": false
    },
    "Apm-MetricsRecord": {
      "title": "ApmMetricsRecord",
      "type": "object",
      "description": "Closed RED carrier: invocationRatePerSecond, errorRatePerSecond,\ndurationP95Seconds. `series[]` is opt-in via expand=true on\n/v1/apm/services only.\n",
      "required": [
        "interval",
        "invocationRatePerSecond",
        "errorRatePerSecond",
        "durationP95Seconds"
      ],
      "properties": {
        "interval": {
          "$ref": "#/$defs/Apm-Interval"
        },
        "invocationRatePerSecond": {
          "type": [
            "number",
            "null"
          ]
        },
        "errorRatePerSecond": {
          "type": [
            "number",
            "null"
          ]
        },
        "durationP95Seconds": {
          "type": [
            "number",
            "null"
          ]
        },
        "series": {
          "type": "array",
          "description": "Per-bucket points over the same interval. Populated only when the\nendpoint documents an expand=true opt-in (see /v1/apm/services).\nAbsent on every other endpoint.\n",
          "items": {
            "$ref": "#/$defs/Apm-MetricsRecordPoint"
          }
        }
      },
      "additionalProperties": false
    },
    "Apm-MetricsRecordPoint": {
      "title": "ApmMetricsRecordPoint",
      "type": "object",
      "description": "One bucket inside MetricsRecord.series. timestamp = bucket start.",
      "required": [
        "timestamp",
        "invocationRatePerSecond",
        "errorRatePerSecond",
        "durationP95Seconds"
      ],
      "properties": {
        "timestamp": {
          "type": "string",
          "format": "date-time"
        },
        "invocationRatePerSecond": {
          "type": [
            "number",
            "null"
          ]
        },
        "errorRatePerSecond": {
          "type": [
            "number",
            "null"
          ]
        },
        "durationP95Seconds": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "Apm-Service": {
      "title": "ApmService",
      "description": "Service identity (OTel compound key) + RED snapshot under redMetrics +\nper-row related hints. ServiceInvocation uses `metrics` (not\n`redMetrics`) for the same MetricsRecord type — intentional asymmetry.\n",
      "allOf": [
        {
          "$ref": "#/$defs/Apm-ServiceIdentity"
        },
        {
          "type": "object",
          "required": [
            "redMetrics",
            "related"
          ],
          "properties": {
            "serviceNamespace": {
              "type": [
                "string",
                "null"
              ]
            },
            "type": {
              "oneOf": [
                {
                  "$ref": "#/$defs/Apm-ServiceType"
                },
                {
                  "type": "null"
                }
              ]
            },
            "language": {
              "type": [
                "string",
                "null"
              ]
            },
            "redMetrics": {
              "$ref": "#/$defs/Apm-MetricsRecord"
            },
            "related": {
              "$ref": "#/$defs/Apm-ServiceRelated"
            }
          }
        }
      ]
    },
    "Apm-ServiceIdentity": {
      "title": "ApmServiceIdentity",
      "type": "object",
      "description": "Shared OTel service identity fields for APM graph nodes and invocation\nparticipants.\n",
      "required": [
        "serviceName",
        "environment",
        "serviceNamespace",
        "type",
        "language"
      ],
      "properties": {
        "serviceName": {
          "type": "string"
        },
        "environment": {
          "type": "string"
        },
        "serviceNamespace": {
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "oneOf": [
            {
              "$ref": "#/$defs/Apm-ServiceType"
            },
            {
              "type": "null"
            }
          ]
        },
        "language": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "Apm-ServiceInvocation": {
      "title": "ApmServiceInvocation",
      "type": "object",
      "description": "Directed call edge from source to target. Both are always non-null —\nroots are services with no inbound edge in invocations[], not edges\nwith null source. Carrier field is `metrics` (not `redMetrics`).\n",
      "required": [
        "source",
        "target",
        "metrics"
      ],
      "properties": {
        "source": {
          "$ref": "#/$defs/Apm-InvocationParticipant"
        },
        "target": {
          "$ref": "#/$defs/Apm-InvocationParticipant"
        },
        "metrics": {
          "$ref": "#/$defs/Apm-MetricsRecord"
        }
      },
      "additionalProperties": false
    },
    "Apm-ServiceRelated": {
      "title": "ApmServiceRelated",
      "type": "object",
      "description": "Per-row correlation hints on Service. Always present; `metrics` may be\n`[]`. `correlationTags` maps Service fields to the attribute keys to\nfilter with:\n\n- `serviceName`: `service.name`, `peer.db.name`, `peer.messaging.system`,\n  `peer.server.address`\n- `environment`: `deployment.environment.name`\n- `serviceNamespace`: `service.namespace`\n\nThese are attribute keys, not dataset column names. Use `Service.type`\nto pick the `serviceName` key to filter on: `Service` →\n`service.name`, `Database` → `peer.db.name`, `Messaging` →\n`peer.messaging.system`, `ExternalCall` → `peer.server.address`.\nPrecedence is `Service` > `Database` > `Messaging` > `ExternalCall`.\nWhen `type` is null, use `service.name`. `environment` and\n`serviceNamespace` apply to every type.\n",
      "required": [
        "correlationTags",
        "metrics"
      ],
      "properties": {
        "correlationTags": {
          "type": "object",
          "description": "Service field name → attribute keys to filter with. v1 always\nreturns the three keys above. Pick `serviceName` by `Service.type`\n(see parent description).\n",
          "additionalProperties": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "metrics": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Apm-MetricRef"
          }
        }
      },
      "additionalProperties": false
    },
    "Apm-ServiceType": {
      "title": "ApmServiceType",
      "type": "string",
      "description": "Role of a service-keyed row. PascalCase per style guide. Selects which\n`related.correlationTags.serviceName` key to filter on:\n\n- `Service` → `service.name`\n- `Database` → `peer.db.name`\n- `Messaging` → `peer.messaging.system`\n- `ExternalCall` → `peer.server.address` (uninstrumented hosts)\n\nWhen more than one key is present, precedence is `Service` >\n`Database` > `Messaging` > `ExternalCall`. When `type` is null (unknown\ncatalog type), use `service.name`.\n",
      "enum": [
        "Service",
        "Database",
        "Messaging",
        "ExternalCall"
      ]
    },
    "DatasetBrief": {
      "title": "DatasetBrief",
      "type": "object",
      "description": "Brief record fields for a DatasetRef (label, description, iconUrl, contentType). Field naming mirrors ObjectBrief in this same file (iconUrl, not icon) for consistency across reference-brief pairs.\n",
      "required": [
        "label",
        "description",
        "iconUrl",
        "contentType"
      ],
      "properties": {
        "label": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "iconUrl": {
          "type": "string"
        },
        "contentType": {
          "$ref": "#/$defs/DatasetContentType",
          "description": "The type of data the referenced dataset contains — Resource, Log,\nMetric, OTelSpan, OTelTrace, or Unknown. Derived from the dataset's\nkind and interface bindings.\n"
        }
      }
    },
    "DatasetContentType": {
      "title": "DatasetContentType",
      "type": "string",
      "description": "The type of data a dataset contains. For Resource datasets, this is\ndetermined by the dataset kind. For other kinds, it is derived from the\ndataset's interface bindings. Returns Unknown if no recognized interface\nis found.\n",
      "enum": [
        "Unknown",
        "Resource",
        "Log",
        "Metric",
        "OTelSpan",
        "OTelTrace"
      ]
    },
    "DatasetRef": {
      "title": "DatasetRef",
      "type": "object",
      "description": "A reference to a dataset. Always carries the id; the optional `record` field carries the brief metadata, populated when expand=true. Mirrors ObjectRef (see ObjectRef / ObjectBrief in this file).\n",
      "required": [
        "id"
      ],
      "properties": {
        "id": {
          "$ref": "#/$defs/ObjectId"
        },
        "record": {
          "$ref": "#/$defs/DatasetBrief"
        }
      }
    },
    "ObjectId": {
      "type": "string",
      "format": "ObjectId"
    }
  }
}

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/observeinc-apm-invocation-graph-response"
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.