--- title: git.sr.ht's GraphQL API toc: false --- **NOTICE**: This is the documentation for git.sr.ht's new GraphQL API. For information on the legacy REST API, see [api.md](api.md). git.sr.ht's GraphQL API is compatible with the standard [SourceHut GraphQL API conventions](/graphql.md). See also: - [git.sr.ht GraphQL playground](https://git.sr.ht/graphql) - [git.sr.ht GraphQL scheme](https://git.sr.ht/~sircmpwn/git.sr.ht/tree/master/item/api/graph/schema.graphqls)