---
title: "Check and publish an uploaded replacement"
method: POST
path: "/datasets/{id}/updates/{updateId}/submit"
---

# Check and publish an uploaded replacement

`POST /datasets/{id}/updates/{updateId}/submit`

## Request

- Base URL: `https://api.databazaar.io`
- URL: `https://api.databazaar.io/datasets/{id}/updates/{updateId}/submit`
- Auth: HTTP bearer

Idempotently queues content checks, schema/sample regeneration and an atomic version switch. Old data stays live until checks pass; identical content does not advance freshness.

## Path parameters

- `id` string, uuid, required
- `updateId` string, uuid, required

## Response `200`

Already processing or terminal

## Other responses

- `202`: Queued for checks; poll update history
- `409`: Another update is already pending

---

[API](https://skmtc.dev/databazaar/apis/databazaar-api.md) · [All operations](https://skmtc.dev/databazaar/apis/databazaar-api/llms.txt) · [OpenAPI document](https://skmtc.dev/databazaar/apis/databazaar-api/revisions/02e6531ad801?raw)
