Send a governed turn to the presentation's agent (Aletheia).
curl --request POST \
--url https://api.mnemom.ai/v1/presentations/{slug}/chat \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"message": "<string>",
"deck": "<string>",
"history": [
{
"content": "<string>"
}
]
}
'import requests
url = "https://api.mnemom.ai/v1/presentations/{slug}/chat"
payload = {
"message": "<string>",
"deck": "<string>",
"history": [{ "content": "<string>" }]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({message: '<string>', deck: '<string>', history: [{content: '<string>'}]})
};
fetch('https://api.mnemom.ai/v1/presentations/{slug}/chat', 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.mnemom.ai/v1/presentations/{slug}/chat",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'message' => '<string>',
'deck' => '<string>',
'history' => [
[
'content' => '<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mnemom.ai/v1/presentations/{slug}/chat"
payload := strings.NewReader("{\n \"message\": \"<string>\",\n \"deck\": \"<string>\",\n \"history\": [\n {\n \"content\": \"<string>\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
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.mnemom.ai/v1/presentations/{slug}/chat")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"message\": \"<string>\",\n \"deck\": \"<string>\",\n \"history\": [\n {\n \"content\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mnemom.ai/v1/presentations/{slug}/chat")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"message\": \"<string>\",\n \"deck\": \"<string>\",\n \"history\": [\n {\n \"content\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"blocked": true,
"answer": "<string>",
"tier": "L1",
"citations": [
{
"tool": "<string>",
"detail": "<string>"
}
],
"verdicts": [
{
"round": 123,
"cfd": "<string>",
"aip": "<string>",
"policy": "<string>",
"cbd": "<string>",
"advisory": "<string>"
}
],
"attestation": {
"agent_id": "<string>",
"session": "<string>",
"model": "<string>",
"aip_checkpoint_id": "<string>",
"screened_intervention": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}Presentations
Send a governed turn to the presentation's agent (Aletheia).
One governed Aletheia turn (MNE-1428): routed through the Mnemom gateway (Safe House / AIP / CLPI / back-door screen in-path), executing read-only Mnemom MCP…
POST
/
presentations
/
{slug}
/
chat
Send a governed turn to the presentation's agent (Aletheia).
curl --request POST \
--url https://api.mnemom.ai/v1/presentations/{slug}/chat \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"message": "<string>",
"deck": "<string>",
"history": [
{
"content": "<string>"
}
]
}
'import requests
url = "https://api.mnemom.ai/v1/presentations/{slug}/chat"
payload = {
"message": "<string>",
"deck": "<string>",
"history": [{ "content": "<string>" }]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({message: '<string>', deck: '<string>', history: [{content: '<string>'}]})
};
fetch('https://api.mnemom.ai/v1/presentations/{slug}/chat', 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.mnemom.ai/v1/presentations/{slug}/chat",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'message' => '<string>',
'deck' => '<string>',
'history' => [
[
'content' => '<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mnemom.ai/v1/presentations/{slug}/chat"
payload := strings.NewReader("{\n \"message\": \"<string>\",\n \"deck\": \"<string>\",\n \"history\": [\n {\n \"content\": \"<string>\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
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.mnemom.ai/v1/presentations/{slug}/chat")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"message\": \"<string>\",\n \"deck\": \"<string>\",\n \"history\": [\n {\n \"content\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mnemom.ai/v1/presentations/{slug}/chat")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"message\": \"<string>\",\n \"deck\": \"<string>\",\n \"history\": [\n {\n \"content\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"blocked": true,
"answer": "<string>",
"tier": "L1",
"citations": [
{
"tool": "<string>",
"detail": "<string>"
}
],
"verdicts": [
{
"round": 123,
"cfd": "<string>",
"aip": "<string>",
"policy": "<string>",
"cbd": "<string>",
"advisory": "<string>"
}
],
"attestation": {
"agent_id": "<string>",
"session": "<string>",
"model": "<string>",
"aip_checkpoint_id": "<string>",
"screened_intervention": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}Authorizations
Supabase JWT token in Authorization: Bearer header
Path Parameters
The presentation slug.
Body
application/json
The viewer's turn.
Maximum string length:
4000The deck's own text, handed over by the page that is already rendering it, so Aletheia reads it as her primary source. Capped server-side.
Optional prior turns for multi-turn context. Only {role:'user'|'assistant', content:string} entries are honored; the newest 20 are kept.
Show child attributes
Show child attributes
Response
The turn's result. ok:false with blocked:true means Safe House withheld the response (governance success).