---
title: "Get Decision Settings"
method: GET
path: "/snapshots/{snapshot_id}/decisions/settings"
tags: ["dashboard"]
---

# Get Decision Settings

`GET /snapshots/{snapshot_id}/decisions/settings`

The repository's resolved decision capture policy.

Stored sparsely on `repos.decisions_policy` and resolved through the
engine's own pure resolver, so hosted cannot drift from what capture will
actually do. The engine reads the same block out of `.repowise/config.yaml`
in a checkout; hosted has no durable checkout, so the column is where a
hosted repository's answer lives.

Declared above `/{decision_index}` for the same reason `/counts` is:
FastAPI matches in declaration order.

## Path parameters

- `snapshot_id` string, required

## Response `200`

Successful Response

- DecisionSettingsResponse — The resolved capture policy, as the shared settings panel expects it. Resolved rather than stored: the column holds only the keys somebody set, and the engine's resolver fills the rest from the preset on every read. So a repository never silently acquires a capture source because a default moved, and never silently keeps one either. ``provider_available`` is false on hosted. LLM-backed decision capture is off here, so each source reports its deterministic stage running and its model stage skipped, with the reason. That is the honest rendering; a model toggle that looked active would be the dishonest one. ``etag`` is the concurrency token. The panel sends it back on write and a stale one is refused, so two people editing the same policy cannot silently overwrite each other.
  - `enabled` boolean, required
  - `llm` boolean, required
  - `preset` string, required
  - `discovery` object, required
  - `sources` object[], required
  - `provider_available` boolean
  - `warnings` string[]
  - `legacy_keys` string[]
  - `etag` string

## Other responses

- `422` — Validation Error

---

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