> ## Documentation Index
> Fetch the complete documentation index at: https://docs.docketqa.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Active Build

Promote an existing build to be the app's active build.

## Path parameters

<ParamField path="id" type="integer" required>App ID.</ParamField>
<ParamField path="build_id" type="integer" required>The build to promote. Must belong to the app.</ParamField>

No request body.

```bash theme={null}
curl -X PUT https://api.docketqa.com/apps/17/builds/47/set-current \
  -H "X-API-KEY: your-api-key"
```

Returns `{ message, app }` with `app.current_build` set to the promoted build. `404` if the app or build is not in your account.
