Get verification keys
curl --request GET \
--url https://api.tensorpro.ai/api/v1/evidence/keysimport requests
url = "https://api.tensorpro.ai/api/v1/evidence/keys"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.tensorpro.ai/api/v1/evidence/keys', 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.tensorpro.ai/api/v1/evidence/keys",
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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tensorpro.ai/api/v1/evidence/keys"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tensorpro.ai/api/v1/evidence/keys")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tensorpro.ai/api/v1/evidence/keys")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"keys": [
{
"key_id": "edn-2026-11",
"algorithm": "Ed25519",
"public_key_b64": "3HEboAWuZ+JojgJPmJrolhBJ1dqBLRr5MP7OxJr3eMA="
}
]
}
Signed records
Get verification keys
Get the public keys that verify signed records. No API key is needed. Match a record’s key_id to a key here, then check the record’s signature_b64 over its decoded payload_b64 with that key.
GET
/
api
/
v1
/
evidence
/
keys
Get verification keys
curl --request GET \
--url https://api.tensorpro.ai/api/v1/evidence/keysimport requests
url = "https://api.tensorpro.ai/api/v1/evidence/keys"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.tensorpro.ai/api/v1/evidence/keys', 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.tensorpro.ai/api/v1/evidence/keys",
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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tensorpro.ai/api/v1/evidence/keys"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tensorpro.ai/api/v1/evidence/keys")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tensorpro.ai/api/v1/evidence/keys")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"keys": [
{
"key_id": "edn-2026-11",
"algorithm": "Ed25519",
"public_key_b64": "3HEboAWuZ+JojgJPmJrolhBJ1dqBLRr5MP7OxJr3eMA="
}
]
}
Use this endpoint to get EDN’s public verification keys. No API key is needed. See Signed records.
Required headers
None. This endpoint does not need an API key.Request
This endpoint takes no parameters.curl "https://api.tensorpro.ai/api/v1/evidence/keys"
import requests
resp = requests.get(
"https://api.tensorpro.ai/api/v1/evidence/keys",
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.tensorpro.ai/api/v1/evidence/keys");
console.log(await resp.json());
Response
200 OK
{
"keys": [
{
"key_id": "edn-2026-11",
"algorithm": "Ed25519",
"public_key_b64": "3HEboAWuZ+JojgJPmJrolhBJ1dqBLRr5MP7OxJr3eMA="
}
]
}
| Field | Type | Description |
|---|---|---|
keys | array | The current signing key, plus any earlier keys still published, so that older records can still be verified |
keys[].key_id | string | The key’s ID, as named in a record’s key_id |
keys[].algorithm | string | The key type, Ed25519 |
keys[].public_key_b64 | string | The raw 32-byte Ed25519 public key, base64-encoded |
Errors
This endpoint does not return errors of its own. See Error handling.{
"keys": [
{
"key_id": "edn-2026-11",
"algorithm": "Ed25519",
"public_key_b64": "3HEboAWuZ+JojgJPmJrolhBJ1dqBLRr5MP7OxJr3eMA="
}
]
}
