ScrubMyText Actions API
The Actions API from ScrubMyText — 6 operation(s) for actions.
The Actions API from ScrubMyText — 6 operation(s) for actions.
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/scrubmytext-com:scrubmytext-com-actions-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: ScrubMyText + Agent Infrastructure Actions API
version: 7.5.0
description: 49 deterministic tools for text integrity, AI-agent controls, and contextual service-quality evidence. TrustMyChoice provides free public lookup and comparison plus free, identity-verified structured contributions without publishing a universal trust score or selling ranking position. Selected premium stateless text tools include a 3-call trial and optional x402 pay-per-call.
servers:
- url: https://api.scrubmytext.com
tags:
- name: Actions
paths:
/v1/actions/fingerprint:
post:
operationId: fingerprintAction
summary: Fingerprint a structured action intent
description: Derive a stable SHA-256 action fingerprint and idempotency key from a named action, JSON arguments, and optional scope. Object-key order does not affect the result. The operation stores nothing and does not echo the supplied arguments.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
action:
type: string
minLength: 1
maxLength: 120
description: Stable action name, such as refund_order or send_email.
arguments:
type: object
description: JSON object containing the action inputs. Object keys are sorted during canonicalization; array order remains significant.
scope:
type: string
minLength: 1
maxLength: 120
default: default
description: Optional namespace used to separate otherwise identical action intents.
additionalProperties: false
required:
- action
- arguments
responses:
'200':
description: Stable fingerprint and ready-to-use idempotency key
content:
application/json:
schema:
type: object
properties:
brand:
type: string
const: LockMyAction
action_fingerprint:
type: string
pattern: ^sha256:[0-9a-f]{64}$
idempotency_key:
type: string
pattern: ^smt_action_[0-9a-f]{64}$
algorithm:
type: string
const: sha256
canonicalization:
type: string
canonical_bytes:
type: integer
minimum: 1
maximum: 100000
notice:
type: string
required:
- brand
- action_fingerprint
- idempotency_key
- algorithm
- canonicalization
- canonical_bytes
- notice
'400':
description: Malformed JSON request
'422':
description: Invalid or unsupported action intent
'429':
description: Monthly free usage limit reached
security:
- {}
- bearerAuth: []
tags:
- Actions
/v1/actions/lock:
post:
operationId: lockAction
summary: Lock action
description: 'LockMyAction: atomically claim an idempotency key before execution.'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
key:
type: string
minLength: 1
maxLength: 200
lock_ttl_seconds:
type: integer
minimum: 30
maximum: 86400
completion_ttl_seconds:
type: integer
minimum: 3600
maximum: 31536000
additionalProperties: false
required:
- key
responses:
'200':
description: Successful result
'400':
description: Invalid input
'401':
description: API key required or invalid
'429':
description: Monthly usage limit reached
security:
- bearerAuth: []
tags:
- Actions
/v1/actions/lock-intent:
post:
operationId: lockActionIntent
summary: Fingerprint and atomically lock an action intent
description: 'LockMyAction: derive a stable idempotency key from a structured action and atomically claim it in one call. Execute the external action only when safe_to_execute is true. Reordered JSON object keys resolve to the same lock.'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
action:
type: string
minLength: 1
maxLength: 120
description: Stable action name, such as refund_order or send_email.
arguments:
type: object
description: JSON object containing the action inputs. Object keys are sorted during canonicalization; array order remains significant.
scope:
type: string
minLength: 1
maxLength: 120
default: default
description: Optional namespace used to separate otherwise identical action intents.
lock_ttl_seconds:
type: integer
minimum: 30
maximum: 86400
completion_ttl_seconds:
type: integer
minimum: 3600
maximum: 31536000
additionalProperties: false
required:
- action
- arguments
responses:
'200':
description: Action intent fingerprinted and lock result returned
content:
application/json:
schema:
type: object
properties:
brand:
type: string
const: LockMyAction
status:
type: string
safe_to_execute:
type: boolean
key:
type: string
lock_id:
type: string
action_fingerprint:
type: string
pattern: ^sha256:[0-9a-f]{64}$
idempotency_key:
type: string
pattern: ^smt_action_[0-9a-f]{64}$
algorithm:
type: string
const: sha256
canonicalization:
type: string
canonical_bytes:
type: integer
minimum: 1
maximum: 100000
required:
- brand
- status
- safe_to_execute
- key
- action_fingerprint
- idempotency_key
- algorithm
- canonicalization
- canonical_bytes
'400':
description: Malformed JSON request
'401':
description: API key required or invalid
'422':
description: Invalid or unsupported action intent
'429':
description: Monthly usage limit reached
security:
- bearerAuth: []
tags:
- Actions
/v1/actions/check:
post:
operationId: checkAction
summary: Check action
description: 'LockMyAction: inspect action-key state without reserving it.'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
key:
type: string
minLength: 1
maxLength: 200
additionalProperties: false
required:
- key
responses:
'200':
description: Successful result
'400':
description: Invalid input
'401':
description: API key required or invalid
'429':
description: Monthly usage limit reached
security:
- bearerAuth: []
tags:
- Actions
/v1/actions/complete:
post:
operationId: completeAction
summary: Complete action
description: 'LockMyAction: mark the current lock completed.'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
key:
type: string
minLength: 1
maxLength: 200
lock_id:
type: string
minLength: 1
maxLength: 80
additionalProperties: false
required:
- key
- lock_id
responses:
'200':
description: Successful result
'400':
description: Invalid input
'401':
description: API key required or invalid
'429':
description: Monthly usage limit reached
security:
- bearerAuth: []
tags:
- Actions
/v1/actions/release:
post:
operationId: releaseAction
summary: Release action
description: 'LockMyAction: release an uncompleted current lock.'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
key:
type: string
minLength: 1
maxLength: 200
lock_id:
type: string
minLength: 1
maxLength: 80
additionalProperties: false
required:
- key
- lock_id
responses:
'200':
description: Successful result
'400':
description: Invalid input
'401':
description: API key required or invalid
'429':
description: Monthly usage limit reached
security:
- bearerAuth: []
tags:
- Actions
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: smt_founder_..., smt_live_..., or legacy smt_tmc_...
description: smt_founder_ keys provide all-tool access for 30 days or 1,000 total calls with no overages, then remain limited to TrustMyChoice evidence writes. Paid smt_live_ keys access subscription tools. Legacy smt_tmc_ keys are limited to TrustMyChoice observation and correction writes.