curl --request POST \
--url 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates' \
--header 'Content-Type: application/json' \
--data '{
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}'
import json
import requests
url = "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates"
headers = {'Content-Type': 'application/json'}
payload = json.loads(r'''{
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}''')
response = requests.request(
"POST", url, headers=headers, json=payload
)
print(response.text)
const response = await fetch('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}),
});
console.log(await response.text());
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => <<<'JSON'
{
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}
JSON,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
echo $response;
package main
import (
"bytes"
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("POST", "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates", bytes.NewBufferString(`{
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}`))
req.Header.Set("Content-Type", "application/json")
response, _ := http.DefaultClient.Do(req)
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
var request = HttpRequest.newBuilder()
.uri(URI.create("https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates"))
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}
"""))
.build();
var response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
require 'net/http'
require 'uri'
uri = URI('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates')
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request.body = <<~JSON
{
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}
JSON
response = Net::HTTP.start(uri.hostname, uri.port) do |http|
http.request(request)
end
puts response.body
{
"object_refs": [
{
"url": "<string>",
"digest": "<string>"
}
],
"next_page_token": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
POST /v0/history/bulk/updates
Under Development, do not use in production yet Get download URLs and metadata for update history objects available for bulk download, between two record times. Note that the returned objects may include also updates outside of the requested record time range (since only full objects are served from storage), but guaranteed to include all updates in the requested range.
curl --request POST \
--url 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates' \
--header 'Content-Type: application/json' \
--data '{
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}'
import json
import requests
url = "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates"
headers = {'Content-Type': 'application/json'}
payload = json.loads(r'''{
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}''')
response = requests.request(
"POST", url, headers=headers, json=payload
)
print(response.text)
const response = await fetch('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}),
});
console.log(await response.text());
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => <<<'JSON'
{
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}
JSON,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
echo $response;
package main
import (
"bytes"
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("POST", "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates", bytes.NewBufferString(`{
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}`))
req.Header.Set("Content-Type", "application/json")
response, _ := http.DefaultClient.Do(req)
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
var request = HttpRequest.newBuilder()
.uri(URI.create("https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates"))
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}
"""))
.build();
var response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
require 'net/http'
require 'uri'
uri = URI('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates')
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request.body = <<~JSON
{
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}
JSON
response = Net::HTTP.start(uri.hostname, uri.port) do |http|
http.request(request)
end
puts response.body
{
"object_refs": [
{
"url": "<string>",
"digest": "<string>"
}
],
"next_page_token": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
Under Development, do not use in production yet Get download URLs and metadata for update history objects available for bulk download, between two record times. Note that the returned objects may include also updates outside of the requested record time range (since only full objects are served from storage), but guaranteed to include all updates in the requested range.
curl --request POST \
--url 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates' \
--header 'Content-Type: application/json' \
--data '{
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}'
import json
import requests
url = "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates"
headers = {'Content-Type': 'application/json'}
payload = json.loads(r'''{
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}''')
response = requests.request(
"POST", url, headers=headers, json=payload
)
print(response.text)
const response = await fetch('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}),
});
console.log(await response.text());
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => <<<'JSON'
{
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}
JSON,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
echo $response;
package main
import (
"bytes"
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("POST", "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates", bytes.NewBufferString(`{
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}`))
req.Header.Set("Content-Type", "application/json")
response, _ := http.DefaultClient.Do(req)
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
var request = HttpRequest.newBuilder()
.uri(URI.create("https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates"))
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}
"""))
.build();
var response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
require 'net/http'
require 'uri'
uri = URI('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/updates')
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request.body = <<~JSON
{
"start_record_time": "2026-01-01T00:00:00Z",
"end_record_time": "2026-01-01T00:00:00Z",
"next_page_token": "<string>",
"page_size": 123,
"daml_value_encoding": "compact_json"
}
JSON
response = Net::HTTP.start(uri.hostname, uri.port) do |http|
http.request(request)
end
puts response.body
{
"object_refs": [
{
"url": "<string>",
"digest": "<string>"
}
],
"next_page_token": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
Body
string (date-time).The returned objects must include all updates with record time greater than start_record_time (but may also include updates before it).string (date-time).The returned objects must include all updates with record time at most end_record_time (but may also include updates after it).integer (int32).The maximum number of objects returned for this request.Minimum: 1; Maximum: 1000.DamlValueEncoding.How daml values should be encoded in the response. “compact_json” is a compact, human-readable JSON encoding. It is the same encoding as the one used in the HTTP JSON API (v1) or the JavaScript codegen. “protobuf_json” is a verbose JSON encoding that is more difficult to parse, but contains type information, i.e., the values can be parsed losslessly without having access to the Daml source code. “ledger_api_json” is the JSON encoding of the JSON Ledger API (v2). It is identical to “compact_json”, with two differences: numeric values can be written in a different notation (e.g., “0.0000000000” instead of “0E-10”), and trailing fields of Daml records that are null are omitted. Daml upgrades can add optional fields at the end of a record. With “compact_json”, values created before such an upgrade can be returned with or without the new fields (as null) depending on the version of the app that serves the request. This encoding returns the same JSON regardless of the version. Optional and defaults to “compact_json”. Not all endpoints support all encodings. Requests for an encoding that an endpoint does not support are rejected.Allowed values: compact_json, protobuf_json, ledger_api_json.Responses
200
okafter to the next ListBulkUpdateHistoryObjectsRequest invocation. Will be absent when there are no more pages.400
not found404
not found501
not implementedHistory
0.10.3The POST /v0/history/bulk/updates operation changed in this snapshot.
0.10.0The POST /v0/history/bulk/updates operation changed in this snapshot.
0.5.18