REST API keys
Send an active Superdata key in the authorization header on every REST request:OAuth
Superdata supports authorization-code OAuth with PKCE for compatible public MCP clients. The protected-resource challenge identifies the authorization server and the requiredmcp:use scope. Optional OpenID and offline-access scopes may
be requested by the client.
The authorization flow verifies the token signature, issuer, audience,
expiration, scope, client, and Superdata user before tool execution.
MCP API keys
You can also send an active Superdata key as an MCP bearer token:Accept:
mcp:use scope. The owning account must remain active. A revoked,
malformed, or unknown key receives the same generic authentication failure and
does not consume a credit.
Authentication errors
HTTP401 responses include a WWW-Authenticate challenge. Supported MCP
clients can use that challenge to start OAuth automatically.