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. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Black_Wall Keys API
description: 'Pre-action outcome prediction for AI agents.
Your AI agent has a twin. The twin tries it first.
Black_Wall is a token-metered REST API. Send your agent''s proposed action;
we return a predicted outcome, a 0–100 risk score, a list of red flags,
a reversibility class + rollback cost, and a GO / CAUTION / STOP recommendation
in a few seconds — before the action runs.
Free tier: ~100 forecasts/mo, no credit card. Get a key at https://blackwalltier.com'
version: 1.0.0
contact:
name: Black_Wall Support
email: hello@forecast.dev
url: https://blackwalltier.com
servers:
- url: https://blackwalltier.com/api
description: Production
- url: http://localhost:3000/api
description: Local development
security:
- bearerAuth: []
tags:
- name: Keys
paths:
/v1/keys:
get:
summary: List API keys (prefix only)
operationId: listKeys
responses:
'200':
description: List of keys
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ApiKey'
tags:
- Keys
post:
summary: Create a new API key
operationId: createKey
requestBody:
content:
application/json:
schema:
type: object
properties:
name:
type: string
responses:
'201':
description: 'New key created. **The full key is returned ONCE in this response.**
Store it; it cannot be retrieved again.
'
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ApiKey'
- type: object
properties:
key:
type: string
example: bw_live_a1b2c3d4e5f6...
tags:
- Keys
components:
schemas:
ApiKey:
type: object
properties:
id:
type: string
prefix:
type: string
example: bw_live_
name:
type:
- string
- 'null'
last_used_at:
type:
- string
- 'null'
format: date-time
created_at:
type: string
format: date-time
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: API Key
description: 'Pass your API key as a Bearer token in the Authorization header.
Keys are prefixed `bw_live_` (or `bw_test_` if you''re in test mode).
'