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

# List metrics

List metrics defined by, or auto-discovered in, the customer's metric
datasets that the user has read access to. Default page size is 100; maximum is 1000.
Default ordering is by `name` ascending, then `dataset.id` ascending.
Set `expand=true` to inline reference fields (`dataset.record`, …). Without `expand`,
references contain only `id`.

## Filtering and ordering with CEL
The `filter` and `orderBy` query parameters are evaluated as
[Common Expression Language (CEL)](https://cel.dev) expressions
against a stable schema that mirrors the metric response body.
`filter` must evaluate to `bool`; `orderBy` is a CSV list of
CEL expressions whose values must be comparable. URL-encode
both; CSV-escape `orderBy` items first (see the `orderBy`
parameter for syntax).

### Discrepancies between CEL and REST

| Field         | CEL                                                     | REST         | Notes                                                                                                                     |
| ------------- | -------------------------------------------------------- | ------------ | --------------------------------------------------------------------------------------------------------------------------- |
| `objectTags`  | `map(string, list(string))`, from the metric's dataset's object tags | not present  | CEL-only convenience field. Filter with `"env" in objectTags`; to read the tags, fetch the dataset via `dataset.id`. |

### Available CEL functions
The metric CEL environment registers the [CEL standard
definitions](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/cel#StdLib)
(operators, `in`, `?:`, `size()`, `string.contains`, `string.startsWith`,
`string.endsWith`, `matches`, etc.) plus the following extension
libraries from
[cel-go v0.28.0](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/ext):

- [`ext.Strings`](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/ext#Strings) — `charAt`, `indexOf`, `join`, `lowerAscii`, `replace`, `split`, `substring`, `trim`, `upperAscii`, `format`
- [`ext.Lists`](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/ext#Lists) — `lists.flatten`, `lists.range`, `lists.slice`
- [`ext.Math`](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/ext#Math) — `math.greatest`, `math.least`
- [`ext.Sets`](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/ext#Sets) — `sets.contains`, `sets.equivalent`, `sets.intersects`
- [`ext.Regex`](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/ext#Regex) — `re.capture`, `re.extract`
- [`ext.Encoders`](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/ext#Encoders) — `base64.encode`, `base64.decode`
- [`ext.Bindings`](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/ext#Bindings) — `cel.bind` for let-binding sub-expressions
- [`ext.Protos`](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/ext#Protos) — protobuf helpers
- [`cel.OptionalTypes`](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/cel#OptionalTypes) — `optional.of`, `optional.ofNonZero`, `optional.none`


# 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/metrics": {
      "get": {
        "summary": "List metrics",
        "description": "List metrics defined by, or auto-discovered in, the customer's metric\ndatasets that the user has read access to. Default page size is 100; maximum is 1000.\nDefault ordering is by `name` ascending, then `dataset.id` ascending.\nSet `expand=true` to inline reference fields (`dataset.record`, …). Without `expand`,\nreferences contain only `id`.\n\n## Filtering and ordering with CEL\nThe `filter` and `orderBy` query parameters are evaluated as\n[Common Expression Language (CEL)](https://cel.dev) expressions\nagainst a stable schema that mirrors the metric response body.\n`filter` must evaluate to `bool`; `orderBy` is a CSV list of\nCEL expressions whose values must be comparable. URL-encode\nboth; CSV-escape `orderBy` items first (see the `orderBy`\nparameter for syntax).\n\n### Discrepancies between CEL and REST\n\n| Field         | CEL                                                     | REST         | Notes                                                                                                                     |\n| ------------- | -------------------------------------------------------- | ------------ | --------------------------------------------------------------------------------------------------------------------------- |\n| `objectTags`  | `map(string, list(string))`, from the metric's dataset's object tags | not present  | CEL-only convenience field. Filter with `\"env\" in objectTags`; to read the tags, fetch the dataset via `dataset.id`. |\n\n### Available CEL functions\nThe metric CEL environment registers the [CEL standard\ndefinitions](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/cel#StdLib)\n(operators, `in`, `?:`, `size()`, `string.contains`, `string.startsWith`,\n`string.endsWith`, `matches`, etc.) plus the following extension\nlibraries from\n[cel-go v0.28.0](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/ext):\n\n- [`ext.Strings`](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/ext#Strings) — `charAt`, `indexOf`, `join`, `lowerAscii`, `replace`, `split`, `substring`, `trim`, `upperAscii`, `format`\n- [`ext.Lists`](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/ext#Lists) — `lists.flatten`, `lists.range`, `lists.slice`\n- [`ext.Math`](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/ext#Math) — `math.greatest`, `math.least`\n- [`ext.Sets`](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/ext#Sets) — `sets.contains`, `sets.equivalent`, `sets.intersects`\n- [`ext.Regex`](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/ext#Regex) — `re.capture`, `re.extract`\n- [`ext.Encoders`](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/ext#Encoders) — `base64.encode`, `base64.decode`\n- [`ext.Bindings`](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/ext#Bindings) — `cel.bind` for let-binding sub-expressions\n- [`ext.Protos`](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/ext#Protos) — protobuf helpers\n- [`cel.OptionalTypes`](https://pkg.go.dev/github.com/google/cel-go@v0.28.0/cel#OptionalTypes) — `optional.of`, `optional.ofNonZero`, `optional.none`\n",
        "operationId": "ListMetrics",
        "tags": [
          "Metrics"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/LimitParam"
          },
          {
            "$ref": "#/components/parameters/OffsetParam"
          },
          {
            "$ref": "#/components/parameters/ExpandParam"
          },
          {
            "name": "orderBy",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "CSV list of CEL expressions, each producing a comparable\nvalue. Prefix an item with `-` for descending order.\n\nCSV-escape first, then URL-encode. Wrap an item in `\"` if it\ncontains a comma or `\"`; double a literal `\"` to `\"\"` inside\na quoted item.\n\nSupported fields: See the description of the `filter` parameter for the\nlist of supported fields.\n",
            "example": "-lastReported,name"
          },
          {
            "name": "filter",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter that response metrics must match. Specified in CEL format.\nNote that filter expressions must be URL encoded.\n\nSupported filter fields:\n- `name` (string): metric name\n- `type` (string): metric type\n- `unit` (string): metric unit\n- `description` (string): metric description\n- `rollup` (string): metric rollup\n- `aggregate` (string): metric aggregate\n- `userDefined` (bool): whether the metric is user-defined\n- `status` (string): metric status\n- `dataset.id` (int): ID of the metric dataset\n- `dataset.label` (string): label of the metric dataset\n- `lastReported` (timestamp): last reported time\n- `metricTags` (list): tag paths observed for this metric. Each\n  element is an object with `field` (string) and `path` (string).\n  Use CEL macros to test membership, e.g.\n  `metricTags.exists(t, t.field == \"container\")`.\n- `correlationTags` (list): correlation tags relevant to this\n  metric. Each element is an object with `tag` (string) and `path`\n  (an object with `field` and `path`). e.g.\n  `correlationTags.exists(c, c.tag == \"service.name\")`.\n- `objectTags` (map of string to list of string): user-applied\n  object tags on the metric's dataset. Test membership with `in`,\n  e.g. `\"env\" in objectTags` or\n  `\"env\" in objectTags && \"prod\" in objectTags[\"env\"]`.\n\nSee the Metric-Resource schema for the detailed descriptions of the supported fields.\n\n## CEL functions\n\n### `hasCorrelationTag(tag string, value string) bool`\n\nReturns `true` if this metric has data points whose correlation tag\n`tag` takes on `value` within a recent observation window.\n\nBoth arguments must be constant string literals.\n\nLimits and error conditions:\n- HTTP 400 if a single filter references more than 8 unique\n  `hasCorrelationTag(T, V)` callsites.\n- For each `(tag, value)` pair, fan-out is capped at 10 candidate\n  datasets, selected deterministically in ascending dataset id.\n  Datasets beyond the cap are not consulted for that pair.\n- HTTP 500 if the OPAL query fails (e.g. Snowflake unavailable).\n- HTTP 503 if no query backend is wired (test / degraded apiserver).\n",
            "examples": {
              "filterByName": {
                "summary": "Filter by exact name",
                "value": "name == \"cpu_usage\""
              },
              "filterByType": {
                "summary": "Filter by metric type",
                "value": "type == \"Gauge\""
              },
              "filterByNameRegex": {
                "summary": "Regex search by name",
                "value": "name.matches(\"http.*\")"
              },
              "filterByDataset": {
                "summary": "Filter to a specific dataset's metrics",
                "value": "dataset.id == 41001234"
              },
              "filterByDatasetLabel": {
                "summary": "Filter by the metric dataset's label",
                "value": "dataset.label == \"Kubernetes Metrics\""
              },
              "filterByMultiple": {
                "summary": "User-defined gauges",
                "value": "type == \"Gauge\" && userDefined == true"
              },
              "filterByMetricTag": {
                "summary": "Metrics that carry a given tag field",
                "value": "metricTags.exists(t, t.field == \"container\")"
              },
              "filterByCorrelationTagName": {
                "summary": "Metrics with a specific correlation tag",
                "value": "correlationTags.exists(c, c.tag == \"service.name\")"
              },
              "filterByCorrelationTagPath": {
                "summary": "Match on a correlation tag's nested path field",
                "value": "correlationTags.exists(c, c.tag == \"service.name\" && c.path.field == \"container\")"
              },
              "filterByCorrelationTagKV": {
                "summary": "Filter to metrics that report a specific (correlation-tag, value) pair",
                "value": "hasCorrelationTag(\"env\",\"prod\")"
              },
              "filterByCorrelationTagAndName": {
                "summary": "Combine hasCorrelationTag with a name predicate",
                "value": "hasCorrelationTag(\"env\",\"prod\") && name.matches(\"http_.*\")"
              },
              "filterByCorrelationTagOr": {
                "summary": "Union of two correlation-tag value matches",
                "value": "hasCorrelationTag(\"env\",\"prod\") || hasCorrelationTag(\"env\",\"staging\")"
              },
              "filterByObjectTag": {
                "summary": "Metrics whose dataset carries a given object tag key",
                "value": "\"env\" in objectTags"
              },
              "filterByObjectTagKV": {
                "summary": "Metrics whose dataset carries a specific object tag key/value",
                "value": "\"env\" in objectTags && \"prod\" in objectTags[\"env\"]"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Metrics queried successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Metric-ListResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ErrorResponse-400"
          },
          "401": {
            "$ref": "#/components/responses/ErrorResponse-401"
          },
          "403": {
            "$ref": "#/components/responses/ErrorResponse-403"
          },
          "404": {
            "$ref": "#/components/responses/ErrorResponse-404"
          },
          "429": {
            "$ref": "#/components/responses/ErrorResponse-429"
          },
          "5XX": {
            "$ref": "#/components/responses/ErrorResponse-5XX"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "Authorization: Bearer <customerid> <apitoken>\n"
      }
    },
    "schemas": {
      "ObjectId": {
        "type": "string",
        "format": "ObjectId"
      },
      "Meta": {
        "description": "List Response Metadata",
        "type": "object",
        "required": [
          "totalCount"
        ],
        "properties": {
          "totalCount": {
            "description": "The total number of resources available, independent of pagination.\nThe API may return -1 if the total count is unknown or cannot be computed\nin reasonable time.\n",
            "type": "integer",
            "format": "int64"
          }
        }
      },
      "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"
        ]
      },
      "NullableTime": {
        "type": [
          "string",
          "null"
        ],
        "format": "RFC3339"
      },
      "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"
          }
        }
      },
      "Metric-Type": {
        "title": "MetricType",
        "type": "string",
        "description": "Metric semantic type.\n\n* `CumulativeCounter`: A metric that represents a non-decreasing counter with possible resets.\n* `Delta`: A metric that represents a change in a value over time\n* `Gauge`: A metric that represents a value that can increase or decrease\n* `TDigest`: A metric that represents a t-digest of values\n* `Sample`: A metric that represents a sample of values\n* `Histogram`: A metric that represents an OpenTelemetry explicit bucket histogram\n* `ExponentialHistogram`: A metric that represents an OpenTelemetry exponential histogram\n",
        "enum": [
          "CumulativeCounter",
          "Delta",
          "Gauge",
          "TDigest",
          "Sample",
          "Histogram",
          "ExponentialHistogram"
        ]
      },
      "Metric-Status": {
        "title": "MetricStatus",
        "type": "string",
        "description": "Active: usable and currently reporting.\nInactive: usable, but not currently reporting.\nError: unusable because the metric dataset has errors in its\ndefinition.\n",
        "enum": [
          "Active",
          "Inactive",
          "Error"
        ]
      },
      "Dataset-FieldPath": {
        "title": "FieldPath",
        "type": "object",
        "required": [
          "field",
          "path"
        ],
        "properties": {
          "field": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        }
      },
      "Dataset-CorrelationTag": {
        "title": "CorrelationTag",
        "type": "object",
        "required": [
          "tag",
          "path"
        ],
        "properties": {
          "tag": {
            "type": "string"
          },
          "path": {
            "$ref": "#/components/schemas/Dataset-FieldPath"
          }
        }
      },
      "Metric-Resource": {
        "title": "MetricResource",
        "type": "object",
        "description": "A metric resource. Metrics do not have a globally unique ObjectId —\nthey are identified by the tuple (dataset.id, name).\n",
        "required": [
          "name",
          "dataset",
          "type",
          "unit",
          "description",
          "rollup",
          "aggregate",
          "intervalMillis",
          "suggestedBucketSizeMillis",
          "userDefined",
          "status",
          "lastReported",
          "pointCount",
          "cardinality",
          "linkLabels",
          "metricTags",
          "correlationTags"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "The metric's name within its dataset."
          },
          "dataset": {
            "$ref": "#/components/schemas/DatasetRef",
            "description": "Reference to the dataset that owns this metric. With ?expand=true,\n`record` is populated with the dataset brief (label, description,\niconUrl, contentType).\n"
          },
          "type": {
            "$ref": "#/components/schemas/Metric-Type"
          },
          "unit": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit the metric values are reported in (e.g. \"ms\", \"bytes\",\n\"requests/s\"). Null when not specified.\n"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Free-form description of what the metric measures. Null when\nnot specified.\n"
          },
          "rollup": {
            "type": "string",
            "description": "How values are combined when reducing along the time axis (e.g.\n\"sum\", \"avg\", \"max\", \"min\", \"rate\"). Drives the default temporal\naggregation when querying this metric.\n"
          },
          "aggregate": {
            "type": "string",
            "description": "How values are combined when reducing along non-time dimensions\n(e.g. \"sum\", \"avg\", \"max\", \"min\"). Drives the default spatial\naggregation across tag groupings.\n"
          },
          "intervalMillis": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int64",
            "description": "Reporting interval, in milliseconds (e.g. 60000 for a metric\nreported every 60 seconds). If the user declared an interval\nfor this metric (via the `set_metric` OPAL verb), this field reflects\nthe declared value. Otherwise, this field is the observed cadence\nderived from metric discovery sampling. Null when neither a declaration nor sufficient\nobservations are available.\n"
          },
          "suggestedBucketSizeMillis": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int64",
            "description": "Suggested bucket size for queries against this metric, in\nmilliseconds. Null when not enough samples have been observed.\n"
          },
          "userDefined": {
            "type": "boolean",
            "description": "Whether the metric has been defined explicitly by the user.\nNon-user-defined metrics are discovered by scanning metric data.\n"
          },
          "status": {
            "$ref": "#/components/schemas/Metric-Status"
          },
          "lastReported": {
            "$ref": "#/components/schemas/NullableTime",
            "description": "Last time this metric was reported, derived from metric\ndiscovery sampling. May be underreported by up to an hour.\nNull when no observations are available.\n"
          },
          "pointCount": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int64",
            "description": "Number of data points observed for this metric in the\ndiscovery sampling window. Null when no observations are\navailable.\n"
          },
          "cardinality": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int64",
            "description": "Number of distinct tag combinations observed for this metric\nin the discovery sampling window. Null when no observations\nare available.\n"
          },
          "linkLabels": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Link labels on the metric dataset that are useful for\ngrouping/filtering this metric, ranked by usefulness and\ncardinality. Derived from metric discovery sampling.\n"
          },
          "metricTags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Dataset-FieldPath"
            },
            "description": "Tag paths observed for this metric, ranked by cardinality.\nDerived from metric discovery sampling.\n"
          },
          "correlationTags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Dataset-CorrelationTag"
            },
            "description": "Correlation tags on the metric dataset filtered to those\nrelevant to this metric. Derived from metric discovery\nsampling.\n"
          }
        }
      },
      "Metric-ListResponse": {
        "title": "MetricListResponse",
        "type": "object",
        "required": [
          "metrics",
          "meta"
        ],
        "properties": {
          "metrics": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Metric-Resource"
            }
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        }
      }
    },
    "parameters": {
      "LimitParam": {
        "name": "limit",
        "in": "query",
        "description": "Maximum number of items to return in the response",
        "schema": {
          "type": "integer",
          "format": "int64"
        }
      },
      "OffsetParam": {
        "name": "offset",
        "in": "query",
        "description": "Number of items to skip before starting to collect the result set",
        "schema": {
          "type": "integer",
          "format": "int64"
        }
      },
      "ExpandParam": {
        "name": "expand",
        "in": "query",
        "description": "Whether to expand resources referenced in the response to include additional fields",
        "schema": {
          "type": "boolean"
        }
      }
    },
    "responses": {
      "ErrorResponse-400": {
        "description": "Bad request",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            }
          }
        }
      },
      "ErrorResponse-401": {
        "description": "Unauthorized",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            }
          }
        }
      },
      "ErrorResponse-403": {
        "description": "Forbidden",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            }
          }
        }
      },
      "ErrorResponse-404": {
        "description": "Resource not found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            }
          }
        }
      },
      "ErrorResponse-429": {
        "description": "Rate limit reached",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            }
          }
        }
      },
      "ErrorResponse-5XX": {
        "description": "Internal server error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            }
          }
        }
      }
    }
  }
}
````