---
updatedAt: 2026-09-08T20:26:09.000Z
agentTools:
  projectIndex: https://docs.observeinc.com/llms.txt
---

# Get the APM service invocation graph

> **Beta — may change; breaking changes are coordinated with affected
> customers. Suitable for evaluation, not production reliance.**

Returns the service dependency graph for a time window: the services
observed and the calls between them, always scoped to a single
`environment` (required). Which graph you get depends on the identity
parameters you add on top of `environment`:
- `environment` only: the full graph for that environment.
- `+ serviceName`: the graph centered on one service.
- `+ serviceName` + `endpointName`: centered on one endpoint of that
  service.

`services` lists every service in the graph; `invocations` lists the
calls between them, each from a `source` to a `target` with aggregated
request, error, and latency metrics. A service that is never the
`target` of a call is a root.

When centered on an endpoint, `endpointName` is set on whichever side of
a call is that endpoint — `source` when the endpoint makes the call,
`target` when it serves the call — and is null on every other
participant. Match it exactly against the value from a prior response.

By default the full graph for the scope is returned. Set
`directNeighborsOnly=true` (with a `serviceName`) to return only the
focal service and the services one hop away from it. If a full graph is
not available for a request, it is rejected with `BadRequest` indicating
`directNeighborsOnly=true` should be used.

`serviceNamespace` is an optional additional filter that matches on
either end of a call (a call is kept when its `source` or `target` is in
that namespace — a cross-namespace union). `environment`, by contrast,
matches on both ends: a call is kept only when both its `source` and
`target` are in that environment.

Required parameter combinations: `environment` is always required (`400
RequiredParamMissing` otherwise); `endpointName` and
`directNeighborsOnly` each require a `serviceName`.

The graph is returned in a single response and is not paginated. A
request whose graph would exceed the maximum size is rejected with `413
PayloadTooLarge` rather than truncated. Narrow the time window, or
center the graph on a service or endpoint, to reduce its size.


# OpenAPI definition

