List Events
List Events
client.SystemLog.ListEvents(ctx, body) (*ListarrayNextPageTokenstringSystemLogListEventsResponse, error)
post/api/v1/systemlog/events
ListEvents pulls Events from the ConductorOne system.
This endpoint should be used to synchorize the system log events to external systems.
Parameters
bodyPageSizefieldPageTokenfieldSincefieldSinceEventUidfieldSortDirectionfieldUntilfieldSystemLogListEventsParams
Returns
SystemLogListEventsResponsestruct
The SystemLogServiceListEventsResponse message.
Request example Go
package main
import (
"context"
"fmt"
"github.com/stainless-sdks/-go"
"github.com/stainless-sdks/-go/option"
)
func main() {
client := conductoronesdk.NewClient(
option.WithAPIKey("My API Key"),
)
response, err := client.SystemLog.ListEvents(context.TODO(), conductoronesdk.SystemLogListEventsParams{
})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.List)
}
200 Example
{
"list": [
{
"foo": "bar"
}
],
"nextPageToken": "nextPageToken"
}