---
title: "Check Base Ref Bundle Exists"
method: POST
path: "/api/v1/workspaces/{workspace_id}/sync/base-ref-exists"
tags: ["workspaces"]
---

# Check Base Ref Bundle Exists

`POST /api/v1/workspaces/{workspace_id}/sync/base-ref-exists`

Check if a base-ref bundle exists (for deduplication by SHA).

## Path parameters

- `workspace_id` string, required

## Request body

- BaseRefExistsRequest — Request to check if a base-ref bundle exists.
  - `sha` string, required

## Response `200`

Successful Response

- BaseRefExistsResponse — Response indicating if base-ref bundle exists.
  - `exists` boolean, required
  - `storage_key` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/omnara/apis/omnara-api.md) · [All operations](https://skmtc.dev/omnara/apis/omnara-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/omnara/omnara-api/revisions/624048e40cad/schema)
