Projects
Knowledge

Knowledge Prompt Patch

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

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/prompt
  • 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

system_preamblestring nullable
plan_instructionsstring nullable
versionstring nullable
agent_uuidstring nullable
write_modestring nullable
fieldstring nullable

plan_instructions or system_preamble for search_replace / unified_diff

replacementsobject[] nullable
unified_diffstring nullable
strict_diffboolean
allow_shrinkboolean

Response

Successful Response

object required

Changes

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