Apollo GraphOS Platform
OverviewQuickstart
APIs and Tools
Schema Management
Explorer IDE
Graph Security
Metrics and Insights
Access Management
Graph Management
Production Readiness
Platform Limits

Tools for Schema Linting

Read a variant's lint results and lint a schema


The tools described in this section give your agent access to your graph's schema linting results, and run a schema lint check.

note
These tools read your organization's data, so they require authentication. For instructions on how to authenticate, refer to the Authentication section.

Get Lint Results

Purpose: Retrieve schema lint violations from a graph's most recent schema checks. Returns each diagnostic's coordinate, severity level, message, rule, and source location, plus error, warning, total, and ignored counts. Use this to assess schema quality and identify naming or best-practice violations.

Example: "Are there any schema lint violations in my graph? Show errors before warnings."

Lint Schema

Purpose: Run a lint check on your schema against your graph's lint rules and return each diagnostic's coordinate, severity level, message, rule, and source location, plus the error, warning, total, and ignored counts. Optionally, you can supply a base schema to report only the diagnostics that the new schema introduces. Nothing is published to the graph.

Example: "Run a lint check on this schema and show me only the new violations."