---
title: "Update Filevine Draft Generation Context"
method: PATCH
path: "/developer/filevine-draft-generation-context"
tags: ["Developer", "Developer - Settings"]
---

# Update Filevine Draft Generation Context

`PATCH /developer/filevine-draft-generation-context`

Update the Filevine draft generation context for the current customer.

This endpoint is restricted to developer users only.
Sets the optional context that is included in the LLM prompt when generating draft
Filevine contact fields from call transcripts.

- **draft_generation_context**: Context to include in the LLM prompt (can be multiple lines)

## Request body

- UpdateFilevineDraftGenerationContextRequest — Request to update customer's Filevine draft generation context
  - `draft_generation_context` string, nullable — Context to include in LLM prompt for Filevine draft contact generation (can be multiple lines)

## Response `200`

Successful Response

- FilevineDraftGenerationContextResponse — Response with customer's Filevine draft generation context
  - `customer_id` string, uuid, required — The customer ID
  - `draft_generation_context` string, nullable — Optional context to include in LLM prompt for Filevine draft contact generation

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/openintake/apis/fastapi.md) · [All operations](https://skmtc.dev/openintake/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openintake/fastapi/revisions/4a81645b59f6/schema)
