---
title: "Bulk Save Intents"
method: POST
path: "/api/admin/page-intents/bulk-save"
tags: ["admin"]
---

# Bulk Save Intents

`POST /api/admin/page-intents/bulk-save`

Bulk save all intent data for a page (element labels, intent actions, vocabulary).

This replaces any existing data for the same product_id + url_pattern.

## Headers

- `authorization` string, required

## Request body

- BulkSaveIntentsRequest — Request to bulk save all intent data for a page.
  - `product_id` string, required
  - `url_pattern` string, required
  - `page_name` string, nullable
  - `source_capture_id` string, nullable
  - `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
  - `page_summary` string, nullable
  - `rolled_up_intents` string[], nullable

## 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/66e6366f8ef9?raw)
