Skip to main content

Find Logs With Filter

This endpoint allows you to find logs with filter.

Endpoint: /api/v1/logs/find

Method: POST

Request Body

Media Type: application/json

Body:

{
"pageNumber": 0,
"pageSize": 100,
"workflowId": "string",
"processId": "string",
"processStepId": "string"
}

pageNumber: (required): Page number. pageSize: (required): Page size workflowId: The workflow id processId: The process id processStepId: The process step id

Responses

200 (OK) The request was successful, and the server returns founded logs

Body:

{
"message": "string",
"timestamp": "2024-03-29T17:25:16.886Z",
"data": {
"totalPages": 0,
"totalElements": 0,
"first": true,
"last": true,
"size": 0,
"content": [
{
"creationTimestamp": "2024-03-29T17:25:16.886Z",
"updatedTimestamp": "2024-03-29T17:25:16.886Z",
"processStepId": "string",
"processId": "string",
"workflowId": "string",
"type": "ERROR",
"params": {
"additionalProp1": "object",
"additionalProp2": "object",
"additionalProp3": "object"
},
"message": "string",
"errors": [
"string"
],
"warnings": [
"string"
],
"infos": [
"string"
],
"trace": "string"
}
],
"number": 0,
"sort": {
"empty": true,
"unsorted": true,
"sorted": true
},
"numberOfElements": 0,
"pageable": {
"offset": 0,
"sort": {
"empty": true,
"unsorted": true,
"sorted": true
},
"pageNumber": 0,
"pageSize": 0,
"paged": true,
"unpaged": true
},
"empty": true
},
"version": "string"
}

401 (Unauthorized) This response is returned if the request is not authorized.

Body:

{
"message": "Unauthorized request",
"timestamp": "2023-09-28T15:37:14.222Z",
"data": "string",
"version": "string"
}

412 (Precondition Failed) This response is returned if a precondition is not met.

Body:

{
"message": "Precondition failed",
"timestamp": "2023-09-28T15:37:14.222Z",
"data": {
"additionalProp1": {},
"additionalProp2": {},
"additionalProp3": {}
},
"version": "string"
}

500 (Internal Server Error) This response is returned if an unexpected internal server error occurs.

Body:

{
"message": "Internal Server Error",
"timestamp": "2023-09-28T15:37:14.223Z",
"data": "string",
"version": "string"
}