Lensmor · Schema

ActionPrecheckResponse

Action eligibility, expected charging, reason, and action-specific detail.

Event IntelligenceB2BSoftware-as-a-ServiceLead GenerationTrade Shows

Properties

Name Type Description
ok boolean Whether the precheck itself completed successfully.
action_type string Action evaluated by the precheck.
allowed boolean Whether the action is currently allowed to proceed.
should_charge boolean Whether executing the action is expected to consume credits.
credits integer Credits expected for the action under the current state.
reason_code string Stable reason explaining the eligibility and charging decision.
biz_code string Business code associated with the precheck decision.
detail object Action-specific eligibility, cost, or state detail.
View JSON Schema on GitHub

JSON Schema

lensmor-action-precheck-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lensmor/json-schema/lensmor-action-precheck-response-schema.json",
  "title": "ActionPrecheckResponse",
  "description": "Action eligibility, expected charging, reason, and action-specific detail.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lensmor-actions-api-openapi.yml#/components/schemas/ActionPrecheckResponse",
  "type": "object",
  "required": [
    "ok",
    "action_type",
    "allowed",
    "should_charge",
    "credits",
    "reason_code",
    "biz_code",
    "detail"
  ],
  "properties": {
    "ok": {
      "type": "boolean",
      "const": true,
      "description": "Whether the precheck itself completed successfully."
    },
    "action_type": {
      "type": "string",
      "description": "Action evaluated by the precheck."
    },
    "allowed": {
      "type": "boolean",
      "description": "Whether the action is currently allowed to proceed."
    },
    "should_charge": {
      "type": "boolean",
      "description": "Whether executing the action is expected to consume credits."
    },
    "credits": {
      "type": "integer",
      "description": "Credits expected for the action under the current state."
    },
    "reason_code": {
      "type": "string",
      "enum": [
        "ok",
        "already_unlocked",
        "unlock_in_progress",
        "state_conflict",
        "insufficient_balance",
        "no_contacts_available",
        "exceed_max_unlock_limit",
        "invalid_subject",
        "unsupported_action",
        "not_found",
        "forbidden",
        "system_error"
      ],
      "description": "Stable reason explaining the eligibility and charging decision."
    },
    "biz_code": {
      "type": "string",
      "description": "Business code associated with the precheck decision."
    },
    "detail": {
      "type": "object",
      "additionalProperties": true,
      "description": "Action-specific eligibility, cost, or state detail."
    }
  },
  "additionalProperties": true
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/lensmor-action-precheck-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

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. 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.