---
title: "List webpage context pages."
method: GET
path: "/api/v1/projects/{projectId}/contextual-rag/pages"
tags: ["Webpage Awareness"]
---

# List webpage context pages.

`GET /api/v1/projects/{projectId}/contextual-rag/pages`

## Request

- Base URL: `https://app.customgpt.ai`
- URL: `https://app.customgpt.ai/api/v1/projects/{projectId}/contextual-rag/pages`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/poll-the-people/apis/customgpt-ai/docs/api/v1/projects/:projectId/contextual-rag/pages/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns all webpage context entries for an agent, with optional URL filtering and pagination.
Requires the **Webpage Awareness** tool to be enabled on the agent.

## Path parameters

- `projectId` integer, required

## Query parameters

- `url` string
- `limit` integer
- `page` integer

## Response `200`

Paginated list of webpage context entries for the agent.

- object
  - `status` 'error' | 'success': The status of the response
  - `data` object
    - `contexts` ContextualRAGPage[]: List of page context entries.
      - `id` string: Unique identifier of the page in the Webpage Awareness service
      - `agent_id` integer: The agent this page belongs to
      - `url` string: The URL of the webpage
      - `title` string, nullable: The title of the webpage
      - `summary` string, nullable: AI-generated summary of the page content and visitor intent
      - `auto_message` string, nullable: Context-rich starter question automatically shown to visitors on this page
      - `display_message` string, nullable: Custom display message shown to visitors on this page
      - `updated_at` string: ISO 8601 timestamp of the last update
    - `total` integer: Total number of pages available.
    - `page` integer: Current page number.
    - `limit` integer: Maximum number of results returned.
    - `offset` integer: Number of results skipped (derived from page and limit).
    - `has_more` boolean: Whether there are more pages available beyond this result set.

## Other responses

- `401`: API Token is either missing or invalid
- `403`: Webpage Awareness tool must be enabled to use this endpoint.
- `404`: Agent not found
- `429`: Too many requests. You have exceeded your API rate limit.
- `500`: Internal Server Error

## Changes

- **2026-11-03** `77aab4354382`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/poll-the-people/apis/customgpt-ai/changes/api/v1/projects/:projectId/contextual-rag/pages/get.md)

---

[API](https://skmtc.dev/poll-the-people/apis/customgpt-ai.md) - [All operations](https://skmtc.dev/poll-the-people/apis/customgpt-ai/llms.txt) - [OpenAPI document](https://skmtc.dev/poll-the-people/apis/customgpt-ai/revisions/77aab4354382?raw)
