Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Glasswarp Platform API Keys API
version: 1.0.0
description: 'Real-time visual access and native input control on Windows machines.
See any screen. Control any PC. One API.
## Authentication
Most `/v1/*` endpoints require a bearer token:
```
Authorization: Bearer gw_live_sk_...
```
Exception: `GET /v1/agent/latest` is public (host auto-update).
API keys are created in the Console.
Keys are scoped to your account and can access any rig with API access enabled.
## Base URL
`https://signal.glasswarp.com`'
contact:
name: Glasswarp
url: https://glasswarp.com
license:
name: Proprietary
servers:
- url: https://signal.glasswarp.com
description: Production
security:
- apiKey: []
tags:
- name: API Keys
paths:
/v1/keys:
get:
operationId: listKeys
summary: List API keys
description: List all active API keys (prefix only — full key is never stored).
tags:
- API Keys
security:
- userJwt: []
responses:
'200':
description: List of keys
content:
application/json:
schema:
type: object
properties:
keys:
type: array
items:
$ref: '#/components/schemas/ApiKey'
post:
operationId: createKey
summary: Create an API key
description: 'Create a new API key. The full key is returned once in the response
and never stored — only a SHA-256 hash is persisted.'
tags:
- API Keys
security:
- userJwt: []
requestBody:
content:
application/json:
schema:
type: object
properties:
name:
type: string
default: Default
environment:
type: string
enum:
- live
- test
default: live
responses:
'201':
description: Key created (full key shown once)
content:
application/json:
schema:
type: object
properties:
key:
$ref: '#/components/schemas/ApiKey'
raw_key:
type: string
example: gw_live_sk_a1b2c3d4e5f6...
warning:
type: string
/v1/keys/{keyId}:
delete:
operationId: revokeKey
summary: Revoke an API key
description: Immediately revoke an API key. Existing sessions are not affected.
tags:
- API Keys
security:
- userJwt: []
parameters:
- name: keyId
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Key revoked
components:
schemas:
ApiKey:
type: object
properties:
id:
type: string
format: uuid
name:
type: string
key_prefix:
type: string
example: gw_live_sk_ab12
environment:
type: string
enum:
- live
- test
scopes:
type: array
items:
type: string
created_at:
type: string
format: date-time
last_used_at:
type: string
format: date-time
nullable: true
securitySchemes:
apiKey:
type: http
scheme: bearer
description: API key in the format `gw_(live|test)_sk_<hex>`
userJwt:
type: http
scheme: bearer
description: Supabase user JWT (for console/dashboard endpoints)