---
title: "Update seat tracking automation policy"
method: PUT
path: "/v1/seat-tracking/projects/{projectId}/automation"
tags: ["Seat Tracking"]
---

# Update seat tracking automation policy

`PUT /v1/seat-tracking/projects/{projectId}/automation`

## Request

- Base URL: `https://api.nops.io`
- URL: `https://api.nops.io/v1/seat-tracking/projects/{projectId}/automation`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nops/apis/nops-public-api/docs/v1/seat-tracking/projects/:projectId/automation/put.ts> (a function with typed inputs; its response is checked against the schema)

Configure detection thresholds, approval mode, and pool settings.

## Path parameters

- `projectId` string, required: Seat tracking project ID

## Headers

- `Idempotency-Key` string, required: Unique key for safe retries on write requests (required, max 64 characters).

## Request body

- object
  - `provider` string, required
  - `enabled` boolean
  - `approvalMode` 'observe' | 'approve' | 'auto'
  - `allowRequestsBeforeGraduation` boolean
  - `thresholdEnabled` boolean
  - `headroomDollars` number, nullable
  - `spendPercentOfPool` number, nullable
  - `minSpendFloorDollars` number, nullable
  - `forecastEnabled` boolean
  - `forecastBreachWithinDays` integer, nullable
  - `poolSource` 'fixed' | 'percent_of_target'
  - `poolFixedDollars` number, nullable
  - `poolPercentOfTarget` number, nullable
  - `maxDeltaPerUserDollars` number, nullable
  - `maxUsersPerRun` integer
  - `notifyEmails` string[]
  - `notifyChatChannels` object[]
    - `provider` 'slack' | 'teams', required
    - `channelId` string, required
    - `channelName` string
    - `teamId` string

## Response `200`

Update seat tracking automation policy

- object
  - `data` object, required: JSON object

## Other responses

- `401`: Unauthorized — invalid or missing API key
- `403`: Forbidden — insufficient permissions or entitlement

---

[API](https://skmtc.dev/nops/apis/nops-public-api.md) - [All operations](https://skmtc.dev/nops/apis/nops-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nops/apis/nops-public-api/revisions/ac549fa495dd?raw)
