Diagrams.so
Endpoints as written in the [documentation](https://diagrams.so/developers), read on 2026-11-18. Each GET route was requested once without a key on 2026-11-18…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Endpoints as written in the documentation, read on 2026-11-18. Each GET route was requested once without a key on 2026-11-18 to check it exists; see the documentation for parameters, responses and limits.
Endpoints 27
- GETGET /api/v2/diagrams
/api/v2/diagrams - POSTPOST /api/v2/diagrams
/api/v2/diagrams - POSTPOST /api/v2/diagrams/import
/api/v2/diagrams/import - POSTPOST /api/v2/diagrams/stream
/api/v2/diagrams/stream - GETGET /api/v2/diagrams/{id}
/api/v2/diagrams/:id - DELETEDELETE /api/v2/diagrams/{id}
/api/v2/diagrams/:id - PATCHPATCH /api/v2/diagrams/{id}
/api/v2/diagrams/:id - POSTPOST /api/v2/diagrams/{id}/edit
/api/v2/diagrams/:id/edit - GETGET /api/v2/diagrams/{id}/export
/api/v2/diagrams/:id/export - POSTPOST /api/v2/diagrams/{id}/fix
/api/v2/diagrams/:id/fix - POSTPOST /api/v2/diagrams/{id}/relayout
/api/v2/diagrams/:id/relayout - GETGET /api/v2/diagrams/{id}/relayout/{job_id}
/api/v2/diagrams/:id/relayout/:job_id - POSTPOST /api/v2/diagrams/{id}/revert
/api/v2/diagrams/:id/revert - GETGET /api/v2/diagrams/{id}/versions
/api/v2/diagrams/:id/versions - GETGET /api/v2/diagrams/{id}/versions/{version_id}
/api/v2/diagrams/:id/versions/:version_id - GETGET /api/v2/diagrams/{id}/warnings
/api/v2/diagrams/:id/warnings - GETGET /api/v2/gallery
/api/v2/gallery - POSTPOST /api/v2/gallery/{id}/fork
/api/v2/gallery/:id/fork - GETGET /api/v2/me
/api/v2/me - GETGET /api/v2/meta/diagram-types
/api/v2/meta/diagram-types - GETGET /api/v2/meta/features
/api/v2/meta/features - GETGET /api/v2/meta/formats
/api/v2/meta/formats - GETGET /api/v2/meta/providers
/api/v2/meta/providers - POSTPOST /api/v2/prompts/clarify
/api/v2/prompts/clarify - POSTPOST /api/v2/prompts/enhance
/api/v2/prompts/enhance - GETGET /api/v2/usage
/api/v2/usage - GETGET /api/v2/usage/history
/api/v2/usage/history
API details
- Base URL
https://api.diagrams.so- Authentication
- None declared in the description
- Operations
- 27 operations on 24 pathsGET 15POST 10PATCH 1DELETE 1
- Description format
- OpenAPI 3.0.3, API version
2026-11-18 - Links
- Documentation · OpenAPI document
How to test the Diagrams.so in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Diagrams.so collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “GET /api/v2/diagrams” (GET /api/v2/diagrams), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Diagrams.so?
Endpoints as written in the [documentation](https://diagrams.so/developers), read on 2026-11-18. Each GET route was requested once without a key on 2026-11-18… It is listed under Developer tools and has 27 endpoints.
Who publishes the Diagrams.so?
It is listed from Diagrams.so's public API description (an OpenAPI document), not published by Diagrams.so on Swastik Codes. Anyone who controls diagrams.so can claim the profile by adding a DNS TXT record.
What is the base URL of the Diagrams.so?
Requests go to https://api.diagrams.so. Endpoint paths are added to this base URL.
How do I authenticate with the Diagrams.so?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the Diagrams.so have?
27 operations on 24 paths (15 GET, 10 POST, 1 PATCH, 1 DELETE).
Is forking the Diagrams.so free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.