Apps

App related APIs

Get List Apps

get

Get a list of apps. The apps are sorted by weight in descending order by default.

Authorizations
API-KEYstringRequired

Your API key for authentication

Query parameters
searchTermany ofOptional

Search term for app name or description

stringOptional
or
nullOptional
categoriesany ofOptional

Filter by app categories

string[]Optional
or
nullOptional
typeany ofOptional

Filter by app type

stringOptional
or
nullOptional
publishedany ofOptional

Filter by published status

booleanOptional
or
nullOptional
pageSizeinteger · min: 1 · max: 100Optional

Number of apps per page

Default: 50
cursorany ofOptional

Cursor for pagination

stringOptional
or
nullOptional
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

OK

application/json
get
/webapi/v2/apps
200

OK

Get App By Id

get

Get a specific app by ID.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
app_idstringRequired
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

OK

application/json
get
/webapi/v2/apps/{app_id}
200

OK

Update App

patch

Update an app.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
app_idstringRequired
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body

Request schema for updating an app.

nameany ofOptional

Name of the app

stringOptional
or
nullOptional
descriptionany ofOptional

Description of the app

stringOptional
or
nullOptional
categoryany ofOptional

Category of the app

stringOptional
or
nullOptional
publishedany ofOptional

Whether the app is published

booleanOptional
or
nullOptional
agentPermissionany ofOptional

Agent permission

or
nullOptional
userPermissionany ofOptional

User permission

or
nullOptional
Responses
200

OK

application/json
patch
/webapi/v2/apps/{app_id}
200

OK

get
Authorizations
API-KEYstringRequired

Your API key for authentication

Query parameters
publishedstringOptional
idstring[]Optional
localestringOptional
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Responses
200

앱 API 성공 답변 받기

application/json
get
/webapi/apps
200

앱 API 성공 답변 받기

post
Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
user_idstringOptional
typestring · enumRequiredPossible values:
namestringRequired
descriptionstringRequired
categorystringRequired
publishedbooleanRequired
enabledbooleanRequired
Responses
200

앱 API 성공 답변 생성

application/json
post
/webapi/apps
200

앱 API 성공 답변 생성

Run LLM App

post

Execute an LLM App via REST API. Supports JSON requests.

Authorizations
API-KEYstringRequired

Your API key for authentication

Path parameters
app_idstringRequired
Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
modestring · enumOptional

Execution mode. Use "sync" for synchronous responses or "stream" for streaming responses. Default is "sync".

Default: syncPossible values:
isStatefulbooleanOptional

Whether to maintain conversation state. Set to true to enable conversation history. When true, conversationId must be provided for follow-up messages.

Default: false
conversationIdstringOptional

Conversation ID for continuing a previous conversation. Required when isStateful is true for follow-up messages. Use the conversation.id from the previous response.

llmModelstringOptional

Name of the LLM model to use. Must be a registered model name (lowercase). See model registration documentation for available models.

llmPromptIdstringOptional

ID of the LLM prompt to use

gaPromptGroupIdstringOptional

ID of the Generative Answer prompt group to use

temperaturenumberOptional

Controls the randomness of the output. Higher values make the output more random. Range is typically 0 to 2.

Default: 0
requiredVariablesstring[]Optional

List of required variable names to include in the response

Responses
200

Successfully executed the LLM App

application/json
post
/webapi/apps/{app_id}/run

기술 실행

post

이 API는 스킬을 실행하고 최종 텍스트 답변을 JSON 포맷으로 반환합니다. 이 API는 스킬이 그 목적을 위해 설계된 경우 엔티티 추출에 사용할 수 있습니다.

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
idstringRequired

스킬 ID입니다. Alli 대시보드에서 스킬을 클릭하면 URL이 https://app.alli.ai/projects/PROJECT_ID/campaigns/SKILL_ID와 같이 표시됩니다. 여기에 SKILL_ID를 입력해 주세요.

textstringRequired

기술 실행을 위한 입력 텍스트입니다.

variablesobjectOptional

변수는 스킬의 변수를 설정하기 위한 JSON 객체입니다. Alli에서 변수에 대해 더 알아보려면 유저 가이드를 True조해 주세요.

Responses
200

성공적으로 실행되었습니다.

application/json
post
/webapi/skill

생성 답변 API

post

생성적 답변 API는 비정형 텍스트 문서, Q&A, 심지어 복잡한 표에서도 답을 찾습니다. 여러 출처에서 정보를 종합하여 유저 쿼리에 대한 포괄적인 답변을 제공합니다.

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
querystringOptional

쿼리 문자열입니다.

modelstringOptional

