Index sessions (persistent run history)
curl --request GET \
--url http://127.0.0.1:4319/memory/index/runsimport requests
url = "http://127.0.0.1:4319/memory/index/runs"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://127.0.0.1:4319/memory/index/runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://127.0.0.1:4319/memory/index/runs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "4319",
CURLOPT_URL => "http://127.0.0.1:4319/memory/index/runs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}require 'uri'
require 'net/http'
url = URI("http://127.0.0.1:4319/memory/index/runs")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyHttpResponse<String> response = Unirest.get("http://127.0.0.1:4319/memory/index/runs")
.asString();using RestSharp;
var options = new RestClientOptions("http://127.0.0.1:4319/memory/index/runs");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
{
"runs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"batchSize": 14,
"memoriesIndexed": 123,
"chunksIndexed": 123,
"itemsFailed": 123,
"entitiesLinked": 123,
"relationsCreated": 123,
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z"
}
]
}Indexing & graph
Index sessions (persistent run history)
Every index/reindex pass is recorded as a run: trigger (index|rebuild), status (running|success|warning|error|interrupted), batch size, per-kind indexed counts, failures, and entity/relation totals. Newest first. The viewer’s Console polls this while a run is live; history survives restarts and includes CLI runs.
GET
/
memory
/
index
/
runs
Index sessions (persistent run history)
curl --request GET \
--url http://127.0.0.1:4319/memory/index/runsimport requests
url = "http://127.0.0.1:4319/memory/index/runs"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://127.0.0.1:4319/memory/index/runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://127.0.0.1:4319/memory/index/runs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "4319",
CURLOPT_URL => "http://127.0.0.1:4319/memory/index/runs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}require 'uri'
require 'net/http'
url = URI("http://127.0.0.1:4319/memory/index/runs")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyHttpResponse<String> response = Unirest.get("http://127.0.0.1:4319/memory/index/runs")
.asString();using RestSharp;
var options = new RestClientOptions("http://127.0.0.1:4319/memory/index/runs");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
{
"runs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"batchSize": 14,
"memoriesIndexed": 123,
"chunksIndexed": 123,
"itemsFailed": 123,
"entitiesLinked": 123,
"relationsCreated": 123,
"startedAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z"
}
]
}Response
200 - application/json
Runs, newest first.
Hide child attributes
Hide child attributes
Available options:
index, rebuild Available options:
running, success, warning, error, interrupted Example:
14
⌘I