# GraphQL API Assessment

> Assess a GraphQL endpoint: read the schema, check introspection, field authorization, depth and alias limits, errors and logs with single hand written queries.

Canonical: https://codelivly.com/rooms/graphql-api-assessment
Last updated: 2026-11-25

| | |
|---|---|
| Level | Intermediate |
| Category | Cybersecurity |
| Lessons | 6 |
| Estimated time | 3 h 50 min |
| XP | 1108 |

GraphQL puts many kinds of request behind one route, so permission, limits and logging have to work field by field. This room assesses the Ledgerline GraphQL endpoint against its written standard, using the schema file the client shared and saved request and response pairs. You learn how GraphQL differs from REST, how to verify that introspection is off, how to test authorization in resolvers, how to check depth and alias limits with one request each, and how to read errors and logs. The room ends with a result table that separates candidates, secure behaviour and untested areas. Every lesson has a terminal exercise and scenario questions that need judgment.

## Lessons

1. How GraphQL Differs from REST (35 min)
2. Introspection and Schema Reading (35 min)
3. Authorization in Resolvers and Fields (40 min)
4. Depth, Alias and Cost Limits (40 min)
5. Errors, Mutations and Logging (35 min)
6. Guided Lab: Assess the Ledgerline GraphQL Endpoint (45 min)

## Related

- [Learning path: REST and GraphQL API Security Testing](https://codelivly.com/learning-paths/rest-and-graphql-api-security-testing)
- [All rooms](https://codelivly.com/rooms)
