curl --request GET \
--url https://app.base44.com/api/apps/{app_id}/imported/agent-runs/{run_id}/events \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.base44.com/api/apps/{app_id}/imported/agent-runs/{run_id}/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.base44.com/api/apps/{app_id}/imported/agent-runs/{run_id}/events', 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://app.base44.com/api/apps/{app_id}/imported/agent-runs/{run_id}/events",
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://app.base44.com/api/apps/{app_id}/imported/agent-runs/{run_id}/events"
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://app.base44.com/api/apps/{app_id}/imported/agent-runs/{run_id}/events")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/apps/{app_id}/imported/agent-runs/{run_id}/events")
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_bodyevent: run
data: {"id":"6820f3a4e7b91d003c45a1f3","status":"queued"}
{
"error": {
"code": "invalid_cursor",
"message": "The cursor does not match this query.",
"details": {}
}
}{
"error": {
"code": "unauthenticated",
"message": "Sign in with Bearer credentials.",
"details": {}
}
}{
"error": {
"code": "forbidden",
"message": "App or repository access denied.",
"details": {}
}
}{
"error": {
"code": "not_found",
"message": "Agent run not found.",
"details": {}
}
}{
"error": {
"code": "idempotency_conflict",
"message": "Use a new Idempotency-Key for different input.",
"details": {}
}
}{
"error": {
"code": "invalid_request",
"message": "The agent manifest is invalid.",
"details": {}
}
}{
"error": {
"code": "rate_limited",
"message": "Too many agent requests.",
"details": {}
}
}{
"error": {
"code": "database_unavailable",
"message": "Database temporarily unavailable, please retry",
"details": {}
}
}Observe agent completion
Authenticate with a platform Bearer credential or full-access workspace key permitted to edit this app. Scoped workspace keys are not accepted. Shares 60 reads or 6 mutations per minute per credential. Responses include request and rate-limit headers; 429 includes Retry-After. Observe the persisted run and its terminal outcome without polling. The connection lasts at most 20 minutes. Disconnect stops observation only; it never cancels the run. Reconnect to recover its current state. The stream does not expose model reasoning or repository source snapshots.
curl --request GET \
--url https://app.base44.com/api/apps/{app_id}/imported/agent-runs/{run_id}/events \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.base44.com/api/apps/{app_id}/imported/agent-runs/{run_id}/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.base44.com/api/apps/{app_id}/imported/agent-runs/{run_id}/events', 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://app.base44.com/api/apps/{app_id}/imported/agent-runs/{run_id}/events",
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://app.base44.com/api/apps/{app_id}/imported/agent-runs/{run_id}/events"
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://app.base44.com/api/apps/{app_id}/imported/agent-runs/{run_id}/events")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/apps/{app_id}/imported/agent-runs/{run_id}/events")
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_bodyevent: run
data: {"id":"6820f3a4e7b91d003c45a1f3","status":"queued"}
{
"error": {
"code": "invalid_cursor",
"message": "The cursor does not match this query.",
"details": {}
}
}{
"error": {
"code": "unauthenticated",
"message": "Sign in with Bearer credentials.",
"details": {}
}
}{
"error": {
"code": "forbidden",
"message": "App or repository access denied.",
"details": {}
}
}{
"error": {
"code": "not_found",
"message": "Agent run not found.",
"details": {}
}
}{
"error": {
"code": "idempotency_conflict",
"message": "Use a new Idempotency-Key for different input.",
"details": {}
}
}{
"error": {
"code": "invalid_request",
"message": "The agent manifest is invalid.",
"details": {}
}
}{
"error": {
"code": "rate_limited",
"message": "Too many agent requests.",
"details": {}
}
}{
"error": {
"code": "database_unavailable",
"message": "Database temporarily unavailable, please retry",
"details": {}
}
}Authorizations
Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.
Path Parameters
The run identifier returned by launch.
^[a-f0-9]{24}$"6820f3a4e7b91d003c45a1f3"
The imported app whose connected repository the agent may read.
^[a-f0-9]{24}$"6820f3a4e7b91d003c45a1f1"
Response
SSE run objects followed by terminal state, or a sanitized observation error. Heartbeats are comments.
The response is of type string.
Was this page helpful?