Skip to content

HighLevel: List Call Logs

HighLevel voiceAi.getCallLogs: arguments, response, policy and SDK examples.

← Voice AI operations · Get started

Operation gohighlevel.get_call_logs

Provider route: GET /voice-ai/dashboard/call-logs. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/gohighlevel with npm, or alter-sdk-gohighlevel with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { HighLevelIntegration } from "@alter-ai/gohighlevel";
async function execute(input: Parameters<HighLevelIntegration["voiceAi"]["getCallLogs"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new HighLevelIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.voiceAi.getCallLogs(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_gohighlevel import HighLevelIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = HighLevelIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.voice_ai.get_call_logs(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
queryobjectRequired within parentAdditional keys: not allowed
query.locationIdstringRequired within parent
query.agentIdstringOptional
query.contactIdstringOptional
query.callTypestringOptionalOne of: LIVE, TRIAL
query.startDatenumberOptional
query.endDatenumberOptional
query.actionTypestringOptionalOne of: CALL_TRANSFER, DATA_EXTRACTION, IN_CALL_DATA_EXTRACTION, WORKFLOW_TRIGGER, SMS, APPOINTMENT_BOOKING, CUSTOM_ACTION, KNOWLEDGE_BASE
query.sortBystringOptionalOne of: duration, createdAt
query.sortstringOptionalOne of: ascend, descend
query.pagenumberOptionalDefault: 1
query.pageSizenumberOptionalDefault: 10

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$ModelRootExpand List Call Logs — response body

Referenced models: List Call Logs — response body

7 more schemas are linked from the tables above, on the schema pages.

List Call Logs — response body
FieldTypePresenceDescription and constraints
$objectRoot
callLogsarrayRequired within parentArray of call logs
callLogs[]ModelEach itemExpand List Call Logs — response body — call Logs item
pageJSONRequired within parent
page (anyOf 1)numberAlternativePage number starting from 1
page (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
pageSizeJSONRequired within parent
pageSize (anyOf 1)numberAlternativeNumber of items per page
pageSize (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
totalJSONRequired within parent
total (anyOf 1)numberAlternativeTotal number of items
total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: List Call Logs — response body — call Logs item

List Call Logs — response body — call Logs item
FieldTypePresenceDescription and constraints
$objectRoot
agentIdstringRequired within parentAgent ID associated with the call
contactIdstringOptionalAssociated contact ID
createdAtstringRequired within parentTimestamp when the call was created
Format: date-time
durationJSONRequired within parent
duration (anyOf 1)numberAlternativeCall duration in seconds
duration (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
executedCallActionsarrayRequired within parentActions performed during the call. Note: The APPOINTMENT_BOOKING action will only be visible in executedCallActions from Sep 9th 2025.
executedCallActions[]ModelEach itemExpand List Call Logs — response body — call Logs item executed Call Actions item
extractedDataJSONOptionalDynamic data extracted from the call based on agent configuration
Additional keys: allowed
extractedData (allOf 1)ModelAll variants applyExpand Delete Event — request body — body
fromNumberstringOptionalCaller phone number
idstringRequired within parentUnique identifier for the call
isAgentDeletedbooleanRequired within parentWhether the agent is deleted
messageIdstringOptionalMessage identifier associated with the call
summarystringRequired within parentCall summary
transcriptstringRequired within parentCall transcript
translationJSONOptionalTranscript translation details
translation (allOf 1)ModelAll variants applyExpand Patch Agent — response body — translation enabled, language
trialCallbooleanRequired within parentWhether this call was a trial call

Referenced models: Delete Event — request body — body, List Call Logs — response body — call Logs item executed Call Actions item, Patch Agent — response body — translation enabled, language

Delete Event — request body — body
FieldTypePresenceDescription and constraints
$objectRoot
List Call Logs — response body — call Logs item executed Call Actions item
FieldTypePresenceDescription and constraints
$objectRoot
actionIdstringOptionalAction ID reference
actionNamestringRequired within parentAction name
actionParametersJSONOptionalAction parameters - structure varies by actionType
actionParameters (anyOf 1)ModelAlternativeExpand List Agents — voiceAi.getAgents — response body — agents / item / actions / item / actionParameters / transferToType: number
actionParameters (anyOf 2)ModelAlternativeExpand List Agents — voice Ai get Agents — response body — agents item actions item action Parameters contact Field Id, description, examples, overwrite Existing Value
actionParameters (anyOf 3)ModelAlternativeExpand List Agents — voice Ai get Agents — response body — agents item actions item action Parameters contact Field Id, description, examples, overwrite Existing Value
actionParameters (anyOf 4)ModelAlternativeExpand List Agents — voice Ai get Agents — response body — agents item actions item action Parameters trigger Message, trigger Prompt, workflow Id
actionParameters (anyOf 5)ModelAlternativeExpand List Agents — voice Ai get Agents — response body — agents item actions item action Parameters message Body, trigger Message, trigger Prompt
actionParameters (anyOf 6)ModelAlternativeExpand List Agents — voice Ai get Agents — response body — agents item actions item action Parameters calendar Id, days Of Offering Dates, hours Between Slots, slots Per Day
actionParameters (anyOf 7)ModelAlternativeExpand List Agents — voice Ai get Agents — response body — agents item actions item action Parameters api Details, selected Paths, trigger Message, trigger Prompt
actionParameters (anyOf 8)ModelAlternativeExpand List Agents — voice Ai get Agents — response body — agents item actions item action Parameters knowledge Base Id, trigger Prompt
actionTypestringRequired within parentAction type
Known values: CALL_TRANSFER, DATA_EXTRACTION, IN_CALL_DATA_EXTRACTION, WORKFLOW_TRIGGER, SMS, APPOINTMENT_BOOKING, CUSTOM_ACTION, KNOWLEDGE_BASE
executedAtstringOptionalWhen the action was executed
Format: date-time
triggerReceivedAtstringOptionalWhen the trigger was received
Format: date-time

Referenced models: List Agents — voice Ai get Agents — response body — agents item actions item action Parameters contact Field Id, description, examples, overwrite Existing Value, List Agents — voice Ai get Agents — response body — agents item actions item action Parameters knowledge Base Id, trigger Prompt, List Agents — voice Ai get Agents — response body — agents item actions item action Parameters calendar Id, days Of Offering Dates, hours Between Slots, slots Per Day, List Agents — voiceAi.getAgents — response body — agents / item / actions / item / actionParameters / transferToType: number, List Agents — voice Ai get Agents — response body — agents item actions item action Parameters api Details, selected Paths, trigger Message, trigger Prompt, List Agents — voice Ai get Agents — response body — agents item actions item action Parameters message Body, trigger Message, trigger Prompt, List Agents — voice Ai get Agents — response body — agents item actions item action Parameters trigger Message, trigger Prompt, workflow Id

Patch Agent — response body — translation enabled, language
FieldTypePresenceDescription and constraints
$objectRoot
enabledbooleanOptionalWhether translation is enabled
languagestringOptionalTranslation language code
List Agents — voice Ai get Agents — response body — agents item actions item action Parameters contact Field Id, description, examples, overwrite Existing Value
FieldTypePresenceDescription and constraints
$objectRoot
contactFieldIdstringRequired within parentID of the contact field to be updated with the extracted data
descriptionstringRequired within parentDescription of what data to extract
examplesarrayRequired within parentExample values to help Agent understand the expected format. At least one example is required, maximum 5 examples allowed.
examples[]stringEach item
overwriteExistingValuebooleanOptionalWhether to overwrite existing field value if already set, default is false
Default: false
List Agents — voice Ai get Agents — response body — agents item actions item action Parameters knowledge Base Id, trigger Prompt
FieldTypePresenceDescription and constraints
$objectRoot
knowledgeBaseIdstringRequired within parentKnowledge base ID to query
triggerPromptstringRequired within parentWhen to query the knowledge base
List Agents — voice Ai get Agents — response body — agents item actions item action Parameters message Body, trigger Message, trigger Prompt
FieldTypePresenceDescription and constraints
$objectRoot
messageBodystringRequired within parentSMS message content to send
triggerMessagestringRequired within parentMessage to tell the caller
triggerPromptstringRequired within parentWhen to send the SMS

SDK function policy ID: gohighlevel.get_call_logs. Catalog operation: get-call-logs. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Required provider scopes: ["voice-ai-dashboard.readonly"]

Pinned headers: {"Version": "v3"}

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.