AI Builder

Patch Generation Settings

patch/api/generations/{project_id}/settings

Request

  • Base URL: https://api.agentstack.tech (the document declares no server; this is the origin it was published from)
  • URL: https://api.agentstack.tech/api/generations/{project_id}/settings
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

project_idinteger required

Headers

Idempotency-Keystring

Client-generated key to make mutating requests idempotent.

Request body

auto_generation_modeboolean nullable
auto_checkpoint_before_promoteboolean nullable
require_gates_passed_on_promoteboolean nullable
auto_generation_categoriesstring[] nullable
auto_generation_soak_minutesinteger nullable
auto_generation_require_approvalboolean nullable
auto_generation_approval_modestring nullable

off | at_least_one | min_count | min_percent | manual_only

auto_generation_approval_min_countinteger nullable
auto_generation_approval_min_percentinteger nullable
direct_prod_rolesstring[] nullable
auto_promote_on_all_passboolean nullable
auto_promote_strategystring nullable

immediate | canary | blue_green

canary_auto_routeboolean nullable
canary_error_rate_thresholdnumber nullable
canary_p99_latency_ms_thresholdnumber nullable
canary_watchdog_interval_secondsinteger nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.