#community-help

Accessing All Documents in Typesense Index

TLDR Mojan asked how to extract all documents from a Typesense index; Jason suggested using the export endpoint for this.

Powered by Struct AI
+11
3
3mo
Solved
Join the chat
Jun 30, 2023 (3 months ago)
Mojan
Photo of md5-813f8f14e16940e952eb3fe25d0c4523
Mojan
07:45 PM
Hey guys, how can we get Typesense to show/print all documents in a specific index ?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
07:46 PM
The export endpoint gives you a JSONL output of all the docs in your collection: https://typesense.org/docs/0.24.1/api/documents.html#export-documents
Mojan
Photo of md5-813f8f14e16940e952eb3fe25d0c4523
Mojan
07:51 PM
Thanks, Jason !
+11