How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Eraser Diagrams (AI) API

Generate diagrams from natural language prompts or Eraser DSL using AI

Eraser Diagrams (AI) API is one of 7 APIs that Eraser publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Diagrams (AI). The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and a getting-started guide.

This API exposes 2 operations across 2 paths, and defines 13 schemas. It is described by OpenAPI 3.2.0, at version v1.0.

Requests are made against a single base URL, https://app.eraser.io.

2 operations 2 paths 13 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v1.0
Base URL
https://app.eraser.io
Authentication
HTTP Bearer, API Key
Terms of Service
Resource Areas
1

Authentication & Security 2

Eraser Diagrams (AI) API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). An API key is passed in the header as Authorization (auditApiKey). By default, every request must be authenticated.

  • bearerAuth — Team-specific API bearer token from Eraser settings
  • auditApiKey — Audit-specific API key for accessing audit log endpoints

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.

Diagrams (AI) 2

Generate diagrams from natural language prompts or Eraser DSL using AI

POST
/api/render/prompt
Generate diagram from natural language prompt (AI)
generateDiagramFromPrompt body → 200400403404500503
POST
/api/render/elements
Generate diagram from Eraser DSL code
generateDiagramFromEraserDsl body → 200400403500503

Schemas 13

The contract defines 13 schemas that model the data the API accepts and returns. The most detailed are GenerateFromPromptRequest (14 properties), GenerateFromDslRequest (7 properties), GenerateFromPromptResponse (6 properties), DslElement (4 properties). Each schema is shown below with its type and property counts.

GitContext
object
3 properties
DiagramTypeWithFreeform
string
Type of Eraser diagram (including freeform)
GenerateFromPromptRequest
object
14 properties 1 required
FileOptions
object
2 properties
Error
object
1 property
GenerateFromDslRequest
object
7 properties 1 required
GeneratedDiagram
object
2 properties
InlineCodeEdit
object
2 properties 2 required
GenerateFromDslResponse
object
3 properties
FileAttachment
object
3 properties 3 required
DslElement
object
4 properties 2 required
LinkAccess
string
File link access permission level
GenerateFromPromptResponse
object
6 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

eraser-diagrams-ai-api-openapi.yml Raw ↑

Other APIs Eraser publishes across the network.

Eraser AI Requests API
Eraser Audit Logs API
Eraser Diagram Elements API
Eraser Files API
Eraser Folders API
Eraser Usage Metrics API
Where this information came from

This is an independent, third-party profile of Eraser Diagrams (AI) API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.