Guides

API

Everything the Schemadrop UI does goes through the same public REST API — this site's diagram pages are themselves API consumers.

API keys

Create a key in Workspace settings → API keys. Keys carry scopes, are shown once at creation, and can be revoked instantly.

curl https://api.schemadrop.com/v1/diagrams \
  -H "Authorization: Bearer sk_..."

Public endpoints

Published releases are public data — no key needed:

curl https://api.schemadrop.com/v1/public/diagrams/DIAGRAM_ID/release

returns the release's DBML source, table positions, version, and message.

Reference

The full OpenAPI reference lives at api.schemadrop.com/docs — generated from the same contract the API serves, so it never drifts.