# Eraser Documentation ## Guides - [MCP Server](https://docs.eraser.io/docs/mcp.md) - [AI presets](https://docs.eraser.io/docs/ai-presets.md) - [References](https://docs.eraser.io/docs/references.md) - [Rules](https://docs.eraser.io/docs/rules.md) - [Templates](https://docs.eraser.io/docs/templates.md) - [Eraser API](https://docs.eraser.io/docs/eraser-api.md) - [Billing](https://docs.eraser.io/docs/billing.md) - [Discounts](https://docs.eraser.io/docs/discounts.md) - [Plans](https://docs.eraser.io/docs/plans.md) - [Private files](https://docs.eraser.io/docs/private-files.md) - [Usage-based pricing](https://docs.eraser.io/docs/usage-based-pricing.md) - [Insert menu](https://docs.eraser.io/docs/insert-menu.md) - [Sharing a file](https://docs.eraser.io/docs/sharing-a-file.md) - [BPMN diagram examples](https://docs.eraser.io/docs/examples-5.md) - [BPMN Diagrams (Swimlane Diagrams)](https://docs.eraser.io/docs/bpmn.md) - [BPMN diagram syntax](https://docs.eraser.io/docs/syntax-4.md) - [Architecture diagram examples](https://docs.eraser.io/docs/examples.md) - [Architecture Diagrams](https://docs.eraser.io/docs/cloud-architecture-diagrams.md) - [Architecture diagram syntax](https://docs.eraser.io/docs/syntax.md) - [Custom icons](https://docs.eraser.io/docs/custom-icons.md) - [What is diagram as code?](https://docs.eraser.io/docs/diagram-as-code.md) - [Drag-Drop Editing](https://docs.eraser.io/docs/draggable-edits-beta.md) - [ERD examples](https://docs.eraser.io/docs/examples-1.md) - [Entity Relationship Diagrams (ERD)](https://docs.eraser.io/docs/entity-relationship-diagrams.md) - [ERD syntax](https://docs.eraser.io/docs/syntax-1.md) - [Flow chart examples](https://docs.eraser.io/docs/examples-3.md) - [Flow Charts](https://docs.eraser.io/docs/flow-charts.md) - [Flow chart syntax](https://docs.eraser.io/docs/syntax-3.md) - [Icons](https://docs.eraser.io/docs/icons.md) - [Sequence diagram examples](https://docs.eraser.io/docs/examples-2.md) - [Sequence Diagrams](https://docs.eraser.io/docs/sequence-diagrams.md) - [Sequence diagram syntax](https://docs.eraser.io/docs/syntax-2.md) - [Styling](https://docs.eraser.io/docs/styling.md) - [Headers](https://docs.eraser.io/docs/headers.md) - [Tables](https://docs.eraser.io/docs/tables.md) - [Wikilinks](https://docs.eraser.io/docs/wikilink.md) - [Deleting files](https://docs.eraser.io/docs/deleting-files.md) - [Version history](https://docs.eraser.io/docs/version-history.md) - [Quickstart](https://docs.eraser.io/docs/quickstart.md) - [Codebase diagrams](https://docs.eraser.io/docs/codebase-diagrams.md) - [Connecting Git repositories](https://docs.eraser.io/docs/connecting-git-repositories.md) - [Eraserbot (CI integration)](https://docs.eraser.io/docs/eraserbot.md) - [Git sync](https://docs.eraser.io/docs/git-sync.md) - [Using the AI agent integrations](https://docs.eraser.io/docs/using-ai-agent-integrations.md): Enable AI coding agents like Claude Code, Cursor, Windsurf, and other skill-compatible or MCP-compatible assistants to generate professional diagrams directly in your development workflow. - [Using the VS Code extension](https://docs.eraser.io/docs/using-the-vs-code-extension.md) - [Deleting account](https://docs.eraser.io/docs/deleting-account.md) - [Security](https://docs.eraser.io/docs/security.md) - [Organizations](https://docs.eraser.io/docs/organizations.md) - [SAML SSO](https://docs.eraser.io/docs/sso.md) - [Teams](https://docs.eraser.io/docs/teams.md) - [AI diagrams](https://docs.eraser.io/docs/ai-diagrams.md) - [Eraser AI FAQ](https://docs.eraser.io/docs/ai-faq.md) - [AI documents](https://docs.eraser.io/docs/description-generation.md) - [Image-to-diagram](https://docs.eraser.io/docs/image-import.md) ## API Reference - [Retrieve AI request](https://docs.eraser.io/reference/retrieve-ai-request.md) - [Query Audit Logs](https://docs.eraser.io/reference/get-audit-logs.md): Query audit events with cursor-based pagination - [Create a file](https://docs.eraser.io/reference/create-file.md): Creates a new Eraser file with optional document content and canvas elements. - [List files](https://docs.eraser.io/reference/list-files.md): Retrieves a paginated list of files for the team. Excludes private, archived, and template files. - [Archive a file](https://docs.eraser.io/reference/archive-file.md): Archives (soft-deletes) a file. The file can be restored from the trash in the Eraser UI. - [Get a file](https://docs.eraser.io/reference/get-file.md): Retrieves a single file including its document content and canvas elements. - [Update a file](https://docs.eraser.io/reference/update-file.md): Updates a file's metadata and/or document content. Only provided fields are updated. - [Create a diagram in a file](https://docs.eraser.io/reference/create-diagram.md): Creates a new diagram element on the file's canvas. - [List diagrams in a file](https://docs.eraser.io/reference/list-diagrams.md): Retrieves all diagrams in a file, sorted by most recently updated first. - [Delete a diagram](https://docs.eraser.io/reference/delete-diagram.md): Permanently deletes a diagram from a file's canvas. This action cannot be undone. - [Get a diagram](https://docs.eraser.io/reference/get-diagram.md): Retrieves a specific diagram from a file. - [Update a diagram](https://docs.eraser.io/reference/update-diagram.md): Updates the code of an existing diagram in a file. - [Create a folder](https://docs.eraser.io/reference/create-folder.md): Creates a new folder. Order is auto-assigned if omitted. - [List folders](https://docs.eraser.io/reference/list-folders.md): Returns root-level folders by default. Filter by parentFolderId or use recursive=true to include nested folders. - [Delete a folder](https://docs.eraser.io/reference/delete-folder.md): Deletes a folder. Use recursive=true to also delete child folders and archive their workspaces. - [Get a folder](https://docs.eraser.io/reference/get-folder.md): Retrieves a single folder by ID. - [Update a folder](https://docs.eraser.io/reference/update-folder.md): Updates a folder's name or parent. Order cannot be changed here. - [API Token](https://docs.eraser.io/reference/api-token.md) - [Overview](https://docs.eraser.io/reference/getting-started.md) - [Eraser DSL → Diagram](https://docs.eraser.io/reference/generate-diagram-from-eraser-dsl.md) - [Prompt → Diagram (AI)](https://docs.eraser.io/reference/generate-diagram-from-prompt.md) - [Get team usage metrics](https://docs.eraser.io/reference/get-usage-metrics.md): Retrieves aggregated team usage metrics and individual member activity for a specified date range