Webpage Awareness
Bulk update page messages.
Changed onUpdates 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
- Base URLhttps://app.customgpt.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.
Example response
{
"status": "success",
"data": {
"updated_count": 3
}
}Changes
- info
endpoint added
- info