Search Database
https://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name/search
This endpoint performs full text search across an entire database branch. You can filter down to particular table by using the `tables` parameter. The `tables` parameter accepts a mixed array of strings and objects. Using a string (the table name) selects the full table. Using an object allows one to specify a filter as well. The supported filters are the same as documented for the [query endpoint](/docs/api-reference/db/db_branch_name/tables/table_name/query#filtering) with the following exceptions: * filters `$contains`, `$startsWith`, `$endsWith` don't work on columns of type `text` * filtering on columns of type `multiple` is currently unsupported
Expected parameters
Name | Description | In | Required | Schema |
---|---|---|---|---|
db_branch_name | The DBBranchName matches the pattern `{db_name}:{branch_name}`. | path | ✅ | string |
Free Text Search
POSThttps://{your-workspace-slug}.{region}.xata.sh/db/db_branch_name/search
Run a free text search operation across the database branch.