---
title: "Grant Dataset"
method: POST
path: "/datasets/{dataset_id}/grants"
tags: ["datasets"]
---

# Grant Dataset

`POST /datasets/{dataset_id}/grants`

## Request

- Base URL: `https://api.os3robotics.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.os3robotics.com/datasets/{dataset_id}/grants`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Let workspace `workspace_id` (of your organisation) combine this dataset's sealed versions
into its composites. Granting and revoking need access to both workspaces.

## Path parameters

- `dataset_id` string, uuid, required

## Request body

- DatasetGrantIn
  - `workspace_id` string, uuid, required

## Response `201`

Successful Response

- DatasetGrant
  - `dataset_id` string, uuid, required
  - `workspace_id` string, uuid, required
  - `granted_by` string, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/os3robotics/apis/os3-api.md) - [All operations](https://skmtc.dev/os3robotics/apis/os3-api/llms.txt) - [OpenAPI document](https://skmtc.dev/os3robotics/apis/os3-api/revisions/af32cd4f14bb?raw)
