---
title: "Acquire Lease"
method: POST
path: "/api/v1/camera-capture/runs/{run_id}/controller-lease"
tags: ["v1", "Camera capture"]
---

# Acquire Lease

`POST /api/v1/camera-capture/runs/{run_id}/controller-lease`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/camera-capture/runs/{run_id}/controller-lease`
- Auth: none declared

## Path parameters

- `run_id` string, uuid, required

## Request body

- LeaseCommand
  - `idempotency_key` string, required
  - `expected_version` integer, required
  - `controller_token` string, nullable
  - `renew_only` boolean

## Response `200`

Successful Response

- ControllerLease
  - `controller_token` string, required
  - `expires_at` string, date-time, required
  - `run_version` integer, required

## Other responses

- `422`: Validation Error

---

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