Eraser
communityCollaborative design tool for technical diagrams, docs, and whiteboarding with AI generation.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://api.eraser.io/v1/workspacesList workspaces
Returns
workspaces[] with id, name, createdAtPOST
https://api.eraser.io/v1/render/promptGenerate diagram from text with AI
Parameters
textnatural language description (stringrequiredthemelight|dark (stringoptionaldiagramTypesequence-diagram|entity-relationship-diagram|cloud-architecture-diagram|flowchart (stringoptionalReturns
imageUrl, diagramTypePOST
https://api.eraser.io/v1/render/elementsRender diagram from DSL
Parameters
elementsEraser DSL code (stringrequireddiagramTypediagram type (stringoptionalReturns
imageUrl, fileUrl