For the complete documentation index, see llms.txt. This page is also available as Markdown.

Conversation

Can View Agent Trace Endpoint

get

Whether the caller's role can see the agent-trajectory trace tab.

Used by the FE to gate the power-user "Trace" tab/trigger in the source information drawer. Returns true for admins, "Power user", and any custom role with can_view_agent_trace=true.

Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Header parameters
authorizationstring · nullableOptional
Responses
200

Successful Response

application/json
canViewAgentTracebooleanRequired
get/api/v1/conversations/user/can-view-agent-trace
GET /api/v1/conversations/user/can-view-agent-trace HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "canViewAgentTrace": true
}

Export Chats

get
Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Query parameters
file_formatstringOptionalDefault: txt
Responses
200

Successful Response

application/json
anyOptional
get/api/v1/conversations/all/export
GET /api/v1/conversations/all/export HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

User Feedback By Qa Id

post
Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Path parameters
qa_idintegerRequired
Body
messagestringRequired
Responses
200

Successful Response

application/json
anyOptional
post/api/v1/conversations/{qa_id}/user_feedback
POST /api/v1/conversations/{qa_id}/user_feedback HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 18

{
  "message": "text"
}

No content

Archive Conversation

post

Archive a conversation by its ID.

Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Path parameters
conversation_idintegerRequired
Responses
200

Successful Response

application/json
anyOptional
post/api/v1/conversations/{conversation_id}/archive
POST /api/v1/conversations/{conversation_id}/archive HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Get Archived Conversations

get

Retrieve archived conversations for the authenticated user.

Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Responses
200

Successful Response

application/json
anyOptional
get/api/v1/conversations/archived_conversations
GET /api/v1/conversations/archived_conversations HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Successful Response

No content

Unarchive Conversation

post

Unarchive a conversation by its ID.

Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Path parameters
conversation_idintegerRequired
Responses
200

Successful Response

application/json
anyOptional
post/api/v1/conversations/{conversation_id}/unarchive
POST /api/v1/conversations/{conversation_id}/unarchive HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Delete Conversation

delete

Permanently delete a conversation by its ID, regardless of archive state.

Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Path parameters
conversation_idintegerRequired
Responses
200

Successful Response

application/json
anyOptional
delete/api/v1/conversations/{conversation_id}
DELETE /api/v1/conversations/{conversation_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Export Conversation By Id

get
Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Path parameters
conversation_idintegerRequired
Query parameters
file_formatstringOptionalDefault: txt
Responses
200

Successful Response

application/json
anyOptional
get/api/v1/conversations/{conversation_id}/export
GET /api/v1/conversations/{conversation_id}/export HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Export Memory Data

get

Download a previously agent-memory-stored dataset as a raw CSV/JSON/Excel file.

Bypasses the LLM entirely - serves exactly what a custom agent's tool function passed to Memory().store(..., exportable=True), with no reshaping. Only entries explicitly marked exportable at store time can be downloaded here, regardless of what any UI happens to show.

Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Path parameters
conversation_idintegerRequired
reference_idstringRequired
Query parameters
formatstringOptionalDefault: csvPattern: ^(csv|json|xlsx)$
Responses
200

Successful Response

application/json
anyOptional
get/api/v1/conversations/{conversation_id}/memory/{reference_id}/export
GET /api/v1/conversations/{conversation_id}/memory/{reference_id}/export HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Get All Conversations By Project Id

get
Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Path parameters
project_idintegerRequired
Header parameters
authorizationstring · nullableOptional
Responses
200

Successful Response

application/json
anyOptional
get/api/v1/conversations/all/{project_id}
GET /api/v1/conversations/all/{project_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Last updated