Recognitium Admin API
The Admin API from Recognitium — 18 operation(s) for admin.
The Admin API from Recognitium — 18 operation(s) for admin.
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/recognitium-com:recognitium-com-admin-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: Recognitium Phase 1 API Middleware Admin API
version: 0.1.0
tags:
- name: Admin
paths:
/v1/admin/ivm/moderate:
post:
summary: Moderate
description: 'Remove a signal from the market, or put a held or removed one back.
The receipt is untouched: the chain holds its fingerprint only.'
operationId: moderate_v1_admin_ivm_moderate_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ModerateRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/v1/admin/ivm/suspend:
post:
summary: Suspend
description: 'Stop an author posting (or let them post again), named by one of
their signals or by key.'
operationId: suspend_v1_admin_ivm_suspend_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SuspendRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/v1/admin/identity/verify:
post:
summary: Admin Identity Verify
description: 'Record a manual check (X-Admin-Secret): the same adult and
one-person-one-account rules as the automatic one.'
operationId: admin_identity_verify_v1_admin_identity_verify_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ManualVerify'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/v1/admin/keys:
get:
summary: List Api Keys
description: 'Lists all registered API keys (without exposing key hashes).
Requires X-Admin-Secret header.'
operationId: list_api_keys_v1_admin_keys_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Admin
post:
summary: Create Api Key
description: 'Creates a new API key for a client. Returns the raw key (shown once)
and the key_id for future reference.
Requires X-Admin-Secret header.'
operationId: create_api_key_v1_admin_keys_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateKeyRequest'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/v1/admin/keys/{key_id}/rotate:
post:
summary: Rotate Api Key
description: 'Rotate an API key: mint a NEW raw key for the SAME key_id (identity,
balance and chain history preserved) and INVALIDATE the old one. This is the
clean recovery path for a leaked key without abandoning the account.
Requires X-Admin-Secret.
NB: rotating the API_KEY_SECRET *itself* invalidates every key at once — a
separate, deliberate operational procedure — because keys are stored only as
HMACs and cannot be re-hashed without their raw values. This endpoint rotates
ONE key at a time, which is the routine case (a single compromised key).'
operationId: rotate_api_key_v1_admin_keys__key_id__rotate_post
parameters:
- name: key_id
in: path
required: true
schema:
type: string
title: Key Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/v1/admin/usage/{key_id}:
get:
summary: Get Usage
description: 'Returns billing usage statistics for a specific API key.
Requires X-Admin-Secret header.'
operationId: get_usage_v1_admin_usage__key_id__get
parameters:
- name: key_id
in: path
required: true
schema:
type: string
title: Key Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/v1/admin/accounts/support:
get:
summary: Get Account Support
description: 'Returns operational account state for support/cleanup.
Requires X-Admin-Secret header. Does not expose password or session hashes.'
operationId: get_account_support_v1_admin_accounts_support_get
parameters:
- name: email
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Email
- name: account_id
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Account Id
- name: key_id
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Key Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/v1/admin/accounts:
get:
summary: List Accounts Admin
description: 'Lists every proof account with balance and receipt count — the inventory
view support/cleanup starts from. Requires X-Admin-Secret header.
Never exposes password or session hashes.'
operationId: list_accounts_admin_v1_admin_accounts_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Admin
/v1/admin/adoption:
get:
summary: Adoption Metrics
description: 'The launch scoreboard: how many chains that are NOT ours have sealed
something, how far each one got through the funnel, and whether any of
them came back another day. Requires X-Admin-Secret header.
Emails are never returned — only their domain, which is what tells a lab
apart from a stranger''s mailbox.'
operationId: adoption_metrics_v1_admin_adoption_get
parameters:
- name: days
in: query
required: false
schema:
type: integer
default: 14
title: Days
- name: cohort_limit
in: query
required: false
schema:
type: integer
default: 100
title: Cohort Limit
- name: target
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: Target
- name: deadline
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Deadline
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/v1/admin/accounts/create:
post:
summary: Admin Create Account
description: 'Creates a PRE-VERIFIED proof account (demo/test provisioning) with an
optional journaled tick grant. Requires X-Admin-Secret header. This is the
only path that skips email verification — it exists so operators can mint
demo accounts without a mailbox.'
operationId: admin_create_account_v1_admin_accounts_create_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AdminAccountCreateRequest'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/v1/admin/accounts/{account_id}/zero-balance:
post:
summary: Zero Account Balance
description: 'Sets an account credit balance to zero for support cleanup.
Requires X-Admin-Secret header.'
operationId: zero_account_balance_v1_admin_accounts__account_id__zero_balance_post
parameters:
- name: account_id
in: path
required: true
schema:
type: string
title: Account Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AccountSupportActionResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/v1/admin/accounts/{account_id}/test-credit:
post:
summary: Test Credit Account
description: 'Credits an active account for controlled end-to-end activation testing.
Requires X-Admin-Secret header. This is not a Stripe payment path.'
operationId: test_credit_account_v1_admin_accounts__account_id__test_credit_post
parameters:
- name: account_id
in: path
required: true
schema:
type: string
title: Account Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AccountTestCreditRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AccountSupportActionResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/v1/admin/accounts/{account_id}/grant:
post:
summary: Grant Account Ticks
description: 'Gives ticks to an existing, active account without a payment, and says so.
Requires X-Admin-Secret header. The movement is written in the tick ledger
as kind "grant", never as an activation: an activation records money
received (see _credit_in_tx), and no money is received here. Nothing is
written to stripe_events, so the account''s payment history stays a list
of payments.
One grant per reference: a call repeated with the same reference (a retry
after a lost answer) credits nothing and answers 409. The balance and its
ledger line are committed together or not at all.'
operationId: grant_account_ticks_v1_admin_accounts__account_id__grant_post
parameters:
- name: account_id
in: path
required: true
schema:
type: string
title: Account Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AccountGrantRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/v1/admin/accounts/{account_id}/machine-keys:
post:
summary: Create Account Machine Key
description: 'Gives an existing, active account a permanent machine key (rak_...).
Requires X-Admin-Secret header. The key spends the account''s own meter and
seals as the account, for the account''s own machines (a founder''s PC, a
scheduled job). It is not a password: no person types it, and it opens
nothing a person does in the app. The raw key is shown once; only its HMAC
is kept. Revoke with .../machine-keys/{ref}/revoke.'
operationId: create_account_machine_key_v1_admin_accounts__account_id__machine_keys_post
parameters:
- name: account_id
in: path
required: true
schema:
type: string
title: Account Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AccountMachineKeyRequest'
responses:
'201':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/v1/admin/accounts/{account_id}/machine-keys/{ref}/revoke:
post:
summary: Revoke Account Machine Key
description: 'Revokes one machine key at once. Requires X-Admin-Secret header. The
line stays, with its revocation time: the list is the history.'
operationId: revoke_account_machine_key_v1_admin_accounts__account_id__machine_keys__ref__revoke_post
parameters:
- name: account_id
in: path
required: true
schema:
type: string
title: Account Id
- name: ref
in: path
required: true
schema:
type: string
title: Ref
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/v1/admin/accounts/{account_id}/deactivate:
post:
summary: Deactivate Account
description: 'Deactivates an account and zeroes its remaining credit balance.
Requires X-Admin-Secret header.'
operationId: deactivate_account_v1_admin_accounts__account_id__deactivate_post
parameters:
- name: account_id
in: path
required: true
schema:
type: string
title: Account Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AccountSupportActionResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/v1/admin/accounts/{account_id}/role:
post:
summary: Set Account Role
description: 'Admin: set an account''s console role (user | partner). Requires X-Admin-Secret.'
operationId: set_account_role_v1_admin_accounts__account_id__role_post
parameters:
- name: account_id
in: path
required: true
schema:
type: string
title: Account Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SetRoleRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Admin
/v1/admin/utcop/calibrate:
post:
summary: Admin Utcop Calibrate
description: 'Trigger an immediate RFC 8915 NTS UTC(OP) LNE-SYRTE calibration and seal
its metrological anchor into the chain (requires X-Admin-Secret via middleware).'
operationId: admin_utcop_calibrate_v1_admin_utcop_calibrate_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Admin
components:
schemas:
SetRoleRequest:
properties:
role:
type: string
title: Role
type: object
required:
- role
title: SetRoleRequest
AccountTestCreditRequest:
properties:
amount_cents:
type: integer
title: Amount Cents
default: 500
reason:
anyOf:
- type: string
- type: 'null'
title: Reason
default: admin-test-activation
type: object
title: AccountTestCreditRequest
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ModerateRequest:
properties:
receipt_id:
type: string
title: Receipt Id
action:
type: string
title: Action
type: object
required:
- receipt_id
- action
title: ModerateRequest
ManualVerify:
properties:
key_id:
type: string
title: Key Id
given_names:
type: string
title: Given Names
family_name:
type: string
title: Family Name
birth_date:
type: string
title: Birth Date
document:
type: string
title: Document
type: object
required:
- key_id
- given_names
- family_name
- birth_date
- document
title: ManualVerify
AccountMachineKeyRequest:
properties:
label:
type: string
title: Label
memo:
type: string
title: Memo
type: object
required:
- label
- memo
title: AccountMachineKeyRequest
CreateKeyRequest:
properties:
owner:
type: string
title: Owner
rate_limit_per_minute:
type: integer
title: Rate Limit Per Minute
default: 600
initial_balance_cents:
type: integer
title: Initial Balance Cents
default: 0
type: object
required:
- owner
title: CreateKeyRequest
SuspendRequest:
properties:
receipt_id:
anyOf:
- type: string
- type: 'null'
title: Receipt Id
key_id:
anyOf:
- type: string
- type: 'null'
title: Key Id
suspended:
type: boolean
title: Suspended
default: true
reason:
anyOf:
- type: string
- type: 'null'
title: Reason
type: object
title: SuspendRequest
AccountSupportActionResponse:
properties:
status:
type: string
title: Status
account_id:
type: string
title: Account Id
email:
type: string
title: Email
key_id:
type: string
title: Key Id
balance_cents:
type: integer
title: Balance Cents
active:
type: boolean
title: Active
type: object
required:
- status
- account_id
- email
- key_id
- balance_cents
- active
title: AccountSupportActionResponse
AccountGrantRequest:
properties:
ticks:
type: integer
title: Ticks
reference:
type: string
title: Reference
memo:
type: string
title: Memo
type: object
required:
- ticks
- reference
- memo
title: AccountGrantRequest
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
AdminAccountCreateRequest:
properties:
email:
type: string
title: Email
password:
anyOf:
- type: string
- type: 'null'
title: Password
display_name:
anyOf:
- type: string
- type: 'null'
title: Display Name
workspace:
type: string
title: Workspace
default: Recognitium
grant_ticks:
type: integer
title: Grant Ticks
default: 0
type: object
required:
- email
title: AdminAccountCreateRequest