client

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package client provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 DO NOT EDIT.

Package client provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 DO NOT EDIT.

Index

Constants

View Source
const (
	ApiKeyAuthScopes = "ApiKeyAuth.Scopes"
	OAuth2AuthScopes = "OAuth2Auth.Scopes"
)

Variables

This section is empty.

Functions

func NewCreateApiKeysRequest

func NewCreateApiKeysRequest(server string, instance string, body CreateApiKeysJSONRequestBody) (*http.Request, error)

NewCreateApiKeysRequest calls the generic CreateApiKeys builder with application/json body

func NewCreateApiKeysRequestWithBody

func NewCreateApiKeysRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateApiKeysRequestWithBody generates requests for CreateApiKeys with any type of body

func NewCreateBulkRequest

func NewCreateBulkRequest(server string, instance string, body CreateBulkJSONRequestBody) (*http.Request, error)

NewCreateBulkRequest calls the generic CreateBulk builder with application/json body

func NewCreateBulkRequestWithBody

func NewCreateBulkRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateBulkRequestWithBody generates requests for CreateBulk with any type of body

func NewCreateDashboardsRequest

func NewCreateDashboardsRequest(server string, instance string, body CreateDashboardsJSONRequestBody) (*http.Request, error)

NewCreateDashboardsRequest calls the generic CreateDashboards builder with application/json body

func NewCreateDashboardsRequestWithBody

func NewCreateDashboardsRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateDashboardsRequestWithBody generates requests for CreateDashboards with any type of body

func NewCreateDropRulesRequest

func NewCreateDropRulesRequest(server string, instance string, body CreateDropRulesJSONRequestBody) (*http.Request, error)

NewCreateDropRulesRequest calls the generic CreateDropRules builder with application/json body

func NewCreateDropRulesRequestWithBody

func NewCreateDropRulesRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateDropRulesRequestWithBody generates requests for CreateDropRules with any type of body

func NewCreateFoldersRequest

func NewCreateFoldersRequest(server string, instance string, body CreateFoldersJSONRequestBody) (*http.Request, error)

NewCreateFoldersRequest calls the generic CreateFolders builder with application/json body

func NewCreateFoldersRequestWithBody

func NewCreateFoldersRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateFoldersRequestWithBody generates requests for CreateFolders with any type of body

func NewCreateGenaiDatasetItemRequest added in v0.14.0

func NewCreateGenaiDatasetItemRequest(server string, instance string, body CreateGenaiDatasetItemJSONRequestBody) (*http.Request, error)

NewCreateGenaiDatasetItemRequest calls the generic CreateGenaiDatasetItem builder with application/json body

func NewCreateGenaiDatasetItemRequestWithBody added in v0.14.0

func NewCreateGenaiDatasetItemRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateGenaiDatasetItemRequestWithBody generates requests for CreateGenaiDatasetItem with any type of body

func NewCreateGenaiDatasetRequest added in v0.14.0

func NewCreateGenaiDatasetRequest(server string, instance string, body CreateGenaiDatasetJSONRequestBody) (*http.Request, error)

NewCreateGenaiDatasetRequest calls the generic CreateGenaiDataset builder with application/json body

func NewCreateGenaiDatasetRequestWithBody added in v0.14.0

func NewCreateGenaiDatasetRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateGenaiDatasetRequestWithBody generates requests for CreateGenaiDataset with any type of body

func NewCreateGenaiEvaluationRuleRequest added in v0.14.0

func NewCreateGenaiEvaluationRuleRequest(server string, instance string, body CreateGenaiEvaluationRuleJSONRequestBody) (*http.Request, error)

NewCreateGenaiEvaluationRuleRequest calls the generic CreateGenaiEvaluationRule builder with application/json body

func NewCreateGenaiEvaluationRuleRequestWithBody added in v0.14.0

func NewCreateGenaiEvaluationRuleRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateGenaiEvaluationRuleRequestWithBody generates requests for CreateGenaiEvaluationRule with any type of body

func NewCreateGenaiEvaluatorRequest added in v0.14.0

func NewCreateGenaiEvaluatorRequest(server string, instance string, body CreateGenaiEvaluatorJSONRequestBody) (*http.Request, error)

NewCreateGenaiEvaluatorRequest calls the generic CreateGenaiEvaluator builder with application/json body

func NewCreateGenaiEvaluatorRequestWithBody added in v0.14.0

func NewCreateGenaiEvaluatorRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateGenaiEvaluatorRequestWithBody generates requests for CreateGenaiEvaluator with any type of body

func NewCreateGenaiExperimentItemRequest added in v0.14.0

func NewCreateGenaiExperimentItemRequest(server string, instance string, body CreateGenaiExperimentItemJSONRequestBody) (*http.Request, error)

NewCreateGenaiExperimentItemRequest calls the generic CreateGenaiExperimentItem builder with application/json body

func NewCreateGenaiExperimentItemRequestWithBody added in v0.14.0

func NewCreateGenaiExperimentItemRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateGenaiExperimentItemRequestWithBody generates requests for CreateGenaiExperimentItem with any type of body

func NewCreateGenaiJobRequest added in v0.14.0

func NewCreateGenaiJobRequest(server string, instance string, body CreateGenaiJobJSONRequestBody) (*http.Request, error)

NewCreateGenaiJobRequest calls the generic CreateGenaiJob builder with application/json body

func NewCreateGenaiJobRequestWithBody added in v0.14.0

func NewCreateGenaiJobRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateGenaiJobRequestWithBody generates requests for CreateGenaiJob with any type of body

func NewCreateGenaiLlmConnectionRequest added in v0.14.0

func NewCreateGenaiLlmConnectionRequest(server string, instance string, body CreateGenaiLlmConnectionJSONRequestBody) (*http.Request, error)

NewCreateGenaiLlmConnectionRequest calls the generic CreateGenaiLlmConnection builder with application/json body

func NewCreateGenaiLlmConnectionRequestWithBody added in v0.14.0

func NewCreateGenaiLlmConnectionRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateGenaiLlmConnectionRequestWithBody generates requests for CreateGenaiLlmConnection with any type of body

func NewCreateGenaiPromptRequest added in v0.14.0

func NewCreateGenaiPromptRequest(server string, instance string, body CreateGenaiPromptJSONRequestBody) (*http.Request, error)

NewCreateGenaiPromptRequest calls the generic CreateGenaiPrompt builder with application/json body

func NewCreateGenaiPromptRequestWithBody added in v0.14.0

func NewCreateGenaiPromptRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateGenaiPromptRequestWithBody generates requests for CreateGenaiPrompt with any type of body

func NewCreateGenaiScoreRequest added in v0.14.0

func NewCreateGenaiScoreRequest(server string, instance string, body CreateGenaiScoreJSONRequestBody) (*http.Request, error)

NewCreateGenaiScoreRequest calls the generic CreateGenaiScore builder with application/json body

func NewCreateGenaiScoreRequestWithBody added in v0.14.0

func NewCreateGenaiScoreRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateGenaiScoreRequestWithBody generates requests for CreateGenaiScore with any type of body

func NewCreateIntegrationsRequest added in v0.11.0

func NewCreateIntegrationsRequest(server string, instance string, body CreateIntegrationsJSONRequestBody) (*http.Request, error)

NewCreateIntegrationsRequest calls the generic CreateIntegrations builder with application/json body

func NewCreateIntegrationsRequestWithBody added in v0.11.0

func NewCreateIntegrationsRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateIntegrationsRequestWithBody generates requests for CreateIntegrations with any type of body

func NewCreateInvitationsRequest

func NewCreateInvitationsRequest(server string, instance string, body CreateInvitationsJSONRequestBody) (*http.Request, error)

NewCreateInvitationsRequest calls the generic CreateInvitations builder with application/json body

func NewCreateInvitationsRequestWithBody

func NewCreateInvitationsRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateInvitationsRequestWithBody generates requests for CreateInvitations with any type of body

func NewCreateLogmetricsRequest

func NewCreateLogmetricsRequest(server string, instance string, body CreateLogmetricsJSONRequestBody) (*http.Request, error)

NewCreateLogmetricsRequest calls the generic CreateLogmetrics builder with application/json body

func NewCreateLogmetricsRequestWithBody

func NewCreateLogmetricsRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateLogmetricsRequestWithBody generates requests for CreateLogmetrics with any type of body

func NewCreateMonitorsRequest

func NewCreateMonitorsRequest(server string, instance string, body CreateMonitorsJSONRequestBody) (*http.Request, error)

NewCreateMonitorsRequest calls the generic CreateMonitors builder with application/json body

func NewCreateMonitorsRequestWithBody

func NewCreateMonitorsRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateMonitorsRequestWithBody generates requests for CreateMonitors with any type of body

func NewCreateMutingRulesRequest

func NewCreateMutingRulesRequest(server string, instance string, body CreateMutingRulesJSONRequestBody) (*http.Request, error)

NewCreateMutingRulesRequest calls the generic CreateMutingRules builder with application/json body

func NewCreateMutingRulesRequestWithBody

func NewCreateMutingRulesRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateMutingRulesRequestWithBody generates requests for CreateMutingRules with any type of body

func NewCreateNotificationPoliciesRequest

func NewCreateNotificationPoliciesRequest(server string, instance string, body CreateNotificationPoliciesJSONRequestBody) (*http.Request, error)

NewCreateNotificationPoliciesRequest calls the generic CreateNotificationPolicies builder with application/json body

func NewCreateNotificationPoliciesRequestWithBody

func NewCreateNotificationPoliciesRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateNotificationPoliciesRequestWithBody generates requests for CreateNotificationPolicies with any type of body

func NewCreateNotifiersRequest

func NewCreateNotifiersRequest(server string, instance string, body CreateNotifiersJSONRequestBody) (*http.Request, error)

NewCreateNotifiersRequest calls the generic CreateNotifiers builder with application/json body

func NewCreateNotifiersRequestWithBody

func NewCreateNotifiersRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateNotifiersRequestWithBody generates requests for CreateNotifiers with any type of body

func NewCreateRunByIdRequest

func NewCreateRunByIdRequest(server string, instance string, id string) (*http.Request, error)

NewCreateRunByIdRequest generates requests for CreateRunById

func NewCreateSyntheticMonitorsRequest

func NewCreateSyntheticMonitorsRequest(server string, instance string, body CreateSyntheticMonitorsJSONRequestBody) (*http.Request, error)

NewCreateSyntheticMonitorsRequest calls the generic CreateSyntheticMonitors builder with application/json body

func NewCreateSyntheticMonitorsRequestWithBody

func NewCreateSyntheticMonitorsRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewCreateSyntheticMonitorsRequestWithBody generates requests for CreateSyntheticMonitors with any type of body

func NewCreateTemplateFilesRequest

func NewCreateTemplateFilesRequest(server string, instance string) (*http.Request, error)

NewCreateTemplateFilesRequest generates requests for CreateTemplateFiles

func NewDeleteApiKeysByIdRequest

func NewDeleteApiKeysByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteApiKeysByIdRequest generates requests for DeleteApiKeysById

func NewDeleteDashboardsByIdRequest

func NewDeleteDashboardsByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteDashboardsByIdRequest generates requests for DeleteDashboardsById

func NewDeleteDropRulesByIdRequest

func NewDeleteDropRulesByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteDropRulesByIdRequest generates requests for DeleteDropRulesById

func NewDeleteGenaiDatasetItemRequest added in v0.14.0

func NewDeleteGenaiDatasetItemRequest(server string, instance string, itemId string) (*http.Request, error)

NewDeleteGenaiDatasetItemRequest generates requests for DeleteGenaiDatasetItem

func NewDeleteGenaiDatasetRequest added in v0.14.0

func NewDeleteGenaiDatasetRequest(server string, instance string, datasetName string) (*http.Request, error)

NewDeleteGenaiDatasetRequest generates requests for DeleteGenaiDataset

func NewDeleteGenaiDatasetScheduleRequest added in v0.15.0

func NewDeleteGenaiDatasetScheduleRequest(server string, instance string, datasetName string) (*http.Request, error)

NewDeleteGenaiDatasetScheduleRequest generates requests for DeleteGenaiDatasetSchedule

func NewDeleteGenaiEvaluationRuleRequest added in v0.14.0

func NewDeleteGenaiEvaluationRuleRequest(server string, instance string, ruleId string) (*http.Request, error)

NewDeleteGenaiEvaluationRuleRequest generates requests for DeleteGenaiEvaluationRule

func NewDeleteGenaiEvaluatorRequest added in v0.14.0

func NewDeleteGenaiEvaluatorRequest(server string, instance string, templateId string) (*http.Request, error)

NewDeleteGenaiEvaluatorRequest generates requests for DeleteGenaiEvaluator

func NewDeleteGenaiLlmConnectionRequest added in v0.14.0

func NewDeleteGenaiLlmConnectionRequest(server string, instance string, connectionId string) (*http.Request, error)

NewDeleteGenaiLlmConnectionRequest generates requests for DeleteGenaiLlmConnection

func NewDeleteGenaiPromptRequest added in v0.14.0

func NewDeleteGenaiPromptRequest(server string, instance string, promptName string) (*http.Request, error)

NewDeleteGenaiPromptRequest generates requests for DeleteGenaiPrompt

func NewDeleteGenaiPromptVersionRequest added in v0.14.0

func NewDeleteGenaiPromptVersionRequest(server string, instance string, promptName string, promptVersion int) (*http.Request, error)

NewDeleteGenaiPromptVersionRequest generates requests for DeleteGenaiPromptVersion

func NewDeleteIntegrationsByIdRequest added in v0.11.0

func NewDeleteIntegrationsByIdRequest(server string, instance string, integrationId string) (*http.Request, error)

NewDeleteIntegrationsByIdRequest generates requests for DeleteIntegrationsById

func NewDeleteInvitationsByIdRequest

func NewDeleteInvitationsByIdRequest(server string, instance string, invitationId string) (*http.Request, error)

NewDeleteInvitationsByIdRequest generates requests for DeleteInvitationsById

func NewDeleteLogmetricsByIdRequest

func NewDeleteLogmetricsByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteLogmetricsByIdRequest generates requests for DeleteLogmetricsById

func NewDeleteMonitorsByIdRequest

func NewDeleteMonitorsByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteMonitorsByIdRequest generates requests for DeleteMonitorsById

func NewDeleteMonitorsRequest

func NewDeleteMonitorsRequest(server string, instance string, body DeleteMonitorsJSONRequestBody) (*http.Request, error)

NewDeleteMonitorsRequest calls the generic DeleteMonitors builder with application/json body

func NewDeleteMonitorsRequestWithBody

func NewDeleteMonitorsRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteMonitorsRequestWithBody generates requests for DeleteMonitors with any type of body

func NewDeleteMutingRulesByIdRequest

func NewDeleteMutingRulesByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteMutingRulesByIdRequest generates requests for DeleteMutingRulesById

func NewDeleteNotificationPoliciesByIdRequest

func NewDeleteNotificationPoliciesByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteNotificationPoliciesByIdRequest generates requests for DeleteNotificationPoliciesById

func NewDeleteNotifiersByIdRequest

func NewDeleteNotifiersByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteNotifiersByIdRequest generates requests for DeleteNotifiersById

func NewDeleteSyntheticMonitorsByIdRequest

func NewDeleteSyntheticMonitorsByIdRequest(server string, instance string, id string) (*http.Request, error)

NewDeleteSyntheticMonitorsByIdRequest generates requests for DeleteSyntheticMonitorsById

func NewDeleteUsersRequest added in v0.11.0

func NewDeleteUsersRequest(server string, instance string, body DeleteUsersJSONRequestBody) (*http.Request, error)

NewDeleteUsersRequest calls the generic DeleteUsers builder with application/json body

func NewDeleteUsersRequestWithBody added in v0.11.0

func NewDeleteUsersRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewDeleteUsersRequestWithBody generates requests for DeleteUsers with any type of body

func NewGetApiKeysByIdRequest

func NewGetApiKeysByIdRequest(server string, instance string, id string) (*http.Request, error)

NewGetApiKeysByIdRequest generates requests for GetApiKeysById

func NewGetDashboardsByIdRequest

func NewGetDashboardsByIdRequest(server string, instance string, id string) (*http.Request, error)

NewGetDashboardsByIdRequest generates requests for GetDashboardsById

func NewGetDropRulesByIdRequest

func NewGetDropRulesByIdRequest(server string, instance string, id string) (*http.Request, error)

NewGetDropRulesByIdRequest generates requests for GetDropRulesById

func NewGetGenaiDatasetItemRequest added in v0.14.0

func NewGetGenaiDatasetItemRequest(server string, instance string, itemId string) (*http.Request, error)

NewGetGenaiDatasetItemRequest generates requests for GetGenaiDatasetItem

func NewGetGenaiDatasetRequest added in v0.14.0

func NewGetGenaiDatasetRequest(server string, instance string, datasetName string) (*http.Request, error)

NewGetGenaiDatasetRequest generates requests for GetGenaiDataset

func NewGetGenaiDatasetScheduleRequest added in v0.15.0

func NewGetGenaiDatasetScheduleRequest(server string, instance string, datasetName string) (*http.Request, error)

NewGetGenaiDatasetScheduleRequest generates requests for GetGenaiDatasetSchedule

func NewGetGenaiEvaluatorRequest added in v0.14.0

func NewGetGenaiEvaluatorRequest(server string, instance string, templateId string) (*http.Request, error)

NewGetGenaiEvaluatorRequest generates requests for GetGenaiEvaluator

func NewGetGenaiJobRequest added in v0.14.0

func NewGetGenaiJobRequest(server string, instance string, jobId string) (*http.Request, error)

NewGetGenaiJobRequest generates requests for GetGenaiJob

func NewGetGenaiPromptRequest added in v0.14.0

func NewGetGenaiPromptRequest(server string, instance string, promptName string, params *GetGenaiPromptParams) (*http.Request, error)

NewGetGenaiPromptRequest generates requests for GetGenaiPrompt

func NewGetGenaiScoreRequest added in v0.14.0

func NewGetGenaiScoreRequest(server string, instance string, scoreId string) (*http.Request, error)

NewGetGenaiScoreRequest generates requests for GetGenaiScore

func NewGetIntegrationSetupSpecRequest added in v0.6.0

func NewGetIntegrationSetupSpecRequest(server string, integrationType string) (*http.Request, error)

NewGetIntegrationSetupSpecRequest generates requests for GetIntegrationSetupSpec

func NewGetIntegrationsByIdRequest added in v0.11.0

func NewGetIntegrationsByIdRequest(server string, instance string, integrationId string) (*http.Request, error)

NewGetIntegrationsByIdRequest generates requests for GetIntegrationsById

func NewGetInvitationsByIdRequest added in v0.11.0

func NewGetInvitationsByIdRequest(server string, instance string, invitationId string) (*http.Request, error)

NewGetInvitationsByIdRequest generates requests for GetInvitationsById

func NewGetLabelsByIdRequest

func NewGetLabelsByIdRequest(server string, instance string, metricName string, params *GetLabelsByIdParams) (*http.Request, error)

NewGetLabelsByIdRequest generates requests for GetLabelsById

func NewGetLogmetricsByIdRequest

func NewGetLogmetricsByIdRequest(server string, instance string, id string) (*http.Request, error)

NewGetLogmetricsByIdRequest generates requests for GetLogmetricsById

func NewGetMonitorStateByIdRequest

func NewGetMonitorStateByIdRequest(server string, instance string, id string, params *GetMonitorStateByIdParams) (*http.Request, error)

NewGetMonitorStateByIdRequest generates requests for GetMonitorStateById

func NewGetMonitorsByIdRequest

func NewGetMonitorsByIdRequest(server string, instance string, id string) (*http.Request, error)

NewGetMonitorsByIdRequest generates requests for GetMonitorsById

func NewGetMutingRulesByIdRequest

func NewGetMutingRulesByIdRequest(server string, instance string, id string) (*http.Request, error)

NewGetMutingRulesByIdRequest generates requests for GetMutingRulesById

func NewGetNotificationPoliciesByIdRequest

func NewGetNotificationPoliciesByIdRequest(server string, instance string, id string) (*http.Request, error)

NewGetNotificationPoliciesByIdRequest generates requests for GetNotificationPoliciesById

func NewGetNotifiersByIdRequest

func NewGetNotifiersByIdRequest(server string, instance string, id string) (*http.Request, error)

NewGetNotifiersByIdRequest generates requests for GetNotifiersById

func NewGetOrgRequest added in v0.14.0

func NewGetOrgRequest(server string) (*http.Request, error)

NewGetOrgRequest generates requests for GetOrg

func NewGetSyntheticMonitorsByIdRequest

func NewGetSyntheticMonitorsByIdRequest(server string, instance string, id string) (*http.Request, error)

NewGetSyntheticMonitorsByIdRequest generates requests for GetSyntheticMonitorsById

func NewGetTraceLabelValuesByIdRequest added in v0.2.0

func NewGetTraceLabelValuesByIdRequest(server string, instance string, labelName string, params *GetTraceLabelValuesByIdParams) (*http.Request, error)

NewGetTraceLabelValuesByIdRequest generates requests for GetTraceLabelValuesById

func NewGetTracesByIdRequest

func NewGetTracesByIdRequest(server string, instance string, traceId string, params *GetTracesByIdParams) (*http.Request, error)

NewGetTracesByIdRequest generates requests for GetTracesById

func NewGetValuesByIdRequest

func NewGetValuesByIdRequest(server string, instance string, metricName string, labelName string, params *GetValuesByIdParams) (*http.Request, error)

NewGetValuesByIdRequest generates requests for GetValuesById

func NewListApiKeysRequest

func NewListApiKeysRequest(server string, instance string) (*http.Request, error)

NewListApiKeysRequest generates requests for ListApiKeys

func NewListDashboardsRequest

func NewListDashboardsRequest(server string, instance string) (*http.Request, error)

NewListDashboardsRequest generates requests for ListDashboards

func NewListDropRulesRequest

func NewListDropRulesRequest(server string, instance string) (*http.Request, error)

NewListDropRulesRequest generates requests for ListDropRules

func NewListFoldersRequest

func NewListFoldersRequest(server string, instance string) (*http.Request, error)

NewListFoldersRequest generates requests for ListFolders

func NewListGenaiDatasetItemsRequest added in v0.14.0

func NewListGenaiDatasetItemsRequest(server string, instance string, datasetName string, params *ListGenaiDatasetItemsParams) (*http.Request, error)

NewListGenaiDatasetItemsRequest generates requests for ListGenaiDatasetItems

func NewListGenaiDatasetsRequest added in v0.14.0

func NewListGenaiDatasetsRequest(server string, instance string, params *ListGenaiDatasetsParams) (*http.Request, error)

NewListGenaiDatasetsRequest generates requests for ListGenaiDatasets

func NewListGenaiEvaluationRulesRequest added in v0.14.0

func NewListGenaiEvaluationRulesRequest(server string, instance string, params *ListGenaiEvaluationRulesParams) (*http.Request, error)

NewListGenaiEvaluationRulesRequest generates requests for ListGenaiEvaluationRules

func NewListGenaiEvaluatorsRequest added in v0.14.0

func NewListGenaiEvaluatorsRequest(server string, instance string, params *ListGenaiEvaluatorsParams) (*http.Request, error)

NewListGenaiEvaluatorsRequest generates requests for ListGenaiEvaluators

func NewListGenaiExperimentItemsRequest added in v0.14.0

func NewListGenaiExperimentItemsRequest(server string, instance string, params *ListGenaiExperimentItemsParams) (*http.Request, error)

NewListGenaiExperimentItemsRequest generates requests for ListGenaiExperimentItems

func NewListGenaiExperimentsRequest added in v0.14.0

func NewListGenaiExperimentsRequest(server string, instance string, datasetName string, params *ListGenaiExperimentsParams) (*http.Request, error)

NewListGenaiExperimentsRequest generates requests for ListGenaiExperiments

func NewListGenaiJobsRequest added in v0.14.0

func NewListGenaiJobsRequest(server string, instance string, params *ListGenaiJobsParams) (*http.Request, error)

NewListGenaiJobsRequest generates requests for ListGenaiJobs

func NewListGenaiLlmConnectionsRequest added in v0.14.0

func NewListGenaiLlmConnectionsRequest(server string, instance string) (*http.Request, error)

NewListGenaiLlmConnectionsRequest generates requests for ListGenaiLlmConnections

func NewListGenaiPromptVersionsRequest added in v0.14.0

func NewListGenaiPromptVersionsRequest(server string, instance string, promptName string) (*http.Request, error)

NewListGenaiPromptVersionsRequest generates requests for ListGenaiPromptVersions

func NewListGenaiPromptsRequest added in v0.14.0

func NewListGenaiPromptsRequest(server string, instance string, params *ListGenaiPromptsParams) (*http.Request, error)

NewListGenaiPromptsRequest generates requests for ListGenaiPrompts

func NewListGenaiScoresRequest added in v0.14.0

func NewListGenaiScoresRequest(server string, instance string, params *ListGenaiScoresParams) (*http.Request, error)

NewListGenaiScoresRequest generates requests for ListGenaiScores

func NewListIntegrationSetupSpecsRequest added in v0.8.0

func NewListIntegrationSetupSpecsRequest(server string) (*http.Request, error)

NewListIntegrationSetupSpecsRequest generates requests for ListIntegrationSetupSpecs

func NewListIntegrationsRequest added in v0.6.0

func NewListIntegrationsRequest(server string, instance string) (*http.Request, error)

NewListIntegrationsRequest generates requests for ListIntegrations

func NewListInvitationsOpRequest

func NewListInvitationsOpRequest(server string, instance string) (*http.Request, error)

NewListInvitationsOpRequest generates requests for ListInvitationsOp

func NewListLabelsRequest

func NewListLabelsRequest(server string, instance string, params *ListLabelsParams) (*http.Request, error)

NewListLabelsRequest generates requests for ListLabels

func NewListLogIndexPatternsRequest added in v0.4.0

func NewListLogIndexPatternsRequest(server string) (*http.Request, error)

NewListLogIndexPatternsRequest generates requests for ListLogIndexPatterns

func NewListLogmetricsRequest

func NewListLogmetricsRequest(server string, instance string) (*http.Request, error)

NewListLogmetricsRequest generates requests for ListLogmetrics

func NewListMonitorTriggersRequest

func NewListMonitorTriggersRequest(server string, instance string) (*http.Request, error)

NewListMonitorTriggersRequest generates requests for ListMonitorTriggers

func NewListMonitorsRequest

func NewListMonitorsRequest(server string, instance string) (*http.Request, error)

NewListMonitorsRequest generates requests for ListMonitors

func NewListMutingRulesRequest

func NewListMutingRulesRequest(server string, instance string) (*http.Request, error)

NewListMutingRulesRequest generates requests for ListMutingRules

func NewListNamesRequest

func NewListNamesRequest(server string, instance string, params *ListNamesParams) (*http.Request, error)

NewListNamesRequest generates requests for ListNames

func NewListNotificationPoliciesRequest

func NewListNotificationPoliciesRequest(server string, instance string) (*http.Request, error)

NewListNotificationPoliciesRequest generates requests for ListNotificationPolicies

func NewListNotifiersRequest

func NewListNotifiersRequest(server string, instance string) (*http.Request, error)

NewListNotifiersRequest generates requests for ListNotifiers

func NewListOauthProtectedResourceV1Request added in v0.6.0

func NewListOauthProtectedResourceV1Request(server string) (*http.Request, error)

NewListOauthProtectedResourceV1Request generates requests for ListOauthProtectedResourceV1

func NewListRolesOpRequest added in v0.11.0

func NewListRolesOpRequest(server string, instance string) (*http.Request, error)

NewListRolesOpRequest generates requests for ListRolesOp

func NewListSyntheticMonitorsOpRequest added in v0.2.0

func NewListSyntheticMonitorsOpRequest(server string, instance string) (*http.Request, error)

NewListSyntheticMonitorsOpRequest generates requests for ListSyntheticMonitorsOp

func NewListTracesRequest

func NewListTracesRequest(server string, instance string, params *ListTracesParams) (*http.Request, error)

NewListTracesRequest generates requests for ListTraces

func NewListUsersOpRequest

func NewListUsersOpRequest(server string, instance string, params *ListUsersOpParams) (*http.Request, error)

NewListUsersOpRequest generates requests for ListUsersOp

func NewPatchApiKeysByIdRequest added in v0.11.0

func NewPatchApiKeysByIdRequest(server string, instance string, id string, body PatchApiKeysByIdJSONRequestBody) (*http.Request, error)

NewPatchApiKeysByIdRequest calls the generic PatchApiKeysById builder with application/json body

func NewPatchApiKeysByIdRequestWithBody added in v0.11.0

func NewPatchApiKeysByIdRequestWithBody(server string, instance string, id string, contentType string, body io.Reader) (*http.Request, error)

NewPatchApiKeysByIdRequestWithBody generates requests for PatchApiKeysById with any type of body

func NewPatchIntegrationsByIdRequest added in v0.11.0

func NewPatchIntegrationsByIdRequest(server string, instance string, integrationId string, body PatchIntegrationsByIdJSONRequestBody) (*http.Request, error)

NewPatchIntegrationsByIdRequest calls the generic PatchIntegrationsById builder with application/json body

func NewPatchIntegrationsByIdRequestWithBody added in v0.11.0

func NewPatchIntegrationsByIdRequestWithBody(server string, instance string, integrationId string, contentType string, body io.Reader) (*http.Request, error)

NewPatchIntegrationsByIdRequestWithBody generates requests for PatchIntegrationsById with any type of body

func NewPatchUsersRequest added in v0.11.0

func NewPatchUsersRequest(server string, instance string, body PatchUsersJSONRequestBody) (*http.Request, error)

NewPatchUsersRequest calls the generic PatchUsers builder with application/json body

func NewPatchUsersRequestWithBody added in v0.11.0

func NewPatchUsersRequestWithBody(server string, instance string, contentType string, body io.Reader) (*http.Request, error)

NewPatchUsersRequestWithBody generates requests for PatchUsers with any type of body

func NewQueryLogsRequestWithBody added in v0.4.0

func NewQueryLogsRequestWithBody(server string, params *QueryLogsParams, contentType string, body io.Reader) (*http.Request, error)

NewQueryLogsRequestWithBody generates requests for QueryLogs with any type of body

func NewQueryMetricsInstantRequest added in v0.4.0

func NewQueryMetricsInstantRequest(server string, params *QueryMetricsInstantParams) (*http.Request, error)

NewQueryMetricsInstantRequest generates requests for QueryMetricsInstant

func NewQueryMetricsRangeRequest added in v0.4.0

func NewQueryMetricsRangeRequest(server string, params *QueryMetricsRangeParams) (*http.Request, error)

NewQueryMetricsRangeRequest generates requests for QueryMetricsRange

func NewSetGenaiDatasetScheduleRequest added in v0.15.0

func NewSetGenaiDatasetScheduleRequest(server string, instance string, datasetName string, body SetGenaiDatasetScheduleJSONRequestBody) (*http.Request, error)

NewSetGenaiDatasetScheduleRequest calls the generic SetGenaiDatasetSchedule builder with application/json body

func NewSetGenaiDatasetScheduleRequestWithBody added in v0.15.0

func NewSetGenaiDatasetScheduleRequestWithBody(server string, instance string, datasetName string, contentType string, body io.Reader) (*http.Request, error)

NewSetGenaiDatasetScheduleRequestWithBody generates requests for SetGenaiDatasetSchedule with any type of body

func NewUpdateDropRulesByIdRequest

func NewUpdateDropRulesByIdRequest(server string, instance string, id string, body UpdateDropRulesByIdJSONRequestBody) (*http.Request, error)

NewUpdateDropRulesByIdRequest calls the generic UpdateDropRulesById builder with application/json body

func NewUpdateDropRulesByIdRequestWithBody

func NewUpdateDropRulesByIdRequestWithBody(server string, instance string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateDropRulesByIdRequestWithBody generates requests for UpdateDropRulesById with any type of body

func NewUpdateGenaiDatasetItemRequest added in v0.14.0

func NewUpdateGenaiDatasetItemRequest(server string, instance string, itemId string, body UpdateGenaiDatasetItemJSONRequestBody) (*http.Request, error)

NewUpdateGenaiDatasetItemRequest calls the generic UpdateGenaiDatasetItem builder with application/json body

func NewUpdateGenaiDatasetItemRequestWithBody added in v0.14.0

func NewUpdateGenaiDatasetItemRequestWithBody(server string, instance string, itemId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateGenaiDatasetItemRequestWithBody generates requests for UpdateGenaiDatasetItem with any type of body

func NewUpdateGenaiEvaluationRuleRequest added in v0.14.0

func NewUpdateGenaiEvaluationRuleRequest(server string, instance string, ruleId string, body UpdateGenaiEvaluationRuleJSONRequestBody) (*http.Request, error)

NewUpdateGenaiEvaluationRuleRequest calls the generic UpdateGenaiEvaluationRule builder with application/json body

func NewUpdateGenaiEvaluationRuleRequestWithBody added in v0.14.0

func NewUpdateGenaiEvaluationRuleRequestWithBody(server string, instance string, ruleId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateGenaiEvaluationRuleRequestWithBody generates requests for UpdateGenaiEvaluationRule with any type of body

func NewUpdateGenaiEvaluatorRequest added in v0.14.0

func NewUpdateGenaiEvaluatorRequest(server string, instance string, templateId string, body UpdateGenaiEvaluatorJSONRequestBody) (*http.Request, error)

NewUpdateGenaiEvaluatorRequest calls the generic UpdateGenaiEvaluator builder with application/json body

func NewUpdateGenaiEvaluatorRequestWithBody added in v0.14.0

func NewUpdateGenaiEvaluatorRequestWithBody(server string, instance string, templateId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateGenaiEvaluatorRequestWithBody generates requests for UpdateGenaiEvaluator with any type of body

func NewUpdateGenaiJobRequest added in v0.14.0

func NewUpdateGenaiJobRequest(server string, instance string, jobId string, body UpdateGenaiJobJSONRequestBody) (*http.Request, error)

NewUpdateGenaiJobRequest calls the generic UpdateGenaiJob builder with application/json body

func NewUpdateGenaiJobRequestWithBody added in v0.14.0

func NewUpdateGenaiJobRequestWithBody(server string, instance string, jobId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateGenaiJobRequestWithBody generates requests for UpdateGenaiJob with any type of body

func NewUpdateGenaiLlmConnectionRequest added in v0.14.0

func NewUpdateGenaiLlmConnectionRequest(server string, instance string, connectionId string, body UpdateGenaiLlmConnectionJSONRequestBody) (*http.Request, error)

NewUpdateGenaiLlmConnectionRequest calls the generic UpdateGenaiLlmConnection builder with application/json body

func NewUpdateGenaiLlmConnectionRequestWithBody added in v0.14.0

func NewUpdateGenaiLlmConnectionRequestWithBody(server string, instance string, connectionId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateGenaiLlmConnectionRequestWithBody generates requests for UpdateGenaiLlmConnection with any type of body

func NewUpdateGenaiPromptLabelsRequest added in v0.14.0

func NewUpdateGenaiPromptLabelsRequest(server string, instance string, promptName string, body UpdateGenaiPromptLabelsJSONRequestBody) (*http.Request, error)

NewUpdateGenaiPromptLabelsRequest calls the generic UpdateGenaiPromptLabels builder with application/json body

func NewUpdateGenaiPromptLabelsRequestWithBody added in v0.14.0

func NewUpdateGenaiPromptLabelsRequestWithBody(server string, instance string, promptName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateGenaiPromptLabelsRequestWithBody generates requests for UpdateGenaiPromptLabels with any type of body

func NewUpdateGenaiPromptVersionLabelsRequest added in v0.14.0

func NewUpdateGenaiPromptVersionLabelsRequest(server string, instance string, promptName string, promptVersion int, body UpdateGenaiPromptVersionLabelsJSONRequestBody) (*http.Request, error)

NewUpdateGenaiPromptVersionLabelsRequest calls the generic UpdateGenaiPromptVersionLabels builder with application/json body

func NewUpdateGenaiPromptVersionLabelsRequestWithBody added in v0.14.0

func NewUpdateGenaiPromptVersionLabelsRequestWithBody(server string, instance string, promptName string, promptVersion int, contentType string, body io.Reader) (*http.Request, error)

NewUpdateGenaiPromptVersionLabelsRequestWithBody generates requests for UpdateGenaiPromptVersionLabels with any type of body

func NewUpdateIntegrationsByIdRequest added in v0.11.0

func NewUpdateIntegrationsByIdRequest(server string, instance string, integrationId string, body UpdateIntegrationsByIdJSONRequestBody) (*http.Request, error)

NewUpdateIntegrationsByIdRequest calls the generic UpdateIntegrationsById builder with application/json body

func NewUpdateIntegrationsByIdRequestWithBody added in v0.11.0

func NewUpdateIntegrationsByIdRequestWithBody(server string, instance string, integrationId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateIntegrationsByIdRequestWithBody generates requests for UpdateIntegrationsById with any type of body

func NewUpdateLogmetricsByIdRequest

func NewUpdateLogmetricsByIdRequest(server string, instance string, id string, body UpdateLogmetricsByIdJSONRequestBody) (*http.Request, error)

NewUpdateLogmetricsByIdRequest calls the generic UpdateLogmetricsById builder with application/json body

func NewUpdateLogmetricsByIdRequestWithBody

func NewUpdateLogmetricsByIdRequestWithBody(server string, instance string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateLogmetricsByIdRequestWithBody generates requests for UpdateLogmetricsById with any type of body

func NewUpdateMonitorsByIdRequest

func NewUpdateMonitorsByIdRequest(server string, instance string, id string, body UpdateMonitorsByIdJSONRequestBody) (*http.Request, error)

NewUpdateMonitorsByIdRequest calls the generic UpdateMonitorsById builder with application/json body

func NewUpdateMonitorsByIdRequestWithBody

func NewUpdateMonitorsByIdRequestWithBody(server string, instance string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateMonitorsByIdRequestWithBody generates requests for UpdateMonitorsById with any type of body

func NewUpdateNotificationPoliciesByIdRequest

func NewUpdateNotificationPoliciesByIdRequest(server string, instance string, id string, body UpdateNotificationPoliciesByIdJSONRequestBody) (*http.Request, error)

NewUpdateNotificationPoliciesByIdRequest calls the generic UpdateNotificationPoliciesById builder with application/json body

func NewUpdateNotificationPoliciesByIdRequestWithBody

func NewUpdateNotificationPoliciesByIdRequestWithBody(server string, instance string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateNotificationPoliciesByIdRequestWithBody generates requests for UpdateNotificationPoliciesById with any type of body

func NewUpdateNotifiersByIdRequest

func NewUpdateNotifiersByIdRequest(server string, instance string, id string, body UpdateNotifiersByIdJSONRequestBody) (*http.Request, error)

NewUpdateNotifiersByIdRequest calls the generic UpdateNotifiersById builder with application/json body

func NewUpdateNotifiersByIdRequestWithBody

func NewUpdateNotifiersByIdRequestWithBody(server string, instance string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateNotifiersByIdRequestWithBody generates requests for UpdateNotifiersById with any type of body

func NewUpdateSyntheticMonitorsByIdRequest

func NewUpdateSyntheticMonitorsByIdRequest(server string, instance string, id string, body UpdateSyntheticMonitorsByIdJSONRequestBody) (*http.Request, error)

NewUpdateSyntheticMonitorsByIdRequest calls the generic UpdateSyntheticMonitorsById builder with application/json body

func NewUpdateSyntheticMonitorsByIdRequestWithBody

func NewUpdateSyntheticMonitorsByIdRequestWithBody(server string, instance string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSyntheticMonitorsByIdRequestWithBody generates requests for UpdateSyntheticMonitorsById with any type of body

Types

type AnonymousType1

type AnonymousType1 = map[string]interface{}

AnonymousType1 defines model for AnonymousType1.

type ApiKey

type ApiKey struct {
	CreatedAtEpochMillis  int       `json:"createdAtEpochMillis"`
	DeletedAtEpochMillis  *int      `json:"deletedAtEpochMillis,omitempty"`
	ExpiresAtEpochMillis  int       `json:"expiresAtEpochMillis"`
	Id                    string    `json:"id"`
	IsPrimary             bool      `json:"isPrimary"`
	LastUsedAtEpochMillis int       `json:"lastUsedAtEpochMillis"`
	Name                  string    `json:"name"`
	Roles                 *[]string `json:"roles,omitempty"`
	Scopes                *[]string `json:"scopes,omitempty"`
	Token                 string    `json:"token"`
	UpdatedAtEpochMillis  int       `json:"updatedAtEpochMillis"`
}

ApiKey defines model for ApiKey.

type Authorization

type Authorization struct {
	Credentials     *string `json:"credentials,omitempty"`
	CredentialsFile *string `json:"credentials_file,omitempty"`

	// CredentialsRef CredentialsRef is the name of the secret within the secret manager to use as credentials.
	CredentialsRef *string `json:"credentials_ref,omitempty"`
	Type           *string `json:"type,omitempty"`
}

Authorization Authorization contains HTTP authorization credentials.

type BasicAuth

type BasicAuth struct {
	Password     *string `json:"password,omitempty"`
	PasswordFile *string `json:"password_file,omitempty"`

	// PasswordRef PasswordRef is the name of the secret within the secret manager to use as the password.
	PasswordRef  *string `json:"password_ref,omitempty"`
	Username     string  `json:"username"`
	UsernameFile *string `json:"username_file,omitempty"`

	// UsernameRef UsernameRef is the name of the secret within the secret manager to use as the username.
	UsernameRef *string `json:"username_ref,omitempty"`
}

BasicAuth BasicAuth contains basic HTTP authentication credentials.

type BulkDeleteMonitorsRequest added in v0.2.0

type BulkDeleteMonitorsRequest struct {
	Ids *[]string `json:"ids"`
}

BulkDeleteMonitorsRequest BulkDeleteMonitorsRequest is the JSON body of `DELETE /monitors`.

Clients pass the monitor IDs to delete via the `ids` field. An empty or missing list is rejected by the handler.

type BulkSendInvitationItem

type BulkSendInvitationItem struct {
	Email string    `json:"email"`
	Roles *[]string `json:"roles"`
}

BulkSendInvitationItem BulkSendInvitationItem represents a single invitee within a bulk invitation request.

type BulkSendInvitationRequest

type BulkSendInvitationRequest struct {
	Invitations *[]BulkSendInvitationItem `json:"invitations"`
	SenderEmail string                    `json:"sender_email"`
}

BulkSendInvitationRequest BulkSendInvitationRequest is the request body for sending multiple organization invitations in one call.

type BulkSendInvitationResponse

type BulkSendInvitationResponse struct {
	Items *[]BulkSendInvitationResultItem `json:"items"`
}

BulkSendInvitationResponse BulkSendInvitationResponse is the response body for a bulk invitation request. Each item corresponds positionally to the input invitations array.

type BulkSendInvitationResultItem

type BulkSendInvitationResultItem struct {
	Email string  `json:"email"`
	Error *string `json:"error,omitempty"`

	// Invitation UserInvitation is the API representation of an invitation.
	Invitation *UserInvitation `json:"invitation,omitempty"`
}

BulkSendInvitationResultItem BulkSendInvitationResultItem holds the outcome of a single invitation within a bulk request.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) CreateApiKeys

func (c *Client) CreateApiKeys(ctx context.Context, instance string, body CreateApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateApiKeysWithBody

func (c *Client) CreateApiKeysWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateBulk

func (c *Client) CreateBulk(ctx context.Context, instance string, body CreateBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateBulkWithBody

func (c *Client) CreateBulkWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDashboards

func (c *Client) CreateDashboards(ctx context.Context, instance string, body CreateDashboardsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDashboardsWithBody

func (c *Client) CreateDashboardsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDropRules

func (c *Client) CreateDropRules(ctx context.Context, instance string, body CreateDropRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDropRulesWithBody

func (c *Client) CreateDropRulesWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateFolders

func (c *Client) CreateFolders(ctx context.Context, instance string, body CreateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateFoldersWithBody

func (c *Client) CreateFoldersWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiDataset added in v0.14.0

func (c *Client) CreateGenaiDataset(ctx context.Context, instance string, body CreateGenaiDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiDatasetItem added in v0.14.0

func (c *Client) CreateGenaiDatasetItem(ctx context.Context, instance string, body CreateGenaiDatasetItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiDatasetItemWithBody added in v0.14.0

func (c *Client) CreateGenaiDatasetItemWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiDatasetWithBody added in v0.14.0

func (c *Client) CreateGenaiDatasetWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiEvaluationRule added in v0.14.0

func (c *Client) CreateGenaiEvaluationRule(ctx context.Context, instance string, body CreateGenaiEvaluationRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiEvaluationRuleWithBody added in v0.14.0

func (c *Client) CreateGenaiEvaluationRuleWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiEvaluator added in v0.14.0

func (c *Client) CreateGenaiEvaluator(ctx context.Context, instance string, body CreateGenaiEvaluatorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiEvaluatorWithBody added in v0.14.0

func (c *Client) CreateGenaiEvaluatorWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiExperimentItem added in v0.14.0

func (c *Client) CreateGenaiExperimentItem(ctx context.Context, instance string, body CreateGenaiExperimentItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiExperimentItemWithBody added in v0.14.0

func (c *Client) CreateGenaiExperimentItemWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiJob added in v0.14.0

func (c *Client) CreateGenaiJob(ctx context.Context, instance string, body CreateGenaiJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiJobWithBody added in v0.14.0

func (c *Client) CreateGenaiJobWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiLlmConnection added in v0.14.0

func (c *Client) CreateGenaiLlmConnection(ctx context.Context, instance string, body CreateGenaiLlmConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiLlmConnectionWithBody added in v0.14.0

func (c *Client) CreateGenaiLlmConnectionWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiPrompt added in v0.14.0

func (c *Client) CreateGenaiPrompt(ctx context.Context, instance string, body CreateGenaiPromptJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiPromptWithBody added in v0.14.0

func (c *Client) CreateGenaiPromptWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiScore added in v0.14.0

func (c *Client) CreateGenaiScore(ctx context.Context, instance string, body CreateGenaiScoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiScoreWithBody added in v0.14.0

func (c *Client) CreateGenaiScoreWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateIntegrations added in v0.11.0

func (c *Client) CreateIntegrations(ctx context.Context, instance string, body CreateIntegrationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateIntegrationsWithBody added in v0.11.0

func (c *Client) CreateIntegrationsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateInvitations

func (c *Client) CreateInvitations(ctx context.Context, instance string, body CreateInvitationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateInvitationsWithBody

func (c *Client) CreateInvitationsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateLogmetrics

func (c *Client) CreateLogmetrics(ctx context.Context, instance string, body CreateLogmetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateLogmetricsWithBody

func (c *Client) CreateLogmetricsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateMonitors

func (c *Client) CreateMonitors(ctx context.Context, instance string, body CreateMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateMonitorsWithBody

func (c *Client) CreateMonitorsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateMutingRules

func (c *Client) CreateMutingRules(ctx context.Context, instance string, body CreateMutingRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateMutingRulesWithBody

func (c *Client) CreateMutingRulesWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateNotificationPolicies

func (c *Client) CreateNotificationPolicies(ctx context.Context, instance string, body CreateNotificationPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateNotificationPoliciesWithBody

func (c *Client) CreateNotificationPoliciesWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateNotifiers

func (c *Client) CreateNotifiers(ctx context.Context, instance string, body CreateNotifiersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateNotifiersWithBody

func (c *Client) CreateNotifiersWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateRunById

func (c *Client) CreateRunById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSyntheticMonitors

func (c *Client) CreateSyntheticMonitors(ctx context.Context, instance string, body CreateSyntheticMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSyntheticMonitorsWithBody

func (c *Client) CreateSyntheticMonitorsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateTemplateFiles

func (c *Client) CreateTemplateFiles(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteApiKeysById

func (c *Client) DeleteApiKeysById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteDashboardsById

func (c *Client) DeleteDashboardsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteDropRulesById

func (c *Client) DeleteDropRulesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteGenaiDataset added in v0.14.0

func (c *Client) DeleteGenaiDataset(ctx context.Context, instance string, datasetName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteGenaiDatasetItem added in v0.14.0

func (c *Client) DeleteGenaiDatasetItem(ctx context.Context, instance string, itemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteGenaiDatasetSchedule added in v0.15.0

func (c *Client) DeleteGenaiDatasetSchedule(ctx context.Context, instance string, datasetName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteGenaiEvaluationRule added in v0.14.0

func (c *Client) DeleteGenaiEvaluationRule(ctx context.Context, instance string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteGenaiEvaluator added in v0.14.0

func (c *Client) DeleteGenaiEvaluator(ctx context.Context, instance string, templateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteGenaiLlmConnection added in v0.14.0

func (c *Client) DeleteGenaiLlmConnection(ctx context.Context, instance string, connectionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteGenaiPrompt added in v0.14.0

func (c *Client) DeleteGenaiPrompt(ctx context.Context, instance string, promptName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteGenaiPromptVersion added in v0.14.0

func (c *Client) DeleteGenaiPromptVersion(ctx context.Context, instance string, promptName string, promptVersion int, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteIntegrationsById added in v0.11.0

func (c *Client) DeleteIntegrationsById(ctx context.Context, instance string, integrationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteInvitationsById

func (c *Client) DeleteInvitationsById(ctx context.Context, instance string, invitationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteLogmetricsById

func (c *Client) DeleteLogmetricsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMonitors

func (c *Client) DeleteMonitors(ctx context.Context, instance string, body DeleteMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMonitorsById

func (c *Client) DeleteMonitorsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMonitorsWithBody

func (c *Client) DeleteMonitorsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMutingRulesById

func (c *Client) DeleteMutingRulesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteNotificationPoliciesById

func (c *Client) DeleteNotificationPoliciesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteNotifiersById

func (c *Client) DeleteNotifiersById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteSyntheticMonitorsById

func (c *Client) DeleteSyntheticMonitorsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteUsers added in v0.11.0

func (c *Client) DeleteUsers(ctx context.Context, instance string, body DeleteUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteUsersWithBody added in v0.11.0

func (c *Client) DeleteUsersWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetApiKeysById

func (c *Client) GetApiKeysById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDashboardsById

func (c *Client) GetDashboardsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDropRulesById

func (c *Client) GetDropRulesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGenaiDataset added in v0.14.0

func (c *Client) GetGenaiDataset(ctx context.Context, instance string, datasetName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGenaiDatasetItem added in v0.14.0

func (c *Client) GetGenaiDatasetItem(ctx context.Context, instance string, itemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGenaiDatasetSchedule added in v0.15.0

func (c *Client) GetGenaiDatasetSchedule(ctx context.Context, instance string, datasetName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGenaiEvaluator added in v0.14.0

func (c *Client) GetGenaiEvaluator(ctx context.Context, instance string, templateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGenaiJob added in v0.14.0

func (c *Client) GetGenaiJob(ctx context.Context, instance string, jobId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGenaiPrompt added in v0.14.0

func (c *Client) GetGenaiPrompt(ctx context.Context, instance string, promptName string, params *GetGenaiPromptParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGenaiScore added in v0.14.0

func (c *Client) GetGenaiScore(ctx context.Context, instance string, scoreId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetIntegrationSetupSpec added in v0.6.0

func (c *Client) GetIntegrationSetupSpec(ctx context.Context, integrationType string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetIntegrationsById added in v0.11.0

func (c *Client) GetIntegrationsById(ctx context.Context, instance string, integrationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInvitationsById added in v0.11.0

func (c *Client) GetInvitationsById(ctx context.Context, instance string, invitationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLabelsById

func (c *Client) GetLabelsById(ctx context.Context, instance string, metricName string, params *GetLabelsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLogmetricsById

func (c *Client) GetLogmetricsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMonitorStateById

func (c *Client) GetMonitorStateById(ctx context.Context, instance string, id string, params *GetMonitorStateByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMonitorsById

func (c *Client) GetMonitorsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMutingRulesById

func (c *Client) GetMutingRulesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetNotificationPoliciesById

func (c *Client) GetNotificationPoliciesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetNotifiersById

func (c *Client) GetNotifiersById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOrg added in v0.14.0

func (c *Client) GetOrg(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSyntheticMonitorsById

func (c *Client) GetSyntheticMonitorsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTraceLabelValuesById added in v0.2.0

func (c *Client) GetTraceLabelValuesById(ctx context.Context, instance string, labelName string, params *GetTraceLabelValuesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTracesById

func (c *Client) GetTracesById(ctx context.Context, instance string, traceId string, params *GetTracesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetValuesById

func (c *Client) GetValuesById(ctx context.Context, instance string, metricName string, labelName string, params *GetValuesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListApiKeys

func (c *Client) ListApiKeys(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListDashboards

func (c *Client) ListDashboards(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListDropRules

func (c *Client) ListDropRules(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListFolders

func (c *Client) ListFolders(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListGenaiDatasetItems added in v0.14.0

func (c *Client) ListGenaiDatasetItems(ctx context.Context, instance string, datasetName string, params *ListGenaiDatasetItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListGenaiDatasets added in v0.14.0

func (c *Client) ListGenaiDatasets(ctx context.Context, instance string, params *ListGenaiDatasetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListGenaiEvaluationRules added in v0.14.0

func (c *Client) ListGenaiEvaluationRules(ctx context.Context, instance string, params *ListGenaiEvaluationRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListGenaiEvaluators added in v0.14.0

func (c *Client) ListGenaiEvaluators(ctx context.Context, instance string, params *ListGenaiEvaluatorsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListGenaiExperimentItems added in v0.14.0

func (c *Client) ListGenaiExperimentItems(ctx context.Context, instance string, params *ListGenaiExperimentItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListGenaiExperiments added in v0.14.0

func (c *Client) ListGenaiExperiments(ctx context.Context, instance string, datasetName string, params *ListGenaiExperimentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListGenaiJobs added in v0.14.0

func (c *Client) ListGenaiJobs(ctx context.Context, instance string, params *ListGenaiJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListGenaiLlmConnections added in v0.14.0

func (c *Client) ListGenaiLlmConnections(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListGenaiPromptVersions added in v0.14.0

func (c *Client) ListGenaiPromptVersions(ctx context.Context, instance string, promptName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListGenaiPrompts added in v0.14.0

func (c *Client) ListGenaiPrompts(ctx context.Context, instance string, params *ListGenaiPromptsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListGenaiScores added in v0.14.0

func (c *Client) ListGenaiScores(ctx context.Context, instance string, params *ListGenaiScoresParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListIntegrationSetupSpecs added in v0.8.0

func (c *Client) ListIntegrationSetupSpecs(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListIntegrations added in v0.6.0

func (c *Client) ListIntegrations(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListInvitationsOp

func (c *Client) ListInvitationsOp(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListLabels

func (c *Client) ListLabels(ctx context.Context, instance string, params *ListLabelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListLogIndexPatterns added in v0.4.0

func (c *Client) ListLogIndexPatterns(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListLogmetrics

func (c *Client) ListLogmetrics(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListMonitorTriggers

func (c *Client) ListMonitorTriggers(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListMonitors

func (c *Client) ListMonitors(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListMutingRules

func (c *Client) ListMutingRules(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListNames

func (c *Client) ListNames(ctx context.Context, instance string, params *ListNamesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListNotificationPolicies

func (c *Client) ListNotificationPolicies(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListNotifiers

func (c *Client) ListNotifiers(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListOauthProtectedResourceV1 added in v0.6.0

func (c *Client) ListOauthProtectedResourceV1(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListRolesOp added in v0.11.0

func (c *Client) ListRolesOp(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSyntheticMonitorsOp added in v0.2.0

func (c *Client) ListSyntheticMonitorsOp(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListTraces

func (c *Client) ListTraces(ctx context.Context, instance string, params *ListTracesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListUsersOp

func (c *Client) ListUsersOp(ctx context.Context, instance string, params *ListUsersOpParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchApiKeysById added in v0.11.0

func (c *Client) PatchApiKeysById(ctx context.Context, instance string, id string, body PatchApiKeysByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchApiKeysByIdWithBody added in v0.11.0

func (c *Client) PatchApiKeysByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchIntegrationsById added in v0.11.0

func (c *Client) PatchIntegrationsById(ctx context.Context, instance string, integrationId string, body PatchIntegrationsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchIntegrationsByIdWithBody added in v0.11.0

func (c *Client) PatchIntegrationsByIdWithBody(ctx context.Context, instance string, integrationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchUsers added in v0.11.0

func (c *Client) PatchUsers(ctx context.Context, instance string, body PatchUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchUsersWithBody added in v0.11.0

func (c *Client) PatchUsersWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) QueryLogsWithBody added in v0.4.0

func (c *Client) QueryLogsWithBody(ctx context.Context, params *QueryLogsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) QueryMetricsInstant added in v0.4.0

func (c *Client) QueryMetricsInstant(ctx context.Context, params *QueryMetricsInstantParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) QueryMetricsRange added in v0.4.0

func (c *Client) QueryMetricsRange(ctx context.Context, params *QueryMetricsRangeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetGenaiDatasetSchedule added in v0.15.0

func (c *Client) SetGenaiDatasetSchedule(ctx context.Context, instance string, datasetName string, body SetGenaiDatasetScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetGenaiDatasetScheduleWithBody added in v0.15.0

func (c *Client) SetGenaiDatasetScheduleWithBody(ctx context.Context, instance string, datasetName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDropRulesById

func (c *Client) UpdateDropRulesById(ctx context.Context, instance string, id string, body UpdateDropRulesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDropRulesByIdWithBody

func (c *Client) UpdateDropRulesByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGenaiDatasetItem added in v0.14.0

func (c *Client) UpdateGenaiDatasetItem(ctx context.Context, instance string, itemId string, body UpdateGenaiDatasetItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGenaiDatasetItemWithBody added in v0.14.0

func (c *Client) UpdateGenaiDatasetItemWithBody(ctx context.Context, instance string, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGenaiEvaluationRule added in v0.14.0

func (c *Client) UpdateGenaiEvaluationRule(ctx context.Context, instance string, ruleId string, body UpdateGenaiEvaluationRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGenaiEvaluationRuleWithBody added in v0.14.0

func (c *Client) UpdateGenaiEvaluationRuleWithBody(ctx context.Context, instance string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGenaiEvaluator added in v0.14.0

func (c *Client) UpdateGenaiEvaluator(ctx context.Context, instance string, templateId string, body UpdateGenaiEvaluatorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGenaiEvaluatorWithBody added in v0.14.0

func (c *Client) UpdateGenaiEvaluatorWithBody(ctx context.Context, instance string, templateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGenaiJob added in v0.14.0

func (c *Client) UpdateGenaiJob(ctx context.Context, instance string, jobId string, body UpdateGenaiJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGenaiJobWithBody added in v0.14.0

func (c *Client) UpdateGenaiJobWithBody(ctx context.Context, instance string, jobId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGenaiLlmConnection added in v0.14.0

func (c *Client) UpdateGenaiLlmConnection(ctx context.Context, instance string, connectionId string, body UpdateGenaiLlmConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGenaiLlmConnectionWithBody added in v0.14.0

func (c *Client) UpdateGenaiLlmConnectionWithBody(ctx context.Context, instance string, connectionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGenaiPromptLabels added in v0.14.0

func (c *Client) UpdateGenaiPromptLabels(ctx context.Context, instance string, promptName string, body UpdateGenaiPromptLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGenaiPromptLabelsWithBody added in v0.14.0

func (c *Client) UpdateGenaiPromptLabelsWithBody(ctx context.Context, instance string, promptName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGenaiPromptVersionLabels added in v0.14.0

func (c *Client) UpdateGenaiPromptVersionLabels(ctx context.Context, instance string, promptName string, promptVersion int, body UpdateGenaiPromptVersionLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGenaiPromptVersionLabelsWithBody added in v0.14.0

func (c *Client) UpdateGenaiPromptVersionLabelsWithBody(ctx context.Context, instance string, promptName string, promptVersion int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateIntegrationsById added in v0.11.0

func (c *Client) UpdateIntegrationsById(ctx context.Context, instance string, integrationId string, body UpdateIntegrationsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateIntegrationsByIdWithBody added in v0.11.0

func (c *Client) UpdateIntegrationsByIdWithBody(ctx context.Context, instance string, integrationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateLogmetricsById

func (c *Client) UpdateLogmetricsById(ctx context.Context, instance string, id string, body UpdateLogmetricsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateLogmetricsByIdWithBody

func (c *Client) UpdateLogmetricsByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateMonitorsById

func (c *Client) UpdateMonitorsById(ctx context.Context, instance string, id string, body UpdateMonitorsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateMonitorsByIdWithBody

func (c *Client) UpdateMonitorsByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateNotificationPoliciesById

func (c *Client) UpdateNotificationPoliciesById(ctx context.Context, instance string, id string, body UpdateNotificationPoliciesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateNotificationPoliciesByIdWithBody

func (c *Client) UpdateNotificationPoliciesByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateNotifiersById

func (c *Client) UpdateNotifiersById(ctx context.Context, instance string, id string, body UpdateNotifiersByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateNotifiersByIdWithBody

func (c *Client) UpdateNotifiersByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSyntheticMonitorsById

func (c *Client) UpdateSyntheticMonitorsById(ctx context.Context, instance string, id string, body UpdateSyntheticMonitorsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSyntheticMonitorsByIdWithBody

func (c *Client) UpdateSyntheticMonitorsByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// ListLogIndexPatterns request
	ListLogIndexPatterns(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// QueryMetricsInstant request
	QueryMetricsInstant(ctx context.Context, params *QueryMetricsInstantParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// QueryLogsWithBody request with any body
	QueryLogsWithBody(ctx context.Context, params *QueryLogsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// QueryMetricsRange request
	QueryMetricsRange(ctx context.Context, params *QueryMetricsRangeParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListOauthProtectedResourceV1 request
	ListOauthProtectedResourceV1(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListApiKeys request
	ListApiKeys(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateApiKeysWithBody request with any body
	CreateApiKeysWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateApiKeys(ctx context.Context, instance string, body CreateApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApiKeysById request
	DeleteApiKeysById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetApiKeysById request
	GetApiKeysById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchApiKeysByIdWithBody request with any body
	PatchApiKeysByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchApiKeysById(ctx context.Context, instance string, id string, body PatchApiKeysByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDropRules request
	ListDropRules(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDropRulesWithBody request with any body
	CreateDropRulesWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateDropRules(ctx context.Context, instance string, body CreateDropRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteDropRulesById request
	DeleteDropRulesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDropRulesById request
	GetDropRulesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDropRulesByIdWithBody request with any body
	UpdateDropRulesByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateDropRulesById(ctx context.Context, instance string, id string, body UpdateDropRulesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDashboards request
	ListDashboards(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDashboardsWithBody request with any body
	CreateDashboardsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateDashboards(ctx context.Context, instance string, body CreateDashboardsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteDashboardsById request
	DeleteDashboardsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDashboardsById request
	GetDashboardsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListFolders request
	ListFolders(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateFoldersWithBody request with any body
	CreateFoldersWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateFolders(ctx context.Context, instance string, body CreateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListIntegrations request
	ListIntegrations(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateIntegrationsWithBody request with any body
	CreateIntegrationsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateIntegrations(ctx context.Context, instance string, body CreateIntegrationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteIntegrationsById request
	DeleteIntegrationsById(ctx context.Context, instance string, integrationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetIntegrationsById request
	GetIntegrationsById(ctx context.Context, instance string, integrationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchIntegrationsByIdWithBody request with any body
	PatchIntegrationsByIdWithBody(ctx context.Context, instance string, integrationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchIntegrationsById(ctx context.Context, instance string, integrationId string, body PatchIntegrationsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateIntegrationsByIdWithBody request with any body
	UpdateIntegrationsByIdWithBody(ctx context.Context, instance string, integrationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateIntegrationsById(ctx context.Context, instance string, integrationId string, body UpdateIntegrationsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGenaiDatasetItemWithBody request with any body
	CreateGenaiDatasetItemWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateGenaiDatasetItem(ctx context.Context, instance string, body CreateGenaiDatasetItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteGenaiDatasetItem request
	DeleteGenaiDatasetItem(ctx context.Context, instance string, itemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGenaiDatasetItem request
	GetGenaiDatasetItem(ctx context.Context, instance string, itemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGenaiDatasetItemWithBody request with any body
	UpdateGenaiDatasetItemWithBody(ctx context.Context, instance string, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateGenaiDatasetItem(ctx context.Context, instance string, itemId string, body UpdateGenaiDatasetItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListGenaiExperimentItems request
	ListGenaiExperimentItems(ctx context.Context, instance string, params *ListGenaiExperimentItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGenaiExperimentItemWithBody request with any body
	CreateGenaiExperimentItemWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateGenaiExperimentItem(ctx context.Context, instance string, body CreateGenaiExperimentItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListGenaiDatasets request
	ListGenaiDatasets(ctx context.Context, instance string, params *ListGenaiDatasetsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGenaiDatasetWithBody request with any body
	CreateGenaiDatasetWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateGenaiDataset(ctx context.Context, instance string, body CreateGenaiDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteGenaiDataset request
	DeleteGenaiDataset(ctx context.Context, instance string, datasetName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGenaiDataset request
	GetGenaiDataset(ctx context.Context, instance string, datasetName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListGenaiDatasetItems request
	ListGenaiDatasetItems(ctx context.Context, instance string, datasetName string, params *ListGenaiDatasetItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListGenaiExperiments request
	ListGenaiExperiments(ctx context.Context, instance string, datasetName string, params *ListGenaiExperimentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteGenaiDatasetSchedule request
	DeleteGenaiDatasetSchedule(ctx context.Context, instance string, datasetName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGenaiDatasetSchedule request
	GetGenaiDatasetSchedule(ctx context.Context, instance string, datasetName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetGenaiDatasetScheduleWithBody request with any body
	SetGenaiDatasetScheduleWithBody(ctx context.Context, instance string, datasetName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetGenaiDatasetSchedule(ctx context.Context, instance string, datasetName string, body SetGenaiDatasetScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListGenaiEvaluators request
	ListGenaiEvaluators(ctx context.Context, instance string, params *ListGenaiEvaluatorsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGenaiEvaluatorWithBody request with any body
	CreateGenaiEvaluatorWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateGenaiEvaluator(ctx context.Context, instance string, body CreateGenaiEvaluatorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteGenaiEvaluator request
	DeleteGenaiEvaluator(ctx context.Context, instance string, templateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGenaiEvaluator request
	GetGenaiEvaluator(ctx context.Context, instance string, templateId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGenaiEvaluatorWithBody request with any body
	UpdateGenaiEvaluatorWithBody(ctx context.Context, instance string, templateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateGenaiEvaluator(ctx context.Context, instance string, templateId string, body UpdateGenaiEvaluatorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListGenaiEvaluationRules request
	ListGenaiEvaluationRules(ctx context.Context, instance string, params *ListGenaiEvaluationRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGenaiEvaluationRuleWithBody request with any body
	CreateGenaiEvaluationRuleWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateGenaiEvaluationRule(ctx context.Context, instance string, body CreateGenaiEvaluationRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteGenaiEvaluationRule request
	DeleteGenaiEvaluationRule(ctx context.Context, instance string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGenaiEvaluationRuleWithBody request with any body
	UpdateGenaiEvaluationRuleWithBody(ctx context.Context, instance string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateGenaiEvaluationRule(ctx context.Context, instance string, ruleId string, body UpdateGenaiEvaluationRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListGenaiJobs request
	ListGenaiJobs(ctx context.Context, instance string, params *ListGenaiJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGenaiJobWithBody request with any body
	CreateGenaiJobWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateGenaiJob(ctx context.Context, instance string, body CreateGenaiJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGenaiJob request
	GetGenaiJob(ctx context.Context, instance string, jobId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGenaiJobWithBody request with any body
	UpdateGenaiJobWithBody(ctx context.Context, instance string, jobId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateGenaiJob(ctx context.Context, instance string, jobId string, body UpdateGenaiJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListGenaiLlmConnections request
	ListGenaiLlmConnections(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGenaiLlmConnectionWithBody request with any body
	CreateGenaiLlmConnectionWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateGenaiLlmConnection(ctx context.Context, instance string, body CreateGenaiLlmConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteGenaiLlmConnection request
	DeleteGenaiLlmConnection(ctx context.Context, instance string, connectionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGenaiLlmConnectionWithBody request with any body
	UpdateGenaiLlmConnectionWithBody(ctx context.Context, instance string, connectionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateGenaiLlmConnection(ctx context.Context, instance string, connectionId string, body UpdateGenaiLlmConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGenaiScoreWithBody request with any body
	CreateGenaiScoreWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateGenaiScore(ctx context.Context, instance string, body CreateGenaiScoreJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGenaiScore request
	GetGenaiScore(ctx context.Context, instance string, scoreId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListGenaiPrompts request
	ListGenaiPrompts(ctx context.Context, instance string, params *ListGenaiPromptsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateGenaiPromptWithBody request with any body
	CreateGenaiPromptWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateGenaiPrompt(ctx context.Context, instance string, body CreateGenaiPromptJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteGenaiPrompt request
	DeleteGenaiPrompt(ctx context.Context, instance string, promptName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGenaiPrompt request
	GetGenaiPrompt(ctx context.Context, instance string, promptName string, params *GetGenaiPromptParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGenaiPromptLabelsWithBody request with any body
	UpdateGenaiPromptLabelsWithBody(ctx context.Context, instance string, promptName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateGenaiPromptLabels(ctx context.Context, instance string, promptName string, body UpdateGenaiPromptLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListGenaiPromptVersions request
	ListGenaiPromptVersions(ctx context.Context, instance string, promptName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteGenaiPromptVersion request
	DeleteGenaiPromptVersion(ctx context.Context, instance string, promptName string, promptVersion int, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGenaiPromptVersionLabelsWithBody request with any body
	UpdateGenaiPromptVersionLabelsWithBody(ctx context.Context, instance string, promptName string, promptVersion int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateGenaiPromptVersionLabels(ctx context.Context, instance string, promptName string, promptVersion int, body UpdateGenaiPromptVersionLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListGenaiScores request
	ListGenaiScores(ctx context.Context, instance string, params *ListGenaiScoresParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLogmetrics request
	ListLogmetrics(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateLogmetricsWithBody request with any body
	CreateLogmetricsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateLogmetrics(ctx context.Context, instance string, body CreateLogmetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteLogmetricsById request
	DeleteLogmetricsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLogmetricsById request
	GetLogmetricsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateLogmetricsByIdWithBody request with any body
	UpdateLogmetricsByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateLogmetricsById(ctx context.Context, instance string, id string, body UpdateLogmetricsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListNames request
	ListNames(ctx context.Context, instance string, params *ListNamesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLabelsById request
	GetLabelsById(ctx context.Context, instance string, metricName string, params *GetLabelsByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetValuesById request
	GetValuesById(ctx context.Context, instance string, metricName string, labelName string, params *GetValuesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMonitorStateById request
	GetMonitorStateById(ctx context.Context, instance string, id string, params *GetMonitorStateByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListMonitorTriggers request
	ListMonitorTriggers(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMonitorsWithBody request with any body
	DeleteMonitorsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteMonitors(ctx context.Context, instance string, body DeleteMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListMonitors request
	ListMonitors(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateMonitorsWithBody request with any body
	CreateMonitorsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateMonitors(ctx context.Context, instance string, body CreateMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMonitorsById request
	DeleteMonitorsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMonitorsById request
	GetMonitorsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateMonitorsByIdWithBody request with any body
	UpdateMonitorsByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateMonitorsById(ctx context.Context, instance string, id string, body UpdateMonitorsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListMutingRules request
	ListMutingRules(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateMutingRulesWithBody request with any body
	CreateMutingRulesWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateMutingRules(ctx context.Context, instance string, body CreateMutingRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteMutingRulesById request
	DeleteMutingRulesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMutingRulesById request
	GetMutingRulesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListNotificationPolicies request
	ListNotificationPolicies(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateNotificationPoliciesWithBody request with any body
	CreateNotificationPoliciesWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateNotificationPolicies(ctx context.Context, instance string, body CreateNotificationPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteNotificationPoliciesById request
	DeleteNotificationPoliciesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetNotificationPoliciesById request
	GetNotificationPoliciesById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateNotificationPoliciesByIdWithBody request with any body
	UpdateNotificationPoliciesByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateNotificationPoliciesById(ctx context.Context, instance string, id string, body UpdateNotificationPoliciesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListNotifiers request
	ListNotifiers(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateNotifiersWithBody request with any body
	CreateNotifiersWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateNotifiers(ctx context.Context, instance string, body CreateNotifiersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteNotifiersById request
	DeleteNotifiersById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetNotifiersById request
	GetNotifiersById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateNotifiersByIdWithBody request with any body
	UpdateNotifiersByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateNotifiersById(ctx context.Context, instance string, id string, body UpdateNotifiersByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListRolesOp request
	ListRolesOp(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSyntheticMonitorsOp request
	ListSyntheticMonitorsOp(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSyntheticMonitorsWithBody request with any body
	CreateSyntheticMonitorsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateSyntheticMonitors(ctx context.Context, instance string, body CreateSyntheticMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSyntheticMonitorsById request
	DeleteSyntheticMonitorsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSyntheticMonitorsById request
	GetSyntheticMonitorsById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSyntheticMonitorsByIdWithBody request with any body
	UpdateSyntheticMonitorsByIdWithBody(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateSyntheticMonitorsById(ctx context.Context, instance string, id string, body UpdateSyntheticMonitorsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateRunById request
	CreateRunById(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTemplateFiles request
	CreateTemplateFiles(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLabels request
	ListLabels(ctx context.Context, instance string, params *ListLabelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTraceLabelValuesById request
	GetTraceLabelValuesById(ctx context.Context, instance string, labelName string, params *GetTraceLabelValuesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTraces request
	ListTraces(ctx context.Context, instance string, params *ListTracesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTracesById request
	GetTracesById(ctx context.Context, instance string, traceId string, params *GetTracesByIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteUsersWithBody request with any body
	DeleteUsersWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeleteUsers(ctx context.Context, instance string, body DeleteUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListUsersOp request
	ListUsersOp(ctx context.Context, instance string, params *ListUsersOpParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchUsersWithBody request with any body
	PatchUsersWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchUsers(ctx context.Context, instance string, body PatchUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListInvitationsOp request
	ListInvitationsOp(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateInvitationsWithBody request with any body
	CreateInvitationsWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateInvitations(ctx context.Context, instance string, body CreateInvitationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateBulkWithBody request with any body
	CreateBulkWithBody(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateBulk(ctx context.Context, instance string, body CreateBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteInvitationsById request
	DeleteInvitationsById(ctx context.Context, instance string, invitationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInvitationsById request
	GetInvitationsById(ctx context.Context, instance string, invitationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListIntegrationSetupSpecs request
	ListIntegrationSetupSpecs(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetIntegrationSetupSpec request
	GetIntegrationSetupSpec(ctx context.Context, integrationType string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrg request
	GetOrg(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) CreateApiKeysWithBodyWithResponse

func (c *ClientWithResponses) CreateApiKeysWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeysResponse, error)

CreateApiKeysWithBodyWithResponse request with arbitrary body returning *CreateApiKeysResponse

func (*ClientWithResponses) CreateApiKeysWithResponse

func (c *ClientWithResponses) CreateApiKeysWithResponse(ctx context.Context, instance string, body CreateApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeysResponse, error)

func (*ClientWithResponses) CreateBulkWithBodyWithResponse

func (c *ClientWithResponses) CreateBulkWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBulkResponse, error)

CreateBulkWithBodyWithResponse request with arbitrary body returning *CreateBulkResponse

func (*ClientWithResponses) CreateBulkWithResponse

func (c *ClientWithResponses) CreateBulkWithResponse(ctx context.Context, instance string, body CreateBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBulkResponse, error)

func (*ClientWithResponses) CreateDashboardsWithBodyWithResponse

func (c *ClientWithResponses) CreateDashboardsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDashboardsResponse, error)

CreateDashboardsWithBodyWithResponse request with arbitrary body returning *CreateDashboardsResponse

func (*ClientWithResponses) CreateDashboardsWithResponse

func (c *ClientWithResponses) CreateDashboardsWithResponse(ctx context.Context, instance string, body CreateDashboardsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDashboardsResponse, error)

func (*ClientWithResponses) CreateDropRulesWithBodyWithResponse

func (c *ClientWithResponses) CreateDropRulesWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDropRulesResponse, error)

CreateDropRulesWithBodyWithResponse request with arbitrary body returning *CreateDropRulesResponse

func (*ClientWithResponses) CreateDropRulesWithResponse

func (c *ClientWithResponses) CreateDropRulesWithResponse(ctx context.Context, instance string, body CreateDropRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDropRulesResponse, error)

func (*ClientWithResponses) CreateFoldersWithBodyWithResponse

func (c *ClientWithResponses) CreateFoldersWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFoldersResponse, error)

CreateFoldersWithBodyWithResponse request with arbitrary body returning *CreateFoldersResponse

func (*ClientWithResponses) CreateFoldersWithResponse

func (c *ClientWithResponses) CreateFoldersWithResponse(ctx context.Context, instance string, body CreateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFoldersResponse, error)

func (*ClientWithResponses) CreateGenaiDatasetItemWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiDatasetItemWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiDatasetItemResponse, error)

CreateGenaiDatasetItemWithBodyWithResponse request with arbitrary body returning *CreateGenaiDatasetItemResponse

func (*ClientWithResponses) CreateGenaiDatasetItemWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiDatasetItemWithResponse(ctx context.Context, instance string, body CreateGenaiDatasetItemJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiDatasetItemResponse, error)

func (*ClientWithResponses) CreateGenaiDatasetWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiDatasetWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiDatasetResponse, error)

CreateGenaiDatasetWithBodyWithResponse request with arbitrary body returning *CreateGenaiDatasetResponse

func (*ClientWithResponses) CreateGenaiDatasetWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiDatasetWithResponse(ctx context.Context, instance string, body CreateGenaiDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiDatasetResponse, error)

func (*ClientWithResponses) CreateGenaiEvaluationRuleWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiEvaluationRuleWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiEvaluationRuleResponse, error)

CreateGenaiEvaluationRuleWithBodyWithResponse request with arbitrary body returning *CreateGenaiEvaluationRuleResponse

func (*ClientWithResponses) CreateGenaiEvaluationRuleWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiEvaluationRuleWithResponse(ctx context.Context, instance string, body CreateGenaiEvaluationRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiEvaluationRuleResponse, error)

func (*ClientWithResponses) CreateGenaiEvaluatorWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiEvaluatorWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiEvaluatorResponse, error)

CreateGenaiEvaluatorWithBodyWithResponse request with arbitrary body returning *CreateGenaiEvaluatorResponse

func (*ClientWithResponses) CreateGenaiEvaluatorWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiEvaluatorWithResponse(ctx context.Context, instance string, body CreateGenaiEvaluatorJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiEvaluatorResponse, error)

func (*ClientWithResponses) CreateGenaiExperimentItemWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiExperimentItemWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiExperimentItemResponse, error)

CreateGenaiExperimentItemWithBodyWithResponse request with arbitrary body returning *CreateGenaiExperimentItemResponse

func (*ClientWithResponses) CreateGenaiExperimentItemWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiExperimentItemWithResponse(ctx context.Context, instance string, body CreateGenaiExperimentItemJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiExperimentItemResponse, error)

func (*ClientWithResponses) CreateGenaiJobWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiJobWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiJobResponse, error)

CreateGenaiJobWithBodyWithResponse request with arbitrary body returning *CreateGenaiJobResponse

func (*ClientWithResponses) CreateGenaiJobWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiJobWithResponse(ctx context.Context, instance string, body CreateGenaiJobJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiJobResponse, error)

func (*ClientWithResponses) CreateGenaiLlmConnectionWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiLlmConnectionWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiLlmConnectionResponse, error)

CreateGenaiLlmConnectionWithBodyWithResponse request with arbitrary body returning *CreateGenaiLlmConnectionResponse

func (*ClientWithResponses) CreateGenaiLlmConnectionWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiLlmConnectionWithResponse(ctx context.Context, instance string, body CreateGenaiLlmConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiLlmConnectionResponse, error)

func (*ClientWithResponses) CreateGenaiPromptWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiPromptWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiPromptResponse, error)

CreateGenaiPromptWithBodyWithResponse request with arbitrary body returning *CreateGenaiPromptResponse

func (*ClientWithResponses) CreateGenaiPromptWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiPromptWithResponse(ctx context.Context, instance string, body CreateGenaiPromptJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiPromptResponse, error)

func (*ClientWithResponses) CreateGenaiScoreWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiScoreWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiScoreResponse, error)

CreateGenaiScoreWithBodyWithResponse request with arbitrary body returning *CreateGenaiScoreResponse

func (*ClientWithResponses) CreateGenaiScoreWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiScoreWithResponse(ctx context.Context, instance string, body CreateGenaiScoreJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiScoreResponse, error)

func (*ClientWithResponses) CreateIntegrationsWithBodyWithResponse added in v0.11.0

func (c *ClientWithResponses) CreateIntegrationsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIntegrationsResponse, error)

CreateIntegrationsWithBodyWithResponse request with arbitrary body returning *CreateIntegrationsResponse

func (*ClientWithResponses) CreateIntegrationsWithResponse added in v0.11.0

func (c *ClientWithResponses) CreateIntegrationsWithResponse(ctx context.Context, instance string, body CreateIntegrationsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIntegrationsResponse, error)

func (*ClientWithResponses) CreateInvitationsWithBodyWithResponse

func (c *ClientWithResponses) CreateInvitationsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInvitationsResponse, error)

CreateInvitationsWithBodyWithResponse request with arbitrary body returning *CreateInvitationsResponse

func (*ClientWithResponses) CreateInvitationsWithResponse

func (c *ClientWithResponses) CreateInvitationsWithResponse(ctx context.Context, instance string, body CreateInvitationsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInvitationsResponse, error)

func (*ClientWithResponses) CreateLogmetricsWithBodyWithResponse

func (c *ClientWithResponses) CreateLogmetricsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLogmetricsResponse, error)

CreateLogmetricsWithBodyWithResponse request with arbitrary body returning *CreateLogmetricsResponse

func (*ClientWithResponses) CreateLogmetricsWithResponse

func (c *ClientWithResponses) CreateLogmetricsWithResponse(ctx context.Context, instance string, body CreateLogmetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLogmetricsResponse, error)

func (*ClientWithResponses) CreateMonitorsWithBodyWithResponse

func (c *ClientWithResponses) CreateMonitorsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMonitorsResponse, error)

CreateMonitorsWithBodyWithResponse request with arbitrary body returning *CreateMonitorsResponse

func (*ClientWithResponses) CreateMonitorsWithResponse

func (c *ClientWithResponses) CreateMonitorsWithResponse(ctx context.Context, instance string, body CreateMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMonitorsResponse, error)

func (*ClientWithResponses) CreateMutingRulesWithBodyWithResponse

func (c *ClientWithResponses) CreateMutingRulesWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMutingRulesResponse, error)

CreateMutingRulesWithBodyWithResponse request with arbitrary body returning *CreateMutingRulesResponse

func (*ClientWithResponses) CreateMutingRulesWithResponse

func (c *ClientWithResponses) CreateMutingRulesWithResponse(ctx context.Context, instance string, body CreateMutingRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMutingRulesResponse, error)

func (*ClientWithResponses) CreateNotificationPoliciesWithBodyWithResponse

func (c *ClientWithResponses) CreateNotificationPoliciesWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNotificationPoliciesResponse, error)

CreateNotificationPoliciesWithBodyWithResponse request with arbitrary body returning *CreateNotificationPoliciesResponse

func (*ClientWithResponses) CreateNotificationPoliciesWithResponse

func (c *ClientWithResponses) CreateNotificationPoliciesWithResponse(ctx context.Context, instance string, body CreateNotificationPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNotificationPoliciesResponse, error)

func (*ClientWithResponses) CreateNotifiersWithBodyWithResponse

func (c *ClientWithResponses) CreateNotifiersWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNotifiersResponse, error)

CreateNotifiersWithBodyWithResponse request with arbitrary body returning *CreateNotifiersResponse

func (*ClientWithResponses) CreateNotifiersWithResponse

func (c *ClientWithResponses) CreateNotifiersWithResponse(ctx context.Context, instance string, body CreateNotifiersJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNotifiersResponse, error)

func (*ClientWithResponses) CreateRunByIdWithResponse

func (c *ClientWithResponses) CreateRunByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*CreateRunByIdResponse, error)

CreateRunByIdWithResponse request returning *CreateRunByIdResponse

func (*ClientWithResponses) CreateSyntheticMonitorsWithBodyWithResponse

func (c *ClientWithResponses) CreateSyntheticMonitorsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSyntheticMonitorsResponse, error)

CreateSyntheticMonitorsWithBodyWithResponse request with arbitrary body returning *CreateSyntheticMonitorsResponse

func (*ClientWithResponses) CreateSyntheticMonitorsWithResponse

func (c *ClientWithResponses) CreateSyntheticMonitorsWithResponse(ctx context.Context, instance string, body CreateSyntheticMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSyntheticMonitorsResponse, error)

func (*ClientWithResponses) CreateTemplateFilesWithResponse

func (c *ClientWithResponses) CreateTemplateFilesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*CreateTemplateFilesResponse, error)

CreateTemplateFilesWithResponse request returning *CreateTemplateFilesResponse

func (*ClientWithResponses) DeleteApiKeysByIdWithResponse

func (c *ClientWithResponses) DeleteApiKeysByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteApiKeysByIdResponse, error)

DeleteApiKeysByIdWithResponse request returning *DeleteApiKeysByIdResponse

func (*ClientWithResponses) DeleteDashboardsByIdWithResponse

func (c *ClientWithResponses) DeleteDashboardsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteDashboardsByIdResponse, error)

DeleteDashboardsByIdWithResponse request returning *DeleteDashboardsByIdResponse

func (*ClientWithResponses) DeleteDropRulesByIdWithResponse

func (c *ClientWithResponses) DeleteDropRulesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteDropRulesByIdResponse, error)

DeleteDropRulesByIdWithResponse request returning *DeleteDropRulesByIdResponse

func (*ClientWithResponses) DeleteGenaiDatasetItemWithResponse added in v0.14.0

func (c *ClientWithResponses) DeleteGenaiDatasetItemWithResponse(ctx context.Context, instance string, itemId string, reqEditors ...RequestEditorFn) (*DeleteGenaiDatasetItemResponse, error)

DeleteGenaiDatasetItemWithResponse request returning *DeleteGenaiDatasetItemResponse

func (*ClientWithResponses) DeleteGenaiDatasetScheduleWithResponse added in v0.15.0

func (c *ClientWithResponses) DeleteGenaiDatasetScheduleWithResponse(ctx context.Context, instance string, datasetName string, reqEditors ...RequestEditorFn) (*DeleteGenaiDatasetScheduleResponse, error)

DeleteGenaiDatasetScheduleWithResponse request returning *DeleteGenaiDatasetScheduleResponse

func (*ClientWithResponses) DeleteGenaiDatasetWithResponse added in v0.14.0

func (c *ClientWithResponses) DeleteGenaiDatasetWithResponse(ctx context.Context, instance string, datasetName string, reqEditors ...RequestEditorFn) (*DeleteGenaiDatasetResponse, error)

DeleteGenaiDatasetWithResponse request returning *DeleteGenaiDatasetResponse

func (*ClientWithResponses) DeleteGenaiEvaluationRuleWithResponse added in v0.14.0

func (c *ClientWithResponses) DeleteGenaiEvaluationRuleWithResponse(ctx context.Context, instance string, ruleId string, reqEditors ...RequestEditorFn) (*DeleteGenaiEvaluationRuleResponse, error)

DeleteGenaiEvaluationRuleWithResponse request returning *DeleteGenaiEvaluationRuleResponse

func (*ClientWithResponses) DeleteGenaiEvaluatorWithResponse added in v0.14.0

func (c *ClientWithResponses) DeleteGenaiEvaluatorWithResponse(ctx context.Context, instance string, templateId string, reqEditors ...RequestEditorFn) (*DeleteGenaiEvaluatorResponse, error)

DeleteGenaiEvaluatorWithResponse request returning *DeleteGenaiEvaluatorResponse

func (*ClientWithResponses) DeleteGenaiLlmConnectionWithResponse added in v0.14.0

func (c *ClientWithResponses) DeleteGenaiLlmConnectionWithResponse(ctx context.Context, instance string, connectionId string, reqEditors ...RequestEditorFn) (*DeleteGenaiLlmConnectionResponse, error)

DeleteGenaiLlmConnectionWithResponse request returning *DeleteGenaiLlmConnectionResponse

func (*ClientWithResponses) DeleteGenaiPromptVersionWithResponse added in v0.14.0

func (c *ClientWithResponses) DeleteGenaiPromptVersionWithResponse(ctx context.Context, instance string, promptName string, promptVersion int, reqEditors ...RequestEditorFn) (*DeleteGenaiPromptVersionResponse, error)

DeleteGenaiPromptVersionWithResponse request returning *DeleteGenaiPromptVersionResponse

func (*ClientWithResponses) DeleteGenaiPromptWithResponse added in v0.14.0

func (c *ClientWithResponses) DeleteGenaiPromptWithResponse(ctx context.Context, instance string, promptName string, reqEditors ...RequestEditorFn) (*DeleteGenaiPromptResponse, error)

DeleteGenaiPromptWithResponse request returning *DeleteGenaiPromptResponse

func (*ClientWithResponses) DeleteIntegrationsByIdWithResponse added in v0.11.0

func (c *ClientWithResponses) DeleteIntegrationsByIdWithResponse(ctx context.Context, instance string, integrationId string, reqEditors ...RequestEditorFn) (*DeleteIntegrationsByIdResponse, error)

DeleteIntegrationsByIdWithResponse request returning *DeleteIntegrationsByIdResponse

func (*ClientWithResponses) DeleteInvitationsByIdWithResponse

func (c *ClientWithResponses) DeleteInvitationsByIdWithResponse(ctx context.Context, instance string, invitationId string, reqEditors ...RequestEditorFn) (*DeleteInvitationsByIdResponse, error)

DeleteInvitationsByIdWithResponse request returning *DeleteInvitationsByIdResponse

func (*ClientWithResponses) DeleteLogmetricsByIdWithResponse

func (c *ClientWithResponses) DeleteLogmetricsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteLogmetricsByIdResponse, error)

DeleteLogmetricsByIdWithResponse request returning *DeleteLogmetricsByIdResponse

func (*ClientWithResponses) DeleteMonitorsByIdWithResponse

func (c *ClientWithResponses) DeleteMonitorsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteMonitorsByIdResponse, error)

DeleteMonitorsByIdWithResponse request returning *DeleteMonitorsByIdResponse

func (*ClientWithResponses) DeleteMonitorsWithBodyWithResponse

func (c *ClientWithResponses) DeleteMonitorsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteMonitorsResponse, error)

DeleteMonitorsWithBodyWithResponse request with arbitrary body returning *DeleteMonitorsResponse

func (*ClientWithResponses) DeleteMonitorsWithResponse

func (c *ClientWithResponses) DeleteMonitorsWithResponse(ctx context.Context, instance string, body DeleteMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteMonitorsResponse, error)

func (*ClientWithResponses) DeleteMutingRulesByIdWithResponse

func (c *ClientWithResponses) DeleteMutingRulesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteMutingRulesByIdResponse, error)

DeleteMutingRulesByIdWithResponse request returning *DeleteMutingRulesByIdResponse

func (*ClientWithResponses) DeleteNotificationPoliciesByIdWithResponse

func (c *ClientWithResponses) DeleteNotificationPoliciesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteNotificationPoliciesByIdResponse, error)

DeleteNotificationPoliciesByIdWithResponse request returning *DeleteNotificationPoliciesByIdResponse

func (*ClientWithResponses) DeleteNotifiersByIdWithResponse

func (c *ClientWithResponses) DeleteNotifiersByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteNotifiersByIdResponse, error)

DeleteNotifiersByIdWithResponse request returning *DeleteNotifiersByIdResponse

func (*ClientWithResponses) DeleteSyntheticMonitorsByIdWithResponse

func (c *ClientWithResponses) DeleteSyntheticMonitorsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteSyntheticMonitorsByIdResponse, error)

DeleteSyntheticMonitorsByIdWithResponse request returning *DeleteSyntheticMonitorsByIdResponse

func (*ClientWithResponses) DeleteUsersWithBodyWithResponse added in v0.11.0

func (c *ClientWithResponses) DeleteUsersWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteUsersResponse, error)

DeleteUsersWithBodyWithResponse request with arbitrary body returning *DeleteUsersResponse

func (*ClientWithResponses) DeleteUsersWithResponse added in v0.11.0

func (c *ClientWithResponses) DeleteUsersWithResponse(ctx context.Context, instance string, body DeleteUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteUsersResponse, error)

func (*ClientWithResponses) GetApiKeysByIdWithResponse

func (c *ClientWithResponses) GetApiKeysByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetApiKeysByIdResponse, error)

GetApiKeysByIdWithResponse request returning *GetApiKeysByIdResponse

func (*ClientWithResponses) GetDashboardsByIdWithResponse

func (c *ClientWithResponses) GetDashboardsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetDashboardsByIdResponse, error)

GetDashboardsByIdWithResponse request returning *GetDashboardsByIdResponse

func (*ClientWithResponses) GetDropRulesByIdWithResponse

func (c *ClientWithResponses) GetDropRulesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetDropRulesByIdResponse, error)

GetDropRulesByIdWithResponse request returning *GetDropRulesByIdResponse

func (*ClientWithResponses) GetGenaiDatasetItemWithResponse added in v0.14.0

func (c *ClientWithResponses) GetGenaiDatasetItemWithResponse(ctx context.Context, instance string, itemId string, reqEditors ...RequestEditorFn) (*GetGenaiDatasetItemResponse, error)

GetGenaiDatasetItemWithResponse request returning *GetGenaiDatasetItemResponse

func (*ClientWithResponses) GetGenaiDatasetScheduleWithResponse added in v0.15.0

func (c *ClientWithResponses) GetGenaiDatasetScheduleWithResponse(ctx context.Context, instance string, datasetName string, reqEditors ...RequestEditorFn) (*GetGenaiDatasetScheduleResponse, error)

GetGenaiDatasetScheduleWithResponse request returning *GetGenaiDatasetScheduleResponse

func (*ClientWithResponses) GetGenaiDatasetWithResponse added in v0.14.0

func (c *ClientWithResponses) GetGenaiDatasetWithResponse(ctx context.Context, instance string, datasetName string, reqEditors ...RequestEditorFn) (*GetGenaiDatasetResponse, error)

GetGenaiDatasetWithResponse request returning *GetGenaiDatasetResponse

func (*ClientWithResponses) GetGenaiEvaluatorWithResponse added in v0.14.0

func (c *ClientWithResponses) GetGenaiEvaluatorWithResponse(ctx context.Context, instance string, templateId string, reqEditors ...RequestEditorFn) (*GetGenaiEvaluatorResponse, error)

GetGenaiEvaluatorWithResponse request returning *GetGenaiEvaluatorResponse

func (*ClientWithResponses) GetGenaiJobWithResponse added in v0.14.0

func (c *ClientWithResponses) GetGenaiJobWithResponse(ctx context.Context, instance string, jobId string, reqEditors ...RequestEditorFn) (*GetGenaiJobResponse, error)

GetGenaiJobWithResponse request returning *GetGenaiJobResponse

func (*ClientWithResponses) GetGenaiPromptWithResponse added in v0.14.0

func (c *ClientWithResponses) GetGenaiPromptWithResponse(ctx context.Context, instance string, promptName string, params *GetGenaiPromptParams, reqEditors ...RequestEditorFn) (*GetGenaiPromptResponse, error)

GetGenaiPromptWithResponse request returning *GetGenaiPromptResponse

func (*ClientWithResponses) GetGenaiScoreWithResponse added in v0.14.0

func (c *ClientWithResponses) GetGenaiScoreWithResponse(ctx context.Context, instance string, scoreId string, reqEditors ...RequestEditorFn) (*GetGenaiScoreResponse, error)

GetGenaiScoreWithResponse request returning *GetGenaiScoreResponse

func (*ClientWithResponses) GetIntegrationSetupSpecWithResponse added in v0.6.0

func (c *ClientWithResponses) GetIntegrationSetupSpecWithResponse(ctx context.Context, integrationType string, reqEditors ...RequestEditorFn) (*GetIntegrationSetupSpecResponse, error)

GetIntegrationSetupSpecWithResponse request returning *GetIntegrationSetupSpecResponse

func (*ClientWithResponses) GetIntegrationsByIdWithResponse added in v0.11.0

func (c *ClientWithResponses) GetIntegrationsByIdWithResponse(ctx context.Context, instance string, integrationId string, reqEditors ...RequestEditorFn) (*GetIntegrationsByIdResponse, error)

GetIntegrationsByIdWithResponse request returning *GetIntegrationsByIdResponse

func (*ClientWithResponses) GetInvitationsByIdWithResponse added in v0.11.0

func (c *ClientWithResponses) GetInvitationsByIdWithResponse(ctx context.Context, instance string, invitationId string, reqEditors ...RequestEditorFn) (*GetInvitationsByIdResponse, error)

GetInvitationsByIdWithResponse request returning *GetInvitationsByIdResponse

func (*ClientWithResponses) GetLabelsByIdWithResponse

func (c *ClientWithResponses) GetLabelsByIdWithResponse(ctx context.Context, instance string, metricName string, params *GetLabelsByIdParams, reqEditors ...RequestEditorFn) (*GetLabelsByIdResponse, error)

GetLabelsByIdWithResponse request returning *GetLabelsByIdResponse

func (*ClientWithResponses) GetLogmetricsByIdWithResponse

func (c *ClientWithResponses) GetLogmetricsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetLogmetricsByIdResponse, error)

GetLogmetricsByIdWithResponse request returning *GetLogmetricsByIdResponse

func (*ClientWithResponses) GetMonitorStateByIdWithResponse

func (c *ClientWithResponses) GetMonitorStateByIdWithResponse(ctx context.Context, instance string, id string, params *GetMonitorStateByIdParams, reqEditors ...RequestEditorFn) (*GetMonitorStateByIdResponse, error)

GetMonitorStateByIdWithResponse request returning *GetMonitorStateByIdResponse

func (*ClientWithResponses) GetMonitorsByIdWithResponse

func (c *ClientWithResponses) GetMonitorsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetMonitorsByIdResponse, error)

GetMonitorsByIdWithResponse request returning *GetMonitorsByIdResponse

func (*ClientWithResponses) GetMutingRulesByIdWithResponse

func (c *ClientWithResponses) GetMutingRulesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetMutingRulesByIdResponse, error)

GetMutingRulesByIdWithResponse request returning *GetMutingRulesByIdResponse

func (*ClientWithResponses) GetNotificationPoliciesByIdWithResponse

func (c *ClientWithResponses) GetNotificationPoliciesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetNotificationPoliciesByIdResponse, error)

GetNotificationPoliciesByIdWithResponse request returning *GetNotificationPoliciesByIdResponse

func (*ClientWithResponses) GetNotifiersByIdWithResponse

func (c *ClientWithResponses) GetNotifiersByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetNotifiersByIdResponse, error)

GetNotifiersByIdWithResponse request returning *GetNotifiersByIdResponse

func (*ClientWithResponses) GetOrgWithResponse added in v0.14.0

func (c *ClientWithResponses) GetOrgWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOrgResponse, error)

GetOrgWithResponse request returning *GetOrgResponse

func (*ClientWithResponses) GetSyntheticMonitorsByIdWithResponse

func (c *ClientWithResponses) GetSyntheticMonitorsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetSyntheticMonitorsByIdResponse, error)

GetSyntheticMonitorsByIdWithResponse request returning *GetSyntheticMonitorsByIdResponse

func (*ClientWithResponses) GetTraceLabelValuesByIdWithResponse added in v0.2.0

func (c *ClientWithResponses) GetTraceLabelValuesByIdWithResponse(ctx context.Context, instance string, labelName string, params *GetTraceLabelValuesByIdParams, reqEditors ...RequestEditorFn) (*GetTraceLabelValuesByIdResponse, error)

GetTraceLabelValuesByIdWithResponse request returning *GetTraceLabelValuesByIdResponse

func (*ClientWithResponses) GetTracesByIdWithResponse

func (c *ClientWithResponses) GetTracesByIdWithResponse(ctx context.Context, instance string, traceId string, params *GetTracesByIdParams, reqEditors ...RequestEditorFn) (*GetTracesByIdResponse, error)

GetTracesByIdWithResponse request returning *GetTracesByIdResponse

func (*ClientWithResponses) GetValuesByIdWithResponse

func (c *ClientWithResponses) GetValuesByIdWithResponse(ctx context.Context, instance string, metricName string, labelName string, params *GetValuesByIdParams, reqEditors ...RequestEditorFn) (*GetValuesByIdResponse, error)

GetValuesByIdWithResponse request returning *GetValuesByIdResponse

func (*ClientWithResponses) ListApiKeysWithResponse

func (c *ClientWithResponses) ListApiKeysWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListApiKeysResponse, error)

ListApiKeysWithResponse request returning *ListApiKeysResponse

func (*ClientWithResponses) ListDashboardsWithResponse

func (c *ClientWithResponses) ListDashboardsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListDashboardsResponse, error)

ListDashboardsWithResponse request returning *ListDashboardsResponse

func (*ClientWithResponses) ListDropRulesWithResponse

func (c *ClientWithResponses) ListDropRulesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListDropRulesResponse, error)

ListDropRulesWithResponse request returning *ListDropRulesResponse

func (*ClientWithResponses) ListFoldersWithResponse

func (c *ClientWithResponses) ListFoldersWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListFoldersResponse, error)

ListFoldersWithResponse request returning *ListFoldersResponse

func (*ClientWithResponses) ListGenaiDatasetItemsWithResponse added in v0.14.0

func (c *ClientWithResponses) ListGenaiDatasetItemsWithResponse(ctx context.Context, instance string, datasetName string, params *ListGenaiDatasetItemsParams, reqEditors ...RequestEditorFn) (*ListGenaiDatasetItemsResponse, error)

ListGenaiDatasetItemsWithResponse request returning *ListGenaiDatasetItemsResponse

func (*ClientWithResponses) ListGenaiDatasetsWithResponse added in v0.14.0

func (c *ClientWithResponses) ListGenaiDatasetsWithResponse(ctx context.Context, instance string, params *ListGenaiDatasetsParams, reqEditors ...RequestEditorFn) (*ListGenaiDatasetsResponse, error)

ListGenaiDatasetsWithResponse request returning *ListGenaiDatasetsResponse

func (*ClientWithResponses) ListGenaiEvaluationRulesWithResponse added in v0.14.0

func (c *ClientWithResponses) ListGenaiEvaluationRulesWithResponse(ctx context.Context, instance string, params *ListGenaiEvaluationRulesParams, reqEditors ...RequestEditorFn) (*ListGenaiEvaluationRulesResponse, error)

ListGenaiEvaluationRulesWithResponse request returning *ListGenaiEvaluationRulesResponse

func (*ClientWithResponses) ListGenaiEvaluatorsWithResponse added in v0.14.0

func (c *ClientWithResponses) ListGenaiEvaluatorsWithResponse(ctx context.Context, instance string, params *ListGenaiEvaluatorsParams, reqEditors ...RequestEditorFn) (*ListGenaiEvaluatorsResponse, error)

ListGenaiEvaluatorsWithResponse request returning *ListGenaiEvaluatorsResponse

func (*ClientWithResponses) ListGenaiExperimentItemsWithResponse added in v0.14.0

func (c *ClientWithResponses) ListGenaiExperimentItemsWithResponse(ctx context.Context, instance string, params *ListGenaiExperimentItemsParams, reqEditors ...RequestEditorFn) (*ListGenaiExperimentItemsResponse, error)

ListGenaiExperimentItemsWithResponse request returning *ListGenaiExperimentItemsResponse

func (*ClientWithResponses) ListGenaiExperimentsWithResponse added in v0.14.0

func (c *ClientWithResponses) ListGenaiExperimentsWithResponse(ctx context.Context, instance string, datasetName string, params *ListGenaiExperimentsParams, reqEditors ...RequestEditorFn) (*ListGenaiExperimentsResponse, error)

ListGenaiExperimentsWithResponse request returning *ListGenaiExperimentsResponse

func (*ClientWithResponses) ListGenaiJobsWithResponse added in v0.14.0

func (c *ClientWithResponses) ListGenaiJobsWithResponse(ctx context.Context, instance string, params *ListGenaiJobsParams, reqEditors ...RequestEditorFn) (*ListGenaiJobsResponse, error)

ListGenaiJobsWithResponse request returning *ListGenaiJobsResponse

func (*ClientWithResponses) ListGenaiLlmConnectionsWithResponse added in v0.14.0

func (c *ClientWithResponses) ListGenaiLlmConnectionsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListGenaiLlmConnectionsResponse, error)

ListGenaiLlmConnectionsWithResponse request returning *ListGenaiLlmConnectionsResponse

func (*ClientWithResponses) ListGenaiPromptVersionsWithResponse added in v0.14.0

func (c *ClientWithResponses) ListGenaiPromptVersionsWithResponse(ctx context.Context, instance string, promptName string, reqEditors ...RequestEditorFn) (*ListGenaiPromptVersionsResponse, error)

ListGenaiPromptVersionsWithResponse request returning *ListGenaiPromptVersionsResponse

func (*ClientWithResponses) ListGenaiPromptsWithResponse added in v0.14.0

func (c *ClientWithResponses) ListGenaiPromptsWithResponse(ctx context.Context, instance string, params *ListGenaiPromptsParams, reqEditors ...RequestEditorFn) (*ListGenaiPromptsResponse, error)

ListGenaiPromptsWithResponse request returning *ListGenaiPromptsResponse

func (*ClientWithResponses) ListGenaiScoresWithResponse added in v0.14.0

func (c *ClientWithResponses) ListGenaiScoresWithResponse(ctx context.Context, instance string, params *ListGenaiScoresParams, reqEditors ...RequestEditorFn) (*ListGenaiScoresResponse, error)

ListGenaiScoresWithResponse request returning *ListGenaiScoresResponse

func (*ClientWithResponses) ListIntegrationSetupSpecsWithResponse added in v0.8.0

func (c *ClientWithResponses) ListIntegrationSetupSpecsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListIntegrationSetupSpecsResponse, error)

ListIntegrationSetupSpecsWithResponse request returning *ListIntegrationSetupSpecsResponse

func (*ClientWithResponses) ListIntegrationsWithResponse added in v0.6.0

func (c *ClientWithResponses) ListIntegrationsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListIntegrationsResponse, error)

ListIntegrationsWithResponse request returning *ListIntegrationsResponse

func (*ClientWithResponses) ListInvitationsOpWithResponse

func (c *ClientWithResponses) ListInvitationsOpWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListInvitationsOpResponse, error)

ListInvitationsOpWithResponse request returning *ListInvitationsOpResponse

func (*ClientWithResponses) ListLabelsWithResponse

func (c *ClientWithResponses) ListLabelsWithResponse(ctx context.Context, instance string, params *ListLabelsParams, reqEditors ...RequestEditorFn) (*ListLabelsResponse, error)

ListLabelsWithResponse request returning *ListLabelsResponse

func (*ClientWithResponses) ListLogIndexPatternsWithResponse added in v0.4.0

func (c *ClientWithResponses) ListLogIndexPatternsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLogIndexPatternsResponse, error)

ListLogIndexPatternsWithResponse request returning *ListLogIndexPatternsResponse

func (*ClientWithResponses) ListLogmetricsWithResponse

func (c *ClientWithResponses) ListLogmetricsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListLogmetricsResponse, error)

ListLogmetricsWithResponse request returning *ListLogmetricsResponse

func (*ClientWithResponses) ListMonitorTriggersWithResponse

func (c *ClientWithResponses) ListMonitorTriggersWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListMonitorTriggersResponse, error)

ListMonitorTriggersWithResponse request returning *ListMonitorTriggersResponse

func (*ClientWithResponses) ListMonitorsWithResponse

func (c *ClientWithResponses) ListMonitorsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListMonitorsResponse, error)

ListMonitorsWithResponse request returning *ListMonitorsResponse

func (*ClientWithResponses) ListMutingRulesWithResponse

func (c *ClientWithResponses) ListMutingRulesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListMutingRulesResponse, error)

ListMutingRulesWithResponse request returning *ListMutingRulesResponse

func (*ClientWithResponses) ListNamesWithResponse

func (c *ClientWithResponses) ListNamesWithResponse(ctx context.Context, instance string, params *ListNamesParams, reqEditors ...RequestEditorFn) (*ListNamesResponse, error)

ListNamesWithResponse request returning *ListNamesResponse

func (*ClientWithResponses) ListNotificationPoliciesWithResponse

func (c *ClientWithResponses) ListNotificationPoliciesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListNotificationPoliciesResponse, error)

ListNotificationPoliciesWithResponse request returning *ListNotificationPoliciesResponse

func (*ClientWithResponses) ListNotifiersWithResponse

func (c *ClientWithResponses) ListNotifiersWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListNotifiersResponse, error)

ListNotifiersWithResponse request returning *ListNotifiersResponse

func (*ClientWithResponses) ListOauthProtectedResourceV1WithResponse added in v0.6.0

func (c *ClientWithResponses) ListOauthProtectedResourceV1WithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOauthProtectedResourceV1Response, error)

ListOauthProtectedResourceV1WithResponse request returning *ListOauthProtectedResourceV1Response

func (*ClientWithResponses) ListRolesOpWithResponse added in v0.11.0

func (c *ClientWithResponses) ListRolesOpWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListRolesOpResponse, error)

ListRolesOpWithResponse request returning *ListRolesOpResponse

func (*ClientWithResponses) ListSyntheticMonitorsOpWithResponse added in v0.2.0

func (c *ClientWithResponses) ListSyntheticMonitorsOpWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListSyntheticMonitorsOpResponse, error)

ListSyntheticMonitorsOpWithResponse request returning *ListSyntheticMonitorsOpResponse

func (*ClientWithResponses) ListTracesWithResponse

func (c *ClientWithResponses) ListTracesWithResponse(ctx context.Context, instance string, params *ListTracesParams, reqEditors ...RequestEditorFn) (*ListTracesResponse, error)

ListTracesWithResponse request returning *ListTracesResponse

func (*ClientWithResponses) ListUsersOpWithResponse

func (c *ClientWithResponses) ListUsersOpWithResponse(ctx context.Context, instance string, params *ListUsersOpParams, reqEditors ...RequestEditorFn) (*ListUsersOpResponse, error)

ListUsersOpWithResponse request returning *ListUsersOpResponse

func (*ClientWithResponses) PatchApiKeysByIdWithBodyWithResponse added in v0.11.0

func (c *ClientWithResponses) PatchApiKeysByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchApiKeysByIdResponse, error)

PatchApiKeysByIdWithBodyWithResponse request with arbitrary body returning *PatchApiKeysByIdResponse

func (*ClientWithResponses) PatchApiKeysByIdWithResponse added in v0.11.0

func (c *ClientWithResponses) PatchApiKeysByIdWithResponse(ctx context.Context, instance string, id string, body PatchApiKeysByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchApiKeysByIdResponse, error)

func (*ClientWithResponses) PatchIntegrationsByIdWithBodyWithResponse added in v0.11.0

func (c *ClientWithResponses) PatchIntegrationsByIdWithBodyWithResponse(ctx context.Context, instance string, integrationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchIntegrationsByIdResponse, error)

PatchIntegrationsByIdWithBodyWithResponse request with arbitrary body returning *PatchIntegrationsByIdResponse

func (*ClientWithResponses) PatchIntegrationsByIdWithResponse added in v0.11.0

func (c *ClientWithResponses) PatchIntegrationsByIdWithResponse(ctx context.Context, instance string, integrationId string, body PatchIntegrationsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchIntegrationsByIdResponse, error)

func (*ClientWithResponses) PatchUsersWithBodyWithResponse added in v0.11.0

func (c *ClientWithResponses) PatchUsersWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchUsersResponse, error)

PatchUsersWithBodyWithResponse request with arbitrary body returning *PatchUsersResponse

func (*ClientWithResponses) PatchUsersWithResponse added in v0.11.0

func (c *ClientWithResponses) PatchUsersWithResponse(ctx context.Context, instance string, body PatchUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchUsersResponse, error)

func (*ClientWithResponses) QueryLogsWithBodyWithResponse added in v0.4.0

func (c *ClientWithResponses) QueryLogsWithBodyWithResponse(ctx context.Context, params *QueryLogsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*QueryLogsResponse, error)

QueryLogsWithBodyWithResponse request with arbitrary body returning *QueryLogsResponse

func (*ClientWithResponses) QueryMetricsInstantWithResponse added in v0.4.0

func (c *ClientWithResponses) QueryMetricsInstantWithResponse(ctx context.Context, params *QueryMetricsInstantParams, reqEditors ...RequestEditorFn) (*QueryMetricsInstantResponse, error)

QueryMetricsInstantWithResponse request returning *QueryMetricsInstantResponse

func (*ClientWithResponses) QueryMetricsRangeWithResponse added in v0.4.0

func (c *ClientWithResponses) QueryMetricsRangeWithResponse(ctx context.Context, params *QueryMetricsRangeParams, reqEditors ...RequestEditorFn) (*QueryMetricsRangeResponse, error)

QueryMetricsRangeWithResponse request returning *QueryMetricsRangeResponse

func (*ClientWithResponses) SetGenaiDatasetScheduleWithBodyWithResponse added in v0.15.0

func (c *ClientWithResponses) SetGenaiDatasetScheduleWithBodyWithResponse(ctx context.Context, instance string, datasetName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetGenaiDatasetScheduleResponse, error)

SetGenaiDatasetScheduleWithBodyWithResponse request with arbitrary body returning *SetGenaiDatasetScheduleResponse

func (*ClientWithResponses) SetGenaiDatasetScheduleWithResponse added in v0.15.0

func (c *ClientWithResponses) SetGenaiDatasetScheduleWithResponse(ctx context.Context, instance string, datasetName string, body SetGenaiDatasetScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*SetGenaiDatasetScheduleResponse, error)

func (*ClientWithResponses) UpdateDropRulesByIdWithBodyWithResponse

func (c *ClientWithResponses) UpdateDropRulesByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDropRulesByIdResponse, error)

UpdateDropRulesByIdWithBodyWithResponse request with arbitrary body returning *UpdateDropRulesByIdResponse

func (*ClientWithResponses) UpdateDropRulesByIdWithResponse

func (c *ClientWithResponses) UpdateDropRulesByIdWithResponse(ctx context.Context, instance string, id string, body UpdateDropRulesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDropRulesByIdResponse, error)

func (*ClientWithResponses) UpdateGenaiDatasetItemWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) UpdateGenaiDatasetItemWithBodyWithResponse(ctx context.Context, instance string, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGenaiDatasetItemResponse, error)

UpdateGenaiDatasetItemWithBodyWithResponse request with arbitrary body returning *UpdateGenaiDatasetItemResponse

func (*ClientWithResponses) UpdateGenaiDatasetItemWithResponse added in v0.14.0

func (c *ClientWithResponses) UpdateGenaiDatasetItemWithResponse(ctx context.Context, instance string, itemId string, body UpdateGenaiDatasetItemJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiDatasetItemResponse, error)

func (*ClientWithResponses) UpdateGenaiEvaluationRuleWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) UpdateGenaiEvaluationRuleWithBodyWithResponse(ctx context.Context, instance string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGenaiEvaluationRuleResponse, error)

UpdateGenaiEvaluationRuleWithBodyWithResponse request with arbitrary body returning *UpdateGenaiEvaluationRuleResponse

func (*ClientWithResponses) UpdateGenaiEvaluationRuleWithResponse added in v0.14.0

func (c *ClientWithResponses) UpdateGenaiEvaluationRuleWithResponse(ctx context.Context, instance string, ruleId string, body UpdateGenaiEvaluationRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiEvaluationRuleResponse, error)

func (*ClientWithResponses) UpdateGenaiEvaluatorWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) UpdateGenaiEvaluatorWithBodyWithResponse(ctx context.Context, instance string, templateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGenaiEvaluatorResponse, error)

UpdateGenaiEvaluatorWithBodyWithResponse request with arbitrary body returning *UpdateGenaiEvaluatorResponse

func (*ClientWithResponses) UpdateGenaiEvaluatorWithResponse added in v0.14.0

func (c *ClientWithResponses) UpdateGenaiEvaluatorWithResponse(ctx context.Context, instance string, templateId string, body UpdateGenaiEvaluatorJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiEvaluatorResponse, error)

func (*ClientWithResponses) UpdateGenaiJobWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) UpdateGenaiJobWithBodyWithResponse(ctx context.Context, instance string, jobId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGenaiJobResponse, error)

UpdateGenaiJobWithBodyWithResponse request with arbitrary body returning *UpdateGenaiJobResponse

func (*ClientWithResponses) UpdateGenaiJobWithResponse added in v0.14.0

func (c *ClientWithResponses) UpdateGenaiJobWithResponse(ctx context.Context, instance string, jobId string, body UpdateGenaiJobJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiJobResponse, error)

func (*ClientWithResponses) UpdateGenaiLlmConnectionWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) UpdateGenaiLlmConnectionWithBodyWithResponse(ctx context.Context, instance string, connectionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGenaiLlmConnectionResponse, error)

UpdateGenaiLlmConnectionWithBodyWithResponse request with arbitrary body returning *UpdateGenaiLlmConnectionResponse

func (*ClientWithResponses) UpdateGenaiLlmConnectionWithResponse added in v0.14.0

func (c *ClientWithResponses) UpdateGenaiLlmConnectionWithResponse(ctx context.Context, instance string, connectionId string, body UpdateGenaiLlmConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiLlmConnectionResponse, error)

func (*ClientWithResponses) UpdateGenaiPromptLabelsWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) UpdateGenaiPromptLabelsWithBodyWithResponse(ctx context.Context, instance string, promptName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGenaiPromptLabelsResponse, error)

UpdateGenaiPromptLabelsWithBodyWithResponse request with arbitrary body returning *UpdateGenaiPromptLabelsResponse

func (*ClientWithResponses) UpdateGenaiPromptLabelsWithResponse added in v0.14.0

func (c *ClientWithResponses) UpdateGenaiPromptLabelsWithResponse(ctx context.Context, instance string, promptName string, body UpdateGenaiPromptLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiPromptLabelsResponse, error)

func (*ClientWithResponses) UpdateGenaiPromptVersionLabelsWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) UpdateGenaiPromptVersionLabelsWithBodyWithResponse(ctx context.Context, instance string, promptName string, promptVersion int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGenaiPromptVersionLabelsResponse, error)

UpdateGenaiPromptVersionLabelsWithBodyWithResponse request with arbitrary body returning *UpdateGenaiPromptVersionLabelsResponse

func (*ClientWithResponses) UpdateGenaiPromptVersionLabelsWithResponse added in v0.14.0

func (c *ClientWithResponses) UpdateGenaiPromptVersionLabelsWithResponse(ctx context.Context, instance string, promptName string, promptVersion int, body UpdateGenaiPromptVersionLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiPromptVersionLabelsResponse, error)

func (*ClientWithResponses) UpdateIntegrationsByIdWithBodyWithResponse added in v0.11.0

func (c *ClientWithResponses) UpdateIntegrationsByIdWithBodyWithResponse(ctx context.Context, instance string, integrationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIntegrationsByIdResponse, error)

UpdateIntegrationsByIdWithBodyWithResponse request with arbitrary body returning *UpdateIntegrationsByIdResponse

func (*ClientWithResponses) UpdateIntegrationsByIdWithResponse added in v0.11.0

func (c *ClientWithResponses) UpdateIntegrationsByIdWithResponse(ctx context.Context, instance string, integrationId string, body UpdateIntegrationsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIntegrationsByIdResponse, error)

func (*ClientWithResponses) UpdateLogmetricsByIdWithBodyWithResponse

func (c *ClientWithResponses) UpdateLogmetricsByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLogmetricsByIdResponse, error)

UpdateLogmetricsByIdWithBodyWithResponse request with arbitrary body returning *UpdateLogmetricsByIdResponse

func (*ClientWithResponses) UpdateLogmetricsByIdWithResponse

func (c *ClientWithResponses) UpdateLogmetricsByIdWithResponse(ctx context.Context, instance string, id string, body UpdateLogmetricsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLogmetricsByIdResponse, error)

func (*ClientWithResponses) UpdateMonitorsByIdWithBodyWithResponse

func (c *ClientWithResponses) UpdateMonitorsByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMonitorsByIdResponse, error)

UpdateMonitorsByIdWithBodyWithResponse request with arbitrary body returning *UpdateMonitorsByIdResponse

func (*ClientWithResponses) UpdateMonitorsByIdWithResponse

func (c *ClientWithResponses) UpdateMonitorsByIdWithResponse(ctx context.Context, instance string, id string, body UpdateMonitorsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMonitorsByIdResponse, error)

func (*ClientWithResponses) UpdateNotificationPoliciesByIdWithBodyWithResponse

func (c *ClientWithResponses) UpdateNotificationPoliciesByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateNotificationPoliciesByIdResponse, error)

UpdateNotificationPoliciesByIdWithBodyWithResponse request with arbitrary body returning *UpdateNotificationPoliciesByIdResponse

func (*ClientWithResponses) UpdateNotificationPoliciesByIdWithResponse

func (c *ClientWithResponses) UpdateNotificationPoliciesByIdWithResponse(ctx context.Context, instance string, id string, body UpdateNotificationPoliciesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateNotificationPoliciesByIdResponse, error)

func (*ClientWithResponses) UpdateNotifiersByIdWithBodyWithResponse

func (c *ClientWithResponses) UpdateNotifiersByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateNotifiersByIdResponse, error)

UpdateNotifiersByIdWithBodyWithResponse request with arbitrary body returning *UpdateNotifiersByIdResponse

func (*ClientWithResponses) UpdateNotifiersByIdWithResponse

func (c *ClientWithResponses) UpdateNotifiersByIdWithResponse(ctx context.Context, instance string, id string, body UpdateNotifiersByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateNotifiersByIdResponse, error)

func (*ClientWithResponses) UpdateSyntheticMonitorsByIdWithBodyWithResponse

func (c *ClientWithResponses) UpdateSyntheticMonitorsByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSyntheticMonitorsByIdResponse, error)

UpdateSyntheticMonitorsByIdWithBodyWithResponse request with arbitrary body returning *UpdateSyntheticMonitorsByIdResponse

func (*ClientWithResponses) UpdateSyntheticMonitorsByIdWithResponse

func (c *ClientWithResponses) UpdateSyntheticMonitorsByIdWithResponse(ctx context.Context, instance string, id string, body UpdateSyntheticMonitorsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSyntheticMonitorsByIdResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ListLogIndexPatternsWithResponse request
	ListLogIndexPatternsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLogIndexPatternsResponse, error)

	// QueryMetricsInstantWithResponse request
	QueryMetricsInstantWithResponse(ctx context.Context, params *QueryMetricsInstantParams, reqEditors ...RequestEditorFn) (*QueryMetricsInstantResponse, error)

	// QueryLogsWithBodyWithResponse request with any body
	QueryLogsWithBodyWithResponse(ctx context.Context, params *QueryLogsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*QueryLogsResponse, error)

	// QueryMetricsRangeWithResponse request
	QueryMetricsRangeWithResponse(ctx context.Context, params *QueryMetricsRangeParams, reqEditors ...RequestEditorFn) (*QueryMetricsRangeResponse, error)

	// ListOauthProtectedResourceV1WithResponse request
	ListOauthProtectedResourceV1WithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOauthProtectedResourceV1Response, error)

	// ListApiKeysWithResponse request
	ListApiKeysWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListApiKeysResponse, error)

	// CreateApiKeysWithBodyWithResponse request with any body
	CreateApiKeysWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeysResponse, error)

	CreateApiKeysWithResponse(ctx context.Context, instance string, body CreateApiKeysJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeysResponse, error)

	// DeleteApiKeysByIdWithResponse request
	DeleteApiKeysByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteApiKeysByIdResponse, error)

	// GetApiKeysByIdWithResponse request
	GetApiKeysByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetApiKeysByIdResponse, error)

	// PatchApiKeysByIdWithBodyWithResponse request with any body
	PatchApiKeysByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchApiKeysByIdResponse, error)

	PatchApiKeysByIdWithResponse(ctx context.Context, instance string, id string, body PatchApiKeysByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchApiKeysByIdResponse, error)

	// ListDropRulesWithResponse request
	ListDropRulesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListDropRulesResponse, error)

	// CreateDropRulesWithBodyWithResponse request with any body
	CreateDropRulesWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDropRulesResponse, error)

	CreateDropRulesWithResponse(ctx context.Context, instance string, body CreateDropRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDropRulesResponse, error)

	// DeleteDropRulesByIdWithResponse request
	DeleteDropRulesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteDropRulesByIdResponse, error)

	// GetDropRulesByIdWithResponse request
	GetDropRulesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetDropRulesByIdResponse, error)

	// UpdateDropRulesByIdWithBodyWithResponse request with any body
	UpdateDropRulesByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDropRulesByIdResponse, error)

	UpdateDropRulesByIdWithResponse(ctx context.Context, instance string, id string, body UpdateDropRulesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDropRulesByIdResponse, error)

	// ListDashboardsWithResponse request
	ListDashboardsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListDashboardsResponse, error)

	// CreateDashboardsWithBodyWithResponse request with any body
	CreateDashboardsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDashboardsResponse, error)

	CreateDashboardsWithResponse(ctx context.Context, instance string, body CreateDashboardsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDashboardsResponse, error)

	// DeleteDashboardsByIdWithResponse request
	DeleteDashboardsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteDashboardsByIdResponse, error)

	// GetDashboardsByIdWithResponse request
	GetDashboardsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetDashboardsByIdResponse, error)

	// ListFoldersWithResponse request
	ListFoldersWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListFoldersResponse, error)

	// CreateFoldersWithBodyWithResponse request with any body
	CreateFoldersWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFoldersResponse, error)

	CreateFoldersWithResponse(ctx context.Context, instance string, body CreateFoldersJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFoldersResponse, error)

	// ListIntegrationsWithResponse request
	ListIntegrationsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListIntegrationsResponse, error)

	// CreateIntegrationsWithBodyWithResponse request with any body
	CreateIntegrationsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateIntegrationsResponse, error)

	CreateIntegrationsWithResponse(ctx context.Context, instance string, body CreateIntegrationsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIntegrationsResponse, error)

	// DeleteIntegrationsByIdWithResponse request
	DeleteIntegrationsByIdWithResponse(ctx context.Context, instance string, integrationId string, reqEditors ...RequestEditorFn) (*DeleteIntegrationsByIdResponse, error)

	// GetIntegrationsByIdWithResponse request
	GetIntegrationsByIdWithResponse(ctx context.Context, instance string, integrationId string, reqEditors ...RequestEditorFn) (*GetIntegrationsByIdResponse, error)

	// PatchIntegrationsByIdWithBodyWithResponse request with any body
	PatchIntegrationsByIdWithBodyWithResponse(ctx context.Context, instance string, integrationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchIntegrationsByIdResponse, error)

	PatchIntegrationsByIdWithResponse(ctx context.Context, instance string, integrationId string, body PatchIntegrationsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchIntegrationsByIdResponse, error)

	// UpdateIntegrationsByIdWithBodyWithResponse request with any body
	UpdateIntegrationsByIdWithBodyWithResponse(ctx context.Context, instance string, integrationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIntegrationsByIdResponse, error)

	UpdateIntegrationsByIdWithResponse(ctx context.Context, instance string, integrationId string, body UpdateIntegrationsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIntegrationsByIdResponse, error)

	// CreateGenaiDatasetItemWithBodyWithResponse request with any body
	CreateGenaiDatasetItemWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiDatasetItemResponse, error)

	CreateGenaiDatasetItemWithResponse(ctx context.Context, instance string, body CreateGenaiDatasetItemJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiDatasetItemResponse, error)

	// DeleteGenaiDatasetItemWithResponse request
	DeleteGenaiDatasetItemWithResponse(ctx context.Context, instance string, itemId string, reqEditors ...RequestEditorFn) (*DeleteGenaiDatasetItemResponse, error)

	// GetGenaiDatasetItemWithResponse request
	GetGenaiDatasetItemWithResponse(ctx context.Context, instance string, itemId string, reqEditors ...RequestEditorFn) (*GetGenaiDatasetItemResponse, error)

	// UpdateGenaiDatasetItemWithBodyWithResponse request with any body
	UpdateGenaiDatasetItemWithBodyWithResponse(ctx context.Context, instance string, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGenaiDatasetItemResponse, error)

	UpdateGenaiDatasetItemWithResponse(ctx context.Context, instance string, itemId string, body UpdateGenaiDatasetItemJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiDatasetItemResponse, error)

	// ListGenaiExperimentItemsWithResponse request
	ListGenaiExperimentItemsWithResponse(ctx context.Context, instance string, params *ListGenaiExperimentItemsParams, reqEditors ...RequestEditorFn) (*ListGenaiExperimentItemsResponse, error)

	// CreateGenaiExperimentItemWithBodyWithResponse request with any body
	CreateGenaiExperimentItemWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiExperimentItemResponse, error)

	CreateGenaiExperimentItemWithResponse(ctx context.Context, instance string, body CreateGenaiExperimentItemJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiExperimentItemResponse, error)

	// ListGenaiDatasetsWithResponse request
	ListGenaiDatasetsWithResponse(ctx context.Context, instance string, params *ListGenaiDatasetsParams, reqEditors ...RequestEditorFn) (*ListGenaiDatasetsResponse, error)

	// CreateGenaiDatasetWithBodyWithResponse request with any body
	CreateGenaiDatasetWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiDatasetResponse, error)

	CreateGenaiDatasetWithResponse(ctx context.Context, instance string, body CreateGenaiDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiDatasetResponse, error)

	// DeleteGenaiDatasetWithResponse request
	DeleteGenaiDatasetWithResponse(ctx context.Context, instance string, datasetName string, reqEditors ...RequestEditorFn) (*DeleteGenaiDatasetResponse, error)

	// GetGenaiDatasetWithResponse request
	GetGenaiDatasetWithResponse(ctx context.Context, instance string, datasetName string, reqEditors ...RequestEditorFn) (*GetGenaiDatasetResponse, error)

	// ListGenaiDatasetItemsWithResponse request
	ListGenaiDatasetItemsWithResponse(ctx context.Context, instance string, datasetName string, params *ListGenaiDatasetItemsParams, reqEditors ...RequestEditorFn) (*ListGenaiDatasetItemsResponse, error)

	// ListGenaiExperimentsWithResponse request
	ListGenaiExperimentsWithResponse(ctx context.Context, instance string, datasetName string, params *ListGenaiExperimentsParams, reqEditors ...RequestEditorFn) (*ListGenaiExperimentsResponse, error)

	// DeleteGenaiDatasetScheduleWithResponse request
	DeleteGenaiDatasetScheduleWithResponse(ctx context.Context, instance string, datasetName string, reqEditors ...RequestEditorFn) (*DeleteGenaiDatasetScheduleResponse, error)

	// GetGenaiDatasetScheduleWithResponse request
	GetGenaiDatasetScheduleWithResponse(ctx context.Context, instance string, datasetName string, reqEditors ...RequestEditorFn) (*GetGenaiDatasetScheduleResponse, error)

	// SetGenaiDatasetScheduleWithBodyWithResponse request with any body
	SetGenaiDatasetScheduleWithBodyWithResponse(ctx context.Context, instance string, datasetName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetGenaiDatasetScheduleResponse, error)

	SetGenaiDatasetScheduleWithResponse(ctx context.Context, instance string, datasetName string, body SetGenaiDatasetScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*SetGenaiDatasetScheduleResponse, error)

	// ListGenaiEvaluatorsWithResponse request
	ListGenaiEvaluatorsWithResponse(ctx context.Context, instance string, params *ListGenaiEvaluatorsParams, reqEditors ...RequestEditorFn) (*ListGenaiEvaluatorsResponse, error)

	// CreateGenaiEvaluatorWithBodyWithResponse request with any body
	CreateGenaiEvaluatorWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiEvaluatorResponse, error)

	CreateGenaiEvaluatorWithResponse(ctx context.Context, instance string, body CreateGenaiEvaluatorJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiEvaluatorResponse, error)

	// DeleteGenaiEvaluatorWithResponse request
	DeleteGenaiEvaluatorWithResponse(ctx context.Context, instance string, templateId string, reqEditors ...RequestEditorFn) (*DeleteGenaiEvaluatorResponse, error)

	// GetGenaiEvaluatorWithResponse request
	GetGenaiEvaluatorWithResponse(ctx context.Context, instance string, templateId string, reqEditors ...RequestEditorFn) (*GetGenaiEvaluatorResponse, error)

	// UpdateGenaiEvaluatorWithBodyWithResponse request with any body
	UpdateGenaiEvaluatorWithBodyWithResponse(ctx context.Context, instance string, templateId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGenaiEvaluatorResponse, error)

	UpdateGenaiEvaluatorWithResponse(ctx context.Context, instance string, templateId string, body UpdateGenaiEvaluatorJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiEvaluatorResponse, error)

	// ListGenaiEvaluationRulesWithResponse request
	ListGenaiEvaluationRulesWithResponse(ctx context.Context, instance string, params *ListGenaiEvaluationRulesParams, reqEditors ...RequestEditorFn) (*ListGenaiEvaluationRulesResponse, error)

	// CreateGenaiEvaluationRuleWithBodyWithResponse request with any body
	CreateGenaiEvaluationRuleWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiEvaluationRuleResponse, error)

	CreateGenaiEvaluationRuleWithResponse(ctx context.Context, instance string, body CreateGenaiEvaluationRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiEvaluationRuleResponse, error)

	// DeleteGenaiEvaluationRuleWithResponse request
	DeleteGenaiEvaluationRuleWithResponse(ctx context.Context, instance string, ruleId string, reqEditors ...RequestEditorFn) (*DeleteGenaiEvaluationRuleResponse, error)

	// UpdateGenaiEvaluationRuleWithBodyWithResponse request with any body
	UpdateGenaiEvaluationRuleWithBodyWithResponse(ctx context.Context, instance string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGenaiEvaluationRuleResponse, error)

	UpdateGenaiEvaluationRuleWithResponse(ctx context.Context, instance string, ruleId string, body UpdateGenaiEvaluationRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiEvaluationRuleResponse, error)

	// ListGenaiJobsWithResponse request
	ListGenaiJobsWithResponse(ctx context.Context, instance string, params *ListGenaiJobsParams, reqEditors ...RequestEditorFn) (*ListGenaiJobsResponse, error)

	// CreateGenaiJobWithBodyWithResponse request with any body
	CreateGenaiJobWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiJobResponse, error)

	CreateGenaiJobWithResponse(ctx context.Context, instance string, body CreateGenaiJobJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiJobResponse, error)

	// GetGenaiJobWithResponse request
	GetGenaiJobWithResponse(ctx context.Context, instance string, jobId string, reqEditors ...RequestEditorFn) (*GetGenaiJobResponse, error)

	// UpdateGenaiJobWithBodyWithResponse request with any body
	UpdateGenaiJobWithBodyWithResponse(ctx context.Context, instance string, jobId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGenaiJobResponse, error)

	UpdateGenaiJobWithResponse(ctx context.Context, instance string, jobId string, body UpdateGenaiJobJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiJobResponse, error)

	// ListGenaiLlmConnectionsWithResponse request
	ListGenaiLlmConnectionsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListGenaiLlmConnectionsResponse, error)

	// CreateGenaiLlmConnectionWithBodyWithResponse request with any body
	CreateGenaiLlmConnectionWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiLlmConnectionResponse, error)

	CreateGenaiLlmConnectionWithResponse(ctx context.Context, instance string, body CreateGenaiLlmConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiLlmConnectionResponse, error)

	// DeleteGenaiLlmConnectionWithResponse request
	DeleteGenaiLlmConnectionWithResponse(ctx context.Context, instance string, connectionId string, reqEditors ...RequestEditorFn) (*DeleteGenaiLlmConnectionResponse, error)

	// UpdateGenaiLlmConnectionWithBodyWithResponse request with any body
	UpdateGenaiLlmConnectionWithBodyWithResponse(ctx context.Context, instance string, connectionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGenaiLlmConnectionResponse, error)

	UpdateGenaiLlmConnectionWithResponse(ctx context.Context, instance string, connectionId string, body UpdateGenaiLlmConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiLlmConnectionResponse, error)

	// CreateGenaiScoreWithBodyWithResponse request with any body
	CreateGenaiScoreWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiScoreResponse, error)

	CreateGenaiScoreWithResponse(ctx context.Context, instance string, body CreateGenaiScoreJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiScoreResponse, error)

	// GetGenaiScoreWithResponse request
	GetGenaiScoreWithResponse(ctx context.Context, instance string, scoreId string, reqEditors ...RequestEditorFn) (*GetGenaiScoreResponse, error)

	// ListGenaiPromptsWithResponse request
	ListGenaiPromptsWithResponse(ctx context.Context, instance string, params *ListGenaiPromptsParams, reqEditors ...RequestEditorFn) (*ListGenaiPromptsResponse, error)

	// CreateGenaiPromptWithBodyWithResponse request with any body
	CreateGenaiPromptWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiPromptResponse, error)

	CreateGenaiPromptWithResponse(ctx context.Context, instance string, body CreateGenaiPromptJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiPromptResponse, error)

	// DeleteGenaiPromptWithResponse request
	DeleteGenaiPromptWithResponse(ctx context.Context, instance string, promptName string, reqEditors ...RequestEditorFn) (*DeleteGenaiPromptResponse, error)

	// GetGenaiPromptWithResponse request
	GetGenaiPromptWithResponse(ctx context.Context, instance string, promptName string, params *GetGenaiPromptParams, reqEditors ...RequestEditorFn) (*GetGenaiPromptResponse, error)

	// UpdateGenaiPromptLabelsWithBodyWithResponse request with any body
	UpdateGenaiPromptLabelsWithBodyWithResponse(ctx context.Context, instance string, promptName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGenaiPromptLabelsResponse, error)

	UpdateGenaiPromptLabelsWithResponse(ctx context.Context, instance string, promptName string, body UpdateGenaiPromptLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiPromptLabelsResponse, error)

	// ListGenaiPromptVersionsWithResponse request
	ListGenaiPromptVersionsWithResponse(ctx context.Context, instance string, promptName string, reqEditors ...RequestEditorFn) (*ListGenaiPromptVersionsResponse, error)

	// DeleteGenaiPromptVersionWithResponse request
	DeleteGenaiPromptVersionWithResponse(ctx context.Context, instance string, promptName string, promptVersion int, reqEditors ...RequestEditorFn) (*DeleteGenaiPromptVersionResponse, error)

	// UpdateGenaiPromptVersionLabelsWithBodyWithResponse request with any body
	UpdateGenaiPromptVersionLabelsWithBodyWithResponse(ctx context.Context, instance string, promptName string, promptVersion int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGenaiPromptVersionLabelsResponse, error)

	UpdateGenaiPromptVersionLabelsWithResponse(ctx context.Context, instance string, promptName string, promptVersion int, body UpdateGenaiPromptVersionLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiPromptVersionLabelsResponse, error)

	// ListGenaiScoresWithResponse request
	ListGenaiScoresWithResponse(ctx context.Context, instance string, params *ListGenaiScoresParams, reqEditors ...RequestEditorFn) (*ListGenaiScoresResponse, error)

	// ListLogmetricsWithResponse request
	ListLogmetricsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListLogmetricsResponse, error)

	// CreateLogmetricsWithBodyWithResponse request with any body
	CreateLogmetricsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLogmetricsResponse, error)

	CreateLogmetricsWithResponse(ctx context.Context, instance string, body CreateLogmetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLogmetricsResponse, error)

	// DeleteLogmetricsByIdWithResponse request
	DeleteLogmetricsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteLogmetricsByIdResponse, error)

	// GetLogmetricsByIdWithResponse request
	GetLogmetricsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetLogmetricsByIdResponse, error)

	// UpdateLogmetricsByIdWithBodyWithResponse request with any body
	UpdateLogmetricsByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLogmetricsByIdResponse, error)

	UpdateLogmetricsByIdWithResponse(ctx context.Context, instance string, id string, body UpdateLogmetricsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLogmetricsByIdResponse, error)

	// ListNamesWithResponse request
	ListNamesWithResponse(ctx context.Context, instance string, params *ListNamesParams, reqEditors ...RequestEditorFn) (*ListNamesResponse, error)

	// GetLabelsByIdWithResponse request
	GetLabelsByIdWithResponse(ctx context.Context, instance string, metricName string, params *GetLabelsByIdParams, reqEditors ...RequestEditorFn) (*GetLabelsByIdResponse, error)

	// GetValuesByIdWithResponse request
	GetValuesByIdWithResponse(ctx context.Context, instance string, metricName string, labelName string, params *GetValuesByIdParams, reqEditors ...RequestEditorFn) (*GetValuesByIdResponse, error)

	// GetMonitorStateByIdWithResponse request
	GetMonitorStateByIdWithResponse(ctx context.Context, instance string, id string, params *GetMonitorStateByIdParams, reqEditors ...RequestEditorFn) (*GetMonitorStateByIdResponse, error)

	// ListMonitorTriggersWithResponse request
	ListMonitorTriggersWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListMonitorTriggersResponse, error)

	// DeleteMonitorsWithBodyWithResponse request with any body
	DeleteMonitorsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteMonitorsResponse, error)

	DeleteMonitorsWithResponse(ctx context.Context, instance string, body DeleteMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteMonitorsResponse, error)

	// ListMonitorsWithResponse request
	ListMonitorsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListMonitorsResponse, error)

	// CreateMonitorsWithBodyWithResponse request with any body
	CreateMonitorsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMonitorsResponse, error)

	CreateMonitorsWithResponse(ctx context.Context, instance string, body CreateMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMonitorsResponse, error)

	// DeleteMonitorsByIdWithResponse request
	DeleteMonitorsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteMonitorsByIdResponse, error)

	// GetMonitorsByIdWithResponse request
	GetMonitorsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetMonitorsByIdResponse, error)

	// UpdateMonitorsByIdWithBodyWithResponse request with any body
	UpdateMonitorsByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateMonitorsByIdResponse, error)

	UpdateMonitorsByIdWithResponse(ctx context.Context, instance string, id string, body UpdateMonitorsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateMonitorsByIdResponse, error)

	// ListMutingRulesWithResponse request
	ListMutingRulesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListMutingRulesResponse, error)

	// CreateMutingRulesWithBodyWithResponse request with any body
	CreateMutingRulesWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMutingRulesResponse, error)

	CreateMutingRulesWithResponse(ctx context.Context, instance string, body CreateMutingRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMutingRulesResponse, error)

	// DeleteMutingRulesByIdWithResponse request
	DeleteMutingRulesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteMutingRulesByIdResponse, error)

	// GetMutingRulesByIdWithResponse request
	GetMutingRulesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetMutingRulesByIdResponse, error)

	// ListNotificationPoliciesWithResponse request
	ListNotificationPoliciesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListNotificationPoliciesResponse, error)

	// CreateNotificationPoliciesWithBodyWithResponse request with any body
	CreateNotificationPoliciesWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNotificationPoliciesResponse, error)

	CreateNotificationPoliciesWithResponse(ctx context.Context, instance string, body CreateNotificationPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNotificationPoliciesResponse, error)

	// DeleteNotificationPoliciesByIdWithResponse request
	DeleteNotificationPoliciesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteNotificationPoliciesByIdResponse, error)

	// GetNotificationPoliciesByIdWithResponse request
	GetNotificationPoliciesByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetNotificationPoliciesByIdResponse, error)

	// UpdateNotificationPoliciesByIdWithBodyWithResponse request with any body
	UpdateNotificationPoliciesByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateNotificationPoliciesByIdResponse, error)

	UpdateNotificationPoliciesByIdWithResponse(ctx context.Context, instance string, id string, body UpdateNotificationPoliciesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateNotificationPoliciesByIdResponse, error)

	// ListNotifiersWithResponse request
	ListNotifiersWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListNotifiersResponse, error)

	// CreateNotifiersWithBodyWithResponse request with any body
	CreateNotifiersWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNotifiersResponse, error)

	CreateNotifiersWithResponse(ctx context.Context, instance string, body CreateNotifiersJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNotifiersResponse, error)

	// DeleteNotifiersByIdWithResponse request
	DeleteNotifiersByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteNotifiersByIdResponse, error)

	// GetNotifiersByIdWithResponse request
	GetNotifiersByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetNotifiersByIdResponse, error)

	// UpdateNotifiersByIdWithBodyWithResponse request with any body
	UpdateNotifiersByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateNotifiersByIdResponse, error)

	UpdateNotifiersByIdWithResponse(ctx context.Context, instance string, id string, body UpdateNotifiersByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateNotifiersByIdResponse, error)

	// ListRolesOpWithResponse request
	ListRolesOpWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListRolesOpResponse, error)

	// ListSyntheticMonitorsOpWithResponse request
	ListSyntheticMonitorsOpWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListSyntheticMonitorsOpResponse, error)

	// CreateSyntheticMonitorsWithBodyWithResponse request with any body
	CreateSyntheticMonitorsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSyntheticMonitorsResponse, error)

	CreateSyntheticMonitorsWithResponse(ctx context.Context, instance string, body CreateSyntheticMonitorsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSyntheticMonitorsResponse, error)

	// DeleteSyntheticMonitorsByIdWithResponse request
	DeleteSyntheticMonitorsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*DeleteSyntheticMonitorsByIdResponse, error)

	// GetSyntheticMonitorsByIdWithResponse request
	GetSyntheticMonitorsByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*GetSyntheticMonitorsByIdResponse, error)

	// UpdateSyntheticMonitorsByIdWithBodyWithResponse request with any body
	UpdateSyntheticMonitorsByIdWithBodyWithResponse(ctx context.Context, instance string, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSyntheticMonitorsByIdResponse, error)

	UpdateSyntheticMonitorsByIdWithResponse(ctx context.Context, instance string, id string, body UpdateSyntheticMonitorsByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSyntheticMonitorsByIdResponse, error)

	// CreateRunByIdWithResponse request
	CreateRunByIdWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*CreateRunByIdResponse, error)

	// CreateTemplateFilesWithResponse request
	CreateTemplateFilesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*CreateTemplateFilesResponse, error)

	// ListLabelsWithResponse request
	ListLabelsWithResponse(ctx context.Context, instance string, params *ListLabelsParams, reqEditors ...RequestEditorFn) (*ListLabelsResponse, error)

	// GetTraceLabelValuesByIdWithResponse request
	GetTraceLabelValuesByIdWithResponse(ctx context.Context, instance string, labelName string, params *GetTraceLabelValuesByIdParams, reqEditors ...RequestEditorFn) (*GetTraceLabelValuesByIdResponse, error)

	// ListTracesWithResponse request
	ListTracesWithResponse(ctx context.Context, instance string, params *ListTracesParams, reqEditors ...RequestEditorFn) (*ListTracesResponse, error)

	// GetTracesByIdWithResponse request
	GetTracesByIdWithResponse(ctx context.Context, instance string, traceId string, params *GetTracesByIdParams, reqEditors ...RequestEditorFn) (*GetTracesByIdResponse, error)

	// DeleteUsersWithBodyWithResponse request with any body
	DeleteUsersWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteUsersResponse, error)

	DeleteUsersWithResponse(ctx context.Context, instance string, body DeleteUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteUsersResponse, error)

	// ListUsersOpWithResponse request
	ListUsersOpWithResponse(ctx context.Context, instance string, params *ListUsersOpParams, reqEditors ...RequestEditorFn) (*ListUsersOpResponse, error)

	// PatchUsersWithBodyWithResponse request with any body
	PatchUsersWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchUsersResponse, error)

	PatchUsersWithResponse(ctx context.Context, instance string, body PatchUsersJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchUsersResponse, error)

	// ListInvitationsOpWithResponse request
	ListInvitationsOpWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListInvitationsOpResponse, error)

	// CreateInvitationsWithBodyWithResponse request with any body
	CreateInvitationsWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInvitationsResponse, error)

	CreateInvitationsWithResponse(ctx context.Context, instance string, body CreateInvitationsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInvitationsResponse, error)

	// CreateBulkWithBodyWithResponse request with any body
	CreateBulkWithBodyWithResponse(ctx context.Context, instance string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBulkResponse, error)

	CreateBulkWithResponse(ctx context.Context, instance string, body CreateBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBulkResponse, error)

	// DeleteInvitationsByIdWithResponse request
	DeleteInvitationsByIdWithResponse(ctx context.Context, instance string, invitationId string, reqEditors ...RequestEditorFn) (*DeleteInvitationsByIdResponse, error)

	// GetInvitationsByIdWithResponse request
	GetInvitationsByIdWithResponse(ctx context.Context, instance string, invitationId string, reqEditors ...RequestEditorFn) (*GetInvitationsByIdResponse, error)

	// ListIntegrationSetupSpecsWithResponse request
	ListIntegrationSetupSpecsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListIntegrationSetupSpecsResponse, error)

	// GetIntegrationSetupSpecWithResponse request
	GetIntegrationSetupSpecWithResponse(ctx context.Context, integrationType string, reqEditors ...RequestEditorFn) (*GetIntegrationSetupSpecResponse, error)

	// GetOrgWithResponse request
	GetOrgWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOrgResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CloudWatchMetricPullIntegration added in v0.11.0

type CloudWatchMetricPullIntegration struct {
	AccountId                   *string                             `json:"accountId,omitempty"`
	ExternalId                  *string                             `json:"externalId,omitempty"`
	LaunchCFStackRegion         *string                             `json:"launchCFStackRegion,omitempty"`
	LaunchCFStackURL            *string                             `json:"launchCFStackURL,omitempty"`
	Regions                     *[]string                           `json:"regions,omitempty"`
	ResourceTypesSearchTagsList *[]CloudWatchResourceTypeSearchTags `json:"resourceTypesSearchTagsList,omitempty"`
	RoleArn                     *string                             `json:"roleArn,omitempty"`
}

CloudWatchMetricPullIntegration defines model for CloudWatchMetricPullIntegration.

type CloudWatchMetricPullIntegrationWrapper added in v0.11.0

type CloudWatchMetricPullIntegrationWrapper struct {
	CloudWatchMetricPullIntegration *CloudWatchMetricPullIntegration `json:"cloudWatchMetricPullIntegration,omitempty"`
}

CloudWatchMetricPullIntegrationWrapper defines model for CloudWatchMetricPullIntegrationWrapper.

type CloudWatchResourceTypeSearchTags added in v0.11.0

type CloudWatchResourceTypeSearchTags struct {
	// ResourceTypes ResourceTypes is the type of resources to collect metrics from.
	ResourceTypes *[]string `json:"resourceTypes,omitempty"`

	// SearchTags SearchTags is a list of search tags that Oodle will use to filter metrics.
	// It is considered a match if all of the search tags match.
	SearchTags *[]CloudWatchSearchTag `json:"searchTags,omitempty"`
}

CloudWatchResourceTypeSearchTags CloudWatchResourceTypeSearchTags is a struct that represents a resource type and associated search tags that Oodle will collect metrics from.

type CloudWatchSearchTag added in v0.11.0

type CloudWatchSearchTag struct {
	Key *string `json:"key,omitempty"`

	// Value Value can be regex.
	Value *string `json:"value,omitempty"`
}

CloudWatchSearchTag defines model for CloudWatchSearchTag.

type Condition

type Condition struct {
	// AlertOnNoData Deprecated: use ConditionBySeverity#NoData instead
	// AlertOnNoData indicates whether the alert should be triggered
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	AlertOnNoData *bool `json:"alert_on_no_data,omitempty"`

	// For For is the duration for which the condition should be true
	// before the alert is triggered.
	For *string `json:"for,omitempty"`

	// KeepFiringFor KeepFiringFor is the duration for which the alert should keep firing
	// after the condition is no longer true.
	KeepFiringFor *string `json:"keep_firing_for,omitempty"`
	Op            int     `json:"op"`
	Value         float32 `json:"value"`
}

Condition Condition is a model for a condition to be evaluated in monitors.

type ConditionBySeverity

type ConditionBySeverity struct {
	// Critical Condition is a model for a condition to be evaluated in monitors.
	Critical *Condition `json:"critical,omitempty"`

	// NoData Condition is a model for a condition to be evaluated in monitors.
	NoData *Condition `json:"no_data,omitempty"`

	// Warn Condition is a model for a condition to be evaluated in monitors.
	Warn *Condition `json:"warn,omitempty"`
}

ConditionBySeverity ConditionBySeverity represents a condition for each severity level.

type ConfluentCloudIntegration added in v0.14.0

type ConfluentCloudIntegration struct {
	// AccountName AccountName is the human-readable identifier for this set of credentials,
	// shown in the UI list of configured accounts. Required.
	AccountName  *string   `json:"accountName,omitempty"`
	ApiKey       *string   `json:"apiKey,omitempty"`
	ApiSecret    *string   `json:"apiSecret,omitempty"`
	ClusterIds   *[]string `json:"clusterIds,omitempty"`
	ConnectorIds *[]string `json:"connectorIds,omitempty"`
}

ConfluentCloudIntegration ConfluentCloudIntegration is the API-facing config for a Confluent Cloud integration. ApiSecret is write-only: it is accepted on create/update but never returned in plaintext (a mask is returned instead).

type ConfluentCloudIntegrationWrapper added in v0.14.0

type ConfluentCloudIntegrationWrapper struct {
	// ConfluentCloudIntegration ConfluentCloudIntegration is the API-facing config for a Confluent Cloud
	// integration. ApiSecret is write-only: it is accepted on create/update but
	// never returned in plaintext (a mask is returned instead).
	ConfluentCloudIntegration *ConfluentCloudIntegration `json:"confluentCloudIntegration,omitempty"`
}

ConfluentCloudIntegrationWrapper defines model for ConfluentCloudIntegrationWrapper.

type CreateApiKeyRequest

type CreateApiKeyRequest struct {
	Name   string    `json:"name"`
	Roles  *[]string `json:"roles,omitempty"`
	Scopes *[]string `json:"scopes"`
}

CreateApiKeyRequest defines model for CreateApiKeyRequest.

type CreateApiKeysJSONRequestBody

type CreateApiKeysJSONRequestBody = CreateApiKeyRequest

CreateApiKeysJSONRequestBody defines body for CreateApiKeys for application/json ContentType.

type CreateApiKeysResponse

type CreateApiKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ApiKey
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateApiKeysResponse

func ParseCreateApiKeysResponse(rsp *http.Response) (*CreateApiKeysResponse, error)

ParseCreateApiKeysResponse parses an HTTP response from a CreateApiKeysWithResponse call

func (CreateApiKeysResponse) Status

func (r CreateApiKeysResponse) Status() string

Status returns HTTPResponse.Status

func (CreateApiKeysResponse) StatusCode

func (r CreateApiKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateBulkJSONRequestBody

type CreateBulkJSONRequestBody = BulkSendInvitationRequest

CreateBulkJSONRequestBody defines body for CreateBulk for application/json ContentType.

type CreateBulkResponse

func ParseCreateBulkResponse

func ParseCreateBulkResponse(rsp *http.Response) (*CreateBulkResponse, error)

ParseCreateBulkResponse parses an HTTP response from a CreateBulkWithResponse call

func (CreateBulkResponse) Status

func (r CreateBulkResponse) Status() string

Status returns HTTPResponse.Status

func (CreateBulkResponse) StatusCode

func (r CreateBulkResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateDashboardsJSONRequestBody

type CreateDashboardsJSONRequestBody = SaveDashboardRequest

CreateDashboardsJSONRequestBody defines body for CreateDashboards for application/json ContentType.

type CreateDashboardsResponse

type CreateDashboardsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SaveDashboardResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateDashboardsResponse

func ParseCreateDashboardsResponse(rsp *http.Response) (*CreateDashboardsResponse, error)

ParseCreateDashboardsResponse parses an HTTP response from a CreateDashboardsWithResponse call

func (CreateDashboardsResponse) Status

func (r CreateDashboardsResponse) Status() string

Status returns HTTPResponse.Status

func (CreateDashboardsResponse) StatusCode

func (r CreateDashboardsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateDatasetItemRequest added in v0.14.0

type CreateDatasetItemRequest struct {
	DatasetName         string      `json:"datasetName"`
	ExpectedOutput      interface{} `json:"expectedOutput,omitempty"`
	Input               interface{} `json:"input"`
	Metadata            interface{} `json:"metadata,omitempty"`
	SourceObservationId *string     `json:"sourceObservationId,omitempty"`

	// SourceTraceId SourceTraceID / SourceObservationID link the row back to
	// the production trace it was captured from.
	SourceTraceId *string `json:"sourceTraceId,omitempty"`
	Status        *string `json:"status,omitempty"`
}

CreateDatasetItemRequest CreateDatasetItemRequest adds one row to a dataset.

type CreateDatasetRequest added in v0.14.0

type CreateDatasetRequest struct {
	Description *string     `json:"description,omitempty"`
	Metadata    interface{} `json:"metadata,omitempty"`
	Name        string      `json:"name"`
}

CreateDatasetRequest CreateDatasetRequest creates an evaluation dataset.

type CreateDatasetRunItemRequest added in v0.14.0

type CreateDatasetRunItemRequest struct {
	DatasetItemId  string  `json:"datasetItemId"`
	ErrorMessage   *string `json:"errorMessage,omitempty"`
	ObservationId  *string `json:"observationId,omitempty"`
	Output         *string `json:"output,omitempty"`
	RunDescription *string `json:"runDescription,omitempty"`
	RunName        *string `json:"runName,omitempty"`
	Status         *string `json:"status,omitempty"`
	TraceId        string  `json:"traceId"`
}

CreateDatasetRunItemRequest CreateDatasetRunItemRequest records one dataset row's result inside a run, creating the run on first use.

type CreateDropRuleRequest

type CreateDropRuleRequest struct {
	Filters *[]MetricLabelMatcher `json:"filters"`

	// MetricName Matcher specifies a rule, which can match or set of labels or not.
	MetricName MetricLabelMatcher `json:"metric_name"`
	RuleName   string             `json:"rule_name"`
	Type       string             `json:"type"`
}

CreateDropRuleRequest CreateDropRuleRequest is the request body for creating a drop rule.

type CreateDropRulesJSONRequestBody

type CreateDropRulesJSONRequestBody = CreateDropRuleRequest

CreateDropRulesJSONRequestBody defines body for CreateDropRules for application/json ContentType.

type CreateDropRulesResponse

type CreateDropRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DropRule
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateDropRulesResponse

func ParseCreateDropRulesResponse(rsp *http.Response) (*CreateDropRulesResponse, error)

ParseCreateDropRulesResponse parses an HTTP response from a CreateDropRulesWithResponse call

func (CreateDropRulesResponse) Status

func (r CreateDropRulesResponse) Status() string

Status returns HTTPResponse.Status

func (CreateDropRulesResponse) StatusCode

func (r CreateDropRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateEvalTemplateRequest added in v0.14.0

type CreateEvalTemplateRequest struct {
	ModelParams  interface{} `json:"modelParams,omitempty"`
	Name         string      `json:"name"`
	OutputSchema interface{} `json:"outputSchema,omitempty"`

	// Prompt Prompt is the judge prompt for llm evaluators, with
	// {{var}} placeholders drawn from Vars.
	Prompt *string `json:"prompt,omitempty"`

	// SourceCode SourceCode is required for code evaluators and capped at
	// 256 KB. SourceCodeLanguage must be "python".
	SourceCode         *string `json:"sourceCode,omitempty"`
	SourceCodeLanguage *string `json:"sourceCodeLanguage,omitempty"`

	// Type Type is "llm", "code" or "output_comparer".
	//
	// An output comparer is an LLM judge with ground truth: its
	// prompt may use {{expected_output}} and {{output}}, and it
	// only runs inside an experiment, where the dataset item
	// supplies the expected output. It is skipped on live
	// traffic, which has none.
	Type string    `json:"type"`
	Vars *[]string `json:"vars,omitempty"`
}

CreateEvalTemplateRequest CreateEvalTemplateRequest defines an evaluator: an LLM-as-judge prompt (`type: llm`), a Python scorer (`type: code`), or a judge that compares the model's output against a dataset item's expected output (`type: output_comparer`).

type CreateEvaluationRuleRequest added in v0.14.0

type CreateEvaluationRuleRequest struct {
	DatasetId *string `json:"datasetId,omitempty"`

	// DependsOnRuleIds DependsOnRuleIDs gates this rule on other rules' scores.
	// Cycles and self-references are rejected.
	DependsOnRuleIds *[]string   `json:"dependsOnRuleIds,omitempty"`
	Enabled          *bool       `json:"enabled,omitempty"`
	EvaluatorId      string      `json:"evaluatorId"`
	Filters          interface{} `json:"filters,omitempty"`
	LlmConnectionId  *string     `json:"llmConnectionId,omitempty"`

	// MaxInvocationsPerHour MaxInvocationsPerHr caps spend; 0 means unlimited.
	MaxInvocationsPerHour *int        `json:"maxInvocationsPerHour,omitempty"`
	ModelParams           interface{} `json:"modelParams,omitempty"`
	Name                  string      `json:"name"`

	// SamplingRate SamplingRate is 0..1.
	SamplingRate    *float32    `json:"samplingRate,omitempty"`
	TargetType      *string     `json:"targetType,omitempty"`
	VariableMapping interface{} `json:"variableMapping,omitempty"`
}

CreateEvaluationRuleRequest CreateEvaluationRuleRequest wires an evaluator to live traffic: which spans it runs on, how often, and how span fields map onto the evaluator's variables.

type CreateFolderRequest

type CreateFolderRequest struct {
	ParentUid *string `json:"parentUid,omitempty"`
	Title     string  `json:"title"`
	Uid       *string `json:"uid,omitempty"`
}

CreateFolderRequest CreateFolderRequest represents a request to create a folder

type CreateFoldersJSONRequestBody

type CreateFoldersJSONRequestBody = CreateFolderRequest

CreateFoldersJSONRequestBody defines body for CreateFolders for application/json ContentType.

type CreateFoldersResponse

type CreateFoldersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Folder
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateFoldersResponse

func ParseCreateFoldersResponse(rsp *http.Response) (*CreateFoldersResponse, error)

ParseCreateFoldersResponse parses an HTTP response from a CreateFoldersWithResponse call

func (CreateFoldersResponse) Status

func (r CreateFoldersResponse) Status() string

Status returns HTTPResponse.Status

func (CreateFoldersResponse) StatusCode

func (r CreateFoldersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateGenaiDatasetItemJSONRequestBody added in v0.14.0

type CreateGenaiDatasetItemJSONRequestBody = CreateDatasetItemRequest

CreateGenaiDatasetItemJSONRequestBody defines body for CreateGenaiDatasetItem for application/json ContentType.

type CreateGenaiDatasetItemResponse added in v0.14.0

type CreateGenaiDatasetItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *DatasetItem
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateGenaiDatasetItemResponse added in v0.14.0

func ParseCreateGenaiDatasetItemResponse(rsp *http.Response) (*CreateGenaiDatasetItemResponse, error)

ParseCreateGenaiDatasetItemResponse parses an HTTP response from a CreateGenaiDatasetItemWithResponse call

func (CreateGenaiDatasetItemResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (CreateGenaiDatasetItemResponse) StatusCode added in v0.14.0

func (r CreateGenaiDatasetItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateGenaiDatasetJSONRequestBody added in v0.14.0

type CreateGenaiDatasetJSONRequestBody = CreateDatasetRequest

CreateGenaiDatasetJSONRequestBody defines body for CreateGenaiDataset for application/json ContentType.

type CreateGenaiDatasetResponse added in v0.14.0

type CreateGenaiDatasetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Dataset
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON409      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateGenaiDatasetResponse added in v0.14.0

func ParseCreateGenaiDatasetResponse(rsp *http.Response) (*CreateGenaiDatasetResponse, error)

ParseCreateGenaiDatasetResponse parses an HTTP response from a CreateGenaiDatasetWithResponse call

func (CreateGenaiDatasetResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (CreateGenaiDatasetResponse) StatusCode added in v0.14.0

func (r CreateGenaiDatasetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateGenaiEvaluationRuleJSONRequestBody added in v0.14.0

type CreateGenaiEvaluationRuleJSONRequestBody = CreateEvaluationRuleRequest

CreateGenaiEvaluationRuleJSONRequestBody defines body for CreateGenaiEvaluationRule for application/json ContentType.

type CreateGenaiEvaluationRuleResponse added in v0.14.0

type CreateGenaiEvaluationRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *EvaluationRule
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateGenaiEvaluationRuleResponse added in v0.14.0

func ParseCreateGenaiEvaluationRuleResponse(rsp *http.Response) (*CreateGenaiEvaluationRuleResponse, error)

ParseCreateGenaiEvaluationRuleResponse parses an HTTP response from a CreateGenaiEvaluationRuleWithResponse call

func (CreateGenaiEvaluationRuleResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (CreateGenaiEvaluationRuleResponse) StatusCode added in v0.14.0

func (r CreateGenaiEvaluationRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateGenaiEvaluatorJSONRequestBody added in v0.14.0

type CreateGenaiEvaluatorJSONRequestBody = CreateEvalTemplateRequest

CreateGenaiEvaluatorJSONRequestBody defines body for CreateGenaiEvaluator for application/json ContentType.

type CreateGenaiEvaluatorResponse added in v0.14.0

type CreateGenaiEvaluatorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *EvalTemplate
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateGenaiEvaluatorResponse added in v0.14.0

func ParseCreateGenaiEvaluatorResponse(rsp *http.Response) (*CreateGenaiEvaluatorResponse, error)

ParseCreateGenaiEvaluatorResponse parses an HTTP response from a CreateGenaiEvaluatorWithResponse call

func (CreateGenaiEvaluatorResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (CreateGenaiEvaluatorResponse) StatusCode added in v0.14.0

func (r CreateGenaiEvaluatorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateGenaiExperimentItemJSONRequestBody added in v0.14.0

type CreateGenaiExperimentItemJSONRequestBody = CreateDatasetRunItemRequest

CreateGenaiExperimentItemJSONRequestBody defines body for CreateGenaiExperimentItem for application/json ContentType.

type CreateGenaiExperimentItemResponse added in v0.14.0

type CreateGenaiExperimentItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *DatasetRunItem
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON409      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateGenaiExperimentItemResponse added in v0.14.0

func ParseCreateGenaiExperimentItemResponse(rsp *http.Response) (*CreateGenaiExperimentItemResponse, error)

ParseCreateGenaiExperimentItemResponse parses an HTTP response from a CreateGenaiExperimentItemWithResponse call

func (CreateGenaiExperimentItemResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (CreateGenaiExperimentItemResponse) StatusCode added in v0.14.0

func (r CreateGenaiExperimentItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateGenaiJobJSONRequestBody added in v0.14.0

type CreateGenaiJobJSONRequestBody = CreateJobRequest

CreateGenaiJobJSONRequestBody defines body for CreateGenaiJob for application/json ContentType.

type CreateGenaiJobResponse added in v0.14.0

type CreateGenaiJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Job
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateGenaiJobResponse added in v0.14.0

func ParseCreateGenaiJobResponse(rsp *http.Response) (*CreateGenaiJobResponse, error)

ParseCreateGenaiJobResponse parses an HTTP response from a CreateGenaiJobWithResponse call

func (CreateGenaiJobResponse) Status added in v0.14.0

func (r CreateGenaiJobResponse) Status() string

Status returns HTTPResponse.Status

func (CreateGenaiJobResponse) StatusCode added in v0.14.0

func (r CreateGenaiJobResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateGenaiLlmConnectionJSONRequestBody added in v0.14.0

type CreateGenaiLlmConnectionJSONRequestBody = CreateLLMConnectionRequest

CreateGenaiLlmConnectionJSONRequestBody defines body for CreateGenaiLlmConnection for application/json ContentType.

type CreateGenaiLlmConnectionResponse added in v0.14.0

type CreateGenaiLlmConnectionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *LLMConnection
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateGenaiLlmConnectionResponse added in v0.14.0

func ParseCreateGenaiLlmConnectionResponse(rsp *http.Response) (*CreateGenaiLlmConnectionResponse, error)

ParseCreateGenaiLlmConnectionResponse parses an HTTP response from a CreateGenaiLlmConnectionWithResponse call

func (CreateGenaiLlmConnectionResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (CreateGenaiLlmConnectionResponse) StatusCode added in v0.14.0

func (r CreateGenaiLlmConnectionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateGenaiPromptJSONRequestBody added in v0.14.0

type CreateGenaiPromptJSONRequestBody = CreatePromptRequest

CreateGenaiPromptJSONRequestBody defines body for CreateGenaiPrompt for application/json ContentType.

type CreateGenaiPromptResponse added in v0.14.0

type CreateGenaiPromptResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *PromptResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateGenaiPromptResponse added in v0.14.0

func ParseCreateGenaiPromptResponse(rsp *http.Response) (*CreateGenaiPromptResponse, error)

ParseCreateGenaiPromptResponse parses an HTTP response from a CreateGenaiPromptWithResponse call

func (CreateGenaiPromptResponse) Status added in v0.14.0

func (r CreateGenaiPromptResponse) Status() string

Status returns HTTPResponse.Status

func (CreateGenaiPromptResponse) StatusCode added in v0.14.0

func (r CreateGenaiPromptResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateGenaiScoreJSONRequestBody added in v0.14.0

type CreateGenaiScoreJSONRequestBody = CreateScoreRequest

CreateGenaiScoreJSONRequestBody defines body for CreateGenaiScore for application/json ContentType.

type CreateGenaiScoreResponse added in v0.14.0

type CreateGenaiScoreResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ScoreResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateGenaiScoreResponse added in v0.14.0

func ParseCreateGenaiScoreResponse(rsp *http.Response) (*CreateGenaiScoreResponse, error)

ParseCreateGenaiScoreResponse parses an HTTP response from a CreateGenaiScoreWithResponse call

func (CreateGenaiScoreResponse) Status added in v0.14.0

func (r CreateGenaiScoreResponse) Status() string

Status returns HTTPResponse.Status

func (CreateGenaiScoreResponse) StatusCode added in v0.14.0

func (r CreateGenaiScoreResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateIntegrationRequest added in v0.11.0

type CreateIntegrationRequest struct {
	Status           *string                                    `json:"status,omitempty"`
	Type             string                                     `json:"type"`
	TypeSpecificData *CreateIntegrationRequest_TypeSpecificData `json:"typeSpecificData,omitempty"`
}

CreateIntegrationRequest CreateIntegrationRequest represents the payload to create a new integration It accepts the same fields as PatchIntegration to allow creating fully configured integrations

type CreateIntegrationRequestTypeSpecificData2 added in v0.14.0

type CreateIntegrationRequestTypeSpecificData2 map[string]interface{}

CreateIntegrationRequestTypeSpecificData2 Type-specific config for integration variants not yet typed in this spec (Grafana, GCP, CloudWatch dashboard, S3 log pull). Shape depends on the parent `type` field; consult the backend models for the variant in use.

type CreateIntegrationRequest_TypeSpecificData added in v0.11.0

type CreateIntegrationRequest_TypeSpecificData struct {
	// contains filtered or unexported fields
}

CreateIntegrationRequest_TypeSpecificData defines model for CreateIntegrationRequest.TypeSpecificData.

func (CreateIntegrationRequest_TypeSpecificData) AsCloudWatchMetricPullIntegrationWrapper added in v0.11.0

func (t CreateIntegrationRequest_TypeSpecificData) AsCloudWatchMetricPullIntegrationWrapper() (CloudWatchMetricPullIntegrationWrapper, error)

AsCloudWatchMetricPullIntegrationWrapper returns the union data inside the CreateIntegrationRequest_TypeSpecificData as a CloudWatchMetricPullIntegrationWrapper

func (CreateIntegrationRequest_TypeSpecificData) AsConfluentCloudIntegrationWrapper added in v0.14.0

func (t CreateIntegrationRequest_TypeSpecificData) AsConfluentCloudIntegrationWrapper() (ConfluentCloudIntegrationWrapper, error)

AsConfluentCloudIntegrationWrapper returns the union data inside the CreateIntegrationRequest_TypeSpecificData as a ConfluentCloudIntegrationWrapper

func (CreateIntegrationRequest_TypeSpecificData) AsCreateIntegrationRequestTypeSpecificData2 added in v0.14.0

func (t CreateIntegrationRequest_TypeSpecificData) AsCreateIntegrationRequestTypeSpecificData2() (CreateIntegrationRequestTypeSpecificData2, error)

AsCreateIntegrationRequestTypeSpecificData2 returns the union data inside the CreateIntegrationRequest_TypeSpecificData as a CreateIntegrationRequestTypeSpecificData2

func (*CreateIntegrationRequest_TypeSpecificData) FromCloudWatchMetricPullIntegrationWrapper added in v0.11.0

func (t *CreateIntegrationRequest_TypeSpecificData) FromCloudWatchMetricPullIntegrationWrapper(v CloudWatchMetricPullIntegrationWrapper) error

FromCloudWatchMetricPullIntegrationWrapper overwrites any union data inside the CreateIntegrationRequest_TypeSpecificData as the provided CloudWatchMetricPullIntegrationWrapper

func (*CreateIntegrationRequest_TypeSpecificData) FromConfluentCloudIntegrationWrapper added in v0.14.0

func (t *CreateIntegrationRequest_TypeSpecificData) FromConfluentCloudIntegrationWrapper(v ConfluentCloudIntegrationWrapper) error

FromConfluentCloudIntegrationWrapper overwrites any union data inside the CreateIntegrationRequest_TypeSpecificData as the provided ConfluentCloudIntegrationWrapper

func (*CreateIntegrationRequest_TypeSpecificData) FromCreateIntegrationRequestTypeSpecificData2 added in v0.14.0

func (t *CreateIntegrationRequest_TypeSpecificData) FromCreateIntegrationRequestTypeSpecificData2(v CreateIntegrationRequestTypeSpecificData2) error

FromCreateIntegrationRequestTypeSpecificData2 overwrites any union data inside the CreateIntegrationRequest_TypeSpecificData as the provided CreateIntegrationRequestTypeSpecificData2

func (CreateIntegrationRequest_TypeSpecificData) MarshalJSON added in v0.11.0

func (*CreateIntegrationRequest_TypeSpecificData) MergeCloudWatchMetricPullIntegrationWrapper added in v0.11.0

func (t *CreateIntegrationRequest_TypeSpecificData) MergeCloudWatchMetricPullIntegrationWrapper(v CloudWatchMetricPullIntegrationWrapper) error

MergeCloudWatchMetricPullIntegrationWrapper performs a merge with any union data inside the CreateIntegrationRequest_TypeSpecificData, using the provided CloudWatchMetricPullIntegrationWrapper

func (*CreateIntegrationRequest_TypeSpecificData) MergeConfluentCloudIntegrationWrapper added in v0.14.0

func (t *CreateIntegrationRequest_TypeSpecificData) MergeConfluentCloudIntegrationWrapper(v ConfluentCloudIntegrationWrapper) error

MergeConfluentCloudIntegrationWrapper performs a merge with any union data inside the CreateIntegrationRequest_TypeSpecificData, using the provided ConfluentCloudIntegrationWrapper

func (*CreateIntegrationRequest_TypeSpecificData) MergeCreateIntegrationRequestTypeSpecificData2 added in v0.14.0

func (t *CreateIntegrationRequest_TypeSpecificData) MergeCreateIntegrationRequestTypeSpecificData2(v CreateIntegrationRequestTypeSpecificData2) error

MergeCreateIntegrationRequestTypeSpecificData2 performs a merge with any union data inside the CreateIntegrationRequest_TypeSpecificData, using the provided CreateIntegrationRequestTypeSpecificData2

func (*CreateIntegrationRequest_TypeSpecificData) UnmarshalJSON added in v0.11.0

type CreateIntegrationsJSONRequestBody added in v0.11.0

type CreateIntegrationsJSONRequestBody = CreateIntegrationRequest

CreateIntegrationsJSONRequestBody defines body for CreateIntegrations for application/json ContentType.

type CreateIntegrationsResponse added in v0.11.0

type CreateIntegrationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Integration
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateIntegrationsResponse added in v0.11.0

func ParseCreateIntegrationsResponse(rsp *http.Response) (*CreateIntegrationsResponse, error)

ParseCreateIntegrationsResponse parses an HTTP response from a CreateIntegrationsWithResponse call

func (CreateIntegrationsResponse) Status added in v0.11.0

Status returns HTTPResponse.Status

func (CreateIntegrationsResponse) StatusCode added in v0.11.0

func (r CreateIntegrationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateInvitationsJSONRequestBody

type CreateInvitationsJSONRequestBody = SendInvitationRequest

CreateInvitationsJSONRequestBody defines body for CreateInvitations for application/json ContentType.

type CreateInvitationsResponse

type CreateInvitationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UserInvitation
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON403      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateInvitationsResponse

func ParseCreateInvitationsResponse(rsp *http.Response) (*CreateInvitationsResponse, error)

ParseCreateInvitationsResponse parses an HTTP response from a CreateInvitationsWithResponse call

func (CreateInvitationsResponse) Status

func (r CreateInvitationsResponse) Status() string

Status returns HTTPResponse.Status

func (CreateInvitationsResponse) StatusCode

func (r CreateInvitationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateJobRequest added in v0.14.0

type CreateJobRequest struct {
	// Config Config is job-type specific. For llm-experiment:
	// datasetId, llmConnectionId, model, and either
	// promptName (+ optional promptVersion / promptLabel) or a
	// literal promptTemplate; plus optional evaluatorIds,
	// outputComparerIds, evaluatorRules, outputComparerRules,
	// and evalConnectionId. runName is assigned automatically
	// when omitted.
	//
	// evaluatorIds and outputComparerIds are both lists of
	// evaluator template ids; an id has to sit in the list
	// matching its template type or the request is rejected.
	Config       interface{} `json:"config"`
	DatasetRunId *string     `json:"datasetRunId,omitempty"`

	// Type Type is eval_batch, experiment, or llm-experiment.
	Type string `json:"type"`
}

CreateJobRequest CreateJobRequest starts a background job. `llm-experiment` runs a prompt over a dataset and scores it; `eval_batch` backfills evaluators over existing traces.

type CreateLLMConnectionRequest added in v0.14.0

type CreateLLMConnectionRequest struct {
	ApiKey        *string     `json:"apiKey,omitempty"`
	BaseUrl       *string     `json:"baseUrl,omitempty"`
	CustomHeaders interface{} `json:"customHeaders,omitempty"`
	CustomModels  *[]string   `json:"customModels,omitempty"`
	DefaultModel  *string     `json:"defaultModel,omitempty"`
	DefaultParams interface{} `json:"defaultParams,omitempty"`

	// EnableDefaultModels EnableDefaultModels defaults to true when omitted.
	EnableDefaultModels *bool  `json:"enableDefaultModels,omitempty"`
	IsDefault           *bool  `json:"isDefault,omitempty"`
	Name                string `json:"name"`
	Provider            string `json:"provider"`
}

CreateLLMConnectionRequest CreateLLMConnectionRequest stores provider credentials used by evaluators and experiments. The API key is encrypted at rest and never returned by the list endpoint.

type CreateLogmetricsJSONRequestBody

type CreateLogmetricsJSONRequestBody = LogMetrics

CreateLogmetricsJSONRequestBody defines body for CreateLogmetrics for application/json ContentType.

type CreateLogmetricsResponse

type CreateLogmetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LogMetrics
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateLogmetricsResponse

func ParseCreateLogmetricsResponse(rsp *http.Response) (*CreateLogmetricsResponse, error)

ParseCreateLogmetricsResponse parses an HTTP response from a CreateLogmetricsWithResponse call

func (CreateLogmetricsResponse) Status

func (r CreateLogmetricsResponse) Status() string

Status returns HTTPResponse.Status

func (CreateLogmetricsResponse) StatusCode

func (r CreateLogmetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateMonitorsJSONRequestBody

type CreateMonitorsJSONRequestBody = Monitor

CreateMonitorsJSONRequestBody defines body for CreateMonitors for application/json ContentType.

type CreateMonitorsResponse

type CreateMonitorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Monitor
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateMonitorsResponse

func ParseCreateMonitorsResponse(rsp *http.Response) (*CreateMonitorsResponse, error)

ParseCreateMonitorsResponse parses an HTTP response from a CreateMonitorsWithResponse call

func (CreateMonitorsResponse) Status

func (r CreateMonitorsResponse) Status() string

Status returns HTTPResponse.Status

func (CreateMonitorsResponse) StatusCode

func (r CreateMonitorsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateMutingRulesJSONRequestBody

type CreateMutingRulesJSONRequestBody = MutingRule

CreateMutingRulesJSONRequestBody defines body for CreateMutingRules for application/json ContentType.

type CreateMutingRulesResponse

type CreateMutingRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MutingRule
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateMutingRulesResponse

func ParseCreateMutingRulesResponse(rsp *http.Response) (*CreateMutingRulesResponse, error)

ParseCreateMutingRulesResponse parses an HTTP response from a CreateMutingRulesWithResponse call

func (CreateMutingRulesResponse) Status

func (r CreateMutingRulesResponse) Status() string

Status returns HTTPResponse.Status

func (CreateMutingRulesResponse) StatusCode

func (r CreateMutingRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateNotificationPoliciesJSONRequestBody

type CreateNotificationPoliciesJSONRequestBody = NotificationPolicy

CreateNotificationPoliciesJSONRequestBody defines body for CreateNotificationPolicies for application/json ContentType.

type CreateNotificationPoliciesResponse

type CreateNotificationPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *NotificationPolicy
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateNotificationPoliciesResponse

func ParseCreateNotificationPoliciesResponse(rsp *http.Response) (*CreateNotificationPoliciesResponse, error)

ParseCreateNotificationPoliciesResponse parses an HTTP response from a CreateNotificationPoliciesWithResponse call

func (CreateNotificationPoliciesResponse) Status

Status returns HTTPResponse.Status

func (CreateNotificationPoliciesResponse) StatusCode

func (r CreateNotificationPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateNotifiersJSONRequestBody

type CreateNotifiersJSONRequestBody = Notifier

CreateNotifiersJSONRequestBody defines body for CreateNotifiers for application/json ContentType.

type CreateNotifiersResponse

type CreateNotifiersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Notifier
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateNotifiersResponse

func ParseCreateNotifiersResponse(rsp *http.Response) (*CreateNotifiersResponse, error)

ParseCreateNotifiersResponse parses an HTTP response from a CreateNotifiersWithResponse call

func (CreateNotifiersResponse) Status

func (r CreateNotifiersResponse) Status() string

Status returns HTTPResponse.Status

func (CreateNotifiersResponse) StatusCode

func (r CreateNotifiersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePromptRequest added in v0.14.0

type CreatePromptRequest struct {
	CommitMessage *string     `json:"commitMessage,omitempty"`
	Config        interface{} `json:"config,omitempty"`

	// Labels Labels always gains "latest"; "production" is what the
	// SDKs resolve by default.
	Labels *[]string `json:"labels,omitempty"`
	Name   string    `json:"name"`

	// Prompt Prompt is a string for `text` prompts and an array of
	// chat messages for `chat` prompts.
	Prompt interface{} `json:"prompt"`
	Tags   *[]string   `json:"tags,omitempty"`
	Type   *string     `json:"type,omitempty"`
}

CreatePromptRequest CreatePromptRequest creates a new prompt version. Versions are assigned automatically; posting an existing name adds a version rather than replacing one.

type CreateRunByIdResponse

type CreateRunByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SyntheticCheckResult
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateRunByIdResponse

func ParseCreateRunByIdResponse(rsp *http.Response) (*CreateRunByIdResponse, error)

ParseCreateRunByIdResponse parses an HTTP response from a CreateRunByIdWithResponse call

func (CreateRunByIdResponse) Status

func (r CreateRunByIdResponse) Status() string

Status returns HTTPResponse.Status

func (CreateRunByIdResponse) StatusCode

func (r CreateRunByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateScoreRequest added in v0.14.0

type CreateScoreRequest struct {
	Comment       *string `json:"comment,omitempty"`
	ConfigId      *string `json:"configId,omitempty"`
	DataType      *string `json:"dataType,omitempty"`
	Environment   *string `json:"environment,omitempty"`
	Id            *string `json:"id,omitempty"`
	InputTokens   *int    `json:"inputTokens,omitempty"`
	Model         *string `json:"model,omitempty"`
	Name          string  `json:"name"`
	ObservationId *string `json:"observationId,omitempty"`
	OutputTokens  *int    `json:"outputTokens,omitempty"`
	Source        *string `json:"source,omitempty"`
	StringValue   *string `json:"stringValue,omitempty"`
	TraceId       string  `json:"traceId"`

	// Value Value carries NUMERIC and BOOLEAN scores; StringValue
	// carries CATEGORICAL ones.
	Value *float32 `json:"value,omitempty"`
}

CreateScoreRequest CreateScoreRequest attaches a score to a trace or a single observation within it.

type CreateSyntheticMonitorsJSONRequestBody

type CreateSyntheticMonitorsJSONRequestBody = SyntheticMonitor

CreateSyntheticMonitorsJSONRequestBody defines body for CreateSyntheticMonitors for application/json ContentType.

type CreateSyntheticMonitorsResponse

type CreateSyntheticMonitorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SyntheticMonitor
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateSyntheticMonitorsResponse

func ParseCreateSyntheticMonitorsResponse(rsp *http.Response) (*CreateSyntheticMonitorsResponse, error)

ParseCreateSyntheticMonitorsResponse parses an HTTP response from a CreateSyntheticMonitorsWithResponse call

func (CreateSyntheticMonitorsResponse) Status

Status returns HTTPResponse.Status

func (CreateSyntheticMonitorsResponse) StatusCode

func (r CreateSyntheticMonitorsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTemplateFilesResponse

type CreateTemplateFilesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]string
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateTemplateFilesResponse

func ParseCreateTemplateFilesResponse(rsp *http.Response) (*CreateTemplateFilesResponse, error)

ParseCreateTemplateFilesResponse parses an HTTP response from a CreateTemplateFilesWithResponse call

func (CreateTemplateFilesResponse) Status

Status returns HTTPResponse.Status

func (CreateTemplateFilesResponse) StatusCode

func (r CreateTemplateFilesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CustomerOrg added in v0.14.0

type CustomerOrg struct {
	HomePage             *string     `json:"home_page,omitempty"`
	Id                   *string     `json:"id,omitempty"`
	Instances            *[]Instance `json:"instances,omitempty"`
	IsCostFactorsEnabled bool        `json:"is_cost_factors_enabled"`
	Name                 *string     `json:"name,omitempty"`
	Tier                 *string     `json:"tier,omitempty"`
}

CustomerOrg defines model for CustomerOrg.

type DashboardSearchEntry

type DashboardSearchEntry struct {
	FolderId    *int      `json:"folderId,omitempty"`
	FolderTitle *string   `json:"folderTitle,omitempty"`
	FolderUid   *string   `json:"folderUid,omitempty"`
	FolderUrl   *string   `json:"folderUrl,omitempty"`
	Id          int       `json:"id"`
	IsStarred   bool      `json:"isStarred"`
	Tags        *[]string `json:"tags,omitempty"`
	Title       string    `json:"title"`
	Type        string    `json:"type"`
	Uid         string    `json:"uid"`
	Url         string    `json:"url"`
}

DashboardSearchEntry DashboardSearchEntry represents a dashboard search result

type Dataset added in v0.14.0

type Dataset struct {
	CreatedAt     string      `json:"createdAt"`
	Description   string      `json:"description"`
	Id            string      `json:"id"`
	ItemCount     int         `json:"itemCount"`
	LatestVersion *time.Time  `json:"latestVersion,omitempty"`
	Metadata      interface{} `json:"metadata"`
	Name          string      `json:"name"`
	RunCount      int         `json:"runCount"`
	UpdatedAt     string      `json:"updatedAt"`
}

Dataset defines model for Dataset.

type DatasetItem added in v0.14.0

type DatasetItem struct {
	CreatedAt           string      `json:"createdAt"`
	DatasetId           string      `json:"datasetId"`
	ExpectedOutput      interface{} `json:"expectedOutput"`
	Id                  string      `json:"id"`
	Input               interface{} `json:"input"`
	Metadata            interface{} `json:"metadata"`
	SourceObservationId string      `json:"sourceObservationId"`
	SourceTraceId       string      `json:"sourceTraceId"`
	Status              string      `json:"status"`
	UpdatedAt           string      `json:"updatedAt"`
	ValidFrom           *time.Time  `json:"validFrom,omitempty"`
	ValidTo             *time.Time  `json:"validTo,omitempty"`
	Version             int         `json:"version"`
}

DatasetItem defines model for DatasetItem.

type DatasetRunItem added in v0.14.0

type DatasetRunItem struct {
	CreatedAt     string  `json:"createdAt"`
	DatasetItemId string  `json:"datasetItemId"`
	DatasetRunId  string  `json:"datasetRunId"`
	ErrorMessage  *string `json:"errorMessage,omitempty"`
	Id            string  `json:"id"`
	ObservationId *string `json:"observationId,omitempty"`
	Output        *string `json:"output,omitempty"`
	Status        *string `json:"status,omitempty"`
	TraceId       string  `json:"traceId"`
	UpdatedAt     string  `json:"updatedAt"`
}

DatasetRunItem defines model for DatasetRunItem.

type DatasetRunItemResponse added in v0.14.0

type DatasetRunItemResponse struct {
	CreatedAt      string      `json:"createdAt"`
	DatasetItemId  string      `json:"datasetItemId"`
	DatasetRunId   string      `json:"datasetRunId"`
	ErrorMessage   *string     `json:"errorMessage,omitempty"`
	ExpectedOutput interface{} `json:"expectedOutput,omitempty"`
	Id             string      `json:"id"`
	Input          interface{} `json:"input,omitempty"`
	Metadata       interface{} `json:"metadata,omitempty"`
	ObservationId  *string     `json:"observationId,omitempty"`
	Output         *string     `json:"output,omitempty"`
	Scores         *[]Score    `json:"scores"`
	Status         *string     `json:"status,omitempty"`
	TraceId        string      `json:"traceId"`
	UpdatedAt      string      `json:"updatedAt"`
}

DatasetRunItemResponse DatasetRunItemResponse is one dataset row's result inside a run, joined with the row's input/expected output and the scores recorded against its trace.

type DatasetRunResponse added in v0.14.0

type DatasetRunResponse struct {
	CreatedAt       string      `json:"createdAt"`
	DatasetId       string      `json:"datasetId"`
	DatasetVersion  *time.Time  `json:"datasetVersion,omitempty"`
	Description     string      `json:"description"`
	Id              string      `json:"id"`
	LatestJobConfig interface{} `json:"latestJobConfig,omitempty"`
	LatestJobStatus *string     `json:"latestJobStatus,omitempty"`
	Metadata        interface{} `json:"metadata"`
	Name            string      `json:"name"`
	UpdatedAt       string      `json:"updatedAt"`
}

DatasetRunResponse DatasetRunResponse is one experiment run over a dataset, enriched with the status of the job that produced it.

type DatasetScheduleResponse added in v0.15.0

type DatasetScheduleResponse struct {
	CreatedAt *string `json:"createdAt,omitempty"`
	CreatedBy *string `json:"createdBy,omitempty"`

	// DatasetId DatasetID is unique per instance: a dataset carries at
	// most one schedule.
	DatasetId string `json:"datasetId"`

	// DaysOfMonth DaysOfMonth are "1".."31".
	DaysOfMonth *[]string `json:"daysOfMonth,omitempty"`
	Enabled     bool      `json:"enabled"`

	// ExperimentConfig ExperimentConfig is the `llm-experiment` job config this
	// schedule launches, minus `runName` (assigned per run).
	// The keys are the ones `experiment_runner.py` reads.
	ExperimentConfig interface{} `json:"experimentConfig,omitempty"`
	Id               string      `json:"id"`
	IntervalUnit     *string     `json:"intervalUnit,omitempty"`

	// IntervalValue IntervalValue and IntervalUnit describe an interval
	// schedule: 30 + "minutes", 6 + "hours", 1 + "days". Both
	// are ignored in calendar mode.
	IntervalValue *int `json:"intervalValue,omitempty"`

	// LastError LastError is why the most recent scheduled launch did not
	// start, and empty once one succeeds. A scheduled run that
	// cannot be queued has no job row and no dataset run, so
	// without this the schedule looks healthy and simply never
	// produces results.
	LastError *string    `json:"lastError,omitempty"`
	LastRunAt *time.Time `json:"lastRunAt,omitempty"`

	// Mode Mode is "calendar" or "interval". Empty means calendar.
	Mode      *string    `json:"mode,omitempty"`
	NextRunAt *time.Time `json:"nextRunAt,omitempty"`

	// Times Times are "HH:MM" instants in Timezone. At least one is
	// required.
	Times *[]string `json:"times,omitempty"`

	// Timezone Timezone is an IANA name. Empty means UTC. Calendar mode
	// only: an interval is a duration, and a duration is the
	// same length everywhere.
	Timezone  *string `json:"timezone,omitempty"`
	UpdatedAt *string `json:"updatedAt,omitempty"`

	// Weekdays Weekdays are lowercase English weekday names.
	Weekdays *[]string `json:"weekdays,omitempty"`
}

DatasetScheduleResponse DatasetScheduleResponse is one dataset's schedule.

type DeleteApiKeysByIdResponse

type DeleteApiKeysByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteApiKeysByIdResponse

func ParseDeleteApiKeysByIdResponse(rsp *http.Response) (*DeleteApiKeysByIdResponse, error)

ParseDeleteApiKeysByIdResponse parses an HTTP response from a DeleteApiKeysByIdWithResponse call

func (DeleteApiKeysByIdResponse) Status

func (r DeleteApiKeysByIdResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteApiKeysByIdResponse) StatusCode

func (r DeleteApiKeysByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteDashboardResponse added in v0.2.0

type DeleteDashboardResponse struct {
	Status string `json:"status"`
}

DeleteDashboardResponse DeleteDashboardResponse is the JSON body of a successful `DELETE /grafana/dashboards/{id}`. Unlike most DELETEs (which return 204 No Content) this endpoint returns the upstream Grafana status string for backward compatibility.

type DeleteDashboardsByIdResponse

type DeleteDashboardsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeleteDashboardResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteDashboardsByIdResponse

func ParseDeleteDashboardsByIdResponse(rsp *http.Response) (*DeleteDashboardsByIdResponse, error)

ParseDeleteDashboardsByIdResponse parses an HTTP response from a DeleteDashboardsByIdWithResponse call

func (DeleteDashboardsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteDashboardsByIdResponse) StatusCode

func (r DeleteDashboardsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteDropRulesByIdResponse

type DeleteDropRulesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteDropRulesByIdResponse

func ParseDeleteDropRulesByIdResponse(rsp *http.Response) (*DeleteDropRulesByIdResponse, error)

ParseDeleteDropRulesByIdResponse parses an HTTP response from a DeleteDropRulesByIdWithResponse call

func (DeleteDropRulesByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteDropRulesByIdResponse) StatusCode

func (r DeleteDropRulesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteGenaiDatasetItemResponse added in v0.14.0

type DeleteGenaiDatasetItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteGenaiDatasetItemResponse added in v0.14.0

func ParseDeleteGenaiDatasetItemResponse(rsp *http.Response) (*DeleteGenaiDatasetItemResponse, error)

ParseDeleteGenaiDatasetItemResponse parses an HTTP response from a DeleteGenaiDatasetItemWithResponse call

func (DeleteGenaiDatasetItemResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (DeleteGenaiDatasetItemResponse) StatusCode added in v0.14.0

func (r DeleteGenaiDatasetItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteGenaiDatasetResponse added in v0.14.0

type DeleteGenaiDatasetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteGenaiDatasetResponse added in v0.14.0

func ParseDeleteGenaiDatasetResponse(rsp *http.Response) (*DeleteGenaiDatasetResponse, error)

ParseDeleteGenaiDatasetResponse parses an HTTP response from a DeleteGenaiDatasetWithResponse call

func (DeleteGenaiDatasetResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (DeleteGenaiDatasetResponse) StatusCode added in v0.14.0

func (r DeleteGenaiDatasetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteGenaiDatasetScheduleResponse added in v0.15.0

type DeleteGenaiDatasetScheduleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON204      *AnonymousType1
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteGenaiDatasetScheduleResponse added in v0.15.0

func ParseDeleteGenaiDatasetScheduleResponse(rsp *http.Response) (*DeleteGenaiDatasetScheduleResponse, error)

ParseDeleteGenaiDatasetScheduleResponse parses an HTTP response from a DeleteGenaiDatasetScheduleWithResponse call

func (DeleteGenaiDatasetScheduleResponse) Status added in v0.15.0

Status returns HTTPResponse.Status

func (DeleteGenaiDatasetScheduleResponse) StatusCode added in v0.15.0

func (r DeleteGenaiDatasetScheduleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteGenaiEvaluationRuleResponse added in v0.14.0

type DeleteGenaiEvaluationRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON409      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteGenaiEvaluationRuleResponse added in v0.14.0

func ParseDeleteGenaiEvaluationRuleResponse(rsp *http.Response) (*DeleteGenaiEvaluationRuleResponse, error)

ParseDeleteGenaiEvaluationRuleResponse parses an HTTP response from a DeleteGenaiEvaluationRuleWithResponse call

func (DeleteGenaiEvaluationRuleResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (DeleteGenaiEvaluationRuleResponse) StatusCode added in v0.14.0

func (r DeleteGenaiEvaluationRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteGenaiEvaluatorResponse added in v0.14.0

type DeleteGenaiEvaluatorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteGenaiEvaluatorResponse added in v0.14.0

func ParseDeleteGenaiEvaluatorResponse(rsp *http.Response) (*DeleteGenaiEvaluatorResponse, error)

ParseDeleteGenaiEvaluatorResponse parses an HTTP response from a DeleteGenaiEvaluatorWithResponse call

func (DeleteGenaiEvaluatorResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (DeleteGenaiEvaluatorResponse) StatusCode added in v0.14.0

func (r DeleteGenaiEvaluatorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteGenaiLlmConnectionResponse added in v0.14.0

type DeleteGenaiLlmConnectionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteGenaiLlmConnectionResponse added in v0.14.0

func ParseDeleteGenaiLlmConnectionResponse(rsp *http.Response) (*DeleteGenaiLlmConnectionResponse, error)

ParseDeleteGenaiLlmConnectionResponse parses an HTTP response from a DeleteGenaiLlmConnectionWithResponse call

func (DeleteGenaiLlmConnectionResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (DeleteGenaiLlmConnectionResponse) StatusCode added in v0.14.0

func (r DeleteGenaiLlmConnectionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteGenaiPromptResponse added in v0.14.0

type DeleteGenaiPromptResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON409      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteGenaiPromptResponse added in v0.14.0

func ParseDeleteGenaiPromptResponse(rsp *http.Response) (*DeleteGenaiPromptResponse, error)

ParseDeleteGenaiPromptResponse parses an HTTP response from a DeleteGenaiPromptWithResponse call

func (DeleteGenaiPromptResponse) Status added in v0.14.0

func (r DeleteGenaiPromptResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteGenaiPromptResponse) StatusCode added in v0.14.0

func (r DeleteGenaiPromptResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteGenaiPromptVersionResponse added in v0.14.0

type DeleteGenaiPromptVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON409      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteGenaiPromptVersionResponse added in v0.14.0

func ParseDeleteGenaiPromptVersionResponse(rsp *http.Response) (*DeleteGenaiPromptVersionResponse, error)

ParseDeleteGenaiPromptVersionResponse parses an HTTP response from a DeleteGenaiPromptVersionWithResponse call

func (DeleteGenaiPromptVersionResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (DeleteGenaiPromptVersionResponse) StatusCode added in v0.14.0

func (r DeleteGenaiPromptVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteIntegrationsByIdResponse added in v0.11.0

type DeleteIntegrationsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteIntegrationsByIdResponse added in v0.11.0

func ParseDeleteIntegrationsByIdResponse(rsp *http.Response) (*DeleteIntegrationsByIdResponse, error)

ParseDeleteIntegrationsByIdResponse parses an HTTP response from a DeleteIntegrationsByIdWithResponse call

func (DeleteIntegrationsByIdResponse) Status added in v0.11.0

Status returns HTTPResponse.Status

func (DeleteIntegrationsByIdResponse) StatusCode added in v0.11.0

func (r DeleteIntegrationsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteInvitationsByIdResponse

type DeleteInvitationsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON403      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteInvitationsByIdResponse

func ParseDeleteInvitationsByIdResponse(rsp *http.Response) (*DeleteInvitationsByIdResponse, error)

ParseDeleteInvitationsByIdResponse parses an HTTP response from a DeleteInvitationsByIdWithResponse call

func (DeleteInvitationsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteInvitationsByIdResponse) StatusCode

func (r DeleteInvitationsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteLogmetricsByIdResponse

type DeleteLogmetricsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteLogmetricsByIdResponse

func ParseDeleteLogmetricsByIdResponse(rsp *http.Response) (*DeleteLogmetricsByIdResponse, error)

ParseDeleteLogmetricsByIdResponse parses an HTTP response from a DeleteLogmetricsByIdWithResponse call

func (DeleteLogmetricsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteLogmetricsByIdResponse) StatusCode

func (r DeleteLogmetricsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteMonitorsByIdResponse

type DeleteMonitorsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteMonitorsByIdResponse

func ParseDeleteMonitorsByIdResponse(rsp *http.Response) (*DeleteMonitorsByIdResponse, error)

ParseDeleteMonitorsByIdResponse parses an HTTP response from a DeleteMonitorsByIdWithResponse call

func (DeleteMonitorsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteMonitorsByIdResponse) StatusCode

func (r DeleteMonitorsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteMonitorsJSONRequestBody

type DeleteMonitorsJSONRequestBody = BulkDeleteMonitorsRequest

DeleteMonitorsJSONRequestBody defines body for DeleteMonitors for application/json ContentType.

type DeleteMonitorsResponse

type DeleteMonitorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteMonitorsResponse

func ParseDeleteMonitorsResponse(rsp *http.Response) (*DeleteMonitorsResponse, error)

ParseDeleteMonitorsResponse parses an HTTP response from a DeleteMonitorsWithResponse call

func (DeleteMonitorsResponse) Status

func (r DeleteMonitorsResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteMonitorsResponse) StatusCode

func (r DeleteMonitorsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteMutingRulesByIdResponse

type DeleteMutingRulesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteMutingRulesByIdResponse

func ParseDeleteMutingRulesByIdResponse(rsp *http.Response) (*DeleteMutingRulesByIdResponse, error)

ParseDeleteMutingRulesByIdResponse parses an HTTP response from a DeleteMutingRulesByIdWithResponse call

func (DeleteMutingRulesByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteMutingRulesByIdResponse) StatusCode

func (r DeleteMutingRulesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteNotificationPoliciesByIdResponse

type DeleteNotificationPoliciesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteNotificationPoliciesByIdResponse

func ParseDeleteNotificationPoliciesByIdResponse(rsp *http.Response) (*DeleteNotificationPoliciesByIdResponse, error)

ParseDeleteNotificationPoliciesByIdResponse parses an HTTP response from a DeleteNotificationPoliciesByIdWithResponse call

func (DeleteNotificationPoliciesByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteNotificationPoliciesByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteNotifiersByIdResponse

type DeleteNotifiersByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON409      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteNotifiersByIdResponse

func ParseDeleteNotifiersByIdResponse(rsp *http.Response) (*DeleteNotifiersByIdResponse, error)

ParseDeleteNotifiersByIdResponse parses an HTTP response from a DeleteNotifiersByIdWithResponse call

func (DeleteNotifiersByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteNotifiersByIdResponse) StatusCode

func (r DeleteNotifiersByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSyntheticMonitorsByIdResponse

type DeleteSyntheticMonitorsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteSyntheticMonitorsByIdResponse

func ParseDeleteSyntheticMonitorsByIdResponse(rsp *http.Response) (*DeleteSyntheticMonitorsByIdResponse, error)

ParseDeleteSyntheticMonitorsByIdResponse parses an HTTP response from a DeleteSyntheticMonitorsByIdWithResponse call

func (DeleteSyntheticMonitorsByIdResponse) Status

Status returns HTTPResponse.Status

func (DeleteSyntheticMonitorsByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteUserRequest added in v0.11.0

type DeleteUserRequest struct {
	UserId string `json:"user_id"`
}

DeleteUserRequest DeleteUserRequest is the request body for removing a user from the organization.

type DeleteUsersJSONRequestBody added in v0.11.0

type DeleteUsersJSONRequestBody = DeleteUserRequest

DeleteUsersJSONRequestBody defines body for DeleteUsers for application/json ContentType.

type DeleteUsersResponse added in v0.11.0

type DeleteUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON403      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteUsersResponse added in v0.11.0

func ParseDeleteUsersResponse(rsp *http.Response) (*DeleteUsersResponse, error)

ParseDeleteUsersResponse parses an HTTP response from a DeleteUsersWithResponse call

func (DeleteUsersResponse) Status added in v0.11.0

func (r DeleteUsersResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteUsersResponse) StatusCode added in v0.11.0

func (r DeleteUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DropRule

type DropRule struct {
	Filters *[]MetricLabelMatcher `json:"filters"`
	Id      string                `json:"id"`

	// MetricName Matcher specifies a rule, which can match or set of labels or not.
	MetricName MetricLabelMatcher `json:"metric_name"`
	RuleName   string             `json:"rule_name"`
	Type       string             `json:"type"`
}

DropRule DropRule is the API model for a metric drop rule.

type EmailConfig

type EmailConfig struct {
	AuthIdentity *string            `json:"auth_identity,omitempty"`
	AuthPassword *string            `json:"auth_password,omitempty"`
	AuthSecret   *string            `json:"auth_secret,omitempty"`
	AuthUsername *string            `json:"auth_username,omitempty"`
	From         *string            `json:"from,omitempty"`
	Headers      *map[string]string `json:"headers,omitempty"`
	Hello        *string            `json:"hello,omitempty"`
	Html         *string            `json:"html,omitempty"`
	RequireTls   *bool              `json:"require_tls,omitempty"`
	SendResolved bool               `json:"send_resolved"`
	Smarthost    *string            `json:"smarthost,omitempty"`
	Text         *string            `json:"text,omitempty"`

	// TlsConfig TLSConfig configures the options for TLS connections.
	TlsConfig *TLSConfig `json:"tls_config,omitempty"`

	// To Email address to notify.
	To *string `json:"to,omitempty"`
}

EmailConfig EmailConfig configures notifications via mail.

type EvalTemplate added in v0.14.0

type EvalTemplate struct {
	CreatedAt          string      `json:"createdAt"`
	Id                 string      `json:"id"`
	ModelParams        interface{} `json:"modelParams"`
	Name               string      `json:"name"`
	OutputSchema       interface{} `json:"outputSchema"`
	ProjectId          *string     `json:"projectId,omitempty"`
	Prompt             string      `json:"prompt"`
	SourceCode         *string     `json:"sourceCode,omitempty"`
	SourceCodeLanguage *string     `json:"sourceCodeLanguage,omitempty"`
	Type               string      `json:"type"`
	Vars               *[]string   `json:"vars"`
	Version            int         `json:"version"`
}

EvalTemplate defines model for EvalTemplate.

type EvaluationRule added in v0.14.0

type EvaluationRule struct {
	CreatedAt             string      `json:"createdAt"`
	DatasetId             *string     `json:"datasetId,omitempty"`
	DependsOnRuleIds      *[]string   `json:"dependsOnRuleIds,omitempty"`
	Enabled               bool        `json:"enabled"`
	EvaluatorId           string      `json:"evaluatorId"`
	Filters               interface{} `json:"filters"`
	Id                    string      `json:"id"`
	LlmConnectionId       *string     `json:"llmConnectionId,omitempty"`
	MaxInvocationsPerHour int         `json:"maxInvocationsPerHour"`
	ModelParams           interface{} `json:"modelParams"`
	Name                  string      `json:"name"`
	SamplingRate          float32     `json:"samplingRate"`
	TargetType            string      `json:"targetType"`
	UpdatedAt             string      `json:"updatedAt"`
	VariableMapping       interface{} `json:"variableMapping"`
}

EvaluationRule defines model for EvaluationRule.

type EvaluationRuleResponse added in v0.15.0

type EvaluationRuleResponse struct {
	CreatedAt        string    `json:"createdAt"`
	DatasetId        *string   `json:"datasetId,omitempty"`
	DependsOnRuleIds *[]string `json:"dependsOnRuleIds,omitempty"`
	Enabled          bool      `json:"enabled"`
	EvaluatorId      string    `json:"evaluatorId"`

	// EvaluatorType EvaluatorType is "llm", "code" or "output_comparer", and
	// is empty when the referenced template no longer exists.
	EvaluatorType         *string     `json:"evaluatorType,omitempty"`
	Filters               interface{} `json:"filters"`
	Id                    string      `json:"id"`
	LlmConnectionId       *string     `json:"llmConnectionId,omitempty"`
	MaxInvocationsPerHour int         `json:"maxInvocationsPerHour"`
	ModelParams           interface{} `json:"modelParams"`
	Name                  string      `json:"name"`
	SamplingRate          float32     `json:"samplingRate"`
	TargetType            string      `json:"targetType"`
	UpdatedAt             string      `json:"updatedAt"`
	VariableMapping       interface{} `json:"variableMapping"`
}

EvaluationRuleResponse EvaluationRuleResponse is one evaluator, joined with the type of the template it points at.

EvaluatorType is the only field the store type cannot carry: it lives on the template, and a rule referencing an Oodle-managed template has no template row to read it from. Clients split output comparers out of the evaluator list with it.

type Folder

type Folder struct {
	Created   *string `json:"created,omitempty"`
	Id        int     `json:"id"`
	ParentUid *string `json:"parentUid,omitempty"`
	Title     string  `json:"title"`
	Uid       string  `json:"uid"`
	Updated   *string `json:"updated,omitempty"`
	Url       *string `json:"url,omitempty"`
	Version   *int    `json:"version,omitempty"`
}

Folder Folder represents a Grafana folder

type GetApiKeysByIdResponse

type GetApiKeysByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ApiKey
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetApiKeysByIdResponse

func ParseGetApiKeysByIdResponse(rsp *http.Response) (*GetApiKeysByIdResponse, error)

ParseGetApiKeysByIdResponse parses an HTTP response from a GetApiKeysByIdWithResponse call

func (GetApiKeysByIdResponse) Status

func (r GetApiKeysByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetApiKeysByIdResponse) StatusCode

func (r GetApiKeysByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDashboardResponse

type GetDashboardResponse struct {
	// Dashboard Grafana-compatible dashboard JSON
	Dashboard *map[string]interface{} `json:"dashboard,omitempty"`
	Meta      *struct {
		Created     *string `json:"created,omitempty"`
		FolderId    *int    `json:"folderId,omitempty"`
		FolderTitle *string `json:"folderTitle,omitempty"`
		FolderUid   *string `json:"folderUid,omitempty"`
		Slug        *string `json:"slug,omitempty"`
		Updated     *string `json:"updated,omitempty"`
		Url         *string `json:"url,omitempty"`
		Version     *int    `json:"version,omitempty"`
	} `json:"meta,omitempty"`
}

GetDashboardResponse defines model for GetDashboardResponse.

type GetDashboardsByIdResponse

type GetDashboardsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetDashboardResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetDashboardsByIdResponse

func ParseGetDashboardsByIdResponse(rsp *http.Response) (*GetDashboardsByIdResponse, error)

ParseGetDashboardsByIdResponse parses an HTTP response from a GetDashboardsByIdWithResponse call

func (GetDashboardsByIdResponse) Status

func (r GetDashboardsByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetDashboardsByIdResponse) StatusCode

func (r GetDashboardsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDropRulesByIdResponse

type GetDropRulesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DropRule
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetDropRulesByIdResponse

func ParseGetDropRulesByIdResponse(rsp *http.Response) (*GetDropRulesByIdResponse, error)

ParseGetDropRulesByIdResponse parses an HTTP response from a GetDropRulesByIdWithResponse call

func (GetDropRulesByIdResponse) Status

func (r GetDropRulesByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetDropRulesByIdResponse) StatusCode

func (r GetDropRulesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGenaiDatasetItemResponse added in v0.14.0

type GetGenaiDatasetItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DatasetItem
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetGenaiDatasetItemResponse added in v0.14.0

func ParseGetGenaiDatasetItemResponse(rsp *http.Response) (*GetGenaiDatasetItemResponse, error)

ParseGetGenaiDatasetItemResponse parses an HTTP response from a GetGenaiDatasetItemWithResponse call

func (GetGenaiDatasetItemResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (GetGenaiDatasetItemResponse) StatusCode added in v0.14.0

func (r GetGenaiDatasetItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGenaiDatasetResponse added in v0.14.0

type GetGenaiDatasetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Dataset
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetGenaiDatasetResponse added in v0.14.0

func ParseGetGenaiDatasetResponse(rsp *http.Response) (*GetGenaiDatasetResponse, error)

ParseGetGenaiDatasetResponse parses an HTTP response from a GetGenaiDatasetWithResponse call

func (GetGenaiDatasetResponse) Status added in v0.14.0

func (r GetGenaiDatasetResponse) Status() string

Status returns HTTPResponse.Status

func (GetGenaiDatasetResponse) StatusCode added in v0.14.0

func (r GetGenaiDatasetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGenaiDatasetScheduleResponse added in v0.15.0

type GetGenaiDatasetScheduleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DatasetScheduleResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetGenaiDatasetScheduleResponse added in v0.15.0

func ParseGetGenaiDatasetScheduleResponse(rsp *http.Response) (*GetGenaiDatasetScheduleResponse, error)

ParseGetGenaiDatasetScheduleResponse parses an HTTP response from a GetGenaiDatasetScheduleWithResponse call

func (GetGenaiDatasetScheduleResponse) Status added in v0.15.0

Status returns HTTPResponse.Status

func (GetGenaiDatasetScheduleResponse) StatusCode added in v0.15.0

func (r GetGenaiDatasetScheduleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGenaiEvaluatorResponse added in v0.14.0

type GetGenaiEvaluatorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EvalTemplate
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetGenaiEvaluatorResponse added in v0.14.0

func ParseGetGenaiEvaluatorResponse(rsp *http.Response) (*GetGenaiEvaluatorResponse, error)

ParseGetGenaiEvaluatorResponse parses an HTTP response from a GetGenaiEvaluatorWithResponse call

func (GetGenaiEvaluatorResponse) Status added in v0.14.0

func (r GetGenaiEvaluatorResponse) Status() string

Status returns HTTPResponse.Status

func (GetGenaiEvaluatorResponse) StatusCode added in v0.14.0

func (r GetGenaiEvaluatorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGenaiJobResponse added in v0.14.0

type GetGenaiJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Job
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetGenaiJobResponse added in v0.14.0

func ParseGetGenaiJobResponse(rsp *http.Response) (*GetGenaiJobResponse, error)

ParseGetGenaiJobResponse parses an HTTP response from a GetGenaiJobWithResponse call

func (GetGenaiJobResponse) Status added in v0.14.0

func (r GetGenaiJobResponse) Status() string

Status returns HTTPResponse.Status

func (GetGenaiJobResponse) StatusCode added in v0.14.0

func (r GetGenaiJobResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGenaiPromptParams added in v0.14.0

type GetGenaiPromptParams struct {
	// Label Label to resolve. Defaults to `production`.
	Label *string `form:"label,omitempty" json:"label,omitempty"`

	// Resolve Set to `false` to return the raw prompt with its dependency tags left unexpanded.
	Resolve *string `form:"resolve,omitempty" json:"resolve,omitempty"`

	// Version Exact version to fetch. Takes precedence over `label`.
	Version *int `form:"version,omitempty" json:"version,omitempty"`
}

GetGenaiPromptParams defines parameters for GetGenaiPrompt.

type GetGenaiPromptResponse added in v0.14.0

type GetGenaiPromptResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PromptResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetGenaiPromptResponse added in v0.14.0

func ParseGetGenaiPromptResponse(rsp *http.Response) (*GetGenaiPromptResponse, error)

ParseGetGenaiPromptResponse parses an HTTP response from a GetGenaiPromptWithResponse call

func (GetGenaiPromptResponse) Status added in v0.14.0

func (r GetGenaiPromptResponse) Status() string

Status returns HTTPResponse.Status

func (GetGenaiPromptResponse) StatusCode added in v0.14.0

func (r GetGenaiPromptResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGenaiScoreResponse added in v0.14.0

type GetGenaiScoreResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Score
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetGenaiScoreResponse added in v0.14.0

func ParseGetGenaiScoreResponse(rsp *http.Response) (*GetGenaiScoreResponse, error)

ParseGetGenaiScoreResponse parses an HTTP response from a GetGenaiScoreWithResponse call

func (GetGenaiScoreResponse) Status added in v0.14.0

func (r GetGenaiScoreResponse) Status() string

Status returns HTTPResponse.Status

func (GetGenaiScoreResponse) StatusCode added in v0.14.0

func (r GetGenaiScoreResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIntegrationSetupSpecResponse added in v0.6.0

type GetIntegrationSetupSpecResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IntegrationSetupSpecResponse
	JSON404      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetIntegrationSetupSpecResponse added in v0.6.0

func ParseGetIntegrationSetupSpecResponse(rsp *http.Response) (*GetIntegrationSetupSpecResponse, error)

ParseGetIntegrationSetupSpecResponse parses an HTTP response from a GetIntegrationSetupSpecWithResponse call

func (GetIntegrationSetupSpecResponse) Status added in v0.6.0

Status returns HTTPResponse.Status

func (GetIntegrationSetupSpecResponse) StatusCode added in v0.6.0

func (r GetIntegrationSetupSpecResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIntegrationsByIdResponse added in v0.11.0

type GetIntegrationsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Integration
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetIntegrationsByIdResponse added in v0.11.0

func ParseGetIntegrationsByIdResponse(rsp *http.Response) (*GetIntegrationsByIdResponse, error)

ParseGetIntegrationsByIdResponse parses an HTTP response from a GetIntegrationsByIdWithResponse call

func (GetIntegrationsByIdResponse) Status added in v0.11.0

Status returns HTTPResponse.Status

func (GetIntegrationsByIdResponse) StatusCode added in v0.11.0

func (r GetIntegrationsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInvitationsByIdResponse added in v0.11.0

type GetInvitationsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UserInvitation
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON403      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetInvitationsByIdResponse added in v0.11.0

func ParseGetInvitationsByIdResponse(rsp *http.Response) (*GetInvitationsByIdResponse, error)

ParseGetInvitationsByIdResponse parses an HTTP response from a GetInvitationsByIdWithResponse call

func (GetInvitationsByIdResponse) Status added in v0.11.0

Status returns HTTPResponse.Status

func (GetInvitationsByIdResponse) StatusCode added in v0.11.0

func (r GetInvitationsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLabelsByIdParams added in v0.2.0

type GetLabelsByIdParams struct {
	// EndTimeEpochMs End of the time range in epoch milliseconds
	EndTimeEpochMs int64 `form:"endTimeEpochMs" json:"endTimeEpochMs"`

	// Filters JSON-encoded array of label matchers (e.g. [{"name":"job","value":"api","type":0}]). Match types: 0=EQ, 1=NEQ, 2=RE, 3=NRE.
	Filters *string `form:"filters,omitempty" json:"filters,omitempty"`

	// StartTimeEpochMs Start of the time range in epoch milliseconds
	StartTimeEpochMs int64 `form:"startTimeEpochMs" json:"startTimeEpochMs"`
}

GetLabelsByIdParams defines parameters for GetLabelsById.

type GetLabelsByIdResponse

type GetLabelsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]string
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetLabelsByIdResponse

func ParseGetLabelsByIdResponse(rsp *http.Response) (*GetLabelsByIdResponse, error)

ParseGetLabelsByIdResponse parses an HTTP response from a GetLabelsByIdWithResponse call

func (GetLabelsByIdResponse) Status

func (r GetLabelsByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetLabelsByIdResponse) StatusCode

func (r GetLabelsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLogmetricsByIdResponse

type GetLogmetricsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LogMetrics
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetLogmetricsByIdResponse

func ParseGetLogmetricsByIdResponse(rsp *http.Response) (*GetLogmetricsByIdResponse, error)

ParseGetLogmetricsByIdResponse parses an HTTP response from a GetLogmetricsByIdWithResponse call

func (GetLogmetricsByIdResponse) Status

func (r GetLogmetricsByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetLogmetricsByIdResponse) StatusCode

func (r GetLogmetricsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMonitorStateByIdParams

type GetMonitorStateByIdParams struct {
	// HistoryRange Time range for the monitor history in the format start-end in epoch seconds in UTC (e.g. 1705036708-1705123108), defaults to last 7 days
	HistoryRange *string `form:"history_range,omitempty" json:"history_range,omitempty"`
}

GetMonitorStateByIdParams defines parameters for GetMonitorStateById.

type GetMonitorStateByIdResponse

type GetMonitorStateByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MonitorState
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetMonitorStateByIdResponse

func ParseGetMonitorStateByIdResponse(rsp *http.Response) (*GetMonitorStateByIdResponse, error)

ParseGetMonitorStateByIdResponse parses an HTTP response from a GetMonitorStateByIdWithResponse call

func (GetMonitorStateByIdResponse) Status

Status returns HTTPResponse.Status

func (GetMonitorStateByIdResponse) StatusCode

func (r GetMonitorStateByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMonitorsByIdResponse

type GetMonitorsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Monitor
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetMonitorsByIdResponse

func ParseGetMonitorsByIdResponse(rsp *http.Response) (*GetMonitorsByIdResponse, error)

ParseGetMonitorsByIdResponse parses an HTTP response from a GetMonitorsByIdWithResponse call

func (GetMonitorsByIdResponse) Status

func (r GetMonitorsByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetMonitorsByIdResponse) StatusCode

func (r GetMonitorsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMutingRulesByIdResponse

type GetMutingRulesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MutingRule
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetMutingRulesByIdResponse

func ParseGetMutingRulesByIdResponse(rsp *http.Response) (*GetMutingRulesByIdResponse, error)

ParseGetMutingRulesByIdResponse parses an HTTP response from a GetMutingRulesByIdWithResponse call

func (GetMutingRulesByIdResponse) Status

Status returns HTTPResponse.Status

func (GetMutingRulesByIdResponse) StatusCode

func (r GetMutingRulesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetNotificationPoliciesByIdResponse

type GetNotificationPoliciesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *NotificationPolicy
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetNotificationPoliciesByIdResponse

func ParseGetNotificationPoliciesByIdResponse(rsp *http.Response) (*GetNotificationPoliciesByIdResponse, error)

ParseGetNotificationPoliciesByIdResponse parses an HTTP response from a GetNotificationPoliciesByIdWithResponse call

func (GetNotificationPoliciesByIdResponse) Status

Status returns HTTPResponse.Status

func (GetNotificationPoliciesByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetNotifiersByIdResponse

type GetNotifiersByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Notifier
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetNotifiersByIdResponse

func ParseGetNotifiersByIdResponse(rsp *http.Response) (*GetNotifiersByIdResponse, error)

ParseGetNotifiersByIdResponse parses an HTTP response from a GetNotifiersByIdWithResponse call

func (GetNotifiersByIdResponse) Status

func (r GetNotifiersByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetNotifiersByIdResponse) StatusCode

func (r GetNotifiersByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrgResponse added in v0.14.0

type GetOrgResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CustomerOrg
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetOrgResponse added in v0.14.0

func ParseGetOrgResponse(rsp *http.Response) (*GetOrgResponse, error)

ParseGetOrgResponse parses an HTTP response from a GetOrgWithResponse call

func (GetOrgResponse) Status added in v0.14.0

func (r GetOrgResponse) Status() string

Status returns HTTPResponse.Status

func (GetOrgResponse) StatusCode added in v0.14.0

func (r GetOrgResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSyntheticMonitorsByIdResponse

type GetSyntheticMonitorsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SyntheticMonitor
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetSyntheticMonitorsByIdResponse

func ParseGetSyntheticMonitorsByIdResponse(rsp *http.Response) (*GetSyntheticMonitorsByIdResponse, error)

ParseGetSyntheticMonitorsByIdResponse parses an HTTP response from a GetSyntheticMonitorsByIdWithResponse call

func (GetSyntheticMonitorsByIdResponse) Status

Status returns HTTPResponse.Status

func (GetSyntheticMonitorsByIdResponse) StatusCode

func (r GetSyntheticMonitorsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTraceLabelValuesByIdParams added in v0.2.0

type GetTraceLabelValuesByIdParams struct {
	// End End of the time range in epoch microseconds
	End *int64 `form:"end,omitempty" json:"end,omitempty"`

	// Start Start of the time range in epoch microseconds
	Start *int64 `form:"start,omitempty" json:"start,omitempty"`
}

GetTraceLabelValuesByIdParams defines parameters for GetTraceLabelValuesById.

type GetTraceLabelValuesByIdResponse added in v0.2.0

type GetTraceLabelValuesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TraceLabelsResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetTraceLabelValuesByIdResponse added in v0.2.0

func ParseGetTraceLabelValuesByIdResponse(rsp *http.Response) (*GetTraceLabelValuesByIdResponse, error)

ParseGetTraceLabelValuesByIdResponse parses an HTTP response from a GetTraceLabelValuesByIdWithResponse call

func (GetTraceLabelValuesByIdResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (GetTraceLabelValuesByIdResponse) StatusCode added in v0.2.0

func (r GetTraceLabelValuesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTracesByIdParams

type GetTracesByIdParams struct {
	// End End of the time range in epoch microseconds
	End int64 `form:"end" json:"end"`

	// Start Start of the time range in epoch microseconds
	Start int64 `form:"start" json:"start"`
}

GetTracesByIdParams defines parameters for GetTracesById.

type GetTracesByIdResponse

type GetTracesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TracesResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetTracesByIdResponse

func ParseGetTracesByIdResponse(rsp *http.Response) (*GetTracesByIdResponse, error)

ParseGetTracesByIdResponse parses an HTTP response from a GetTracesByIdWithResponse call

func (GetTracesByIdResponse) Status

func (r GetTracesByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetTracesByIdResponse) StatusCode

func (r GetTracesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetValuesByIdParams added in v0.2.0

type GetValuesByIdParams struct {
	// EndTimeEpochMs End of the time range in epoch milliseconds
	EndTimeEpochMs int64 `form:"endTimeEpochMs" json:"endTimeEpochMs"`

	// Filters JSON-encoded array of label matchers (e.g. [{"name":"job","value":"api","type":0}]). Match types: 0=EQ, 1=NEQ, 2=RE, 3=NRE.
	Filters *string `form:"filters,omitempty" json:"filters,omitempty"`

	// StartTimeEpochMs Start of the time range in epoch milliseconds
	StartTimeEpochMs int64 `form:"startTimeEpochMs" json:"startTimeEpochMs"`
}

GetValuesByIdParams defines parameters for GetValuesById.

type GetValuesByIdResponse

type GetValuesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]string
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetValuesByIdResponse

func ParseGetValuesByIdResponse(rsp *http.Response) (*GetValuesByIdResponse, error)

ParseGetValuesByIdResponse parses an HTTP response from a GetValuesByIdWithResponse call

func (GetValuesByIdResponse) Status

func (r GetValuesByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetValuesByIdResponse) StatusCode

func (r GetValuesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GoogleChatConfig

type GoogleChatConfig struct {
	CardActions  *string `json:"card_actions,omitempty"`
	CardDetails  *string `json:"card_details,omitempty"`
	CardImageUrl *string `json:"card_image_url,omitempty"`
	CardMessage  *string `json:"card_message,omitempty"`
	CardSubtitle *string `json:"card_subtitle,omitempty"`
	CardTitle    *string `json:"card_title,omitempty"`

	// HttpConfig HTTPClientConfig configures an HTTP client.
	HttpConfig   *HTTPClientConfig `json:"http_config,omitempty"`
	Message      *string           `json:"message,omitempty"`
	SendResolved bool              `json:"send_resolved"`
	Threading    *bool             `json:"threading,omitempty"`
	Url          *string           `json:"url,omitempty"`
}

GoogleChatConfig GoogleChatConfig configures notifications via Google Chat.

type Grouping

type Grouping struct {
	ByLabels  *[]string `json:"by_labels,omitempty"`
	ByMonitor *bool     `json:"by_monitor,omitempty"`
	Disabled  *bool     `json:"disabled,omitempty"`
}

Grouping Grouping is a model for grouping alerts.

type HTTPClientConfig

type HTTPClientConfig struct {
	// Authorization Authorization contains HTTP authorization credentials.
	Authorization *Authorization `json:"authorization,omitempty"`

	// BasicAuth BasicAuth contains basic HTTP authentication credentials.
	BasicAuth *BasicAuth `json:"basic_auth,omitempty"`

	// BearerToken The bearer token for the targets. Deprecated in favour of
	// Authorization.Credentials.
	BearerToken *string `json:"bearer_token,omitempty"`

	// BearerTokenFile The bearer token file for the targets. Deprecated in favour of
	// Authorization.CredentialsFile.
	BearerTokenFile *string `json:"bearer_token_file,omitempty"`

	// EnableHttp2 EnableHTTP2 specifies whether the client should configure HTTP2.
	// The omitempty flag is not set, because it would be hidden from the
	// marshalled configuration when set to false.
	EnableHttp2 bool `json:"enable_http2"`

	// FollowRedirects FollowRedirects specifies whether the client should follow HTTP 3xx redirects.
	// The omitempty flag is not set, because it would be hidden from the
	// marshalled configuration when set to false.
	FollowRedirects bool `json:"follow_redirects"`

	// HttpHeaders Headers represents the configuration for HTTP headers.
	HttpHeaders *Headers `json:"http_headers,omitempty"`

	// NoProxy NoProxy contains addresses that should not use a proxy.
	NoProxy *string `json:"no_proxy,omitempty"`

	// Oauth2 OAuth2 is the oauth2 client configuration.
	Oauth2 *OAuth2 `json:"oauth2,omitempty"`

	// ProxyConnectHeader ProxyConnectHeader optionally specifies headers to send to
	// proxies during CONNECT requests. Assume that at least _some_ of
	// these headers are going to contain secrets and use Secret as the
	// value type instead of string.
	ProxyConnectHeader *map[string]*[]string `json:"proxy_connect_header,omitempty"`

	// ProxyFromEnvironment ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function
	// to determine proxies.
	ProxyFromEnvironment *bool `json:"proxy_from_environment,omitempty"`

	// TlsConfig TLSConfig configures the options for TLS connections.
	TlsConfig *TLSConfig `json:"tls_config,omitempty"`
}

HTTPClientConfig HTTPClientConfig configures an HTTP client.

type Headers

type Headers struct {
	Headers *map[string]string `json:"Headers"`
}

Headers Headers represents the configuration for HTTP headers.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type IndexPatternEntry added in v0.4.0

type IndexPatternEntry struct {
	Fields *[]IndexPatternField `json:"fields"`
	Id     string               `json:"id"`
	Title  string               `json:"title"`
}

IndexPatternEntry IndexPatternEntry is the public response shape for GET /api/v1/log_index_patterns.

type IndexPatternField added in v0.4.0

type IndexPatternField struct {
	Name string `json:"name"`
	Type string `json:"type"`
}

IndexPatternField IndexPatternField is a single field in an index pattern, exposing only name and type.

type Instance added in v0.14.0

type Instance struct {
	Id     *string `json:"id,omitempty"`
	Name   *string `json:"name,omitempty"`
	Status *string `json:"status,omitempty"`
}

Instance defines model for Instance.

type Integration added in v0.11.0

type Integration struct {
	ApiDomain                    *string                       `json:"apiDomain,omitempty"`
	AreMonitorsInstalled         *bool                         `json:"areMonitorsInstalled,omitempty"`
	Categories                   *[]string                     `json:"categories,omitempty"`
	CollectorDomain              *string                       `json:"collectorDomain,omitempty"`
	CreatedAt                    *time.Time                    `json:"createdAt,omitempty"`
	DeploymentDomain             *string                       `json:"deploymentDomain,omitempty"`
	Description                  *string                       `json:"description,omitempty"`
	DocLink                      *string                       `json:"docLink,omitempty"`
	ExpectedConnectionTimeInMins *int                          `json:"expectedConnectionTimeInMins,omitempty"`
	Id                           *string                       `json:"id,omitempty"`
	LogsCollectorDomain          *string                       `json:"logsCollectorDomain,omitempty"`
	Name                         *string                       `json:"name,omitempty"`
	OtlpCollectorDomain          *string                       `json:"otlpCollectorDomain,omitempty"`
	Status                       *string                       `json:"status,omitempty"`
	StatusPerSignal              *map[string]string            `json:"statusPerSignal,omitempty"`
	Type                         *string                       `json:"type,omitempty"`
	TypeSpecificData             *Integration_TypeSpecificData `json:"typeSpecificData,omitempty"`
	UpdatedAt                    *time.Time                    `json:"updatedAt,omitempty"`
}

Integration defines model for Integration.

type IntegrationSetupSpecResponse added in v0.6.0

type IntegrationSetupSpecResponse map[string]interface{}

IntegrationSetupSpecResponse defines model for integrationSetupSpecResponse.

type IntegrationSetupSpecsListResponse added in v0.8.0

type IntegrationSetupSpecsListResponse map[string]interface{}

IntegrationSetupSpecsListResponse defines model for integrationSetupSpecsListResponse.

type IntegrationTypeSpecificData2 added in v0.14.0

type IntegrationTypeSpecificData2 map[string]interface{}

IntegrationTypeSpecificData2 Type-specific config for integration variants not yet typed in this spec (Grafana, GCP, CloudWatch dashboard, S3 log pull). Shape depends on the parent `type` field; consult the backend models for the variant in use.

type Integration_TypeSpecificData added in v0.11.0

type Integration_TypeSpecificData struct {
	// contains filtered or unexported fields
}

Integration_TypeSpecificData defines model for Integration.TypeSpecificData.

func (Integration_TypeSpecificData) AsCloudWatchMetricPullIntegrationWrapper added in v0.11.0

func (t Integration_TypeSpecificData) AsCloudWatchMetricPullIntegrationWrapper() (CloudWatchMetricPullIntegrationWrapper, error)

AsCloudWatchMetricPullIntegrationWrapper returns the union data inside the Integration_TypeSpecificData as a CloudWatchMetricPullIntegrationWrapper

func (Integration_TypeSpecificData) AsConfluentCloudIntegrationWrapper added in v0.14.0

func (t Integration_TypeSpecificData) AsConfluentCloudIntegrationWrapper() (ConfluentCloudIntegrationWrapper, error)

AsConfluentCloudIntegrationWrapper returns the union data inside the Integration_TypeSpecificData as a ConfluentCloudIntegrationWrapper

func (Integration_TypeSpecificData) AsIntegrationTypeSpecificData2 added in v0.14.0

func (t Integration_TypeSpecificData) AsIntegrationTypeSpecificData2() (IntegrationTypeSpecificData2, error)

AsIntegrationTypeSpecificData2 returns the union data inside the Integration_TypeSpecificData as a IntegrationTypeSpecificData2

func (*Integration_TypeSpecificData) FromCloudWatchMetricPullIntegrationWrapper added in v0.11.0

func (t *Integration_TypeSpecificData) FromCloudWatchMetricPullIntegrationWrapper(v CloudWatchMetricPullIntegrationWrapper) error

FromCloudWatchMetricPullIntegrationWrapper overwrites any union data inside the Integration_TypeSpecificData as the provided CloudWatchMetricPullIntegrationWrapper

func (*Integration_TypeSpecificData) FromConfluentCloudIntegrationWrapper added in v0.14.0

func (t *Integration_TypeSpecificData) FromConfluentCloudIntegrationWrapper(v ConfluentCloudIntegrationWrapper) error

FromConfluentCloudIntegrationWrapper overwrites any union data inside the Integration_TypeSpecificData as the provided ConfluentCloudIntegrationWrapper

func (*Integration_TypeSpecificData) FromIntegrationTypeSpecificData2 added in v0.14.0

func (t *Integration_TypeSpecificData) FromIntegrationTypeSpecificData2(v IntegrationTypeSpecificData2) error

FromIntegrationTypeSpecificData2 overwrites any union data inside the Integration_TypeSpecificData as the provided IntegrationTypeSpecificData2

func (Integration_TypeSpecificData) MarshalJSON added in v0.11.0

func (t Integration_TypeSpecificData) MarshalJSON() ([]byte, error)

func (*Integration_TypeSpecificData) MergeCloudWatchMetricPullIntegrationWrapper added in v0.11.0

func (t *Integration_TypeSpecificData) MergeCloudWatchMetricPullIntegrationWrapper(v CloudWatchMetricPullIntegrationWrapper) error

MergeCloudWatchMetricPullIntegrationWrapper performs a merge with any union data inside the Integration_TypeSpecificData, using the provided CloudWatchMetricPullIntegrationWrapper

func (*Integration_TypeSpecificData) MergeConfluentCloudIntegrationWrapper added in v0.14.0

func (t *Integration_TypeSpecificData) MergeConfluentCloudIntegrationWrapper(v ConfluentCloudIntegrationWrapper) error

MergeConfluentCloudIntegrationWrapper performs a merge with any union data inside the Integration_TypeSpecificData, using the provided ConfluentCloudIntegrationWrapper

func (*Integration_TypeSpecificData) MergeIntegrationTypeSpecificData2 added in v0.14.0

func (t *Integration_TypeSpecificData) MergeIntegrationTypeSpecificData2(v IntegrationTypeSpecificData2) error

MergeIntegrationTypeSpecificData2 performs a merge with any union data inside the Integration_TypeSpecificData, using the provided IntegrationTypeSpecificData2

func (*Integration_TypeSpecificData) UnmarshalJSON added in v0.11.0

func (t *Integration_TypeSpecificData) UnmarshalJSON(b []byte) error

type Job added in v0.14.0

type Job struct {
	Config       interface{} `json:"config"`
	CreatedAt    string      `json:"createdAt"`
	DatasetRunId *string     `json:"datasetRunId,omitempty"`
	Error        *string     `json:"error,omitempty"`
	Id           string      `json:"id"`
	Status       string      `json:"status"`
	Type         string      `json:"type"`
	UpdatedAt    string      `json:"updatedAt"`
}

Job defines model for Job.

type LLMConnection added in v0.14.0

type LLMConnection struct {
	BaseUrl             string      `json:"baseUrl"`
	CreatedAt           string      `json:"createdAt"`
	CustomHeaders       interface{} `json:"customHeaders,omitempty"`
	CustomModels        *[]string   `json:"customModels"`
	DefaultModel        string      `json:"defaultModel"`
	DefaultParams       interface{} `json:"defaultParams"`
	EnableDefaultModels bool        `json:"enableDefaultModels"`
	Id                  string      `json:"id"`
	IsDefault           bool        `json:"isDefault"`
	Name                string      `json:"name"`
	Provider            string      `json:"provider"`
	UpdatedAt           string      `json:"updatedAt"`
}

LLMConnection defines model for LLMConnection.

type Label

type Label struct {
	// Name Name is the name of the label.
	Name *string `json:"name,omitempty"`

	// Value Value is the static value of the label.
	// Only one of Value or ValueExtractor should be set.
	Value *string `json:"value,omitempty"`

	// ValueExtractor ValueExtractor is used to extract label values from the log fields.
	ValueExtractor *ValueExtractor `json:"valueExtractor,omitempty"`
}

Label Label represents a name-value pair for a metric label.

type LabelMatcher

type LabelMatcher struct {
	Name string `json:"name"`

	// Type Type of label matcher. Values:
	// - 0: Equals (=)
	// - 1: Not equals (!=)
	// - 2: Regular expression match (=~)
	// - 3: Regular expression not match (!~)
	Type  MatchType `json:"type"`
	Value string    `json:"value"`
}

LabelMatcher defines model for LabelMatcher.

type LabelMatcherNotifications

type LabelMatcherNotifications struct {
	// Matchers Matchers are the label matchers that determine when this policy applies
	Matchers *[]LabelMatcher `json:"matchers"`

	// NotificationPolicyId NotificationPolicyID references the notification policy to use when labels match
	NotificationPolicyId *openapi_types.UUID `json:"notification_policy_id,omitempty"`

	// Notifiers NotifiersByCondition represents notifiers for each severity level.
	Notifiers *NotifiersByCondition `json:"notifiers,omitempty"`
}

LabelMatcherNotifications LabelMatcherNotifications defines a notification policy that is applied when alert labels match the specified matchers.

type ListApiKeysResponse

type ListApiKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ApiKey
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListApiKeysResponse

func ParseListApiKeysResponse(rsp *http.Response) (*ListApiKeysResponse, error)

ParseListApiKeysResponse parses an HTTP response from a ListApiKeysWithResponse call

func (ListApiKeysResponse) Status

func (r ListApiKeysResponse) Status() string

Status returns HTTPResponse.Status

func (ListApiKeysResponse) StatusCode

func (r ListApiKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDashboardsResponse

type ListDashboardsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]DashboardSearchEntry
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListDashboardsResponse

func ParseListDashboardsResponse(rsp *http.Response) (*ListDashboardsResponse, error)

ParseListDashboardsResponse parses an HTTP response from a ListDashboardsWithResponse call

func (ListDashboardsResponse) Status

func (r ListDashboardsResponse) Status() string

Status returns HTTPResponse.Status

func (ListDashboardsResponse) StatusCode

func (r ListDashboardsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListDatasetItemsResponse added in v0.14.0

type ListDatasetItemsResponse struct {
	Data *[]DatasetItem `json:"data"`

	// Meta ListMeta is the pagination envelope every llmops list
	// endpoint returns alongside `data`.
	Meta ListMeta `json:"meta"`
}

ListDatasetItemsResponse ListDatasetItemsResponse is the dataset item list envelope.

type ListDatasetRunItemsResponse added in v0.14.0

type ListDatasetRunItemsResponse struct {
	Data *[]DatasetRunItemResponse `json:"data"`

	// Meta ListMeta is the pagination envelope every llmops list
	// endpoint returns alongside `data`.
	Meta ListMeta `json:"meta"`
}

ListDatasetRunItemsResponse ListDatasetRunItemsResponse is the run item list envelope.

type ListDatasetRunsResponse added in v0.14.0

type ListDatasetRunsResponse struct {
	Data *[]DatasetRunResponse `json:"data"`

	// Meta ListMeta is the pagination envelope every llmops list
	// endpoint returns alongside `data`.
	Meta ListMeta `json:"meta"`
}

ListDatasetRunsResponse ListDatasetRunsResponse is the experiment run list envelope.

type ListDatasetsResponse added in v0.14.0

type ListDatasetsResponse struct {
	Data *[]Dataset `json:"data"`

	// Meta ListMeta is the pagination envelope every llmops list
	// endpoint returns alongside `data`.
	Meta ListMeta `json:"meta"`
}

ListDatasetsResponse ListDatasetsResponse is the dataset list envelope.

type ListDropRulesResponse

type ListDropRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]DropRule
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListDropRulesResponse

func ParseListDropRulesResponse(rsp *http.Response) (*ListDropRulesResponse, error)

ParseListDropRulesResponse parses an HTTP response from a ListDropRulesWithResponse call

func (ListDropRulesResponse) Status

func (r ListDropRulesResponse) Status() string

Status returns HTTPResponse.Status

func (ListDropRulesResponse) StatusCode

func (r ListDropRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListEvaluationRulesResponse added in v0.14.0

type ListEvaluationRulesResponse struct {
	Data *[]EvaluationRuleResponse `json:"data"`
}

ListEvaluationRulesResponse ListEvaluationRulesResponse is the evaluation rule list. This endpoint is not paginated.

type ListEvaluatorsResponse added in v0.14.0

type ListEvaluatorsResponse struct {
	// CodeEvalEnabled CodeEvalEnabled reports whether `type: code` evaluators
	// may be created for this instance.
	CodeEvalEnabled bool            `json:"codeEvalEnabled"`
	Data            *[]EvalTemplate `json:"data"`

	// Meta ListMeta is the pagination envelope every llmops list
	// endpoint returns alongside `data`.
	Meta ListMeta `json:"meta"`
}

ListEvaluatorsResponse ListEvaluatorsResponse is the evaluator list envelope. It includes both Oodle-managed evaluator templates and the ones defined in this instance.

type ListFoldersResponse

type ListFoldersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Folder
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListFoldersResponse

func ParseListFoldersResponse(rsp *http.Response) (*ListFoldersResponse, error)

ParseListFoldersResponse parses an HTTP response from a ListFoldersWithResponse call

func (ListFoldersResponse) Status

func (r ListFoldersResponse) Status() string

Status returns HTTPResponse.Status

func (ListFoldersResponse) StatusCode

func (r ListFoldersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGenaiDatasetItemsParams added in v0.14.0

type ListGenaiDatasetItemsParams struct {
	// Limit Results per page. Defaults to 50, capped at 200.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Page 1-based page number. Defaults to 1.
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// Version RFC3339 timestamp. Returns the dataset as it stood at that moment, which is how a past run's inputs are recovered.
	Version *string `form:"version,omitempty" json:"version,omitempty"`
}

ListGenaiDatasetItemsParams defines parameters for ListGenaiDatasetItems.

type ListGenaiDatasetItemsResponse added in v0.14.0

type ListGenaiDatasetItemsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListDatasetItemsResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiDatasetItemsResponse added in v0.14.0

func ParseListGenaiDatasetItemsResponse(rsp *http.Response) (*ListGenaiDatasetItemsResponse, error)

ParseListGenaiDatasetItemsResponse parses an HTTP response from a ListGenaiDatasetItemsWithResponse call

func (ListGenaiDatasetItemsResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (ListGenaiDatasetItemsResponse) StatusCode added in v0.14.0

func (r ListGenaiDatasetItemsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGenaiDatasetsParams added in v0.14.0

type ListGenaiDatasetsParams struct {
	// Limit Results per page. Defaults to 50, capped at 200.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Page 1-based page number. Defaults to 1.
	Page *int `form:"page,omitempty" json:"page,omitempty"`
}

ListGenaiDatasetsParams defines parameters for ListGenaiDatasets.

type ListGenaiDatasetsResponse added in v0.14.0

type ListGenaiDatasetsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListDatasetsResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiDatasetsResponse added in v0.14.0

func ParseListGenaiDatasetsResponse(rsp *http.Response) (*ListGenaiDatasetsResponse, error)

ParseListGenaiDatasetsResponse parses an HTTP response from a ListGenaiDatasetsWithResponse call

func (ListGenaiDatasetsResponse) Status added in v0.14.0

func (r ListGenaiDatasetsResponse) Status() string

Status returns HTTPResponse.Status

func (ListGenaiDatasetsResponse) StatusCode added in v0.14.0

func (r ListGenaiDatasetsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGenaiEvaluationRulesParams added in v0.15.0

type ListGenaiEvaluationRulesParams struct {
	// EvaluatorType Narrow to evaluators whose template is of this type: `llm`, `code`, or `output_comparer`.
	EvaluatorType *string `form:"evaluatorType,omitempty" json:"evaluatorType,omitempty"`
}

ListGenaiEvaluationRulesParams defines parameters for ListGenaiEvaluationRules.

type ListGenaiEvaluationRulesResponse added in v0.14.0

type ListGenaiEvaluationRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListEvaluationRulesResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiEvaluationRulesResponse added in v0.14.0

func ParseListGenaiEvaluationRulesResponse(rsp *http.Response) (*ListGenaiEvaluationRulesResponse, error)

ParseListGenaiEvaluationRulesResponse parses an HTTP response from a ListGenaiEvaluationRulesWithResponse call

func (ListGenaiEvaluationRulesResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (ListGenaiEvaluationRulesResponse) StatusCode added in v0.14.0

func (r ListGenaiEvaluationRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGenaiEvaluatorsParams added in v0.14.0

type ListGenaiEvaluatorsParams struct {
	// Limit Results per page. Defaults to 50, capped at 200.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Page 1-based page number. Defaults to 1.
	Page *int `form:"page,omitempty" json:"page,omitempty"`
}

ListGenaiEvaluatorsParams defines parameters for ListGenaiEvaluators.

type ListGenaiEvaluatorsResponse added in v0.14.0

type ListGenaiEvaluatorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListEvaluatorsResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiEvaluatorsResponse added in v0.14.0

func ParseListGenaiEvaluatorsResponse(rsp *http.Response) (*ListGenaiEvaluatorsResponse, error)

ParseListGenaiEvaluatorsResponse parses an HTTP response from a ListGenaiEvaluatorsWithResponse call

func (ListGenaiEvaluatorsResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (ListGenaiEvaluatorsResponse) StatusCode added in v0.14.0

func (r ListGenaiEvaluatorsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGenaiExperimentItemsParams added in v0.14.0

type ListGenaiExperimentItemsParams struct {
	// DatasetRunId Run to list items for.
	DatasetRunId string `form:"datasetRunId" json:"datasetRunId"`

	// Limit Results per page. Defaults to 50, capped at 200.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Page 1-based page number. Defaults to 1.
	Page *int `form:"page,omitempty" json:"page,omitempty"`
}

ListGenaiExperimentItemsParams defines parameters for ListGenaiExperimentItems.

type ListGenaiExperimentItemsResponse added in v0.14.0

type ListGenaiExperimentItemsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListDatasetRunItemsResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiExperimentItemsResponse added in v0.14.0

func ParseListGenaiExperimentItemsResponse(rsp *http.Response) (*ListGenaiExperimentItemsResponse, error)

ParseListGenaiExperimentItemsResponse parses an HTTP response from a ListGenaiExperimentItemsWithResponse call

func (ListGenaiExperimentItemsResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (ListGenaiExperimentItemsResponse) StatusCode added in v0.14.0

func (r ListGenaiExperimentItemsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGenaiExperimentsParams added in v0.14.0

type ListGenaiExperimentsParams struct {
	// Limit Results per page. Defaults to 50, capped at 200.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Page 1-based page number. Defaults to 1.
	Page *int `form:"page,omitempty" json:"page,omitempty"`
}

ListGenaiExperimentsParams defines parameters for ListGenaiExperiments.

type ListGenaiExperimentsResponse added in v0.14.0

type ListGenaiExperimentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListDatasetRunsResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiExperimentsResponse added in v0.14.0

func ParseListGenaiExperimentsResponse(rsp *http.Response) (*ListGenaiExperimentsResponse, error)

ParseListGenaiExperimentsResponse parses an HTTP response from a ListGenaiExperimentsWithResponse call

func (ListGenaiExperimentsResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (ListGenaiExperimentsResponse) StatusCode added in v0.14.0

func (r ListGenaiExperimentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGenaiJobsParams added in v0.14.0

type ListGenaiJobsParams struct {
	// DatasetRunId List the jobs for one run. Omit to list jobs still pending.
	DatasetRunId *string `form:"datasetRunId,omitempty" json:"datasetRunId,omitempty"`
}

ListGenaiJobsParams defines parameters for ListGenaiJobs.

type ListGenaiJobsResponse added in v0.14.0

type ListGenaiJobsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListJobsResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiJobsResponse added in v0.14.0

func ParseListGenaiJobsResponse(rsp *http.Response) (*ListGenaiJobsResponse, error)

ParseListGenaiJobsResponse parses an HTTP response from a ListGenaiJobsWithResponse call

func (ListGenaiJobsResponse) Status added in v0.14.0

func (r ListGenaiJobsResponse) Status() string

Status returns HTTPResponse.Status

func (ListGenaiJobsResponse) StatusCode added in v0.14.0

func (r ListGenaiJobsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGenaiLlmConnectionsResponse added in v0.14.0

type ListGenaiLlmConnectionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListLLMConnectionsResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiLlmConnectionsResponse added in v0.14.0

func ParseListGenaiLlmConnectionsResponse(rsp *http.Response) (*ListGenaiLlmConnectionsResponse, error)

ParseListGenaiLlmConnectionsResponse parses an HTTP response from a ListGenaiLlmConnectionsWithResponse call

func (ListGenaiLlmConnectionsResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (ListGenaiLlmConnectionsResponse) StatusCode added in v0.14.0

func (r ListGenaiLlmConnectionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGenaiPromptVersionsResponse added in v0.14.0

type ListGenaiPromptVersionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListPromptVersionsResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiPromptVersionsResponse added in v0.14.0

func ParseListGenaiPromptVersionsResponse(rsp *http.Response) (*ListGenaiPromptVersionsResponse, error)

ParseListGenaiPromptVersionsResponse parses an HTTP response from a ListGenaiPromptVersionsWithResponse call

func (ListGenaiPromptVersionsResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (ListGenaiPromptVersionsResponse) StatusCode added in v0.14.0

func (r ListGenaiPromptVersionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGenaiPromptsParams added in v0.14.0

type ListGenaiPromptsParams struct {
	// Limit Results per page. Defaults to 50, capped at 200.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Page 1-based page number. Defaults to 1.
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// Search Substring match on the prompt name.
	Search *string `form:"search,omitempty" json:"search,omitempty"`

	// SearchField Field `search` applies to. Defaults to the name.
	SearchField *string `form:"searchField,omitempty" json:"searchField,omitempty"`
}

ListGenaiPromptsParams defines parameters for ListGenaiPrompts.

type ListGenaiPromptsResponse added in v0.14.0

type ListGenaiPromptsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListPromptsResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiPromptsResponse added in v0.14.0

func ParseListGenaiPromptsResponse(rsp *http.Response) (*ListGenaiPromptsResponse, error)

ParseListGenaiPromptsResponse parses an HTTP response from a ListGenaiPromptsWithResponse call

func (ListGenaiPromptsResponse) Status added in v0.14.0

func (r ListGenaiPromptsResponse) Status() string

Status returns HTTPResponse.Status

func (ListGenaiPromptsResponse) StatusCode added in v0.14.0

func (r ListGenaiPromptsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGenaiScoresParams added in v0.14.0

type ListGenaiScoresParams struct {
	// EvaluatorName Exact name of the evaluator that produced the score.
	EvaluatorName *string `form:"evaluatorName,omitempty" json:"evaluatorName,omitempty"`

	// Limit Results per page. Defaults to 50, capped at 2000.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Name Exact score name to filter by.
	Name *string `form:"name,omitempty" json:"name,omitempty"`

	// Page 1-based page number. Defaults to 1.
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// ScoreValueMax Upper bound on the numeric value.
	ScoreValueMax *float32 `form:"scoreValueMax,omitempty" json:"scoreValueMax,omitempty"`

	// ScoreValueMin Lower bound on the numeric value.
	ScoreValueMin *float32 `form:"scoreValueMin,omitempty" json:"scoreValueMin,omitempty"`

	// Start RFC3339 lower bound on score time. Defaults to 15 minutes ago — scores are read from the trace store, so a wide range must be requested explicitly.
	Start *string `form:"start,omitempty" json:"start,omitempty"`

	// TraceId Only scores on this trace.
	TraceId *string `form:"traceId,omitempty" json:"traceId,omitempty"`
}

ListGenaiScoresParams defines parameters for ListGenaiScores.

type ListGenaiScoresResponse added in v0.14.0

type ListGenaiScoresResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListScoresResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiScoresResponse added in v0.14.0

func ParseListGenaiScoresResponse(rsp *http.Response) (*ListGenaiScoresResponse, error)

ParseListGenaiScoresResponse parses an HTTP response from a ListGenaiScoresWithResponse call

func (ListGenaiScoresResponse) Status added in v0.14.0

func (r ListGenaiScoresResponse) Status() string

Status returns HTTPResponse.Status

func (ListGenaiScoresResponse) StatusCode added in v0.14.0

func (r ListGenaiScoresResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListIntegrationSetupSpecsResponse added in v0.8.0

type ListIntegrationSetupSpecsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IntegrationSetupSpecsListResponse
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListIntegrationSetupSpecsResponse added in v0.8.0

func ParseListIntegrationSetupSpecsResponse(rsp *http.Response) (*ListIntegrationSetupSpecsResponse, error)

ParseListIntegrationSetupSpecsResponse parses an HTTP response from a ListIntegrationSetupSpecsWithResponse call

func (ListIntegrationSetupSpecsResponse) Status added in v0.8.0

Status returns HTTPResponse.Status

func (ListIntegrationSetupSpecsResponse) StatusCode added in v0.8.0

func (r ListIntegrationSetupSpecsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListIntegrationsResponse added in v0.6.0

type ListIntegrationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Integration
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListIntegrationsResponse added in v0.6.0

func ParseListIntegrationsResponse(rsp *http.Response) (*ListIntegrationsResponse, error)

ParseListIntegrationsResponse parses an HTTP response from a ListIntegrationsWithResponse call

func (ListIntegrationsResponse) Status added in v0.6.0

func (r ListIntegrationsResponse) Status() string

Status returns HTTPResponse.Status

func (ListIntegrationsResponse) StatusCode added in v0.6.0

func (r ListIntegrationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInvitationsOpResponse

type ListInvitationsOpResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListInvitationsResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON403      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListInvitationsOpResponse

func ParseListInvitationsOpResponse(rsp *http.Response) (*ListInvitationsOpResponse, error)

ParseListInvitationsOpResponse parses an HTTP response from a ListInvitationsOpWithResponse call

func (ListInvitationsOpResponse) Status

func (r ListInvitationsOpResponse) Status() string

Status returns HTTPResponse.Status

func (ListInvitationsOpResponse) StatusCode

func (r ListInvitationsOpResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInvitationsResponse

type ListInvitationsResponse struct {
	Invitations *[]UserInvitation `json:"invitations"`
}

ListInvitationsResponse ListInvitationsResponse is the response for listing invitations.

type ListJobsResponse added in v0.14.0

type ListJobsResponse struct {
	Data *[]Job `json:"data"`

	// Meta ListMeta is the pagination envelope every llmops list
	// endpoint returns alongside `data`.
	Meta ListMeta `json:"meta"`
}

ListJobsResponse ListJobsResponse is the job list envelope.

type ListLLMConnectionsResponse added in v0.14.0

type ListLLMConnectionsResponse struct {
	Data *[]LLMConnection `json:"data"`
}

ListLLMConnectionsResponse ListLLMConnectionsResponse is the connection list. Stored API keys are never included.

type ListLabelsParams

type ListLabelsParams struct {
	// End End of the time range in epoch microseconds
	End *int64 `form:"end,omitempty" json:"end,omitempty"`

	// Start Start of the time range in epoch microseconds
	Start *int64 `form:"start,omitempty" json:"start,omitempty"`
}

ListLabelsParams defines parameters for ListLabels.

type ListLabelsResponse

type ListLabelsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TraceLabelsResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListLabelsResponse

func ParseListLabelsResponse(rsp *http.Response) (*ListLabelsResponse, error)

ParseListLabelsResponse parses an HTTP response from a ListLabelsWithResponse call

func (ListLabelsResponse) Status

func (r ListLabelsResponse) Status() string

Status returns HTTPResponse.Status

func (ListLabelsResponse) StatusCode

func (r ListLabelsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLogIndexPatternsResponse added in v0.4.0

type ListLogIndexPatternsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]IndexPatternEntry
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON502      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListLogIndexPatternsResponse added in v0.4.0

func ParseListLogIndexPatternsResponse(rsp *http.Response) (*ListLogIndexPatternsResponse, error)

ParseListLogIndexPatternsResponse parses an HTTP response from a ListLogIndexPatternsWithResponse call

func (ListLogIndexPatternsResponse) Status added in v0.4.0

Status returns HTTPResponse.Status

func (ListLogIndexPatternsResponse) StatusCode added in v0.4.0

func (r ListLogIndexPatternsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLogmetricsResponse

type ListLogmetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]LogMetrics
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListLogmetricsResponse

func ParseListLogmetricsResponse(rsp *http.Response) (*ListLogmetricsResponse, error)

ParseListLogmetricsResponse parses an HTTP response from a ListLogmetricsWithResponse call

func (ListLogmetricsResponse) Status

func (r ListLogmetricsResponse) Status() string

Status returns HTTPResponse.Status

func (ListLogmetricsResponse) StatusCode

func (r ListLogmetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMeta added in v0.14.0

type ListMeta struct {
	Limit      int  `json:"limit"`
	Page       int  `json:"page"`
	TotalItems int  `json:"totalItems"`
	TotalPages *int `json:"totalPages,omitempty"`
}

ListMeta ListMeta is the pagination envelope every llmops list endpoint returns alongside `data`.

type ListMonitorTriggersResponse

type ListMonitorTriggersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]MonitorTrigger
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListMonitorTriggersResponse

func ParseListMonitorTriggersResponse(rsp *http.Response) (*ListMonitorTriggersResponse, error)

ParseListMonitorTriggersResponse parses an HTTP response from a ListMonitorTriggersWithResponse call

func (ListMonitorTriggersResponse) Status

Status returns HTTPResponse.Status

func (ListMonitorTriggersResponse) StatusCode

func (r ListMonitorTriggersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMonitorsResponse

type ListMonitorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Monitor
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListMonitorsResponse

func ParseListMonitorsResponse(rsp *http.Response) (*ListMonitorsResponse, error)

ParseListMonitorsResponse parses an HTTP response from a ListMonitorsWithResponse call

func (ListMonitorsResponse) Status

func (r ListMonitorsResponse) Status() string

Status returns HTTPResponse.Status

func (ListMonitorsResponse) StatusCode

func (r ListMonitorsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMutingRulesResponse

type ListMutingRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]MutingRule
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListMutingRulesResponse

func ParseListMutingRulesResponse(rsp *http.Response) (*ListMutingRulesResponse, error)

ParseListMutingRulesResponse parses an HTTP response from a ListMutingRulesWithResponse call

func (ListMutingRulesResponse) Status

func (r ListMutingRulesResponse) Status() string

Status returns HTTPResponse.Status

func (ListMutingRulesResponse) StatusCode

func (r ListMutingRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListNamesParams added in v0.2.0

type ListNamesParams struct {
	// EndTimeEpochMs End of the time range in epoch milliseconds
	EndTimeEpochMs int64 `form:"endTimeEpochMs" json:"endTimeEpochMs"`

	// Filters JSON-encoded array of label matchers (e.g. [{"name":"job","value":"api","type":0}]). Match types: 0=EQ, 1=NEQ, 2=RE, 3=NRE.
	Filters *string `form:"filters,omitempty" json:"filters,omitempty"`

	// StartTimeEpochMs Start of the time range in epoch milliseconds
	StartTimeEpochMs int64 `form:"startTimeEpochMs" json:"startTimeEpochMs"`
}

ListNamesParams defines parameters for ListNames.

type ListNamesResponse

type ListNamesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]string
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListNamesResponse

func ParseListNamesResponse(rsp *http.Response) (*ListNamesResponse, error)

ParseListNamesResponse parses an HTTP response from a ListNamesWithResponse call

func (ListNamesResponse) Status

func (r ListNamesResponse) Status() string

Status returns HTTPResponse.Status

func (ListNamesResponse) StatusCode

func (r ListNamesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListNotificationPoliciesResponse

type ListNotificationPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]NotificationPolicy
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListNotificationPoliciesResponse

func ParseListNotificationPoliciesResponse(rsp *http.Response) (*ListNotificationPoliciesResponse, error)

ParseListNotificationPoliciesResponse parses an HTTP response from a ListNotificationPoliciesWithResponse call

func (ListNotificationPoliciesResponse) Status

Status returns HTTPResponse.Status

func (ListNotificationPoliciesResponse) StatusCode

func (r ListNotificationPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListNotifiersResponse

type ListNotifiersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Notifier
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListNotifiersResponse

func ParseListNotifiersResponse(rsp *http.Response) (*ListNotifiersResponse, error)

ParseListNotifiersResponse parses an HTTP response from a ListNotifiersWithResponse call

func (ListNotifiersResponse) Status

func (r ListNotifiersResponse) Status() string

Status returns HTTPResponse.Status

func (ListNotifiersResponse) StatusCode

func (r ListNotifiersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOauthProtectedResourceV1Response added in v0.6.0

type ListOauthProtectedResourceV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OodleApiServerAppsOauthModelsProtectedResourceMetadataResponse
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListOauthProtectedResourceV1Response added in v0.6.0

func ParseListOauthProtectedResourceV1Response(rsp *http.Response) (*ListOauthProtectedResourceV1Response, error)

ParseListOauthProtectedResourceV1Response parses an HTTP response from a ListOauthProtectedResourceV1WithResponse call

func (ListOauthProtectedResourceV1Response) Status added in v0.6.0

Status returns HTTPResponse.Status

func (ListOauthProtectedResourceV1Response) StatusCode added in v0.6.0

StatusCode returns HTTPResponse.StatusCode

type ListPromptVersionsResponse added in v0.14.0

type ListPromptVersionsResponse struct {
	Data *[]PromptResponse `json:"data"`

	// Meta ListMeta is the pagination envelope every llmops list
	// endpoint returns alongside `data`.
	Meta ListMeta `json:"meta"`
}

ListPromptVersionsResponse ListPromptVersionsResponse is the per-name version list.

type ListPromptsResponse added in v0.14.0

type ListPromptsResponse struct {
	Data *[]PromptMetaResponse `json:"data"`

	// Meta ListMeta is the pagination envelope every llmops list
	// endpoint returns alongside `data`.
	Meta ListMeta `json:"meta"`
}

ListPromptsResponse ListPromptsResponse is the prompt list envelope.

type ListRolesOpResponse added in v0.11.0

type ListRolesOpResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListRolesResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON403      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListRolesOpResponse added in v0.11.0

func ParseListRolesOpResponse(rsp *http.Response) (*ListRolesOpResponse, error)

ParseListRolesOpResponse parses an HTTP response from a ListRolesOpWithResponse call

func (ListRolesOpResponse) Status added in v0.11.0

func (r ListRolesOpResponse) Status() string

Status returns HTTPResponse.Status

func (ListRolesOpResponse) StatusCode added in v0.11.0

func (r ListRolesOpResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListRolesResponse added in v0.11.0

type ListRolesResponse struct {
	Roles *[]string `json:"roles"`
}

ListRolesResponse ListRolesResponse is the response for listing available user roles.

type ListScoresResponse added in v0.14.0

type ListScoresResponse struct {
	Data *[]ScoreResponse `json:"data"`

	// Meta ListMeta is the pagination envelope every llmops list
	// endpoint returns alongside `data`.
	Meta ListMeta `json:"meta"`
}

ListScoresResponse ListScoresResponse is the score list envelope.

type ListSyntheticMonitorsOpResponse added in v0.2.0

type ListSyntheticMonitorsOpResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListSyntheticMonitorsResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListSyntheticMonitorsOpResponse added in v0.2.0

func ParseListSyntheticMonitorsOpResponse(rsp *http.Response) (*ListSyntheticMonitorsOpResponse, error)

ParseListSyntheticMonitorsOpResponse parses an HTTP response from a ListSyntheticMonitorsOpWithResponse call

func (ListSyntheticMonitorsOpResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (ListSyntheticMonitorsOpResponse) StatusCode added in v0.2.0

func (r ListSyntheticMonitorsOpResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSyntheticMonitorsResponse

type ListSyntheticMonitorsResponse struct {
	Monitors *[]SyntheticMonitor `json:"monitors"`
	Total    int                 `json:"total"`
}

ListSyntheticMonitorsResponse ListSyntheticMonitorsResponse is the response body for listing synthetic monitors.

type ListTracesParams

type ListTracesParams struct {
	// End End of the time range in epoch microseconds
	End int64 `form:"end" json:"end"`

	// Limit Maximum number of traces to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// MaxDuration Maximum trace duration (e.g. 5s, 10s)
	MaxDuration *string `form:"maxDuration,omitempty" json:"maxDuration,omitempty"`

	// MinDuration Minimum trace duration (e.g. 100ms, 1s)
	MinDuration *string `form:"minDuration,omitempty" json:"minDuration,omitempty"`

	// Operation Filter by operation name
	Operation *string `form:"operation,omitempty" json:"operation,omitempty"`

	// Search Free-text search across trace data
	Search *string `form:"search,omitempty" json:"search,omitempty"`

	// Service Filter by service name
	Service *string `form:"service,omitempty" json:"service,omitempty"`

	// Start Start of the time range in epoch microseconds
	Start int64 `form:"start" json:"start"`

	// Tags JSON-encoded map of tag filters (e.g. {"http.method":"GET"})
	Tags *string `form:"tags,omitempty" json:"tags,omitempty"`
}

ListTracesParams defines parameters for ListTraces.

type ListTracesResponse

type ListTracesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TracesResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListTracesResponse

func ParseListTracesResponse(rsp *http.Response) (*ListTracesResponse, error)

ParseListTracesResponse parses an HTTP response from a ListTracesWithResponse call

func (ListTracesResponse) Status

func (r ListTracesResponse) Status() string

Status returns HTTPResponse.Status

func (ListTracesResponse) StatusCode

func (r ListTracesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListUsersOpParams

type ListUsersOpParams struct {
	// Query Search query to filter users
	Query *string `form:"query,omitempty" json:"query,omitempty"`
}

ListUsersOpParams defines parameters for ListUsersOp.

type ListUsersOpResponse

type ListUsersOpResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListUsersResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON403      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListUsersOpResponse

func ParseListUsersOpResponse(rsp *http.Response) (*ListUsersOpResponse, error)

ParseListUsersOpResponse parses an HTTP response from a ListUsersOpWithResponse call

func (ListUsersOpResponse) Status

func (r ListUsersOpResponse) Status() string

Status returns HTTPResponse.Status

func (ListUsersOpResponse) StatusCode

func (r ListUsersOpResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListUsersResponse

type ListUsersResponse struct {
	Users *[]User `json:"users"`
}

ListUsersResponse ListUsersResponse is the response for listing users.

type LogFilter

type LogFilter struct {
	// All All filters must match (AND). Each item is a LogFilter.
	All *[]map[string]interface{} `json:"all,omitempty"`

	// Any At least one filter must match (OR). Each item is a LogFilter.
	Any   *[]map[string]interface{} `json:"any,omitempty"`
	Match *struct {
		Field    string                 `json:"field"`
		JsonPath *string                `json:"jsonPath,omitempty"`
		Operator LogFilterMatchOperator `json:"operator"`
		Value    *string                `json:"value,omitempty"`
	} `json:"match,omitempty"`

	// Not Nested LogFilter (recursive). Same structure as the parent LogFilter.
	Not *map[string]interface{} `json:"not,omitempty"`
}

LogFilter LogFilter is a union type that can be one of: match (simple field matching), all (all filters must match), any (at least one filter must match), or not (negation of a filter). Filters can be nested recursively.

type LogFilterMatchOperator

type LogFilterMatchOperator string

LogFilterMatchOperator defines model for LogFilter.Match.Operator.

const (
	Contains     LogFilterMatchOperator = "contains"
	Exists       LogFilterMatchOperator = "exists"
	Is           LogFilterMatchOperator = "is"
	MatchesRegex LogFilterMatchOperator = "matches regex"
)

Defines values for LogFilterMatchOperator.

func (LogFilterMatchOperator) Valid

func (e LogFilterMatchOperator) Valid() bool

Valid indicates whether the value is a known member of the LogFilterMatchOperator enum.

type LogMetrics

type LogMetrics struct {
	// Filter LogFilter is a union type that can be one of: match (simple field matching), all (all filters must match), any (at least one filter must match), or not (negation of a filter). Filters can be nested recursively.
	Filter *LogFilter `json:"filter,omitempty"`

	// Id ID is the unique identifier.
	Id *openapi_types.UUID `json:"id,omitempty"`

	// Labels Labels are the labels that will be added to all metrics created
	// by this configuration.
	Labels *[]Label `json:"labels,omitempty"`

	// MetricDefinitions MetricDefinitions defines all the metrics to be created from the logs.
	MetricDefinitions *[]MetricDefinition `json:"metricDefinitions,omitempty"`

	// Name Name is the name of the rule.
	Name *string `json:"name,omitempty"`

	// UpdatedAtEpochMs UpdatedAtEpochMs is the updated at time in milliseconds since epoch.
	UpdatedAtEpochMs *int `json:"updatedAtEpochMs,omitempty"`
}

LogMetrics LogMetrics is a definition to convert logs to metrics.

type LogsQueryResponse added in v0.4.0

type LogsQueryResponse struct {
	Responses *[]LogsSearchResult `json:"responses,omitempty"`

	// Took Total time in milliseconds
	Took *int64 `json:"took,omitempty"`
}

LogsQueryResponse defines model for LogsQueryResponse.

type LogsSearchResult added in v0.4.0

type LogsSearchResult struct {
	// Aggregations Aggregation results, if requested
	Aggregations *map[string]interface{} `json:"aggregations,omitempty"`
	Hits         *struct {
		Hits *[]struct {
			// UnderscoreSource Log document fields
			UnderscoreSource *map[string]interface{} `json:"_source,omitempty"`
			Sort             *[]interface{}          `json:"sort,omitempty"`
		} `json:"hits,omitempty"`
		Total *struct {
			Relation *string `json:"relation,omitempty"`
			Value    *int64  `json:"value,omitempty"`
		} `json:"total,omitempty"`
	} `json:"hits,omitempty"`

	// Status HTTP status code for this search
	Status   *int   `json:"status,omitempty"`
	TimedOut *bool  `json:"timed_out,omitempty"`
	Took     *int64 `json:"took,omitempty"`
}

LogsSearchResult defines model for LogsSearchResult.

type Lookup

type Lookup struct {
	// Fallback LookupFallback specifies a fallback value source when a lookup fails.
	Fallback *LookupFallback `json:"fallback,omitempty"`

	// MatchColumn MatchColumn is the column name in the lookup table to match against.
	MatchColumn *string `json:"matchColumn,omitempty"`

	// TableId TableID is the ID of the lookup table to use.
	TableId *string `json:"tableId,omitempty"`

	// ValueColumn ValueColumn is the column name in the lookup table to get the value from.
	ValueColumn *string `json:"valueColumn,omitempty"`
}

Lookup Lookup specifies how to look up a value in a lookup/enrichment table.

type LookupFallback

type LookupFallback struct {
	// Field Field is the name of the log field to use as the fallback value.
	Field *string `json:"field,omitempty"`
}

LookupFallback LookupFallback specifies a fallback value source when a lookup fails.

type MSTeamsV2Config

type MSTeamsV2Config struct {
	// HttpConfig HTTPClientConfig configures an HTTP client.
	HttpConfig   *HTTPClientConfig `json:"http_config,omitempty"`
	SendResolved bool              `json:"send_resolved"`
	Text         *string           `json:"text,omitempty"`
	Title        *string           `json:"title,omitempty"`
	WebhookUrl   *string           `json:"webhook_url,omitempty"`
}

MSTeamsV2Config defines model for MSTeamsV2Config.

type MatchType

type MatchType int

MatchType Type of label matcher. Values: - 0: Equals (=) - 1: Not equals (!=) - 2: Regular expression match (=~) - 3: Regular expression not match (!~)

const (
	N0 MatchType = 0
	N1 MatchType = 1
	N2 MatchType = 2
	N3 MatchType = 3
)

Defines values for MatchType.

func (MatchType) Valid

func (e MatchType) Valid() bool

Valid indicates whether the value is a known member of the MatchType enum.

type MetricDefinition

type MetricDefinition struct {
	// Field Field is the name of the log field to extract from. Only used when Type is
	// "counter" or "gauge".
	Field *string `json:"field,omitempty"`

	// JsonPath JSONPath is an optional JSON path to extract a numeric value from a JSON field.
	// Only used when Type is "counter" or "gauge". Cannot be used together with Regex.
	JsonPath *string `json:"jsonPath,omitempty"`

	// Name Name is the name of the metric to be created. Must match Prometheus metric naming rules.
	// See https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels
	Name *string `json:"name,omitempty"`

	// Regex Regex is an optional regex pattern to extract a numeric value from the field.
	// Only used when Type is "counter" or "gauge". Cannot be used together with JSONPath.
	Regex *string `json:"regex,omitempty"`

	// Type Type of metric to be created. Values:
	// - 0: Count of logs
	// - 1: Counter metric
	// - 2: Gauge metric
	// - 3: Histogram metric
	Type *MetricType `json:"type,omitempty"`
}

MetricDefinition MetricDefinition represents the definition of a metric to be created.

type MetricLabelMatcher added in v0.2.0

type MetricLabelMatcher struct {
	Name  *string `json:"name,omitempty"`
	Type  *int    `json:"type,omitempty"`
	Value *string `json:"value,omitempty"`
}

MetricLabelMatcher Matcher specifies a rule, which can match or set of labels or not.

type MetricType

type MetricType string

MetricType Type of metric to be created. Values: - 0: Count of logs - 1: Counter metric - 2: Gauge metric - 3: Histogram metric

const (
	Counter   MetricType = "counter"
	Gauge     MetricType = "gauge"
	Histogram MetricType = "histogram"
	LogCount  MetricType = "log_count"
)

Defines values for MetricType.

func (MetricType) Valid

func (e MetricType) Valid() bool

Valid indicates whether the value is a known member of the MetricType enum.

type Monitor

type Monitor struct {
	// Annotations Annotations are the annotations for the monitor.
	Annotations *map[string]string `json:"annotations,omitempty"`

	// Conditions ConditionBySeverity represents a condition for each severity level.
	Conditions *ConditionBySeverity `json:"conditions,omitempty"`

	// GroupInterval GroupInterval is the interval at which to send alerts for the same group of alerts after the first alert.
	GroupInterval *string `json:"group_interval,omitempty"`

	// GroupWait GroupWait is the time to wait before sending the first alert for a group of alerts.
	GroupWait *string `json:"group_wait,omitempty"`

	// Grouping Grouping is a model for grouping alerts.
	Grouping *Grouping           `json:"grouping,omitempty"`
	Id       *openapi_types.UUID `json:"id,omitempty"`

	// Interval Interval is the interval at which the monitor should be evaluated.
	Interval *string `json:"interval,omitempty"`

	// LabelMatcherNotificationPolicies Deprecated: LabelMatcherNotificationPolicies is the list of label matcher notification policies for the monitor.
	// These policies are evaluated in order, and the first matching policy is used.
	// If no policy matches, the default NotificationPolicyID is used if set.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	LabelMatcherNotificationPolicies *[]LabelMatcherNotifications `json:"label_matcher_notification_policies,omitempty"`

	// Labels Labels are the labels for the monitor.
	Labels *map[string]string `json:"labels,omitempty"`

	// Name Name is the name of the monitor.
	Name string `json:"name"`

	// NotificationPolicyId Deprecated: NotificationPolicyID is the ID of the notification policy associated with the monitor.
	// It is an optional field.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	NotificationPolicyId *openapi_types.UUID `json:"notification_policy_id,omitempty"`

	// Notifications Notifications is the list of notifications for the monitor.
	// These notifications are evaluated in order, and the first matching notification is used.
	Notifications *[]LabelMatcherNotifications `json:"notifications,omitempty"`

	// PromqlQuery PromQLQuery is the Prometheus query for the monitor.
	PromqlQuery string `json:"promql_query"`

	// RepeatInterval RepeatInterval is the interval at which to send alerts for the same alert after firing.
	// RepeatInterval should be a multiple of GroupInterval
	RepeatInterval *string `json:"repeat_interval,omitempty"`

	// UpdatedAtEpochMs UpdatedAtEpochMs is the updated at time in milliseconds since epoch.
	UpdatedAtEpochMs *int `json:"updated_at_epoch_ms,omitempty"`
}

Monitor Monitor is a model for a monitor.

type MonitorState

type MonitorState struct {
	EvaluationTime float32                   `json:"evaluation_time"`
	Health         string                    `json:"health"`
	History        *[]MonitorTriggerInstance `json:"history"`
	Id             openapi_types.UUID        `json:"id"`
	LastEvaluation time.Time                 `json:"last_evaluation"`
}

MonitorState MonitorState represents the state of a monitor.

type MonitorTrigger

type MonitorTrigger struct {
	EndsAt    time.Time          `json:"endsAt"`
	Labels    *map[string]string `json:"labels"`
	MonitorID string             `json:"monitorID"`
	Severity  string             `json:"severity"`
	StartsAt  time.Time          `json:"startsAt"`
	UpdatedAt time.Time          `json:"updatedAt"`
}

MonitorTrigger MonitorTrigger represents a monitor that triggers an alert.

JSON field names use camelCase (monitorID, startsAt, endsAt, updatedAt) for historical reasons - most other Oodle API schemas use snake_case. The camelCase casing is preserved here to avoid breaking existing HTTP clients that depend on the current field names. New schemas should use snake_case.

type MonitorTriggerInstance

type MonitorTriggerInstance struct {
	// FiringInstanceLastActiveTime Used to track the last active time for a firing instance
	FiringInstanceLastActiveTime *time.Time `json:"FiringInstanceLastActiveTime,omitempty"`
	EndsAt                       *time.Time `json:"ends_at,omitempty"`
	MonitorId                    string     `json:"monitor_id"`
	Severity                     string     `json:"severity"`
	StartsAt                     time.Time  `json:"starts_at"`
}

MonitorTriggerInstance MonitorTriggerInstance is an instance of a firing monitor.

type MutingRule

type MutingRule struct {
	// Comment Optional: Comment can be used to additional note along with the muting rule.
	Comment *string `json:"comment,omitempty"`

	// CreatedAt CreatedAt is the creation timestamp for the muting rules. May be empty.
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// CreatedBy Optional: CreatedBy is the user who created the muting rule.
	CreatedBy *string `json:"createdBy,omitempty"`

	// EndsAt Optional: EndsAt is the end time when muting ends. If not specified, then muting is effective forever. Only for one-off rules.
	EndsAt *time.Time `json:"endsAt,omitempty"`
	Id     string     `json:"id"`

	// Matchers Matchers is the list of matchers that determine when this rule applies.
	// An alert instance is muted if it matches all the matchers.
	Matchers *[]LabelMatcher `json:"matchers"`

	// Name Optional: Name is a human-readable name for the muting rule.
	Name *string `json:"name,omitempty"`

	// ScheduleIds Optional: ScheduleIDs is a list of schedule UUIDs. When non-empty, the rule is recurring
	// and mutually exclusive with StartsAt/EndsAt. The alert is muted during ANY of the referenced schedules.
	ScheduleIds *[]string `json:"scheduleIds,omitempty"`

	// Schedules Schedules is populated on read with the full schedule objects for each ScheduleID.
	Schedules *[]Schedule `json:"schedules,omitempty"`

	// StartsAt Optional: StartsAt is the start time when muting starts. Defaults to current time. Only for one-off rules.
	StartsAt *time.Time `json:"startsAt,omitempty"`

	// UpdatedAt UpdatedAt is the timestamp of the last update of the muting rule.
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

MutingRule MutingRule allows to mute notifications. When ScheduleIDs is non-empty, this is a recurring muting rule. When ScheduleIDs is empty, this is a one-off muting rule.

type NetUrlUserinfo added in v0.2.0

type NetUrlUserinfo = map[string]interface{}

NetUrlUserinfo The Userinfo type is an immutable encapsulation of username and password details for a URL. An existing Userinfo value is guaranteed to have a username set (potentially empty, as allowed by RFC 2396), and optionally a password.

type NotificationPolicy

type NotificationPolicy struct {
	// Global Global policy is applied to all monitors in addition to any monitor specific policies.
	Global     *bool               `json:"global,omitempty"`
	Id         *openapi_types.UUID `json:"id,omitempty"`
	MuteGlobal *bool               `json:"mute_global,omitempty"`

	// MuteNonGlobal MuteNonGlobal is used to disable all non-global policies. It can only be set for a Global
	// notification policy. Global policy would still be effective when MuteNonGlobal is true.
	MuteNonGlobal *bool   `json:"mute_non_global,omitempty"`
	Name          *string `json:"name,omitempty"`

	// Notifiers NotifiersByCondition represents notifiers for each severity level.
	Notifiers *NotifiersByCondition `json:"notifiers,omitempty"`

	// UpdatedAtEpochMs UpdatedAtEpochMs is the updated at time in milliseconds since epoch.
	UpdatedAtEpochMs *int `json:"updated_at_epoch_ms,omitempty"`
}

NotificationPolicy NotificationPolicy represents a policy for sending notifications based on severity. A notification policy is associated with a monitor.

type Notifier

type Notifier struct {
	// EmailConfig EmailConfig configures notifications via mail.
	EmailConfig *EmailConfig `json:"email_config,omitempty"`

	// GooglechatConfig GoogleChatConfig configures notifications via Google Chat.
	GooglechatConfig *GoogleChatConfig   `json:"googlechat_config,omitempty"`
	Id               *openapi_types.UUID `json:"id,omitempty"`
	Msteamsv2Config  *MSTeamsV2Config    `json:"msteamsv2_config,omitempty"`
	Name             *string             `json:"name,omitempty"`

	// OpsgenieConfig OpsGenieConfig configures notifications via OpsGenie.
	OpsgenieConfig *OpsGenieConfig `json:"opsgenie_config,omitempty"`

	// PagerdutyConfig PagerdutyConfig configures notifications via PagerDuty.
	PagerdutyConfig *PagerdutyConfig `json:"pagerduty_config,omitempty"`

	// RootlyConfig WebhookConfig configures notifications via a generic webhook.
	RootlyConfig *WebhookConfig `json:"rootly_config,omitempty"`

	// SlackConfig SlackConfig configures notifications via Slack.
	SlackConfig *SlackConfig `json:"slack_config,omitempty"`
	Type        int          `json:"type"`

	// UpdatedAtEpochMs UpdatedAtEpochMs is the updated at time in milliseconds since epoch.
	UpdatedAtEpochMs *int `json:"updated_at_epoch_ms,omitempty"`

	// WebhookConfig WebhookConfig configures notifications via a generic webhook.
	WebhookConfig *WebhookConfig `json:"webhook_config,omitempty"`
}

Notifier Notifier represents a single notification target.

type NotifiersByCondition

type NotifiersByCondition struct {
	Any      *[]openapi_types.UUID `json:"any,omitempty"`
	Critical *[]openapi_types.UUID `json:"critical,omitempty"`
	NoData   *[]openapi_types.UUID `json:"no_data,omitempty"`
	Warn     *[]openapi_types.UUID `json:"warn,omitempty"`
}

NotifiersByCondition NotifiersByCondition represents notifiers for each severity level.

type OAuth2

type OAuth2 struct {
	// TLSConfig TLSConfig configures the options for TLS connections.
	TLSConfig        *TLSConfig `json:"TLSConfig,omitempty"`
	ClientId         string     `json:"client_id"`
	ClientSecret     *string    `json:"client_secret,omitempty"`
	ClientSecretFile *string    `json:"client_secret_file,omitempty"`

	// ClientSecretRef ClientSecretRef is the name of the secret within the secret manager to use as the client
	// secret.
	ClientSecretRef *string            `json:"client_secret_ref,omitempty"`
	EndpointParams  *map[string]string `json:"endpoint_params,omitempty"`

	// NoProxy NoProxy contains addresses that should not use a proxy.
	NoProxy *string `json:"no_proxy,omitempty"`

	// ProxyConnectHeader ProxyConnectHeader optionally specifies headers to send to
	// proxies during CONNECT requests. Assume that at least _some_ of
	// these headers are going to contain secrets and use Secret as the
	// value type instead of string.
	ProxyConnectHeader *map[string]*[]string `json:"proxy_connect_header,omitempty"`

	// ProxyFromEnvironment ProxyFromEnvironment makes use of net/http ProxyFromEnvironment function
	// to determine proxies.
	ProxyFromEnvironment *bool     `json:"proxy_from_environment,omitempty"`
	Scopes               *[]string `json:"scopes,omitempty"`
	TokenUrl             string    `json:"token_url"`
}

OAuth2 OAuth2 is the oauth2 client configuration.

type OodleApiServerAppsOauthModelsProtectedResourceMetadataResponse added in v0.6.0

type OodleApiServerAppsOauthModelsProtectedResourceMetadataResponse struct {
	AuthorizationServers   *[]string `json:"authorization_servers"`
	BearerMethodsSupported *[]string `json:"bearer_methods_supported,omitempty"`
	Resource               string    `json:"resource"`
	ScopesSupported        *[]string `json:"scopes_supported,omitempty"`
}

OodleApiServerAppsOauthModelsProtectedResourceMetadataResponse ProtectedResourceMetadataResponse follows the OAuth protected resource metadata response shape used at well-known discovery endpoints.

type OodleUtilHttputilsModelsError

type OodleUtilHttputilsModelsError struct {
	Cause        *string `json:"cause,omitempty"`
	Code         *string `json:"code,omitempty"`
	Message      *string `json:"message,omitempty"`
	OodleTraceId *string `json:"oodleTraceId,omitempty"`
	Remedy       *string `json:"remedy,omitempty"`
}

OodleUtilHttputilsModelsError defines model for oodle_util_httputils_models_Error.

type OodleUtilHttputilsModelsErrors

type OodleUtilHttputilsModelsErrors struct {
	Errors *[]OodleUtilHttputilsModelsError `json:"errors,omitempty"`
}

OodleUtilHttputilsModelsErrors defines model for oodle_util_httputils_models_Errors.

type OpsGenieConfig

type OpsGenieConfig struct {
	Actions *string `json:"actions,omitempty"`
	ApiKey  *string `json:"api_key,omitempty"`

	// ApiUrl URL is a custom URL type that allows validation at configuration load time.
	ApiUrl      *URL               `json:"api_url,omitempty"`
	Description *string            `json:"description,omitempty"`
	Details     *map[string]string `json:"details,omitempty"`
	Entity      *string            `json:"entity,omitempty"`

	// HttpConfig HTTPClientConfig configures an HTTP client.
	HttpConfig   *HTTPClientConfig          `json:"http_config,omitempty"`
	Message      *string                    `json:"message,omitempty"`
	Note         *string                    `json:"note,omitempty"`
	Priority     *string                    `json:"priority,omitempty"`
	Responders   *[]OpsGenieConfigResponder `json:"responders,omitempty"`
	SendResolved bool                       `json:"send_resolved"`
	Source       *string                    `json:"source,omitempty"`
	Tags         *string                    `json:"tags,omitempty"`
	UpdateAlerts *bool                      `json:"update_alerts,omitempty"`
}

OpsGenieConfig OpsGenieConfig configures notifications via OpsGenie.

type OpsGenieConfigResponder

type OpsGenieConfigResponder struct {
	// Id One of those 3 should be filled.
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`

	// Type team, user, escalation, schedule etc.
	Type     *string `json:"type,omitempty"`
	Username *string `json:"username,omitempty"`
}

OpsGenieConfigResponder defines model for OpsGenieConfigResponder.

type PagerdutyConfig

type PagerdutyConfig struct {
	Class       *string            `json:"class,omitempty"`
	Client      *string            `json:"client,omitempty"`
	ClientUrl   *string            `json:"client_url,omitempty"`
	Component   *string            `json:"component,omitempty"`
	Description *string            `json:"description,omitempty"`
	Details     *map[string]string `json:"details,omitempty"`
	Group       *string            `json:"group,omitempty"`

	// HttpConfig HTTPClientConfig configures an HTTP client.
	HttpConfig     *HTTPClientConfig `json:"http_config,omitempty"`
	Images         *[]PagerdutyImage `json:"images,omitempty"`
	Links          *[]PagerdutyLink  `json:"links,omitempty"`
	RoutingKey     *string           `json:"routing_key,omitempty"`
	RoutingKeyFile *string           `json:"routing_key_file,omitempty"`
	SendResolved   bool              `json:"send_resolved"`
	ServiceKey     *string           `json:"service_key,omitempty"`
	Severity       *string           `json:"severity,omitempty"`
	Source         *string           `json:"source,omitempty"`

	// Url URL is a custom URL type that allows validation at configuration load time.
	Url *URL `json:"url,omitempty"`
}

PagerdutyConfig PagerdutyConfig configures notifications via PagerDuty.

type PagerdutyImage

type PagerdutyImage struct {
	Alt  *string `json:"alt,omitempty"`
	Href *string `json:"href,omitempty"`
	Src  *string `json:"src,omitempty"`
}

PagerdutyImage PagerdutyImage is an image.

type PagerdutyLink struct {
	Href *string `json:"href,omitempty"`
	Text *string `json:"text,omitempty"`
}

PagerdutyLink PagerdutyLink is a link.

type PatchApiKeysByIdJSONRequestBody added in v0.11.0

type PatchApiKeysByIdJSONRequestBody = UpdateApiKeyRequest

PatchApiKeysByIdJSONRequestBody defines body for PatchApiKeysById for application/json ContentType.

type PatchApiKeysByIdResponse added in v0.11.0

type PatchApiKeysByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ApiKey
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParsePatchApiKeysByIdResponse added in v0.11.0

func ParsePatchApiKeysByIdResponse(rsp *http.Response) (*PatchApiKeysByIdResponse, error)

ParsePatchApiKeysByIdResponse parses an HTTP response from a PatchApiKeysByIdWithResponse call

func (PatchApiKeysByIdResponse) Status added in v0.11.0

func (r PatchApiKeysByIdResponse) Status() string

Status returns HTTPResponse.Status

func (PatchApiKeysByIdResponse) StatusCode added in v0.11.0

func (r PatchApiKeysByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchIntegration added in v0.11.0

type PatchIntegration struct {
	Status           *string                            `json:"status,omitempty"`
	Type             *string                            `json:"type,omitempty"`
	TypeSpecificData *PatchIntegration_TypeSpecificData `json:"typeSpecificData,omitempty"`
}

PatchIntegration defines model for PatchIntegration.

type PatchIntegrationTypeSpecificData2 added in v0.14.0

type PatchIntegrationTypeSpecificData2 map[string]interface{}

PatchIntegrationTypeSpecificData2 Type-specific config for integration variants not yet typed in this spec (Grafana, GCP, CloudWatch dashboard, S3 log pull). Shape depends on the parent `type` field; consult the backend models for the variant in use.

type PatchIntegration_TypeSpecificData added in v0.11.0

type PatchIntegration_TypeSpecificData struct {
	// contains filtered or unexported fields
}

PatchIntegration_TypeSpecificData defines model for PatchIntegration.TypeSpecificData.

func (PatchIntegration_TypeSpecificData) AsCloudWatchMetricPullIntegrationWrapper added in v0.11.0

func (t PatchIntegration_TypeSpecificData) AsCloudWatchMetricPullIntegrationWrapper() (CloudWatchMetricPullIntegrationWrapper, error)

AsCloudWatchMetricPullIntegrationWrapper returns the union data inside the PatchIntegration_TypeSpecificData as a CloudWatchMetricPullIntegrationWrapper

func (PatchIntegration_TypeSpecificData) AsConfluentCloudIntegrationWrapper added in v0.14.0

func (t PatchIntegration_TypeSpecificData) AsConfluentCloudIntegrationWrapper() (ConfluentCloudIntegrationWrapper, error)

AsConfluentCloudIntegrationWrapper returns the union data inside the PatchIntegration_TypeSpecificData as a ConfluentCloudIntegrationWrapper

func (PatchIntegration_TypeSpecificData) AsPatchIntegrationTypeSpecificData2 added in v0.14.0

func (t PatchIntegration_TypeSpecificData) AsPatchIntegrationTypeSpecificData2() (PatchIntegrationTypeSpecificData2, error)

AsPatchIntegrationTypeSpecificData2 returns the union data inside the PatchIntegration_TypeSpecificData as a PatchIntegrationTypeSpecificData2

func (*PatchIntegration_TypeSpecificData) FromCloudWatchMetricPullIntegrationWrapper added in v0.11.0

func (t *PatchIntegration_TypeSpecificData) FromCloudWatchMetricPullIntegrationWrapper(v CloudWatchMetricPullIntegrationWrapper) error

FromCloudWatchMetricPullIntegrationWrapper overwrites any union data inside the PatchIntegration_TypeSpecificData as the provided CloudWatchMetricPullIntegrationWrapper

func (*PatchIntegration_TypeSpecificData) FromConfluentCloudIntegrationWrapper added in v0.14.0

func (t *PatchIntegration_TypeSpecificData) FromConfluentCloudIntegrationWrapper(v ConfluentCloudIntegrationWrapper) error

FromConfluentCloudIntegrationWrapper overwrites any union data inside the PatchIntegration_TypeSpecificData as the provided ConfluentCloudIntegrationWrapper

func (*PatchIntegration_TypeSpecificData) FromPatchIntegrationTypeSpecificData2 added in v0.14.0

func (t *PatchIntegration_TypeSpecificData) FromPatchIntegrationTypeSpecificData2(v PatchIntegrationTypeSpecificData2) error

FromPatchIntegrationTypeSpecificData2 overwrites any union data inside the PatchIntegration_TypeSpecificData as the provided PatchIntegrationTypeSpecificData2

func (PatchIntegration_TypeSpecificData) MarshalJSON added in v0.11.0

func (t PatchIntegration_TypeSpecificData) MarshalJSON() ([]byte, error)

func (*PatchIntegration_TypeSpecificData) MergeCloudWatchMetricPullIntegrationWrapper added in v0.11.0

func (t *PatchIntegration_TypeSpecificData) MergeCloudWatchMetricPullIntegrationWrapper(v CloudWatchMetricPullIntegrationWrapper) error

MergeCloudWatchMetricPullIntegrationWrapper performs a merge with any union data inside the PatchIntegration_TypeSpecificData, using the provided CloudWatchMetricPullIntegrationWrapper

func (*PatchIntegration_TypeSpecificData) MergeConfluentCloudIntegrationWrapper added in v0.14.0

func (t *PatchIntegration_TypeSpecificData) MergeConfluentCloudIntegrationWrapper(v ConfluentCloudIntegrationWrapper) error

MergeConfluentCloudIntegrationWrapper performs a merge with any union data inside the PatchIntegration_TypeSpecificData, using the provided ConfluentCloudIntegrationWrapper

func (*PatchIntegration_TypeSpecificData) MergePatchIntegrationTypeSpecificData2 added in v0.14.0

func (t *PatchIntegration_TypeSpecificData) MergePatchIntegrationTypeSpecificData2(v PatchIntegrationTypeSpecificData2) error

MergePatchIntegrationTypeSpecificData2 performs a merge with any union data inside the PatchIntegration_TypeSpecificData, using the provided PatchIntegrationTypeSpecificData2

func (*PatchIntegration_TypeSpecificData) UnmarshalJSON added in v0.11.0

func (t *PatchIntegration_TypeSpecificData) UnmarshalJSON(b []byte) error

type PatchIntegrationsByIdJSONRequestBody added in v0.11.0

type PatchIntegrationsByIdJSONRequestBody = PatchIntegration

PatchIntegrationsByIdJSONRequestBody defines body for PatchIntegrationsById for application/json ContentType.

type PatchIntegrationsByIdResponse added in v0.11.0

type PatchIntegrationsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Integration
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParsePatchIntegrationsByIdResponse added in v0.11.0

func ParsePatchIntegrationsByIdResponse(rsp *http.Response) (*PatchIntegrationsByIdResponse, error)

ParsePatchIntegrationsByIdResponse parses an HTTP response from a PatchIntegrationsByIdWithResponse call

func (PatchIntegrationsByIdResponse) Status added in v0.11.0

Status returns HTTPResponse.Status

func (PatchIntegrationsByIdResponse) StatusCode added in v0.11.0

func (r PatchIntegrationsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchUsersJSONRequestBody added in v0.11.0

type PatchUsersJSONRequestBody = UpdateUserRequest

PatchUsersJSONRequestBody defines body for PatchUsers for application/json ContentType.

type PatchUsersResponse added in v0.11.0

type PatchUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON403      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParsePatchUsersResponse added in v0.11.0

func ParsePatchUsersResponse(rsp *http.Response) (*PatchUsersResponse, error)

ParsePatchUsersResponse parses an HTTP response from a PatchUsersWithResponse call

func (PatchUsersResponse) Status added in v0.11.0

func (r PatchUsersResponse) Status() string

Status returns HTTPResponse.Status

func (PatchUsersResponse) StatusCode added in v0.11.0

func (r PatchUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PrometheusQueryResponse added in v0.4.0

type PrometheusQueryResponse struct {
	Data *struct {
		Result     *[]map[string]interface{}              `json:"result,omitempty"`
		ResultType *PrometheusQueryResponseDataResultType `json:"resultType,omitempty"`
	} `json:"data,omitempty"`
	Error     *string                       `json:"error,omitempty"`
	ErrorType *string                       `json:"errorType,omitempty"`
	Status    PrometheusQueryResponseStatus `json:"status"`
	Warnings  *[]string                     `json:"warnings,omitempty"`
}

PrometheusQueryResponse defines model for PrometheusQueryResponse.

type PrometheusQueryResponseDataResultType added in v0.4.0

type PrometheusQueryResponseDataResultType string

PrometheusQueryResponseDataResultType defines model for PrometheusQueryResponse.Data.ResultType.

Defines values for PrometheusQueryResponseDataResultType.

func (PrometheusQueryResponseDataResultType) Valid added in v0.4.0

Valid indicates whether the value is a known member of the PrometheusQueryResponseDataResultType enum.

type PrometheusQueryResponseStatus added in v0.4.0

type PrometheusQueryResponseStatus string

PrometheusQueryResponseStatus defines model for PrometheusQueryResponse.Status.

const (
	Error   PrometheusQueryResponseStatus = "error"
	Success PrometheusQueryResponseStatus = "success"
)

Defines values for PrometheusQueryResponseStatus.

func (PrometheusQueryResponseStatus) Valid added in v0.4.0

Valid indicates whether the value is a known member of the PrometheusQueryResponseStatus enum.

type PromptMetaResponse added in v0.14.0

type PromptMetaResponse struct {
	Labels        *[]string   `json:"labels"`
	LastConfig    interface{} `json:"lastConfig"`
	LastUpdatedAt string      `json:"lastUpdatedAt"`
	Name          string      `json:"name"`
	Tags          *[]string   `json:"tags"`
	Type          string      `json:"type"`
	Versions      *[]int      `json:"versions"`
}

PromptMetaResponse PromptMetaResponse is the per-name rollup returned by the prompt list endpoint — one entry per prompt name, not per version.

type PromptResponse added in v0.14.0

type PromptResponse struct {
	CommitMessage *string     `json:"commitMessage,omitempty"`
	Config        interface{} `json:"config,omitempty"`
	CreatedAt     *string     `json:"createdAt,omitempty"`
	Id            string      `json:"id"`
	IsActive      *bool       `json:"isActive,omitempty"`
	Labels        *[]string   `json:"labels,omitempty"`
	Name          string      `json:"name"`
	Prompt        interface{} `json:"prompt,omitempty"`

	// ResolutionGraph ResolutionGraph maps a prompt name to the prompts it
	// pulled in, and is only set when `resolve` was not
	// disabled and the prompt has dependency tags.
	ResolutionGraph *map[string]*[]string `json:"resolutionGraph,omitempty"`
	Tags            *[]string             `json:"tags,omitempty"`
	Type            string                `json:"type"`
	UpdatedAt       *string               `json:"updatedAt,omitempty"`
	Version         int                   `json:"version"`
}

PromptResponse PromptResponse is a single prompt version.

type QueryLogsParams added in v0.4.0

type QueryLogsParams struct {
	// XOODLEINSTANCE Oodle instance ID. See [Finding your Instance ID](/api#finding-your-instance-id) in the API overview.
	XOODLEINSTANCE string `json:"X-OODLE-INSTANCE"`
}

QueryLogsParams defines parameters for QueryLogs.

type QueryLogsResponse added in v0.4.0

type QueryLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LogsQueryResponse
}

func ParseQueryLogsResponse added in v0.4.0

func ParseQueryLogsResponse(rsp *http.Response) (*QueryLogsResponse, error)

ParseQueryLogsResponse parses an HTTP response from a QueryLogsWithResponse call

func (QueryLogsResponse) Status added in v0.4.0

func (r QueryLogsResponse) Status() string

Status returns HTTPResponse.Status

func (QueryLogsResponse) StatusCode added in v0.4.0

func (r QueryLogsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type QueryMetricsInstantParams added in v0.4.0

type QueryMetricsInstantParams struct {
	// Query PromQL expression (e.g. sum(up))
	Query string `form:"query" json:"query"`

	// Time Evaluation timestamp in Unix seconds. Defaults to current time.
	Time *float64 `form:"time,omitempty" json:"time,omitempty"`

	// OODLEINSTANCE Oodle instance ID. See [Finding your Instance ID](/api#finding-your-instance-id) in the API overview.
	OODLEINSTANCE string `json:"OODLE-INSTANCE"`
}

QueryMetricsInstantParams defines parameters for QueryMetricsInstant.

type QueryMetricsInstantResponse added in v0.4.0

type QueryMetricsInstantResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PrometheusQueryResponse
	JSON400      *PrometheusQueryResponse
}

func ParseQueryMetricsInstantResponse added in v0.4.0

func ParseQueryMetricsInstantResponse(rsp *http.Response) (*QueryMetricsInstantResponse, error)

ParseQueryMetricsInstantResponse parses an HTTP response from a QueryMetricsInstantWithResponse call

func (QueryMetricsInstantResponse) Status added in v0.4.0

Status returns HTTPResponse.Status

func (QueryMetricsInstantResponse) StatusCode added in v0.4.0

func (r QueryMetricsInstantResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type QueryMetricsRangeParams added in v0.4.0

type QueryMetricsRangeParams struct {
	// Query PromQL expression (e.g. sum(up))
	Query string `form:"query" json:"query"`

	// Start Start timestamp in Unix seconds
	Start float64 `form:"start" json:"start"`

	// End End timestamp in Unix seconds
	End float64 `form:"end" json:"end"`

	// Step Query resolution step width as a duration string (e.g. 60s, 5m) or number of seconds
	Step string `form:"step" json:"step"`

	// PartialResponse When true, return partial data if some stores are unavailable
	PartialResponse *bool `form:"partial_response,omitempty" json:"partial_response,omitempty"`

	// OODLEINSTANCE Oodle instance ID. See [Finding your Instance ID](/api#finding-your-instance-id) in the API overview.
	OODLEINSTANCE string `json:"OODLE-INSTANCE"`
}

QueryMetricsRangeParams defines parameters for QueryMetricsRange.

type QueryMetricsRangeResponse added in v0.4.0

type QueryMetricsRangeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PrometheusQueryResponse
	JSON400      *PrometheusQueryResponse
}

func ParseQueryMetricsRangeResponse added in v0.4.0

func ParseQueryMetricsRangeResponse(rsp *http.Response) (*QueryMetricsRangeResponse, error)

ParseQueryMetricsRangeResponse parses an HTTP response from a QueryMetricsRangeWithResponse call

func (QueryMetricsRangeResponse) Status added in v0.4.0

func (r QueryMetricsRangeResponse) Status() string

Status returns HTTPResponse.Status

func (QueryMetricsRangeResponse) StatusCode added in v0.4.0

func (r QueryMetricsRangeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type SaveDashboardRequest

type SaveDashboardRequest struct {
	// Dashboard Grafana-compatible dashboard JSON
	Dashboard map[string]interface{} `json:"dashboard"`
	FolderUid *string                `json:"folderUid,omitempty"`
	Message   *string                `json:"message,omitempty"`
	Overwrite *bool                  `json:"overwrite,omitempty"`
}

SaveDashboardRequest defines model for SaveDashboardRequest.

type SaveDashboardResponse

type SaveDashboardResponse struct {
	Id      int    `json:"id"`
	Slug    string `json:"slug"`
	Status  string `json:"status"`
	Uid     string `json:"uid"`
	Url     string `json:"url"`
	Version int    `json:"version"`
}

SaveDashboardResponse SaveDashboardResponse represents a response from saving a dashboard

type Schedule

type Schedule struct {
	CreatedAt     time.Time               `json:"created_at"`
	CreatedBy     *string                 `json:"created_by,omitempty"`
	Id            string                  `json:"id"`
	Name          string                  `json:"name"`
	TimeIntervals *[]ScheduleTimeInterval `json:"time_intervals"`
	UpdatedAt     time.Time               `json:"updated_at"`
}

Schedule Schedule represents a named recurring mute timing.

type ScheduleTimeInterval

type ScheduleTimeInterval struct {
	DaysOfMonth *[]string            `json:"days_of_month,omitempty"`
	Location    *string              `json:"location,omitempty"`
	Months      *[]string            `json:"months,omitempty"`
	Times       *[]ScheduleTimeRange `json:"times,omitempty"`
	Weekdays    *[]string            `json:"weekdays,omitempty"`
	Years       *[]string            `json:"years,omitempty"`
}

ScheduleTimeInterval ScheduleTimeInterval defines a recurring time window for muting. YAML tags match Alertmanager's timeinterval.TimeInterval so the struct can be directly marshalled for AM config.

type ScheduleTimeRange

type ScheduleTimeRange struct {
	EndTime   string `json:"end_time"`
	StartTime string `json:"start_time"`
}

ScheduleTimeRange ScheduleTimeRange represents a time-of-day range in HH:MM format.

type Score added in v0.14.0

type Score struct {
	Comment       *string  `json:"comment,omitempty"`
	ConfigId      *string  `json:"configId,omitempty"`
	CreatedAt     string   `json:"createdAt"`
	DataType      string   `json:"dataType"`
	Environment   *string  `json:"environment,omitempty"`
	Id            string   `json:"id"`
	InputTokens   *int     `json:"inputTokens,omitempty"`
	Model         *string  `json:"model,omitempty"`
	Name          string   `json:"name"`
	ObservationId *string  `json:"observationId,omitempty"`
	OutputTokens  *int     `json:"outputTokens,omitempty"`
	Source        string   `json:"source"`
	StringValue   *string  `json:"stringValue,omitempty"`
	TraceId       string   `json:"traceId"`
	UpdatedAt     string   `json:"updatedAt"`
	Value         *float32 `json:"value,omitempty"`
}

Score defines model for Score.

type ScoreResponse added in v0.14.0

type ScoreResponse struct {
	Comment       *string `json:"comment,omitempty"`
	ConfigId      *string `json:"configId,omitempty"`
	CreatedAt     *string `json:"createdAt,omitempty"`
	DataType      string  `json:"dataType"`
	Environment   *string `json:"environment,omitempty"`
	ErrorClass    *string `json:"errorClass,omitempty"`
	ErrorMessage  *string `json:"errorMessage,omitempty"`
	ErrorType     *string `json:"errorType,omitempty"`
	EvaluatorName *string `json:"evaluatorName,omitempty"`
	Id            string  `json:"id"`
	InputTokens   *int    `json:"inputTokens,omitempty"`
	Model         *string `json:"model,omitempty"`
	Name          string  `json:"name"`
	ObservationId *string `json:"observationId,omitempty"`
	OutputTokens  *int    `json:"outputTokens,omitempty"`
	Permanent     *bool   `json:"permanent,omitempty"`
	Source        string  `json:"source"`

	// Status Failure fields. Status is "error" on a run that
	// produced no score and empty otherwise, so callers
	// that predate this can keep ignoring all of it.
	Status      *string  `json:"status,omitempty"`
	StringValue *string  `json:"stringValue,omitempty"`
	TraceId     string   `json:"traceId"`
	UpdatedAt   *string  `json:"updatedAt,omitempty"`
	Value       *float32 `json:"value,omitempty"`
}

ScoreResponse ScoreResponse is one recorded score.

type SendInvitationRequest

type SendInvitationRequest struct {
	Email       string    `json:"email"`
	Roles       *[]string `json:"roles"`
	SenderEmail string    `json:"sender_email"`
}

SendInvitationRequest SendInvitationRequest is the request body for sending a single organization invitation.

type SetGenaiDatasetScheduleJSONRequestBody added in v0.15.0

type SetGenaiDatasetScheduleJSONRequestBody = UpsertDatasetScheduleRequest

SetGenaiDatasetScheduleJSONRequestBody defines body for SetGenaiDatasetSchedule for application/json ContentType.

type SetGenaiDatasetScheduleResponse added in v0.15.0

type SetGenaiDatasetScheduleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DatasetScheduleResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseSetGenaiDatasetScheduleResponse added in v0.15.0

func ParseSetGenaiDatasetScheduleResponse(rsp *http.Response) (*SetGenaiDatasetScheduleResponse, error)

ParseSetGenaiDatasetScheduleResponse parses an HTTP response from a SetGenaiDatasetScheduleWithResponse call

func (SetGenaiDatasetScheduleResponse) Status added in v0.15.0

Status returns HTTPResponse.Status

func (SetGenaiDatasetScheduleResponse) StatusCode added in v0.15.0

func (r SetGenaiDatasetScheduleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SlackAction

type SlackAction struct {
	// Confirm SlackConfirmationField protect users from destructive actions or particularly distinguished decisions
	// by asking them to confirm their button click one more time.
	// See https://api.slack.com/docs/interactive-message-field-guide#confirmation_fields for more information.
	Confirm *SlackConfirmationField `json:"confirm,omitempty"`
	Name    *string                 `json:"name,omitempty"`
	Style   *string                 `json:"style,omitempty"`
	Text    *string                 `json:"text,omitempty"`
	Type    *string                 `json:"type,omitempty"`
	Url     *string                 `json:"url,omitempty"`
	Value   *string                 `json:"value,omitempty"`
}

SlackAction SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.

type SlackConfig

type SlackConfig struct {
	Actions    *[]SlackAction `json:"actions,omitempty"`
	ApiUrl     *string        `json:"api_url,omitempty"`
	CallbackId *string        `json:"callback_id,omitempty"`

	// Channel Slack channel override, (like #other-channel or @username).
	Channel  *string       `json:"channel,omitempty"`
	Color    *string       `json:"color,omitempty"`
	Fallback *string       `json:"fallback,omitempty"`
	Fields   *[]SlackField `json:"fields,omitempty"`
	Footer   *string       `json:"footer,omitempty"`

	// HttpConfig HTTPClientConfig configures an HTTP client.
	HttpConfig   *HTTPClientConfig `json:"http_config,omitempty"`
	IconEmoji    *string           `json:"icon_emoji,omitempty"`
	IconUrl      *string           `json:"icon_url,omitempty"`
	ImageUrl     *string           `json:"image_url,omitempty"`
	LinkNames    *bool             `json:"link_names,omitempty"`
	MrkdwnIn     *[]string         `json:"mrkdwn_in,omitempty"`
	Pretext      *string           `json:"pretext,omitempty"`
	SendResolved bool              `json:"send_resolved"`
	ShortFields  *bool             `json:"short_fields,omitempty"`
	Text         *string           `json:"text,omitempty"`
	ThumbUrl     *string           `json:"thumb_url,omitempty"`
	Title        *string           `json:"title,omitempty"`
	TitleLink    *string           `json:"title_link,omitempty"`
	Username     *string           `json:"username,omitempty"`
}

SlackConfig SlackConfig configures notifications via Slack.

type SlackConfirmationField

type SlackConfirmationField struct {
	DismissText *string `json:"dismiss_text,omitempty"`
	OkText      *string `json:"ok_text,omitempty"`
	Text        *string `json:"text,omitempty"`
	Title       *string `json:"title,omitempty"`
}

SlackConfirmationField SlackConfirmationField protect users from destructive actions or particularly distinguished decisions by asking them to confirm their button click one more time. See https://api.slack.com/docs/interactive-message-field-guide#confirmation_fields for more information.

type SlackField

type SlackField struct {
	Short *bool   `json:"short,omitempty"`
	Title *string `json:"title,omitempty"`
	Value *string `json:"value,omitempty"`
}

SlackField SlackField configures a single Slack field that is sent with each notification. Each field must contain a title, value, and optionally, a boolean value to indicate if the field is short enough to be displayed next to other fields designated as short. See https://api.slack.com/docs/message-attachments#fields for more information.

type SyntheticCheckResult

type SyntheticCheckResult struct {
	AvgRttMs *float32 `json:"avg_rtt_ms,omitempty"`

	// DnsResults DNS-specific results
	DnsResults   *[]string `json:"dns_results,omitempty"`
	Duration     string    `json:"duration"`
	DurationMs   int       `json:"duration_ms"`
	ErrorMessage *string   `json:"error_message,omitempty"`

	// Hops Traceroute-specific results
	Hops            *[]SyntheticTracerouteHop `json:"hops,omitempty"`
	Location        *string                   `json:"location,omitempty"`
	MaxRttMs        *float32                  `json:"max_rtt_ms,omitempty"`
	MinRttMs        *float32                  `json:"min_rtt_ms,omitempty"`
	PacketLoss      *float32                  `json:"packet_loss,omitempty"`
	PacketsReceived *int                      `json:"packets_received,omitempty"`

	// PacketsSent Ping-specific results
	PacketsSent *int    `json:"packets_sent,omitempty"`
	PodId       *string `json:"pod_id,omitempty"`

	// RequestHeaders HTTP headers
	RequestHeaders  *map[string]string `json:"request_headers,omitempty"`
	ResponseBody    *string            `json:"response_body,omitempty"`
	ResponseHeaders *map[string]string `json:"response_headers,omitempty"`

	// SslExpiry SSL-specific results
	SslExpiry  *time.Time `json:"ssl_expiry,omitempty"`
	StatusCode *int       `json:"status_code,omitempty"`

	// StepResults Multistep-specific results: one entry per executed step
	// in chain order. The overall Success above is "all required
	// steps passed".
	StepResults *[]SyntheticStepResult `json:"step_results,omitempty"`
	Success     bool                   `json:"success"`
	Timestamp   time.Time              `json:"timestamp"`
}

SyntheticCheckResult CheckResult represents the result of a synthetic check

type SyntheticCondition

type SyntheticCondition struct {
	For           *string `json:"for,omitempty"`
	KeepFiringFor *string `json:"keep_firing_for,omitempty"`
	Op            string  `json:"op"`
	Value         float32 `json:"value"`
}

SyntheticCondition Condition defines alert conditions

type SyntheticConditionBySeverity

type SyntheticConditionBySeverity struct {
	// Critical Condition defines alert conditions
	Critical *SyntheticCondition `json:"critical,omitempty"`

	// Warn Condition defines alert conditions
	Warn *SyntheticCondition `json:"warn,omitempty"`
}

SyntheticConditionBySeverity ConditionBySeverity defines conditions for each severity level

type SyntheticDNSRuleConfig

type SyntheticDNSRuleConfig struct {
	Domain           string    `json:"domain"`
	ExpectResolution bool      `json:"expect_resolution"`
	ExpectedValues   *[]string `json:"expected_values,omitempty"`
	Nameserver       *string   `json:"nameserver,omitempty"`
	RecordType       string    `json:"record_type"`
}

SyntheticDNSRuleConfig DNSRuleConfig is the configuration for DNS checks

type SyntheticExtractRule added in v0.14.0

type SyntheticExtractRule struct {
	Name string `json:"name"`

	// Parser Parser: "jsonpath", "regex", or "header_value".
	Parser string `json:"parser"`

	// Query Query is the JSONPath, regex (first capture group),
	// or header name to read.
	Query string `json:"query"`

	// Secret Secret marks the value as redacted in CheckResult,
	// StepResult, and log output. It does NOT affect storage:
	// the rule_config itself is stored as plain JSONB, matching
	// the existing BearerToken / BasicAuth convention.
	Secret *bool `json:"secret,omitempty"`

	// Source Source: "body" or "header".
	Source string `json:"source"`
}

SyntheticExtractRule ExtractRule pulls a value from a step's response into a named variable.

type SyntheticHTTPRuleConfig

type SyntheticHTTPRuleConfig struct {
	BearerToken         *string            `json:"bearer_token,omitempty"`
	Body                *string            `json:"body,omitempty"`
	ExcludedStatusCodes *[]interface{}     `json:"excluded_status_codes,omitempty"`
	ExpectedBody        *string            `json:"expected_body,omitempty"`
	ExpectedHeaders     *map[string]string `json:"expected_headers,omitempty"`
	ExpectedStatusCodes *[]interface{}     `json:"expected_status_codes,omitempty"`
	FollowRedirects     *bool              `json:"follow_redirects,omitempty"`
	Headers             *map[string]string `json:"headers,omitempty"`
	InsecureSkipVerify  *bool              `json:"insecure_skip_verify,omitempty"`
	MaxResponseTimeMs   *int64             `json:"max_response_time_ms,omitempty"`
	Method              string             `json:"method"`
	Url                 string             `json:"url"`
}

SyntheticHTTPRuleConfig defines model for SyntheticHTTPRuleConfig.

type SyntheticHTTPStep added in v0.14.0

type SyntheticHTTPStep struct {
	// ContinueOnFailure ContinueOnFailure: if true, a failing step does not stop
	// the chain. The step's failure is recorded but later steps
	// still run and the overall monitor can still pass.
	ContinueOnFailure *bool `json:"continue_on_failure,omitempty"`

	// ExitOnSuccess ExitOnSuccess: if true, a successful step ends the chain
	// early. The overall monitor is marked passed.
	ExitOnSuccess *bool `json:"exit_on_success,omitempty"`

	// Extract Extract pulls values out of the response and binds them
	// to variables that later steps can interpolate.
	Extract *[]SyntheticExtractRule `json:"extract,omitempty"`
	Name    string                  `json:"name"`
	Request SyntheticHTTPRuleConfig `json:"request"`
}

SyntheticHTTPStep HTTPStep is one request in a multistep chain.

type SyntheticLabelMatcherNotifications

type SyntheticLabelMatcherNotifications struct {
	NotificationPolicyId *string `json:"notification_policy_id,omitempty"`

	// Notifiers NotifiersByCondition defines notifiers for each condition
	Notifiers *SyntheticNotifiersByCondition `json:"notifiers,omitempty"`
}

SyntheticLabelMatcherNotifications LabelMatcherNotifications defines notifications with label matching

type SyntheticMonitor added in v0.2.0

type SyntheticMonitor struct {
	// AgentName AgentName is the optional name of the agent
	// through which to route the check.
	AgentName   *string            `json:"agent_name,omitempty"`
	Annotations *map[string]string `json:"annotations,omitempty"`

	// Conditions ConditionBySeverity defines conditions for each severity level
	Conditions  *SyntheticConditionBySeverity `json:"conditions,omitempty"`
	CreatedAt   *time.Time                    `json:"created_at,omitempty"`
	Description *string                       `json:"description,omitempty"`
	Enabled     bool                          `json:"enabled"`
	Id          *string                       `json:"id,omitempty"`
	Instance    string                        `json:"instance"`
	Interval    string                        `json:"interval"`
	Labels      *map[string]string            `json:"labels,omitempty"`

	// LastResult CheckResult represents the result of a synthetic check
	LastResult           *SyntheticCheckResult                 `json:"last_result,omitempty"`
	LastRunAt            *time.Time                            `json:"last_run_at,omitempty"`
	Name                 string                                `json:"name"`
	NotificationPolicyId *string                               `json:"notification_policy_id,omitempty"`
	Notifications        *[]SyntheticLabelMatcherNotifications `json:"notifications,omitempty"`

	// RuleConfig RuleConfig is a union type for different rule configurations
	RuleConfig SyntheticRuleConfig `json:"rule_config"`
	RuleType   string              `json:"rule_type"`
	Timeout    string              `json:"timeout"`
	UpdatedAt  *time.Time          `json:"updated_at,omitempty"`
}

SyntheticMonitor SyntheticMonitor represents a synthetic monitoring rule

type SyntheticMultistepRuleConfig added in v0.14.0

type SyntheticMultistepRuleConfig struct {
	Steps *[]SyntheticHTTPStep `json:"steps"`
}

SyntheticMultistepRuleConfig MultistepRuleConfig is the configuration for a multistep HTTP check. Steps execute in order; later steps can reference variables extracted from earlier responses via {{VAR_NAME}} substitution in URL, headers, and body.

type SyntheticNotifiersByCondition

type SyntheticNotifiersByCondition struct {
	Any      *[]string `json:"any,omitempty"`
	Critical *[]string `json:"critical,omitempty"`
	Warn     *[]string `json:"warn,omitempty"`
}

SyntheticNotifiersByCondition NotifiersByCondition defines notifiers for each condition

type SyntheticPingRuleConfig

type SyntheticPingRuleConfig struct {
	Count      *int   `json:"count,omitempty"`
	Host       string `json:"host"`
	IntervalMs *int   `json:"interval_ms,omitempty"`
}

SyntheticPingRuleConfig PingRuleConfig is the configuration for ICMP ping checks

type SyntheticRuleConfig

type SyntheticRuleConfig struct {
	// Dns DNSRuleConfig is the configuration for DNS checks
	Dns  *SyntheticDNSRuleConfig  `json:"dns,omitempty"`
	Http *SyntheticHTTPRuleConfig `json:"http,omitempty"`

	// Multistep MultistepRuleConfig is the configuration for a multistep
	// HTTP check. Steps execute in order; later steps can reference
	// variables extracted from earlier responses via {{VAR_NAME}}
	// substitution in URL, headers, and body.
	Multistep *SyntheticMultistepRuleConfig `json:"multistep,omitempty"`

	// Ping PingRuleConfig is the configuration for ICMP ping checks
	Ping *SyntheticPingRuleConfig `json:"ping,omitempty"`

	// Ssl SSLRuleConfig is the configuration for SSL certificate checks
	Ssl *SyntheticSSLRuleConfig `json:"ssl,omitempty"`

	// Tcp TCPRuleConfig is the configuration for TCP checks
	Tcp *SyntheticTCPRuleConfig `json:"tcp,omitempty"`

	// Traceroute TracerouteRuleConfig is the configuration for traceroute checks
	Traceroute *SyntheticTracerouteRuleConfig `json:"traceroute,omitempty"`
}

SyntheticRuleConfig RuleConfig is a union type for different rule configurations

type SyntheticSSLRuleConfig

type SyntheticSSLRuleConfig struct {
	CheckCertificateAuthority bool   `json:"check_certificate_authority"`
	CriticalDaysBeforeExpiry  int    `json:"critical_days_before_expiry"`
	Host                      string `json:"host"`
	InsecureSkipVerify        bool   `json:"insecure_skip_verify"`
	Port                      int    `json:"port"`
	WarnDaysBeforeExpiry      int    `json:"warn_days_before_expiry"`
}

SyntheticSSLRuleConfig SSLRuleConfig is the configuration for SSL certificate checks

type SyntheticStepResult added in v0.14.0

type SyntheticStepResult struct {
	DurationMs   int     `json:"duration_ms"`
	ErrorMessage *string `json:"error_message,omitempty"`
	Name         string  `json:"name"`
	StatusCode   *int    `json:"status_code,omitempty"`
	Success      bool    `json:"success"`
}

SyntheticStepResult StepResult is the outcome of a single step in a multistep monitor. Per-step ResponseBody / headers are deliberately omitted to keep the result payload small — the run-history UI surfaces step name, success, status, duration, and error only. Secret-extracted values are scrubbed from ErrorMessage before this struct is populated.

type SyntheticTCPRuleConfig

type SyntheticTCPRuleConfig struct {
	Host string `json:"host"`
	Port int    `json:"port"`
}

SyntheticTCPRuleConfig TCPRuleConfig is the configuration for TCP checks

type SyntheticTracerouteHop

type SyntheticTracerouteHop struct {
	Address   *string  `json:"address,omitempty"`
	HopNumber int      `json:"hop_number"`
	Hostname  *string  `json:"hostname,omitempty"`
	RttMs     *float32 `json:"rtt_ms,omitempty"`
	Timeout   *bool    `json:"timeout,omitempty"`
}

SyntheticTracerouteHop TracerouteHop represents a single hop in a traceroute

type SyntheticTracerouteRuleConfig

type SyntheticTracerouteRuleConfig struct {
	Host            string `json:"host"`
	MaxHops         *int   `json:"max_hops,omitempty"`
	TimeoutPerHopMs *int   `json:"timeout_per_hop_ms,omitempty"`
}

SyntheticTracerouteRuleConfig TracerouteRuleConfig is the configuration for traceroute checks

type TLSConfig

type TLSConfig struct {
	// Ca Text of the CA cert to use for the targets.
	Ca *string `json:"ca,omitempty"`

	// CaFile The CA cert to use for the targets.
	CaFile *string `json:"ca_file,omitempty"`

	// CaRef CARef is the name of the secret within the secret manager to use as the CA cert for the
	// targets.
	CaRef *string `json:"ca_ref,omitempty"`

	// Cert Text of the client cert file for the targets.
	Cert *string `json:"cert,omitempty"`

	// CertFile The client cert file for the targets.
	CertFile *string `json:"cert_file,omitempty"`

	// CertRef CertRef is the name of the secret within the secret manager to use as the client cert for
	// the targets.
	CertRef *string `json:"cert_ref,omitempty"`

	// InsecureSkipVerify Disable target certificate validation.
	InsecureSkipVerify bool `json:"insecure_skip_verify"`

	// Key Text of the client key file for the targets.
	Key *string `json:"key,omitempty"`

	// KeyFile The client key file for the targets.
	KeyFile *string `json:"key_file,omitempty"`

	// KeyRef KeyRef is the name of the secret within the secret manager to use as the client key for
	// the targets.
	KeyRef *string `json:"key_ref,omitempty"`

	// MaxVersion Maximum TLS version.
	MaxVersion *int `json:"max_version,omitempty"`

	// MinVersion Minimum TLS version.
	MinVersion *int `json:"min_version,omitempty"`

	// ServerName Used to verify the hostname for the targets.
	ServerName *string `json:"server_name,omitempty"`
}

TLSConfig TLSConfig configures the options for TLS connections.

type Trace added in v0.2.0

type Trace struct {
	Processes *map[string]TraceProcess `json:"processes"`
	Spans     *[]TraceSpan             `json:"spans"`
	TraceID   string                   `json:"traceID"`
	Warnings  *string                  `json:"warnings,omitempty"`
}

Trace defines model for Trace.

type TraceLabelsResponse added in v0.2.0

type TraceLabelsResponse struct {
	Data   *[]string `json:"data"`
	Errors *string   `json:"errors,omitempty"`
	Limit  int       `json:"limit"`
	Offset int       `json:"offset"`
	Total  int       `json:"total"`
}

TraceLabelsResponse defines model for TraceLabelsResponse.

type TraceProcess added in v0.2.0

type TraceProcess struct {
	ServiceName string          `json:"serviceName"`
	Tags        *[]TraceSpanTag `json:"tags"`
}

TraceProcess defines model for TraceProcess.

type TraceSpan added in v0.2.0

type TraceSpan struct {
	Duration      int                   `json:"duration"`
	EndTime       int                   `json:"endTime"`
	Logs          *[]TraceSpanLog       `json:"logs"`
	OperationName string                `json:"operationName"`
	ParentSpanID  string                `json:"parentSpanID"`
	ProcessID     string                `json:"processID"`
	References    *[]TraceSpanReference `json:"references"`
	SpanID        string                `json:"spanID"`
	StartTime     int                   `json:"startTime"`
	Tags          *[]TraceSpanTag       `json:"tags"`
	TraceID       string                `json:"traceID"`
	Warning       *string               `json:"warning,omitempty"`
}

TraceSpan defines model for TraceSpan.

type TraceSpanLog added in v0.2.0

type TraceSpanLog struct {
	Fields    *[]TraceSpanTag `json:"fields"`
	Timestamp int             `json:"timestamp"`
}

TraceSpanLog defines model for TraceSpanLog.

type TraceSpanReference added in v0.2.0

type TraceSpanReference struct {
	RefType string `json:"refType"`
	SpanID  string `json:"spanID"`
	TraceID string `json:"traceID"`
}

TraceSpanReference defines model for TraceSpanReference.

type TraceSpanTag added in v0.2.0

type TraceSpanTag struct {
	FilterLabel *string `json:"filterLabel,omitempty"`
	Key         string  `json:"key"`
	Type        string  `json:"type"`

	// Value Value carries the tag's data. Its concrete JSON type (string,
	// integer, number, or boolean) is declared by the sibling Type field.
	Value TraceSpanTag_Value `json:"value"`
}

TraceSpanTag Tag represents a single key/value attribute attached to a Span, Process, or Log.

FilterLabel is the fully-qualified storage-column name this tag was derived from (e.g. "span::http.method", "resource::k8s.cluster.name", "scope_name"). When set, clients can use it directly as a label name for trace filtering without having to guess which bucket (span vs resource) the attribute came from or which prefix to prepend.

FilterLabel is empty for synthesised tags that don't correspond to a single indexed label (e.g. "otel.status_code" derived from span_status, "span.kind" from span_kind) and for internal counter columns like dropped_attributes_count and flags that aren't meaningful to filter on.

type TraceSpanTagValue0 added in v0.2.0

type TraceSpanTagValue0 = string

TraceSpanTagValue0 defines model for .

type TraceSpanTagValue1 added in v0.2.0

type TraceSpanTagValue1 = int64

TraceSpanTagValue1 defines model for .

type TraceSpanTagValue2 added in v0.2.0

type TraceSpanTagValue2 = float32

TraceSpanTagValue2 defines model for .

type TraceSpanTagValue3 added in v0.2.0

type TraceSpanTagValue3 = bool

TraceSpanTagValue3 defines model for .

type TraceSpanTag_Value added in v0.2.0

type TraceSpanTag_Value struct {
	// contains filtered or unexported fields
}

TraceSpanTag_Value Value carries the tag's data. Its concrete JSON type (string, integer, number, or boolean) is declared by the sibling Type field.

func (TraceSpanTag_Value) AsTraceSpanTagValue0 added in v0.2.0

func (t TraceSpanTag_Value) AsTraceSpanTagValue0() (TraceSpanTagValue0, error)

AsTraceSpanTagValue0 returns the union data inside the TraceSpanTag_Value as a TraceSpanTagValue0

func (TraceSpanTag_Value) AsTraceSpanTagValue1 added in v0.2.0

func (t TraceSpanTag_Value) AsTraceSpanTagValue1() (TraceSpanTagValue1, error)

AsTraceSpanTagValue1 returns the union data inside the TraceSpanTag_Value as a TraceSpanTagValue1

func (TraceSpanTag_Value) AsTraceSpanTagValue2 added in v0.2.0

func (t TraceSpanTag_Value) AsTraceSpanTagValue2() (TraceSpanTagValue2, error)

AsTraceSpanTagValue2 returns the union data inside the TraceSpanTag_Value as a TraceSpanTagValue2

func (TraceSpanTag_Value) AsTraceSpanTagValue3 added in v0.2.0

func (t TraceSpanTag_Value) AsTraceSpanTagValue3() (TraceSpanTagValue3, error)

AsTraceSpanTagValue3 returns the union data inside the TraceSpanTag_Value as a TraceSpanTagValue3

func (*TraceSpanTag_Value) FromTraceSpanTagValue0 added in v0.2.0

func (t *TraceSpanTag_Value) FromTraceSpanTagValue0(v TraceSpanTagValue0) error

FromTraceSpanTagValue0 overwrites any union data inside the TraceSpanTag_Value as the provided TraceSpanTagValue0

func (*TraceSpanTag_Value) FromTraceSpanTagValue1 added in v0.2.0

func (t *TraceSpanTag_Value) FromTraceSpanTagValue1(v TraceSpanTagValue1) error

FromTraceSpanTagValue1 overwrites any union data inside the TraceSpanTag_Value as the provided TraceSpanTagValue1

func (*TraceSpanTag_Value) FromTraceSpanTagValue2 added in v0.2.0

func (t *TraceSpanTag_Value) FromTraceSpanTagValue2(v TraceSpanTagValue2) error

FromTraceSpanTagValue2 overwrites any union data inside the TraceSpanTag_Value as the provided TraceSpanTagValue2

func (*TraceSpanTag_Value) FromTraceSpanTagValue3 added in v0.2.0

func (t *TraceSpanTag_Value) FromTraceSpanTagValue3(v TraceSpanTagValue3) error

FromTraceSpanTagValue3 overwrites any union data inside the TraceSpanTag_Value as the provided TraceSpanTagValue3

func (TraceSpanTag_Value) MarshalJSON added in v0.2.0

func (t TraceSpanTag_Value) MarshalJSON() ([]byte, error)

func (*TraceSpanTag_Value) MergeTraceSpanTagValue0 added in v0.2.0

func (t *TraceSpanTag_Value) MergeTraceSpanTagValue0(v TraceSpanTagValue0) error

MergeTraceSpanTagValue0 performs a merge with any union data inside the TraceSpanTag_Value, using the provided TraceSpanTagValue0

func (*TraceSpanTag_Value) MergeTraceSpanTagValue1 added in v0.2.0

func (t *TraceSpanTag_Value) MergeTraceSpanTagValue1(v TraceSpanTagValue1) error

MergeTraceSpanTagValue1 performs a merge with any union data inside the TraceSpanTag_Value, using the provided TraceSpanTagValue1

func (*TraceSpanTag_Value) MergeTraceSpanTagValue2 added in v0.2.0

func (t *TraceSpanTag_Value) MergeTraceSpanTagValue2(v TraceSpanTagValue2) error

MergeTraceSpanTagValue2 performs a merge with any union data inside the TraceSpanTag_Value, using the provided TraceSpanTagValue2

func (*TraceSpanTag_Value) MergeTraceSpanTagValue3 added in v0.2.0

func (t *TraceSpanTag_Value) MergeTraceSpanTagValue3(v TraceSpanTagValue3) error

MergeTraceSpanTagValue3 performs a merge with any union data inside the TraceSpanTag_Value, using the provided TraceSpanTagValue3

func (*TraceSpanTag_Value) UnmarshalJSON added in v0.2.0

func (t *TraceSpanTag_Value) UnmarshalJSON(b []byte) error

type TracesResponse added in v0.2.0

type TracesResponse struct {
	Data   *[]Trace `json:"data"`
	Errors *string  `json:"errors,omitempty"`
	Limit  int      `json:"limit"`
	Offset int      `json:"offset"`
	Total  int      `json:"total"`
}

TracesResponse defines model for TracesResponse.

type URL

type URL struct {
	ForceQuery  bool   `json:"ForceQuery"`
	Fragment    string `json:"Fragment"`
	Host        string `json:"Host"`
	OmitHost    bool   `json:"OmitHost"`
	Opaque      string `json:"Opaque"`
	Path        string `json:"Path"`
	RawFragment string `json:"RawFragment"`
	RawPath     string `json:"RawPath"`
	RawQuery    string `json:"RawQuery"`
	Scheme      string `json:"Scheme"`

	// User The Userinfo type is an immutable encapsulation of username and
	// password details for a [URL]. An existing Userinfo value is guaranteed
	// to have a username set (potentially empty, as allowed by RFC 2396),
	// and optionally a password.
	User *NetUrlUserinfo `json:"User,omitempty"`
}

URL URL is a custom URL type that allows validation at configuration load time.

type UpdateApiKeyRequest added in v0.11.0

type UpdateApiKeyRequest struct {
	Name   string    `json:"name"`
	Roles  *[]string `json:"roles,omitempty"`
	Scopes *[]string `json:"scopes"`
}

UpdateApiKeyRequest defines model for UpdateApiKeyRequest.

type UpdateDatasetItemRequest added in v0.14.0

type UpdateDatasetItemRequest struct {
	ExpectedOutput interface{} `json:"expectedOutput,omitempty"`
	Input          interface{} `json:"input,omitempty"`
	Metadata       interface{} `json:"metadata,omitempty"`
	Status         *string     `json:"status,omitempty"`
}

UpdateDatasetItemRequest UpdateDatasetItemRequest patches a dataset row. Omitted fields are left untouched.

type UpdateDropRuleRequest

type UpdateDropRuleRequest struct {
	Filters *[]MetricLabelMatcher `json:"filters"`

	// MetricName Matcher specifies a rule, which can match or set of labels or not.
	MetricName MetricLabelMatcher `json:"metric_name"`
	RuleName   string             `json:"rule_name"`
	Type       string             `json:"type"`
}

UpdateDropRuleRequest UpdateDropRuleRequest is the request body for updating a drop rule.

type UpdateDropRulesByIdJSONRequestBody

type UpdateDropRulesByIdJSONRequestBody = UpdateDropRuleRequest

UpdateDropRulesByIdJSONRequestBody defines body for UpdateDropRulesById for application/json ContentType.

type UpdateDropRulesByIdResponse

type UpdateDropRulesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DropRule
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateDropRulesByIdResponse

func ParseUpdateDropRulesByIdResponse(rsp *http.Response) (*UpdateDropRulesByIdResponse, error)

ParseUpdateDropRulesByIdResponse parses an HTTP response from a UpdateDropRulesByIdWithResponse call

func (UpdateDropRulesByIdResponse) Status

Status returns HTTPResponse.Status

func (UpdateDropRulesByIdResponse) StatusCode

func (r UpdateDropRulesByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateEvalTemplateRequest added in v0.14.0

type UpdateEvalTemplateRequest struct {
	ModelParams        interface{} `json:"modelParams,omitempty"`
	Name               *string     `json:"name,omitempty"`
	OutputSchema       interface{} `json:"outputSchema,omitempty"`
	Prompt             *string     `json:"prompt,omitempty"`
	SourceCode         *string     `json:"sourceCode,omitempty"`
	SourceCodeLanguage *string     `json:"sourceCodeLanguage,omitempty"`
	Vars               *[]string   `json:"vars,omitempty"`
}

UpdateEvalTemplateRequest UpdateEvalTemplateRequest patches an evaluator. Empty fields are left untouched. Oodle-managed evaluators cannot be updated.

type UpdateEvaluationRuleRequest added in v0.14.0

type UpdateEvaluationRuleRequest struct {
	DependsOnRuleIds      *[]string   `json:"dependsOnRuleIds,omitempty"`
	Enabled               *bool       `json:"enabled,omitempty"`
	Filters               interface{} `json:"filters,omitempty"`
	LlmConnectionId       *string     `json:"llmConnectionId,omitempty"`
	MaxInvocationsPerHour *int        `json:"maxInvocationsPerHour,omitempty"`
	ModelParams           interface{} `json:"modelParams,omitempty"`
	Name                  *string     `json:"name,omitempty"`
	SamplingRate          *float32    `json:"samplingRate,omitempty"`
	TargetType            *string     `json:"targetType,omitempty"`
	VariableMapping       interface{} `json:"variableMapping,omitempty"`
}

UpdateEvaluationRuleRequest UpdateEvaluationRuleRequest patches an evaluation rule. Pointer fields distinguish "not supplied" from a zero value.

type UpdateGenaiDatasetItemJSONRequestBody added in v0.14.0

type UpdateGenaiDatasetItemJSONRequestBody = UpdateDatasetItemRequest

UpdateGenaiDatasetItemJSONRequestBody defines body for UpdateGenaiDatasetItem for application/json ContentType.

type UpdateGenaiDatasetItemResponse added in v0.14.0

type UpdateGenaiDatasetItemResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DatasetItem
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateGenaiDatasetItemResponse added in v0.14.0

func ParseUpdateGenaiDatasetItemResponse(rsp *http.Response) (*UpdateGenaiDatasetItemResponse, error)

ParseUpdateGenaiDatasetItemResponse parses an HTTP response from a UpdateGenaiDatasetItemWithResponse call

func (UpdateGenaiDatasetItemResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (UpdateGenaiDatasetItemResponse) StatusCode added in v0.14.0

func (r UpdateGenaiDatasetItemResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateGenaiEvaluationRuleJSONRequestBody added in v0.14.0

type UpdateGenaiEvaluationRuleJSONRequestBody = UpdateEvaluationRuleRequest

UpdateGenaiEvaluationRuleJSONRequestBody defines body for UpdateGenaiEvaluationRule for application/json ContentType.

type UpdateGenaiEvaluationRuleResponse added in v0.14.0

type UpdateGenaiEvaluationRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EvaluationRule
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateGenaiEvaluationRuleResponse added in v0.14.0

func ParseUpdateGenaiEvaluationRuleResponse(rsp *http.Response) (*UpdateGenaiEvaluationRuleResponse, error)

ParseUpdateGenaiEvaluationRuleResponse parses an HTTP response from a UpdateGenaiEvaluationRuleWithResponse call

func (UpdateGenaiEvaluationRuleResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (UpdateGenaiEvaluationRuleResponse) StatusCode added in v0.14.0

func (r UpdateGenaiEvaluationRuleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateGenaiEvaluatorJSONRequestBody added in v0.14.0

type UpdateGenaiEvaluatorJSONRequestBody = UpdateEvalTemplateRequest

UpdateGenaiEvaluatorJSONRequestBody defines body for UpdateGenaiEvaluator for application/json ContentType.

type UpdateGenaiEvaluatorResponse added in v0.14.0

type UpdateGenaiEvaluatorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EvalTemplate
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateGenaiEvaluatorResponse added in v0.14.0

func ParseUpdateGenaiEvaluatorResponse(rsp *http.Response) (*UpdateGenaiEvaluatorResponse, error)

ParseUpdateGenaiEvaluatorResponse parses an HTTP response from a UpdateGenaiEvaluatorWithResponse call

func (UpdateGenaiEvaluatorResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (UpdateGenaiEvaluatorResponse) StatusCode added in v0.14.0

func (r UpdateGenaiEvaluatorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateGenaiJobJSONRequestBody added in v0.14.0

type UpdateGenaiJobJSONRequestBody = UpdateJobRequest

UpdateGenaiJobJSONRequestBody defines body for UpdateGenaiJob for application/json ContentType.

type UpdateGenaiJobResponse added in v0.14.0

type UpdateGenaiJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Job
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON403      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateGenaiJobResponse added in v0.14.0

func ParseUpdateGenaiJobResponse(rsp *http.Response) (*UpdateGenaiJobResponse, error)

ParseUpdateGenaiJobResponse parses an HTTP response from a UpdateGenaiJobWithResponse call

func (UpdateGenaiJobResponse) Status added in v0.14.0

func (r UpdateGenaiJobResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateGenaiJobResponse) StatusCode added in v0.14.0

func (r UpdateGenaiJobResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateGenaiLlmConnectionJSONRequestBody added in v0.14.0

type UpdateGenaiLlmConnectionJSONRequestBody = UpdateLLMConnectionRequest

UpdateGenaiLlmConnectionJSONRequestBody defines body for UpdateGenaiLlmConnection for application/json ContentType.

type UpdateGenaiLlmConnectionResponse added in v0.14.0

type UpdateGenaiLlmConnectionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LLMConnection
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateGenaiLlmConnectionResponse added in v0.14.0

func ParseUpdateGenaiLlmConnectionResponse(rsp *http.Response) (*UpdateGenaiLlmConnectionResponse, error)

ParseUpdateGenaiLlmConnectionResponse parses an HTTP response from a UpdateGenaiLlmConnectionWithResponse call

func (UpdateGenaiLlmConnectionResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (UpdateGenaiLlmConnectionResponse) StatusCode added in v0.14.0

func (r UpdateGenaiLlmConnectionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateGenaiPromptLabelsJSONRequestBody added in v0.14.0

type UpdateGenaiPromptLabelsJSONRequestBody = UpdatePromptLabelsRequest

UpdateGenaiPromptLabelsJSONRequestBody defines body for UpdateGenaiPromptLabels for application/json ContentType.

type UpdateGenaiPromptLabelsResponse added in v0.14.0

type UpdateGenaiPromptLabelsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]string
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateGenaiPromptLabelsResponse added in v0.14.0

func ParseUpdateGenaiPromptLabelsResponse(rsp *http.Response) (*UpdateGenaiPromptLabelsResponse, error)

ParseUpdateGenaiPromptLabelsResponse parses an HTTP response from a UpdateGenaiPromptLabelsWithResponse call

func (UpdateGenaiPromptLabelsResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (UpdateGenaiPromptLabelsResponse) StatusCode added in v0.14.0

func (r UpdateGenaiPromptLabelsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateGenaiPromptVersionLabelsJSONRequestBody added in v0.14.0

type UpdateGenaiPromptVersionLabelsJSONRequestBody = UpdatePromptVersionLabelsRequest

UpdateGenaiPromptVersionLabelsJSONRequestBody defines body for UpdateGenaiPromptVersionLabels for application/json ContentType.

type UpdateGenaiPromptVersionLabelsResponse added in v0.14.0

type UpdateGenaiPromptVersionLabelsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PromptResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateGenaiPromptVersionLabelsResponse added in v0.14.0

func ParseUpdateGenaiPromptVersionLabelsResponse(rsp *http.Response) (*UpdateGenaiPromptVersionLabelsResponse, error)

ParseUpdateGenaiPromptVersionLabelsResponse parses an HTTP response from a UpdateGenaiPromptVersionLabelsWithResponse call

func (UpdateGenaiPromptVersionLabelsResponse) Status added in v0.14.0

Status returns HTTPResponse.Status

func (UpdateGenaiPromptVersionLabelsResponse) StatusCode added in v0.14.0

StatusCode returns HTTPResponse.StatusCode

type UpdateIntegrationsByIdJSONRequestBody added in v0.11.0

type UpdateIntegrationsByIdJSONRequestBody = PatchIntegration

UpdateIntegrationsByIdJSONRequestBody defines body for UpdateIntegrationsById for application/json ContentType.

type UpdateIntegrationsByIdResponse added in v0.11.0

type UpdateIntegrationsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Integration
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateIntegrationsByIdResponse added in v0.11.0

func ParseUpdateIntegrationsByIdResponse(rsp *http.Response) (*UpdateIntegrationsByIdResponse, error)

ParseUpdateIntegrationsByIdResponse parses an HTTP response from a UpdateIntegrationsByIdWithResponse call

func (UpdateIntegrationsByIdResponse) Status added in v0.11.0

Status returns HTTPResponse.Status

func (UpdateIntegrationsByIdResponse) StatusCode added in v0.11.0

func (r UpdateIntegrationsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateJobRequest added in v0.14.0

type UpdateJobRequest struct {
	Error  *string `json:"error,omitempty"`
	Status string  `json:"status"`
}

UpdateJobRequest UpdateJobRequest changes a job's status. Only cancellation is accepted over the API; workers own the other transitions.

type UpdateLLMConnectionRequest added in v0.14.0

type UpdateLLMConnectionRequest struct {
	ApiKey              *string     `json:"apiKey,omitempty"`
	BaseUrl             *string     `json:"baseUrl,omitempty"`
	CustomHeaders       interface{} `json:"customHeaders,omitempty"`
	CustomModels        *[]string   `json:"customModels,omitempty"`
	DefaultModel        *string     `json:"defaultModel,omitempty"`
	DefaultParams       interface{} `json:"defaultParams,omitempty"`
	EnableDefaultModels *bool       `json:"enableDefaultModels,omitempty"`
	IsDefault           *bool       `json:"isDefault,omitempty"`
	Name                *string     `json:"name,omitempty"`
	Provider            *string     `json:"provider,omitempty"`
}

UpdateLLMConnectionRequest UpdateLLMConnectionRequest patches a connection. An empty apiKey leaves the stored credential in place.

type UpdateLogmetricsByIdJSONRequestBody

type UpdateLogmetricsByIdJSONRequestBody = LogMetrics

UpdateLogmetricsByIdJSONRequestBody defines body for UpdateLogmetricsById for application/json ContentType.

type UpdateLogmetricsByIdResponse

type UpdateLogmetricsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LogMetrics
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateLogmetricsByIdResponse

func ParseUpdateLogmetricsByIdResponse(rsp *http.Response) (*UpdateLogmetricsByIdResponse, error)

ParseUpdateLogmetricsByIdResponse parses an HTTP response from a UpdateLogmetricsByIdWithResponse call

func (UpdateLogmetricsByIdResponse) Status

Status returns HTTPResponse.Status

func (UpdateLogmetricsByIdResponse) StatusCode

func (r UpdateLogmetricsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateMonitorsByIdJSONRequestBody

type UpdateMonitorsByIdJSONRequestBody = Monitor

UpdateMonitorsByIdJSONRequestBody defines body for UpdateMonitorsById for application/json ContentType.

type UpdateMonitorsByIdResponse

type UpdateMonitorsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Monitor
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateMonitorsByIdResponse

func ParseUpdateMonitorsByIdResponse(rsp *http.Response) (*UpdateMonitorsByIdResponse, error)

ParseUpdateMonitorsByIdResponse parses an HTTP response from a UpdateMonitorsByIdWithResponse call

func (UpdateMonitorsByIdResponse) Status

Status returns HTTPResponse.Status

func (UpdateMonitorsByIdResponse) StatusCode

func (r UpdateMonitorsByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateNotificationPoliciesByIdJSONRequestBody

type UpdateNotificationPoliciesByIdJSONRequestBody = NotificationPolicy

UpdateNotificationPoliciesByIdJSONRequestBody defines body for UpdateNotificationPoliciesById for application/json ContentType.

type UpdateNotificationPoliciesByIdResponse

type UpdateNotificationPoliciesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *NotificationPolicy
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateNotificationPoliciesByIdResponse

func ParseUpdateNotificationPoliciesByIdResponse(rsp *http.Response) (*UpdateNotificationPoliciesByIdResponse, error)

ParseUpdateNotificationPoliciesByIdResponse parses an HTTP response from a UpdateNotificationPoliciesByIdWithResponse call

func (UpdateNotificationPoliciesByIdResponse) Status

Status returns HTTPResponse.Status

func (UpdateNotificationPoliciesByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateNotifiersByIdJSONRequestBody

type UpdateNotifiersByIdJSONRequestBody = Notifier

UpdateNotifiersByIdJSONRequestBody defines body for UpdateNotifiersById for application/json ContentType.

type UpdateNotifiersByIdResponse

type UpdateNotifiersByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Notifier
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateNotifiersByIdResponse

func ParseUpdateNotifiersByIdResponse(rsp *http.Response) (*UpdateNotifiersByIdResponse, error)

ParseUpdateNotifiersByIdResponse parses an HTTP response from a UpdateNotifiersByIdWithResponse call

func (UpdateNotifiersByIdResponse) Status

Status returns HTTPResponse.Status

func (UpdateNotifiersByIdResponse) StatusCode

func (r UpdateNotifiersByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePromptLabelsRequest added in v0.14.0

type UpdatePromptLabelsRequest struct {
	Labels  *[]string `json:"labels"`
	Version int       `json:"version"`
}

UpdatePromptLabelsRequest UpdatePromptLabelsRequest replaces the label set on one prompt version.

type UpdatePromptVersionLabelsRequest added in v0.14.0

type UpdatePromptVersionLabelsRequest struct {
	NewLabels *[]string `json:"newLabels"`
}

UpdatePromptVersionLabelsRequest UpdatePromptVersionLabelsRequest additively merges labels onto a version. "latest" is auto-managed and rejected here.

type UpdateSyntheticMonitorsByIdJSONRequestBody

type UpdateSyntheticMonitorsByIdJSONRequestBody = SyntheticMonitor

UpdateSyntheticMonitorsByIdJSONRequestBody defines body for UpdateSyntheticMonitorsById for application/json ContentType.

type UpdateSyntheticMonitorsByIdResponse

type UpdateSyntheticMonitorsByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SyntheticMonitor
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateSyntheticMonitorsByIdResponse

func ParseUpdateSyntheticMonitorsByIdResponse(rsp *http.Response) (*UpdateSyntheticMonitorsByIdResponse, error)

ParseUpdateSyntheticMonitorsByIdResponse parses an HTTP response from a UpdateSyntheticMonitorsByIdWithResponse call

func (UpdateSyntheticMonitorsByIdResponse) Status

Status returns HTTPResponse.Status

func (UpdateSyntheticMonitorsByIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateUserRequest added in v0.11.0

type UpdateUserRequest struct {
	Roles  *[]string `json:"roles"`
	UserId string    `json:"user_id"`
}

UpdateUserRequest UpdateUserRequest is the request body for updating a user within the organization.

type UpsertDatasetScheduleRequest added in v0.15.0

type UpsertDatasetScheduleRequest struct {
	// DaysOfMonth DaysOfMonth are "1".."31"; empty means every day. With
	// Weekdays also set, a day has to satisfy both.
	DaysOfMonth *[]string `json:"daysOfMonth,omitempty"`

	// Enabled Enabled false keeps the definition but stops it firing.
	Enabled bool `json:"enabled"`

	// ExperimentConfig ExperimentConfig is the job config each run launches.
	ExperimentConfig interface{} `json:"experimentConfig"`
	IntervalUnit     *string     `json:"intervalUnit,omitempty"`

	// IntervalValue IntervalValue and IntervalUnit describe an interval
	// schedule: 30 + "minutes", 6 + "hours", 1 + "days". The
	// period must be at least 5 minutes, which is what the
	// worker's poll cycle can honour, and at most 365 days.
	IntervalValue *int `json:"intervalValue,omitempty"`

	// Mode Mode is "calendar" or "interval"; empty means calendar.
	//
	// The two answer different questions, and the fields below
	// split along the same line. Calendar is for a run that has
	// to land at a time of day someone cares about, and reads
	// Timezone/Times/Weekdays/DaysOfMonth. Interval is for a run
	// whose cadence matters but whose wall-clock time does not,
	// and reads IntervalValue/IntervalUnit; a duration needs no
	// timezone, so the calendar fields are ignored for it.
	Mode *string `json:"mode,omitempty"`

	// Times Times are "HH:MM" instants the experiment starts at. At
	// least one is required in calendar mode.
	Times *[]string `json:"times,omitempty"`

	// Timezone Timezone is an IANA name; empty means UTC. The times below
	// are read in it, so a schedule follows daylight saving
	// rather than drifting by an hour twice a year.
	Timezone *string `json:"timezone,omitempty"`

	// Weekdays Weekdays are lowercase weekday names; empty means every
	// day.
	Weekdays *[]string `json:"weekdays,omitempty"`
}

UpsertDatasetScheduleRequest UpsertDatasetScheduleRequest sets the one schedule a dataset may carry, replacing any existing one.

The schedule describes *when* an experiment starts; what it runs is ExperimentConfig, the same `llm-experiment` job config `POST jobs` takes. `datasetId` is taken from the path, and `runName` is ignored: every fired run gets its own number.

type User

type User struct {
	Email   *string   `json:"email,omitempty"`
	Name    *string   `json:"name,omitempty"`
	Picture *string   `json:"picture,omitempty"`
	Roles   *[]string `json:"roles"`
	UserId  string    `json:"user_id"`
}

User User is the API representation of an org user.

type UserInvitation

type UserInvitation struct {
	CreatedAt string    `json:"created_at"`
	Email     string    `json:"email"`
	ExpiresAt string    `json:"expires_at"`
	Id        string    `json:"id"`
	Inviter   string    `json:"inviter"`
	Roles     *[]string `json:"roles"`
}

UserInvitation UserInvitation is the API representation of an invitation.

type ValueExtractor

type ValueExtractor struct {
	// Field Field is the name of the field in the log to extract the value from.
	Field *string `json:"field,omitempty"`

	// JsonPath JSONPath specifies a path to extract a nested value from a JSON field.
	// If not set, the entire field value is used as the label value.
	JsonPath *string `json:"jsonPath,omitempty"`

	// Lookup Lookup specifies how to look up a value in a lookup/enrichment table.
	Lookup *Lookup `json:"lookup,omitempty"`

	// Regex Regex is used to derive the label value by matching the
	// regex pattern. Regex pattern should be a valid Rust regex, you can use
	// https://rustexp.lpil.uk/ for trying out the pattern.
	// If not set, the entire field value is used as the label value.
	Regex *string `json:"regex,omitempty"`
}

ValueExtractor ValueExtractor is used to extract label values from the log fields.

type WebhookConfig

type WebhookConfig struct {
	// HttpConfig HTTPClientConfig configures an HTTP client.
	HttpConfig *HTTPClientConfig `json:"http_config,omitempty"`

	// MaxAlerts MaxAlerts is the maximum number of alerts to be sent per webhook message.
	// Alerts exceeding this threshold will be truncated. Setting this to 0
	// allows an unlimited number of alerts.
	MaxAlerts    int  `json:"max_alerts"`
	SendResolved bool `json:"send_resolved"`

	// Url URL to send POST request to.
	Url string `json:"url"`
}

WebhookConfig WebhookConfig configures notifications via a generic webhook.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL