Create Exports
Search
client.Search.SystemLog.NewExports(ctx, body) (*ListarrayNextPageTokenstringSearchSystemLogNewExportsResponse, error)
post/api/v1/search/systemlog/exports
Invokes the c1.api.systemlog.v1.ExportsSearchService.Search method.
Parameters
bodyDisplayNamefieldPageSizefieldPageTokenfieldQueryfieldRefsfieldSearchSystemLogNewExportsParams
Returns
SearchSystemLogNewExportsResponsestruct
The ExportsSearchServiceSearchResponse 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.Search.SystemLog.NewExports(context.TODO(), conductoronesdk.SearchSystemLogNewExportsParams{
})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.List)
}
200 Example
{
"list": [
{
"datasource": {
"datasourceId": "datasourceId",
"format": "EXPORT_FORMAT_UNSPECIFIED",
"prefix": "prefix"
},
"displayName": "displayName"
}
],
"nextPageToken": "nextPageToken"
}