---
title: "Generate Page Summary"
method: POST
path: "/api/admin/page-intents/generate-summary"
tags: ["admin"]
---

# Generate Page Summary

`POST /api/admin/page-intents/generate-summary`

Generate a verbose natural-language page summary from intent mappings.

This summary is injected into the main agent's system prompt so it knows
what each page can do and when to hand off to browser_use.

Uses gpt-4o-mini (text task, not vision).

## Headers

- `authorization` string, required

## Request body

- GenerateSummaryRequest — Request to generate a page summary from intent mappings.
  - `page_name` string, nullable
  - `url_pattern` string, required
  - `element_labels` object, required
  - `intent_actions` IntentActionResponse[], required
    - `id` string, nullable
    - `intents` string[], required
    - `actions` object[], required
    - `notes` string, nullable
    - `condition` string, nullable
  - `vocabulary` VocabularyMappingResponse[], required
    - `id` string, nullable
    - `term` string, required
    - `canonical` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas.md) · [All operations](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas/llms.txt) · [OpenAPI document](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas/revisions/dafdd6b267c4?raw)
