ChatMessageResponse
Fields
6 fields
content· required- string
created_at· required- object
id· required- string (uuid)
role· required- string
session_id· required- string (uuid)
sources- array of any or null
Raw schema (JSON)
{
"properties": {
"content": {
"title": "Content",
"type": "string"
},
"created_at": {
"title": "Created At"
},
"id": {
"format": "uuid",
"title": "Id",
"type": "string"
},
"role": {
"title": "Role",
"type": "string"
},
"session_id": {
"format": "uuid",
"title": "Session Id",
"type": "string"
},
"sources": {
"anyOf": [
{
"items": {},
"type": "array"
},
{
"type": "null"
}
],
"title": "Sources"
}
},
"required": [
"id",
"session_id",
"role",
"content",
"created_at"
],
"title": "ChatMessageResponse",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
GET/api/v1/chat/sessions/{session_id}/messages— Get Messages
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON