List diagrams
GET
/api/diagrams
const url = 'http://localhost:3000/api/diagrams';const options = {method: 'GET', headers: {cookie: 'session=<session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/api/diagrams \ --cookie session=<session>Not paginated — returns the full table ordered by createdAt.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Success
Media type application/json
object
data
Array<object>
object
id
required
string format: uuid
name
required
string
description
string
data
JSON-serialised canvas state
string
createdBy
string format: uuid
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
Example generated
{ "data": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "description": "example", "data": "example", "createdBy": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "createdAt": "2026-04-15T12:00:00Z", "updatedAt": "2026-04-15T12:00:00Z" } ]}Not authenticated
Media type application/json
object
error
required
string
Example
{ "error": "Not found"}