Use the Gong CLI from KosmoKrator to call Gong tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.
Gong can be configured headlessly with `kosmokrator integrations:configure gong`.
# 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 gong --set access_key="$GONG_ACCESS_KEY" --set access_key_secret="$GONG_ACCESS_KEY_SECRET" --enable --read allow --write ask --jsonkosmokrator integrations:doctor gong --jsonkosmokrator integrations:status --json
Credentials
Authentication type: API keyapi_key. Configure credentials once, then use the same stored profile from
scripts, coding CLIs, Lua code mode, and the MCP gateway.
Key
Env var
Type
Required
Label
access_key
GONG_ACCESS_KEY
Secret secret
yes
Access Key
access_key_secret
GONG_ACCESS_KEY_SECRET
Secret secret
yes
Access Key Secret
url
GONG_URL
URL url
no
Gong API URL
Call Gong 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 Gong.
gong.gong_list_calls
Read read
List call recordings from Gong. Filter by date range, participants, or other criteria. Returns call metadata including title, duration, participants, and timestamps.
List call transcripts from Gong. Filter by download date, call type, or status. Returns transcript metadata including call ID, language, and processing status.
List customer interactions tracked in Gong. Filter by date range, activity type, or participants. Returns interaction metadata including type, duration, and parties involved.
Use these parameter tables when building CLI payloads without calling integrations:schema first.
gong.gong_list_calls
List call recordings from Gong. Filter by date range, participants, or other criteria. Returns call metadata including title, duration, participants, and timestamps.
List call transcripts from Gong. Filter by download date, call type, or status. Returns transcript metadata including call ID, language, and processing status.
Start of date range in ISO 8601 format (e.g., "2025-01-01T00:00:00Z").
toDateTime
string
no
End of date range in ISO 8601 format (e.g., "2025-01-31T23:59:59Z").
pipelineId
string
no
Pipeline ID to filter deals by.
stageIds
array
no
Array of stage IDs to filter deals by.
cursor
string
no
Cursor for pagination — pass the value from a previous response to get the next page.
limit
integer
no
Maximum number of deals to return (default: 100).
gong.gong_list_interactions
List customer interactions tracked in Gong. Filter by date range, activity type, or participants. Returns interaction metadata including type, duration, and parties involved.
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.