Skip to content

Obtener conversación con historial

GET
/api/chat/conversations/{conversation_id}

Devuelve los datos de una conversación y todos sus mensajes ordenados cronológicamente.

conversation_id
required
Conversation Id
string format: uuid
x-api-key
Any of:
string

Conversación con historial completo de mensajes

Response Get Conversation Api Chat Conversations Conversation Id Get
object
key
additional properties
any
Example
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"title": "Pendiente máxima de rampas",
"created_at": "16/03/2026 10:00:00",
"updated_at": "16/03/2026 14:30:00",
"messages": [
{
"id": "...",
"role": "user",
"content": "¿Cuál es la pendiente máxima?",
"referenced_blocks": [],
"created_at": "..."
},
{
"id": "...",
"role": "assistant",
"content": "Según el CTE DB-SUA...",
"referenced_blocks": [
"uuid1"
],
"created_at": "..."
}
]
}

API key inválida o ausente

Conversación no encontrada

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object