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

Agent Chat

Chat With Agents

Starting agent chat

post

Allows for communication with Emporix agents.

Required scopes
This endpoint requires the following scopes:
  • : Needed to execute agentic chat.
  • : Needed to execute agentic chat by customers.
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
tenantstringRequired

Your Emporix tenant name.

Note: The tenant name should always be provided in lowercase.

Header parameters
session-idstring · uuidOptional

Unique session identifier which allows for storing the context of the chat. If not provided, the system generates it.

Body
agentIdstringRequired

Unique identifier of the agent.

messagestringRequired

The user message to the agent.

Responses
200

Chat response.

application/json
agentIdstringOptional

Unique identifier of the agent.

agentTypestring · enumOptional

Type of the agent handling the request.

Possible values:
sessionIdstringOptional

Unique identifier of the session.

messagestringOptional

Agent message.

post
/ai-service/{tenant}/agentic/chat

Starting agent async chat

post

Allows for communication with Emporix agents in async way.

Required scopes
This endpoint requires the following scopes:
  • : Needed to execute agentic chat.
  • : Needed to execute agentic chat by customers.
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
tenantstringRequired

Your Emporix tenant name.

Note: The tenant name should always be provided in lowercase.

Header parameters
session-idstring · uuidOptional

Unique session identifier which allows for storing the context of the chat. If not provided, the system generates it.

Body
agentIdstringRequired

Unique identifier of the agent.

messagestringRequired

The user message to the agent.

Responses
post
/ai-service/{tenant}/agentic/chat-async

Uploading attachment

post

Allows for upload of a file and assign it to the agent. Supported file extensions:

  • jpg

  • jpeg

  • png

  • pdf

  • csv

  • text

  • txt

Path parameters
tenantstringRequired

Your Emporix tenant name.

Note: The tenant name should always be provided in lowercase.

agentIdstringRequired
Header parameters
session-idstring · uuidOptional

Unique session identifier which allows for storing the context of the chat. If not provided, the system generates it.

Body
attachmentstring · binaryRequired

Content of the file.

Responses
post
/ai-service/{tenant}/agentic/{agentId}/attachments

Last updated

Was this helpful?