client

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 NewAddGenaiExperimentFeedbackRequest added in v0.21.0

func NewAddGenaiExperimentFeedbackRequest(server string, instance string, experimentId string, body AddGenaiExperimentFeedbackJSONRequestBody) (*http.Request, error)

NewAddGenaiExperimentFeedbackRequest calls the generic AddGenaiExperimentFeedback builder with application/json body

func NewAddGenaiExperimentFeedbackRequestWithBody added in v0.21.0

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

NewAddGenaiExperimentFeedbackRequestWithBody generates requests for AddGenaiExperimentFeedback with any type of body

func NewCancelGenaiBackfillRequest added in v0.18.0

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

NewCancelGenaiBackfillRequest generates requests for CancelGenaiBackfill

func NewCompareGenaiExperimentsRequest added in v0.21.0

func NewCompareGenaiExperimentsRequest(server string, instance string, params *CompareGenaiExperimentsParams) (*http.Request, error)

NewCompareGenaiExperimentsRequest generates requests for CompareGenaiExperiments

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 NewCreateGenaiBackfillRequest added in v0.18.0

func NewCreateGenaiBackfillRequest(server string, instance string, body CreateGenaiBackfillJSONRequestBody) (*http.Request, error)

NewCreateGenaiBackfillRequest calls the generic CreateGenaiBackfill builder with application/json body

func NewCreateGenaiBackfillRequestWithBody added in v0.18.0

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

NewCreateGenaiBackfillRequestWithBody generates requests for CreateGenaiBackfill with any type of body

func NewCreateGenaiCodeLibraryRequest added in v0.18.0

func NewCreateGenaiCodeLibraryRequest(server string, instance string, body CreateGenaiCodeLibraryJSONRequestBody) (*http.Request, error)

NewCreateGenaiCodeLibraryRequest calls the generic CreateGenaiCodeLibrary builder with application/json body

func NewCreateGenaiCodeLibraryRequestWithBody added in v0.18.0

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

NewCreateGenaiCodeLibraryRequestWithBody generates requests for CreateGenaiCodeLibrary with any type of body

func NewCreateGenaiDatasetItemRequest added in v0.14.0

