Conversations
Conversation, category, and category element related APIs
This API allows you to list conversations sorted by last chat time in descending order.
Headers
API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.
AGENT-EMAIL (string, optional): The email address of the agent performing the API call.
USER-EMAIL (string, optional): The email address to associate with the user.
OWN-USER-ID (string, optional): The user ID to identify or create a user.
Query Parameters
userIds (array[string], optional): Filter by user IDs.
llmAppId (string, optional): Filter by LLM app ID.
categoryId (string, optional): Filter by category ID.
searchTerm (string, optional): Search term to filter conversations.
startedAt (number, optional): Filter by last chat time after this timestamp.
endAt (number, optional): Filter by last chat time before this timestamp.
firstChatStartedAt (number, optional): Filter by first chat time after this timestamp.
firstChatEndAt (number, optional): Filter by first chat time before this timestamp.
activeOnly (boolean, optional): If true, only active conversations. Defaults to false.
backgroundRunning (boolean, optional): Filter by background running status.
variables (array[string], optional): Variable names to include in the response.
pageSize (integer, optional): Number of results per page. Defaults to 50.
cursor (string, optional): Cursor for pagination.
order (string, optional): Sort order. Defaults to LAST_CHAT_TIME_DESC.
Your API key for authentication
Global ID of the LLM app to filter by.
Global ID of the conversation category to filter by.
Search for last chat time after this value
Search for last chat time before this value
Search for first chat time after this value
Search for first chat time before this value
Text matched against chat messages of the conversation.
Pagination cursor returned by the previous page. None requests the first page.
Names of the project variables to include in each conversation.
Number of conversations per page, from 1 to 50.
50True returns only conversations that are not in an end state.
falseTrue returns only conversations that run in the background. False and None apply no filter.
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OK
Cursor for pagination
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
GET /webapi/v2/conversations HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
"conversations": [
{
"id": "text",
"title": "text",
"user": {
"userId": "text",
"firstName": "text",
"lastName": "text"
},
"createdAt": 1,
"lastChatTime": 1,
"isEnd": true,
"categories": [
"text"
],
"memo": "text",
"chats": [
{
"id": "text",
"type": "text",
"sender": "USER",
"message": "text",
"source": {
"knowledgeBaseIds": [
"text"
],
"folderIds": [
"text"
],
"webSites": [
"text"
],
"searchAllSharedDocument": false,
"searchAllPersonalDocument": false,
"includingHashtags": [
"text"
],
"excludingHashtags": [
"text"
],
"includingHashtagsOperator": "text",
"excludingHashtagsOperator": "text",
"sharedKnowledgeBases": [
{
"id": "text",
"name": "text"
}
],
"sharedFolders": [
{
"id": "text",
"name": "text"
}
],
"personalKnowledgeBases": [
{
"id": "text",
"name": "text"
}
],
"personalFolders": [
{
"id": "text",
"name": "text"
}
]
},
"timestamp": 1,
"completed": true,
"citations": [
{
"clueId": "text",
"source": "text",
"title": "text",
"url": "text",
"text": "text"
}
],
"rating": true,
"agentRating": true
}
],
"chatCount": 1,
"llmApp": {
"id": "text",
"name": "text",
"description": "text"
},
"variables": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"cursor": "text"
}This API allows you to update state, assignee, title, or categories for multiple conversations at once.
Headers
API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.
AGENT-EMAIL (string, optional): The email address of the agent performing the API call.
USER-EMAIL (string, optional): The email address to associate with the user.
OWN-USER-ID (string, optional): The user ID to identify or create a user.
Request Body
conversationIds (array[string], optional): Filter by conversation IDs.
userIds (array[string], optional): Filter by user IDs.
llmAppIds (array[string], optional): Filter by LLM app IDs.
categoryIds (array[string], optional): Filter by category IDs.
conversationInfo (object, required): Update payload with state, assignee, categoryIds, and title fields.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
The ID of the user for filtering
The ID of the llm app for filtering
The ID of the conversation category for filtering
The ID of the conversation for filtering
OK
No content
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
POST /webapi/v2/conversations/bulk_update HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 181
{
"userIds": [
"text"
],
"llmAppIds": [
"text"
],
"categoryIds": [
"text"
],
"conversationIds": [
"text"
],
"conversationInfo": {
"state": "no",
"assignee": "text",
"categoryIds": [
"text"
],
"title": "text"
}
}No content
This API allows you to retrieve a conversation. The chats provided are the most recent 20.
Headers
API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.
AGENT-EMAIL (string, optional): The email address of the agent performing the API call.
USER-EMAIL (string, optional): The email address to associate with the user.
OWN-USER-ID (string, optional): The user ID to identify or create a user.
Query Parameters
variables (array[string], optional): Comma-separated list of variable names to include in the response.
Your API key for authentication
Comma separated list of variables to include in the response
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OK
Unique ID of the conversation
Title of the conversation
Conversation created time
Conversation last chat time
Conversation is completed or not
Conversation categories
Conversation memo
Total chat count
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
GET /webapi/v2/conversations/{conversation_id} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
"id": "text",
"title": "text",
"user": {
"userId": "text",
"firstName": "text",
"lastName": "text"
},
"createdAt": 1,
"lastChatTime": 1,
"isEnd": true,
"categories": [
"text"
],
"memo": "text",
"chats": [
{
"id": "text",
"type": "text",
"sender": "USER",
"message": "text",
"source": {
"knowledgeBaseIds": [
"text"
],
"folderIds": [
"text"
],
"webSites": [
"text"
],
"searchAllSharedDocument": false,
"searchAllPersonalDocument": false,
"includingHashtags": [
"text"
],
"excludingHashtags": [
"text"
],
"includingHashtagsOperator": "text",
"excludingHashtagsOperator": "text",
"sharedKnowledgeBases": [
{
"id": "text",
"name": "text"
}
],
"sharedFolders": [
{
"id": "text",
"name": "text"
}
],
"personalKnowledgeBases": [
{
"id": "text",
"name": "text"
}
],
"personalFolders": [
{
"id": "text",
"name": "text"
}
]
},
"timestamp": 1,
"completed": true,
"citations": [
{
"clueId": "text",
"source": "text",
"title": "text",
"url": "text",
"text": "text"
}
],
"rating": true,
"agentRating": true
}
],
"chatCount": 1,
"llmApp": {
"id": "text",
"name": "text",
"description": "text"
},
"variables": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}This API allows you to partially update a conversation's state, assignee, title, or categories.
Headers
API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.
AGENT-EMAIL (string, optional): The email address of the agent performing the API call.
USER-EMAIL (string, optional): The email address to associate with the user.
OWN-USER-ID (string, optional): The user ID to identify or create a user.
Request Body
state (string, optional): The conversation state.
assignee (string, optional): The assignee agent ID.
categoryIds (array[string], optional): Category IDs to assign.
title (string, optional): The conversation title.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
The state of the conversation
The assignee of the conversation
The ID of the category
The title of the conversation
OK
Unique ID of the conversation
Title of the conversation
Conversation created time
Conversation last chat time
Conversation is completed or not
Conversation categories
Conversation memo
Total chat count
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
PATCH /webapi/v2/conversations/{conversation_id} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 70
{
"state": "no",
"assignee": "text",
"categoryIds": [
"text"
],
"title": "text"
}{
"id": "text",
"title": "text",
"user": {
"userId": "text",
"firstName": "text",
"lastName": "text"
},
"createdAt": 1,
"lastChatTime": 1,
"isEnd": true,
"categories": [
"text"
],
"memo": "text",
"chats": [
{
"id": "text",
"type": "text",
"sender": "USER",
"message": "text",
"source": {
"knowledgeBaseIds": [
"text"
],
"folderIds": [
"text"
],
"webSites": [
"text"
],
"searchAllSharedDocument": false,
"searchAllPersonalDocument": false,
"includingHashtags": [
"text"
],
"excludingHashtags": [
"text"
],
"includingHashtagsOperator": "text",
"excludingHashtagsOperator": "text",
"sharedKnowledgeBases": [
{
"id": "text",
"name": "text"
}
],
"sharedFolders": [
{
"id": "text",
"name": "text"
}
],
"personalKnowledgeBases": [
{
"id": "text",
"name": "text"
}
],
"personalFolders": [
{
"id": "text",
"name": "text"
}
]
},
"timestamp": 1,
"completed": true,
"citations": [
{
"clueId": "text",
"source": "text",
"title": "text",
"url": "text",
"text": "text"
}
],
"rating": true,
"agentRating": true
}
],
"chatCount": 1,
"llmApp": {
"id": "text",
"name": "text",
"description": "text"
},
"variables": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}This API allows you to list chats in a conversation, sorted by timestamp in ascending order. Page size is 100.
Headers
API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.
AGENT-EMAIL (string, optional): The email address of the agent performing the API call.
USER-EMAIL (string, optional): The email address to associate with the user.
OWN-USER-ID (string, optional): The user ID to identify or create a user.
Query Parameters
pageNo (integer, optional): Page number for pagination. Defaults to 1.
Your API key for authentication
1Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OK
1-based page number of this response. A page holds up to 100 chats.
Total number of visible chats in the conversation.
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
GET /webapi/v2/conversations/{conversation_id}/chats HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
"chats": [
{
"id": "text",
"type": "text",
"sender": "USER",
"message": "text",
"source": {
"knowledgeBaseIds": [
"text"
],
"folderIds": [
"text"
],
"webSites": [
"text"
],
"searchAllSharedDocument": false,
"searchAllPersonalDocument": false,
"includingHashtags": [
"text"
],
"excludingHashtags": [
"text"
],
"includingHashtagsOperator": "text",
"excludingHashtagsOperator": "text",
"sharedKnowledgeBases": [
{
"id": "text",
"name": "text"
}
],
"sharedFolders": [
{
"id": "text",
"name": "text"
}
],
"personalKnowledgeBases": [
{
"id": "text",
"name": "text"
}
],
"personalFolders": [
{
"id": "text",
"name": "text"
}
]
},
"timestamp": 1,
"completed": true,
"citations": [
{
"clueId": "text",
"source": "text",
"title": "text",
"url": "text",
"text": "text"
}
],
"rating": true,
"agentRating": true
}
],
"pageNo": 1,
"totalCount": 1
}This API allows you to check whether a conversation is currently running in the background.
Headers
API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.
AGENT-EMAIL (string, optional): The email address of the agent performing the API call.
USER-EMAIL (string, optional): The email address to associate with the user.
OWN-USER-ID (string, optional): The user ID to identify or create a user.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OK
Backgound running status
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
GET /webapi/v2/conversations/{conversation_id}/running HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
"isRunning": true
}This API allows you to stop a running conversation.
Headers
API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.
AGENT-EMAIL (string, optional): The email address of the agent performing the API call.
USER-EMAIL (string, optional): The email address to associate with the user.
OWN-USER-ID (string, optional): The user ID to identify or create a user.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OK
Backgound running status
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
POST /webapi/v2/conversations/{conversation_id}/stop HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
"isRunning": true
}This API allows you to retrieve a specific chat by ID from a conversation.
Headers
API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.
AGENT-EMAIL (string, optional): The email address of the agent performing the API call.
USER-EMAIL (string, optional): The email address to associate with the user.
OWN-USER-ID (string, optional): The user ID to identify or create a user.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OK
Detailed chat information compatible with LLMResponse for run_apps API response verification.
Extends Chat with additional fields for verifying streaming responses from run_apps API.
Unique ID of the chat
Node type of the chat
Sender Type
USERChat message
Timestamp of the chat message creation time
Whether the chat generation is completed
Rating of the chat
Agent rating of the chat
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
GET /webapi/v2/conversations/{conversation_id}/chats/{chat_id} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
"id": "text",
"type": "text",
"sender": "USER",
"message": "text",
"source": {
"knowledgeBaseIds": [
"text"
],
"folderIds": [
"text"
],
"webSites": [
"text"
],
"searchAllSharedDocument": false,
"searchAllPersonalDocument": false,
"includingHashtags": [
"text"
],
"excludingHashtags": [
"text"
],
"includingHashtagsOperator": "text",
"excludingHashtagsOperator": "text",
"sharedKnowledgeBases": [
{
"id": "text",
"name": "text"
}
],
"sharedFolders": [
{
"id": "text",
"name": "text"
}
],
"personalKnowledgeBases": [
{
"id": "text",
"name": "text"
}
],
"personalFolders": [
{
"id": "text",
"name": "text"
}
]
},
"timestamp": 1,
"completed": true,
"citations": [
{
"clueId": "text",
"source": "text",
"title": "text",
"url": "text",
"text": "text"
}
],
"rating": true,
"agentRating": true,
"intermediateSteps": [
{
"key": "text",
"createdAt": 1,
"completed": true,
"statusMessage": "text",
"markdownMessage": "text"
}
]
}This API allows you to delete a specific chat message from a conversation.
Headers
API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.
AGENT-EMAIL (string, optional): The email address of the agent performing the API call.
USER-EMAIL (string, optional): The email address to associate with the user.
OWN-USER-ID (string, optional): The user ID to identify or create a user.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OK
No content
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
DELETE /webapi/v2/conversations/{conversation_id}/chats/{chat_id} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
No content
This API allows you to set a conversation title.
Headers
API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.
AGENT-EMAIL (string, optional): The email address of the agent performing the API call.
USER-EMAIL (string, optional): The email address to associate with the user.
OWN-USER-ID (string, optional): The user ID to identify or create a user.
Request Body
title (string, required): The new title for the conversation.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
The title of the conversation
OK
Unique ID of the conversation
Title of the conversation
Conversation created time
Conversation last chat time
Conversation is completed or not
Conversation categories
Conversation memo
Total chat count
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
PUT /webapi/v2/conversations/{conversation_id}/title HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"title": "text"
}{
"id": "text",
"title": "text",
"user": {
"userId": "text",
"firstName": "text",
"lastName": "text"
},
"createdAt": 1,
"lastChatTime": 1,
"isEnd": true,
"categories": [
"text"
],
"memo": "text",
"chats": [
{
"id": "text",
"type": "text",
"sender": "USER",
"message": "text",
"source": {
"knowledgeBaseIds": [
"text"
],
"folderIds": [
"text"
],
"webSites": [
"text"
],
"searchAllSharedDocument": false,
"searchAllPersonalDocument": false,
"includingHashtags": [
"text"
],
"excludingHashtags": [
"text"
],
"includingHashtagsOperator": "text",
"excludingHashtagsOperator": "text",
"sharedKnowledgeBases": [
{
"id": "text",
"name": "text"
}
],
"sharedFolders": [
{
"id": "text",
"name": "text"
}
],
"personalKnowledgeBases": [
{
"id": "text",
"name": "text"
}
],
"personalFolders": [
{
"id": "text",
"name": "text"
}
]
},
"timestamp": 1,
"completed": true,
"citations": [
{
"clueId": "text",
"source": "text",
"title": "text",
"url": "text",
"text": "text"
}
],
"rating": true,
"agentRating": true
}
],
"chatCount": 1,
"llmApp": {
"id": "text",
"name": "text",
"description": "text"
},
"variables": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}This API allows you to submit a thumbs-up or thumbs-down feedback on a generated chat response.
Headers
API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.
AGENT-EMAIL (string, optional): The email address of the agent performing the API call.
USER-EMAIL (string, optional): The email address to associate with the user.
OWN-USER-ID (string, optional): The user ID to identify or create a user.
Request Body
rating (boolean, optional):
truefor positive,falsefor negative feedback.feedbackSelection (array[string], optional): Predefined feedback selection options.
suggestedAnswer (string, optional): A user-suggested better answer.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
The rating of chat
The suggested answer
OK
Global ID of the conversation, as sent in the request path.
Global ID of the chat, as sent in the request path.
Submitted rating: true is positive, false is negative. None when no rating is sent.
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
POST /webapi/v2/conversations/{conversation_id}/chats/{chat_id}/feedback HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 77
{
"rating": true,
"feedbackSelection": [
"not_relevant"
],
"suggestedAnswer": "text"
}{
"conversationId": "text",
"chatId": "text",
"rating": true
}This API allows you to list all conversation categories in the project.
Headers
API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.
AGENT-EMAIL (string, optional): The email address of the agent performing the API call.
USER-EMAIL (string, optional): The email address to associate with the user.
OWN-USER-ID (string, optional): The user ID to identify or create a user.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OK
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
GET /webapi/v2/conversation_categories HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
"categories": [
{
"categoryId": "text",
"name": "text"
}
]
}This API allows you to create a new conversation category.
Headers
API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.
AGENT-EMAIL (string, optional): The email address of the agent performing the API call.
USER-EMAIL (string, optional): The email address to associate with the user.
OWN-USER-ID (string, optional): The user ID to identify or create a user.
Request Body
name (string, required): The name of the conversation category.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
Name of the new conversation category.
OK
Unique ID of the category
Name of the category
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
POST /webapi/v2/conversation_categories HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"name": "text"
}{
"categoryId": "text",
"name": "text"
}This API allows you to delete a conversation category by ID.
Headers
API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.
AGENT-EMAIL (string, optional): The email address of the agent performing the API call.
USER-EMAIL (string, optional): The email address to associate with the user.
OWN-USER-ID (string, optional): The user ID to identify or create a user.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
OK
No content
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
DELETE /webapi/v2/conversation_categories/{conversation_category_id} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
No content
This API allows you to make a direct LLM call without retrieval. Routes through Mally's LLM infrastructure for model routing and billing. Supports both sync and streaming modes.
Headers
API-KEY (string, required): Your assigned API key. You can find it in the Settings menu of the dashboard.
AGENT-EMAIL (string, optional): The email address of the agent performing the API call.
USER-EMAIL (string, optional): The email address to associate with the user.
OWN-USER-ID (string, optional): The user ID to identify or create a user.
Request Body
messages (array[object], required): Conversation messages, each with
roleandcontent.model (string, optional): LLM model name. Defaults to gpt4_o.
temperature (number, optional): Sampling temperature. Defaults to 0.3.
mode (string, optional): Must be
syncorstream. Defaults to sync.max_tokens (integer, optional): Maximum completion tokens. Defaults to 2048.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
LLM model name (Mally internal name)
gpt4_oSampling temperature
0.3sync or stream
syncPossible values: Max completion tokens
2048OK
No content
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
POST /webapi/v2/chat/completions HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 116
{
"messages": [
{
"role": "system",
"content": "text"
}
],
"model": "gpt4_o",
"temperature": 0.3,
"mode": "sync",
"max_tokens": 2048
}No content
The total number of conversations per day for a given range.
Your API key for authentication
Optional: Email of the agent to use for this request
Optional: Email address to associate with the user
Optional: User ID to identify or create a user
Start of range of dates to query in YYYY-MM-DD format.
End of range of dates to query in YYYY-MM-DD format.
Successfully retrieved daily conversation count
Invalid request parameters.
Authentication failed. The API-KEY header is missing or invalid.
Access denied. The project is inactive or the request IP is not allowed.
Internal server error.
GET /webapi/conversation_daily_count HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 37
{
"startDate": "text",
"endDate": "text"
}{
"result": {
"dailyTotalCount": [
{
"date": "text",
"activeCount": 1
}
],
"state": "text",
"campaignCount": 1
},
"errors": {}
}Last updated
Was this helpful?