Skip to content
searchQuery
search(query: String!, first: Int): SearchResults!

Global search across Sessions' public surfaces, used by the Cmd-K Go menu's contextual results. Today returns matching businesses; the result type will grow over time to surface favorite instructors, activities, and other public entities alongside without breaking the field name. Each list is capped at first (default 5, max 10); matches are case-insensitive substring matches on the entity's primary text columns. Returns empty lists for an empty query.

Arguments

queryString!
firstInt= 5

Returns

SearchResults!

See SearchResults for the full shape.

Try it

Example
Query
query Search($query: String!, $first: Int) {
  search(query: $query, first: $first) {
    __typename
  }
}
Variables
{}
POST https://go.sessions.website/api/graphql
search