curl --request GET \
--url https://api.blaxel.ai/v0/jobs/{jobId}/executions/{executionId}/tasks \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.blaxel.ai/v0/jobs/{jobId}/executions/{executionId}/tasks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.blaxel.ai/v0/jobs/{jobId}/executions/{executionId}/tasks', 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.blaxel.ai/v0/jobs/{jobId}/executions/{executionId}/tasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.blaxel.ai/v0/jobs/{jobId}/executions/{executionId}/tasks"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.blaxel.ai/v0/jobs/{jobId}/executions/{executionId}/tasks")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.blaxel.ai/v0/jobs/{jobId}/executions/{executionId}/tasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"conditions": [
{
"executionReason": "<string>",
"message": "<string>",
"reason": "<string>",
"severity": "<string>",
"state": "<string>",
"type": "<string>"
}
],
"metadata": {
"completedAt": "<string>",
"createdAt": "<string>",
"name": "task-0",
"scheduledAt": "<string>",
"startedAt": "<string>",
"updatedAt": "<string>"
},
"spec": {
"maxRetries": 3,
"timeout": "30m"
},
"status": "unspecified"
}
],
"meta": {
"hasMore": true,
"nextCursor": "<string>",
"total": 123
}
}List execution tasks
Returns one cursor-paginated page of an execution’s tasks. Tasks are derived from event history each request; only the in-memory slicing is paginated, the events scan still fetches the whole event log behind the scenes. Available starting with API version 2026-04-28.
curl --request GET \
--url https://api.blaxel.ai/v0/jobs/{jobId}/executions/{executionId}/tasks \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.blaxel.ai/v0/jobs/{jobId}/executions/{executionId}/tasks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.blaxel.ai/v0/jobs/{jobId}/executions/{executionId}/tasks', 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.blaxel.ai/v0/jobs/{jobId}/executions/{executionId}/tasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.blaxel.ai/v0/jobs/{jobId}/executions/{executionId}/tasks"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.blaxel.ai/v0/jobs/{jobId}/executions/{executionId}/tasks")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.blaxel.ai/v0/jobs/{jobId}/executions/{executionId}/tasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"conditions": [
{
"executionReason": "<string>",
"message": "<string>",
"reason": "<string>",
"severity": "<string>",
"state": "<string>",
"type": "<string>"
}
],
"metadata": {
"completedAt": "<string>",
"createdAt": "<string>",
"name": "task-0",
"scheduledAt": "<string>",
"startedAt": "<string>",
"updatedAt": "<string>"
},
"spec": {
"maxRetries": 3,
"timeout": "30m"
},
"status": "unspecified"
}
],
"meta": {
"hasMore": true,
"nextCursor": "<string>",
"total": 123
}
}Authorizations
OAuth2 authentication with JWT tokens
Query Parameters
Opaque cursor returned by a previous response's meta.nextCursor. Only valid for the same query (workspace + filters); the server rejects cursors bound to a different query or older than 24h. Omit on the first page.
Maximum number of items to return per page. Defaults to 50, clamped to 200.
1 <= x <= 200Sort spec, formatted as <key>:<direction>. Allowed values are createdAt:desc (default), createdAt:asc, name:asc, name:desc. The cursor fingerprint is bound to the sort, so a cursor opened with one value cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
createdAt:desc, createdAt:asc, name:asc, name:desc Substring search across metadata.name, metadata.displayName and labels (keys + values). Trimmed and lowercased server-side; queries shorter than 2 characters fall back to the unfiltered listing. Bound into the cursor fingerprint so a cursor opened with one query cannot be reused with another. Only honoured starting on Blaxel-Version 2026-04-28.
200Response
successful operation
Cursor-paginated list of an execution's tasks. Tasks are derived from event history; pagination slices the in-memory list and the cursor is a base64-JSON offset bound to (workspace, job, execution).
Was this page helpful?
