Get a conversation
const url = 'https://client-api.abi.ai/v2/health-navigator/conversations/01HK8GGQ123456789ABCDEFGHI';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://client-api.abi.ai/v2/health-navigator/conversations/01HK8GGQ123456789ABCDEFGHI \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Health Navigator conversation session identifier.
Example
01HK8GGQ123456789ABCDEFGHIResponses
Section titled “Responses”Conversation history returned in message order.
object
Abi user identifier.
Conversation session identifier.
Current conversation lifecycle status.
Ordered messages belonging to this conversation session.
object
ULID message identifier.
Conversation identifier.
Sender role.
Message content composed of ordered parts.
object
Ordered text, actionable, resource, image, location, audio, video, or file parts.
A text message part.
object
Text to display.
An actionable part. The wire format uses type: action.
object
An Actionable suggested by Health Navigator or supplied by the user.
object
Actionable category.
Configured actionable identifier.
Role that supplied the actionable.
Configured actionable domain.
Optional URL for additional context or redirection.
Optional call-to-action label for client rendering.
Optional data for the client workflow.
object
Optional effects to apply after the actionable is handled.
object
object
A supporting information resource.
object
Supporting information associated with a message.
object
Resource title.
URL where the resource can be accessed.
Optional resource description or preview.
An image part.
object
A location part.
object
object
An audio part.
object
A video part.
object
A downloadable file part.
object
Parent message identifier for a threaded reply.
Example
{ "userId": "abi12345", "sessionId": "01HK8GGQ123456789ABCDEFGHI", "sessionStatus": "OPEN", "messages": [ { "messageId": "01K9F5PWBM2AFT1RG7TMN3YG1R", "conversationId": "01HK8GGQ123456789ABCDEFGHI", "role": "user", "content": { "type": "message", "parts": [ { "type": "text", "text": "I have a headache and a sore throat." } ] }, "createdAt": "2025-08-28T10:12:30.000Z" } ], "createdAt": "2025-08-28T10:12:00.000Z", "updatedAt": "2025-08-28T10:13:04.000Z"}Request could not be completed.
object
Short machine-readable error code.
Human-readable explanation of the error.
Examplegenerated
{ "code": "example", "message": "example"}