---
title: "Save Agent Rules"
method: PUT
path: "/api/pdf/templates/{template_id}/agent-rules"
tags: ["PDF Form Processing"]
---

# Save Agent Rules

`PUT /api/pdf/templates/{template_id}/agent-rules`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/pdf/templates/{template_id}/agent-rules`
- Auth: HTTP bearer

Save agent rules for a PDF template.

## Path parameters

- `template_id` string, required

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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