curl --request POST \
--url https://memex.garden/api/execute-view-search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"viewId": "view_123",
"query": "vector database benchmarks",
"limit": 10,
"enableRerank": true
}
'{
"results": [
{
"id": "<string>",
"type": "web",
"created_at": 123,
"updated_at": 123,
"url": "<string>",
"title": "<string>",
"normalized_url": "<string>",
"user_id": "<string>",
"external_id": "<string>",
"tag_ids": [
"<string>"
],
"reference_content_ids": [
"<string>"
],
"canonical_url": "<string>",
"favicon_url": "<string>",
"description": "<string>",
"keywords": "<string>",
"author": "<string>",
"date": "<string>",
"html": "<string>",
"full_text": "<string>",
"annotations": [
{
"id": "<string>",
"type": "web",
"created_at": 123,
"updated_at": 123,
"url": "<string>",
"title": "<string>",
"normalized_url": "<string>",
"resolvedReferences": [
{
"id": "<string>",
"type": "web",
"created_at": 123,
"updated_at": 123,
"url": "<string>",
"title": "<string>",
"normalized_url": "<string>",
"user_id": "<string>",
"external_id": "<string>",
"tag_ids": [
"<string>"
],
"reference_content_ids": [
"<string>"
],
"canonical_url": "<string>",
"favicon_url": "<string>",
"description": "<string>",
"keywords": "<string>",
"author": "<string>",
"date": "<string>",
"html": "<string>",
"full_text": "<string>"
}
],
"user_id": "<string>",
"external_id": "<string>",
"tag_ids": [
"<string>"
],
"reference_content_ids": [
"<string>"
],
"canonical_url": "<string>",
"favicon_url": "<string>",
"description": "<string>",
"keywords": "<string>",
"author": "<string>",
"date": "<string>",
"html": "<string>",
"full_text": "<string>",
"text": "<string>"
}
]
}
],
"extraEntities": [
{
"id": "<string>",
"type": "web",
"created_at": 123,
"updated_at": 123,
"url": "<string>",
"title": "<string>",
"normalized_url": "<string>",
"user_id": "<string>",
"external_id": "<string>",
"tag_ids": [
"<string>"
],
"reference_content_ids": [
"<string>"
],
"canonical_url": "<string>",
"favicon_url": "<string>",
"description": "<string>",
"keywords": "<string>",
"author": "<string>",
"date": "<string>",
"html": "<string>",
"full_text": "<string>"
}
],
"referencesByResultId": {},
"referencedEntities": [
{
"id": "<string>",
"type": "web",
"created_at": 123,
"updated_at": 123,
"url": "<string>",
"title": "<string>",
"normalized_url": "<string>",
"user_id": "<string>",
"external_id": "<string>",
"tag_ids": [
"<string>"
],
"reference_content_ids": [
"<string>"
],
"canonical_url": "<string>",
"favicon_url": "<string>",
"description": "<string>",
"keywords": "<string>",
"author": "<string>",
"date": "<string>",
"html": "<string>",
"full_text": "<string>"
}
],
"referencedTags": [
{
"id": "<string>",
"name": "<string>",
"created_at": 123,
"updated_at": 123
}
],
"meta": {
"offset": 123,
"limit": 123,
"returnedCount": 123,
"rerankApplied": true,
"usageMicrosCharged": 123,
"remainingUsageBalance": {
"usageBalancePaygMicros": 123,
"usageBalanceSubscriptionMicros": 123,
"total": 123
}
},
"error": "<string>"
}{
"error": "Unauthorized"
}{
"error": "Internal server error",
"message": "<string>"
}Search inside a saved view
Runs a full Memex search constrained to the content matched by a saved view. Use viewId for an authenticated accessible view, or token for a public shared view token. This endpoint returns the full/raw search shape; use POST /search with viewIds when you need the LLM-ready compact response.
curl --request POST \
--url https://memex.garden/api/execute-view-search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"viewId": "view_123",
"query": "vector database benchmarks",
"limit": 10,
"enableRerank": true
}
'{
"results": [
{
"id": "<string>",
"type": "web",
"created_at": 123,
"updated_at": 123,
"url": "<string>",
"title": "<string>",
"normalized_url": "<string>",
"user_id": "<string>",
"external_id": "<string>",
"tag_ids": [
"<string>"
],
"reference_content_ids": [
"<string>"
],
"canonical_url": "<string>",
"favicon_url": "<string>",
"description": "<string>",
"keywords": "<string>",
"author": "<string>",
"date": "<string>",
"html": "<string>",
"full_text": "<string>",
"annotations": [
{
"id": "<string>",
"type": "web",
"created_at": 123,
"updated_at": 123,
"url": "<string>",
"title": "<string>",
"normalized_url": "<string>",
"resolvedReferences": [
{
"id": "<string>",
"type": "web",
"created_at": 123,
"updated_at": 123,
"url": "<string>",
"title": "<string>",
"normalized_url": "<string>",
"user_id": "<string>",
"external_id": "<string>",
"tag_ids": [
"<string>"
],
"reference_content_ids": [
"<string>"
],
"canonical_url": "<string>",
"favicon_url": "<string>",
"description": "<string>",
"keywords": "<string>",
"author": "<string>",
"date": "<string>",
"html": "<string>",
"full_text": "<string>"
}
],
"user_id": "<string>",
"external_id": "<string>",
"tag_ids": [
"<string>"
],
"reference_content_ids": [
"<string>"
],
"canonical_url": "<string>",
"favicon_url": "<string>",
"description": "<string>",
"keywords": "<string>",
"author": "<string>",
"date": "<string>",
"html": "<string>",
"full_text": "<string>",
"text": "<string>"
}
]
}
],
"extraEntities": [
{
"id": "<string>",
"type": "web",
"created_at": 123,
"updated_at": 123,
"url": "<string>",
"title": "<string>",
"normalized_url": "<string>",
"user_id": "<string>",
"external_id": "<string>",
"tag_ids": [
"<string>"
],
"reference_content_ids": [
"<string>"
],
"canonical_url": "<string>",
"favicon_url": "<string>",
"description": "<string>",
"keywords": "<string>",
"author": "<string>",
"date": "<string>",
"html": "<string>",
"full_text": "<string>"
}
],
"referencesByResultId": {},
"referencedEntities": [
{
"id": "<string>",
"type": "web",
"created_at": 123,
"updated_at": 123,
"url": "<string>",
"title": "<string>",
"normalized_url": "<string>",
"user_id": "<string>",
"external_id": "<string>",
"tag_ids": [
"<string>"
],
"reference_content_ids": [
"<string>"
],
"canonical_url": "<string>",
"favicon_url": "<string>",
"description": "<string>",
"keywords": "<string>",
"author": "<string>",
"date": "<string>",
"html": "<string>",
"full_text": "<string>"
}
],
"referencedTags": [
{
"id": "<string>",
"name": "<string>",
"created_at": 123,
"updated_at": 123
}
],
"meta": {
"offset": 123,
"limit": 123,
"returnedCount": 123,
"rerankApplied": true,
"usageMicrosCharged": 123,
"remainingUsageBalance": {
"usageBalancePaygMicros": 123,
"usageBalanceSubscriptionMicros": 123,
"total": 123
}
},
"error": "<string>"
}{
"error": "Unauthorized"
}{
"error": "Internal server error",
"message": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
- Option 1
- Option 2
Saved view ID accessible to the authenticated user.
Public token for a shared view. Can be used without bearer auth when the view is public.
1 <= x <= 100Optional tag IDs to further filter the view. IDs must already belong to the view scope.
Exact persisted content_entity.type value.
web, pdf, youtube, twitter, instagram, tiktok, facebook, linkedin, pinterest, reddit, chatgpt, claude, annotation, image, transcribedMedia, audioRecording, selector, chatThread, twitterProfile, subreddit, youtubeChannel Show child attributes
Show child attributes
date-desc, date-asc x >= 01 <= x <= 500Response
Raw scoped search response
Full machine-readable search response returned when raw is true. Includes search graph fields for programmatic processing.
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.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
Show child attributes
Show child attributes
Union over Memex content entities. API-facing documented variants are web, twitter (tweets), youtube, image, and reddit.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
Show child attributes
Show child attributes
Map of result content ID to referenced content/tag IDs.
Show child attributes
Show child attributes
Union over Memex content entities. API-facing documented variants are web, twitter (tweets), youtube, image, and reddit.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Present when search execution fails.

