Console Logs API
The Console Logs API is a secure REST API that provides console logs.
Last updated
Was this helpful?
The Console Logs API is a secure REST API that provides console logs.
Last updated
Was this helpful?
This endpoint allows you to get console logs of specific solve.
GET
https://api.decisionrules.io/consoleLogs/:correlationId
correlationId*
String
CorrelationId of specific solve
Authorization*
String
Bearer <Solver API Key>
You can get the correlationId parameter from the response Header of the Rule Solver API. The correlation id is stored under the response header key X-Correlation-Id. It is generated by the solver upon every run unless the user specifies their own correlation id in the request header.
The console logs are stored for 10 minutes at this moment.
The logs themselves are different for each type of rule. However, the basic structure of the response is always the same. It will be similar to the following.