---
title: "Upload a file"
method: POST
path: "/v1/upload"
tags: ["upload"]
---

# Upload a file

`POST /v1/upload`

Upload a file to /tmp/uploads directory with automatic conflict resolution

## Response `200`

OK

- InternalHandlersUploadResponse — Response containing upload status and file location
  - `filePath` string — Path where the uploaded file was saved
  - `message` string — Status message or error details
  - `success` boolean — Whether the upload succeeded

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/wandb/apis/catnip-container-api.md) · [All operations](https://skmtc.net/wandb/apis/catnip-container-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wandb/catnip-container-api/revisions/a075b0fa501a/schema)
