---
title: "Update a graph's settings (name, description, flags)."
method: PATCH
path: "/graphs/{id}"
tags: ["graphs"]
---

# Update a graph's settings (name, description, flags).

`PATCH /graphs/{id}`

## Request

- Base URL: `https://api.livegraph.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.livegraph.ai/graphs/{id}`
- Auth: one of:
  - API key in cookie `livegraph_session`
  - API key in header `x-api-key`

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `name` string
  - `description` string
  - `project` string, nullable
  - `entryNodeId` string, uuid
  - `fallbackChain` object[]
    - `provider` 'anthropic' | 'openai' | 'xai' | 'openrouter' | 'openai-compatible' | 'groq' | 'cerebras' | 'mistral' | 'github-models' | 'nvidia' | 'mock' | 'transform' | 'devin' | 'github-copilot' | 'cursor' | 'cli-agent', required
    - `model` string, required
  - `defaultRunBudgetUsd` number, nullable
  - `budgetDowngradeTarget` object, nullable
    - `provider` 'anthropic' | 'openai' | 'xai' | 'openrouter' | 'openai-compatible' | 'groq' | 'cerebras' | 'mistral' | 'github-models' | 'nvidia' | 'mock' | 'transform' | 'devin' | 'github-copilot' | 'cursor' | 'cli-agent', required
    - `model` string, required
  - `contextFiles` string[]
  - `allowedCredentialProviders` string[], nullable
  - `assistant` boolean
  - `mcpSlug` string, nullable
  - `mcpPublic` boolean
  - `assistantPrefs` object, nullable
    - `voiceId` string
    - `voiceProvider` 'elevenlabs' | 'local' | 'openai-compatible' | 'openai'
    - `tone` 'professional' | 'casual' | 'terse'
    - `persona` string
    - `identity` object
      - `displayName` string
      - `avatarUrl` string
      - `tagline` string
      - `pronouns` 'she' | 'he' | 'they'
    - `publishing` object
      - `posts` boolean
      - `profile` boolean

## Response `200`

Success — see summary for the response shape.

## Other responses

- `4XX`: Client error — body is the shared {error, code?} envelope.

---

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