curl --request GET \
--url https://api.veryfront.com/projects/{project_reference}/runs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.veryfront.com/projects/{project_reference}/runs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.veryfront.com/projects/{project_reference}/runs', 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.veryfront.com/projects/{project_reference}/runs",
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.veryfront.com/projects/{project_reference}/runs"
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.veryfront.com/projects/{project_reference}/runs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.veryfront.com/projects/{project_reference}/runs")
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": [
{
"run_id": "<string>",
"id": "<string>",
"kind": "agent",
"status": "pending",
"owner": {
"kind": "conversation",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"usage": {
"requests": 1,
"model_calls": 1,
"input_tokens": 1,
"output_tokens": 1,
"cache_creation_input_tokens": 1,
"cache_read_input_tokens": 1,
"reasoning_tokens": 1,
"total_tokens": 1,
"cost_credits": "<string>"
},
"tool_error_count": 1,
"children_failed": true,
"parent_run_id": "<string>",
"root_run_id": "<string>",
"waiting_reason": "tool",
"waiting_on": [
{
"kind": "run",
"run_id": "<string>",
"correlation": {
"kind": "tool_call",
"id": "<string>"
}
}
],
"waiting": {
"reason": "tool",
"on": [
{
"kind": "run",
"run_id": "<string>",
"correlation": {
"kind": "tool_call",
"id": "<string>"
}
}
],
"pending_approvals": [
"<string>"
],
"resume_at": "2023-11-07T05:31:56Z"
},
"cancellation": {
"requested_at": "<string>",
"stopped_at": "<string>"
},
"pause": {
"requested_at": "<string>"
},
"title": "<string>",
"target": "<string>",
"workflow_id": "<string>",
"schedule_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"batch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"runtime_target_kind": "main_branch",
"runtime_target_environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"runtime_target_branch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"error": {
"message": "<string>",
"code": "<string>"
},
"logs": "<string>",
"artifacts": [
"<unknown>"
],
"duration_ms": 123,
"exit_code": 123,
"start_mode": "<string>",
"timeout_seconds": 123,
"backoff_limit": 123,
"input_schema_sha256": "<string>",
"output_schema_sha256": "<string>",
"input_schema_hash": "<string>",
"output_schema_hash": "<string>",
"trigger": {
"kind": "manual",
"id": "<string>",
"principal": {
"kind": "system",
"id": "<string>"
}
},
"trigger_kind": "manual",
"trigger_id": "<string>",
"created_by": "<string>",
"updated_at": "<string>",
"created_at": "<string>",
"started_at": "<string>",
"completed_at": "<string>",
"metadata": "<unknown>",
"control": {
"pause": {
"requested_at": "2023-11-07T05:31:56Z"
},
"waiting": {
"reason": "manual_pause",
"resume_at": "2023-11-07T05:31:56Z"
}
},
"input": "<unknown>",
"config": "<unknown>",
"output": "<unknown>",
"trigger_principal_type": "system",
"trigger_principal_id": "<string>"
}
],
"page_info": {
"self": "<string>",
"first": null,
"next": "<string>",
"prev": "<string>"
}
}List project runs
Lists project runs that your credentials permit you to read.
Filter by status, kind, trigger_kind, target, or workflow_id. Each of these filters accepts comma-separated values, repeated parameters, or both. Values within a filter use OR; different filters use AND. Use schedule_id for the runs one schedule fired, of every kind. Pagination retains the selected filters.
An unknown filter value returns a 400 validation-failed error that identifies the value. Use root_only=true for top-level runs or parent_run_id for a run’s direct children. These two filters cannot be combined.
curl --request GET \
--url https://api.veryfront.com/projects/{project_reference}/runs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.veryfront.com/projects/{project_reference}/runs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.veryfront.com/projects/{project_reference}/runs', 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.veryfront.com/projects/{project_reference}/runs",
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.veryfront.com/projects/{project_reference}/runs"
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.veryfront.com/projects/{project_reference}/runs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.veryfront.com/projects/{project_reference}/runs")
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": [
{
"run_id": "<string>",
"id": "<string>",
"kind": "agent",
"status": "pending",
"owner": {
"kind": "conversation",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"conversation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"usage": {
"requests": 1,
"model_calls": 1,
"input_tokens": 1,
"output_tokens": 1,
"cache_creation_input_tokens": 1,
"cache_read_input_tokens": 1,
"reasoning_tokens": 1,
"total_tokens": 1,
"cost_credits": "<string>"
},
"tool_error_count": 1,
"children_failed": true,
"parent_run_id": "<string>",
"root_run_id": "<string>",
"waiting_reason": "tool",
"waiting_on": [
{
"kind": "run",
"run_id": "<string>",
"correlation": {
"kind": "tool_call",
"id": "<string>"
}
}
],
"waiting": {
"reason": "tool",
"on": [
{
"kind": "run",
"run_id": "<string>",
"correlation": {
"kind": "tool_call",
"id": "<string>"
}
}
],
"pending_approvals": [
"<string>"
],
"resume_at": "2023-11-07T05:31:56Z"
},
"cancellation": {
"requested_at": "<string>",
"stopped_at": "<string>"
},
"pause": {
"requested_at": "<string>"
},
"title": "<string>",
"target": "<string>",
"workflow_id": "<string>",
"schedule_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"batch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"runtime_target_kind": "main_branch",
"runtime_target_environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"runtime_target_branch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"error": {
"message": "<string>",
"code": "<string>"
},
"logs": "<string>",
"artifacts": [
"<unknown>"
],
"duration_ms": 123,
"exit_code": 123,
"start_mode": "<string>",
"timeout_seconds": 123,
"backoff_limit": 123,
"input_schema_sha256": "<string>",
"output_schema_sha256": "<string>",
"input_schema_hash": "<string>",
"output_schema_hash": "<string>",
"trigger": {
"kind": "manual",
"id": "<string>",
"principal": {
"kind": "system",
"id": "<string>"
}
},
"trigger_kind": "manual",
"trigger_id": "<string>",
"created_by": "<string>",
"updated_at": "<string>",
"created_at": "<string>",
"started_at": "<string>",
"completed_at": "<string>",
"metadata": "<unknown>",
"control": {
"pause": {
"requested_at": "2023-11-07T05:31:56Z"
},
"waiting": {
"reason": "manual_pause",
"resume_at": "2023-11-07T05:31:56Z"
}
},
"input": "<unknown>",
"config": "<unknown>",
"output": "<unknown>",
"trigger_principal_type": "system",
"trigger_principal_id": "<string>"
}
],
"page_info": {
"self": "<string>",
"first": null,
"next": "<string>",
"prev": "<string>"
}
}Authorizations
Use a JWT bearer token or a Veryfront API key in the Authorization header.
Path Parameters
1Query Parameters
Discover agent runs with this persisted task identity across conversations. Matches canonical task metadata or the first enqueue request; results are not task authorization evidence.
1 - 200^[a-zA-Z0-9][a-zA-Z0-9._:-]*$1 <= x <= 2001created_at, status, duration asc, desc Only runs in one of these statuses (pending, running, waiting, completed, failed, cancelled). Comma-separated and/or repeated; duplicates are ignored; at most 32 values.
Only runs of one of these kinds (agent, workflow, task, eval). Comma-separated and/or repeated; duplicates are ignored; at most 16 values. Combined with task_id, which already restricts results to agent runs, a kind list without agent yields an empty page.
Only runs started by one of these trigger kinds (manual, schedule, webhook, api). Comma-separated and/or repeated; duplicates are ignored; at most 16 values. Runs without a recorded trigger kind (trigger_kind null) match no value and are excluded whenever this filter is set.
true lists only top-level runs (parent_run_id null). Defaults to false.
true, false Only the direct children of the run with this ID that the caller can see. Cannot be combined with root_only=true.
1 - 128Only runs whose target equals one of these values exactly, for example task:sync-data for the runs of one project task. Comma-separated and/or repeated; duplicates are ignored; at most 16 values. Values are split on commas, so a target that contains a comma cannot be matched. Not the same as task_id, which is an agent task identity, not a project task ID.
Only runs of one of these workflow IDs. Only workflow runs carry a workflow_id, so other kinds never match. Comma-separated and/or repeated; duplicates are ignored; at most 16 values.
Only runs fired by this schedule, of every kind (agent, task and workflow). A schedule of another project yields an empty page.