Search Apollo docs, specs, and best practices
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Add a comment to a schema proposal, the same action as commenting in GraphOS Studio. With no other options, the comment is a general comment on the proposal. To comment on one change, pass the schema coordinate (for example Query.products) and the subgraph name as schemaScope. To reply, pass the parent comment's ID. Returns the new comment's ID and message, or an error with a message. Provide the graph ID, the proposal variant name and latestRevision.id from GetProposal, and the message.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Add a comment to a schema proposal, the same action as commenting in GraphOS Studio. With no other options, the comment is a general comment on the proposal. To comment on one change, pass the schema coordinate (for example Query.products) and the subgraph name as schemaScope. To reply, pass the parent comment's ID. Returns the new comment's ID and message, or an error with a message. Provide the graph ID, the proposal variant name and latestRevision.id from GetProposal, and the message.
| Argument | Type | Description |
|---|---|---|
| graphId* | string | |
| message* | string | |
| revisionId* | string | |
| schemaScope | any | |
| parentCommentId | any | |
| proposalVariant* | string | |
| schemaCoordinate | any |
{
"type": "object",
"required": [
"graphId",
"proposalVariant",
"revisionId",
"message"
],
"properties": {
"graphId": {
"type": "string"
},
"message": {
"type": "string"
},
"revisionId": {
"type": "string"
},
"schemaScope": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"parentCommentId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"proposalVariant": {
"type": "string"
},
"schemaCoordinate": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}Returns the Apollo Connectors specification for guidance on creating or modifying GraphQL schemas that use @connect or @source.
No arguments.
{
"type": "object",
"properties": {}
}Reads an Apollo documentation page by slug in chunks. Use slugs returned by ApolloDocsSearch.
| Argument | Type | Description |
|---|---|---|
| slug* | string | The slug returned from the ApolloDocsSearch tool |
| chunkIndex* | integer | The character index to start reading from, will return up to the next 10000 characters |
{
"type": "object",
"required": [
"slug",
"chunkIndex"
],
"properties": {
"slug": {
"type": "string",
"description": "The slug returned from the ApolloDocsSearch tool"
},
"chunkIndex": {
"type": "integer",
"description": "The character index to start reading from, will return up to the next 10000 characters"
}
}
}Searches official Apollo documentation for GraphQL, GraphOS, Apollo Router, Apollo Client, MCP Server, schema design, deployment, and Connectors. Returns URLs, slugs, and excerpts.
| Argument | Type | Description |
|---|---|---|
| query* | string | Use terms that would lead to broad result with a maximum of 2 keywords. |
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Use terms that would lead to broad result with a maximum of 2 keywords."
}
}
}Create an API key for an organization. The response contains the new key's value in token. It is a live credential, so give it to the user to store in a secret manager, and do not repeat it, log it, or pass it to another tool. Which key types you can create depends on how you authenticate. With the GraphOS sign-in (OAuth), you can create OPERATOR, SCIM, and GATEWAY keys. SUBGRAPH and VARIANT keys need a personal API key in the x-api-key header. With an operator key in x-api-key, you can create only GATEWAY keys, and a graph key can create none. No credential can create ROUTER keys. OPERATOR, SCIM, and GATEWAY keys also require the Org Admin role. GATEWAY keys are used by Apollo Gateway instances. Choose the narrowest type that does the job, and confirm the type and its resources with the user before you call this tool. Provide the organization ID, the key name, and the type. For a SUBGRAPH key, list each graphId, variantName, and subgraphName in resources.subgraphs. For a VARIANT key, list each graphId and variantName in resources.variants.
| Argument | Type | Description |
|---|---|---|
| name* | string | |
| type* | any | |
| resources | any | |
| organizationId* | string |
{
"type": "object",
"required": [
"organizationId",
"name",
"type"
],
"properties": {
"name": {
"type": "string"
},
"type": {
"$ref": "#/definitions/GraphOsKeyType"
},
"resources": {
"anyOf": [
{
"$ref": "#/definitions/ApiKeyResourceInput"
},
{
"type": "null"
}
]
},
"organizationId": {
"type": "string"
}
},
"definitions": {
"GraphOsKeyType": {
"enum": [
"GATEWAY",
"OPERATOR",
"ROUTER",
"SCIM",
"SUBGRAPH",
"VARIANT"
],
"type": "string",
"description": "\n\nValues:\nGATEWAY: A key used by a Gateway instance\nOPERATOR: \nROUTER: \nSCIM: \nSUBGRAPH: A key with one or more subgraphs as its target resource(s)\nVARIANT: A key with one or more variants as its target resource(s)"
},
"ApiKeyResourceInput": {
"type": "object",
"properties": {
"gateways": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/GatewayIdentifierInput"
}
},
{
"type": "null"
}
],
"description": "One or more gateways that a key has access to"
},
"variants": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/GraphVariantIdentifierInput"
}
},
{
"type": "null"
}
],
"description": "One or more variants that a key has access to"
},
"subgraphs": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/SubgraphIdentifierInput"
}
},
{
"type": "null"
}
],
"description": "One or more subgraphs that a key has access to"
}
},
"description": "The target resource(s) that a key has access to"
},
"GatewayIdentifierInput": {
"type": "object",
"required": [
"gatewayId"
],
"properties": {
"graphId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional graph id associated with this gateway key. When omitted, gatewayId is used."
},
"gatewayId": {
"type": "string",
"description": "The gateway id"
}
},
"description": "Details to identify a gateway"
},
"SubgraphIdentifierInput": {
"type": "object",
"required": [
"graphId",
"subgraphName",
"variantName"
],
"properties": {
"graphId": {
"type": "string",
"description": "The graph id"
},
"variantName": {
"type": "string",
"description": "The variant name"
},
"subgraphName": {
"type": "string",
"description": "The subgraph name"
}
},
"description": "Details to identify a subgraph"
},
"GraphVariantIdentifierInput": {
"type": "object",
"required": [
"graphId",
"variantName"
],
"properties": {
"graphId": {
"type": "string",
"description": "The graph id"
},
"variantName": {
"type": "string",
"description": "The variant name"
}
},
"description": "Details to identify a graph variant"
}
}
}Create a schema proposal against a source variant, the same action as Create proposal in GraphOS Studio. GraphOS creates a proposal variant that starts as a copy of the source variant's schema, and the proposal starts in DRAFT. Returns the proposal variant's name and the new proposal's ID and status, or an error with a message. To add schema changes, call PublishProposalRevision next. Provide the graph ID, the title, and the source variant name. Optionally provide a description.
| Argument | Type | Description |
|---|---|---|
| graphId* | string | |
| description | any | |
| displayName* | string | |
| sourceVariant* | string |
{
"type": "object",
"required": [
"graphId",
"displayName",
"sourceVariant"
],
"properties": {
"graphId": {
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"displayName": {
"type": "string"
},
"sourceVariant": {
"type": "string"
}
}
}Delete an API key from an organization, the same write that `rover api-key delete` performs. This cannot be undone, and every client that uses the key stops authenticating. Returns the deleted key's ID. Provide the organization ID and the key ID, which GetApiKeys returns.
| Argument | Type | Description |
|---|---|---|
| keyId* | string | |
| organizationId* | string |
{
"type": "object",
"required": [
"organizationId",
"keyId"
],
"properties": {
"keyId": {
"type": "string"
},
"organizationId": {
"type": "string"
}
}
}Delete a graph, the same write that `rover graph delete` performs. This is a soft delete: the data is not removed permanently and Apollo support can restore the graph. Every variant of the graph stops serving, so confirm the graph ID with the user before you call this. Returns null on success. Provide the graph ID.
| Argument | Type | Description |
|---|---|---|
| graphId* | string |
{
"type": "object",
"required": [
"graphId"
],
"properties": {
"graphId": {
"type": "string"
}
}
}Remove a subgraph from a variant and start composition, the same write that `rover subgraph delete` performs. Returns the composition errors that the removal causes. This deletes the subgraph from the variant and can break the running router. Set dryRun to true first: the response then reports the composition result that the removal would produce, including updatedGateway, and deletes nothing. Provide the graph ID, the variant name, and the subgraph name.
| Argument | Type | Description |
|---|---|---|
| dryRun | any | Do not remove the service, but recompose without it and report any errors. |
| graphId* | string | |
| variant* | string | |
| subgraphName* | string |
{
"type": "object",
"required": [
"graphId",
"variant",
"subgraphName"
],
"properties": {
"dryRun": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": false,
"description": "Do not remove the service, but recompose without it and report any errors."
},
"graphId": {
"type": "string"
},
"variant": {
"type": "string"
},
"subgraphName": {
"type": "string"
}
}
}List the API keys and client-credential pairs of an organization. For each key: its ID, name, type, creation, expiry, last use, revocation time, and the resources it can access. For each client-credential pair (an OAuth client that authenticates with the client credentials grant): its client ID, name, creation time, creator, grant types, scopes, and the resources it can access. Key values and client secrets are never returned. Pass a key's ID to RenameApiKey or DeleteApiKey. Those tools do not work on pairs, so manage pairs in GraphOS Studio or with `rover api-key`. Provide the organization ID, which GetMyIdentity returns. Optionally filter keys by status (ACTIVE by default, or ALL, EXPIRED, REVOKED) and type (OPERATOR, SUBGRAPH, VARIANT, GATEWAY, SCIM). The filters do not apply to pairs. The two lists page separately: page keys with first and after, and pairs with pairsFirst and pairsAfter.
| Argument | Type | Description |
|---|---|---|
| type | any | |
| after | any | |
| first | any | |
| status | any | |
| pairsAfter | any | The cursor to start the page after. |
| pairsFirst | any | The maximum number of clients to return. |
| organizationId* |
Read the outcome of one schema check run: the overall status, and for each task in the run the composition errors, lint diagnostics, schema changes with the client operations they affect, downstream variant results, and custom check violations. Use this after GetSchemaChecks gives you a check ID. Provide the graph ID and the check ID. The affected operations are paged with affectedOperationsLimit and affectedOperationsOffset; the change list is capped by the server, and areChangesTruncated reports when that happened.
| Argument | Type | Description |
|---|---|---|
| checkId* | string | |
| graphId* | string | |
| affectedOperationsLimit | any | The maximum number of affected queries to return. Must be 50 or fewer.#The maximum number of affected queries to return. Must be 50 or fewer.#The maximum number of affected queries to return. Must be 50 or fewer.#The maximum number of affected queries to return. Must be 50 or fewer. |
| affectedOperationsOffset | any | How many items to skip before starting to return results. For example, with `limit: 10` and `offset: 10`, you get items 11–20.#How many items to skip before starting to return results. For example, with `limit: 10` and `offset: 10`, you get items 11–20.#How many items to skip before starting to return results. For example, with `limit: 10` and `offset: 10`, you get items 11–20.#How many items to skip before starting to return results. For example, with `limit: 10` and `offset: 10`, you get items 11–20. |
Traffic broken down by client for a graph over a time window, as compact CSV. Columns: start timestamp, end exclusive timestamp, client name, client version, operation name, request count, request latency p50 ms, request latency p99 ms, request with error count. Answers which clients call a graph, which client versions are still on the wire, and which client drives errors or latency. Clients that do not report `apollographql-client-name`/`-version` come back with empty name and version columns. Ranked by `orderBy` descending: default REQUEST_COUNT (busiest); REQUEST_WITH_ERROR_COUNT for most error-prone, REQUEST_LATENCY_P99_MS for slowest. `variantName` and `operationName` scope to one or more variants or operations by exact name (omit for all). Rows are one per client + version + operation, so a busy graph has far more groups than the other metrics tools: scope by `operationName` or raise `limit` when a breakdown looks truncated. Keep the default `resolution` of ENTIRE_RANGE for totals and top-N, which gives one row per group ranked over the whole window. DAY/HOUR/MINUTE give one row per group per bucket ranked within each bucket, so a window total then needs a per-group sum plus a `limit` big enough to cover every bucket; too small a `limit` silently undercounts. Only HOUR and MINUTE accept a `to` of now, so use them for bursts in the last 24 hours. Avoid MONTH: it labels buckets by calendar month, not by the requested window.
| Argument | Type | Description |
|---|---|---|
| to* | any | The ending timestamp for the report. Must be in the format: 2025-01-01T08:00:00Z (ISO 8601). This timestamp cannot exceed your plan's operation-level data retention as defined in the Apollo GraphQL pricing page (https://www.apollographql.com/pricing). |
| from* | any | The starting timestamp for the report. Must be in the format: 2025-01-01T00:00:00Z (ISO 8601). This timestamp cannot exceed your plan's operation-level data retention as defined in the Apollo GraphQL pricing page (https://www.apollographql.com/pricing). |
Read the filter configuration of a contract variant: the tags it includes, the tags it excludes, the source variant it is built from, and a human-readable description of the configuration. This is the same read that `rover contract describe` performs. A contract variant is a filtered view of another variant's schema, built by including and excluding schema elements by tag. The filter configuration does not include whether unreachable types are hidden. The description states it, so read it there before you update a contract with PublishContract. A variant that is not a contract returns null for the filter configuration. Provide the graph ID and the contract variant name.
| Argument | Type | Description |
|---|---|---|
| graphId* | string | |
| variant* | string |
{
"type": "object",
"required": [
"graphId",
"variant"
],
"properties": {
"graphId": {
"type": "string"
},
"variant": {
"type": "string"
}
}
}Fetch a graph artifact by its digest, the same lookup that `rover graph-artifact fetch --digest` performs. A graph artifact is the build output, such as the composed supergraph schema, that GraphOS Router fetches from Apollo's OCI registry. Returns the artifact's ID, digest, status (GRAPH_ARTIFACT_COMPLETED, GRAPH_ARTIFACT_PENDING, or GRAPH_ARTIFACT_FAILED), build errors, timestamps, variant, the launch that produced it, its registry URI, and the tags assigned to it. To find a digest from a tag name, use GetGraphArtifactTags. Provide the graph ID and the digest.
| Argument | Type | Description |
|---|---|---|
| digest* | string | The digest (SHA) of the graph artifact |
| graphId* | string | The ID of the graph the graph artifact belongs to |
{
"type": "object",
"required": [
"graphId",
"digest"
],
"properties": {
"digest": {
"type": "string",
"description": "The digest (SHA) of the graph artifact"
},
"graphId": {
"type": "string",
"description": "The ID of the graph the graph artifact belongs to"
}
}
}List the graph artifact tags on a graph and the artifact each tag points to: the artifact's ID, digest, status, creation time, and variant. GraphOS Router can fetch an artifact by tag name instead of by digest. It is similar to `rover graph-artifact list-tags`, which filters by artifact digest instead of variant. Use it to find a tag or a digest before you call GetGraphArtifact, TagGraphArtifact, or UntagGraphArtifact. Provide the graph ID. Optionally filter by variant name, and page with first (at most 20) and after.
| Argument | Type | Description |
|---|---|---|
| after | any | The cursor to start pagination after (for forward pagination) |
| first | any | The number of tags to return (for forward pagination), defaults to 10, maximum is 20 |
| graphId* | string | The ID of the graph where the tags reside |
| variant | any | The optional graph variant name, used to filter the results to a single variant |
{
"type": "object",
"required": [
"graphId"
],
"properties": {
"after": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The cursor to start pagination after (for forward pagination)"
},
"first": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": 20,
"description": "The number of tags to return (for forward pagination), defaults to 10, maximum is 20"
},
"graphId": {
"type": "string",
"description": "The ID of the graph where the tags reside"
},
"variant": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The optional graph variant name, used to filter the results to a single variant"
}
}
}Read the schema (SDL) that is currently published to a graph variant, with its hash and publication time. This is the same read that `rover graph fetch` performs. The response holds the whole document and is not truncated. A large federated graph measured over 800,000 characters, roughly 200,000 tokens, which exceeds the context window of most models. Prefer GetSubgraphSchema, which reads one subgraph at a time, and use this tool only when you need the whole API schema. Provide the graph ID and the variant name.
| Argument | Type | Description |
|---|---|---|
| graphId* | string | |
| variant* | string |
{
"type": "object",
"required": [
"graphId",
"variant"
],
"properties": {
"graphId": {
"type": "string"
},
"variant": {
"type": "string"
}
}
}Inspect the most recent launch for a graph variant: status, completion time, subgraph changes, composition errors, and a schema diff summary vs the previous launch (additions/removals/edits/deprecations plus affected operations). Use to assess schema composition health and the impact of recent schema changes. Also returns the latest approved launch for comparison. Provide the graph ID and variant name.
| Argument | Type | Description |
|---|---|---|
| graphId* | string | |
| variant* | string |
{
"type": "object",
"required": [
"graphId",
"variant"
],
"properties": {
"graphId": {
"type": "string"
},
"variant": {
"type": "string"
}
}
}Inspect a single launch by ID for full detail: status, timestamps, which subgraphs changed, composition errors, and the schema diff summary. Use to drill into a specific launch — e.g. a failed or superseded one found via GetLaunchHistory (pass its id here). Provide the graph ID, variant name, and launch ID.
| Argument | Type | Description |
|---|---|---|
| graphId* | string | |
| variant* | string | |
| launchId* | string |
{
"type": "object",
"required": [
"graphId",
"variant",
"launchId"
],
"properties": {
"graphId": {
"type": "string"
},
"variant": {
"type": "string"
},
"launchId": {
"type": "string"
}
}
}Retrieve recent launches for a graph variant (most recent first) to detect deployment instability such as repeated failures or frequent superseded launches. Each entry includes the launch id, status, and timestamps, so you can identify a specific launch and drill into it with GetLaunch. Use to assess deployment stability. Provide the graph ID, variant name, and optionally a limit (default 20 most recent launches, max 100 per page) and an offset to page further back.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| offset | integer | |
| graphId* | string | |
| variant* | string |
{
"type": "object",
"required": [
"graphId",
"variant"
],
"properties": {
"limit": {
"type": "integer",
"default": 20
},
"offset": {
"type": "integer",
"default": 0
},
"graphId": {
"type": "string"
},
"variant": {
"type": "string"
}
}
}Retrieve schema lint violations from a graph's most recent schema checks: each diagnostic's coordinate, severity level, message, rule, and source location, plus error/warning/total/ignored counts. Use to assess schema quality and naming/best-practice violations. Provide the graph ID and optionally a limit (default 5 most recent schema checks).
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| graphId* | string |
{
"type": "object",
"required": [
"graphId"
],
"properties": {
"limit": {
"type": "integer",
"default": 5
},
"graphId": {
"type": "string"
}
}
}Resolve the caller's identity from their API key or OAuth token. Call this FIRST when the user asks about "my graph" but has not provided a graph ID. For a graph/service key, `me` resolves to a Graph: use `id` as the graphId and `variants[].name` as the variant for the graph-scoped health-check tools, so the user does not have to supply either. For a user (personal key or OAuth), `me` resolves to a User instead: there's no single graph, so each org membership's `graphs[].id` / `graphs[].variants[].name` lists the graphId/variant options the graph-scoped tools need, across every org the user belongs to. Also handles service-account keys.
No arguments.
{
"type": "object",
"properties": {}
}Fetch the offline Enterprise license for the organization that owns a graph, the same data that `rover license fetch` returns. The license is a signed JWT that lets GraphOS Router enable Enterprise features while it runs disconnected from GraphOS. Returns null when the organization does not have offline licenses enabled, which requires a request to Apollo. Provide the graph ID.
| Argument | Type | Description |
|---|---|---|
| graphId* | string |
{
"type": "object",
"required": [
"graphId"
],
"properties": {
"graphId": {
"type": "string"
}
}
}Top operations by usage/health for a graph over a time window, as compact CSV. Columns: start timestamp, end exclusive timestamp, operation name, request count, request latency p50 ms, request latency p99 ms, request with error count. Ranked by `orderBy` descending: default REQUEST_COUNT (busiest); REQUEST_WITH_ERROR_COUNT for most error-prone, REQUEST_LATENCY_P99_MS for slowest. `variantName` scopes to one or more variants (omit for all). `clients` scopes to one or more clients; omit `clientVersion` to match every version of that client, and use GetClientMetrics to discover the names a graph sees. Keep the default `resolution` of ENTIRE_RANGE for totals and top-N, which gives one row per operation ranked over the whole window. DAY/HOUR/MINUTE give one row per operation per bucket ranked within each bucket, so a window total then needs a per-operation sum plus a `limit` big enough to cover every bucket; too small a `limit` silently undercounts. Only HOUR and MINUTE accept a `to` of now, so use them for bursts in the last 24 hours. Avoid MONTH: it labels buckets by calendar month, not by the requested window.
| Argument | Type | Description |
|---|---|---|
| to* | any | The ending timestamp for the report. Must be in the format: 2025-01-01T08:00:00Z (ISO 8601). This timestamp cannot exceed your plan's operation-level data retention as defined in the Apollo GraphQL pricing page (https://www.apollographql.com/pricing). |
| from* | any | The starting timestamp for the report. Must be in the format: 2025-01-01T00:00:00Z (ISO 8601). This timestamp cannot exceed your plan's operation-level data retention as defined in the Apollo GraphQL pricing page (https://www.apollographql.com/pricing). |
| limit | any |
Check whether a graph variant has a Persisted Query List (PQL), and return its ID, its name, and its current build (revision and operation count). Pass the ID to PublishPersistedQueries. Use to assess PQL configuration — a production variant with no PQL is a security gap. Provide the graph ID and variant name.
| Argument | Type | Description |
|---|---|---|
| graphId* | string | |
| variant* | string |
{
"type": "object",
"required": [
"graphId",
"variant"
],
"properties": {
"graphId": {
"type": "string"
},
"variant": {
"type": "string"
}
}
}Read one schema proposal by its ID: title, description, status, author, the source variant, and the proposal variant with the ID of its latest launch. Also returns the latest revision (its ID, summary, schema check, and launch), every review with its decision and comment, and whether the source variant changed since the proposal was created. The write tools for a proposal take the graph ID and the proposal variant name from this response. ReviewProposal and AddProposalComment take latestRevision.id, and PublishProposalRevision takes backingVariant.latestLaunch.id as previousLaunchId. Provide the proposal ID, which GetProposals returns.
| Argument | Type | Description |
|---|---|---|
| proposalId* | string |
{
"type": "object",
"required": [
"proposalId"
],
"properties": {
"proposalId": {
"type": "string"
}
}
}List the schema proposals on a graph: each proposal's ID, title, status (DRAFT, OPEN, APPROVED, IMPLEMENTED, CLOSED), timestamps, author, the source variant it proposes changes to, and the proposal variant that holds its changes, plus the total count for the filter. A schema proposal is a reviewable set of schema changes that GraphOS stores on its own variant. Pass a proposal's id to GetProposal for its revisions and reviews. Provide the graph ID. Optionally filter by status, source variant names, or subgraph names, and page with limit and offset.
| Argument | Type | Description |
|---|---|---|
| limit | any | |
| offset | any | |
| status | any | |
| graphId* | string | |
| subgraphs | any | |
| sourceVariants | any |
{
"type": "object",
"required": [
"graphId"
],
"properties": {
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": 20
},
"offset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": 0
},
"status": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/ProposalStatus"
}
},
{
"type": "null"
}
]
},
"graphId": {
"type": "string"
},
"subgraphs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"sourceVariants": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"definitions": {
"ProposalStatus": {
"enum": [
"APPROVED",
"CLOSED",
"DRAFT",
"IMPLEMENTED",
"OPEN"
],
"type": "string",
"description": "\n\nValues:\nAPPROVED: \nCLOSED: \nDRAFT: \nIMPLEMENTED: \nOPEN: "
}
}
}Read the README of a graph variant, with the time it was last updated and who updated it. This is the same read that `rover readme fetch` performs. The README is the Markdown document shown on the variant's page in GraphOS Studio. Provide the graph ID and the variant name.
| Argument | Type | Description |
|---|---|---|
| graphId* | string | |
| variant* | string |
{
"type": "object",
"required": [
"graphId",
"variant"
],
"properties": {
"graphId": {
"type": "string"
},
"variant": {
"type": "string"
}
}
}List past schema checks for a graph: each check's ID, status, timestamps, the subgraph it checked, the variant it ran against, the commit, and the status of each task in the check, plus the total count for the filter. Use this to find a check, then pass its ID to GetCheckResults for failure details. Provide the graph ID. Optionally filter by status (PASSED, FAILED, PENDING), subgraph names, branches, variants, authors, or check IDs, and page with limit and offset.
| Argument | Type | Description |
|---|---|---|
| ids | any | |
| limit | any | |
| offset | any | |
| status | any | |
| authors | any | |
| graphId* | string | |
| branches | any | |
| variants | any | |
| subgraphs | any |
Top subgraphs/connectors by traffic/health for a graph over a time window, as compact CSV. Columns: start timestamp, end exclusive timestamp, fetch service name, fetch count, fetch latency p50 ms, fetch latency p99 ms, fetch with errors count. Ranked by `orderBy` descending: default FETCH_COUNT (busiest); FETCH_WITH_ERRORS_COUNT for most error-prone, FETCH_LATENCY_P99_MS for slowest. `variantName` scopes to one or more variants (omit for all). `subgraphName` scopes to one or more subgraphs by exact name (omit for all); pattern/substring matching is not supported. `clients` scopes to the fetches driven by one or more clients; omit `clientVersion` to match every version of that client, and use GetClientMetrics to discover the names a graph sees. Keep the default `resolution` of ENTIRE_RANGE for totals and top-N, which gives one row per subgraph ranked over the whole window. DAY/HOUR/MINUTE give one row per subgraph per bucket ranked within each bucket, so a window total then needs a per-subgraph sum plus a `limit` big enough to cover every bucket; too small a `limit` silently undercounts. Only HOUR and MINUTE accept a `to` of now, so use them for bursts in the last 24 hours. Avoid MONTH: it labels buckets by calendar month, not by the requested window.
| Argument | Type | Description |
|---|---|---|
| to* | any | The ending timestamp for the report. Must be in the format: 2025-01-01T08:00:00Z (ISO 8601). This timestamp cannot exceed your plan's field-level data retention as defined in the Apollo GraphQL pricing page (https://www.apollographql.com/pricing). |
| from* | any | The starting timestamp for the report. Must be in the format: 2025-01-01T00:00:00Z (ISO 8601). This timestamp cannot exceed your plan's field-level data retention as defined in the Apollo GraphQL pricing page (https://www.apollographql.com/pricing). |
Read one subgraph's published schema (SDL) from a variant, with its routing URL, revision, and last update time. This is the same read that `rover subgraph fetch` performs. Read one subgraph at a time: a whole supergraph document is much larger and can pass the token limit of the model. Provide the graph ID, the variant name, and the subgraph name. Use GetVariantDetails first if you do not know the subgraph names.
| Argument | Type | Description |
|---|---|---|
| graphId* | string | |
| variant* | string | |
| subgraphName* | string |
{
"type": "object",
"required": [
"graphId",
"variant",
"subgraphName"
],
"properties": {
"graphId": {
"type": "string"
},
"variant": {
"type": "string"
},
"subgraphName": {
"type": "string"
}
}
}Read the composed supergraph schema (SDL) for a graph variant, with the composition ID and any composition errors. This is the same read that `rover supergraph fetch` performs. A supergraph schema is the single schema that composition builds from every subgraph, and it carries federation directives that the API schema does not. The response holds the whole document and is not truncated, and a supergraph schema is larger than the API schema it produces. Expect the same order of size: a large federated graph exceeds 800,000 characters, roughly 200,000 tokens. A variant that is not federated has no composition result, and the tool returns null for it rather than an empty document. Provide the graph ID and the variant name.
| Argument | Type | Description |
|---|---|---|
| graphId* | string | |
| variant* | string |
{
"type": "object",
"required": [
"graphId",
"variant"
],
"properties": {
"graphId": {
"type": "string"
},
"variant": {
"type": "string"
}
}
}Identify the most-used operations on a graph variant for a time range, with request counts, types, and signatures. Use to find high-traffic operations, detect unused operations, and prioritize findings by traffic impact. Provide graph ID, variant, and a from/to time range (ISO 8601 timestamps; `to` must be at least 6 hours before now), plus an optional limit (default 50). This report is rate limited.
| Argument | Type | Description |
|---|---|---|
| to* | any | The ending timestamp for the report. - Must be in the format: 2025-01-01T08:00:00Z (ISO 8601). - Must be at least 6 hours from the current time. - The duration between 'from' and 'to' must not exceed 31 days. |
| from* | any | The starting timestamp for the report. - Must be in the format: 2025-01-01T00:00:00Z (ISO 8601). - Must be within the last 549 days. - The duration between 'from' and 'to' must not exceed 31 days. |
| limit | integer | Maximum number of records to return (default: 10) |
| graphId* | string | |
| variant* | string |
{
"type": "object",
"required": [
"graphId",
"variant",
"from",
"to"
],
"properties": {
"to": {
"$ref": "#/definitions/Timestamp",
"description": "The ending timestamp for the report.\n\n- Must be in the format: 2025-01-01T08:00:00Z (ISO 8601).\n- Must be at least 6 hours from the current time.\n - The duration between 'from' and 'to' must not exceed 31 days."
},
"from": {
"$ref": "#/definitions/Timestamp",
"description": "The starting timestamp for the report.\n\n- Must be in the format: 2025-01-01T00:00:00Z (ISO 8601).\n - Must be within the last 549 days.\n - The duration between 'from' and 'to' must not exceed 31 days."
},
"limit": {
"type": "integer",
"default": 50,
"description": "Maximum number of records to return (default: 10)"
},
"graphId": {
"type": "string"
},
"variant": {
"type": "string"
}
},
"definitions": {
"Timestamp": {
"description": "ISO 8601, extended format with nanoseconds, Zulu (or \"[+-]seconds\" as a string or number relative to now)"
}
}
}Retrieve metadata for a graph variant: its identifier, federation version, the URL of its GraphQL endpoint, and its subgraph inventory (names only). Use this to assess a variant's composition setup, such as subgraph inventory and federation version compliance. Provide the graph ID and variant name (e.g., "production").
| Argument | Type | Description |
|---|---|---|
| graphId* | string | |
| variant* | string |
{
"type": "object",
"required": [
"graphId",
"variant"
],
"properties": {
"graphId": {
"type": "string"
},
"variant": {
"type": "string"
}
}
}Lint a GraphQL schema document against the 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. This is the same check that `rover graph lint` and `rover subgraph lint` run. Nothing is published and no state changes. Provide the graph ID and the schema as SDL. Optionally provide baseSdl to report only the diagnostics that the new schema introduces against that base.
| Argument | Type | Description |
|---|---|---|
| sdl* | string | The schema to lint. |
| baseSdl | any | The schema to diff rule violations against, if not provided the full set of rule violations will be returned for the proposed sdl. |
| graphId* | string |
{
"type": "object",
"required": [
"graphId",
"sdl"
],
"properties": {
"sdl": {
"type": "string",
"description": "The schema to lint."
},
"baseSdl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The schema to diff rule violations against, if not provided the full set of rule violations will be returned for the proposed sdl."
},
"graphId": {
"type": "string"
}
}
}Create or update a contract variant and start a launch for it, the same write that `rover contract publish` performs. A contract variant is a filtered view of another variant's schema, built by including and excluding schema elements by tag. The filter configuration replaces the previous one in full, so send the complete include and exclude lists rather than only the tags you want to change. The same applies to hideUnreachableTypes, which has no default: when you update a contract, pass the value it has now. GetContractConfig states that value in its description. Returns the contract variant and a link to the launch, or the error messages that stopped it. Provide the graph ID, the contract variant name, the source variant, the include and exclude tag lists, and whether to hide unreachable types.
| Argument | Type | Description |
|---|---|---|
| exclude* | array | |
| graphId* | string | |
| include* | array | |
| sourceVariant | any | The graphRef of the variant the contract will be derived from, e.g. `my-graph@production`. Once set, this value cannot be changed. |
| initiateLaunch | any | Whether a launch and schema publish should be initiated after updating configuration. Defaults to `true`. |
| contractVariant* |
Publish a schema to a graph variant, the same write that `rover graph publish` performs. Use this for a monograph; use PublishSubgraph for one subgraph of a federated graph. Returns a result code, whether the publish succeeded, a human-readable message, and the hash of the published schema. This changes the schema registry and can change what clients see. Run RunSchemaCheck first to see the effect on client operations. Provide the graph ID, the variant name, and the schema as SDL. Optionally provide the git branch and commit to label the publication.
| Argument | Type | Description |
|---|---|---|
| branch | any | |
| commit | any | |
| graphId* | string | |
| variant* | string | |
| schemaDocument* | string |
{
"type": "object",
"required": [
"graphId",
"variant",
"schemaDocument"
],
"properties": {
"branch": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"commit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"graphId": {
"type": "string"
},
"variant": {
"type": "string"
},
"schemaDocument": {
"type": "string"
}
}
}Publish operations to a persisted query list, the same write that `rover persisted-queries publish` performs. A persisted query list is the set of operations a router accepts when it is configured to reject anything else. Operations you do not mention stay in the list unchanged: pass operations to add or replace entries, and remove to drop them. Returns the new revision and the total operation count, or reports that nothing changed. Use GetPersistedQueryListStatus to find the list ID and its current revision. Provide the graph ID and the persisted query list ID.
| Argument | Type | Description |
|---|---|---|
| listId* | string | |
| remove | any | |
| graphId* | string | |
| operations | any | |
| allowOverwrittenOperations | any |
{
"type": "object",
"required": [
"graphId",
"listId"
],
"properties": {
"listId": {
"type": "string"
},
"remove": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/PersistedQueryIdInput"
}
},
{
"type": "null"
}
]
},
"graphId": {
"type": "string"
},
"operations": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/PersistedQueryInput"
}
},
{
"type": "null"
}
]
},
"allowOverwrittenOperations": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"definitions": {
"OperationType": {
"enum": [
"MUTATION",
"QUERY",
"SUBSCRIPTION"
],
"type": "string",
"description": "\n\nValues:\nMUTATION: \nQUERY: \nSUBSCRIPTION: "
},
"GraphQLDocument": {
"type": "string",
"description": "A GraphQL document, such as a schema in SDL syntax."
},
"PersistedQueryInput": {
"type": "object",
"required": [
"body",
"id",
"name",
"type"
],
"properties": {
"id": {
"type": "string",
"description": "An opaque identifier for this operation. This should map uniquely to an operation body; editing the body should generally result in a new ID. Apollo's tools generally use the lowercase hex SHA256 of the operation body."
},
"body": {
"$ref": "#/definitions/GraphQLDocument",
"description": "The GraphQL document for this operation, including all necessary fragment definitions."
},
"name": {
"type": "string",
"description": "A name for the operation. Typically this is the name of the actual GraphQL operation in the body. This does not need to be unique within a Persisted Query List; as a client project evolves and its operations change, multiple operations with the same name (but different body and id) can be published."
},
"type": {
"$ref": "#/definitions/OperationType",
"description": "The operation's type."
},
"clientName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "An optional client name to associate with the operation. Two operations with the same ID but different client names are treated as distinct operations."
}
},
"description": "Operations to be published to the Persisted Query List."
},
"PersistedQueryIdInput": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "An opaque identifier for this operation. For a given client name, this should map uniquely to an operation body; editing the body should generally result in a new ID. Apollo's tools generally use the lowercase hex SHA256 of the operation body."
},
"clientName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "An optional client name to associate with the operation. Two operations with the same ID but different client names are treated as distinct operations. An operation with the same ID and a null client name is treated as a distinct operation as well."
}
},
"description": "Full identifier for an operation in a Persisted Query List."
}
}
}Save a new revision of a schema proposal by publishing changed subgraph schemas to its proposal variant, the same action as Save revision in GraphOS Studio. GraphOS composes the proposal variant, records the diff against the source variant, and runs schema checks on it. The source variant does not change. Send only the subgraphs that change, each with its full SDL. previousLaunchId must be the proposal variant's latest launch ID from GetProposal. If someone saved a revision since, the call fails, so read the proposal again before you retry. GraphOS saves the revision even when the schema does not compose, so this call succeeding does not mean the change is valid. Call GetProposal after the check finishes: latestRevision.checkWorkflow.status and latestRevision.launch.status show the result, and GetCheckResults takes the check ID for the details. Returns the proposal's new latest revision, or an error with a message. Provide the graph ID, the proposal variant name, previousLaunchId, a unique revision label, a summary of the change, and the subgraphs.
| Argument | Type | Description |
|---|---|---|
| graphId* | string | |
| summary* | string | |
| revision* | string | |
| subgraphs* | array | |
| gitContext | any | |
Replace the README of a graph variant, the same write that `rover readme publish` performs. The README is the Markdown document shown on the variant's page in GraphOS Studio. The new text replaces the whole README, so read the current one with GetReadme first if you intend to keep any of it. Provide the graph ID, the variant name, and the full README text.
| Argument | Type | Description |
|---|---|---|
| readme* | string | The full new text of the README, as a Markdown-formatted string. |
| graphId* | string | |
| variant* | string |
{
"type": "object",
"required": [
"graphId",
"variant",
"readme"
],
"properties": {
"readme": {
"type": "string",
"description": "The full new text of the README, as a Markdown-formatted string."
},
"graphId": {
"type": "string"
},
"variant": {
"type": "string"
}
}
}Publish a subgraph schema to a variant and start composition, the same write that `rover subgraph publish` performs. Returns whether the subgraph was created or updated, any composition errors, and the launch that started. This changes the schema registry and can change what the router serves. Run RunSubgraphCheck first to see the effect on client operations. Provide the graph ID, the variant name, the subgraph name, and the schema as SDL. Provide the routing URL when you add a subgraph or move its endpoint. Optionally provide a revision label and the git branch and commit.
| Argument | Type | Description |
|---|---|---|
| sdl* | string | |
| url | any | |
| branch | any | |
| commit | any | |
| graphId* | string | |
| variant* | string | |
| revision | any | |
| subgraphName* | string |
Rename an API key in an organization, the same write that `rover api-key rename` performs. The key value and its access do not change. Returns the key's ID and new name. Provide the organization ID, the key ID, which GetApiKeys returns, and the new name.
| Argument | Type | Description |
|---|---|---|
| name* | string | |
| keyId* | string | |
| organizationId* | string |
{
"type": "object",
"required": [
"organizationId",
"keyId",
"name"
],
"properties": {
"name": {
"type": "string"
},
"keyId": {
"type": "string"
},
"organizationId": {
"type": "string"
}
}
}Approve or reject a revision of a schema proposal, with an optional comment, the same action as Review in GraphOS Studio. Only a requested reviewer can review, and calling this again replaces the caller's earlier review. Returns the proposal's status and its reviews, or an error with a message. Provide the graph ID, the proposal variant name and latestRevision.id from GetProposal, and the decision (APPROVED or NOT_APPROVED).
| Argument | Type | Description |
|---|---|---|
| comment | any | |
| graphId* | string | |
| decision* | any | |
| revisionId* | string | |
| proposalVariant* | string |
{
"type": "object",
"required": [
"graphId",
"proposalVariant",
"revisionId",
"decision"
],
"properties": {
"comment": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"graphId": {
"type": "string"
},
"decision": {
"$ref": "#/definitions/ReviewDecision"
},
"revisionId": {
"type": "string"
},
"proposalVariant": {
"type": "string"
}
},
"definitions": {
"ReviewDecision": {
"enum": [
"APPROVED",
"NOT_APPROVED"
],
"type": "string",
"description": "\n\nValues:\nAPPROVED: \nNOT_APPROVED: "
}
}
}Start a schema check of a proposed schema against a variant, the same check that `rover graph check` starts. Use this for a monograph or for a whole supergraph schema; use RunSubgraphCheck for one subgraph. The check runs in the background, so this returns a workflow ID and a Studio URL, not a result. Pass the returned workflowID to GetCheckResults to read the outcome. Provide the graph ID, the variant name, and the proposed schema as SDL. Optionally provide the git branch and commit to label the run in Studio.
| Argument | Type | Description |
|---|---|---|
| branch | any | |
| commit | any | |
| graphId* | string | |
| variant* | string | |
| proposedSchema* | string |
{
"type": "object",
"required": [
"graphId",
"variant",
"proposedSchema"
],
"properties": {
"branch": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"commit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"graphId": {
"type": "string"
},
"variant": {
"type": "string"
},
"proposedSchema": {
"type": "string"
}
}
}Start a schema check of one proposed subgraph schema against a variant, the same check that `rover subgraph check` starts. The check runs in the background, so this returns a workflow ID and a Studio URL, not a result. Pass the returned workflowID to GetCheckResults to read the outcome. Provide the graph ID, the variant name, the subgraph name, and the proposed subgraph schema as SDL. Optionally provide the git branch and commit to label the run in Studio.
| Argument | Type | Description |
|---|---|---|
| branch | any | |
| commit | any | |
| graphId* | string | |
| variant* | string | |
| subgraphName* | string | |
| proposedSchema* | any |
{
"type": "object",
"required": [
"graphId",
"variant",
"subgraphName",
"proposedSchema"
],
"properties": {
"branch": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"commit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"graphId": {
"type": "string"
},
"variant": {
"type": "string"
},
"subgraphName": {
"type": "string"
},
"proposedSchema": {
"$ref": "#/definitions/GraphQLDocument"
}
},
"definitions": {
"GraphQLDocument": {
"type": "string",
"description": "A GraphQL document, such as a schema in SDL syntax."
}
}
}Assign a tag to a graph artifact, the same write that `rover graph-artifact tag` performs. If the tag does not exist, it is created. If it exists, it moves to this artifact, and any router that fetches by that tag receives the new artifact. Returns the artifact's ID and digest, or an error with a message. Provide the graph ID, the tag name, and the artifact digest.
| Argument | Type | Description |
|---|---|---|
| tag* | string | |
| digest* | string | |
| graphId* | string |
{
"type": "object",
"required": [
"graphId",
"tag",
"digest"
],
"properties": {
"tag": {
"type": "string"
},
"digest": {
"type": "string"
},
"graphId": {
"type": "string"
}
}
}Delete a graph artifact tag from a graph, the same write that `rover graph-artifact untag` performs. The tag and its full history are removed, and any router that fetches by that tag can no longer resolve it. The artifact itself stays. Tags that Apollo manages, such as a variant's latest tag, cannot be deleted. Returns the deleted tag name, or an error with a message. Provide the graph ID and the tag name.
| Argument | Type | Description |
|---|---|---|
| tag* | string | |
| graphId* | string |
{
"type": "object",
"required": [
"graphId",
"tag"
],
"properties": {
"tag": {
"type": "string"
},
"graphId": {
"type": "string"
}
}
}Change the status of a schema proposal, the same action as the status menu in GraphOS Studio. DRAFT is for work in progress, OPEN asks reviewers to review, and CLOSED abandons the proposal. GraphOS accepts APPROVED only when the proposal has as many approvals as the graph requires, and it never accepts IMPLEMENTED from this tool. Both return a ValidationError that names the rule. Returns the proposal's ID and new status. Provide the graph ID, the proposal variant name from GetProposal, and the new status.
| Argument | Type | Description |
|---|---|---|
| status* | any | |
| graphId* | string | |
| proposalVariant* | string |
{
"type": "object",
"required": [
"graphId",
"proposalVariant",
"status"
],
"properties": {
"status": {
"$ref": "#/definitions/ProposalStatus"
},
"graphId": {
"type": "string"
},
"proposalVariant": {
"type": "string"
}
},
"definitions": {
"ProposalStatus": {
"enum": [
"APPROVED",
"CLOSED",
"DRAFT",
"IMPLEMENTED",
"OPEN"
],
"type": "string",
"description": "\n\nValues:\nAPPROVED: \nCLOSED: \nDRAFT: \nIMPLEMENTED: \nOPEN: "
}
}
}Validate client GraphQL operations against a variant's published schema and return each problem's type (FAILURE, WARNING, INVALID), code, description, and the name of the operation it came from. This is the same check that `rover client check` runs. Nothing is published and no state changes. Provide the graph ID and the operations, each one a body and an optional name. Optionally name the variant to validate against; the default is "current".
| Argument | Type | Description |
|---|---|---|
| graphId* | string | |
| variant | any | |
| operations* | array |
{
"type": "object",
"required": [
"graphId",
"operations"
],
"properties": {
"graphId": {
"type": "string"
},
"variant": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "current"
},
"operations": {
"type": "array",
"items": {
"$ref": "#/definitions/OperationDocumentInput"
}
}
},
"definitions": {
"OperationDocumentInput": {
"type": "object",
"required": [
"body"
],
"properties": {
"body": {
"type": "string",
"description": "Operation document body"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Operation name"
}
}
}
}
}| string |
{
"type": "object",
"required": [
"organizationId"
],
"properties": {
"type": {
"anyOf": [
{
"$ref": "#/definitions/ApiKeyTypeFilter"
},
{
"type": "null"
}
]
},
"after": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"first": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": 50
},
"status": {
"anyOf": [
{
"$ref": "#/definitions/ApiKeyStatusFilter"
},
{
"type": "null"
}
]
},
"pairsAfter": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The cursor to start the page after."
},
"pairsFirst": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": 50,
"description": "The maximum number of clients to return."
},
"organizationId": {
"type": "string"
}
},
"definitions": {
"ApiKeyTypeFilter": {
"enum": [
"GATEWAY",
"OPERATOR",
"SCIM",
"SUBGRAPH",
"VARIANT"
],
"type": "string",
"description": "Filter API keys by their type\n\nValues:\nGATEWAY: Filter for Gateway keys\nOPERATOR: Filter for Operator keys\nSCIM: Filter for SCIM keys\nSUBGRAPH: Filter for Subgraph keys\nVARIANT: Filter for Variant keys"
},
"ApiKeyStatusFilter": {
"enum": [
"ACTIVE",
"ALL",
"EXPIRED",
"REVOKED"
],
"type": "string",
"description": "Filter API keys by their status\n\nValues:\nACTIVE: Only return active keys that are active, not revoked, expired, or deleted\nALL: Filter for all non-deleted keys\nEXPIRED: Only return expired keys that are not deleted\nREVOKED: Only return revoked keys that are not deleted"
}
}
}{
"type": "object",
"required": [
"graphId",
"checkId"
],
"properties": {
"checkId": {
"type": "string"
},
"graphId": {
"type": "string"
},
"affectedOperationsLimit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": 20,
"description": "The maximum number of affected queries to return. Must be 50 or fewer.#The maximum number of affected queries to return. Must be 50 or fewer.#The maximum number of affected queries to return. Must be 50 or fewer.#The maximum number of affected queries to return. Must be 50 or fewer."
},
"affectedOperationsOffset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": 0,
"description": "How many items to skip before starting to return results.\nFor example, with `limit: 10` and `offset: 10`, you get items 11–20.#How many items to skip before starting to return results.\nFor example, with `limit: 10` and `offset: 10`, you get items 11–20.#How many items to skip before starting to return results.\nFor example, with `limit: 10` and `offset: 10`, you get items 11–20.#How many items to skip before starting to return results.\nFor example, with `limit: 10` and `offset: 10`, you get items 11–20."
}
}
}| limit | any | Maximum number of records to return (default: 100, max 10000). |
| graphId* | string |
| orderBy | any |
| resolution | any | The resolution of the time groups for the report. This resolution will affect the range of times that can be used for the 'from' and 'to' timestamps: - For the MINUTE resolution, the total time between 'from' and 'to' must be no more than 1 day, and the 'from' time must be no earlier than 30 days ago. - For the HOUR resolution, the total time between 'from' and 'to' must be no more than 7 days, and the 'from' time must be no earlier than 90 days ago. - For the DAY, MONTH, and ENTIRE_RANGE resolutions, the 'from' time must be no earlier than 549 days ago (approx 18 months), and the 'to' time must be no later than 1 day ago. - These time ranges are further constrained by your plan's operation-level data retention as defined in the Apollo GraphQL pricing page (https://www.apollographql.com/pricing). If these criteria are not met, this will return a REQUEST_INVALID error. |
| variantName | any |
| operationName | any |
{
"type": "object",
"required": [
"graphId",
"from",
"to"
],
"properties": {
"to": {
"$ref": "#/definitions/Timestamp",
"description": "The ending timestamp for the report. Must be in the format: 2025-01-01T08:00:00Z (ISO 8601). This timestamp cannot exceed your plan's operation-level data retention as defined in the Apollo GraphQL pricing page (https://www.apollographql.com/pricing)."
},
"from": {
"$ref": "#/definitions/Timestamp",
"description": "The starting timestamp for the report. Must be in the format: 2025-01-01T00:00:00Z (ISO 8601). This timestamp cannot exceed your plan's operation-level data retention as defined in the Apollo GraphQL pricing page (https://www.apollographql.com/pricing)."
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": 50,
"description": "Maximum number of records to return (default: 100, max 10000)."
},
"graphId": {
"type": "string"
},
"orderBy": {
"anyOf": [
{
"$ref": "#/definitions/OperationInsightsTimeseriesReportMetric"
},
{
"type": "null"
}
],
"default": "REQUEST_COUNT"
},
"resolution": {
"anyOf": [
{
"$ref": "#/definitions/TimeseriesReportResolution"
},
{
"type": "null"
}
],
"default": "ENTIRE_RANGE",
"description": "The resolution of the time groups for the report. This resolution will affect the range of times that can be used for the 'from' and\n'to' timestamps:\n- For the MINUTE resolution, the total time between 'from' and 'to' must be no more than 1 day, and the 'from' time must be no earlier than 30 days ago.\n- For the HOUR resolution, the total time between 'from' and 'to' must be no more than 7 days, and the 'from' time must be no earlier than 90 days ago.\n- For the DAY, MONTH, and ENTIRE_RANGE resolutions, the 'from' time must be no earlier than 549 days ago (approx 18 months), and the 'to' time must be no later than 1 day ago.\n- These time ranges are further constrained by your plan's operation-level data retention as defined in the Apollo GraphQL pricing page (https://www.apollographql.com/pricing).\nIf these criteria are not met, this will return a REQUEST_INVALID error."
},
"variantName": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"operationName": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"definitions": {
"Timestamp": {
"description": "ISO 8601, extended format with nanoseconds, Zulu (or \"[+-]seconds\" as a string or number relative to now)"
},
"TimeseriesReportResolution": {
"enum": [
"DAY",
"ENTIRE_RANGE",
"HOUR",
"MINUTE",
"MONTH"
],
"type": "string",
"description": "The size of each time bucket in a timeseries report.\n\nValues:\nDAY: One-day buckets.\nENTIRE_RANGE: Single bucket containing the entire time range.\nHOUR: One-hour buckets.\nMINUTE: One-minute buckets.\nMONTH: One-month buckets."
},
"OperationInsightsTimeseriesReportMetric": {
"enum": [
"REQUEST_COUNT",
"REQUEST_LATENCY_P50_MS",
"REQUEST_LATENCY_P90_MS",
"REQUEST_LATENCY_P99_MS",
"REQUEST_WITH_ERROR_COUNT"
],
"type": "string",
"description": "\n\nValues:\nREQUEST_COUNT: \nREQUEST_LATENCY_P50_MS: \nREQUEST_LATENCY_P90_MS: \nREQUEST_LATENCY_P99_MS: \nREQUEST_WITH_ERROR_COUNT: "
}
}
}| Maximum number of records to return (default: 100, max 10000). |
| clients | any |
| graphId* | string |
| orderBy | any |
| resolution | any | The resolution of the time groups for the report. This resolution will affect the range of times that can be used for the 'from' and 'to' timestamps: - For the MINUTE resolution, the total time between 'from' and 'to' must be no more than 1 day, and the 'from' time must be no earlier than 30 days ago. - For the HOUR resolution, the total time between 'from' and 'to' must be no more than 7 days, and the 'from' time must be no earlier than 90 days ago. - For the DAY, MONTH, and ENTIRE_RANGE resolutions, the 'from' time must be no earlier than 549 days ago (approx 18 months), and the 'to' time must be no later than 1 day ago. - These time ranges are further constrained by your plan's operation-level data retention as defined in the Apollo GraphQL pricing page (https://www.apollographql.com/pricing). If these criteria are not met, this will return a REQUEST_INVALID error. |
| variantName | any |
{
"type": "object",
"required": [
"graphId",
"from",
"to"
],
"properties": {
"to": {
"$ref": "#/definitions/Timestamp",
"description": "The ending timestamp for the report. Must be in the format: 2025-01-01T08:00:00Z (ISO 8601). This timestamp cannot exceed your plan's operation-level data retention as defined in the Apollo GraphQL pricing page (https://www.apollographql.com/pricing)."
},
"from": {
"$ref": "#/definitions/Timestamp",
"description": "The starting timestamp for the report. Must be in the format: 2025-01-01T00:00:00Z (ISO 8601). This timestamp cannot exceed your plan's operation-level data retention as defined in the Apollo GraphQL pricing page (https://www.apollographql.com/pricing)."
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": 50,
"description": "Maximum number of records to return (default: 100, max 10000)."
},
"clients": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/definitions/OperationInsightsTimeseriesReportClientFilterInInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"graphId": {
"type": "string"
},
"orderBy": {
"anyOf": [
{
"$ref": "#/definitions/OperationInsightsTimeseriesReportMetric"
},
{
"type": "null"
}
],
"default": "REQUEST_COUNT"
},
"resolution": {
"anyOf": [
{
"$ref": "#/definitions/TimeseriesReportResolution"
},
{
"type": "null"
}
],
"default": "ENTIRE_RANGE",
"description": "The resolution of the time groups for the report. This resolution will affect the range of times that can be used for the 'from' and\n'to' timestamps:\n- For the MINUTE resolution, the total time between 'from' and 'to' must be no more than 1 day, and the 'from' time must be no earlier than 30 days ago.\n- For the HOUR resolution, the total time between 'from' and 'to' must be no more than 7 days, and the 'from' time must be no earlier than 90 days ago.\n- For the DAY, MONTH, and ENTIRE_RANGE resolutions, the 'from' time must be no earlier than 549 days ago (approx 18 months), and the 'to' time must be no later than 1 day ago.\n- These time ranges are further constrained by your plan's operation-level data retention as defined in the Apollo GraphQL pricing page (https://www.apollographql.com/pricing).\nIf these criteria are not met, this will return a REQUEST_INVALID error."
},
"variantName": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"definitions": {
"Timestamp": {
"description": "ISO 8601, extended format with nanoseconds, Zulu (or \"[+-]seconds\" as a string or number relative to now)"
},
"TimeseriesReportResolution": {
"enum": [
"DAY",
"ENTIRE_RANGE",
"HOUR",
"MINUTE",
"MONTH"
],
"type": "string",
"description": "The size of each time bucket in a timeseries report.\n\nValues:\nDAY: One-day buckets.\nENTIRE_RANGE: Single bucket containing the entire time range.\nHOUR: One-hour buckets.\nMINUTE: One-minute buckets.\nMONTH: One-month buckets."
},
"OperationInsightsTimeseriesReportMetric": {
"enum": [
"REQUEST_COUNT",
"REQUEST_LATENCY_P50_MS",
"REQUEST_LATENCY_P90_MS",
"REQUEST_LATENCY_P99_MS",
"REQUEST_WITH_ERROR_COUNT"
],
"type": "string",
"description": "\n\nValues:\nREQUEST_COUNT: \nREQUEST_LATENCY_P50_MS: \nREQUEST_LATENCY_P90_MS: \nREQUEST_LATENCY_P99_MS: \nREQUEST_WITH_ERROR_COUNT: "
},
"OperationInsightsTimeseriesReportClientFilterInInput": {
"type": "object",
"properties": {
"clientName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The client name."
},
"clientVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The client version."
}
},
"description": "The named type and version of the clients to include or exclude in the operation timeseries report."
}
}
}{
"type": "object",
"required": [
"graphId"
],
"properties": {
"ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": 20
},
"offset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": 0
},
"status": {
"anyOf": [
{
"$ref": "#/definitions/CheckFilterInputStatusOption"
},
{
"type": "null"
}
]
},
"authors": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"graphId": {
"type": "string"
},
"branches": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"variants": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"subgraphs": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
},
"definitions": {
"CheckFilterInputStatusOption": {
"enum": [
"FAILED",
"PENDING",
"PASSED"
],
"type": "string",
"description": "Options for filtering CheckWorkflows by status\nThis should always match CheckWorkflowStatus\n\nValues:\nFAILED: \nPENDING: \nPASSED: "
}
}
}| limit |
| any |
| Maximum number of records to return (default: 100, max 10000). |
| clients | any |
| graphId* | string |
| orderBy | any |
| resolution | any | The resolution of the time groups for the report. This resolution will affect the range of times that can be used for the 'from' and 'to' timestamps: - For the MINUTE resolution, the total time between 'from' and 'to' must be no more than 1 day, and the 'from' time must be no earlier than 30 days ago. - For the HOUR resolution, the total time between 'from' and 'to' must be no more than 7 days, and the 'from' time must be no earlier than 90 days ago. - For the DAY, MONTH, and ENTIRE_RANGE resolutions, the 'from' time must be no earlier than 549 days ago (approx 18 months), and the 'to' time must be no later than 1 day ago. - These time ranges are further constrained by your plan's field-level data retention as defined in the Apollo GraphQL pricing page (https://www.apollographql.com/pricing). If these criteria are not met, this will return a REQUEST_INVALID error. |
| variantName | any |
| subgraphName | any |
{
"type": "object",
"required": [
"graphId",
"from",
"to"
],
"properties": {
"to": {
"$ref": "#/definitions/Timestamp",
"description": "The ending timestamp for the report. Must be in the format: 2025-01-01T08:00:00Z (ISO 8601). This timestamp cannot exceed your plan's field-level data retention as defined in the Apollo GraphQL pricing page (https://www.apollographql.com/pricing)."
},
"from": {
"$ref": "#/definitions/Timestamp",
"description": "The starting timestamp for the report. Must be in the format: 2025-01-01T00:00:00Z (ISO 8601). This timestamp cannot exceed your plan's field-level data retention as defined in the Apollo GraphQL pricing page (https://www.apollographql.com/pricing)."
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": 50,
"description": "Maximum number of records to return (default: 100, max 10000)."
},
"clients": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/definitions/SubgraphInsightsTimeseriesReportClientFilterInInput"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"graphId": {
"type": "string"
},
"orderBy": {
"anyOf": [
{
"$ref": "#/definitions/SubgraphInsightsTimeseriesReportMetric"
},
{
"type": "null"
}
],
"default": "FETCH_COUNT"
},
"resolution": {
"anyOf": [
{
"$ref": "#/definitions/TimeseriesReportResolution"
},
{
"type": "null"
}
],
"default": "ENTIRE_RANGE",
"description": "The resolution of the time groups for the report. This resolution will affect the range of times that can be used for the 'from' and\n'to' timestamps:\n- For the MINUTE resolution, the total time between 'from' and 'to' must be no more than 1 day, and the 'from' time must be no earlier than 30 days ago.\n- For the HOUR resolution, the total time between 'from' and 'to' must be no more than 7 days, and the 'from' time must be no earlier than 90 days ago.\n- For the DAY, MONTH, and ENTIRE_RANGE resolutions, the 'from' time must be no earlier than 549 days ago (approx 18 months), and the 'to' time must be no later than 1 day ago.\n- These time ranges are further constrained by your plan's field-level data retention as defined in the Apollo GraphQL pricing page (https://www.apollographql.com/pricing).\nIf these criteria are not met, this will return a REQUEST_INVALID error."
},
"variantName": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
},
"subgraphName": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
{
"type": "null"
}
]
}
},
"definitions": {
"Timestamp": {
"description": "ISO 8601, extended format with nanoseconds, Zulu (or \"[+-]seconds\" as a string or number relative to now)"
},
"TimeseriesReportResolution": {
"enum": [
"DAY",
"ENTIRE_RANGE",
"HOUR",
"MINUTE",
"MONTH"
],
"type": "string",
"description": "The size of each time bucket in a timeseries report.\n\nValues:\nDAY: One-day buckets.\nENTIRE_RANGE: Single bucket containing the entire time range.\nHOUR: One-hour buckets.\nMINUTE: One-minute buckets.\nMONTH: One-month buckets."
},
"SubgraphInsightsTimeseriesReportMetric": {
"enum": [
"FETCH_COUNT",
"FETCH_LATENCY_P50_MS",
"FETCH_LATENCY_P90_MS",
"FETCH_LATENCY_P99_MS",
"FETCH_WITH_ERRORS_COUNT"
],
"type": "string",
"description": "Metrics available for subgraph and connector timeseries fetches, representing aggregated data\ncollected over the given time window for the selected dimensions. Each request from the router to a downstream subgraph\nor connector service is counted as a fetch.\n\nValues:\nFETCH_COUNT: The total number of fetch requests sent from the router to the downstream subgraph or connector service as part of its query plan execution.\nFETCH_LATENCY_P50_MS: The 50th percentile (median) latency of fetches (in milliseconds).\nFETCH_LATENCY_P90_MS: The 90th percentile latency of fetch requests (in milliseconds).\nFETCH_LATENCY_P99_MS: The 99th percentile latency of fetch requests (in milliseconds).\nFETCH_WITH_ERRORS_COUNT: The number of fetch requests that resulted in error responses from the downstream service."
},
"SubgraphInsightsTimeseriesReportClientFilterInInput": {
"type": "object",
"properties": {
"clientName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The client name."
},
"clientVersion": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The client version."
}
},
"description": "The named type and version of the clients to include or exclude in the subgraph and connector timeseries report."
}
}
}| string |
| The name of the contract variant, e.g. `public-api`. Once set, this value cannot be changed. |
| hideUnreachableTypes* | boolean |
{
"type": "object",
"required": [
"graphId",
"contractVariant",
"include",
"exclude",
"hideUnreachableTypes"
],
"properties": {
"exclude": {
"type": "array",
"items": {
"type": "string"
}
},
"graphId": {
"type": "string"
},
"include": {
"type": "array",
"items": {
"type": "string"
}
},
"sourceVariant": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The graphRef of the variant the contract will be derived from, e.g. `my-graph@production`. Once set, this value cannot be changed."
},
"initiateLaunch": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": true,
"description": "Whether a launch and schema publish should be initiated after updating configuration. Defaults to `true`."
},
"contractVariant": {
"type": "string",
"description": "The name of the contract variant, e.g. `public-api`. Once set, this value cannot be changed."
},
"hideUnreachableTypes": {
"type": "boolean"
}
}
}| proposalVariant* |
| string |
| previousLaunchId* | string |
{
"type": "object",
"required": [
"graphId",
"proposalVariant",
"previousLaunchId",
"revision",
"summary",
"subgraphs"
],
"properties": {
"graphId": {
"type": "string"
},
"summary": {
"type": "string"
},
"revision": {
"type": "string"
},
"subgraphs": {
"type": "array",
"items": {
"$ref": "#/definitions/PublishSubgraphsSubgraphInput"
}
},
"gitContext": {
"anyOf": [
{
"$ref": "#/definitions/GitContextInput"
},
{
"type": "null"
}
]
},
"proposalVariant": {
"type": "string"
},
"previousLaunchId": {
"type": "string"
}
},
"definitions": {
"GitContextInput": {
"type": "object",
"properties": {
"branch": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The Git repository branch used in the check."
},
"commit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The ID of the Git commit used in the check."
},
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The commit message of the Git commit used in the check."
},
"committer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The username of the user who created the Git commit used in the check."
},
"remoteUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The Git repository's remote URL."
}
},
"description": "This is stored with a schema when it is uploaded"
},
"PartialSchemaInput": {
"type": "object",
"properties": {
"sdl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Contents of the partial schema in SDL syntax, but may reference types\nthat aren't defined in this document"
},
"hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Hash of the partial schema to associate; error is thrown if only the hash is\nspecified and the hash has not been seen before"
}
},
"description": "Input for registering a partial schema to an implementing service.\nOne of the fields must be specified (validated server-side).\n\nIf a new partialSchemaSDL is passed in, this operation will store it before\ncreating the association.\n\nIf both the sdl and hash are specified, an error will be thrown if the provided\nhash doesn't match our hash of the sdl contents. If the sdl field is specified,\nthe hash does not need to be and will be computed server-side."
},
"PublishSubgraphsSubgraphInput": {
"type": "object",
"required": [
"activePartialSchema",
"name"
],
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"activePartialSchema": {
"$ref": "#/definitions/PartialSchemaInput"
}
}
}
}
}{
"type": "object",
"required": [
"graphId",
"variant",
"subgraphName",
"sdl"
],
"properties": {
"sdl": {
"type": "string"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"branch": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"commit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"graphId": {
"type": "string"
},
"variant": {
"type": "string"
},
"revision": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": ""
},
"subgraphName": {
"type": "string"
}
}
}