Skip to main content
Use this endpoint when you need to update just one section of an agent’s configuration — for example, refining the agent’s memory rules or adjusting its soul — without having to resend every other field. This is a targeted patch operation: only the field you specify is overwritten; all other configuration fields remain unchanged.

Request

POST https://app.botsify.com/api/v1/update-instruction Authorization: Bearer token — include your token in the Authorization: Bearer <token> header.

Body Parameters

integer
required
The unique identifier of the bot whose version you want to patch.
string
required
The name of the instruction field to update. Must be one of:
  • agent — the main system instructions
  • memory — memory/retention configuration
  • soul — personality and tone description
  • identity — identity and brand voice settings
  • user_info — user context handling rules
string
The new content to write into the specified field. If omitted or empty, the field is cleared.
integer
The ID of the version to patch. When omitted, the patch is applied to the currently active version.

Example — Patch the Soul Field on a Specific Version

Example — Patch the Active Version

Response

A successful request returns 200 OK with the updated version object, reflecting only the changed field.