Skip to content
matchesQuery
matches(first: Int, after: String): MatchConnection!

Matches the viewer has recorded, newest first. Cursor-paginated; default page size 50, clamped to [1, 100]. Sort order is startedAt DESC, id ASC.

Arguments

firstInt= 50
afterString

Returns

MatchConnection!

See MatchConnection for the full shape.

Try it

List the viewer's matches
Cursor-paginated list of matches the viewer has recorded, newest first.
Query
query Matches($first: Int, $after: String) {
  matches(first: $first, after: $after) {
    nodes {
      id
      startedAt
      score {
        us
        them
      }
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
Variables
{
  "first": 5
}
POST https://go.sessions.website/api/graphql
matches