---
title: "Get an existing Dataset"
method: GET
path: "/policies/dataset/{id}"
tags: ["dataset"]
---

# Get an existing Dataset

`GET /policies/dataset/{id}`

## Response `201`

Policy object

- DatasetObjSchema
  - `id` string, uuid, required — Unique identifier (UUID)
  - `name` string — A unique name label
  - `agent_group_id` string, uuid — Unique identifier (UUID) of an agent_group
  - `agent_policy_id` string, uuid — Unique identifier (UUID) of an agent_policy
  - `sink_ids` string[] — An array of one or more sink unique identifier
  - `valid` boolean — Boolean field indicating whether the dataset is valid
  - `tags` object — User defined key/values for organization and searching
  - `ts_created` string, date-time — Timestamp of creation

## Other responses

- `400` — Failed due to malformed JSON.
- `404` — A non-existent entity request.
- `500` — Unexpected server-side error occurred.

## Changes

- **2026-07-17** `d95ee7691efb` — 1 breaking
  - added the new required `header` request parameter `Authorization` to all path's operations
- **2022-10-04** `ce59b3bdec00` — 1 breaking
  - added the new required `header` request parameter `Bearer authorization` to all path's operations
- **2022-05-06** `9309037e46b9` — 1 warning, 1 info
  - removed the optional property `sink_id` from the response with the `201` status
  - added the optional property `sink_ids` to the response with the `201` status
- **2021-09-22** `dc9b53b51fdd` — 1 breaking
  - the `sink_id` response's property type changed from `string` to `array`, and format from `uuid` to no format for status `201`
- **2021-08-31** `adfab293130f` — 2 info
  - api tag `dataset` added
  - api tag `policy` removed

[Full history](https://skmtc.dev/orb-community/apis/orb-policies/changes/policies/dataset/:id/get.md)

---

[API](https://skmtc.dev/orb-community/apis/orb-policies.md) · [All operations](https://skmtc.dev/orb-community/apis/orb-policies/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/orb-community/orb-policies/revisions/d95ee7691efb/schema)
