Skip to main content
GET
Get a conversation by ID

Authorizations

x-api-key
string
header
required

Contact your PolyAI representative.

Path Parameters

agentId
string
required

Agent ID.

conversationId
string
required

Unique conversation ID.

Response

Successful response

Full details for a single conversation, including its turns, custom metrics, and function events.

conversationId
string
required

Unique ID for this conversation.

Example:

"CAabcd1234567abcdef1250065d4fc7389"

accountId
string
required

ID of the customer account this conversation is under.

projectId
string
required

ID of the project this conversation is under.

createdAt
string<date-time> | null
startedAt
string<date-time> | null
finishedAt
string<date-time> | null
channel
string | null

Conversation medium (e.g. WEBCHAT, VOICE-SIP).

fromNumber
string | null

Caller phone number.

toNumber
string | null

Agent phone number.

language
string | null

Conversation language code.

variantId
string | null

Variant ID the conversation ran in.

clientEnv
string | null

Client environment (sandbox, pre-release, or live).

totalDuration
integer | null

Total call duration in seconds.

polyaiDuration
integer | null

PolyAI-handled duration in seconds.

duration
integer | null

Duration in seconds.

inProgress
boolean | null

Whether the conversation is still in progress.

handoff
boolean | null

Whether handoff occurred.

handoffDestination
string | null

If multiple handoff destinations exist, which one was used.

handoffReason
string | null

Brief handoff reason.

direction
string | null

Call direction (e.g. inbound, outbound).

tags
string[]

Tags applied to the conversation.

polyScore
number | null

PolyScore quality measure.

polyScoreV2
number | null

PolyScore on the 1-5 scale.

customScores
object[] | null

Results for the project's AI Scores, sorted by name. An AI Score that was never run on this conversation has no entry. One that ran but was skipped or failed has an entry with that state and a null score.

shortSummary
object | null

Short structured summary of the conversation.

deploymentId
string | null

Deployment ID.

note
string | null

Free-text note saved on the conversation.

audioUrl
string | null

Relative path to the conversation recording, for example conversations/{conversationId}/audio.

turns
object[] | null

Ordered list of conversation turns.

metrics
object | null

Custom metrics recorded for the conversation, keyed by metric name.

functionEvents
object | null

Function events that occurred during the conversation, keyed by zero-based turn index.

Last modified on November 24, 2026