Home / Companies / Sanity / Blog / Post Details
Content Deep Dive

Introducing our new GraphQL API

Blog post from Sanity

Post Details
Company
Date Published
Author
Even Westvang
Word Count
713
Language
English
Hacker News Points
-
Summary

Sanity has officially released its GraphQL APIs out of beta, enhancing them with improved filtering and sorting features, including the ability to filter by nested values and use various boolean operators. Users can now deploy tagged versions of their GraphQL endpoints, providing more stability by allowing different endpoints to run different schema subsets. The new APIs address potential conflicts by using an underscore in the DocumentFilter type, ensuring field names do not clash with Sanity’s content backend. Sanity remains committed to supporting both GraphQL and GROQ, with GROQ serving as the primary query language underpinning the GraphQL APIs, emphasizing their complementary roles in providing stable and predictable APIs.