Skip to main content
GET
/
public
/
@
{nickname}
/
workflows
/
{slug}
/
versions
/
{versionID}
Get public workflow version
curl --request GET \
  --url https://workflows.eachlabs.run/api/v1/public/@{nickname}/workflows/{slug}/versions/{versionID} \
  --header 'X-API-Key: <api-key>'
import requests

url = "https://workflows.eachlabs.run/api/v1/public/@{nickname}/workflows/{slug}/versions/{versionID}"

headers = {"X-API-Key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};

fetch('https://workflows.eachlabs.run/api/v1/public/@{nickname}/workflows/{slug}/versions/{versionID}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://workflows.eachlabs.run/api/v1/public/@{nickname}/workflows/{slug}/versions/{versionID}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://workflows.eachlabs.run/api/v1/public/@{nickname}/workflows/{slug}/versions/{versionID}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("X-API-Key", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://workflows.eachlabs.run/api/v1/public/@{nickname}/workflows/{slug}/versions/{versionID}")
.header("X-API-Key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://workflows.eachlabs.run/api/v1/public/@{nickname}/workflows/{slug}/versions/{versionID}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "version_id": "v1",
  "slug": "text-to-image-generator",
  "locked": false,
  "production": true,
  "allowed_to_share": false,
  "trigger_count": 15,
  "created_at": "2025-12-01T10:00:00Z",
  "updated_at": "2025-12-05T14:20:00Z",
  "status": "active",
  "definition": {}
}
{
"error": "<string>"
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

nickname
string
required

Organization nickname (without @ prefix)

Example:

"acme-corp"

slug
string
required

Workflow slug

Example:

"my-image-generator"

versionID
string
required

Version identifier

Example:

"v1"

Response

Workflow version details

Summary information about a workflow version

version_id
string
required

Version identifier

Example:

"v1"

slug
string
required

Workflow slug (inherited from parent workflow)

Example:

"text-to-image-generator"

locked
boolean

Whether this version is locked from modifications

Example:

false

production
boolean

Whether this is a production version

Example:

true

allowed_to_share
boolean

True if version is unlisted (accessible via direct link but hidden from public listings).

Example:

false

trigger_count
integer

Number of times this specific version has been triggered

Example:

15

created_at
string<date-time>

RFC3339 timestamp when version was created

Example:

"2025-12-01T10:00:00Z"

updated_at
string<date-time>

RFC3339 timestamp when version was last updated

Example:

"2025-12-05T14:20:00Z"

status
enum<string>

Version lifecycle status

Available options:
active,
archived,
deleted
Example:

"active"

definition
object

The complete workflow definition (only included in detail responses). Contains steps, input schema, and metadata.

Last modified on May 28, 2026