Use the reCAPTCHA CLI from KosmoKrator to call reCAPTCHA tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.
reCAPTCHA can be configured headlessly with `kosmokrator integrations:configure recaptcha`.
# Install KosmoKrator first if it is not available on PATH.curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash# Configure and verify this integration.kosmokrator integrations:configure recaptcha --enable --read allow --write ask --jsonkosmokrator integrations:doctor recaptcha --jsonkosmokrator integrations:status --json
Credentials
Authentication type: No credentialsnone. Configure credentials once, then use the same stored profile from
scripts, coding CLIs, Lua code mode, and the MCP gateway.
No credentials are required.
Call reCAPTCHA Headlessly
Use the generic call form when another coding CLI or script needs a stable universal interface.
Every function below can be called headlessly. The generic form is stable across all integrations;
the provider shortcut is shorter but specific to reCAPTCHA.
recaptcha.recaptcha_list_assessments
Read read
List reCAPTCHA Enterprise assessments for a Google Cloud project. Returns assessment names, scores, token properties, and event details. Supports pagination with page size and page token.
Create a reCAPTCHA Enterprise assessment to evaluate a reCAPTCHA token. Provide the project parent, the token to evaluate, and the site key. Returns score, token validity, and action verification.
List reCAPTCHA Enterprise site keys for a Google Cloud project. Returns key names, display names, web settings, and integration type. Supports pagination.
List annotations for a reCAPTCHA Enterprise assessment. Annotations provide feedback on assessment results (LEGITIMATE, FRAUDULENT, etc.) to improve model accuracy. Supports pagination.
Use these parameter tables when building CLI payloads without calling integrations:schema first.
recaptcha.recaptcha_list_assessments
List reCAPTCHA Enterprise assessments for a Google Cloud project. Returns assessment names, scores, token properties, and event details. Supports pagination with page size and page token.
The full assessment resource name, e.g. "projects/my-project/assessments/12345678".
recaptcha.recaptcha_create_assessment
Create a reCAPTCHA Enterprise assessment to evaluate a reCAPTCHA token. Provide the project parent, the token to evaluate, and the site key. Returns score, token validity, and action verification.
The project resource name, e.g. "projects/my-project".
token
string
yes
The reCAPTCHA token to evaluate (obtained from the client-side widget).
site_key
string
yes
The reCAPTCHA Enterprise site key associated with the token.
expected_action
string
no
The expected action name for action-based verification (e.g. "LOGIN", "SIGNUP").
hashed_account_id
string
no
Optional hashed user account ID for account defender assessment.
recaptcha.recaptcha_list_keys
List reCAPTCHA Enterprise site keys for a Google Cloud project. Returns key names, display names, web settings, and integration type. Supports pagination.
The full key resource name, e.g. "projects/my-project/keys/my-key-id".
recaptcha.recaptcha_list_annotations
List annotations for a reCAPTCHA Enterprise assessment. Annotations provide feedback on assessment results (LEGITIMATE, FRAUDULENT, etc.) to improve model accuracy. Supports pagination.
Headless calls still follow the integration read/write permission policy. Configure read/write defaults
with integrations:configure. Add --force only for trusted automation that should bypass that policy.