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.0.3, at version v1.0.
Requests are made against a single base URL, https://app.eraser.io.
Metadata
The identity and technical contract details declared by the specification.
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 settingsauditApiKey— 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.
Generate diagrams from natural language prompts or Eraser DSL using AI
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.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Eraser 6
Other APIs Eraser publishes across the network.