Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
viewId
string
required

Saved view ID accessible to the authenticated user.

token
string

Public token for a shared view. Can be used without bearer auth when the view is public.

query
string
rewriteQuery
boolean
forceFullQueryProcessing
boolean
enableRerank
boolean
rerankWindow
integer
Required range: 1 <= x <= 100
includeChunkContext
boolean
tagIds
string[]

Optional tag IDs to further filter the view. IDs must already belong to the view scope.

contentTypes
enum<string>[]

Exact persisted content_entity.type value.

Available options:
web,
pdf,
youtube,
twitter,
instagram,
tiktok,
facebook,
linkedin,
pinterest,
reddit,
chatgpt,
claude,
annotation,
image,
transcribedMedia,
audioRecording,
selector,
chatThread,
twitterProfile,
subreddit,
youtubeChannel
timeRange
object
sortBy
enum<string>
Available options:
date-desc,
date-asc
offset
integer
default:0
Required range: x >= 0
limit
integer
default:30
Required range: 1 <= x <= 500

Response

Raw scoped search response

Full machine-readable search response returned when raw is true. Includes search graph fields for programmatic processing.

results
object[]
required

Search results. When includeNotes is true, each result includes an annotations array.

Union over Memex content entities. API-facing documented variants are web, twitter (tweets), youtube, image, and reddit.

extraEntities
object[]
required

Union over Memex content entities. API-facing documented variants are web, twitter (tweets), youtube, image, and reddit.

referencesByResultId
object
required

Map of result content ID to referenced content/tag IDs.

referencedEntities
object[]
required

Union over Memex content entities. API-facing documented variants are web, twitter (tweets), youtube, image, and reddit.

referencedTags
object[]
required
meta
object
required
error
string

Present when search execution fails.