Get all logs with pagination using cursor
Since there can be a large number of logs, they are paginated. You can go through the results using thecursor.
Filter logs by state and only return the first 50.
More filters can be found in the API Reference.