Others
Your API key for authentication
Base timestamp (UTC)
Days before created_at (max 31 days)
31Agent email filter
API request type (rest/graphql)
Offset for pagination
0Limit for pagination
10Optional: 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
Response model for audit log list.
Total 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/audit/logs HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
"result": [
{
"id": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"agent": {
"id": "text",
"email": "text",
"firstName": "text",
"lastName": "text"
},
"ip": "text",
"operation": "text",
"mutation": "text",
"method": "text",
"path": "text",
"variables": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"query": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"count": 1
}Your API key for authentication
Base timestamp (UTC)
Days before created_at (max 31 days)
31Agent email filter
API request type (rest/graphql)
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.
GET /webapi/v2/audit/logs/download HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
No content
Your API key for authentication
Offset of the LLM prompts
0Limit of the LLM prompts
100Optional: 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 LLM prompt
Name of the LLM prompt
Description of the LLM prompt
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/llm_prompts HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
[
{
"llmPromptId": "text",
"name": "text",
"description": "text",
"messages": [
{
"role": "system",
"content": "text"
}
],
"dynamicInputs": [
{
"name": "text",
"variableName": "text",
"isClipToken": false
}
]
}
]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 LLM prompt
Description of the LLM prompt
OK
Unique ID of the LLM prompt
Name of the LLM prompt
Description of the LLM prompt
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/llm_prompts HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 160
{
"name": "text",
"description": "text",
"messages": [
{
"role": "system",
"content": "text"
}
],
"dynamicInputs": [
{
"name": "text",
"variableName": "text",
"isClipToken": false
}
]
}{
"llmPromptId": "text",
"name": "text",
"description": "text",
"messages": [
{
"role": "system",
"content": "text"
}
],
"dynamicInputs": [
{
"name": "text",
"variableName": "text",
"isClipToken": false
}
]
}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
Unique ID of the LLM prompt
Name of the LLM prompt
Description of the LLM prompt
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/llm_prompts/{llm_prompt_id} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
"llmPromptId": "text",
"name": "text",
"description": "text",
"messages": [
{
"role": "system",
"content": "text"
}
],
"dynamicInputs": [
{
"name": "text",
"variableName": "text",
"isClipToken": false
}
]
}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/llm_prompts/{llm_prompt_id} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
No content
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 LLM prompt
Description of the LLM prompt
OK
Unique ID of the LLM prompt
Name of the LLM prompt
Description of the LLM prompt
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/llm_prompts/{llm_prompt_id} HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 160
{
"name": "text",
"description": "text",
"messages": [
{
"role": "system",
"content": "text"
}
],
"dynamicInputs": [
{
"name": "text",
"variableName": "text",
"isClipToken": false
}
]
}{
"llmPromptId": "text",
"name": "text",
"description": "text",
"messages": [
{
"role": "system",
"content": "text"
}
],
"dynamicInputs": [
{
"name": "text",
"variableName": "text",
"isClipToken": false
}
]
}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
Request entity for triggering directory integration.
Path to directory to integrate
ID of folder to sync
OK
Response entity for directory integration trigger.
Whether the integration was successfully triggered
Response message
Task ID for tracking the operation
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/directory_integration/trigger HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 44
{
"directory_path": "text",
"folder_id": "text"
}{
"success": true,
"message": "text",
"task_id": "text"
}Your API key for authentication
Start date in YYYY-MM-DD format
End date in YYYY-MM-DD format
LLM app ID
LLM app category
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
Response model for usage history statistics.
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/analytics/app_statistic_history?startDate=text&endDate=text HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
"result": [
{
"date": "text",
"count": 1
}
]
}Your API key for authentication
Start date in YYYY-MM-DD format
End date in YYYY-MM-DD format
LLM model
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
Response model for usage history statistics.
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/analytics/llm_statistic_history?startDate=text&endDate=text HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
"result": [
{
"date": "text",
"count": 1
}
]
}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
Request body for retrieving media content.
The ID of the media to retrieve content for.
The type of media to retrieve.
imagePossible values: OK
Response containing base64-encoded media content.
Base64-encoded media content, or null if the media was not found.
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/multimodal/media-content HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 40
{
"media_id": "text",
"media_type": "image"
}{
"content": "text"
}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
Request body for generating a downloadable file.
ID of the user requesting file generation.
Title of the generated document.
Output file format.
Markdown content to convert into the document.
OK
Response containing the generated file location or error details.
Name of the generated file.
Download URL of the generated file.
Error code, present only on failure.
Human-readable error description.
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/multimodal/generate-file HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 73
{
"userId": "text",
"title": "text",
"fileFormat": "pdf",
"markdownText": "text"
}{
"fileName": "text",
"fileUrl": "text",
"error": "text",
"errorMessage": "text"
}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.
POST /webapi/v2/synonyms/ HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 22
{
"questions": [
"text"
]
}{
"synonyms": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
}
}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/projects HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
[]Your API key for authentication
Start date (UTC, inclusive) in YYYY-MM-DD. Required together with endDate.
2025-04-01Pattern: ^\d{4}-\d{2}-\d{2}$End date (UTC, inclusive) in YYYY-MM-DD. Required together with startDate.
2025-04-30Pattern: ^\d{4}-\d{2}-\d{2}$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
Response body for GET /webapi/v2/credits/balance.
Cumulative credit consumed by the project across all time.
1234.5Invalid 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/credits/balance HTTP/1.1
Host: backend.alli.ai
API-KEY: YOUR_API_KEY
Accept: */*
{
"totalCreditUsage": 1234.5,
"trial": {
"maxCredit": 10000,
"remainingCredit": 8765.5
},
"cap": {
"enabled": true,
"limit": 10000,
"currentMonthUsage": 432.1,
"remainingCredit": 9567.9,
"exceeded": false
},
"byCategory": {
"api_integration": 12.5,
"generative_answer": 50
}
}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 analytics data
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/summary_analytics 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": {
"conversations": 1,
"conversationsUpDown": 1,
"participants": 1,
"participantsUpDown": 1,
"uniqueParticipants": 1,
"uniqueParticipantsUpDown": 1,
"queries": 1,
"queriesUpDown": 1,
"queriedUsers": 1,
"queriedUsersUpDown": 1,
"uniqueQueriedUsers": 1,
"uniqueQueriedUsersUpDown": 1,
"instantResolution": 1,
"instantResolutionUpDown": 1,
"aiResponseRate": 1,
"aiResponseRateUpDown": 1,
"uniqueVisitors": 1,
"uniqueVisitorsUpDown": 1,
"totalFaqs": 1,
"totalFaqsUpDown": 1,
"totalDocuments": 1,
"totalDocumentsUpDown": 1,
"feedbacksUpDown": 1
},
"errors": {}
}Last updated