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 chat stream

post

Allows for communication with Emporix agents using a Server-Sent Events stream.

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.

AcceptstringOptional

Use text/event-stream to receive the response as a Server-Sent Events stream.

Example: text/event-stream
Body
agentIdstringRequired

Unique identifier of the agent.

messagestringRequired

The user message to the agent.

Responses
200

Chat response stream.

text/event-stream
stringOptional
post/ai-service/{tenant}/agentic/chat-stream

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
201

Job ID response.

application/json
jobIdstringOptional

Identifier of the job.

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
201

Attachment response.

application/json
idstringOptional

Unique identifier of the created attachment.

sessionIdstringOptional

Unique identifier of the session. The same sessionId must be used when calling chat endpoints to ensure the correct attachment is found.

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

Last updated

Was this helpful?