Agent Chat
Chat With Agents
Your Emporix tenant name.
Note: The tenant name should always be provided in lowercase.
Unique session's identifier which allows for storing the context of the chat. If not provided, the system generates it.
Unique identifier of the agent.
The user message to the agent.
Chat response.
The request was syntactically incorrect.
The authorization token is invalid or has expired.
Authorization scopes of the access token are not sufficient and do not match the scopes required by the endpoint.
A server-side error occurred.
POST /ai-service/{tenant}/agentic/chat HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 78
{
"agentId": "complaint-agent",
"message": "Find a product with \"EON1243\" code"
}[
{
"agentId": "complaint-agent",
"agentType": "complaint",
"message": "Found an order with its details.",
"sessionId": "fe91d168-4ce9-4b4d-8451-0029035b34a5"
}
]Your Emporix tenant name.
Note: The tenant name should always be provided in lowercase.
Unique session's identifier which allows for storing the context of the chat. If not provided, the system generates it.
Unique identifier of the agent.
The user message to the agent.
Job ID response.
The request was syntactically incorrect.
The authorization token is invalid or has expired.
Authorization scopes of the access token are not sufficient and do not match the scopes required by the endpoint.
A server-side error occurred.
POST /ai-service/{tenant}/agentic/chat-async HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 78
{
"agentId": "complaint-agent",
"message": "Find a product with \"EON1243\" code"
}[
{
"jobId": "68835cc3ef4e8e1425c360ad"
}
]Last updated
Was this helpful?

