Skip to main content
GET
/
v1
/
executions
List executions
curl --request GET \
  --url https://api.eachlabs.ai/v1/executions \
  --header 'X-API-Key: <api-key>'
import requests

url = "https://api.eachlabs.ai/v1/executions"

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://api.eachlabs.ai/v1/executions', 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://api.eachlabs.ai/v1/executions",
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://api.eachlabs.ai/v1/executions"

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://api.eachlabs.ai/v1/executions")
.header("X-API-Key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.eachlabs.ai/v1/executions")

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
{
  "executions": [
    {
      "id": "exec_abc123",
      "model": "flux-1-1-pro",
      "status": "success",
      "workflow_id": "wf_abc123",
      "workflow_execution_id": "wf_exec_abc123",
      "execution_cost": 0.05,
      "run_time": 12.5,
      "created_at": "2026-01-01T00:00:00Z",
      "started_at": "2026-01-01T00:00:02Z",
      "completed_at": "2026-01-01T00:00:15Z",
      "output": "https://storage.example.com/predictions/abc123/image.jpg"
    }
  ],
  "total_count": 123,
  "offset": 0,
  "limit": 20
}
{
"error": "slug parameter is required"
}
{
"error": "Invalid or missing API key"
}
{
"error": "Failed to fetch models: internal error"
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Query Parameters

limit
integer
default:20

Maximum number of executions to return

Required range: 1 <= x <= 100
offset
integer
default:0

Number of executions to skip for pagination

Required range: x >= 0
model
string

Filter executions by model slug

status
string

Comma-separated status filter

workflow_id
string

Filter by workflow ID

workflow_execution_id
string

Filter by workflow execution ID

error_classification
enum<string>

Comma-separated canonical error classification filter. Restricts results to terminal error executions whose classification is in the set; an unrecognized value returns 400. Each value must be one of the listed enum members.

Available options:
content_moderation,
execution_timeout,
invalid_user_input,
invalid_model_config,
provider_auth,
provider_error,
provider_rate_limit,
provider_unavailable,
internal_error,
unknown
from
string<date-time>

Start of creation time window, as RFC 3339

to
string<date-time>

End of creation time window, as RFC 3339

Response

List of executions

executions
object[]
required
total_count
integer
required

Total number of matching executions

Example:

123

offset
integer
required

Applied offset

Example:

0

limit
integer
required

Applied limit

Example:

20

Last modified on June 17, 2026