curl --request GET \
--url https://core-api.agentova.ai/v1/runs \
--header 'Authorization: Bearer <token>'import requests
url = "https://core-api.agentova.ai/v1/runs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://core-api.agentova.ai/v1/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://core-api.agentova.ai/v1/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://core-api.agentova.ai/v1/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://core-api.agentova.ai/v1/runs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://core-api.agentova.ai/v1/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": [
{
"id": "run_01HZX4A1B2C3D4E5F6G7H8J9K0",
"automation_id": "aut_01HZX3Q8K5N7P2R4S6T8V0W2Y4",
"status": "success",
"trigger_type": "comment",
"occurred_at": "2026-08-20T10:00:00Z",
"actions": [
{
"type": "reply_comment",
"status": "success"
}
],
"lead_id": null
}
],
"has_more": false,
"next_cursor": null
}{
"error": {
"code": "invalid_request",
"message": "The limit parameter must be an integer between 1 and 100",
"details": {
"parameter": "limit",
"max": 100
}
}
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid or revoked key — create one in Settings → API",
"details": {}
}
}{
"error": {
"code": "workspace_access_denied",
"message": "This workspace's subscription does not allow access to the API",
"details": {}
}
}{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded — retry in a few seconds",
"details": {
"retry_after_seconds": 42
}
}
}{
"error": {
"code": "service_unavailable",
"message": "The API is temporarily unavailable — retry later",
"details": {}
}
}List runs
Lists the runs of all the automations of the workspace, most recent first (occurred_at, then id). Runs are kept for 90 days. The run.completed webhook event sends the same objects as they happen.
curl --request GET \
--url https://core-api.agentova.ai/v1/runs \
--header 'Authorization: Bearer <token>'import requests
url = "https://core-api.agentova.ai/v1/runs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://core-api.agentova.ai/v1/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://core-api.agentova.ai/v1/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://core-api.agentova.ai/v1/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://core-api.agentova.ai/v1/runs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://core-api.agentova.ai/v1/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": [
{
"id": "run_01HZX4A1B2C3D4E5F6G7H8J9K0",
"automation_id": "aut_01HZX3Q8K5N7P2R4S6T8V0W2Y4",
"status": "success",
"trigger_type": "comment",
"occurred_at": "2026-08-20T10:00:00Z",
"actions": [
{
"type": "reply_comment",
"status": "success"
}
],
"lead_id": null
}
],
"has_more": false,
"next_cursor": null
}{
"error": {
"code": "invalid_request",
"message": "The limit parameter must be an integer between 1 and 100",
"details": {
"parameter": "limit",
"max": 100
}
}
}{
"error": {
"code": "invalid_api_key",
"message": "Invalid or revoked key — create one in Settings → API",
"details": {}
}
}{
"error": {
"code": "workspace_access_denied",
"message": "This workspace's subscription does not allow access to the API",
"details": {}
}
}{
"error": {
"code": "rate_limited",
"message": "Rate limit exceeded — retry in a few seconds",
"details": {
"retry_after_seconds": 42
}
}
}{
"error": {
"code": "service_unavailable",
"message": "The API is temporarily unavailable — retry later",
"details": {}
}
}Autorisations
API key created in the Agentova app (Settings → API), sent as Authorization: Bearer agk_live_…. One key = one workspace: the key determines the workspace, and no workspace identifier ever travels in requests. The Bearer scheme is case-insensitive. A revoked key is refused immediately.
Paramètres de requête
Only the runs of this automation, given as an opaque aut_… identifier. An identifier that the API never issued returns an empty page.
Integer from 1 to 100 (default 25). Out of range or not an integer: 400 invalid_request.
1 <= x <= 100Opaque cursor received in next_cursor. Missing, empty or equal to the literal word null: first page. Unreadable: 400 invalid_request.