API Documentation
Change Log
SUTRA API changes
Version 4.0.0 (Sept. 4, 2024)
- the v1 endpoints are deprecated
sutra-online
is now available as a model choice in /v2/chat/completions- /v2/location can be used to obtain a search location object
- online search can be enabled for the
sutra-light
andsutra-pro
models via the /v2/chat/completions parameter extra_body: { online_search: true } - search location objects can be passed as a /v2/chat/completions parameter via extra_body: { search_location: some-search-location }