Skip to main content
PATCH
Save block draft

Authorizations

Authorization
string
header
required

Organization API key, generated in studio.sidenet.ai. Backend only — never in a browser.

Path Parameters

id
string
required
Example:

"d41a8f6b-9c27-4b13-a5e8-2f60c1d7b394"

Body

application/json
content
string

Template text. {{name}}, {{a.b}} and {{name || 'default'}} are resolved per request from the chat body's variables plus the now.* builtins; an unsupplied placeholder is left visible.

Example:

"You are a support agent for {{company}}. Answer in {{locale || 'English'}}."

rules
object

Display condition: { operator: "AND"|"OR", conditions: [...] }, nested up to 3 levels. Each condition is { field, operator, value? }. Null/absent means the block is always included.

Example:
name
string
Example:

"Brand voice"

description
string
Example:

"Tone and phrasing every agent shares"

Response

The saved draft

draft
object

The whole draft after the merge. Agents pinned to a published version are unaffected until you publish and roll out.