analytics
Delighted CLI for AI Agents
Use the Delighted CLI from KosmoKrator to call Delighted tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.Delighted CLI Setup
Delighted can be configured headlessly with `kosmokrator integrations:configure delighted`.
# 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 delighted --set api_key="$DELIGHTED_API_KEY" --enable --read allow --write ask --json
kosmokrator integrations:doctor delighted --json
kosmokrator integrations:status --json Credentials
Authentication type: basic auth basic_auth. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
| Key | Env var | Type | Required | Label |
|---|---|---|---|---|
api_key | DELIGHTED_API_KEY | Secret secret | yes | API Key |
url | DELIGHTED_URL | Text text | no | API URL |
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call delighted.delighted_send_person '{}' --json kosmo integrations:delighted delighted_send_person '{}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs delighted --json
kosmo integrations:docs delighted.delighted_send_person --json
kosmo integrations:schema delighted.delighted_send_person --json
kosmo integrations:search "Delighted" --json
kosmo integrations:list --json Automation Contexts
The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.
CLI Functions
Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.
delighted.delighted_send_person
Create or update a person and schedule a survey.
write - Parameters
- none
kosmo integrations:call delighted.delighted_send_person '{}' --json kosmo integrations:delighted delighted_send_person '{}' --json delighted.delighted_list_survey_responses
List survey responses.
read - Parameters
- none
kosmo integrations:call delighted.delighted_list_survey_responses '{}' --json kosmo integrations:delighted delighted_list_survey_responses '{}' --json delighted.delighted_get_metrics
Get account metrics and score breakdowns.
read - Parameters
- none
kosmo integrations:call delighted.delighted_get_metrics '{}' --json kosmo integrations:delighted delighted_get_metrics '{}' --json delighted.delighted_create_survey_response
Add a survey response manually.
write - Parameters
- none
kosmo integrations:call delighted.delighted_create_survey_response '{}' --json kosmo integrations:delighted delighted_create_survey_response '{}' --json delighted.delighted_delete_pending_survey_request
Delete pending survey requests for a person.
write - Parameters
- none
kosmo integrations:call delighted.delighted_delete_pending_survey_request '{}' --json kosmo integrations:delighted delighted_delete_pending_survey_request '{}' --json delighted.delighted_unsubscribe_person
Unsubscribe a person.
write - Parameters
- none
kosmo integrations:call delighted.delighted_unsubscribe_person '{}' --json kosmo integrations:delighted delighted_unsubscribe_person '{}' --json delighted.delighted_list_people
List people.
read - Parameters
- none
kosmo integrations:call delighted.delighted_list_people '{}' --json kosmo integrations:delighted delighted_list_people '{}' --json delighted.delighted_list_unsubscribes
List unsubscribed people.
read - Parameters
- none
kosmo integrations:call delighted.delighted_list_unsubscribes '{}' --json kosmo integrations:delighted delighted_list_unsubscribes '{}' --json delighted.delighted_list_bounces
List bounced people.
read - Parameters
- none
kosmo integrations:call delighted.delighted_list_bounces '{}' --json kosmo integrations:delighted delighted_list_bounces '{}' --json delighted.delighted_delete_person
Delete a person by identifier.
write - Parameters
- none
kosmo integrations:call delighted.delighted_delete_person '{}' --json kosmo integrations:delighted delighted_delete_person '{}' --json delighted.delighted_get_autopilot_email
Get email Autopilot configuration.
read - Parameters
- none
kosmo integrations:call delighted.delighted_get_autopilot_email '{}' --json kosmo integrations:delighted delighted_get_autopilot_email '{}' --json delighted.delighted_get_autopilot_sms
Get SMS Autopilot configuration.
read - Parameters
- none
kosmo integrations:call delighted.delighted_get_autopilot_sms '{}' --json kosmo integrations:delighted delighted_get_autopilot_sms '{}' --json delighted.delighted_list_autopilot_email_memberships
List people in email Autopilot.
read - Parameters
- none
kosmo integrations:call delighted.delighted_list_autopilot_email_memberships '{}' --json kosmo integrations:delighted delighted_list_autopilot_email_memberships '{}' --json delighted.delighted_list_autopilot_sms_memberships
List people in SMS Autopilot.
read - Parameters
- none
kosmo integrations:call delighted.delighted_list_autopilot_sms_memberships '{}' --json kosmo integrations:delighted delighted_list_autopilot_sms_memberships '{}' --json delighted.delighted_add_autopilot_email_membership
Add a person to email Autopilot.
write - Parameters
- none
kosmo integrations:call delighted.delighted_add_autopilot_email_membership '{}' --json kosmo integrations:delighted delighted_add_autopilot_email_membership '{}' --json delighted.delighted_add_autopilot_sms_membership
Add a person to SMS Autopilot.
write - Parameters
- none
kosmo integrations:call delighted.delighted_add_autopilot_sms_membership '{}' --json kosmo integrations:delighted delighted_add_autopilot_sms_membership '{}' --json delighted.delighted_remove_autopilot_email_membership
Remove a person from email Autopilot.
write - Parameters
- none
kosmo integrations:call delighted.delighted_remove_autopilot_email_membership '{}' --json kosmo integrations:delighted delighted_remove_autopilot_email_membership '{}' --json delighted.delighted_remove_autopilot_sms_membership
Remove a person from SMS Autopilot.
write - Parameters
- none
kosmo integrations:call delighted.delighted_remove_autopilot_sms_membership '{}' --json kosmo integrations:delighted delighted_remove_autopilot_sms_membership '{}' --json delighted.delighted_api_get
Call a safe relative Delighted GET path.
read - Parameters
- none
kosmo integrations:call delighted.delighted_api_get '{}' --json kosmo integrations:delighted delighted_api_get '{}' --json delighted.delighted_api_post
Call a safe relative Delighted POST path.
write - Parameters
- none
kosmo integrations:call delighted.delighted_api_post '{}' --json kosmo integrations:delighted delighted_api_post '{}' --json delighted.delighted_api_delete
Call a safe relative Delighted DELETE path.
write - Parameters
- none
kosmo integrations:call delighted.delighted_api_delete '{}' --json kosmo integrations:delighted delighted_api_delete '{}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
delighted.delighted_send_person 0 parameters
kosmo integrations:schema delighted.delighted_send_person --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_list_survey_responses 0 parameters
kosmo integrations:schema delighted.delighted_list_survey_responses --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_get_metrics 0 parameters
kosmo integrations:schema delighted.delighted_get_metrics --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_create_survey_response 0 parameters
kosmo integrations:schema delighted.delighted_create_survey_response --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_delete_pending_survey_request 0 parameters
kosmo integrations:schema delighted.delighted_delete_pending_survey_request --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_unsubscribe_person 0 parameters
kosmo integrations:schema delighted.delighted_unsubscribe_person --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_list_people 0 parameters
kosmo integrations:schema delighted.delighted_list_people --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_list_unsubscribes 0 parameters
kosmo integrations:schema delighted.delighted_list_unsubscribes --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_list_bounces 0 parameters
kosmo integrations:schema delighted.delighted_list_bounces --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_delete_person 0 parameters
kosmo integrations:schema delighted.delighted_delete_person --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_get_autopilot_email 0 parameters
kosmo integrations:schema delighted.delighted_get_autopilot_email --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_get_autopilot_sms 0 parameters
kosmo integrations:schema delighted.delighted_get_autopilot_sms --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_list_autopilot_email_memberships 0 parameters
kosmo integrations:schema delighted.delighted_list_autopilot_email_memberships --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_list_autopilot_sms_memberships 0 parameters
kosmo integrations:schema delighted.delighted_list_autopilot_sms_memberships --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_add_autopilot_email_membership 0 parameters
kosmo integrations:schema delighted.delighted_add_autopilot_email_membership --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_add_autopilot_sms_membership 0 parameters
kosmo integrations:schema delighted.delighted_add_autopilot_sms_membership --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_remove_autopilot_email_membership 0 parameters
kosmo integrations:schema delighted.delighted_remove_autopilot_email_membership --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_remove_autopilot_sms_membership 0 parameters
kosmo integrations:schema delighted.delighted_remove_autopilot_sms_membership --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_api_get 0 parameters
kosmo integrations:schema delighted.delighted_api_get --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_api_post 0 parameters
kosmo integrations:schema delighted.delighted_api_post --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
delighted.delighted_api_delete 0 parameters
kosmo integrations:schema delighted.delighted_api_delete --json | Parameter | Type | Required | Description |
|---|---|---|---|
| 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.