WaveHouse Cloud API Keys API
Programmatic API-key management: issue, list, scope to projects, and revoke keys. The raw secret is returned ONCE at creation. Managed from the console (session-only).
Programmatic API-key management: issue, list, scope to projects, and revoke keys. The raw secret is returned ONCE at creation. Managed from the console (session-only).
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/wavehouse-cloud:wavehouse-cloud-api-keys-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. 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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Wavehouse Cloud API Keys API
version: 0.65.0
contact:
name: WaveHouse Cloud
url: https://wavehouse.cloud
license:
name: Proprietary — © Wave RF. All rights reserved.
description: 'Operations tagged api-keys across 2 of this provider''s published API definitions: openapi.json, wavehouse-cloud-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- description: WaveHouse Cloud production API
url: https://api.wavehouse.cloud
tags:
- description: 'Programmatic API-key management: issue, list, scope to projects, and revoke keys. The raw secret is returned ONCE at creation. Managed from the console (session-only).'
name: API Keys
paths:
/v1/orgs/{org_id}/api-keys:
get:
operationId: list-api-keys
parameters:
- description: page size; 0 or absent means 50
explode: false
in: query
name: limit
schema:
description: page size; 0 or absent means 50
format: int64
maximum: 200
minimum: 0
type: integer
- description: next_cursor from the previous page; absent for the first page
explode: false
in: query
name: cursor
schema:
description: next_cursor from the previous page; absent for the first page
type: string
- in: path
name: org_id
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/APIKeyPage'
description: OK
'429':
$ref: '#/components/responses/TooManyRequests'
default:
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ErrorModel'
description: Error
security:
- session: []
- workos_bearer: []
summary: List the org's API keys (owner/admin; prefix and last four characters — never…
tags:
- API Keys
x-whc-access: user
x-whc-effects:
- read
post:
description: 'Issues an API key scoped to this org, bound to either all projects or an explicit project-id allow-list, acting as `role` and optionally narrowed by `limits` (`read-only`: no changes; `no-sql`: no raw SQL; `no-destructive`: no deletes, revokes, hand-overs, payments, or destructive SQL). The secret (`whc_key_…`) is returned ONCE in the response and cannot be retrieved again — store it securely. Present it later as `Authorization: Bearer ` or `X-API-Key: ` to call the customer + engine-proxy surface.'
operationId: create-api-key
parameters:
- description: 'A unique value you choose per logical request (a random UUID). A retry with the same key and the same request within 24 hours returns the first response, marked Idempotency-Replayed: true, instead of acting twice. The same key with a different request is refused with 422; one sent while the first is still running gets 409.'
in: header
name: Idempotency-Key
schema:
description: 'A unique value you choose per logical request (a random UUID). A retry with the same key and the same request within 24 hours returns the first response, marked Idempotency-Replayed: true, instead of acting twice. The same key with a different request is refused with 422; one sent while the first is still running gets 409.'
maxLength: 255
type: string
- in: path
name: org_id
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateAPIKeyInput'
required: true
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/CreateAPIKeyOutput'
description: Created
'429':
$ref: '#/components/responses/TooManyRequests'
default:
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ErrorModel'
description: Error
security:
- session: []
- workos_bearer: []
summary: Issue a programmatic API key for the org (owner/admin; returns the secret ONCE)
tags:
- API Keys
x-whc-access: user
x-whc-effects:
- write
servers:
- description: WaveHouse Cloud production API
url: https://api.wavehouse.cloud
/v1/orgs/{org_id}/api-keys/{key_id}:
delete:
operationId: delete-api-key
parameters:
- in: path
name: org_id
required: true
schema:
type: string
- in: path
name: key_id
required: true
schema:
type: string
responses:
'204':
description: No Content
'429':
$ref: '#/components/responses/TooManyRequests'
default:
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ErrorModel'
description: Error
security:
- session: []
- workos_bearer: []
summary: Revoke an API key (owner/admin; deleted — the next request with it is refused)
tags:
- API Keys
x-whc-access: user
x-whc-effects:
- write
- destructive
patch:
operationId: update-api-key
parameters:
- in: path
name: org_id
required: true
schema:
type: string
- in: path
name: key_id
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateAPIKeyInput'
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/APIKeyView'
description: OK
'429':
$ref: '#/components/responses/TooManyRequests'
default:
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ErrorModel'
description: Error
security:
- session: []
- workos_bearer: []
summary: Update an API key's project binding and limits (owner/admin)
tags:
- API Keys
x-whc-access: user
x-whc-effects:
- write
servers:
- description: WaveHouse Cloud production API
url: https://api.wavehouse.cloud
components:
schemas:
APIKeyView:
additionalProperties: false
properties:
all_projects:
description: true = the key may touch every project in the org
type: boolean
created_at:
format: date-time
type: string
created_by:
description: user id that created the key
pattern: ^[6789bcdfghjkmnpqrtwz]{20}$
type: string
deletes_at:
description: when the key is deleted with its org; set only while the org is scheduled for deletion
format: date-time
type: string
id:
pattern: ^[6789bcdfghjkmnpqrtwz]{20}$
type: string
key_prefix:
description: the key's first 14 characters (whc_key_ + 6), to tell keys apart
type: string
last4:
description: the key's last four characters
type: string
last_used_at:
description: absent until first authenticated use; updated at most once a minute
format: date-time
type: string
leaving_projects:
description: project_ids entries scheduled for deletion
items:
$ref: '#/components/schemas/APIKeyLeavingProjectView'
type: array
limits:
description: what the key may not do even where its role could; empty = only its role applies
items:
enum:
- read-only
- no-sql
- no-destructive
type: string
type: array
name:
type: string
no_projects_at:
description: when the key is left with no projects; set only when every project it names is being deleted
format: date-time
type: string
project_ids:
description: the project id(s) the key may touch (empty when all_projects)
items:
pattern: ^[6789bcdfghjkmnpqrtwz]{20}$
type: string
type: array
role:
description: org role the key acts as (admin | member)
type: string
required:
- id
- name
- key_prefix
- last4
- all_projects
- project_ids
- role
- limits
- created_by
- created_at
type: object
UpdateAPIKeyInput:
additionalProperties: false
properties:
all_projects:
description: grant the key access to EVERY project in the org; else set project_ids
type: boolean
limits:
description: replacement limit set; omit to keep the current one, [] to clear it
items:
enum:
- read-only
- no-sql
- no-destructive
type: string
type: array
project_ids:
description: replacement project-id allow-list; required unless all_projects=true or only limits change
items:
type: string
type: array
type: object
CreateAPIKeyInput:
additionalProperties: false
properties:
all_projects:
description: grant the key access to EVERY project in the org; else set project_ids
type: boolean
limits:
description: 'narrow the key below its role: read-only (no changes), no-sql (no raw SQL), no-destructive (no deletes, revokes, hand-overs, payments, or destructive SQL)'
items:
enum:
- read-only
- no-sql
- no-destructive
type: string
type: array
name:
description: human-readable key name
maxLength: 200
minLength: 1
type: string
project_ids:
description: the project id(s) this key may touch; required unless all_projects=true
items:
type: string
type: array
role:
description: org role the key acts as (default admin). member = read-only data surface; admin = full data surface + project mutations. owner is never issuable to a key.
enum:
- admin
- member
type: string
required:
- name
type: object
APIKeyLeavingProjectView:
additionalProperties: false
properties:
leaves_at:
description: 'the project''s destroy_after: when it leaves this key'
format: date-time
type: string
project_id:
pattern: ^[6789bcdfghjkmnpqrtwz]{20}$
type: string
required:
- project_id
- leaves_at
type: object
TooManyRequestsView:
additionalProperties: false
properties:
detail:
description: A human-readable explanation specific to this occurrence of the problem.
examples:
- Property foo is required but is missing.
type: string
errors:
description: Optional list of individual error details
items:
$ref: '#/components/schemas/ErrorDetail'
type: array
instance:
description: A URI reference that identifies the specific occurrence of the problem.
examples:
- https://example.com/error-log/abc123
format: uri
type: string
retry_after:
description: seconds to wait before retrying; the Retry-After header's value
format: int64
type: integer
status:
description: HTTP status code
examples:
- 400
format: int64
type: integer
title:
description: A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
examples:
- Bad Request
type: string
type:
default: about:blank
description: A URI reference to human-readable documentation for the error.
examples:
- https://example.com/errors/example
format: uri
type: string
required:
- retry_after
type: object
APIKeyPage:
additionalProperties: false
properties:
data:
items:
$ref: '#/components/schemas/APIKeyView'
type: array
next_cursor:
description: pass as cursor to fetch the next page; null on the last page
type:
- string
- 'null'
required:
- data
- next_cursor
type: object
ErrorDetail:
additionalProperties: false
properties:
location:
description: Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
type: string
message:
description: Error message text
type: string
value:
description: The value at the given location
type: object
ErrorModel:
additionalProperties: false
properties:
detail:
description: A human-readable explanation specific to this occurrence of the problem.
examples:
- Property foo is required but is missing.
type: string
errors:
description: Optional list of individual error details
items:
$ref: '#/components/schemas/ErrorDetail'
type: array
instance:
description: A URI reference that identifies the specific occurrence of the problem.
examples:
- https://example.com/error-log/abc123
format: uri
type: string
status:
description: HTTP status code
examples:
- 400
format: int64
type: integer
title:
description: A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
examples:
- Bad Request
type: string
type:
default: about:blank
description: A URI reference to human-readable documentation for the error.
examples:
- https://example.com/errors/example
format: uri
type: string
type: object
CreateAPIKeyOutput:
additionalProperties: false
properties:
all_projects:
description: true = the key may touch every project in the org
type: boolean
created_at:
format: date-time
type: string
created_by:
description: user id that created the key
pattern: ^[6789bcdfghjkmnpqrtwz]{20}$
type: string
deletes_at:
description: when the key is deleted with its org; set only while the org is scheduled for deletion
format: date-time
type: string
id:
pattern: ^[6789bcdfghjkmnpqrtwz]{20}$
type: string
key_prefix:
description: the key's first 14 characters (whc_key_ + 6), to tell keys apart
type: string
last4:
description: the key's last four characters
type: string
last_used_at:
description: absent until first authenticated use; updated at most once a minute
format: date-time
type: string
leaving_projects:
description: project_ids entries scheduled for deletion
items:
$ref: '#/components/schemas/APIKeyLeavingProjectView'
type: array
limits:
description: what the key may not do even where its role could; empty = only its role applies
items:
enum:
- read-only
- no-sql
- no-destructive
type: string
type: array
name:
type: string
no_projects_at:
description: when the key is left with no projects; set only when every project it names is being deleted
format: date-time
type: string
project_ids:
description: the project id(s) the key may touch (empty when all_projects)
items:
pattern: ^[6789bcdfghjkmnpqrtwz]{20}$
type: string
type: array
role:
description: org role the key acts as (admin | member)
type: string
secret:
description: the API key — shown ONCE; store it now, it cannot be retrieved again
type: string
required:
- secret
- id
- name
- key_prefix
- last4
- all_projects
- project_ids
- role
- limits
- created_by
- created_at
type: object
responses:
TooManyRequests:
content:
application/problem+json:
schema:
$ref: '#/components/schemas/TooManyRequestsView'
description: Rate limited, per client IP, API key or org; a client IP is also refused on every route for a while after repeated authentication failures. A limited operation carries RateLimit-Policy and RateLimit on every response; wait Retry-After seconds before retrying.
headers:
RateLimit:
description: 'what is left of each: "<class>.<dimension>";r=<remaining requests>;t=<seconds until it is whole>'
schema:
type: string
RateLimit-Policy:
description: 'each quota: "<class>.<dimension>";q=<requests>;w=<window seconds>'
schema:
type: string
Retry-After:
description: seconds to wait before retrying
schema:
type: integer
securitySchemes:
api_key:
description: 'An API key (project-scoped programmatic access). Alternative to Authorization: Bearer.'
in: header
name: X-API-Key
type: apiKey
session:
description: Customer browser session cookie, set by the hosted sign-on flow (GET /v1/auth/login → callback). Used by the web console; programmatic clients use an API key or a bearer JWT instead.
in: cookie
name: whc_session
type: apiKey
workos_bearer:
bearerFormat: access token (JWT) or API key
description: An issued bearer credential (a hosted sign-in access token or an API key). Verified server-side; resolves to the customer's org, role, and (for a key) allowed project scope.
scheme: bearer
type: http
externalDocs:
description: Interactive API reference
url: https://api.wavehouse.cloud/docs
x-refined-from:
- openapi.json
- wavehouse-cloud-openapi.json