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

# Get a dataset (legacy)

Get information about one dataset by id. Does not query the data inside the dataset.


# 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 Legacy",
      "description": "Legacy dataset endpoints. Will be deprecated in the future.\n"
    }
  ],
  "paths": {
    "/v1/dataset/{id}": {
      "get": {
        "summary": "Get a dataset (legacy)",
        "operationId": "getDatasetById",
        "tags": [
          "Dataset Legacy"
        ],
        "description": "Get information about one dataset by id. Does not query the data inside the dataset.\n",
        "parameters": [
          {
            "name": "id",
            "description": "The dataset id. Can be an ORN or a plain ID.",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true,
            "examples": {
              "A dataset ID": {
                "value": "40000068"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "## Properties of one dataset\n\nDataset properties, encoded as a JSON object.\n",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ok": {
                      "type": "boolean"
                    },
                    "data": {
                      "$ref": "#/components/schemas/DatasetLegacy-Resource"
                    }
                  }
                },
                "example": "{\n  \"ok\": true,\n  \"data\": {\n    \"meta\":{\"id\":\"o::101:dataset:40000068\",\"workspaceId\":\"40000058\",\"customerId\":\"101\"},\n    \"config\":{\"name\":\"kubernetes/Container Logs\"},\n    \"state\":{\n      \"urlPath\":\"/workspace/40000058/dataset/event/40000068\",\n      \"kind\":\"Event\",\n      \"createdBy\":\"1\",\n      \"createdDate\":\"2023-04-20T16:20:00Z\",\n      \"updatedBy\":\"1\",\n      \"updatedDate\":\"2023-04-20T16:20:00Z\"\n      \"columns\":[{\"name\":\"BUNDLE_TIMESTAMP\",\"type\":\"timestamp\"},{\"name\":\"message\",\"type\":\"string\"},{\"name\":\"tags\",\"type\":\"object\"}],\n      \"interfaces\":[\"log\"]\n    }\n  }\n}\n"
              }
            }
          },
          "400": {
            "description": "Invalid request."
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "Authorization: Bearer <customerid> <apitoken>\n"
      }
    },
    "schemas": {
      "DatasetLegacy-Resource": {
        "type": "object",
        "required": [
          "meta",
          "config",
          "state"
        ],
        "properties": {
          "meta": {
            "type": "object",
            "description": "Metadata about the dataset.",
            "required": [
              "id",
              "workspaceId",
              "customerId"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "workspaceId": {
                "type": "string",
                "format": "int64"
              },
              "customerId": {
                "type": "string",
                "format": "int64"
              }
            }
          },
          "config": {
            "description": "Directly settable properties of the dataset.",
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string"
              }
            }
          },
          "state": {
            "description": "Implicitly derived state of the dataset.",
            "type": "object",
            "required": [
              "urlPath",
              "kind",
              "createdBy",
              "createdDate",
              "updatedBy",
              "updatedDate"
            ],
            "properties": {
              "urlPath": {
                "type": "string"
              },
              "kind": {
                "type": "string"
              },
              "createdBy": {
                "type": "string",
                "format": "int64"
              },
              "createdDate": {
                "type": "string",
                "format": "date-time"
              },
              "updatedBy": {
                "type": "string",
                "format": "int64"
              },
              "updatedDate": {
                "type": "string",
                "format": "date-time"
              },
              "columns": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "type"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    }
                  }
                }
              },
              "interfaces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "path": {
                      "type": "string"
                    },
                    "mapping": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
````