List chat sessions
GET
/api/v2/chat/sessions/
const url = 'https://api.full-fill.ai/api/v2/chat/sessions/';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/ \ --header 'X-API-Key: <X-API-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”page
integer
A page number within the paginated result set.
page_size
integer
Number of results to return per page.
search
string
A search term.
Responses
Section titled “Responses”object
count
required
integer
next
string format: uri
previous
string format: uri
results
required
Array<object>
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
{ "count": 123, "next": "http://api.example.org/accounts/?page=4", "previous": "http://api.example.org/accounts/?page=2", "results": [ { "title": "New Chat", "message_count": 0, "messages": [ { "sender": "user" } ] } ]}object
count
required
integer
Example
123next
string format: uri
Example
http://api.example.org/accounts/?page=4previous
string format: uri
Example
http://api.example.org/accounts/?page=2results
required
Array<object>
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