---
title: "Upload Url"
method: POST
path: "/v2/builds/upload-url"
tags: ["builds"]
---

# Upload Url

`POST /v2/builds/upload-url`

Create a presigned S3 URL for uploading a build context, with a new build id.

## Response `200`

Successful Response

- BuildUploadUrlResponse
  - `upload_url` string, required
  - `build_id` string, uuid, required

## Other responses

- `400` — Invalid or malformed request
- `401` — Missing or invalid credentials
- `403` — Caller may not access this resource
- `404` — Referenced entity does not exist
- `409` — Resource already exists

---

[API](https://skmtc.dev/hud/apis/hud-platform.md) · [All operations](https://skmtc.dev/hud/apis/hud-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hud/hud-platform/revisions/58558fc733d9/schema)
