Get a conversation
Returns one Conversation under conversations:read and channels:read. Messages, Facts, and participants require their additional permissions; the operation is side-effect free and retry-safe.
curl --request GET \
--url https://api.getarbol.com/v1/conversations/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getarbol.com/v1/conversations/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getarbol.com/v1/conversations/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"agentId": "agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31",
"channelKind": "voice",
"closeReason": "completed",
"contactId": "agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31",
"createdAt": "2026-08-29T14:30:00Z",
"direction": "inbound",
"durationSeconds": 4503599627370495,
"endedAt": "2026-08-29T14:30:00Z",
"id": "agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31",
"language": "<string>",
"lastMessageAt": "2026-08-29T14:30:00Z",
"messageCount": 4503599627370495,
"originKind": "manual",
"outcome": "success",
"sentiment": "neutral",
"startedAt": "2026-08-29T14:30:00Z",
"status": "open",
"subjectContactId": "agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31",
"summary": "<string>",
"title": "<string>",
"updatedAt": "2026-08-29T14:30:00Z",
"lineAddress": "<string>",
"facts": [
{
"confidence": 0.5,
"definition": {
"description": "<string>",
"id": "agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31",
"identifier": "<string>",
"kind": "attribute",
"subjectKind": "contact",
"valueType": "option"
},
"id": "agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31",
"observedAt": "2026-08-29T14:30:00Z",
"reason": "<string>",
"recordedAt": "2026-08-29T14:30:00Z",
"setBy": "user",
"subject": {
"id": "agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31",
"type": "contact"
},
"value": {
"type": "text",
"value": "<string>"
},
"verificationStatus": "unreviewed"
}
],
"messages": [
{
"content": "<string>",
"contentFormat": "text",
"id": "agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31",
"occurredAt": "2026-08-29T14:30:00Z",
"payload": {
"interrupted": true,
"latency": {
"e2eMs": 4503599627370495,
"llmMs": 4503599627370495,
"llmTtfbMs": 4503599627370495,
"sttMs": 4503599627370495,
"ttsMs": 4503599627370495
},
"source": {
"hasMedia": true,
"kind": "text",
"transcribed": true
},
"sourceMedium": "<string>",
"tool": {
"name": "<string>",
"status": "completed",
"input": "<string>",
"latencyMs": 4503599627370495,
"output": "<string>",
"truncated": true
}
},
"role": "contact",
"seq": 4503599627370495
}
],
"participants": [
{
"contactId": "agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31",
"name": "<string>",
"phone": "<string>",
"roles": [
"caller"
]
}
]
}{
"defined": true,
"inferable": true,
"code": "BAD_REQUEST",
"status": 400,
"message": "<string>",
"data": {
"issues": [
{
"code": "custom",
"message": "<string>",
"path": [
"<string>"
]
}
],
"truncated": true
}
}{
"defined": true,
"inferable": true,
"code": "UNAUTHORIZED",
"status": 401,
"message": "<string>",
"data": "<unknown>"
}{
"defined": true,
"inferable": true,
"code": "FORBIDDEN",
"status": 403,
"message": "<string>",
"data": {
"missingPermissions": [
"agents:read"
]
}
}{
"defined": true,
"inferable": true,
"code": "NOT_FOUND",
"status": 404,
"message": "<string>",
"data": "<unknown>"
}Authorizations
Organization-scoped Auth0 user access token issued to an approved first-party client or exchanged by a trusted OBO resource server.
Path Parameters
Opaque Arbol resource identifier; the endpoint and tenant-scoped lookup determine its resource type.
64^[a-z][a-z0-9]{1,15}_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31"
Query Parameters
3messages, participants, facts Response
OK
Opaque Arbol resource identifier; the endpoint and tenant-scoped lookup determine its resource type.
64^[a-z][a-z0-9]{1,15}_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31"
Conversation transport family.
voice, whatsapp, web "voice"
Reason recorded when a Conversation enters its closed state.
completed, inactivity, handoff, provider_migration, error, manual "completed"
Opaque Arbol resource identifier; the endpoint and tenant-scoped lookup determine its resource type.
64^[a-z][a-z0-9]{1,15}_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31"
ISO 8601 timestamp with an explicit UTC offset.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$"2026-08-29T14:30:00Z"
Direction of a Conversation relative to the organization.
inbound, outbound "inbound"
0 <= x <= 9007199254740991ISO 8601 timestamp with an explicit UTC offset.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$"2026-08-29T14:30:00Z"
Opaque Arbol resource identifier; the endpoint and tenant-scoped lookup determine its resource type.
64^[a-z][a-z0-9]{1,15}_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31"
35ISO 8601 timestamp with an explicit UTC offset.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$"2026-08-29T14:30:00Z"
0 <= x <= 9007199254740991Source that created the Conversation record.
inbound, manual, automation, import, test "manual"
Success evaluation aggregated from the applicable Conversation assessment criteria.
success, failure, unknown "success"
Coarse sentiment assigned to a Conversation.
positive, neutral, negative "neutral"
ISO 8601 timestamp with an explicit UTC offset.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$"2026-08-29T14:30:00Z"
Durable lifecycle state of a Conversation.
open, closed "open"
Opaque Arbol resource identifier; the endpoint and tenant-scoped lookup determine its resource type.
64^[a-z][a-z0-9]{1,15}_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31"
8000Display title. Non-test messaging conversations receive an early channel fallback, refined from the first substantive inbound; closure analysis may enrich it. Explicit human titles are preserved.
500ISO 8601 timestamp with an explicit UTC offset.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$"2026-08-29T14:30:00Z"
The organization's own address on this channel, when known.
320100Show child attributes
Show child attributes
1000Show child attributes
Show child attributes
20Show child attributes
Show child attributes
curl --request GET \
--url https://api.getarbol.com/v1/conversations/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getarbol.com/v1/conversations/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getarbol.com/v1/conversations/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"agentId": "agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31",
"channelKind": "voice",
"closeReason": "completed",
"contactId": "agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31",
"createdAt": "2026-08-29T14:30:00Z",
"direction": "inbound",
"durationSeconds": 4503599627370495,
"endedAt": "2026-08-29T14:30:00Z",
"id": "agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31",
"language": "<string>",
"lastMessageAt": "2026-08-29T14:30:00Z",
"messageCount": 4503599627370495,
"originKind": "manual",
"outcome": "success",
"sentiment": "neutral",
"startedAt": "2026-08-29T14:30:00Z",
"status": "open",
"subjectContactId": "agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31",
"summary": "<string>",
"title": "<string>",
"updatedAt": "2026-08-29T14:30:00Z",
"lineAddress": "<string>",
"facts": [
{
"confidence": 0.5,
"definition": {
"description": "<string>",
"id": "agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31",
"identifier": "<string>",
"kind": "attribute",
"subjectKind": "contact",
"valueType": "option"
},
"id": "agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31",
"observedAt": "2026-08-29T14:30:00Z",
"reason": "<string>",
"recordedAt": "2026-08-29T14:30:00Z",
"setBy": "user",
"subject": {
"id": "agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31",
"type": "contact"
},
"value": {
"type": "text",
"value": "<string>"
},
"verificationStatus": "unreviewed"
}
],
"messages": [
{
"content": "<string>",
"contentFormat": "text",
"id": "agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31",
"occurredAt": "2026-08-29T14:30:00Z",
"payload": {
"interrupted": true,
"latency": {
"e2eMs": 4503599627370495,
"llmMs": 4503599627370495,
"llmTtfbMs": 4503599627370495,
"sttMs": 4503599627370495,
"ttsMs": 4503599627370495
},
"source": {
"hasMedia": true,
"kind": "text",
"transcribed": true
},
"sourceMedium": "<string>",
"tool": {
"name": "<string>",
"status": "completed",
"input": "<string>",
"latencyMs": 4503599627370495,
"output": "<string>",
"truncated": true
}
},
"role": "contact",
"seq": 4503599627370495
}
],
"participants": [
{
"contactId": "agt_018f47a2-4f4d-7d61-9e2c-1d7b8e9a0c31",
"name": "<string>",
"phone": "<string>",
"roles": [
"caller"
]
}
]
}{
"defined": true,
"inferable": true,
"code": "BAD_REQUEST",
"status": 400,
"message": "<string>",
"data": {
"issues": [
{
"code": "custom",
"message": "<string>",
"path": [
"<string>"
]
}
],
"truncated": true
}
}{
"defined": true,
"inferable": true,
"code": "UNAUTHORIZED",
"status": 401,
"message": "<string>",
"data": "<unknown>"
}{
"defined": true,
"inferable": true,
"code": "FORBIDDEN",
"status": 403,
"message": "<string>",
"data": {
"missingPermissions": [
"agents:read"
]
}
}{
"defined": true,
"inferable": true,
"code": "NOT_FOUND",
"status": 404,
"message": "<string>",
"data": "<unknown>"
}