Apps
App related APIs
Get a list of apps. The apps are sorted by weight in descending order by default.
Your API key for authentication
Search term for app name or description
Filter by app categories
Filter by app type
Filter by published status
Number of apps per page
50Cursor for pagination
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
OK
Get a specific app by ID.
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
OK
Update an app.
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 schema for updating an app.
Name of the app
Description of the app
Category of the app
Whether the app is published
Agent permission
User permission
OK
OK
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
get Apps API success response
get Apps API success response
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
create App API success response
create App API success response
Execute an LLM App via REST API. Supports JSON requests.
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
Execution mode. Use "sync" for synchronous responses or "stream" for streaming responses. Default is "sync".
syncPossible values: Whether to maintain conversation state. Set to true to enable conversation history. When true, conversationId must be provided for follow-up messages.
falseConversation ID for continuing a previous conversation. Required when isStateful is true for follow-up messages. Use the conversation.id from the previous response.
Name of the LLM model to use. Must be a registered model name (lowercase). See model registration documentation for available models.
ID of the LLM prompt to use
ID of the Generative Answer prompt group to use
Controls the randomness of the output. Higher values make the output more random. Range is typically 0 to 2.
0List of required variable names to include in the response
Successfully executed the LLM App
Bad request
Unauthorized - Invalid or missing authentication token
Rate limit exceeded
Internal server error
This API executes a skill and returns the final text answer as JSON format. This API can be used for entity extraction if the skill is designed for that purpose.
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
This is a skill id. If you click a skill in the Alli Dashboard, the URL is something like https://app.alli.ai/projects/PROJECT_ID/campaigns/SKILL_ID. Please put SKILL_ID here.
This is an input text for the skill execution.
Variables is a JSON object to set the variables in the skill. To learn more about variables in Alli, please see the user guide.
Skill executed successfully
Bad request
Unauthorized
Generative Answer API finds an answer from your unstructured text documents, Q&A, and even from complex tables. It synthesizes information from various sources to provide comprehensive responses to user queries.
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
This is a query string.
Utilize the LLM of your choice when generating answers. Default model is GPT4o. Please see documentation for available options.
Determine the format of the response given for easier integrations. Acceptable values are DRAFTJS and MARKDOWN. Default format is DRAFTJS.
To use follow-up question, previous conversation history is required. The conversation history is managed by threadId. If you set isStateful option to True and enter a threadId, the query will be rewritten with reference to the previous conversation history. Default = False.
threadId is used when isStateful = True. The first time you start a conversation, send it empty, and from the next query on, send it using the threadId from the output. However, if you want to set the threadId from the beginning, write it as a UUID and send it. Example UUID - 36e7bb2b-1063-47ec-. Default = None.
Select which group prompt from your project to use for generating responses. The ID is located within the URL when viewing the group prompt within the Settings page. This is a very helpful option for a project with multiple different group prompts that are altered for specific tasks.
Whether to output data as stream or sync. Current available values: sync OR stream (default=sync). When in stream mode, .json strings with the same output format as sync are outputted as streaming.
Whether to include the text of the document used as a clue. Default = False. ONLY works if clues is enabled.
Whether to include clues in the output that will be used to create a generative answer. Default = False.
Whether to include detailed citation information in the response. Citations provide structured references to source documents used in generating the answer. Default = False.
Specifies the range of source data for Generative Answer to find data from. Currently available values are: web, qna, document, and enter data in the form of a list. For example -> ["web", "qna"]
Controls the randomness of the output. Higher values make the output more random. Default = 0.
(Legacy) Limits the search to specific knowledge base IDs. Use 'source' parameter instead for better control over shared/personal documents.
(Legacy) Limits the search to specific folder IDs. Use 'source' parameter instead for better control over shared/personal documents.
Successfully generated answer
Bad request
Unauthorized
Rate limit exceeded
Start a conversation using a Skill. Note: this endpoint is currently only compatible with Message Node, Q&A Node, and Documents Node.
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
Used to match which Skill to start the conversation with.
Successfully started conversation
Successfully started conversation
End a conversation from the agent side.
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 conversation ID to end
Conversation ended successfully
Conversation ended successfully
Send a message as the user for an existing conversation. Note: this endpoint is currently only compatible with Message Node, Q&A Node, and Documents Node.
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 message to send in the conversation. Cannot be null or an empty string.
Unique id for the conversation you want to send a message in.
Successfully sent chat
Successfully sent chat
Last updated
Was this helpful?