> For the complete documentation index, see [llms.txt](https://docs.graphlit.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.graphlit.dev/api-guides/use-cases/content/content-update-metadata.md).

# Update Content Metadata

## User Intent

"How do I update content metadata? Show me content updates."

## Operation

**SDK Method**: `updateContent()`\
**Use Case**: Modify content properties

***

## Code Example (TypeScript)

```typescript
import { Graphlit } from 'graphlit-client';

const graphlit = new Graphlit();

// Update content
await graphlit.updateContent({
  id: 'content-id',
  name: "Updated Document Name",
  customMetadata: {
    category: "financial-reports",
    quarter: "Q4-2024",
    reviewed: true
  }
});

console.log('Content updated');
```

***

## Updatable Fields

**name**: Display name\
**customMetadata**: App-specific JSON\
**collections**: Add/remove from collections\
**state**: Enable/disable/archive

***
