Skip to main content
PATCH
Update systemPrompt and/or dynamicPromptEnabled

Autorizações

X-Api-Key
string
header
obrigatório

Parâmetros de caminho

agentPublicId
string<uuid>
obrigatório

Corpo

application/json

Body for updating the agent's system prompt and dynamic prompt toggle. Fields are tri-state: omit to leave unchanged, set to a value to update, or send null to clear.

dynamicPromptEnabled
object

Whether dynamic prompt variables are enabled for this agent.

Exemplo:

true

systemPrompt
object

New system prompt content (max 200,000 characters).

Exemplo:

"You are a friendly support agent for Acme Corp."

Resposta

OK

Aggregated prompt context (systemPrompt + dynamicPromptEnabled + variables).

dynamicPromptEnabled
boolean
systemPrompt
string
variables
object[]

Dynamic-prompt variables on this agent. Full CRUD lives at /variables.