---
title: "Upload Evidence"
method: POST
path: "/api/evidence/upload"
tags: ["Turbinia Evidence"]
---

# Upload Evidence

`POST /api/evidence/upload`

Upload evidence file to server for processing.

Args:
  ticket_id (str): ID of the ticket, which will be the name of the folder 
    where the evidence will be saved.
  calculate_hash (bool): Boolean defining if the hash of the evidence should
    be calculated.
  file (List[UploadFile]): Evidence files to be uploaded to folder for later
      processing. The maximum size of the file is 10 GB. 

Returns:
  List of uploaded evidences or warning messages if any.

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2023-09-01** `a7f1f9e6443d` — 1 info
  - endpoint added
- **2022-08-29** `c6a8784c5202` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/google/apis/turbinia-api-server/changes/api/evidence/upload/post.md)

---

[API](https://skmtc.dev/google/apis/turbinia-api-server.md) · [All operations](https://skmtc.dev/google/apis/turbinia-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/turbinia-api-server/revisions/207d6275cb53/schema)
