Projects
Knowledge

Knowledge Config Patch

patch/api/projects/{project_id}/knowledge/config

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/projects/{project_id}/knowledge/config
  • 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

support_urlstring nullable
moderator_user_idsinteger[] nullable
safety_playbooksobject nullable
safety_playbooks_write_mode'replace' | 'patch' | 'merge' nullable

How to apply safety_playbooks: replace (full dict, UI default), patch (per-playbook overlay, MCP default), merge (policy-safe fill only).

crisis_playbooksobject nullable
min_rag_scorenumber nullable
grounded_firstboolean nullable
safety_fail_mode'fail_open' | 'fail_closed_crisis' nullable
safety_term_allowliststring[] nullable
retention_daysinteger nullable
llm_primarystring nullable
llm_fallbackstring nullable
plan_history_enabledboolean nullable
plan_history_max_user_messagesinteger nullable
slo_p95_msinteger nullable
max_concurrent_runsinteger nullable
hyde_enabledboolean nullable
term_aliasesobject nullable
context_map_enabledboolean nullable
crag_enabledboolean nullable
use_assistant_pipelineboolean nullable
collection_idsstring[] nullable
entitlement_sourcesstring[] nullable
getcourse_cache_ttl_secinteger nullable
product_id_mapobject nullable
allowed_link_domainsstring[] nullable
onboarding_email_prompt_rustring nullable
require_email_for_paidboolean nullable
crisis_notify_webhook_urlstring nullable
default_playground_bot_uuidstring nullable
safety_reactionsobject nullable
handoff_sla_minutesinteger nullable

Response

Successful Response

object required

Changes

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