Versions

GEThttps://api.laminar.run/flows/{flowId}/versions
Authorization
Path parameters
flowId*integer (int64)
Response

OK

Body
idinteger (int64)
createdAtstring (date-time)
Request
const response = await fetch('https://api.laminar.run/flows/{flowId}/versions', {
    method: 'GET',
    headers: {
      "Authorization": "Bearer JWT"
    },
});
const data = await response.json();
Response
[
  {
    "id": 0,
    "createdAt": "2025-01-22T07:46:29.223Z"
  }
]

Read Flow File Version

Reads a specific version of the flow file

GEThttps://api.laminar.run/flows/{flowId}/versions/{versionId}
Authorization
Path parameters
flowId*integer (int64)
versionId*integer (int64)
Response

Flow file version read successfully

Body
string
Request
const response = await fetch('https://api.laminar.run/flows/{flowId}/versions/{versionId}', {
    method: 'GET',
    headers: {
      "Authorization": "Bearer JWT"
    },
});
const data = await response.json();
Response
text