---
title: "Confirm GCS upload and start async extraction"
method: POST
path: "/api/chat/attachments/upload/confirm"
tags: ["chat"]
---

# Confirm GCS upload and start async extraction

`POST /api/chat/attachments/upload/confirm`

## Request

- Base URL: `https://localhost:8080`
- URL: `https://localhost:8080/api/chat/attachments/upload/confirm`
- Auth: none declared

## Request body

- ConfirmGcsUploadDto
  - `attachmentId` string, required: Attachment ID from initiate
  - `statsigStableID` string: Deprecated; accepted for older clients and ignored

## Response `200`

Confirmed; extraction dispatched async (status via polling)

## Other responses

- `401`: Sign-in required
- `404`: Attachment not found
- `409`: Already confirmed or processed

---

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