Get chat session with messages
GET
/api/v2/chat/sessions/{id}/
const url = 'https://api.full-fill.ai/api/v2/chat/sessions/1/';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.full-fill.ai/api/v2/chat/sessions/1/ \ --header 'X-API-Key: <X-API-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
integer
A unique integer value identifying this chat session.
Responses
Section titled “Responses”Serializer for session list (lightweight).
object
id
integer
title
Auto-generated from first message or user-customizable
string
created_at
string format: date-time
updated_at
For sorting by most recent activity
string format: date-time
is_archived
For soft deletion
boolean
message_count
integer
last_message
object
key
additional properties
messages
Array<object>
object
id
integer
sender
user- Userassistant- Assistant
string
content
The message text
string
created_at
string format: date-time
is_edited
boolean
metadata
Store source info, confidence, etc.
sources
Array<object>
object
id
integer
type
string
relevance_score
required
Vector similarity score
number format: double
content
string
source_file
string
page_number
integer
context_header
string
source_url
string
Example
{ "title": "New Chat", "message_count": 0, "messages": [ { "sender": "user" } ]}Serializer for session list (lightweight).
object
id
integer
title
Auto-generated from first message or user-customizable
string
created_at
string format: date-time
updated_at
For sorting by most recent activity
string format: date-time
is_archived
For soft deletion
boolean
message_count
integer
last_message
object
key
additional properties
messages
Array<object>
object
id
integer
sender
user- Userassistant- Assistant
string
content
The message text
string
created_at
string format: date-time
is_edited
boolean
metadata
Store source info, confidence, etc.
sources
Array<object>
object
id
integer
type
string
relevance_score
required
Vector similarity score
number format: double
content
string
source_file
string
page_number
integer
context_header
string
source_url
string