Search
Search via Typesense
Run full-text search across your ledger data with the TypeScript SDK.
POST
Search via Typesense
Use
blnk.Search.search to search records in a collection.
blnk.Search.search
| Field | Description |
|---|---|
q | Search query text. Use * to return all records. |
query_by | Comma-separated list of fields to search in. |
filter_by | Filter conditions to refine results. |
sort_by | Sort order, for example created_at:desc. |
page | Page number, starting at 1. |
per_page | Results per page. Max 250, defaults to 10. |
collection | Collection to search: ledgers, transactions, balances, or identities. |
Response shape
201 Created
| Field | Description |
|---|---|
found | Number of records matching the query. |
out_of | Total records in the collection. |
page | Current page number. |
search_time_ms | Time taken to run the search, in milliseconds. |
hits | Array of results, each with a document and optional highlights and text_match. |
Related docs
How search works
Query syntax, indexing, and use cases.
Search via Typesense
HTTP request and response schema.