Python
item = niadra.open("ep_01J2", conversation_id="call-4471")
if item:
print(item.summary, item.resolution)const { data: item } = await niadra.open("ep_01J2", { conversation_id: "call-4471" });
if (item) console.log(item.summary, item.resolution);curl --request GET \
--url https://{space}.{region}.api.niadra.com/v1/history/items/{item_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{space}.{region}.api.niadra.com/v1/history/items/{item_id}', 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://{space}.{region}.api.niadra.com/v1/history/items/{item_id}",
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://{space}.{region}.api.niadra.com/v1/history/items/{item_id}"
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://{space}.{region}.api.niadra.com/v1/history/items/{item_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{space}.{region}.api.niadra.com/v1/history/items/{item_id}")
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{
"id": "ep_01J2",
"kind": "episode",
"summary": "Technician did not show up for the scheduled visit.",
"requested": "A new visit and compensation",
"promises": [
{
"by": "company",
"what": "New visit on Mar 13, morning",
"due_at": "2026-03-13T15:00:00Z",
"status": "kept"
}
],
"outcome": "resolved",
"resolution": "$40 credit on the April bill",
"derived": [],
"timeline": [],
"excerpt": null,
"as_of": "2026-09-22T17:07:02Z"
}{
"code": "<string>",
"status": 123,
"title": "<string>",
"detail": "<string>",
"request_id": "<string>",
"type": "about:blank"
}History
Open an item
One conversation or object opened: what was asked, the promises, the outcome and what it produced.
GET
/
v1
/
history
/
items
/
{item_id}
Python
item = niadra.open("ep_01J2", conversation_id="call-4471")
if item:
print(item.summary, item.resolution)const { data: item } = await niadra.open("ep_01J2", { conversation_id: "call-4471" });
if (item) console.log(item.summary, item.resolution);curl --request GET \
--url https://{space}.{region}.api.niadra.com/v1/history/items/{item_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{space}.{region}.api.niadra.com/v1/history/items/{item_id}', 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://{space}.{region}.api.niadra.com/v1/history/items/{item_id}",
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://{space}.{region}.api.niadra.com/v1/history/items/{item_id}"
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://{space}.{region}.api.niadra.com/v1/history/items/{item_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{space}.{region}.api.niadra.com/v1/history/items/{item_id}")
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{
"id": "ep_01J2",
"kind": "episode",
"summary": "Technician did not show up for the scheduled visit.",
"requested": "A new visit and compensation",
"promises": [
{
"by": "company",
"what": "New visit on Mar 13, morning",
"due_at": "2026-03-13T15:00:00Z",
"status": "kept"
}
],
"outcome": "resolved",
"resolution": "$40 credit on the April bill",
"derived": [],
"timeline": [],
"excerpt": null,
"as_of": "2026-09-22T17:07:02Z"
}{
"code": "<string>",
"status": 123,
"title": "<string>",
"detail": "<string>",
"request_id": "<string>",
"type": "about:blank"
}Authorizations
nia_sk_...
Path Parameters
Query Parameters
Session verification levels. no_customer sits outside the V0-V4 scale.
Available options:
V0, V1, V2, V3, V4, no_customer The conversation asking, so the verification level of that session applies.
Response
The opened item.
Available options:
episode, object Memory items that were born from this conversation or object.
Show child attributes
Show child attributes
Literal transcript excerpt; needs an elevated scope.
Show child attributes
Show child attributes
Show child attributes
Show child attributes

