---
title: "Upload Zip"
method: POST
path: "/api/upload/zip"
tags: ["upload"]
---

# Upload Zip

`POST /api/upload/zip`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/upload/zip`
- Auth: HTTP bearer

Upload a ZIP file of source code for agent deployment.

Validates the ZIP, converts to tar.gz, uploads to S3, and returns
metadata about the upload (S3 key, detected Dockerfile, file list).

## Request body `multipart/form-data`

- BodyUploadZipApiUploadZipPost
  - `file` string, binary, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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