답변을 생성할 때 선택한 LLM을 활용하십시오. 기본 모델은 GPT4o입니다. 사용 가능한 옵션은 문서를 True로 변경하십시오.

answerFormatstringOptional

답변의 형식을 결정하여 통합을 용이하게 만듭니다. 허용 가능한 값은 DRAFTJS 및 MARKDOWN입니다. 기본 형식은 DRAFTJS입니다.

isStatefulbooleanOptional

후속 질문을 사용하기 위해서는 이전 대화 역사가 필요합니다. 대화 역사는 threadId로 관리됩니다. isStateful 옵션을 True로 설정하고 threadId를 입력하면 이전 대화 역사를 True고하여 쿼리가 다시 작성됩니다. 기본값 = False.

threadIdstring · uuidOptional

threadId는 isStateful = True일 때 사용됩니다. 처음 대화를 시작할 때는 비워서 보내고, 그 다음 질의부터는 출력에서 threadId를 사용하여 보냅니다. 그러나 처음부터 threadId를 설정하려면 UUID로 작성하여 보내십시오. 예시 UUID - 36e7bb2b-1063-47ec-. 기본값 = None.

promptGroupIdstringOptional

프로젝트에서 답변 생성에 사용할 그룹 프롬프트를 선택해 주세요. ID는 설정 페이지 내에서 그룹 프롬프트를 볼 때 URL에 위치해 있습니다. 이는 특정 작업을 위해 수정된 여러 다른 그룹 프롬프트가 있는 프로젝트에 매우 유용한 옵션입니다.

modestringOptional

데이터를 스트림 또는 동기식으로 출력할지 여부. 현재 사용 가능한 값: sync 또는 stream (기본값=sync). 스트림 모드에서는 .json 문자열이 동기식과 동일한 출력 형식으로 스트리밍으로 출력됩니다.

clueTextbooleanOptional

단서를 사용하여 단서로 사용된 문서의 텍스트를 포함할지 여부. 기본값 = False. 단서가 활성화된 경우에만 작동합니다.

cluesbooleanOptional

출력에 생성 답변을 만드는 데 사용될 단서를 포함할지 여부. 기본값 = False.

includeCitationsbooleanOptional

Whether to include detailed citation information in the response. Citations provide structured references to source documents used in generating the answer. Default = False.

search_fromstring[]Optional

생성적 답변이 데이터를 찾기 위한 원본 데이터의 범위를 지정합니다. 현재 사용 가능한 값은 다음과 같습니다: 웹, 질의답변, 문서이며, 목록 형식으로 데이터를 입력합니다. 예를 들어 -> ["웹", "질의답변"]

temperaturenumberOptional

출력의 무작위성을 제어합니다. 값이 클수록 출력이 더 무작위가 됩니다. 기본값 = 0.

knowledgeBaseIdsstring[]Optional

검색을 특정 지식베이스 ID로 제한합니다.

folderIdsstring[]Optional

검색을 특정 폴더 ID로 제한합니다.

Responses
200

성공적으로 생성된 답변

application/json
post
/webapi/generative_answer

대화 시작

post

스킬을 사용하여 대화를 시작하십시오. True고: 이 엔드포인트는 현재 메시지 노드, Q&A 노드 및 문서 노드와만 호환됩니다.

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
placementstringOptional

어떤 스킬로 대화를 시작할지 매칭하는 데 사용됩니다.

Responses
200

성공적으로 대화를 시작했습니다.

application/json
post
/webapi/start_conversation
200

성공적으로 대화를 시작했습니다.

End Conversation by Agent

post

End a conversation from the agent side.

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
idstringRequired

The conversation ID to end

Responses
200

Conversation ended successfully

application/json
post
/webapi/end_conversation_by_agent
200

Conversation ended successfully

대화 보내기

post

기존 대화에 대해 유저로 메시지를 보냅니다. True고: 이 엔드포인트는 현재 메시지 노드, Q&A 노드 및 문서 노드와만 호환됩니다.

Authorizations
API-KEYstringRequired

Your API key for authentication

Header parameters
AGENT-EMAILstringOptional

Optional: Email of the agent to use for this request

USER-EMAILstringOptional

Optional: Email address to associate with the user

OWN-USER-IDstringOptional

Optional: User ID to identify or create a user

Body
messagestringRequired

대화에서 보낼 메시지. null이거나 빈 문자열일 수 없습니다.

conversationIdstringRequired

메시지를 보내고자 하는 대화의 고유 ID입니다.

Responses
200

대화 전송 성공

application/json
post
/webapi/send_chat
200

대화 전송 성공

Last updated

Was this helpful?