---
updatedAt: 2026-09-17T21:36:02.000Z
agentTools:
  projectIndex: https://docs.observeinc.com/llms.txt
---

# Get a list of datasets

Returns a paginated list of datasets the caller has read access to,
optionally filtered and ordered with a CEL expression. Default page
size is 50; maximum is 100. Default ordering is by `id` ascending.

Set `expand=true` to inline reference fields (`createdBy`,
`managedBy`, `storageIntegration.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 dataset 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).

Expressions that reference unknown fields, use the wrong type, or
exceed the server-side cost limit return 400.

### CEL → REST field mapping

With the exceptions noted below, every CEL field name matches the
JSON key on `Dataset-Resource` 1‑to‑1, and CEL types map to JSON
wire types as follows:

| CEL type            | JSON wire type                                   |
| ------------------- | ------------------------------------------------ |
| `string`, `string?` | string (or `null` when nullable)                 |
| `bool`              | boolean                                          |
| `int`               | integer                                          |
| `timestamp`         | RFC 3339 string (e.g. `createdAt`, `updatedAt`)  |
| `list(T)`           | array                                            |
| `map(K, V)`         | object                                           |
| Wrapper types       | nested object with the same sub-field names      |

Every `id` field — top-level and nested — is `int` in CEL but
rendered as `string` in JSON (int64 values may overflow the JS
number range). Compare with an integer literal in CEL:
`id == 41000234`, not `id == "41000234"`.

### Discrepancies between CEL and REST

| Field                          | CEL                                            | REST                                   | Notes                                                                                                                         |
| ------------------------------ | ---------------------------------------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| `_name`, `_package`            | `string`, derived from `label`                 | not present                            | CEL-only convenience fields. `label = "Logs/AWS/CloudTrail"` ⇒ `_package = "Logs/AWS/"`, `_name = "CloudTrail"`.              |
| `createdAt`, `updatedAt`       | `timestamp`                                    | RFC 3339 string                        | In CEL, compare with `timestamp("2024-01-01T00:00:00Z")` or use `now() - duration("24h")`.                                     |
| `storageIntegration.record.*`  | always loadable for filter evaluation          | only present when `expand=true`        | A filter like `storageIntegration.record.name == "snowflake-prod"` works on every request; the `record` object is only echoed back in the response when `expand=true`. |

### Available CEL functions

The dataset 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`

See `Dataset-Resource` below for the full set of fields and types.

## Semantic search

Pass `query` to find datasets by meaning rather than by exact field values.
Results are ranked by relevance descending; `orderBy` is ignored when
`query` is set. `meta.totalCount` is always `-1` for semantic-search
requests because the full match count cannot be computed efficiently.

`filter` may be combined with `query` to narrow results after ranking.
When both are set, the response may contain fewer than `limit` items
if many ranked candidates are filtered out.

Returns 404 if semantic search is not available in this deployment.


# 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": []
    }
  ],
  "tags": [
    {
      "name": "Dataset",
      "description": "Manage datasets. Learn more about [datasets](https://docs.observeinc.com/en/latest/content/reference/ObserveKeyConcepts.html#datasets)..\n"
    }
  ],
  "paths": {
    "/v1/datasets": {
      "get": {
        "summary": "Get a list of datasets",
        "description": "Returns a paginated list of datasets the caller has read access to,\noptionally filtered and ordered with a CEL expression. Default page\nsize is 50; maximum is 100. Default ordering is by `id` ascending.\n\nSet `expand=true` to inline reference fields (`createdBy`,\n`managedBy`, `storageIntegration.record`, …). Without `expand`,\nreferences contain only `id`.\n\n## Filtering and ordering with CEL\n\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 dataset 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\nExpressions that reference unknown fields, use the wrong type, or\nexceed the server-side cost limit return 400.\n\n### CEL → REST field mapping\n\nWith the exceptions noted below, every CEL field name matches the\nJSON key on `Dataset-Resource` 1‑to‑1, and CEL types map to JSON\nwire types as follows:\n\n| CEL type            | JSON wire type                                   |\n| ------------------- | ------------------------------------------------ |\n| `string`, `string?` | string (or `null` when nullable)                 |\n| `bool`              | boolean                                          |\n| `int`               | integer                                          |\n| `timestamp`         | RFC 3339 string (e.g. `createdAt`, `updatedAt`)  |\n| `list(T)`           | array                                            |\n| `map(K, V)`         | object                                           |\n| Wrapper types       | nested object with the same sub-field names      |\n\nEvery `id` field — top-level and nested — is `int` in CEL but\nrendered as `string` in JSON (int64 values may overflow the JS\nnumber range). Compare with an integer literal in CEL:\n`id == 41000234`, not `id == \"41000234\"`.\n\n### Discrepancies between CEL and REST\n\n| Field                          | CEL                                            | REST                                   | Notes                                                                                                                         |\n| ------------------------------ | ---------------------------------------------- | -------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `_name`, `_package`            | `string`, derived from `label`                 | not present                            | CEL-only convenience fields. `label = \"Logs/AWS/CloudTrail\"` ⇒ `_package = \"Logs/AWS/\"`, `_name = \"CloudTrail\"`.              |\n| `createdAt`, `updatedAt`       | `timestamp`                                    | RFC 3339 string                        | In CEL, compare with `timestamp(\"2024-01-01T00:00:00Z\")` or use `now() - duration(\"24h\")`.                                     |\n| `storageIntegration.record.*`  | always loadable for filter evaluation          | only present when `expand=true`        | A filter like `storageIntegration.record.name == \"snowflake-prod\"` works on every request; the `record` object is only echoed back in the response when `expand=true`. |\n\n### Available CEL functions\n\nThe dataset 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\nSee `Dataset-Resource` below for the full set of fields and types.\n\n## Semantic search\n\nPass `query` to find datasets by meaning rather than by exact field values.\nResults are ranked by relevance descending; `orderBy` is ignored when\n`query` is set. `meta.totalCount` is always `-1` for semantic-search\nrequests because the full match count cannot be computed efficiently.\n\n`filter` may be combined with `query` to narrow results after ranking.\nWhen both are set, the response may contain fewer than `limit` items\nif many ranked candidates are filtered out.\n\nReturns 404 if semantic search is not available in this deployment.\n",
        "operationId": "ListDatasets",
        "tags": [
          "Dataset"
        ],
        "parameters": [
          {
            "in": "query",
            "name": "filter",
            "schema": {
              "type": "string"
            },
            "required": false,
            "description": "CEL expression that response datasets must match. Must evaluate to\n`bool`. Must be URL-encoded. See the operation description for the\nCEL primer (field mapping, type discrepancies, available functions).\n\n## CEL functions\n\n### `hasCorrelationTag(tag string, value string) bool`\n\nReturns `true` if this dataset has ever been associated with the\ncorrelation tag key-value pair `tag=value`.\n\nBoth arguments must be constant string literals. Field references,\n`cel.bind` names, and function calls are rejected with HTTP 400.\n\nError conditions:\n- HTTP 400 if a `(tag, value)` pair matches more than 10,000 datasets.\n  Narrow the tag name or value to reduce the match set.\n- HTTP 400 if this feature is not available for your account.\n  Contact support to enable correlation-tag filtering.\n- HTTP 503 if the tag index is temporarily unavailable. Retry after a short interval.\n\n### `hasCorrelationTag(tag string) bool`\n\nReturns `true` if this dataset contains or inherits the correlation\ntag named `tag` (regardless of value).\n\nThe argument must be a constant string literal. Field references,\n`cel.bind` names, and function calls are rejected with HTTP 400.\n",
            "examples": {
              "equalityAndIdList": {
                "summary": "Top-level scalars and an `id` list (note `id` is `int` in CEL, even though it serializes as a string in JSON)",
                "value": "label == \"Source\" || id in [40000123, 40000456]"
              },
              "nullSafeNestedRef": {
                "summary": "Null-guarded traversal into a nested reference record",
                "value": "storageIntegration != null && storageIntegration.record.name == \"snowflake-prod\""
              },
              "mapAndListQuantifier": {
                "summary": "Map key check plus a list quantifier over nested objects",
                "value": "\"env\" in objectTags && interfaces.exists(i, i.path == \"log\")"
              },
              "stringAndTimestampFunctions": {
                "summary": "Regex match and timestamp comparison",
                "value": "label.matches(\"^Logs/AWS/\") && createdAt > timestamp(\"2024-01-01T00:00:00Z\")"
              },
              "urlEncoded": {
                "summary": "URL-encoded form of the equalityAndIdList example",
                "value": "label%20%3D%3D%20%22Source%22%20%7C%7C%20id%20in%20%5B40000123%2C%2040000456%5D"
              },
              "filterByCorrelationTagKV": {
                "summary": "Filter by a single correlation tag key-value pair",
                "value": "hasCorrelationTag(\"customer.name\",\"tekion\")"
              },
              "filterByCorrelationTagPresence": {
                "summary": "Filter to datasets that contain or inherit a correlation tag",
                "value": "hasCorrelationTag(\"env\")"
              },
              "filterByTagAndMetadata": {
                "summary": "Combine hasCorrelationTag with a metadata filter",
                "value": "hasCorrelationTag(\"customer.name\",\"tekion\") && label.startsWith(\"k8s\")"
              },
              "filterByTagOr": {
                "summary": "Union of two correlation tag values",
                "value": "hasCorrelationTag(\"env\",\"prod\") || hasCorrelationTag(\"env\",\"staging\")"
              }
            }
          },
          {
            "in": "query",
            "name": "orderBy",
            "schema": {
              "type": "string"
            },
            "required": false,
            "description": "CSV list of CEL expressions, each producing a comparable value. Prefix an item with `-` for descending order. Default sort is `id` ascending; pagination is stable as long as no datasets are created or deleted between requests.\nCSV-escape first, then URL-encode. Wrap an item in `\"` if it contains a comma or `\"`; double a literal `\"` to `\"\"` inside a quoted item.\n**Ignored when `query` is set** — results are ordered by relevance when semantic search is active (see the Semantic search section in the operation description).\n",
            "examples": {
              "csvQuotedExpression": {
                "summary": "Multi-key sort with a CSV-quoted CEL expression containing a comma",
                "value": "\"coalesce(managedBy.label, label)\",-id"
              },
              "csvQuotedAndUrlEncoded": {
                "summary": "URL-encoded form of csvQuotedExpression (literal `,` and `\"` percent-encoded; outer CSV delimiter encoded too)",
                "value": "%22coalesce%28managedBy.label%2C%20label%29%22%2C-id"
              }
            }
          },
          {
            "$ref": "#/components/parameters/OffsetParam"
          },
          {
            "$ref": "#/components/parameters/LimitParam"
          },
          {
            "$ref": "#/components/parameters/ExpandParam"
          },
          {
            "in": "query",
            "name": "query",
            "schema": {
              "type": "string",
              "maxLength": 2000
            },
            "required": false,
            "description": "Free-text search query. When set, returns datasets ranked by relevance to the query, with the most relevant results first. `orderBy` is ignored — results are always ordered by relevance descending.\nMay be combined with `filter` to narrow results after ranking, and with `limit`/`offset` for pagination. When `filter` is also set, the response may contain fewer than `limit` items if many ranked candidates are filtered out.\n`meta.totalCount` is always `-1` for semantic-search requests. Returns 404 if semantic search is not available in this deployment.\n",
            "examples": {
              "searchByIntent": {
                "summary": "Find datasets related to customer purchase events",
                "value": "customer purchase orders"
              }
            }
          },
          {
            "in": "query",
            "name": "minScore",
            "schema": {
              "type": "number",
              "format": "double",
              "minimum": 0,
              "maximum": 1,
              "default": 0.3
            },
            "required": false,
            "description": "Minimum cosine similarity score (0.0–1.0) for semantic search results. Datasets scoring below this threshold are excluded. Only applies when `query` is set. Defaults to 0.3.\n"
          }
        ],
        "responses": {
          "200": {
            "description": "Datasets queried successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Dataset-ListResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ErrorResponse-400"
          },
          "401": {
            "$ref": "#/components/responses/ErrorResponse-401"
          },
          "403": {
            "$ref": "#/components/responses/ErrorResponse-403"
          },
          "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"
      },
      "User": {
        "title": "User",
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "title": "User Identifier",
            "$ref": "#/components/schemas/ObjectId"
          },
          "label": {
            "title": "User Label",
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "locale": {
            "type": "string"
          }
        }
      },
      "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"
        ]
      },
      "Time": {
        "type": "string",
        "format": "RFC3339"
      },
      "NullableTime": {
        "type": [
          "string",
          "null"
        ],
        "format": "RFC3339"
      },
      "ObjectRef": {
        "title": "ObjectRef",
        "type": "object",
        "description": "A reference to another resource. Always carries the id; the optional `record` field carries the brief metadata, populated when expand=true. Brief expansion applies to one layer only — fields inside `record` that are themselves ObjectRefs (e.g. `record.managedBy`) are returned id-only, never with their own `record` populated. CEL filter expressions can deeper-resolve via lazy wrapper resolution if needed.\n",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "record": {
            "$ref": "#/components/schemas/ObjectBrief"
          }
        }
      },
      "ObjectBrief": {
        "title": "ObjectBrief",
        "type": "object",
        "description": "Brief record fields for an ObjectRef. This type is polymorphic: additional fields pointing to specific object types (e.g. dataset, dashboard, monitor) may be added in the future as needed.\n",
        "required": [
          "label",
          "description",
          "iconUrl",
          "managedBy"
        ],
        "properties": {
          "label": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "iconUrl": {
            "type": "string"
          },
          "managedBy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ObjectRef"
              },
              {
                "type": "null"
              }
            ],
            "description": "Owner/manager of this object. Always returned as an id-only ObjectRef even when the parent was requested with expand=true: `expand` populates a single layer of brief data, so `record.managedBy` on a brief is itself never expanded. Pass the inner id back through a separate request (or filter via CEL, which lazily resolves) to access the manager's brief."
          }
        }
      },
      "ObjectTags": {
        "title": "ObjectTags",
        "type": "object",
        "additionalProperties": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "description": "User-applied tags for organization and discovery, as a map of tag key\nto a list of values. For example: {\"env\": [\"prod\", \"staging\"], \"team\": [\"platform\"]}.\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"
        ]
      },
      "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"
          }
        }
      },
      "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"
          }
        }
      },
      "DurationNanoseconds": {
        "type": "string",
        "format": "int64 nanoseconds"
      },
      "Dataset-DatasetKind": {
        "title": "DatasetKind",
        "type": "string",
        "enum": [
          "Table",
          "Resource",
          "Event",
          "Interval"
        ]
      },
      "Dataset-DataType": {
        "title": "DataType",
        "type": "string",
        "enum": [
          "None",
          "Bool",
          "Float64",
          "Int64",
          "String",
          "Timestamp",
          "Duration",
          "IPv4",
          "TDigest",
          "Array",
          "Object",
          "Variant",
          "Link",
          "DatasetRef"
        ]
      },
      "Dataset-FieldType": {
        "title": "FieldType",
        "type": "object",
        "required": [
          "tag"
        ],
        "properties": {
          "tag": {
            "$ref": "#/components/schemas/Dataset-DataType"
          }
        }
      },
      "Dataset-IndexType": {
        "title": "IndexType",
        "type": "string",
        "enum": [
          "TokenIndex",
          "SubstringIndex",
          "EqualityIndex",
          "AutoClusteringIndex"
        ]
      },
      "Dataset-IndexDefinition": {
        "title": "IndexDefinition",
        "type": "object",
        "required": [
          "field",
          "type"
        ],
        "properties": {
          "field": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Dataset-IndexType"
          }
        }
      },
      "Dataset-ForeignKey": {
        "title": "ForeignKey",
        "type": "object",
        "required": [
          "label",
          "targetDataset",
          "targetStageLabel",
          "targetLabelField",
          "srcPaths",
          "dstFields"
        ],
        "properties": {
          "label": {
            "type": "string"
          },
          "targetDataset": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DatasetRef"
              },
              {
                "type": "null"
              }
            ]
          },
          "targetStageLabel": {
            "type": [
              "string",
              "null"
            ]
          },
          "targetLabelField": {
            "type": [
              "string",
              "null"
            ]
          },
          "srcPaths": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Dataset-FieldPath"
            }
          },
          "dstFields": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "Dataset-FieldDesc": {
        "title": "FieldDesc",
        "type": "object",
        "required": [
          "name",
          "type",
          "indexDefs",
          "linkDesc",
          "isEnum",
          "isSearchable",
          "isHidden",
          "isConst",
          "isMetric"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/Dataset-FieldType"
          },
          "indexDefs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Dataset-IndexDefinition"
            }
          },
          "linkDesc": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Dataset-ForeignKey"
              },
              {
                "type": "null"
              }
            ]
          },
          "isEnum": {
            "type": "boolean"
          },
          "isSearchable": {
            "type": "boolean"
          },
          "isHidden": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "isConst": {
            "type": "boolean"
          },
          "isMetric": {
            "type": "boolean"
          }
        }
      },
      "Dataset-RelatedKey": {
        "title": "RelatedKey",
        "type": "object",
        "required": [
          "label",
          "targetDataset",
          "srcFields",
          "dstFields"
        ],
        "properties": {
          "label": {
            "type": "string"
          },
          "targetDataset": {
            "$ref": "#/components/schemas/DatasetRef"
          },
          "srcFields": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "dstFields": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "Dataset-GroupingElementType": {
        "title": "GroupingElementType",
        "type": "string",
        "enum": [
          "Field",
          "Link"
        ]
      },
      "Dataset-GroupingElement": {
        "title": "GroupingElement",
        "type": "object",
        "required": [
          "type",
          "value"
        ],
        "properties": {
          "type": {
            "$ref": "#/components/schemas/Dataset-GroupingElementType"
          },
          "value": {
            "type": "string"
          }
        }
      },
      "Dataset-GroupingKey": {
        "title": "GroupingKey",
        "type": "object",
        "required": [
          "elements"
        ],
        "properties": {
          "elements": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Dataset-GroupingElement"
            }
          }
        }
      },
      "Dataset-InterfaceFieldMapping": {
        "title": "InterfaceFieldMapping",
        "type": "object",
        "required": [
          "interfaceField",
          "field"
        ],
        "properties": {
          "interfaceField": {
            "type": "string"
          },
          "field": {
            "type": "string"
          }
        }
      },
      "Dataset-ImplementedInterface": {
        "title": "ImplementedInterface",
        "type": "object",
        "required": [
          "path",
          "mapping"
        ],
        "properties": {
          "path": {
            "type": "string"
          },
          "mapping": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Dataset-InterfaceFieldMapping"
            }
          }
        }
      },
      "Dataset-TimeAlignment": {
        "title": "TimeAlignment",
        "type": "object",
        "required": [
          "stepSizeNanoseconds",
          "offsetNanoseconds"
        ],
        "properties": {
          "stepSizeNanoseconds": {
            "$ref": "#/components/schemas/DurationNanoseconds"
          },
          "offsetNanoseconds": {
            "$ref": "#/components/schemas/DurationNanoseconds"
          }
        }
      },
      "Dataset-CompilationError": {
        "title": "CompilationError",
        "type": "object",
        "required": [
          "error",
          "errorInDataset"
        ],
        "properties": {
          "error": {
            "type": "string"
          },
          "errorInDataset": {
            "description": "Reference to the upstream dataset that produced the compilation\nerror. Weak ref: in many cases the upstream dataset cannot be\nresolved (cross-workspace deletion, RBAC visibility, race with\nsoft-delete). When unresolvable, the field is null and the caller\nstill has the `error` string. The field is always present; only\nits value is nullable.\n",
            "anyOf": [
              {
                "$ref": "#/components/schemas/DatasetRef"
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "Dataset-AccelerationType": {
        "title": "AccelerationType",
        "type": "string",
        "enum": [
          "InsertOnly",
          "Aggregation",
          "Other",
          "NotSupported"
        ]
      },
      "Dataset-AccelerationState": {
        "title": "AccelerationState",
        "type": "string",
        "description": "The state of the dataset's acceleration.\nInitializing: The dataset is newly created/updated and acceleration has just started.\nAccelerated: The dataset is accelerated and available for querying.\nAcceleratedImmediately: The dataset is accelerated and available for querying. The dataset is also in \"live mode\", meaning it is being updated as fast as possible.\nUnavailable: The dataset is not accelerated and is not available for querying due to a compilation error in the dataset or upstream.\nDisabled: The dataset is not accelerated and is available for querying due to user disablement. (e.g. dataset is a view)\nError: The dataset is not accelerated and may return outdated results due to a critical error.\n",
        "enum": [
          "Initializing",
          "Accelerated",
          "AcceleratedImmediately",
          "Unavailable",
          "Disabled",
          "Error"
        ]
      },
      "Dataset-StalenessReason": {
        "title": "StalenessReason",
        "type": "string",
        "description": "A reason explaining why a dataset's freshness is what it is.\nConfiguredFreshnessGoal: The data meets the freshness goal set for this dataset, but that goal is loose enough to allow this staleness; set a tighter goal for fresher data.\nCreditManagerOverride: The acceleration credit manager raised the freshness goal to keep acceleration cost down.\nSlowAcceleration: Acceleration can't keep up with the freshness goal; optimizing the dataset's query or reducing its data volume can help.\nActiveBackfill: A backfill is accelerating historical data, which can reduce freshness until it finishes.\nDatasetHibernated: Ongoing acceleration is suspended because the dataset is hibernated; querying it resumes acceleration.\nUnusedDatasetHibernating: The freshness goal was relaxed because the dataset hasn't been queried recently; querying it restores the configured goal.\n",
        "enum": [
          "ConfiguredFreshnessGoal",
          "CreditManagerOverride",
          "SlowAcceleration",
          "ActiveBackfill",
          "DatasetHibernated",
          "UnusedDatasetHibernating"
        ]
      },
      "OpenTimeRange": {
        "title": "Open Time Range",
        "description": "A time range with a start and/or end time.",
        "type": "object",
        "required": [
          "startTime",
          "endTime"
        ],
        "properties": {
          "startTime": {
            "$ref": "#/components/schemas/NullableTime"
          },
          "endTime": {
            "$ref": "#/components/schemas/NullableTime"
          }
        }
      },
      "Dataset-AccelerationError": {
        "title": "AccelerationError",
        "type": "object",
        "required": [
          "time",
          "errorText"
        ],
        "properties": {
          "time": {
            "$ref": "#/components/schemas/Time"
          },
          "errorText": {
            "type": "string"
          }
        }
      },
      "Dataset-AccelerationInfo": {
        "title": "AccelerationInfo",
        "type": "object",
        "required": [
          "state",
          "stalenessSeconds",
          "recentStalenessSeconds",
          "stalenessReasons",
          "userConfiguredTargetStalenessSeconds",
          "targetExcludingDownstreamStalenessSeconds",
          "effectiveTargetStalenessSeconds",
          "rateLimitOverrideTargetStalenessSeconds",
          "alwaysAccelerated",
          "acceleratedRanges",
          "targetAcceleratedRanges",
          "freshnessTime",
          "effectiveOnDemandMaterializationLengthDays",
          "dataRetentionEnabled",
          "effectiveDataRetentionPeriodDays",
          "effectiveDataRetentionTimestamp",
          "minimumDataTimestamp",
          "hibernatedAt",
          "errors"
        ],
        "properties": {
          "state": {
            "$ref": "#/components/schemas/Dataset-AccelerationState"
          },
          "stalenessSeconds": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int64",
            "description": "Live staleness of the dataset. Null if alwaysAccelerated is true."
          },
          "recentStalenessSeconds": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int64",
            "description": "A stable, conservative measurement of what staleness the dataset is achieving\nover the past few hours. Null if alwaysAccelerated is true.\n"
          },
          "stalenessReasons": {
            "type": "array",
            "description": "Reasons explaining why this dataset's freshness is what it is.\nEmpty array indicates the dataset is meeting its freshness goal.\nToday the server returns at most one dominant reason; the list\nshape is reserved so we can return multiple stacked reasons\n(e.g. cost-throttle + decay together) in the future without an\nAPI contract change.\n",
            "items": {
              "$ref": "#/components/schemas/Dataset-StalenessReason"
            }
          },
          "userConfiguredTargetStalenessSeconds": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int64",
            "description": "User-configured staleness target of the dataset. Set to default value if not set by user.\nActual target may be higher due to decaying or credit manager overrides.\n"
          },
          "targetExcludingDownstreamStalenessSeconds": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int64",
            "description": "Target staleness of the dataset, ignoring downstream freshness goals.\nThis can be higher than the configured staleness target due to decaying or credit manager overrides.\n"
          },
          "effectiveTargetStalenessSeconds": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int64",
            "description": "Effective target staleness of the dataset. This is the value that the dataset is being kept up to date to.\nThis can be higher or lower than the user-configured target staleness if the credit manager is active or downstream datasets staleness targets demand it.\n\nIf `effectiveTargetStalenessSeconds > userConfiguredTargetStalenessSeconds`, then the credit manager is active on this dataset, and\n`effectiveTargetStalenessSeconds == rateLimitOverrideTargetStalenessSeconds`.\nIf `effectiveTargetStalenessSeconds < userConfiguredTargetStalenessSeconds`, then a downstream dataset/monitor has a lower configured freshness goal.\nIf `effectiveTargetStalenessSeconds == userConfiguredTargetStalenessSeconds`, then the configured freshness goal is in effect.\n"
          },
          "rateLimitOverrideTargetStalenessSeconds": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int64",
            "description": "The target staleness override for this dataset from the credit manager, if\na transform credit rate limit is configured and is causing this dataset's\nconfigured freshness goal to be overridden.\n"
          },
          "alwaysAccelerated": {
            "type": "boolean"
          },
          "acceleratedRanges": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OpenTimeRange"
            }
          },
          "targetAcceleratedRanges": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OpenTimeRange"
            }
          },
          "freshnessTime": {
            "$ref": "#/components/schemas/NullableTime"
          },
          "effectiveOnDemandMaterializationLengthDays": {
            "type": "integer",
            "format": "int64"
          },
          "dataRetentionEnabled": {
            "type": "boolean"
          },
          "effectiveDataRetentionPeriodDays": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int64"
          },
          "effectiveDataRetentionTimestamp": {
            "$ref": "#/components/schemas/NullableTime"
          },
          "minimumDataTimestamp": {
            "$ref": "#/components/schemas/NullableTime"
          },
          "hibernatedAt": {
            "$ref": "#/components/schemas/NullableTime"
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Dataset-AccelerationError"
            }
          }
        }
      },
      "StorageIntegration-Type": {
        "title": "StorageIntegrationType",
        "type": "string",
        "enum": [
          "Iceberg"
        ]
      },
      "StorageIntegration-StorageProvider": {
        "title": "StorageProvider",
        "type": "string",
        "enum": [
          "S3"
        ]
      },
      "StorageIntegration-Brief": {
        "title": "StorageIntegrationBrief",
        "type": "object",
        "required": [
          "name",
          "type",
          "storageProvider"
        ],
        "description": "Expanded fields for a storage integration reference.\nPresent only when the parent resource is fetched with ?expand=true.\n",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the storage integration, unique within the customer."
          },
          "type": {
            "$ref": "#/components/schemas/StorageIntegration-Type"
          },
          "storageProvider": {
            "$ref": "#/components/schemas/StorageIntegration-StorageProvider"
          }
        }
      },
      "StorageIntegration-Ref": {
        "title": "StorageIntegrationRef",
        "type": "object",
        "description": "A reference to a storage integration, used when embedded in other resources.\nAlways includes id. When the parent resource is fetched with ?expand=true,\nthe record object is present with name, type, and storageProvider.\n",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/ObjectId",
            "readOnly": true
          },
          "record": {
            "$ref": "#/components/schemas/StorageIntegration-Brief"
          }
        }
      },
      "Dataset-DefinitionType": {
        "title": "DefinitionType",
        "type": "string",
        "description": "The kind of dataset definition. Values match `metatypes.TransformKind`'s\nstring constants verbatim where the backend has one (`OPAL`, `Builtin`,\n`LogDerived`, `OnlineEval`); `Source` and `Invalid` are REST-side additions for\ndataset shapes the backend does not surface as a TransformKind.\n- OPAL: dataset is produced by an OPAL transform pipeline.\n- Builtin: dataset is produced by a built-in transform (e.g. canonical-trace).\n- LogDerived: dataset is a log-derived metric.\n- OnlineEval: dataset holds an online evaluation's scores; manage it through `/v1/online-evaluations`.\n- Source: dataset receives data directly (datastream or external table); it has no transform.\n- Invalid: the stored transform kind is empty or unrecognised. Indicates corrupt or partially-migrated data, or a legacy SQL-kind transform (no production datasets carry one as of 2026-05-14).\n",
        "enum": [
          "OPAL",
          "Builtin",
          "LogDerived",
          "OnlineEval",
          "Source",
          "Invalid"
        ]
      },
      "Dataset-Resource": {
        "title": "DatasetResource",
        "type": "object",
        "description": "Observe Dataset with properties.",
        "required": [
          "id",
          "label",
          "description",
          "icon",
          "kind",
          "source",
          "lastUpdateSource",
          "fieldList",
          "validFromField",
          "validToField",
          "labelField",
          "primaryKey",
          "candidateKeys",
          "foreignKeys",
          "relatedKeys",
          "groupingKey",
          "correlationTags",
          "isSource",
          "interfaces",
          "contentType",
          "customFieldMappings",
          "objectTags",
          "alignment",
          "compilationError",
          "managedBy",
          "dataTableViewState",
          "defaultDashboard",
          "defaultInstanceDashboard",
          "isView",
          "isMonitor",
          "isMetricSMA",
          "accelerationType",
          "accelerationInfo",
          "createdBy",
          "updatedBy",
          "createdAt",
          "updatedAt",
          "storageIntegration",
          "storage",
          "iceberg",
          "definitionType",
          "defaultQueryWindowSeconds"
        ],
        "properties": {
          "id": {
            "$ref": "#/components/schemas/ObjectId",
            "readOnly": true
          },
          "label": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "icon": {
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/Dataset-DatasetKind"
          },
          "source": {
            "type": [
              "string",
              "null"
            ]
          },
          "lastUpdateSource": {
            "type": [
              "string",
              "null"
            ]
          },
          "fieldList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Dataset-FieldDesc"
            }
          },
          "validFromField": {
            "type": [
              "string",
              "null"
            ]
          },
          "validToField": {
            "type": [
              "string",
              "null"
            ]
          },
          "labelField": {
            "type": [
              "string",
              "null"
            ]
          },
          "primaryKey": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "candidateKeys": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "foreignKeys": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Dataset-ForeignKey"
            }
          },
          "relatedKeys": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Dataset-RelatedKey"
            }
          },
          "groupingKey": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Dataset-GroupingKey"
              },
              {
                "type": "null"
              }
            ]
          },
          "correlationTags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Dataset-CorrelationTag"
            }
          },
          "isSource": {
            "type": "boolean"
          },
          "interfaces": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Dataset-ImplementedInterface"
            }
          },
          "contentType": {
            "$ref": "#/components/schemas/DatasetContentType",
            "description": "The type of data this dataset contains. For Resource datasets, determined by\nthe dataset kind. For other kinds, derived from the dataset's interface bindings.\nReturns Unknown if no recognized interface is found.\n"
          },
          "customFieldMappings": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "description": "Custom field mappings associated with the dataset's content type. Maps canonical\nfield names to column name(s). Most fields map to a single column, but some\n(e.g. metric \"tag\") allow multiple columns. The exact set of keys depends on\nthe contentType. For example, a Log dataset might have {\"log\": [\"message\"]}, while\na Metric dataset might have {\"metric\": [\"metric_name\"], \"value\": [\"metric_value\"]}.\nEmpty if the dataset has no recognized content type.\n"
          },
          "objectTags": {
            "$ref": "#/components/schemas/ObjectTags"
          },
          "alignment": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Dataset-TimeAlignment"
              },
              {
                "type": "null"
              }
            ]
          },
          "compilationError": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Dataset-CompilationError"
              },
              {
                "type": "null"
              }
            ]
          },
          "managedBy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ObjectRef"
              },
              {
                "type": "null"
              }
            ]
          },
          "dataTableViewState": {
            "type": [
              "string",
              "null"
            ]
          },
          "defaultDashboard": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ObjectRef"
              },
              {
                "type": "null"
              }
            ]
          },
          "defaultInstanceDashboard": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ObjectRef"
              },
              {
                "type": "null"
              }
            ]
          },
          "isView": {
            "type": "boolean"
          },
          "isMonitor": {
            "type": "boolean"
          },
          "isMetricSMA": {
            "type": "boolean"
          },
          "accelerationType": {
            "$ref": "#/components/schemas/Dataset-AccelerationType"
          },
          "accelerationInfo": {
            "$ref": "#/components/schemas/Dataset-AccelerationInfo"
          },
          "createdBy": {
            "$ref": "#/components/schemas/User"
          },
          "updatedBy": {
            "$ref": "#/components/schemas/User"
          },
          "createdAt": {
            "$ref": "#/components/schemas/Time"
          },
          "updatedAt": {
            "$ref": "#/components/schemas/Time"
          },
          "storageIntegration": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/StorageIntegration-Ref"
              },
              {
                "type": "null"
              }
            ],
            "readOnly": true,
            "description": "The storage integration associated with this dataset, if any.\nReturns null for datasets without a storage integration.\nWhen expand=true, includes a record object with name, type, and storageProvider.\n"
          },
          "definitionType": {
            "$ref": "#/components/schemas/Dataset-DefinitionType",
            "description": "The kind of definition that produces this dataset. Always populated;\nclassifies every dataset, including source datasets (datastreams /\nexternal tables) and rows whose stored kind is empty or corrupt.\n"
          },
          "score": {
            "type": "number",
            "format": "double",
            "readOnly": true,
            "description": "Cosine similarity score (0–1). Only present when the `query` search\nparameter is used (semantic search). Omitted for non-semantic list\nrequests.\n"
          }
        }
      },
      "Dataset-ListResponse": {
        "title": "DatasetListResponse",
        "type": "object",
        "required": [
          "datasets",
          "meta"
        ],
        "properties": {
          "datasets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Dataset-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-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"
            }
          }
        }
      }
    }
  }
}
````