Ask the owner to make a diagram a public image
Also available in Swagger.
Creates a REQUEST for a public image link of one level (the main level, or level=n3, n3/n7 from the brief). Nothing becomes public: the owner must press "Make public" in the editor (Share). Until then the status is "pending" and no address is shown. Asking again returns the same request; after the owner turned a link off, asking starts a new request with a new address. Use this only when the user wants a public image URL (Notion, a README, a web page). For a private copy use GET /v1/projects/{id}/export?format=svg&delivery=link instead. Credits: 5.
bearerAuthorizationBearer <token>An API key: amk_live__. A key can have an expiry date chosen when it is created (1 hour to 90 days, or none). After that moment the API answers 401 unauthorized, as for a revoked key. Create a new key or rotate the expired one (rotation keeps the same lifetime). A key can also be limited to one folder (with its subfolders) or one project: anything else answers 404 not_found, and a project key cannot create projects or use folders (403 insufficient_scope). A folder key creates projects and folders inside its folder. If that folder or project is deleted for good, the key answers 403 target_gone.
id*stringuuidapplication/json- body
level?stringStep path of the level to draw, from the brief. Leave out for the main level.
^n\d+(/n\d+)*$Already on
application/json- response
curl -X POST 'https://pltlaavsvbpebaopfbsp.supabase.co/functions/v1/api/v1/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/embeds' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "9a1d5c70-2e48-4b3f-8c6a-0d7e1f2b3a45", "level": null, "status": "on", "url": "https://go.aimermaid.app/i/<token>.svg", "expires_at": null, "view_count": 3, "next": [ "Embed the url as an image, e.g.  or <img src=\"url\">." ]}