---
title: "Complete Backoffice Attachment Upload"
method: POST
path: "/backoffice/files/attachments/{file_id}/complete"
tags: ["Backoffice"]
---

# Complete Backoffice Attachment Upload

`POST /backoffice/files/attachments/{file_id}/complete`

## Request

- Base URL: `https://api.toolhouse.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.toolhouse.ai/backoffice/files/attachments/{file_id}/complete`
- Auth: HTTP bearer

Verify a direct attachment upload and mark its file row ready.

## Path parameters

- `file_id` string, uuid, required

## Request body

- BackofficeAttachmentUploadCompleteRequest: Mark a direct attachment upload ready after storage verification.
  - `user_id` string, required
  - `etag` string, nullable
  - `checksum_sha256` string, nullable

## Response `200`

Successful Response

- FileResponse: API response wrapper for a file.
  - `data` FileModel, required: Stored file metadata.
    - `id` string, uuid, required
    - `user_id` string, required
    - `filename` string, required
    - `mime_type` string, required
    - `size_bytes` integer, required
    - `storage_provider` string, required
    - `bucket` string, required
    - `object_key` string, required
    - `public_url` string, nullable
    - `etag` string, nullable
    - `checksum_sha256` string, nullable
    - `run_id` string, uuid, nullable
    - `tags` string[], required
    - `status` 'uploading' | 'ready' | 'failed' | 'deleted', required
    - `metadata` object, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `deleted_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-06** `05df66628f74`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/toolhouse/apis/toolhouse-api/changes/backoffice/files/attachments/:file_id/complete/post.md)

---

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