Retrieve conversation metadata
curl --request GET \
--url https://julian.11x.ai/api/v1/conversations/metadata/{sequenceId} \
--header 'x-api-key: <api-key>'import requests
url = "https://julian.11x.ai/api/v1/conversations/metadata/{sequenceId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://julian.11x.ai/api/v1/conversations/metadata/{sequenceId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"sequenceId": "call-sequence.abc123",
"metadata": [
{
"agentId": "agent.abc123",
"agentName": "Inbound Agent",
"callId": "call.abc123",
"name": "Victor Wembly",
"phoneNumber": "+15551234567",
"phoneNumberExt": "<string>",
"fromPhoneNumber": "<string>",
"scheduledAt": "2023-11-07T05:31:56Z",
"timezone": "Europe/London",
"direction": "outbound",
"customInputVariables": {},
"duration": 123,
"callUrl": "<string>",
"rescheduledAt": "2023-11-07T05:31:56Z",
"callResult": {
"resultType": "Goal Completed",
"summary": "<string>",
"extractedVariables": {},
"agentActions": [
{
"description": "Scheduled follow-up meeting",
"status": "completed",
"actionKey": "schedule_meeting",
"completedAt": "<string>",
"metadata": {}
}
],
"humanActions": [
{
"description": "Scheduled follow-up meeting",
"status": "completed",
"actionKey": "schedule_meeting",
"completedAt": "<string>",
"metadata": {}
}
],
"transcription": "<string>",
"outcomes": [
{
"name": "interested",
"reasoning": "Customer expressed interest in the product"
}
],
"followUpMeetingDetails": {
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"hostEmail": "[email protected]",
"meetingLink": "<string>"
}
},
"crmSchedulingDetails": {},
"sequence": {
"sequenceId": "call-sequence.xyz123",
"lifecycleStatus": "done"
},
"promptVersionId": "prompt-ver.abc123",
"attempt": 1,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"callStatus": "goal-not-completed",
"recordingUrl": "<string>"
}
]
}Conversation Metadata
Retrieve conversation metadata
Retrieve metadata for every call step in a conversation sequence, returned at conversation-sequence grain with one metadata object per call step. Set includeRecording=true to include a signed recording URL when one is available — recording URLs are opt-in because they are signed and may include sensitive call audio.
GET
/
conversations
/
metadata
/
{sequenceId}
Retrieve conversation metadata
curl --request GET \
--url https://julian.11x.ai/api/v1/conversations/metadata/{sequenceId} \
--header 'x-api-key: <api-key>'import requests
url = "https://julian.11x.ai/api/v1/conversations/metadata/{sequenceId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://julian.11x.ai/api/v1/conversations/metadata/{sequenceId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"sequenceId": "call-sequence.abc123",
"metadata": [
{
"agentId": "agent.abc123",
"agentName": "Inbound Agent",
"callId": "call.abc123",
"name": "Victor Wembly",
"phoneNumber": "+15551234567",
"phoneNumberExt": "<string>",
"fromPhoneNumber": "<string>",
"scheduledAt": "2023-11-07T05:31:56Z",
"timezone": "Europe/London",
"direction": "outbound",
"customInputVariables": {},
"duration": 123,
"callUrl": "<string>",
"rescheduledAt": "2023-11-07T05:31:56Z",
"callResult": {
"resultType": "Goal Completed",
"summary": "<string>",
"extractedVariables": {},
"agentActions": [
{
"description": "Scheduled follow-up meeting",
"status": "completed",
"actionKey": "schedule_meeting",
"completedAt": "<string>",
"metadata": {}
}
],
"humanActions": [
{
"description": "Scheduled follow-up meeting",
"status": "completed",
"actionKey": "schedule_meeting",
"completedAt": "<string>",
"metadata": {}
}
],
"transcription": "<string>",
"outcomes": [
{
"name": "interested",
"reasoning": "Customer expressed interest in the product"
}
],
"followUpMeetingDetails": {
"startTime": "2023-11-07T05:31:56Z",
"endTime": "2023-11-07T05:31:56Z",
"hostEmail": "[email protected]",
"meetingLink": "<string>"
}
},
"crmSchedulingDetails": {},
"sequence": {
"sequenceId": "call-sequence.xyz123",
"lifecycleStatus": "done"
},
"promptVersionId": "prompt-ver.abc123",
"attempt": 1,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"callStatus": "goal-not-completed",
"recordingUrl": "<string>"
}
]
}Authorizations
Organization API key. Get it from the 11x team or from the platform.
Path Parameters
ID of the conversation sequence, e.g. call-sequence.abc123.
Query Parameters
When set to true, includes a signed recordingUrl on each metadata object when available. Any value other than true defaults to false. Matching is case-insensitive.