---
title: "Patch Submission"
method: PATCH
path: "/v1/submissions/{submission_id}"
tags: ["v1", "submissions"]
---

# Patch Submission

`PATCH /v1/submissions/{submission_id}`

## Request

- Base URL: `https://thrustlab.com`
- URL: `https://thrustlab.com/v1/submissions/{submission_id}`
- Auth: HTTP bearer

Edit a submission before review.

Allowed fields: name, manufacturer, data_json, source_url, notes.
component_type is not editable — it determines moderation routing.

Empty body returns 200 with the unchanged resource (idempotent no-op).

Returns the updated submission resource (200).

Error 409 if status has moved past 'submitted' (a moderator has reviewed).

## Path parameters

- `submission_id` string, required

## Request body

- SubmissionPatch: Withdraw/edit-before-review fields. component_type excluded — structural classifier; changing it would invalidate downstream review pipelines.
  - `data_json` object, nullable
  - `manufacturer` string, nullable
  - `name` string, nullable
  - `notes` string, nullable
  - `source_url` string, nullable

## Response `200`

Successful Response

- SubmissionResource
  - `component_type` string, required
  - `created_at` string, date-time, required
  - `credit_reward` integer, required
  - `data_json` object, required
  - `id` string, required
  - `manufacturer` string, required
  - `name` string, required
  - `notes` string, nullable, required
  - `object` string
  - `reviewed_at` string, date-time, nullable, required
  - `reviewer_notes` string, nullable, required
  - `source_url` string, required
  - `status` string, required

## Other responses

- `422`: Validation Error

---

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