curl --request GET \
--url https://api.avidoai.com/v1/conversations/{id} \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>'{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2024-01-05T12:34:56.789Z",
"modifiedAt": "2024-01-05T12:34:56.789Z",
"messages": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2024-01-05T12:34:56.789Z",
"modifiedAt": "2024-01-05T12:34:56.789Z",
"conversationId": "123e4567-e89b-12d3-a456-426614174000",
"sequence": 0,
"role": "USER",
"parts": [
{
"type": "text",
"text": "Hello, how can I help you?"
}
]
}
],
"quickstartId": "123e4567-e89b-12d3-a456-426614174000"
}
}Retrieves a single conversation by ID, including its messages.
curl --request GET \
--url https://api.avidoai.com/v1/conversations/{id} \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>'{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2024-01-05T12:34:56.789Z",
"modifiedAt": "2024-01-05T12:34:56.789Z",
"messages": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2024-01-05T12:34:56.789Z",
"modifiedAt": "2024-01-05T12:34:56.789Z",
"conversationId": "123e4567-e89b-12d3-a456-426614174000",
"sequence": 0,
"role": "USER",
"parts": [
{
"type": "text",
"text": "Hello, how can I help you?"
}
]
}
],
"quickstartId": "123e4567-e89b-12d3-a456-426614174000"
}
}Your unique Avido API key
Your unique Avido Application ID
The unique identifier of the conversation
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"123e4567-e89b-12d3-a456-426614174000"
Successfully retrieved conversation
Response containing a single conversation with messages
A conversation with its messages included
Show child attributes