To continue an existing chat

Use this API to continue an existing new chat conversation using the Rolkol Chat Agent from your backend using an existing conversationId

POST https://api.rolkol.com/api/v1/chatbot/

To maintain context within an ongoing interaction, the API accepts either a conversationId or userIdentifier. Providing one of these identifiers enables the system to access the historical context of the user's previous exchanges with the AI. This contextual awareness is crucial as it allows the AI to generate responses that are more accurate and relevant to the user's ongoing conversation thread.

HEADERS

Parameter
Type
Description

x-api-key

String

API key associated with your project

required

Request Body

Sample Request
Parameter
Type
Description

assistantId

String

The UUID associated with an assistant.

required

workspaceId

String

The UUID associated with a workspace.

required

conversationId

String

Parameter to identify a conversation.

required

question

String

The question to be submitted to the LLM.

required

Response Body

Sample Response
Parameter
Type
Description

response

String

The response generated by the AI.

conversationId

String

The ID associated with the conversation.

Last updated