Webpage Awareness

Bulk update page messages.

Changed on

Updates auto_message and/or display_message for one or more webpage context entries. Requires the Webpage Awareness tool to be enabled on the agent.

patch/api/v1/projects/{projectId}/contextual-rag/messages

Request

Path parameters

projectIdinteger required

The unique identifier of the agent.

Request body

Example request

{
  "updates": [
    {
      "id": "page_abc123",
      "auto_message": "This page describes our pricing plans.",
      "display_message": "Welcome to our pricing page! How can I help?"
    }
  ]
}

Response

Updated page context entries after bulk message update.

status'error' | 'success'

The status of the response

Example response

{
  "status": "success",
  "data": {
    "updated_count": 3
  }
}

Changes