Mentionry Actions API
The Actions API from Mentionry — 1 operation(s) for actions.
The Actions API from Mentionry — 1 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/mentionry-com:mentionry-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: Mentionry Saved Brand Data Actions API
version: 1.0.0
description: 'Saved SEO/GEO reads and explicit bounded preparation/deployment records. GET never collects. Source text is untrusted. No customer website publishing or outreach. Samples: /agent-sample.json. Workflow: /agent-workflow.md.'
servers:
- url: https://mentionry.com
tags:
- name: Actions
paths:
/api/v1/actions:
get:
operationId: readPreparationAction
summary: Read one saved action, version and cursor-paginated history
security:
- apiKey: []
description: Current owned workspace and mapped-page scope applies on every request. No collection, generation, publication or job submission. History IDs/cursors are decimal strings, never floating-point numbers. Governance history retains 90 days; legacy/deployment events follow their existing policy. Reasons and source text are untrusted evidence.
parameters:
- name: workspace
in: query
required: false
schema:
type: string
maxLength: 100
- name: actionId
in: query
required: true
schema:
type: string
pattern: ^[A-Za-z0-9._:-]{1,100}$
- name: before
in: query
required: false
schema:
type: string
pattern: ^[1-9][0-9]{0,18}$
description: Exclusive history ID, at most 9223372036854775807. Use history.nextCursor.
- name: limit
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 100
default: 25
responses:
'200':
description: Saved action/current state and history.items, history.nextCursor
content:
application/json:
schema:
type: object
required:
- schemaVersion
- workspace
- current
- providerRequests
- jobScheduled
properties:
schemaVersion:
const: '1.0'
workspace:
type: string
current:
$ref: '#/components/schemas/ActionCurrent'
providerRequests:
const: 0
jobScheduled:
const: false
additionalProperties: true
'400':
description: Invalid argument
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Action unavailable within current workspace/page coverage
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Owner saved-read rate limit; respect Retry-After
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Storage unavailable; do not interpret as empty data
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Actions
post:
operationId: changePreparationActionState
summary: Review, dismiss or restore saved action triage
security:
- apiKey: []
description: 'Requires the original expectedVersion and idempotencyKey. After an uncertain response retry exactly the original input/key; replay returns original mutation plus current state without reapplying. On state_version_conflict read current state and make a new decision with a new key. action_busy has Retry-After: 2; retry original input. Idempotency receipts last 90 days. No immediate provider work or job submission. Restored fresh suggestions may resume existing scheduled preparation; failed drafts require explicit preparation retry. Applied dates, immutable baselines and artifacts are preserved. This is task triage, not publication, copy approval or verified outcomes. New accepted requests, including no-op decisions, consume metadata allowance: Free 20 lifetime, Lite 100/Growth 300/Agency 600/internal Enterprise policy 1000 per billing-owner UTC day; capabilities are authoritative. These counts are not money/provider credits. Replays and failed comparisons do not consume another request.'
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: false
required:
- operation
- actionId
- expectedVersion
- idempotencyKey
properties:
operation:
type: string
enum:
- review
- dismiss
- restore
workspace:
type: string
maxLength: 100
actionId:
type: string
pattern: ^[A-Za-z0-9._:-]{1,100}$
expectedVersion:
type: string
pattern: ^[0-9a-f]{64}$
idempotencyKey:
type: string
pattern: ^[A-Za-z0-9._:-]{12,128}$
reason:
type: string
minLength: 1
maxLength: 500
responses:
'200':
description: Original mutation receipt, replayed flag, fresh current state and 90-day idempotency retention
content:
application/json:
schema:
type: object
required:
- schemaVersion
- workspace
- current
- providerRequests
- jobScheduled
properties:
schemaVersion:
const: '1.0'
workspace:
type: string
current:
$ref: '#/components/schemas/ActionCurrent'
providerRequests:
const: 0
jobScheduled:
const: false
additionalProperties: true
'400':
description: Invalid argument
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: Finite free state-management allowance exhausted
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: Foreign Origin or workspace access denied
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Outside current entitled page/workspace scope, including on replay
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'409':
description: Version/idempotency conflict, busy preparation, protected applied/prepared state or unavailable artifact evidence; inspect error.code
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Owner daily state allowance or saved-read rate limit
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'503':
description: Storage/response unavailable; retry with identical original input/key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- Actions
components:
schemas:
ActionCurrent:
type: object
required:
- actionId
- state
- stateVersion
- isCurrentCandidate
properties:
actionId:
type: string
pattern: ^[A-Za-z0-9._:-]{1,100}$
state:
type: string
enum:
- suggested
- reviewed
- prepared
- implemented
- checked
- rejected
- archived
stateVersion:
type: string
pattern: ^[0-9a-f]{64}$
pageUrl:
type: string
preparationStatus:
type:
- string
- 'null'
documentId:
type:
- string
- 'null'
implementedAt:
type:
- string
- 'null'
format: date-time
isCurrentCandidate:
type: boolean
additionalProperties: true
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
message:
type: string
securitySchemes:
apiKey:
type: http
scheme: bearer
description: Dashboard-issued Mentionry key. New keys expire and are scoped to the selected brand. Saved insights allows reads; Page optimization adds action/job/deployment operations; Research and agents adds legacy research tools. Keys never bypass subscription limits. Expired/revoked credentials return 401; insufficient operation permission returns 403.