sealgate-ai OAuth encryption API
The OAuth encryption API from sealgate-ai — 1 operation(s) for oauth encryption.
The OAuth encryption API from sealgate-ai — 1 operation(s) for oauth encryption.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/sealgate-ai:sealgate-ai-oauth-encryption-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: SealGate OAuth encryption API
description: Open-source MCP security, aggregation, and monitoring. Self-hosted MCP proxy.
version: 0.19.0
tags:
- name: OAuth encryption
paths:
/api/v1/admin/oauth-encryption/status:
get:
tags:
- OAuth encryption
summary: Get Oauth Encryption Status
description: Return durable, redacted encryption status for the caller's own org.
operationId: get_oauth_encryption_status_api_v1_admin_oauth_encryption_status_get
security:
- HTTPBearer: []
parameters:
- name: domain
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Org to view (Super-Owner only, read-only)
title: Domain
description: Org to view (Super-Owner only, read-only)
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/OAuthEncryptionStatusResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
OAuthEncryptionStatusResponse:
properties:
status:
type: string
enum:
- unconfigured
- unprotected
- migration_required
- ready
- locked
- misconfigured
- corrupt
title: Status
severity:
type: string
enum:
- none
- warning
- error
title: Severity
current_key_configured:
type: boolean
title: Current Key Configured
current_key_valid:
type: boolean
title: Current Key Valid
previous_key_configured:
type: boolean
title: Previous Key Configured
previous_key_valid:
type: boolean
title: Previous Key Valid
counts:
$ref: '#/components/schemas/OAuthEncryptionCounts'
available_actions:
items:
type: string
type: array
title: Available Actions
alert_id:
type: string
title: Alert Id
title:
type: string
title: Title
message:
type: string
title: Message
remediation:
type: string
title: Remediation
settings_path:
type: string
title: Settings Path
type: object
required:
- status
- severity
- current_key_configured
- current_key_valid
- previous_key_configured
- previous_key_valid
- counts
- alert_id
- title
- message
- remediation
- settings_path
title: OAuthEncryptionStatusResponse
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
OAuthEncryptionCounts:
properties:
plaintext:
type: integer
title: Plaintext
default: 0
current:
type: integer
title: Current
default: 0
previous:
type: integer
title: Previous
default: 0
unknown:
type: integer
title: Unknown
default: 0
corrupt:
type: integer
title: Corrupt
default: 0
empty:
type: integer
title: Empty
default: 0
type: object
title: OAuthEncryptionCounts
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
ClientBearer:
type: http
description: Opaque ewc_ client installation credential
scheme: bearer
ServiceToken:
type: http
description: 'A SealGate service token: `sgt_acct_...` (account token) or `sgt_org_...` (org token). Mint an account token in the dashboard.'
scheme: bearer
MCPGatewayOAuth:
type: oauth2
description: OAuth 2.1 authorization-code flow (PKCE required) against the SealGate MCP gateway's authorization server. Request only the scopes an agent needs; unrequested scopes are not granted.
flows:
authorizationCode:
authorizationUrl: /oauth/authorize
tokenUrl: /oauth/token
refreshUrl: /oauth/token
scopes:
mcp: Connect to the MCP gateway and call the tools exposed by your enabled servers. Every call is still evaluated by the policy engine.
offline_access: Issue a refresh token so the client can renew access without a new browser sign-in.