Console Logs API (RETIRED)
The Console Logs API is a secure REST API that provides console logs.
Console Logs API is retired from version 1.25.1. To save and fetch debug logs, please use Audit Logs with our Business Intelligence API.
Retrieves console logs for a specific rule solve identified by its correlationId. The correlationId can be obtained from the X-Correlation-Id response header of the Rule Solver API. Logs are only generated when the solve is run in debug mode (e.g., using the X-Debug: true header).
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
correlationIdstring · uuidRequiredExample:
The unique identifier for a rule solve.
a1b2c3d4-e5f6-7g8h-9i0j-1k2l3m4n5o6pResponses
200
Console logs retrieved successfully.
application/json
_idstringOptional
idstringOptional
timestring · date-timeOptional
baseIdstringOptional
correlationIdstring · uuidOptional
401
Unauthorized. Invalid or missing API key.
404
Not Found. No logs found for the given correlationId, or the logs have expired.
get/{correlationId}
GET /consoleLogs/{correlationId} HTTP/1.1
Host: api.decisionrules.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"_id": "text",
"apiKey": {
"created": "2026-01-01T00:00:00.000Z",
"type": "text",
"key": "text",
"id": "text",
"name": "text"
},
"id": "text",
"time": "2026-01-01T00:00:00.000Z",
"logs": [
{
"timestamp": "2026-01-01T00:00:00.000Z",
"level": "text",
"message": "text"
}
],
"baseId": "text",
"input": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"output": [
{
"prices": {
"finalPrice": 1,
"crudePrice": 1
},
"message": "text"
}
],
"correlationId": "123e4567-e89b-12d3-a456-426614174000"
}
]Last updated
Was this helpful?

