---
title: "Build by service"
method: POST
path: "/builds/{serviceId}/"
tags: ["builds"]
---

# Build by service

`POST /builds/{serviceId}/`

## Path parameters

- `serviceId` string, required

## Request body

- object
  - `branch` string
  - `buildFlags` object
    - `nocache` boolean — use docker cache
  - `sha` string

## Response `200`

ok

---

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