---
title: "Accept"
method: POST
path: "/base-access"
tags: ["base-access"]
---

# Accept

`POST /base-access`

## 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/base-access`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Request body

- BaseAccessIn
  - `repo` string, required
  - `terms` string, required
  - `hf_token_ref` string, nullable

## Response `201`

Successful Response

- BaseAccess: Your organisation's acceptance of a gated Hugging Face repo's terms: `hf_token_ref` names your own Hub token in your key vault (credential `tenant`), none when jobs use OS3's access (`platform`). On a job, the acceptances that authorised it.
  - `id` string, uuid, required
  - `repo` string, required
  - `terms` string, required
  - `credential` 'platform' | 'tenant', required
  - `hf_token_ref` string, nullable, required
  - `accepted_by` string, required
  - `accepted_at` string, date-time, required
  - `revoked_at` string, date-time, nullable
  - `revoked_by` string, nullable

## 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)
