One version's image
file is {id}@{revision}.svg or .png. A signed link from diagram_render or GET /v1/diagrams/{id}/render (query e and s) needs no key and works for 7 days, and draws the plain version (it ignores from). Without one, send an API key for the diagram's workspace, or the website's session. Each version's image is drawn when it is saved and kept, so it never changes. Its bottom-right line is its address and date, such as zindex.ai/d/dgm_7Q2kD9a1B2c3@5 · 2026-04-01, the same on every plan (versions saved before it print {id} | Rev N - {date}): the ID and revision in it open that version (GET /v1/diagrams/{id}?revision=5 or diagram_get) for the diagram's workspace, and a published one with no key (GET /v1/public/diagrams/{id}@{revision}).
Request
- Base URL: https://api.zindex.ai
- URL: https://api.zindex.ai/v1/images/{file}
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
- none
Path parameters
{id}@{revision}.svg or {id}@{revision}.png: the diagram's ID, the version's number and the format
Query parameters
Signed link: expiry (from diagram_render)
Signed link: signature (from diagram_render)
Another revision of the diagram: draw this version with what changed since that one colored (added green, removed red, changed amber). Drawn on request, never stored; a number that isn't another revision of the diagram is a 400. Ignored on signed links.
Draw the version with today's engine instead of serving its stored image. Not stored; signed links ignore it.
Response
The image
Changes
No recorded changes to this operation across all 1 revision of this API.