Skip to main content
POST
Preview block content

Authorizations

Authorization
string
header
required

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

Body

application/json
content
string
required
Example:

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

rules
object

Display condition to evaluate against variables. Null is always-on.

Example:
variables
object
Example:

Response

The rendered text, and what the variables did

rendered
string

The content with variables substituted.

included
boolean

Whether rules evaluated true against these variables — i.e. whether this block would appear in the prompt at all.

variables
string[]

Every {{variable}} the content references.

missingVariables
string[]

Those that had no value and rendered as their default (or empty).

droppedVariables
string[]

Variables you sent that the size/type limits rejected.