authentication
reCAPTCHA CLI for Cron Jobs
Use the reCAPTCHA CLI for cron jobs with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 6 read 1 write No credentials auth
reCAPTCHA CLI for Cron Jobs
Schedule repeatable integration workflows from cron while keeping credentials in KosmoKrator config.
Use the headless CLI from cron when an operation should run without an interactive agent session. The reCAPTCHA CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# reCAPTCHA CLI for Cron Jobs
kosmokrator integrations:configure recaptcha --enable --read allow --write ask --json
kosmo integrations:call recaptcha.recaptcha_list_assessments '{"parent":"example_parent","page_size":1,"page_token":"example_page_token"}' --json Discovery Before Execution
Agents and scripts can inspect reCAPTCHA docs and schemas 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 Useful reCAPTCHA CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
recaptcha.recaptcha_list_assessments | Read | parent, page_size, page_token | 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. |
recaptcha.recaptcha_get_assessment | Read | name | Get a single reCAPTCHA Enterprise assessment by its full resource name. Returns the score, token properties, event details, and risk analysis. |
recaptcha.recaptcha_create_assessment | Write | parent, token, site_key, expected_action, hashed_account_id | 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. |
recaptcha.recaptcha_list_keys | Read | parent, page_size, page_token | List reCAPTCHA Enterprise site keys for a Google Cloud project. Returns key names, display names, web settings, and integration type. Supports pagination. |
recaptcha.recaptcha_get_key | Read | name | Get a reCAPTCHA Enterprise site key by its full resource name. Returns the key configuration including web, Android, and iOS settings. |
recaptcha.recaptcha_list_annotations | Read | parent, page_size, page_token | List annotations for a reCAPTCHA Enterprise assessment. Annotations provide feedback on assessment results (LEGITIMATE, FRAUDULENT, etc.) to improve model accuracy. Supports pagination. |
recaptcha.recaptcha_get_current_user | Read | none | Get information about the current reCAPTCHA Enterprise API access. Returns the list of accessible projects to verify connectivity. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.