curl --request GET \
--url https://api.prod.usesimple.ai/api/v1/interactions \
--header 'Authorization: <api-key>'{
"interactions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"modality": "voice",
"status": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"transcripts": [
{
"text": "<string>",
"role": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"function_name": "<string>",
"arguments": {}
}
],
"language": "en",
"from_number": "<string>",
"to_number": "<string>",
"transferred": true,
"direction": "<string>",
"tags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"color": "<string>"
}
],
"ended_at": "2023-11-07T05:31:56Z",
"duration": 123,
"external_identifiers": {},
"params": {},
"recording_presigned_url": "<string>",
"answered_by": "voicemail",
"analyzers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prompt": "<string>",
"output_config": {
"type": "string",
"properties": {}
}
}
],
"analysis_results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"analyzer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prompt": "<string>",
"output_config": {},
"result": {}
}
],
"summary": {}
}
],
"total_count": 123,
"page": 123,
"page_size": 123,
"total_pages": 123,
"filters": {
"status": "<string>",
"modality": "voice",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transferred": true,
"created_at_gte": "2023-11-07T05:31:56Z",
"created_at_lte": "2023-11-07T05:31:56Z"
},
"sorting": {
"sort_by": "<string>",
"sort_direction": "<string>"
}
}List all interactions (calls and text conversations) with pagination and filtering
curl --request GET \
--url https://api.prod.usesimple.ai/api/v1/interactions \
--header 'Authorization: <api-key>'{
"interactions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"modality": "voice",
"status": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"transcripts": [
{
"text": "<string>",
"role": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"function_name": "<string>",
"arguments": {}
}
],
"language": "en",
"from_number": "<string>",
"to_number": "<string>",
"transferred": true,
"direction": "<string>",
"tags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"color": "<string>"
}
],
"ended_at": "2023-11-07T05:31:56Z",
"duration": 123,
"external_identifiers": {},
"params": {},
"recording_presigned_url": "<string>",
"answered_by": "voicemail",
"analyzers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prompt": "<string>",
"output_config": {
"type": "string",
"properties": {}
}
}
],
"analysis_results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"analyzer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prompt": "<string>",
"output_config": {},
"result": {}
}
],
"summary": {}
}
],
"total_count": 123,
"page": 123,
"page_size": 123,
"total_pages": 123,
"filters": {
"status": "<string>",
"modality": "voice",
"agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transferred": true,
"created_at_gte": "2023-11-07T05:31:56Z",
"created_at_lte": "2023-11-07T05:31:56Z"
},
"sorting": {
"sort_by": "<string>",
"sort_direction": "<string>"
}
}Filter by interaction status. Multiple values can be provided separated by commas.
Filter by interaction modality (voice or text)
voice, text Filter by agent group UUID. Returns interactions from all versions of the specified agent.
Filter by specific agent version UUID. Returns interactions from only the specified agent version.
Filter by whether the interaction was transferred
Filter interactions created at or after this datetime (ISO 8601 format)
Filter interactions created at or before this datetime (ISO 8601 format)
Field to sort results by
created_at, updated_at, started_at, ended_at, duration, status Sort direction
asc, desc Successful Response
Show child attributes
The modality of the interaction - voice calls or text conversations
voice, text The language to use for the call - English (en) or Spanish (es)
en, es, ar Indicates if the interaction was transferred
The direction of the interaction (inbound/outbound)
Presigned URL for the recording (for voice modality only)
Indicates how the call was answered - by a human, voicemail, or if there was no answer
voicemail, human, no_answer, unknown List of analyzers configured for this interaction
Show child attributes
Unique identifier for the analyzer
The prompt used for analysis
Configuration for the expected output format
Show child attributes
The type of output expected
string, boolean, datetime, object Results from analyzers that have completed
Show child attributes
Unique identifier for the analysis result
Identifier of the analyzer that produced this result
The prompt used for analysis
Configuration for the expected output format
The analysis result, structure depends on the output_config
The summary of the interaction if available
Show child attributes
voice, text Was this page helpful?