docs-site/content/30.1/api/README.md
This section of the documentation details all the API Endpoints available in Typesense and all the parameters you can use with them.
Use the links on the side navigation bar to get to the appropriate section you're looking for.
To learn how to install and run Typesense, see the Guide section instead.
This release contains new features, enhancements, performance improvements, bug fixes and important API changes for synonyms, curation rules and analytics rules.
facet_by now supports JOINed reference fields. (Docs)include_fields param. (Docs)include_fields parameter. (Docs)cascade_delete: false JOIN parameter for a reference field, to override the default behavior of document being cascade deleted in case all the documents it references are deleted.
Requires async_reference parameter to be true. (Docs)facet_sample_slope search parameter. (Docs)! as a standalone negation operator in filters, allowing field:![value] syntax as an alternative to field:!=[value].truncate parameter in the collection schema. (Docs)group_max_candidates search parameter which overrides the behavior of group_by queries introduced in v29.0 where found value is an approximation. When group_max_candidates is passed, found will be accurate up until its value. (Docs)facet_return_parent fields. (Docs)_eval() expressions when backticks are used to wrap strings containing parentheses.filter_by or analytics_tag metadata to prevent aggregation issues.201 status code when creating conversational models, personalization models, or natural language search models to follow REST conventions.api_key validation for local models.-.symbols_to_index and token_separators configuration.group_by query along with infix search.group_by with text match score bucketing, ensuring stable group pagination.id:![...] negation syntax for id filters.num_dim values to prevent dimension mismatches.highlight_affix_num_tokens for single-token matches._eval() for id fields.drop_tokens_threshold set.synonym_prefix is disabled.auto as its type.max_bytes parameters usage for the OpenAI's o-series and GPT-5 models.temperature parameter for the o-series and GPT-5 models since it is not supported.match also include query, returning 400 otherwise.409 on ID conflicts./stats.json endpoint/collections/{collection}/synonyms to /synonym_sets, API keys scoped to synonyms:* actions will not grant access to the new synonym set endpoints (resulting in 401 Unauthorized). You need to create new API keys using synonym_sets:* actions instead (e.g. synonym_sets:get, synonym_sets:list, synonym_sets:create, synonym_sets:delete). Since there is no update endpoint for API keys, you will need to create new keys and then delete the old ones. The old synonyms:* actions still apply to collection-level synonym endpoints. (Docs)override_tags parameter has also been renamed to curation_tags. (Docs)Before upgrading your existing Typesense cluster to v{{ $page.typesenseVersion }}, please review the behavior changes above to prepare your application for the upgrade.
We'd recommend testing on your development / staging environments before upgrading.
Follow this upgrade guide, depending on your mode of deployment.
:::warning ⚠️ Breaking Changes Please make sure to update your client libraries to the latest version, review the specific documentation links provided above and make any required changes to your code base if you programmatically create these resources using the API, before upgrading to this version. If self-hosting, perform a snapshot before upgrading for the Synonyms & Overrides to be migrated to v30. :::
If you use synonyms, overrides (curation rules) or analytics rules in previous versions of Typesense, we will auto-migrate them to the new resources (Synonym Sets, Curation Sets and the new format for analytics rules) on upgrading. However, if you make any changes to these resources, and then downgrade later, those changes will not be ported back to the old version after downgrade.
Besides the above caveat, you can safely downgrade to any version above v27.
:::tip This documentation itself is open source. If you find any issues, click on the Edit page button at the bottom of the page and send us a Pull Request. :::
<RedirectOldLinks />