dashboard

Update Decision Settings

Changed on

Merge a patch into the repository's capture policy and return the result.

Only the snapshot owner may edit, matching the page-notes rule: a public ownerless snapshot is readable but not configurable.

The patch is sparse. Keys nobody set stay unset and keep resolving from the preset, so a stored policy does not freeze today's defaults.

etag is checked when the client sends one. The shared panel autosaves, so two people on the same settings page would otherwise overwrite each other with nothing to show that anything was lost.

put/snapshots/{snapshot_id}/decisions/settings

Request

  • Base URL: https://api.repowise.dev (the document declares no server; this is the origin it was published from)
  • URL: https://api.repowise.dev/snapshots/{snapshot_id}/decisions/settings
  • Auth: HTTP bearer

Path parameters

snapshot_idstring required

Request body

presetstring nullable
enabledboolean nullable
llmboolean nullable
sourcesobject nullable
discoveryobject nullable
agent_acceptanceboolean nullable
capture_promptboolean nullable
etagstring nullable

Response

Successful Response

enabledboolean required
llmboolean required
presetstring required
discoveryobject required
sourcesobject[] required
agent_acceptanceboolean
capture_promptboolean
provider_availableboolean
warningsstring[]
legacy_keysstring[]
etagstring

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status