KosmoKrator

authentication

reCAPTCHA CLI for AI Agents

Use the reCAPTCHA CLI from KosmoKrator to call reCAPTCHA tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

7 functions 6 read 1 write No credentials auth

reCAPTCHA CLI Setup

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 --json
kosmokrator integrations:doctor recaptcha --json
kosmokrator integrations:status --json

Credentials

Authentication type: No credentials none. 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.

kosmo integrations:call recaptcha.recaptcha_list_assessments '{
  "parent": "example_parent",
  "page_size": 1,
  "page_token": "example_page_token"
}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:recaptcha recaptcha_list_assessments '{
  "parent": "example_parent",
  "page_size": 1,
  "page_token": "example_page_token"
}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

kosmo integrations:docs recaptcha --json
kosmo integrations:docs recaptcha.recaptcha_list_assessments --json
kosmo integrations:schema recaptcha.recaptcha_list_assessments --json
kosmo integrations:search "reCAPTCHA" --json
kosmo integrations:list --json

All CLI Functions

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.

Parameters
parent, page_size, page_token

Generic CLI call

kosmo integrations:call recaptcha.recaptcha_list_assessments '{"parent":"example_parent","page_size":1,"page_token":"example_page_token"}' --json

Provider shortcut

kosmo integrations:recaptcha recaptcha_list_assessments '{"parent":"example_parent","page_size":1,"page_token":"example_page_token"}' --json

recaptcha.recaptcha_get_assessment

Read read

Get a single reCAPTCHA Enterprise assessment by its full resource name. Returns the score, token properties, event details, and risk analysis.

Parameters
name

Generic CLI call

kosmo integrations:call recaptcha.recaptcha_get_assessment '{"name":"example_name"}' --json

Provider shortcut

kosmo integrations:recaptcha recaptcha_get_assessment '{"name":"example_name"}' --json

recaptcha.recaptcha_create_assessment

Write write

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.

Parameters
parent, token, site_key, expected_action, hashed_account_id

Generic CLI call

kosmo integrations:call recaptcha.recaptcha_create_assessment '{"parent":"example_parent","token":"example_token","site_key":"example_site_key","expected_action":"example_expected_action","hashed_account_id":"example_hashed_account_id"}' --json

Provider shortcut

kosmo integrations:recaptcha recaptcha_create_assessment '{"parent":"example_parent","token":"example_token","site_key":"example_site_key","expected_action":"example_expected_action","hashed_account_id":"example_hashed_account_id"}' --json

recaptcha.recaptcha_list_keys

Read read

List reCAPTCHA Enterprise site keys for a Google Cloud project. Returns key names, display names, web settings, and integration type. Supports pagination.

Parameters
parent, page_size, page_token

Generic CLI call

kosmo integrations:call recaptcha.recaptcha_list_keys '{"parent":"example_parent","page_size":1,"page_token":"example_page_token"}' --json

Provider shortcut

kosmo integrations:recaptcha recaptcha_list_keys '{"parent":"example_parent","page_size":1,"page_token":"example_page_token"}' --json

recaptcha.recaptcha_get_key

Read read

Get a reCAPTCHA Enterprise site key by its full resource name. Returns the key configuration including web, Android, and iOS settings.

Parameters
name

Generic CLI call

kosmo integrations:call recaptcha.recaptcha_get_key '{"name":"example_name"}' --json

Provider shortcut

kosmo integrations:recaptcha recaptcha_get_key '{"name":"example_name"}' --json

recaptcha.recaptcha_list_annotations

Read read

List annotations for a reCAPTCHA Enterprise assessment. Annotations provide feedback on assessment results (LEGITIMATE, FRAUDULENT, etc.) to improve model accuracy. Supports pagination.

Parameters
parent, page_size, page_token

Generic CLI call

kosmo integrations:call recaptcha.recaptcha_list_annotations '{"parent":"example_parent","page_size":1,"page_token":"example_page_token"}' --json

Provider shortcut

kosmo integrations:recaptcha recaptcha_list_annotations '{"parent":"example_parent","page_size":1,"page_token":"example_page_token"}' --json

recaptcha.recaptcha_get_current_user

Read read

Get information about the current reCAPTCHA Enterprise API access. Returns the list of accessible projects to verify connectivity.

Parameters
none

Generic CLI call

kosmo integrations:call recaptcha.recaptcha_get_current_user '{}' --json

Provider shortcut

kosmo integrations:recaptcha recaptcha_get_current_user '{}' --json

Function Schemas

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.

Operation
Read read
Schema command
kosmo integrations:schema recaptcha.recaptcha_list_assessments --json
ParameterTypeRequiredDescription
parent string yes The project resource name, e.g. "projects/my-project".
page_size integer no Maximum number of assessments to return per page (default: 50, max: 100).
page_token string no Page token from a previous list response to fetch the next page.

recaptcha.recaptcha_get_assessment

Get a single reCAPTCHA Enterprise assessment by its full resource name. Returns the score, token properties, event details, and risk analysis.

Operation
Read read
Schema command
kosmo integrations:schema recaptcha.recaptcha_get_assessment --json
ParameterTypeRequiredDescription
name string yes 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.

Operation
Write write
Schema command
kosmo integrations:schema recaptcha.recaptcha_create_assessment --json
ParameterTypeRequiredDescription
parent string yes 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.

Operation
Read read
Schema command
kosmo integrations:schema recaptcha.recaptcha_list_keys --json
ParameterTypeRequiredDescription
parent string yes The project resource name, e.g. "projects/my-project".
page_size integer no Maximum number of keys to return per page (default: 50, max: 100).
page_token string no Page token from a previous list response to fetch the next page.

recaptcha.recaptcha_get_key

Get a reCAPTCHA Enterprise site key by its full resource name. Returns the key configuration including web, Android, and iOS settings.

Operation
Read read
Schema command
kosmo integrations:schema recaptcha.recaptcha_get_key --json
ParameterTypeRequiredDescription
name string yes 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.

Operation
Read read
Schema command
kosmo integrations:schema recaptcha.recaptcha_list_annotations --json
ParameterTypeRequiredDescription
parent string yes The assessment resource name, e.g. "projects/my-project/assessments/12345678".
page_size integer no Maximum number of annotations to return per page (default: 50, max: 100).
page_token string no Page token from a previous list response to fetch the next page.

recaptcha.recaptcha_get_current_user

Get information about the current reCAPTCHA Enterprise API access. Returns the list of accessible projects to verify connectivity.

Operation
Read read
Schema command
kosmo integrations:schema recaptcha.recaptcha_get_current_user --json
ParameterTypeRequiredDescription
No parameters.

Permissions

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.