Gridstate

Authenticate API requests

Bearer API keys, scopes, and pinning the dated API contract.

Send an API key in the Authorization header and pin the contract version your application expects.

Send a bearer key

Pass the key as a bearer credential on every protected request:

Authorization: Bearer your_gridstate_api_key_here

Create keys in the Gridstate console. The console displays each secret once.

Keep credentials out of URLs

Store keys in environment variables or a secret manager. Never put a key in a query parameter, committed configuration, log message, or support ticket.

Choose the required scope

Each key has one or more scopes:

ScopeGrants access to
commercial-core:readReleased queue, generation, operations, coverage, and provenance data
sites:read and sites:writeTenant-scoped site records
assessments:read and assessments:writeSite assessments, comparisons, and exports
data:readAcquired evidence and change-monitoring tools outside the commercial core

A valid key without the required scope receives 403 Forbidden.

Pin the API contract

Send the dated contract that your application supports:

Gridstate-Version: 2026-08-24

An unsupported value returns 400 with the unsupported_api_version code. Combine version pinning with point-in-time parameters when you need reproducible historical reads.

Call public operational endpoints

These endpoints do not require a credential:

EndpointPurpose
/v1/healthConfirm that the API process is responding
/v1/readyConfirm that required dependencies are ready
/v1/releaseInspect the active release metadata
/v1/error-codes/{code}Read remediation for a stable error code

Every data, site, assessment, and Model Context Protocol (MCP) request requires authentication.

On this page