---
title: "Start field proposals for several templates"
method: POST
path: "/v1/doc-gen/templates/propose"
tags: ["Document Generation"]
---

# Start field proposals for several templates

`POST /v1/doc-gen/templates/propose`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/doc-gen/templates/propose`
- Auth: HTTP bearer

Starts a proposal against one data product for each chosen template, up to `limit` (default and most 10, since each proposal is a model run). Proposals run after the response; poll each template's proposal with `GET /v1/doc-gen/templates/{id}/proposal`. By default only templates not yet proposed for the product are chosen. With `dry_run`, nothing starts and the response names the templates that would. Requires a person at or above member behind the key.

## Request body

- DocGenProposeManyRequest
  - `data_product_id` string, uuid, required
  - `template_ids` string[]: All templates when omitted or empty.
  - `only_unproposed` boolean: Only templates not yet proposed for this product.
  - `force` boolean
  - `limit` integer
  - `dry_run` boolean

## Response `201`

The proposals started, or with `dry_run` the templates that would start.

- DocGenProposeManyResult: With `dry_run`, `would_start` is set; otherwise `started` is set.
  - `dry_run` boolean
  - `would_start` object[]
    - `id` string, uuid
    - `name` string
    - `fields` integer
  - `started` object[]
    - `id` string, uuid
    - `name` string
    - `run_id` string, nullable
    - `status` 'running' | 'done' | 'failed'
  - `skipped` integer: Candidate templates left out because of `limit`.

## Other responses

- `400`: The request is invalid.
- `403`: The API key does not have the required scope.
- `404`: The requested resource was not found.
- `409`: The request conflicts with the current resource state.

## Changes

- **2026-10-28** `0a485a46163e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/doc-gen/templates/propose/post.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
