Get Conversation
Retrieves the messages for a specific conversation.
- URL:
/process/get_conversation
- Method: POST
- Headers:
- Content-Type: application/json
- X-API-Key: YOUR_API_KEY_HERE
- Body:
- uuid: string (required)
Example Request
import requests
BASE_URL = "https://advantar.ai/process"
API_KEY = "YOUR_API_KEY_HERE"
headers = {
"Content-Type": "application/json",
"X-API-Key": API_KEY
}
data =
response = requests.post(
f"{BASE_URL}/process/get_conversation",
headers=headers,
json=data
)
print(response.json())
Example Response
{
"status": "success",
"conversation": [
{ "role": "user", "content": "Hello" },
{ "role": "assistant", "content": "Hi there! How can I help you today?" }
],
"user_id": "user123"
}