Search
Semantic Search
Search the Urantia Papers using semantic similarity (vector embeddings). Returns conceptually related results even without exact keyword matches.
A reference such as 99:1.1 gives those paragraphs (match: "reference"). A pasted paragraph of 25 words or more gives itself first (match: "exact"). Each result has strength: strong, related, or weak. The list holds the 100 nearest paragraphs; meta.total is the length of that list, and meta.related counts those that are related or better.
Optional filters: paperId, partId.
POST
/
search
/
semantic
Semantic similarity search across all paragraphs
curl --request POST \
--url https://api.urantia.dev/search/semantic \
--header 'Content-Type: application/json' \
--data '
{
"q": "what happens after death",
"limit": 2
}
'import requests
url = "https://api.urantia.dev/search/semantic"
payload = {
"q": "what happens after death",
"limit": 2
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({q: 'what happens after death', limit: 2})
};
fetch('https://api.urantia.dev/search/semantic', 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.urantia.dev/search/semantic",
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([
'q' => 'what happens after death',
'limit' => 2
]),
CURLOPT_HTTPHEADER => [
"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.urantia.dev/search/semantic"
payload := strings.NewReader("{\n \"q\": \"what happens after death\",\n \"limit\": 2\n}")
req, _ := http.NewRequest("POST", url, payload)
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.urantia.dev/search/semantic")
.header("Content-Type", "application/json")
.body("{\n \"q\": \"what happens after death\",\n \"limit\": 2\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.urantia.dev/search/semantic")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"q\": \"what happens after death\",\n \"limit\": 2\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "3:112.4.3",
"standardReferenceId": "112:4.3",
"sortId": "3.112.004.003",
"paperId": "112",
"sectionId": "4",
"partId": "3",
"paperTitle": "Personality Survival",
"sectionTitle": "Adjusters After Death",
"paragraphId": "3",
"text": "Subsequent to physical death, except in individuals translated from among the living, the released Adjuster goes immediately to the home sphere of Divinington. The details of what transpires on that world during the time of awaiting the factual reappearance of the surviving mortal depend chiefly on whether the human being ascends to the mansion worlds in his own individual right or awaits a dispensational summoning of the sleeping survivors of a planetary age.",
"htmlText": "<span class=\"urantia-dev-pb-0\">Subsequent to physical death, except in individuals translated from among the living, the released Adjuster goes immediately to the home sphere of Divinington. The details of what transpires on that world during the time of awaiting the factual reappearance of the surviving mortal depend chiefly on whether the human being ascends to the mansion worlds in his own individual right or awaits a dispensational summoning of the sleeping survivors of a planetary age.</span>",
"labels": [],
"audio": {
"tts-1-hd": {
"nova": {
"url": "https://cdn.urantia.dev/audio/eng/paragraphs/nova/tts-1-hd-nova-3:112.4.3.mp3",
"format": "mp3",
"bitrate": 160,
"duration": 29,
"fileSize": 579360
}
}
},
"similarity": 0.553137052739669,
"strength": "weak",
"match": "similar"
},
{
"id": "3:112.3.4",
"standardReferenceId": "112:3.4",
"sortId": "3.112.003.004",
"paperId": "112",
"sectionId": "3",
"partId": "3",
"paperTitle": "Personality Survival",
"sectionTitle": "The Phenomenon of Death",
"paragraphId": "4",
"text": "3. Physical (body and mind) death. When death overtakes a human being, the Adjuster remains in the citadel of the mind until it ceases to function as an intelligent mechanism, about the time that the measurable brain energies cease their rhythmic vital pulsations. Following this dissolution the Adjuster takes leave of the vanishing mind, just as unceremoniously as entry was made years before, and proceeds to Divinington by way of Uversa.",
"htmlText": "<span class=\"urantia-dev-pb-2\">3. <em>Physical (body and mind) death.</em> When death overtakes a human being, the Adjuster remains in the citadel of the mind until it ceases to function as an intelligent mechanism, about the time that the measurable brain energies cease their rhythmic vital pulsations. Following this dissolution the Adjuster takes leave of the vanishing mind, just as unceremoniously as entry was made years before, and proceeds to Divinington by way of Uversa.</span>",
"labels": [],
"audio": {
"tts-1-hd": {
"nova": {
"url": "https://cdn.urantia.dev/audio/eng/paragraphs/nova/tts-1-hd-nova-3:112.3.4.mp3",
"format": "mp3",
"bitrate": 160,
"duration": 27.4,
"fileSize": 547680
}
}
},
"similarity": 0.526908267016456,
"strength": "weak",
"match": "similar"
}
],
"meta": {
"page": 0,
"limit": 2,
"total": 100,
"totalPages": 50,
"related": 0,
"edition": {
"id": "srt-2024",
"label": "Standard Reference Text, 2024",
"year": 2024,
"foundationVersion": "1.22",
"versionStamp": "UF-202412132348"
}
}
}{
"type": "https://urantia.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Paragraph not found"
}{
"type": "https://urantia.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Paragraph not found"
}{
"type": "https://urantia.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Paragraph not found"
}Body
application/json
⌘I
Semantic similarity search across all paragraphs
curl --request POST \
--url https://api.urantia.dev/search/semantic \
--header 'Content-Type: application/json' \
--data '
{
"q": "what happens after death",
"limit": 2
}
'import requests
url = "https://api.urantia.dev/search/semantic"
payload = {
"q": "what happens after death",
"limit": 2
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({q: 'what happens after death', limit: 2})
};
fetch('https://api.urantia.dev/search/semantic', 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.urantia.dev/search/semantic",
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([
'q' => 'what happens after death',
'limit' => 2
]),
CURLOPT_HTTPHEADER => [
"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.urantia.dev/search/semantic"
payload := strings.NewReader("{\n \"q\": \"what happens after death\",\n \"limit\": 2\n}")
req, _ := http.NewRequest("POST", url, payload)
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.urantia.dev/search/semantic")
.header("Content-Type", "application/json")
.body("{\n \"q\": \"what happens after death\",\n \"limit\": 2\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.urantia.dev/search/semantic")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"q\": \"what happens after death\",\n \"limit\": 2\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "3:112.4.3",
"standardReferenceId": "112:4.3",
"sortId": "3.112.004.003",
"paperId": "112",
"sectionId": "4",
"partId": "3",
"paperTitle": "Personality Survival",
"sectionTitle": "Adjusters After Death",
"paragraphId": "3",
"text": "Subsequent to physical death, except in individuals translated from among the living, the released Adjuster goes immediately to the home sphere of Divinington. The details of what transpires on that world during the time of awaiting the factual reappearance of the surviving mortal depend chiefly on whether the human being ascends to the mansion worlds in his own individual right or awaits a dispensational summoning of the sleeping survivors of a planetary age.",
"htmlText": "<span class=\"urantia-dev-pb-0\">Subsequent to physical death, except in individuals translated from among the living, the released Adjuster goes immediately to the home sphere of Divinington. The details of what transpires on that world during the time of awaiting the factual reappearance of the surviving mortal depend chiefly on whether the human being ascends to the mansion worlds in his own individual right or awaits a dispensational summoning of the sleeping survivors of a planetary age.</span>",
"labels": [],
"audio": {
"tts-1-hd": {
"nova": {
"url": "https://cdn.urantia.dev/audio/eng/paragraphs/nova/tts-1-hd-nova-3:112.4.3.mp3",
"format": "mp3",
"bitrate": 160,
"duration": 29,
"fileSize": 579360
}
}
},
"similarity": 0.553137052739669,
"strength": "weak",
"match": "similar"
},
{
"id": "3:112.3.4",
"standardReferenceId": "112:3.4",
"sortId": "3.112.003.004",
"paperId": "112",
"sectionId": "3",
"partId": "3",
"paperTitle": "Personality Survival",
"sectionTitle": "The Phenomenon of Death",
"paragraphId": "4",
"text": "3. Physical (body and mind) death. When death overtakes a human being, the Adjuster remains in the citadel of the mind until it ceases to function as an intelligent mechanism, about the time that the measurable brain energies cease their rhythmic vital pulsations. Following this dissolution the Adjuster takes leave of the vanishing mind, just as unceremoniously as entry was made years before, and proceeds to Divinington by way of Uversa.",
"htmlText": "<span class=\"urantia-dev-pb-2\">3. <em>Physical (body and mind) death.</em> When death overtakes a human being, the Adjuster remains in the citadel of the mind until it ceases to function as an intelligent mechanism, about the time that the measurable brain energies cease their rhythmic vital pulsations. Following this dissolution the Adjuster takes leave of the vanishing mind, just as unceremoniously as entry was made years before, and proceeds to Divinington by way of Uversa.</span>",
"labels": [],
"audio": {
"tts-1-hd": {
"nova": {
"url": "https://cdn.urantia.dev/audio/eng/paragraphs/nova/tts-1-hd-nova-3:112.3.4.mp3",
"format": "mp3",
"bitrate": 160,
"duration": 27.4,
"fileSize": 547680
}
}
},
"similarity": 0.526908267016456,
"strength": "weak",
"match": "similar"
}
],
"meta": {
"page": 0,
"limit": 2,
"total": 100,
"totalPages": 50,
"related": 0,
"edition": {
"id": "srt-2024",
"label": "Standard Reference Text, 2024",
"year": 2024,
"foundationVersion": "1.22",
"versionStamp": "UF-202412132348"
}
}
}{
"type": "https://urantia.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Paragraph not found"
}{
"type": "https://urantia.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Paragraph not found"
}{
"type": "https://urantia.dev/errors/not-found",
"title": "Not Found",
"status": 404,
"detail": "Paragraph not found"
}
