Prompt Blocks

Put Agent Prompt Blocks

Replace the agent's prompt-block overrides. Send the complete desired set; blocks not listed revert to the workspace default.

put/api/v1/agents/{agent_id}/prompt-blocks

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/v1/agents/{agent_id}/prompt-blocks
  • Auth: none declared

Path parameters

agent_idinteger required

Request body

prompt_blocksobject required

{block_id: {enabled, text, order, hidden_rows}}. Omit a key to remove its override; null only for one already stored. Read GET /api/v1/prompt-blocks for valid ids.

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 5 revisions of this API.