Webpage Awareness

Delete webpage context pages.

Changed on

Deletes webpage context entries for an agent. Pass page_ids to delete specific pages, or omit the body to delete all pages for the agent. Requires the Webpage Awareness tool to be enabled on the agent.

delete/api/v1/projects/{projectId}/contextual-rag/pages

Request

Path parameters

projectIdinteger required

The unique identifier of the agent.

Request body

page_idsstring[]

List of page IDs to delete. If omitted, all pages for the agent are deleted.

Example request

{
  "page_ids": [
    "page_abc123",
    "page_def456"
  ]
}

Response

Confirmation of deleted page context entries.

status'error' | 'success'

The status of the response

Example response

{
  "status": "success",
  "data": {
    "deleted_count": 5
  }
}

Changes