The query field, q, is used to query your ledger data. The query field is required in all search request payloads that you send to the search endpoint.

When providing a search term to query, use the query_by to specify what field(s) it should search from. See example below:

The above request will return results where the specified balance_id is in the source field. To query by more fields, use commas to separate the fields you want to search in.

See example below:

To return all documents in the collection without searching for a specific query text, you can use * as the query field’s value.

Request
{
    "q": "*"
}

Need help?

We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool.

To ask questions or discuss issues, please join our Discord community.

Get access to Blnk Cloud.

Manage your Blnk Ledger and explore advanced features (access control & collaboration, anomaly detection, secure storage & file management, etc.) in one dashboard.