---
title: "Agent Set Frontmatter"
method: PUT
path: "/agent/document/{doc_id}/frontmatter"
---

# Agent Set Frontmatter

`PUT /agent/document/{doc_id}/frontmatter`

## Request

- Base URL: `https://app.wunel.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.wunel.com/agent/document/{doc_id}/frontmatter`
- Auth: none declared

## Path parameters

- `doc_id` string, required

## Request body

- SetFrontmatterRequest
  - `frontmatter` object, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/wunel/apis/wunel-api.md) · [All operations](https://skmtc.dev/wunel/apis/wunel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wunel/apis/wunel-api/revisions/872fe0687a60?raw)
