List signed records
curl --request GET \
--url https://api.tensorpro.ai/api/v1/evidence \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.tensorpro.ai/api/v1/evidence"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tensorpro.ai/api/v1/evidence', 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",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
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.tensorpro.ai/api/v1/evidence"
req, _ := http.NewRequest("GET", 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.get("https://api.tensorpro.ai/api/v1/evidence")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tensorpro.ai/api/v1/evidence")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"records": [
{
"receipt_id": "5d8f2a1c-3e4b-4c6d-9f0a-7b1c2d3e4f5a",
"record_type": "ai_response",
"parent_receipt_id": "e7b3c9a1-4d2f-4a8e-b6c0-1f3d5e7a9b2c",
"session_id": "chat-42",
"project_id": null,
"built_at": "2026-11-17T04:43:27Z",
"created_at": 1794890607
},
{
"receipt_id": "e7b3c9a1-4d2f-4a8e-b6c0-1f3d5e7a9b2c",
"record_type": "sip",
"parent_receipt_id": null,
"session_id": "chat-42",
"project_id": null,
"built_at": "2026-11-17T04:43:25Z",
"created_at": 1794890605
}
],
"total": 2
}
Signed records
List signed records
List your signed records, newest first. EDN saves a sip record when it builds a SIP, and an ai_response record when you send the build’s receipt_id to Save a conversation turn. Records are subject to your memory retention settings.
GET
/
api
/
v1
/
evidence
List signed records
curl --request GET \
--url https://api.tensorpro.ai/api/v1/evidence \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.tensorpro.ai/api/v1/evidence"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.tensorpro.ai/api/v1/evidence', 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",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
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.tensorpro.ai/api/v1/evidence"
req, _ := http.NewRequest("GET", 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.get("https://api.tensorpro.ai/api/v1/evidence")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tensorpro.ai/api/v1/evidence")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"records": [
{
"receipt_id": "5d8f2a1c-3e4b-4c6d-9f0a-7b1c2d3e4f5a",
"record_type": "ai_response",
"parent_receipt_id": "e7b3c9a1-4d2f-4a8e-b6c0-1f3d5e7a9b2c",
"session_id": "chat-42",
"project_id": null,
"built_at": "2026-11-17T04:43:27Z",
"created_at": 1794890607
},
{
"receipt_id": "e7b3c9a1-4d2f-4a8e-b6c0-1f3d5e7a9b2c",
"record_type": "sip",
"parent_receipt_id": null,
"session_id": "chat-42",
"project_id": null,
"built_at": "2026-11-17T04:43:25Z",
"created_at": 1794890605
}
],
"total": 2
}
Use this endpoint to list your signed records, for example every record from one conversation, before fetching and verifying them. See Signed records.
See Error handling.
Required headers
| Header | Value | Description |
|---|---|---|
Authorization | Bearer YOUR_API_KEY | Your EDN API key. Create keys in the Console. See Authentication |
Request
| Parameter | Type | Required | Description |
|---|---|---|---|
session_id | string | No | Only records from this conversation |
record_type | string | No | Only records of this type: sip or ai_response |
limit | integer | No | Most records to return, 1 to 200. Default 50 |
offset | integer | No | How many records to skip, for paging through a long list |
curl "https://api.tensorpro.ai/api/v1/evidence?session_id=chat-42" \
-H "Authorization: Bearer $EDN_API_KEY"
import os
import requests
resp = requests.get(
"https://api.tensorpro.ai/api/v1/evidence",
headers={"Authorization": f"Bearer {os.environ['EDN_API_KEY']}"},
params={"session_id": "chat-42"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.tensorpro.ai/api/v1/evidence?session_id=chat-42", {
headers: {
Authorization: `Bearer ${process.env.EDN_API_KEY}`,
},
});
console.log(await resp.json());
Response
200 OK
{
"records": [
{
"receipt_id": "5d8f2a1c-3e4b-4c6d-9f0a-7b1c2d3e4f5a",
"record_type": "ai_response",
"parent_receipt_id": "e7b3c9a1-4d2f-4a8e-b6c0-1f3d5e7a9b2c",
"session_id": "chat-42",
"project_id": null,
"built_at": "2026-11-17T04:43:27Z",
"created_at": 1794890607
},
{
"receipt_id": "e7b3c9a1-4d2f-4a8e-b6c0-1f3d5e7a9b2c",
"record_type": "sip",
"parent_receipt_id": null,
"session_id": "chat-42",
"project_id": null,
"built_at": "2026-11-17T04:43:25Z",
"created_at": 1794890605
}
],
"total": 2
}
| Field | Type | Description |
|---|---|---|
records | array | The page of signed records, newest first |
records[].receipt_id | string | The record’s ID |
records[].record_type | string | sip: a record of a Session Initialization Package (SIP) build. ai_response: a record of the AI response to a SIP, saved when you send receipt_id to Save a conversation turn |
records[].parent_receipt_id | string or null | For an ai_response record, the ID of the SIP record it answers. Otherwise null |
records[].session_id | string or null | The conversation the record belongs to, if any |
records[].project_id | string or null | The project the record belongs to, if any |
records[].built_at | string | When the record was signed, in RFC 3339 UTC format: the build time for a sip record, or the time the AI response was signed for an ai_response record |
records[].created_at | integer | When the record was saved, in Unix seconds |
total | integer | How many signed records match, across all pages |
Errors
| Status | Code | When |
|---|---|---|
401 | UNAUTHORIZED | The API key is missing, invalid, revoked or expired |
422 | VALIDATION_ERROR | A request field is missing or invalid. The errors field lists each problem |
429 | RATE_LIMITED | A rate limit or your daily quota was reached. Wait for the number of seconds in the Retry-After header, then retry |
{
"records": [
{
"receipt_id": "5d8f2a1c-3e4b-4c6d-9f0a-7b1c2d3e4f5a",
"record_type": "ai_response",
"parent_receipt_id": "e7b3c9a1-4d2f-4a8e-b6c0-1f3d5e7a9b2c",
"session_id": "chat-42",
"project_id": null,
"built_at": "2026-11-17T04:43:27Z",
"created_at": 1794890607
},
{
"receipt_id": "e7b3c9a1-4d2f-4a8e-b6c0-1f3d5e7a9b2c",
"record_type": "sip",
"parent_receipt_id": null,
"session_id": "chat-42",
"project_id": null,
"built_at": "2026-11-17T04:43:25Z",
"created_at": 1794890605
}
],
"total": 2
}