func NewCreateGenaiDatasetItemRequest(server string, instance string, params *CreateGenaiDatasetItemParams, 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, params *CreateGenaiDatasetItemParams, 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, params *CreateGenaiDatasetParams, 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, params *CreateGenaiDatasetParams, 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 NewCreateGenaiProjectExperimentRequest added in v0.21.0

func NewCreateGenaiProjectExperimentRequest(server string, instance string, body CreateGenaiProjectExperimentJSONRequestBody) (*http.Request, error)

NewCreateGenaiProjectExperimentRequest calls the generic CreateGenaiProjectExperiment builder with application/json body

func NewCreateGenaiProjectExperimentRequestWithBody added in v0.21.0

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

NewCreateGenaiProjectExperimentRequestWithBody generates requests for CreateGenaiProjectExperiment with any type of body

func NewCreateGenaiProjectRequest added in v0.21.0

func NewCreateGenaiProjectRequest(server string, instance string, body CreateGenaiProjectJSONRequestBody) (*http.Request, error)

NewCreateGenaiProjectRequest calls the generic CreateGenaiProject builder with application/json body

func NewCreateGenaiProjectRequestWithBody added in v0.21.0

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

NewCreateGenaiProjectRequestWithBody generates requests for CreateGenaiProject 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 NewCreateGenaiWebhookRequest added in v0.17.0

func NewCreateGenaiWebhookRequest(server string, instance string, body CreateGenaiWebhookJSONRequestBody) (*http.Request, error)

NewCreateGenaiWebhookRequest calls the generic CreateGenaiWebhook builder with application/json body

func NewCreateGenaiWebhookRequestWithBody added in v0.17.0

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

NewCreateGenaiWebhookRequestWithBody generates requests for CreateGenaiWebhook 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 NewCreateLogblocksRequest added in v0.21.0

func NewCreateLogblocksRequest(server string, instance string, body CreateLogblocksJSONRequestBody) (*http.Request, error)

NewCreateLogblocksRequest calls the generic CreateLogblocks builder with application/json body

func NewCreateLogblocksRequestWithBody added in v0.21.0

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

NewCreateLogblocksRequestWithBody generates requests for CreateLogblocks with any type of body

func NewCreateLogmetricsRequest

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

NewCreateLogmetricsRequest calls the generic CreateLogmetrics builder with application/json body

func NewCreateLogmetricsRequestWithBody

func NewCreateLogmetricsRequestWithBody(server string, instance string, params *CreateLogmetricsParams, 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 NewCreateTraceSamplingRulesRequest added in v0.21.0

func NewCreateTraceSamplingRulesRequest(server string, instance string, body CreateTraceSamplingRulesJSONRequestBody) (*http.Request, error)

NewCreateTraceSamplingRulesRequest calls the generic CreateTraceSamplingRules builder with application/json body

func NewCreateTraceSamplingRulesRequestWithBody added in v0.21.0

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

NewCreateTraceSamplingRulesRequestWithBody generates requests for CreateTraceSamplingRules with any type of body

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 NewDeleteGenaiBackfillRequest added in v0.18.0

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

NewDeleteGenaiBackfillRequest generates requests for DeleteGenaiBackfill

func NewDeleteGenaiCodeLibraryRequest added in v0.18.0

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

NewDeleteGenaiCodeLibraryRequest generates requests for DeleteGenaiCodeLibrary

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, params *DeleteGenaiDatasetParams) (*http.Request, error)

NewDeleteGenaiDatasetRequest generates requests for DeleteGenaiDataset

func NewDeleteGenaiDatasetScheduleRequest added in v0.15.0

func NewDeleteGenaiDatasetScheduleRequest(server string, instance string, datasetName string, params *DeleteGenaiDatasetScheduleParams) (*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 NewDeleteGenaiExperimentRequest added in v0.21.0

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

NewDeleteGenaiExperimentRequest generates requests for DeleteGenaiExperiment

func NewDeleteGenaiLlmConnectionRequest added in v0.14.0

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

NewDeleteGenaiLlmConnectionRequest generates requests for DeleteGenaiLlmConnection

func NewDeleteGenaiProjectRequest added in v0.21.0

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

NewDeleteGenaiProjectRequest generates requests for DeleteGenaiProject

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 NewDeleteGenaiWebhookRequest added in v0.17.0

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

NewDeleteGenaiWebhookRequest generates requests for DeleteGenaiWebhook

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 NewDeleteLogblocksByIdRequest added in v0.21.0

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

NewDeleteLogblocksByIdRequest generates requests for DeleteLogblocksById

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 NewDeleteTraceSamplingRulesByIdRequest added in v0.21.0

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

NewDeleteTraceSamplingRulesByIdRequest generates requests for DeleteTraceSamplingRulesById

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 NewGetGenaiBackfillRequest added in v0.18.0

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

NewGetGenaiBackfillRequest generates requests for GetGenaiBackfill

func NewGetGenaiCodeEvalLibraryFileRequest added in v0.18.0

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

NewGetGenaiCodeEvalLibraryFileRequest generates requests for GetGenaiCodeEvalLibraryFile

func NewGetGenaiCodeEvalLibraryRequest added in v0.18.0

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

NewGetGenaiCodeEvalLibraryRequest generates requests for GetGenaiCodeEvalLibrary

func NewGetGenaiCodeLibraryRequest added in v0.18.0

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

NewGetGenaiCodeLibraryRequest generates requests for GetGenaiCodeLibrary

func NewGetGenaiCodeLibraryVersionRequest added in v0.18.0

func NewGetGenaiCodeLibraryVersionRequest(server string, instance string, libraryId string, version int) (*http.Request, error)

NewGetGenaiCodeLibraryVersionRequest generates requests for GetGenaiCodeLibraryVersion

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, params *GetGenaiDatasetParams) (*http.Request, error)

NewGetGenaiDatasetRequest generates requests for GetGenaiDataset

func NewGetGenaiDatasetScheduleRequest added in v0.15.0

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

NewGetGenaiDatasetScheduleRequest generates requests for GetGenaiDatasetSchedule

func NewGetGenaiEvaluationRuleRequest added in v0.18.0

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

NewGetGenaiEvaluationRuleRequest generates requests for GetGenaiEvaluationRule

func NewGetGenaiEvaluatorRequest added in v0.14.0

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

NewGetGenaiEvaluatorRequest generates requests for GetGenaiEvaluator

func NewGetGenaiExperimentRequest added in v0.21.0

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

NewGetGenaiExperimentRequest generates requests for GetGenaiExperiment

func NewGetGenaiExperimentSummaryRequest added in v0.21.0

func NewGetGenaiExperimentSummaryRequest(server string, instance string, experimentId string, params *GetGenaiExperimentSummaryParams) (*http.Request, error)

NewGetGenaiExperimentSummaryRequest generates requests for GetGenaiExperimentSummary

func NewGetGenaiJobRequest added in v0.14.0

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

NewGetGenaiJobRequest generates requests for GetGenaiJob

func NewGetGenaiProjectRequest added in v0.21.0

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

NewGetGenaiProjectRequest generates requests for GetGenaiProject

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 NewGetGenaiWebhookRequest added in v0.17.0

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

NewGetGenaiWebhookRequest generates requests for GetGenaiWebhook

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 NewGetLogblocksByIdRequest added in v0.21.0

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

NewGetLogblocksByIdRequest generates requests for GetLogblocksById

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 NewGetTraceSamplingRulesByIdRequest added in v0.21.0

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

NewGetTraceSamplingRulesByIdRequest generates requests for GetTraceSamplingRulesById

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 NewImportPrometheusMetricsForJobRequestWithBody added in v0.18.0

func NewImportPrometheusMetricsForJobRequestWithBody(server string, job string, params *ImportPrometheusMetricsForJobParams, contentType string, body io.Reader) (*http.Request, error)

NewImportPrometheusMetricsForJobRequestWithBody generates requests for ImportPrometheusMetricsForJob with any type of body

func NewImportPrometheusMetricsForJobRequestWithTextBody added in v0.18.0

func NewImportPrometheusMetricsForJobRequestWithTextBody(server string, job string, params *ImportPrometheusMetricsForJobParams, body ImportPrometheusMetricsForJobTextRequestBody) (*http.Request, error)

NewImportPrometheusMetricsForJobRequestWithTextBody calls the generic ImportPrometheusMetricsForJob builder with text/plain body

func NewImportPrometheusMetricsRequestWithBody added in v0.18.0

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

NewImportPrometheusMetricsRequestWithBody generates requests for ImportPrometheusMetrics with any type of body

func NewImportPrometheusMetricsRequestWithTextBody added in v0.18.0

func NewImportPrometheusMetricsRequestWithTextBody(server string, params *ImportPrometheusMetricsParams, body ImportPrometheusMetricsTextRequestBody) (*http.Request, error)

NewImportPrometheusMetricsRequestWithTextBody calls the generic ImportPrometheusMetrics builder with text/plain body

func NewInsertGenaiExperimentRowsRequest added in v0.21.0

func NewInsertGenaiExperimentRowsRequest(server string, instance string, experimentId string, body InsertGenaiExperimentRowsJSONRequestBody) (*http.Request, error)

NewInsertGenaiExperimentRowsRequest calls the generic InsertGenaiExperimentRows builder with application/json body

func NewInsertGenaiExperimentRowsRequestWithBody added in v0.21.0

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

NewInsertGenaiExperimentRowsRequestWithBody generates requests for InsertGenaiExperimentRows with any type of body

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 NewListGenaiBackfillsRequest added in v0.18.0

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

NewListGenaiBackfillsRequest generates requests for ListGenaiBackfills

func NewListGenaiCodeEvalLibraryFilesRequest added in v0.18.0

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

NewListGenaiCodeEvalLibraryFilesRequest generates requests for ListGenaiCodeEvalLibraryFiles

func NewListGenaiCodeEvalStartersRequest added in v0.18.0

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

NewListGenaiCodeEvalStartersRequest generates requests for ListGenaiCodeEvalStarters

func NewListGenaiCodeLibrariesRequest added in v0.18.0

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

NewListGenaiCodeLibrariesRequest generates requests for ListGenaiCodeLibraries

func NewListGenaiCodeLibraryVersionsRequest added in v0.18.0

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

NewListGenaiCodeLibraryVersionsRequest generates requests for ListGenaiCodeLibraryVersions

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 NewListGenaiExperimentRowsRequest added in v0.21.0

func NewListGenaiExperimentRowsRequest(server string, instance string, experimentId string, params *ListGenaiExperimentRowsParams) (*http.Request, error)

NewListGenaiExperimentRowsRequest generates requests for ListGenaiExperimentRows

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 NewListGenaiProjectExperimentsRequest added in v0.21.0

func NewListGenaiProjectExperimentsRequest(server string, instance string, params *ListGenaiProjectExperimentsParams) (*http.Request, error)

NewListGenaiProjectExperimentsRequest generates requests for ListGenaiProjectExperiments

func NewListGenaiProjectsRequest added in v0.21.0

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

NewListGenaiProjectsRequest generates requests for ListGenaiProjects

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 NewListGenaiWebhooksRequest added in v0.17.0

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

NewListGenaiWebhooksRequest generates requests for ListGenaiWebhooks

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 NewListLogblocksRequest added in v0.21.0

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

NewListLogblocksRequest generates requests for ListLogblocks

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 NewListTraceQLTagValuesRequest added in v0.21.0

func NewListTraceQLTagValuesRequest(server string, instance string, tagName string, params *ListTraceQLTagValuesParams) (*http.Request, error)

NewListTraceQLTagValuesRequest generates requests for ListTraceQLTagValues

func NewListTraceQLTagsRequest added in v0.21.0

func NewListTraceQLTagsRequest(server string, instance string, params *ListTraceQLTagsParams) (*http.Request, error)

NewListTraceQLTagsRequest generates requests for ListTraceQLTags

func NewListTraceSamplingRulesRequest added in v0.21.0

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

NewListTraceSamplingRulesRequest generates requests for ListTraceSamplingRules

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 NewQueryTraceQLMetricsRangeRequest added in v0.21.0

func NewQueryTraceQLMetricsRangeRequest(server string, instance string, params *QueryTraceQLMetricsRangeParams) (*http.Request, error)

NewQueryTraceQLMetricsRangeRequest generates requests for QueryTraceQLMetricsRange

func NewRenameGenaiDatasetFolderRequest added in v0.17.0

func NewRenameGenaiDatasetFolderRequest(server string, instance string, params *RenameGenaiDatasetFolderParams, body RenameGenaiDatasetFolderJSONRequestBody) (*http.Request, error)

NewRenameGenaiDatasetFolderRequest calls the generic RenameGenaiDatasetFolder builder with application/json body

func NewRenameGenaiDatasetFolderRequestWithBody added in v0.17.0

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

NewRenameGenaiDatasetFolderRequestWithBody generates requests for RenameGenaiDatasetFolder with any type of body

func NewRenameGenaiDatasetRequest added in v0.17.0

func NewRenameGenaiDatasetRequest(server string, instance string, datasetName string, params *RenameGenaiDatasetParams, body RenameGenaiDatasetJSONRequestBody) (*http.Request, error)

NewRenameGenaiDatasetRequest calls the generic RenameGenaiDataset builder with application/json body

func NewRenameGenaiDatasetRequestWithBody added in v0.17.0

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

NewRenameGenaiDatasetRequestWithBody generates requests for RenameGenaiDataset with any type of body

func NewSearchTraceQLRequest added in v0.21.0

func NewSearchTraceQLRequest(server string, instance string, params *SearchTraceQLParams) (*http.Request, error)

NewSearchTraceQLRequest generates requests for SearchTraceQL

func NewSetDropRuleEnabledRequest added in v0.21.0

func NewSetDropRuleEnabledRequest(server string, instance string, id string, body SetDropRuleEnabledJSONRequestBody) (*http.Request, error)

NewSetDropRuleEnabledRequest calls the generic SetDropRuleEnabled builder with application/json body

func NewSetDropRuleEnabledRequestWithBody added in v0.21.0

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

NewSetDropRuleEnabledRequestWithBody generates requests for SetDropRuleEnabled with any type of body

func NewSetGenaiDatasetScheduleRequest added in v0.15.0

func NewSetGenaiDatasetScheduleRequest(server string, instance string, datasetName string, params *SetGenaiDatasetScheduleParams, 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, params *SetGenaiDatasetScheduleParams, contentType string, body io.Reader) (*http.Request, error)

NewSetGenaiDatasetScheduleRequestWithBody generates requests for SetGenaiDatasetSchedule with any type of body

func NewSetTraceSamplingRuleEnabledRequest added in v0.21.0

func NewSetTraceSamplingRuleEnabledRequest(server string, instance string, id string, body SetTraceSamplingRuleEnabledJSONRequestBody) (*http.Request, error)

NewSetTraceSamplingRuleEnabledRequest calls the generic SetTraceSamplingRuleEnabled builder with application/json body

func NewSetTraceSamplingRuleEnabledRequestWithBody added in v0.21.0

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

NewSetTraceSamplingRuleEnabledRequestWithBody generates requests for SetTraceSamplingRuleEnabled with any type of body

func NewTestGenaiWebhookRequest added in v0.17.0

func NewTestGenaiWebhookRequest(server string, instance string, body TestGenaiWebhookJSONRequestBody) (*http.Request, error)

NewTestGenaiWebhookRequest calls the generic TestGenaiWebhook builder with application/json body

func NewTestGenaiWebhookRequestWithBody added in v0.17.0

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

NewTestGenaiWebhookRequestWithBody generates requests for TestGenaiWebhook with any type of body

func NewTestNotifierRequest added in v0.17.0

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

NewTestNotifierRequest generates requests for TestNotifier

func NewTestRunGenaiEvaluatorRequest added in v0.18.0

func NewTestRunGenaiEvaluatorRequest(server string, instance string, templateId string, body TestRunGenaiEvaluatorJSONRequestBody) (*http.Request, error)

NewTestRunGenaiEvaluatorRequest calls the generic TestRunGenaiEvaluator builder with application/json body

func NewTestRunGenaiEvaluatorRequestWithBody added in v0.18.0

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

NewTestRunGenaiEvaluatorRequestWithBody generates requests for TestRunGenaiEvaluator 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 NewUpdateGenaiCodeLibraryRequest added in v0.18.0

func NewUpdateGenaiCodeLibraryRequest(server string, instance string, libraryId string, body UpdateGenaiCodeLibraryJSONRequestBody) (*http.Request, error)

NewUpdateGenaiCodeLibraryRequest calls the generic UpdateGenaiCodeLibrary builder with application/json body

func NewUpdateGenaiCodeLibraryRequestWithBody added in v0.18.0

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

NewUpdateGenaiCodeLibraryRequestWithBody generates requests for UpdateGenaiCodeLibrary 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 NewUpdateGenaiExperimentRequest added in v0.21.0

func NewUpdateGenaiExperimentRequest(server string, instance string, experimentId string, body UpdateGenaiExperimentJSONRequestBody) (*http.Request, error)

NewUpdateGenaiExperimentRequest calls the generic UpdateGenaiExperiment builder with application/json body

func NewUpdateGenaiExperimentRequestWithBody added in v0.21.0

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

NewUpdateGenaiExperimentRequestWithBody generates requests for UpdateGenaiExperiment 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 NewUpdateGenaiProjectRequest added in v0.21.0

func NewUpdateGenaiProjectRequest(server string, instance string, projectId string, body UpdateGenaiProjectJSONRequestBody) (*http.Request, error)

NewUpdateGenaiProjectRequest calls the generic UpdateGenaiProject builder with application/json body

func NewUpdateGenaiProjectRequestWithBody added in v0.21.0

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

NewUpdateGenaiProjectRequestWithBody generates requests for UpdateGenaiProject 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 NewUpdateGenaiWebhookRequest added in v0.17.0

func NewUpdateGenaiWebhookRequest(server string, instance string, webhookId string, body UpdateGenaiWebhookJSONRequestBody) (*http.Request, error)

NewUpdateGenaiWebhookRequest calls the generic UpdateGenaiWebhook builder with application/json body

func NewUpdateGenaiWebhookRequestWithBody added in v0.17.0

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

NewUpdateGenaiWebhookRequestWithBody generates requests for UpdateGenaiWebhook 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 NewUpdateLogblocksByIdRequest added in v0.21.0

func NewUpdateLogblocksByIdRequest(server string, instance string, id string, body UpdateLogblocksByIdJSONRequestBody) (*http.Request, error)

NewUpdateLogblocksByIdRequest calls the generic UpdateLogblocksById builder with application/json body

func NewUpdateLogblocksByIdRequestWithBody added in v0.21.0

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

NewUpdateLogblocksByIdRequestWithBody generates requests for UpdateLogblocksById 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

func NewUpdateTraceSamplingRulesByIdRequest added in v0.21.0

func NewUpdateTraceSamplingRulesByIdRequest(server string, instance string, id string, body UpdateTraceSamplingRulesByIdJSONRequestBody) (*http.Request, error)

NewUpdateTraceSamplingRulesByIdRequest calls the generic UpdateTraceSamplingRulesById builder with application/json body

func NewUpdateTraceSamplingRulesByIdRequestWithBody added in v0.21.0

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

NewUpdateTraceSamplingRulesByIdRequestWithBody generates requests for UpdateTraceSamplingRulesById with any type of body

func NewValidateGenaiEvaluatorRequest added in v0.18.0

func NewValidateGenaiEvaluatorRequest(server string, instance string, body ValidateGenaiEvaluatorJSONRequestBody) (*http.Request, error)

NewValidateGenaiEvaluatorRequest calls the generic ValidateGenaiEvaluator builder with application/json body

func NewValidateGenaiEvaluatorRequestWithBody added in v0.18.0

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

NewValidateGenaiEvaluatorRequestWithBody generates requests for ValidateGenaiEvaluator with any type of body

Types

type AddGenaiExperimentFeedbackJSONRequestBody added in v0.21.0

type AddGenaiExperimentFeedbackJSONRequestBody = ExperimentFeedbackRequest

AddGenaiExperimentFeedbackJSONRequestBody defines body for AddGenaiExperimentFeedback for application/json ContentType.

type AddGenaiExperimentFeedbackResponse added in v0.21.0

type AddGenaiExperimentFeedbackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ExperimentFeedbackResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseAddGenaiExperimentFeedbackResponse added in v0.21.0

func ParseAddGenaiExperimentFeedbackResponse(rsp *http.Response) (*AddGenaiExperimentFeedbackResponse, error)

ParseAddGenaiExperimentFeedbackResponse parses an HTTP response from a AddGenaiExperimentFeedbackWithResponse call

func (AddGenaiExperimentFeedbackResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (AddGenaiExperimentFeedbackResponse) StatusCode added in v0.21.0

func (r AddGenaiExperimentFeedbackResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AnonymousType1

type AnonymousType1 = map[string]interface{}

AnonymousType1 defines model for AnonymousType1.

type AnonymousType2

type AnonymousType2 = map[string]interface{}

AnonymousType2 defines model for AnonymousType2.

type AnonymousType3

type AnonymousType3 = map[string]interface{}

AnonymousType3 defines model for AnonymousType3.

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 AzureMetricsIntegration added in v0.17.0

type AzureMetricsIntegration struct {
	ClientId          *string   `json:"clientId,omitempty"`
	ClientSecret      *string   `json:"clientSecret,omitempty"`
	ResourceGroups    *[]string `json:"resourceGroups,omitempty"`
	ResourceNameRegex *string   `json:"resourceNameRegex,omitempty"`

	// ServiceFilters ServiceFilters selects which Azure services to collect, grouped so each
	// group can carry its own tag filters. Empty means the defaults.
	ServiceFilters *[]AzureServiceFilter `json:"serviceFilters,omitempty"`
	SubscriptionId *string               `json:"subscriptionId,omitempty"`

	// SubscriptionName SubscriptionName is the human-readable identifier shown in the UI list of
	// configured subscriptions. Required.
	SubscriptionName *string `json:"subscriptionName,omitempty"`
	TenantId         *string `json:"tenantId,omitempty"`
}

AzureMetricsIntegration AzureMetricsIntegration is the API-facing config for an Azure Monitor metric pull integration. One record is one Azure subscription.

ClientSecret is write-only: it is accepted on create and update but never returned in plaintext (a mask is returned instead).

type AzureMetricsIntegrationWrapper added in v0.17.0

type AzureMetricsIntegrationWrapper struct {
	// AzureMetricsIntegration AzureMetricsIntegration is the API-facing config for an Azure Monitor metric
	// pull integration. One record is one Azure subscription.
	//
	// ClientSecret is write-only: it is accepted on create and update but never
	// returned in plaintext (a mask is returned instead).
	AzureMetricsIntegration *AzureMetricsIntegration `json:"azureMetricsIntegration,omitempty"`
}

AzureMetricsIntegrationWrapper defines model for AzureMetricsIntegrationWrapper.

type AzureServiceFilter added in v0.17.0

type AzureServiceFilter struct {
	ServiceIds *[]string          `json:"serviceIds,omitempty"`
	Tags       *map[string]string `json:"tags,omitempty"`
}

AzureServiceFilter AzureServiceFilter is one group of services plus the tags that narrow it. Tags are include-only: a resource must carry every tag listed.

type BackfillAlsoRun added in v0.18.0

type BackfillAlsoRun struct {
	Id   string `json:"id"`
	Name string `json:"name"`

	// ReadBy ReadBy names the evaluators of the run that read this
	// one's scores.
	ReadBy *[]string `json:"readBy"`
}

BackfillAlsoRun AlsoRun is an evaluator a backfill runs because a chosen one reads its scores.

type BackfillRequest added in v0.18.0

type BackfillRequest struct {
	// BucketSeconds Bucket width in seconds. How often the run publishes
	// what it read, which is the denominator's unit. The
	// charts read each result's own time and pick their own
	// step, so this is not their resolution.
	BucketSeconds *int `json:"bucketSeconds,omitempty"`
	EndTime       int  `json:"endTime"`

	// EvaluatorIds Evaluation rule ids. A signal authored through the
	// drafting flow is a rule like any other, so it needs no
	// separate list.
	EvaluatorIds *[]string `json:"evaluatorIds"`

	// Filters Extra span filters, in the same shape the trace APIs
	// take. Passed through untouched.
	Filters interface{} `json:"filters,omitempty"`
	Name    string      `json:"name"`

	// SampleRate Fraction of spans to read, 0 < rate <= 1.
	SampleRate *float32 `json:"sampleRate,omitempty"`

	// StartTime Microseconds, matching every other trace API here.
	StartTime int `json:"startTime"`
}

BackfillRequest Request is what the caller asks for.

type BackfillRun added in v0.18.0

type BackfillRun struct {
	// AlsoRuns AlsoRuns are the evaluators the run adds because a chosen
	// one reads their scores. Only the create answer carries
	// them.
	AlsoRuns *[]BackfillAlsoRun `json:"alsoRuns,omitempty"`

	// Config Request is what the caller asks for.
	Config    BackfillRequest `json:"config"`
	CreatedAt string          `json:"createdAt"`
	Error     *string         `json:"error,omitempty"`
	Id        string          `json:"id"`
	Status    string          `json:"status"`

	// TotalBuckets TotalBuckets is what the run has to get through, derived
	// from the window and the bucket width. The page pairs it
	// with the batch markers it can see to show progress.
	TotalBuckets int    `json:"totalBuckets"`
	UpdatedAt    string `json:"updatedAt"`
}

BackfillRun BackfillRun is one backfill run, as the list, the detail page and the create, cancel and get routes return it.

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 CancelGenaiBackfillResponse added in v0.18.0

type CancelGenaiBackfillResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BackfillRun
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCancelGenaiBackfillResponse added in v0.18.0

func ParseCancelGenaiBackfillResponse(rsp *http.Response) (*CancelGenaiBackfillResponse, error)

ParseCancelGenaiBackfillResponse parses an HTTP response from a CancelGenaiBackfillWithResponse call

func (CancelGenaiBackfillResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (CancelGenaiBackfillResponse) StatusCode added in v0.18.0

func (r CancelGenaiBackfillResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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) AddGenaiExperimentFeedback added in v0.21.0

func (c *Client) AddGenaiExperimentFeedback(ctx context.Context, instance string, experimentId string, body AddGenaiExperimentFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AddGenaiExperimentFeedbackWithBody added in v0.21.0

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

func (*Client) CancelGenaiBackfill added in v0.18.0

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

func (*Client) CompareGenaiExperiments added in v0.21.0

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

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) CreateGenaiBackfill added in v0.18.0

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

func (*Client) CreateGenaiBackfillWithBody added in v0.18.0

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

func (*Client) CreateGenaiCodeLibrary added in v0.18.0

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

func (*Client) CreateGenaiCodeLibraryWithBody added in v0.18.0

func (c *Client) CreateGenaiCodeLibraryWithBody(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, params *CreateGenaiDatasetParams, body CreateGenaiDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGenaiDatasetItem added in v0.14.0

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

func (*Client) CreateGenaiDatasetItemWithBody added in v0.14.0

func (c *Client) CreateGenaiDatasetItemWithBody(ctx context.Context, instance string, params *CreateGenaiDatasetItemParams, 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, params *CreateGenaiDatasetParams, 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) CreateGenaiProject added in v0.21.0

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

func (*Client) CreateGenaiProjectExperiment added in v0.21.0

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

func (*Client) CreateGenaiProjectExperimentWithBody added in v0.21.0

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

func (*Client) CreateGenaiProjectWithBody added in v0.21.0

func (c *Client) CreateGenaiProjectWithBody(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) CreateGenaiWebhook added in v0.17.0

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

func (*Client) CreateGenaiWebhookWithBody added in v0.17.0

func (c *Client) CreateGenaiWebhookWithBody(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) CreateLogblocks added in v0.21.0

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

func (*Client) CreateLogblocksWithBody added in v0.21.0

func (c *Client) CreateLogblocksWithBody(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, params *CreateLogmetricsParams, body CreateLogmetricsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateLogmetricsWithBody

func (c *Client) CreateLogmetricsWithBody(ctx context.Context, instance string, params *CreateLogmetricsParams, 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) CreateTraceSamplingRules added in v0.21.0

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

func (*Client) CreateTraceSamplingRulesWithBody added in v0.21.0

func (c *Client) CreateTraceSamplingRulesWithBody(ctx context.Context, instance string, contentType string, body io.Reader, 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) DeleteGenaiBackfill added in v0.18.0

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

func (*Client) DeleteGenaiCodeLibrary added in v0.18.0

func (c *Client) DeleteGenaiCodeLibrary(ctx context.Context, instance string, libraryId 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, params *DeleteGenaiDatasetParams, 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, params *DeleteGenaiDatasetScheduleParams, 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) DeleteGenaiExperiment added in v0.21.0

func (c *Client) DeleteGenaiExperiment(ctx context.Context, instance string, experimentId 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) DeleteGenaiProject added in v0.21.0

func (c *Client) DeleteGenaiProject(ctx context.Context, instance string, projectId 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) DeleteGenaiWebhook added in v0.17.0

func (c *Client) DeleteGenaiWebhook(ctx context.Context, instance string, webhookId string, 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) DeleteLogblocksById added in v0.21.0

func (c *Client) DeleteLogblocksById(ctx context.Context, instance string, id 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) DeleteTraceSamplingRulesById added in v0.21.0

func (c *Client) DeleteTraceSamplingRulesById(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) GetGenaiBackfill added in v0.18.0

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

func (*Client) GetGenaiCodeEvalLibrary added in v0.18.0

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

func (*Client) GetGenaiCodeEvalLibraryFile added in v0.18.0

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

func (*Client) GetGenaiCodeLibrary added in v0.18.0

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

func (*Client) GetGenaiCodeLibraryVersion added in v0.18.0

func (c *Client) GetGenaiCodeLibraryVersion(ctx context.Context, instance string, libraryId string, version int, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGenaiDataset added in v0.14.0

func (c *Client) GetGenaiDataset(ctx context.Context, instance string, datasetName string, params *GetGenaiDatasetParams, 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, params *GetGenaiDatasetScheduleParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGenaiEvaluationRule added in v0.18.0

func (c *Client) GetGenaiEvaluationRule(ctx context.Context, instance string, ruleId 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) GetGenaiExperiment added in v0.21.0

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

func (*Client) GetGenaiExperimentSummary added in v0.21.0

func (c *Client) GetGenaiExperimentSummary(ctx context.Context, instance string, experimentId string, params *GetGenaiExperimentSummaryParams, 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) GetGenaiProject added in v0.21.0

func (c *Client) GetGenaiProject(ctx context.Context, instance string, projectId 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) GetGenaiWebhook added in v0.17.0

func (c *Client) GetGenaiWebhook(ctx context.Context, instance string, webhookId 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) GetLogblocksById added in v0.21.0

func (c *Client) GetLogblocksById(ctx context.Context, instance string, id string, 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) GetTraceSamplingRulesById added in v0.21.0

func (c *Client) GetTraceSamplingRulesById(ctx context.Context, instance string, id string, 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) ImportPrometheusMetricsForJobWithBody added in v0.18.0

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

func (*Client) ImportPrometheusMetricsForJobWithTextBody added in v0.18.0

func (c *Client) ImportPrometheusMetricsForJobWithTextBody(ctx context.Context, job string, params *ImportPrometheusMetricsForJobParams, body ImportPrometheusMetricsForJobTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ImportPrometheusMetricsWithBody added in v0.18.0

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

func (*Client) ImportPrometheusMetricsWithTextBody added in v0.18.0

func (c *Client) ImportPrometheusMetricsWithTextBody(ctx context.Context, params *ImportPrometheusMetricsParams, body ImportPrometheusMetricsTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) InsertGenaiExperimentRows added in v0.21.0

func (c *Client) InsertGenaiExperimentRows(ctx context.Context, instance string, experimentId string, body InsertGenaiExperimentRowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) InsertGenaiExperimentRowsWithBody added in v0.21.0

func (c *Client) InsertGenaiExperimentRowsWithBody(ctx context.Context, instance string, experimentId string, contentType string, body io.Reader, 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) ListGenaiBackfills added in v0.18.0

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

func (*Client) ListGenaiCodeEvalLibraryFiles added in v0.18.0

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

func (*Client) ListGenaiCodeEvalStarters added in v0.18.0

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

func (*Client) ListGenaiCodeLibraries added in v0.18.0

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

func (*Client) ListGenaiCodeLibraryVersions added in v0.18.0

func (c *Client) ListGenaiCodeLibraryVersions(ctx context.Context, instance string, libraryId 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) ListGenaiExperimentRows added in v0.21.0

func (c *Client) ListGenaiExperimentRows(ctx context.Context, instance string, experimentId string, params *ListGenaiExperimentRowsParams, 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) ListGenaiProjectExperiments added in v0.21.0

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

func (*Client) ListGenaiProjects added in v0.21.0

func (c *Client) ListGenaiProjects(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) ListGenaiWebhooks added in v0.17.0

func (c *Client) ListGenaiWebhooks(ctx context.Context, instance string, 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) ListLogblocks added in v0.21.0

func (c *Client) ListLogblocks(ctx context.Context, instance string, 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) ListTraceQLTagValues added in v0.21.0

func (c *Client) ListTraceQLTagValues(ctx context.Context, instance string, tagName string, params *ListTraceQLTagValuesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListTraceQLTags added in v0.21.0

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

func (*Client) ListTraceSamplingRules added in v0.21.0

func (c *Client) ListTraceSamplingRules(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) QueryTraceQLMetricsRange added in v0.21.0

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

func (*Client) RenameGenaiDataset added in v0.17.0

func (c *Client) RenameGenaiDataset(ctx context.Context, instance string, datasetName string, params *RenameGenaiDatasetParams, body RenameGenaiDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RenameGenaiDatasetFolder added in v0.17.0

func (c *Client) RenameGenaiDatasetFolder(ctx context.Context, instance string, params *RenameGenaiDatasetFolderParams, body RenameGenaiDatasetFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RenameGenaiDatasetFolderWithBody added in v0.17.0

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

func (*Client) RenameGenaiDatasetWithBody added in v0.17.0

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

func (*Client) SearchTraceQL added in v0.21.0

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

func (*Client) SetDropRuleEnabled added in v0.21.0

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

func (*Client) SetDropRuleEnabledWithBody added in v0.21.0

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

func (*Client) SetGenaiDatasetSchedule added in v0.15.0

func (c *Client) SetGenaiDatasetSchedule(ctx context.Context, instance string, datasetName string, params *SetGenaiDatasetScheduleParams, 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, params *SetGenaiDatasetScheduleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetTraceSamplingRuleEnabled added in v0.21.0

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

func (*Client) SetTraceSamplingRuleEnabledWithBody added in v0.21.0

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

func (*Client) TestGenaiWebhook added in v0.17.0

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

func (*Client) TestGenaiWebhookWithBody added in v0.17.0

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

func (*Client) TestNotifier added in v0.17.0

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

func (*Client) TestRunGenaiEvaluator added in v0.18.0

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

func (*Client) TestRunGenaiEvaluatorWithBody added in v0.18.0

func (c *Client) TestRunGenaiEvaluatorWithBody(ctx context.Context, instance string, templateId 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) UpdateGenaiCodeLibrary added in v0.18.0

func (c *Client) UpdateGenaiCodeLibrary(ctx context.Context, instance string, libraryId string, body UpdateGenaiCodeLibraryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGenaiCodeLibraryWithBody added in v0.18.0

func (c *Client) UpdateGenaiCodeLibraryWithBody(ctx context.Context, instance string, libraryId 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) UpdateGenaiExperiment added in v0.21.0

func (c *Client) UpdateGenaiExperiment(ctx context.Context, instance string, experimentId string, body UpdateGenaiExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGenaiExperimentWithBody added in v0.21.0

func (c *Client) UpdateGenaiExperimentWithBody(ctx context.Context, instance string, experimentId 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) UpdateGenaiProject added in v0.21.0

func (c *Client) UpdateGenaiProject(ctx context.Context, instance string, projectId string, body UpdateGenaiProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGenaiProjectWithBody added in v0.21.0

func (c *Client) UpdateGenaiProjectWithBody(ctx context.Context, instance string, projectId 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) UpdateGenaiWebhook added in v0.17.0

func (c *Client) UpdateGenaiWebhook(ctx context.Context, instance string, webhookId string, body UpdateGenaiWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGenaiWebhookWithBody added in v0.17.0

func (c *Client) UpdateGenaiWebhookWithBody(ctx context.Context, instance string, webhookId string, 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) UpdateLogblocksById added in v0.21.0

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

func (*Client) UpdateLogblocksByIdWithBody added in v0.21.0

func (c *Client) UpdateLogblocksByIdWithBody(ctx context.Context, instance string, id 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)

func (*Client) UpdateTraceSamplingRulesById added in v0.21.0

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

func (*Client) UpdateTraceSamplingRulesByIdWithBody added in v0.21.0

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

func (*Client) ValidateGenaiEvaluator added in v0.18.0

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

func (*Client) ValidateGenaiEvaluatorWithBody added in v0.18.0

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

type ClientInterface

type ClientInterface interface {
	// ImportPrometheusMetricsWithBody request with any body
	ImportPrometheusMetricsWithBody(ctx context.Context, params *ImportPrometheusMetricsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ImportPrometheusMetricsWithTextBody(ctx context.Context, params *ImportPrometheusMetricsParams, body ImportPrometheusMetricsTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	ImportPrometheusMetricsForJobWithTextBody(ctx context.Context, job string, params *ImportPrometheusMetricsForJobParams, body ImportPrometheusMetricsForJobTextRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// 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)

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

	SetDropRuleEnabled(ctx context.Context, instance string, id string, body SetDropRuleEnabledJSONRequestBody, 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)

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

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

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

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

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

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

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

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

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

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

	UpdateGenaiCodeLibrary(ctx context.Context, instance string, libraryId string, body UpdateGenaiCodeLibraryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// GetGenaiCodeLibraryVersion request
	GetGenaiCodeLibraryVersion(ctx context.Context, instance string, libraryId string, version int, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	RenameGenaiDatasetFolder(ctx context.Context, instance string, params *RenameGenaiDatasetFolderParams, body RenameGenaiDatasetFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateGenaiDatasetItem(ctx context.Context, instance string, params *CreateGenaiDatasetItemParams, 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, params *CreateGenaiDatasetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

	RenameGenaiDataset(ctx context.Context, instance string, datasetName string, params *RenameGenaiDatasetParams, body RenameGenaiDatasetJSONRequestBody, 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, params *DeleteGenaiDatasetScheduleParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	SetGenaiDatasetSchedule(ctx context.Context, instance string, datasetName string, params *SetGenaiDatasetScheduleParams, 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)

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

	ValidateGenaiEvaluator(ctx context.Context, instance string, body ValidateGenaiEvaluatorJSONRequestBody, 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)

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

	TestRunGenaiEvaluator(ctx context.Context, instance string, templateId string, body TestRunGenaiEvaluatorJSONRequestBody, 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)

	// GetGenaiEvaluationRule request
	GetGenaiEvaluationRule(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)

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

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

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

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

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

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

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

	UpdateGenaiExperiment(ctx context.Context, instance string, experimentId string, body UpdateGenaiExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	AddGenaiExperimentFeedback(ctx context.Context, instance string, experimentId string, body AddGenaiExperimentFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListGenaiExperimentRows request
	ListGenaiExperimentRows(ctx context.Context, instance string, experimentId string, params *ListGenaiExperimentRowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	InsertGenaiExperimentRows(ctx context.Context, instance string, experimentId string, body InsertGenaiExperimentRowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGenaiExperimentSummary request
	GetGenaiExperimentSummary(ctx context.Context, instance string, experimentId string, params *GetGenaiExperimentSummaryParams, 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)

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

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

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

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

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

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

	UpdateGenaiProject(ctx context.Context, instance string, projectId string, body UpdateGenaiProjectJSONRequestBody, 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)

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

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

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

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

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

	// CancelGenaiBackfill request
	CancelGenaiBackfill(ctx context.Context, instance string, backfillId 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)

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

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

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

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

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

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

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

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

	UpdateGenaiWebhook(ctx context.Context, instance string, webhookId string, body UpdateGenaiWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

	UpdateLogblocksById(ctx context.Context, instance string, id string, body UpdateLogblocksByIdJSONRequestBody, 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, params *CreateLogmetricsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateLogmetrics(ctx context.Context, instance string, params *CreateLogmetricsParams, 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)

	// TestNotifier request
	TestNotifier(ctx context.Context, instance string, id string, 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)

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

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

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

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

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

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

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

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

	SetTraceSamplingRuleEnabled(ctx context.Context, instance string, id string, body SetTraceSamplingRuleEnabledJSONRequestBody, 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)

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

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

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

	// ListTraceQLTagValues request
	ListTraceQLTagValues(ctx context.Context, instance string, tagName string, params *ListTraceQLTagValuesParams, 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) AddGenaiExperimentFeedbackWithBodyWithResponse added in v0.21.0

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

AddGenaiExperimentFeedbackWithBodyWithResponse request with arbitrary body returning *AddGenaiExperimentFeedbackResponse

func (*ClientWithResponses) AddGenaiExperimentFeedbackWithResponse added in v0.21.0

func (c *ClientWithResponses) AddGenaiExperimentFeedbackWithResponse(ctx context.Context, instance string, experimentId string, body AddGenaiExperimentFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*AddGenaiExperimentFeedbackResponse, error)

func (*ClientWithResponses) CancelGenaiBackfillWithResponse added in v0.18.0

func (c *ClientWithResponses) CancelGenaiBackfillWithResponse(ctx context.Context, instance string, backfillId string, reqEditors ...RequestEditorFn) (*CancelGenaiBackfillResponse, error)

CancelGenaiBackfillWithResponse request returning *CancelGenaiBackfillResponse

func (*ClientWithResponses) CompareGenaiExperimentsWithResponse added in v0.21.0

func (c *ClientWithResponses) CompareGenaiExperimentsWithResponse(ctx context.Context, instance string, params *CompareGenaiExperimentsParams, reqEditors ...RequestEditorFn) (*CompareGenaiExperimentsResponse, error)

CompareGenaiExperimentsWithResponse request returning *CompareGenaiExperimentsResponse

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) CreateGenaiBackfillWithBodyWithResponse added in v0.18.0

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

CreateGenaiBackfillWithBodyWithResponse request with arbitrary body returning *CreateGenaiBackfillResponse

func (*ClientWithResponses) CreateGenaiBackfillWithResponse added in v0.18.0

func (c *ClientWithResponses) CreateGenaiBackfillWithResponse(ctx context.Context, instance string, body CreateGenaiBackfillJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiBackfillResponse, error)

func (*ClientWithResponses) CreateGenaiCodeLibraryWithBodyWithResponse added in v0.18.0

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

CreateGenaiCodeLibraryWithBodyWithResponse request with arbitrary body returning *CreateGenaiCodeLibraryResponse

func (*ClientWithResponses) CreateGenaiCodeLibraryWithResponse added in v0.18.0

func (c *ClientWithResponses) CreateGenaiCodeLibraryWithResponse(ctx context.Context, instance string, body CreateGenaiCodeLibraryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiCodeLibraryResponse, error)

func (*ClientWithResponses) CreateGenaiDatasetItemWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiDatasetItemWithBodyWithResponse(ctx context.Context, instance string, params *CreateGenaiDatasetItemParams, 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, params *CreateGenaiDatasetItemParams, body CreateGenaiDatasetItemJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiDatasetItemResponse, error)

func (*ClientWithResponses) CreateGenaiDatasetWithBodyWithResponse added in v0.14.0

func (c *ClientWithResponses) CreateGenaiDatasetWithBodyWithResponse(ctx context.Context, instance string, params *CreateGenaiDatasetParams, 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, params *CreateGenaiDatasetParams, 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) CreateGenaiProjectExperimentWithBodyWithResponse added in v0.21.0

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

CreateGenaiProjectExperimentWithBodyWithResponse request with arbitrary body returning *CreateGenaiProjectExperimentResponse

func (*ClientWithResponses) CreateGenaiProjectExperimentWithResponse added in v0.21.0

func (c *ClientWithResponses) CreateGenaiProjectExperimentWithResponse(ctx context.Context, instance string, body CreateGenaiProjectExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiProjectExperimentResponse, error)

func (*ClientWithResponses) CreateGenaiProjectWithBodyWithResponse added in v0.21.0

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

CreateGenaiProjectWithBodyWithResponse request with arbitrary body returning *CreateGenaiProjectResponse

func (*ClientWithResponses) CreateGenaiProjectWithResponse added in v0.21.0

func (c *ClientWithResponses) CreateGenaiProjectWithResponse(ctx context.Context, instance string, body CreateGenaiProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiProjectResponse, 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) CreateGenaiWebhookWithBodyWithResponse added in v0.17.0

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

CreateGenaiWebhookWithBodyWithResponse request with arbitrary body returning *CreateGenaiWebhookResponse

func (*ClientWithResponses) CreateGenaiWebhookWithResponse added in v0.17.0

func (c *ClientWithResponses) CreateGenaiWebhookWithResponse(ctx context.Context, instance string, body CreateGenaiWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiWebhookResponse, 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) CreateLogblocksWithBodyWithResponse added in v0.21.0

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

CreateLogblocksWithBodyWithResponse request with arbitrary body returning *CreateLogblocksResponse

func (*ClientWithResponses) CreateLogblocksWithResponse added in v0.21.0

func (c *ClientWithResponses) CreateLogblocksWithResponse(ctx context.Context, instance string, body CreateLogblocksJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLogblocksResponse, error)

func (*ClientWithResponses) CreateLogmetricsWithBodyWithResponse

func (c *ClientWithResponses) CreateLogmetricsWithBodyWithResponse(ctx context.Context, instance string, params *CreateLogmetricsParams, 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, params *CreateLogmetricsParams, 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) CreateTraceSamplingRulesWithBodyWithResponse added in v0.21.0

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

CreateTraceSamplingRulesWithBodyWithResponse request with arbitrary body returning *CreateTraceSamplingRulesResponse

func (*ClientWithResponses) CreateTraceSamplingRulesWithResponse added in v0.21.0

func (c *ClientWithResponses) CreateTraceSamplingRulesWithResponse(ctx context.Context, instance string, body CreateTraceSamplingRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTraceSamplingRulesResponse, error)

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) DeleteGenaiBackfillWithResponse added in v0.18.0

func (c *ClientWithResponses) DeleteGenaiBackfillWithResponse(ctx context.Context, instance string, backfillId string, reqEditors ...RequestEditorFn) (*DeleteGenaiBackfillResponse, error)

DeleteGenaiBackfillWithResponse request returning *DeleteGenaiBackfillResponse

func (*ClientWithResponses) DeleteGenaiCodeLibraryWithResponse added in v0.18.0

func (c *ClientWithResponses) DeleteGenaiCodeLibraryWithResponse(ctx context.Context, instance string, libraryId string, reqEditors ...RequestEditorFn) (*DeleteGenaiCodeLibraryResponse, error)

DeleteGenaiCodeLibraryWithResponse request returning *DeleteGenaiCodeLibraryResponse

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, params *DeleteGenaiDatasetScheduleParams, 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, params *DeleteGenaiDatasetParams, 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) DeleteGenaiExperimentWithResponse added in v0.21.0

func (c *ClientWithResponses) DeleteGenaiExperimentWithResponse(ctx context.Context, instance string, experimentId string, reqEditors ...RequestEditorFn) (*DeleteGenaiExperimentResponse, error)

DeleteGenaiExperimentWithResponse request returning *DeleteGenaiExperimentResponse

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) DeleteGenaiProjectWithResponse added in v0.21.0

func (c *ClientWithResponses) DeleteGenaiProjectWithResponse(ctx context.Context, instance string, projectId string, reqEditors ...RequestEditorFn) (*DeleteGenaiProjectResponse, error)

DeleteGenaiProjectWithResponse request returning *DeleteGenaiProjectResponse

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) DeleteGenaiWebhookWithResponse added in v0.17.0

func (c *ClientWithResponses) DeleteGenaiWebhookWithResponse(ctx context.Context, instance string, webhookId string, reqEditors ...RequestEditorFn) (*DeleteGenaiWebhookResponse, error)

DeleteGenaiWebhookWithResponse request returning *DeleteGenaiWebhookResponse

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) DeleteLogblocksByIdWithResponse added in v0.21.0

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

DeleteLogblocksByIdWithResponse request returning *DeleteLogblocksByIdResponse

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) DeleteTraceSamplingRulesByIdWithResponse added in v0.21.0

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

DeleteTraceSamplingRulesByIdWithResponse request returning *DeleteTraceSamplingRulesByIdResponse

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) GetGenaiBackfillWithResponse added in v0.18.0

func (c *ClientWithResponses) GetGenaiBackfillWithResponse(ctx context.Context, instance string, backfillId string, reqEditors ...RequestEditorFn) (*GetGenaiBackfillResponse, error)

GetGenaiBackfillWithResponse request returning *GetGenaiBackfillResponse

func (*ClientWithResponses) GetGenaiCodeEvalLibraryFileWithResponse added in v0.18.0

func (c *ClientWithResponses) GetGenaiCodeEvalLibraryFileWithResponse(ctx context.Context, instance string, path string, reqEditors ...RequestEditorFn) (*GetGenaiCodeEvalLibraryFileResponse, error)

GetGenaiCodeEvalLibraryFileWithResponse request returning *GetGenaiCodeEvalLibraryFileResponse

func (*ClientWithResponses) GetGenaiCodeEvalLibraryWithResponse added in v0.18.0

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

GetGenaiCodeEvalLibraryWithResponse request returning *GetGenaiCodeEvalLibraryResponse

func (*ClientWithResponses) GetGenaiCodeLibraryVersionWithResponse added in v0.18.0

func (c *ClientWithResponses) GetGenaiCodeLibraryVersionWithResponse(ctx context.Context, instance string, libraryId string, version int, reqEditors ...RequestEditorFn) (*GetGenaiCodeLibraryVersionResponse, error)

GetGenaiCodeLibraryVersionWithResponse request returning *GetGenaiCodeLibraryVersionResponse

func (*ClientWithResponses) GetGenaiCodeLibraryWithResponse added in v0.18.0

func (c *ClientWithResponses) GetGenaiCodeLibraryWithResponse(ctx context.Context, instance string, libraryId string, reqEditors ...RequestEditorFn) (*GetGenaiCodeLibraryResponse, error)

GetGenaiCodeLibraryWithResponse request returning *GetGenaiCodeLibraryResponse

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, params *GetGenaiDatasetScheduleParams, 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, params *GetGenaiDatasetParams, reqEditors ...RequestEditorFn) (*GetGenaiDatasetResponse, error)

GetGenaiDatasetWithResponse request returning *GetGenaiDatasetResponse

func (*ClientWithResponses) GetGenaiEvaluationRuleWithResponse added in v0.18.0

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

GetGenaiEvaluationRuleWithResponse request returning *GetGenaiEvaluationRuleResponse

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) GetGenaiExperimentSummaryWithResponse added in v0.21.0

func (c *ClientWithResponses) GetGenaiExperimentSummaryWithResponse(ctx context.Context, instance string, experimentId string, params *GetGenaiExperimentSummaryParams, reqEditors ...RequestEditorFn) (*GetGenaiExperimentSummaryResponse, error)

GetGenaiExperimentSummaryWithResponse request returning *GetGenaiExperimentSummaryResponse

func (*ClientWithResponses) GetGenaiExperimentWithResponse added in v0.21.0

func (c *ClientWithResponses) GetGenaiExperimentWithResponse(ctx context.Context, instance string, experimentId string, reqEditors ...RequestEditorFn) (*GetGenaiExperimentResponse, error)

GetGenaiExperimentWithResponse request returning *GetGenaiExperimentResponse

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) GetGenaiProjectWithResponse added in v0.21.0

func (c *ClientWithResponses) GetGenaiProjectWithResponse(ctx context.Context, instance string, projectId string, reqEditors ...RequestEditorFn) (*GetGenaiProjectResponse, error)

GetGenaiProjectWithResponse request returning *GetGenaiProjectResponse

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) GetGenaiWebhookWithResponse added in v0.17.0

func (c *ClientWithResponses) GetGenaiWebhookWithResponse(ctx context.Context, instance string, webhookId string, reqEditors ...RequestEditorFn) (*GetGenaiWebhookResponse, error)

GetGenaiWebhookWithResponse request returning *GetGenaiWebhookResponse

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) GetLogblocksByIdWithResponse added in v0.21.0

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

GetLogblocksByIdWithResponse request returning *GetLogblocksByIdResponse

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) GetTraceSamplingRulesByIdWithResponse added in v0.21.0

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

GetTraceSamplingRulesByIdWithResponse request returning *GetTraceSamplingRulesByIdResponse

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) ImportPrometheusMetricsForJobWithBodyWithResponse added in v0.18.0

func (c *ClientWithResponses) ImportPrometheusMetricsForJobWithBodyWithResponse(ctx context.Context, job string, params *ImportPrometheusMetricsForJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportPrometheusMetricsForJobResponse, error)

ImportPrometheusMetricsForJobWithBodyWithResponse request with arbitrary body returning *ImportPrometheusMetricsForJobResponse

func (*ClientWithResponses) ImportPrometheusMetricsForJobWithTextBodyWithResponse added in v0.18.0

func (c *ClientWithResponses) ImportPrometheusMetricsForJobWithTextBodyWithResponse(ctx context.Context, job string, params *ImportPrometheusMetricsForJobParams, body ImportPrometheusMetricsForJobTextRequestBody, reqEditors ...RequestEditorFn) (*ImportPrometheusMetricsForJobResponse, error)

func (*ClientWithResponses) ImportPrometheusMetricsWithBodyWithResponse added in v0.18.0

func (c *ClientWithResponses) ImportPrometheusMetricsWithBodyWithResponse(ctx context.Context, params *ImportPrometheusMetricsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportPrometheusMetricsResponse, error)

ImportPrometheusMetricsWithBodyWithResponse request with arbitrary body returning *ImportPrometheusMetricsResponse

func (*ClientWithResponses) ImportPrometheusMetricsWithTextBodyWithResponse added in v0.18.0

func (c *ClientWithResponses) ImportPrometheusMetricsWithTextBodyWithResponse(ctx context.Context, params *ImportPrometheusMetricsParams, body ImportPrometheusMetricsTextRequestBody, reqEditors ...RequestEditorFn) (*ImportPrometheusMetricsResponse, error)

func (*ClientWithResponses) InsertGenaiExperimentRowsWithBodyWithResponse added in v0.21.0

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

InsertGenaiExperimentRowsWithBodyWithResponse request with arbitrary body returning *InsertGenaiExperimentRowsResponse

func (*ClientWithResponses) InsertGenaiExperimentRowsWithResponse added in v0.21.0

func (c *ClientWithResponses) InsertGenaiExperimentRowsWithResponse(ctx context.Context, instance string, experimentId string, body InsertGenaiExperimentRowsJSONRequestBody, reqEditors ...RequestEditorFn) (*InsertGenaiExperimentRowsResponse, error)

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) ListGenaiBackfillsWithResponse added in v0.18.0

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

ListGenaiBackfillsWithResponse request returning *ListGenaiBackfillsResponse

func (*ClientWithResponses) ListGenaiCodeEvalLibraryFilesWithResponse added in v0.18.0

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

ListGenaiCodeEvalLibraryFilesWithResponse request returning *ListGenaiCodeEvalLibraryFilesResponse

func (*ClientWithResponses) ListGenaiCodeEvalStartersWithResponse added in v0.18.0

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

ListGenaiCodeEvalStartersWithResponse request returning *ListGenaiCodeEvalStartersResponse

func (*ClientWithResponses) ListGenaiCodeLibrariesWithResponse added in v0.18.0

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

ListGenaiCodeLibrariesWithResponse request returning *ListGenaiCodeLibrariesResponse

func (*ClientWithResponses) ListGenaiCodeLibraryVersionsWithResponse added in v0.18.0

func (c *ClientWithResponses) ListGenaiCodeLibraryVersionsWithResponse(ctx context.Context, instance string, libraryId string, reqEditors ...RequestEditorFn) (*ListGenaiCodeLibraryVersionsResponse, error)

ListGenaiCodeLibraryVersionsWithResponse request returning *ListGenaiCodeLibraryVersionsResponse

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) ListGenaiExperimentRowsWithResponse added in v0.21.0

func (c *ClientWithResponses) ListGenaiExperimentRowsWithResponse(ctx context.Context, instance string, experimentId string, params *ListGenaiExperimentRowsParams, reqEditors ...RequestEditorFn) (*ListGenaiExperimentRowsResponse, error)

ListGenaiExperimentRowsWithResponse request returning *ListGenaiExperimentRowsResponse

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) ListGenaiProjectExperimentsWithResponse added in v0.21.0

func (c *ClientWithResponses) ListGenaiProjectExperimentsWithResponse(ctx context.Context, instance string, params *ListGenaiProjectExperimentsParams, reqEditors ...RequestEditorFn) (*ListGenaiProjectExperimentsResponse, error)

ListGenaiProjectExperimentsWithResponse request returning *ListGenaiProjectExperimentsResponse

func (*ClientWithResponses) ListGenaiProjectsWithResponse added in v0.21.0

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

ListGenaiProjectsWithResponse request returning *ListGenaiProjectsResponse

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) ListGenaiWebhooksWithResponse added in v0.17.0

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

ListGenaiWebhooksWithResponse request returning *ListGenaiWebhooksResponse

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) ListLogblocksWithResponse added in v0.21.0

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

ListLogblocksWithResponse request returning *ListLogblocksResponse

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) ListTraceQLTagValuesWithResponse added in v0.21.0

func (c *ClientWithResponses) ListTraceQLTagValuesWithResponse(ctx context.Context, instance string, tagName string, params *ListTraceQLTagValuesParams, reqEditors ...RequestEditorFn) (*ListTraceQLTagValuesResponse, error)

ListTraceQLTagValuesWithResponse request returning *ListTraceQLTagValuesResponse

func (*ClientWithResponses) ListTraceQLTagsWithResponse added in v0.21.0

func (c *ClientWithResponses) ListTraceQLTagsWithResponse(ctx context.Context, instance string, params *ListTraceQLTagsParams, reqEditors ...RequestEditorFn) (*ListTraceQLTagsResponse, error)

ListTraceQLTagsWithResponse request returning *ListTraceQLTagsResponse

func (*ClientWithResponses) ListTraceSamplingRulesWithResponse added in v0.21.0

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

ListTraceSamplingRulesWithResponse request returning *ListTraceSamplingRulesResponse

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) QueryTraceQLMetricsRangeWithResponse added in v0.21.0

func (c *ClientWithResponses) QueryTraceQLMetricsRangeWithResponse(ctx context.Context, instance string, params *QueryTraceQLMetricsRangeParams, reqEditors ...RequestEditorFn) (*QueryTraceQLMetricsRangeResponse, error)

QueryTraceQLMetricsRangeWithResponse request returning *QueryTraceQLMetricsRangeResponse

func (*ClientWithResponses) RenameGenaiDatasetFolderWithBodyWithResponse added in v0.17.0

func (c *ClientWithResponses) RenameGenaiDatasetFolderWithBodyWithResponse(ctx context.Context, instance string, params *RenameGenaiDatasetFolderParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameGenaiDatasetFolderResponse, error)

RenameGenaiDatasetFolderWithBodyWithResponse request with arbitrary body returning *RenameGenaiDatasetFolderResponse

func (*ClientWithResponses) RenameGenaiDatasetFolderWithResponse added in v0.17.0

func (*ClientWithResponses) RenameGenaiDatasetWithBodyWithResponse added in v0.17.0

func (c *ClientWithResponses) RenameGenaiDatasetWithBodyWithResponse(ctx context.Context, instance string, datasetName string, params *RenameGenaiDatasetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameGenaiDatasetResponse, error)

RenameGenaiDatasetWithBodyWithResponse request with arbitrary body returning *RenameGenaiDatasetResponse

func (*ClientWithResponses) RenameGenaiDatasetWithResponse added in v0.17.0

func (c *ClientWithResponses) RenameGenaiDatasetWithResponse(ctx context.Context, instance string, datasetName string, params *RenameGenaiDatasetParams, body RenameGenaiDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameGenaiDatasetResponse, error)

func (*ClientWithResponses) SearchTraceQLWithResponse added in v0.21.0

func (c *ClientWithResponses) SearchTraceQLWithResponse(ctx context.Context, instance string, params *SearchTraceQLParams, reqEditors ...RequestEditorFn) (*SearchTraceQLResponse, error)

SearchTraceQLWithResponse request returning *SearchTraceQLResponse

func (*ClientWithResponses) SetDropRuleEnabledWithBodyWithResponse added in v0.21.0

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

SetDropRuleEnabledWithBodyWithResponse request with arbitrary body returning *SetDropRuleEnabledResponse

func (*ClientWithResponses) SetDropRuleEnabledWithResponse added in v0.21.0

func (c *ClientWithResponses) SetDropRuleEnabledWithResponse(ctx context.Context, instance string, id string, body SetDropRuleEnabledJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDropRuleEnabledResponse, error)

func (*ClientWithResponses) SetGenaiDatasetScheduleWithBodyWithResponse added in v0.15.0

func (c *ClientWithResponses) SetGenaiDatasetScheduleWithBodyWithResponse(ctx context.Context, instance string, datasetName string, params *SetGenaiDatasetScheduleParams, 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, params *SetGenaiDatasetScheduleParams, body SetGenaiDatasetScheduleJSONRequestBody, reqEditors ...RequestEditorFn) (*SetGenaiDatasetScheduleResponse, error)

func (*ClientWithResponses) SetTraceSamplingRuleEnabledWithBodyWithResponse added in v0.21.0

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

SetTraceSamplingRuleEnabledWithBodyWithResponse request with arbitrary body returning *SetTraceSamplingRuleEnabledResponse

func (*ClientWithResponses) SetTraceSamplingRuleEnabledWithResponse added in v0.21.0

func (c *ClientWithResponses) SetTraceSamplingRuleEnabledWithResponse(ctx context.Context, instance string, id string, body SetTraceSamplingRuleEnabledJSONRequestBody, reqEditors ...RequestEditorFn) (*SetTraceSamplingRuleEnabledResponse, error)

func (*ClientWithResponses) TestGenaiWebhookWithBodyWithResponse added in v0.17.0

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

TestGenaiWebhookWithBodyWithResponse request with arbitrary body returning *TestGenaiWebhookResponse

func (*ClientWithResponses) TestGenaiWebhookWithResponse added in v0.17.0

func (c *ClientWithResponses) TestGenaiWebhookWithResponse(ctx context.Context, instance string, body TestGenaiWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*TestGenaiWebhookResponse, error)

func (*ClientWithResponses) TestNotifierWithResponse added in v0.17.0

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

TestNotifierWithResponse request returning *TestNotifierResponse

func (*ClientWithResponses) TestRunGenaiEvaluatorWithBodyWithResponse added in v0.18.0

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

TestRunGenaiEvaluatorWithBodyWithResponse request with arbitrary body returning *TestRunGenaiEvaluatorResponse

func (*ClientWithResponses) TestRunGenaiEvaluatorWithResponse added in v0.18.0

func (c *ClientWithResponses) TestRunGenaiEvaluatorWithResponse(ctx context.Context, instance string, templateId string, body TestRunGenaiEvaluatorJSONRequestBody, reqEditors ...RequestEditorFn) (*TestRunGenaiEvaluatorResponse, 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) UpdateGenaiCodeLibraryWithBodyWithResponse added in v0.18.0

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

UpdateGenaiCodeLibraryWithBodyWithResponse request with arbitrary body returning *UpdateGenaiCodeLibraryResponse

func (*ClientWithResponses) UpdateGenaiCodeLibraryWithResponse added in v0.18.0

func (c *ClientWithResponses) UpdateGenaiCodeLibraryWithResponse(ctx context.Context, instance string, libraryId string, body UpdateGenaiCodeLibraryJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiCodeLibraryResponse, 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) UpdateGenaiExperimentWithBodyWithResponse added in v0.21.0

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

UpdateGenaiExperimentWithBodyWithResponse request with arbitrary body returning *UpdateGenaiExperimentResponse

func (*ClientWithResponses) UpdateGenaiExperimentWithResponse added in v0.21.0

func (c *ClientWithResponses) UpdateGenaiExperimentWithResponse(ctx context.Context, instance string, experimentId string, body UpdateGenaiExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiExperimentResponse, 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) UpdateGenaiProjectWithBodyWithResponse added in v0.21.0

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

UpdateGenaiProjectWithBodyWithResponse request with arbitrary body returning *UpdateGenaiProjectResponse

func (*ClientWithResponses) UpdateGenaiProjectWithResponse added in v0.21.0

func (c *ClientWithResponses) UpdateGenaiProjectWithResponse(ctx context.Context, instance string, projectId string, body UpdateGenaiProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiProjectResponse, 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) UpdateGenaiWebhookWithBodyWithResponse added in v0.17.0

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

UpdateGenaiWebhookWithBodyWithResponse request with arbitrary body returning *UpdateGenaiWebhookResponse

func (*ClientWithResponses) UpdateGenaiWebhookWithResponse added in v0.17.0

func (c *ClientWithResponses) UpdateGenaiWebhookWithResponse(ctx context.Context, instance string, webhookId string, body UpdateGenaiWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiWebhookResponse, 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) UpdateLogblocksByIdWithBodyWithResponse added in v0.21.0

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

UpdateLogblocksByIdWithBodyWithResponse request with arbitrary body returning *UpdateLogblocksByIdResponse

func (*ClientWithResponses) UpdateLogblocksByIdWithResponse added in v0.21.0

func (c *ClientWithResponses) UpdateLogblocksByIdWithResponse(ctx context.Context, instance string, id string, body UpdateLogblocksByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLogblocksByIdResponse, 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)

func (*ClientWithResponses) UpdateTraceSamplingRulesByIdWithBodyWithResponse added in v0.21.0

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

UpdateTraceSamplingRulesByIdWithBodyWithResponse request with arbitrary body returning *UpdateTraceSamplingRulesByIdResponse

func (*ClientWithResponses) UpdateTraceSamplingRulesByIdWithResponse added in v0.21.0

func (c *ClientWithResponses) UpdateTraceSamplingRulesByIdWithResponse(ctx context.Context, instance string, id string, body UpdateTraceSamplingRulesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTraceSamplingRulesByIdResponse, error)

func (*ClientWithResponses) ValidateGenaiEvaluatorWithBodyWithResponse added in v0.18.0

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

ValidateGenaiEvaluatorWithBodyWithResponse request with arbitrary body returning *ValidateGenaiEvaluatorResponse

func (*ClientWithResponses) ValidateGenaiEvaluatorWithResponse added in v0.18.0

func (c *ClientWithResponses) ValidateGenaiEvaluatorWithResponse(ctx context.Context, instance string, body ValidateGenaiEvaluatorJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidateGenaiEvaluatorResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ImportPrometheusMetricsWithBodyWithResponse request with any body
	ImportPrometheusMetricsWithBodyWithResponse(ctx context.Context, params *ImportPrometheusMetricsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportPrometheusMetricsResponse, error)

	ImportPrometheusMetricsWithTextBodyWithResponse(ctx context.Context, params *ImportPrometheusMetricsParams, body ImportPrometheusMetricsTextRequestBody, reqEditors ...RequestEditorFn) (*ImportPrometheusMetricsResponse, error)

	// ImportPrometheusMetricsForJobWithBodyWithResponse request with any body
	ImportPrometheusMetricsForJobWithBodyWithResponse(ctx context.Context, job string, params *ImportPrometheusMetricsForJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportPrometheusMetricsForJobResponse, error)

	ImportPrometheusMetricsForJobWithTextBodyWithResponse(ctx context.Context, job string, params *ImportPrometheusMetricsForJobParams, body ImportPrometheusMetricsForJobTextRequestBody, reqEditors ...RequestEditorFn) (*ImportPrometheusMetricsForJobResponse, error)

	// 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)

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

	SetDropRuleEnabledWithResponse(ctx context.Context, instance string, id string, body SetDropRuleEnabledJSONRequestBody, reqEditors ...RequestEditorFn) (*SetDropRuleEnabledResponse, 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)

	// GetGenaiCodeEvalLibraryWithResponse request
	GetGenaiCodeEvalLibraryWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*GetGenaiCodeEvalLibraryResponse, error)

	// ListGenaiCodeEvalLibraryFilesWithResponse request
	ListGenaiCodeEvalLibraryFilesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListGenaiCodeEvalLibraryFilesResponse, error)

	// GetGenaiCodeEvalLibraryFileWithResponse request
	GetGenaiCodeEvalLibraryFileWithResponse(ctx context.Context, instance string, path string, reqEditors ...RequestEditorFn) (*GetGenaiCodeEvalLibraryFileResponse, error)

	// ListGenaiCodeEvalStartersWithResponse request
	ListGenaiCodeEvalStartersWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListGenaiCodeEvalStartersResponse, error)

	// ListGenaiCodeLibrariesWithResponse request
	ListGenaiCodeLibrariesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListGenaiCodeLibrariesResponse, error)

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

	CreateGenaiCodeLibraryWithResponse(ctx context.Context, instance string, body CreateGenaiCodeLibraryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiCodeLibraryResponse, error)

	// DeleteGenaiCodeLibraryWithResponse request
	DeleteGenaiCodeLibraryWithResponse(ctx context.Context, instance string, libraryId string, reqEditors ...RequestEditorFn) (*DeleteGenaiCodeLibraryResponse, error)

	// GetGenaiCodeLibraryWithResponse request
	GetGenaiCodeLibraryWithResponse(ctx context.Context, instance string, libraryId string, reqEditors ...RequestEditorFn) (*GetGenaiCodeLibraryResponse, error)

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

	UpdateGenaiCodeLibraryWithResponse(ctx context.Context, instance string, libraryId string, body UpdateGenaiCodeLibraryJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiCodeLibraryResponse, error)

	// ListGenaiCodeLibraryVersionsWithResponse request
	ListGenaiCodeLibraryVersionsWithResponse(ctx context.Context, instance string, libraryId string, reqEditors ...RequestEditorFn) (*ListGenaiCodeLibraryVersionsResponse, error)

	// GetGenaiCodeLibraryVersionWithResponse request
	GetGenaiCodeLibraryVersionWithResponse(ctx context.Context, instance string, libraryId string, version int, reqEditors ...RequestEditorFn) (*GetGenaiCodeLibraryVersionResponse, error)

	// RenameGenaiDatasetFolderWithBodyWithResponse request with any body
	RenameGenaiDatasetFolderWithBodyWithResponse(ctx context.Context, instance string, params *RenameGenaiDatasetFolderParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameGenaiDatasetFolderResponse, error)

	RenameGenaiDatasetFolderWithResponse(ctx context.Context, instance string, params *RenameGenaiDatasetFolderParams, body RenameGenaiDatasetFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameGenaiDatasetFolderResponse, error)

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

	CreateGenaiDatasetItemWithResponse(ctx context.Context, instance string, params *CreateGenaiDatasetItemParams, 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, params *CreateGenaiDatasetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGenaiDatasetResponse, error)

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

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

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

	// RenameGenaiDatasetWithBodyWithResponse request with any body
	RenameGenaiDatasetWithBodyWithResponse(ctx context.Context, instance string, datasetName string, params *RenameGenaiDatasetParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RenameGenaiDatasetResponse, error)

	RenameGenaiDatasetWithResponse(ctx context.Context, instance string, datasetName string, params *RenameGenaiDatasetParams, body RenameGenaiDatasetJSONRequestBody, reqEditors ...RequestEditorFn) (*RenameGenaiDatasetResponse, 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, params *DeleteGenaiDatasetScheduleParams, reqEditors ...RequestEditorFn) (*DeleteGenaiDatasetScheduleResponse, error)

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

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

	SetGenaiDatasetScheduleWithResponse(ctx context.Context, instance string, datasetName string, params *SetGenaiDatasetScheduleParams, 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)

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

	ValidateGenaiEvaluatorWithResponse(ctx context.Context, instance string, body ValidateGenaiEvaluatorJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidateGenaiEvaluatorResponse, 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)

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

	TestRunGenaiEvaluatorWithResponse(ctx context.Context, instance string, templateId string, body TestRunGenaiEvaluatorJSONRequestBody, reqEditors ...RequestEditorFn) (*TestRunGenaiEvaluatorResponse, 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)

	// GetGenaiEvaluationRuleWithResponse request
	GetGenaiEvaluationRuleWithResponse(ctx context.Context, instance string, ruleId string, reqEditors ...RequestEditorFn) (*GetGenaiEvaluationRuleResponse, 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)

	// CompareGenaiExperimentsWithResponse request
	CompareGenaiExperimentsWithResponse(ctx context.Context, instance string, params *CompareGenaiExperimentsParams, reqEditors ...RequestEditorFn) (*CompareGenaiExperimentsResponse, error)

	// ListGenaiProjectExperimentsWithResponse request
	ListGenaiProjectExperimentsWithResponse(ctx context.Context, instance string, params *ListGenaiProjectExperimentsParams, reqEditors ...RequestEditorFn) (*ListGenaiProjectExperimentsResponse, error)

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

	CreateGenaiProjectExperimentWithResponse(ctx context.Context, instance string, body CreateGenaiProjectExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiProjectExperimentResponse, error)

	// DeleteGenaiExperimentWithResponse request
	DeleteGenaiExperimentWithResponse(ctx context.Context, instance string, experimentId string, reqEditors ...RequestEditorFn) (*DeleteGenaiExperimentResponse, error)

	// GetGenaiExperimentWithResponse request
	GetGenaiExperimentWithResponse(ctx context.Context, instance string, experimentId string, reqEditors ...RequestEditorFn) (*GetGenaiExperimentResponse, error)

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

	UpdateGenaiExperimentWithResponse(ctx context.Context, instance string, experimentId string, body UpdateGenaiExperimentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiExperimentResponse, error)

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

	AddGenaiExperimentFeedbackWithResponse(ctx context.Context, instance string, experimentId string, body AddGenaiExperimentFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*AddGenaiExperimentFeedbackResponse, error)

	// ListGenaiExperimentRowsWithResponse request
	ListGenaiExperimentRowsWithResponse(ctx context.Context, instance string, experimentId string, params *ListGenaiExperimentRowsParams, reqEditors ...RequestEditorFn) (*ListGenaiExperimentRowsResponse, error)

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

	InsertGenaiExperimentRowsWithResponse(ctx context.Context, instance string, experimentId string, body InsertGenaiExperimentRowsJSONRequestBody, reqEditors ...RequestEditorFn) (*InsertGenaiExperimentRowsResponse, error)

	// GetGenaiExperimentSummaryWithResponse request
	GetGenaiExperimentSummaryWithResponse(ctx context.Context, instance string, experimentId string, params *GetGenaiExperimentSummaryParams, reqEditors ...RequestEditorFn) (*GetGenaiExperimentSummaryResponse, 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)

	// ListGenaiProjectsWithResponse request
	ListGenaiProjectsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListGenaiProjectsResponse, error)

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

	CreateGenaiProjectWithResponse(ctx context.Context, instance string, body CreateGenaiProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiProjectResponse, error)

	// DeleteGenaiProjectWithResponse request
	DeleteGenaiProjectWithResponse(ctx context.Context, instance string, projectId string, reqEditors ...RequestEditorFn) (*DeleteGenaiProjectResponse, error)

	// GetGenaiProjectWithResponse request
	GetGenaiProjectWithResponse(ctx context.Context, instance string, projectId string, reqEditors ...RequestEditorFn) (*GetGenaiProjectResponse, error)

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

	UpdateGenaiProjectWithResponse(ctx context.Context, instance string, projectId string, body UpdateGenaiProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiProjectResponse, 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)

	// ListGenaiBackfillsWithResponse request
	ListGenaiBackfillsWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListGenaiBackfillsResponse, error)

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

	CreateGenaiBackfillWithResponse(ctx context.Context, instance string, body CreateGenaiBackfillJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiBackfillResponse, error)

	// DeleteGenaiBackfillWithResponse request
	DeleteGenaiBackfillWithResponse(ctx context.Context, instance string, backfillId string, reqEditors ...RequestEditorFn) (*DeleteGenaiBackfillResponse, error)

	// GetGenaiBackfillWithResponse request
	GetGenaiBackfillWithResponse(ctx context.Context, instance string, backfillId string, reqEditors ...RequestEditorFn) (*GetGenaiBackfillResponse, error)

	// CancelGenaiBackfillWithResponse request
	CancelGenaiBackfillWithResponse(ctx context.Context, instance string, backfillId string, reqEditors ...RequestEditorFn) (*CancelGenaiBackfillResponse, 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)

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

	TestGenaiWebhookWithResponse(ctx context.Context, instance string, body TestGenaiWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*TestGenaiWebhookResponse, error)

	// ListGenaiWebhooksWithResponse request
	ListGenaiWebhooksWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListGenaiWebhooksResponse, error)

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

	CreateGenaiWebhookWithResponse(ctx context.Context, instance string, body CreateGenaiWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGenaiWebhookResponse, error)

	// DeleteGenaiWebhookWithResponse request
	DeleteGenaiWebhookWithResponse(ctx context.Context, instance string, webhookId string, reqEditors ...RequestEditorFn) (*DeleteGenaiWebhookResponse, error)

	// GetGenaiWebhookWithResponse request
	GetGenaiWebhookWithResponse(ctx context.Context, instance string, webhookId string, reqEditors ...RequestEditorFn) (*GetGenaiWebhookResponse, error)

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

	UpdateGenaiWebhookWithResponse(ctx context.Context, instance string, webhookId string, body UpdateGenaiWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGenaiWebhookResponse, error)

	// ListLogblocksWithResponse request
	ListLogblocksWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListLogblocksResponse, error)

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

	CreateLogblocksWithResponse(ctx context.Context, instance string, body CreateLogblocksJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLogblocksResponse, error)

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

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

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

	UpdateLogblocksByIdWithResponse(ctx context.Context, instance string, id string, body UpdateLogblocksByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLogblocksByIdResponse, error)

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

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

	CreateLogmetricsWithResponse(ctx context.Context, instance string, params *CreateLogmetricsParams, 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)

	// TestNotifierWithResponse request
	TestNotifierWithResponse(ctx context.Context, instance string, id string, reqEditors ...RequestEditorFn) (*TestNotifierResponse, 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)

	// ListTraceSamplingRulesWithResponse request
	ListTraceSamplingRulesWithResponse(ctx context.Context, instance string, reqEditors ...RequestEditorFn) (*ListTraceSamplingRulesResponse, error)

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

	CreateTraceSamplingRulesWithResponse(ctx context.Context, instance string, body CreateTraceSamplingRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTraceSamplingRulesResponse, error)

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

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

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

	UpdateTraceSamplingRulesByIdWithResponse(ctx context.Context, instance string, id string, body UpdateTraceSamplingRulesByIdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTraceSamplingRulesByIdResponse, error)

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

	SetTraceSamplingRuleEnabledWithResponse(ctx context.Context, instance string, id string, body SetTraceSamplingRuleEnabledJSONRequestBody, reqEditors ...RequestEditorFn) (*SetTraceSamplingRuleEnabledResponse, 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)

	// QueryTraceQLMetricsRangeWithResponse request
	QueryTraceQLMetricsRangeWithResponse(ctx context.Context, instance string, params *QueryTraceQLMetricsRangeParams, reqEditors ...RequestEditorFn) (*QueryTraceQLMetricsRangeResponse, error)

	// SearchTraceQLWithResponse request
	SearchTraceQLWithResponse(ctx context.Context, instance string, params *SearchTraceQLParams, reqEditors ...RequestEditorFn) (*SearchTraceQLResponse, error)

	// ListTraceQLTagsWithResponse request
	ListTraceQLTagsWithResponse(ctx context.Context, instance string, params *ListTraceQLTagsParams, reqEditors ...RequestEditorFn) (*ListTraceQLTagsResponse, error)

	// ListTraceQLTagValuesWithResponse request
	ListTraceQLTagValuesWithResponse(ctx context.Context, instance string, tagName string, params *ListTraceQLTagValuesParams, reqEditors ...RequestEditorFn) (*ListTraceQLTagValuesResponse, 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 CloudWatchDatasource added in v0.21.0

type CloudWatchDatasource struct {
	// AccountId AccountID is the AWS account ID. When RoleSource is AWS_INTEGRATION, it
	// comes from the AWS integration account and the request value is ignored.
	AccountId *string `json:"accountId,omitempty"`

	// AwsIntegrationId AWSIntegrationID is the ID of the AWS integration account whose role the
	// datasource uses. It is required when RoleSource is AWS_INTEGRATION.
	AwsIntegrationId *string `json:"awsIntegrationId,omitempty"`

	// CrossAccountObservability CrossAccountObservability records whether the new role was created with
	// the permissions that list the source accounts linked to a CloudWatch
	// cross-account observability monitoring account.
	CrossAccountObservability *bool `json:"crossAccountObservability,omitempty"`

	// CustomMetricsNamespaces CustomMetricsNamespaces are the custom CloudWatch namespaces that you can
	// query in addition to the AWS namespaces.
	CustomMetricsNamespaces *[]string `json:"customMetricsNamespaces,omitempty"`

	// DefaultRegion DefaultRegion is the AWS region that queries use when they do not set one.
	DefaultRegion string `json:"defaultRegion"`

	// ExternalId ExternalID is the external ID in the trust policy of the role. When
	// RoleSource is AWS_INTEGRATION, it comes from the AWS integration account.
	ExternalId *string `json:"externalId,omitempty"`

	// LaunchCFStackRegion LaunchCFStackRegion is the AWS region where the CloudFormation stack of a
	// new role was created.
	LaunchCFStackRegion *string `json:"launchCFStackRegion,omitempty"`

	// LogsAccess LogsAccess records whether the new role was created with CloudWatch Logs
	// read access.
	LogsAccess *bool `json:"logsAccess,omitempty"`

	// RoleArn RoleArn is the IAM role that Grafana assumes. When RoleSource is
	// AWS_INTEGRATION, it comes from the AWS integration account.
	RoleArn *string `json:"roleArn,omitempty"`

	// RoleSource RoleSource is AWS_INTEGRATION to use the IAM role of an AWS account that
	// the AWS integration connects, or NEW_ROLE to use a role created for this
	// datasource.
	RoleSource string `json:"roleSource"`
}

CloudWatchDatasource CloudWatchDatasource is a Grafana CloudWatch datasource that queries one AWS account through an IAM role in that account.

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 CockroachDBCloudIntegration added in v0.17.0

type CockroachDBCloudIntegration 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"`
	ClusterIds  *[]string `json:"clusterIds,omitempty"`
}

CockroachDBCloudIntegration CockroachDBCloudIntegration is the API-facing config for a CockroachDB Cloud integration. ApiKey is write-only: it is accepted on create/update but never returned in plaintext (a mask is returned instead).

type CockroachDBCloudIntegrationWrapper added in v0.17.0

type CockroachDBCloudIntegrationWrapper struct {
	// CrdbCloudIntegration CockroachDBCloudIntegration is the API-facing config for a CockroachDB Cloud
	// integration. ApiKey is write-only: it is accepted on create/update but never
	// returned in plaintext (a mask is returned instead).
	CrdbCloudIntegration *CockroachDBCloudIntegration `json:"crdbCloudIntegration,omitempty"`
}

CockroachDBCloudIntegrationWrapper defines model for CockroachDBCloudIntegrationWrapper.

type CodeEvalLibContextField added in v0.18.0

type CodeEvalLibContextField struct {
	Doc  *string `json:"doc,omitempty"`
	Path string  `json:"path"`
}

CodeEvalLibContextField CodeEvalLibContextField is one value the code reads from the evaluation context.

type CodeEvalLibFunction added in v0.18.0

type CodeEvalLibFunction struct {
	Doc *string `json:"doc,omitempty"`

	// File File and Line are where the function is defined, as a
	// path the `code-eval-library/files` route serves.
	File   *string             `json:"file,omitempty"`
	Line   *int                `json:"line,omitempty"`
	Name   string              `json:"name"`
	Params *[]CodeEvalLibParam `json:"params,omitempty"`

	// Scores Scores are the names of the scores the function returns.
	Scores    *[]string `json:"scores,omitempty"`
	Signature string    `json:"signature"`
	Summary   *string   `json:"summary,omitempty"`
}

CodeEvalLibFunction CodeEvalLibFunction is one function of a module.

type CodeEvalLibMethod added in v0.18.0

type CodeEvalLibMethod struct {
	Doc       *string `json:"doc,omitempty"`
	Name      string  `json:"name"`
	Signature string  `json:"signature"`
	Summary   *string `json:"summary,omitempty"`
}

CodeEvalLibMethod CodeEvalLibMethod is one public method of a runtime class.

type CodeEvalLibModule added in v0.18.0

type CodeEvalLibModule struct {
	Doc       *string                `json:"doc,omitempty"`
	Functions *[]CodeEvalLibFunction `json:"functions"`
	Name      string                 `json:"name"`
	Path      string                 `json:"path"`
}

CodeEvalLibModule CodeEvalLibModule is one module of the library.

type CodeEvalLibParam added in v0.18.0

type CodeEvalLibParam struct {
	Default *string `json:"default,omitempty"`
	Kind    string  `json:"kind"`
	Name    string  `json:"name"`
}

CodeEvalLibParam CodeEvalLibParam is one argument of a function.

type CodeEvalLibSymbol added in v0.18.0

type CodeEvalLibSymbol struct {
	Doc *string `json:"doc,omitempty"`

	// File File and Line are where the class is defined, as a path
	// the `code-eval-library/files` route serves.
	File *string `json:"file,omitempty"`
	Kind string  `json:"kind"`
	Line *int    `json:"line,omitempty"`

	// Methods Methods are the class's public methods.
	Methods   *[]CodeEvalLibMethod `json:"methods,omitempty"`
	Name      string               `json:"name"`
	Signature *string              `json:"signature,omitempty"`
}

CodeEvalLibSymbol CodeEvalLibSymbol is one runtime class or function.

type CodeEvalLibraryFileResponse added in v0.18.0

type CodeEvalLibraryFileResponse struct {
	Path   string `json:"path"`
	Source string `json:"source"`
}

CodeEvalLibraryFileResponse CodeEvalLibraryFileResponse is one file of the library.

type CodeEvalLibraryFilesResponse added in v0.18.0

type CodeEvalLibraryFilesResponse struct {
	Files *[]LibraryFile `json:"files"`
}

CodeEvalLibraryFilesResponse CodeEvalLibraryFilesResponse lists the Python files of the `oodle_eval` library, so the editor can open the code behind a function.

type CodeEvalLibraryResponse added in v0.18.0

type CodeEvalLibraryResponse struct {
	// Context Context lists what the code can read from `ctx`.
	Context *[]CodeEvalLibContextField `json:"context"`

	// Import Import is the import line a code evaluator starts with.
	Import  *string              `json:"import,omitempty"`
	Modules *[]CodeEvalLibModule `json:"modules"`
	Package string               `json:"package"`

	// Runtime Runtime lists the classes the code builds its result
	// from, such as Score and EvaluationResult.
	Runtime *[]CodeEvalLibSymbol `json:"runtime"`
	Version string               `json:"version"`
}

CodeEvalLibraryResponse CodeEvalLibraryResponse is the reference of the `oodle_eval` library that code evaluators import. The handler serves the generated `managed/codelib/manifest.json` as it is; these types describe that file for the API spec and the clients built from it.

type CodeEvalStarter added in v0.18.0

type CodeEvalStarter struct {
	// BuiltIn BuiltIn is true when the entry is also served as a
	// managed code check that runs with no code.
	BuiltIn     bool   `json:"builtIn"`
	Category    string `json:"category"`
	Description string `json:"description"`
	Id          string `json:"id"`
	Name        string `json:"name"`

	// Params Params are the settings the source reads from ctx.params.
	// For a built-in check, each name is a keyword argument of
	// the library function it calls.
	Params                *[]ParamSpec `json:"params,omitempty"`
	PrimaryHigherIsBetter *bool        `json:"primaryHigherIsBetter,omitempty"`

	// PrimaryScoreType PrimaryScoreType ("BOOLEAN" or "NUMERIC") and
	// PrimaryHigherIsBetter describe the first score the source
	// returns. A managed check takes its template-level type and
	// direction from them, so a check whose verdict is bad when
	// true (refused, degenerated) is not coloured the wrong way.
	PrimaryScoreType *string `json:"primaryScoreType,omitempty"`

	// SourceCode SourceCode is the Python to copy into a new code template.
	SourceCode string `json:"sourceCode"`
}

CodeEvalStarter CodeEvalStarter is one code evaluator starting point.

type CodeEvalTestRunRequest added in v0.18.0

type CodeEvalTestRunRequest struct {
	ConnectionId *string `json:"connectionId,omitempty"`
	EndTimeUs    *int    `json:"endTimeUs,omitempty"`

	// Experiment Experiment is a simulated experiment item, read by the
	// code as `ctx.experiment` (for example
	// `{"expected_output": ...}`).
	Experiment interface{} `json:"experiment,omitempty"`

	// Libraries Libraries are draft shared libraries, name to source.
	// Each one replaces the stored library of that name for
	// this run only, so a library edit can be tried before it
	// is saved.
	Libraries *map[string]string `json:"libraries,omitempty"`

	// LibraryPins LibraryPins are the pins of a draft. Omitted, the stored
	// template's pins apply.
	LibraryPins *map[string]int `json:"libraryPins,omitempty"`
	Model       *string         `json:"model,omitempty"`

	// ModelParams ModelParams is the rule's, so a judge is tried as it will
	// run: a TypeSafe rule's decision (question type, criteria,
	// threshold, confidence) rides here.
	ModelParams interface{} `json:"modelParams,omitempty"`

	// ParamSpecs ParamSpecs are the settings of a draft that is not
	// saved yet, so the form can test the settings it shows.
	ParamSpecs *[]ParamSpec `json:"paramSpecs,omitempty"`

	// Params Params are the values to run with, by setting name.
	// They are resolved against ParamSpecs, or against the
	// stored template's settings when ParamSpecs is omitted.
	Params *map[string]interface{} `json:"params,omitempty"`

	// Prompt Prompt runs an LLM judge instead of code. It needs
	// ConnectionID: the provider that scores it is the
	// customer's, so a draft is reviewed against the model it
	// will actually run on.
	Prompt *string `json:"prompt,omitempty"`

	// RequestTemplate RequestTemplate is a webhook evaluator draft's request
	// body. Omitted, the stored template's applies, then the
	// default.
	RequestTemplate *string `json:"requestTemplate,omitempty"`

	// Scores Scores are the scores of other evaluators, by evaluator
	// name, that the code reads through `ctx.scores`. A test
	// run has no other evaluators running, so the caller
	// supplies them.
	Scores *map[string]*[]InputScore `json:"scores,omitempty"`

	// SourceCode SourceCode overrides the stored template source.
	SourceCode *string `json:"sourceCode,omitempty"`

	// SpanData SpanData is a span to run on instead of a stored one:
	// `{span_id, trace_id, tags: {attribute: value}}`, the shape
	// the evaluator reads. It lets a local draft run with no
	// traffic to pick a span from.
	SpanData interface{} `json:"spanData,omitempty"`

	// SpanId SpanID and TraceID name a real span to run on. SpanID is
	// required unless SpanData is sent.
	SpanId *string `json:"spanId,omitempty"`

	// StartTimeUs StartTimeUs and EndTimeUs are the window to look for the
	// span in: the one the caller picked it from. Without them
	// the read defaults to the last 24 hours, so a span chosen
	// from an older window is not found at all and the run
	// fails with a 404 that says nothing about time.
	StartTimeUs *int    `json:"startTimeUs,omitempty"`
	TraceId     *string `json:"traceId,omitempty"`

	// VariableMapping VariableMapping maps each prompt variable to where its
	// value is read from, as an evaluation rule's does.
	VariableMapping interface{} `json:"variableMapping,omitempty"`

	// WebhookId WebhookID runs a webhook evaluator draft: the span is
	// posted to that webhook and the reply read as a score.
	// Omitted, a stored webhook template uses its own.
	WebhookId *string `json:"webhookId,omitempty"`
}

CodeEvalTestRunRequest CodeEvalTestRunRequest runs an evaluator's Python source, or a judge prompt, against one span without persisting a score.

The path's template id names a stored template to fill what the draft leaves out: its source, settings and pins. Use `test` for a draft with no stored template.

type CodeEvalTestRunResponse added in v0.18.0

type CodeEvalTestRunResponse struct {
	// DataType DataType is NUMERIC or BOOLEAN for a webhook evaluator.
	DataType   *string  `json:"data_type,omitempty"`
	DurationMs *float32 `json:"duration_ms,omitempty"`

	// Error Error is `{code, message}` for code, a string for a judge.
	Error       *CodeEvalTestRunResponse_Error `json:"error,omitempty"`
	InputTokens *int                           `json:"input_tokens,omitempty"`

	// Label Label is the webhook reply's `label`.
	Label *string `json:"label,omitempty"`
	Logs  *string `json:"logs,omitempty"`

	// Metadata Metadata is the webhook reply's `metadata` object.
	Metadata     interface{}   `json:"metadata,omitempty"`
	OutputTokens *int          `json:"output_tokens,omitempty"`
	RawOutput    *string       `json:"raw_output,omitempty"`
	Reasoning    *string       `json:"reasoning,omitempty"`
	Score        *float32      `json:"score,omitempty"`
	Scores       *[]InputScore `json:"scores,omitempty"`

	// Webhook WebhookCall is one request to a webhook and what came back,
	// as the test endpoint reports it.
	Webhook *WebhookCall `json:"webhook,omitempty"`
}

CodeEvalTestRunResponse CodeEvalTestRunResponse is what a test run returns. The fields present depend on what ran:

  • code: `scores`, `logs` and `duration_ms`, or `error` as `{code, message}` (for example BLOCKED_IMPORT, INVALID_PARAMS, LIBRARY_NOT_FOUND, TIMEOUT).
  • a judge: `score`, `reasoning`, `raw_output` and the token counts, or `error` as a string naming the provider failure.
  • a webhook evaluator: `score`, `data_type`, `label`, `reasoning` (the reply's `reason`), `metadata` and `webhook` (the exchange), or `error` as a string with `webhook` still set.

A failed run is a 200 with `error` set: the person drafting the code can act on it.

type CodeEvalTestRunResponseError0 added in v0.18.0

type CodeEvalTestRunResponseError0 = string

CodeEvalTestRunResponseError0 A judge run's failure, such as a provider error.

type CodeEvalTestRunResponseError1 added in v0.18.0

type CodeEvalTestRunResponseError1 struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

CodeEvalTestRunResponseError1 A code run's failure, such as INVALID_PARAMS or LIBRARY_NOT_FOUND.

type CodeEvalTestRunResponse_Error added in v0.18.0

type CodeEvalTestRunResponse_Error struct {
	// contains filtered or unexported fields
}

CodeEvalTestRunResponse_Error Error is `{code, message}` for code, a string for a judge.

func (CodeEvalTestRunResponse_Error) AsCodeEvalTestRunResponseError0 added in v0.18.0

func (t CodeEvalTestRunResponse_Error) AsCodeEvalTestRunResponseError0() (CodeEvalTestRunResponseError0, error)

AsCodeEvalTestRunResponseError0 returns the union data inside the CodeEvalTestRunResponse_Error as a CodeEvalTestRunResponseError0

func (CodeEvalTestRunResponse_Error) AsCodeEvalTestRunResponseError1 added in v0.18.0

func (t CodeEvalTestRunResponse_Error) AsCodeEvalTestRunResponseError1() (CodeEvalTestRunResponseError1, error)

AsCodeEvalTestRunResponseError1 returns the union data inside the CodeEvalTestRunResponse_Error as a CodeEvalTestRunResponseError1

func (*CodeEvalTestRunResponse_Error) FromCodeEvalTestRunResponseError0 added in v0.18.0

func (t *CodeEvalTestRunResponse_Error) FromCodeEvalTestRunResponseError0(v CodeEvalTestRunResponseError0) error

FromCodeEvalTestRunResponseError0 overwrites any union data inside the CodeEvalTestRunResponse_Error as the provided CodeEvalTestRunResponseError0

func (*CodeEvalTestRunResponse_Error) FromCodeEvalTestRunResponseError1 added in v0.18.0

func (t *CodeEvalTestRunResponse_Error) FromCodeEvalTestRunResponseError1(v CodeEvalTestRunResponseError1) error

FromCodeEvalTestRunResponseError1 overwrites any union data inside the CodeEvalTestRunResponse_Error as the provided CodeEvalTestRunResponseError1

func (CodeEvalTestRunResponse_Error) MarshalJSON added in v0.18.0

func (t CodeEvalTestRunResponse_Error) MarshalJSON() ([]byte, error)

func (*CodeEvalTestRunResponse_Error) MergeCodeEvalTestRunResponseError0 added in v0.18.0

func (t *CodeEvalTestRunResponse_Error) MergeCodeEvalTestRunResponseError0(v CodeEvalTestRunResponseError0) error

MergeCodeEvalTestRunResponseError0 performs a merge with any union data inside the CodeEvalTestRunResponse_Error, using the provided CodeEvalTestRunResponseError0

func (*CodeEvalTestRunResponse_Error) MergeCodeEvalTestRunResponseError1 added in v0.18.0

func (t *CodeEvalTestRunResponse_Error) MergeCodeEvalTestRunResponseError1(v CodeEvalTestRunResponseError1) error

MergeCodeEvalTestRunResponseError1 performs a merge with any union data inside the CodeEvalTestRunResponse_Error, using the provided CodeEvalTestRunResponseError1

func (*CodeEvalTestRunResponse_Error) UnmarshalJSON added in v0.18.0

func (t *CodeEvalTestRunResponse_Error) UnmarshalJSON(b []byte) error

type CodeLibrary added in v0.18.0

type CodeLibrary struct {
	CreatedAt   string  `json:"createdAt"`
	CreatedBy   *string `json:"createdBy,omitempty"`
	Description string  `json:"description"`
	Id          string  `json:"id"`
	Name        string  `json:"name"`
	SourceCode  string  `json:"sourceCode"`
	UpdatedAt   string  `json:"updatedAt"`

	// Version Version is the latest version. Each change of the source
	// adds one.
	Version int `json:"version"`
}

CodeLibrary CodeLibrary is one Python module written once and imported from many code evaluators as `shared.<name>`.

type CodeLibraryInUseResponse added in v0.18.0

type CodeLibraryInUseResponse struct {
	Error   string      `json:"error"`
	Message string      `json:"message"`
	UsedBy  *[]NamedRef `json:"usedBy"`
}

CodeLibraryInUseResponse CodeLibraryInUseResponse is the 409 answer to a delete of a library that code templates still import.

type CodeLibraryResponse added in v0.18.0

type CodeLibraryResponse struct {
	CreatedAt   string      `json:"createdAt"`
	CreatedBy   *string     `json:"createdBy,omitempty"`
	Description string      `json:"description"`
	Id          string      `json:"id"`
	Name        string      `json:"name"`
	SourceCode  string      `json:"sourceCode"`
	UpdatedAt   string      `json:"updatedAt"`
	UsedBy      *[]NamedRef `json:"usedBy"`

	// Version Version is the latest version. Each change of the source
	// adds one.
	Version int `json:"version"`
}

CodeLibraryResponse CodeLibraryResponse is one shared library and the code templates that import it.

type CodeLibraryVersion added in v0.18.0

type CodeLibraryVersion struct {
	CreatedAt  string  `json:"createdAt"`
	CreatedBy  *string `json:"createdBy,omitempty"`
	SourceCode *string `json:"sourceCode,omitempty"`
	Version    int     `json:"version"`
}

CodeLibraryVersion CodeLibraryVersion is one stored copy of a library's source. The list omits the source; a single version carries it.

type CompareGenaiExperimentsParams added in v0.21.0

type CompareGenaiExperimentsParams struct {
	// ExperimentIds Two to five experiment IDs, separated by commas. Each one after the first is summarized against the first.
	ExperimentIds string `form:"experimentIds" json:"experimentIds"`

	// 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"`
}

CompareGenaiExperimentsParams defines parameters for CompareGenaiExperiments.

type CompareGenaiExperimentsResponse added in v0.21.0

type CompareGenaiExperimentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ExperimentComparisonResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCompareGenaiExperimentsResponse added in v0.21.0

func ParseCompareGenaiExperimentsResponse(rsp *http.Response) (*CompareGenaiExperimentsResponse, error)

ParseCompareGenaiExperimentsResponse parses an HTTP response from a CompareGenaiExperimentsWithResponse call

func (CompareGenaiExperimentsResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (CompareGenaiExperimentsResponse) StatusCode added in v0.21.0

func (r CompareGenaiExperimentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ComparedRow added in v0.21.0

type ComparedRow struct {
	Key  string            `json:"key"`
	Rows *[]ComparedRowRef `json:"rows"`
}

ComparedRow ComparedRow is one row key with the row of each compared experiment that has it.

type ComparedRowRef added in v0.21.0

type ComparedRowRef struct {
	ExperimentId string              `json:"experimentId"`
	Row          *DatasetRunItem     `json:"row,omitempty"`
	Scores       *map[string]float32 `json:"scores,omitempty"`
}

ComparedRowRef ComparedRowRef is the row of one experiment, with its scores. Row is absent when the experiment has no row for the key.

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 CreateCodeLibraryRequest added in v0.18.0

type CreateCodeLibraryRequest struct {
	Description *string `json:"description,omitempty"`

	// Name Name is the module name: a lower-case Python identifier
	// of at most 64 characters that is not a Python keyword
	// and not `oodle_eval`. It cannot be changed later,
	// because the code that imports the library names it.
	Name string `json:"name"`

	// SourceCode SourceCode is the Python module, at most 256 KB.
	SourceCode string `json:"sourceCode"`
}

CreateCodeLibraryRequest CreateCodeLibraryRequest adds a shared library. Code evaluators import it as `shared.<name>`.

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 {
	// Enabled Enabled defaults to true on create and to the current state on
	// update, so a client that does not know the field changes nothing.
	Enabled          *bool                 `json:"enabled,omitempty"`
	ExpiresAtEpochMs *int                  `json:"expires_at_epoch_ms,omitempty"`
	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 {
	// CleanValue CleanValue is the categorical value that means nothing
	// was found. Only a categorical template needs it, and
	// only to gate a dependent evaluator: a categorical score
	// has no place on the 0..1 scale that gate compares
	// against, so without this the chain is switched off for
	// the rule rather than run on every span.
	CleanValue *string `json:"cleanValue,omitempty"`

	// HigherIsBetter HigherIsBetter says which end of the score range is the
	// good one. Set it to false only when your prompt scores 1
	// for the bad outcome: an evaluator named for the bad
	// thing is not necessarily lower-is-better, so read the
	// prompt rather than the name. Omit it and scores are
	// treated as higher-is-better, which is how they have
	// always been rendered.
	//
	// (A pointer so the handler can tell an explicit false
	// from an omitted field.)
	HigherIsBetter *bool `json:"higherIsBetter,omitempty"`

	// Id ID is optional. Send it to keep the id of a template
	// that is kept in a file, as git sync does, so that the
	// same file always maps to the same template. It must
	// be a UUID that no template uses. Omit it and the
	// server makes one.
	Id *string `json:"id,omitempty"`

	// LibraryPins LibraryPins maps a shared library name to the version
	// the code runs. A library the code imports with no pin
	// runs at its latest version. Only code templates may pin.
	LibraryPins *map[string]int `json:"libraryPins,omitempty"`

	// ModelParams ModelParams holds the judge settings. For a webhook
	// evaluator it is `{"webhookId": "...", "requestTemplate":
	// "..."}`: the webhook to call and, optionally, the request
	// body with `{{input}}`, `{{output}}`, `{{expected_output}}`,
	// `{{metadata}}`, `{{trace_id}}`, `{{span_id}}`,
	// `{{span_name}}` and `{{tool.name}}` / `{{tool.arguments}}` /
	// `{{tool.result}}` placeholders.
	ModelParams  interface{} `json:"modelParams,omitempty"`
	Name         string      `json:"name"`
	OutputSchema interface{} `json:"outputSchema,omitempty"`

	// Params Params declares the settings of a code evaluator. Each
	// evaluator made from the template sets its own values,
	// and the code reads them as `ctx.params`. Only code
	// templates may declare settings.
	Params *[]ParamSpec `json:"params,omitempty"`

	// Prompt Prompt is the judge prompt for llm evaluators, with
	// {{var}} placeholders drawn from Vars.
	Prompt *string `json:"prompt,omitempty"`

	// ScoreType ScoreType is the shape of the value the evaluator
	// returns: numeric, boolean or categorical. Optional;
	// anything else is rejected.
	ScoreType *string `json:"scoreType,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", "output_comparer" or "webhook".
	//
	// 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.
	//
	// A webhook evaluator posts each span or experiment item to
	// a stored webhook and stores the score in the reply. It
	// needs no LLM connection.
	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 Filters pick the spans the evaluator scores: a list of
	// {"name", "type", "value"}. An attribute is named with its
	// kind, "span::gen_ai.operation.name" or
	// "resource::service.name"; a dotted name without it is
	// refused. "type" is 0 (equals), 1 (not equals), 2 (regex),
	// 3 (not regex), 4 (one of) or 5 (not one of), the last two
	// with a "multi_value" list, or "GT"/"GTE"/"LT"/"LTE". The
	// words eq, neq, re, nre, oneof, not_oneof, gt, gte, lt and
	// lte are accepted and stored as those.
	Filters interface{} `json:"filters,omitempty"`

	// GenerationSpansOnly GenerationSpansOnly limits the rule to leaf model
	// calls. Absent means true, which is what every rule did
	// before the field existed.
	GenerationSpansOnly *bool `json:"generationSpansOnly,omitempty"`

	// Id ID is optional. Send it to keep the id of an
	// evaluator that is kept in a file, as git sync does,
	// so that the same file always maps to the same
	// evaluator. It must be a UUID that no evaluator uses.
	// Omit it and the server makes one.
	Id              *string `json:"id,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"`

	// Params Params are this evaluator's values for the settings its
	// code template declares, by setting name. A setting left
	// out takes the template's default.
	Params *map[string]interface{} `json:"params,omitempty"`

	// 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 CreateExperimentRequest added in v0.21.0

type CreateExperimentRequest struct {
	// BaseExperimentId BaseExperimentID is the experiment that comparisons use.
	// When absent, the newest earlier experiment of the project
	// on the same git branch, else the newest earlier one.
	BaseExperimentId *string `json:"baseExperimentId,omitempty"`

	// DatasetId DatasetID links the experiment to a dataset. Optional.
	DatasetId *string `json:"datasetId,omitempty"`

	// DatasetVersion DatasetVersion is the RFC3339 time of the dataset version
	// the experiment read. Defaults to the latest version.
	DatasetVersion *string     `json:"datasetVersion,omitempty"`
	Description    *string     `json:"description,omitempty"`
	EnsureNew      *bool       `json:"ensureNew,omitempty"`
	Metadata       interface{} `json:"metadata,omitempty"`

	// Name Name defaults to "experiment" with ensureNew set.
	Name *string `json:"name,omitempty"`

	// Parameters Parameters are the settings of the run, for example the
	// model and the prompt version.
	Parameters interface{} `json:"parameters,omitempty"`

	// ProjectId ProjectID is "" or absent for the default project.
	ProjectId *string `json:"projectId,omitempty"`

	// RepoInfo RepoInfo is the git state of the run: commit, branch,
	// tag, dirty, author_name, commit_message, commit_time.
	RepoInfo interface{} `json:"repoInfo,omitempty"`
	Tags     *[]string   `json:"tags,omitempty"`
}

CreateExperimentRequest CreateExperimentRequest creates an experiment: a set of rows that the customer's own code ran and scored, or that Oodle ran. Create is idempotent by project and name unless `ensureNew` is true, in which case a name in use gets a number added.

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 CreateGenaiBackfillJSONRequestBody added in v0.18.0

type CreateGenaiBackfillJSONRequestBody = BackfillRequest

CreateGenaiBackfillJSONRequestBody defines body for CreateGenaiBackfill for application/json ContentType.

type CreateGenaiBackfillResponse added in v0.18.0

type CreateGenaiBackfillResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BackfillRun
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateGenaiBackfillResponse added in v0.18.0

func ParseCreateGenaiBackfillResponse(rsp *http.Response) (*CreateGenaiBackfillResponse, error)

ParseCreateGenaiBackfillResponse parses an HTTP response from a CreateGenaiBackfillWithResponse call

func (CreateGenaiBackfillResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (CreateGenaiBackfillResponse) StatusCode added in v0.18.0

func (r CreateGenaiBackfillResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateGenaiCodeLibraryJSONRequestBody added in v0.18.0

type CreateGenaiCodeLibraryJSONRequestBody = CreateCodeLibraryRequest

CreateGenaiCodeLibraryJSONRequestBody defines body for CreateGenaiCodeLibrary for application/json ContentType.

type CreateGenaiCodeLibraryResponse added in v0.18.0

type CreateGenaiCodeLibraryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *CodeLibrary
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON403      *OodleUtilHttputilsModelsErrors
	JSON409      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateGenaiCodeLibraryResponse added in v0.18.0

func ParseCreateGenaiCodeLibraryResponse(rsp *http.Response) (*CreateGenaiCodeLibraryResponse, error)

ParseCreateGenaiCodeLibraryResponse parses an HTTP response from a CreateGenaiCodeLibraryWithResponse call

func (CreateGenaiCodeLibraryResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (CreateGenaiCodeLibraryResponse) StatusCode added in v0.18.0

func (r CreateGenaiCodeLibraryResponse) 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 CreateGenaiDatasetItemParams added in v0.21.0

type CreateGenaiDatasetItemParams struct {
	// ProjectId Project ID. Omit it, or send `default`, for the default project, which holds everything that names no project. Names are unique in a project, so the same name in two projects is two objects.
	ProjectId *string `form:"projectId,omitempty" json:"projectId,omitempty"`
}

CreateGenaiDatasetItemParams defines parameters for CreateGenaiDatasetItem.

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 CreateGenaiDatasetParams added in v0.21.0

type CreateGenaiDatasetParams struct {
	// ProjectId Project ID. Omit it, or send `default`, for the default project, which holds everything that names no project. Names are unique in a project, so the same name in two projects is two objects.
	ProjectId *string `form:"projectId,omitempty" json:"projectId,omitempty"`
}

CreateGenaiDatasetParams defines parameters for CreateGenaiDataset.

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
	JSON403      *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 CreateGenaiProjectExperimentJSONRequestBody added in v0.21.0

type CreateGenaiProjectExperimentJSONRequestBody = CreateExperimentRequest

CreateGenaiProjectExperimentJSONRequestBody defines body for CreateGenaiProjectExperiment for application/json ContentType.

type CreateGenaiProjectExperimentResponse added in v0.21.0

type CreateGenaiProjectExperimentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DatasetRun
	JSON201      *DatasetRun
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON409      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateGenaiProjectExperimentResponse added in v0.21.0

func ParseCreateGenaiProjectExperimentResponse(rsp *http.Response) (*CreateGenaiProjectExperimentResponse, error)

ParseCreateGenaiProjectExperimentResponse parses an HTTP response from a CreateGenaiProjectExperimentWithResponse call

func (CreateGenaiProjectExperimentResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (CreateGenaiProjectExperimentResponse) StatusCode added in v0.21.0

StatusCode returns HTTPResponse.StatusCode

type CreateGenaiProjectJSONRequestBody added in v0.21.0

type CreateGenaiProjectJSONRequestBody = CreateProjectRequest

CreateGenaiProjectJSONRequestBody defines body for CreateGenaiProject for application/json ContentType.

type CreateGenaiProjectResponse added in v0.21.0

type CreateGenaiProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Project
	JSON201      *Project
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateGenaiProjectResponse added in v0.21.0

func ParseCreateGenaiProjectResponse(rsp *http.Response) (*CreateGenaiProjectResponse, error)

ParseCreateGenaiProjectResponse parses an HTTP response from a CreateGenaiProjectWithResponse call

func (CreateGenaiProjectResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (CreateGenaiProjectResponse) StatusCode added in v0.21.0

func (r CreateGenaiProjectResponse) 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 CreateGenaiWebhookJSONRequestBody added in v0.17.0

type CreateGenaiWebhookJSONRequestBody = CreateWebhookRequest

CreateGenaiWebhookJSONRequestBody defines body for CreateGenaiWebhook for application/json ContentType.

type CreateGenaiWebhookResponse added in v0.17.0

type CreateGenaiWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Webhook
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON409      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateGenaiWebhookResponse added in v0.17.0

func ParseCreateGenaiWebhookResponse(rsp *http.Response) (*CreateGenaiWebhookResponse, error)

ParseCreateGenaiWebhookResponse parses an HTTP response from a CreateGenaiWebhookWithResponse call

func (CreateGenaiWebhookResponse) Status added in v0.17.0

Status returns HTTPResponse.Status

func (CreateGenaiWebhookResponse) StatusCode added in v0.17.0

func (r CreateGenaiWebhookResponse) 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 CreateIntegrationRequestTypeSpecificData5 added in v0.21.0

type CreateIntegrationRequestTypeSpecificData5 map[string]interface{}

CreateIntegrationRequestTypeSpecificData5 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) AsAzureMetricsIntegrationWrapper added in v0.17.0

func (t CreateIntegrationRequest_TypeSpecificData) AsAzureMetricsIntegrationWrapper() (AzureMetricsIntegrationWrapper, error)

AsAzureMetricsIntegrationWrapper returns the union data inside the CreateIntegrationRequest_TypeSpecificData as a AzureMetricsIntegrationWrapper

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) AsCockroachDBCloudIntegrationWrapper added in v0.17.0

func (t CreateIntegrationRequest_TypeSpecificData) AsCockroachDBCloudIntegrationWrapper() (CockroachDBCloudIntegrationWrapper, error)

AsCockroachDBCloudIntegrationWrapper returns the union data inside the CreateIntegrationRequest_TypeSpecificData as a CockroachDBCloudIntegrationWrapper

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) AsCreateIntegrationRequestTypeSpecificData5 added in v0.21.0

func (t CreateIntegrationRequest_TypeSpecificData) AsCreateIntegrationRequestTypeSpecificData5() (CreateIntegrationRequestTypeSpecificData5, error)

AsCreateIntegrationRequestTypeSpecificData5 returns the union data inside the CreateIntegrationRequest_TypeSpecificData as a CreateIntegrationRequestTypeSpecificData5

func (CreateIntegrationRequest_TypeSpecificData) AsGrafanaDatasourceIntegrationWrapper added in v0.21.0

func (t CreateIntegrationRequest_TypeSpecificData) AsGrafanaDatasourceIntegrationWrapper() (GrafanaDatasourceIntegrationWrapper, error)

AsGrafanaDatasourceIntegrationWrapper returns the union data inside the CreateIntegrationRequest_TypeSpecificData as a GrafanaDatasourceIntegrationWrapper

func (*CreateIntegrationRequest_TypeSpecificData) FromAzureMetricsIntegrationWrapper added in v0.17.0

func (t *CreateIntegrationRequest_TypeSpecificData) FromAzureMetricsIntegrationWrapper(v AzureMetricsIntegrationWrapper) error

FromAzureMetricsIntegrationWrapper overwrites any union data inside the CreateIntegrationRequest_TypeSpecificData as the provided AzureMetricsIntegrationWrapper

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) FromCockroachDBCloudIntegrationWrapper added in v0.17.0

func (t *CreateIntegrationRequest_TypeSpecificData) FromCockroachDBCloudIntegrationWrapper(v CockroachDBCloudIntegrationWrapper) error

FromCockroachDBCloudIntegrationWrapper overwrites any union data inside the CreateIntegrationRequest_TypeSpecificData as the provided CockroachDBCloudIntegrationWrapper

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) FromCreateIntegrationRequestTypeSpecificData5 added in v0.21.0

func (t *CreateIntegrationRequest_TypeSpecificData) FromCreateIntegrationRequestTypeSpecificData5(v CreateIntegrationRequestTypeSpecificData5) error

FromCreateIntegrationRequestTypeSpecificData5 overwrites any union data inside the CreateIntegrationRequest_TypeSpecificData as the provided CreateIntegrationRequestTypeSpecificData5

func (*CreateIntegrationRequest_TypeSpecificData) FromGrafanaDatasourceIntegrationWrapper added in v0.21.0

func (t *CreateIntegrationRequest_TypeSpecificData) FromGrafanaDatasourceIntegrationWrapper(v GrafanaDatasourceIntegrationWrapper) error

FromGrafanaDatasourceIntegrationWrapper overwrites any union data inside the CreateIntegrationRequest_TypeSpecificData as the provided GrafanaDatasourceIntegrationWrapper

func (CreateIntegrationRequest_TypeSpecificData) MarshalJSON added in v0.11.0

func (*CreateIntegrationRequest_TypeSpecificData) MergeAzureMetricsIntegrationWrapper added in v0.17.0

func (t *CreateIntegrationRequest_TypeSpecificData) MergeAzureMetricsIntegrationWrapper(v AzureMetricsIntegrationWrapper) error

MergeAzureMetricsIntegrationWrapper performs a merge with any union data inside the CreateIntegrationRequest_TypeSpecificData, using the provided AzureMetricsIntegrationWrapper

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) MergeCockroachDBCloudIntegrationWrapper added in v0.17.0

func (t *CreateIntegrationRequest_TypeSpecificData) MergeCockroachDBCloudIntegrationWrapper(v CockroachDBCloudIntegrationWrapper) error

MergeCockroachDBCloudIntegrationWrapper performs a merge with any union data inside the CreateIntegrationRequest_TypeSpecificData, using the provided CockroachDBCloudIntegrationWrapper

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) MergeCreateIntegrationRequestTypeSpecificData5 added in v0.21.0

func (t *CreateIntegrationRequest_TypeSpecificData) MergeCreateIntegrationRequestTypeSpecificData5(v CreateIntegrationRequestTypeSpecificData5) error

MergeCreateIntegrationRequestTypeSpecificData5 performs a merge with any union data inside the CreateIntegrationRequest_TypeSpecificData, using the provided CreateIntegrationRequestTypeSpecificData5

func (*CreateIntegrationRequest_TypeSpecificData) MergeGrafanaDatasourceIntegrationWrapper added in v0.21.0

func (t *CreateIntegrationRequest_TypeSpecificData) MergeGrafanaDatasourceIntegrationWrapper(v GrafanaDatasourceIntegrationWrapper) error

MergeGrafanaDatasourceIntegrationWrapper performs a merge with any union data inside the CreateIntegrationRequest_TypeSpecificData, using the provided GrafanaDatasourceIntegrationWrapper

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 and one target: either llmConnectionId (+
	// optional model, and either promptName with promptVersion /
	// promptLabel, or a literal promptTemplate), or webhookId to
	// post each item to a webhook you host instead. Plus
	// optional evaluatorIds, outputComparerIds, evaluatorRules,
	// outputComparerRules, evalConnectionId and
	// honorDependencies. runName is assigned automatically when
	// omitted.
	//
	// With webhookId, evalConnectionId is required whenever an
	// evaluator or comparer runs on an LLM and its rule names
	// no connection of its own: there is no generation
	// connection to fall back to.
	//
	// An evaluatorRules entry names a rule's templateId,
	// ruleName, model, llmConnectionId and dependsOnRuleIds.
	// A rule with its own llmConnectionId judges on it, so
	// judges on different providers can share one run. With
	// honorDependencies true, a rule that depends on others in
	// the run scores an item only where every one of them
	// reported a finding; off, every selected rule scores every
	// item, which is what every run did before the flag.
	//
	// When llmConnectionId is a TypeSafe (Jev) connection the
	// prompt is a question over the item's variables and
	// decision says the answer's shape: {"type": "noul"} for
	// yes/no (the default), {"type": "choice", "criteria":
	// {option: description, ...}} for one of a set, or
	// {"type": "score", "criteria": [level, ...]} for an
	// ordered scale, lowest first. A yes/no decision takes a
	// threshold, the P(yes) at or above which the answer is yes
	// (0.5 unless set). The output is the word the answer maps
	// to: yes/no, the chosen option, or the nearest level. A Jev
	// evaluation rule carries the same block as
	// modelParams.decision, plus confidence, the gate a
	// dependent rule runs under.
	//
	// 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.
	//
	// Each evaluatorRules and outputComparerRules entry names a
	// templateId and may carry the rule's params, which are
	// checked against that template's settings.
	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 CreateLogblocksJSONRequestBody added in v0.21.0

type CreateLogblocksJSONRequestBody = LogBlock

CreateLogblocksJSONRequestBody defines body for CreateLogblocks for application/json ContentType.

type CreateLogblocksResponse added in v0.21.0

type CreateLogblocksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LogBlock
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateLogblocksResponse added in v0.21.0

func ParseCreateLogblocksResponse(rsp *http.Response) (*CreateLogblocksResponse, error)

ParseCreateLogblocksResponse parses an HTTP response from a CreateLogblocksWithResponse call

func (CreateLogblocksResponse) Status added in v0.21.0

func (r CreateLogblocksResponse) Status() string

Status returns HTTPResponse.Status

func (CreateLogblocksResponse) StatusCode added in v0.21.0

func (r CreateLogblocksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateLogmetricsJSONRequestBody

type CreateLogmetricsJSONRequestBody = LogMetrics

CreateLogmetricsJSONRequestBody defines body for CreateLogmetrics for application/json ContentType.

type CreateLogmetricsParams added in v0.21.0

type CreateLogmetricsParams struct {
	// KeepId When true, the create keeps the id of the body. Without it, the create makes a new id.
	KeepId *bool `form:"keep_id,omitempty" json:"keep_id,omitempty"`
}

CreateLogmetricsParams defines parameters for CreateLogmetrics.

type CreateLogmetricsResponse

type CreateLogmetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LogMetrics
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON409      *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 CreateProjectRequest added in v0.21.0

type CreateProjectRequest struct {
	Description *string `json:"description,omitempty"`
	Name        string  `json:"name"`
}

CreateProjectRequest CreateProjectRequest creates a project. A project keeps datasets, experiments, evaluators, prompts and traces apart from those of other projects. Create is idempotent by name: posting a name in use returns that project. The name "default" is the built-in default project and cannot be created.

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 {
	// AgreesWithExpectedOutput AgreesWithExpectedOutput is whether the score matched the
	// dataset item's expected output. Omit it where there was
	// nothing to compare: absent means the comparison could not
	// be made, not that the score disagreed.
	AgreesWithExpectedOutput *bool   `json:"agreesWithExpectedOutput,omitempty"`
	Comment                  *string `json:"comment,omitempty"`
	ConfigId                 *string `json:"configId,omitempty"`
	DataType                 *string `json:"dataType,omitempty"`
	Environment              *string `json:"environment,omitempty"`

	// HigherIsBetter HigherIsBetter says which way is good for this score.
	// Omit it to leave the direction undeclared, which reads as
	// higher-is-better.
	HigherIsBetter *bool   `json:"higherIsBetter,omitempty"`
	Id             *string `json:"id,omitempty"`
	InputTokens    *int    `json:"inputTokens,omitempty"`

	// LatencyMs LatencyMs is how long the evaluator took, in
	// milliseconds.
	LatencyMs     *int    `json:"latencyMs,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 CreateTraceSamplingRulesJSONRequestBody added in v0.21.0

type CreateTraceSamplingRulesJSONRequestBody = SamplingRuleRequest

CreateTraceSamplingRulesJSONRequestBody defines body for CreateTraceSamplingRules for application/json ContentType.

type CreateTraceSamplingRulesResponse added in v0.21.0

type CreateTraceSamplingRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SamplingRule
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseCreateTraceSamplingRulesResponse added in v0.21.0

func ParseCreateTraceSamplingRulesResponse(rsp *http.Response) (*CreateTraceSamplingRulesResponse, error)

ParseCreateTraceSamplingRulesResponse parses an HTTP response from a CreateTraceSamplingRulesWithResponse call

func (CreateTraceSamplingRulesResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (CreateTraceSamplingRulesResponse) StatusCode added in v0.21.0

func (r CreateTraceSamplingRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateWebhookRequest added in v0.17.0

type CreateWebhookRequest struct {
	Description *string `json:"description,omitempty"`

	// Headers Headers are sent on every request, on top of the ones
	// Oodle sets (Content-Type, traceparent, X-Oodle-*). Put
	// the endpoint's credential here.
	Headers *map[string]string `json:"headers,omitempty"`
	Name    string             `json:"name"`

	// OutputPath OutputPath picks the output out of the reply, such as
	// `output`, `result.answer` or `choices[0].message.content`.
	// Empty stores the whole body.
	OutputPath *string `json:"outputPath,omitempty"`

	// OutputRegex OutputRegex is applied to the output that OutputPath
	// picked. The output becomes the first capture group, or
	// the whole match when the regex has no group. `.` matches a
	// newline. A reply that does not match fails the item.
	// Empty keeps the output whole.
	OutputRegex *string `json:"outputRegex,omitempty"`

	// RequestTemplate RequestTemplate is the JSON body sent per item, with
	// {{path}} placeholders read from the item (input,
	// input.question, metadata.locale, id) and inserted as JSON.
	// Empty sends the item's input as the body.
	RequestTemplate *string `json:"requestTemplate,omitempty"`

	// TimeoutSeconds TimeoutSeconds is how long one item may take, 1 to 600.
	// Defaults to 60.
	TimeoutSeconds *int `json:"timeoutSeconds,omitempty"`

	// Url URL must be absolute http(s) and reachable from the
	// internet; private and cluster-local hosts are refused.
	Url string `json:"url"`
}

CreateWebhookRequest CreateWebhookRequest stores an experiment target the customer hosts. An experiment run against it posts every dataset item to the URL and scores the reply. Headers are encrypted at rest and never returned by the list endpoint.

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 DatasetFolderRenameMove added in v0.17.0

type DatasetFolderRenameMove struct {
	NewName string `json:"newName"`
	OldName string `json:"oldName"`
}

DatasetFolderRenameMove DatasetFolderRenameMove is one dataset the rename moves.

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 DatasetRun added in v0.21.0

type DatasetRun struct {
	// BaseExperimentId BaseExperimentID names the run that comparisons use when
	// the caller names none.
	BaseExperimentId *string     `json:"baseExperimentId,omitempty"`
	CreatedAt        string      `json:"createdAt"`
	CreatedBy        *string     `json:"createdBy,omitempty"`
	DatasetId        string      `json:"datasetId"`
	DatasetVersion   *time.Time  `json:"datasetVersion,omitempty"`
	Description      string      `json:"description"`
	Id               string      `json:"id"`
	Metadata         interface{} `json:"metadata"`
	Name             string      `json:"name"`
	Parameters       interface{} `json:"parameters,omitempty"`

	// ProjectId ProjectID is "" for the default project.
	ProjectId string      `json:"projectId"`
	RepoInfo  interface{} `json:"repoInfo,omitempty"`

	// Source Source says who made the run: "oodle" for a run that
	// Oodle executed, "api" or "braintrust" for a run whose rows
	// the customer's own code uploaded.
	Source    string    `json:"source"`
	Tags      *[]string `json:"tags,omitempty"`
	UpdatedAt string    `json:"updatedAt"`
}

DatasetRun defines model for DatasetRun.

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"`
	Expected      interface{} `json:"expected,omitempty"`

	// ExternalId ExternalID is the caller's id for the row. A write that
	// repeats it updates the row instead of adding a second one.
	ExternalId *string `json:"externalId,omitempty"`
	Id         string  `json:"id"`

	// Input The fields below are set on rows that the customer's code
	// uploaded. A row that Oodle executed reads its input and
	// expected output from the dataset item instead.
	Input         interface{} `json:"input,omitempty"`
	Metadata      interface{} `json:"metadata,omitempty"`
	Metrics       interface{} `json:"metrics,omitempty"`
	ObservationId *string     `json:"observationId,omitempty"`
	Output        *string     `json:"output,omitempty"`
	SpanId        *string     `json:"spanId,omitempty"`
	Status        *string     `json:"status,omitempty"`
	Tags          *[]string   `json:"tags,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"`
	Expected       interface{} `json:"expected,omitempty"`
	ExpectedOutput interface{} `json:"expectedOutput,omitempty"`

	// ExternalId ExternalID is the caller's id for the row. A write that
	// repeats it updates the row instead of adding a second one.
	ExternalId    *string     `json:"externalId,omitempty"`
	Id            string      `json:"id"`
	Input         interface{} `json:"input,omitempty"`
	Metadata      interface{} `json:"metadata,omitempty"`
	Metrics       interface{} `json:"metrics,omitempty"`
	ObservationId *string     `json:"observationId,omitempty"`
	Output        *string     `json:"output,omitempty"`
	Scores        *[]Score    `json:"scores"`
	SpanId        *string     `json:"spanId,omitempty"`
	Status        *string     `json:"status,omitempty"`
	Tags          *[]string   `json:"tags,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 {
	// BaseExperimentId BaseExperimentID names the run that comparisons use when
	// the caller names none.
	BaseExperimentId *string     `json:"baseExperimentId,omitempty"`
	CreatedAt        string      `json:"createdAt"`
	CreatedBy        *string     `json:"createdBy,omitempty"`
	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"`
	Parameters       interface{} `json:"parameters,omitempty"`

	// ProjectId ProjectID is "" for the default project.
	ProjectId string               `json:"projectId"`
	RepoInfo  interface{}          `json:"repoInfo,omitempty"`
	Scores    *[]RunScoreAggregate `json:"scores"`

	// Source Source says who made the run: "oodle" for a run that
	// Oodle executed, "api" or "braintrust" for a run whose rows
	// the customer's own code uploaded.
	Source    string    `json:"source"`
	Tags      *[]string `json:"tags,omitempty"`
	UpdatedAt string    `json:"updatedAt"`
}

DatasetRunResponse DatasetRunResponse is one experiment run over a dataset, enriched with the status of the job that produced it and the scores its items were given, one entry per score name.

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
	// same keys an experiment run takes.
	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 DeleteBackfillResponse added in v0.18.0

type DeleteBackfillResponse struct {
	Id string `json:"id"`
}

DeleteBackfillResponse DeleteBackfillResponse names the run that was removed.

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 DeleteGenaiBackfillResponse added in v0.18.0

type DeleteGenaiBackfillResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DeleteBackfillResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteGenaiBackfillResponse added in v0.18.0

func ParseDeleteGenaiBackfillResponse(rsp *http.Response) (*DeleteGenaiBackfillResponse, error)

ParseDeleteGenaiBackfillResponse parses an HTTP response from a DeleteGenaiBackfillWithResponse call

func (DeleteGenaiBackfillResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (DeleteGenaiBackfillResponse) StatusCode added in v0.18.0

func (r DeleteGenaiBackfillResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteGenaiCodeLibraryResponse added in v0.18.0

type DeleteGenaiCodeLibraryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON409      *CodeLibraryInUseResponse
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteGenaiCodeLibraryResponse added in v0.18.0

func ParseDeleteGenaiCodeLibraryResponse(rsp *http.Response) (*DeleteGenaiCodeLibraryResponse, error)

ParseDeleteGenaiCodeLibraryResponse parses an HTTP response from a DeleteGenaiCodeLibraryWithResponse call

func (DeleteGenaiCodeLibraryResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (DeleteGenaiCodeLibraryResponse) StatusCode added in v0.18.0

func (r DeleteGenaiCodeLibraryResponse) 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 DeleteGenaiDatasetParams added in v0.21.0

type DeleteGenaiDatasetParams struct {
	// ProjectId Project ID. Omit it, or send `default`, for the default project, which holds everything that names no project. Names are unique in a project, so the same name in two projects is two objects.
	ProjectId *string `form:"projectId,omitempty" json:"projectId,omitempty"`
}

DeleteGenaiDatasetParams defines parameters for DeleteGenaiDataset.

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 DeleteGenaiDatasetScheduleParams added in v0.21.0

type DeleteGenaiDatasetScheduleParams struct {
	// ProjectId Project ID. Omit it, or send `default`, for the default project, which holds everything that names no project. Names are unique in a project, so the same name in two projects is two objects.
	ProjectId *string `form:"projectId,omitempty" json:"projectId,omitempty"`
}

DeleteGenaiDatasetScheduleParams defines parameters for DeleteGenaiDatasetSchedule.

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      *RuleInUseResponse
	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 DeleteGenaiExperimentResponse added in v0.21.0

type DeleteGenaiExperimentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON204      *AnonymousType2
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteGenaiExperimentResponse added in v0.21.0

func ParseDeleteGenaiExperimentResponse(rsp *http.Response) (*DeleteGenaiExperimentResponse, error)

ParseDeleteGenaiExperimentResponse parses an HTTP response from a DeleteGenaiExperimentWithResponse call

func (DeleteGenaiExperimentResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (DeleteGenaiExperimentResponse) StatusCode added in v0.21.0

func (r DeleteGenaiExperimentResponse) 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 DeleteGenaiProjectResponse added in v0.21.0

type DeleteGenaiProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON204      *AnonymousType3
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteGenaiProjectResponse added in v0.21.0

func ParseDeleteGenaiProjectResponse(rsp *http.Response) (*DeleteGenaiProjectResponse, error)

ParseDeleteGenaiProjectResponse parses an HTTP response from a DeleteGenaiProjectWithResponse call

func (DeleteGenaiProjectResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (DeleteGenaiProjectResponse) StatusCode added in v0.21.0

func (r DeleteGenaiProjectResponse) 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
	JSON403      *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 DeleteGenaiWebhookResponse added in v0.17.0

type DeleteGenaiWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteGenaiWebhookResponse added in v0.17.0

func ParseDeleteGenaiWebhookResponse(rsp *http.Response) (*DeleteGenaiWebhookResponse, error)

ParseDeleteGenaiWebhookResponse parses an HTTP response from a DeleteGenaiWebhookWithResponse call

func (DeleteGenaiWebhookResponse) Status added in v0.17.0

Status returns HTTPResponse.Status

func (DeleteGenaiWebhookResponse) StatusCode added in v0.17.0

func (r DeleteGenaiWebhookResponse) 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 DeleteLogblocksByIdResponse added in v0.21.0

type DeleteLogblocksByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteLogblocksByIdResponse added in v0.21.0

func ParseDeleteLogblocksByIdResponse(rsp *http.Response) (*DeleteLogblocksByIdResponse, error)

ParseDeleteLogblocksByIdResponse parses an HTTP response from a DeleteLogblocksByIdWithResponse call

func (DeleteLogblocksByIdResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (DeleteLogblocksByIdResponse) StatusCode added in v0.21.0

func (r DeleteLogblocksByIdResponse) 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 DeleteTraceSamplingRulesByIdResponse added in v0.21.0

type DeleteTraceSamplingRulesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseDeleteTraceSamplingRulesByIdResponse added in v0.21.0

func ParseDeleteTraceSamplingRulesByIdResponse(rsp *http.Response) (*DeleteTraceSamplingRulesByIdResponse, error)

ParseDeleteTraceSamplingRulesByIdResponse parses an HTTP response from a DeleteTraceSamplingRulesByIdWithResponse call

func (DeleteTraceSamplingRulesByIdResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (DeleteTraceSamplingRulesByIdResponse) StatusCode added in v0.21.0

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 {
	Enabled bool `json:"enabled"`

	// ExpiresAtEpochMs ExpiresAtEpochMs is when the rule stops dropping, or 0 for never.
	ExpiresAtEpochMs *int                  `json:"expires_at_epoch_ms,omitempty"`
	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 EvalFailureSummary added in v0.18.0

type EvalFailureSummary struct {
	Count         int             `json:"count"`
	ErrorClasses  *map[string]int `json:"errorClasses"`
	EvaluatorName string          `json:"evaluatorName"`
	LastSeen      string          `json:"lastSeen"`

	// Permanent Permanent is true when retrying cannot help, such as a
	// code error, as opposed to a provider timeout.
	Permanent bool `json:"permanent"`
}

EvalFailureSummary EvalFailureSummary is one evaluator's failed evaluations in the scores that a list read.

type EvalTemplate added in v0.14.0

type EvalTemplate struct {
	// Category Category, Description and Model are set only on the
	// Oodle-managed templates, which `managed` serves from the
	// catalogue rather than from a row. They are declared here
	// so the API spec describes what those templates carry.
	// Category groups them in the picker ("Built-in checks"),
	// Description says what a built-in check scores, and Model
	// is the judge model of a managed judge (served by
	// `GET eval-templates/{id}` only).
	Category *string `json:"category,omitempty"`

	// CleanValue CleanValue is the categorical value that means nothing
	// was found.
	//
	// Only categorical templates need it, and only to be a
	// parent in an evaluator chain. A categorical score has no
	// position on a 0..1 scale, so without this the gate that
	// decides which spans reach a dependent evaluator has
	// nothing to compare against -- and the failure is silent:
	// it ran the child on every span, and a child running too
	// often looks exactly like a child that is working.
	//
	// Left empty, the chain is switched off for that rule
	// rather than run on everything.
	CleanValue  *string `json:"cleanValue,omitempty"`
	CreatedAt   string  `json:"createdAt"`
	Description *string `json:"description,omitempty"`

	// HigherIsBetter HigherIsBetter says which way is good. It lives on the
	// template rather than the rule because it describes the
	// thing being measured, so every rule pointing here
	// inherits one answer.
	//
	// Four things read it, and each is wrong without it: the
	// score colours (higher-is-better was hardcoded, so a
	// toxicity score of 0.9 rendered green), the chained
	// evaluator gate, an alert's comparison direction, and
	// the experiment run comparison, which today can show two
	// numbers but cannot say which won.
	HigherIsBetter bool   `json:"higherIsBetter"`
	Id             string `json:"id"`

	// LibraryPins LibraryPins maps a shared library name to the version
	// this template runs. A library the code imports with no
	// pin runs at its latest version.
	LibraryPins  *map[string]int `json:"libraryPins,omitempty"`
	Model        *string         `json:"model,omitempty"`
	ModelParams  interface{}     `json:"modelParams"`
	Name         string          `json:"name"`
	OutputSchema interface{}     `json:"outputSchema"`

	// Params Params declares the settings of a code template. Each
	// evaluation rule sets its own values for them, and the
	// code reads the resolved values as `ctx.params`.
	Params    *[]ParamSpec `json:"params,omitempty"`
	ProjectId *string      `json:"projectId,omitempty"`
	Prompt    string       `json:"prompt"`

	// ScoreType ScoreType is numeric, boolean or categorical. Empty
	// means the template predates the column and never
	// declared one; the UI renders that neutral rather than
	// guessing.
	ScoreType          *string   `json:"scoreType,omitempty"`
	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"`

	// GenerationSpansOnly GenerationSpansOnly limits the rule to leaf model
	// calls. True for an LLM judge, which has nothing to
	// grade on an agent or tool span; a code evaluator often
	// wants the opposite, since a tool failure is a span it
	// alone can read.
	GenerationSpansOnly   bool        `json:"generationSpansOnly"`
	Id                    string      `json:"id"`
	LlmConnectionId       *string     `json:"llmConnectionId,omitempty"`
	MaxInvocationsPerHour int         `json:"maxInvocationsPerHour"`
	ModelParams           interface{} `json:"modelParams"`
	Name                  string      `json:"name"`

	// Params Params are this evaluator's values for the settings its
	// code template declares, by setting name. The handler
	// checks them against the template on write.
	Params       *map[string]interface{} `json:"params,omitempty"`
	SamplingRate float32                 `json:"samplingRate"`

	// ScoreInputRuleIds ScoreInputRuleIDs are the rules whose scores this rule's
	// code reads through `ctx.scores`. The server derives them
	// from the code on each write; a client never sets them.
	// The rule runs after them, on the spans they scored.
	ScoreInputRuleIds *[]string   `json:"scoreInputRuleIds,omitempty"`
	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 {
	// CleanValue CleanValue is the categorical value meaning nothing was
	// found. A categorical rule without one cannot gate a
	// dependent evaluator at all.
	CleanValue       *string   `json:"cleanValue,omitempty"`
	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", "output_comparer" or
	// "webhook", and
	// is empty when the referenced template no longer exists.
	EvaluatorType *string     `json:"evaluatorType,omitempty"`
	Filters       interface{} `json:"filters"`

	// GenerationSpansOnly GenerationSpansOnly limits the rule to leaf model
	// calls. True for an LLM judge, which has nothing to
	// grade on an agent or tool span; a code evaluator often
	// wants the opposite, since a tool failure is a span it
	// alone can read.
	GenerationSpansOnly bool `json:"generationSpansOnly"`

	// HigherIsBetter HigherIsBetter says which way is good for this rule's
	// score. Served on the rule so a client can say when a
	// dependent evaluator will run without fetching every
	// template.
	HigherIsBetter        bool        `json:"higherIsBetter"`
	Id                    string      `json:"id"`
	LlmConnectionId       *string     `json:"llmConnectionId,omitempty"`
	MaxInvocationsPerHour int         `json:"maxInvocationsPerHour"`
	ModelParams           interface{} `json:"modelParams"`
	Name                  string      `json:"name"`

	// Params Params are this evaluator's values for the settings its
	// code template declares, by setting name. The handler
	// checks them against the template on write.
	Params       *map[string]interface{} `json:"params,omitempty"`
	SamplingRate float32                 `json:"samplingRate"`

	// ScoreInputRuleIds ScoreInputRuleIDs are the rules whose scores this rule's
	// code reads through `ctx.scores`. The server derives them
	// from the code on each write; a client never sets them.
	// The rule runs after them, on the spans they scored.
	ScoreInputRuleIds *[]string `json:"scoreInputRuleIds,omitempty"`

	// ScoreType ScoreType is numeric, boolean or categorical. Empty when
	// the template never declared one.
	ScoreType       *string     `json:"scoreType,omitempty"`
	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 ExperimentComparisonResponse added in v0.21.0

type ExperimentComparisonResponse struct {
	Data        *[]ComparedRow `json:"data"`
	Experiments *[]DatasetRun  `json:"experiments"`

	// Meta ListMeta is the pagination envelope every llmops list
	// endpoint returns alongside `data`.
	Meta      ListMeta             `json:"meta"`
	Summaries *[]ExperimentSummary `json:"summaries"`
}

ExperimentComparisonResponse ExperimentComparisonResponse is one page of rows matched across experiments by input.

type ExperimentFeedback added in v0.21.0

type ExperimentFeedback struct {
	Comment  *string     `json:"comment,omitempty"`
	Expected interface{} `json:"expected,omitempty"`

	// Id ID is the row id that the insert returned, or the
	// caller's id for the row.
	Id       string               `json:"id"`
	Metadata interface{}          `json:"metadata,omitempty"`
	Scores   *map[string]*float32 `json:"scores,omitempty"`

	// Source Source is "API" (default), "ANNOTATION" or "EXTERNAL".
	Source *string   `json:"source,omitempty"`
	Tags   *[]string `json:"tags,omitempty"`
}

ExperimentFeedback ExperimentFeedback adds scores, an expected value, tags or a comment to a row after it was written.

type ExperimentFeedbackRequest added in v0.21.0

type ExperimentFeedbackRequest struct {
	Feedback *[]ExperimentFeedback `json:"feedback"`
}

ExperimentFeedbackRequest ExperimentFeedbackRequest adds feedback to rows.

type ExperimentFeedbackResponse added in v0.21.0

type ExperimentFeedbackResponse struct {
	Missing *[]string `json:"missing,omitempty"`
	RowIds  *[]string `json:"rowIds"`
}

ExperimentFeedbackResponse ExperimentFeedbackResponse gives the row id of each feedback entry in the order of the request. An entry whose row was not found has an empty id, and its id is also in `missing`.

type ExperimentRow added in v0.21.0

type ExperimentRow struct {
	// DatasetItemId DatasetItemID links the row to a dataset item. Optional.
	DatasetItemId *string `json:"datasetItemId,omitempty"`

	// Error Error marks the row as failed. A string or any JSON.
	Error    interface{} `json:"error,omitempty"`
	Expected interface{} `json:"expected,omitempty"`

	// Id ID is the caller's id for the row. A write that repeats it
	// updates the row, so a retried upload adds no duplicate.
	// Oodle makes one when it is absent.
	Id       *string     `json:"id,omitempty"`
	Input    interface{} `json:"input,omitempty"`
	Metadata interface{} `json:"metadata,omitempty"`

	// Metrics Metrics holds numbers such as start, end (Unix seconds),
	// prompt_tokens, completion_tokens, tokens and
	// estimated_cost.
	Metrics interface{} `json:"metrics,omitempty"`
	Output  interface{} `json:"output,omitempty"`

	// Scores Scores are numbers from 0 to 1 by name. A null score is
	// ignored.
	Scores *map[string]*float32 `json:"scores,omitempty"`
	SpanId *string              `json:"spanId,omitempty"`
	Tags   *[]string            `json:"tags,omitempty"`

	// TraceId TraceID links the row to its GenAI trace (32 hex). When
	// absent, the row gets a trace id of its own.
	TraceId *string `json:"traceId,omitempty"`
}

ExperimentRow ExperimentRow is one row of an experiment: one input that the code under test ran, what it returned, and how it scored.

type ExperimentRowView added in v0.21.0

type ExperimentRowView struct {
	CreatedAt     string      `json:"createdAt"`
	DatasetItemId string      `json:"datasetItemId"`
	DatasetRunId  string      `json:"datasetRunId"`
	ErrorMessage  *string     `json:"errorMessage,omitempty"`
	Expected      interface{} `json:"expected,omitempty"`

	// ExternalId ExternalID is the caller's id for the row. A write that
	// repeats it updates the row instead of adding a second one.
	ExternalId *string `json:"externalId,omitempty"`
	Id         string  `json:"id"`

	// Input The fields below are set on rows that the customer's code
	// uploaded. A row that Oodle executed reads its input and
	// expected output from the dataset item instead.
	Input         interface{} `json:"input,omitempty"`
	Metadata      interface{} `json:"metadata,omitempty"`
	Metrics       interface{} `json:"metrics,omitempty"`
	ObservationId *string     `json:"observationId,omitempty"`
	Output        *string     `json:"output,omitempty"`
	Scores        *[]Score    `json:"scores"`
	SpanId        *string     `json:"spanId,omitempty"`
	Status        *string     `json:"status,omitempty"`
	Tags          *[]string   `json:"tags,omitempty"`
	TraceId       string      `json:"traceId"`
	UpdatedAt     string      `json:"updatedAt"`
}

ExperimentRowView ExperimentRowView is a stored row with its scores.

type ExperimentRowsResponse added in v0.21.0

type ExperimentRowsResponse struct {
	Cursor *string              `json:"cursor,omitempty"`
	Data   *[]ExperimentRowView `json:"data"`
}

ExperimentRowsResponse ExperimentRowsResponse is one page of experiment rows with their scores. Pass `cursor` back to read the next page.

type ExperimentSummary added in v0.21.0

type ExperimentSummary struct {
	Comparison         *DatasetRun      `json:"comparison,omitempty"`
	ComparisonRowCount *int             `json:"comparisonRowCount,omitempty"`
	Experiment         DatasetRun       `json:"experiment"`
	MatchedRows        *int             `json:"matchedRows,omitempty"`
	Metrics            *[]MetricSummary `json:"metrics"`
	RowCount           int              `json:"rowCount"`
	Scores             *[]ScoreSummary  `json:"scores"`
}

ExperimentSummary ExperimentSummary is the summary of one experiment, compared with a base experiment when one is given.

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 GetGenaiBackfillResponse added in v0.18.0

type GetGenaiBackfillResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BackfillRun
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetGenaiBackfillResponse added in v0.18.0

func ParseGetGenaiBackfillResponse(rsp *http.Response) (*GetGenaiBackfillResponse, error)

ParseGetGenaiBackfillResponse parses an HTTP response from a GetGenaiBackfillWithResponse call

func (GetGenaiBackfillResponse) Status added in v0.18.0

func (r GetGenaiBackfillResponse) Status() string

Status returns HTTPResponse.Status

func (GetGenaiBackfillResponse) StatusCode added in v0.18.0

func (r GetGenaiBackfillResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGenaiCodeEvalLibraryFileResponse added in v0.18.0

type GetGenaiCodeEvalLibraryFileResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CodeEvalLibraryFileResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetGenaiCodeEvalLibraryFileResponse added in v0.18.0

func ParseGetGenaiCodeEvalLibraryFileResponse(rsp *http.Response) (*GetGenaiCodeEvalLibraryFileResponse, error)

ParseGetGenaiCodeEvalLibraryFileResponse parses an HTTP response from a GetGenaiCodeEvalLibraryFileWithResponse call

func (GetGenaiCodeEvalLibraryFileResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (GetGenaiCodeEvalLibraryFileResponse) StatusCode added in v0.18.0

StatusCode returns HTTPResponse.StatusCode

type GetGenaiCodeEvalLibraryResponse added in v0.18.0

type GetGenaiCodeEvalLibraryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CodeEvalLibraryResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetGenaiCodeEvalLibraryResponse added in v0.18.0

func ParseGetGenaiCodeEvalLibraryResponse(rsp *http.Response) (*GetGenaiCodeEvalLibraryResponse, error)

ParseGetGenaiCodeEvalLibraryResponse parses an HTTP response from a GetGenaiCodeEvalLibraryWithResponse call

func (GetGenaiCodeEvalLibraryResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (GetGenaiCodeEvalLibraryResponse) StatusCode added in v0.18.0

func (r GetGenaiCodeEvalLibraryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGenaiCodeLibraryResponse added in v0.18.0

type GetGenaiCodeLibraryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CodeLibraryResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetGenaiCodeLibraryResponse added in v0.18.0

func ParseGetGenaiCodeLibraryResponse(rsp *http.Response) (*GetGenaiCodeLibraryResponse, error)

ParseGetGenaiCodeLibraryResponse parses an HTTP response from a GetGenaiCodeLibraryWithResponse call

func (GetGenaiCodeLibraryResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (GetGenaiCodeLibraryResponse) StatusCode added in v0.18.0

func (r GetGenaiCodeLibraryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGenaiCodeLibraryVersionResponse added in v0.18.0

type GetGenaiCodeLibraryVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CodeLibraryVersion
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetGenaiCodeLibraryVersionResponse added in v0.18.0

func ParseGetGenaiCodeLibraryVersionResponse(rsp *http.Response) (*GetGenaiCodeLibraryVersionResponse, error)

ParseGetGenaiCodeLibraryVersionResponse parses an HTTP response from a GetGenaiCodeLibraryVersionWithResponse call

func (GetGenaiCodeLibraryVersionResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (GetGenaiCodeLibraryVersionResponse) StatusCode added in v0.18.0

func (r GetGenaiCodeLibraryVersionResponse) 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 GetGenaiDatasetParams added in v0.21.0

type GetGenaiDatasetParams struct {
	// ProjectId Project ID. Omit it, or send `default`, for the default project, which holds everything that names no project. Names are unique in a project, so the same name in two projects is two objects.
	ProjectId *string `form:"projectId,omitempty" json:"projectId,omitempty"`
}

GetGenaiDatasetParams defines parameters for GetGenaiDataset.

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 GetGenaiDatasetScheduleParams added in v0.21.0

type GetGenaiDatasetScheduleParams struct {
	// ProjectId Project ID. Omit it, or send `default`, for the default project, which holds everything that names no project. Names are unique in a project, so the same name in two projects is two objects.
	ProjectId *string `form:"projectId,omitempty" json:"projectId,omitempty"`
}

GetGenaiDatasetScheduleParams defines parameters for GetGenaiDatasetSchedule.

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 GetGenaiEvaluationRuleResponse added in v0.18.0

type GetGenaiEvaluationRuleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EvaluationRuleResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetGenaiEvaluationRuleResponse added in v0.18.0

func ParseGetGenaiEvaluationRuleResponse(rsp *http.Response) (*GetGenaiEvaluationRuleResponse, error)

ParseGetGenaiEvaluationRuleResponse parses an HTTP response from a GetGenaiEvaluationRuleWithResponse call

func (GetGenaiEvaluationRuleResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (GetGenaiEvaluationRuleResponse) StatusCode added in v0.18.0

func (r GetGenaiEvaluationRuleResponse) 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 GetGenaiExperimentResponse added in v0.21.0

type GetGenaiExperimentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DatasetRun
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetGenaiExperimentResponse added in v0.21.0

func ParseGetGenaiExperimentResponse(rsp *http.Response) (*GetGenaiExperimentResponse, error)

ParseGetGenaiExperimentResponse parses an HTTP response from a GetGenaiExperimentWithResponse call

func (GetGenaiExperimentResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (GetGenaiExperimentResponse) StatusCode added in v0.21.0

func (r GetGenaiExperimentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGenaiExperimentSummaryParams added in v0.21.0

type GetGenaiExperimentSummaryParams struct {
	// CompareTo Experiment ID to compare with. Defaults to the experiment's `baseExperimentId`, else the newest earlier experiment of the project.
	CompareTo *string `form:"compareTo,omitempty" json:"compareTo,omitempty"`
}

GetGenaiExperimentSummaryParams defines parameters for GetGenaiExperimentSummary.

type GetGenaiExperimentSummaryResponse added in v0.21.0

type GetGenaiExperimentSummaryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ExperimentSummary
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetGenaiExperimentSummaryResponse added in v0.21.0

func ParseGetGenaiExperimentSummaryResponse(rsp *http.Response) (*GetGenaiExperimentSummaryResponse, error)

ParseGetGenaiExperimentSummaryResponse parses an HTTP response from a GetGenaiExperimentSummaryWithResponse call

func (GetGenaiExperimentSummaryResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (GetGenaiExperimentSummaryResponse) StatusCode added in v0.21.0

func (r GetGenaiExperimentSummaryResponse) 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 GetGenaiProjectResponse added in v0.21.0

type GetGenaiProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Project
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetGenaiProjectResponse added in v0.21.0

func ParseGetGenaiProjectResponse(rsp *http.Response) (*GetGenaiProjectResponse, error)

ParseGetGenaiProjectResponse parses an HTTP response from a GetGenaiProjectWithResponse call

func (GetGenaiProjectResponse) Status added in v0.21.0

func (r GetGenaiProjectResponse) Status() string

Status returns HTTPResponse.Status

func (GetGenaiProjectResponse) StatusCode added in v0.21.0

func (r GetGenaiProjectResponse) 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 GetGenaiWebhookResponse added in v0.17.0

type GetGenaiWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Webhook
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetGenaiWebhookResponse added in v0.17.0

func ParseGetGenaiWebhookResponse(rsp *http.Response) (*GetGenaiWebhookResponse, error)

ParseGetGenaiWebhookResponse parses an HTTP response from a GetGenaiWebhookWithResponse call

func (GetGenaiWebhookResponse) Status added in v0.17.0

func (r GetGenaiWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (GetGenaiWebhookResponse) StatusCode added in v0.17.0

func (r GetGenaiWebhookResponse) 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 GetLogblocksByIdResponse added in v0.21.0

type GetLogblocksByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LogBlock
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetLogblocksByIdResponse added in v0.21.0

func ParseGetLogblocksByIdResponse(rsp *http.Response) (*GetLogblocksByIdResponse, error)

ParseGetLogblocksByIdResponse parses an HTTP response from a GetLogblocksByIdWithResponse call

func (GetLogblocksByIdResponse) Status added in v0.21.0

func (r GetLogblocksByIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetLogblocksByIdResponse) StatusCode added in v0.21.0

func (r GetLogblocksByIdResponse) 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 GetTraceSamplingRulesByIdResponse added in v0.21.0

type GetTraceSamplingRulesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SamplingRule
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseGetTraceSamplingRulesByIdResponse added in v0.21.0

func ParseGetTraceSamplingRulesByIdResponse(rsp *http.Response) (*GetTraceSamplingRulesByIdResponse, error)

ParseGetTraceSamplingRulesByIdResponse parses an HTTP response from a GetTraceSamplingRulesByIdWithResponse call

func (GetTraceSamplingRulesByIdResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (GetTraceSamplingRulesByIdResponse) StatusCode added in v0.21.0

func (r GetTraceSamplingRulesByIdResponse) 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 GrafanaDatasourceIntegration added in v0.21.0

type GrafanaDatasourceIntegration struct {
	// CloudWatch CloudWatchDatasource is a Grafana CloudWatch datasource that queries one AWS
	// account through an IAM role in that account.
	CloudWatch *CloudWatchDatasource `json:"cloudWatch,omitempty"`

	// Kind Kind is the datasource kind. CLOUDWATCH is the only kind.
	Kind string `json:"kind"`

	// Name Name is the datasource name in Grafana. It is read-only.
	Name *string `json:"name,omitempty"`

	// Uid UID is the datasource UID in Grafana. It is read-only.
	Uid *string `json:"uid,omitempty"`
}

GrafanaDatasourceIntegration GrafanaDatasourceIntegration is one datasource in the Grafana of the instance. Oodle creates, updates and deletes the datasource together with the integration.

type GrafanaDatasourceIntegrationWrapper added in v0.21.0

type GrafanaDatasourceIntegrationWrapper struct {
	// GrafanaDatasourceIntegration GrafanaDatasourceIntegration is one datasource in the Grafana of the
	// instance. Oodle creates, updates and deletes the datasource together with
	// the integration.
	GrafanaDatasourceIntegration *GrafanaDatasourceIntegration `json:"grafanaDatasourceIntegration,omitempty"`
}

GrafanaDatasourceIntegrationWrapper defines model for GrafanaDatasourceIntegrationWrapper.

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 ImportPrometheusMetricsForJobParams added in v0.18.0

type ImportPrometheusMetricsForJobParams struct {
	// ExtraLabel A label to add to every series in the body, as `name=value`. Repeat the argument to add more than one. A label given here replaces a label of the same name in the body.
	ExtraLabel *string `form:"extra_label,omitempty" json:"extra_label,omitempty"`

	// Timestamp Unix timestamp in milliseconds for the samples that carry no timestamp of their own. Samples that carry one keep it.
	Timestamp *int64 `form:"timestamp,omitempty" json:"timestamp,omitempty"`

	// XOODLEINSTANCE Oodle instance ID that receives the metrics. See [Finding your Instance ID](/api#finding-your-instance-id) in the API overview.
	XOODLEINSTANCE string `json:"X-OODLE-INSTANCE"`
}

ImportPrometheusMetricsForJobParams defines parameters for ImportPrometheusMetricsForJob.

type ImportPrometheusMetricsForJobResponse added in v0.18.0

type ImportPrometheusMetricsForJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseImportPrometheusMetricsForJobResponse added in v0.18.0

func ParseImportPrometheusMetricsForJobResponse(rsp *http.Response) (*ImportPrometheusMetricsForJobResponse, error)

ParseImportPrometheusMetricsForJobResponse parses an HTTP response from a ImportPrometheusMetricsForJobWithResponse call

func (ImportPrometheusMetricsForJobResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (ImportPrometheusMetricsForJobResponse) StatusCode added in v0.18.0

StatusCode returns HTTPResponse.StatusCode

type ImportPrometheusMetricsForJobTextBody added in v0.18.0

type ImportPrometheusMetricsForJobTextBody = string

ImportPrometheusMetricsForJobTextBody defines parameters for ImportPrometheusMetricsForJob.

type ImportPrometheusMetricsForJobTextRequestBody added in v0.18.0

type ImportPrometheusMetricsForJobTextRequestBody = ImportPrometheusMetricsForJobTextBody

ImportPrometheusMetricsForJobTextRequestBody defines body for ImportPrometheusMetricsForJob for text/plain ContentType.

type ImportPrometheusMetricsParams added in v0.18.0

type ImportPrometheusMetricsParams struct {
	// ExtraLabel A label to add to every series in the body, as `name=value`. Repeat the argument to add more than one. A label given here replaces a label of the same name in the body.
	ExtraLabel *string `form:"extra_label,omitempty" json:"extra_label,omitempty"`

	// Timestamp Unix timestamp in milliseconds for the samples that carry no timestamp of their own. Samples that carry one keep it.
	Timestamp *int64 `form:"timestamp,omitempty" json:"timestamp,omitempty"`

	// XOODLEINSTANCE Oodle instance ID that receives the metrics. See [Finding your Instance ID](/api#finding-your-instance-id) in the API overview.
	XOODLEINSTANCE string `json:"X-OODLE-INSTANCE"`
}

ImportPrometheusMetricsParams defines parameters for ImportPrometheusMetrics.

type ImportPrometheusMetricsResponse added in v0.18.0

type ImportPrometheusMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseImportPrometheusMetricsResponse added in v0.18.0

func ParseImportPrometheusMetricsResponse(rsp *http.Response) (*ImportPrometheusMetricsResponse, error)

ParseImportPrometheusMetricsResponse parses an HTTP response from a ImportPrometheusMetricsWithResponse call

func (ImportPrometheusMetricsResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (ImportPrometheusMetricsResponse) StatusCode added in v0.18.0

func (r ImportPrometheusMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ImportPrometheusMetricsTextBody added in v0.18.0

type ImportPrometheusMetricsTextBody = string

ImportPrometheusMetricsTextBody defines parameters for ImportPrometheusMetrics.

type ImportPrometheusMetricsTextRequestBody added in v0.18.0

type ImportPrometheusMetricsTextRequestBody = ImportPrometheusMetricsTextBody

ImportPrometheusMetricsTextRequestBody defines body for ImportPrometheusMetrics for text/plain ContentType.

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 InputScore added in v0.18.0

type InputScore struct {
	Comment        *string `json:"comment,omitempty"`
	DataType       *string `json:"data_type,omitempty"`
	HigherIsBetter *bool   `json:"higher_is_better,omitempty"`
	Name           string  `json:"name"`

	// Value Value is a number, true or false, a string for a
	// categorical score, or null.
	Value interface{} `json:"value"`
}

InputScore InputScore is one score in the sandbox's shape: a score of another evaluator that a test run hands to the code, or a score the code returned.

type InsertExperimentRowsRequest added in v0.21.0

type InsertExperimentRowsRequest struct {
	Rows *[]ExperimentRow `json:"rows"`
}

InsertExperimentRowsRequest InsertExperimentRowsRequest writes rows into an experiment.

type InsertExperimentRowsResponse added in v0.21.0

type InsertExperimentRowsResponse struct {
	RowIds *[]string `json:"rowIds"`
}

InsertExperimentRowsResponse InsertExperimentRowsResponse gives the stored row ids in the order of the request.

type InsertGenaiExperimentRowsJSONRequestBody added in v0.21.0

type InsertGenaiExperimentRowsJSONRequestBody = InsertExperimentRowsRequest

InsertGenaiExperimentRowsJSONRequestBody defines body for InsertGenaiExperimentRows for application/json ContentType.

type InsertGenaiExperimentRowsResponse added in v0.21.0

type InsertGenaiExperimentRowsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InsertExperimentRowsResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseInsertGenaiExperimentRowsResponse added in v0.21.0

func ParseInsertGenaiExperimentRowsResponse(rsp *http.Response) (*InsertGenaiExperimentRowsResponse, error)

ParseInsertGenaiExperimentRowsResponse parses an HTTP response from a InsertGenaiExperimentRowsWithResponse call

func (InsertGenaiExperimentRowsResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (InsertGenaiExperimentRowsResponse) StatusCode added in v0.21.0

func (r InsertGenaiExperimentRowsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 IntegrationTypeSpecificData5 added in v0.21.0

type IntegrationTypeSpecificData5 map[string]interface{}

IntegrationTypeSpecificData5 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) AsAzureMetricsIntegrationWrapper added in v0.17.0

func (t Integration_TypeSpecificData) AsAzureMetricsIntegrationWrapper() (AzureMetricsIntegrationWrapper, error)

AsAzureMetricsIntegrationWrapper returns the union data inside the Integration_TypeSpecificData as a AzureMetricsIntegrationWrapper

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) AsCockroachDBCloudIntegrationWrapper added in v0.17.0

func (t Integration_TypeSpecificData) AsCockroachDBCloudIntegrationWrapper() (CockroachDBCloudIntegrationWrapper, error)

AsCockroachDBCloudIntegrationWrapper returns the union data inside the Integration_TypeSpecificData as a CockroachDBCloudIntegrationWrapper

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) AsGrafanaDatasourceIntegrationWrapper added in v0.21.0

func (t Integration_TypeSpecificData) AsGrafanaDatasourceIntegrationWrapper() (GrafanaDatasourceIntegrationWrapper, error)

AsGrafanaDatasourceIntegrationWrapper returns the union data inside the Integration_TypeSpecificData as a GrafanaDatasourceIntegrationWrapper

func (Integration_TypeSpecificData) AsIntegrationTypeSpecificData5 added in v0.21.0

func (t Integration_TypeSpecificData) AsIntegrationTypeSpecificData5() (IntegrationTypeSpecificData5, error)

AsIntegrationTypeSpecificData5 returns the union data inside the Integration_TypeSpecificData as a IntegrationTypeSpecificData5

func (*Integration_TypeSpecificData) FromAzureMetricsIntegrationWrapper added in v0.17.0

func (t *Integration_TypeSpecificData) FromAzureMetricsIntegrationWrapper(v AzureMetricsIntegrationWrapper) error

FromAzureMetricsIntegrationWrapper overwrites any union data inside the Integration_TypeSpecificData as the provided AzureMetricsIntegrationWrapper

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) FromCockroachDBCloudIntegrationWrapper added in v0.17.0

func (t *Integration_TypeSpecificData) FromCockroachDBCloudIntegrationWrapper(v CockroachDBCloudIntegrationWrapper) error

FromCockroachDBCloudIntegrationWrapper overwrites any union data inside the Integration_TypeSpecificData as the provided CockroachDBCloudIntegrationWrapper

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) FromGrafanaDatasourceIntegrationWrapper added in v0.21.0

func (t *Integration_TypeSpecificData) FromGrafanaDatasourceIntegrationWrapper(v GrafanaDatasourceIntegrationWrapper) error

FromGrafanaDatasourceIntegrationWrapper overwrites any union data inside the Integration_TypeSpecificData as the provided GrafanaDatasourceIntegrationWrapper

func (*Integration_TypeSpecificData) FromIntegrationTypeSpecificData5 added in v0.21.0

func (t *Integration_TypeSpecificData) FromIntegrationTypeSpecificData5(v IntegrationTypeSpecificData5) error

FromIntegrationTypeSpecificData5 overwrites any union data inside the Integration_TypeSpecificData as the provided IntegrationTypeSpecificData5

func (Integration_TypeSpecificData) MarshalJSON added in v0.11.0

func (t Integration_TypeSpecificData) MarshalJSON() ([]byte, error)

func (*Integration_TypeSpecificData) MergeAzureMetricsIntegrationWrapper added in v0.17.0

func (t *Integration_TypeSpecificData) MergeAzureMetricsIntegrationWrapper(v AzureMetricsIntegrationWrapper) error

MergeAzureMetricsIntegrationWrapper performs a merge with any union data inside the Integration_TypeSpecificData, using the provided AzureMetricsIntegrationWrapper

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) MergeCockroachDBCloudIntegrationWrapper added in v0.17.0

func (t *Integration_TypeSpecificData) MergeCockroachDBCloudIntegrationWrapper(v CockroachDBCloudIntegrationWrapper) error

MergeCockroachDBCloudIntegrationWrapper performs a merge with any union data inside the Integration_TypeSpecificData, using the provided CockroachDBCloudIntegrationWrapper

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) MergeGrafanaDatasourceIntegrationWrapper added in v0.21.0

func (t *Integration_TypeSpecificData) MergeGrafanaDatasourceIntegrationWrapper(v GrafanaDatasourceIntegrationWrapper) error

MergeGrafanaDatasourceIntegrationWrapper performs a merge with any union data inside the Integration_TypeSpecificData, using the provided GrafanaDatasourceIntegrationWrapper

func (*Integration_TypeSpecificData) MergeIntegrationTypeSpecificData5 added in v0.21.0

func (t *Integration_TypeSpecificData) MergeIntegrationTypeSpecificData5(v IntegrationTypeSpecificData5) error

MergeIntegrationTypeSpecificData5 performs a merge with any union data inside the Integration_TypeSpecificData, using the provided IntegrationTypeSpecificData5

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 LibraryFile added in v0.18.0

type LibraryFile struct {
	Path string `json:"path"`
	Size int    `json:"size"`
}

LibraryFile LibraryFile is one Python file of the library, by its path under the package root (for example `oodle_eval/v1/metrics.py`).

type LibraryVersionRef added in v0.18.0

type LibraryVersionRef struct {
	// Draft Draft is true when the import resolves to a draft from the
	// request. Version is then 0.
	Draft   *bool  `json:"draft,omitempty"`
	Name    string `json:"name"`
	Version int    `json:"version"`
}

LibraryVersionRef LibraryVersionRef is a shared library the code would load, and the version: the pin, else the latest.

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 ListBackfillsResponse added in v0.18.0

type ListBackfillsResponse struct {
	// Active Active is how many runs are queued or running, and
	// MaxConcurrent how many may be. The form disables itself
	// with a reason when they are equal.
	Active        int            `json:"active"`
	Data          *[]BackfillRun `json:"data"`
	MaxConcurrent int            `json:"maxConcurrent"`
}

ListBackfillsResponse ListBackfillsResponse lists an instance's backfill runs.

type ListCodeLibrariesResponse added in v0.18.0

type ListCodeLibrariesResponse struct {
	Data *[]CodeLibrary `json:"data"`
}

ListCodeLibrariesResponse ListCodeLibrariesResponse lists the shared libraries of an instance, each with its latest source.

type ListCodeLibraryVersionsResponse added in v0.18.0

type ListCodeLibraryVersionsResponse struct {
	Data *[]CodeLibraryVersion `json:"data"`
}

ListCodeLibraryVersionsResponse ListCodeLibraryVersionsResponse lists a library's versions, newest first, without their source.

type ListCodeStartersResponse added in v0.18.0

type ListCodeStartersResponse struct {
	Data *[]CodeEvalStarter `json:"data"`
}

ListCodeStartersResponse ListCodeStartersResponse lists the starting points for a code evaluator. A starter is not a template: a client copies its source and its settings (`params`) into a new `type: code` template. A starter with `builtIn` set is also served as a managed code template, `oodle-managed-code-<id>-v1`, that runs with no copy.

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 ListExperimentsResponse added in v0.21.0

type ListExperimentsResponse struct {
	Data *[]DatasetRunResponse `json:"data"`

	// Meta ListMeta is the pagination envelope every llmops list
	// endpoint returns alongside `data`.
	Meta ListMeta `json:"meta"`
}

ListExperimentsResponse ListExperimentsResponse is one page of experiments, newest first.

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 ListGenaiBackfillsResponse added in v0.18.0

type ListGenaiBackfillsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListBackfillsResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiBackfillsResponse added in v0.18.0

func ParseListGenaiBackfillsResponse(rsp *http.Response) (*ListGenaiBackfillsResponse, error)

ParseListGenaiBackfillsResponse parses an HTTP response from a ListGenaiBackfillsWithResponse call

func (ListGenaiBackfillsResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (ListGenaiBackfillsResponse) StatusCode added in v0.18.0

func (r ListGenaiBackfillsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGenaiCodeEvalLibraryFilesResponse added in v0.18.0

type ListGenaiCodeEvalLibraryFilesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CodeEvalLibraryFilesResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiCodeEvalLibraryFilesResponse added in v0.18.0

func ParseListGenaiCodeEvalLibraryFilesResponse(rsp *http.Response) (*ListGenaiCodeEvalLibraryFilesResponse, error)

ParseListGenaiCodeEvalLibraryFilesResponse parses an HTTP response from a ListGenaiCodeEvalLibraryFilesWithResponse call

func (ListGenaiCodeEvalLibraryFilesResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (ListGenaiCodeEvalLibraryFilesResponse) StatusCode added in v0.18.0

StatusCode returns HTTPResponse.StatusCode

type ListGenaiCodeEvalStartersResponse added in v0.18.0

type ListGenaiCodeEvalStartersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListCodeStartersResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiCodeEvalStartersResponse added in v0.18.0

func ParseListGenaiCodeEvalStartersResponse(rsp *http.Response) (*ListGenaiCodeEvalStartersResponse, error)

ParseListGenaiCodeEvalStartersResponse parses an HTTP response from a ListGenaiCodeEvalStartersWithResponse call

func (ListGenaiCodeEvalStartersResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (ListGenaiCodeEvalStartersResponse) StatusCode added in v0.18.0

func (r ListGenaiCodeEvalStartersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGenaiCodeLibrariesResponse added in v0.18.0

type ListGenaiCodeLibrariesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListCodeLibrariesResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiCodeLibrariesResponse added in v0.18.0

func ParseListGenaiCodeLibrariesResponse(rsp *http.Response) (*ListGenaiCodeLibrariesResponse, error)

ParseListGenaiCodeLibrariesResponse parses an HTTP response from a ListGenaiCodeLibrariesWithResponse call

func (ListGenaiCodeLibrariesResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (ListGenaiCodeLibrariesResponse) StatusCode added in v0.18.0

func (r ListGenaiCodeLibrariesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGenaiCodeLibraryVersionsResponse added in v0.18.0

type ListGenaiCodeLibraryVersionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListCodeLibraryVersionsResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiCodeLibraryVersionsResponse added in v0.18.0

func ParseListGenaiCodeLibraryVersionsResponse(rsp *http.Response) (*ListGenaiCodeLibraryVersionsResponse, error)

ParseListGenaiCodeLibraryVersionsResponse parses an HTTP response from a ListGenaiCodeLibraryVersionsWithResponse call

func (ListGenaiCodeLibraryVersionsResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (ListGenaiCodeLibraryVersionsResponse) StatusCode added in v0.18.0

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"`

	// ProjectId Project ID. Omit it, or send `default`, for the default project, which holds everything that names no project. Names are unique in a project, so the same name in two projects is two objects.
	ProjectId *string `form:"projectId,omitempty" json:"projectId,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"`

	// ProjectId Project ID. Omit it, or send `default`, for the default project, which holds everything that names no project. Names are unique in a project, so the same name in two projects is two objects.
	ProjectId *string `form:"projectId,omitempty" json:"projectId,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 ListGenaiExperimentRowsParams added in v0.21.0

type ListGenaiExperimentRowsParams struct {
	// Cursor The `cursor` of the previous page. Omit it for the first page.
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Results per page. Defaults to 50, capped at 200.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListGenaiExperimentRowsParams defines parameters for ListGenaiExperimentRows.

type ListGenaiExperimentRowsResponse added in v0.21.0

type ListGenaiExperimentRowsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ExperimentRowsResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiExperimentRowsResponse added in v0.21.0

func ParseListGenaiExperimentRowsResponse(rsp *http.Response) (*ListGenaiExperimentRowsResponse, error)

ParseListGenaiExperimentRowsResponse parses an HTTP response from a ListGenaiExperimentRowsWithResponse call

func (ListGenaiExperimentRowsResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (ListGenaiExperimentRowsResponse) StatusCode added in v0.21.0

func (r ListGenaiExperimentRowsResponse) 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"`

	// ProjectId Project ID. Omit it, or send `default`, for the default project, which holds everything that names no project. Names are unique in a project, so the same name in two projects is two objects.
	ProjectId *string `form:"projectId,omitempty" json:"projectId,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 ListGenaiProjectExperimentsParams added in v0.21.0

type ListGenaiProjectExperimentsParams struct {
	// DatasetId Only experiments over this dataset.
	DatasetId *string `form:"datasetId,omitempty" json:"datasetId,omitempty"`

	// Limit Results per page. Defaults to 50, capped at 200.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Name Only the experiment with this name.
	Name *string `form:"name,omitempty" json:"name,omitempty"`

	// Page 1-based page number. Defaults to 1.
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// ProjectId Project ID. Omit it for the default project. Send `*` to list the experiments of every project.
	ProjectId *string `form:"projectId,omitempty" json:"projectId,omitempty"`

	// Source Only experiments from this source: `oodle` (Oodle ran it), `api` or `braintrust` (your code uploaded the rows).
	Source *string `form:"source,omitempty" json:"source,omitempty"`
}

ListGenaiProjectExperimentsParams defines parameters for ListGenaiProjectExperiments.

type ListGenaiProjectExperimentsResponse added in v0.21.0

type ListGenaiProjectExperimentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListExperimentsResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiProjectExperimentsResponse added in v0.21.0

func ParseListGenaiProjectExperimentsResponse(rsp *http.Response) (*ListGenaiProjectExperimentsResponse, error)

ParseListGenaiProjectExperimentsResponse parses an HTTP response from a ListGenaiProjectExperimentsWithResponse call

func (ListGenaiProjectExperimentsResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (ListGenaiProjectExperimentsResponse) StatusCode added in v0.21.0

StatusCode returns HTTPResponse.StatusCode

type ListGenaiProjectsResponse added in v0.21.0

type ListGenaiProjectsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListProjectsResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiProjectsResponse added in v0.21.0

func ParseListGenaiProjectsResponse(rsp *http.Response) (*ListGenaiProjectsResponse, error)

ParseListGenaiProjectsResponse parses an HTTP response from a ListGenaiProjectsWithResponse call

func (ListGenaiProjectsResponse) Status added in v0.21.0

func (r ListGenaiProjectsResponse) Status() string

Status returns HTTPResponse.Status

func (ListGenaiProjectsResponse) StatusCode added in v0.21.0

func (r ListGenaiProjectsResponse) 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 ListGenaiWebhooksResponse added in v0.17.0

type ListGenaiWebhooksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListWebhooksResponse
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListGenaiWebhooksResponse added in v0.17.0

func ParseListGenaiWebhooksResponse(rsp *http.Response) (*ListGenaiWebhooksResponse, error)

ParseListGenaiWebhooksResponse parses an HTTP response from a ListGenaiWebhooksWithResponse call

func (ListGenaiWebhooksResponse) Status added in v0.17.0

func (r ListGenaiWebhooksResponse) Status() string

Status returns HTTPResponse.Status

func (ListGenaiWebhooksResponse) StatusCode added in v0.17.0

func (r ListGenaiWebhooksResponse) 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 ListLogblocksResponse added in v0.21.0

type ListLogblocksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]LogBlock
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListLogblocksResponse added in v0.21.0

func ParseListLogblocksResponse(rsp *http.Response) (*ListLogblocksResponse, error)

ParseListLogblocksResponse parses an HTTP response from a ListLogblocksWithResponse call

func (ListLogblocksResponse) Status added in v0.21.0

func (r ListLogblocksResponse) Status() string

Status returns HTTPResponse.Status

func (ListLogblocksResponse) StatusCode added in v0.21.0

func (r ListLogblocksResponse) 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 ListProjectsResponse added in v0.21.0

type ListProjectsResponse struct {
	Data *[]Project `json:"data"`
}

ListProjectsResponse ListProjectsResponse lists the projects. The built-in default project is first, with `isDefault` true and an empty id.

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 ListScoresMeta added in v0.18.0

type ListScoresMeta struct {
	Limit      int  `json:"limit"`
	Page       int  `json:"page"`
	TotalItems int  `json:"totalItems"`
	TotalPages *int `json:"totalPages,omitempty"`

	// TraceFiltersTruncated TraceFiltersTruncated is true when the intersection of
	// the trace filters was taken over the newest traces only,
	// so the result may not reach every trace in the window.
	TraceFiltersTruncated *bool `json:"traceFiltersTruncated,omitempty"`
}

ListScoresMeta ListScoresMeta is the score list's pagination, and whether a trace filter was applied to the newest traces only.

type ListScoresResponse added in v0.14.0

type ListScoresResponse struct {
	Data *[]ScoreResponse `json:"data"`

	// Meta ListScoresMeta is the score list's pagination, and whether a
	// trace filter was applied to the newest traces only.
	Meta ListScoresMeta `json:"meta"`

	// Summary Summary counts the failed evaluations per evaluator over
	// everything the query read, not only this page, so the
	// evaluators list can flag failing rows from one request.
	Summary *[]EvalFailureSummary `json:"summary"`
}

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 ListTraceQLTagValuesParams added in v0.21.0

type ListTraceQLTagValuesParams struct {
	// End End of the time range in Unix epoch seconds. It has no effect at this time.
	End *int64 `form:"end,omitempty" json:"end,omitempty"`

	// Q TraceQL span selector. Only values from spans that match it are listed. A selector that does not parse, such as the partial query that an editor sends while you type a value, is ignored, and values from all spans are listed.
	Q *string `form:"q,omitempty" json:"q,omitempty"`

	// Start Start of the time range in Unix epoch seconds. It has no effect at this time.
	Start *int64 `form:"start,omitempty" json:"start,omitempty"`
}

ListTraceQLTagValuesParams defines parameters for ListTraceQLTagValues.

type ListTraceQLTagValuesResponse added in v0.21.0

type ListTraceQLTagValuesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TraceQLTagValuesResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON429      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListTraceQLTagValuesResponse added in v0.21.0

func ParseListTraceQLTagValuesResponse(rsp *http.Response) (*ListTraceQLTagValuesResponse, error)

ParseListTraceQLTagValuesResponse parses an HTTP response from a ListTraceQLTagValuesWithResponse call

func (ListTraceQLTagValuesResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (ListTraceQLTagValuesResponse) StatusCode added in v0.21.0

func (r ListTraceQLTagValuesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTraceQLTagsParams added in v0.21.0

type ListTraceQLTagsParams struct {
	// End End of the time range in Unix epoch seconds. It has no effect at this time.
	End *int64 `form:"end,omitempty" json:"end,omitempty"`

	// Q TraceQL span selector. Only tags of spans that match it are listed.
	Q *string `form:"q,omitempty" json:"q,omitempty"`

	// Scope Scope of the tags: `resource`, `span` or `intrinsic`. It has no effect at this time.
	Scope *string `form:"scope,omitempty" json:"scope,omitempty"`

	// Start Start of the time range in Unix epoch seconds. It has no effect at this time.
	Start *int64 `form:"start,omitempty" json:"start,omitempty"`
}

ListTraceQLTagsParams defines parameters for ListTraceQLTags.

type ListTraceQLTagsResponse added in v0.21.0

type ListTraceQLTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TraceQLTagsResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON429      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListTraceQLTagsResponse added in v0.21.0

func ParseListTraceQLTagsResponse(rsp *http.Response) (*ListTraceQLTagsResponse, error)

ParseListTraceQLTagsResponse parses an HTTP response from a ListTraceQLTagsWithResponse call

func (ListTraceQLTagsResponse) Status added in v0.21.0

func (r ListTraceQLTagsResponse) Status() string

Status returns HTTPResponse.Status

func (ListTraceQLTagsResponse) StatusCode added in v0.21.0

func (r ListTraceQLTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTraceSamplingRulesResponse added in v0.21.0

type ListTraceSamplingRulesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]SamplingRule
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseListTraceSamplingRulesResponse added in v0.21.0

func ParseListTraceSamplingRulesResponse(rsp *http.Response) (*ListTraceSamplingRulesResponse, error)

ParseListTraceSamplingRulesResponse parses an HTTP response from a ListTraceSamplingRulesWithResponse call

func (ListTraceSamplingRulesResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (ListTraceSamplingRulesResponse) StatusCode added in v0.21.0

func (r ListTraceSamplingRulesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 ListWebhooksResponse added in v0.17.0

type ListWebhooksResponse struct {
	Data *[]Webhook `json:"data"`
}

ListWebhooksResponse ListWebhooksResponse is the webhook list. Stored headers are never included; `headerNames` says which are set.

type LogBlock added in v0.21.0

type LogBlock struct {
	// Description Description says why the logs are dropped.
	Description *string `json:"description,omitempty"`

	// Disabled Disabled stops the block without deleting it.
	Disabled *bool `json:"disabled,omitempty"`

	// ExpiresAtEpochMs ExpiresAtEpochMs is when the block stops dropping logs, in
	// milliseconds since epoch, or 0 for never.
	ExpiresAtEpochMs *int `json:"expiresAtEpochMs,omitempty"`

	// Filter LogFilter selects logs. Set exactly one of these: a single condition, all (all filters must match), any (at least one filter must match), or not (the filter must not match). all, any and not contain LogFilter objects, so filters can be nested.
	//
	// A single condition has field, operator, value and jsonPath. Responses always give these properties inline, at the top level of the LogFilter: `{"field":"level","operator":"is","value":"error"}`. Requests can give them inline, or in a match object: `{"match":{"field":"level","operator":"is","value":"error"}}`. Both forms are accepted at each level of nesting. A filter that gives both forms is rejected.
	Filter LogFilter `json:"filter"`

	// Id ID is the unique identifier.
	Id *openapi_types.UUID `json:"id,omitempty"`

	// KeepPercent KeepPercent is the share of matching logs to keep, from 0 to 100.
	// The default, 0, drops every matching log.
	KeepPercent *float32 `json:"keepPercent,omitempty"`

	// Name Name is the name of the log block rule.
	Name string `json:"name"`

	// UpdatedAtEpochMs UpdatedAtEpochMs is the updated at time in milliseconds since epoch.
	UpdatedAtEpochMs *int `json:"updatedAtEpochMs,omitempty"`
}

LogBlock LogBlock defines a rule to drop logs matching specific filters. When the filter matches, the log is dropped (blocked) and not ingested.

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"`

	// Field Name of the log field to match.
	Field *string `json:"field,omitempty"`

	// JsonPath Path to a value in a JSON field. If not set, the match uses the full field value.
	JsonPath *string `json:"jsonPath,omitempty"`

	// Match Request only: a single condition in a wrapper object. The server reads it the same as the inline field, jsonPath, operator and value properties. Do not set it together with the inline properties. Responses never contain it.
	Match *struct {
		// Field Name of the log field to match.
		Field string `json:"field"`

		// JsonPath Path to a value in a JSON field. If not set, the match uses the full field value.
		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"`
	Operator *LogFilterOperator      `json:"operator,omitempty"`
	Value    *string                 `json:"value,omitempty"`
}

LogFilter LogFilter selects logs. Set exactly one of these: a single condition, all (all filters must match), any (at least one filter must match), or not (the filter must not match). all, any and not contain LogFilter objects, so filters can be nested.

A single condition has field, operator, value and jsonPath. Responses always give these properties inline, at the top level of the LogFilter: `{"field":"level","operator":"is","value":"error"}`. Requests can give them inline, or in a match object: `{"match":{"field":"level","operator":"is","value":"error"}}`. Both forms are accepted at each level of nesting. A filter that gives both forms is rejected.

type LogFilterMatchOperator

type LogFilterMatchOperator string

LogFilterMatchOperator defines model for LogFilter.Match.Operator.

const (
	LogFilterMatchOperatorContains     LogFilterMatchOperator = "contains"
	LogFilterMatchOperatorExists       LogFilterMatchOperator = "exists"
	LogFilterMatchOperatorIs           LogFilterMatchOperator = "is"
	LogFilterMatchOperatorMatchesRegex 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 LogFilterOperator added in v0.21.0

type LogFilterOperator string

LogFilterOperator defines model for LogFilter.Operator.

const (
	LogFilterOperatorContains     LogFilterOperator = "contains"
	LogFilterOperatorExists       LogFilterOperator = "exists"
	LogFilterOperatorIs           LogFilterOperator = "is"
	LogFilterOperatorMatchesRegex LogFilterOperator = "matches regex"
)

Defines values for LogFilterOperator.

func (LogFilterOperator) Valid added in v0.21.0

func (e LogFilterOperator) Valid() bool

Valid indicates whether the value is a known member of the LogFilterOperator enum.

type LogMetrics

type LogMetrics struct {
	// Filter LogFilter selects logs. Set exactly one of these: a single condition, all (all filters must match), any (at least one filter must match), or not (the filter must not match). all, any and not contain LogFilter objects, so filters can be nested.
	//
	// A single condition has field, operator, value and jsonPath. Responses always give these properties inline, at the top level of the LogFilter: `{"field":"level","operator":"is","value":"error"}`. Requests can give them inline, or in a match object: `{"match":{"field":"level","operator":"is","value":"error"}}`. Both forms are accepted at each level of nesting. A filter that gives both forms is rejected.
	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 MetricSummary added in v0.21.0

type MetricSummary struct {
	Average      *float32 `json:"average,omitempty"`
	BaseAverage  *float32 `json:"baseAverage,omitempty"`
	Count        int      `json:"count"`
	Diff         *float32 `json:"diff,omitempty"`
	Improvements int      `json:"improvements"`
	Name         string   `json:"name"`
	Regressions  int      `json:"regressions"`
	Unit         *string  `json:"unit,omitempty"`
}

MetricSummary MetricSummary is the same as ScoreSummary for a row metric, for example duration, tokens or cost. A lower value is better for every metric.

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 NamedRef added in v0.18.0

type NamedRef struct {
	Id string `json:"id"`

	// Kind Kind is "template" or "library" in a library's used-by
	// list, and empty elsewhere.
	Kind *string `json:"kind,omitempty"`
	Name string  `json:"name"`
}

NamedRef NamedRef names one template, library or rule, for an answer that lists what depends on the thing being changed.

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 NotifierTestResult added in v0.17.0

type NotifierTestResult struct {
	// Message Message tells the user where the test alert went.
	Message string `json:"message"`
}

NotifierTestResult NotifierTestResult reports the outcome of a notifier test.

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 OodleUtilTracecontentContents added in v0.18.0

type OodleUtilTracecontentContents struct {
	// BundleStarts BundleStarts, Layout and KeyEpochUs name the cache
	// entries the contents were stored under: entry b holds
	// indexes BundleStarts[b] up to the next start. A reader
	// sends each id's entry back to fetch it. No starts means
	// the contents were not stored, and only Values has them.
	BundleStarts *[]int `json:"bundleStarts,omitempty"`

	// Derived Derived are the values of the last len(Derived) ids: the
	// contents a reader of the trace made itself, which no cache
	// holds, so they travel with the response.
	Derived *[]string `json:"derived,omitempty"`

	// Ids IDs are the ids of the contents, in the order a Ref's
	// indexes count.
	Ids        *[]string `json:"ids"`
	KeyEpochUs *int      `json:"keyEpochUs,omitempty"`
	Layout     *string   `json:"layout,omitempty"`

	// Sizes Sizes are the lengths of the contents in bytes,
	// index-aligned with IDs, so a reader can ask for a
	// bounded amount at a time.
	Sizes *[]int `json:"sizes,omitempty"`

	// Values Values, when present, are the contents themselves,
	// index-aligned with IDs.
	Values *[]string `json:"values,omitempty"`
}

OodleUtilTracecontentContents Contents is the table as a response carries it.

type OodleUtilTracecontentRef added in v0.18.0

type OodleUtilTracecontentRef struct {
	// Array Array is true when the value was a JSON array and IDs
	// are its elements in order.
	Array *bool   `json:"array,omitempty"`
	Close *string `json:"close,omitempty"`

	// Ids IDs are indexes into the table's ids. A value that was
	// not an array has one. JSON carries them as runs: an id,
	// then the negated count of the ids that follow it, so
	// [4,-3,9] is 4, 5, 6, 7 and 9.
	Ids *[]int `json:"ids"`

	// Open Open, Sep and Close are the text of the array around
	// and between its elements, white space included, when it
	// is not "[", "," and "]". With them the array is rebuilt
	// byte for byte: a Python SDK writes ", " between elements.
	Open *string `json:"open,omitempty"`
	Sep  *string `json:"sep,omitempty"`

	// Size Size is the length of the value in bytes.
	Size int `json:"size"`
}

OodleUtilTracecontentRef Ref stands in a tag for a value that was moved to the table.

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 ParamSpec added in v0.18.0

type ParamSpec struct {
	Default     interface{} `json:"default,omitempty"`
	Description *string     `json:"description,omitempty"`
	Label       *string     `json:"label,omitempty"`
	Name        string      `json:"name"`

	// Options Options are the allowed values of an `enum` setting.
	Options  *[]string `json:"options,omitempty"`
	Required *bool     `json:"required,omitempty"`
	Type     string    `json:"type"`
}

ParamSpec ParamSpec declares one setting of a code evaluator template.

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 PatchIntegrationTypeSpecificData5 added in v0.21.0

type PatchIntegrationTypeSpecificData5 map[string]interface{}

PatchIntegrationTypeSpecificData5 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) AsAzureMetricsIntegrationWrapper added in v0.17.0

func (t PatchIntegration_TypeSpecificData) AsAzureMetricsIntegrationWrapper() (AzureMetricsIntegrationWrapper, error)

AsAzureMetricsIntegrationWrapper returns the union data inside the PatchIntegration_TypeSpecificData as a AzureMetricsIntegrationWrapper

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) AsCockroachDBCloudIntegrationWrapper added in v0.17.0

func (t PatchIntegration_TypeSpecificData) AsCockroachDBCloudIntegrationWrapper() (CockroachDBCloudIntegrationWrapper, error)

AsCockroachDBCloudIntegrationWrapper returns the union data inside the PatchIntegration_TypeSpecificData as a CockroachDBCloudIntegrationWrapper

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) AsGrafanaDatasourceIntegrationWrapper added in v0.21.0

func (t PatchIntegration_TypeSpecificData) AsGrafanaDatasourceIntegrationWrapper() (GrafanaDatasourceIntegrationWrapper, error)

AsGrafanaDatasourceIntegrationWrapper returns the union data inside the PatchIntegration_TypeSpecificData as a GrafanaDatasourceIntegrationWrapper

func (PatchIntegration_TypeSpecificData) AsPatchIntegrationTypeSpecificData5 added in v0.21.0

func (t PatchIntegration_TypeSpecificData) AsPatchIntegrationTypeSpecificData5() (PatchIntegrationTypeSpecificData5, error)

AsPatchIntegrationTypeSpecificData5 returns the union data inside the PatchIntegration_TypeSpecificData as a PatchIntegrationTypeSpecificData5

func (*PatchIntegration_TypeSpecificData) FromAzureMetricsIntegrationWrapper added in v0.17.0

func (t *PatchIntegration_TypeSpecificData) FromAzureMetricsIntegrationWrapper(v AzureMetricsIntegrationWrapper) error

FromAzureMetricsIntegrationWrapper overwrites any union data inside the PatchIntegration_TypeSpecificData as the provided AzureMetricsIntegrationWrapper

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) FromCockroachDBCloudIntegrationWrapper added in v0.17.0

func (t *PatchIntegration_TypeSpecificData) FromCockroachDBCloudIntegrationWrapper(v CockroachDBCloudIntegrationWrapper) error

FromCockroachDBCloudIntegrationWrapper overwrites any union data inside the PatchIntegration_TypeSpecificData as the provided CockroachDBCloudIntegrationWrapper

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) FromGrafanaDatasourceIntegrationWrapper added in v0.21.0

func (t *PatchIntegration_TypeSpecificData) FromGrafanaDatasourceIntegrationWrapper(v GrafanaDatasourceIntegrationWrapper) error

FromGrafanaDatasourceIntegrationWrapper overwrites any union data inside the PatchIntegration_TypeSpecificData as the provided GrafanaDatasourceIntegrationWrapper

func (*PatchIntegration_TypeSpecificData) FromPatchIntegrationTypeSpecificData5 added in v0.21.0

func (t *PatchIntegration_TypeSpecificData) FromPatchIntegrationTypeSpecificData5(v PatchIntegrationTypeSpecificData5) error

FromPatchIntegrationTypeSpecificData5 overwrites any union data inside the PatchIntegration_TypeSpecificData as the provided PatchIntegrationTypeSpecificData5

func (PatchIntegration_TypeSpecificData) MarshalJSON added in v0.11.0

func (t PatchIntegration_TypeSpecificData) MarshalJSON() ([]byte, error)

func (*PatchIntegration_TypeSpecificData) MergeAzureMetricsIntegrationWrapper added in v0.17.0

func (t *PatchIntegration_TypeSpecificData) MergeAzureMetricsIntegrationWrapper(v AzureMetricsIntegrationWrapper) error

MergeAzureMetricsIntegrationWrapper performs a merge with any union data inside the PatchIntegration_TypeSpecificData, using the provided AzureMetricsIntegrationWrapper

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) MergeCockroachDBCloudIntegrationWrapper added in v0.17.0

func (t *PatchIntegration_TypeSpecificData) MergeCockroachDBCloudIntegrationWrapper(v CockroachDBCloudIntegrationWrapper) error

MergeCockroachDBCloudIntegrationWrapper performs a merge with any union data inside the PatchIntegration_TypeSpecificData, using the provided CockroachDBCloudIntegrationWrapper

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) MergeGrafanaDatasourceIntegrationWrapper added in v0.21.0

func (t *PatchIntegration_TypeSpecificData) MergeGrafanaDatasourceIntegrationWrapper(v GrafanaDatasourceIntegrationWrapper) error

MergeGrafanaDatasourceIntegrationWrapper performs a merge with any union data inside the PatchIntegration_TypeSpecificData, using the provided GrafanaDatasourceIntegrationWrapper

func (*PatchIntegration_TypeSpecificData) MergePatchIntegrationTypeSpecificData5 added in v0.21.0

func (t *PatchIntegration_TypeSpecificData) MergePatchIntegrationTypeSpecificData5(v PatchIntegrationTypeSpecificData5) error

MergePatchIntegrationTypeSpecificData5 performs a merge with any union data inside the PatchIntegration_TypeSpecificData, using the provided PatchIntegrationTypeSpecificData5

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 Project added in v0.21.0

type Project struct {
	CreatedAt   string  `json:"createdAt"`
	CreatedBy   *string `json:"createdBy,omitempty"`
	Description *string `json:"description,omitempty"`
	Id          string  `json:"id"`

	// IsDefault IsDefault is true for the built-in project that holds
	// everything that names no project. It has no row: its id is "".
	IsDefault bool   `json:"isDefault"`
	Name      string `json:"name"`
	UpdatedAt string `json:"updatedAt"`
}

Project defines model for Project.

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 QueryTraceQLMetricsRangeParams added in v0.21.0

type QueryTraceQLMetricsRangeParams struct {
	// End End of the time range in Unix epoch seconds
	End *int64 `form:"end,omitempty" json:"end,omitempty"`

	// Exemplars Maximum number of exemplars to return. The default is 100 and the maximum is 1000. Send 0 for no exemplars.
	Exemplars *int `form:"exemplars,omitempty" json:"exemplars,omitempty"`

	// Q TraceQL metrics query, for example `{} | rate() by (resource.service.name)`
	Q string `form:"q" json:"q"`

	// Start Start of the time range in Unix epoch seconds
	Start *int64 `form:"start,omitempty" json:"start,omitempty"`

	// Step Width of each step: a duration such as `30s`, `5m` or `1h`, or a number of seconds. The default divides the range into 100 steps, with a minimum of 1 second.
	Step *string `form:"step,omitempty" json:"step,omitempty"`
}

QueryTraceQLMetricsRangeParams defines parameters for QueryTraceQLMetricsRange.

type QueryTraceQLMetricsRangeResponse added in v0.21.0

type QueryTraceQLMetricsRangeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TraceQLMetricsResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON429      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseQueryTraceQLMetricsRangeResponse added in v0.21.0

func ParseQueryTraceQLMetricsRangeResponse(rsp *http.Response) (*QueryTraceQLMetricsRangeResponse, error)

ParseQueryTraceQLMetricsRangeResponse parses an HTTP response from a QueryTraceQLMetricsRangeWithResponse call

func (QueryTraceQLMetricsRangeResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (QueryTraceQLMetricsRangeResponse) StatusCode added in v0.21.0

func (r QueryTraceQLMetricsRangeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RenameDatasetFolderRequest added in v0.17.0

type RenameDatasetFolderRequest struct {
	// DryRun DryRun reports what would move and what stands in the way,
	// and writes nothing. The status and the body are the same
	// either way, so a preview cannot describe a different move
	// from the one it previews.
	DryRun  *bool  `json:"dryRun,omitempty"`
	NewPath string `json:"newPath"`
	OldPath string `json:"oldPath"`
}

RenameDatasetFolderRequest RenameDatasetFolderRequest moves every dataset under one folder path to another.

A folder is not a stored object: it is the part of a name before a "/", so this rewrites names and stores nothing.

type RenameDatasetFolderResponse added in v0.17.0

type RenameDatasetFolderResponse struct {
	// Collisions Collisions are destination names already held by a dataset
	// that is not itself moving.
	Collisions *[]string                  `json:"collisions,omitempty"`
	DryRun     bool                       `json:"dryRun"`
	Error      *string                    `json:"error,omitempty"`
	Message    string                     `json:"message"`
	Moves      *[]DatasetFolderRenameMove `json:"moves"`
	NewPath    string                     `json:"newPath"`
	OldPath    string                     `json:"oldPath"`
}

RenameDatasetFolderResponse RenameDatasetFolderResponse describes a move, whether it was applied or only previewed.

It carries `message` and `error` so a refusal still reads as this package's error body to a client that expects one.

type RenameDatasetRequest added in v0.17.0

type RenameDatasetRequest struct {
	Name string `json:"name"`
}

RenameDatasetRequest RenameDatasetRequest changes a dataset's name and nothing else.

The name is a display key only: items, runs, run items and the schedule all point at the dataset's id, so a rename has no downstream fan-out. A prompt name is the opposite, which is why there is no prompt rename.

type RenameGenaiDatasetFolderJSONRequestBody added in v0.17.0

type RenameGenaiDatasetFolderJSONRequestBody = RenameDatasetFolderRequest

RenameGenaiDatasetFolderJSONRequestBody defines body for RenameGenaiDatasetFolder for application/json ContentType.

type RenameGenaiDatasetFolderParams added in v0.21.0

type RenameGenaiDatasetFolderParams struct {
	// ProjectId Project ID. Omit it, or send `default`, for the default project, which holds everything that names no project. Names are unique in a project, so the same name in two projects is two objects.
	ProjectId *string `form:"projectId,omitempty" json:"projectId,omitempty"`
}

RenameGenaiDatasetFolderParams defines parameters for RenameGenaiDatasetFolder.

type RenameGenaiDatasetFolderResponse added in v0.17.0

func ParseRenameGenaiDatasetFolderResponse added in v0.17.0

func ParseRenameGenaiDatasetFolderResponse(rsp *http.Response) (*RenameGenaiDatasetFolderResponse, error)

ParseRenameGenaiDatasetFolderResponse parses an HTTP response from a RenameGenaiDatasetFolderWithResponse call

func (RenameGenaiDatasetFolderResponse) Status added in v0.17.0

Status returns HTTPResponse.Status

func (RenameGenaiDatasetFolderResponse) StatusCode added in v0.17.0

func (r RenameGenaiDatasetFolderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RenameGenaiDatasetJSONRequestBody added in v0.17.0

type RenameGenaiDatasetJSONRequestBody = RenameDatasetRequest

RenameGenaiDatasetJSONRequestBody defines body for RenameGenaiDataset for application/json ContentType.

type RenameGenaiDatasetParams added in v0.21.0

type RenameGenaiDatasetParams struct {
	// ProjectId Project ID. Omit it, or send `default`, for the default project, which holds everything that names no project. Names are unique in a project, so the same name in two projects is two objects.
	ProjectId *string `form:"projectId,omitempty" json:"projectId,omitempty"`
}

RenameGenaiDatasetParams defines parameters for RenameGenaiDataset.

type RenameGenaiDatasetResponse added in v0.17.0

type RenameGenaiDatasetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Dataset
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON409      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseRenameGenaiDatasetResponse added in v0.17.0

func ParseRenameGenaiDatasetResponse(rsp *http.Response) (*RenameGenaiDatasetResponse, error)

ParseRenameGenaiDatasetResponse parses an HTTP response from a RenameGenaiDatasetWithResponse call

func (RenameGenaiDatasetResponse) Status added in v0.17.0

Status returns HTTPResponse.Status

func (RenameGenaiDatasetResponse) StatusCode added in v0.17.0

func (r RenameGenaiDatasetResponse) 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 RuleInUseResponse added in v0.18.0

type RuleInUseResponse struct {
	Dependents *[]NamedRef `json:"dependents"`
	Error      string      `json:"error"`
	Message    string      `json:"message"`
}

RuleInUseResponse RuleInUseResponse is the 409 answer to a rename or delete of an evaluation rule that other rules depend on: they gate on it, or their code reads its scores by name.

type RunScoreAggregate added in v0.17.0

type RunScoreAggregate struct {
	// Agreement What the run cost and how it compared, per evaluator.
	// Every field here is absent when no score of this name
	// recorded it, which is what every score written before
	// the columns existed does: absence is "not recorded",
	// never zero.
	//
	// Agreement is the share of comparable scores that
	// matched the dataset item's expected output, over
	// AgreementCount of them. Scores with nothing to compare
	// against are outside both numbers.
	Agreement      *float32 `json:"agreement,omitempty"`
	AgreementCount *int     `json:"agreementCount,omitempty"`

	// Average Average is absent when no score of this name carried a
	// number, which is what a purely categorical score is.
	Average *float32 `json:"average,omitempty"`
	CostUsd *float32 `json:"costUsd,omitempty"`

	// Count Count is how many scores of this name the run has, over
	// every data type. It is the denominator the average and
	// the value counts are read against.
	Count    int    `json:"count"`
	DataType string `json:"dataType"`

	// HigherIsBetter HigherIsBetter is the direction the scores under the
	// name declared. Absent when none declared one, or when
	// they disagree: an average over two evaluators that read
	// in opposite directions has no direction.
	HigherIsBetter *bool `json:"higherIsBetter,omitempty"`

	// InputTokens Tokens and cost sum over every score of the name, so a
	// judge that ran on 300 items reports the bill for 300
	// calls. Cost prices each score by the model stamped on
	// it; a model the pricing table does not know adds zero
	// and the tokens still show, so the gap is visible.
	InputTokens *int `json:"inputTokens,omitempty"`

	// LatencyMsP50 Latency, in milliseconds, at the median and the tail.
	LatencyMsP50 *float32 `json:"latencyMsP50,omitempty"`
	LatencyMsP95 *float32 `json:"latencyMsP95,omitempty"`
	Name         string   `json:"name"`
	OutputTokens *int     `json:"outputTokens,omitempty"`

	// Values Values counts each distinct label of a categorical
	// score. Absent when the name has no labelled scores.
	Values *map[string]int `json:"values,omitempty"`
}

RunScoreAggregate RunScoreAggregate is every score of one name over one dataset run, collapsed to what a table cell can hold.

A run holds up to one row per dataset item, so the run list cannot carry the scores themselves: the reader wants "how did this run do", which is the average for a number and the spread of answers for a label.

type SamplingRule added in v0.21.0

type SamplingRule struct {
	Description *string `json:"description,omitempty"`
	Enabled     bool    `json:"enabled"`

	// ExpiresAtEpochMs ExpiresAtEpochMs is when the rule stops applying, or 0 for never.
	ExpiresAtEpochMs *int   `json:"expires_at_epoch_ms,omitempty"`
	Id               string `json:"id"`

	// KeepErrors KeepErrors stores every span with an error status.
	KeepErrors bool `json:"keep_errors"`

	// KeepPercent KeepPercent is the share of matching traces to store, from 0 to 100.
	KeepPercent float32 `json:"keep_percent"`

	// Matchers Matchers must all match a span for the rule to apply. A name is a span
	// metric label (service_name, span_name, span_status, env, cluster,
	// namespace) or a stored attribute column such as `span::http.route`.
	Matchers         *[]MetricLabelMatcher `json:"matchers"`
	RuleName         string                `json:"rule_name"`
	UpdatedAtEpochMs *int                  `json:"updated_at_epoch_ms,omitempty"`
}

SamplingRule SamplingRule is the API model of a trace sampling rule.

type SamplingRuleRequest added in v0.21.0

type SamplingRuleRequest struct {
	Description      *string               `json:"description,omitempty"`
	Enabled          *bool                 `json:"enabled,omitempty"`
	ExpiresAtEpochMs *int                  `json:"expires_at_epoch_ms,omitempty"`
	KeepErrors       *bool                 `json:"keep_errors,omitempty"`
	KeepPercent      float32               `json:"keep_percent"`
	Matchers         *[]MetricLabelMatcher `json:"matchers"`
	RuleName         string                `json:"rule_name"`
}

SamplingRuleRequest SamplingRuleRequest is the request body to create or update a rule.

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 {
	// AgreesWithExpectedOutput AgreesWithExpectedOutput says whether the score matched
	// the dataset item's expected output. Nil when the two were
	// not comparable, which is a claim of nothing rather than a
	// disagreement.
	AgreesWithExpectedOutput *bool   `json:"agreesWithExpectedOutput,omitempty"`
	Comment                  *string `json:"comment,omitempty"`
	ConfigId                 *string `json:"configId,omitempty"`

	// CostUsd CostUSD is what the judge call cost at the default
	// pricing, derived on read from Model and the tokens; nil
	// when either is missing.
	CostUsd     *float32 `json:"costUsd,omitempty"`
	CreatedAt   string   `json:"createdAt"`
	DataType    string   `json:"dataType"`
	Environment *string  `json:"environment,omitempty"`

	// HigherIsBetter HigherIsBetter is the direction the writer declared. Nil
	// is undeclared, which every renderer reads as
	// higher-is-better.
	HigherIsBetter *bool  `json:"higherIsBetter,omitempty"`
	Id             string `json:"id"`
	InputTokens    *int   `json:"inputTokens,omitempty"`

	// LatencyMs LatencyMs is how long the evaluator took to produce this
	// score.
	LatencyMs     *int     `json:"latencyMs,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"`

	// HigherIsBetter HigherIsBetter is which way is good for this score,
	// stamped on the score span when it was written rather
	// than joined from the template at read time. A
	// historical score therefore keeps the meaning it was
	// written with even if the template is later flipped.
	//
	// A pointer because absent is meaningful: scores written
	// before the column existed, and templates that never
	// declared a direction, have none. The UI renders those
	// neutral instead of assuming higher is better -- which
	// is what used to make a toxicity score of 0.9 green.
	HigherIsBetter *bool   `json:"higherIsBetter,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 ScoreSummary added in v0.21.0

type ScoreSummary struct {
	// Average Average is nil when no row has a number for the score.
	Average     *float32 `json:"average,omitempty"`
	BaseAverage *float32 `json:"baseAverage,omitempty"`
	Count       int      `json:"count"`

	// Diff Diff is Average minus BaseAverage.
	Diff           *float32 `json:"diff,omitempty"`
	HigherIsBetter bool     `json:"higherIsBetter"`

	// Improvements Improvements and Regressions count the matched rows whose
	// score moved in the good or the bad direction.
	Improvements int    `json:"improvements"`
	Name         string `json:"name"`
	Regressions  int    `json:"regressions"`
}

ScoreSummary ScoreSummary is the result of one score name over the rows of an experiment, and its change against the base experiment.

type SearchTraceQLParams added in v0.21.0

type SearchTraceQLParams struct {
	// End End of the time range in Unix epoch seconds
	End *int64 `form:"end,omitempty" json:"end,omitempty"`

	// Limit Maximum number of traces to return. The default is 20 and the maximum is 1000.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Q TraceQL span selector, for example `{ span.http.status_code >= 500 }`
	Q *string `form:"q,omitempty" json:"q,omitempty"`

	// Spss Spans for each span set. Accepted for Tempo compatibility. It has no effect at this time.
	Spss *int `form:"spss,omitempty" json:"spss,omitempty"`

	// Start Start of the time range in Unix epoch seconds
	Start *int64 `form:"start,omitempty" json:"start,omitempty"`
}

SearchTraceQLParams defines parameters for SearchTraceQL.

type SearchTraceQLResponse added in v0.21.0

type SearchTraceQLResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TraceQLSearchResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON429      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseSearchTraceQLResponse added in v0.21.0

func ParseSearchTraceQLResponse(rsp *http.Response) (*SearchTraceQLResponse, error)

ParseSearchTraceQLResponse parses an HTTP response from a SearchTraceQLWithResponse call

func (SearchTraceQLResponse) Status added in v0.21.0

func (r SearchTraceQLResponse) Status() string

Status returns HTTPResponse.Status

func (SearchTraceQLResponse) StatusCode added in v0.21.0

func (r SearchTraceQLResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 SetDropRuleEnabledJSONRequestBody added in v0.21.0

type SetDropRuleEnabledJSONRequestBody = SetDropRuleEnabledRequest

SetDropRuleEnabledJSONRequestBody defines body for SetDropRuleEnabled for application/json ContentType.

type SetDropRuleEnabledRequest added in v0.21.0

type SetDropRuleEnabledRequest struct {
	Enabled bool `json:"enabled"`
}

SetDropRuleEnabledRequest SetDropRuleEnabledRequest switches a rule on or off without sending the whole rule.

type SetDropRuleEnabledResponse added in v0.21.0

type SetDropRuleEnabledResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DropRule
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseSetDropRuleEnabledResponse added in v0.21.0

func ParseSetDropRuleEnabledResponse(rsp *http.Response) (*SetDropRuleEnabledResponse, error)

ParseSetDropRuleEnabledResponse parses an HTTP response from a SetDropRuleEnabledWithResponse call

func (SetDropRuleEnabledResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (SetDropRuleEnabledResponse) StatusCode added in v0.21.0

func (r SetDropRuleEnabledResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetGenaiDatasetScheduleJSONRequestBody added in v0.15.0

type SetGenaiDatasetScheduleJSONRequestBody = UpsertDatasetScheduleRequest

SetGenaiDatasetScheduleJSONRequestBody defines body for SetGenaiDatasetSchedule for application/json ContentType.

type SetGenaiDatasetScheduleParams added in v0.21.0

type SetGenaiDatasetScheduleParams struct {
	// ProjectId Project ID. Omit it, or send `default`, for the default project, which holds everything that names no project. Names are unique in a project, so the same name in two projects is two objects.
	ProjectId *string `form:"projectId,omitempty" json:"projectId,omitempty"`
}

SetGenaiDatasetScheduleParams defines parameters for SetGenaiDatasetSchedule.

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 SetSamplingRuleEnabledRequest added in v0.21.0

type SetSamplingRuleEnabledRequest struct {
	Enabled bool `json:"enabled"`
}

SetSamplingRuleEnabledRequest SetSamplingRuleEnabledRequest switches a rule on or off without sending the whole rule.

type SetTraceSamplingRuleEnabledJSONRequestBody added in v0.21.0

type SetTraceSamplingRuleEnabledJSONRequestBody = SetSamplingRuleEnabledRequest

SetTraceSamplingRuleEnabledJSONRequestBody defines body for SetTraceSamplingRuleEnabled for application/json ContentType.

type SetTraceSamplingRuleEnabledResponse added in v0.21.0

type SetTraceSamplingRuleEnabledResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SamplingRule
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseSetTraceSamplingRuleEnabledResponse added in v0.21.0

func ParseSetTraceSamplingRuleEnabledResponse(rsp *http.Response) (*SetTraceSamplingRuleEnabledResponse, error)

ParseSetTraceSamplingRuleEnabledResponse parses an HTTP response from a SetTraceSamplingRuleEnabledWithResponse call

func (SetTraceSamplingRuleEnabledResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (SetTraceSamplingRuleEnabledResponse) StatusCode added in v0.21.0

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 TestGenaiWebhookJSONRequestBody added in v0.17.0

type TestGenaiWebhookJSONRequestBody = TestWebhookRequest

TestGenaiWebhookJSONRequestBody defines body for TestGenaiWebhook for application/json ContentType.

type TestGenaiWebhookResponse added in v0.17.0

type TestGenaiWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WebhookCall
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseTestGenaiWebhookResponse added in v0.17.0

func ParseTestGenaiWebhookResponse(rsp *http.Response) (*TestGenaiWebhookResponse, error)

ParseTestGenaiWebhookResponse parses an HTTP response from a TestGenaiWebhookWithResponse call

func (TestGenaiWebhookResponse) Status added in v0.17.0

func (r TestGenaiWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (TestGenaiWebhookResponse) StatusCode added in v0.17.0

func (r TestGenaiWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TestNotifierResponse added in v0.17.0

func ParseTestNotifierResponse added in v0.17.0

func ParseTestNotifierResponse(rsp *http.Response) (*TestNotifierResponse, error)

ParseTestNotifierResponse parses an HTTP response from a TestNotifierWithResponse call

func (TestNotifierResponse) Status added in v0.17.0

func (r TestNotifierResponse) Status() string

Status returns HTTPResponse.Status

func (TestNotifierResponse) StatusCode added in v0.17.0

func (r TestNotifierResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TestRunGenaiEvaluatorJSONRequestBody added in v0.18.0

type TestRunGenaiEvaluatorJSONRequestBody = CodeEvalTestRunRequest

TestRunGenaiEvaluatorJSONRequestBody defines body for TestRunGenaiEvaluator for application/json ContentType.

type TestRunGenaiEvaluatorResponse added in v0.18.0

func ParseTestRunGenaiEvaluatorResponse added in v0.18.0

func ParseTestRunGenaiEvaluatorResponse(rsp *http.Response) (*TestRunGenaiEvaluatorResponse, error)

ParseTestRunGenaiEvaluatorResponse parses an HTTP response from a TestRunGenaiEvaluatorWithResponse call

func (TestRunGenaiEvaluatorResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (TestRunGenaiEvaluatorResponse) StatusCode added in v0.18.0

func (r TestRunGenaiEvaluatorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TestWebhookRequest added in v0.17.0

type TestWebhookRequest struct {
	// DatasetItemId DatasetItemID renders the template from a real item.
	// Otherwise `input` (any JSON) stands in for the item's
	// input, or a placeholder when that is absent too.
	DatasetItemId   *string            `json:"datasetItemId,omitempty"`
	Headers         *map[string]string `json:"headers,omitempty"`
	Input           interface{}        `json:"input,omitempty"`
	OutputPath      *string            `json:"outputPath,omitempty"`
	OutputRegex     *string            `json:"outputRegex,omitempty"`
	RequestTemplate *string            `json:"requestTemplate,omitempty"`
	TimeoutSeconds  *int               `json:"timeoutSeconds,omitempty"`
	Url             *string            `json:"url,omitempty"`
	WebhookId       *string            `json:"webhookId,omitempty"`
}

TestWebhookRequest TestWebhookRequest sends one request the way an experiment would and reports the exchange, so an endpoint can be checked before a run is queued.

Name either a saved webhook by id, or an unsaved definition by url (+ headers, timeoutSeconds). With both, the fields given override the saved ones, which is what the edit form needs to try a change before saving it.

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"`

	// TraceFiltersTruncated TraceFiltersTruncated reports that the traceFilters
	// intersection was taken over the newest traces only,
	// so a value carried only by an older trace can be
	// missing.
	TraceFiltersTruncated *bool `json:"trace_filters_truncated,omitempty"`
}

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 TraceQLAnyValue added in v0.21.0

type TraceQLAnyValue struct {
	BoolValue   *bool    `json:"boolValue,omitempty"`
	DoubleValue *float32 `json:"doubleValue,omitempty"`

	// IntValue IntValue is a 64-bit integer as a decimal string.
	IntValue    *string `json:"intValue,omitempty"`
	StringValue *string `json:"stringValue,omitempty"`
}

TraceQLAnyValue AnyValue is an attribute value in the OTLP JSON format. Only one field is set.

type TraceQLExemplar added in v0.21.0

type TraceQLExemplar struct {
	// Labels Labels hold the trace ID and other span attributes.
	Labels *[]TraceQLKeyValue `json:"labels,omitempty"`

	// TimestampMs TimestampMs is the exemplar time in Unix epoch milliseconds.
	TimestampMs int     `json:"timestampMs"`
	Value       float32 `json:"value"`
}

TraceQLExemplar Exemplar is a span that is an example of a value in a series.

type TraceQLKeyValue added in v0.21.0

type TraceQLKeyValue struct {
	Key string `json:"key"`

	// Value AnyValue is an attribute value in the OTLP JSON format. Only one
	// field is set.
	Value *TraceQLAnyValue `json:"value,omitempty"`
}

TraceQLKeyValue KeyValue is an attribute in the OTLP JSON format.

type TraceQLMetricsResponse added in v0.21.0

type TraceQLMetricsResponse struct {
	// Message Message tells why the response is partial.
	Message *string `json:"message,omitempty"`

	// Metrics SearchMetrics is information about the work that a query did.
	Metrics *TraceQLSearchMetrics `json:"metrics,omitempty"`
	Series  *[]TraceQLTimeSeries  `json:"series"`

	// Status Status is "PARTIAL" when the series are not all the series
	// of the query. Tempo uses the same field and values. Empty
	// means complete.
	Status *string `json:"status,omitempty"`
}

TraceQLMetricsResponse QueryRangeResponse is the result of a TraceQL metrics query.

type TraceQLSample added in v0.21.0

type TraceQLSample struct {
	// TimestampMs TimestampMs is the sample time in Unix epoch milliseconds.
	TimestampMs int     `json:"timestampMs"`
	Value       float32 `json:"value"`
}

TraceQLSample MetricsSample is one data point in a series.

type TraceQLSearchMetrics added in v0.21.0

type TraceQLSearchMetrics struct {
	CompletedJobs   *int `json:"completedJobs,omitempty"`
	InspectedBytes  *int `json:"inspectedBytes,omitempty"`
	InspectedTraces *int `json:"inspectedTraces,omitempty"`
	TotalBlockBytes *int `json:"totalBlockBytes,omitempty"`
	TotalBlocks     *int `json:"totalBlocks,omitempty"`
	TotalJobs       *int `json:"totalJobs,omitempty"`
}

TraceQLSearchMetrics SearchMetrics is information about the work that a query did.

type TraceQLSearchResponse added in v0.21.0

type TraceQLSearchResponse struct {
	// Metrics SearchMetrics is information about the work that a query did.
	Metrics *TraceQLSearchMetrics `json:"metrics,omitempty"`

	// Traces Traces that have at least one span set that matches the
	// query, newest first.
	Traces *[]TraceQLTrace `json:"traces"`
}

TraceQLSearchResponse SearchResponse is the result of a TraceQL search.

type TraceQLServiceStats added in v0.21.0

type TraceQLServiceStats struct {
	ErrorCount *int `json:"errorCount,omitempty"`
	SpanCount  int  `json:"spanCount"`
}

TraceQLServiceStats ServiceStats is the span count of one service in a trace.

type TraceQLSpan added in v0.21.0

type TraceQLSpan struct {
	Attributes *[]TraceQLKeyValue `json:"attributes,omitempty"`

	// DurationNanos DurationNanos is the span duration in nanoseconds, as a
	// decimal string.
	DurationNanos string  `json:"durationNanos"`
	Name          *string `json:"name,omitempty"`
	SpanID        string  `json:"spanID"`

	// StartTimeUnixNano StartTimeUnixNano is the span start time in Unix epoch
	// nanoseconds, as a decimal string.
	StartTimeUnixNano string `json:"startTimeUnixNano"`
}

TraceQLSpan TempoSpan is a matched span in a search result. It has only some of the span fields. Get the trace by ID for the full spans.

type TraceQLSpanSet added in v0.21.0

type TraceQLSpanSet struct {
	Attributes *[]TraceQLKeyValue `json:"attributes,omitempty"`

	// Matched Matched is the number of spans that matched.
	Matched int            `json:"matched"`
	Spans   *[]TraceQLSpan `json:"spans"`
}

TraceQLSpanSet SpanSet is a set of spans in a trace that matched the query.

type TraceQLTagScope added in v0.21.0

type TraceQLTagScope struct {
	// Name Name is the scope: "resource", "span" or "intrinsic".
	Name string    `json:"name"`
	Tags *[]string `json:"tags"`
}

TraceQLTagScope ScopeTagsV2 is the tag names of one scope.

type TraceQLTagValue added in v0.21.0

type TraceQLTagValue struct {
	// Type Type is the value type, for example "string".
	Type  string `json:"type"`
	Value string `json:"value"`
}

TraceQLTagValue TagValue is one value of a tag, with its type.

type TraceQLTagValuesResponse added in v0.21.0

type TraceQLTagValuesResponse struct {
	TagValues *[]TraceQLTagValue `json:"tagValues"`
}

TraceQLTagValuesResponse SearchTagValuesV2Response is the list of values of one tag.

type TraceQLTagsResponse added in v0.21.0

type TraceQLTagsResponse struct {
	Scopes *[]TraceQLTagScope `json:"scopes"`
}

TraceQLTagsResponse SearchTagsV2Response is the list of tag names, grouped by scope.

type TraceQLTimeSeries added in v0.21.0

type TraceQLTimeSeries struct {
	Exemplars *[]TraceQLExemplar `json:"exemplars,omitempty"`

	// Labels Labels identify the series. They hold the `by(...)` values.
	Labels  *[]TraceQLKeyValue `json:"labels"`
	Samples *[]TraceQLSample   `json:"samples"`
}

TraceQLTimeSeries TimeSeries is one series of a TraceQL metrics query. There is one series for each group of the `by(...)` clause.

type TraceQLTrace added in v0.21.0

type TraceQLTrace struct {
	// DurationMs DurationMs is the trace duration in milliseconds.
	DurationMs int `json:"durationMs"`

	// RootServiceName RootServiceName is the service name of the root span.
	RootServiceName string `json:"rootServiceName"`

	// RootTraceName RootTraceName is the name of the root span.
	RootTraceName string `json:"rootTraceName"`

	// ServiceStats ServiceStats are span counts for each service in the trace.
	ServiceStats *map[string]TraceQLServiceStats `json:"serviceStats,omitempty"`

	// SpanSet SpanSet is a set of spans in a trace that matched the query.
	SpanSet *TraceQLSpanSet `json:"spanSet,omitempty"`

	// SpanSets SpanSets are the span sets that matched the query.
	SpanSets *[]TraceQLSpanSet `json:"spanSets,omitempty"`

	// StartTimeUnixNano StartTimeUnixNano is the trace start time in Unix epoch
	// nanoseconds, as a decimal string.
	StartTimeUnixNano string `json:"startTimeUnixNano"`

	// TraceID TraceID is the hex trace ID.
	TraceID string `json:"traceID"`
}

TraceQLTrace TraceSearchMetadata is one trace in a TraceQL search result.

type TraceSpan added in v0.2.0

type TraceSpan struct {
	Duration int             `json:"duration"`
	EndTime  int             `json:"endTime"`
	Logs     *[]TraceSpanLog `json:"logs"`

	// OmittedTags OmittedTags names the span tags whose values the response
	// leaves out because they are large. Each tag exists on the
	// span, and a read of the span with its values returns it.
	OmittedTags   *[]string             `json:"omittedTags,omitempty"`
	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 {
	// ContentRef Ref stands in a tag for a value that was moved to the table.
	ContentRef  *OodleUtilTracecontentRef `json:"contentRef,omitempty"`
	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 {
	// Contents Contents is the table as a response carries it.
	Contents *OodleUtilTracecontentContents `json:"contents,omitempty"`
	Data     *[]Trace                       `json:"data"`
	Errors   *string                        `json:"errors,omitempty"`
	Limit    int                            `json:"limit"`
	Offset   int                            `json:"offset"`

	// RowLimit RowLimit is the limit that stopped the query,
	// in the same units as RowsRead.
	RowLimit *int `json:"rowLimit,omitempty"`

	// RowsRead RowsRead is how much of the trace the query read
	// before it reached the limit. A span contributes
	// one row per span event, so this is larger than the
	// number of spans returned.
	RowsRead *int `json:"rowsRead,omitempty"`
	Total    int  `json:"total"`

	// TraceFiltersTruncated TraceFiltersTruncated reports that the traceFilters
	// intersection was taken over the newest traces only,
	// so an older trace that satisfies every conjunct can
	// be missing. Narrow the time range to check every
	// trace.
	TraceFiltersTruncated *bool `json:"trace_filters_truncated,omitempty"`

	// Truncated Truncated reports that the trace is incomplete
	// because the query reached its size limit. Spans
	// are missing, and the response is otherwise
	// well-formed. Narrow the time range to read the
	// rest.
	Truncated *bool `json:"truncated,omitempty"`
}

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 UpdateCodeLibraryRequest added in v0.18.0

type UpdateCodeLibraryRequest struct {
	Description *string `json:"description,omitempty"`
	SourceCode  *string `json:"sourceCode,omitempty"`
}

UpdateCodeLibraryRequest UpdateCodeLibraryRequest changes a shared library. Omitted fields are left alone. A changed source adds a version.

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 {
	// Enabled Enabled defaults to true on create and to the current state on
	// update, so a client that does not know the field changes nothing.
	Enabled          *bool                 `json:"enabled,omitempty"`
	ExpiresAtEpochMs *int                  `json:"expires_at_epoch_ms,omitempty"`
	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 {
	// CleanValue CleanValue is the categorical value meaning nothing was
	// found. See CreateEvalTemplateRequest. Omit it to leave
	// the current value alone; send an empty string to clear
	// it, which stops anything depending on this evaluator.
	CleanValue *string `json:"cleanValue,omitempty"`

	// HigherIsBetter HigherIsBetter changes which end of the score range is
	// the good one. Omit it to leave the current setting
	// alone; send false to mark the evaluator lower-is-better.
	HigherIsBetter *bool `json:"higherIsBetter,omitempty"`

	// LibraryPins LibraryPins replaces the shared library pins. Omit it
	// to leave them alone; send an empty object to remove
	// them all.
	LibraryPins  *map[string]int `json:"libraryPins,omitempty"`
	ModelParams  interface{}     `json:"modelParams,omitempty"`
	Name         *string         `json:"name,omitempty"`
	OutputSchema interface{}     `json:"outputSchema,omitempty"`

	// Params Params replaces the settings of a code evaluator. Omit
	// it to leave them alone; send an empty list to remove
	// them all. The values each evaluator already set are not
	// checked again until that evaluator is next saved.
	Params             *[]ParamSpec `json:"params,omitempty"`
	Prompt             *string      `json:"prompt,omitempty"`
	ScoreType          *string      `json:"scoreType,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 Filters pick the spans the evaluator scores: a list of
	// {"name", "type", "value"}. An attribute is named with its
	// kind, "span::gen_ai.operation.name" or
	// "resource::service.name"; a dotted name without it is
	// refused. "type" is 0 (equals), 1 (not equals), 2 (regex),
	// 3 (not regex), 4 (one of) or 5 (not one of), the last two
	// with a "multi_value" list, or "GT"/"GTE"/"LT"/"LTE". The
	// words eq, neq, re, nre, oneof, not_oneof, gt, gte, lt and
	// lte are accepted and stored as those.
	Filters               interface{} `json:"filters,omitempty"`
	GenerationSpansOnly   *bool       `json:"generationSpansOnly,omitempty"`
	LlmConnectionId       *string     `json:"llmConnectionId,omitempty"`
	MaxInvocationsPerHour *int        `json:"maxInvocationsPerHour,omitempty"`
	ModelParams           interface{} `json:"modelParams,omitempty"`
	Name                  *string     `json:"name,omitempty"`

	// Params Params replaces this evaluator's setting values. Omit
	// it to leave them alone; send an empty object to go back
	// to the template's defaults.
	Params          *map[string]interface{} `json:"params,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 UpdateExperimentRequest added in v0.21.0

type UpdateExperimentRequest struct {
	BaseExperimentId *string     `json:"baseExperimentId,omitempty"`
	Description      *string     `json:"description,omitempty"`
	Metadata         interface{} `json:"metadata,omitempty"`
	Name             *string     `json:"name,omitempty"`
	Tags             *[]string   `json:"tags,omitempty"`
}

UpdateExperimentRequest UpdateExperimentRequest changes an experiment. An absent field keeps its value.

type UpdateGenaiCodeLibraryJSONRequestBody added in v0.18.0

type UpdateGenaiCodeLibraryJSONRequestBody = UpdateCodeLibraryRequest

UpdateGenaiCodeLibraryJSONRequestBody defines body for UpdateGenaiCodeLibrary for application/json ContentType.

type UpdateGenaiCodeLibraryResponse added in v0.18.0

type UpdateGenaiCodeLibraryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CodeLibrary
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON403      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateGenaiCodeLibraryResponse added in v0.18.0

func ParseUpdateGenaiCodeLibraryResponse(rsp *http.Response) (*UpdateGenaiCodeLibraryResponse, error)

ParseUpdateGenaiCodeLibraryResponse parses an HTTP response from a UpdateGenaiCodeLibraryWithResponse call

func (UpdateGenaiCodeLibraryResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (UpdateGenaiCodeLibraryResponse) StatusCode added in v0.18.0

func (r UpdateGenaiCodeLibraryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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
	JSON403      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON409      *RuleInUseResponse
	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 UpdateGenaiExperimentJSONRequestBody added in v0.21.0

type UpdateGenaiExperimentJSONRequestBody = UpdateExperimentRequest

UpdateGenaiExperimentJSONRequestBody defines body for UpdateGenaiExperiment for application/json ContentType.

type UpdateGenaiExperimentResponse added in v0.21.0

type UpdateGenaiExperimentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DatasetRun
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON409      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateGenaiExperimentResponse added in v0.21.0

func ParseUpdateGenaiExperimentResponse(rsp *http.Response) (*UpdateGenaiExperimentResponse, error)

ParseUpdateGenaiExperimentResponse parses an HTTP response from a UpdateGenaiExperimentWithResponse call

func (UpdateGenaiExperimentResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (UpdateGenaiExperimentResponse) StatusCode added in v0.21.0

func (r UpdateGenaiExperimentResponse) 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 UpdateGenaiProjectJSONRequestBody added in v0.21.0

type UpdateGenaiProjectJSONRequestBody = UpdateProjectRequest

UpdateGenaiProjectJSONRequestBody defines body for UpdateGenaiProject for application/json ContentType.

type UpdateGenaiProjectResponse added in v0.21.0

type UpdateGenaiProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Project
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateGenaiProjectResponse added in v0.21.0

func ParseUpdateGenaiProjectResponse(rsp *http.Response) (*UpdateGenaiProjectResponse, error)

ParseUpdateGenaiProjectResponse parses an HTTP response from a UpdateGenaiProjectWithResponse call

func (UpdateGenaiProjectResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (UpdateGenaiProjectResponse) StatusCode added in v0.21.0

func (r UpdateGenaiProjectResponse) 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 UpdateGenaiWebhookJSONRequestBody added in v0.17.0

type UpdateGenaiWebhookJSONRequestBody = UpdateWebhookRequest

UpdateGenaiWebhookJSONRequestBody defines body for UpdateGenaiWebhook for application/json ContentType.

type UpdateGenaiWebhookResponse added in v0.17.0

type UpdateGenaiWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Webhook
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON409      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateGenaiWebhookResponse added in v0.17.0

func ParseUpdateGenaiWebhookResponse(rsp *http.Response) (*UpdateGenaiWebhookResponse, error)

ParseUpdateGenaiWebhookResponse parses an HTTP response from a UpdateGenaiWebhookWithResponse call

func (UpdateGenaiWebhookResponse) Status added in v0.17.0

Status returns HTTPResponse.Status

func (UpdateGenaiWebhookResponse) StatusCode added in v0.17.0

func (r UpdateGenaiWebhookResponse) StatusCode() int

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. An absent baseUrl keeps the stored one, and an empty string clears it: a patch that sets one field, such as isDefault, must not clear another.

type UpdateLogblocksByIdJSONRequestBody added in v0.21.0

type UpdateLogblocksByIdJSONRequestBody = LogBlock

UpdateLogblocksByIdJSONRequestBody defines body for UpdateLogblocksById for application/json ContentType.

type UpdateLogblocksByIdResponse added in v0.21.0

type UpdateLogblocksByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LogBlock
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateLogblocksByIdResponse added in v0.21.0

func ParseUpdateLogblocksByIdResponse(rsp *http.Response) (*UpdateLogblocksByIdResponse, error)

ParseUpdateLogblocksByIdResponse parses an HTTP response from a UpdateLogblocksByIdWithResponse call

func (UpdateLogblocksByIdResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (UpdateLogblocksByIdResponse) StatusCode added in v0.21.0

func (r UpdateLogblocksByIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 UpdateProjectRequest added in v0.21.0

type UpdateProjectRequest struct {
	Description string `json:"description"`
}

UpdateProjectRequest UpdateProjectRequest changes a project. The name cannot change, because traces carry it in the `oodle.project` attribute.

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 UpdateTraceSamplingRulesByIdJSONRequestBody added in v0.21.0

type UpdateTraceSamplingRulesByIdJSONRequestBody = SamplingRuleRequest

UpdateTraceSamplingRulesByIdJSONRequestBody defines body for UpdateTraceSamplingRulesById for application/json ContentType.

type UpdateTraceSamplingRulesByIdResponse added in v0.21.0

type UpdateTraceSamplingRulesByIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SamplingRule
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON404      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseUpdateTraceSamplingRulesByIdResponse added in v0.21.0

func ParseUpdateTraceSamplingRulesByIdResponse(rsp *http.Response) (*UpdateTraceSamplingRulesByIdResponse, error)

ParseUpdateTraceSamplingRulesByIdResponse parses an HTTP response from a UpdateTraceSamplingRulesByIdWithResponse call

func (UpdateTraceSamplingRulesByIdResponse) Status added in v0.21.0

Status returns HTTPResponse.Status

func (UpdateTraceSamplingRulesByIdResponse) StatusCode added in v0.21.0

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 UpdateWebhookRequest added in v0.17.0

type UpdateWebhookRequest struct {
	Description     *string            `json:"description,omitempty"`
	Headers         *map[string]string `json:"headers,omitempty"`
	Name            *string            `json:"name,omitempty"`
	OutputPath      *string            `json:"outputPath,omitempty"`
	OutputRegex     *string            `json:"outputRegex,omitempty"`
	RequestTemplate *string            `json:"requestTemplate,omitempty"`
	TimeoutSeconds  *int               `json:"timeoutSeconds,omitempty"`
	Url             *string            `json:"url,omitempty"`
}

UpdateWebhookRequest UpdateWebhookRequest patches a webhook. A nil headers map keeps the stored headers; an empty one clears them; a value equal to WebhookSecretMask keeps that one header's stored value. Nil requestTemplate / outputPath / outputRegex keep the stored values; an empty string resets them to the default.

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 ValidateEvalTemplateRequest added in v0.18.0

type ValidateEvalTemplateRequest struct {
	// Libraries Libraries are draft shared libraries, name to source, with
	// the caps of a test run's drafts. An import resolves to a
	// draft first, then to a stored library, and a draft's own
	// imports are followed the same way.
	Libraries   *map[string]string `json:"libraries,omitempty"`
	LibraryPins *map[string]int    `json:"libraryPins,omitempty"`

	// ModelParams ModelParams of a webhook evaluator: `webhookId` and an
	// optional `requestTemplate`.
	ModelParams interface{} `json:"modelParams,omitempty"`

	// Name Name is the name of the evaluator (rule) that would run
	// the code. With it, the score reads are also checked for a
	// read of its own scores and for a cycle.
	Name *string `json:"name,omitempty"`

	// Params Params are the template's settings.
	Params *[]ParamSpec `json:"params,omitempty"`

	// RuleParams RuleParams are an evaluator's values, resolved against
	// Params when sent.
	RuleParams         *map[string]interface{} `json:"ruleParams,omitempty"`
	SourceCode         *string                 `json:"sourceCode,omitempty"`
	SourceCodeLanguage *string                 `json:"sourceCodeLanguage,omitempty"`

	// Type Type is "llm", "code", "output_comparer" or "webhook".
	Type string `json:"type"`
}

ValidateEvalTemplateRequest ValidateEvalTemplateRequest is a template to check without saving it: every check a create or an update runs.

type ValidateEvalTemplateResponse added in v0.18.0

type ValidateEvalTemplateResponse struct {
	// Libraries Libraries are the shared libraries the code imports,
	// directly or through other libraries.
	Libraries *[]LibraryVersionRef `json:"libraries"`

	// Notes Notes say what the check does not cover, such as Python
	// syntax.
	Notes    *[]string            `json:"notes"`
	Problems *[]ValidationProblem `json:"problems"`

	// ScoreInputs ScoreInputs are the evaluators whose scores the code
	// reads, by the names it uses.
	ScoreInputs *[]NamedRef `json:"scoreInputs"`
	Valid       bool        `json:"valid"`
}

ValidateEvalTemplateResponse ValidateEvalTemplateResponse is the answer to a check. It is always a 200; Valid says whether a save would go through.

type ValidateGenaiEvaluatorJSONRequestBody added in v0.18.0

type ValidateGenaiEvaluatorJSONRequestBody = ValidateEvalTemplateRequest

ValidateGenaiEvaluatorJSONRequestBody defines body for ValidateGenaiEvaluator for application/json ContentType.

type ValidateGenaiEvaluatorResponse added in v0.18.0

type ValidateGenaiEvaluatorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ValidateEvalTemplateResponse
	JSON400      *OodleUtilHttputilsModelsErrors
	JSON401      *OodleUtilHttputilsModelsErrors
	JSON500      *OodleUtilHttputilsModelsErrors
	JSONDefault  *OodleUtilHttputilsModelsErrors
}

func ParseValidateGenaiEvaluatorResponse added in v0.18.0

func ParseValidateGenaiEvaluatorResponse(rsp *http.Response) (*ValidateGenaiEvaluatorResponse, error)

ParseValidateGenaiEvaluatorResponse parses an HTTP response from a ValidateGenaiEvaluatorWithResponse call

func (ValidateGenaiEvaluatorResponse) Status added in v0.18.0

Status returns HTTPResponse.Status

func (ValidateGenaiEvaluatorResponse) StatusCode added in v0.18.0

func (r ValidateGenaiEvaluatorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ValidationProblem added in v0.18.0

type ValidationProblem struct {
	// Field Field is the request field the problem is about.
	Field   string `json:"field"`
	Message string `json:"message"`
}

ValidationProblem ValidationProblem is one thing a create or an update would refuse.

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 Webhook added in v0.17.0

type Webhook struct {
	CreatedAt   string  `json:"createdAt"`
	CreatedBy   *string `json:"createdBy,omitempty"`
	Description *string `json:"description,omitempty"`

	// HeaderNames HeaderNames lists the headers the webhook sends, so a
	// reader can tell an authenticated webhook from a bare one
	// without decrypting anything.
	HeaderNames *[]string `json:"headerNames"`
	Id          string    `json:"id"`
	Name        string    `json:"name"`
	OutputPath  string    `json:"outputPath"`
	OutputRegex string    `json:"outputRegex"`

	// RequestTemplate RequestTemplate is the body sent per item, JSON text with
	// `{{path}}` placeholders; empty means the item's input as
	// the body. OutputPath reads the output out of the reply;
	// empty means the whole body. OutputRegex then cuts the
	// output down to its match; empty keeps it whole. See
	// experiments/webhook.go.
	RequestTemplate string `json:"requestTemplate"`
	TimeoutSeconds  int    `json:"timeoutSeconds"`
	UpdatedAt       string `json:"updatedAt"`
	Url             string `json:"url"`
}

Webhook Webhook is an experiment target the customer hosts. An experiment run against one posts every dataset item to its URL and scores the reply, instead of calling an LLM connection with a prompt.

type WebhookCall added in v0.17.0

type WebhookCall struct {
	DurationMs *int `json:"durationMs,omitempty"`

	// Error Error is why the call did not produce an output: a
	// transport failure, a timeout, or a non-2xx status.
	Error *string `json:"error,omitempty"`

	// Ok OK is whether a run would have marked the item completed.
	Ok bool `json:"ok"`

	// Output Output is what a run would have stored for the item.
	Output         *string            `json:"output,omitempty"`
	RequestBody    interface{}        `json:"requestBody,omitempty"`
	RequestHeaders *map[string]string `json:"requestHeaders,omitempty"`

	// RequestUrl Request, as sent. Header values other than the trace
	// headers are masked, because the caller reading this may
	// not be the one who set the credential.
	RequestUrl string `json:"requestUrl"`

	// ResponseBody ResponseBody is the raw reply, cut to what a preview can
	// show.
	ResponseBody          *string            `json:"responseBody,omitempty"`
	ResponseBodyTruncated *bool              `json:"responseBodyTruncated,omitempty"`
	ResponseHeaders       *map[string]string `json:"responseHeaders,omitempty"`
	StatusCode            *int               `json:"statusCode,omitempty"`
	TraceId               string             `json:"traceId"`
}

WebhookCall WebhookCall is one request to a webhook and what came back, as the test endpoint reports it.

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"`

	// Payload Replaces the default webhook body with a fully custom one. Every string key and value in this (arbitrarily nested) object is rendered as a Go template against the alert notification data, e.g. `{"text": "{{ .CommonLabels.alertname }}"}`. Use the `toJson` template function to embed structured data such as `{{ .CommonLabels | toJson }}`. The rendered payload is posted verbatim; Oodle does not validate that it matches what the receiving endpoint expects.
	Payload      *map[string]interface{} `json:"payload,omitempty"`
	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