curl --request POST \
--url https://api.platform.infino.ws/v1/hydrate/{database}/{table}/sync \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.platform.infino.ws/v1/hydrate/{database}/{table}/sync"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.platform.infino.ws/v1/hydrate/{database}/{table}/sync', 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.platform.infino.ws/v1/hydrate/{database}/{table}/sync",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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.platform.infino.ws/v1/hydrate/{database}/{table}/sync"
req, _ := http.NewRequest("POST", 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.post("https://api.platform.infino.ws/v1/hydrate/{database}/{table}/sync")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.platform.infino.ws/v1/hydrate/{database}/{table}/sync")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"gone": [
{
"change": "new",
"file_no": 1,
"key": "<string>",
"etag": "<string>",
"marker": "<string>",
"mtime_ms": 1,
"part": 1,
"rows": 1,
"size": 1
}
],
"job": "<string>",
"new": [
{
"change": "new",
"file_no": 1,
"key": "<string>",
"etag": "<string>",
"marker": "<string>",
"mtime_ms": 1,
"part": 1,
"rows": 1,
"size": 1
}
],
"rewritten": [
{
"change": "new",
"file_no": 1,
"key": "<string>",
"etag": "<string>",
"marker": "<string>",
"mtime_ms": 1,
"part": 1,
"rows": 1,
"size": 1
}
],
"state": "admitting",
"deferred": 1,
"dry_run": true,
"unlisted": [
"<string>"
]
}{
"job": "hydrate/cust_example/analytics/support_tickets",
"state": "pending",
"new": [
{
"key": "2026-12-01/part-0007.ndjson",
"file_no": 42,
"change": "new",
"marker": "\"9b2cf535f27731c974343645a3985328\"",
"etag": "\"9b2cf535f27731c974343645a3985328\"",
"size": 1048576,
"mtime_ms": 1796126400000,
"rows": 0
}
],
"rewritten": [],
"gone": []
}Run a sync pass now
Bring a table that was loaded with sync: true back in line with its source, now, without waiting for the next scheduled pass. The source is listed, the files that are new, rewritten or gone since the table last loaded them are found, and a pass that applies them is started; it runs like a load and is followed with GET /v1/hydrate/{database}?table=. One pass applies a bounded number of files, and deferred counts the rest. There is no request body.
Preview: this route may change between releases.
curl --request POST \
--url https://api.platform.infino.ws/v1/hydrate/{database}/{table}/sync \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.platform.infino.ws/v1/hydrate/{database}/{table}/sync"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.platform.infino.ws/v1/hydrate/{database}/{table}/sync', 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.platform.infino.ws/v1/hydrate/{database}/{table}/sync",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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.platform.infino.ws/v1/hydrate/{database}/{table}/sync"
req, _ := http.NewRequest("POST", 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.post("https://api.platform.infino.ws/v1/hydrate/{database}/{table}/sync")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.platform.infino.ws/v1/hydrate/{database}/{table}/sync")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"gone": [
{
"change": "new",
"file_no": 1,
"key": "<string>",
"etag": "<string>",
"marker": "<string>",
"mtime_ms": 1,
"part": 1,
"rows": 1,
"size": 1
}
],
"job": "<string>",
"new": [
{
"change": "new",
"file_no": 1,
"key": "<string>",
"etag": "<string>",
"marker": "<string>",
"mtime_ms": 1,
"part": 1,
"rows": 1,
"size": 1
}
],
"rewritten": [
{
"change": "new",
"file_no": 1,
"key": "<string>",
"etag": "<string>",
"marker": "<string>",
"mtime_ms": 1,
"part": 1,
"rows": 1,
"size": 1
}
],
"state": "admitting",
"deferred": 1,
"dry_run": true,
"unlisted": [
"<string>"
]
}{
"job": "hydrate/cust_example/analytics/support_tickets",
"state": "pending",
"new": [
{
"key": "2026-12-01/part-0007.ndjson",
"file_no": 42,
"change": "new",
"marker": "\"9b2cf535f27731c974343645a3985328\"",
"etag": "\"9b2cf535f27731c974343645a3985328\"",
"size": 1048576,
"mtime_ms": 1796126400000,
"rows": 0
}
],
"rewritten": [],
"gone": []
}Authorizations
Path Parameters
Query Parameters
Response
Nothing was started: a dry run (?dry_run=true), which lists the files a pass would apply, or a pass that found nothing changed.
The files a sync pass applies, by what became of each since the table last loaded them. Answered with 202 when a pass was started, and with 200 for a dry run or when nothing changed.
Was this page helpful?
