---
title: "Update Field"
method: PATCH
path: "/v0/logs/update_field"
tags: ["Logs"]
---

# Update Field

`PATCH /v0/logs/update_field`

Updates an existing field.

For now this is intentionally metadata-only and only supports updating the
field description. It does not modify log payloads, derived templates, field
names, mutability, or data types.

## Request body

- UpdateFieldRequest
  - `project_name` string, required — Name of the project the field belongs to.
  - `context` string, nullable — The context of the field to update.
  - `field_name` string, required — The name of the field to update.
  - `description` string, nullable, required — Field description. This is the only supported field update. Use null to clear the description.

## Response `200`

Field updated successfully

- unknown

## Other responses

- `404` — Project, context, or field not found
- `422` — Validation Error

---

[API](https://skmtc.net/unify/apis/unifyai-http-api-reference.md) · [All operations](https://skmtc.net/unify/apis/unifyai-http-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unify/unifyai-http-api-reference/revisions/900377f918b6/schema)
