GraphQL
A query language for APIs in which the client asks for exactly the data it wants in one request.
GraphQL is a way of asking an API for data. Instead of a separate address for each kind of thing, there is one, and each request is a query naming exactly the fields it wants; the answer comes back as JSON in the same shape. It was created at Facebook and is now an open specification. A GraphQL reply can report success overall while carrying a list of errors inside it, so a program has to read that list to know whether it really got what it asked for.
See also
- API
- JSON
- HTTP status codes (200, 401, 403, 404)
- AI
- Endpoint (route)
- Environment variable
- Exit code
- Git
Sources
- GraphQL specificationGraphQL Foundationofficial healthy, checked 2026-11-15 archived copy
- GraphQLWikipedia healthy, checked 2026-11-15 archived copy