Query the JFK, MLK, and RFK files via an API
// text search
await jfk.search.text({
query: "oswald",
});
// or vector search
await jfk.search.vector({
query: "foreign actors",
metadata: { // filter results by document metadata
originator: { operator: "eq", value: "CIA" },
}
});
// or search by metadata
await jfk.search.metadata({
metadata: {
document_date: { operator: "lt", value: "1963-11-22" },
comments: { operator: "contains", value: "TOP SECRET" }
},
offset: 0, // paginate results
limit: 10,
});
- Pay as You Go
- No subscription required. Only pay for what you use.
- Millisecond Speeds
- Experience ultra-fast API responses in just milliseconds.
- Pagination & Filtering
- Advanced support for pagination and filtering to refine your searches.
- TypeScript SDK
- Robust and type-safe SDK for seamless integration into your stack.