Kroki Post Diagram Example is an example object payload from UML, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
{
"summary": "Post a Mermaid diagram to Kroki for SVG rendering",
"description": "This example shows how to render a Mermaid flowchart diagram as SVG using the Kroki POST endpoint.",
"request": {
"method": "POST",
"url": "https://kroki.io/mermaid/svg",
"headers": {
"Content-Type": "text/plain",
"Accept": "image/svg+xml"
},
"body": "graph LR\n A[Start] --> B{Is it working?}\n B -- Yes --> C[Great!]\n B -- No --> D[Debug]\n D --> A"
},
"response": {
"status": 200,
"headers": {
"Content-Type": "image/svg+xml"
},
"body": "<svg ...>...</svg>"
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.