---
title: "Create a build"
method: POST
path: "/builds/start"
---

# Create a build

`POST /builds/start`

## Headers

- `Authorization` string, required

## Request body

- object
  - `branch` string — The branch used to create the snapshots
  - `commitSha` string — The SHA1 from the current
  - `committerName` string — The name from the current
  - `commiterEmail` string — The email from the commit
  - `commitDate` string — The commit date of the commit (YYYY-MM-DDThh-mm-ss-Z)
  - `authorName` string — The author of the commit
  - `authorEmail` string — The author email of the commit
  - `authorDate` string — The author date of the commit (YYYY-MM-DDThh-mm-ss-Z)
  - `assets` Assets — A HashTable of file names as the key and SHA1 as the value

## Response `200`

Build object

- object
  - `id` string, uuid — The buildId from the build created
  - `assets` Assets — A HashTable of file names as the key and SHA1 as the value

## Other responses

- `403` — Error

---

[API](https://skmtc.dev/basset/apis/basset-build-api.md) · [All operations](https://skmtc.dev/basset/apis/basset-build-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/basset/basset-build-api/revisions/e07c379e33f3/schema)
