curl --request GET \
--url https://api.hyperspell.com/memories/list \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hyperspell.com/memories/list"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hyperspell.com/memories/list', 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.hyperspell.com/memories/list",
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.hyperspell.com/memories/list"
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.hyperspell.com/memories/list")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperspell.com/memories/list")
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{
"items": [
{
"resource_id": "<string>",
"source": "reddit",
"type": "<string>",
"document": {
"children": [
{
"text": "The next release adds calendar search.",
"type": "text"
}
],
"title": "Project notes",
"type": "document"
},
"body_status": "full",
"title": "<string>",
"status": "pending",
"collection": "<string>",
"metadata": {},
"ingested_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"document_date": "2023-11-07T05:31:56Z",
"chunks": [
{
"chunk_id": "<string>",
"summary": "<string>"
}
]
}
],
"next_cursor": "<string>",
"notices": [
{
"message": "<string>",
"returned_count": 1,
"reduced_count": 1,
"skipped_count": 1,
"code": "ResponseContentLimited",
"skipped_identities": [
{
"source": "<string>",
"resource_id": "<string>"
}
],
"skipped_identity_omitted_count": 0
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}List memories
This endpoint allows you to paginate through all documents in the index. You can filter the documents by title, date, metadata, etc.
curl --request GET \
--url https://api.hyperspell.com/memories/list \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.hyperspell.com/memories/list"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.hyperspell.com/memories/list', 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.hyperspell.com/memories/list",
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.hyperspell.com/memories/list"
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.hyperspell.com/memories/list")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hyperspell.com/memories/list")
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{
"items": [
{
"resource_id": "<string>",
"source": "reddit",
"type": "<string>",
"document": {
"children": [
{
"text": "The next release adds calendar search.",
"type": "text"
}
],
"title": "Project notes",
"type": "document"
},
"body_status": "full",
"title": "<string>",
"status": "pending",
"collection": "<string>",
"metadata": {},
"ingested_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"document_date": "2023-11-07T05:31:56Z",
"chunks": [
{
"chunk_id": "<string>",
"summary": "<string>"
}
]
}
],
"next_cursor": "<string>",
"notices": [
{
"message": "<string>",
"returned_count": 1,
"reduced_count": 1,
"skipped_count": 1,
"code": "ResponseContentLimited",
"skipped_identities": [
{
"source": "<string>",
"resource_id": "<string>"
}
],
"skipped_identity_omitted_count": 0
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.
Headers
Response budget for the items array, including requested bodies: lowercase api scales with page size; lowercase mcp uses 256 KiB. Each record is limited to 32 KiB. Values are case-sensitive.
api, mcp Optionally set this header to act as a specific user when using an API Key, equivalent to first exchanging the API Key for a User Token
Query Parameters
Filter documents by collection.
Filter documents by source.
reddit, notion, slack, google_calendar, google_mail, imap, google_meet, box, dropbox, github, gitlab, google_drive, vault, web_crawler, trace, microsoft_outlook, microsoft_teams, granola, fathom, fireflies, figma, linear, hubspot, salesforce, coda, confluence, jira, metabase, gong, clickup, lightfield, pylon, fellow, odoo, external_mcp, page Filter documents by status.
pending, processing, completed, failed, pending_review, skipped, filtered, cancelled Filter documents by metadata using MongoDB-style operators. Example: {"department": "engineering", "priority": {"$gt": 3}}
When > 0, include up to this many extracted memories (chunks with summaries) per document in each item's chunks field, in document order. 0 (default) omits them.
0 <= x <= 10Include document bodies where supported. Slack and Teams entries remain bounded envelopes; use GET /memories/get/{source}/{resource_id} for paginated channel content. File previews stay excluded. Other documents may include a bounded stored preview; use the same point read for larger content.
0 <= x <= 100Was this page helpful?