{"success":true,"data":{"diagram_type":"flowchart","theme":"default","svg":"<svg id=\"d6zastxa68dj\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" class=\"flowchart\" style=\"max-width: 948.234375px;\" viewBox=\"4 4 948.234375 190\" role=\"graphics-document document\" aria-roledescription=\"flowchart-v2\"><style>#d6zastxa68dj{font-family:Arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#d6zastxa68dj .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#d6zastxa68dj .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#d6zastxa68dj .error-icon{fill:#552222;}#d6zastxa68dj .error-text{fill:#552222;stroke:#552222;}#d6zastxa68dj .edge-thickness-normal{stroke-width:1px;}#d6zastxa68dj .edge-thickness-thick{stroke-width:3.5px;}#d6zastxa68dj .edge-pattern-solid{stroke-dasharray:0;}#d6zastxa68dj .edge-thickness-invisible{stroke-width:0;fill:none;}#d6zastxa68dj .edge-pattern-dashed{stroke-dasharray:3;}#d6zastxa68dj .edge-pattern-dotted{stroke-dasharray:2;}#d6zastxa68dj .marker{fill:#333333;stroke:#333333;}#d6zastxa68dj .marker.cross{stroke:#333333;}#d6zastxa68dj svg{font-family:Arial,sans-serif;font-size:16px;}#d6zastxa68dj p{margin:0;}#d6zastxa68dj .label{font-family:Arial,sans-serif;color:#333;}#d6zastxa68dj .cluster-label text{fill:#333;}#d6zastxa68dj .cluster-label span{color:#333;}#d6zastxa68dj .cluster-label span p{background-color:transparent;}#d6zastxa68dj .label text,#d6zastxa68dj span{fill:#333;color:#333;}#d6zastxa68dj .node rect,#d6zastxa68dj .node circle,#d6zastxa68dj .node ellipse,#d6zastxa68dj .node polygon,#d6zastxa68dj .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#d6zastxa68dj .rough-node .label text,#d6zastxa68dj .node .label text,#d6zastxa68dj .image-shape .label,#d6zastxa68dj .icon-shape .label{text-anchor:middle;}#d6zastxa68dj .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#d6zastxa68dj .rough-node .label,#d6zastxa68dj .node .label,#d6zastxa68dj .image-shape .label,#d6zastxa68dj .icon-shape .label{text-align:center;}#d6zastxa68dj .node.clickable{cursor:pointer;}#d6zastxa68dj .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#d6zastxa68dj .arrowheadPath{fill:#333333;}#d6zastxa68dj .edgePaths .path{stroke:#333333;stroke-width:1px;}#d6zastxa68dj .flowchart-link{stroke:#333333;fill:none;}#d6zastxa68dj .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#d6zastxa68dj .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#d6zastxa68dj .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#d6zastxa68dj .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#d6zastxa68dj .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#d6zastxa68dj .cluster text{fill:#333;}#d6zastxa68dj .cluster span{color:#333;}#d6zastxa68dj .node .collapsed-indicator{fill:#aaaa33;stroke:none;opacity:0.6;}#d6zastxa68dj .node .collapsed-separator{stroke:#aaaa33;stroke-width:0.75px;}#d6zastxa68dj div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:Arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#d6zastxa68dj .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#d6zastxa68dj rect.text{fill:none;stroke-width:0;}#d6zastxa68dj .icon-shape,#d6zastxa68dj .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#d6zastxa68dj .icon-shape p,#d6zastxa68dj .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#d6zastxa68dj .icon-shape .label rect,#d6zastxa68dj .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#d6zastxa68dj .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#d6zastxa68dj .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#d6zastxa68dj .node .neo-node{stroke:#9370DB;}#d6zastxa68dj [data-look=\"neo\"].node rect,#d6zastxa68dj [data-look=\"neo\"].cluster rect,#d6zastxa68dj [data-look=\"neo\"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#d6zastxa68dj [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#d6zastxa68dj [data-look=\"neo\"].node path{stroke:#9370DB;stroke-width:1px;}#d6zastxa68dj [data-look=\"neo\"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#d6zastxa68dj [data-look=\"neo\"].node .neo-line path{stroke:#9370DB;filter:none;}#d6zastxa68dj [data-look=\"neo\"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#d6zastxa68dj [data-look=\"neo\"].node circle .state-start{fill:#000000;}#d6zastxa68dj [data-look=\"neo\"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#d6zastxa68dj [data-look=\"neo\"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#d6zastxa68dj :root{--mermaid-font-family:Arial,sans-serif;}</style><g><marker id=\"d6zastxa68dj_flowchart-v2-pointEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 0 L 10 5 L 0 10 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"d6zastxa68dj_flowchart-v2-pointStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"4.5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 5 L 10 10 L 10 0 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"d6zastxa68dj_flowchart-v2-pointEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"11.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"10.5\" markerHeight=\"14\" orient=\"auto\"><path d=\"M 0 0 L 11.5 7 L 0 14 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"d6zastxa68dj_flowchart-v2-pointStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"1\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11.5\" markerHeight=\"14\" orient=\"auto\"><polygon points=\"0,7 11.5,14 11.5,0\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></polygon></marker><marker id=\"d6zastxa68dj_flowchart-v2-circleEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"11\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"d6zastxa68dj_flowchart-v2-circleStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-1\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"d6zastxa68dj_flowchart-v2-circleEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refY=\"5\" refX=\"12.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"d6zastxa68dj_flowchart-v2-circleStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-2\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"d6zastxa68dj_flowchart-v2-crossEnd\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"12\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"d6zastxa68dj_flowchart-v2-crossStart\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"-1\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"d6zastxa68dj_flowchart-v2-crossEnd-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"17.7\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5;\"></path></marker><marker id=\"d6zastxa68dj_flowchart-v2-crossStart-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"-3.5\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5; stroke-dasharray: 1, 0;\"></path></marker><g class=\"root\"><g class=\"clusters\"></g><g class=\"edges edgePaths\"><path d=\"M164,99L316.578125,99\" id=\"d6zastxa68dj-L_A_B_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\"stroke-dasharray: 0 0 148.578125 4; stroke-dashoffset: 0;;\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_A_B_0\" data-points=\"W3sieCI6MTY0LCJ5Ijo5OX0seyJ4IjozMjAuNTc4MTI1LCJ5Ijo5OX1d\" data-look=\"neo\" marker-end=\"url(#d6zastxa68dj_flowchart-v2-pointEnd-margin)\"></path><path d=\"M470.578125,99L506.578125,99\" id=\"d6zastxa68dj-L_B_C_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\"stroke-dasharray: 0 0 32 4; stroke-dashoffset: 0;;\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_B_C_0\" data-points=\"W3sieCI6NDcwLjU3ODEyNSwieSI6OTl9LHsieCI6NTEwLjU3ODEyNSwieSI6OTl9XQ==\" data-look=\"neo\" marker-end=\"url(#d6zastxa68dj_flowchart-v2-pointEnd-margin)\"></path><path d=\"M684.578125,99L788.234375,99\" id=\"d6zastxa68dj-L_C_D_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\"stroke-dasharray: 0 0 99.65625 4; stroke-dashoffset: 0;;\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_C_D_0\" data-points=\"W3sieCI6Njg0LjU3ODEyNSwieSI6OTl9LHsieCI6NzkyLjIzNDM3NSwieSI6OTl9XQ==\" data-look=\"neo\" marker-end=\"url(#d6zastxa68dj_flowchart-v2-pointEnd-margin)\"></path></g><g class=\"edgeLabels\"><g class=\"edgeLabel\" transform=\"translate(242.2890625, 98.5)\"><g class=\"label\" data-id=\"L_A_B_0\" transform=\"translate(-38.2890625, -12)\"><foreignObject width=\"76.578125\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>HTTP 402</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(738.40625, 98.5)\"><g class=\"label\" data-id=\"L_C_D_0\" transform=\"translate(-13.828125, -12)\"><foreignObject width=\"27.65625\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>yes</p></span></div></foreignObject></g></g></g><g class=\"nodes\"><g class=\"node default\" id=\"d6zastxa68dj-flowchart-A-0\" data-look=\"neo\" transform=\"translate(88, 99)\"><rect class=\"basic label-container\" style=\"\" x=\"-76\" y=\"-24\" width=\"152\" height=\"48\"></rect><g class=\"label\" style=\"\" transform=\"translate(-60, -12)\"><rect></rect><foreignObject width=\"120\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table; white-space: nowrap; line-height: 1.5; max-width: 120px; text-align: center; width: 120px;\"><span class=\"nodeLabel\"><p>Agent</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"d6zastxa68dj-flowchart-B-1\" data-look=\"neo\" transform=\"translate(395.578125, 99)\"><rect class=\"basic label-container\" style=\"\" rx=\"5\" ry=\"5\" x=\"-75\" y=\"-27\" width=\"150\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-60, -12)\"><rect></rect><foreignObject width=\"120\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table; white-space: nowrap; line-height: 1.5; max-width: 120px; text-align: center; width: 120px;\"><span class=\"nodeLabel\"><p>agentsvc.io</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"d6zastxa68dj-flowchart-C-3\" data-look=\"neo\" transform=\"translate(597.578125, 99)\"><polygon points=\"87,0 174,-87 87,-174 0,-87\" class=\"label-container\" transform=\"translate(-86.5, 87)\"></polygon><g class=\"label\" style=\"\" transform=\"translate(-60, -12)\"><rect></rect><foreignObject width=\"120\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table; white-space: nowrap; line-height: 1.5; max-width: 120px; text-align: center; width: 120px;\"><span class=\"nodeLabel\"><p>Paid?</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"d6zastxa68dj-flowchart-D-5\" data-look=\"neo\" transform=\"translate(868.234375, 99)\"><rect class=\"basic label-container\" style=\"\" x=\"-76\" y=\"-24\" width=\"152\" height=\"48\"></rect><g class=\"label\" style=\"\" transform=\"translate(-60, -12)\"><rect></rect><foreignObject width=\"120\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table; white-space: nowrap; line-height: 1.5; max-width: 120px; text-align: center; width: 120px;\"><span class=\"nodeLabel\"><p>JSON result</p></span></div></foreignObject></g></g></g></g></g><defs><filter id=\"d6zastxa68dj-drop-shadow\" height=\"130%\" width=\"130%\"><feDropShadow dx=\"4\" dy=\"4\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#000000\"></feDropShadow></filter></defs><defs><filter id=\"d6zastxa68dj-drop-shadow-small\" height=\"150%\" width=\"150%\"><feDropShadow dx=\"2\" dy=\"2\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#000000\"></feDropShadow></filter></defs></svg>","svg_bytes":13886,"format":"svg"},"trial":{"free":true,"used_example_input":true,"input_used":{"code":"flowchart LR\n  A[Agent] -->|HTTP 402| B(agentsvc.io)\n  B --> C{Paid?}\n  C -->|yes| D[JSON result]","format":"svg"},"remaining_today":0,"resets_at":"2026-10-07T00:00:00.000Z","note":"Real output for the example input. The paid endpoint returns the same format for your own input."},"paid_endpoint":"https://agentsvc.io/api/v1/proxy/diagram-render","price_usdc":0.006,"payment":"x402, USDC on Base mainnet, no account needed","docs":"https://agentsvc.io/docs"}