````json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Observe by Snowflake API",
    "description": "# Overview\nWelcome to the Observe API Docs!\n\nThe Observe API is a RESTful API. POST bodies and responses are typically JSON-encoded.\n\n## Authentication\nRequests to the Observe API are authenticated with an API token. The token can be supplied using HTTP Bearer authentication:\n```\n// passing token as bearer token\ncurl -H \"Authorization: Bearer <customerid> <token>\" https://<customerid>.<observe-domain>.com/v1/...\n```\n",
    "version": "1.0.230307"
  },
  "servers": [
    {
      "url": "https://{customerid}.observeinc.com",
      "description": "US west server",
      "variables": {
        "customerid": {
          "default": "OBSERVE_CUSTOMERID",
          "description": "The customer ID for your instance."
        }
      }
    },
    {
      "url": "https://{customerid}.{cluster}.observeinc.com",
      "description": "Specific regional cluster (prod)",
      "variables": {
        "customerid": {
          "default": "OBSERVE_CUSTOMERID",
          "description": "The customer ID for your instance."
        },
        "cluster": {
          "enum": [
            "eu-1",
            "ap-1"
          ],
          "default": "eu-1",
          "description": "For regional clusters, choose one."
        }
      }
    },
    {
      "url": "https://{customerid}.{domain}.com",
      "description": "Specific Observe server",
      "variables": {
        "customerid": {
          "default": "OBSERVE_CUSTOMERID",
          "description": "The customer ID for your instance."
        },
        "domain": {
          "default": "OBSERVE_DOMAIN",
          "description": "The Observe domain for your instance."
        }
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/v1/apm/invocation-graph": {
      "get": {
        "x-badges": [
          {
            "name": "beta",
            "position": "before",
            "color": "#FFCC00"
          }
        ],
        "tags": [
          "APM"
        ],
        "operationId": "GetApmInvocationGraph",
        "summary": "Get the APM service invocation graph",
        "description": "> **Beta — may change; breaking changes are coordinated with affected\n> customers. Suitable for evaluation, not production reliance.**\n\nReturns the service dependency graph for a time window: the services\nobserved and the calls between them, always scoped to a single\n`environment` (required). Which graph you get depends on the identity\nparameters you add on top of `environment`:\n- `environment` only: the full graph for that environment.\n- `+ serviceName`: the graph centered on one service.\n- `+ serviceName` + `endpointName`: centered on one endpoint of that\n  service.\n\n`services` lists every service in the graph; `invocations` lists the\ncalls between them, each from a `source` to a `target` with aggregated\nrequest, error, and latency metrics. A service that is never the\n`target` of a call is a root.\n\nWhen centered on an endpoint, `endpointName` is set on whichever side of\na call is that endpoint — `source` when the endpoint makes the call,\n`target` when it serves the call — and is null on every other\nparticipant. Match it exactly against the value from a prior response.\n\nBy default the full graph for the scope is returned. Set\n`directNeighborsOnly=true` (with a `serviceName`) to return only the\nfocal service and the services one hop away from it. If a full graph is\nnot available for a request, it is rejected with `BadRequest` indicating\n`directNeighborsOnly=true` should be used.\n\n`serviceNamespace` is an optional additional filter that matches on\neither end of a call (a call is kept when its `source` or `target` is in\nthat namespace — a cross-namespace union). `environment`, by contrast,\nmatches on both ends: a call is kept only when both its `source` and\n`target` are in that environment.\n\nRequired parameter combinations: `environment` is always required (`400\nRequiredParamMissing` otherwise); `endpointName` and\n`directNeighborsOnly` each require a `serviceName`.\n\nThe graph is returned in a single response and is not paginated. A\nrequest whose graph would exceed the maximum size is rejected with `413\nPayloadTooLarge` rather than truncated. Narrow the time window, or\ncenter the graph on a service or endpoint, to reduce its size.\n",
        "parameters": [
          {
            "$ref": "#/components/parameters/Apm-ServiceNameParam"
          },
          {
            "name": "environment",
            "in": "query",
            "description": "OTel deployment.environment, matched exactly. Required: the\ninvocation graph is always scoped to a single environment. Omitting\nit returns `400 RequiredParamMissing`.\n",
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/Apm-ServiceNamespaceParam"
          },
          {
            "name": "endpointName",
            "in": "query",
            "description": "Name of an endpoint on the service to center the graph on, matched\nexactly. Requires `serviceName` and `environment`.\n",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "directNeighborsOnly",
            "in": "query",
            "description": "Return only the focal service and the services directly connected\nto it (one hop away). Requires `serviceName`. Omit (the default) to\nreturn the full graph.\n",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "$ref": "#/components/parameters/Apm-StartTimeParam"
          },
          {
            "$ref": "#/components/parameters/Apm-EndTimeParam"
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Not accepted on this endpoint — the dependency graph is returned in\na single response, not a paginated list. Supplying `limit` returns\n`BadRequest`.\n",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Not accepted on this endpoint (see `limit`). Supplying `offset`\nreturns `BadRequest`.\n",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Invocation graph returned successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Apm-InvocationGraphResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Apm-ErrorResponse-400"
          },
          "401": {
            "description": "Unauthorized — missing or invalid credentials (platform auth layer; body conforms to Apm-Error).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Apm-Error"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden — caller lacks permission for this resource (body conforms to Apm-Error).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Apm-Error"
                }
              }
            }
          },
          "404": {
            "description": "Not found — unrecognized route (body conforms to Apm-Error).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Apm-Error"
                }
              }
            }
          },
          "413": {
            "$ref": "#/components/responses/Apm-ErrorResponse-413"
          },
          "500": {
            "$ref": "#/components/responses/Apm-ErrorResponse-500"
          },
          "504": {
            "$ref": "#/components/responses/Apm-ErrorResponse-504"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "Authorization: Bearer <customerid> <apitoken>\n"
      }
    },
    "schemas": {
      "ObjectId": {
        "type": "string",
        "format": "ObjectId"
      },
      "ErrorMessage": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "A stable, machine-readable identifier for the kind of error."
          },
          "message": {
            "type": "string",
            "description": "Error message"
          }
        },
        "required": [
          "type",
          "message"
        ]
      },
      "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"
        ]
      },
      "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": "#/components/schemas/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"
          }
        }
      },
      "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": "#/components/schemas/ObjectId"
          },
          "record": {
            "$ref": "#/components/schemas/DatasetBrief"
          }
        }
      },
      "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-ServiceType": {
        "title": "ApmServiceType",
        "type": "string",
        "description": "Kind of service. Each value selects the correlation tag that holds the\nservice name, which is the tag 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"
        ]
      },
      "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": "#/components/schemas/Apm-ServiceType"
              },
              {
                "type": "null"
              }
            ]
          },
          "language": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "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-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": "#/components/schemas/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": "#/components/schemas/Apm-MetricsRecordPoint"
            }
          }
        },
        "additionalProperties": false
      },
      "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": "#/components/schemas/DatasetRef"
          },
          "attributeMapping": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        },
        "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": "#/components/schemas/Apm-MetricRef"
            }
          }
        },
        "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": "#/components/schemas/Apm-ServiceIdentity"
          },
          {
            "type": "object",
            "required": [
              "redMetrics",
              "related"
            ],
            "properties": {
              "serviceNamespace": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "type": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Apm-ServiceType"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "language": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "redMetrics": {
                "$ref": "#/components/schemas/Apm-MetricsRecord"
              },
              "related": {
                "$ref": "#/components/schemas/Apm-ServiceRelated"
              }
            }
          }
        ]
      },
      "Apm-ErrorType": {
        "title": "ApmErrorType",
        "type": "string",
        "description": "Stable, machine-readable APM error category.\n\n- `BadRequest`: the request is malformed or otherwise the caller's\n  doing (inverted time window, canceled request, invalid filter).\n- `RequiredParamMissing`: a required parameter was omitted or passed\n  empty.\n- `InvalidTimestamp`: a time bound is not a valid RFC3339 timestamp.\n- `OutOfAcceleratedRange`: the requested window starts before this\n  account's accelerated telemetry is available. `acceleratedFrom` is\n  the earliest recoverable timestamp.\n- `NotConfigured`: an account/config state, not a malformed request\n  and not a server fault. The tracing-content dataset an APM read\n  needs has not been installed (or has not yet been discovered) for\n  this account. Retrying will not help until that dataset exists.\n- `PayloadTooLarge`: the result exceeds a server-enforced size cap\n  (for example the invocation graph's edge limit). Narrow the window\n  or supply a focal identity.\n- `TimedOut`: the query exceeded its time budget.\n- `InternalError`: an unexpected server failure.\n",
        "enum": [
          "BadRequest",
          "RequiredParamMissing",
          "InvalidTimestamp",
          "OutOfAcceleratedRange",
          "NotConfigured",
          "PayloadTooLarge",
          "TimedOut",
          "InternalError"
        ]
      },
      "Apm-Error": {
        "title": "ApmError",
        "description": "APM error envelope. Extends the platform error (type + message) with a\nclosed `type` enum (see Apm-ErrorType). On OutOfAcceleratedRange,\nacceleratedFrom is the recovery timestamp.\n",
        "allOf": [
          {
            "$ref": "#/components/schemas/ErrorMessage"
          },
          {
            "type": "object",
            "required": [
              "type",
              "message"
            ],
            "properties": {
              "type": {
                "$ref": "#/components/schemas/Apm-ErrorType"
              },
              "acceleratedFrom": {
                "type": "string",
                "format": "date-time",
                "description": "Earliest moment for which telemetry is available on this account.\nPresent only on type=OutOfAcceleratedRange.\n"
              }
            }
          }
        ]
      },
      "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": "#/components/schemas/Apm-ServiceIdentity"
          },
          {
            "type": "object",
            "properties": {
              "serviceNamespace": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "type": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/Apm-ServiceType"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "language": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "endpointName": {
                "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": "#/components/schemas/Apm-InvocationParticipant"
          },
          "target": {
            "$ref": "#/components/schemas/Apm-InvocationParticipant"
          },
          "metrics": {
            "$ref": "#/components/schemas/Apm-MetricsRecord"
          }
        },
        "additionalProperties": false
      },
      "Apm-InvocationGraphResponse": {
        "title": "ApmInvocationGraphResponse",
        "type": "object",
        "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",
        "required": [
          "interval",
          "services",
          "invocations"
        ],
        "properties": {
          "interval": {
            "$ref": "#/components/schemas/Apm-Interval"
          },
          "services": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Apm-Service"
            }
          },
          "invocations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Apm-ServiceInvocation"
            }
          }
        },
        "additionalProperties": false
      }
    },
    "parameters": {
      "Apm-ServiceNameParam": {
        "name": "serviceName",
        "in": "query",
        "description": "OTel service.name. Single-value exact-match filter; omit (or pass an\nempty value) to match services with any service.name.\n",
        "schema": {
          "type": "string"
        }
      },
      "Apm-ServiceNamespaceParam": {
        "name": "serviceNamespace",
        "in": "query",
        "description": "OTel service.namespace. Single-value exact-match filter; omit (or pass\nan empty value) to match services in any namespace.\n",
        "schema": {
          "type": "string"
        }
      },
      "Apm-StartTimeParam": {
        "name": "startTime",
        "in": "query",
        "description": "RFC3339 window start (inclusive). The query window is `[startTime,\nendTime)`. The two bounds are independent: omit `startTime` and it\ndefaults to `endTime − 1h`; omit `endTime` and it defaults to now;\nomit both for the last hour. `startTime` must be earlier than\n`endTime`, otherwise `BadRequest`.\n",
        "schema": {
          "type": "string",
          "format": "date-time"
        }
      },
      "Apm-EndTimeParam": {
        "name": "endTime",
        "in": "query",
        "description": "RFC3339 window end (exclusive). Defaults to now when omitted. Pairs with\n`startTime` to form the `[startTime, endTime)` window; see `startTime`\nfor the full defaulting rule.\n",
        "schema": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "responses": {
      "Apm-ErrorResponse-400": {
        "description": "Bad request (BadRequest, RequiredParamMissing, InvalidTimestamp, OutOfAcceleratedRange, NotConfigured).",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Apm-Error"
            }
          }
        }
      },
      "Apm-ErrorResponse-413": {
        "description": "Payload too large (PayloadTooLarge).",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Apm-Error"
            }
          }
        }
      },
      "Apm-ErrorResponse-500": {
        "description": "Internal server error (InternalError).",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Apm-Error"
            }
          }
        }
      },
      "Apm-ErrorResponse-504": {
        "description": "Query timed out (TimedOut).",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Apm-Error"
            }
          }
        }
      }
    }
  }
}
````