Agent Logs
Read Agent Logs
- : Needed to read AI agents.
Your Emporix tenant name.
Note: The tenant name should always be provided in lowercase.
A standard query parameter is used to search for specific values.
The number of documents to be retrieved per page.
The page number to be retrieved. The size of the pages should be specified by the pageSize parameter.
List of properties used to sort the results, separated by colons.
Fields to be returned in the response.
Flag indicating whether the total number of retrieved results should be returned.
List of agent requests.
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.
GET /ai-service/{tenant}/agentic/logs/requests HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"id": "req-123e4567-e89b-12d3-a456-426614174000",
"sessionId": "sess-123e4567-e89b-12d3-a456-426614174000",
"requestId": "req-123e4567-e89b-12d3-a456-426614174000",
"triggerAgentId": "complaint-agent",
"collaborationAgents": [
"support-agent"
],
"severity": "INFO",
"messages": [
{
"timestamp": "2025-01-15T10:30:27.167Z",
"severity": "INFO",
"message": "Agent started processing request",
"agentId": "complaint-agent",
"requestId": "req-123e4567-e89b-12d3-a456-426614174000",
"isBusinessLog": false
},
{
"timestamp": "2025-01-15T10:30:28.234Z",
"severity": "INFO",
"message": "Retrieved order details successfully",
"agentId": "complaint-agent",
"requestId": "req-123e4567-e89b-12d3-a456-426614174000",
"isBusinessLog": true
}
],
"duration": 45,
"metadata": {
"version": 1,
"createdAt": "2025-01-15T10:30:27.167Z",
"modifiedAt": "2025-01-15T10:30:28.234Z"
}
}
]- : Needed to read AI agents.
Your Emporix tenant name.
Note: The tenant name should always be provided in lowercase.
Fields to be returned in the response.
A single agent request.
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.
Example response
GET /ai-service/{tenant}/agentic/logs/requests/{requestId} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "req-123e4567-e89b-12d3-a456-426614174000",
"sessionId": "sess-123e4567-e89b-12d3-a456-426614174000",
"requestId": "req-123e4567-e89b-12d3-a456-426614174000",
"triggerAgentId": "complaint-agent",
"collaborationAgents": [
"support-agent"
],
"severity": "INFO",
"messages": [
{
"timestamp": "2025-01-15T10:30:28.234Z",
"severity": "INFO",
"message": "Retrieved order details successfully",
"agentId": "complaint-agent",
"requestId": "req-123e4567-e89b-12d3-a456-426614174000",
"isBusinessLog": true
},
{
"timestamp": "2025-01-15T10:30:29.456Z",
"severity": "WARNING",
"message": "Order status check returned unexpected value",
"agentId": "complaint-agent",
"requestId": "req-123e4567-e89b-12d3-a456-426614174000",
"isBusinessLog": false
}
],
"duration": 45,
"metadata": {
"version": 1,
"createdAt": "2025-01-15T10:30:27.167Z",
"modifiedAt": "2025-01-15T10:30:29.456Z"
}
}- : Needed to read AI agents.
Your Emporix tenant name.
Note: The tenant name should always be provided in lowercase.
The number of documents to be retrieved per page.
The page number to be retrieved. The size of the pages should be specified by the pageSize parameter.
List of properties used to sort the results, separated by colons.
Fields to be returned in the response.
Flag indicating whether the total number of retrieved results should be returned.
A standard query parameter is used to search for specific values.
List of agent requests.
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.
POST /ai-service/{tenant}/agentic/logs/requests/search HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"q": "name:~Support"
}[
{
"id": "req-123e4567-e89b-12d3-a456-426614174000",
"sessionId": "sess-123e4567-e89b-12d3-a456-426614174000",
"requestId": "req-123e4567-e89b-12d3-a456-426614174000",
"triggerAgentId": "complaint-agent",
"collaborationAgents": [
"support-agent"
],
"severity": "INFO",
"messages": [
{
"timestamp": "2025-01-15T10:30:27.167Z",
"severity": "INFO",
"message": "Agent started processing request",
"agentId": "complaint-agent",
"requestId": "req-123e4567-e89b-12d3-a456-426614174000",
"isBusinessLog": false
},
{
"timestamp": "2025-01-15T10:30:28.234Z",
"severity": "INFO",
"message": "Retrieved order details successfully",
"agentId": "complaint-agent",
"requestId": "req-123e4567-e89b-12d3-a456-426614174000",
"isBusinessLog": true
}
],
"duration": 45,
"metadata": {
"version": 1,
"createdAt": "2025-01-15T10:30:27.167Z",
"modifiedAt": "2025-01-15T10:30:28.234Z"
}
}
]- : Needed to read AI agents.
Your Emporix tenant name.
Note: The tenant name should always be provided in lowercase.
A standard query parameter is used to search for specific values.
The number of documents to be retrieved per page.
The page number to be retrieved. The size of the pages should be specified by the pageSize parameter.
List of properties used to sort the results, separated by colons.
Fields to be returned in the response.
Flag indicating whether the total number of retrieved results should be returned.
List of agent sessions.
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.
GET /ai-service/{tenant}/agentic/logs/sessions HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"sessionId": "sess-123e4567-e89b-12d3-a456-426614174000",
"triggerAgentId": "complaint-agent",
"severity": "INFO",
"agents": [
"complaint-agent",
"support-agent"
],
"messages": [
{
"timestamp": "2025-01-15T10:30:27.167Z",
"severity": "INFO",
"message": "Session started",
"agentId": "complaint-agent",
"requestId": "req-123e4567-e89b-12d3-a456-426614174000",
"isBusinessLog": false
},
{
"timestamp": "2025-01-15T10:30:28.234Z",
"severity": "INFO",
"message": "Handed off to support agent",
"agentId": "complaint-agent",
"requestId": "req-123e4567-e89b-12d3-a456-426614174000",
"isBusinessLog": true
}
],
"duration": 120,
"metadata": {
"version": 1,
"createdAt": "2025-01-15T10:30:27.167Z",
"modifiedAt": "2025-01-15T10:30:29.234Z"
}
}
]- : Needed to read AI agents.
Your Emporix tenant name.
Note: The tenant name should always be provided in lowercase.
Fields to be returned in the response.
A single agent session.
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.
Example response
GET /ai-service/{tenant}/agentic/logs/sessions/{sessionId} HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"sessionId": "sess-123e4567-e89b-12d3-a456-426614174000",
"triggerAgentId": "complaint-agent",
"severity": "INFO",
"agents": [
"complaint-agent",
"support-agent"
],
"messages": [
{
"timestamp": "2025-01-15T10:30:28.234Z",
"severity": "INFO",
"message": "Retrieved order details successfully",
"agentId": "complaint-agent",
"requestId": "req-123e4567-e89b-12d3-a456-426614174000",
"isBusinessLog": true
},
{
"timestamp": "2025-01-15T10:30:30.789Z",
"severity": "INFO",
"message": "Support agent processing request",
"agentId": "support-agent",
"requestId": "req-123e4567-e89b-12d3-a456-426614174000",
"isBusinessLog": false
}
],
"duration": 120,
"metadata": {
"version": 1,
"createdAt": "2025-01-15T10:30:27.167Z",
"modifiedAt": "2025-01-15T10:30:30.789Z"
}
}- : Needed to read AI agents.
Your Emporix tenant name.
Note: The tenant name should always be provided in lowercase.
The number of documents to be retrieved per page.
The page number to be retrieved. The size of the pages should be specified by the pageSize parameter.
List of properties used to sort the results, separated by colons.
Fields to be returned in the response.
Flag indicating whether the total number of retrieved results should be returned.
A standard query parameter is used to search for specific values.
List of agent sessions.
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.
POST /ai-service/{tenant}/agentic/logs/sessions/search HTTP/1.1
Host: api.emporix.io
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"q": "name:~Support"
}[
{
"sessionId": "sess-123e4567-e89b-12d3-a456-426614174000",
"triggerAgentId": "complaint-agent",
"severity": "INFO",
"agents": [
"complaint-agent",
"support-agent"
],
"messages": [
{
"timestamp": "2025-01-15T10:30:27.167Z",
"severity": "INFO",
"message": "Session started",
"agentId": "complaint-agent",
"requestId": "req-123e4567-e89b-12d3-a456-426614174000",
"isBusinessLog": false
},
{
"timestamp": "2025-01-15T10:30:28.234Z",
"severity": "INFO",
"message": "Handed off to support agent",
"agentId": "complaint-agent",
"requestId": "req-123e4567-e89b-12d3-a456-426614174000",
"isBusinessLog": true
}
],
"duration": 120,
"metadata": {
"version": 1,
"createdAt": "2025-01-15T10:30:27.167Z",
"modifiedAt": "2025-01-15T10:30:29.234Z"
}
}
]Last updated
Was this helpful?

