Run Tick Now
curl --request POST \
--url https://api.example.com/api/v1/kg/tick/run-now \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"board_id": "<string>",
"force_full_rebuild": false
}
'import requests
url = "https://api.example.com/api/v1/kg/tick/run-now"
payload = {
"board_id": "<string>",
"force_full_rebuild": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({board_id: '<string>', force_full_rebuild: false})
};
fetch('https://api.example.com/api/v1/kg/tick/run-now', 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.example.com/api/v1/kg/tick/run-now",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'board_id' => '<string>',
'force_full_rebuild' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/kg/tick/run-now"
payload := strings.NewReader("{\n \"board_id\": \"<string>\",\n \"force_full_rebuild\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/api/v1/kg/tick/run-now")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"board_id\": \"<string>\",\n \"force_full_rebuild\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/kg/tick/run-now")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"board_id\": \"<string>\",\n \"force_full_rebuild\": false\n}"
response = http.request(request)
puts response.read_body{
"scheduled_at": "<string>",
"status": "<string>",
"tick_id": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}kg-tick
Run Tick Now
Trigger the KG decay tick manually (idempotent — concurrent calls return 409 until the in-flight tick releases the advisory lock).
Body:
board_id(optional): scope the tick to a single board. When omitted, the tick runs globally (same scope as the cron schedule).force_full_rebuild(optional, default false): zero outlast_recomputed_atfor nodes in scope BEFORE the tick, forcing recompute even of fresh nodes (ignores staleness threshold).
Returns 202 with tick_id immediately; the tick runs in background. Operator monitors progress via KGHealthView snapshot polling (30s).
Returns 409 when the advisory lock is already held by the cron OR another manual trigger.
POST
/
api
/
v1
/
kg
/
tick
/
run-now
Run Tick Now
curl --request POST \
--url https://api.example.com/api/v1/kg/tick/run-now \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"board_id": "<string>",
"force_full_rebuild": false
}
'import requests
url = "https://api.example.com/api/v1/kg/tick/run-now"
payload = {
"board_id": "<string>",
"force_full_rebuild": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({board_id: '<string>', force_full_rebuild: false})
};
fetch('https://api.example.com/api/v1/kg/tick/run-now', 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.example.com/api/v1/kg/tick/run-now",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'board_id' => '<string>',
'force_full_rebuild' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/kg/tick/run-now"
payload := strings.NewReader("{\n \"board_id\": \"<string>\",\n \"force_full_rebuild\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/api/v1/kg/tick/run-now")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"board_id\": \"<string>\",\n \"force_full_rebuild\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/kg/tick/run-now")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"board_id\": \"<string>\",\n \"force_full_rebuild\": false\n}"
response = http.request(request)
puts response.read_body{
"scheduled_at": "<string>",
"status": "<string>",
"tick_id": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Last modified on May 17, 2026