GEThttps://core-api.heysadie.ai/calls/export
assistantId status dateFrom dateTo durationMin durationMax search success data calls id cid type startedAt endedAt orgId cost customerNumber endedReason supervisorAnswered callDuration assistantName createdAt updatedAt metadata timestamp version path error code message details fieldExport calls
Try it in the API ExplorerExample request
curl "https://core-api.heysadie.ai/calls/export" \
-H "Authorization: ApiKey YOUR_API_KEY"Authentication
Authenticate with an API key in the Authorization header using the ApiKey scheme — see Authentication for how keys work and where to get them.
AuthorizationstringrequiredAPI key in the ApiKey scheme: ApiKey YOUR_API_KEY. Tenant keys authorize their own tenant; organization keys can act on any tenant in the organization.
X-Tenant-Idstring (uuid)optionalRequired when authenticating with an organization key — selects the tenant the request acts on. Omit with tenant keys.
Request
Query parameters
assistantIdstringoptionalFilter by assistant ID (UUID)
statusstringoptionalFilter by call status
dateFromstringoptionalFilter calls started at or after this ISO datetime
dateTostringoptionalFilter calls started at or before this ISO datetime
durationMinstringoptionalFilter calls with duration >= this value (seconds)
durationMaxstringoptionalFilter calls with duration <= this value (seconds)
searchstringoptionalFree-text search across customer number and assistant name
Responses
successbooleanrequireddataobjectoptionalShow 1 child properties
callsobject[]requiredExported calls
Show 16 item properties
idstringrequiredcidstring | nulloptionalProvider call identifier (LiveKit). Correlates this call with performance metrics and session insights.
typestring | nullrequiredstartedAtstring (date-time) | string (date) | number | nullrequiredendedAtstring (date-time) | string (date) | number | nullrequiredorgIdstring | nullrequiredcostnumber | nullrequiredcustomerNumberstring | nullrequiredstatusstring | nullrequiredendedReasonstring | nullrequiredsupervisorAnsweredboolean | nulloptionalcallDurationnumber | nullrequiredassistantIdstring | nullrequiredassistantNamestring | nullrequiredcreatedAtstring (date-time) | string (date) | number | nullrequiredupdatedAtstring (date-time) | string (date) | number | nullrequiredmetadataobjectoptionalShow 3 child properties
timestampstringrequiredversionstringrequiredpathstringoptional400
successbooleanrequirederrorobjectoptionalShow 3 child properties
codeenumrequired"VALIDATION_ERROR"messagestringrequireddetailsobject[]optionalShow 2 item properties
fieldstringrequiredmessagestringrequiredmetadataobjectoptionalShow 3 child properties
timestampstringrequiredversionstringrequiredpathstringoptional401
successbooleanrequirederrorobjectoptionalShow 2 child properties
codeenumrequired"UNAUTHORIZED"messagestringrequiredmetadataobjectoptionalShow 3 child properties
timestampstringrequiredversionstringrequiredpathstringoptional403
successbooleanrequirederrorobjectoptionalShow 2 child properties
codeenumrequired"FORBIDDEN"messagestringrequiredmetadataobjectoptionalShow 3 child properties
timestampstringrequiredversionstringrequiredpathstringoptional404
successbooleanrequirederrorobjectoptionalShow 2 child properties
codeenumrequired"RESOURCE_NOT_FOUND"messagestringrequiredmetadataobjectoptionalShow 3 child properties
timestampstringrequiredversionstringrequiredpathstringoptional500
successbooleanrequirederrorobjectoptionalShow 2 child properties
codeenumrequired"INTERNAL_SERVER_ERROR"messagestringrequiredmetadataobjectoptionalShow 3 child properties
timestampstringrequiredversionstringrequiredpathstringoptional