Help us shape the future of Go! Take the 2026 Go Developer Survey

mistral

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: MIT Imports: 12 Imported by: 0

README

go-mistral

Go Reference CI version license imported by

Unofficial Go client for Mistral AI. It covers the Mistral AI REST API, https://api.mistral.ai, and is generated with oapi-codegen from the OpenAPI document Mistral AI publishes.

The package lives in the repo root and is named mistral. Everything in client.gen.go is generated. Don't edit it by hand, regenerate it.

Install

go get github.com/psyb0t/go-mistral

Usage

Every endpoint in the spec has a typed method on ClientWithResponses. Method names come from the spec's operation IDs, so listing models is ListModelsV1ModelsGetWithResponse and chat completions is ChatCompletionV1ChatCompletionsPostWithResponse.

package main

import (
	"context"
	"net/http"
	"os"

	"github.com/psyb0t/go-mistral"
)

func main() {
	auth := mistral.WithRequestEditorFn(func(_ context.Context, req *http.Request) error {
		req.Header.Set("Authorization", "Bearer "+os.Getenv("MISTRAL_API_KEY"))

		return nil
	})

	client, err := mistral.NewClientWithResponses("https://api.mistral.ai", auth)
	if err != nil {
		panic(err)
	}

	res, err := client.ListModelsV1ModelsGetWithResponse(
		context.Background(),
		&mistral.ListModelsV1ModelsGetParams{},
	)
	if err != nil {
		panic(err)
	}

	_ = res.JSON200
}

The same code is compiled as Example in example_test.go, so it stays in step with the generated client.

Fields the spec types as one of several shapes, such as a message's content, are union types with From... and As... methods. A user message with plain text content:

var content mistral.UserMessage_Content
if err := content.FromUserMessageContent0("hello"); err != nil {
	panic(err)
}

role := mistral.UserMessageRoleUser

var message mistral.ChatCompletionRequest_Messages_Item
if err := message.FromUserMessage(mistral.UserMessage{Content: &content, Role: &role}); err != nil {
	panic(err)
}

Auth

Mistral AI authenticates with a bearer API key, created in the API keys section of La Plateforme. Pass it on every request with a RequestEditorFn, as in the example above. A RequestEditorFn can also be passed to a single call as the last argument to scope it to that request.

Regenerating

Mistral AI's spec is not committed. make generate downloads the current OpenAPI document into the gitignored api/ directory and regenerates the client:

make generate

gen.go declares the steps, so make generate is just go generate ./...:

  • scripts/fetch-spec.sh downloads openapi.yaml from Mistral AI's platform-docs-public repository.
  • scripts/patch-spec.sh writes api/openapi.patched.yaml with every const: true and const: false line dropped. oapi-codegen turns a property const into a named type, and the type it picks for the boolean stream flag on the transcription request is already the name of the streaming request schema, so generation fails on a duplicate type name. Those properties become plain booleans.
  • oapi-codegen runs on the patched document with config.yaml.

Development

Every command runs in the Dockerfile.dev image. The host needs only Docker and Make.

make help      # list targets
make dep       # go mod tidy + vendor
make lint      # shellcheck, shfmt, go fix, golangci-lint
make test      # go test -race
make sec       # gitleaks, govulncheck, semgrep
make generate  # download the spec and regenerate

License

MIT. The generated code comes from Mistral AI's published API specification. The specification itself is not redistributed here. This project is not affiliated with Mistral AI.

Documentation

Overview

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

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

Package mistral is a Go client for the Mistral AI REST API, generated with oapi-codegen from the OpenAPI document Mistral AI publishes.

Example

The README usage example. It calls the live API, so it is compiled but not run.

package main

import (
	"context"
	"net/http"
	"os"

	mistral "github.com/psyb0t/go-mistral"
)

func main() {
	auth := mistral.WithRequestEditorFn(
		func(_ context.Context, req *http.Request) error {
			req.Header.Set(
				"Authorization",
				"Bearer "+os.Getenv("MISTRAL_API_KEY"),
			)

			return nil
		},
	)

	client, err := mistral.NewClientWithResponses(
		"https://api.mistral.ai",
		auth,
	)
	if err != nil {
		panic(err)
	}

	res, err := client.ListModelsV1ModelsGetWithResponse(
		context.Background(),
		&mistral.ListModelsV1ModelsGetParams{},
	)
	if err != nil {
		panic(err)
	}

	_ = res.JSON200
}

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgentsApiV1AgentsCreateOrUpdateAliasRequest

func NewAgentsApiV1AgentsCreateOrUpdateAliasRequest(server string, agentId string, params *AgentsApiV1AgentsCreateOrUpdateAliasParams) (*http.Request, error)

NewAgentsApiV1AgentsCreateOrUpdateAliasRequest constructs an http.Request for the AgentsApiV1AgentsCreateOrUpdateAlias method

func NewAgentsApiV1AgentsCreateRequest

func NewAgentsApiV1AgentsCreateRequest(server string, body AgentsApiV1AgentsCreateJSONRequestBody) (*http.Request, error)

NewAgentsApiV1AgentsCreateRequest calls the generic AgentsApiV1AgentsCreate builder with application/json body

func NewAgentsApiV1AgentsCreateRequestWithBody

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

NewAgentsApiV1AgentsCreateRequestWithBody constructs an http.Request for the AgentsApiV1AgentsCreate method, with any body, and a specified content type

func NewAgentsApiV1AgentsDeleteAliasRequest

func NewAgentsApiV1AgentsDeleteAliasRequest(server string, agentId string, params *AgentsApiV1AgentsDeleteAliasParams) (*http.Request, error)

NewAgentsApiV1AgentsDeleteAliasRequest constructs an http.Request for the AgentsApiV1AgentsDeleteAlias method

func NewAgentsApiV1AgentsDeleteRequest

func NewAgentsApiV1AgentsDeleteRequest(server string, agentId string) (*http.Request, error)

NewAgentsApiV1AgentsDeleteRequest constructs an http.Request for the AgentsApiV1AgentsDelete method

func NewAgentsApiV1AgentsGetRequest

func NewAgentsApiV1AgentsGetRequest(server string, agentId string, params *AgentsApiV1AgentsGetParams) (*http.Request, error)

NewAgentsApiV1AgentsGetRequest constructs an http.Request for the AgentsApiV1AgentsGet method

func NewAgentsApiV1AgentsGetVersionRequest

func NewAgentsApiV1AgentsGetVersionRequest(server string, agentId string, version string) (*http.Request, error)

NewAgentsApiV1AgentsGetVersionRequest constructs an http.Request for the AgentsApiV1AgentsGetVersion method

func NewAgentsApiV1AgentsListPagesRequest

func NewAgentsApiV1AgentsListPagesRequest(server string, params *AgentsApiV1AgentsListPagesParams) (*http.Request, error)

NewAgentsApiV1AgentsListPagesRequest constructs an http.Request for the AgentsApiV1AgentsListPages method

func NewAgentsApiV1AgentsListRequest

func NewAgentsApiV1AgentsListRequest(server string, params *AgentsApiV1AgentsListParams) (*http.Request, error)

NewAgentsApiV1AgentsListRequest constructs an http.Request for the AgentsApiV1AgentsList method

func NewAgentsApiV1AgentsListVersionAliasesRequest

func NewAgentsApiV1AgentsListVersionAliasesRequest(server string, agentId string) (*http.Request, error)

NewAgentsApiV1AgentsListVersionAliasesRequest constructs an http.Request for the AgentsApiV1AgentsListVersionAliases method

func NewAgentsApiV1AgentsListVersionsRequest

func NewAgentsApiV1AgentsListVersionsRequest(server string, agentId string, params *AgentsApiV1AgentsListVersionsParams) (*http.Request, error)

NewAgentsApiV1AgentsListVersionsRequest constructs an http.Request for the AgentsApiV1AgentsListVersions method

func NewAgentsApiV1AgentsUpdateRequest

func NewAgentsApiV1AgentsUpdateRequest(server string, agentId string, body AgentsApiV1AgentsUpdateJSONRequestBody) (*http.Request, error)

NewAgentsApiV1AgentsUpdateRequest calls the generic AgentsApiV1AgentsUpdate builder with application/json body

func NewAgentsApiV1AgentsUpdateRequestWithBody

func NewAgentsApiV1AgentsUpdateRequestWithBody(server string, agentId string, contentType string, body io.Reader) (*http.Request, error)

NewAgentsApiV1AgentsUpdateRequestWithBody constructs an http.Request for the AgentsApiV1AgentsUpdate method, with any body, and a specified content type

func NewAgentsApiV1AgentsUpdateVersionRequest

func NewAgentsApiV1AgentsUpdateVersionRequest(server string, agentId string, params *AgentsApiV1AgentsUpdateVersionParams) (*http.Request, error)

NewAgentsApiV1AgentsUpdateVersionRequest constructs an http.Request for the AgentsApiV1AgentsUpdateVersion method

func NewAgentsApiV1ConversationsAppendRequest

func NewAgentsApiV1ConversationsAppendRequest(server string, conversationId string, body AgentsApiV1ConversationsAppendJSONRequestBody) (*http.Request, error)

NewAgentsApiV1ConversationsAppendRequest calls the generic AgentsApiV1ConversationsAppend builder with application/json body

func NewAgentsApiV1ConversationsAppendRequestWithBody

func NewAgentsApiV1ConversationsAppendRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)

NewAgentsApiV1ConversationsAppendRequestWithBody constructs an http.Request for the AgentsApiV1ConversationsAppend method, with any body, and a specified content type

func NewAgentsApiV1ConversationsAppendStreamRequest

func NewAgentsApiV1ConversationsAppendStreamRequest(server string, conversationId string, body AgentsApiV1ConversationsAppendStreamJSONRequestBody) (*http.Request, error)

NewAgentsApiV1ConversationsAppendStreamRequest calls the generic AgentsApiV1ConversationsAppendStream builder with application/json body

func NewAgentsApiV1ConversationsAppendStreamRequestWithBody

func NewAgentsApiV1ConversationsAppendStreamRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)

NewAgentsApiV1ConversationsAppendStreamRequestWithBody constructs an http.Request for the AgentsApiV1ConversationsAppendStream method, with any body, and a specified content type

func NewAgentsApiV1ConversationsDeleteRequest

func NewAgentsApiV1ConversationsDeleteRequest(server string, conversationId string) (*http.Request, error)

NewAgentsApiV1ConversationsDeleteRequest constructs an http.Request for the AgentsApiV1ConversationsDelete method

func NewAgentsApiV1ConversationsGetRequest

func NewAgentsApiV1ConversationsGetRequest(server string, conversationId string) (*http.Request, error)

NewAgentsApiV1ConversationsGetRequest constructs an http.Request for the AgentsApiV1ConversationsGet method

func NewAgentsApiV1ConversationsHistoryRequest

func NewAgentsApiV1ConversationsHistoryRequest(server string, conversationId string) (*http.Request, error)

NewAgentsApiV1ConversationsHistoryRequest constructs an http.Request for the AgentsApiV1ConversationsHistory method

func NewAgentsApiV1ConversationsListRequest

func NewAgentsApiV1ConversationsListRequest(server string, params *AgentsApiV1ConversationsListParams) (*http.Request, error)

NewAgentsApiV1ConversationsListRequest constructs an http.Request for the AgentsApiV1ConversationsList method

func NewAgentsApiV1ConversationsMessagesRequest

func NewAgentsApiV1ConversationsMessagesRequest(server string, conversationId string) (*http.Request, error)

NewAgentsApiV1ConversationsMessagesRequest constructs an http.Request for the AgentsApiV1ConversationsMessages method

func NewAgentsApiV1ConversationsRestartRequest

func NewAgentsApiV1ConversationsRestartRequest(server string, conversationId string, body AgentsApiV1ConversationsRestartJSONRequestBody) (*http.Request, error)

NewAgentsApiV1ConversationsRestartRequest calls the generic AgentsApiV1ConversationsRestart builder with application/json body

func NewAgentsApiV1ConversationsRestartRequestWithBody

func NewAgentsApiV1ConversationsRestartRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)

NewAgentsApiV1ConversationsRestartRequestWithBody constructs an http.Request for the AgentsApiV1ConversationsRestart method, with any body, and a specified content type

func NewAgentsApiV1ConversationsRestartStreamRequest

func NewAgentsApiV1ConversationsRestartStreamRequest(server string, conversationId string, body AgentsApiV1ConversationsRestartStreamJSONRequestBody) (*http.Request, error)

NewAgentsApiV1ConversationsRestartStreamRequest calls the generic AgentsApiV1ConversationsRestartStream builder with application/json body

func NewAgentsApiV1ConversationsRestartStreamRequestWithBody

func NewAgentsApiV1ConversationsRestartStreamRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)

NewAgentsApiV1ConversationsRestartStreamRequestWithBody constructs an http.Request for the AgentsApiV1ConversationsRestartStream method, with any body, and a specified content type

func NewAgentsApiV1ConversationsStartRequest

func NewAgentsApiV1ConversationsStartRequest(server string, body AgentsApiV1ConversationsStartJSONRequestBody) (*http.Request, error)

NewAgentsApiV1ConversationsStartRequest calls the generic AgentsApiV1ConversationsStart builder with application/json body

func NewAgentsApiV1ConversationsStartRequestWithBody

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

NewAgentsApiV1ConversationsStartRequestWithBody constructs an http.Request for the AgentsApiV1ConversationsStart method, with any body, and a specified content type

func NewAgentsApiV1ConversationsStartStreamRequest

func NewAgentsApiV1ConversationsStartStreamRequest(server string, body AgentsApiV1ConversationsStartStreamJSONRequestBody) (*http.Request, error)

NewAgentsApiV1ConversationsStartStreamRequest calls the generic AgentsApiV1ConversationsStartStream builder with application/json body

func NewAgentsApiV1ConversationsStartStreamRequestWithBody

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

NewAgentsApiV1ConversationsStartStreamRequestWithBody constructs an http.Request for the AgentsApiV1ConversationsStartStream method, with any body, and a specified content type

func NewAgentsCompletionV1AgentsCompletionsPostRequest

func NewAgentsCompletionV1AgentsCompletionsPostRequest(server string, body AgentsCompletionV1AgentsCompletionsPostJSONRequestBody) (*http.Request, error)

NewAgentsCompletionV1AgentsCompletionsPostRequest calls the generic AgentsCompletionV1AgentsCompletionsPost builder with application/json body

func NewAgentsCompletionV1AgentsCompletionsPostRequestWithBody

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

NewAgentsCompletionV1AgentsCompletionsPostRequestWithBody constructs an http.Request for the AgentsCompletionV1AgentsCompletionsPost method, with any body, and a specified content type

func NewArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutRequest

func NewArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutRequest(server string, workflowIdentifier string) (*http.Request, error)

NewArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutRequest constructs an http.Request for the ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut method

func NewAudioApiV1TranscriptionsPostRequestWithBody

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

NewAudioApiV1TranscriptionsPostRequestWithBody constructs an http.Request for the AudioApiV1TranscriptionsPost method, with any body, and a specified content type

func NewAudioApiV1TranscriptionsPostStreamRequestWithBody

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

NewAudioApiV1TranscriptionsPostStreamRequestWithBody constructs an http.Request for the AudioApiV1TranscriptionsPostStream method, with any body, and a specified content type

func NewBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostRequest

func NewBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostRequest(server string, body BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostJSONRequestBody) (*http.Request, error)

NewBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostRequest calls the generic BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost builder with application/json body

func NewBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostRequestWithBody

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

NewBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostRequestWithBody constructs an http.Request for the BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost method, with any body, and a specified content type

func NewBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostRequest

func NewBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostRequest(server string, body BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostJSONRequestBody) (*http.Request, error)

NewBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostRequest calls the generic BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost builder with application/json body

func NewBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostRequestWithBody

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

NewBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostRequestWithBody constructs an http.Request for the BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost method, with any body, and a specified content type

func NewCancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostRequest

func NewCancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostRequest(server string, executionId string) (*http.Request, error)

NewCancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostRequest constructs an http.Request for the CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost method

func NewChatClassificationsV1ChatClassificationsPostRequest

func NewChatClassificationsV1ChatClassificationsPostRequest(server string, body ChatClassificationsV1ChatClassificationsPostJSONRequestBody) (*http.Request, error)

NewChatClassificationsV1ChatClassificationsPostRequest calls the generic ChatClassificationsV1ChatClassificationsPost builder with application/json body

func NewChatClassificationsV1ChatClassificationsPostRequestWithBody

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

NewChatClassificationsV1ChatClassificationsPostRequestWithBody constructs an http.Request for the ChatClassificationsV1ChatClassificationsPost method, with any body, and a specified content type

func NewChatCompletionV1ChatCompletionsPostRequest

func NewChatCompletionV1ChatCompletionsPostRequest(server string, body ChatCompletionV1ChatCompletionsPostJSONRequestBody) (*http.Request, error)

NewChatCompletionV1ChatCompletionsPostRequest calls the generic ChatCompletionV1ChatCompletionsPost builder with application/json body

func NewChatCompletionV1ChatCompletionsPostRequestWithBody

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

NewChatCompletionV1ChatCompletionsPostRequestWithBody constructs an http.Request for the ChatCompletionV1ChatCompletionsPost method, with any body, and a specified content type

func NewChatModerationsV1ChatModerationsPostRequest

func NewChatModerationsV1ChatModerationsPostRequest(server string, body ChatModerationsV1ChatModerationsPostJSONRequestBody) (*http.Request, error)

NewChatModerationsV1ChatModerationsPostRequest calls the generic ChatModerationsV1ChatModerationsPost builder with application/json body

func NewChatModerationsV1ChatModerationsPostRequestWithBody

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

NewChatModerationsV1ChatModerationsPostRequestWithBody constructs an http.Request for the ChatModerationsV1ChatModerationsPost method, with any body, and a specified content type

func NewClassificationsV1ClassificationsPostRequest

func NewClassificationsV1ClassificationsPostRequest(server string, body ClassificationsV1ClassificationsPostJSONRequestBody) (*http.Request, error)

NewClassificationsV1ClassificationsPostRequest calls the generic ClassificationsV1ClassificationsPost builder with application/json body

func NewClassificationsV1ClassificationsPostRequestWithBody

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

NewClassificationsV1ClassificationsPostRequestWithBody constructs an http.Request for the ClassificationsV1ClassificationsPost method, with any body, and a specified content type

func NewConnectorCallToolV1Request

func NewConnectorCallToolV1Request(server string, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, body ConnectorCallToolV1JSONRequestBody) (*http.Request, error)

NewConnectorCallToolV1Request calls the generic ConnectorCallToolV1 builder with application/json body

func NewConnectorCallToolV1RequestWithBody

func NewConnectorCallToolV1RequestWithBody(server string, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, contentType string, body io.Reader) (*http.Request, error)

NewConnectorCallToolV1RequestWithBody constructs an http.Request for the ConnectorCallToolV1 method, with any body, and a specified content type

func NewConnectorCreateOrUpdateOrganizationCredentialsV1Request

func NewConnectorCreateOrUpdateOrganizationCredentialsV1Request(server string, connectorIdOrName string, body ConnectorCreateOrUpdateOrganizationCredentialsV1JSONRequestBody) (*http.Request, error)

NewConnectorCreateOrUpdateOrganizationCredentialsV1Request calls the generic ConnectorCreateOrUpdateOrganizationCredentialsV1 builder with application/json body

func NewConnectorCreateOrUpdateOrganizationCredentialsV1RequestWithBody

func NewConnectorCreateOrUpdateOrganizationCredentialsV1RequestWithBody(server string, connectorIdOrName string, contentType string, body io.Reader) (*http.Request, error)

NewConnectorCreateOrUpdateOrganizationCredentialsV1RequestWithBody constructs an http.Request for the ConnectorCreateOrUpdateOrganizationCredentialsV1 method, with any body, and a specified content type

func NewConnectorCreateOrUpdateUserCredentialsV1Request

func NewConnectorCreateOrUpdateUserCredentialsV1Request(server string, connectorIdOrName string, body ConnectorCreateOrUpdateUserCredentialsV1JSONRequestBody) (*http.Request, error)

NewConnectorCreateOrUpdateUserCredentialsV1Request calls the generic ConnectorCreateOrUpdateUserCredentialsV1 builder with application/json body

func NewConnectorCreateOrUpdateUserCredentialsV1RequestWithBody

func NewConnectorCreateOrUpdateUserCredentialsV1RequestWithBody(server string, connectorIdOrName string, contentType string, body io.Reader) (*http.Request, error)

NewConnectorCreateOrUpdateUserCredentialsV1RequestWithBody constructs an http.Request for the ConnectorCreateOrUpdateUserCredentialsV1 method, with any body, and a specified content type

func NewConnectorCreateOrUpdateWorkspaceCredentialsV1Request

func NewConnectorCreateOrUpdateWorkspaceCredentialsV1Request(server string, connectorIdOrName string, body ConnectorCreateOrUpdateWorkspaceCredentialsV1JSONRequestBody) (*http.Request, error)

NewConnectorCreateOrUpdateWorkspaceCredentialsV1Request calls the generic ConnectorCreateOrUpdateWorkspaceCredentialsV1 builder with application/json body

func NewConnectorCreateOrUpdateWorkspaceCredentialsV1RequestWithBody

func NewConnectorCreateOrUpdateWorkspaceCredentialsV1RequestWithBody(server string, connectorIdOrName string, contentType string, body io.Reader) (*http.Request, error)

NewConnectorCreateOrUpdateWorkspaceCredentialsV1RequestWithBody constructs an http.Request for the ConnectorCreateOrUpdateWorkspaceCredentialsV1 method, with any body, and a specified content type

func NewConnectorCreateV1Request

func NewConnectorCreateV1Request(server string, body ConnectorCreateV1JSONRequestBody) (*http.Request, error)

NewConnectorCreateV1Request calls the generic ConnectorCreateV1 builder with application/json body

func NewConnectorCreateV1RequestWithBody

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

NewConnectorCreateV1RequestWithBody constructs an http.Request for the ConnectorCreateV1 method, with any body, and a specified content type

func NewConnectorDeleteOrganizationCredentialsV1Request

func NewConnectorDeleteOrganizationCredentialsV1Request(server string, connectorIdOrName string, credentialsName string) (*http.Request, error)

NewConnectorDeleteOrganizationCredentialsV1Request constructs an http.Request for the ConnectorDeleteOrganizationCredentialsV1 method

func NewConnectorDeleteUserCredentialsV1Request

func NewConnectorDeleteUserCredentialsV1Request(server string, connectorIdOrName string, credentialsName string) (*http.Request, error)

NewConnectorDeleteUserCredentialsV1Request constructs an http.Request for the ConnectorDeleteUserCredentialsV1 method

func NewConnectorDeleteV1Request

func NewConnectorDeleteV1Request(server string, connectorId openapi_types.UUID) (*http.Request, error)

NewConnectorDeleteV1Request constructs an http.Request for the ConnectorDeleteV1 method

func NewConnectorDeleteWorkspaceCredentialsV1Request

func NewConnectorDeleteWorkspaceCredentialsV1Request(server string, connectorIdOrName string, credentialsName string) (*http.Request, error)

NewConnectorDeleteWorkspaceCredentialsV1Request constructs an http.Request for the ConnectorDeleteWorkspaceCredentialsV1 method

func NewConnectorGetAuthUrlV1Request

func NewConnectorGetAuthUrlV1Request(server string, connectorIdOrName string, params *ConnectorGetAuthUrlV1Params) (*http.Request, error)

NewConnectorGetAuthUrlV1Request constructs an http.Request for the ConnectorGetAuthUrlV1 method

func NewConnectorGetAuthenticationMethodsV1Request

func NewConnectorGetAuthenticationMethodsV1Request(server string, connectorIdOrName string) (*http.Request, error)

NewConnectorGetAuthenticationMethodsV1Request constructs an http.Request for the ConnectorGetAuthenticationMethodsV1 method

func NewConnectorGetV1Request

func NewConnectorGetV1Request(server string, connectorIdOrName string, params *ConnectorGetV1Params) (*http.Request, error)

NewConnectorGetV1Request constructs an http.Request for the ConnectorGetV1 method

func NewConnectorListOrganizationCredentialsV1Request

func NewConnectorListOrganizationCredentialsV1Request(server string, connectorIdOrName string, params *ConnectorListOrganizationCredentialsV1Params) (*http.Request, error)

NewConnectorListOrganizationCredentialsV1Request constructs an http.Request for the ConnectorListOrganizationCredentialsV1 method

func NewConnectorListToolsV1Request

func NewConnectorListToolsV1Request(server string, connectorIdOrName string, params *ConnectorListToolsV1Params) (*http.Request, error)

NewConnectorListToolsV1Request constructs an http.Request for the ConnectorListToolsV1 method

func NewConnectorListUserCredentialsV1Request

func NewConnectorListUserCredentialsV1Request(server string, connectorIdOrName string, params *ConnectorListUserCredentialsV1Params) (*http.Request, error)

NewConnectorListUserCredentialsV1Request constructs an http.Request for the ConnectorListUserCredentialsV1 method

func NewConnectorListV1Request

func NewConnectorListV1Request(server string, params *ConnectorListV1Params) (*http.Request, error)

NewConnectorListV1Request constructs an http.Request for the ConnectorListV1 method

func NewConnectorListWorkspaceCredentialsV1Request

func NewConnectorListWorkspaceCredentialsV1Request(server string, connectorIdOrName string, params *ConnectorListWorkspaceCredentialsV1Params) (*http.Request, error)

NewConnectorListWorkspaceCredentialsV1Request constructs an http.Request for the ConnectorListWorkspaceCredentialsV1 method

func NewConnectorUpdateV1Request

func NewConnectorUpdateV1Request(server string, connectorId openapi_types.UUID, body ConnectorUpdateV1JSONRequestBody) (*http.Request, error)

NewConnectorUpdateV1Request calls the generic ConnectorUpdateV1 builder with application/json body

func NewConnectorUpdateV1RequestWithBody

func NewConnectorUpdateV1RequestWithBody(server string, connectorId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewConnectorUpdateV1RequestWithBody constructs an http.Request for the ConnectorUpdateV1 method, with any body, and a specified content type

func NewCreateCampaignV1ObservabilityCampaignsPostRequest

func NewCreateCampaignV1ObservabilityCampaignsPostRequest(server string, body CreateCampaignV1ObservabilityCampaignsPostJSONRequestBody) (*http.Request, error)

NewCreateCampaignV1ObservabilityCampaignsPostRequest calls the generic CreateCampaignV1ObservabilityCampaignsPost builder with application/json body

func NewCreateCampaignV1ObservabilityCampaignsPostRequestWithBody

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

NewCreateCampaignV1ObservabilityCampaignsPostRequestWithBody constructs an http.Request for the CreateCampaignV1ObservabilityCampaignsPost method, with any body, and a specified content type

func NewCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostRequest

func NewCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostRequest(server string, datasetId openapi_types.UUID, body CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostJSONRequestBody) (*http.Request, error)

NewCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostRequest calls the generic CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost builder with application/json body

func NewCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostRequestWithBody

func NewCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostRequestWithBody constructs an http.Request for the CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost method, with any body, and a specified content type

func NewCreateDatasetV1ObservabilityDatasetsPostRequest

func NewCreateDatasetV1ObservabilityDatasetsPostRequest(server string, body CreateDatasetV1ObservabilityDatasetsPostJSONRequestBody) (*http.Request, error)

NewCreateDatasetV1ObservabilityDatasetsPostRequest calls the generic CreateDatasetV1ObservabilityDatasetsPost builder with application/json body

func NewCreateDatasetV1ObservabilityDatasetsPostRequestWithBody

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

NewCreateDatasetV1ObservabilityDatasetsPostRequestWithBody constructs an http.Request for the CreateDatasetV1ObservabilityDatasetsPost method, with any body, and a specified content type

func NewCreateJudgeV1ObservabilityJudgesPostRequest

func NewCreateJudgeV1ObservabilityJudgesPostRequest(server string, body CreateJudgeV1ObservabilityJudgesPostJSONRequestBody) (*http.Request, error)

NewCreateJudgeV1ObservabilityJudgesPostRequest calls the generic CreateJudgeV1ObservabilityJudgesPost builder with application/json body

func NewCreateJudgeV1ObservabilityJudgesPostRequestWithBody

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

NewCreateJudgeV1ObservabilityJudgesPostRequestWithBody constructs an http.Request for the CreateJudgeV1ObservabilityJudgesPost method, with any body, and a specified content type

func NewCreateVoiceV1AudioVoicesPostRequest

func NewCreateVoiceV1AudioVoicesPostRequest(server string, body CreateVoiceV1AudioVoicesPostJSONRequestBody) (*http.Request, error)

NewCreateVoiceV1AudioVoicesPostRequest calls the generic CreateVoiceV1AudioVoicesPost builder with application/json body

func NewCreateVoiceV1AudioVoicesPostRequestWithBody

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

NewCreateVoiceV1AudioVoicesPostRequestWithBody constructs an http.Request for the CreateVoiceV1AudioVoicesPost method, with any body, and a specified content type

func NewDeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteRequest

func NewDeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteRequest(server string, campaignId openapi_types.UUID) (*http.Request, error)

NewDeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteRequest constructs an http.Request for the DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete method

func NewDeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteRequest

func NewDeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteRequest(server string, datasetRecordId openapi_types.UUID) (*http.Request, error)

NewDeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteRequest constructs an http.Request for the DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete method

func NewDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostRequest

func NewDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostRequest(server string, body DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostJSONRequestBody) (*http.Request, error)

NewDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostRequest calls the generic DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost builder with application/json body

func NewDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostRequestWithBody

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

NewDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostRequestWithBody constructs an http.Request for the DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost method, with any body, and a specified content type

func NewDeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteRequest

func NewDeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteRequest(server string, datasetId openapi_types.UUID) (*http.Request, error)

NewDeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteRequest constructs an http.Request for the DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete method

func NewDeleteJudgeV1ObservabilityJudgesJudgeIdDeleteRequest

func NewDeleteJudgeV1ObservabilityJudgesJudgeIdDeleteRequest(server string, judgeId openapi_types.UUID) (*http.Request, error)

NewDeleteJudgeV1ObservabilityJudgesJudgeIdDeleteRequest constructs an http.Request for the DeleteJudgeV1ObservabilityJudgesJudgeIdDelete method

func NewDeleteModelV1ModelsModelIdDeleteRequest

func NewDeleteModelV1ModelsModelIdDeleteRequest(server string, modelId string) (*http.Request, error)

NewDeleteModelV1ModelsModelIdDeleteRequest constructs an http.Request for the DeleteModelV1ModelsModelIdDelete method

func NewDeleteVoiceV1AudioVoicesVoiceIdDeleteRequest

func NewDeleteVoiceV1AudioVoicesVoiceIdDeleteRequest(server string, voiceId openapi_types.UUID) (*http.Request, error)

NewDeleteVoiceV1AudioVoicesVoiceIdDeleteRequest constructs an http.Request for the DeleteVoiceV1AudioVoicesVoiceIdDelete method

func NewEmbeddingsV1EmbeddingsPostRequest

func NewEmbeddingsV1EmbeddingsPostRequest(server string, body EmbeddingsV1EmbeddingsPostJSONRequestBody) (*http.Request, error)

NewEmbeddingsV1EmbeddingsPostRequest calls the generic EmbeddingsV1EmbeddingsPost builder with application/json body

func NewEmbeddingsV1EmbeddingsPostRequestWithBody

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

NewEmbeddingsV1EmbeddingsPostRequestWithBody constructs an http.Request for the EmbeddingsV1EmbeddingsPost method, with any body, and a specified content type

func NewExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostRequest

func NewExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostRequest(server string, workflowRegistrationId openapi_types.UUID, body ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostJSONRequestBody) (*http.Request, error)

NewExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostRequest calls the generic ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost builder with application/json body

func NewExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostRequestWithBody

func NewExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostRequestWithBody(server string, workflowRegistrationId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostRequestWithBody constructs an http.Request for the ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost method, with any body, and a specified content type

func NewExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostRequest

func NewExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostRequest(server string, workflowIdentifier string, body ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostJSONRequestBody) (*http.Request, error)

NewExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostRequest calls the generic ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost builder with application/json body

func NewExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostRequestWithBody

func NewExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostRequestWithBody(server string, workflowIdentifier string, contentType string, body io.Reader) (*http.Request, error)

NewExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostRequestWithBody constructs an http.Request for the ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost method, with any body, and a specified content type

func NewExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetRequest

func NewExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetRequest(server string, datasetId openapi_types.UUID) (*http.Request, error)

NewExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetRequest constructs an http.Request for the ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet method

func NewFilesApiRoutesDeleteFileRequest

func NewFilesApiRoutesDeleteFileRequest(server string, fileId openapi_types.UUID) (*http.Request, error)

NewFilesApiRoutesDeleteFileRequest constructs an http.Request for the FilesApiRoutesDeleteFile method

func NewFilesApiRoutesDownloadFileRequest

func NewFilesApiRoutesDownloadFileRequest(server string, fileId openapi_types.UUID) (*http.Request, error)

NewFilesApiRoutesDownloadFileRequest constructs an http.Request for the FilesApiRoutesDownloadFile method

func NewFilesApiRoutesGetSignedUrlRequest

func NewFilesApiRoutesGetSignedUrlRequest(server string, fileId openapi_types.UUID, params *FilesApiRoutesGetSignedUrlParams) (*http.Request, error)

NewFilesApiRoutesGetSignedUrlRequest constructs an http.Request for the FilesApiRoutesGetSignedUrl method

func NewFilesApiRoutesListFilesRequest

func NewFilesApiRoutesListFilesRequest(server string, params *FilesApiRoutesListFilesParams) (*http.Request, error)

NewFilesApiRoutesListFilesRequest constructs an http.Request for the FilesApiRoutesListFiles method

func NewFilesApiRoutesRetrieveFileRequest

func NewFilesApiRoutesRetrieveFileRequest(server string, fileId openapi_types.UUID) (*http.Request, error)

NewFilesApiRoutesRetrieveFileRequest constructs an http.Request for the FilesApiRoutesRetrieveFile method

func NewFilesApiRoutesUploadFileRequestWithBody

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

NewFilesApiRoutesUploadFileRequestWithBody constructs an http.Request for the FilesApiRoutesUploadFile method, with any body, and a specified content type

func NewFimCompletionV1FimCompletionsPostRequest

func NewFimCompletionV1FimCompletionsPostRequest(server string, body FimCompletionV1FimCompletionsPostJSONRequestBody) (*http.Request, error)

NewFimCompletionV1FimCompletionsPostRequest calls the generic FimCompletionV1FimCompletionsPost builder with application/json body

func NewFimCompletionV1FimCompletionsPostRequestWithBody

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

NewFimCompletionV1FimCompletionsPostRequestWithBody constructs an http.Request for the FimCompletionV1FimCompletionsPost method, with any body, and a specified content type

func NewGetCampaignByIdV1ObservabilityCampaignsCampaignIdGetRequest

func NewGetCampaignByIdV1ObservabilityCampaignsCampaignIdGetRequest(server string, campaignId openapi_types.UUID) (*http.Request, error)

NewGetCampaignByIdV1ObservabilityCampaignsCampaignIdGetRequest constructs an http.Request for the GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet method

func NewGetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetRequest

func NewGetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetRequest(server string, campaignId openapi_types.UUID, params *GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetParams) (*http.Request, error)

NewGetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetRequest constructs an http.Request for the GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet method

func NewGetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetRequest

func NewGetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetRequest(server string, campaignId openapi_types.UUID) (*http.Request, error)

NewGetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetRequest constructs an http.Request for the GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet method

func NewGetCampaignsV1ObservabilityCampaignsGetRequest

func NewGetCampaignsV1ObservabilityCampaignsGetRequest(server string, params *GetCampaignsV1ObservabilityCampaignsGetParams) (*http.Request, error)

NewGetCampaignsV1ObservabilityCampaignsGetRequest constructs an http.Request for the GetCampaignsV1ObservabilityCampaignsGet method

func NewGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostRequest

func NewGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostRequest(server string, body GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostJSONRequestBody) (*http.Request, error)

NewGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostRequest calls the generic GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost builder with application/json body

func NewGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostRequestWithBody

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

NewGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostRequestWithBody constructs an http.Request for the GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost method, with any body, and a specified content type

func NewGetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetRequest

func NewGetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetRequest(server string, eventId openapi_types.UUID) (*http.Request, error)

NewGetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetRequest constructs an http.Request for the GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet method

func NewGetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostRequest

NewGetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostRequest calls the generic GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost builder with application/json body

func NewGetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostRequestWithBody

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

NewGetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostRequestWithBody constructs an http.Request for the GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost method, with any body, and a specified content type

func NewGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostRequest

func NewGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostRequest(server string, fieldName string, body GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostJSONRequestBody) (*http.Request, error)

NewGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostRequest calls the generic GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost builder with application/json body

func NewGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostRequestWithBody

func NewGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostRequestWithBody(server string, fieldName string, contentType string, body io.Reader) (*http.Request, error)

NewGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostRequestWithBody constructs an http.Request for the GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost method, with any body, and a specified content type

func NewGetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetRequest

func NewGetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetRequest(server string, fieldName string, params *GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParams) (*http.Request, error)

NewGetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetRequest constructs an http.Request for the GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet method

func NewGetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetRequest

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

NewGetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetRequest constructs an http.Request for the GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet method

func NewGetDatasetByIdV1ObservabilityDatasetsDatasetIdGetRequest

func NewGetDatasetByIdV1ObservabilityDatasetsDatasetIdGetRequest(server string, datasetId openapi_types.UUID) (*http.Request, error)

NewGetDatasetByIdV1ObservabilityDatasetsDatasetIdGetRequest constructs an http.Request for the GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet method

func NewGetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetRequest

func NewGetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetRequest(server string, datasetId openapi_types.UUID, taskId openapi_types.UUID) (*http.Request, error)

NewGetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetRequest constructs an http.Request for the GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet method

func NewGetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetRequest

func NewGetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetRequest(server string, datasetId openapi_types.UUID, params *GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetParams) (*http.Request, error)

NewGetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetRequest constructs an http.Request for the GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet method

func NewGetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetRequest

func NewGetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetRequest(server string, datasetRecordId openapi_types.UUID) (*http.Request, error)

NewGetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetRequest constructs an http.Request for the GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet method

func NewGetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetRequest

func NewGetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetRequest(server string, datasetId openapi_types.UUID, params *GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetParams) (*http.Request, error)

NewGetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetRequest constructs an http.Request for the GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet method

func NewGetDatasetsV1ObservabilityDatasetsGetRequest

func NewGetDatasetsV1ObservabilityDatasetsGetRequest(server string, params *GetDatasetsV1ObservabilityDatasetsGetParams) (*http.Request, error)

NewGetDatasetsV1ObservabilityDatasetsGetRequest constructs an http.Request for the GetDatasetsV1ObservabilityDatasetsGet method

func NewGetDeploymentV1WorkflowsDeploymentsNameGetRequest

func NewGetDeploymentV1WorkflowsDeploymentsNameGetRequest(server string, name string) (*http.Request, error)

NewGetDeploymentV1WorkflowsDeploymentsNameGetRequest constructs an http.Request for the GetDeploymentV1WorkflowsDeploymentsNameGet method

func NewGetJudgeByIdV1ObservabilityJudgesJudgeIdGetRequest

func NewGetJudgeByIdV1ObservabilityJudgesJudgeIdGetRequest(server string, judgeId openapi_types.UUID) (*http.Request, error)

NewGetJudgeByIdV1ObservabilityJudgesJudgeIdGetRequest constructs an http.Request for the GetJudgeByIdV1ObservabilityJudgesJudgeIdGet method

func NewGetJudgesV1ObservabilityJudgesGetRequest

func NewGetJudgesV1ObservabilityJudgesGetRequest(server string, params *GetJudgesV1ObservabilityJudgesGetParams) (*http.Request, error)

NewGetJudgesV1ObservabilityJudgesGetRequest constructs an http.Request for the GetJudgesV1ObservabilityJudgesGet method

func NewGetRunHistoryV1WorkflowsRunsRunIdHistoryGetRequest

func NewGetRunHistoryV1WorkflowsRunsRunIdHistoryGetRequest(server string, runId openapi_types.UUID, params *GetRunHistoryV1WorkflowsRunsRunIdHistoryGetParams) (*http.Request, error)

NewGetRunHistoryV1WorkflowsRunsRunIdHistoryGetRequest constructs an http.Request for the GetRunHistoryV1WorkflowsRunsRunIdHistoryGet method

func NewGetRunV1WorkflowsRunsRunIdGetRequest

func NewGetRunV1WorkflowsRunsRunIdGetRequest(server string, runId openapi_types.UUID) (*http.Request, error)

NewGetRunV1WorkflowsRunsRunIdGetRequest constructs an http.Request for the GetRunV1WorkflowsRunsRunIdGet method

func NewGetSchedulesV1WorkflowsSchedulesGetRequest

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

NewGetSchedulesV1WorkflowsSchedulesGetRequest constructs an http.Request for the GetSchedulesV1WorkflowsSchedulesGet method

func NewGetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetRequest

func NewGetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetRequest(server string, eventId openapi_types.UUID) (*http.Request, error)

NewGetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetRequest constructs an http.Request for the GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet method

func NewGetStreamEventsV1WorkflowsEventsStreamGetRequest

func NewGetStreamEventsV1WorkflowsEventsStreamGetRequest(server string, params *GetStreamEventsV1WorkflowsEventsStreamGetParams) (*http.Request, error)

NewGetStreamEventsV1WorkflowsEventsStreamGetRequest constructs an http.Request for the GetStreamEventsV1WorkflowsEventsStreamGet method

func NewGetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetRequest

func NewGetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetRequest(server string, voiceId string) (*http.Request, error)

NewGetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetRequest constructs an http.Request for the GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet method

func NewGetVoiceV1AudioVoicesVoiceIdGetRequest

func NewGetVoiceV1AudioVoicesVoiceIdGetRequest(server string, voiceId string) (*http.Request, error)

NewGetVoiceV1AudioVoicesVoiceIdGetRequest constructs an http.Request for the GetVoiceV1AudioVoicesVoiceIdGet method

func NewGetWorkerInfoV1WorkflowsWorkersWhoamiGetRequest

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

NewGetWorkerInfoV1WorkflowsWorkersWhoamiGetRequest constructs an http.Request for the GetWorkerInfoV1WorkflowsWorkersWhoamiGet method

func NewGetWorkflowEventsV1WorkflowsEventsListGetRequest

func NewGetWorkflowEventsV1WorkflowsEventsListGetRequest(server string, params *GetWorkflowEventsV1WorkflowsEventsListGetParams) (*http.Request, error)

NewGetWorkflowEventsV1WorkflowsEventsListGetRequest constructs an http.Request for the GetWorkflowEventsV1WorkflowsEventsListGet method

func NewGetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetRequest

func NewGetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetRequest(server string, executionId string, params *GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetParams) (*http.Request, error)

NewGetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetRequest constructs an http.Request for the GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet method

func NewGetWorkflowExecutionTraceEventsRequest

func NewGetWorkflowExecutionTraceEventsRequest(server string, executionId string, params *GetWorkflowExecutionTraceEventsParams) (*http.Request, error)

NewGetWorkflowExecutionTraceEventsRequest constructs an http.Request for the GetWorkflowExecutionTraceEvents method

func NewGetWorkflowExecutionTraceOtelRequest

func NewGetWorkflowExecutionTraceOtelRequest(server string, executionId string) (*http.Request, error)

NewGetWorkflowExecutionTraceOtelRequest constructs an http.Request for the GetWorkflowExecutionTraceOtel method

func NewGetWorkflowExecutionTraceSummaryRequest

func NewGetWorkflowExecutionTraceSummaryRequest(server string, executionId string) (*http.Request, error)

NewGetWorkflowExecutionTraceSummaryRequest constructs an http.Request for the GetWorkflowExecutionTraceSummary method

func NewGetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetRequest

func NewGetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetRequest(server string, executionId string) (*http.Request, error)

NewGetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetRequest constructs an http.Request for the GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet method

func NewGetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetRequest

func NewGetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetRequest(server string, workflowName string, params *GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetParams) (*http.Request, error)

NewGetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetRequest constructs an http.Request for the GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet method

func NewGetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetRequest

func NewGetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetRequest(server string, workflowRegistrationId openapi_types.UUID, params *GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetParams) (*http.Request, error)

NewGetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetRequest constructs an http.Request for the GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet method

func NewGetWorkflowRegistrationsV1WorkflowsRegistrationsGetRequest

func NewGetWorkflowRegistrationsV1WorkflowsRegistrationsGetRequest(server string, params *GetWorkflowRegistrationsV1WorkflowsRegistrationsGetParams) (*http.Request, error)

NewGetWorkflowRegistrationsV1WorkflowsRegistrationsGetRequest constructs an http.Request for the GetWorkflowRegistrationsV1WorkflowsRegistrationsGet method

func NewGetWorkflowV1WorkflowsWorkflowIdentifierGetRequest

func NewGetWorkflowV1WorkflowsWorkflowIdentifierGetRequest(server string, workflowIdentifier string) (*http.Request, error)

NewGetWorkflowV1WorkflowsWorkflowIdentifierGetRequest constructs an http.Request for the GetWorkflowV1WorkflowsWorkflowIdentifierGet method

func NewJobsApiRoutesBatchCancelBatchJobRequest

func NewJobsApiRoutesBatchCancelBatchJobRequest(server string, jobId openapi_types.UUID) (*http.Request, error)

NewJobsApiRoutesBatchCancelBatchJobRequest constructs an http.Request for the JobsApiRoutesBatchCancelBatchJob method

func NewJobsApiRoutesBatchCreateBatchJobRequest

func NewJobsApiRoutesBatchCreateBatchJobRequest(server string, body JobsApiRoutesBatchCreateBatchJobJSONRequestBody) (*http.Request, error)

NewJobsApiRoutesBatchCreateBatchJobRequest calls the generic JobsApiRoutesBatchCreateBatchJob builder with application/json body

func NewJobsApiRoutesBatchCreateBatchJobRequestWithBody

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

NewJobsApiRoutesBatchCreateBatchJobRequestWithBody constructs an http.Request for the JobsApiRoutesBatchCreateBatchJob method, with any body, and a specified content type

func NewJobsApiRoutesBatchGetBatchJobRequest

func NewJobsApiRoutesBatchGetBatchJobRequest(server string, jobId openapi_types.UUID, params *JobsApiRoutesBatchGetBatchJobParams) (*http.Request, error)

NewJobsApiRoutesBatchGetBatchJobRequest constructs an http.Request for the JobsApiRoutesBatchGetBatchJob method

func NewJobsApiRoutesBatchGetBatchJobsRequest

func NewJobsApiRoutesBatchGetBatchJobsRequest(server string, params *JobsApiRoutesBatchGetBatchJobsParams) (*http.Request, error)

NewJobsApiRoutesBatchGetBatchJobsRequest constructs an http.Request for the JobsApiRoutesBatchGetBatchJobs method

func NewJobsApiRoutesFineTuningArchiveFineTunedModelRequest

func NewJobsApiRoutesFineTuningArchiveFineTunedModelRequest(server string, modelId string) (*http.Request, error)

NewJobsApiRoutesFineTuningArchiveFineTunedModelRequest constructs an http.Request for the JobsApiRoutesFineTuningArchiveFineTunedModel method

func NewJobsApiRoutesFineTuningCancelFineTuningJobRequest

func NewJobsApiRoutesFineTuningCancelFineTuningJobRequest(server string, jobId openapi_types.UUID) (*http.Request, error)

NewJobsApiRoutesFineTuningCancelFineTuningJobRequest constructs an http.Request for the JobsApiRoutesFineTuningCancelFineTuningJob method

func NewJobsApiRoutesFineTuningCreateFineTuningJobRequest

func NewJobsApiRoutesFineTuningCreateFineTuningJobRequest(server string, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, body JobsApiRoutesFineTuningCreateFineTuningJobJSONRequestBody) (*http.Request, error)

NewJobsApiRoutesFineTuningCreateFineTuningJobRequest calls the generic JobsApiRoutesFineTuningCreateFineTuningJob builder with application/json body

func NewJobsApiRoutesFineTuningCreateFineTuningJobRequestWithBody

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

NewJobsApiRoutesFineTuningCreateFineTuningJobRequestWithBody constructs an http.Request for the JobsApiRoutesFineTuningCreateFineTuningJob method, with any body, and a specified content type

func NewJobsApiRoutesFineTuningGetFineTuningJobRequest

func NewJobsApiRoutesFineTuningGetFineTuningJobRequest(server string, jobId openapi_types.UUID) (*http.Request, error)

NewJobsApiRoutesFineTuningGetFineTuningJobRequest constructs an http.Request for the JobsApiRoutesFineTuningGetFineTuningJob method

func NewJobsApiRoutesFineTuningGetFineTuningJobsRequest

func NewJobsApiRoutesFineTuningGetFineTuningJobsRequest(server string, params *JobsApiRoutesFineTuningGetFineTuningJobsParams) (*http.Request, error)

NewJobsApiRoutesFineTuningGetFineTuningJobsRequest constructs an http.Request for the JobsApiRoutesFineTuningGetFineTuningJobs method

func NewJobsApiRoutesFineTuningStartFineTuningJobRequest

func NewJobsApiRoutesFineTuningStartFineTuningJobRequest(server string, jobId openapi_types.UUID) (*http.Request, error)

NewJobsApiRoutesFineTuningStartFineTuningJobRequest constructs an http.Request for the JobsApiRoutesFineTuningStartFineTuningJob method

func NewJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest

func NewJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest(server string, modelId string) (*http.Request, error)

NewJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest constructs an http.Request for the JobsApiRoutesFineTuningUnarchiveFineTunedModel method

func NewJobsApiRoutesFineTuningUpdateFineTunedModelRequest

func NewJobsApiRoutesFineTuningUpdateFineTunedModelRequest(server string, modelId string, body JobsApiRoutesFineTuningUpdateFineTunedModelJSONRequestBody) (*http.Request, error)

NewJobsApiRoutesFineTuningUpdateFineTunedModelRequest calls the generic JobsApiRoutesFineTuningUpdateFineTunedModel builder with application/json body

func NewJobsApiRoutesFineTuningUpdateFineTunedModelRequestWithBody

func NewJobsApiRoutesFineTuningUpdateFineTunedModelRequestWithBody(server string, modelId string, contentType string, body io.Reader) (*http.Request, error)

NewJobsApiRoutesFineTuningUpdateFineTunedModelRequestWithBody constructs an http.Request for the JobsApiRoutesFineTuningUpdateFineTunedModel method, with any body, and a specified content type

func NewJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostRequest

func NewJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostRequest(server string, eventId openapi_types.UUID, body JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostJSONRequestBody) (*http.Request, error)

NewJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostRequest calls the generic JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost builder with application/json body

func NewJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostRequestWithBody

func NewJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostRequestWithBody(server string, eventId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostRequestWithBody constructs an http.Request for the JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost method, with any body, and a specified content type

func NewJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostRequest

func NewJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostRequest(server string, judgeId openapi_types.UUID, body JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostJSONRequestBody) (*http.Request, error)

NewJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostRequest calls the generic JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost builder with application/json body

func NewJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostRequestWithBody

func NewJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostRequestWithBody(server string, judgeId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostRequestWithBody constructs an http.Request for the JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost method, with any body, and a specified content type

func NewJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostRequest

func NewJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostRequest(server string, datasetRecordId openapi_types.UUID, body JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostJSONRequestBody) (*http.Request, error)

NewJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostRequest calls the generic JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost builder with application/json body

func NewJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostRequestWithBody

func NewJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostRequestWithBody(server string, datasetRecordId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostRequestWithBody constructs an http.Request for the JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost method, with any body, and a specified content type

func NewLibrariesCreateV1Request

func NewLibrariesCreateV1Request(server string, body LibrariesCreateV1JSONRequestBody) (*http.Request, error)

NewLibrariesCreateV1Request calls the generic LibrariesCreateV1 builder with application/json body

func NewLibrariesCreateV1RequestWithBody

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

NewLibrariesCreateV1RequestWithBody constructs an http.Request for the LibrariesCreateV1 method, with any body, and a specified content type

func NewLibrariesDeleteV1Request

func NewLibrariesDeleteV1Request(server string, libraryId openapi_types.UUID) (*http.Request, error)

NewLibrariesDeleteV1Request constructs an http.Request for the LibrariesDeleteV1 method

func NewLibrariesDocumentsDeleteV1Request

func NewLibrariesDocumentsDeleteV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)

NewLibrariesDocumentsDeleteV1Request constructs an http.Request for the LibrariesDocumentsDeleteV1 method

func NewLibrariesDocumentsGetExtractedTextSignedUrlV1Request

func NewLibrariesDocumentsGetExtractedTextSignedUrlV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)

NewLibrariesDocumentsGetExtractedTextSignedUrlV1Request constructs an http.Request for the LibrariesDocumentsGetExtractedTextSignedUrlV1 method

func NewLibrariesDocumentsGetSignedUrlV1Request

func NewLibrariesDocumentsGetSignedUrlV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)

NewLibrariesDocumentsGetSignedUrlV1Request constructs an http.Request for the LibrariesDocumentsGetSignedUrlV1 method

func NewLibrariesDocumentsGetStatusV1Request

func NewLibrariesDocumentsGetStatusV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)

NewLibrariesDocumentsGetStatusV1Request constructs an http.Request for the LibrariesDocumentsGetStatusV1 method

func NewLibrariesDocumentsGetTextContentV1Request

func NewLibrariesDocumentsGetTextContentV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)

NewLibrariesDocumentsGetTextContentV1Request constructs an http.Request for the LibrariesDocumentsGetTextContentV1 method

func NewLibrariesDocumentsGetV1Request

func NewLibrariesDocumentsGetV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)

NewLibrariesDocumentsGetV1Request constructs an http.Request for the LibrariesDocumentsGetV1 method

func NewLibrariesDocumentsListV1Request

func NewLibrariesDocumentsListV1Request(server string, libraryId openapi_types.UUID, params *LibrariesDocumentsListV1Params) (*http.Request, error)

NewLibrariesDocumentsListV1Request constructs an http.Request for the LibrariesDocumentsListV1 method

func NewLibrariesDocumentsReprocessV1Request

func NewLibrariesDocumentsReprocessV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID) (*http.Request, error)

NewLibrariesDocumentsReprocessV1Request constructs an http.Request for the LibrariesDocumentsReprocessV1 method

func NewLibrariesDocumentsUpdateV1Request

func NewLibrariesDocumentsUpdateV1Request(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID, body LibrariesDocumentsUpdateV1JSONRequestBody) (*http.Request, error)

NewLibrariesDocumentsUpdateV1Request calls the generic LibrariesDocumentsUpdateV1 builder with application/json body

func NewLibrariesDocumentsUpdateV1RequestWithBody

func NewLibrariesDocumentsUpdateV1RequestWithBody(server string, libraryId openapi_types.UUID, documentId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewLibrariesDocumentsUpdateV1RequestWithBody constructs an http.Request for the LibrariesDocumentsUpdateV1 method, with any body, and a specified content type

func NewLibrariesDocumentsUploadV1RequestWithBody

func NewLibrariesDocumentsUploadV1RequestWithBody(server string, libraryId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewLibrariesDocumentsUploadV1RequestWithBody constructs an http.Request for the LibrariesDocumentsUploadV1 method, with any body, and a specified content type

func NewLibrariesGetV1Request

func NewLibrariesGetV1Request(server string, libraryId openapi_types.UUID) (*http.Request, error)

NewLibrariesGetV1Request constructs an http.Request for the LibrariesGetV1 method

func NewLibrariesListV1Request

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

NewLibrariesListV1Request constructs an http.Request for the LibrariesListV1 method

func NewLibrariesShareCreateV1Request

func NewLibrariesShareCreateV1Request(server string, libraryId openapi_types.UUID, body LibrariesShareCreateV1JSONRequestBody) (*http.Request, error)

NewLibrariesShareCreateV1Request calls the generic LibrariesShareCreateV1 builder with application/json body

func NewLibrariesShareCreateV1RequestWithBody

func NewLibrariesShareCreateV1RequestWithBody(server string, libraryId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewLibrariesShareCreateV1RequestWithBody constructs an http.Request for the LibrariesShareCreateV1 method, with any body, and a specified content type

func NewLibrariesShareDeleteV1Request

func NewLibrariesShareDeleteV1Request(server string, libraryId openapi_types.UUID, body LibrariesShareDeleteV1JSONRequestBody) (*http.Request, error)

NewLibrariesShareDeleteV1Request calls the generic LibrariesShareDeleteV1 builder with application/json body

func NewLibrariesShareDeleteV1RequestWithBody

func NewLibrariesShareDeleteV1RequestWithBody(server string, libraryId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewLibrariesShareDeleteV1RequestWithBody constructs an http.Request for the LibrariesShareDeleteV1 method, with any body, and a specified content type

func NewLibrariesShareListV1Request

func NewLibrariesShareListV1Request(server string, libraryId openapi_types.UUID) (*http.Request, error)

NewLibrariesShareListV1Request constructs an http.Request for the LibrariesShareListV1 method

func NewLibrariesUpdateV1Request

func NewLibrariesUpdateV1Request(server string, libraryId openapi_types.UUID, body LibrariesUpdateV1JSONRequestBody) (*http.Request, error)

NewLibrariesUpdateV1Request calls the generic LibrariesUpdateV1 builder with application/json body

func NewLibrariesUpdateV1RequestWithBody

func NewLibrariesUpdateV1RequestWithBody(server string, libraryId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewLibrariesUpdateV1RequestWithBody constructs an http.Request for the LibrariesUpdateV1 method, with any body, and a specified content type

func NewListDeploymentsV1WorkflowsDeploymentsGetRequest

func NewListDeploymentsV1WorkflowsDeploymentsGetRequest(server string, params *ListDeploymentsV1WorkflowsDeploymentsGetParams) (*http.Request, error)

NewListDeploymentsV1WorkflowsDeploymentsGetRequest constructs an http.Request for the ListDeploymentsV1WorkflowsDeploymentsGet method

func NewListModelsV1ModelsGetRequest

func NewListModelsV1ModelsGetRequest(server string, params *ListModelsV1ModelsGetParams) (*http.Request, error)

NewListModelsV1ModelsGetRequest constructs an http.Request for the ListModelsV1ModelsGet method

func NewListRunsV1WorkflowsRunsGetRequest

func NewListRunsV1WorkflowsRunsGetRequest(server string, params *ListRunsV1WorkflowsRunsGetParams) (*http.Request, error)

NewListRunsV1WorkflowsRunsGetRequest constructs an http.Request for the ListRunsV1WorkflowsRunsGet method

func NewListVoicesV1AudioVoicesGetRequest

func NewListVoicesV1AudioVoicesGetRequest(server string, params *ListVoicesV1AudioVoicesGetParams) (*http.Request, error)

NewListVoicesV1AudioVoicesGetRequest constructs an http.Request for the ListVoicesV1AudioVoicesGet method

func NewModerationsV1ModerationsPostRequest

func NewModerationsV1ModerationsPostRequest(server string, body ModerationsV1ModerationsPostJSONRequestBody) (*http.Request, error)

NewModerationsV1ModerationsPostRequest calls the generic ModerationsV1ModerationsPost builder with application/json body

func NewModerationsV1ModerationsPostRequestWithBody

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

NewModerationsV1ModerationsPostRequestWithBody constructs an http.Request for the ModerationsV1ModerationsPost method, with any body, and a specified content type

func NewOcrV1OcrPostRequest

func NewOcrV1OcrPostRequest(server string, body OcrV1OcrPostJSONRequestBody) (*http.Request, error)

NewOcrV1OcrPostRequest calls the generic OcrV1OcrPost builder with application/json body

func NewOcrV1OcrPostRequestWithBody

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

NewOcrV1OcrPostRequestWithBody constructs an http.Request for the OcrV1OcrPost method, with any body, and a specified content type

func NewPostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequest

func NewPostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequest(server string, datasetId openapi_types.UUID, body PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostJSONRequestBody) (*http.Request, error)

NewPostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequest calls the generic PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost builder with application/json body

func NewPostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequestWithBody

func NewPostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewPostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostRequestWithBody constructs an http.Request for the PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost method, with any body, and a specified content type

func NewPostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostRequest

func NewPostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostRequest(server string, datasetId openapi_types.UUID, body PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostJSONRequestBody) (*http.Request, error)

NewPostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostRequest calls the generic PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost builder with application/json body

func NewPostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostRequestWithBody

func NewPostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewPostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostRequestWithBody constructs an http.Request for the PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost method, with any body, and a specified content type

func NewPostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostRequest

func NewPostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostRequest(server string, datasetId openapi_types.UUID, body PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostJSONRequestBody) (*http.Request, error)

NewPostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostRequest calls the generic PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost builder with application/json body

func NewPostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostRequestWithBody

func NewPostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewPostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostRequestWithBody constructs an http.Request for the PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost method, with any body, and a specified content type

func NewPostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostRequest

func NewPostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostRequest(server string, datasetId openapi_types.UUID, body PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostJSONRequestBody) (*http.Request, error)

NewPostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostRequest calls the generic PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost builder with application/json body

func NewPostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostRequestWithBody

func NewPostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewPostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostRequestWithBody constructs an http.Request for the PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost method, with any body, and a specified content type

func NewPostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequest

func NewPostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequest(server string, datasetId openapi_types.UUID, body PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostJSONRequestBody) (*http.Request, error)

NewPostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequest calls the generic PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost builder with application/json body

func NewPostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequestWithBody

func NewPostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewPostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostRequestWithBody constructs an http.Request for the PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost method, with any body, and a specified content type

func NewQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostRequest

func NewQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostRequest(server string, executionId string, body QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostJSONRequestBody) (*http.Request, error)

NewQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostRequest calls the generic QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost builder with application/json body

func NewQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostRequestWithBody

func NewQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostRequestWithBody(server string, executionId string, contentType string, body io.Reader) (*http.Request, error)

NewQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostRequestWithBody constructs an http.Request for the QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost method, with any body, and a specified content type

func NewResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostRequest

func NewResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostRequest(server string, executionId string, body ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostJSONRequestBody) (*http.Request, error)

NewResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostRequest calls the generic ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost builder with application/json body

func NewResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostRequestWithBody

func NewResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostRequestWithBody(server string, executionId string, contentType string, body io.Reader) (*http.Request, error)

NewResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostRequestWithBody constructs an http.Request for the ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost method, with any body, and a specified content type

func NewRetrieveModelV1ModelsModelIdGetRequest

func NewRetrieveModelV1ModelsModelIdGetRequest(server string, modelId string) (*http.Request, error)

NewRetrieveModelV1ModelsModelIdGetRequest constructs an http.Request for the RetrieveModelV1ModelsModelIdGet method

func NewScheduleWorkflowV1WorkflowsSchedulesPostRequest

func NewScheduleWorkflowV1WorkflowsSchedulesPostRequest(server string, body ScheduleWorkflowV1WorkflowsSchedulesPostJSONRequestBody) (*http.Request, error)

NewScheduleWorkflowV1WorkflowsSchedulesPostRequest calls the generic ScheduleWorkflowV1WorkflowsSchedulesPost builder with application/json body

func NewScheduleWorkflowV1WorkflowsSchedulesPostRequestWithBody

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

NewScheduleWorkflowV1WorkflowsSchedulesPostRequestWithBody constructs an http.Request for the ScheduleWorkflowV1WorkflowsSchedulesPost method, with any body, and a specified content type

func NewSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostRequest

func NewSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostRequest(server string, executionId string, body SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostJSONRequestBody) (*http.Request, error)

NewSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostRequest calls the generic SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost builder with application/json body

func NewSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostRequestWithBody

func NewSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostRequestWithBody(server string, executionId string, contentType string, body io.Reader) (*http.Request, error)

NewSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostRequestWithBody constructs an http.Request for the SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost method, with any body, and a specified content type

func NewSpeechV1AudioSpeechPostRequest

func NewSpeechV1AudioSpeechPostRequest(server string, body SpeechV1AudioSpeechPostJSONRequestBody) (*http.Request, error)

NewSpeechV1AudioSpeechPostRequest calls the generic SpeechV1AudioSpeechPost builder with application/json body

func NewSpeechV1AudioSpeechPostRequestWithBody

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

NewSpeechV1AudioSpeechPostRequestWithBody constructs an http.Request for the SpeechV1AudioSpeechPost method, with any body, and a specified content type

func NewStreamV1WorkflowsExecutionsExecutionIdStreamGetRequest

func NewStreamV1WorkflowsExecutionsExecutionIdStreamGetRequest(server string, executionId string, params *StreamV1WorkflowsExecutionsExecutionIdStreamGetParams) (*http.Request, error)

NewStreamV1WorkflowsExecutionsExecutionIdStreamGetRequest constructs an http.Request for the StreamV1WorkflowsExecutionsExecutionIdStreamGet method

func NewTerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostRequest

func NewTerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostRequest(server string, executionId string) (*http.Request, error)

NewTerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostRequest constructs an http.Request for the TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost method

func NewUnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutRequest

func NewUnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutRequest(server string, workflowIdentifier string) (*http.Request, error)

NewUnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutRequest constructs an http.Request for the UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut method

func NewUnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteRequest

func NewUnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteRequest(server string, scheduleId string) (*http.Request, error)

NewUnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteRequest constructs an http.Request for the UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete method

func NewUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutRequest

func NewUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutRequest(server string, datasetRecordId openapi_types.UUID, body UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutJSONRequestBody) (*http.Request, error)

NewUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutRequest calls the generic UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut builder with application/json body

func NewUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutRequestWithBody

func NewUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutRequestWithBody(server string, datasetRecordId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutRequestWithBody constructs an http.Request for the UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut method, with any body, and a specified content type

func NewUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutRequest

func NewUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutRequest(server string, datasetRecordId openapi_types.UUID, body UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutJSONRequestBody) (*http.Request, error)

NewUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutRequest calls the generic UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut builder with application/json body

func NewUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutRequestWithBody

func NewUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutRequestWithBody(server string, datasetRecordId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutRequestWithBody constructs an http.Request for the UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut method, with any body, and a specified content type

func NewUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchRequest

func NewUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchRequest(server string, datasetId openapi_types.UUID, body UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchJSONRequestBody) (*http.Request, error)

NewUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchRequest calls the generic UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch builder with application/json body

func NewUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchRequestWithBody

func NewUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchRequestWithBody(server string, datasetId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchRequestWithBody constructs an http.Request for the UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch method, with any body, and a specified content type

func NewUpdateJudgeV1ObservabilityJudgesJudgeIdPutRequest

func NewUpdateJudgeV1ObservabilityJudgesJudgeIdPutRequest(server string, judgeId openapi_types.UUID, body UpdateJudgeV1ObservabilityJudgesJudgeIdPutJSONRequestBody) (*http.Request, error)

NewUpdateJudgeV1ObservabilityJudgesJudgeIdPutRequest calls the generic UpdateJudgeV1ObservabilityJudgesJudgeIdPut builder with application/json body

func NewUpdateJudgeV1ObservabilityJudgesJudgeIdPutRequestWithBody

func NewUpdateJudgeV1ObservabilityJudgesJudgeIdPutRequestWithBody(server string, judgeId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateJudgeV1ObservabilityJudgesJudgeIdPutRequestWithBody constructs an http.Request for the UpdateJudgeV1ObservabilityJudgesJudgeIdPut method, with any body, and a specified content type

func NewUpdateVoiceV1AudioVoicesVoiceIdPatchRequest

func NewUpdateVoiceV1AudioVoicesVoiceIdPatchRequest(server string, voiceId openapi_types.UUID, body UpdateVoiceV1AudioVoicesVoiceIdPatchJSONRequestBody) (*http.Request, error)

NewUpdateVoiceV1AudioVoicesVoiceIdPatchRequest calls the generic UpdateVoiceV1AudioVoicesVoiceIdPatch builder with application/json body

func NewUpdateVoiceV1AudioVoicesVoiceIdPatchRequestWithBody

func NewUpdateVoiceV1AudioVoicesVoiceIdPatchRequestWithBody(server string, voiceId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewUpdateVoiceV1AudioVoicesVoiceIdPatchRequestWithBody constructs an http.Request for the UpdateVoiceV1AudioVoicesVoiceIdPatch method, with any body, and a specified content type

func NewUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequest

func NewUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequest(server string, executionId string, body UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostJSONRequestBody) (*http.Request, error)

NewUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequest calls the generic UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost builder with application/json body

func NewUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequestWithBody

func NewUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequestWithBody(server string, executionId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequestWithBody constructs an http.Request for the UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost method, with any body, and a specified content type

func NewUpdateWorkflowV1WorkflowsWorkflowIdentifierPutRequest

func NewUpdateWorkflowV1WorkflowsWorkflowIdentifierPutRequest(server string, workflowIdentifier string, body UpdateWorkflowV1WorkflowsWorkflowIdentifierPutJSONRequestBody) (*http.Request, error)

NewUpdateWorkflowV1WorkflowsWorkflowIdentifierPutRequest calls the generic UpdateWorkflowV1WorkflowsWorkflowIdentifierPut builder with application/json body

func NewUpdateWorkflowV1WorkflowsWorkflowIdentifierPutRequestWithBody

func NewUpdateWorkflowV1WorkflowsWorkflowIdentifierPutRequestWithBody(server string, workflowIdentifier string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateWorkflowV1WorkflowsWorkflowIdentifierPutRequestWithBody constructs an http.Request for the UpdateWorkflowV1WorkflowsWorkflowIdentifierPut method, with any body, and a specified content type

Types

type APIKeyAuth

type APIKeyAuth struct {
	Type  *APIKeyAuthType `json:"type,omitempty"`
	Value string          `json:"value"`
}

APIKeyAuth defines model for APIKeyAuth.

type APIKeyAuthType

type APIKeyAuthType string

APIKeyAuthType defines model for APIKeyAuth.Type.

const (
	APIKeyAuthTypeApiKey APIKeyAuthType = "api-key"
)

Defines values for APIKeyAuthType.

func (APIKeyAuthType) Valid

func (e APIKeyAuthType) Valid() bool

Valid indicates whether the value is a known member of the APIKeyAuthType enum.

type ActivityTaskCompletedAttributesResponse

type ActivityTaskCompletedAttributesResponse struct {
	// ActivityName The registered name of the activity being executed.
	ActivityName string `json:"activity_name"`

	// Result The result returned by the activity.
	Result JSONPayloadResponse `json:"result"`

	// TaskId Unique identifier for the activity task within the workflow.
	TaskId string `json:"task_id"`
}

ActivityTaskCompletedAttributesResponse Attributes for activity task completed events.

type ActivityTaskCompletedResponse

type ActivityTaskCompletedResponse struct {
	// Attributes Event-specific attributes.
	Attributes ActivityTaskCompletedAttributesResponse `json:"attributes"`

	// EventId Unique identifier for this event instance.
	EventId string `json:"event_id"`

	// EventTimestamp Unix timestamp in nanoseconds when the event was created.
	EventTimestamp int `json:"event_timestamp"`

	// EventType Event type discriminator.
	EventType ActivityTaskCompletedResponseEventType `json:"event_type"`

	// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
	ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`

	// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
	RootWorkflowExecId string `json:"root_workflow_exec_id"`

	// WorkflowExecId Execution ID of the workflow that emitted this event.
	WorkflowExecId string `json:"workflow_exec_id"`

	// WorkflowName The registered name of the workflow that emitted this event.
	WorkflowName string `json:"workflow_name"`

	// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
	WorkflowRunId string `json:"workflow_run_id"`
}

ActivityTaskCompletedResponse Emitted when an activity task completes successfully.

Contains timing information about the successful execution.

type ActivityTaskCompletedResponseEventType

type ActivityTaskCompletedResponseEventType string

ActivityTaskCompletedResponseEventType Event type discriminator.

const (
	ActivityTaskCompletedResponseEventTypeACTIVITYTASKCOMPLETED ActivityTaskCompletedResponseEventType = "ACTIVITY_TASK_COMPLETED"
)

Defines values for ActivityTaskCompletedResponseEventType.

func (ActivityTaskCompletedResponseEventType) Valid

Valid indicates whether the value is a known member of the ActivityTaskCompletedResponseEventType enum.

type ActivityTaskFailedAttributes

type ActivityTaskFailedAttributes struct {
	// ActivityName The registered name of the activity being executed.
	ActivityName string `json:"activity_name"`

	// Attempt The final attempt number that failed (1-indexed).
	Attempt int `json:"attempt"`

	// Failure Details about the failure that caused the activity to fail.
	Failure Failure `json:"failure"`

	// TaskId Unique identifier for the activity task within the workflow.
	TaskId string `json:"task_id"`
}

ActivityTaskFailedAttributes Attributes for activity task failed events (final failure after all retries).

type ActivityTaskFailedResponse

type ActivityTaskFailedResponse struct {
	// Attributes Event-specific attributes.
	Attributes ActivityTaskFailedAttributes `json:"attributes"`

	// EventId Unique identifier for this event instance.
	EventId string `json:"event_id"`

	// EventTimestamp Unix timestamp in nanoseconds when the event was created.
	EventTimestamp int `json:"event_timestamp"`

	// EventType Event type discriminator.
	EventType ActivityTaskFailedResponseEventType `json:"event_type"`

	// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
	ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`

	// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
	RootWorkflowExecId string `json:"root_workflow_exec_id"`

	// WorkflowExecId Execution ID of the workflow that emitted this event.
	WorkflowExecId string `json:"workflow_exec_id"`

	// WorkflowName The registered name of the workflow that emitted this event.
	WorkflowName string `json:"workflow_name"`

	// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
	WorkflowRunId string `json:"workflow_run_id"`
}

ActivityTaskFailedResponse Emitted when an activity task fails after exhausting all retry attempts.

This is a terminal event indicating the activity could not complete successfully.

type ActivityTaskFailedResponseEventType

type ActivityTaskFailedResponseEventType string

ActivityTaskFailedResponseEventType Event type discriminator.

const (
	ActivityTaskFailedResponseEventTypeACTIVITYTASKFAILED ActivityTaskFailedResponseEventType = "ACTIVITY_TASK_FAILED"
)

Defines values for ActivityTaskFailedResponseEventType.

func (ActivityTaskFailedResponseEventType) Valid

Valid indicates whether the value is a known member of the ActivityTaskFailedResponseEventType enum.

type ActivityTaskRetryingAttributes

type ActivityTaskRetryingAttributes struct {
	// ActivityName The registered name of the activity being executed.
	ActivityName string `json:"activity_name"`

	// Attempt The attempt number that failed (1-indexed).
	Attempt int `json:"attempt"`

	// Failure Details about the failure that caused the retry.
	Failure Failure `json:"failure"`

	// TaskId Unique identifier for the activity task within the workflow.
	TaskId string `json:"task_id"`
}

ActivityTaskRetryingAttributes Attributes for activity task retrying events.

type ActivityTaskRetryingResponse

type ActivityTaskRetryingResponse struct {
	// Attributes Event-specific attributes.
	Attributes ActivityTaskRetryingAttributes `json:"attributes"`

	// EventId Unique identifier for this event instance.
	EventId string `json:"event_id"`

	// EventTimestamp Unix timestamp in nanoseconds when the event was created.
	EventTimestamp int `json:"event_timestamp"`

	// EventType Event type discriminator.
	EventType ActivityTaskRetryingResponseEventType `json:"event_type"`

	// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
	ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`

	// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
	RootWorkflowExecId string `json:"root_workflow_exec_id"`

	// WorkflowExecId Execution ID of the workflow that emitted this event.
	WorkflowExecId string `json:"workflow_exec_id"`

	// WorkflowName The registered name of the workflow that emitted this event.
	WorkflowName string `json:"workflow_name"`

	// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
	WorkflowRunId string `json:"workflow_run_id"`
}

ActivityTaskRetryingResponse Emitted when an activity task fails and will be retried.

Contains information about the failed attempt and the error that occurred.

type ActivityTaskRetryingResponseEventType

type ActivityTaskRetryingResponseEventType string

ActivityTaskRetryingResponseEventType Event type discriminator.

const (
	ActivityTaskRetryingResponseEventTypeACTIVITYTASKRETRYING ActivityTaskRetryingResponseEventType = "ACTIVITY_TASK_RETRYING"
)

Defines values for ActivityTaskRetryingResponseEventType.

func (ActivityTaskRetryingResponseEventType) Valid

Valid indicates whether the value is a known member of the ActivityTaskRetryingResponseEventType enum.

type ActivityTaskStartedAttributesResponse

type ActivityTaskStartedAttributesResponse struct {
	// ActivityName The registered name of the activity being executed.
	ActivityName string `json:"activity_name"`

	// Input The input arguments passed to the activity.
	Input JSONPayloadResponse `json:"input"`

	// TaskId Unique identifier for the activity task within the workflow.
	TaskId string `json:"task_id"`
}

ActivityTaskStartedAttributesResponse Attributes for activity task started events.

type ActivityTaskStartedResponse

type ActivityTaskStartedResponse struct {
	// Attributes Event-specific attributes.
	Attributes ActivityTaskStartedAttributesResponse `json:"attributes"`

	// EventId Unique identifier for this event instance.
	EventId string `json:"event_id"`

	// EventTimestamp Unix timestamp in nanoseconds when the event was created.
	EventTimestamp int `json:"event_timestamp"`

	// EventType Event type discriminator.
	EventType ActivityTaskStartedResponseEventType `json:"event_type"`

	// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
	ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`

	// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
	RootWorkflowExecId string `json:"root_workflow_exec_id"`

	// WorkflowExecId Execution ID of the workflow that emitted this event.
	WorkflowExecId string `json:"workflow_exec_id"`

	// WorkflowName The registered name of the workflow that emitted this event.
	WorkflowName string `json:"workflow_name"`

	// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
	WorkflowRunId string `json:"workflow_run_id"`
}

ActivityTaskStartedResponse Emitted when an activity task begins execution.

This is the first event for an activity, emitted on the first attempt only. Subsequent retry attempts emit ACTIVITY_TASK_RETRYING instead.

type ActivityTaskStartedResponseEventType

type ActivityTaskStartedResponseEventType string

ActivityTaskStartedResponseEventType Event type discriminator.

const (
	ActivityTaskStartedResponseEventTypeACTIVITYTASKSTARTED ActivityTaskStartedResponseEventType = "ACTIVITY_TASK_STARTED"
)

Defines values for ActivityTaskStartedResponseEventType.

func (ActivityTaskStartedResponseEventType) Valid

Valid indicates whether the value is a known member of the ActivityTaskStartedResponseEventType enum.

type Agent

type Agent struct {
	// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
	CompletionArgs *CompletionArgs    `json:"completion_args,omitempty"`
	CreatedAt      time.Time          `json:"created_at"`
	DeploymentChat bool               `json:"deployment_chat"`
	Description    *string            `json:"description,omitempty"`
	Guardrails     *[]GuardrailConfig `json:"guardrails,omitempty"`
	Handoffs       *[]string          `json:"handoffs,omitempty"`
	Id             string             `json:"id"`

	// Instructions Instruction prompt the model will follow during the conversation.
	Instructions *string       `json:"instructions,omitempty"`
	Metadata     *MetadataDict `json:"metadata,omitempty"`
	Model        string        `json:"model"`
	Name         string        `json:"name"`
	Object       *AgentObject  `json:"object,omitempty"`
	Source       string        `json:"source"`

	// Tools List of tools which are available to the model during the conversation.
	Tools          *[]Agent_Tools_Item `json:"tools,omitempty"`
	UpdatedAt      time.Time           `json:"updated_at"`
	Version        int                 `json:"version"`
	VersionMessage *string             `json:"version_message,omitempty"`
	Versions       []int               `json:"versions"`
}

Agent defines model for Agent.

type AgentAliasResponse

type AgentAliasResponse struct {
	Alias     string    `json:"alias"`
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
	Version   int       `json:"version"`
}

AgentAliasResponse defines model for AgentAliasResponse.

type AgentConversation

type AgentConversation struct {
	AgentId      string                          `json:"agent_id"`
	AgentVersion *AgentConversation_AgentVersion `json:"agent_version,omitempty"`
	CreatedAt    time.Time                       `json:"created_at"`

	// Description Description of the what the conversation is about.
	Description *string `json:"description,omitempty"`
	Id          string  `json:"id"`

	// Metadata Custom metadata for the conversation.
	Metadata *MetadataDict `json:"metadata,omitempty"`

	// Name Name given to the conversation.
	Name      *string                  `json:"name,omitempty"`
	Object    *AgentConversationObject `json:"object,omitempty"`
	UpdatedAt time.Time                `json:"updated_at"`
}

AgentConversation defines model for AgentConversation.

type AgentConversationAgentVersion0

type AgentConversationAgentVersion0 = string

AgentConversationAgentVersion0 defines model for AgentConversation.AgentVersion.0.

type AgentConversationAgentVersion1

type AgentConversationAgentVersion1 = int

AgentConversationAgentVersion1 defines model for AgentConversation.AgentVersion.1.

type AgentConversationObject

type AgentConversationObject string

AgentConversationObject defines model for AgentConversation.Object.

const (
	AgentConversationObjectConversation AgentConversationObject = "conversation"
)

Defines values for AgentConversationObject.

func (AgentConversationObject) Valid

func (e AgentConversationObject) Valid() bool

Valid indicates whether the value is a known member of the AgentConversationObject enum.

type AgentConversation_AgentVersion

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

AgentConversation_AgentVersion defines model for AgentConversation.AgentVersion.

func (AgentConversation_AgentVersion) AsAgentConversationAgentVersion0

func (t AgentConversation_AgentVersion) AsAgentConversationAgentVersion0() (AgentConversationAgentVersion0, error)

AsAgentConversationAgentVersion0 returns the union data inside the AgentConversation_AgentVersion as a AgentConversationAgentVersion0

func (AgentConversation_AgentVersion) AsAgentConversationAgentVersion1

func (t AgentConversation_AgentVersion) AsAgentConversationAgentVersion1() (AgentConversationAgentVersion1, error)

AsAgentConversationAgentVersion1 returns the union data inside the AgentConversation_AgentVersion as a AgentConversationAgentVersion1

func (*AgentConversation_AgentVersion) FromAgentConversationAgentVersion0

func (t *AgentConversation_AgentVersion) FromAgentConversationAgentVersion0(v AgentConversationAgentVersion0) error

FromAgentConversationAgentVersion0 overwrites any union data inside the AgentConversation_AgentVersion as the provided AgentConversationAgentVersion0

func (*AgentConversation_AgentVersion) FromAgentConversationAgentVersion1

func (t *AgentConversation_AgentVersion) FromAgentConversationAgentVersion1(v AgentConversationAgentVersion1) error

FromAgentConversationAgentVersion1 overwrites any union data inside the AgentConversation_AgentVersion as the provided AgentConversationAgentVersion1

func (AgentConversation_AgentVersion) MarshalJSON

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

func (*AgentConversation_AgentVersion) MergeAgentConversationAgentVersion0

func (t *AgentConversation_AgentVersion) MergeAgentConversationAgentVersion0(v AgentConversationAgentVersion0) error

MergeAgentConversationAgentVersion0 performs a merge with any union data inside the AgentConversation_AgentVersion, using the provided AgentConversationAgentVersion0

func (*AgentConversation_AgentVersion) MergeAgentConversationAgentVersion1

func (t *AgentConversation_AgentVersion) MergeAgentConversationAgentVersion1(v AgentConversationAgentVersion1) error

MergeAgentConversationAgentVersion1 performs a merge with any union data inside the AgentConversation_AgentVersion, using the provided AgentConversationAgentVersion1

func (*AgentConversation_AgentVersion) UnmarshalJSON

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

type AgentCreationRequest

type AgentCreationRequest struct {
	// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
	CompletionArgs *CompletionArgs    `json:"completion_args,omitempty"`
	Description    *string            `json:"description,omitempty"`
	Guardrails     *[]GuardrailConfig `json:"guardrails,omitempty"`
	Handoffs       *[]string          `json:"handoffs,omitempty"`

	// Instructions Instruction prompt the model will follow during the conversation.
	Instructions *string       `json:"instructions,omitempty"`
	Metadata     *MetadataDict `json:"metadata,omitempty"`
	Model        string        `json:"model"`
	Name         string        `json:"name"`

	// Tools List of tools which are available to the model during the conversation.
	Tools          *[]AgentCreationRequest_Tools_Item `json:"tools,omitempty"`
	VersionMessage *string                            `json:"version_message,omitempty"`
}

AgentCreationRequest defines model for AgentCreationRequest.

type AgentCreationRequest_Tools_Item

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

AgentCreationRequest_Tools_Item defines model for AgentCreationRequest.tools.Item.

func (AgentCreationRequest_Tools_Item) AsCodeInterpreterTool

func (t AgentCreationRequest_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)

AsCodeInterpreterTool returns the union data inside the AgentCreationRequest_Tools_Item as a CodeInterpreterTool

func (AgentCreationRequest_Tools_Item) AsCustomConnector

func (t AgentCreationRequest_Tools_Item) AsCustomConnector() (CustomConnector, error)

AsCustomConnector returns the union data inside the AgentCreationRequest_Tools_Item as a CustomConnector

func (AgentCreationRequest_Tools_Item) AsDocumentLibraryTool

func (t AgentCreationRequest_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)

AsDocumentLibraryTool returns the union data inside the AgentCreationRequest_Tools_Item as a DocumentLibraryTool

func (AgentCreationRequest_Tools_Item) AsFunctionTool

func (t AgentCreationRequest_Tools_Item) AsFunctionTool() (FunctionTool, error)

AsFunctionTool returns the union data inside the AgentCreationRequest_Tools_Item as a FunctionTool

func (AgentCreationRequest_Tools_Item) AsImageGenerationTool

func (t AgentCreationRequest_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)

AsImageGenerationTool returns the union data inside the AgentCreationRequest_Tools_Item as a ImageGenerationTool

func (AgentCreationRequest_Tools_Item) AsWebSearchPremiumTool

func (t AgentCreationRequest_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)

AsWebSearchPremiumTool returns the union data inside the AgentCreationRequest_Tools_Item as a WebSearchPremiumTool

func (AgentCreationRequest_Tools_Item) AsWebSearchTool

func (t AgentCreationRequest_Tools_Item) AsWebSearchTool() (WebSearchTool, error)

AsWebSearchTool returns the union data inside the AgentCreationRequest_Tools_Item as a WebSearchTool

func (AgentCreationRequest_Tools_Item) Discriminator

func (t AgentCreationRequest_Tools_Item) Discriminator() (string, error)

func (*AgentCreationRequest_Tools_Item) FromCodeInterpreterTool

func (t *AgentCreationRequest_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error

FromCodeInterpreterTool overwrites any union data inside the AgentCreationRequest_Tools_Item as the provided CodeInterpreterTool

func (*AgentCreationRequest_Tools_Item) FromCustomConnector

func (t *AgentCreationRequest_Tools_Item) FromCustomConnector(v CustomConnector) error

FromCustomConnector overwrites any union data inside the AgentCreationRequest_Tools_Item as the provided CustomConnector

func (*AgentCreationRequest_Tools_Item) FromDocumentLibraryTool

func (t *AgentCreationRequest_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error

FromDocumentLibraryTool overwrites any union data inside the AgentCreationRequest_Tools_Item as the provided DocumentLibraryTool

func (*AgentCreationRequest_Tools_Item) FromFunctionTool

func (t *AgentCreationRequest_Tools_Item) FromFunctionTool(v FunctionTool) error

FromFunctionTool overwrites any union data inside the AgentCreationRequest_Tools_Item as the provided FunctionTool

func (*AgentCreationRequest_Tools_Item) FromImageGenerationTool

func (t *AgentCreationRequest_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error

FromImageGenerationTool overwrites any union data inside the AgentCreationRequest_Tools_Item as the provided ImageGenerationTool

func (*AgentCreationRequest_Tools_Item) FromWebSearchPremiumTool

func (t *AgentCreationRequest_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error

FromWebSearchPremiumTool overwrites any union data inside the AgentCreationRequest_Tools_Item as the provided WebSearchPremiumTool

func (*AgentCreationRequest_Tools_Item) FromWebSearchTool

func (t *AgentCreationRequest_Tools_Item) FromWebSearchTool(v WebSearchTool) error

FromWebSearchTool overwrites any union data inside the AgentCreationRequest_Tools_Item as the provided WebSearchTool

func (AgentCreationRequest_Tools_Item) MarshalJSON

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

func (*AgentCreationRequest_Tools_Item) MergeCodeInterpreterTool

func (t *AgentCreationRequest_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error

MergeCodeInterpreterTool performs a merge with any union data inside the AgentCreationRequest_Tools_Item, using the provided CodeInterpreterTool

func (*AgentCreationRequest_Tools_Item) MergeCustomConnector

func (t *AgentCreationRequest_Tools_Item) MergeCustomConnector(v CustomConnector) error

MergeCustomConnector performs a merge with any union data inside the AgentCreationRequest_Tools_Item, using the provided CustomConnector

func (*AgentCreationRequest_Tools_Item) MergeDocumentLibraryTool

func (t *AgentCreationRequest_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error

MergeDocumentLibraryTool performs a merge with any union data inside the AgentCreationRequest_Tools_Item, using the provided DocumentLibraryTool

func (*AgentCreationRequest_Tools_Item) MergeFunctionTool

func (t *AgentCreationRequest_Tools_Item) MergeFunctionTool(v FunctionTool) error

MergeFunctionTool performs a merge with any union data inside the AgentCreationRequest_Tools_Item, using the provided FunctionTool

func (*AgentCreationRequest_Tools_Item) MergeImageGenerationTool

func (t *AgentCreationRequest_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error

MergeImageGenerationTool performs a merge with any union data inside the AgentCreationRequest_Tools_Item, using the provided ImageGenerationTool

func (*AgentCreationRequest_Tools_Item) MergeWebSearchPremiumTool

func (t *AgentCreationRequest_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error

MergeWebSearchPremiumTool performs a merge with any union data inside the AgentCreationRequest_Tools_Item, using the provided WebSearchPremiumTool

func (*AgentCreationRequest_Tools_Item) MergeWebSearchTool

func (t *AgentCreationRequest_Tools_Item) MergeWebSearchTool(v WebSearchTool) error

MergeWebSearchTool performs a merge with any union data inside the AgentCreationRequest_Tools_Item, using the provided WebSearchTool

func (*AgentCreationRequest_Tools_Item) UnmarshalJSON

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

func (AgentCreationRequest_Tools_Item) ValueByDiscriminator

func (t AgentCreationRequest_Tools_Item) ValueByDiscriminator() (interface{}, error)

type AgentHandoffDoneEvent

type AgentHandoffDoneEvent struct {
	CreatedAt     *time.Time                 `json:"created_at,omitempty"`
	Id            string                     `json:"id"`
	NextAgentId   string                     `json:"next_agent_id"`
	NextAgentName string                     `json:"next_agent_name"`
	OutputIndex   *int                       `json:"output_index,omitempty"`
	Type          *AgentHandoffDoneEventType `json:"type,omitempty"`
}

AgentHandoffDoneEvent defines model for AgentHandoffDoneEvent.

type AgentHandoffDoneEventType

type AgentHandoffDoneEventType string

AgentHandoffDoneEventType defines model for AgentHandoffDoneEvent.Type.

const (
	AgentHandoffDoneEventTypeAgentHandoffDone AgentHandoffDoneEventType = "agent.handoff.done"
)

Defines values for AgentHandoffDoneEventType.

func (AgentHandoffDoneEventType) Valid

func (e AgentHandoffDoneEventType) Valid() bool

Valid indicates whether the value is a known member of the AgentHandoffDoneEventType enum.

type AgentHandoffEntry

type AgentHandoffEntry struct {
	CompletedAt       *time.Time               `json:"completed_at,omitempty"`
	CreatedAt         *time.Time               `json:"created_at,omitempty"`
	Id                *string                  `json:"id,omitempty"`
	NextAgentId       string                   `json:"next_agent_id"`
	NextAgentName     string                   `json:"next_agent_name"`
	Object            *AgentHandoffEntryObject `json:"object,omitempty"`
	PreviousAgentId   string                   `json:"previous_agent_id"`
	PreviousAgentName string                   `json:"previous_agent_name"`
	Type              *AgentHandoffEntryType   `json:"type,omitempty"`
}

AgentHandoffEntry defines model for AgentHandoffEntry.

type AgentHandoffEntryObject

type AgentHandoffEntryObject string

AgentHandoffEntryObject defines model for AgentHandoffEntry.Object.

const (
	AgentHandoffEntryObjectEntry AgentHandoffEntryObject = "entry"
)

Defines values for AgentHandoffEntryObject.

func (AgentHandoffEntryObject) Valid

func (e AgentHandoffEntryObject) Valid() bool

Valid indicates whether the value is a known member of the AgentHandoffEntryObject enum.

type AgentHandoffEntryType

type AgentHandoffEntryType string

AgentHandoffEntryType defines model for AgentHandoffEntry.Type.

const (
	AgentHandoffEntryTypeAgentHandoff AgentHandoffEntryType = "agent.handoff"
)

Defines values for AgentHandoffEntryType.

func (AgentHandoffEntryType) Valid

func (e AgentHandoffEntryType) Valid() bool

Valid indicates whether the value is a known member of the AgentHandoffEntryType enum.

type AgentHandoffStartedEvent

type AgentHandoffStartedEvent struct {
	CreatedAt         *time.Time                    `json:"created_at,omitempty"`
	Id                string                        `json:"id"`
	OutputIndex       *int                          `json:"output_index,omitempty"`
	PreviousAgentId   string                        `json:"previous_agent_id"`
	PreviousAgentName string                        `json:"previous_agent_name"`
	Type              *AgentHandoffStartedEventType `json:"type,omitempty"`
}

AgentHandoffStartedEvent defines model for AgentHandoffStartedEvent.

type AgentHandoffStartedEventType

type AgentHandoffStartedEventType string

AgentHandoffStartedEventType defines model for AgentHandoffStartedEvent.Type.

const (
	AgentHandoffStartedEventTypeAgentHandoffStarted AgentHandoffStartedEventType = "agent.handoff.started"
)

Defines values for AgentHandoffStartedEventType.

func (AgentHandoffStartedEventType) Valid

Valid indicates whether the value is a known member of the AgentHandoffStartedEventType enum.

type AgentListPage

type AgentListPage struct {
	Data          []Agent              `json:"data"`
	NextPageToken *string              `json:"next_page_token,omitempty"`
	Object        *AgentListPageObject `json:"object,omitempty"`
}

AgentListPage defines model for AgentListPage.

type AgentListPageObject

type AgentListPageObject string

AgentListPageObject defines model for AgentListPage.Object.

const (
	AgentListPageObjectList AgentListPageObject = "list"
)

Defines values for AgentListPageObject.

func (AgentListPageObject) Valid

func (e AgentListPageObject) Valid() bool

Valid indicates whether the value is a known member of the AgentListPageObject enum.

type AgentObject

type AgentObject string

AgentObject defines model for Agent.Object.

const (
	AgentObjectAgent AgentObject = "agent"
)

Defines values for AgentObject.

func (AgentObject) Valid

func (e AgentObject) Valid() bool

Valid indicates whether the value is a known member of the AgentObject enum.

type AgentUpdateRequest

type AgentUpdateRequest struct {
	// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
	CompletionArgs *CompletionArgs    `json:"completion_args,omitempty"`
	DeploymentChat *bool              `json:"deployment_chat,omitempty"`
	Description    *string            `json:"description,omitempty"`
	Guardrails     *[]GuardrailConfig `json:"guardrails,omitempty"`
	Handoffs       *[]string          `json:"handoffs,omitempty"`

	// Instructions Instruction prompt the model will follow during the conversation.
	Instructions *string       `json:"instructions,omitempty"`
	Metadata     *MetadataDict `json:"metadata,omitempty"`
	Model        *string       `json:"model,omitempty"`
	Name         *string       `json:"name,omitempty"`

	// Tools List of tools which are available to the model during the conversation.
	Tools          *[]AgentUpdateRequest_Tools_Item `json:"tools,omitempty"`
	VersionMessage *string                          `json:"version_message,omitempty"`
}

AgentUpdateRequest defines model for AgentUpdateRequest.

type AgentUpdateRequest_Tools_Item

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

AgentUpdateRequest_Tools_Item defines model for AgentUpdateRequest.tools.Item.

func (AgentUpdateRequest_Tools_Item) AsCodeInterpreterTool

func (t AgentUpdateRequest_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)

AsCodeInterpreterTool returns the union data inside the AgentUpdateRequest_Tools_Item as a CodeInterpreterTool

func (AgentUpdateRequest_Tools_Item) AsCustomConnector

func (t AgentUpdateRequest_Tools_Item) AsCustomConnector() (CustomConnector, error)

AsCustomConnector returns the union data inside the AgentUpdateRequest_Tools_Item as a CustomConnector

func (AgentUpdateRequest_Tools_Item) AsDocumentLibraryTool

func (t AgentUpdateRequest_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)

AsDocumentLibraryTool returns the union data inside the AgentUpdateRequest_Tools_Item as a DocumentLibraryTool

func (AgentUpdateRequest_Tools_Item) AsFunctionTool

func (t AgentUpdateRequest_Tools_Item) AsFunctionTool() (FunctionTool, error)

AsFunctionTool returns the union data inside the AgentUpdateRequest_Tools_Item as a FunctionTool

func (AgentUpdateRequest_Tools_Item) AsImageGenerationTool

func (t AgentUpdateRequest_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)

AsImageGenerationTool returns the union data inside the AgentUpdateRequest_Tools_Item as a ImageGenerationTool

func (AgentUpdateRequest_Tools_Item) AsWebSearchPremiumTool

func (t AgentUpdateRequest_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)

AsWebSearchPremiumTool returns the union data inside the AgentUpdateRequest_Tools_Item as a WebSearchPremiumTool

func (AgentUpdateRequest_Tools_Item) AsWebSearchTool

func (t AgentUpdateRequest_Tools_Item) AsWebSearchTool() (WebSearchTool, error)

AsWebSearchTool returns the union data inside the AgentUpdateRequest_Tools_Item as a WebSearchTool

func (AgentUpdateRequest_Tools_Item) Discriminator

func (t AgentUpdateRequest_Tools_Item) Discriminator() (string, error)

func (*AgentUpdateRequest_Tools_Item) FromCodeInterpreterTool

func (t *AgentUpdateRequest_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error

FromCodeInterpreterTool overwrites any union data inside the AgentUpdateRequest_Tools_Item as the provided CodeInterpreterTool

func (*AgentUpdateRequest_Tools_Item) FromCustomConnector

func (t *AgentUpdateRequest_Tools_Item) FromCustomConnector(v CustomConnector) error

FromCustomConnector overwrites any union data inside the AgentUpdateRequest_Tools_Item as the provided CustomConnector

func (*AgentUpdateRequest_Tools_Item) FromDocumentLibraryTool

func (t *AgentUpdateRequest_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error

FromDocumentLibraryTool overwrites any union data inside the AgentUpdateRequest_Tools_Item as the provided DocumentLibraryTool

func (*AgentUpdateRequest_Tools_Item) FromFunctionTool

func (t *AgentUpdateRequest_Tools_Item) FromFunctionTool(v FunctionTool) error

FromFunctionTool overwrites any union data inside the AgentUpdateRequest_Tools_Item as the provided FunctionTool

func (*AgentUpdateRequest_Tools_Item) FromImageGenerationTool

func (t *AgentUpdateRequest_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error

FromImageGenerationTool overwrites any union data inside the AgentUpdateRequest_Tools_Item as the provided ImageGenerationTool

func (*AgentUpdateRequest_Tools_Item) FromWebSearchPremiumTool

func (t *AgentUpdateRequest_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error

FromWebSearchPremiumTool overwrites any union data inside the AgentUpdateRequest_Tools_Item as the provided WebSearchPremiumTool

func (*AgentUpdateRequest_Tools_Item) FromWebSearchTool

func (t *AgentUpdateRequest_Tools_Item) FromWebSearchTool(v WebSearchTool) error

FromWebSearchTool overwrites any union data inside the AgentUpdateRequest_Tools_Item as the provided WebSearchTool

func (AgentUpdateRequest_Tools_Item) MarshalJSON

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

func (*AgentUpdateRequest_Tools_Item) MergeCodeInterpreterTool

func (t *AgentUpdateRequest_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error

MergeCodeInterpreterTool performs a merge with any union data inside the AgentUpdateRequest_Tools_Item, using the provided CodeInterpreterTool

func (*AgentUpdateRequest_Tools_Item) MergeCustomConnector

func (t *AgentUpdateRequest_Tools_Item) MergeCustomConnector(v CustomConnector) error

MergeCustomConnector performs a merge with any union data inside the AgentUpdateRequest_Tools_Item, using the provided CustomConnector

func (*AgentUpdateRequest_Tools_Item) MergeDocumentLibraryTool

func (t *AgentUpdateRequest_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error

MergeDocumentLibraryTool performs a merge with any union data inside the AgentUpdateRequest_Tools_Item, using the provided DocumentLibraryTool

func (*AgentUpdateRequest_Tools_Item) MergeFunctionTool

func (t *AgentUpdateRequest_Tools_Item) MergeFunctionTool(v FunctionTool) error

MergeFunctionTool performs a merge with any union data inside the AgentUpdateRequest_Tools_Item, using the provided FunctionTool

func (*AgentUpdateRequest_Tools_Item) MergeImageGenerationTool

func (t *AgentUpdateRequest_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error

MergeImageGenerationTool performs a merge with any union data inside the AgentUpdateRequest_Tools_Item, using the provided ImageGenerationTool

func (*AgentUpdateRequest_Tools_Item) MergeWebSearchPremiumTool

func (t *AgentUpdateRequest_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error

MergeWebSearchPremiumTool performs a merge with any union data inside the AgentUpdateRequest_Tools_Item, using the provided WebSearchPremiumTool

func (*AgentUpdateRequest_Tools_Item) MergeWebSearchTool

func (t *AgentUpdateRequest_Tools_Item) MergeWebSearchTool(v WebSearchTool) error

MergeWebSearchTool performs a merge with any union data inside the AgentUpdateRequest_Tools_Item, using the provided WebSearchTool

func (*AgentUpdateRequest_Tools_Item) UnmarshalJSON

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

func (AgentUpdateRequest_Tools_Item) ValueByDiscriminator

func (t AgentUpdateRequest_Tools_Item) ValueByDiscriminator() (interface{}, error)

type Agent_Tools_Item

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

Agent_Tools_Item defines model for Agent.tools.Item.

func (Agent_Tools_Item) AsCodeInterpreterTool

func (t Agent_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)

AsCodeInterpreterTool returns the union data inside the Agent_Tools_Item as a CodeInterpreterTool

func (Agent_Tools_Item) AsCustomConnector

func (t Agent_Tools_Item) AsCustomConnector() (CustomConnector, error)

AsCustomConnector returns the union data inside the Agent_Tools_Item as a CustomConnector

func (Agent_Tools_Item) AsDocumentLibraryTool

func (t Agent_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)

AsDocumentLibraryTool returns the union data inside the Agent_Tools_Item as a DocumentLibraryTool

func (Agent_Tools_Item) AsFunctionTool

func (t Agent_Tools_Item) AsFunctionTool() (FunctionTool, error)

AsFunctionTool returns the union data inside the Agent_Tools_Item as a FunctionTool

func (Agent_Tools_Item) AsImageGenerationTool

func (t Agent_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)

AsImageGenerationTool returns the union data inside the Agent_Tools_Item as a ImageGenerationTool

func (Agent_Tools_Item) AsWebSearchPremiumTool

func (t Agent_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)

AsWebSearchPremiumTool returns the union data inside the Agent_Tools_Item as a WebSearchPremiumTool

func (Agent_Tools_Item) AsWebSearchTool

func (t Agent_Tools_Item) AsWebSearchTool() (WebSearchTool, error)

AsWebSearchTool returns the union data inside the Agent_Tools_Item as a WebSearchTool

func (Agent_Tools_Item) Discriminator

func (t Agent_Tools_Item) Discriminator() (string, error)

func (*Agent_Tools_Item) FromCodeInterpreterTool

func (t *Agent_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error

FromCodeInterpreterTool overwrites any union data inside the Agent_Tools_Item as the provided CodeInterpreterTool

func (*Agent_Tools_Item) FromCustomConnector

func (t *Agent_Tools_Item) FromCustomConnector(v CustomConnector) error

FromCustomConnector overwrites any union data inside the Agent_Tools_Item as the provided CustomConnector

func (*Agent_Tools_Item) FromDocumentLibraryTool

func (t *Agent_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error

FromDocumentLibraryTool overwrites any union data inside the Agent_Tools_Item as the provided DocumentLibraryTool

func (*Agent_Tools_Item) FromFunctionTool

func (t *Agent_Tools_Item) FromFunctionTool(v FunctionTool) error

FromFunctionTool overwrites any union data inside the Agent_Tools_Item as the provided FunctionTool

func (*Agent_Tools_Item) FromImageGenerationTool

func (t *Agent_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error

FromImageGenerationTool overwrites any union data inside the Agent_Tools_Item as the provided ImageGenerationTool

func (*Agent_Tools_Item) FromWebSearchPremiumTool

func (t *Agent_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error

FromWebSearchPremiumTool overwrites any union data inside the Agent_Tools_Item as the provided WebSearchPremiumTool

func (*Agent_Tools_Item) FromWebSearchTool

func (t *Agent_Tools_Item) FromWebSearchTool(v WebSearchTool) error

FromWebSearchTool overwrites any union data inside the Agent_Tools_Item as the provided WebSearchTool

func (Agent_Tools_Item) MarshalJSON

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

func (*Agent_Tools_Item) MergeCodeInterpreterTool

func (t *Agent_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error

MergeCodeInterpreterTool performs a merge with any union data inside the Agent_Tools_Item, using the provided CodeInterpreterTool

func (*Agent_Tools_Item) MergeCustomConnector

func (t *Agent_Tools_Item) MergeCustomConnector(v CustomConnector) error

MergeCustomConnector performs a merge with any union data inside the Agent_Tools_Item, using the provided CustomConnector

func (*Agent_Tools_Item) MergeDocumentLibraryTool

func (t *Agent_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error

MergeDocumentLibraryTool performs a merge with any union data inside the Agent_Tools_Item, using the provided DocumentLibraryTool

func (*Agent_Tools_Item) MergeFunctionTool

func (t *Agent_Tools_Item) MergeFunctionTool(v FunctionTool) error

MergeFunctionTool performs a merge with any union data inside the Agent_Tools_Item, using the provided FunctionTool

func (*Agent_Tools_Item) MergeImageGenerationTool

func (t *Agent_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error

MergeImageGenerationTool performs a merge with any union data inside the Agent_Tools_Item, using the provided ImageGenerationTool

func (*Agent_Tools_Item) MergeWebSearchPremiumTool

func (t *Agent_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error

MergeWebSearchPremiumTool performs a merge with any union data inside the Agent_Tools_Item, using the provided WebSearchPremiumTool

func (*Agent_Tools_Item) MergeWebSearchTool

func (t *Agent_Tools_Item) MergeWebSearchTool(v WebSearchTool) error

MergeWebSearchTool performs a merge with any union data inside the Agent_Tools_Item, using the provided WebSearchTool

func (*Agent_Tools_Item) UnmarshalJSON

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

func (Agent_Tools_Item) ValueByDiscriminator

func (t Agent_Tools_Item) ValueByDiscriminator() (interface{}, error)

type AgentsApiV1AgentsCreateJSONRequestBody

type AgentsApiV1AgentsCreateJSONRequestBody = AgentCreationRequest

AgentsApiV1AgentsCreateJSONRequestBody defines body for AgentsApiV1AgentsCreate for application/json ContentType.

type AgentsApiV1AgentsCreateOrUpdateAliasParams

type AgentsApiV1AgentsCreateOrUpdateAliasParams struct {
	Alias   string `form:"alias" json:"alias"`
	Version int    `form:"version" json:"version"`
}

AgentsApiV1AgentsCreateOrUpdateAliasParams defines parameters for AgentsApiV1AgentsCreateOrUpdateAlias.

type AgentsApiV1AgentsCreateOrUpdateAliasResponse

type AgentsApiV1AgentsCreateOrUpdateAliasResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AgentAliasResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1AgentsCreateOrUpdateAliasResponse

func ParseAgentsApiV1AgentsCreateOrUpdateAliasResponse(rsp *http.Response) (*AgentsApiV1AgentsCreateOrUpdateAliasResponse, error)

ParseAgentsApiV1AgentsCreateOrUpdateAliasResponse parses an HTTP response from a AgentsApiV1AgentsCreateOrUpdateAliasWithResponse call

func (AgentsApiV1AgentsCreateOrUpdateAliasResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1AgentsCreateOrUpdateAliasResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsApiV1AgentsCreateOrUpdateAliasResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AgentsApiV1AgentsCreateOrUpdateAliasResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1AgentsCreateOrUpdateAliasResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1AgentsCreateOrUpdateAliasResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1AgentsCreateResponse

type AgentsApiV1AgentsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Agent
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1AgentsCreateResponse

func ParseAgentsApiV1AgentsCreateResponse(rsp *http.Response) (*AgentsApiV1AgentsCreateResponse, error)

ParseAgentsApiV1AgentsCreateResponse parses an HTTP response from a AgentsApiV1AgentsCreateWithResponse call

func (AgentsApiV1AgentsCreateResponse) ContentType

func (r AgentsApiV1AgentsCreateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1AgentsCreateResponse) GetBody

func (r AgentsApiV1AgentsCreateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AgentsApiV1AgentsCreateResponse) GetJSON200

func (r AgentsApiV1AgentsCreateResponse) GetJSON200() *Agent

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AgentsApiV1AgentsCreateResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1AgentsCreateResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1AgentsCreateResponse) StatusCode

func (r AgentsApiV1AgentsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1AgentsDeleteAliasParams

type AgentsApiV1AgentsDeleteAliasParams struct {
	Alias string `form:"alias" json:"alias"`
}

AgentsApiV1AgentsDeleteAliasParams defines parameters for AgentsApiV1AgentsDeleteAlias.

type AgentsApiV1AgentsDeleteAliasResponse

type AgentsApiV1AgentsDeleteAliasResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1AgentsDeleteAliasResponse

func ParseAgentsApiV1AgentsDeleteAliasResponse(rsp *http.Response) (*AgentsApiV1AgentsDeleteAliasResponse, error)

ParseAgentsApiV1AgentsDeleteAliasResponse parses an HTTP response from a AgentsApiV1AgentsDeleteAliasWithResponse call

func (AgentsApiV1AgentsDeleteAliasResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1AgentsDeleteAliasResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsApiV1AgentsDeleteAliasResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1AgentsDeleteAliasResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1AgentsDeleteAliasResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1AgentsDeleteResponse

type AgentsApiV1AgentsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1AgentsDeleteResponse

func ParseAgentsApiV1AgentsDeleteResponse(rsp *http.Response) (*AgentsApiV1AgentsDeleteResponse, error)

ParseAgentsApiV1AgentsDeleteResponse parses an HTTP response from a AgentsApiV1AgentsDeleteWithResponse call

func (AgentsApiV1AgentsDeleteResponse) ContentType

func (r AgentsApiV1AgentsDeleteResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1AgentsDeleteResponse) GetBody

func (r AgentsApiV1AgentsDeleteResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AgentsApiV1AgentsDeleteResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1AgentsDeleteResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1AgentsDeleteResponse) StatusCode

func (r AgentsApiV1AgentsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1AgentsGetParams

type AgentsApiV1AgentsGetParams struct {
	AgentVersion *struct {
		// contains filtered or unexported fields
	} `form:"agent_version,omitempty" json:"agent_version,omitempty"`
}

AgentsApiV1AgentsGetParams defines parameters for AgentsApiV1AgentsGet.

type AgentsApiV1AgentsGetParamsAgentVersion0

type AgentsApiV1AgentsGetParamsAgentVersion0 = int

AgentsApiV1AgentsGetParamsAgentVersion0 defines parameters for AgentsApiV1AgentsGet.

type AgentsApiV1AgentsGetParamsAgentVersion1

type AgentsApiV1AgentsGetParamsAgentVersion1 = string

AgentsApiV1AgentsGetParamsAgentVersion1 defines parameters for AgentsApiV1AgentsGet.

type AgentsApiV1AgentsGetResponse

type AgentsApiV1AgentsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Agent
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1AgentsGetResponse

func ParseAgentsApiV1AgentsGetResponse(rsp *http.Response) (*AgentsApiV1AgentsGetResponse, error)

ParseAgentsApiV1AgentsGetResponse parses an HTTP response from a AgentsApiV1AgentsGetWithResponse call

func (AgentsApiV1AgentsGetResponse) ContentType

func (r AgentsApiV1AgentsGetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1AgentsGetResponse) GetBody

func (r AgentsApiV1AgentsGetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AgentsApiV1AgentsGetResponse) GetJSON200

func (r AgentsApiV1AgentsGetResponse) GetJSON200() *Agent

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AgentsApiV1AgentsGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1AgentsGetResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1AgentsGetResponse) StatusCode

func (r AgentsApiV1AgentsGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1AgentsGetVersionResponse

type AgentsApiV1AgentsGetVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Agent
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1AgentsGetVersionResponse

func ParseAgentsApiV1AgentsGetVersionResponse(rsp *http.Response) (*AgentsApiV1AgentsGetVersionResponse, error)

ParseAgentsApiV1AgentsGetVersionResponse parses an HTTP response from a AgentsApiV1AgentsGetVersionWithResponse call

func (AgentsApiV1AgentsGetVersionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1AgentsGetVersionResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsApiV1AgentsGetVersionResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AgentsApiV1AgentsGetVersionResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1AgentsGetVersionResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1AgentsGetVersionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1AgentsListPagesParams

type AgentsApiV1AgentsListPagesParams struct {
	// PageSize Number of agents per page
	PageSize       *int             `form:"page_size,omitempty" json:"page_size,omitempty"`
	DeploymentChat *bool            `form:"deployment_chat,omitempty" json:"deployment_chat,omitempty"`
	Sources        *[]RequestSource `form:"sources,omitempty" json:"sources,omitempty"`

	// Name Filter by agent name
	Name *string `form:"name,omitempty" json:"name,omitempty"`

	// Search Search agents by name or ID
	Search   *string                 `form:"search,omitempty" json:"search,omitempty"`
	Id       *string                 `form:"id,omitempty" json:"id,omitempty"`
	Metadata *map[string]interface{} `form:"metadata,omitempty" json:"metadata,omitempty"`

	// PageToken Opaque cursor from a previous response's next_page_token. When set, results page forward from the cursor.
	PageToken *string `form:"page_token,omitempty" json:"page_token,omitempty"`
}

AgentsApiV1AgentsListPagesParams defines parameters for AgentsApiV1AgentsListPages.

type AgentsApiV1AgentsListPagesResponse

type AgentsApiV1AgentsListPagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AgentListPage
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1AgentsListPagesResponse

func ParseAgentsApiV1AgentsListPagesResponse(rsp *http.Response) (*AgentsApiV1AgentsListPagesResponse, error)

ParseAgentsApiV1AgentsListPagesResponse parses an HTTP response from a AgentsApiV1AgentsListPagesWithResponse call

func (AgentsApiV1AgentsListPagesResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1AgentsListPagesResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsApiV1AgentsListPagesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AgentsApiV1AgentsListPagesResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1AgentsListPagesResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1AgentsListPagesResponse) StatusCode

func (r AgentsApiV1AgentsListPagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1AgentsListParams

type AgentsApiV1AgentsListParams struct {
	// Page Page number (0-indexed)
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Number of agents per page
	PageSize       *int             `form:"page_size,omitempty" json:"page_size,omitempty"`
	DeploymentChat *bool            `form:"deployment_chat,omitempty" json:"deployment_chat,omitempty"`
	Sources        *[]RequestSource `form:"sources,omitempty" json:"sources,omitempty"`

	// Name Filter by agent name
	Name *string `form:"name,omitempty" json:"name,omitempty"`

	// Search Search agents by name or ID
	Search   *string                 `form:"search,omitempty" json:"search,omitempty"`
	Id       *string                 `form:"id,omitempty" json:"id,omitempty"`
	Metadata *map[string]interface{} `form:"metadata,omitempty" json:"metadata,omitempty"`
}

AgentsApiV1AgentsListParams defines parameters for AgentsApiV1AgentsList.

type AgentsApiV1AgentsListResponse

type AgentsApiV1AgentsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Agent
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1AgentsListResponse

func ParseAgentsApiV1AgentsListResponse(rsp *http.Response) (*AgentsApiV1AgentsListResponse, error)

ParseAgentsApiV1AgentsListResponse parses an HTTP response from a AgentsApiV1AgentsListWithResponse call

func (AgentsApiV1AgentsListResponse) ContentType

func (r AgentsApiV1AgentsListResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1AgentsListResponse) GetBody

func (r AgentsApiV1AgentsListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AgentsApiV1AgentsListResponse) GetJSON200

func (r AgentsApiV1AgentsListResponse) GetJSON200() *[]Agent

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AgentsApiV1AgentsListResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1AgentsListResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1AgentsListResponse) StatusCode

func (r AgentsApiV1AgentsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1AgentsListVersionAliasesResponse

type AgentsApiV1AgentsListVersionAliasesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]AgentAliasResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1AgentsListVersionAliasesResponse

func ParseAgentsApiV1AgentsListVersionAliasesResponse(rsp *http.Response) (*AgentsApiV1AgentsListVersionAliasesResponse, error)

ParseAgentsApiV1AgentsListVersionAliasesResponse parses an HTTP response from a AgentsApiV1AgentsListVersionAliasesWithResponse call

func (AgentsApiV1AgentsListVersionAliasesResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1AgentsListVersionAliasesResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsApiV1AgentsListVersionAliasesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AgentsApiV1AgentsListVersionAliasesResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1AgentsListVersionAliasesResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1AgentsListVersionAliasesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1AgentsListVersionsParams

type AgentsApiV1AgentsListVersionsParams struct {
	// Page Page number (0-indexed)
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Number of versions per page
	PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
}

AgentsApiV1AgentsListVersionsParams defines parameters for AgentsApiV1AgentsListVersions.

type AgentsApiV1AgentsListVersionsResponse

type AgentsApiV1AgentsListVersionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]Agent
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1AgentsListVersionsResponse

func ParseAgentsApiV1AgentsListVersionsResponse(rsp *http.Response) (*AgentsApiV1AgentsListVersionsResponse, error)

ParseAgentsApiV1AgentsListVersionsResponse parses an HTTP response from a AgentsApiV1AgentsListVersionsWithResponse call

func (AgentsApiV1AgentsListVersionsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1AgentsListVersionsResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsApiV1AgentsListVersionsResponse) GetJSON200

func (r AgentsApiV1AgentsListVersionsResponse) GetJSON200() *[]Agent

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AgentsApiV1AgentsListVersionsResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1AgentsListVersionsResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1AgentsListVersionsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1AgentsUpdateJSONRequestBody

type AgentsApiV1AgentsUpdateJSONRequestBody = AgentUpdateRequest

AgentsApiV1AgentsUpdateJSONRequestBody defines body for AgentsApiV1AgentsUpdate for application/json ContentType.

type AgentsApiV1AgentsUpdateResponse

type AgentsApiV1AgentsUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Agent
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1AgentsUpdateResponse

func ParseAgentsApiV1AgentsUpdateResponse(rsp *http.Response) (*AgentsApiV1AgentsUpdateResponse, error)

ParseAgentsApiV1AgentsUpdateResponse parses an HTTP response from a AgentsApiV1AgentsUpdateWithResponse call

func (AgentsApiV1AgentsUpdateResponse) ContentType

func (r AgentsApiV1AgentsUpdateResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1AgentsUpdateResponse) GetBody

func (r AgentsApiV1AgentsUpdateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AgentsApiV1AgentsUpdateResponse) GetJSON200

func (r AgentsApiV1AgentsUpdateResponse) GetJSON200() *Agent

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AgentsApiV1AgentsUpdateResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1AgentsUpdateResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1AgentsUpdateResponse) StatusCode

func (r AgentsApiV1AgentsUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1AgentsUpdateVersionParams

type AgentsApiV1AgentsUpdateVersionParams struct {
	Version int `form:"version" json:"version"`
}

AgentsApiV1AgentsUpdateVersionParams defines parameters for AgentsApiV1AgentsUpdateVersion.

type AgentsApiV1AgentsUpdateVersionResponse

type AgentsApiV1AgentsUpdateVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Agent
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1AgentsUpdateVersionResponse

func ParseAgentsApiV1AgentsUpdateVersionResponse(rsp *http.Response) (*AgentsApiV1AgentsUpdateVersionResponse, error)

ParseAgentsApiV1AgentsUpdateVersionResponse parses an HTTP response from a AgentsApiV1AgentsUpdateVersionWithResponse call

func (AgentsApiV1AgentsUpdateVersionResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1AgentsUpdateVersionResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsApiV1AgentsUpdateVersionResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AgentsApiV1AgentsUpdateVersionResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1AgentsUpdateVersionResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1AgentsUpdateVersionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1ConversationsAppendJSONRequestBody

type AgentsApiV1ConversationsAppendJSONRequestBody = ConversationAppendRequest

AgentsApiV1ConversationsAppendJSONRequestBody defines body for AgentsApiV1ConversationsAppend for application/json ContentType.

type AgentsApiV1ConversationsAppendResponse

type AgentsApiV1ConversationsAppendResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ConversationResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1ConversationsAppendResponse

func ParseAgentsApiV1ConversationsAppendResponse(rsp *http.Response) (*AgentsApiV1ConversationsAppendResponse, error)

ParseAgentsApiV1ConversationsAppendResponse parses an HTTP response from a AgentsApiV1ConversationsAppendWithResponse call

func (AgentsApiV1ConversationsAppendResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1ConversationsAppendResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsApiV1ConversationsAppendResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AgentsApiV1ConversationsAppendResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1ConversationsAppendResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1ConversationsAppendResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1ConversationsAppendStreamJSONRequestBody

type AgentsApiV1ConversationsAppendStreamJSONRequestBody = ConversationAppendStreamRequest

AgentsApiV1ConversationsAppendStreamJSONRequestBody defines body for AgentsApiV1ConversationsAppendStream for application/json ContentType.

type AgentsApiV1ConversationsAppendStreamResponse

type AgentsApiV1ConversationsAppendStreamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1ConversationsAppendStreamResponse

func ParseAgentsApiV1ConversationsAppendStreamResponse(rsp *http.Response) (*AgentsApiV1ConversationsAppendStreamResponse, error)

ParseAgentsApiV1ConversationsAppendStreamResponse parses an HTTP response from a AgentsApiV1ConversationsAppendStreamWithResponse call

func (AgentsApiV1ConversationsAppendStreamResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1ConversationsAppendStreamResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsApiV1ConversationsAppendStreamResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1ConversationsAppendStreamResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1ConversationsAppendStreamResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1ConversationsDeleteResponse

type AgentsApiV1ConversationsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1ConversationsDeleteResponse

func ParseAgentsApiV1ConversationsDeleteResponse(rsp *http.Response) (*AgentsApiV1ConversationsDeleteResponse, error)

ParseAgentsApiV1ConversationsDeleteResponse parses an HTTP response from a AgentsApiV1ConversationsDeleteWithResponse call

func (AgentsApiV1ConversationsDeleteResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1ConversationsDeleteResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsApiV1ConversationsDeleteResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1ConversationsDeleteResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1ConversationsDeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1ConversationsGet200JSONResponseBody

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

AgentsApiV1ConversationsGet200JSONResponseBody defines parameters for AgentsApiV1ConversationsGet.

func (AgentsApiV1ConversationsGet200JSONResponseBody) AsAgentConversation

AsAgentConversation returns the union data inside the AgentsApiV1ConversationsGet200JSONResponseBody as a AgentConversation

func (AgentsApiV1ConversationsGet200JSONResponseBody) AsModelConversation

AsModelConversation returns the union data inside the AgentsApiV1ConversationsGet200JSONResponseBody as a ModelConversation

func (*AgentsApiV1ConversationsGet200JSONResponseBody) FromAgentConversation

FromAgentConversation overwrites any union data inside the AgentsApiV1ConversationsGet200JSONResponseBody as the provided AgentConversation

func (*AgentsApiV1ConversationsGet200JSONResponseBody) FromModelConversation

FromModelConversation overwrites any union data inside the AgentsApiV1ConversationsGet200JSONResponseBody as the provided ModelConversation

func (AgentsApiV1ConversationsGet200JSONResponseBody) MarshalJSON

func (*AgentsApiV1ConversationsGet200JSONResponseBody) MergeAgentConversation

MergeAgentConversation performs a merge with any union data inside the AgentsApiV1ConversationsGet200JSONResponseBody, using the provided AgentConversation

func (*AgentsApiV1ConversationsGet200JSONResponseBody) MergeModelConversation

MergeModelConversation performs a merge with any union data inside the AgentsApiV1ConversationsGet200JSONResponseBody, using the provided ModelConversation

func (*AgentsApiV1ConversationsGet200JSONResponseBody) UnmarshalJSON

type AgentsApiV1ConversationsGetResponse

type AgentsApiV1ConversationsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AgentsApiV1ConversationsGet200JSONResponseBody
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1ConversationsGetResponse

func ParseAgentsApiV1ConversationsGetResponse(rsp *http.Response) (*AgentsApiV1ConversationsGetResponse, error)

ParseAgentsApiV1ConversationsGetResponse parses an HTTP response from a AgentsApiV1ConversationsGetWithResponse call

func (AgentsApiV1ConversationsGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1ConversationsGetResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsApiV1ConversationsGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AgentsApiV1ConversationsGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1ConversationsGetResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1ConversationsGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1ConversationsHistoryResponse

type AgentsApiV1ConversationsHistoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ConversationHistory
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1ConversationsHistoryResponse

func ParseAgentsApiV1ConversationsHistoryResponse(rsp *http.Response) (*AgentsApiV1ConversationsHistoryResponse, error)

ParseAgentsApiV1ConversationsHistoryResponse parses an HTTP response from a AgentsApiV1ConversationsHistoryWithResponse call

func (AgentsApiV1ConversationsHistoryResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1ConversationsHistoryResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsApiV1ConversationsHistoryResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AgentsApiV1ConversationsHistoryResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1ConversationsHistoryResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1ConversationsHistoryResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1ConversationsList200JSONResponseBody_Item

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

AgentsApiV1ConversationsList200JSONResponseBody_Item defines parameters for AgentsApiV1ConversationsList.

func (AgentsApiV1ConversationsList200JSONResponseBody_Item) AsAgentConversation

AsAgentConversation returns the union data inside the AgentsApiV1ConversationsList200JSONResponseBody_Item as a AgentConversation

func (AgentsApiV1ConversationsList200JSONResponseBody_Item) AsModelConversation

AsModelConversation returns the union data inside the AgentsApiV1ConversationsList200JSONResponseBody_Item as a ModelConversation

func (*AgentsApiV1ConversationsList200JSONResponseBody_Item) FromAgentConversation

FromAgentConversation overwrites any union data inside the AgentsApiV1ConversationsList200JSONResponseBody_Item as the provided AgentConversation

func (*AgentsApiV1ConversationsList200JSONResponseBody_Item) FromModelConversation

FromModelConversation overwrites any union data inside the AgentsApiV1ConversationsList200JSONResponseBody_Item as the provided ModelConversation

func (AgentsApiV1ConversationsList200JSONResponseBody_Item) MarshalJSON

func (*AgentsApiV1ConversationsList200JSONResponseBody_Item) MergeAgentConversation

MergeAgentConversation performs a merge with any union data inside the AgentsApiV1ConversationsList200JSONResponseBody_Item, using the provided AgentConversation

func (*AgentsApiV1ConversationsList200JSONResponseBody_Item) MergeModelConversation

MergeModelConversation performs a merge with any union data inside the AgentsApiV1ConversationsList200JSONResponseBody_Item, using the provided ModelConversation

func (*AgentsApiV1ConversationsList200JSONResponseBody_Item) UnmarshalJSON

type AgentsApiV1ConversationsListParams

type AgentsApiV1ConversationsListParams struct {
	Page     *int                    `form:"page,omitempty" json:"page,omitempty"`
	PageSize *int                    `form:"page_size,omitempty" json:"page_size,omitempty"`
	Metadata *map[string]interface{} `form:"metadata,omitempty" json:"metadata,omitempty"`
}

AgentsApiV1ConversationsListParams defines parameters for AgentsApiV1ConversationsList.

type AgentsApiV1ConversationsListResponse

type AgentsApiV1ConversationsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]AgentsApiV1ConversationsList200JSONResponseBody_Item
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1ConversationsListResponse

func ParseAgentsApiV1ConversationsListResponse(rsp *http.Response) (*AgentsApiV1ConversationsListResponse, error)

ParseAgentsApiV1ConversationsListResponse parses an HTTP response from a AgentsApiV1ConversationsListWithResponse call

func (AgentsApiV1ConversationsListResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1ConversationsListResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsApiV1ConversationsListResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AgentsApiV1ConversationsListResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1ConversationsListResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1ConversationsListResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1ConversationsMessagesResponse

type AgentsApiV1ConversationsMessagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ConversationMessages
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1ConversationsMessagesResponse

func ParseAgentsApiV1ConversationsMessagesResponse(rsp *http.Response) (*AgentsApiV1ConversationsMessagesResponse, error)

ParseAgentsApiV1ConversationsMessagesResponse parses an HTTP response from a AgentsApiV1ConversationsMessagesWithResponse call

func (AgentsApiV1ConversationsMessagesResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1ConversationsMessagesResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsApiV1ConversationsMessagesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AgentsApiV1ConversationsMessagesResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1ConversationsMessagesResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1ConversationsMessagesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1ConversationsRestartJSONRequestBody

type AgentsApiV1ConversationsRestartJSONRequestBody = ConversationRestartRequest

AgentsApiV1ConversationsRestartJSONRequestBody defines body for AgentsApiV1ConversationsRestart for application/json ContentType.

type AgentsApiV1ConversationsRestartResponse

type AgentsApiV1ConversationsRestartResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ConversationResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1ConversationsRestartResponse

func ParseAgentsApiV1ConversationsRestartResponse(rsp *http.Response) (*AgentsApiV1ConversationsRestartResponse, error)

ParseAgentsApiV1ConversationsRestartResponse parses an HTTP response from a AgentsApiV1ConversationsRestartWithResponse call

func (AgentsApiV1ConversationsRestartResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1ConversationsRestartResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsApiV1ConversationsRestartResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AgentsApiV1ConversationsRestartResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1ConversationsRestartResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1ConversationsRestartResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1ConversationsRestartStreamJSONRequestBody

type AgentsApiV1ConversationsRestartStreamJSONRequestBody = ConversationRestartStreamRequest

AgentsApiV1ConversationsRestartStreamJSONRequestBody defines body for AgentsApiV1ConversationsRestartStream for application/json ContentType.

type AgentsApiV1ConversationsRestartStreamResponse

type AgentsApiV1ConversationsRestartStreamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1ConversationsRestartStreamResponse

func ParseAgentsApiV1ConversationsRestartStreamResponse(rsp *http.Response) (*AgentsApiV1ConversationsRestartStreamResponse, error)

ParseAgentsApiV1ConversationsRestartStreamResponse parses an HTTP response from a AgentsApiV1ConversationsRestartStreamWithResponse call

func (AgentsApiV1ConversationsRestartStreamResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1ConversationsRestartStreamResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsApiV1ConversationsRestartStreamResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1ConversationsRestartStreamResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1ConversationsRestartStreamResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1ConversationsStartJSONRequestBody

type AgentsApiV1ConversationsStartJSONRequestBody = ConversationRequest

AgentsApiV1ConversationsStartJSONRequestBody defines body for AgentsApiV1ConversationsStart for application/json ContentType.

type AgentsApiV1ConversationsStartResponse

type AgentsApiV1ConversationsStartResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ConversationResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1ConversationsStartResponse

func ParseAgentsApiV1ConversationsStartResponse(rsp *http.Response) (*AgentsApiV1ConversationsStartResponse, error)

ParseAgentsApiV1ConversationsStartResponse parses an HTTP response from a AgentsApiV1ConversationsStartWithResponse call

func (AgentsApiV1ConversationsStartResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1ConversationsStartResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsApiV1ConversationsStartResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AgentsApiV1ConversationsStartResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1ConversationsStartResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1ConversationsStartResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AgentsApiV1ConversationsStartStreamJSONRequestBody

type AgentsApiV1ConversationsStartStreamJSONRequestBody = ConversationStreamRequest

AgentsApiV1ConversationsStartStreamJSONRequestBody defines body for AgentsApiV1ConversationsStartStream for application/json ContentType.

type AgentsApiV1ConversationsStartStreamResponse

type AgentsApiV1ConversationsStartStreamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsApiV1ConversationsStartStreamResponse

func ParseAgentsApiV1ConversationsStartStreamResponse(rsp *http.Response) (*AgentsApiV1ConversationsStartStreamResponse, error)

ParseAgentsApiV1ConversationsStartStreamResponse parses an HTTP response from a AgentsApiV1ConversationsStartStreamWithResponse call

func (AgentsApiV1ConversationsStartStreamResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsApiV1ConversationsStartStreamResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsApiV1ConversationsStartStreamResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsApiV1ConversationsStartStreamResponse) Status

Status returns HTTPResponse.Status

func (AgentsApiV1ConversationsStartStreamResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AgentsCompletionRequest

type AgentsCompletionRequest struct {
	// AgentId The ID of the agent to use for this completion.
	AgentId string `json:"agent_id"`

	// FrequencyPenalty The `frequency_penalty` penalizes the repetition of words based on their frequency in the generated text. A higher frequency penalty discourages the model from repeating words that have already appeared frequently in the output, promoting diversity and reducing repetition.
	FrequencyPenalty *float32 `json:"frequency_penalty,omitempty"`

	// MaxTokens The maximum number of tokens to generate in the completion. The token count of your prompt plus `max_tokens` cannot exceed the model's context length.
	MaxTokens *int `json:"max_tokens,omitempty"`

	// Messages The prompt(s) to generate completions for, encoded as a list of dict with role and content.
	//
	// Examples: [{"content":"Who is the best French painter? Answer in one short sentence.","role":"user"}]
	Messages []AgentsCompletionRequest_Messages_Item `json:"messages"`
	Metadata *map[string]interface{}                 `json:"metadata,omitempty"`

	// N Number of completions to return for each request, input tokens are only billed once.
	N                 *int  `json:"n,omitempty"`
	ParallelToolCalls *bool `json:"parallel_tool_calls,omitempty"`

	// Prediction Enable users to specify expected results, optimizing response times by leveraging known or predictable content. This approach is especially effective for updating text documents or code files with minimal changes, reducing latency while maintaining high-quality results.
	Prediction *Prediction `json:"prediction,omitempty"`

	// PresencePenalty The `presence_penalty` determines how much the model penalizes the repetition of words or phrases. A higher presence penalty encourages the model to use a wider variety of words and phrases, making the output more diverse and creative.
	PresencePenalty *float32 `json:"presence_penalty,omitempty"`

	// PromptCacheKey A cache key to enable prompt caching. When provided, the API will attempt to reuse previously computed tokens for requests sharing the same prefix (e.g. multi-turn conversations or requests with a similar system prompt). Cached tokens are billed at 10% of the standard input token price.
	PromptCacheKey *string `json:"prompt_cache_key,omitempty"`

	// PromptMode Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. **Deprecated for reasoning models - use `reasoning_effort` parameter instead.**
	PromptMode *MistralPromptMode `json:"prompt_mode,omitempty"`

	// RandomSeed The seed to use for random sampling. If set, different calls will generate deterministic results.
	RandomSeed *int `json:"random_seed,omitempty"`

	// ReasoningEffort Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort.
	ReasoningEffort *AgentsCompletionRequestReasoningEffort `json:"reasoning_effort,omitempty"`

	// ResponseFormat Specify the format that the model must output. By default it will use `{ "type": "text" }`. Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is in JSON. When using JSON mode you MUST also instruct the model to produce JSON yourself with a system or a user message. Setting to `{ "type": "json_schema" }` enables JSON schema mode, which guarantees the message the model generates is in JSON and follows the schema you provide.
	//
	// Examples: {"type":"text"}, {"type":"json_object"}, {"json_schema":{"name":"book","schema":{"additionalProperties":false,"properties":{"authors":{"items":{"type":"string"},"title":"Authors","type":"array"},"name":{"title":"Name","type":"string"}},"required":["name","authors"],"title":"Book","type":"object"},"strict":true},"type":"json_schema"}
	ResponseFormat *ResponseFormat `json:"response_format,omitempty"`

	// Stop Stop generation if this token is detected. Or if one of these tokens is detected when providing an array
	Stop *AgentsCompletionRequest_Stop `json:"stop,omitempty"`

	// Stream Whether to stream back partial progress. If set, tokens will be sent as data-only server-side events as they become available, with the stream terminated by a data: [DONE] message. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
	Stream     *bool                               `json:"stream,omitempty"`
	ToolChoice *AgentsCompletionRequest_ToolChoice `json:"tool_choice,omitempty"`
	Tools      *[]Tool                             `json:"tools,omitempty"`
}

AgentsCompletionRequest defines model for AgentsCompletionRequest.

type AgentsCompletionRequestReasoningEffort

type AgentsCompletionRequestReasoningEffort string

AgentsCompletionRequestReasoningEffort Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort.

const (
	AgentsCompletionRequestReasoningEffortHigh AgentsCompletionRequestReasoningEffort = "high"
	AgentsCompletionRequestReasoningEffortNone AgentsCompletionRequestReasoningEffort = "none"
)

Defines values for AgentsCompletionRequestReasoningEffort.

func (AgentsCompletionRequestReasoningEffort) Valid

Valid indicates whether the value is a known member of the AgentsCompletionRequestReasoningEffort enum.

type AgentsCompletionRequestStop0

type AgentsCompletionRequestStop0 = string

AgentsCompletionRequestStop0 defines model for AgentsCompletionRequest.Stop.0.

type AgentsCompletionRequestStop1

type AgentsCompletionRequestStop1 = []string

AgentsCompletionRequestStop1 defines model for AgentsCompletionRequest.Stop.1.

type AgentsCompletionRequest_Messages_Item

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

AgentsCompletionRequest_Messages_Item defines model for AgentsCompletionRequest.messages.Item.

func (AgentsCompletionRequest_Messages_Item) AsAssistantMessage

AsAssistantMessage returns the union data inside the AgentsCompletionRequest_Messages_Item as a AssistantMessage

func (AgentsCompletionRequest_Messages_Item) AsSystemMessage

AsSystemMessage returns the union data inside the AgentsCompletionRequest_Messages_Item as a SystemMessage

func (AgentsCompletionRequest_Messages_Item) AsToolMessage

AsToolMessage returns the union data inside the AgentsCompletionRequest_Messages_Item as a ToolMessage

func (AgentsCompletionRequest_Messages_Item) AsUserMessage

AsUserMessage returns the union data inside the AgentsCompletionRequest_Messages_Item as a UserMessage

func (AgentsCompletionRequest_Messages_Item) Discriminator

func (t AgentsCompletionRequest_Messages_Item) Discriminator() (string, error)

func (*AgentsCompletionRequest_Messages_Item) FromAssistantMessage

FromAssistantMessage overwrites any union data inside the AgentsCompletionRequest_Messages_Item as the provided AssistantMessage

func (*AgentsCompletionRequest_Messages_Item) FromSystemMessage

FromSystemMessage overwrites any union data inside the AgentsCompletionRequest_Messages_Item as the provided SystemMessage

func (*AgentsCompletionRequest_Messages_Item) FromToolMessage

FromToolMessage overwrites any union data inside the AgentsCompletionRequest_Messages_Item as the provided ToolMessage

func (*AgentsCompletionRequest_Messages_Item) FromUserMessage

FromUserMessage overwrites any union data inside the AgentsCompletionRequest_Messages_Item as the provided UserMessage

func (AgentsCompletionRequest_Messages_Item) MarshalJSON

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

func (*AgentsCompletionRequest_Messages_Item) MergeAssistantMessage

func (t *AgentsCompletionRequest_Messages_Item) MergeAssistantMessage(v AssistantMessage) error

MergeAssistantMessage performs a merge with any union data inside the AgentsCompletionRequest_Messages_Item, using the provided AssistantMessage

func (*AgentsCompletionRequest_Messages_Item) MergeSystemMessage

MergeSystemMessage performs a merge with any union data inside the AgentsCompletionRequest_Messages_Item, using the provided SystemMessage

func (*AgentsCompletionRequest_Messages_Item) MergeToolMessage

MergeToolMessage performs a merge with any union data inside the AgentsCompletionRequest_Messages_Item, using the provided ToolMessage

func (*AgentsCompletionRequest_Messages_Item) MergeUserMessage

MergeUserMessage performs a merge with any union data inside the AgentsCompletionRequest_Messages_Item, using the provided UserMessage

func (*AgentsCompletionRequest_Messages_Item) UnmarshalJSON

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

func (AgentsCompletionRequest_Messages_Item) ValueByDiscriminator

func (t AgentsCompletionRequest_Messages_Item) ValueByDiscriminator() (interface{}, error)

type AgentsCompletionRequest_Stop

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

AgentsCompletionRequest_Stop Stop generation if this token is detected. Or if one of these tokens is detected when providing an array

func (AgentsCompletionRequest_Stop) AsAgentsCompletionRequestStop0

func (t AgentsCompletionRequest_Stop) AsAgentsCompletionRequestStop0() (AgentsCompletionRequestStop0, error)

AsAgentsCompletionRequestStop0 returns the union data inside the AgentsCompletionRequest_Stop as a AgentsCompletionRequestStop0

func (AgentsCompletionRequest_Stop) AsAgentsCompletionRequestStop1

func (t AgentsCompletionRequest_Stop) AsAgentsCompletionRequestStop1() (AgentsCompletionRequestStop1, error)

AsAgentsCompletionRequestStop1 returns the union data inside the AgentsCompletionRequest_Stop as a AgentsCompletionRequestStop1

func (*AgentsCompletionRequest_Stop) FromAgentsCompletionRequestStop0

func (t *AgentsCompletionRequest_Stop) FromAgentsCompletionRequestStop0(v AgentsCompletionRequestStop0) error

FromAgentsCompletionRequestStop0 overwrites any union data inside the AgentsCompletionRequest_Stop as the provided AgentsCompletionRequestStop0

func (*AgentsCompletionRequest_Stop) FromAgentsCompletionRequestStop1

func (t *AgentsCompletionRequest_Stop) FromAgentsCompletionRequestStop1(v AgentsCompletionRequestStop1) error

FromAgentsCompletionRequestStop1 overwrites any union data inside the AgentsCompletionRequest_Stop as the provided AgentsCompletionRequestStop1

func (AgentsCompletionRequest_Stop) MarshalJSON

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

func (*AgentsCompletionRequest_Stop) MergeAgentsCompletionRequestStop0

func (t *AgentsCompletionRequest_Stop) MergeAgentsCompletionRequestStop0(v AgentsCompletionRequestStop0) error

MergeAgentsCompletionRequestStop0 performs a merge with any union data inside the AgentsCompletionRequest_Stop, using the provided AgentsCompletionRequestStop0

func (*AgentsCompletionRequest_Stop) MergeAgentsCompletionRequestStop1

func (t *AgentsCompletionRequest_Stop) MergeAgentsCompletionRequestStop1(v AgentsCompletionRequestStop1) error

MergeAgentsCompletionRequestStop1 performs a merge with any union data inside the AgentsCompletionRequest_Stop, using the provided AgentsCompletionRequestStop1

func (*AgentsCompletionRequest_Stop) UnmarshalJSON

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

type AgentsCompletionRequest_ToolChoice

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

AgentsCompletionRequest_ToolChoice defines model for AgentsCompletionRequest.ToolChoice.

func (AgentsCompletionRequest_ToolChoice) AsToolChoice

AsToolChoice returns the union data inside the AgentsCompletionRequest_ToolChoice as a ToolChoice

func (AgentsCompletionRequest_ToolChoice) AsToolChoiceEnum

AsToolChoiceEnum returns the union data inside the AgentsCompletionRequest_ToolChoice as a ToolChoiceEnum

func (*AgentsCompletionRequest_ToolChoice) FromToolChoice

FromToolChoice overwrites any union data inside the AgentsCompletionRequest_ToolChoice as the provided ToolChoice

func (*AgentsCompletionRequest_ToolChoice) FromToolChoiceEnum

func (t *AgentsCompletionRequest_ToolChoice) FromToolChoiceEnum(v ToolChoiceEnum) error

FromToolChoiceEnum overwrites any union data inside the AgentsCompletionRequest_ToolChoice as the provided ToolChoiceEnum

func (AgentsCompletionRequest_ToolChoice) MarshalJSON

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

func (*AgentsCompletionRequest_ToolChoice) MergeToolChoice

func (t *AgentsCompletionRequest_ToolChoice) MergeToolChoice(v ToolChoice) error

MergeToolChoice performs a merge with any union data inside the AgentsCompletionRequest_ToolChoice, using the provided ToolChoice

func (*AgentsCompletionRequest_ToolChoice) MergeToolChoiceEnum

func (t *AgentsCompletionRequest_ToolChoice) MergeToolChoiceEnum(v ToolChoiceEnum) error

MergeToolChoiceEnum performs a merge with any union data inside the AgentsCompletionRequest_ToolChoice, using the provided ToolChoiceEnum

func (*AgentsCompletionRequest_ToolChoice) UnmarshalJSON

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

type AgentsCompletionV1AgentsCompletionsPostJSONRequestBody deprecated

type AgentsCompletionV1AgentsCompletionsPostJSONRequestBody = AgentsCompletionRequest

AgentsCompletionV1AgentsCompletionsPostJSONRequestBody defines body for AgentsCompletionV1AgentsCompletionsPost for application/json ContentType.

Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type AgentsCompletionV1AgentsCompletionsPostResponse

type AgentsCompletionV1AgentsCompletionsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ChatCompletionResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseAgentsCompletionV1AgentsCompletionsPostResponse

func ParseAgentsCompletionV1AgentsCompletionsPostResponse(rsp *http.Response) (*AgentsCompletionV1AgentsCompletionsPostResponse, error)

ParseAgentsCompletionV1AgentsCompletionsPostResponse parses an HTTP response from a AgentsCompletionV1AgentsCompletionsPostWithResponse call

func (AgentsCompletionV1AgentsCompletionsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AgentsCompletionV1AgentsCompletionsPostResponse) GetBody

GetBody returns the raw response body bytes

func (AgentsCompletionV1AgentsCompletionsPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AgentsCompletionV1AgentsCompletionsPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (AgentsCompletionV1AgentsCompletionsPostResponse) Status

Status returns HTTPResponse.Status

func (AgentsCompletionV1AgentsCompletionsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type Annotations

type Annotations struct {
	Audience             *[]AnnotationsAudience `json:"audience,omitempty"`
	Priority             *float32               `json:"priority,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

Annotations defines model for Annotations.

func (Annotations) Get

func (a Annotations) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for Annotations. Returns the specified element and whether it was found

func (Annotations) MarshalJSON

func (a Annotations) MarshalJSON() ([]byte, error)

Override default JSON handling for Annotations to handle AdditionalProperties

func (*Annotations) Set

func (a *Annotations) Set(fieldName string, value interface{})

Setter for additional properties for Annotations

func (*Annotations) UnmarshalJSON

func (a *Annotations) UnmarshalJSON(b []byte) error

Override default JSON handling for Annotations to handle AdditionalProperties

type AnnotationsAudience

type AnnotationsAudience string

AnnotationsAudience defines model for Annotations.Audience.

const (
	AnnotationsAudienceAssistant AnnotationsAudience = "assistant"
	AnnotationsAudienceUser      AnnotationsAudience = "user"
)

Defines values for AnnotationsAudience.

func (AnnotationsAudience) Valid

func (e AnnotationsAudience) Valid() bool

Valid indicates whether the value is a known member of the AnnotationsAudience enum.

type ApiEndpoint

type ApiEndpoint string

ApiEndpoint defines model for ApiEndpoint.

const (
	ApiEndpointV1audiotranscriptions ApiEndpoint = "/v1/audio/transcriptions"
	ApiEndpointV1chatclassifications ApiEndpoint = "/v1/chat/classifications"
	ApiEndpointV1chatcompletions     ApiEndpoint = "/v1/chat/completions"
	ApiEndpointV1chatmoderations     ApiEndpoint = "/v1/chat/moderations"
	ApiEndpointV1classifications     ApiEndpoint = "/v1/classifications"
	ApiEndpointV1conversations       ApiEndpoint = "/v1/conversations"
	ApiEndpointV1embeddings          ApiEndpoint = "/v1/embeddings"
	ApiEndpointV1fimcompletions      ApiEndpoint = "/v1/fim/completions"
	ApiEndpointV1moderations         ApiEndpoint = "/v1/moderations"
	ApiEndpointV1ocr                 ApiEndpoint = "/v1/ocr"
)

Defines values for ApiEndpoint.

func (ApiEndpoint) Valid

func (e ApiEndpoint) Valid() bool

Valid indicates whether the value is a known member of the ApiEndpoint enum.

type ArchiveFTModelOut

type ArchiveFTModelOut struct {
	Archived *bool                    `json:"archived,omitempty"`
	Id       string                   `json:"id"`
	Object   *ArchiveFTModelOutObject `json:"object,omitempty"`
}

ArchiveFTModelOut defines model for ArchiveFTModelOut.

type ArchiveFTModelOutObject

type ArchiveFTModelOutObject string

ArchiveFTModelOutObject defines model for ArchiveFTModelOut.Object.

const (
	ArchiveFTModelOutObjectModel ArchiveFTModelOutObject = "model"
)

Defines values for ArchiveFTModelOutObject.

func (ArchiveFTModelOutObject) Valid

func (e ArchiveFTModelOutObject) Valid() bool

Valid indicates whether the value is a known member of the ArchiveFTModelOutObject enum.

type ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse

type ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WorkflowArchiveResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse

func ParseArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse(rsp *http.Response) (*ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse, error)

ParseArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse parses an HTTP response from a ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutWithResponse call

func (ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) GetBody

GetBody returns the raw response body bytes

func (ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) Status

Status returns HTTPResponse.Status

func (ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AssistantMessage

type AssistantMessage struct {
	Content *AssistantMessage_Content `json:"content,omitempty"`

	// Prefix Set this to `true` when adding an assistant message as prefix to condition the model response. The role of the prefix message is to force the model to start its answer by the content of the message.
	Prefix    *bool                 `json:"prefix,omitempty"`
	Role      *AssistantMessageRole `json:"role,omitempty"`
	ToolCalls *[]ToolCall           `json:"tool_calls,omitempty"`
}

AssistantMessage defines model for AssistantMessage.

type AssistantMessageContent0

type AssistantMessageContent0 = string

AssistantMessageContent0 defines model for AssistantMessage.Content.0.

type AssistantMessageContent2

type AssistantMessageContent2 = []ContentChunk

AssistantMessageContent2 defines model for AssistantMessage.Content.2.

type AssistantMessageRole

type AssistantMessageRole string

AssistantMessageRole defines model for AssistantMessage.Role.

const (
	AssistantMessageRoleAssistant AssistantMessageRole = "assistant"
)

Defines values for AssistantMessageRole.

func (AssistantMessageRole) Valid

func (e AssistantMessageRole) Valid() bool

Valid indicates whether the value is a known member of the AssistantMessageRole enum.

type AssistantMessage_Content

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

AssistantMessage_Content defines model for AssistantMessage.Content.

func (AssistantMessage_Content) AsAssistantMessageContent0

func (t AssistantMessage_Content) AsAssistantMessageContent0() (AssistantMessageContent0, error)

AsAssistantMessageContent0 returns the union data inside the AssistantMessage_Content as a AssistantMessageContent0

func (AssistantMessage_Content) AsAssistantMessageContent2

func (t AssistantMessage_Content) AsAssistantMessageContent2() (AssistantMessageContent2, error)

AsAssistantMessageContent2 returns the union data inside the AssistantMessage_Content as a AssistantMessageContent2

func (*AssistantMessage_Content) FromAssistantMessageContent0

func (t *AssistantMessage_Content) FromAssistantMessageContent0(v AssistantMessageContent0) error

FromAssistantMessageContent0 overwrites any union data inside the AssistantMessage_Content as the provided AssistantMessageContent0

func (*AssistantMessage_Content) FromAssistantMessageContent2

func (t *AssistantMessage_Content) FromAssistantMessageContent2(v AssistantMessageContent2) error

FromAssistantMessageContent2 overwrites any union data inside the AssistantMessage_Content as the provided AssistantMessageContent2

func (AssistantMessage_Content) MarshalJSON

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

func (*AssistantMessage_Content) MergeAssistantMessageContent0

func (t *AssistantMessage_Content) MergeAssistantMessageContent0(v AssistantMessageContent0) error

MergeAssistantMessageContent0 performs a merge with any union data inside the AssistantMessage_Content, using the provided AssistantMessageContent0

func (*AssistantMessage_Content) MergeAssistantMessageContent2

func (t *AssistantMessage_Content) MergeAssistantMessageContent2(v AssistantMessageContent2) error

MergeAssistantMessageContent2 performs a merge with any union data inside the AssistantMessage_Content, using the provided AssistantMessageContent2

func (*AssistantMessage_Content) UnmarshalJSON

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

type AudioApiV1TranscriptionsPostMultipartRequestBody

type AudioApiV1TranscriptionsPostMultipartRequestBody = AudioTranscriptionRequest

AudioApiV1TranscriptionsPostMultipartRequestBody defines body for AudioApiV1TranscriptionsPost for multipart/form-data ContentType.

type AudioApiV1TranscriptionsPostResponse

type AudioApiV1TranscriptionsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TranscriptionResponse
}

func ParseAudioApiV1TranscriptionsPostResponse

func ParseAudioApiV1TranscriptionsPostResponse(rsp *http.Response) (*AudioApiV1TranscriptionsPostResponse, error)

ParseAudioApiV1TranscriptionsPostResponse parses an HTTP response from a AudioApiV1TranscriptionsPostWithResponse call

func (AudioApiV1TranscriptionsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AudioApiV1TranscriptionsPostResponse) GetBody

GetBody returns the raw response body bytes

func (AudioApiV1TranscriptionsPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AudioApiV1TranscriptionsPostResponse) Status

Status returns HTTPResponse.Status

func (AudioApiV1TranscriptionsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AudioApiV1TranscriptionsPostStreamMultipartRequestBody

type AudioApiV1TranscriptionsPostStreamMultipartRequestBody = AudioTranscriptionRequestStream

AudioApiV1TranscriptionsPostStreamMultipartRequestBody defines body for AudioApiV1TranscriptionsPostStream for multipart/form-data ContentType.

type AudioApiV1TranscriptionsPostStreamResponse

type AudioApiV1TranscriptionsPostStreamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseAudioApiV1TranscriptionsPostStreamResponse

func ParseAudioApiV1TranscriptionsPostStreamResponse(rsp *http.Response) (*AudioApiV1TranscriptionsPostStreamResponse, error)

ParseAudioApiV1TranscriptionsPostStreamResponse parses an HTTP response from a AudioApiV1TranscriptionsPostStreamWithResponse call

func (AudioApiV1TranscriptionsPostStreamResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (AudioApiV1TranscriptionsPostStreamResponse) GetBody

GetBody returns the raw response body bytes

func (AudioApiV1TranscriptionsPostStreamResponse) Status

Status returns HTTPResponse.Status

func (AudioApiV1TranscriptionsPostStreamResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AudioChunk

type AudioChunk struct {
	InputAudio AudioChunk_InputAudio `json:"input_audio"`
	Type       *AudioChunkType       `json:"type,omitempty"`
}

AudioChunk defines model for AudioChunk.

type AudioChunkInputAudio0

type AudioChunkInputAudio0 = string

AudioChunkInputAudio0 defines model for AudioChunk.InputAudio.0.

type AudioChunkInputAudio1

type AudioChunkInputAudio1 = openapi_types.File

AudioChunkInputAudio1 defines model for AudioChunk.InputAudio.1.

type AudioChunkType

type AudioChunkType string

AudioChunkType defines model for AudioChunk.Type.

const (
	AudioChunkTypeInputAudio AudioChunkType = "input_audio"
)

Defines values for AudioChunkType.

func (AudioChunkType) Valid

func (e AudioChunkType) Valid() bool

Valid indicates whether the value is a known member of the AudioChunkType enum.

type AudioChunk_InputAudio

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

AudioChunk_InputAudio defines model for AudioChunk.InputAudio.

func (AudioChunk_InputAudio) AsAudioChunkInputAudio0

func (t AudioChunk_InputAudio) AsAudioChunkInputAudio0() (AudioChunkInputAudio0, error)

AsAudioChunkInputAudio0 returns the union data inside the AudioChunk_InputAudio as a AudioChunkInputAudio0

func (AudioChunk_InputAudio) AsAudioChunkInputAudio1

func (t AudioChunk_InputAudio) AsAudioChunkInputAudio1() (AudioChunkInputAudio1, error)

AsAudioChunkInputAudio1 returns the union data inside the AudioChunk_InputAudio as a AudioChunkInputAudio1

func (*AudioChunk_InputAudio) FromAudioChunkInputAudio0

func (t *AudioChunk_InputAudio) FromAudioChunkInputAudio0(v AudioChunkInputAudio0) error

FromAudioChunkInputAudio0 overwrites any union data inside the AudioChunk_InputAudio as the provided AudioChunkInputAudio0

func (*AudioChunk_InputAudio) FromAudioChunkInputAudio1

func (t *AudioChunk_InputAudio) FromAudioChunkInputAudio1(v AudioChunkInputAudio1) error

FromAudioChunkInputAudio1 overwrites any union data inside the AudioChunk_InputAudio as the provided AudioChunkInputAudio1

func (AudioChunk_InputAudio) MarshalJSON

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

func (*AudioChunk_InputAudio) MergeAudioChunkInputAudio0

func (t *AudioChunk_InputAudio) MergeAudioChunkInputAudio0(v AudioChunkInputAudio0) error

MergeAudioChunkInputAudio0 performs a merge with any union data inside the AudioChunk_InputAudio, using the provided AudioChunkInputAudio0

func (*AudioChunk_InputAudio) MergeAudioChunkInputAudio1

func (t *AudioChunk_InputAudio) MergeAudioChunkInputAudio1(v AudioChunkInputAudio1) error

MergeAudioChunkInputAudio1 performs a merge with any union data inside the AudioChunk_InputAudio, using the provided AudioChunkInputAudio1

func (*AudioChunk_InputAudio) UnmarshalJSON

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

type AudioContent

type AudioContent struct {
	UnderscoreMeta       *map[string]interface{} `json:"_meta,omitempty"`
	Annotations          *Annotations            `json:"annotations,omitempty"`
	Data                 string                  `json:"data"`
	MimeType             string                  `json:"mimeType"`
	Type                 AudioContentType        `json:"type"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

AudioContent Audio content for a message.

func (AudioContent) Get

func (a AudioContent) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for AudioContent. Returns the specified element and whether it was found

func (AudioContent) MarshalJSON

func (a AudioContent) MarshalJSON() ([]byte, error)

Override default JSON handling for AudioContent to handle AdditionalProperties

func (*AudioContent) Set

func (a *AudioContent) Set(fieldName string, value interface{})

Setter for additional properties for AudioContent

func (*AudioContent) UnmarshalJSON

func (a *AudioContent) UnmarshalJSON(b []byte) error

Override default JSON handling for AudioContent to handle AdditionalProperties

type AudioContentType

type AudioContentType string

AudioContentType defines model for AudioContent.Type.

const (
	AudioContentTypeAudio AudioContentType = "audio"
)

Defines values for AudioContentType.

func (AudioContentType) Valid

func (e AudioContentType) Valid() bool

Valid indicates whether the value is a known member of the AudioContentType enum.

type AudioTranscriptionRequest

type AudioTranscriptionRequest struct {
	ContextBias *[]string `json:"context_bias,omitempty"`
	Diarize     *bool     `json:"diarize,omitempty"`
	File        *File     `json:"file,omitempty"`

	// FileId ID of a file uploaded to /v1/files
	FileId *string `json:"file_id,omitempty"`

	// FileUrl Url of a file to be transcribed
	FileUrl *string `json:"file_url,omitempty"`

	// Language Language of the audio, e.g. 'en'. Providing the language can boost accuracy.
	Language *string `json:"language,omitempty"`

	// Model ID of the model to be used.
	//
	// Examples: voxtral-mini-latest, voxtral-mini-2507
	Model       string   `json:"model"`
	Stream      *bool    `json:"stream,omitempty"`
	Temperature *float32 `json:"temperature,omitempty"`

	// TimestampGranularities Granularities of timestamps to include in the response.
	TimestampGranularities *[]TimestampGranularity `json:"timestamp_granularities,omitempty"`
}

AudioTranscriptionRequest defines model for AudioTranscriptionRequest.

type AudioTranscriptionRequestStream

type AudioTranscriptionRequestStream struct {
	ContextBias *[]string `json:"context_bias,omitempty"`
	Diarize     *bool     `json:"diarize,omitempty"`
	File        *File     `json:"file,omitempty"`

	// FileId ID of a file uploaded to /v1/files
	FileId *string `json:"file_id,omitempty"`

	// FileUrl Url of a file to be transcribed
	FileUrl *string `json:"file_url,omitempty"`

	// Language Language of the audio, e.g. 'en'. Providing the language can boost accuracy.
	Language    *string  `json:"language,omitempty"`
	Model       string   `json:"model"`
	Stream      *bool    `json:"stream,omitempty"`
	Temperature *float32 `json:"temperature,omitempty"`

	// TimestampGranularities Granularities of timestamps to include in the response.
	TimestampGranularities *[]TimestampGranularity `json:"timestamp_granularities,omitempty"`
}

AudioTranscriptionRequestStream defines model for AudioTranscriptionRequestStream.

type AuthData

type AuthData struct {
	ClientId     string `json:"client_id"`
	ClientSecret string `json:"client_secret"`
}

AuthData defines model for AuthData.

type AuthUrlResponse

type AuthUrlResponse struct {
	AuthUrl string `json:"auth_url"`
	Ttl     int    `json:"ttl"`
}

AuthUrlResponse defines model for AuthUrlResponse.

type AuthenticationConfiguration

type AuthenticationConfiguration struct {
	AuthenticationType OutboundAuthenticationType `json:"authentication_type"`
	IsDefault          *bool                      `json:"is_default,omitempty"`
	Name               string                     `json:"name"`
}

AuthenticationConfiguration defines model for AuthenticationConfiguration.

type BaseFieldDefinition

type BaseFieldDefinition struct {
	Group              *string                                  `json:"group,omitempty"`
	Label              string                                   `json:"label"`
	Name               string                                   `json:"name"`
	SupportedOperators *[]BaseFieldDefinitionSupportedOperators `json:"supported_operators,omitempty"`
	Type               BaseFieldDefinitionType                  `json:"type"`
}

BaseFieldDefinition defines model for BaseFieldDefinition.

type BaseFieldDefinitionSupportedOperators

type BaseFieldDefinitionSupportedOperators string

BaseFieldDefinitionSupportedOperators defines model for BaseFieldDefinition.SupportedOperators.

const (
	BaseFieldDefinitionSupportedOperatorsContains     BaseFieldDefinitionSupportedOperators = "contains"
	BaseFieldDefinitionSupportedOperatorsEndswith     BaseFieldDefinitionSupportedOperators = "endswith"
	BaseFieldDefinitionSupportedOperatorsEq           BaseFieldDefinitionSupportedOperators = "eq"
	BaseFieldDefinitionSupportedOperatorsExcludes     BaseFieldDefinitionSupportedOperators = "excludes"
	BaseFieldDefinitionSupportedOperatorsGt           BaseFieldDefinitionSupportedOperators = "gt"
	BaseFieldDefinitionSupportedOperatorsGte          BaseFieldDefinitionSupportedOperators = "gte"
	BaseFieldDefinitionSupportedOperatorsIcontains    BaseFieldDefinitionSupportedOperators = "icontains"
	BaseFieldDefinitionSupportedOperatorsIendswith    BaseFieldDefinitionSupportedOperators = "iendswith"
	BaseFieldDefinitionSupportedOperatorsIncludes     BaseFieldDefinitionSupportedOperators = "includes"
	BaseFieldDefinitionSupportedOperatorsInotcontains BaseFieldDefinitionSupportedOperators = "inotcontains"
	BaseFieldDefinitionSupportedOperatorsIsnull       BaseFieldDefinitionSupportedOperators = "isnull"
	BaseFieldDefinitionSupportedOperatorsIstartswith  BaseFieldDefinitionSupportedOperators = "istartswith"
	BaseFieldDefinitionSupportedOperatorsLenEq        BaseFieldDefinitionSupportedOperators = "len_eq"
	BaseFieldDefinitionSupportedOperatorsLt           BaseFieldDefinitionSupportedOperators = "lt"
	BaseFieldDefinitionSupportedOperatorsLte          BaseFieldDefinitionSupportedOperators = "lte"
	BaseFieldDefinitionSupportedOperatorsMatches      BaseFieldDefinitionSupportedOperators = "matches"
	BaseFieldDefinitionSupportedOperatorsNeq          BaseFieldDefinitionSupportedOperators = "neq"
	BaseFieldDefinitionSupportedOperatorsNotcontains  BaseFieldDefinitionSupportedOperators = "notcontains"
	BaseFieldDefinitionSupportedOperatorsStartswith   BaseFieldDefinitionSupportedOperators = "startswith"
)

Defines values for BaseFieldDefinitionSupportedOperators.

func (BaseFieldDefinitionSupportedOperators) Valid

Valid indicates whether the value is a known member of the BaseFieldDefinitionSupportedOperators enum.

type BaseFieldDefinitionType

type BaseFieldDefinitionType string

BaseFieldDefinitionType defines model for BaseFieldDefinition.Type.

const (
	BaseFieldDefinitionTypeARRAY     BaseFieldDefinitionType = "ARRAY"
	BaseFieldDefinitionTypeBOOL      BaseFieldDefinitionType = "BOOL"
	BaseFieldDefinitionTypeENUM      BaseFieldDefinitionType = "ENUM"
	BaseFieldDefinitionTypeFLOAT     BaseFieldDefinitionType = "FLOAT"
	BaseFieldDefinitionTypeINT       BaseFieldDefinitionType = "INT"
	BaseFieldDefinitionTypeTEXT      BaseFieldDefinitionType = "TEXT"
	BaseFieldDefinitionTypeTIMESTAMP BaseFieldDefinitionType = "TIMESTAMP"
)

Defines values for BaseFieldDefinitionType.

func (BaseFieldDefinitionType) Valid

func (e BaseFieldDefinitionType) Valid() bool

Valid indicates whether the value is a known member of the BaseFieldDefinitionType enum.

type BaseModelCard

type BaseModelCard struct {
	Aliases                     *[]string          `json:"aliases,omitempty"`
	Capabilities                ModelCapabilities  `json:"capabilities"`
	Created                     *int               `json:"created,omitempty"`
	DefaultModelTemperature     *float32           `json:"default_model_temperature,omitempty"`
	Deprecation                 *time.Time         `json:"deprecation,omitempty"`
	DeprecationReplacementModel *string            `json:"deprecation_replacement_model,omitempty"`
	Description                 *string            `json:"description,omitempty"`
	Id                          string             `json:"id"`
	MaxContextLength            *int               `json:"max_context_length,omitempty"`
	Name                        *string            `json:"name,omitempty"`
	Object                      *string            `json:"object,omitempty"`
	OwnedBy                     *string            `json:"owned_by,omitempty"`
	Type                        *BaseModelCardType `json:"type,omitempty"`
}

BaseModelCard defines model for BaseModelCard.

type BaseModelCardType

type BaseModelCardType string

BaseModelCardType defines model for BaseModelCard.Type.

const (
	BaseModelCardTypeBase BaseModelCardType = "base"
)

Defines values for BaseModelCardType.

func (BaseModelCardType) Valid

func (e BaseModelCardType) Valid() bool

Valid indicates whether the value is a known member of the BaseModelCardType enum.

type BaseTaskStatus

type BaseTaskStatus string

BaseTaskStatus defines model for BaseTaskStatus.

const (
	BaseTaskStatusCANCELED       BaseTaskStatus = "CANCELED"
	BaseTaskStatusCOMPLETED      BaseTaskStatus = "COMPLETED"
	BaseTaskStatusCONTINUEDASNEW BaseTaskStatus = "CONTINUED_AS_NEW"
	BaseTaskStatusFAILED         BaseTaskStatus = "FAILED"
	BaseTaskStatusRUNNING        BaseTaskStatus = "RUNNING"
	BaseTaskStatusTERMINATED     BaseTaskStatus = "TERMINATED"
	BaseTaskStatusTIMEDOUT       BaseTaskStatus = "TIMED_OUT"
	BaseTaskStatusUNKNOWN        BaseTaskStatus = "UNKNOWN"
)

Defines values for BaseTaskStatus.

func (BaseTaskStatus) Valid

func (e BaseTaskStatus) Valid() bool

Valid indicates whether the value is a known member of the BaseTaskStatus enum.

type BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostJSONRequestBody

type BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostJSONRequestBody = BatchExecutionBody

BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostJSONRequestBody defines body for BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost for application/json ContentType.

type BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse

type BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BatchExecutionResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse

func ParseBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse(rsp *http.Response) (*BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse, error)

ParseBatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse parses an HTTP response from a BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithResponse call

func (BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) GetBody

GetBody returns the raw response body bytes

func (BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) Status

Status returns HTTPResponse.Status

func (BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BatchError

type BatchError struct {
	Count   *int   `json:"count,omitempty"`
	Message string `json:"message"`
}

BatchError defines model for BatchError.

type BatchExecutionBody

type BatchExecutionBody struct {
	// ExecutionIds List of execution IDs to process
	ExecutionIds []string `json:"execution_ids"`
}

BatchExecutionBody defines model for BatchExecutionBody.

type BatchExecutionResponse

type BatchExecutionResponse struct {
	// Results Mapping of execution_id to result with status and optional error message
	Results *map[string]BatchExecutionResult `json:"results,omitempty"`
}

BatchExecutionResponse defines model for BatchExecutionResponse.

type BatchExecutionResult

type BatchExecutionResult struct {
	// Error Error message if operation failed
	Error *string `json:"error,omitempty"`

	// Status Status of the operation (success/failure)
	Status string `json:"status"`
}

BatchExecutionResult defines model for BatchExecutionResult.

type BatchJobIn

type BatchJobIn struct {
	// AgentId In case you want to use a specific agent from the **deprecated** agents api for batch inference, you can specify the agent ID here.
	AgentId *string `json:"agent_id,omitempty"`

	// Endpoint The endpoint to be used for batch inference.
	//
	// Examples: /v1/chat/completions, /v1/embeddings, /v1/fim/completions
	Endpoint ApiEndpoint `json:"endpoint"`

	// InputFiles The list of input files to be used for batch inference, these files should be `jsonl` files, containing the input data corresponding to the bory request for the batch inference in a "body" field. An example of such file is the following: “`json {"custom_id": "0", "body": {"max_tokens": 100, "messages": [{"role": "user", "content": "What is the best French cheese?"}]}} {"custom_id": "1", "body": {"max_tokens": 100, "messages": [{"role": "user", "content": "What is the best French wine?"}]}} “`
	InputFiles *[]openapi_types.UUID `json:"input_files,omitempty"`

	// Metadata The metadata of your choice to be associated with the batch inference job.
	Metadata *map[string]string `json:"metadata,omitempty"`

	// Model The model to be used for batch inference.
	//
	// Examples: mistral-small-latest, mistral-medium-latest
	Model    *string         `json:"model,omitempty"`
	Requests *[]BatchRequest `json:"requests,omitempty"`

	// TimeoutHours The timeout in hours for the batch inference job.
	TimeoutHours *int `json:"timeout_hours,omitempty"`
}

BatchJobIn defines model for BatchJobIn.

type BatchJobOut

type BatchJobOut struct {
	AgentId           *string                   `json:"agent_id,omitempty"`
	CompletedAt       *int                      `json:"completed_at,omitempty"`
	CompletedRequests int                       `json:"completed_requests"`
	CreatedAt         int                       `json:"created_at"`
	Endpoint          string                    `json:"endpoint"`
	ErrorFile         *openapi_types.UUID       `json:"error_file,omitempty"`
	Errors            []BatchError              `json:"errors"`
	FailedRequests    int                       `json:"failed_requests"`
	Id                string                    `json:"id"`
	InputFiles        []openapi_types.UUID      `json:"input_files"`
	Metadata          *map[string]interface{}   `json:"metadata,omitempty"`
	Model             *string                   `json:"model,omitempty"`
	Object            *BatchJobOutObject        `json:"object,omitempty"`
	OutputFile        *openapi_types.UUID       `json:"output_file,omitempty"`
	Outputs           *[]map[string]interface{} `json:"outputs,omitempty"`
	StartedAt         *int                      `json:"started_at,omitempty"`
	Status            BatchJobStatus            `json:"status"`
	SucceededRequests int                       `json:"succeeded_requests"`
	TotalRequests     int                       `json:"total_requests"`
}

BatchJobOut defines model for BatchJobOut.

type BatchJobOutObject

type BatchJobOutObject string

BatchJobOutObject defines model for BatchJobOut.Object.

const (
	BatchJobOutObjectBatch BatchJobOutObject = "batch"
)

Defines values for BatchJobOutObject.

func (BatchJobOutObject) Valid

func (e BatchJobOutObject) Valid() bool

Valid indicates whether the value is a known member of the BatchJobOutObject enum.

type BatchJobStatus

type BatchJobStatus string

BatchJobStatus defines model for BatchJobStatus.

const (
	BatchJobStatusCANCELLATIONREQUESTED BatchJobStatus = "CANCELLATION_REQUESTED"
	BatchJobStatusCANCELLED             BatchJobStatus = "CANCELLED"
	BatchJobStatusFAILED                BatchJobStatus = "FAILED"
	BatchJobStatusQUEUED                BatchJobStatus = "QUEUED"
	BatchJobStatusRUNNING               BatchJobStatus = "RUNNING"
	BatchJobStatusSUCCESS               BatchJobStatus = "SUCCESS"
	BatchJobStatusTIMEOUTEXCEEDED       BatchJobStatus = "TIMEOUT_EXCEEDED"
)

Defines values for BatchJobStatus.

func (BatchJobStatus) Valid

func (e BatchJobStatus) Valid() bool

Valid indicates whether the value is a known member of the BatchJobStatus enum.

type BatchJobsOut

type BatchJobsOut struct {
	Data   *[]BatchJobOut      `json:"data,omitempty"`
	Object *BatchJobsOutObject `json:"object,omitempty"`
	Total  int                 `json:"total"`
}

BatchJobsOut defines model for BatchJobsOut.

type BatchJobsOutObject

type BatchJobsOutObject string

BatchJobsOutObject defines model for BatchJobsOut.Object.

const (
	BatchJobsOutObjectList BatchJobsOutObject = "list"
)

Defines values for BatchJobsOutObject.

func (BatchJobsOutObject) Valid

func (e BatchJobsOutObject) Valid() bool

Valid indicates whether the value is a known member of the BatchJobsOutObject enum.

type BatchRequest

type BatchRequest struct {
	Body     map[string]interface{} `json:"body"`
	CustomId *string                `json:"custom_id,omitempty"`
}

BatchRequest defines model for BatchRequest.

type BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostJSONRequestBody

type BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostJSONRequestBody = BatchExecutionBody

BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostJSONRequestBody defines body for BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost for application/json ContentType.

type BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse

type BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BatchExecutionResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse

func ParseBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse(rsp *http.Response) (*BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse, error)

ParseBatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse parses an HTTP response from a BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithResponse call

func (BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) GetBody

GetBody returns the raw response body bytes

func (BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) Status

Status returns HTTPResponse.Status

func (BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type BlobResourceContents

type BlobResourceContents struct {
	UnderscoreMeta       *map[string]interface{} `json:"_meta,omitempty"`
	Blob                 string                  `json:"blob"`
	MimeType             *string                 `json:"mimeType,omitempty"`
	Uri                  string                  `json:"uri"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

BlobResourceContents Binary contents of a resource.

func (BlobResourceContents) Get

func (a BlobResourceContents) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for BlobResourceContents. Returns the specified element and whether it was found

func (BlobResourceContents) MarshalJSON

func (a BlobResourceContents) MarshalJSON() ([]byte, error)

Override default JSON handling for BlobResourceContents to handle AdditionalProperties

func (*BlobResourceContents) Set

func (a *BlobResourceContents) Set(fieldName string, value interface{})

Setter for additional properties for BlobResourceContents

func (*BlobResourceContents) UnmarshalJSON

func (a *BlobResourceContents) UnmarshalJSON(b []byte) error

Override default JSON handling for BlobResourceContents to handle AdditionalProperties

type BuiltInConnectors

type BuiltInConnectors string

BuiltInConnectors defines model for BuiltInConnectors.

const (
	BuiltInConnectorsCodeInterpreter  BuiltInConnectors = "code_interpreter"
	BuiltInConnectorsDocumentLibrary  BuiltInConnectors = "document_library"
	BuiltInConnectorsImageGeneration  BuiltInConnectors = "image_generation"
	BuiltInConnectorsWebSearch        BuiltInConnectors = "web_search"
	BuiltInConnectorsWebSearchPremium BuiltInConnectors = "web_search_premium"
)

Defines values for BuiltInConnectors.

func (BuiltInConnectors) Valid

func (e BuiltInConnectors) Valid() bool

Valid indicates whether the value is a known member of the BuiltInConnectors enum.

type CampaignPreview

type CampaignPreview struct {
	CreatedAt    time.Time          `json:"created_at"`
	DeletedAt    *time.Time         `json:"deleted_at"`
	Description  string             `json:"description"`
	Id           openapi_types.UUID `json:"id"`
	Judge        JudgePreview       `json:"judge"`
	MaxNbEvents  int                `json:"max_nb_events"`
	Name         string             `json:"name"`
	OwnerId      openapi_types.UUID `json:"owner_id"`
	SearchParams FilterPayload      `json:"search_params"`
	UpdatedAt    time.Time          `json:"updated_at"`
	WorkspaceId  openapi_types.UUID `json:"workspace_id"`
}

CampaignPreview defines model for CampaignPreview.

type CampaignPreviews

type CampaignPreviews struct {
	Campaigns PaginatedResultCampaignPreview `json:"campaigns"`
}

CampaignPreviews defines model for CampaignPreviews.

type CampaignSelectedEvents

type CampaignSelectedEvents struct {
	CompletionEvents PaginatedResultChatCompletionEventPreview `json:"completion_events"`
}

CampaignSelectedEvents defines model for CampaignSelectedEvents.

type CampaignStatus

type CampaignStatus struct {
	Status BaseTaskStatus `json:"status"`
}

CampaignStatus defines model for CampaignStatus.

type CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse

type CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseCancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse

func ParseCancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse(rsp *http.Response) (*CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse, error)

ParseCancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse parses an HTTP response from a CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostWithResponse call

func (CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) GetBody

GetBody returns the raw response body bytes

func (CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) Status

Status returns HTTPResponse.Status

func (CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ChatClassificationRequest

type ChatClassificationRequest struct {
	// Input Chat to classify
	Input ChatClassificationRequestInputs `json:"input"`
	Model string                          `json:"model"`
}

ChatClassificationRequest defines model for ChatClassificationRequest.

type ChatClassificationRequestInputs

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

ChatClassificationRequestInputs Chat to classify

func (ChatClassificationRequestInputs) AsChatClassificationRequestInputs1

func (t ChatClassificationRequestInputs) AsChatClassificationRequestInputs1() (ChatClassificationRequestInputs1, error)

AsChatClassificationRequestInputs1 returns the union data inside the ChatClassificationRequestInputs as a ChatClassificationRequestInputs1

func (ChatClassificationRequestInputs) AsInstructRequest

func (t ChatClassificationRequestInputs) AsInstructRequest() (InstructRequest, error)

AsInstructRequest returns the union data inside the ChatClassificationRequestInputs as a InstructRequest

func (*ChatClassificationRequestInputs) FromChatClassificationRequestInputs1

func (t *ChatClassificationRequestInputs) FromChatClassificationRequestInputs1(v ChatClassificationRequestInputs1) error

FromChatClassificationRequestInputs1 overwrites any union data inside the ChatClassificationRequestInputs as the provided ChatClassificationRequestInputs1

func (*ChatClassificationRequestInputs) FromInstructRequest

func (t *ChatClassificationRequestInputs) FromInstructRequest(v InstructRequest) error

FromInstructRequest overwrites any union data inside the ChatClassificationRequestInputs as the provided InstructRequest

func (ChatClassificationRequestInputs) MarshalJSON

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

func (*ChatClassificationRequestInputs) MergeChatClassificationRequestInputs1

func (t *ChatClassificationRequestInputs) MergeChatClassificationRequestInputs1(v ChatClassificationRequestInputs1) error

MergeChatClassificationRequestInputs1 performs a merge with any union data inside the ChatClassificationRequestInputs, using the provided ChatClassificationRequestInputs1

func (*ChatClassificationRequestInputs) MergeInstructRequest

func (t *ChatClassificationRequestInputs) MergeInstructRequest(v InstructRequest) error

MergeInstructRequest performs a merge with any union data inside the ChatClassificationRequestInputs, using the provided InstructRequest

func (*ChatClassificationRequestInputs) UnmarshalJSON

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

type ChatClassificationRequestInputs1

type ChatClassificationRequestInputs1 = []InstructRequest

ChatClassificationRequestInputs1 defines model for ChatClassificationRequestInputs.1.

type ChatClassificationsV1ChatClassificationsPostJSONRequestBody

type ChatClassificationsV1ChatClassificationsPostJSONRequestBody = ChatClassificationRequest

ChatClassificationsV1ChatClassificationsPostJSONRequestBody defines body for ChatClassificationsV1ChatClassificationsPost for application/json ContentType.

type ChatClassificationsV1ChatClassificationsPostResponse

type ChatClassificationsV1ChatClassificationsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ClassificationResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseChatClassificationsV1ChatClassificationsPostResponse

func ParseChatClassificationsV1ChatClassificationsPostResponse(rsp *http.Response) (*ChatClassificationsV1ChatClassificationsPostResponse, error)

ParseChatClassificationsV1ChatClassificationsPostResponse parses an HTTP response from a ChatClassificationsV1ChatClassificationsPostWithResponse call

func (ChatClassificationsV1ChatClassificationsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ChatClassificationsV1ChatClassificationsPostResponse) GetBody

GetBody returns the raw response body bytes

func (ChatClassificationsV1ChatClassificationsPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ChatClassificationsV1ChatClassificationsPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ChatClassificationsV1ChatClassificationsPostResponse) Status

Status returns HTTPResponse.Status

func (ChatClassificationsV1ChatClassificationsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ChatCompletionChoice

type ChatCompletionChoice struct {
	FinishReason ChatCompletionChoiceFinishReason `json:"finish_reason"`
	Index        int                              `json:"index"`
	Message      AssistantMessage                 `json:"message"`
}

ChatCompletionChoice defines model for ChatCompletionChoice.

type ChatCompletionChoiceFinishReason

type ChatCompletionChoiceFinishReason string

ChatCompletionChoiceFinishReason defines model for ChatCompletionChoice.FinishReason.

const (
	ChatCompletionChoiceFinishReasonError       ChatCompletionChoiceFinishReason = "error"
	ChatCompletionChoiceFinishReasonLength      ChatCompletionChoiceFinishReason = "length"
	ChatCompletionChoiceFinishReasonModelLength ChatCompletionChoiceFinishReason = "model_length"
	ChatCompletionChoiceFinishReasonStop        ChatCompletionChoiceFinishReason = "stop"
	ChatCompletionChoiceFinishReasonToolCalls   ChatCompletionChoiceFinishReason = "tool_calls"
)

Defines values for ChatCompletionChoiceFinishReason.

func (ChatCompletionChoiceFinishReason) Valid

Valid indicates whether the value is a known member of the ChatCompletionChoiceFinishReason enum.

type ChatCompletionEvent

type ChatCompletionEvent struct {
	ChatTranscriptionEvents []ChatTranscriptionEvent                                         `json:"chat_transcription_events"`
	CorrelationId           string                                                           `json:"correlation_id"`
	CreatedAt               time.Time                                                        `json:"created_at"`
	EnabledTools            []map[string]interface{}                                         `json:"enabled_tools"`
	EventId                 string                                                           `json:"event_id"`
	ExtraFields             map[string]*ChatCompletionEvent_ExtraFields_AdditionalProperties `json:"extra_fields"`
	NbInputTokens           int                                                              `json:"nb_input_tokens"`
	NbMessages              int                                                              `json:"nb_messages"`
	NbOutputTokens          int                                                              `json:"nb_output_tokens"`
	RequestMessages         []map[string]interface{}                                         `json:"request_messages"`
	ResponseMessages        []map[string]interface{}                                         `json:"response_messages"`
}

ChatCompletionEvent defines model for ChatCompletionEvent.

type ChatCompletionEventExtraFields0

type ChatCompletionEventExtraFields0 = bool

ChatCompletionEventExtraFields0 defines model for ChatCompletionEvent.ExtraFields.0.

type ChatCompletionEventExtraFields1

type ChatCompletionEventExtraFields1 = int

ChatCompletionEventExtraFields1 defines model for ChatCompletionEvent.ExtraFields.1.

type ChatCompletionEventExtraFields2

type ChatCompletionEventExtraFields2 = float32

ChatCompletionEventExtraFields2 defines model for ChatCompletionEvent.ExtraFields.2.

type ChatCompletionEventExtraFields3

type ChatCompletionEventExtraFields3 = string

ChatCompletionEventExtraFields3 defines model for ChatCompletionEvent.ExtraFields.3.

type ChatCompletionEventExtraFields4

type ChatCompletionEventExtraFields4 = time.Time

ChatCompletionEventExtraFields4 defines model for ChatCompletionEvent.ExtraFields.4.

type ChatCompletionEventExtraFields5

type ChatCompletionEventExtraFields5 = []string

ChatCompletionEventExtraFields5 defines model for ChatCompletionEvent.ExtraFields.5.

type ChatCompletionEventIds

type ChatCompletionEventIds struct {
	CompletionEventIds []string `json:"completion_event_ids"`
}

ChatCompletionEventIds defines model for ChatCompletionEventIds.

type ChatCompletionEventPreview

type ChatCompletionEventPreview struct {
	CorrelationId  string                                                                  `json:"correlation_id"`
	CreatedAt      time.Time                                                               `json:"created_at"`
	EventId        string                                                                  `json:"event_id"`
	ExtraFields    map[string]*ChatCompletionEventPreview_ExtraFields_AdditionalProperties `json:"extra_fields"`
	NbInputTokens  int                                                                     `json:"nb_input_tokens"`
	NbOutputTokens int                                                                     `json:"nb_output_tokens"`
}

ChatCompletionEventPreview defines model for ChatCompletionEventPreview.

type ChatCompletionEventPreviewExtraFields0

type ChatCompletionEventPreviewExtraFields0 = bool

ChatCompletionEventPreviewExtraFields0 defines model for ChatCompletionEventPreview.ExtraFields.0.

type ChatCompletionEventPreviewExtraFields1

type ChatCompletionEventPreviewExtraFields1 = int

ChatCompletionEventPreviewExtraFields1 defines model for ChatCompletionEventPreview.ExtraFields.1.

type ChatCompletionEventPreviewExtraFields2

type ChatCompletionEventPreviewExtraFields2 = float32

ChatCompletionEventPreviewExtraFields2 defines model for ChatCompletionEventPreview.ExtraFields.2.

type ChatCompletionEventPreviewExtraFields3

type ChatCompletionEventPreviewExtraFields3 = string

ChatCompletionEventPreviewExtraFields3 defines model for ChatCompletionEventPreview.ExtraFields.3.

type ChatCompletionEventPreviewExtraFields4

type ChatCompletionEventPreviewExtraFields4 = time.Time

ChatCompletionEventPreviewExtraFields4 defines model for ChatCompletionEventPreview.ExtraFields.4.

type ChatCompletionEventPreviewExtraFields5

type ChatCompletionEventPreviewExtraFields5 = []string

ChatCompletionEventPreviewExtraFields5 defines model for ChatCompletionEventPreview.ExtraFields.5.

type ChatCompletionEventPreview_ExtraFields_AdditionalProperties

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

ChatCompletionEventPreview_ExtraFields_AdditionalProperties defines model for ChatCompletionEventPreview.extra_fields.AdditionalProperties.

func (ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields0

AsChatCompletionEventPreviewExtraFields0 returns the union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as a ChatCompletionEventPreviewExtraFields0

func (ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields1

AsChatCompletionEventPreviewExtraFields1 returns the union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as a ChatCompletionEventPreviewExtraFields1

func (ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields2

AsChatCompletionEventPreviewExtraFields2 returns the union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as a ChatCompletionEventPreviewExtraFields2

func (ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields3

AsChatCompletionEventPreviewExtraFields3 returns the union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as a ChatCompletionEventPreviewExtraFields3

func (ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields4

AsChatCompletionEventPreviewExtraFields4 returns the union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as a ChatCompletionEventPreviewExtraFields4

func (ChatCompletionEventPreview_ExtraFields_AdditionalProperties) AsChatCompletionEventPreviewExtraFields5

AsChatCompletionEventPreviewExtraFields5 returns the union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as a ChatCompletionEventPreviewExtraFields5

func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields0

FromChatCompletionEventPreviewExtraFields0 overwrites any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as the provided ChatCompletionEventPreviewExtraFields0

func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields1

FromChatCompletionEventPreviewExtraFields1 overwrites any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as the provided ChatCompletionEventPreviewExtraFields1

func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields2

FromChatCompletionEventPreviewExtraFields2 overwrites any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as the provided ChatCompletionEventPreviewExtraFields2

func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields3

FromChatCompletionEventPreviewExtraFields3 overwrites any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as the provided ChatCompletionEventPreviewExtraFields3

func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields4

FromChatCompletionEventPreviewExtraFields4 overwrites any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as the provided ChatCompletionEventPreviewExtraFields4

func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) FromChatCompletionEventPreviewExtraFields5

FromChatCompletionEventPreviewExtraFields5 overwrites any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties as the provided ChatCompletionEventPreviewExtraFields5

func (ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MarshalJSON

func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields0

MergeChatCompletionEventPreviewExtraFields0 performs a merge with any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventPreviewExtraFields0

func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields1

MergeChatCompletionEventPreviewExtraFields1 performs a merge with any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventPreviewExtraFields1

func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields2

MergeChatCompletionEventPreviewExtraFields2 performs a merge with any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventPreviewExtraFields2

func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields3

MergeChatCompletionEventPreviewExtraFields3 performs a merge with any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventPreviewExtraFields3

func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields4

MergeChatCompletionEventPreviewExtraFields4 performs a merge with any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventPreviewExtraFields4

func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) MergeChatCompletionEventPreviewExtraFields5

MergeChatCompletionEventPreviewExtraFields5 performs a merge with any union data inside the ChatCompletionEventPreview_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventPreviewExtraFields5

func (*ChatCompletionEventPreview_ExtraFields_AdditionalProperties) UnmarshalJSON

type ChatCompletionEvent_ExtraFields_AdditionalProperties

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

ChatCompletionEvent_ExtraFields_AdditionalProperties defines model for ChatCompletionEvent.extra_fields.AdditionalProperties.

func (ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields0

AsChatCompletionEventExtraFields0 returns the union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as a ChatCompletionEventExtraFields0

func (ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields1

AsChatCompletionEventExtraFields1 returns the union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as a ChatCompletionEventExtraFields1

func (ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields2

AsChatCompletionEventExtraFields2 returns the union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as a ChatCompletionEventExtraFields2

func (ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields3

AsChatCompletionEventExtraFields3 returns the union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as a ChatCompletionEventExtraFields3

func (ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields4

AsChatCompletionEventExtraFields4 returns the union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as a ChatCompletionEventExtraFields4

func (ChatCompletionEvent_ExtraFields_AdditionalProperties) AsChatCompletionEventExtraFields5

AsChatCompletionEventExtraFields5 returns the union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as a ChatCompletionEventExtraFields5

func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields0

FromChatCompletionEventExtraFields0 overwrites any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as the provided ChatCompletionEventExtraFields0

func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields1

FromChatCompletionEventExtraFields1 overwrites any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as the provided ChatCompletionEventExtraFields1

func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields2

FromChatCompletionEventExtraFields2 overwrites any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as the provided ChatCompletionEventExtraFields2

func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields3

FromChatCompletionEventExtraFields3 overwrites any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as the provided ChatCompletionEventExtraFields3

func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields4

FromChatCompletionEventExtraFields4 overwrites any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as the provided ChatCompletionEventExtraFields4

func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) FromChatCompletionEventExtraFields5

FromChatCompletionEventExtraFields5 overwrites any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties as the provided ChatCompletionEventExtraFields5

func (ChatCompletionEvent_ExtraFields_AdditionalProperties) MarshalJSON

func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields0

MergeChatCompletionEventExtraFields0 performs a merge with any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventExtraFields0

func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields1

MergeChatCompletionEventExtraFields1 performs a merge with any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventExtraFields1

func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields2

MergeChatCompletionEventExtraFields2 performs a merge with any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventExtraFields2

func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields3

MergeChatCompletionEventExtraFields3 performs a merge with any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventExtraFields3

func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields4

MergeChatCompletionEventExtraFields4 performs a merge with any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventExtraFields4

func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) MergeChatCompletionEventExtraFields5

MergeChatCompletionEventExtraFields5 performs a merge with any union data inside the ChatCompletionEvent_ExtraFields_AdditionalProperties, using the provided ChatCompletionEventExtraFields5

func (*ChatCompletionEvent_ExtraFields_AdditionalProperties) UnmarshalJSON

type ChatCompletionEvents

type ChatCompletionEvents struct {
	CompletionEvents FeedResultChatCompletionEventPreview `json:"completion_events"`
}

ChatCompletionEvents defines model for ChatCompletionEvents.

type ChatCompletionFieldOptions

type ChatCompletionFieldOptions struct {
	Options *[]*ChatCompletionFieldOptions_Options_Item `json:"options,omitempty"`
}

ChatCompletionFieldOptions defines model for ChatCompletionFieldOptions.

type ChatCompletionFieldOptionsOptions0

type ChatCompletionFieldOptionsOptions0 = string

ChatCompletionFieldOptionsOptions0 defines model for ChatCompletionFieldOptions.Options.0.

type ChatCompletionFieldOptionsOptions1

type ChatCompletionFieldOptionsOptions1 = bool

ChatCompletionFieldOptionsOptions1 defines model for ChatCompletionFieldOptions.Options.1.

type ChatCompletionFieldOptions_Options_Item

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

ChatCompletionFieldOptions_Options_Item defines model for ChatCompletionFieldOptions.options.Item.

func (ChatCompletionFieldOptions_Options_Item) AsChatCompletionFieldOptionsOptions0

func (t ChatCompletionFieldOptions_Options_Item) AsChatCompletionFieldOptionsOptions0() (ChatCompletionFieldOptionsOptions0, error)

AsChatCompletionFieldOptionsOptions0 returns the union data inside the ChatCompletionFieldOptions_Options_Item as a ChatCompletionFieldOptionsOptions0

func (ChatCompletionFieldOptions_Options_Item) AsChatCompletionFieldOptionsOptions1

func (t ChatCompletionFieldOptions_Options_Item) AsChatCompletionFieldOptionsOptions1() (ChatCompletionFieldOptionsOptions1, error)

AsChatCompletionFieldOptionsOptions1 returns the union data inside the ChatCompletionFieldOptions_Options_Item as a ChatCompletionFieldOptionsOptions1

func (*ChatCompletionFieldOptions_Options_Item) FromChatCompletionFieldOptionsOptions0

func (t *ChatCompletionFieldOptions_Options_Item) FromChatCompletionFieldOptionsOptions0(v ChatCompletionFieldOptionsOptions0) error

FromChatCompletionFieldOptionsOptions0 overwrites any union data inside the ChatCompletionFieldOptions_Options_Item as the provided ChatCompletionFieldOptionsOptions0

func (*ChatCompletionFieldOptions_Options_Item) FromChatCompletionFieldOptionsOptions1

func (t *ChatCompletionFieldOptions_Options_Item) FromChatCompletionFieldOptionsOptions1(v ChatCompletionFieldOptionsOptions1) error

FromChatCompletionFieldOptionsOptions1 overwrites any union data inside the ChatCompletionFieldOptions_Options_Item as the provided ChatCompletionFieldOptionsOptions1

func (ChatCompletionFieldOptions_Options_Item) MarshalJSON

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

func (*ChatCompletionFieldOptions_Options_Item) MergeChatCompletionFieldOptionsOptions0

func (t *ChatCompletionFieldOptions_Options_Item) MergeChatCompletionFieldOptionsOptions0(v ChatCompletionFieldOptionsOptions0) error

MergeChatCompletionFieldOptionsOptions0 performs a merge with any union data inside the ChatCompletionFieldOptions_Options_Item, using the provided ChatCompletionFieldOptionsOptions0

func (*ChatCompletionFieldOptions_Options_Item) MergeChatCompletionFieldOptionsOptions1

func (t *ChatCompletionFieldOptions_Options_Item) MergeChatCompletionFieldOptionsOptions1(v ChatCompletionFieldOptionsOptions1) error

MergeChatCompletionFieldOptionsOptions1 performs a merge with any union data inside the ChatCompletionFieldOptions_Options_Item, using the provided ChatCompletionFieldOptionsOptions1

func (*ChatCompletionFieldOptions_Options_Item) UnmarshalJSON

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

type ChatCompletionFields

type ChatCompletionFields struct {
	FieldDefinitions []BaseFieldDefinition `json:"field_definitions"`
	FieldGroups      []FieldGroup          `json:"field_groups"`
}

ChatCompletionFields defines model for ChatCompletionFields.

type ChatCompletionRequest

type ChatCompletionRequest struct {
	// FrequencyPenalty The `frequency_penalty` penalizes the repetition of words based on their frequency in the generated text. A higher frequency penalty discourages the model from repeating words that have already appeared frequently in the output, promoting diversity and reducing repetition.
	FrequencyPenalty *float32 `json:"frequency_penalty,omitempty"`

	// Guardrails A list of guardrail configurations to apply to this request. Each guardrail specifies a moderation type, categories with thresholds to evaluate, and an action to take on violation.
	Guardrails *[]GuardrailConfig `json:"guardrails,omitempty"`

	// MaxTokens The maximum number of tokens to generate in the completion. The token count of your prompt plus `max_tokens` cannot exceed the model's context length.
	MaxTokens *int `json:"max_tokens,omitempty"`

	// Messages The prompt(s) to generate completions for, encoded as a list of dict with role and content.
	//
	// Examples: [{"content":"Who is the best French painter? Answer in one short sentence.","role":"user"}]
	Messages []ChatCompletionRequest_Messages_Item `json:"messages"`
	Metadata *map[string]interface{}               `json:"metadata,omitempty"`

	// Model ID of the model to use. You can use the [List Available Models](/api/#tag/models/operation/list_models_v1_models_get) API to see all of your available models, or see our [Model overview](/models) for model descriptions.
	//
	// Examples: mistral-large-latest
	Model string `json:"model"`

	// N Number of completions to return for each request, input tokens are only billed once.
	N *int `json:"n,omitempty"`

	// ParallelToolCalls Whether to enable parallel function calling during tool use, when enabled the model can call multiple tools in parallel.
	ParallelToolCalls *bool `json:"parallel_tool_calls,omitempty"`

	// Prediction Enable users to specify expected results, optimizing response times by leveraging known or predictable content. This approach is especially effective for updating text documents or code files with minimal changes, reducing latency while maintaining high-quality results.
	Prediction *Prediction `json:"prediction,omitempty"`

	// PresencePenalty The `presence_penalty` determines how much the model penalizes the repetition of words or phrases. A higher presence penalty encourages the model to use a wider variety of words and phrases, making the output more diverse and creative.
	PresencePenalty *float32 `json:"presence_penalty,omitempty"`

	// PromptCacheKey A cache key to enable prompt caching. When provided, the API will attempt to reuse previously computed tokens for requests sharing the same prefix (e.g. multi-turn conversations or requests with a similar system prompt). Cached tokens are billed at 10% of the standard input token price.
	PromptCacheKey *string `json:"prompt_cache_key,omitempty"`

	// PromptMode Allows toggling between the reasoning mode and no system prompt. When set to `reasoning` the system prompt for reasoning models will be used. **Deprecated for reasoning models - use `reasoning_effort` parameter instead.**
	PromptMode *MistralPromptMode `json:"prompt_mode,omitempty"`

	// RandomSeed The seed to use for random sampling. If set, different calls will generate deterministic results.
	RandomSeed *int `json:"random_seed,omitempty"`

	// ReasoningEffort Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort.
	ReasoningEffort *ChatCompletionRequestReasoningEffort `json:"reasoning_effort,omitempty"`

	// ResponseFormat Specify the format that the model must output. By default it will use `{ "type": "text" }`. Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is in JSON. When using JSON mode you MUST also instruct the model to produce JSON yourself with a system or a user message. Setting to `{ "type": "json_schema" }` enables JSON schema mode, which guarantees the message the model generates is in JSON and follows the schema you provide.
	//
	// Examples: {"type":"text"}, {"type":"json_object"}, {"json_schema":{"name":"book","schema":{"additionalProperties":false,"properties":{"authors":{"items":{"type":"string"},"title":"Authors","type":"array"},"name":{"title":"Name","type":"string"}},"required":["name","authors"],"title":"Book","type":"object"},"strict":true},"type":"json_schema"}
	ResponseFormat *ResponseFormat `json:"response_format,omitempty"`

	// SafePrompt Whether to inject a safety prompt before all conversations.
	SafePrompt *bool `json:"safe_prompt,omitempty"`

	// Stop Stop generation if this token is detected. Or if one of these tokens is detected when providing an array
	Stop *ChatCompletionRequest_Stop `json:"stop,omitempty"`

	// Stream Whether to stream back partial progress. If set, tokens will be sent as data-only server-side events as they become available, with the stream terminated by a data: [DONE] message. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
	Stream *bool `json:"stream,omitempty"`

	// Temperature What sampling temperature to use, we recommend between 0.0 and 0.7. Higher values like 0.7 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or `top_p` but not both. The default value varies depending on the model you are targeting. Call the `/models` endpoint to retrieve the appropriate value.
	Temperature *float32 `json:"temperature,omitempty"`

	// ToolChoice Controls which (if any) tool is called by the model. `none` means the model will not call any tool and instead generates a message. `auto` means the model can pick between generating a message or calling one or more tools. `any` or `required` means the model must call one or more tools. Specifying a particular tool via `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool.
	ToolChoice *ChatCompletionRequest_ToolChoice `json:"tool_choice,omitempty"`

	// Tools A list of tools the model may call. Use this to provide a list of functions the model may generate JSON inputs for.
	Tools *[]Tool `json:"tools,omitempty"`

	// TopP Nucleus sampling, where the model considers the results of the tokens with `top_p` probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or `temperature` but not both.
	TopP *float32 `json:"top_p,omitempty"`
}

ChatCompletionRequest defines model for ChatCompletionRequest.

type ChatCompletionRequestReasoningEffort

type ChatCompletionRequestReasoningEffort string

ChatCompletionRequestReasoningEffort Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort.

const (
	ChatCompletionRequestReasoningEffortHigh ChatCompletionRequestReasoningEffort = "high"
	ChatCompletionRequestReasoningEffortNone ChatCompletionRequestReasoningEffort = "none"
)

Defines values for ChatCompletionRequestReasoningEffort.

func (ChatCompletionRequestReasoningEffort) Valid

Valid indicates whether the value is a known member of the ChatCompletionRequestReasoningEffort enum.

type ChatCompletionRequestStop0

type ChatCompletionRequestStop0 = string

ChatCompletionRequestStop0 defines model for ChatCompletionRequest.Stop.0.

type ChatCompletionRequestStop1

type ChatCompletionRequestStop1 = []string

ChatCompletionRequestStop1 defines model for ChatCompletionRequest.Stop.1.

type ChatCompletionRequest_Messages_Item

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

ChatCompletionRequest_Messages_Item defines model for ChatCompletionRequest.messages.Item.

func (ChatCompletionRequest_Messages_Item) AsAssistantMessage

AsAssistantMessage returns the union data inside the ChatCompletionRequest_Messages_Item as a AssistantMessage

func (ChatCompletionRequest_Messages_Item) AsSystemMessage

AsSystemMessage returns the union data inside the ChatCompletionRequest_Messages_Item as a SystemMessage

func (ChatCompletionRequest_Messages_Item) AsToolMessage

AsToolMessage returns the union data inside the ChatCompletionRequest_Messages_Item as a ToolMessage

func (ChatCompletionRequest_Messages_Item) AsUserMessage

AsUserMessage returns the union data inside the ChatCompletionRequest_Messages_Item as a UserMessage

func (ChatCompletionRequest_Messages_Item) Discriminator

func (t ChatCompletionRequest_Messages_Item) Discriminator() (string, error)

func (*ChatCompletionRequest_Messages_Item) FromAssistantMessage

func (t *ChatCompletionRequest_Messages_Item) FromAssistantMessage(v AssistantMessage) error

FromAssistantMessage overwrites any union data inside the ChatCompletionRequest_Messages_Item as the provided AssistantMessage

func (*ChatCompletionRequest_Messages_Item) FromSystemMessage

FromSystemMessage overwrites any union data inside the ChatCompletionRequest_Messages_Item as the provided SystemMessage

func (*ChatCompletionRequest_Messages_Item) FromToolMessage

FromToolMessage overwrites any union data inside the ChatCompletionRequest_Messages_Item as the provided ToolMessage

func (*ChatCompletionRequest_Messages_Item) FromUserMessage

FromUserMessage overwrites any union data inside the ChatCompletionRequest_Messages_Item as the provided UserMessage

func (ChatCompletionRequest_Messages_Item) MarshalJSON

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

func (*ChatCompletionRequest_Messages_Item) MergeAssistantMessage

func (t *ChatCompletionRequest_Messages_Item) MergeAssistantMessage(v AssistantMessage) error

MergeAssistantMessage performs a merge with any union data inside the ChatCompletionRequest_Messages_Item, using the provided AssistantMessage

func (*ChatCompletionRequest_Messages_Item) MergeSystemMessage

func (t *ChatCompletionRequest_Messages_Item) MergeSystemMessage(v SystemMessage) error

MergeSystemMessage performs a merge with any union data inside the ChatCompletionRequest_Messages_Item, using the provided SystemMessage

func (*ChatCompletionRequest_Messages_Item) MergeToolMessage

func (t *ChatCompletionRequest_Messages_Item) MergeToolMessage(v ToolMessage) error

MergeToolMessage performs a merge with any union data inside the ChatCompletionRequest_Messages_Item, using the provided ToolMessage

func (*ChatCompletionRequest_Messages_Item) MergeUserMessage

func (t *ChatCompletionRequest_Messages_Item) MergeUserMessage(v UserMessage) error

MergeUserMessage performs a merge with any union data inside the ChatCompletionRequest_Messages_Item, using the provided UserMessage

func (*ChatCompletionRequest_Messages_Item) UnmarshalJSON

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

func (ChatCompletionRequest_Messages_Item) ValueByDiscriminator

func (t ChatCompletionRequest_Messages_Item) ValueByDiscriminator() (interface{}, error)

type ChatCompletionRequest_Stop

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

ChatCompletionRequest_Stop Stop generation if this token is detected. Or if one of these tokens is detected when providing an array

func (ChatCompletionRequest_Stop) AsChatCompletionRequestStop0

func (t ChatCompletionRequest_Stop) AsChatCompletionRequestStop0() (ChatCompletionRequestStop0, error)

AsChatCompletionRequestStop0 returns the union data inside the ChatCompletionRequest_Stop as a ChatCompletionRequestStop0

func (ChatCompletionRequest_Stop) AsChatCompletionRequestStop1

func (t ChatCompletionRequest_Stop) AsChatCompletionRequestStop1() (ChatCompletionRequestStop1, error)

AsChatCompletionRequestStop1 returns the union data inside the ChatCompletionRequest_Stop as a ChatCompletionRequestStop1

func (*ChatCompletionRequest_Stop) FromChatCompletionRequestStop0

func (t *ChatCompletionRequest_Stop) FromChatCompletionRequestStop0(v ChatCompletionRequestStop0) error

FromChatCompletionRequestStop0 overwrites any union data inside the ChatCompletionRequest_Stop as the provided ChatCompletionRequestStop0

func (*ChatCompletionRequest_Stop) FromChatCompletionRequestStop1

func (t *ChatCompletionRequest_Stop) FromChatCompletionRequestStop1(v ChatCompletionRequestStop1) error

FromChatCompletionRequestStop1 overwrites any union data inside the ChatCompletionRequest_Stop as the provided ChatCompletionRequestStop1

func (ChatCompletionRequest_Stop) MarshalJSON

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

func (*ChatCompletionRequest_Stop) MergeChatCompletionRequestStop0

func (t *ChatCompletionRequest_Stop) MergeChatCompletionRequestStop0(v ChatCompletionRequestStop0) error

MergeChatCompletionRequestStop0 performs a merge with any union data inside the ChatCompletionRequest_Stop, using the provided ChatCompletionRequestStop0

func (*ChatCompletionRequest_Stop) MergeChatCompletionRequestStop1

func (t *ChatCompletionRequest_Stop) MergeChatCompletionRequestStop1(v ChatCompletionRequestStop1) error

MergeChatCompletionRequestStop1 performs a merge with any union data inside the ChatCompletionRequest_Stop, using the provided ChatCompletionRequestStop1

func (*ChatCompletionRequest_Stop) UnmarshalJSON

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

type ChatCompletionRequest_ToolChoice

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

ChatCompletionRequest_ToolChoice Controls which (if any) tool is called by the model. `none` means the model will not call any tool and instead generates a message. `auto` means the model can pick between generating a message or calling one or more tools. `any` or `required` means the model must call one or more tools. Specifying a particular tool via `{"type": "function", "function": {"name": "my_function"}}` forces the model to call that tool.

func (ChatCompletionRequest_ToolChoice) AsToolChoice

AsToolChoice returns the union data inside the ChatCompletionRequest_ToolChoice as a ToolChoice

func (ChatCompletionRequest_ToolChoice) AsToolChoiceEnum

func (t ChatCompletionRequest_ToolChoice) AsToolChoiceEnum() (ToolChoiceEnum, error)

AsToolChoiceEnum returns the union data inside the ChatCompletionRequest_ToolChoice as a ToolChoiceEnum

func (*ChatCompletionRequest_ToolChoice) FromToolChoice

func (t *ChatCompletionRequest_ToolChoice) FromToolChoice(v ToolChoice) error

FromToolChoice overwrites any union data inside the ChatCompletionRequest_ToolChoice as the provided ToolChoice

func (*ChatCompletionRequest_ToolChoice) FromToolChoiceEnum

func (t *ChatCompletionRequest_ToolChoice) FromToolChoiceEnum(v ToolChoiceEnum) error

FromToolChoiceEnum overwrites any union data inside the ChatCompletionRequest_ToolChoice as the provided ToolChoiceEnum

func (ChatCompletionRequest_ToolChoice) MarshalJSON

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

func (*ChatCompletionRequest_ToolChoice) MergeToolChoice

func (t *ChatCompletionRequest_ToolChoice) MergeToolChoice(v ToolChoice) error

MergeToolChoice performs a merge with any union data inside the ChatCompletionRequest_ToolChoice, using the provided ToolChoice

func (*ChatCompletionRequest_ToolChoice) MergeToolChoiceEnum

func (t *ChatCompletionRequest_ToolChoice) MergeToolChoiceEnum(v ToolChoiceEnum) error

MergeToolChoiceEnum performs a merge with any union data inside the ChatCompletionRequest_ToolChoice, using the provided ToolChoiceEnum

func (*ChatCompletionRequest_ToolChoice) UnmarshalJSON

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

type ChatCompletionResponse

type ChatCompletionResponse struct {
	Choices []ChatCompletionChoice `json:"choices"`
	Created int                    `json:"created"`
	Id      string                 `json:"id"`
	Model   string                 `json:"model"`
	Object  string                 `json:"object"`
	Usage   UsageInfo              `json:"usage"`
}

ChatCompletionResponse defines model for ChatCompletionResponse.

type ChatCompletionResponseBase

type ChatCompletionResponseBase struct {
	Created *int       `json:"created,omitempty"`
	Id      *string    `json:"id,omitempty"`
	Model   *string    `json:"model,omitempty"`
	Object  *string    `json:"object,omitempty"`
	Usage   *UsageInfo `json:"usage,omitempty"`
}

ChatCompletionResponseBase defines model for ChatCompletionResponseBase.

type ChatCompletionV1ChatCompletionsPostJSONRequestBody

type ChatCompletionV1ChatCompletionsPostJSONRequestBody = ChatCompletionRequest

ChatCompletionV1ChatCompletionsPostJSONRequestBody defines body for ChatCompletionV1ChatCompletionsPost for application/json ContentType.

type ChatCompletionV1ChatCompletionsPostResponse

type ChatCompletionV1ChatCompletionsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ChatCompletionResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseChatCompletionV1ChatCompletionsPostResponse

func ParseChatCompletionV1ChatCompletionsPostResponse(rsp *http.Response) (*ChatCompletionV1ChatCompletionsPostResponse, error)

ParseChatCompletionV1ChatCompletionsPostResponse parses an HTTP response from a ChatCompletionV1ChatCompletionsPostWithResponse call

func (ChatCompletionV1ChatCompletionsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ChatCompletionV1ChatCompletionsPostResponse) GetBody

GetBody returns the raw response body bytes

func (ChatCompletionV1ChatCompletionsPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ChatCompletionV1ChatCompletionsPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ChatCompletionV1ChatCompletionsPostResponse) Status

Status returns HTTPResponse.Status

func (ChatCompletionV1ChatCompletionsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ChatModerationRequest

type ChatModerationRequest struct {
	// Input Chat to classify
	Input ChatModerationRequest_Input `json:"input"`
	Model string                      `json:"model"`
}

ChatModerationRequest defines model for ChatModerationRequest.

type ChatModerationRequestInput0

type ChatModerationRequestInput0 = []ChatModerationRequest_Input_0_Item

ChatModerationRequestInput0 defines model for ChatModerationRequest.Input.0.

type ChatModerationRequestInput1

type ChatModerationRequestInput1 = [][]ChatModerationRequest_Input_1_Item

ChatModerationRequestInput1 defines model for ChatModerationRequest.Input.1.

type ChatModerationRequest_Input

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

ChatModerationRequest_Input Chat to classify

func (ChatModerationRequest_Input) AsChatModerationRequestInput0

func (t ChatModerationRequest_Input) AsChatModerationRequestInput0() (ChatModerationRequestInput0, error)

AsChatModerationRequestInput0 returns the union data inside the ChatModerationRequest_Input as a ChatModerationRequestInput0

func (ChatModerationRequest_Input) AsChatModerationRequestInput1

func (t ChatModerationRequest_Input) AsChatModerationRequestInput1() (ChatModerationRequestInput1, error)

AsChatModerationRequestInput1 returns the union data inside the ChatModerationRequest_Input as a ChatModerationRequestInput1

func (*ChatModerationRequest_Input) FromChatModerationRequestInput0

func (t *ChatModerationRequest_Input) FromChatModerationRequestInput0(v ChatModerationRequestInput0) error

FromChatModerationRequestInput0 overwrites any union data inside the ChatModerationRequest_Input as the provided ChatModerationRequestInput0

func (*ChatModerationRequest_Input) FromChatModerationRequestInput1

func (t *ChatModerationRequest_Input) FromChatModerationRequestInput1(v ChatModerationRequestInput1) error

FromChatModerationRequestInput1 overwrites any union data inside the ChatModerationRequest_Input as the provided ChatModerationRequestInput1

func (ChatModerationRequest_Input) MarshalJSON

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

func (*ChatModerationRequest_Input) MergeChatModerationRequestInput0

func (t *ChatModerationRequest_Input) MergeChatModerationRequestInput0(v ChatModerationRequestInput0) error

MergeChatModerationRequestInput0 performs a merge with any union data inside the ChatModerationRequest_Input, using the provided ChatModerationRequestInput0

func (*ChatModerationRequest_Input) MergeChatModerationRequestInput1

func (t *ChatModerationRequest_Input) MergeChatModerationRequestInput1(v ChatModerationRequestInput1) error

MergeChatModerationRequestInput1 performs a merge with any union data inside the ChatModerationRequest_Input, using the provided ChatModerationRequestInput1

func (*ChatModerationRequest_Input) UnmarshalJSON

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

type ChatModerationRequest_Input_0_Item

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

ChatModerationRequest_Input_0_Item defines model for ChatModerationRequest.Input.0.Item.

func (ChatModerationRequest_Input_0_Item) AsAssistantMessage

func (t ChatModerationRequest_Input_0_Item) AsAssistantMessage() (AssistantMessage, error)

AsAssistantMessage returns the union data inside the ChatModerationRequest_Input_0_Item as a AssistantMessage

func (ChatModerationRequest_Input_0_Item) AsSystemMessage

AsSystemMessage returns the union data inside the ChatModerationRequest_Input_0_Item as a SystemMessage

func (ChatModerationRequest_Input_0_Item) AsToolMessage

AsToolMessage returns the union data inside the ChatModerationRequest_Input_0_Item as a ToolMessage

func (ChatModerationRequest_Input_0_Item) AsUserMessage

AsUserMessage returns the union data inside the ChatModerationRequest_Input_0_Item as a UserMessage

func (ChatModerationRequest_Input_0_Item) Discriminator

func (t ChatModerationRequest_Input_0_Item) Discriminator() (string, error)

func (*ChatModerationRequest_Input_0_Item) FromAssistantMessage

func (t *ChatModerationRequest_Input_0_Item) FromAssistantMessage(v AssistantMessage) error

FromAssistantMessage overwrites any union data inside the ChatModerationRequest_Input_0_Item as the provided AssistantMessage

func (*ChatModerationRequest_Input_0_Item) FromSystemMessage

func (t *ChatModerationRequest_Input_0_Item) FromSystemMessage(v SystemMessage) error

FromSystemMessage overwrites any union data inside the ChatModerationRequest_Input_0_Item as the provided SystemMessage

func (*ChatModerationRequest_Input_0_Item) FromToolMessage

FromToolMessage overwrites any union data inside the ChatModerationRequest_Input_0_Item as the provided ToolMessage

func (*ChatModerationRequest_Input_0_Item) FromUserMessage

FromUserMessage overwrites any union data inside the ChatModerationRequest_Input_0_Item as the provided UserMessage

func (ChatModerationRequest_Input_0_Item) MarshalJSON

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

func (*ChatModerationRequest_Input_0_Item) MergeAssistantMessage

func (t *ChatModerationRequest_Input_0_Item) MergeAssistantMessage(v AssistantMessage) error

MergeAssistantMessage performs a merge with any union data inside the ChatModerationRequest_Input_0_Item, using the provided AssistantMessage

func (*ChatModerationRequest_Input_0_Item) MergeSystemMessage

func (t *ChatModerationRequest_Input_0_Item) MergeSystemMessage(v SystemMessage) error

MergeSystemMessage performs a merge with any union data inside the ChatModerationRequest_Input_0_Item, using the provided SystemMessage

func (*ChatModerationRequest_Input_0_Item) MergeToolMessage

func (t *ChatModerationRequest_Input_0_Item) MergeToolMessage(v ToolMessage) error

MergeToolMessage performs a merge with any union data inside the ChatModerationRequest_Input_0_Item, using the provided ToolMessage

func (*ChatModerationRequest_Input_0_Item) MergeUserMessage

func (t *ChatModerationRequest_Input_0_Item) MergeUserMessage(v UserMessage) error

MergeUserMessage performs a merge with any union data inside the ChatModerationRequest_Input_0_Item, using the provided UserMessage

func (*ChatModerationRequest_Input_0_Item) UnmarshalJSON

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

func (ChatModerationRequest_Input_0_Item) ValueByDiscriminator

func (t ChatModerationRequest_Input_0_Item) ValueByDiscriminator() (interface{}, error)

type ChatModerationRequest_Input_1_Item

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

ChatModerationRequest_Input_1_Item defines model for ChatModerationRequest.Input.1.Item.

func (ChatModerationRequest_Input_1_Item) AsAssistantMessage

func (t ChatModerationRequest_Input_1_Item) AsAssistantMessage() (AssistantMessage, error)

AsAssistantMessage returns the union data inside the ChatModerationRequest_Input_1_Item as a AssistantMessage

func (ChatModerationRequest_Input_1_Item) AsSystemMessage

AsSystemMessage returns the union data inside the ChatModerationRequest_Input_1_Item as a SystemMessage

func (ChatModerationRequest_Input_1_Item) AsToolMessage

AsToolMessage returns the union data inside the ChatModerationRequest_Input_1_Item as a ToolMessage

func (ChatModerationRequest_Input_1_Item) AsUserMessage

AsUserMessage returns the union data inside the ChatModerationRequest_Input_1_Item as a UserMessage

func (ChatModerationRequest_Input_1_Item) Discriminator

func (t ChatModerationRequest_Input_1_Item) Discriminator() (string, error)

func (*ChatModerationRequest_Input_1_Item) FromAssistantMessage

func (t *ChatModerationRequest_Input_1_Item) FromAssistantMessage(v AssistantMessage) error

FromAssistantMessage overwrites any union data inside the ChatModerationRequest_Input_1_Item as the provided AssistantMessage

func (*ChatModerationRequest_Input_1_Item) FromSystemMessage

func (t *ChatModerationRequest_Input_1_Item) FromSystemMessage(v SystemMessage) error

FromSystemMessage overwrites any union data inside the ChatModerationRequest_Input_1_Item as the provided SystemMessage

func (*ChatModerationRequest_Input_1_Item) FromToolMessage

FromToolMessage overwrites any union data inside the ChatModerationRequest_Input_1_Item as the provided ToolMessage

func (*ChatModerationRequest_Input_1_Item) FromUserMessage

FromUserMessage overwrites any union data inside the ChatModerationRequest_Input_1_Item as the provided UserMessage

func (ChatModerationRequest_Input_1_Item) MarshalJSON

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

func (*ChatModerationRequest_Input_1_Item) MergeAssistantMessage

func (t *ChatModerationRequest_Input_1_Item) MergeAssistantMessage(v AssistantMessage) error

MergeAssistantMessage performs a merge with any union data inside the ChatModerationRequest_Input_1_Item, using the provided AssistantMessage

func (*ChatModerationRequest_Input_1_Item) MergeSystemMessage

func (t *ChatModerationRequest_Input_1_Item) MergeSystemMessage(v SystemMessage) error

MergeSystemMessage performs a merge with any union data inside the ChatModerationRequest_Input_1_Item, using the provided SystemMessage

func (*ChatModerationRequest_Input_1_Item) MergeToolMessage

func (t *ChatModerationRequest_Input_1_Item) MergeToolMessage(v ToolMessage) error

MergeToolMessage performs a merge with any union data inside the ChatModerationRequest_Input_1_Item, using the provided ToolMessage

func (*ChatModerationRequest_Input_1_Item) MergeUserMessage

func (t *ChatModerationRequest_Input_1_Item) MergeUserMessage(v UserMessage) error

MergeUserMessage performs a merge with any union data inside the ChatModerationRequest_Input_1_Item, using the provided UserMessage

func (*ChatModerationRequest_Input_1_Item) UnmarshalJSON

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

func (ChatModerationRequest_Input_1_Item) ValueByDiscriminator

func (t ChatModerationRequest_Input_1_Item) ValueByDiscriminator() (interface{}, error)

type ChatModerationsV1ChatModerationsPostJSONRequestBody

type ChatModerationsV1ChatModerationsPostJSONRequestBody = ChatModerationRequest

ChatModerationsV1ChatModerationsPostJSONRequestBody defines body for ChatModerationsV1ChatModerationsPost for application/json ContentType.

type ChatModerationsV1ChatModerationsPostResponse

type ChatModerationsV1ChatModerationsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ModerationResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseChatModerationsV1ChatModerationsPostResponse

func ParseChatModerationsV1ChatModerationsPostResponse(rsp *http.Response) (*ChatModerationsV1ChatModerationsPostResponse, error)

ParseChatModerationsV1ChatModerationsPostResponse parses an HTTP response from a ChatModerationsV1ChatModerationsPostWithResponse call

func (ChatModerationsV1ChatModerationsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ChatModerationsV1ChatModerationsPostResponse) GetBody

GetBody returns the raw response body bytes

func (ChatModerationsV1ChatModerationsPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ChatModerationsV1ChatModerationsPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ChatModerationsV1ChatModerationsPostResponse) Status

Status returns HTTPResponse.Status

func (ChatModerationsV1ChatModerationsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ChatTranscriptionEvent

type ChatTranscriptionEvent struct {
	AudioUrl        string                 `json:"audio_url"`
	Model           string                 `json:"model"`
	ResponseMessage map[string]interface{} `json:"response_message"`
}

ChatTranscriptionEvent defines model for ChatTranscriptionEvent.

type CheckpointOut

type CheckpointOut struct {
	// CreatedAt The UNIX timestamp (in seconds) for when the checkpoint was created.
	//
	// Examples: 1716963433
	CreatedAt int `json:"created_at"`

	// Metrics Metrics at the step number during the fine-tuning job. Use these metrics to assess if the training is going smoothly (loss should decrease, token accuracy should increase).
	Metrics MetricOut `json:"metrics"`

	// StepNumber The step number that the checkpoint was created at.
	StepNumber int `json:"step_number"`
}

CheckpointOut defines model for CheckpointOut.

type ClassificationRequest

type ClassificationRequest struct {
	// Input Text to classify.
	Input    ClassificationRequest_Input `json:"input"`
	Metadata *map[string]interface{}     `json:"metadata,omitempty"`

	// Model ID of the model to use.
	//
	// Examples: mistral-moderation-latest
	Model string `json:"model"`
}

ClassificationRequest defines model for ClassificationRequest.

type ClassificationRequestInput0

type ClassificationRequestInput0 = string

ClassificationRequestInput0 defines model for ClassificationRequest.Input.0.

type ClassificationRequestInput1

type ClassificationRequestInput1 = []string

ClassificationRequestInput1 defines model for ClassificationRequest.Input.1.

type ClassificationRequest_Input

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

ClassificationRequest_Input Text to classify.

func (ClassificationRequest_Input) AsClassificationRequestInput0

func (t ClassificationRequest_Input) AsClassificationRequestInput0() (ClassificationRequestInput0, error)

AsClassificationRequestInput0 returns the union data inside the ClassificationRequest_Input as a ClassificationRequestInput0

func (ClassificationRequest_Input) AsClassificationRequestInput1

func (t ClassificationRequest_Input) AsClassificationRequestInput1() (ClassificationRequestInput1, error)

AsClassificationRequestInput1 returns the union data inside the ClassificationRequest_Input as a ClassificationRequestInput1

func (*ClassificationRequest_Input) FromClassificationRequestInput0

func (t *ClassificationRequest_Input) FromClassificationRequestInput0(v ClassificationRequestInput0) error

FromClassificationRequestInput0 overwrites any union data inside the ClassificationRequest_Input as the provided ClassificationRequestInput0

func (*ClassificationRequest_Input) FromClassificationRequestInput1

func (t *ClassificationRequest_Input) FromClassificationRequestInput1(v ClassificationRequestInput1) error

FromClassificationRequestInput1 overwrites any union data inside the ClassificationRequest_Input as the provided ClassificationRequestInput1

func (ClassificationRequest_Input) MarshalJSON

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

func (*ClassificationRequest_Input) MergeClassificationRequestInput0

func (t *ClassificationRequest_Input) MergeClassificationRequestInput0(v ClassificationRequestInput0) error

MergeClassificationRequestInput0 performs a merge with any union data inside the ClassificationRequest_Input, using the provided ClassificationRequestInput0

func (*ClassificationRequest_Input) MergeClassificationRequestInput1

func (t *ClassificationRequest_Input) MergeClassificationRequestInput1(v ClassificationRequestInput1) error

MergeClassificationRequestInput1 performs a merge with any union data inside the ClassificationRequest_Input, using the provided ClassificationRequestInput1

func (*ClassificationRequest_Input) UnmarshalJSON

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

type ClassificationResponse

type ClassificationResponse struct {
	Id      string                                  `json:"id"`
	Model   string                                  `json:"model"`
	Results []map[string]ClassificationTargetResult `json:"results"`
}

ClassificationResponse defines model for ClassificationResponse.

type ClassificationTargetResult

type ClassificationTargetResult struct {
	Scores map[string]float32 `json:"scores"`
}

ClassificationTargetResult defines model for ClassificationTargetResult.

type ClassificationsV1ClassificationsPostJSONRequestBody

type ClassificationsV1ClassificationsPostJSONRequestBody = ClassificationRequest

ClassificationsV1ClassificationsPostJSONRequestBody defines body for ClassificationsV1ClassificationsPost for application/json ContentType.

type ClassificationsV1ClassificationsPostResponse

type ClassificationsV1ClassificationsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ClassificationResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseClassificationsV1ClassificationsPostResponse

func ParseClassificationsV1ClassificationsPostResponse(rsp *http.Response) (*ClassificationsV1ClassificationsPostResponse, error)

ParseClassificationsV1ClassificationsPostResponse parses an HTTP response from a ClassificationsV1ClassificationsPostWithResponse call

func (ClassificationsV1ClassificationsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ClassificationsV1ClassificationsPostResponse) GetBody

GetBody returns the raw response body bytes

func (ClassificationsV1ClassificationsPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ClassificationsV1ClassificationsPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ClassificationsV1ClassificationsPostResponse) Status

Status returns HTTPResponse.Status

func (ClassificationsV1ClassificationsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ClassifierDetailedJobOut

type ClassifierDetailedJobOut struct {
	AutoStart         bool                  `json:"auto_start"`
	Checkpoints       *[]CheckpointOut      `json:"checkpoints,omitempty"`
	ClassifierTargets []ClassifierTargetOut `json:"classifier_targets"`
	CreatedAt         int                   `json:"created_at"`

	// Events Event items are created every time the status of a fine-tuning job changes. The timestamped list of all events is accessible here.
	Events          *[]EventOut                                   `json:"events,omitempty"`
	FineTunedModel  *string                                       `json:"fine_tuned_model,omitempty"`
	Hyperparameters ClassifierTrainingParameters                  `json:"hyperparameters"`
	Id              openapi_types.UUID                            `json:"id"`
	Integrations    *[]ClassifierDetailedJobOut_Integrations_Item `json:"integrations,omitempty"`
	JobType         *ClassifierDetailedJobOutJobType              `json:"job_type,omitempty"`
	Metadata        *JobMetadataOut                               `json:"metadata,omitempty"`
	Model           string                                        `json:"model"`
	ModifiedAt      int                                           `json:"modified_at"`
	Object          *ClassifierDetailedJobOutObject               `json:"object,omitempty"`
	Status          ClassifierDetailedJobOutStatus                `json:"status"`
	Suffix          *string                                       `json:"suffix,omitempty"`
	TrainedTokens   *int                                          `json:"trained_tokens,omitempty"`
	TrainingFiles   []openapi_types.UUID                          `json:"training_files"`
	ValidationFiles *[]openapi_types.UUID                         `json:"validation_files,omitempty"`
}

ClassifierDetailedJobOut defines model for ClassifierDetailedJobOut.

type ClassifierDetailedJobOutJobType

type ClassifierDetailedJobOutJobType string

ClassifierDetailedJobOutJobType defines model for ClassifierDetailedJobOut.JobType.

const (
	ClassifierDetailedJobOutJobTypeClassifier ClassifierDetailedJobOutJobType = "classifier"
)

Defines values for ClassifierDetailedJobOutJobType.

func (ClassifierDetailedJobOutJobType) Valid

Valid indicates whether the value is a known member of the ClassifierDetailedJobOutJobType enum.

type ClassifierDetailedJobOutObject

type ClassifierDetailedJobOutObject string

ClassifierDetailedJobOutObject defines model for ClassifierDetailedJobOut.Object.

const (
	ClassifierDetailedJobOutObjectJob ClassifierDetailedJobOutObject = "job"
)

Defines values for ClassifierDetailedJobOutObject.

func (ClassifierDetailedJobOutObject) Valid

Valid indicates whether the value is a known member of the ClassifierDetailedJobOutObject enum.

type ClassifierDetailedJobOutStatus

type ClassifierDetailedJobOutStatus string

ClassifierDetailedJobOutStatus defines model for ClassifierDetailedJobOut.Status.

const (
	ClassifierDetailedJobOutStatusCANCELLATIONREQUESTED ClassifierDetailedJobOutStatus = "CANCELLATION_REQUESTED"
	ClassifierDetailedJobOutStatusCANCELLED             ClassifierDetailedJobOutStatus = "CANCELLED"
	ClassifierDetailedJobOutStatusFAILED                ClassifierDetailedJobOutStatus = "FAILED"
	ClassifierDetailedJobOutStatusFAILEDVALIDATION      ClassifierDetailedJobOutStatus = "FAILED_VALIDATION"
	ClassifierDetailedJobOutStatusQUEUED                ClassifierDetailedJobOutStatus = "QUEUED"
	ClassifierDetailedJobOutStatusRUNNING               ClassifierDetailedJobOutStatus = "RUNNING"
	ClassifierDetailedJobOutStatusSTARTED               ClassifierDetailedJobOutStatus = "STARTED"
	ClassifierDetailedJobOutStatusSUCCESS               ClassifierDetailedJobOutStatus = "SUCCESS"
	ClassifierDetailedJobOutStatusVALIDATED             ClassifierDetailedJobOutStatus = "VALIDATED"
	ClassifierDetailedJobOutStatusVALIDATING            ClassifierDetailedJobOutStatus = "VALIDATING"
)

Defines values for ClassifierDetailedJobOutStatus.

func (ClassifierDetailedJobOutStatus) Valid

Valid indicates whether the value is a known member of the ClassifierDetailedJobOutStatus enum.

type ClassifierDetailedJobOut_Integrations_Item

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

ClassifierDetailedJobOut_Integrations_Item defines model for ClassifierDetailedJobOut.integrations.Item.

func (ClassifierDetailedJobOut_Integrations_Item) AsWandbIntegrationOut

AsWandbIntegrationOut returns the union data inside the ClassifierDetailedJobOut_Integrations_Item as a WandbIntegrationOut

func (ClassifierDetailedJobOut_Integrations_Item) Discriminator

func (*ClassifierDetailedJobOut_Integrations_Item) FromWandbIntegrationOut

FromWandbIntegrationOut overwrites any union data inside the ClassifierDetailedJobOut_Integrations_Item as the provided WandbIntegrationOut

func (ClassifierDetailedJobOut_Integrations_Item) MarshalJSON

func (*ClassifierDetailedJobOut_Integrations_Item) MergeWandbIntegrationOut

MergeWandbIntegrationOut performs a merge with any union data inside the ClassifierDetailedJobOut_Integrations_Item, using the provided WandbIntegrationOut

func (*ClassifierDetailedJobOut_Integrations_Item) UnmarshalJSON

func (ClassifierDetailedJobOut_Integrations_Item) ValueByDiscriminator

func (t ClassifierDetailedJobOut_Integrations_Item) ValueByDiscriminator() (interface{}, error)

type ClassifierFTModelOut

type ClassifierFTModelOut struct {
	Aliases           *[]string                      `json:"aliases,omitempty"`
	Archived          bool                           `json:"archived"`
	Capabilities      FTModelCapabilitiesOut         `json:"capabilities"`
	ClassifierTargets []ClassifierTargetOut          `json:"classifier_targets"`
	Created           int                            `json:"created"`
	Description       *string                        `json:"description,omitempty"`
	Id                string                         `json:"id"`
	Job               openapi_types.UUID             `json:"job"`
	MaxContextLength  *int                           `json:"max_context_length,omitempty"`
	ModelType         *ClassifierFTModelOutModelType `json:"model_type,omitempty"`
	Name              *string                        `json:"name,omitempty"`
	Object            *ClassifierFTModelOutObject    `json:"object,omitempty"`
	OwnedBy           string                         `json:"owned_by"`
	Root              string                         `json:"root"`
	RootVersion       string                         `json:"root_version"`
	WorkspaceId       string                         `json:"workspace_id"`
}

ClassifierFTModelOut defines model for ClassifierFTModelOut.

type ClassifierFTModelOutModelType

type ClassifierFTModelOutModelType string

ClassifierFTModelOutModelType defines model for ClassifierFTModelOut.ModelType.

const (
	ClassifierFTModelOutModelTypeClassifier ClassifierFTModelOutModelType = "classifier"
)

Defines values for ClassifierFTModelOutModelType.

func (ClassifierFTModelOutModelType) Valid

Valid indicates whether the value is a known member of the ClassifierFTModelOutModelType enum.

type ClassifierFTModelOutObject

type ClassifierFTModelOutObject string

ClassifierFTModelOutObject defines model for ClassifierFTModelOut.Object.

const (
	ClassifierFTModelOutObjectModel ClassifierFTModelOutObject = "model"
)

Defines values for ClassifierFTModelOutObject.

func (ClassifierFTModelOutObject) Valid

func (e ClassifierFTModelOutObject) Valid() bool

Valid indicates whether the value is a known member of the ClassifierFTModelOutObject enum.

type ClassifierJobOut

type ClassifierJobOut struct {
	AutoStart bool `json:"auto_start"`

	// CreatedAt The UNIX timestamp (in seconds) for when the fine-tuning job was created.
	CreatedAt int `json:"created_at"`

	// FineTunedModel The name of the fine-tuned model that is being created. The value will be `null` if the fine-tuning job is still running.
	FineTunedModel  *string                      `json:"fine_tuned_model,omitempty"`
	Hyperparameters ClassifierTrainingParameters `json:"hyperparameters"`

	// Id The ID of the job.
	Id openapi_types.UUID `json:"id"`

	// Integrations A list of integrations enabled for your fine-tuning job.
	Integrations *[]ClassifierJobOut_Integrations_Item `json:"integrations,omitempty"`

	// JobType The type of job (`FT` for fine-tuning).
	JobType  *ClassifierJobOutJobType `json:"job_type,omitempty"`
	Metadata *JobMetadataOut          `json:"metadata,omitempty"`
	Model    string                   `json:"model"`

	// ModifiedAt The UNIX timestamp (in seconds) for when the fine-tuning job was last modified.
	ModifiedAt int `json:"modified_at"`

	// Object The object type of the fine-tuning job.
	Object *ClassifierJobOutObject `json:"object,omitempty"`

	// Status The current status of the fine-tuning job.
	Status ClassifierJobOutStatus `json:"status"`

	// Suffix Optional text/code that adds more context for the model. When given a `prompt` and a `suffix` the model will fill what is between them. When `suffix` is not provided, the model will simply execute completion starting with `prompt`.
	Suffix *string `json:"suffix,omitempty"`

	// TrainedTokens Total number of tokens trained.
	TrainedTokens *int `json:"trained_tokens,omitempty"`

	// TrainingFiles A list containing the IDs of uploaded files that contain training data.
	TrainingFiles []openapi_types.UUID `json:"training_files"`

	// ValidationFiles A list containing the IDs of uploaded files that contain validation data.
	ValidationFiles *[]openapi_types.UUID `json:"validation_files,omitempty"`
}

ClassifierJobOut defines model for ClassifierJobOut.

type ClassifierJobOutJobType

type ClassifierJobOutJobType string

ClassifierJobOutJobType The type of job (`FT` for fine-tuning).

const (
	ClassifierJobOutJobTypeClassifier ClassifierJobOutJobType = "classifier"
)

Defines values for ClassifierJobOutJobType.

func (ClassifierJobOutJobType) Valid

func (e ClassifierJobOutJobType) Valid() bool

Valid indicates whether the value is a known member of the ClassifierJobOutJobType enum.

type ClassifierJobOutObject

type ClassifierJobOutObject string

ClassifierJobOutObject The object type of the fine-tuning job.

const (
	ClassifierJobOutObjectJob ClassifierJobOutObject = "job"
)

Defines values for ClassifierJobOutObject.

func (ClassifierJobOutObject) Valid

func (e ClassifierJobOutObject) Valid() bool

Valid indicates whether the value is a known member of the ClassifierJobOutObject enum.

type ClassifierJobOutStatus

type ClassifierJobOutStatus string

ClassifierJobOutStatus The current status of the fine-tuning job.

const (
	ClassifierJobOutStatusCANCELLATIONREQUESTED ClassifierJobOutStatus = "CANCELLATION_REQUESTED"
	ClassifierJobOutStatusCANCELLED             ClassifierJobOutStatus = "CANCELLED"
	ClassifierJobOutStatusFAILED                ClassifierJobOutStatus = "FAILED"
	ClassifierJobOutStatusFAILEDVALIDATION      ClassifierJobOutStatus = "FAILED_VALIDATION"
	ClassifierJobOutStatusQUEUED                ClassifierJobOutStatus = "QUEUED"
	ClassifierJobOutStatusRUNNING               ClassifierJobOutStatus = "RUNNING"
	ClassifierJobOutStatusSTARTED               ClassifierJobOutStatus = "STARTED"
	ClassifierJobOutStatusSUCCESS               ClassifierJobOutStatus = "SUCCESS"
	ClassifierJobOutStatusVALIDATED             ClassifierJobOutStatus = "VALIDATED"
	ClassifierJobOutStatusVALIDATING            ClassifierJobOutStatus = "VALIDATING"
)

Defines values for ClassifierJobOutStatus.

func (ClassifierJobOutStatus) Valid

func (e ClassifierJobOutStatus) Valid() bool

Valid indicates whether the value is a known member of the ClassifierJobOutStatus enum.

type ClassifierJobOut_Integrations_Item

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

ClassifierJobOut_Integrations_Item defines model for ClassifierJobOut.integrations.Item.

func (ClassifierJobOut_Integrations_Item) AsWandbIntegrationOut

func (t ClassifierJobOut_Integrations_Item) AsWandbIntegrationOut() (WandbIntegrationOut, error)

AsWandbIntegrationOut returns the union data inside the ClassifierJobOut_Integrations_Item as a WandbIntegrationOut

func (ClassifierJobOut_Integrations_Item) Discriminator

func (t ClassifierJobOut_Integrations_Item) Discriminator() (string, error)

func (*ClassifierJobOut_Integrations_Item) FromWandbIntegrationOut

func (t *ClassifierJobOut_Integrations_Item) FromWandbIntegrationOut(v WandbIntegrationOut) error

FromWandbIntegrationOut overwrites any union data inside the ClassifierJobOut_Integrations_Item as the provided WandbIntegrationOut

func (ClassifierJobOut_Integrations_Item) MarshalJSON

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

func (*ClassifierJobOut_Integrations_Item) MergeWandbIntegrationOut

func (t *ClassifierJobOut_Integrations_Item) MergeWandbIntegrationOut(v WandbIntegrationOut) error

MergeWandbIntegrationOut performs a merge with any union data inside the ClassifierJobOut_Integrations_Item, using the provided WandbIntegrationOut

func (*ClassifierJobOut_Integrations_Item) UnmarshalJSON

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

func (ClassifierJobOut_Integrations_Item) ValueByDiscriminator

func (t ClassifierJobOut_Integrations_Item) ValueByDiscriminator() (interface{}, error)

type ClassifierTargetIn

type ClassifierTargetIn struct {
	Labels       []string                  `json:"labels"`
	LossFunction *FTClassifierLossFunction `json:"loss_function,omitempty"`
	Name         string                    `json:"name"`
	Weight       *float32                  `json:"weight,omitempty"`
}

ClassifierTargetIn defines model for ClassifierTargetIn.

type ClassifierTargetOut

type ClassifierTargetOut struct {
	Labels       []string                 `json:"labels"`
	LossFunction FTClassifierLossFunction `json:"loss_function"`
	Name         string                   `json:"name"`
	Weight       float32                  `json:"weight"`
}

ClassifierTargetOut defines model for ClassifierTargetOut.

type ClassifierTrainingParameters

type ClassifierTrainingParameters struct {
	Epochs         *float32 `json:"epochs,omitempty"`
	LearningRate   *float32 `json:"learning_rate,omitempty"`
	SeqLen         *int     `json:"seq_len,omitempty"`
	TrainingSteps  *int     `json:"training_steps,omitempty"`
	WarmupFraction *float32 `json:"warmup_fraction,omitempty"`
	WeightDecay    *float32 `json:"weight_decay,omitempty"`
}

ClassifierTrainingParameters defines model for ClassifierTrainingParameters.

type ClassifierTrainingParametersIn

type ClassifierTrainingParametersIn struct {
	Epochs *float32 `json:"epochs,omitempty"`

	// LearningRate A parameter describing how much to adjust the pre-trained model's weights in response to the estimated error each time the weights are updated during the fine-tuning process.
	LearningRate *float32 `json:"learning_rate,omitempty"`
	SeqLen       *int     `json:"seq_len,omitempty"`

	// TrainingSteps The number of training steps to perform. A training step refers to a single update of the model weights during the fine-tuning process. This update is typically calculated using a batch of samples from the training dataset.
	TrainingSteps *int `json:"training_steps,omitempty"`

	// WarmupFraction (Advanced Usage) A parameter that specifies the percentage of the total training steps at which the learning rate warm-up phase ends. During this phase, the learning rate gradually increases from a small value to the initial learning rate, helping to stabilize the training process and improve convergence. Similar to `pct_start` in [mistral-finetune](https://github.com/mistralai/mistral-finetune)
	WarmupFraction *float32 `json:"warmup_fraction,omitempty"`

	// WeightDecay (Advanced Usage) Weight decay adds a term to the loss function that is proportional to the sum of the squared weights. This term reduces the magnitude of the weights and prevents them from growing too large.
	WeightDecay *float32 `json:"weight_decay,omitempty"`
}

ClassifierTrainingParametersIn The fine-tuning hyperparameter settings used in a classifier fine-tune job.

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

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

AgentsApiV1AgentsCreate Create a agent that can be used within a conversation.

Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/agents (the `AgentsApiV1AgentsCreate` operationId).

func (*Client) AgentsApiV1AgentsCreateOrUpdateAlias

func (c *Client) AgentsApiV1AgentsCreateOrUpdateAlias(ctx context.Context, agentId string, params *AgentsApiV1AgentsCreateOrUpdateAliasParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AgentsApiV1AgentsCreateOrUpdateAlias Create or update an agent version alias.

Create a new alias or update an existing alias to point to a specific version. Aliases are unique per agent and can be reassigned to different versions.

Corresponds with PUT /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsCreateOrUpdateAlias` operationId).

func (*Client) AgentsApiV1AgentsCreateWithBody

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

AgentsApiV1AgentsCreateWithBody Create a agent that can be used within a conversation.

Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.

Takes any type of body and a specified content type.

Corresponds with POST /v1/agents (the `AgentsApiV1AgentsCreate` operationId).

func (*Client) AgentsApiV1AgentsDelete

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

AgentsApiV1AgentsDelete Delete an agent entity.

Corresponds with DELETE /v1/agents/{agent_id} (the `AgentsApiV1AgentsDelete` operationId).

func (*Client) AgentsApiV1AgentsDeleteAlias

func (c *Client) AgentsApiV1AgentsDeleteAlias(ctx context.Context, agentId string, params *AgentsApiV1AgentsDeleteAliasParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AgentsApiV1AgentsDeleteAlias Delete an agent version alias.

Delete an existing alias for an agent.

Corresponds with DELETE /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsDeleteAlias` operationId).

func (*Client) AgentsApiV1AgentsGet

func (c *Client) AgentsApiV1AgentsGet(ctx context.Context, agentId string, params *AgentsApiV1AgentsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AgentsApiV1AgentsGet Retrieve an agent entity.

Given an agent, retrieve an agent entity with its attributes. The agent_version parameter can be an integer version number or a string alias.

Corresponds with GET /v1/agents/{agent_id} (the `AgentsApiV1AgentsGet` operationId).

func (*Client) AgentsApiV1AgentsGetVersion

func (c *Client) AgentsApiV1AgentsGetVersion(ctx context.Context, agentId string, version string, reqEditors ...RequestEditorFn) (*http.Response, error)

AgentsApiV1AgentsGetVersion Retrieve a specific version of an agent.

Get a specific agent version by version number.

Corresponds with GET /v1/agents/{agent_id}/versions/{version} (the `AgentsApiV1AgentsGetVersion` operationId).

func (*Client) AgentsApiV1AgentsList

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

AgentsApiV1AgentsList List agent entities.

Retrieve a list of agent entities sorted by creation time. Deprecated: some features such as agent sharing are not supported by this endpoint. Use the cursor-paginated `GET /v1/agents/pages` instead.

Corresponds with GET /v1/agents (the `AgentsApiV1AgentsList` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) AgentsApiV1AgentsListPages

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

AgentsApiV1AgentsListPages List agent entities, cursor-paginated.

Retrieve a page of agent entities. Unlike the deprecated `GET /v1/agents`, this endpoint paginates by opaque cursor and honors per-agent sharing, returning only agents the caller is authorized to see.

Corresponds with GET /v1/agents/pages (the `AgentsApiV1AgentsListPages` operationId).

func (*Client) AgentsApiV1AgentsListVersionAliases

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

AgentsApiV1AgentsListVersionAliases List all aliases for an agent.

Retrieve all version aliases for a specific agent.

Corresponds with GET /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsListVersionAliases` operationId).

func (*Client) AgentsApiV1AgentsListVersions

func (c *Client) AgentsApiV1AgentsListVersions(ctx context.Context, agentId string, params *AgentsApiV1AgentsListVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AgentsApiV1AgentsListVersions List all versions of an agent.

Retrieve all versions for a specific agent with full agent context. Supports pagination.

Corresponds with GET /v1/agents/{agent_id}/versions (the `AgentsApiV1AgentsListVersions` operationId).

func (*Client) AgentsApiV1AgentsUpdate

func (c *Client) AgentsApiV1AgentsUpdate(ctx context.Context, agentId string, body AgentsApiV1AgentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AgentsApiV1AgentsUpdate Update an agent entity.

Update an agent attributes and create a new version.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v1/agents/{agent_id} (the `AgentsApiV1AgentsUpdate` operationId).

func (*Client) AgentsApiV1AgentsUpdateVersion

func (c *Client) AgentsApiV1AgentsUpdateVersion(ctx context.Context, agentId string, params *AgentsApiV1AgentsUpdateVersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AgentsApiV1AgentsUpdateVersion Update an agent version.

Switch the version of an agent.

Corresponds with PATCH /v1/agents/{agent_id}/version (the `AgentsApiV1AgentsUpdateVersion` operationId).

func (*Client) AgentsApiV1AgentsUpdateWithBody

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

AgentsApiV1AgentsUpdateWithBody Update an agent entity.

Update an agent attributes and create a new version.

Takes any type of body and a specified content type.

Corresponds with PATCH /v1/agents/{agent_id} (the `AgentsApiV1AgentsUpdate` operationId).

func (*Client) AgentsApiV1ConversationsAppend

func (c *Client) AgentsApiV1ConversationsAppend(ctx context.Context, conversationId string, body AgentsApiV1ConversationsAppendJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AgentsApiV1ConversationsAppend Append new entries to an existing conversation.

Run completion on the history of the conversation and the user entries. Return the new created entries.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsAppend` operationId).

func (*Client) AgentsApiV1ConversationsAppendStream

func (c *Client) AgentsApiV1ConversationsAppendStream(ctx context.Context, conversationId string, body AgentsApiV1ConversationsAppendStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AgentsApiV1ConversationsAppendStream Append new entries to an existing conversation.

Run completion on the history of the conversation and the user entries. Return the new created entries.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/conversations/{conversation_id}#stream (the `AgentsApiV1ConversationsAppendStream` operationId).

func (*Client) AgentsApiV1ConversationsAppendStreamWithBody

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

AgentsApiV1ConversationsAppendStreamWithBody Append new entries to an existing conversation.

Run completion on the history of the conversation and the user entries. Return the new created entries.

Takes any type of body and a specified content type.

Corresponds with POST /v1/conversations/{conversation_id}#stream (the `AgentsApiV1ConversationsAppendStream` operationId).

func (*Client) AgentsApiV1ConversationsAppendWithBody

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

AgentsApiV1ConversationsAppendWithBody Append new entries to an existing conversation.

Run completion on the history of the conversation and the user entries. Return the new created entries.

Takes any type of body and a specified content type.

Corresponds with POST /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsAppend` operationId).

func (*Client) AgentsApiV1ConversationsDelete

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

AgentsApiV1ConversationsDelete Delete a conversation.

Delete a conversation given a conversation_id.

Corresponds with DELETE /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsDelete` operationId).

func (*Client) AgentsApiV1ConversationsGet

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

AgentsApiV1ConversationsGet Retrieve a conversation information.

Given a conversation_id retrieve a conversation entity with its attributes.

Corresponds with GET /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsGet` operationId).

func (*Client) AgentsApiV1ConversationsHistory

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

AgentsApiV1ConversationsHistory Retrieve all entries in a conversation.

Given a conversation_id retrieve all the entries belonging to that conversation. The entries are sorted in the order they were appended, those can be messages, connectors or function_call.

Corresponds with GET /v1/conversations/{conversation_id}/history (the `AgentsApiV1ConversationsHistory` operationId).

func (*Client) AgentsApiV1ConversationsList

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

AgentsApiV1ConversationsList List all created conversations.

Retrieve a list of conversation entities sorted by creation time.

Corresponds with GET /v1/conversations (the `AgentsApiV1ConversationsList` operationId).

func (*Client) AgentsApiV1ConversationsMessages

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

AgentsApiV1ConversationsMessages Retrieve all messages in a conversation.

Given a conversation_id retrieve all the messages belonging to that conversation. This is similar to retrieving all entries except we filter the messages only.

Corresponds with GET /v1/conversations/{conversation_id}/messages (the `AgentsApiV1ConversationsMessages` operationId).

func (*Client) AgentsApiV1ConversationsRestart

func (c *Client) AgentsApiV1ConversationsRestart(ctx context.Context, conversationId string, body AgentsApiV1ConversationsRestartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AgentsApiV1ConversationsRestart Restart a conversation starting from a given entry.

Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/conversations/{conversation_id}/restart (the `AgentsApiV1ConversationsRestart` operationId).

func (*Client) AgentsApiV1ConversationsRestartStream

func (c *Client) AgentsApiV1ConversationsRestartStream(ctx context.Context, conversationId string, body AgentsApiV1ConversationsRestartStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AgentsApiV1ConversationsRestartStream Restart a conversation starting from a given entry.

Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/conversations/{conversation_id}/restart#stream (the `AgentsApiV1ConversationsRestartStream` operationId).

func (*Client) AgentsApiV1ConversationsRestartStreamWithBody

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

AgentsApiV1ConversationsRestartStreamWithBody Restart a conversation starting from a given entry.

Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.

Takes any type of body and a specified content type.

Corresponds with POST /v1/conversations/{conversation_id}/restart#stream (the `AgentsApiV1ConversationsRestartStream` operationId).

func (*Client) AgentsApiV1ConversationsRestartWithBody

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

AgentsApiV1ConversationsRestartWithBody Restart a conversation starting from a given entry.

Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.

Takes any type of body and a specified content type.

Corresponds with POST /v1/conversations/{conversation_id}/restart (the `AgentsApiV1ConversationsRestart` operationId).

func (*Client) AgentsApiV1ConversationsStart

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

AgentsApiV1ConversationsStart Create a conversation and append entries to it.

Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/conversations (the `AgentsApiV1ConversationsStart` operationId).

func (*Client) AgentsApiV1ConversationsStartStream

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

AgentsApiV1ConversationsStartStream Create a conversation and append entries to it.

Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/conversations#stream (the `AgentsApiV1ConversationsStartStream` operationId).

func (*Client) AgentsApiV1ConversationsStartStreamWithBody

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

AgentsApiV1ConversationsStartStreamWithBody Create a conversation and append entries to it.

Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.

Takes any type of body and a specified content type.

Corresponds with POST /v1/conversations#stream (the `AgentsApiV1ConversationsStartStream` operationId).

func (*Client) AgentsApiV1ConversationsStartWithBody

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

AgentsApiV1ConversationsStartWithBody Create a conversation and append entries to it.

Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.

Takes any type of body and a specified content type.

Corresponds with POST /v1/conversations (the `AgentsApiV1ConversationsStart` operationId).

func (*Client) AgentsCompletionV1AgentsCompletionsPost

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

AgentsCompletionV1AgentsCompletionsPost Agents Completion

Takes a body of the `application/json` content type.

Corresponds with POST /v1/agents/completions (the `AgentsCompletionV1AgentsCompletionsPost` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) AgentsCompletionV1AgentsCompletionsPostWithBody

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

AgentsCompletionV1AgentsCompletionsPostWithBody Agents Completion

Takes any type of body and a specified content type.

Corresponds with POST /v1/agents/completions (the `AgentsCompletionV1AgentsCompletionsPost` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut

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

ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut Archive Workflow

Corresponds with PUT /v1/workflows/{workflow_identifier}/archive (the `ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut` operationId).

func (*Client) AudioApiV1TranscriptionsPostStreamWithBody

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

AudioApiV1TranscriptionsPostStreamWithBody Create Streaming Transcription (SSE)

Takes any type of body and a specified content type.

Corresponds with POST /v1/audio/transcriptions#stream (the `AudioApiV1TranscriptionsPostStream` operationId).

func (*Client) AudioApiV1TranscriptionsPostWithBody

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

AudioApiV1TranscriptionsPostWithBody Create Transcription

Takes any type of body and a specified content type.

Corresponds with POST /v1/audio/transcriptions (the `AudioApiV1TranscriptionsPost` operationId).

func (*Client) BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost

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

BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost Batch Cancel Workflow Executions

Takes a body of the `application/json` content type.

Corresponds with POST /v1/workflows/executions/cancel (the `BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost` operationId).

func (*Client) BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBody

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

BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBody Batch Cancel Workflow Executions

Takes any type of body and a specified content type.

Corresponds with POST /v1/workflows/executions/cancel (the `BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost` operationId).

func (*Client) BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost

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

BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost Batch Terminate Workflow Executions

Takes a body of the `application/json` content type.

Corresponds with POST /v1/workflows/executions/terminate (the `BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost` operationId).

func (*Client) BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBody

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

BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBody Batch Terminate Workflow Executions

Takes any type of body and a specified content type.

Corresponds with POST /v1/workflows/executions/terminate (the `BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost` operationId).

func (*Client) CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost

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

CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost Cancel Workflow Execution

Corresponds with POST /v1/workflows/executions/{execution_id}/cancel (the `CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost` operationId).

func (*Client) ChatClassificationsV1ChatClassificationsPost

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

ChatClassificationsV1ChatClassificationsPost Chat Classifications

Takes a body of the `application/json` content type.

Corresponds with POST /v1/chat/classifications (the `ChatClassificationsV1ChatClassificationsPost` operationId).

func (*Client) ChatClassificationsV1ChatClassificationsPostWithBody

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

ChatClassificationsV1ChatClassificationsPostWithBody Chat Classifications

Takes any type of body and a specified content type.

Corresponds with POST /v1/chat/classifications (the `ChatClassificationsV1ChatClassificationsPost` operationId).

func (*Client) ChatCompletionV1ChatCompletionsPost

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

ChatCompletionV1ChatCompletionsPost Chat Completion

Takes a body of the `application/json` content type.

Corresponds with POST /v1/chat/completions (the `ChatCompletionV1ChatCompletionsPost` operationId).

func (*Client) ChatCompletionV1ChatCompletionsPostWithBody

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

ChatCompletionV1ChatCompletionsPostWithBody Chat Completion

Takes any type of body and a specified content type.

Corresponds with POST /v1/chat/completions (the `ChatCompletionV1ChatCompletionsPost` operationId).

func (*Client) ChatModerationsV1ChatModerationsPost

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

ChatModerationsV1ChatModerationsPost Chat Moderations

Takes a body of the `application/json` content type.

Corresponds with POST /v1/chat/moderations (the `ChatModerationsV1ChatModerationsPost` operationId).

func (*Client) ChatModerationsV1ChatModerationsPostWithBody

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

ChatModerationsV1ChatModerationsPostWithBody Chat Moderations

Takes any type of body and a specified content type.

Corresponds with POST /v1/chat/moderations (the `ChatModerationsV1ChatModerationsPost` operationId).

func (*Client) ClassificationsV1ClassificationsPost

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

ClassificationsV1ClassificationsPost Classifications

Takes a body of the `application/json` content type.

Corresponds with POST /v1/classifications (the `ClassificationsV1ClassificationsPost` operationId).

func (*Client) ClassificationsV1ClassificationsPostWithBody

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

ClassificationsV1ClassificationsPostWithBody Classifications

Takes any type of body and a specified content type.

Corresponds with POST /v1/classifications (the `ClassificationsV1ClassificationsPost` operationId).

func (*Client) ConnectorCallToolV1

func (c *Client) ConnectorCallToolV1(ctx context.Context, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, body ConnectorCallToolV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ConnectorCallToolV1 Call Connector Tool

Call a tool on an MCP connector.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/connectors/{connector_id_or_name}/tools/{tool_name}/call (the `ConnectorCallToolV1` operationId).

func (*Client) ConnectorCallToolV1WithBody

func (c *Client) ConnectorCallToolV1WithBody(ctx context.Context, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ConnectorCallToolV1WithBody Call Connector Tool

Call a tool on an MCP connector.

Takes any type of body and a specified content type.

Corresponds with POST /v1/connectors/{connector_id_or_name}/tools/{tool_name}/call (the `ConnectorCallToolV1` operationId).

func (*Client) ConnectorCreateOrUpdateOrganizationCredentialsV1

func (c *Client) ConnectorCreateOrUpdateOrganizationCredentialsV1(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateOrganizationCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ConnectorCreateOrUpdateOrganizationCredentialsV1 Create or update organization credentials for a connector.

Create or update credentials at the organization level for a given connector.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorCreateOrUpdateOrganizationCredentialsV1` operationId).

func (*Client) ConnectorCreateOrUpdateOrganizationCredentialsV1WithBody

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

ConnectorCreateOrUpdateOrganizationCredentialsV1WithBody Create or update organization credentials for a connector.

Create or update credentials at the organization level for a given connector.

Takes any type of body and a specified content type.

Corresponds with POST /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorCreateOrUpdateOrganizationCredentialsV1` operationId).

func (*Client) ConnectorCreateOrUpdateUserCredentialsV1

func (c *Client) ConnectorCreateOrUpdateUserCredentialsV1(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateUserCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ConnectorCreateOrUpdateUserCredentialsV1 Create or update user credentials for a connector.

Create or update credentials at the user level for a given connector.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorCreateOrUpdateUserCredentialsV1` operationId).

func (*Client) ConnectorCreateOrUpdateUserCredentialsV1WithBody

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

ConnectorCreateOrUpdateUserCredentialsV1WithBody Create or update user credentials for a connector.

Create or update credentials at the user level for a given connector.

Takes any type of body and a specified content type.

Corresponds with POST /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorCreateOrUpdateUserCredentialsV1` operationId).

func (*Client) ConnectorCreateOrUpdateWorkspaceCredentialsV1

func (c *Client) ConnectorCreateOrUpdateWorkspaceCredentialsV1(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateWorkspaceCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ConnectorCreateOrUpdateWorkspaceCredentialsV1 Create or update workspace credentials for a connector.

Create or update credentials at the workspace level for a given connector.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorCreateOrUpdateWorkspaceCredentialsV1` operationId).

func (*Client) ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBody

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

ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBody Create or update workspace credentials for a connector.

Create or update credentials at the workspace level for a given connector.

Takes any type of body and a specified content type.

Corresponds with POST /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorCreateOrUpdateWorkspaceCredentialsV1` operationId).

func (*Client) ConnectorCreateV1

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

ConnectorCreateV1 Create a new connector.

Create a new MCP connector. You can customize its visibility, url and auth type.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/connectors (the `ConnectorCreateV1` operationId).

func (*Client) ConnectorCreateV1WithBody

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

ConnectorCreateV1WithBody Create a new connector.

Create a new MCP connector. You can customize its visibility, url and auth type.

Takes any type of body and a specified content type.

Corresponds with POST /v1/connectors (the `ConnectorCreateV1` operationId).

func (*Client) ConnectorDeleteOrganizationCredentialsV1

func (c *Client) ConnectorDeleteOrganizationCredentialsV1(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ConnectorDeleteOrganizationCredentialsV1 Delete organization credentials for a connector.

Delete credentials at the organization level for a given connector.

Corresponds with DELETE /v1/connectors/{connector_id_or_name}/organization/credentials/{credentials_name} (the `ConnectorDeleteOrganizationCredentialsV1` operationId).

func (*Client) ConnectorDeleteUserCredentialsV1

func (c *Client) ConnectorDeleteUserCredentialsV1(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ConnectorDeleteUserCredentialsV1 Delete user credentials for a connector.

Delete credentials at the user level for a given connector.

Corresponds with DELETE /v1/connectors/{connector_id_or_name}/user/credentials/{credentials_name} (the `ConnectorDeleteUserCredentialsV1` operationId).

func (*Client) ConnectorDeleteV1

func (c *Client) ConnectorDeleteV1(ctx context.Context, connectorId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

ConnectorDeleteV1 Delete a connector.

Delete a connector by its ID.

Corresponds with DELETE /v1/connectors/{connector_id}#id (the `ConnectorDeleteV1` operationId).

func (*Client) ConnectorDeleteWorkspaceCredentialsV1

func (c *Client) ConnectorDeleteWorkspaceCredentialsV1(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*http.Response, error)

ConnectorDeleteWorkspaceCredentialsV1 Delete workspace credentials for a connector.

Delete credentials at the workspace level for a given connector.

Corresponds with DELETE /v1/connectors/{connector_id_or_name}/workspace/credentials/{credentials_name} (the `ConnectorDeleteWorkspaceCredentialsV1` operationId).

func (*Client) ConnectorGetAuthUrlV1

func (c *Client) ConnectorGetAuthUrlV1(ctx context.Context, connectorIdOrName string, params *ConnectorGetAuthUrlV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)

ConnectorGetAuthUrlV1 Get the auth URL for a connector.

Get the OAuth2 authorization URL for a connector to initiate user authentication.

Corresponds with GET /v1/connectors/{connector_id_or_name}/auth_url (the `ConnectorGetAuthUrlV1` operationId).

func (*Client) ConnectorGetAuthenticationMethodsV1

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

ConnectorGetAuthenticationMethodsV1 Get authentication methods for a connector.

Get the authentication schema for a connector. Returns the list of supported authentication methods and their required headers.

Corresponds with GET /v1/connectors/{connector_id_or_name}/authentication_methods (the `ConnectorGetAuthenticationMethodsV1` operationId).

func (*Client) ConnectorGetV1

func (c *Client) ConnectorGetV1(ctx context.Context, connectorIdOrName string, params *ConnectorGetV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)

ConnectorGetV1 Get a connector.

Get a connector by its ID or name.

Corresponds with GET /v1/connectors/{connector_id_or_name}#idOrName (the `ConnectorGetV1` operationId).

func (*Client) ConnectorListOrganizationCredentialsV1

func (c *Client) ConnectorListOrganizationCredentialsV1(ctx context.Context, connectorIdOrName string, params *ConnectorListOrganizationCredentialsV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)

ConnectorListOrganizationCredentialsV1 List organization credentials for a connector.

List all credentials configured at the organization level for a given connector.

Corresponds with GET /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorListOrganizationCredentialsV1` operationId).

func (*Client) ConnectorListToolsV1

func (c *Client) ConnectorListToolsV1(ctx context.Context, connectorIdOrName string, params *ConnectorListToolsV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)

ConnectorListToolsV1 List tools for a connector.

List all tools available for an MCP connector.

Corresponds with GET /v1/connectors/{connector_id_or_name}/tools (the `ConnectorListToolsV1` operationId).

func (*Client) ConnectorListUserCredentialsV1

func (c *Client) ConnectorListUserCredentialsV1(ctx context.Context, connectorIdOrName string, params *ConnectorListUserCredentialsV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)

ConnectorListUserCredentialsV1 List user credentials for a connector.

List all credentials configured at the user level for a given connector.

Corresponds with GET /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorListUserCredentialsV1` operationId).

func (*Client) ConnectorListV1

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

ConnectorListV1 List all connectors.

List all your custom connectors with keyset pagination and filters.

Corresponds with GET /v1/connectors (the `ConnectorListV1` operationId).

func (*Client) ConnectorListWorkspaceCredentialsV1

func (c *Client) ConnectorListWorkspaceCredentialsV1(ctx context.Context, connectorIdOrName string, params *ConnectorListWorkspaceCredentialsV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)

ConnectorListWorkspaceCredentialsV1 List workspace credentials for a connector.

List all credentials configured at the workspace level for a given connector.

Corresponds with GET /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorListWorkspaceCredentialsV1` operationId).

func (*Client) ConnectorUpdateV1

func (c *Client) ConnectorUpdateV1(ctx context.Context, connectorId openapi_types.UUID, body ConnectorUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ConnectorUpdateV1 Update a connector.

Update a connector by its ID.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v1/connectors/{connector_id}#id (the `ConnectorUpdateV1` operationId).

func (*Client) ConnectorUpdateV1WithBody

func (c *Client) ConnectorUpdateV1WithBody(ctx context.Context, connectorId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ConnectorUpdateV1WithBody Update a connector.

Update a connector by its ID.

Takes any type of body and a specified content type.

Corresponds with PATCH /v1/connectors/{connector_id}#id (the `ConnectorUpdateV1` operationId).

func (*Client) CreateCampaignV1ObservabilityCampaignsPost

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

CreateCampaignV1ObservabilityCampaignsPost Create and start a new campaign

Takes a body of the `application/json` content type.

Corresponds with POST /v1/observability/campaigns (the `CreateCampaignV1ObservabilityCampaignsPost` operationId).

func (*Client) CreateCampaignV1ObservabilityCampaignsPostWithBody

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

CreateCampaignV1ObservabilityCampaignsPostWithBody Create and start a new campaign

Takes any type of body and a specified content type.

Corresponds with POST /v1/observability/campaigns (the `CreateCampaignV1ObservabilityCampaignsPost` operationId).

func (*Client) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost

func (c *Client) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost(ctx context.Context, datasetId openapi_types.UUID, body CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost Add a conversation to the dataset

Takes a body of the `application/json` content type.

Corresponds with POST /v1/observability/datasets/{dataset_id}/records (the `CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost` operationId).

func (*Client) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBody

func (c *Client) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBody Add a conversation to the dataset

Takes any type of body and a specified content type.

Corresponds with POST /v1/observability/datasets/{dataset_id}/records (the `CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost` operationId).

func (*Client) CreateDatasetV1ObservabilityDatasetsPost

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

CreateDatasetV1ObservabilityDatasetsPost Create a new empty dataset

Takes a body of the `application/json` content type.

Corresponds with POST /v1/observability/datasets (the `CreateDatasetV1ObservabilityDatasetsPost` operationId).

func (*Client) CreateDatasetV1ObservabilityDatasetsPostWithBody

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

CreateDatasetV1ObservabilityDatasetsPostWithBody Create a new empty dataset

Takes any type of body and a specified content type.

Corresponds with POST /v1/observability/datasets (the `CreateDatasetV1ObservabilityDatasetsPost` operationId).

func (*Client) CreateJudgeV1ObservabilityJudgesPost

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

CreateJudgeV1ObservabilityJudgesPost Create a new judge

Takes a body of the `application/json` content type.

Corresponds with POST /v1/observability/judges (the `CreateJudgeV1ObservabilityJudgesPost` operationId).

func (*Client) CreateJudgeV1ObservabilityJudgesPostWithBody

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

CreateJudgeV1ObservabilityJudgesPostWithBody Create a new judge

Takes any type of body and a specified content type.

Corresponds with POST /v1/observability/judges (the `CreateJudgeV1ObservabilityJudgesPost` operationId).

func (*Client) CreateVoiceV1AudioVoicesPost

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

CreateVoiceV1AudioVoicesPost Create a new voice

Create a new voice with a base64-encoded audio sample.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/audio/voices (the `CreateVoiceV1AudioVoicesPost` operationId).

func (*Client) CreateVoiceV1AudioVoicesPostWithBody

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

CreateVoiceV1AudioVoicesPostWithBody Create a new voice

Create a new voice with a base64-encoded audio sample.

Takes any type of body and a specified content type.

Corresponds with POST /v1/audio/voices (the `CreateVoiceV1AudioVoicesPost` operationId).

func (*Client) DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete

func (c *Client) DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete Delete a campaign

Corresponds with DELETE /v1/observability/campaigns/{campaign_id} (the `DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete` operationId).

func (*Client) DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete

func (c *Client) DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete(ctx context.Context, datasetRecordId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete Delete a record from a dataset

Corresponds with DELETE /v1/observability/dataset-records/{dataset_record_id} (the `DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete` operationId).

func (*Client) DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost

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

DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost Delete multiple records from datasets

Takes a body of the `application/json` content type.

Corresponds with POST /v1/observability/dataset-records/bulk-delete (the `DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost` operationId).

func (*Client) DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBody

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

DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBody Delete multiple records from datasets

Takes any type of body and a specified content type.

Corresponds with POST /v1/observability/dataset-records/bulk-delete (the `DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost` operationId).

func (*Client) DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete

func (c *Client) DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete Delete a dataset

Corresponds with DELETE /v1/observability/datasets/{dataset_id} (the `DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete` operationId).

func (*Client) DeleteJudgeV1ObservabilityJudgesJudgeIdDelete

func (c *Client) DeleteJudgeV1ObservabilityJudgesJudgeIdDelete(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteJudgeV1ObservabilityJudgesJudgeIdDelete Delete a judge

Corresponds with DELETE /v1/observability/judges/{judge_id} (the `DeleteJudgeV1ObservabilityJudgesJudgeIdDelete` operationId).

func (*Client) DeleteModelV1ModelsModelIdDelete

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

DeleteModelV1ModelsModelIdDelete Delete Model

Delete a fine-tuned model.

Corresponds with DELETE /v1/models/{model_id} (the `DeleteModelV1ModelsModelIdDelete` operationId).

func (*Client) DeleteVoiceV1AudioVoicesVoiceIdDelete

func (c *Client) DeleteVoiceV1AudioVoicesVoiceIdDelete(ctx context.Context, voiceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteVoiceV1AudioVoicesVoiceIdDelete Delete a custom voice

Corresponds with DELETE /v1/audio/voices/{voice_id} (the `DeleteVoiceV1AudioVoicesVoiceIdDelete` operationId).

func (*Client) EmbeddingsV1EmbeddingsPost

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

EmbeddingsV1EmbeddingsPost Embeddings

Takes a body of the `application/json` content type.

Corresponds with POST /v1/embeddings (the `EmbeddingsV1EmbeddingsPost` operationId).

func (*Client) EmbeddingsV1EmbeddingsPostWithBody

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

EmbeddingsV1EmbeddingsPostWithBody Embeddings

Takes any type of body and a specified content type.

Corresponds with POST /v1/embeddings (the `EmbeddingsV1EmbeddingsPost` operationId).

func (*Client) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost

func (c *Client) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost(ctx context.Context, workflowRegistrationId openapi_types.UUID, body ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost Execute Workflow Registration

Takes a body of the `application/json` content type.

Corresponds with POST /v1/workflows/registrations/{workflow_registration_id}/execute (the `ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBody

func (c *Client) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBody(ctx context.Context, workflowRegistrationId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBody Execute Workflow Registration

Takes any type of body and a specified content type.

Corresponds with POST /v1/workflows/registrations/{workflow_registration_id}/execute (the `ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost

func (c *Client) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost(ctx context.Context, workflowIdentifier string, body ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost Execute Workflow

Takes a body of the `application/json` content type.

Corresponds with POST /v1/workflows/{workflow_identifier}/execute (the `ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost` operationId).

func (*Client) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBody

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

ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBody Execute Workflow

Takes any type of body and a specified content type.

Corresponds with POST /v1/workflows/{workflow_identifier}/execute (the `ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost` operationId).

func (*Client) ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet

func (c *Client) ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet Export to the Files API and retrieve presigned URL to download the resulting JSONL file

Corresponds with GET /v1/observability/datasets/{dataset_id}/exports/to-jsonl (the `ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet` operationId).

func (*Client) FilesApiRoutesDeleteFile

func (c *Client) FilesApiRoutesDeleteFile(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

FilesApiRoutesDeleteFile Delete File

Delete a file.

Corresponds with DELETE /v1/files/{file_id} (the `FilesApiRoutesDeleteFile` operationId).

func (*Client) FilesApiRoutesDownloadFile

func (c *Client) FilesApiRoutesDownloadFile(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

FilesApiRoutesDownloadFile Download File

Download a file.

Corresponds with GET /v1/files/{file_id}/content (the `FilesApiRoutesDownloadFile` operationId).

func (*Client) FilesApiRoutesGetSignedUrl

func (c *Client) FilesApiRoutesGetSignedUrl(ctx context.Context, fileId openapi_types.UUID, params *FilesApiRoutesGetSignedUrlParams, reqEditors ...RequestEditorFn) (*http.Response, error)

FilesApiRoutesGetSignedUrl Get Signed Url

Corresponds with GET /v1/files/{file_id}/url (the `FilesApiRoutesGetSignedUrl` operationId).

func (*Client) FilesApiRoutesListFiles

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

FilesApiRoutesListFiles List Files

Returns a list of files that belong to the user's organization.

Corresponds with GET /v1/files (the `FilesApiRoutesListFiles` operationId).

func (*Client) FilesApiRoutesRetrieveFile

func (c *Client) FilesApiRoutesRetrieveFile(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

FilesApiRoutesRetrieveFile Retrieve File

Returns information about a specific file.

Corresponds with GET /v1/files/{file_id} (the `FilesApiRoutesRetrieveFile` operationId).

func (*Client) FilesApiRoutesUploadFileWithBody

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

FilesApiRoutesUploadFileWithBody Upload File

Upload a file that can be used across various endpoints.

The size of individual files can be a maximum of 512 MB. The Fine-tuning API only supports .jsonl files.

Please contact us if you need to increase these storage limits.

Takes any type of body and a specified content type.

Corresponds with POST /v1/files (the `FilesApiRoutesUploadFile` operationId).

func (*Client) FimCompletionV1FimCompletionsPost

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

FimCompletionV1FimCompletionsPost Fim Completion

FIM completion.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/fim/completions (the `FimCompletionV1FimCompletionsPost` operationId).

func (*Client) FimCompletionV1FimCompletionsPostWithBody

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

FimCompletionV1FimCompletionsPostWithBody Fim Completion

FIM completion.

Takes any type of body and a specified content type.

Corresponds with POST /v1/fim/completions (the `FimCompletionV1FimCompletionsPost` operationId).

func (*Client) GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet

func (c *Client) GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet Get campaign by id

Corresponds with GET /v1/observability/campaigns/{campaign_id} (the `GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet` operationId).

func (*Client) GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet

func (c *Client) GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet(ctx context.Context, campaignId openapi_types.UUID, params *GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet Get event ids that were selected by the given campaign

Corresponds with GET /v1/observability/campaigns/{campaign_id}/selected-events (the `GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet` operationId).

func (*Client) GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet

func (c *Client) GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet Get campaign status by campaign id

Corresponds with GET /v1/observability/campaigns/{campaign_id}/status (the `GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet` operationId).

func (*Client) GetCampaignsV1ObservabilityCampaignsGet

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

GetCampaignsV1ObservabilityCampaignsGet Get all campaigns

Corresponds with GET /v1/observability/campaigns (the `GetCampaignsV1ObservabilityCampaignsGet` operationId).

func (*Client) GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost

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

GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost Alternative to /search that returns only the IDs and that can return many IDs at once

Takes a body of the `application/json` content type.

Corresponds with POST /v1/observability/chat-completion-events/search-ids (the `GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost` operationId).

func (*Client) GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBody

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

GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBody Alternative to /search that returns only the IDs and that can return many IDs at once

Takes any type of body and a specified content type.

Corresponds with POST /v1/observability/chat-completion-events/search-ids (the `GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost` operationId).

func (*Client) GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet

func (c *Client) GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet Get Chat Completion Event

Corresponds with GET /v1/observability/chat-completion-events/{event_id} (the `GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet` operationId).

func (*Client) GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost

GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost Get Chat Completion Events

Takes a body of the `application/json` content type.

Corresponds with POST /v1/observability/chat-completion-events/search (the `GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost` operationId).

func (*Client) GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBody

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

GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBody Get Chat Completion Events

Takes any type of body and a specified content type.

Corresponds with POST /v1/observability/chat-completion-events/search (the `GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost` operationId).

func (*Client) GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost

func (c *Client) GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost(ctx context.Context, fieldName string, body GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost Get Chat Completion Field Options Counts

Takes a body of the `application/json` content type.

Corresponds with POST /v1/observability/chat-completion-fields/{field_name}/options-counts (the `GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost` operationId).

func (*Client) GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBody

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

GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBody Get Chat Completion Field Options Counts

Takes any type of body and a specified content type.

Corresponds with POST /v1/observability/chat-completion-fields/{field_name}/options-counts (the `GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost` operationId).

func (*Client) GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet

func (c *Client) GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet(ctx context.Context, fieldName string, params *GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet Get Chat Completion Field Options

Corresponds with GET /v1/observability/chat-completion-fields/{field_name}/options (the `GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet` operationId).

func (*Client) GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet

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

GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet Get Chat Completion Fields

Corresponds with GET /v1/observability/chat-completion-fields (the `GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet` operationId).

func (*Client) GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet

func (c *Client) GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet Get dataset by id

Corresponds with GET /v1/observability/datasets/{dataset_id} (the `GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet` operationId).

func (*Client) GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet

func (c *Client) GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet(ctx context.Context, datasetId openapi_types.UUID, taskId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet Get status of a dataset import task

Corresponds with GET /v1/observability/datasets/{dataset_id}/tasks/{task_id} (the `GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet` operationId).

func (*Client) GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet

func (c *Client) GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet(ctx context.Context, datasetId openapi_types.UUID, params *GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet List import tasks for the given dataset

Corresponds with GET /v1/observability/datasets/{dataset_id}/tasks (the `GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet` operationId).

func (*Client) GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet

func (c *Client) GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet(ctx context.Context, datasetRecordId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet Get the content of a given conversation from a dataset

Corresponds with GET /v1/observability/dataset-records/{dataset_record_id} (the `GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet` operationId).

func (*Client) GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet

func (c *Client) GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet(ctx context.Context, datasetId openapi_types.UUID, params *GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet List existing records in the dataset

Corresponds with GET /v1/observability/datasets/{dataset_id}/records (the `GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet` operationId).

func (*Client) GetDatasetsV1ObservabilityDatasetsGet

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

GetDatasetsV1ObservabilityDatasetsGet List existing datasets

Corresponds with GET /v1/observability/datasets (the `GetDatasetsV1ObservabilityDatasetsGet` operationId).

func (*Client) GetDeploymentV1WorkflowsDeploymentsNameGet

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

GetDeploymentV1WorkflowsDeploymentsNameGet Get Deployment

Corresponds with GET /v1/workflows/deployments/{name} (the `GetDeploymentV1WorkflowsDeploymentsNameGet` operationId).

func (*Client) GetJudgeByIdV1ObservabilityJudgesJudgeIdGet

func (c *Client) GetJudgeByIdV1ObservabilityJudgesJudgeIdGet(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetJudgeByIdV1ObservabilityJudgesJudgeIdGet Get judge by id

Corresponds with GET /v1/observability/judges/{judge_id} (the `GetJudgeByIdV1ObservabilityJudgesJudgeIdGet` operationId).

func (*Client) GetJudgesV1ObservabilityJudgesGet

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

GetJudgesV1ObservabilityJudgesGet Get judges with optional filtering and search

Corresponds with GET /v1/observability/judges (the `GetJudgesV1ObservabilityJudgesGet` operationId).

func (*Client) GetRunHistoryV1WorkflowsRunsRunIdHistoryGet

func (c *Client) GetRunHistoryV1WorkflowsRunsRunIdHistoryGet(ctx context.Context, runId openapi_types.UUID, params *GetRunHistoryV1WorkflowsRunsRunIdHistoryGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetRunHistoryV1WorkflowsRunsRunIdHistoryGet Get Run History

Corresponds with GET /v1/workflows/runs/{run_id}/history (the `GetRunHistoryV1WorkflowsRunsRunIdHistoryGet` operationId).

func (*Client) GetRunV1WorkflowsRunsRunIdGet

func (c *Client) GetRunV1WorkflowsRunsRunIdGet(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetRunV1WorkflowsRunsRunIdGet Get Run

Corresponds with GET /v1/workflows/runs/{run_id} (the `GetRunV1WorkflowsRunsRunIdGet` operationId).

func (*Client) GetSchedulesV1WorkflowsSchedulesGet

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

GetSchedulesV1WorkflowsSchedulesGet Get Schedules

Corresponds with GET /v1/workflows/schedules (the `GetSchedulesV1WorkflowsSchedulesGet` operationId).

func (*Client) GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet

func (c *Client) GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet Get Similar Chat Completion Events

Corresponds with GET /v1/observability/chat-completion-events/{event_id}/similar-events (the `GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet` operationId).

func (*Client) GetStreamEventsV1WorkflowsEventsStreamGet

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

GetStreamEventsV1WorkflowsEventsStreamGet Get Stream Events

Corresponds with GET /v1/workflows/events/stream (the `GetStreamEventsV1WorkflowsEventsStreamGet` operationId).

func (*Client) GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet

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

GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet Get voice sample audio

Get the audio sample for a voice.

Corresponds with GET /v1/audio/voices/{voice_id}/sample (the `GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet` operationId).

func (*Client) GetVoiceV1AudioVoicesVoiceIdGet

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

GetVoiceV1AudioVoicesVoiceIdGet Get voice details

Get voice details (excluding sample).

Corresponds with GET /v1/audio/voices/{voice_id} (the `GetVoiceV1AudioVoicesVoiceIdGet` operationId).

func (*Client) GetWorkerInfoV1WorkflowsWorkersWhoamiGet

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

GetWorkerInfoV1WorkflowsWorkersWhoamiGet Get Worker Info

Corresponds with GET /v1/workflows/workers/whoami (the `GetWorkerInfoV1WorkflowsWorkersWhoamiGet` operationId).

func (*Client) GetWorkflowEventsV1WorkflowsEventsListGet

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

GetWorkflowEventsV1WorkflowsEventsListGet Get Workflow Events

Corresponds with GET /v1/workflows/events/list (the `GetWorkflowEventsV1WorkflowsEventsListGet` operationId).

func (*Client) GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet

func (c *Client) GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet(ctx context.Context, executionId string, params *GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet Get Workflow Execution History

Corresponds with GET /v1/workflows/executions/{execution_id}/history (the `GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet` operationId).

func (*Client) GetWorkflowExecutionTraceEvents

func (c *Client) GetWorkflowExecutionTraceEvents(ctx context.Context, executionId string, params *GetWorkflowExecutionTraceEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetWorkflowExecutionTraceEvents Get Workflow Execution Trace Events

Corresponds with GET /v1/workflows/executions/{execution_id}/trace/events (the `GetWorkflowExecutionTraceEvents` operationId).

func (*Client) GetWorkflowExecutionTraceOtel

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

GetWorkflowExecutionTraceOtel Get Workflow Execution Trace Otel

Corresponds with GET /v1/workflows/executions/{execution_id}/trace/otel (the `GetWorkflowExecutionTraceOtel` operationId).

func (*Client) GetWorkflowExecutionTraceSummary

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

GetWorkflowExecutionTraceSummary Get Workflow Execution Trace Summary

Corresponds with GET /v1/workflows/executions/{execution_id}/trace/summary (the `GetWorkflowExecutionTraceSummary` operationId).

func (*Client) GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet

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

GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet Get Workflow Execution

Corresponds with GET /v1/workflows/executions/{execution_id} (the `GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet` operationId).

func (*Client) GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet

func (c *Client) GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet(ctx context.Context, workflowName string, params *GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet Get Workflow Metrics

Get comprehensive metrics for a specific workflow.

Args:

workflow_name: The name of the workflow type to get metrics for
start_time: Optional start time filter (ISO 8601 format)
end_time: Optional end time filter (ISO 8601 format)

Returns:

WorkflowMetrics: Dictionary containing metrics:
    - execution_count: Total number of executions
    - success_count: Number of successful executions
    - error_count: Number of failed/terminated executions
    - average_latency_ms: Average execution duration in milliseconds
    - retry_rate: Proportion of workflows with retries
    - latency_over_time: Time-series data of execution durations

Example:

GET /v1/workflows/MyWorkflow/metrics
GET /v1/workflows/MyWorkflow/metrics?start_time=2025-01-01T00:00:00Z
GET /v1/workflows/MyWorkflow/metrics?start_time=2025-01-01T00:00:00Z&end_time=2025-12-31T23:59:59Z

Corresponds with GET /v1/workflows/{workflow_name}/metrics (the `GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet` operationId).

func (*Client) GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet

func (c *Client) GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet(ctx context.Context, workflowRegistrationId openapi_types.UUID, params *GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet Get Workflow Registration

Corresponds with GET /v1/workflows/registrations/{workflow_registration_id} (the `GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet` operationId).

func (*Client) GetWorkflowRegistrationsV1WorkflowsRegistrationsGet

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

GetWorkflowRegistrationsV1WorkflowsRegistrationsGet Get Workflow Registrations

Corresponds with GET /v1/workflows/registrations (the `GetWorkflowRegistrationsV1WorkflowsRegistrationsGet` operationId).

func (*Client) GetWorkflowV1WorkflowsWorkflowIdentifierGet

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

GetWorkflowV1WorkflowsWorkflowIdentifierGet Get Workflow

Corresponds with GET /v1/workflows/{workflow_identifier} (the `GetWorkflowV1WorkflowsWorkflowIdentifierGet` operationId).

func (*Client) JobsApiRoutesBatchCancelBatchJob

func (c *Client) JobsApiRoutesBatchCancelBatchJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

JobsApiRoutesBatchCancelBatchJob Cancel Batch Job

Request the cancellation of a batch job.

Corresponds with POST /v1/batch/jobs/{job_id}/cancel (the `JobsApiRoutesBatchCancelBatchJob` operationId).

func (*Client) JobsApiRoutesBatchCreateBatchJob

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

JobsApiRoutesBatchCreateBatchJob Create Batch Job

Create a new batch job, it will be queued for processing.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/batch/jobs (the `JobsApiRoutesBatchCreateBatchJob` operationId).

func (*Client) JobsApiRoutesBatchCreateBatchJobWithBody

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

JobsApiRoutesBatchCreateBatchJobWithBody Create Batch Job

Create a new batch job, it will be queued for processing.

Takes any type of body and a specified content type.

Corresponds with POST /v1/batch/jobs (the `JobsApiRoutesBatchCreateBatchJob` operationId).

func (*Client) JobsApiRoutesBatchGetBatchJob

func (c *Client) JobsApiRoutesBatchGetBatchJob(ctx context.Context, jobId openapi_types.UUID, params *JobsApiRoutesBatchGetBatchJobParams, reqEditors ...RequestEditorFn) (*http.Response, error)

JobsApiRoutesBatchGetBatchJob Get Batch Job

Get a batch job details by its UUID.

Args:

inline: If True, return results inline in the response.

Corresponds with GET /v1/batch/jobs/{job_id} (the `JobsApiRoutesBatchGetBatchJob` operationId).

func (*Client) JobsApiRoutesBatchGetBatchJobs

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

JobsApiRoutesBatchGetBatchJobs Get Batch Jobs

Get a list of batch jobs for your organization and user.

Corresponds with GET /v1/batch/jobs (the `JobsApiRoutesBatchGetBatchJobs` operationId).

func (*Client) JobsApiRoutesFineTuningArchiveFineTunedModel

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

JobsApiRoutesFineTuningArchiveFineTunedModel Archive Fine Tuned Model

Archive a fine-tuned model.

Corresponds with POST /v1/fine_tuning/models/{model_id}/archive (the `JobsApiRoutesFineTuningArchiveFineTunedModel` operationId).

func (*Client) JobsApiRoutesFineTuningCancelFineTuningJob

func (c *Client) JobsApiRoutesFineTuningCancelFineTuningJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

JobsApiRoutesFineTuningCancelFineTuningJob Cancel Fine Tuning Job

Request the cancellation of a fine tuning job.

Corresponds with POST /v1/fine_tuning/jobs/{job_id}/cancel (the `JobsApiRoutesFineTuningCancelFineTuningJob` operationId).

func (*Client) JobsApiRoutesFineTuningCreateFineTuningJob

JobsApiRoutesFineTuningCreateFineTuningJob Create Fine Tuning Job

Create a new fine-tuning job, it will be queued for processing.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningCreateFineTuningJob` operationId).

func (*Client) JobsApiRoutesFineTuningCreateFineTuningJobWithBody

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

JobsApiRoutesFineTuningCreateFineTuningJobWithBody Create Fine Tuning Job

Create a new fine-tuning job, it will be queued for processing.

Takes any type of body and a specified content type.

Corresponds with POST /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningCreateFineTuningJob` operationId).

func (*Client) JobsApiRoutesFineTuningGetFineTuningJob

func (c *Client) JobsApiRoutesFineTuningGetFineTuningJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

JobsApiRoutesFineTuningGetFineTuningJob Get Fine Tuning Job

Get a fine-tuned job details by its UUID.

Corresponds with GET /v1/fine_tuning/jobs/{job_id} (the `JobsApiRoutesFineTuningGetFineTuningJob` operationId).

func (*Client) JobsApiRoutesFineTuningGetFineTuningJobs

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

JobsApiRoutesFineTuningGetFineTuningJobs Get Fine Tuning Jobs

Get a list of fine-tuning jobs for your organization and user.

Corresponds with GET /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningGetFineTuningJobs` operationId).

func (*Client) JobsApiRoutesFineTuningStartFineTuningJob

func (c *Client) JobsApiRoutesFineTuningStartFineTuningJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

JobsApiRoutesFineTuningStartFineTuningJob Start Fine Tuning Job

Request the start of a validated fine tuning job.

Corresponds with POST /v1/fine_tuning/jobs/{job_id}/start (the `JobsApiRoutesFineTuningStartFineTuningJob` operationId).

func (*Client) JobsApiRoutesFineTuningUnarchiveFineTunedModel

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

JobsApiRoutesFineTuningUnarchiveFineTunedModel Unarchive Fine Tuned Model

Un-archive a fine-tuned model.

Corresponds with DELETE /v1/fine_tuning/models/{model_id}/archive (the `JobsApiRoutesFineTuningUnarchiveFineTunedModel` operationId).

func (*Client) JobsApiRoutesFineTuningUpdateFineTunedModel

func (c *Client) JobsApiRoutesFineTuningUpdateFineTunedModel(ctx context.Context, modelId string, body JobsApiRoutesFineTuningUpdateFineTunedModelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

JobsApiRoutesFineTuningUpdateFineTunedModel Update Fine Tuned Model

Update a model name or description.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v1/fine_tuning/models/{model_id} (the `JobsApiRoutesFineTuningUpdateFineTunedModel` operationId).

func (*Client) JobsApiRoutesFineTuningUpdateFineTunedModelWithBody

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

JobsApiRoutesFineTuningUpdateFineTunedModelWithBody Update Fine Tuned Model

Update a model name or description.

Takes any type of body and a specified content type.

Corresponds with PATCH /v1/fine_tuning/models/{model_id} (the `JobsApiRoutesFineTuningUpdateFineTunedModel` operationId).

func (*Client) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost

func (c *Client) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost(ctx context.Context, eventId openapi_types.UUID, body JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost Run Judge on an event based on the given options

Takes a body of the `application/json` content type.

Corresponds with POST /v1/observability/chat-completion-events/{event_id}/live-judging (the `JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost` operationId).

func (*Client) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBody

func (c *Client) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBody(ctx context.Context, eventId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBody Run Judge on an event based on the given options

Takes any type of body and a specified content type.

Corresponds with POST /v1/observability/chat-completion-events/{event_id}/live-judging (the `JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost` operationId).

func (*Client) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost

func (c *Client) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost(ctx context.Context, judgeId openapi_types.UUID, body JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost Run a saved judge on a conversation

Takes a body of the `application/json` content type.

Corresponds with POST /v1/observability/judges/{judge_id}/live-judging (the `JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost` operationId).

func (*Client) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBody

func (c *Client) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBody(ctx context.Context, judgeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBody Run a saved judge on a conversation

Takes any type of body and a specified content type.

Corresponds with POST /v1/observability/judges/{judge_id}/live-judging (the `JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost` operationId).

func (*Client) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost

func (c *Client) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost(ctx context.Context, datasetRecordId openapi_types.UUID, body JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost Run Judge on a dataset record based on the given options

Takes a body of the `application/json` content type.

Corresponds with POST /v1/observability/dataset-records/{dataset_record_id}/live-judging (the `JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost` operationId).

func (*Client) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBody

func (c *Client) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBody(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBody Run Judge on a dataset record based on the given options

Takes any type of body and a specified content type.

Corresponds with POST /v1/observability/dataset-records/{dataset_record_id}/live-judging (the `JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost` operationId).

func (*Client) LibrariesCreateV1

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

LibrariesCreateV1 Create a new Library.

Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/libraries (the `LibrariesCreateV1` operationId).

func (*Client) LibrariesCreateV1WithBody

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

LibrariesCreateV1WithBody Create a new Library.

Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.

Takes any type of body and a specified content type.

Corresponds with POST /v1/libraries (the `LibrariesCreateV1` operationId).

func (*Client) LibrariesDeleteV1

func (c *Client) LibrariesDeleteV1(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesDeleteV1 Delete a library and all of it's document.

Given a library id, deletes it together with all documents that have been uploaded to that library.

Corresponds with DELETE /v1/libraries/{library_id} (the `LibrariesDeleteV1` operationId).

func (*Client) LibrariesDocumentsDeleteV1

func (c *Client) LibrariesDocumentsDeleteV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesDocumentsDeleteV1 Delete a document.

Given a library and a document in that library, delete that document. The document will be deleted from the library and the search index.

Corresponds with DELETE /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsDeleteV1` operationId).

func (*Client) LibrariesDocumentsGetExtractedTextSignedUrlV1

func (c *Client) LibrariesDocumentsGetExtractedTextSignedUrlV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesDocumentsGetExtractedTextSignedUrlV1 Retrieve the signed URL of text extracted from a given document.

Given a library and a document in that library, retrieve the signed URL of text extracted. For documents that are sent to the OCR this returns the result of the OCR queries.

Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/extracted-text-signed-url (the `LibrariesDocumentsGetExtractedTextSignedUrlV1` operationId).

func (*Client) LibrariesDocumentsGetSignedUrlV1

func (c *Client) LibrariesDocumentsGetSignedUrlV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesDocumentsGetSignedUrlV1 Retrieve the signed URL of a specific document.

Given a library and a document in that library, retrieve the signed URL of a specific document.The url will expire after 30 minutes and can be accessed by anyone with the link.

Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/signed-url (the `LibrariesDocumentsGetSignedUrlV1` operationId).

func (*Client) LibrariesDocumentsGetStatusV1

func (c *Client) LibrariesDocumentsGetStatusV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesDocumentsGetStatusV1 Retrieve the processing status of a specific document.

Given a library and a document in that library, retrieve the processing status of that document.

Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/status (the `LibrariesDocumentsGetStatusV1` operationId).

func (*Client) LibrariesDocumentsGetTextContentV1

func (c *Client) LibrariesDocumentsGetTextContentV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesDocumentsGetTextContentV1 Retrieve the text content of a specific document.

Given a library and a document in that library, you can retrieve the text content of that document if it exists. For documents like pdf, docx and pptx the text content results from our processing using Mistral OCR.

Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/text_content (the `LibrariesDocumentsGetTextContentV1` operationId).

func (*Client) LibrariesDocumentsGetV1

func (c *Client) LibrariesDocumentsGetV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesDocumentsGetV1 Retrieve the metadata of a specific document.

Given a library and a document in this library, you can retrieve the metadata of that document.

Corresponds with GET /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsGetV1` operationId).

func (*Client) LibrariesDocumentsListV1

func (c *Client) LibrariesDocumentsListV1(ctx context.Context, libraryId openapi_types.UUID, params *LibrariesDocumentsListV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesDocumentsListV1 List documents in a given library.

Given a library, lists the document that have been uploaded to that library.

Corresponds with GET /v1/libraries/{library_id}/documents (the `LibrariesDocumentsListV1` operationId).

func (*Client) LibrariesDocumentsReprocessV1

func (c *Client) LibrariesDocumentsReprocessV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesDocumentsReprocessV1 Reprocess a document.

Given a library and a document in that library, reprocess that document, it will be billed again.

Corresponds with POST /v1/libraries/{library_id}/documents/{document_id}/reprocess (the `LibrariesDocumentsReprocessV1` operationId).

func (*Client) LibrariesDocumentsUpdateV1

func (c *Client) LibrariesDocumentsUpdateV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, body LibrariesDocumentsUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesDocumentsUpdateV1 Update the metadata of a specific document.

Given a library and a document in that library, update the name of that document.

Takes a body of the `application/json` content type.

Corresponds with PUT /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsUpdateV1` operationId).

func (*Client) LibrariesDocumentsUpdateV1WithBody

func (c *Client) LibrariesDocumentsUpdateV1WithBody(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesDocumentsUpdateV1WithBody Update the metadata of a specific document.

Given a library and a document in that library, update the name of that document.

Takes any type of body and a specified content type.

Corresponds with PUT /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsUpdateV1` operationId).

func (*Client) LibrariesDocumentsUploadV1WithBody

func (c *Client) LibrariesDocumentsUploadV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesDocumentsUploadV1WithBody Upload a new document.

Given a library, upload a new document to that library. It is queued for processing, it status will change it has been processed. The processing has to be completed in order be discoverable for the library search

Takes any type of body and a specified content type.

Corresponds with POST /v1/libraries/{library_id}/documents (the `LibrariesDocumentsUploadV1` operationId).

func (*Client) LibrariesGetV1

func (c *Client) LibrariesGetV1(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesGetV1 Detailed information about a specific Library.

Given a library id, details information about that Library.

Corresponds with GET /v1/libraries/{library_id} (the `LibrariesGetV1` operationId).

func (*Client) LibrariesListV1

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

LibrariesListV1 List all libraries you have access to.

List all libraries that you have created or have been shared with you.

Corresponds with GET /v1/libraries (the `LibrariesListV1` operationId).

func (*Client) LibrariesShareCreateV1

func (c *Client) LibrariesShareCreateV1(ctx context.Context, libraryId openapi_types.UUID, body LibrariesShareCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesShareCreateV1 Create or update an access level.

Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.

Takes a body of the `application/json` content type.

Corresponds with PUT /v1/libraries/{library_id}/share (the `LibrariesShareCreateV1` operationId).

func (*Client) LibrariesShareCreateV1WithBody

func (c *Client) LibrariesShareCreateV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesShareCreateV1WithBody Create or update an access level.

Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.

Takes any type of body and a specified content type.

Corresponds with PUT /v1/libraries/{library_id}/share (the `LibrariesShareCreateV1` operationId).

func (*Client) LibrariesShareDeleteV1

func (c *Client) LibrariesShareDeleteV1(ctx context.Context, libraryId openapi_types.UUID, body LibrariesShareDeleteV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesShareDeleteV1 Delete an access level.

Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.

Takes a body of the `application/json` content type.

Corresponds with DELETE /v1/libraries/{library_id}/share (the `LibrariesShareDeleteV1` operationId).

func (*Client) LibrariesShareDeleteV1WithBody

func (c *Client) LibrariesShareDeleteV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesShareDeleteV1WithBody Delete an access level.

Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.

Takes any type of body and a specified content type.

Corresponds with DELETE /v1/libraries/{library_id}/share (the `LibrariesShareDeleteV1` operationId).

func (*Client) LibrariesShareListV1

func (c *Client) LibrariesShareListV1(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesShareListV1 List all of the access to this library.

Given a library, list all of the Entity that have access and to what level.

Corresponds with GET /v1/libraries/{library_id}/share (the `LibrariesShareListV1` operationId).

func (*Client) LibrariesUpdateV1

func (c *Client) LibrariesUpdateV1(ctx context.Context, libraryId openapi_types.UUID, body LibrariesUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesUpdateV1 Update a library.

Given a library id, you can update the name and description.

Takes a body of the `application/json` content type.

Corresponds with PUT /v1/libraries/{library_id} (the `LibrariesUpdateV1` operationId).

func (*Client) LibrariesUpdateV1WithBody

func (c *Client) LibrariesUpdateV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

LibrariesUpdateV1WithBody Update a library.

Given a library id, you can update the name and description.

Takes any type of body and a specified content type.

Corresponds with PUT /v1/libraries/{library_id} (the `LibrariesUpdateV1` operationId).

func (*Client) ListDeploymentsV1WorkflowsDeploymentsGet

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

ListDeploymentsV1WorkflowsDeploymentsGet List Deployments

Corresponds with GET /v1/workflows/deployments (the `ListDeploymentsV1WorkflowsDeploymentsGet` operationId).

func (*Client) ListModelsV1ModelsGet

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

ListModelsV1ModelsGet List Models

List all models available to the user.

Corresponds with GET /v1/models (the `ListModelsV1ModelsGet` operationId).

func (*Client) ListRunsV1WorkflowsRunsGet

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

ListRunsV1WorkflowsRunsGet List Runs

Corresponds with GET /v1/workflows/runs (the `ListRunsV1WorkflowsRunsGet` operationId).

func (*Client) ListVoicesV1AudioVoicesGet

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

ListVoicesV1AudioVoicesGet List all voices

List all voices (excluding sample data).

Corresponds with GET /v1/audio/voices (the `ListVoicesV1AudioVoicesGet` operationId).

func (*Client) ModerationsV1ModerationsPost

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

ModerationsV1ModerationsPost Moderations

Takes a body of the `application/json` content type.

Corresponds with POST /v1/moderations (the `ModerationsV1ModerationsPost` operationId).

func (*Client) ModerationsV1ModerationsPostWithBody

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

ModerationsV1ModerationsPostWithBody Moderations

Takes any type of body and a specified content type.

Corresponds with POST /v1/moderations (the `ModerationsV1ModerationsPost` operationId).

func (*Client) OcrV1OcrPost

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

OcrV1OcrPost OCR

Takes a body of the `application/json` content type.

Corresponds with POST /v1/ocr (the `OcrV1OcrPost` operationId).

func (*Client) OcrV1OcrPostWithBody

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

OcrV1OcrPostWithBody OCR

Takes any type of body and a specified content type.

Corresponds with POST /v1/ocr (the `OcrV1OcrPost` operationId).

func (*Client) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost

func (c *Client) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost Populate the dataset with a campaign

Takes a body of the `application/json` content type.

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-campaign (the `PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost` operationId).

func (*Client) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBody

func (c *Client) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBody Populate the dataset with a campaign

Takes any type of body and a specified content type.

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-campaign (the `PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost` operationId).

func (*Client) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost

func (c *Client) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost Populate the dataset with samples from another dataset

Takes a body of the `application/json` content type.

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-dataset (the `PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost` operationId).

func (*Client) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBody

func (c *Client) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBody Populate the dataset with samples from another dataset

Takes any type of body and a specified content type.

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-dataset (the `PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost` operationId).

func (*Client) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost

func (c *Client) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost Populate the dataset with samples from the explorer

Takes a body of the `application/json` content type.

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-explorer (the `PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost` operationId).

func (*Client) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBody

func (c *Client) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBody Populate the dataset with samples from the explorer

Takes any type of body and a specified content type.

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-explorer (the `PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost` operationId).

func (*Client) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost

func (c *Client) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost Populate the dataset with samples from an uploaded file

Takes a body of the `application/json` content type.

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-file (the `PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost` operationId).

func (*Client) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBody

func (c *Client) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBody Populate the dataset with samples from an uploaded file

Takes any type of body and a specified content type.

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-file (the `PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost` operationId).

func (*Client) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost

func (c *Client) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost Populate the dataset with samples from the playground

Takes a body of the `application/json` content type.

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-playground (the `PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost` operationId).

func (*Client) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBody

func (c *Client) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBody Populate the dataset with samples from the playground

Takes any type of body and a specified content type.

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-playground (the `PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost` operationId).

func (*Client) QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost

func (c *Client) QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost(ctx context.Context, executionId string, body QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost Query Workflow Execution

Takes a body of the `application/json` content type.

Corresponds with POST /v1/workflows/executions/{execution_id}/queries (the `QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost` operationId).

func (*Client) QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBody

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

QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBody Query Workflow Execution

Takes any type of body and a specified content type.

Corresponds with POST /v1/workflows/executions/{execution_id}/queries (the `QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost` operationId).

func (*Client) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost

func (c *Client) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost(ctx context.Context, executionId string, body ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost Reset Workflow

Takes a body of the `application/json` content type.

Corresponds with POST /v1/workflows/executions/{execution_id}/reset (the `ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost` operationId).

func (*Client) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBody

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

ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBody Reset Workflow

Takes any type of body and a specified content type.

Corresponds with POST /v1/workflows/executions/{execution_id}/reset (the `ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost` operationId).

func (*Client) RetrieveModelV1ModelsModelIdGet

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

RetrieveModelV1ModelsModelIdGet Retrieve Model

Retrieve information about a model.

Corresponds with GET /v1/models/{model_id} (the `RetrieveModelV1ModelsModelIdGet` operationId).

func (*Client) ScheduleWorkflowV1WorkflowsSchedulesPost

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

ScheduleWorkflowV1WorkflowsSchedulesPost Schedule Workflow

Takes a body of the `application/json` content type.

Corresponds with POST /v1/workflows/schedules (the `ScheduleWorkflowV1WorkflowsSchedulesPost` operationId).

func (*Client) ScheduleWorkflowV1WorkflowsSchedulesPostWithBody

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

ScheduleWorkflowV1WorkflowsSchedulesPostWithBody Schedule Workflow

Takes any type of body and a specified content type.

Corresponds with POST /v1/workflows/schedules (the `ScheduleWorkflowV1WorkflowsSchedulesPost` operationId).

func (*Client) SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost

func (c *Client) SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost(ctx context.Context, executionId string, body SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost Signal Workflow Execution

Takes a body of the `application/json` content type.

Corresponds with POST /v1/workflows/executions/{execution_id}/signals (the `SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost` operationId).

func (*Client) SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBody

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

SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBody Signal Workflow Execution

Takes any type of body and a specified content type.

Corresponds with POST /v1/workflows/executions/{execution_id}/signals (the `SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost` operationId).

func (*Client) SpeechV1AudioSpeechPost

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

SpeechV1AudioSpeechPost Speech

Generate speech from text using a saved voice or a reference audio clip.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/audio/speech (the `SpeechV1AudioSpeechPost` operationId).

func (*Client) SpeechV1AudioSpeechPostWithBody

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

SpeechV1AudioSpeechPostWithBody Speech

Generate speech from text using a saved voice or a reference audio clip.

Takes any type of body and a specified content type.

Corresponds with POST /v1/audio/speech (the `SpeechV1AudioSpeechPost` operationId).

func (*Client) StreamV1WorkflowsExecutionsExecutionIdStreamGet

func (c *Client) StreamV1WorkflowsExecutionsExecutionIdStreamGet(ctx context.Context, executionId string, params *StreamV1WorkflowsExecutionsExecutionIdStreamGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

StreamV1WorkflowsExecutionsExecutionIdStreamGet Stream

Corresponds with GET /v1/workflows/executions/{execution_id}/stream (the `StreamV1WorkflowsExecutionsExecutionIdStreamGet` operationId).

func (*Client) TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost

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

TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost Terminate Workflow Execution

Corresponds with POST /v1/workflows/executions/{execution_id}/terminate (the `TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost` operationId).

func (*Client) UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut

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

UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut Unarchive Workflow

Corresponds with PUT /v1/workflows/{workflow_identifier}/unarchive (the `UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut` operationId).

func (*Client) UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete

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

UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete Unschedule Workflow

Corresponds with DELETE /v1/workflows/schedules/{schedule_id} (the `UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete` operationId).

func (*Client) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut

func (c *Client) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut(ctx context.Context, datasetRecordId openapi_types.UUID, body UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut Update a dataset record conversation payload

Takes a body of the `application/json` content type.

Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/payload (the `UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut` operationId).

func (*Client) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBody

func (c *Client) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBody(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBody Update a dataset record conversation payload

Takes any type of body and a specified content type.

Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/payload (the `UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut` operationId).

func (*Client) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut

func (c *Client) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut(ctx context.Context, datasetRecordId openapi_types.UUID, body UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut Update conversation properties

Takes a body of the `application/json` content type.

Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/properties (the `UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut` operationId).

func (*Client) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBody

func (c *Client) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBody(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBody Update conversation properties

Takes any type of body and a specified content type.

Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/properties (the `UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut` operationId).

func (*Client) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch

func (c *Client) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch(ctx context.Context, datasetId openapi_types.UUID, body UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch Patch dataset

Takes a body of the `application/json` content type.

Corresponds with PATCH /v1/observability/datasets/{dataset_id} (the `UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch` operationId).

func (*Client) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBody

func (c *Client) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBody Patch dataset

Takes any type of body and a specified content type.

Corresponds with PATCH /v1/observability/datasets/{dataset_id} (the `UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch` operationId).

func (*Client) UpdateJudgeV1ObservabilityJudgesJudgeIdPut

func (c *Client) UpdateJudgeV1ObservabilityJudgesJudgeIdPut(ctx context.Context, judgeId openapi_types.UUID, body UpdateJudgeV1ObservabilityJudgesJudgeIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateJudgeV1ObservabilityJudgesJudgeIdPut Update a judge

Takes a body of the `application/json` content type.

Corresponds with PUT /v1/observability/judges/{judge_id} (the `UpdateJudgeV1ObservabilityJudgesJudgeIdPut` operationId).

func (*Client) UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBody

func (c *Client) UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBody(ctx context.Context, judgeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBody Update a judge

Takes any type of body and a specified content type.

Corresponds with PUT /v1/observability/judges/{judge_id} (the `UpdateJudgeV1ObservabilityJudgesJudgeIdPut` operationId).

func (*Client) UpdateVoiceV1AudioVoicesVoiceIdPatch

func (c *Client) UpdateVoiceV1AudioVoicesVoiceIdPatch(ctx context.Context, voiceId openapi_types.UUID, body UpdateVoiceV1AudioVoicesVoiceIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateVoiceV1AudioVoicesVoiceIdPatch Update voice metadata

Update voice metadata (name, gender, languages, age, tags).

Takes a body of the `application/json` content type.

Corresponds with PATCH /v1/audio/voices/{voice_id} (the `UpdateVoiceV1AudioVoicesVoiceIdPatch` operationId).

func (*Client) UpdateVoiceV1AudioVoicesVoiceIdPatchWithBody

func (c *Client) UpdateVoiceV1AudioVoicesVoiceIdPatchWithBody(ctx context.Context, voiceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateVoiceV1AudioVoicesVoiceIdPatchWithBody Update voice metadata

Update voice metadata (name, gender, languages, age, tags).

Takes any type of body and a specified content type.

Corresponds with PATCH /v1/audio/voices/{voice_id} (the `UpdateVoiceV1AudioVoicesVoiceIdPatch` operationId).

func (*Client) UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost

func (c *Client) UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost(ctx context.Context, executionId string, body UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost Update Workflow Execution

Takes a body of the `application/json` content type.

Corresponds with POST /v1/workflows/executions/{execution_id}/updates (the `UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost` operationId).

func (*Client) UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBody

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

UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBody Update Workflow Execution

Takes any type of body and a specified content type.

Corresponds with POST /v1/workflows/executions/{execution_id}/updates (the `UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost` operationId).

func (*Client) UpdateWorkflowV1WorkflowsWorkflowIdentifierPut

func (c *Client) UpdateWorkflowV1WorkflowsWorkflowIdentifierPut(ctx context.Context, workflowIdentifier string, body UpdateWorkflowV1WorkflowsWorkflowIdentifierPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateWorkflowV1WorkflowsWorkflowIdentifierPut Update Workflow

Takes a body of the `application/json` content type.

Corresponds with PUT /v1/workflows/{workflow_identifier} (the `UpdateWorkflowV1WorkflowsWorkflowIdentifierPut` operationId).

func (*Client) UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBody

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

UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBody Update Workflow

Takes any type of body and a specified content type.

Corresponds with PUT /v1/workflows/{workflow_identifier} (the `UpdateWorkflowV1WorkflowsWorkflowIdentifierPut` operationId).

type ClientInterface

type ClientInterface interface {

	// AgentsApiV1AgentsList List agent entities.
	//
	// Retrieve a list of agent entities sorted by creation time. Deprecated: some features such as agent sharing are not supported by this endpoint. Use the cursor-paginated `GET /v1/agents/pages` instead.
	//
	// Corresponds with GET /v1/agents (the `AgentsApiV1AgentsList` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	AgentsApiV1AgentsList(ctx context.Context, params *AgentsApiV1AgentsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1AgentsCreateWithBody Create a agent that can be used within a conversation.
	//
	// Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/agents (the `AgentsApiV1AgentsCreate` operationId).
	AgentsApiV1AgentsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1AgentsCreate Create a agent that can be used within a conversation.
	//
	// Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/agents (the `AgentsApiV1AgentsCreate` operationId).
	AgentsApiV1AgentsCreate(ctx context.Context, body AgentsApiV1AgentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsCompletionV1AgentsCompletionsPostWithBody Agents Completion
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/agents/completions (the `AgentsCompletionV1AgentsCompletionsPost` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	AgentsCompletionV1AgentsCompletionsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsCompletionV1AgentsCompletionsPost Agents Completion
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/agents/completions (the `AgentsCompletionV1AgentsCompletionsPost` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	AgentsCompletionV1AgentsCompletionsPost(ctx context.Context, body AgentsCompletionV1AgentsCompletionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1AgentsListPages List agent entities, cursor-paginated.
	//
	// Retrieve a page of agent entities. Unlike the deprecated `GET /v1/agents`, this endpoint paginates by opaque cursor and honors per-agent sharing, returning only agents the caller is authorized to see.
	//
	// Corresponds with GET /v1/agents/pages (the `AgentsApiV1AgentsListPages` operationId).
	AgentsApiV1AgentsListPages(ctx context.Context, params *AgentsApiV1AgentsListPagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1AgentsDelete Delete an agent entity.
	//
	// Corresponds with DELETE /v1/agents/{agent_id} (the `AgentsApiV1AgentsDelete` operationId).
	AgentsApiV1AgentsDelete(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1AgentsGet Retrieve an agent entity.
	//
	// Given an agent, retrieve an agent entity with its attributes. The agent_version parameter can be an integer version number or a string alias.
	//
	// Corresponds with GET /v1/agents/{agent_id} (the `AgentsApiV1AgentsGet` operationId).
	AgentsApiV1AgentsGet(ctx context.Context, agentId string, params *AgentsApiV1AgentsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1AgentsUpdateWithBody Update an agent entity.
	//
	// Update an agent attributes and create a new version.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v1/agents/{agent_id} (the `AgentsApiV1AgentsUpdate` operationId).
	AgentsApiV1AgentsUpdateWithBody(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1AgentsUpdate Update an agent entity.
	//
	// Update an agent attributes and create a new version.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v1/agents/{agent_id} (the `AgentsApiV1AgentsUpdate` operationId).
	AgentsApiV1AgentsUpdate(ctx context.Context, agentId string, body AgentsApiV1AgentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1AgentsDeleteAlias Delete an agent version alias.
	//
	// Delete an existing alias for an agent.
	//
	// Corresponds with DELETE /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsDeleteAlias` operationId).
	AgentsApiV1AgentsDeleteAlias(ctx context.Context, agentId string, params *AgentsApiV1AgentsDeleteAliasParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1AgentsListVersionAliases List all aliases for an agent.
	//
	// Retrieve all version aliases for a specific agent.
	//
	// Corresponds with GET /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsListVersionAliases` operationId).
	AgentsApiV1AgentsListVersionAliases(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1AgentsCreateOrUpdateAlias Create or update an agent version alias.
	//
	// Create a new alias or update an existing alias to point to a specific version. Aliases are unique per agent and can be reassigned to different versions.
	//
	// Corresponds with PUT /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsCreateOrUpdateAlias` operationId).
	AgentsApiV1AgentsCreateOrUpdateAlias(ctx context.Context, agentId string, params *AgentsApiV1AgentsCreateOrUpdateAliasParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1AgentsUpdateVersion Update an agent version.
	//
	// Switch the version of an agent.
	//
	// Corresponds with PATCH /v1/agents/{agent_id}/version (the `AgentsApiV1AgentsUpdateVersion` operationId).
	AgentsApiV1AgentsUpdateVersion(ctx context.Context, agentId string, params *AgentsApiV1AgentsUpdateVersionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1AgentsListVersions List all versions of an agent.
	//
	// Retrieve all versions for a specific agent with full agent context. Supports pagination.
	//
	// Corresponds with GET /v1/agents/{agent_id}/versions (the `AgentsApiV1AgentsListVersions` operationId).
	AgentsApiV1AgentsListVersions(ctx context.Context, agentId string, params *AgentsApiV1AgentsListVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1AgentsGetVersion Retrieve a specific version of an agent.
	//
	// Get a specific agent version by version number.
	//
	// Corresponds with GET /v1/agents/{agent_id}/versions/{version} (the `AgentsApiV1AgentsGetVersion` operationId).
	AgentsApiV1AgentsGetVersion(ctx context.Context, agentId string, version string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SpeechV1AudioSpeechPostWithBody Speech
	//
	// Generate speech from text using a saved voice or a reference audio clip.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/audio/speech (the `SpeechV1AudioSpeechPost` operationId).
	SpeechV1AudioSpeechPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SpeechV1AudioSpeechPost Speech
	//
	// Generate speech from text using a saved voice or a reference audio clip.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/audio/speech (the `SpeechV1AudioSpeechPost` operationId).
	SpeechV1AudioSpeechPost(ctx context.Context, body SpeechV1AudioSpeechPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AudioApiV1TranscriptionsPostWithBody Create Transcription
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/audio/transcriptions (the `AudioApiV1TranscriptionsPost` operationId).
	AudioApiV1TranscriptionsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AudioApiV1TranscriptionsPostStreamWithBody Create Streaming Transcription (SSE)
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/audio/transcriptions#stream (the `AudioApiV1TranscriptionsPostStream` operationId).
	AudioApiV1TranscriptionsPostStreamWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListVoicesV1AudioVoicesGet List all voices
	//
	// List all voices (excluding sample data).
	//
	// Corresponds with GET /v1/audio/voices (the `ListVoicesV1AudioVoicesGet` operationId).
	ListVoicesV1AudioVoicesGet(ctx context.Context, params *ListVoicesV1AudioVoicesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateVoiceV1AudioVoicesPostWithBody Create a new voice
	//
	// Create a new voice with a base64-encoded audio sample.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/audio/voices (the `CreateVoiceV1AudioVoicesPost` operationId).
	CreateVoiceV1AudioVoicesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateVoiceV1AudioVoicesPost Create a new voice
	//
	// Create a new voice with a base64-encoded audio sample.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/audio/voices (the `CreateVoiceV1AudioVoicesPost` operationId).
	CreateVoiceV1AudioVoicesPost(ctx context.Context, body CreateVoiceV1AudioVoicesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteVoiceV1AudioVoicesVoiceIdDelete Delete a custom voice
	//
	// Corresponds with DELETE /v1/audio/voices/{voice_id} (the `DeleteVoiceV1AudioVoicesVoiceIdDelete` operationId).
	DeleteVoiceV1AudioVoicesVoiceIdDelete(ctx context.Context, voiceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVoiceV1AudioVoicesVoiceIdGet Get voice details
	//
	// Get voice details (excluding sample).
	//
	// Corresponds with GET /v1/audio/voices/{voice_id} (the `GetVoiceV1AudioVoicesVoiceIdGet` operationId).
	GetVoiceV1AudioVoicesVoiceIdGet(ctx context.Context, voiceId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateVoiceV1AudioVoicesVoiceIdPatchWithBody Update voice metadata
	//
	// Update voice metadata (name, gender, languages, age, tags).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v1/audio/voices/{voice_id} (the `UpdateVoiceV1AudioVoicesVoiceIdPatch` operationId).
	UpdateVoiceV1AudioVoicesVoiceIdPatchWithBody(ctx context.Context, voiceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateVoiceV1AudioVoicesVoiceIdPatch Update voice metadata
	//
	// Update voice metadata (name, gender, languages, age, tags).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v1/audio/voices/{voice_id} (the `UpdateVoiceV1AudioVoicesVoiceIdPatch` operationId).
	UpdateVoiceV1AudioVoicesVoiceIdPatch(ctx context.Context, voiceId openapi_types.UUID, body UpdateVoiceV1AudioVoicesVoiceIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet Get voice sample audio
	//
	// Get the audio sample for a voice.
	//
	// Corresponds with GET /v1/audio/voices/{voice_id}/sample (the `GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet` operationId).
	GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet(ctx context.Context, voiceId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JobsApiRoutesBatchGetBatchJobs Get Batch Jobs
	//
	// Get a list of batch jobs for your organization and user.
	//
	// Corresponds with GET /v1/batch/jobs (the `JobsApiRoutesBatchGetBatchJobs` operationId).
	JobsApiRoutesBatchGetBatchJobs(ctx context.Context, params *JobsApiRoutesBatchGetBatchJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JobsApiRoutesBatchCreateBatchJobWithBody Create Batch Job
	//
	// Create a new batch job, it will be queued for processing.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/batch/jobs (the `JobsApiRoutesBatchCreateBatchJob` operationId).
	JobsApiRoutesBatchCreateBatchJobWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JobsApiRoutesBatchCreateBatchJob Create Batch Job
	//
	// Create a new batch job, it will be queued for processing.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/batch/jobs (the `JobsApiRoutesBatchCreateBatchJob` operationId).
	JobsApiRoutesBatchCreateBatchJob(ctx context.Context, body JobsApiRoutesBatchCreateBatchJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JobsApiRoutesBatchGetBatchJob Get Batch Job
	//
	// Get a batch job details by its UUID.
	//
	// Args:
	//     inline: If True, return results inline in the response.
	//
	// Corresponds with GET /v1/batch/jobs/{job_id} (the `JobsApiRoutesBatchGetBatchJob` operationId).
	JobsApiRoutesBatchGetBatchJob(ctx context.Context, jobId openapi_types.UUID, params *JobsApiRoutesBatchGetBatchJobParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JobsApiRoutesBatchCancelBatchJob Cancel Batch Job
	//
	// Request the cancellation of a batch job.
	//
	// Corresponds with POST /v1/batch/jobs/{job_id}/cancel (the `JobsApiRoutesBatchCancelBatchJob` operationId).
	JobsApiRoutesBatchCancelBatchJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ChatClassificationsV1ChatClassificationsPostWithBody Chat Classifications
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/chat/classifications (the `ChatClassificationsV1ChatClassificationsPost` operationId).
	ChatClassificationsV1ChatClassificationsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ChatClassificationsV1ChatClassificationsPost Chat Classifications
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/chat/classifications (the `ChatClassificationsV1ChatClassificationsPost` operationId).
	ChatClassificationsV1ChatClassificationsPost(ctx context.Context, body ChatClassificationsV1ChatClassificationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ChatCompletionV1ChatCompletionsPostWithBody Chat Completion
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/chat/completions (the `ChatCompletionV1ChatCompletionsPost` operationId).
	ChatCompletionV1ChatCompletionsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ChatCompletionV1ChatCompletionsPost Chat Completion
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/chat/completions (the `ChatCompletionV1ChatCompletionsPost` operationId).
	ChatCompletionV1ChatCompletionsPost(ctx context.Context, body ChatCompletionV1ChatCompletionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ChatModerationsV1ChatModerationsPostWithBody Chat Moderations
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/chat/moderations (the `ChatModerationsV1ChatModerationsPost` operationId).
	ChatModerationsV1ChatModerationsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ChatModerationsV1ChatModerationsPost Chat Moderations
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/chat/moderations (the `ChatModerationsV1ChatModerationsPost` operationId).
	ChatModerationsV1ChatModerationsPost(ctx context.Context, body ChatModerationsV1ChatModerationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ClassificationsV1ClassificationsPostWithBody Classifications
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/classifications (the `ClassificationsV1ClassificationsPost` operationId).
	ClassificationsV1ClassificationsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ClassificationsV1ClassificationsPost Classifications
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/classifications (the `ClassificationsV1ClassificationsPost` operationId).
	ClassificationsV1ClassificationsPost(ctx context.Context, body ClassificationsV1ClassificationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorListV1 List all connectors.
	//
	// List all your custom connectors with keyset pagination and filters.
	//
	// Corresponds with GET /v1/connectors (the `ConnectorListV1` operationId).
	ConnectorListV1(ctx context.Context, params *ConnectorListV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorCreateV1WithBody Create a new connector.
	//
	// Create a new MCP connector. You can customize its visibility, url and auth type.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/connectors (the `ConnectorCreateV1` operationId).
	ConnectorCreateV1WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorCreateV1 Create a new connector.
	//
	// Create a new MCP connector. You can customize its visibility, url and auth type.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/connectors (the `ConnectorCreateV1` operationId).
	ConnectorCreateV1(ctx context.Context, body ConnectorCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorGetV1 Get a connector.
	//
	// Get a connector by its ID or name.
	//
	// Corresponds with GET /v1/connectors/{connector_id_or_name}#idOrName (the `ConnectorGetV1` operationId).
	ConnectorGetV1(ctx context.Context, connectorIdOrName string, params *ConnectorGetV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorGetAuthUrlV1 Get the auth URL for a connector.
	//
	// Get the OAuth2 authorization URL for a connector to initiate user authentication.
	//
	// Corresponds with GET /v1/connectors/{connector_id_or_name}/auth_url (the `ConnectorGetAuthUrlV1` operationId).
	ConnectorGetAuthUrlV1(ctx context.Context, connectorIdOrName string, params *ConnectorGetAuthUrlV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorGetAuthenticationMethodsV1 Get authentication methods for a connector.
	//
	// Get the authentication schema for a connector. Returns the list of supported authentication methods and their required headers.
	//
	// Corresponds with GET /v1/connectors/{connector_id_or_name}/authentication_methods (the `ConnectorGetAuthenticationMethodsV1` operationId).
	ConnectorGetAuthenticationMethodsV1(ctx context.Context, connectorIdOrName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorListOrganizationCredentialsV1 List organization credentials for a connector.
	//
	// List all credentials configured at the organization level for a given connector.
	//
	// Corresponds with GET /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorListOrganizationCredentialsV1` operationId).
	ConnectorListOrganizationCredentialsV1(ctx context.Context, connectorIdOrName string, params *ConnectorListOrganizationCredentialsV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorCreateOrUpdateOrganizationCredentialsV1WithBody Create or update organization credentials for a connector.
	//
	// Create or update credentials at the organization level for a given connector.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorCreateOrUpdateOrganizationCredentialsV1` operationId).
	ConnectorCreateOrUpdateOrganizationCredentialsV1WithBody(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorCreateOrUpdateOrganizationCredentialsV1 Create or update organization credentials for a connector.
	//
	// Create or update credentials at the organization level for a given connector.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorCreateOrUpdateOrganizationCredentialsV1` operationId).
	ConnectorCreateOrUpdateOrganizationCredentialsV1(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateOrganizationCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorDeleteOrganizationCredentialsV1 Delete organization credentials for a connector.
	//
	// Delete credentials at the organization level for a given connector.
	//
	// Corresponds with DELETE /v1/connectors/{connector_id_or_name}/organization/credentials/{credentials_name} (the `ConnectorDeleteOrganizationCredentialsV1` operationId).
	ConnectorDeleteOrganizationCredentialsV1(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorListToolsV1 List tools for a connector.
	//
	// List all tools available for an MCP connector.
	//
	// Corresponds with GET /v1/connectors/{connector_id_or_name}/tools (the `ConnectorListToolsV1` operationId).
	ConnectorListToolsV1(ctx context.Context, connectorIdOrName string, params *ConnectorListToolsV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorCallToolV1WithBody Call Connector Tool
	//
	// Call a tool on an MCP connector.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/connectors/{connector_id_or_name}/tools/{tool_name}/call (the `ConnectorCallToolV1` operationId).
	ConnectorCallToolV1WithBody(ctx context.Context, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorCallToolV1 Call Connector Tool
	//
	// Call a tool on an MCP connector.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/connectors/{connector_id_or_name}/tools/{tool_name}/call (the `ConnectorCallToolV1` operationId).
	ConnectorCallToolV1(ctx context.Context, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, body ConnectorCallToolV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorListUserCredentialsV1 List user credentials for a connector.
	//
	// List all credentials configured at the user level for a given connector.
	//
	// Corresponds with GET /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorListUserCredentialsV1` operationId).
	ConnectorListUserCredentialsV1(ctx context.Context, connectorIdOrName string, params *ConnectorListUserCredentialsV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorCreateOrUpdateUserCredentialsV1WithBody Create or update user credentials for a connector.
	//
	// Create or update credentials at the user level for a given connector.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorCreateOrUpdateUserCredentialsV1` operationId).
	ConnectorCreateOrUpdateUserCredentialsV1WithBody(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorCreateOrUpdateUserCredentialsV1 Create or update user credentials for a connector.
	//
	// Create or update credentials at the user level for a given connector.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorCreateOrUpdateUserCredentialsV1` operationId).
	ConnectorCreateOrUpdateUserCredentialsV1(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateUserCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorDeleteUserCredentialsV1 Delete user credentials for a connector.
	//
	// Delete credentials at the user level for a given connector.
	//
	// Corresponds with DELETE /v1/connectors/{connector_id_or_name}/user/credentials/{credentials_name} (the `ConnectorDeleteUserCredentialsV1` operationId).
	ConnectorDeleteUserCredentialsV1(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorListWorkspaceCredentialsV1 List workspace credentials for a connector.
	//
	// List all credentials configured at the workspace level for a given connector.
	//
	// Corresponds with GET /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorListWorkspaceCredentialsV1` operationId).
	ConnectorListWorkspaceCredentialsV1(ctx context.Context, connectorIdOrName string, params *ConnectorListWorkspaceCredentialsV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBody Create or update workspace credentials for a connector.
	//
	// Create or update credentials at the workspace level for a given connector.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorCreateOrUpdateWorkspaceCredentialsV1` operationId).
	ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBody(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorCreateOrUpdateWorkspaceCredentialsV1 Create or update workspace credentials for a connector.
	//
	// Create or update credentials at the workspace level for a given connector.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorCreateOrUpdateWorkspaceCredentialsV1` operationId).
	ConnectorCreateOrUpdateWorkspaceCredentialsV1(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateWorkspaceCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorDeleteWorkspaceCredentialsV1 Delete workspace credentials for a connector.
	//
	// Delete credentials at the workspace level for a given connector.
	//
	// Corresponds with DELETE /v1/connectors/{connector_id_or_name}/workspace/credentials/{credentials_name} (the `ConnectorDeleteWorkspaceCredentialsV1` operationId).
	ConnectorDeleteWorkspaceCredentialsV1(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorDeleteV1 Delete a connector.
	//
	// Delete a connector by its ID.
	//
	// Corresponds with DELETE /v1/connectors/{connector_id}#id (the `ConnectorDeleteV1` operationId).
	ConnectorDeleteV1(ctx context.Context, connectorId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorUpdateV1WithBody Update a connector.
	//
	// Update a connector by its ID.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v1/connectors/{connector_id}#id (the `ConnectorUpdateV1` operationId).
	ConnectorUpdateV1WithBody(ctx context.Context, connectorId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ConnectorUpdateV1 Update a connector.
	//
	// Update a connector by its ID.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v1/connectors/{connector_id}#id (the `ConnectorUpdateV1` operationId).
	ConnectorUpdateV1(ctx context.Context, connectorId openapi_types.UUID, body ConnectorUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1ConversationsList List all created conversations.
	//
	// Retrieve a list of conversation entities sorted by creation time.
	//
	// Corresponds with GET /v1/conversations (the `AgentsApiV1ConversationsList` operationId).
	AgentsApiV1ConversationsList(ctx context.Context, params *AgentsApiV1ConversationsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1ConversationsStartWithBody Create a conversation and append entries to it.
	//
	// Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/conversations (the `AgentsApiV1ConversationsStart` operationId).
	AgentsApiV1ConversationsStartWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1ConversationsStart Create a conversation and append entries to it.
	//
	// Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/conversations (the `AgentsApiV1ConversationsStart` operationId).
	AgentsApiV1ConversationsStart(ctx context.Context, body AgentsApiV1ConversationsStartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1ConversationsStartStreamWithBody Create a conversation and append entries to it.
	//
	// Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/conversations#stream (the `AgentsApiV1ConversationsStartStream` operationId).
	AgentsApiV1ConversationsStartStreamWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1ConversationsStartStream Create a conversation and append entries to it.
	//
	// Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/conversations#stream (the `AgentsApiV1ConversationsStartStream` operationId).
	AgentsApiV1ConversationsStartStream(ctx context.Context, body AgentsApiV1ConversationsStartStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1ConversationsDelete Delete a conversation.
	//
	// Delete a conversation given a conversation_id.
	//
	// Corresponds with DELETE /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsDelete` operationId).
	AgentsApiV1ConversationsDelete(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1ConversationsGet Retrieve a conversation information.
	//
	// Given a conversation_id retrieve a conversation entity with its attributes.
	//
	// Corresponds with GET /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsGet` operationId).
	AgentsApiV1ConversationsGet(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1ConversationsAppendWithBody Append new entries to an existing conversation.
	//
	// Run completion on the history of the conversation and the user entries. Return the new created entries.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsAppend` operationId).
	AgentsApiV1ConversationsAppendWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1ConversationsAppend Append new entries to an existing conversation.
	//
	// Run completion on the history of the conversation and the user entries. Return the new created entries.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsAppend` operationId).
	AgentsApiV1ConversationsAppend(ctx context.Context, conversationId string, body AgentsApiV1ConversationsAppendJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1ConversationsAppendStreamWithBody Append new entries to an existing conversation.
	//
	// Run completion on the history of the conversation and the user entries. Return the new created entries.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/conversations/{conversation_id}#stream (the `AgentsApiV1ConversationsAppendStream` operationId).
	AgentsApiV1ConversationsAppendStreamWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1ConversationsAppendStream Append new entries to an existing conversation.
	//
	// Run completion on the history of the conversation and the user entries. Return the new created entries.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/conversations/{conversation_id}#stream (the `AgentsApiV1ConversationsAppendStream` operationId).
	AgentsApiV1ConversationsAppendStream(ctx context.Context, conversationId string, body AgentsApiV1ConversationsAppendStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1ConversationsHistory Retrieve all entries in a conversation.
	//
	// Given a conversation_id retrieve all the entries belonging to that conversation. The entries are sorted in the order they were appended, those can be messages, connectors or function_call.
	//
	// Corresponds with GET /v1/conversations/{conversation_id}/history (the `AgentsApiV1ConversationsHistory` operationId).
	AgentsApiV1ConversationsHistory(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1ConversationsMessages Retrieve all messages in a conversation.
	//
	// Given a conversation_id retrieve all the messages belonging to that conversation. This is similar to retrieving all entries except we filter the messages only.
	//
	// Corresponds with GET /v1/conversations/{conversation_id}/messages (the `AgentsApiV1ConversationsMessages` operationId).
	AgentsApiV1ConversationsMessages(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1ConversationsRestartWithBody Restart a conversation starting from a given entry.
	//
	// Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/conversations/{conversation_id}/restart (the `AgentsApiV1ConversationsRestart` operationId).
	AgentsApiV1ConversationsRestartWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1ConversationsRestart Restart a conversation starting from a given entry.
	//
	// Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/conversations/{conversation_id}/restart (the `AgentsApiV1ConversationsRestart` operationId).
	AgentsApiV1ConversationsRestart(ctx context.Context, conversationId string, body AgentsApiV1ConversationsRestartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1ConversationsRestartStreamWithBody Restart a conversation starting from a given entry.
	//
	// Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/conversations/{conversation_id}/restart#stream (the `AgentsApiV1ConversationsRestartStream` operationId).
	AgentsApiV1ConversationsRestartStreamWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsApiV1ConversationsRestartStream Restart a conversation starting from a given entry.
	//
	// Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/conversations/{conversation_id}/restart#stream (the `AgentsApiV1ConversationsRestartStream` operationId).
	AgentsApiV1ConversationsRestartStream(ctx context.Context, conversationId string, body AgentsApiV1ConversationsRestartStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EmbeddingsV1EmbeddingsPostWithBody Embeddings
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/embeddings (the `EmbeddingsV1EmbeddingsPost` operationId).
	EmbeddingsV1EmbeddingsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EmbeddingsV1EmbeddingsPost Embeddings
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/embeddings (the `EmbeddingsV1EmbeddingsPost` operationId).
	EmbeddingsV1EmbeddingsPost(ctx context.Context, body EmbeddingsV1EmbeddingsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FilesApiRoutesListFiles List Files
	//
	// Returns a list of files that belong to the user's organization.
	//
	// Corresponds with GET /v1/files (the `FilesApiRoutesListFiles` operationId).
	FilesApiRoutesListFiles(ctx context.Context, params *FilesApiRoutesListFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FilesApiRoutesUploadFileWithBody Upload File
	//
	// Upload a file that can be used across various endpoints.
	//
	// The size of individual files can be a maximum of 512 MB. The Fine-tuning API only supports .jsonl files.
	//
	// Please contact us if you need to increase these storage limits.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/files (the `FilesApiRoutesUploadFile` operationId).
	FilesApiRoutesUploadFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FilesApiRoutesDeleteFile Delete File
	//
	// Delete a file.
	//
	// Corresponds with DELETE /v1/files/{file_id} (the `FilesApiRoutesDeleteFile` operationId).
	FilesApiRoutesDeleteFile(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FilesApiRoutesRetrieveFile Retrieve File
	//
	// Returns information about a specific file.
	//
	// Corresponds with GET /v1/files/{file_id} (the `FilesApiRoutesRetrieveFile` operationId).
	FilesApiRoutesRetrieveFile(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FilesApiRoutesDownloadFile Download File
	//
	// Download a file.
	//
	// Corresponds with GET /v1/files/{file_id}/content (the `FilesApiRoutesDownloadFile` operationId).
	FilesApiRoutesDownloadFile(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FilesApiRoutesGetSignedUrl Get Signed Url
	//
	// Corresponds with GET /v1/files/{file_id}/url (the `FilesApiRoutesGetSignedUrl` operationId).
	FilesApiRoutesGetSignedUrl(ctx context.Context, fileId openapi_types.UUID, params *FilesApiRoutesGetSignedUrlParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FimCompletionV1FimCompletionsPostWithBody Fim Completion
	//
	// FIM completion.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/fim/completions (the `FimCompletionV1FimCompletionsPost` operationId).
	FimCompletionV1FimCompletionsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FimCompletionV1FimCompletionsPost Fim Completion
	//
	// FIM completion.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/fim/completions (the `FimCompletionV1FimCompletionsPost` operationId).
	FimCompletionV1FimCompletionsPost(ctx context.Context, body FimCompletionV1FimCompletionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JobsApiRoutesFineTuningGetFineTuningJobs Get Fine Tuning Jobs
	//
	// Get a list of fine-tuning jobs for your organization and user.
	//
	// Corresponds with GET /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningGetFineTuningJobs` operationId).
	JobsApiRoutesFineTuningGetFineTuningJobs(ctx context.Context, params *JobsApiRoutesFineTuningGetFineTuningJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JobsApiRoutesFineTuningCreateFineTuningJobWithBody Create Fine Tuning Job
	//
	// Create a new fine-tuning job, it will be queued for processing.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningCreateFineTuningJob` operationId).
	JobsApiRoutesFineTuningCreateFineTuningJobWithBody(ctx context.Context, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JobsApiRoutesFineTuningCreateFineTuningJob Create Fine Tuning Job
	//
	// Create a new fine-tuning job, it will be queued for processing.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningCreateFineTuningJob` operationId).
	JobsApiRoutesFineTuningCreateFineTuningJob(ctx context.Context, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, body JobsApiRoutesFineTuningCreateFineTuningJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JobsApiRoutesFineTuningGetFineTuningJob Get Fine Tuning Job
	//
	// Get a fine-tuned job details by its UUID.
	//
	// Corresponds with GET /v1/fine_tuning/jobs/{job_id} (the `JobsApiRoutesFineTuningGetFineTuningJob` operationId).
	JobsApiRoutesFineTuningGetFineTuningJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JobsApiRoutesFineTuningCancelFineTuningJob Cancel Fine Tuning Job
	//
	// Request the cancellation of a fine tuning job.
	//
	// Corresponds with POST /v1/fine_tuning/jobs/{job_id}/cancel (the `JobsApiRoutesFineTuningCancelFineTuningJob` operationId).
	JobsApiRoutesFineTuningCancelFineTuningJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JobsApiRoutesFineTuningStartFineTuningJob Start Fine Tuning Job
	//
	// Request the start of a validated fine tuning job.
	//
	// Corresponds with POST /v1/fine_tuning/jobs/{job_id}/start (the `JobsApiRoutesFineTuningStartFineTuningJob` operationId).
	JobsApiRoutesFineTuningStartFineTuningJob(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JobsApiRoutesFineTuningUpdateFineTunedModelWithBody Update Fine Tuned Model
	//
	// Update a model name or description.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v1/fine_tuning/models/{model_id} (the `JobsApiRoutesFineTuningUpdateFineTunedModel` operationId).
	JobsApiRoutesFineTuningUpdateFineTunedModelWithBody(ctx context.Context, modelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JobsApiRoutesFineTuningUpdateFineTunedModel Update Fine Tuned Model
	//
	// Update a model name or description.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v1/fine_tuning/models/{model_id} (the `JobsApiRoutesFineTuningUpdateFineTunedModel` operationId).
	JobsApiRoutesFineTuningUpdateFineTunedModel(ctx context.Context, modelId string, body JobsApiRoutesFineTuningUpdateFineTunedModelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JobsApiRoutesFineTuningUnarchiveFineTunedModel Unarchive Fine Tuned Model
	//
	// Un-archive a fine-tuned model.
	//
	// Corresponds with DELETE /v1/fine_tuning/models/{model_id}/archive (the `JobsApiRoutesFineTuningUnarchiveFineTunedModel` operationId).
	JobsApiRoutesFineTuningUnarchiveFineTunedModel(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JobsApiRoutesFineTuningArchiveFineTunedModel Archive Fine Tuned Model
	//
	// Archive a fine-tuned model.
	//
	// Corresponds with POST /v1/fine_tuning/models/{model_id}/archive (the `JobsApiRoutesFineTuningArchiveFineTunedModel` operationId).
	JobsApiRoutesFineTuningArchiveFineTunedModel(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesListV1 List all libraries you have access to.
	//
	// List all libraries that you have created or have been shared with you.
	//
	// Corresponds with GET /v1/libraries (the `LibrariesListV1` operationId).
	LibrariesListV1(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesCreateV1WithBody Create a new Library.
	//
	// Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/libraries (the `LibrariesCreateV1` operationId).
	LibrariesCreateV1WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesCreateV1 Create a new Library.
	//
	// Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/libraries (the `LibrariesCreateV1` operationId).
	LibrariesCreateV1(ctx context.Context, body LibrariesCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesDeleteV1 Delete a library and all of it's document.
	//
	// Given a library id, deletes it together with all documents that have been uploaded to that library.
	//
	// Corresponds with DELETE /v1/libraries/{library_id} (the `LibrariesDeleteV1` operationId).
	LibrariesDeleteV1(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesGetV1 Detailed information about a specific Library.
	//
	// Given a library id, details information about that Library.
	//
	// Corresponds with GET /v1/libraries/{library_id} (the `LibrariesGetV1` operationId).
	LibrariesGetV1(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesUpdateV1WithBody Update a library.
	//
	// Given a library id, you can update the name and description.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /v1/libraries/{library_id} (the `LibrariesUpdateV1` operationId).
	LibrariesUpdateV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesUpdateV1 Update a library.
	//
	// Given a library id, you can update the name and description.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /v1/libraries/{library_id} (the `LibrariesUpdateV1` operationId).
	LibrariesUpdateV1(ctx context.Context, libraryId openapi_types.UUID, body LibrariesUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesDocumentsListV1 List documents in a given library.
	//
	// Given a library, lists the document that have been uploaded to that library.
	//
	// Corresponds with GET /v1/libraries/{library_id}/documents (the `LibrariesDocumentsListV1` operationId).
	LibrariesDocumentsListV1(ctx context.Context, libraryId openapi_types.UUID, params *LibrariesDocumentsListV1Params, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesDocumentsUploadV1WithBody Upload a new document.
	//
	// Given a library, upload a new document to that library. It is queued for processing, it status will change it has been processed. The processing has to be completed in order be discoverable for the library search
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/libraries/{library_id}/documents (the `LibrariesDocumentsUploadV1` operationId).
	LibrariesDocumentsUploadV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesDocumentsDeleteV1 Delete a document.
	//
	// Given a library and a document in that library, delete that document. The document will be deleted from the library and the search index.
	//
	// Corresponds with DELETE /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsDeleteV1` operationId).
	LibrariesDocumentsDeleteV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesDocumentsGetV1 Retrieve the metadata of a specific document.
	//
	// Given a library and a document in this library, you can retrieve the metadata of that document.
	//
	// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsGetV1` operationId).
	LibrariesDocumentsGetV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesDocumentsUpdateV1WithBody Update the metadata of a specific document.
	//
	// Given a library and a document in that library, update the name of that document.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsUpdateV1` operationId).
	LibrariesDocumentsUpdateV1WithBody(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesDocumentsUpdateV1 Update the metadata of a specific document.
	//
	// Given a library and a document in that library, update the name of that document.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsUpdateV1` operationId).
	LibrariesDocumentsUpdateV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, body LibrariesDocumentsUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesDocumentsGetExtractedTextSignedUrlV1 Retrieve the signed URL of text extracted from a given document.
	//
	// Given a library and a document in that library, retrieve the signed URL of text extracted. For documents that are sent to the OCR this returns the result of the OCR queries.
	//
	// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/extracted-text-signed-url (the `LibrariesDocumentsGetExtractedTextSignedUrlV1` operationId).
	LibrariesDocumentsGetExtractedTextSignedUrlV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesDocumentsReprocessV1 Reprocess a document.
	//
	// Given a library and a document in that library, reprocess that document, it will be billed again.
	//
	// Corresponds with POST /v1/libraries/{library_id}/documents/{document_id}/reprocess (the `LibrariesDocumentsReprocessV1` operationId).
	LibrariesDocumentsReprocessV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesDocumentsGetSignedUrlV1 Retrieve the signed URL of a specific document.
	//
	// Given a library and a document in that library, retrieve the signed URL of a specific document.The url will expire after 30 minutes and can be accessed by anyone with the link.
	//
	// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/signed-url (the `LibrariesDocumentsGetSignedUrlV1` operationId).
	LibrariesDocumentsGetSignedUrlV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesDocumentsGetStatusV1 Retrieve the processing status of a specific document.
	//
	// Given a library and a document in that library, retrieve the processing status of that document.
	//
	// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/status (the `LibrariesDocumentsGetStatusV1` operationId).
	LibrariesDocumentsGetStatusV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesDocumentsGetTextContentV1 Retrieve the text content of a specific document.
	//
	// Given a library and a document in that library, you can retrieve the text content of that document if it exists. For documents like pdf, docx and pptx the text content results from our processing using Mistral OCR.
	//
	// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/text_content (the `LibrariesDocumentsGetTextContentV1` operationId).
	LibrariesDocumentsGetTextContentV1(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesShareDeleteV1WithBody Delete an access level.
	//
	// Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with DELETE /v1/libraries/{library_id}/share (the `LibrariesShareDeleteV1` operationId).
	LibrariesShareDeleteV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesShareDeleteV1 Delete an access level.
	//
	// Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with DELETE /v1/libraries/{library_id}/share (the `LibrariesShareDeleteV1` operationId).
	LibrariesShareDeleteV1(ctx context.Context, libraryId openapi_types.UUID, body LibrariesShareDeleteV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesShareListV1 List all of the access to this library.
	//
	// Given a library, list all of the Entity that have access and to what level.
	//
	// Corresponds with GET /v1/libraries/{library_id}/share (the `LibrariesShareListV1` operationId).
	LibrariesShareListV1(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesShareCreateV1WithBody Create or update an access level.
	//
	// Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /v1/libraries/{library_id}/share (the `LibrariesShareCreateV1` operationId).
	LibrariesShareCreateV1WithBody(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LibrariesShareCreateV1 Create or update an access level.
	//
	// Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /v1/libraries/{library_id}/share (the `LibrariesShareCreateV1` operationId).
	LibrariesShareCreateV1(ctx context.Context, libraryId openapi_types.UUID, body LibrariesShareCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListModelsV1ModelsGet List Models
	//
	// List all models available to the user.
	//
	// Corresponds with GET /v1/models (the `ListModelsV1ModelsGet` operationId).
	ListModelsV1ModelsGet(ctx context.Context, params *ListModelsV1ModelsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteModelV1ModelsModelIdDelete Delete Model
	//
	// Delete a fine-tuned model.
	//
	// Corresponds with DELETE /v1/models/{model_id} (the `DeleteModelV1ModelsModelIdDelete` operationId).
	DeleteModelV1ModelsModelIdDelete(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RetrieveModelV1ModelsModelIdGet Retrieve Model
	//
	// Retrieve information about a model.
	//
	// Corresponds with GET /v1/models/{model_id} (the `RetrieveModelV1ModelsModelIdGet` operationId).
	RetrieveModelV1ModelsModelIdGet(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModerationsV1ModerationsPostWithBody Moderations
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/moderations (the `ModerationsV1ModerationsPost` operationId).
	ModerationsV1ModerationsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModerationsV1ModerationsPost Moderations
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/moderations (the `ModerationsV1ModerationsPost` operationId).
	ModerationsV1ModerationsPost(ctx context.Context, body ModerationsV1ModerationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCampaignsV1ObservabilityCampaignsGet Get all campaigns
	//
	// Corresponds with GET /v1/observability/campaigns (the `GetCampaignsV1ObservabilityCampaignsGet` operationId).
	GetCampaignsV1ObservabilityCampaignsGet(ctx context.Context, params *GetCampaignsV1ObservabilityCampaignsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateCampaignV1ObservabilityCampaignsPostWithBody Create and start a new campaign
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/observability/campaigns (the `CreateCampaignV1ObservabilityCampaignsPost` operationId).
	CreateCampaignV1ObservabilityCampaignsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateCampaignV1ObservabilityCampaignsPost Create and start a new campaign
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/observability/campaigns (the `CreateCampaignV1ObservabilityCampaignsPost` operationId).
	CreateCampaignV1ObservabilityCampaignsPost(ctx context.Context, body CreateCampaignV1ObservabilityCampaignsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete Delete a campaign
	//
	// Corresponds with DELETE /v1/observability/campaigns/{campaign_id} (the `DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete` operationId).
	DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet Get campaign by id
	//
	// Corresponds with GET /v1/observability/campaigns/{campaign_id} (the `GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet` operationId).
	GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet Get event ids that were selected by the given campaign
	//
	// Corresponds with GET /v1/observability/campaigns/{campaign_id}/selected-events (the `GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet` operationId).
	GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet(ctx context.Context, campaignId openapi_types.UUID, params *GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet Get campaign status by campaign id
	//
	// Corresponds with GET /v1/observability/campaigns/{campaign_id}/status (the `GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet` operationId).
	GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBody Get Chat Completion Events
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/observability/chat-completion-events/search (the `GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost` operationId).
	GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBody(ctx context.Context, params *GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost Get Chat Completion Events
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/observability/chat-completion-events/search (the `GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost` operationId).
	GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost(ctx context.Context, params *GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams, body GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBody Alternative to /search that returns only the IDs and that can return many IDs at once
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/observability/chat-completion-events/search-ids (the `GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost` operationId).
	GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost Alternative to /search that returns only the IDs and that can return many IDs at once
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/observability/chat-completion-events/search-ids (the `GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost` operationId).
	GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost(ctx context.Context, body GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet Get Chat Completion Event
	//
	// Corresponds with GET /v1/observability/chat-completion-events/{event_id} (the `GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet` operationId).
	GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBody Run Judge on an event based on the given options
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/observability/chat-completion-events/{event_id}/live-judging (the `JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost` operationId).
	JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBody(ctx context.Context, eventId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost Run Judge on an event based on the given options
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/observability/chat-completion-events/{event_id}/live-judging (the `JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost` operationId).
	JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost(ctx context.Context, eventId openapi_types.UUID, body JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet Get Similar Chat Completion Events
	//
	// Corresponds with GET /v1/observability/chat-completion-events/{event_id}/similar-events (the `GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet` operationId).
	GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet Get Chat Completion Fields
	//
	// Corresponds with GET /v1/observability/chat-completion-fields (the `GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet` operationId).
	GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet Get Chat Completion Field Options
	//
	// Corresponds with GET /v1/observability/chat-completion-fields/{field_name}/options (the `GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet` operationId).
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet(ctx context.Context, fieldName string, params *GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBody Get Chat Completion Field Options Counts
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/observability/chat-completion-fields/{field_name}/options-counts (the `GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost` operationId).
	GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBody(ctx context.Context, fieldName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost Get Chat Completion Field Options Counts
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/observability/chat-completion-fields/{field_name}/options-counts (the `GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost` operationId).
	GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost(ctx context.Context, fieldName string, body GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBody Delete multiple records from datasets
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/observability/dataset-records/bulk-delete (the `DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost` operationId).
	DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost Delete multiple records from datasets
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/observability/dataset-records/bulk-delete (the `DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost` operationId).
	DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost(ctx context.Context, body DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete Delete a record from a dataset
	//
	// Corresponds with DELETE /v1/observability/dataset-records/{dataset_record_id} (the `DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete` operationId).
	DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete(ctx context.Context, datasetRecordId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet Get the content of a given conversation from a dataset
	//
	// Corresponds with GET /v1/observability/dataset-records/{dataset_record_id} (the `GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet` operationId).
	GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet(ctx context.Context, datasetRecordId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBody Run Judge on a dataset record based on the given options
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/observability/dataset-records/{dataset_record_id}/live-judging (the `JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost` operationId).
	JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBody(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost Run Judge on a dataset record based on the given options
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/observability/dataset-records/{dataset_record_id}/live-judging (the `JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost` operationId).
	JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost(ctx context.Context, datasetRecordId openapi_types.UUID, body JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBody Update a dataset record conversation payload
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/payload (the `UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut` operationId).
	UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBody(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut Update a dataset record conversation payload
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/payload (the `UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut` operationId).
	UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut(ctx context.Context, datasetRecordId openapi_types.UUID, body UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBody Update conversation properties
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/properties (the `UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut` operationId).
	UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBody(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut Update conversation properties
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/properties (the `UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut` operationId).
	UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut(ctx context.Context, datasetRecordId openapi_types.UUID, body UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDatasetsV1ObservabilityDatasetsGet List existing datasets
	//
	// Corresponds with GET /v1/observability/datasets (the `GetDatasetsV1ObservabilityDatasetsGet` operationId).
	GetDatasetsV1ObservabilityDatasetsGet(ctx context.Context, params *GetDatasetsV1ObservabilityDatasetsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDatasetV1ObservabilityDatasetsPostWithBody Create a new empty dataset
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/observability/datasets (the `CreateDatasetV1ObservabilityDatasetsPost` operationId).
	CreateDatasetV1ObservabilityDatasetsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDatasetV1ObservabilityDatasetsPost Create a new empty dataset
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/observability/datasets (the `CreateDatasetV1ObservabilityDatasetsPost` operationId).
	CreateDatasetV1ObservabilityDatasetsPost(ctx context.Context, body CreateDatasetV1ObservabilityDatasetsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete Delete a dataset
	//
	// Corresponds with DELETE /v1/observability/datasets/{dataset_id} (the `DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete` operationId).
	DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet Get dataset by id
	//
	// Corresponds with GET /v1/observability/datasets/{dataset_id} (the `GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet` operationId).
	GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBody Patch dataset
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v1/observability/datasets/{dataset_id} (the `UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch` operationId).
	UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch Patch dataset
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v1/observability/datasets/{dataset_id} (the `UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch` operationId).
	UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch(ctx context.Context, datasetId openapi_types.UUID, body UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet Export to the Files API and retrieve presigned URL to download the resulting JSONL file
	//
	// Corresponds with GET /v1/observability/datasets/{dataset_id}/exports/to-jsonl (the `ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet` operationId).
	ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBody Populate the dataset with a campaign
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-campaign (the `PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost` operationId).
	PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost Populate the dataset with a campaign
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-campaign (the `PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost` operationId).
	PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBody Populate the dataset with samples from another dataset
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-dataset (the `PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost` operationId).
	PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost Populate the dataset with samples from another dataset
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-dataset (the `PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost` operationId).
	PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBody Populate the dataset with samples from the explorer
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-explorer (the `PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost` operationId).
	PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost Populate the dataset with samples from the explorer
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-explorer (the `PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost` operationId).
	PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBody Populate the dataset with samples from an uploaded file
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-file (the `PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost` operationId).
	PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost Populate the dataset with samples from an uploaded file
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-file (the `PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost` operationId).
	PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBody Populate the dataset with samples from the playground
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-playground (the `PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost` operationId).
	PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost Populate the dataset with samples from the playground
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-playground (the `PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost` operationId).
	PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet List existing records in the dataset
	//
	// Corresponds with GET /v1/observability/datasets/{dataset_id}/records (the `GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet` operationId).
	GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet(ctx context.Context, datasetId openapi_types.UUID, params *GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBody Add a conversation to the dataset
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/records (the `CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost` operationId).
	CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBody(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost Add a conversation to the dataset
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/records (the `CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost` operationId).
	CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost(ctx context.Context, datasetId openapi_types.UUID, body CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet List import tasks for the given dataset
	//
	// Corresponds with GET /v1/observability/datasets/{dataset_id}/tasks (the `GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet` operationId).
	GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet(ctx context.Context, datasetId openapi_types.UUID, params *GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet Get status of a dataset import task
	//
	// Corresponds with GET /v1/observability/datasets/{dataset_id}/tasks/{task_id} (the `GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet` operationId).
	GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet(ctx context.Context, datasetId openapi_types.UUID, taskId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetJudgesV1ObservabilityJudgesGet Get judges with optional filtering and search
	//
	// Corresponds with GET /v1/observability/judges (the `GetJudgesV1ObservabilityJudgesGet` operationId).
	GetJudgesV1ObservabilityJudgesGet(ctx context.Context, params *GetJudgesV1ObservabilityJudgesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateJudgeV1ObservabilityJudgesPostWithBody Create a new judge
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/observability/judges (the `CreateJudgeV1ObservabilityJudgesPost` operationId).
	CreateJudgeV1ObservabilityJudgesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateJudgeV1ObservabilityJudgesPost Create a new judge
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/observability/judges (the `CreateJudgeV1ObservabilityJudgesPost` operationId).
	CreateJudgeV1ObservabilityJudgesPost(ctx context.Context, body CreateJudgeV1ObservabilityJudgesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteJudgeV1ObservabilityJudgesJudgeIdDelete Delete a judge
	//
	// Corresponds with DELETE /v1/observability/judges/{judge_id} (the `DeleteJudgeV1ObservabilityJudgesJudgeIdDelete` operationId).
	DeleteJudgeV1ObservabilityJudgesJudgeIdDelete(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetJudgeByIdV1ObservabilityJudgesJudgeIdGet Get judge by id
	//
	// Corresponds with GET /v1/observability/judges/{judge_id} (the `GetJudgeByIdV1ObservabilityJudgesJudgeIdGet` operationId).
	GetJudgeByIdV1ObservabilityJudgesJudgeIdGet(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBody Update a judge
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /v1/observability/judges/{judge_id} (the `UpdateJudgeV1ObservabilityJudgesJudgeIdPut` operationId).
	UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBody(ctx context.Context, judgeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateJudgeV1ObservabilityJudgesJudgeIdPut Update a judge
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /v1/observability/judges/{judge_id} (the `UpdateJudgeV1ObservabilityJudgesJudgeIdPut` operationId).
	UpdateJudgeV1ObservabilityJudgesJudgeIdPut(ctx context.Context, judgeId openapi_types.UUID, body UpdateJudgeV1ObservabilityJudgesJudgeIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBody Run a saved judge on a conversation
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/observability/judges/{judge_id}/live-judging (the `JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost` operationId).
	JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBody(ctx context.Context, judgeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost Run a saved judge on a conversation
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/observability/judges/{judge_id}/live-judging (the `JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost` operationId).
	JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost(ctx context.Context, judgeId openapi_types.UUID, body JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OcrV1OcrPostWithBody OCR
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/ocr (the `OcrV1OcrPost` operationId).
	OcrV1OcrPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OcrV1OcrPost OCR
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/ocr (the `OcrV1OcrPost` operationId).
	OcrV1OcrPost(ctx context.Context, body OcrV1OcrPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListDeploymentsV1WorkflowsDeploymentsGet List Deployments
	//
	// Corresponds with GET /v1/workflows/deployments (the `ListDeploymentsV1WorkflowsDeploymentsGet` operationId).
	ListDeploymentsV1WorkflowsDeploymentsGet(ctx context.Context, params *ListDeploymentsV1WorkflowsDeploymentsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDeploymentV1WorkflowsDeploymentsNameGet Get Deployment
	//
	// Corresponds with GET /v1/workflows/deployments/{name} (the `GetDeploymentV1WorkflowsDeploymentsNameGet` operationId).
	GetDeploymentV1WorkflowsDeploymentsNameGet(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkflowEventsV1WorkflowsEventsListGet Get Workflow Events
	//
	// Corresponds with GET /v1/workflows/events/list (the `GetWorkflowEventsV1WorkflowsEventsListGet` operationId).
	GetWorkflowEventsV1WorkflowsEventsListGet(ctx context.Context, params *GetWorkflowEventsV1WorkflowsEventsListGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetStreamEventsV1WorkflowsEventsStreamGet Get Stream Events
	//
	// Corresponds with GET /v1/workflows/events/stream (the `GetStreamEventsV1WorkflowsEventsStreamGet` operationId).
	GetStreamEventsV1WorkflowsEventsStreamGet(ctx context.Context, params *GetStreamEventsV1WorkflowsEventsStreamGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBody Batch Cancel Workflow Executions
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/workflows/executions/cancel (the `BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost` operationId).
	BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost Batch Cancel Workflow Executions
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/workflows/executions/cancel (the `BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost` operationId).
	BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost(ctx context.Context, body BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBody Batch Terminate Workflow Executions
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/workflows/executions/terminate (the `BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost` operationId).
	BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost Batch Terminate Workflow Executions
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/workflows/executions/terminate (the `BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost` operationId).
	BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost(ctx context.Context, body BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet Get Workflow Execution
	//
	// Corresponds with GET /v1/workflows/executions/{execution_id} (the `GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet` operationId).
	GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost Cancel Workflow Execution
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/cancel (the `CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost` operationId).
	CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet Get Workflow Execution History
	//
	// Corresponds with GET /v1/workflows/executions/{execution_id}/history (the `GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet` operationId).
	GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet(ctx context.Context, executionId string, params *GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBody Query Workflow Execution
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/queries (the `QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost` operationId).
	QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBody(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost Query Workflow Execution
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/queries (the `QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost` operationId).
	QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost(ctx context.Context, executionId string, body QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBody Reset Workflow
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/reset (the `ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost` operationId).
	ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBody(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost Reset Workflow
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/reset (the `ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost` operationId).
	ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost(ctx context.Context, executionId string, body ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBody Signal Workflow Execution
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/signals (the `SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost` operationId).
	SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBody(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost Signal Workflow Execution
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/signals (the `SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost` operationId).
	SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost(ctx context.Context, executionId string, body SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StreamV1WorkflowsExecutionsExecutionIdStreamGet Stream
	//
	// Corresponds with GET /v1/workflows/executions/{execution_id}/stream (the `StreamV1WorkflowsExecutionsExecutionIdStreamGet` operationId).
	StreamV1WorkflowsExecutionsExecutionIdStreamGet(ctx context.Context, executionId string, params *StreamV1WorkflowsExecutionsExecutionIdStreamGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost Terminate Workflow Execution
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/terminate (the `TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost` operationId).
	TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkflowExecutionTraceEvents Get Workflow Execution Trace Events
	//
	// Corresponds with GET /v1/workflows/executions/{execution_id}/trace/events (the `GetWorkflowExecutionTraceEvents` operationId).
	GetWorkflowExecutionTraceEvents(ctx context.Context, executionId string, params *GetWorkflowExecutionTraceEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkflowExecutionTraceOtel Get Workflow Execution Trace Otel
	//
	// Corresponds with GET /v1/workflows/executions/{execution_id}/trace/otel (the `GetWorkflowExecutionTraceOtel` operationId).
	GetWorkflowExecutionTraceOtel(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkflowExecutionTraceSummary Get Workflow Execution Trace Summary
	//
	// Corresponds with GET /v1/workflows/executions/{execution_id}/trace/summary (the `GetWorkflowExecutionTraceSummary` operationId).
	GetWorkflowExecutionTraceSummary(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBody Update Workflow Execution
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/updates (the `UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost` operationId).
	UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBody(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost Update Workflow Execution
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/updates (the `UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost` operationId).
	UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost(ctx context.Context, executionId string, body UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkflowRegistrationsV1WorkflowsRegistrationsGet Get Workflow Registrations
	//
	// Corresponds with GET /v1/workflows/registrations (the `GetWorkflowRegistrationsV1WorkflowsRegistrationsGet` operationId).
	GetWorkflowRegistrationsV1WorkflowsRegistrationsGet(ctx context.Context, params *GetWorkflowRegistrationsV1WorkflowsRegistrationsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet Get Workflow Registration
	//
	// Corresponds with GET /v1/workflows/registrations/{workflow_registration_id} (the `GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet` operationId).
	GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet(ctx context.Context, workflowRegistrationId openapi_types.UUID, params *GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBody Execute Workflow Registration
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/workflows/registrations/{workflow_registration_id}/execute (the `ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBody(ctx context.Context, workflowRegistrationId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost Execute Workflow Registration
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/workflows/registrations/{workflow_registration_id}/execute (the `ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost(ctx context.Context, workflowRegistrationId openapi_types.UUID, body ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListRunsV1WorkflowsRunsGet List Runs
	//
	// Corresponds with GET /v1/workflows/runs (the `ListRunsV1WorkflowsRunsGet` operationId).
	ListRunsV1WorkflowsRunsGet(ctx context.Context, params *ListRunsV1WorkflowsRunsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRunV1WorkflowsRunsRunIdGet Get Run
	//
	// Corresponds with GET /v1/workflows/runs/{run_id} (the `GetRunV1WorkflowsRunsRunIdGet` operationId).
	GetRunV1WorkflowsRunsRunIdGet(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRunHistoryV1WorkflowsRunsRunIdHistoryGet Get Run History
	//
	// Corresponds with GET /v1/workflows/runs/{run_id}/history (the `GetRunHistoryV1WorkflowsRunsRunIdHistoryGet` operationId).
	GetRunHistoryV1WorkflowsRunsRunIdHistoryGet(ctx context.Context, runId openapi_types.UUID, params *GetRunHistoryV1WorkflowsRunsRunIdHistoryGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSchedulesV1WorkflowsSchedulesGet Get Schedules
	//
	// Corresponds with GET /v1/workflows/schedules (the `GetSchedulesV1WorkflowsSchedulesGet` operationId).
	GetSchedulesV1WorkflowsSchedulesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScheduleWorkflowV1WorkflowsSchedulesPostWithBody Schedule Workflow
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/workflows/schedules (the `ScheduleWorkflowV1WorkflowsSchedulesPost` operationId).
	ScheduleWorkflowV1WorkflowsSchedulesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScheduleWorkflowV1WorkflowsSchedulesPost Schedule Workflow
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/workflows/schedules (the `ScheduleWorkflowV1WorkflowsSchedulesPost` operationId).
	ScheduleWorkflowV1WorkflowsSchedulesPost(ctx context.Context, body ScheduleWorkflowV1WorkflowsSchedulesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete Unschedule Workflow
	//
	// Corresponds with DELETE /v1/workflows/schedules/{schedule_id} (the `UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete` operationId).
	UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete(ctx context.Context, scheduleId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkerInfoV1WorkflowsWorkersWhoamiGet Get Worker Info
	//
	// Corresponds with GET /v1/workflows/workers/whoami (the `GetWorkerInfoV1WorkflowsWorkersWhoamiGet` operationId).
	GetWorkerInfoV1WorkflowsWorkersWhoamiGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkflowV1WorkflowsWorkflowIdentifierGet Get Workflow
	//
	// Corresponds with GET /v1/workflows/{workflow_identifier} (the `GetWorkflowV1WorkflowsWorkflowIdentifierGet` operationId).
	GetWorkflowV1WorkflowsWorkflowIdentifierGet(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBody Update Workflow
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /v1/workflows/{workflow_identifier} (the `UpdateWorkflowV1WorkflowsWorkflowIdentifierPut` operationId).
	UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBody(ctx context.Context, workflowIdentifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateWorkflowV1WorkflowsWorkflowIdentifierPut Update Workflow
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /v1/workflows/{workflow_identifier} (the `UpdateWorkflowV1WorkflowsWorkflowIdentifierPut` operationId).
	UpdateWorkflowV1WorkflowsWorkflowIdentifierPut(ctx context.Context, workflowIdentifier string, body UpdateWorkflowV1WorkflowsWorkflowIdentifierPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut Archive Workflow
	//
	// Corresponds with PUT /v1/workflows/{workflow_identifier}/archive (the `ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut` operationId).
	ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBody Execute Workflow
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/workflows/{workflow_identifier}/execute (the `ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost` operationId).
	ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBody(ctx context.Context, workflowIdentifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost Execute Workflow
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/workflows/{workflow_identifier}/execute (the `ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost` operationId).
	ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost(ctx context.Context, workflowIdentifier string, body ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut Unarchive Workflow
	//
	// Corresponds with PUT /v1/workflows/{workflow_identifier}/unarchive (the `UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut` operationId).
	UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet Get Workflow Metrics
	//
	// Get comprehensive metrics for a specific workflow.
	//
	// Args:
	//     workflow_name: The name of the workflow type to get metrics for
	//     start_time: Optional start time filter (ISO 8601 format)
	//     end_time: Optional end time filter (ISO 8601 format)
	//
	// Returns:
	//     WorkflowMetrics: Dictionary containing metrics:
	//         - execution_count: Total number of executions
	//         - success_count: Number of successful executions
	//         - error_count: Number of failed/terminated executions
	//         - average_latency_ms: Average execution duration in milliseconds
	//         - retry_rate: Proportion of workflows with retries
	//         - latency_over_time: Time-series data of execution durations
	//
	// Example:
	//     GET /v1/workflows/MyWorkflow/metrics
	//     GET /v1/workflows/MyWorkflow/metrics?start_time=2025-01-01T00:00:00Z
	//     GET /v1/workflows/MyWorkflow/metrics?start_time=2025-01-01T00:00:00Z&end_time=2025-12-31T23:59:59Z
	//
	// Corresponds with GET /v1/workflows/{workflow_name}/metrics (the `GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet` operationId).
	GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet(ctx context.Context, workflowName string, params *GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetParams, 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) AgentsApiV1AgentsCreateOrUpdateAliasWithResponse

func (c *ClientWithResponses) AgentsApiV1AgentsCreateOrUpdateAliasWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsCreateOrUpdateAliasParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsCreateOrUpdateAliasResponse, error)

AgentsApiV1AgentsCreateOrUpdateAliasWithResponse Create or update an agent version alias.

Create a new alias or update an existing alias to point to a specific version. Aliases are unique per agent and can be reassigned to different versions.

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsCreateOrUpdateAlias` operationId).

func (*ClientWithResponses) AgentsApiV1AgentsCreateWithBodyWithResponse

func (c *ClientWithResponses) AgentsApiV1AgentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsCreateResponse, error)

AgentsApiV1AgentsCreateWithBodyWithResponse Create a agent that can be used within a conversation.

Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/agents (the `AgentsApiV1AgentsCreate` operationId).

func (*ClientWithResponses) AgentsApiV1AgentsCreateWithResponse

func (c *ClientWithResponses) AgentsApiV1AgentsCreateWithResponse(ctx context.Context, body AgentsApiV1AgentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsCreateResponse, error)

AgentsApiV1AgentsCreateWithResponse Create a agent that can be used within a conversation.

Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/agents (the `AgentsApiV1AgentsCreate` operationId).

func (*ClientWithResponses) AgentsApiV1AgentsDeleteAliasWithResponse

func (c *ClientWithResponses) AgentsApiV1AgentsDeleteAliasWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsDeleteAliasParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsDeleteAliasResponse, error)

AgentsApiV1AgentsDeleteAliasWithResponse Delete an agent version alias.

Delete an existing alias for an agent.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsDeleteAlias` operationId).

func (*ClientWithResponses) AgentsApiV1AgentsDeleteWithResponse

func (c *ClientWithResponses) AgentsApiV1AgentsDeleteWithResponse(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsDeleteResponse, error)

AgentsApiV1AgentsDeleteWithResponse Delete an agent entity.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/agents/{agent_id} (the `AgentsApiV1AgentsDelete` operationId).

func (*ClientWithResponses) AgentsApiV1AgentsGetVersionWithResponse

func (c *ClientWithResponses) AgentsApiV1AgentsGetVersionWithResponse(ctx context.Context, agentId string, version string, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsGetVersionResponse, error)

AgentsApiV1AgentsGetVersionWithResponse Retrieve a specific version of an agent.

Get a specific agent version by version number.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/agents/{agent_id}/versions/{version} (the `AgentsApiV1AgentsGetVersion` operationId).

func (*ClientWithResponses) AgentsApiV1AgentsGetWithResponse

func (c *ClientWithResponses) AgentsApiV1AgentsGetWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsGetParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsGetResponse, error)

AgentsApiV1AgentsGetWithResponse Retrieve an agent entity.

Given an agent, retrieve an agent entity with its attributes. The agent_version parameter can be an integer version number or a string alias.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/agents/{agent_id} (the `AgentsApiV1AgentsGet` operationId).

func (*ClientWithResponses) AgentsApiV1AgentsListPagesWithResponse

func (c *ClientWithResponses) AgentsApiV1AgentsListPagesWithResponse(ctx context.Context, params *AgentsApiV1AgentsListPagesParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsListPagesResponse, error)

AgentsApiV1AgentsListPagesWithResponse List agent entities, cursor-paginated.

Retrieve a page of agent entities. Unlike the deprecated `GET /v1/agents`, this endpoint paginates by opaque cursor and honors per-agent sharing, returning only agents the caller is authorized to see.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/agents/pages (the `AgentsApiV1AgentsListPages` operationId).

func (*ClientWithResponses) AgentsApiV1AgentsListVersionAliasesWithResponse

func (c *ClientWithResponses) AgentsApiV1AgentsListVersionAliasesWithResponse(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsListVersionAliasesResponse, error)

AgentsApiV1AgentsListVersionAliasesWithResponse List all aliases for an agent.

Retrieve all version aliases for a specific agent.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsListVersionAliases` operationId).

func (*ClientWithResponses) AgentsApiV1AgentsListVersionsWithResponse

func (c *ClientWithResponses) AgentsApiV1AgentsListVersionsWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsListVersionsParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsListVersionsResponse, error)

AgentsApiV1AgentsListVersionsWithResponse List all versions of an agent.

Retrieve all versions for a specific agent with full agent context. Supports pagination.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/agents/{agent_id}/versions (the `AgentsApiV1AgentsListVersions` operationId).

func (*ClientWithResponses) AgentsApiV1AgentsListWithResponse deprecated

func (c *ClientWithResponses) AgentsApiV1AgentsListWithResponse(ctx context.Context, params *AgentsApiV1AgentsListParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsListResponse, error)

AgentsApiV1AgentsListWithResponse List agent entities.

Retrieve a list of agent entities sorted by creation time. Deprecated: some features such as agent sharing are not supported by this endpoint. Use the cursor-paginated `GET /v1/agents/pages` instead.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/agents (the `AgentsApiV1AgentsList` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) AgentsApiV1AgentsUpdateVersionWithResponse

func (c *ClientWithResponses) AgentsApiV1AgentsUpdateVersionWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsUpdateVersionParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsUpdateVersionResponse, error)

AgentsApiV1AgentsUpdateVersionWithResponse Update an agent version.

Switch the version of an agent.

Returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v1/agents/{agent_id}/version (the `AgentsApiV1AgentsUpdateVersion` operationId).

func (*ClientWithResponses) AgentsApiV1AgentsUpdateWithBodyWithResponse

func (c *ClientWithResponses) AgentsApiV1AgentsUpdateWithBodyWithResponse(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsUpdateResponse, error)

AgentsApiV1AgentsUpdateWithBodyWithResponse Update an agent entity.

Update an agent attributes and create a new version.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v1/agents/{agent_id} (the `AgentsApiV1AgentsUpdate` operationId).

func (*ClientWithResponses) AgentsApiV1AgentsUpdateWithResponse

func (c *ClientWithResponses) AgentsApiV1AgentsUpdateWithResponse(ctx context.Context, agentId string, body AgentsApiV1AgentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsUpdateResponse, error)

AgentsApiV1AgentsUpdateWithResponse Update an agent entity.

Update an agent attributes and create a new version.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v1/agents/{agent_id} (the `AgentsApiV1AgentsUpdate` operationId).

func (*ClientWithResponses) AgentsApiV1ConversationsAppendStreamWithBodyWithResponse

func (c *ClientWithResponses) AgentsApiV1ConversationsAppendStreamWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsAppendStreamResponse, error)

AgentsApiV1ConversationsAppendStreamWithBodyWithResponse Append new entries to an existing conversation.

Run completion on the history of the conversation and the user entries. Return the new created entries.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/conversations/{conversation_id}#stream (the `AgentsApiV1ConversationsAppendStream` operationId).

func (*ClientWithResponses) AgentsApiV1ConversationsAppendStreamWithResponse

func (c *ClientWithResponses) AgentsApiV1ConversationsAppendStreamWithResponse(ctx context.Context, conversationId string, body AgentsApiV1ConversationsAppendStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsAppendStreamResponse, error)

AgentsApiV1ConversationsAppendStreamWithResponse Append new entries to an existing conversation.

Run completion on the history of the conversation and the user entries. Return the new created entries.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/conversations/{conversation_id}#stream (the `AgentsApiV1ConversationsAppendStream` operationId).

func (*ClientWithResponses) AgentsApiV1ConversationsAppendWithBodyWithResponse

func (c *ClientWithResponses) AgentsApiV1ConversationsAppendWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsAppendResponse, error)

AgentsApiV1ConversationsAppendWithBodyWithResponse Append new entries to an existing conversation.

Run completion on the history of the conversation and the user entries. Return the new created entries.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsAppend` operationId).

func (*ClientWithResponses) AgentsApiV1ConversationsAppendWithResponse

func (c *ClientWithResponses) AgentsApiV1ConversationsAppendWithResponse(ctx context.Context, conversationId string, body AgentsApiV1ConversationsAppendJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsAppendResponse, error)

AgentsApiV1ConversationsAppendWithResponse Append new entries to an existing conversation.

Run completion on the history of the conversation and the user entries. Return the new created entries.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsAppend` operationId).

func (*ClientWithResponses) AgentsApiV1ConversationsDeleteWithResponse

func (c *ClientWithResponses) AgentsApiV1ConversationsDeleteWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsDeleteResponse, error)

AgentsApiV1ConversationsDeleteWithResponse Delete a conversation.

Delete a conversation given a conversation_id.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsDelete` operationId).

func (*ClientWithResponses) AgentsApiV1ConversationsGetWithResponse

func (c *ClientWithResponses) AgentsApiV1ConversationsGetWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsGetResponse, error)

AgentsApiV1ConversationsGetWithResponse Retrieve a conversation information.

Given a conversation_id retrieve a conversation entity with its attributes.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsGet` operationId).

func (*ClientWithResponses) AgentsApiV1ConversationsHistoryWithResponse

func (c *ClientWithResponses) AgentsApiV1ConversationsHistoryWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsHistoryResponse, error)

AgentsApiV1ConversationsHistoryWithResponse Retrieve all entries in a conversation.

Given a conversation_id retrieve all the entries belonging to that conversation. The entries are sorted in the order they were appended, those can be messages, connectors or function_call.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/conversations/{conversation_id}/history (the `AgentsApiV1ConversationsHistory` operationId).

func (*ClientWithResponses) AgentsApiV1ConversationsListWithResponse

func (c *ClientWithResponses) AgentsApiV1ConversationsListWithResponse(ctx context.Context, params *AgentsApiV1ConversationsListParams, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsListResponse, error)

AgentsApiV1ConversationsListWithResponse List all created conversations.

Retrieve a list of conversation entities sorted by creation time.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/conversations (the `AgentsApiV1ConversationsList` operationId).

func (*ClientWithResponses) AgentsApiV1ConversationsMessagesWithResponse

func (c *ClientWithResponses) AgentsApiV1ConversationsMessagesWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsMessagesResponse, error)

AgentsApiV1ConversationsMessagesWithResponse Retrieve all messages in a conversation.

Given a conversation_id retrieve all the messages belonging to that conversation. This is similar to retrieving all entries except we filter the messages only.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/conversations/{conversation_id}/messages (the `AgentsApiV1ConversationsMessages` operationId).

func (*ClientWithResponses) AgentsApiV1ConversationsRestartStreamWithBodyWithResponse

func (c *ClientWithResponses) AgentsApiV1ConversationsRestartStreamWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsRestartStreamResponse, error)

AgentsApiV1ConversationsRestartStreamWithBodyWithResponse Restart a conversation starting from a given entry.

Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/conversations/{conversation_id}/restart#stream (the `AgentsApiV1ConversationsRestartStream` operationId).

func (*ClientWithResponses) AgentsApiV1ConversationsRestartStreamWithResponse

func (c *ClientWithResponses) AgentsApiV1ConversationsRestartStreamWithResponse(ctx context.Context, conversationId string, body AgentsApiV1ConversationsRestartStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsRestartStreamResponse, error)

AgentsApiV1ConversationsRestartStreamWithResponse Restart a conversation starting from a given entry.

Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/conversations/{conversation_id}/restart#stream (the `AgentsApiV1ConversationsRestartStream` operationId).

func (*ClientWithResponses) AgentsApiV1ConversationsRestartWithBodyWithResponse

func (c *ClientWithResponses) AgentsApiV1ConversationsRestartWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsRestartResponse, error)

AgentsApiV1ConversationsRestartWithBodyWithResponse Restart a conversation starting from a given entry.

Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/conversations/{conversation_id}/restart (the `AgentsApiV1ConversationsRestart` operationId).

func (*ClientWithResponses) AgentsApiV1ConversationsRestartWithResponse

func (c *ClientWithResponses) AgentsApiV1ConversationsRestartWithResponse(ctx context.Context, conversationId string, body AgentsApiV1ConversationsRestartJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsRestartResponse, error)

AgentsApiV1ConversationsRestartWithResponse Restart a conversation starting from a given entry.

Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/conversations/{conversation_id}/restart (the `AgentsApiV1ConversationsRestart` operationId).

func (*ClientWithResponses) AgentsApiV1ConversationsStartStreamWithBodyWithResponse

func (c *ClientWithResponses) AgentsApiV1ConversationsStartStreamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsStartStreamResponse, error)

AgentsApiV1ConversationsStartStreamWithBodyWithResponse Create a conversation and append entries to it.

Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/conversations#stream (the `AgentsApiV1ConversationsStartStream` operationId).

func (*ClientWithResponses) AgentsApiV1ConversationsStartStreamWithResponse

AgentsApiV1ConversationsStartStreamWithResponse Create a conversation and append entries to it.

Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/conversations#stream (the `AgentsApiV1ConversationsStartStream` operationId).

func (*ClientWithResponses) AgentsApiV1ConversationsStartWithBodyWithResponse

func (c *ClientWithResponses) AgentsApiV1ConversationsStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsStartResponse, error)

AgentsApiV1ConversationsStartWithBodyWithResponse Create a conversation and append entries to it.

Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/conversations (the `AgentsApiV1ConversationsStart` operationId).

func (*ClientWithResponses) AgentsApiV1ConversationsStartWithResponse

func (c *ClientWithResponses) AgentsApiV1ConversationsStartWithResponse(ctx context.Context, body AgentsApiV1ConversationsStartJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsStartResponse, error)

AgentsApiV1ConversationsStartWithResponse Create a conversation and append entries to it.

Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/conversations (the `AgentsApiV1ConversationsStart` operationId).

func (*ClientWithResponses) AgentsCompletionV1AgentsCompletionsPostWithBodyWithResponse deprecated

func (c *ClientWithResponses) AgentsCompletionV1AgentsCompletionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsCompletionV1AgentsCompletionsPostResponse, error)

AgentsCompletionV1AgentsCompletionsPostWithBodyWithResponse Agents Completion

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/agents/completions (the `AgentsCompletionV1AgentsCompletionsPost` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) AgentsCompletionV1AgentsCompletionsPostWithResponse

AgentsCompletionV1AgentsCompletionsPostWithResponse Agents Completion

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/agents/completions (the `AgentsCompletionV1AgentsCompletionsPost` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutWithResponse

func (c *ClientWithResponses) ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutWithResponse(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse, error)

ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutWithResponse Archive Workflow

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /v1/workflows/{workflow_identifier}/archive (the `ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut` operationId).

func (*ClientWithResponses) AudioApiV1TranscriptionsPostStreamWithBodyWithResponse

func (c *ClientWithResponses) AudioApiV1TranscriptionsPostStreamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AudioApiV1TranscriptionsPostStreamResponse, error)

AudioApiV1TranscriptionsPostStreamWithBodyWithResponse Create Streaming Transcription (SSE)

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/audio/transcriptions#stream (the `AudioApiV1TranscriptionsPostStream` operationId).

func (*ClientWithResponses) AudioApiV1TranscriptionsPostWithBodyWithResponse

func (c *ClientWithResponses) AudioApiV1TranscriptionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AudioApiV1TranscriptionsPostResponse, error)

AudioApiV1TranscriptionsPostWithBodyWithResponse Create Transcription

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/audio/transcriptions (the `AudioApiV1TranscriptionsPost` operationId).

func (*ClientWithResponses) BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBodyWithResponse

func (c *ClientWithResponses) BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse, error)

BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBodyWithResponse Batch Cancel Workflow Executions

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/executions/cancel (the `BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost` operationId).

func (*ClientWithResponses) BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithResponse

BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithResponse Batch Cancel Workflow Executions

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/executions/cancel (the `BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost` operationId).

func (*ClientWithResponses) BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBodyWithResponse

func (c *ClientWithResponses) BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse, error)

BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBodyWithResponse Batch Terminate Workflow Executions

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/executions/terminate (the `BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost` operationId).

func (*ClientWithResponses) BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithResponse

BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithResponse Batch Terminate Workflow Executions

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/executions/terminate (the `BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost` operationId).

func (*ClientWithResponses) CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostWithResponse

func (c *ClientWithResponses) CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse, error)

CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostWithResponse Cancel Workflow Execution

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/executions/{execution_id}/cancel (the `CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost` operationId).

func (*ClientWithResponses) ChatClassificationsV1ChatClassificationsPostWithBodyWithResponse

func (c *ClientWithResponses) ChatClassificationsV1ChatClassificationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChatClassificationsV1ChatClassificationsPostResponse, error)

ChatClassificationsV1ChatClassificationsPostWithBodyWithResponse Chat Classifications

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/chat/classifications (the `ChatClassificationsV1ChatClassificationsPost` operationId).

func (*ClientWithResponses) ChatClassificationsV1ChatClassificationsPostWithResponse

ChatClassificationsV1ChatClassificationsPostWithResponse Chat Classifications

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/chat/classifications (the `ChatClassificationsV1ChatClassificationsPost` operationId).

func (*ClientWithResponses) ChatCompletionV1ChatCompletionsPostWithBodyWithResponse

func (c *ClientWithResponses) ChatCompletionV1ChatCompletionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChatCompletionV1ChatCompletionsPostResponse, error)

ChatCompletionV1ChatCompletionsPostWithBodyWithResponse Chat Completion

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/chat/completions (the `ChatCompletionV1ChatCompletionsPost` operationId).

func (*ClientWithResponses) ChatCompletionV1ChatCompletionsPostWithResponse

ChatCompletionV1ChatCompletionsPostWithResponse Chat Completion

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/chat/completions (the `ChatCompletionV1ChatCompletionsPost` operationId).

func (*ClientWithResponses) ChatModerationsV1ChatModerationsPostWithBodyWithResponse

func (c *ClientWithResponses) ChatModerationsV1ChatModerationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChatModerationsV1ChatModerationsPostResponse, error)

ChatModerationsV1ChatModerationsPostWithBodyWithResponse Chat Moderations

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/chat/moderations (the `ChatModerationsV1ChatModerationsPost` operationId).

func (*ClientWithResponses) ChatModerationsV1ChatModerationsPostWithResponse

ChatModerationsV1ChatModerationsPostWithResponse Chat Moderations

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/chat/moderations (the `ChatModerationsV1ChatModerationsPost` operationId).

func (*ClientWithResponses) ClassificationsV1ClassificationsPostWithBodyWithResponse

func (c *ClientWithResponses) ClassificationsV1ClassificationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClassificationsV1ClassificationsPostResponse, error)

ClassificationsV1ClassificationsPostWithBodyWithResponse Classifications

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/classifications (the `ClassificationsV1ClassificationsPost` operationId).

func (*ClientWithResponses) ClassificationsV1ClassificationsPostWithResponse

ClassificationsV1ClassificationsPostWithResponse Classifications

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/classifications (the `ClassificationsV1ClassificationsPost` operationId).

func (*ClientWithResponses) ConnectorCallToolV1WithBodyWithResponse

func (c *ClientWithResponses) ConnectorCallToolV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCallToolV1Response, error)

ConnectorCallToolV1WithBodyWithResponse Call Connector Tool

Call a tool on an MCP connector.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/connectors/{connector_id_or_name}/tools/{tool_name}/call (the `ConnectorCallToolV1` operationId).

func (*ClientWithResponses) ConnectorCallToolV1WithResponse

func (c *ClientWithResponses) ConnectorCallToolV1WithResponse(ctx context.Context, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, body ConnectorCallToolV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCallToolV1Response, error)

ConnectorCallToolV1WithResponse Call Connector Tool

Call a tool on an MCP connector.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/connectors/{connector_id_or_name}/tools/{tool_name}/call (the `ConnectorCallToolV1` operationId).

func (*ClientWithResponses) ConnectorCreateOrUpdateOrganizationCredentialsV1WithBodyWithResponse

func (c *ClientWithResponses) ConnectorCreateOrUpdateOrganizationCredentialsV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateOrganizationCredentialsV1Response, error)

ConnectorCreateOrUpdateOrganizationCredentialsV1WithBodyWithResponse Create or update organization credentials for a connector.

Create or update credentials at the organization level for a given connector.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorCreateOrUpdateOrganizationCredentialsV1` operationId).

func (*ClientWithResponses) ConnectorCreateOrUpdateOrganizationCredentialsV1WithResponse

func (c *ClientWithResponses) ConnectorCreateOrUpdateOrganizationCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateOrganizationCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateOrganizationCredentialsV1Response, error)

ConnectorCreateOrUpdateOrganizationCredentialsV1WithResponse Create or update organization credentials for a connector.

Create or update credentials at the organization level for a given connector.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorCreateOrUpdateOrganizationCredentialsV1` operationId).

func (*ClientWithResponses) ConnectorCreateOrUpdateUserCredentialsV1WithBodyWithResponse

func (c *ClientWithResponses) ConnectorCreateOrUpdateUserCredentialsV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateUserCredentialsV1Response, error)

ConnectorCreateOrUpdateUserCredentialsV1WithBodyWithResponse Create or update user credentials for a connector.

Create or update credentials at the user level for a given connector.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorCreateOrUpdateUserCredentialsV1` operationId).

func (*ClientWithResponses) ConnectorCreateOrUpdateUserCredentialsV1WithResponse

func (c *ClientWithResponses) ConnectorCreateOrUpdateUserCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateUserCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateUserCredentialsV1Response, error)

ConnectorCreateOrUpdateUserCredentialsV1WithResponse Create or update user credentials for a connector.

Create or update credentials at the user level for a given connector.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorCreateOrUpdateUserCredentialsV1` operationId).

func (*ClientWithResponses) ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBodyWithResponse

func (c *ClientWithResponses) ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateWorkspaceCredentialsV1Response, error)

ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBodyWithResponse Create or update workspace credentials for a connector.

Create or update credentials at the workspace level for a given connector.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorCreateOrUpdateWorkspaceCredentialsV1` operationId).

func (*ClientWithResponses) ConnectorCreateOrUpdateWorkspaceCredentialsV1WithResponse

func (c *ClientWithResponses) ConnectorCreateOrUpdateWorkspaceCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateWorkspaceCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateWorkspaceCredentialsV1Response, error)

ConnectorCreateOrUpdateWorkspaceCredentialsV1WithResponse Create or update workspace credentials for a connector.

Create or update credentials at the workspace level for a given connector.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorCreateOrUpdateWorkspaceCredentialsV1` operationId).

func (*ClientWithResponses) ConnectorCreateV1WithBodyWithResponse

func (c *ClientWithResponses) ConnectorCreateV1WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCreateV1Response, error)

ConnectorCreateV1WithBodyWithResponse Create a new connector.

Create a new MCP connector. You can customize its visibility, url and auth type.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/connectors (the `ConnectorCreateV1` operationId).

func (*ClientWithResponses) ConnectorCreateV1WithResponse

func (c *ClientWithResponses) ConnectorCreateV1WithResponse(ctx context.Context, body ConnectorCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCreateV1Response, error)

ConnectorCreateV1WithResponse Create a new connector.

Create a new MCP connector. You can customize its visibility, url and auth type.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/connectors (the `ConnectorCreateV1` operationId).

func (*ClientWithResponses) ConnectorDeleteOrganizationCredentialsV1WithResponse

func (c *ClientWithResponses) ConnectorDeleteOrganizationCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*ConnectorDeleteOrganizationCredentialsV1Response, error)

ConnectorDeleteOrganizationCredentialsV1WithResponse Delete organization credentials for a connector.

Delete credentials at the organization level for a given connector.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/connectors/{connector_id_or_name}/organization/credentials/{credentials_name} (the `ConnectorDeleteOrganizationCredentialsV1` operationId).

func (*ClientWithResponses) ConnectorDeleteUserCredentialsV1WithResponse

func (c *ClientWithResponses) ConnectorDeleteUserCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*ConnectorDeleteUserCredentialsV1Response, error)

ConnectorDeleteUserCredentialsV1WithResponse Delete user credentials for a connector.

Delete credentials at the user level for a given connector.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/connectors/{connector_id_or_name}/user/credentials/{credentials_name} (the `ConnectorDeleteUserCredentialsV1` operationId).

func (*ClientWithResponses) ConnectorDeleteV1WithResponse

func (c *ClientWithResponses) ConnectorDeleteV1WithResponse(ctx context.Context, connectorId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ConnectorDeleteV1Response, error)

ConnectorDeleteV1WithResponse Delete a connector.

Delete a connector by its ID.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/connectors/{connector_id}#id (the `ConnectorDeleteV1` operationId).

func (*ClientWithResponses) ConnectorDeleteWorkspaceCredentialsV1WithResponse

func (c *ClientWithResponses) ConnectorDeleteWorkspaceCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*ConnectorDeleteWorkspaceCredentialsV1Response, error)

ConnectorDeleteWorkspaceCredentialsV1WithResponse Delete workspace credentials for a connector.

Delete credentials at the workspace level for a given connector.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/connectors/{connector_id_or_name}/workspace/credentials/{credentials_name} (the `ConnectorDeleteWorkspaceCredentialsV1` operationId).

func (*ClientWithResponses) ConnectorGetAuthUrlV1WithResponse

func (c *ClientWithResponses) ConnectorGetAuthUrlV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorGetAuthUrlV1Params, reqEditors ...RequestEditorFn) (*ConnectorGetAuthUrlV1Response, error)

ConnectorGetAuthUrlV1WithResponse Get the auth URL for a connector.

Get the OAuth2 authorization URL for a connector to initiate user authentication.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/connectors/{connector_id_or_name}/auth_url (the `ConnectorGetAuthUrlV1` operationId).

func (*ClientWithResponses) ConnectorGetAuthenticationMethodsV1WithResponse

func (c *ClientWithResponses) ConnectorGetAuthenticationMethodsV1WithResponse(ctx context.Context, connectorIdOrName string, reqEditors ...RequestEditorFn) (*ConnectorGetAuthenticationMethodsV1Response, error)

ConnectorGetAuthenticationMethodsV1WithResponse Get authentication methods for a connector.

Get the authentication schema for a connector. Returns the list of supported authentication methods and their required headers.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/connectors/{connector_id_or_name}/authentication_methods (the `ConnectorGetAuthenticationMethodsV1` operationId).

func (*ClientWithResponses) ConnectorGetV1WithResponse

func (c *ClientWithResponses) ConnectorGetV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorGetV1Params, reqEditors ...RequestEditorFn) (*ConnectorGetV1Response, error)

ConnectorGetV1WithResponse Get a connector.

Get a connector by its ID or name.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/connectors/{connector_id_or_name}#idOrName (the `ConnectorGetV1` operationId).

func (*ClientWithResponses) ConnectorListOrganizationCredentialsV1WithResponse

func (c *ClientWithResponses) ConnectorListOrganizationCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorListOrganizationCredentialsV1Params, reqEditors ...RequestEditorFn) (*ConnectorListOrganizationCredentialsV1Response, error)

ConnectorListOrganizationCredentialsV1WithResponse List organization credentials for a connector.

List all credentials configured at the organization level for a given connector.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorListOrganizationCredentialsV1` operationId).

func (*ClientWithResponses) ConnectorListToolsV1WithResponse

func (c *ClientWithResponses) ConnectorListToolsV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorListToolsV1Params, reqEditors ...RequestEditorFn) (*ConnectorListToolsV1Response, error)

ConnectorListToolsV1WithResponse List tools for a connector.

List all tools available for an MCP connector.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/connectors/{connector_id_or_name}/tools (the `ConnectorListToolsV1` operationId).

func (*ClientWithResponses) ConnectorListUserCredentialsV1WithResponse

func (c *ClientWithResponses) ConnectorListUserCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorListUserCredentialsV1Params, reqEditors ...RequestEditorFn) (*ConnectorListUserCredentialsV1Response, error)

ConnectorListUserCredentialsV1WithResponse List user credentials for a connector.

List all credentials configured at the user level for a given connector.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorListUserCredentialsV1` operationId).

func (*ClientWithResponses) ConnectorListV1WithResponse

func (c *ClientWithResponses) ConnectorListV1WithResponse(ctx context.Context, params *ConnectorListV1Params, reqEditors ...RequestEditorFn) (*ConnectorListV1Response, error)

ConnectorListV1WithResponse List all connectors.

List all your custom connectors with keyset pagination and filters.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/connectors (the `ConnectorListV1` operationId).

func (*ClientWithResponses) ConnectorListWorkspaceCredentialsV1WithResponse

func (c *ClientWithResponses) ConnectorListWorkspaceCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorListWorkspaceCredentialsV1Params, reqEditors ...RequestEditorFn) (*ConnectorListWorkspaceCredentialsV1Response, error)

ConnectorListWorkspaceCredentialsV1WithResponse List workspace credentials for a connector.

List all credentials configured at the workspace level for a given connector.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorListWorkspaceCredentialsV1` operationId).

func (*ClientWithResponses) ConnectorUpdateV1WithBodyWithResponse

func (c *ClientWithResponses) ConnectorUpdateV1WithBodyWithResponse(ctx context.Context, connectorId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorUpdateV1Response, error)

ConnectorUpdateV1WithBodyWithResponse Update a connector.

Update a connector by its ID.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v1/connectors/{connector_id}#id (the `ConnectorUpdateV1` operationId).

func (*ClientWithResponses) ConnectorUpdateV1WithResponse

func (c *ClientWithResponses) ConnectorUpdateV1WithResponse(ctx context.Context, connectorId openapi_types.UUID, body ConnectorUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorUpdateV1Response, error)

ConnectorUpdateV1WithResponse Update a connector.

Update a connector by its ID.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v1/connectors/{connector_id}#id (the `ConnectorUpdateV1` operationId).

func (*ClientWithResponses) CreateCampaignV1ObservabilityCampaignsPostWithBodyWithResponse

func (c *ClientWithResponses) CreateCampaignV1ObservabilityCampaignsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCampaignV1ObservabilityCampaignsPostResponse, error)

CreateCampaignV1ObservabilityCampaignsPostWithBodyWithResponse Create and start a new campaign

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/campaigns (the `CreateCampaignV1ObservabilityCampaignsPost` operationId).

func (*ClientWithResponses) CreateCampaignV1ObservabilityCampaignsPostWithResponse

CreateCampaignV1ObservabilityCampaignsPostWithResponse Create and start a new campaign

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/campaigns (the `CreateCampaignV1ObservabilityCampaignsPost` operationId).

func (*ClientWithResponses) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBodyWithResponse

func (c *ClientWithResponses) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse, error)

CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBodyWithResponse Add a conversation to the dataset

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/datasets/{dataset_id}/records (the `CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost` operationId).

func (*ClientWithResponses) CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithResponse

CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithResponse Add a conversation to the dataset

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/datasets/{dataset_id}/records (the `CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost` operationId).

func (*ClientWithResponses) CreateDatasetV1ObservabilityDatasetsPostWithBodyWithResponse

func (c *ClientWithResponses) CreateDatasetV1ObservabilityDatasetsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatasetV1ObservabilityDatasetsPostResponse, error)

CreateDatasetV1ObservabilityDatasetsPostWithBodyWithResponse Create a new empty dataset

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/datasets (the `CreateDatasetV1ObservabilityDatasetsPost` operationId).

func (*ClientWithResponses) CreateDatasetV1ObservabilityDatasetsPostWithResponse

CreateDatasetV1ObservabilityDatasetsPostWithResponse Create a new empty dataset

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/datasets (the `CreateDatasetV1ObservabilityDatasetsPost` operationId).

func (*ClientWithResponses) CreateJudgeV1ObservabilityJudgesPostWithBodyWithResponse

func (c *ClientWithResponses) CreateJudgeV1ObservabilityJudgesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateJudgeV1ObservabilityJudgesPostResponse, error)

CreateJudgeV1ObservabilityJudgesPostWithBodyWithResponse Create a new judge

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/judges (the `CreateJudgeV1ObservabilityJudgesPost` operationId).

func (*ClientWithResponses) CreateJudgeV1ObservabilityJudgesPostWithResponse

CreateJudgeV1ObservabilityJudgesPostWithResponse Create a new judge

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/judges (the `CreateJudgeV1ObservabilityJudgesPost` operationId).

func (*ClientWithResponses) CreateVoiceV1AudioVoicesPostWithBodyWithResponse

func (c *ClientWithResponses) CreateVoiceV1AudioVoicesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVoiceV1AudioVoicesPostResponse, error)

CreateVoiceV1AudioVoicesPostWithBodyWithResponse Create a new voice

Create a new voice with a base64-encoded audio sample.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/audio/voices (the `CreateVoiceV1AudioVoicesPost` operationId).

func (*ClientWithResponses) CreateVoiceV1AudioVoicesPostWithResponse

func (c *ClientWithResponses) CreateVoiceV1AudioVoicesPostWithResponse(ctx context.Context, body CreateVoiceV1AudioVoicesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVoiceV1AudioVoicesPostResponse, error)

CreateVoiceV1AudioVoicesPostWithResponse Create a new voice

Create a new voice with a base64-encoded audio sample.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/audio/voices (the `CreateVoiceV1AudioVoicesPost` operationId).

func (*ClientWithResponses) DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteWithResponse

func (c *ClientWithResponses) DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteWithResponse(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse, error)

DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteWithResponse Delete a campaign

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/observability/campaigns/{campaign_id} (the `DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete` operationId).

func (*ClientWithResponses) DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteWithResponse

func (c *ClientWithResponses) DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse, error)

DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteWithResponse Delete a record from a dataset

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/observability/dataset-records/{dataset_record_id} (the `DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete` operationId).

func (*ClientWithResponses) DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBodyWithResponse

func (c *ClientWithResponses) DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse, error)

DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBodyWithResponse Delete multiple records from datasets

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/dataset-records/bulk-delete (the `DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost` operationId).

func (*ClientWithResponses) DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithResponse

DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithResponse Delete multiple records from datasets

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/dataset-records/bulk-delete (the `DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost` operationId).

func (*ClientWithResponses) DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteWithResponse

func (c *ClientWithResponses) DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteWithResponse(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse, error)

DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteWithResponse Delete a dataset

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/observability/datasets/{dataset_id} (the `DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete` operationId).

func (*ClientWithResponses) DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteWithResponse

func (c *ClientWithResponses) DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteWithResponse(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse, error)

DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteWithResponse Delete a judge

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/observability/judges/{judge_id} (the `DeleteJudgeV1ObservabilityJudgesJudgeIdDelete` operationId).

func (*ClientWithResponses) DeleteModelV1ModelsModelIdDeleteWithResponse

func (c *ClientWithResponses) DeleteModelV1ModelsModelIdDeleteWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*DeleteModelV1ModelsModelIdDeleteResponse, error)

DeleteModelV1ModelsModelIdDeleteWithResponse Delete Model

Delete a fine-tuned model.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/models/{model_id} (the `DeleteModelV1ModelsModelIdDelete` operationId).

func (*ClientWithResponses) DeleteVoiceV1AudioVoicesVoiceIdDeleteWithResponse

func (c *ClientWithResponses) DeleteVoiceV1AudioVoicesVoiceIdDeleteWithResponse(ctx context.Context, voiceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse, error)

DeleteVoiceV1AudioVoicesVoiceIdDeleteWithResponse Delete a custom voice

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/audio/voices/{voice_id} (the `DeleteVoiceV1AudioVoicesVoiceIdDelete` operationId).

func (*ClientWithResponses) EmbeddingsV1EmbeddingsPostWithBodyWithResponse

func (c *ClientWithResponses) EmbeddingsV1EmbeddingsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EmbeddingsV1EmbeddingsPostResponse, error)

EmbeddingsV1EmbeddingsPostWithBodyWithResponse Embeddings

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/embeddings (the `EmbeddingsV1EmbeddingsPost` operationId).

func (*ClientWithResponses) EmbeddingsV1EmbeddingsPostWithResponse

func (c *ClientWithResponses) EmbeddingsV1EmbeddingsPostWithResponse(ctx context.Context, body EmbeddingsV1EmbeddingsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*EmbeddingsV1EmbeddingsPostResponse, error)

EmbeddingsV1EmbeddingsPostWithResponse Embeddings

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/embeddings (the `EmbeddingsV1EmbeddingsPost` operationId).

func (*ClientWithResponses) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBodyWithResponse deprecated

func (c *ClientWithResponses) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBodyWithResponse(ctx context.Context, workflowRegistrationId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse, error)

ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBodyWithResponse Execute Workflow Registration

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/registrations/{workflow_registration_id}/execute (the `ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost` operationId).

Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithResponse

ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithResponse Execute Workflow Registration

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/registrations/{workflow_registration_id}/execute (the `ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost` operationId). Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBodyWithResponse

func (c *ClientWithResponses) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBodyWithResponse(ctx context.Context, workflowIdentifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse, error)

ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBodyWithResponse Execute Workflow

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/{workflow_identifier}/execute (the `ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost` operationId).

func (*ClientWithResponses) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithResponse

func (c *ClientWithResponses) ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithResponse(ctx context.Context, workflowIdentifier string, body ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse, error)

ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithResponse Execute Workflow

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/{workflow_identifier}/execute (the `ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost` operationId).

func (*ClientWithResponses) ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetWithResponse

func (c *ClientWithResponses) ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse, error)

ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetWithResponse Export to the Files API and retrieve presigned URL to download the resulting JSONL file

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/observability/datasets/{dataset_id}/exports/to-jsonl (the `ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet` operationId).

func (*ClientWithResponses) FilesApiRoutesDeleteFileWithResponse

func (c *ClientWithResponses) FilesApiRoutesDeleteFileWithResponse(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*FilesApiRoutesDeleteFileResponse, error)

FilesApiRoutesDeleteFileWithResponse Delete File

Delete a file.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/files/{file_id} (the `FilesApiRoutesDeleteFile` operationId).

func (*ClientWithResponses) FilesApiRoutesDownloadFileWithResponse

func (c *ClientWithResponses) FilesApiRoutesDownloadFileWithResponse(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*FilesApiRoutesDownloadFileResponse, error)

FilesApiRoutesDownloadFileWithResponse Download File

Download a file.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/files/{file_id}/content (the `FilesApiRoutesDownloadFile` operationId).

func (*ClientWithResponses) FilesApiRoutesGetSignedUrlWithResponse

func (c *ClientWithResponses) FilesApiRoutesGetSignedUrlWithResponse(ctx context.Context, fileId openapi_types.UUID, params *FilesApiRoutesGetSignedUrlParams, reqEditors ...RequestEditorFn) (*FilesApiRoutesGetSignedUrlResponse, error)

FilesApiRoutesGetSignedUrlWithResponse Get Signed Url

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/files/{file_id}/url (the `FilesApiRoutesGetSignedUrl` operationId).

func (*ClientWithResponses) FilesApiRoutesListFilesWithResponse

func (c *ClientWithResponses) FilesApiRoutesListFilesWithResponse(ctx context.Context, params *FilesApiRoutesListFilesParams, reqEditors ...RequestEditorFn) (*FilesApiRoutesListFilesResponse, error)

FilesApiRoutesListFilesWithResponse List Files

Returns a list of files that belong to the user's organization.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/files (the `FilesApiRoutesListFiles` operationId).

func (*ClientWithResponses) FilesApiRoutesRetrieveFileWithResponse

func (c *ClientWithResponses) FilesApiRoutesRetrieveFileWithResponse(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*FilesApiRoutesRetrieveFileResponse, error)

FilesApiRoutesRetrieveFileWithResponse Retrieve File

Returns information about a specific file.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/files/{file_id} (the `FilesApiRoutesRetrieveFile` operationId).

func (*ClientWithResponses) FilesApiRoutesUploadFileWithBodyWithResponse

func (c *ClientWithResponses) FilesApiRoutesUploadFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FilesApiRoutesUploadFileResponse, error)

FilesApiRoutesUploadFileWithBodyWithResponse Upload File

Upload a file that can be used across various endpoints.

The size of individual files can be a maximum of 512 MB. The Fine-tuning API only supports .jsonl files.

Please contact us if you need to increase these storage limits.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/files (the `FilesApiRoutesUploadFile` operationId).

func (*ClientWithResponses) FimCompletionV1FimCompletionsPostWithBodyWithResponse

func (c *ClientWithResponses) FimCompletionV1FimCompletionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FimCompletionV1FimCompletionsPostResponse, error)

FimCompletionV1FimCompletionsPostWithBodyWithResponse Fim Completion

FIM completion.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/fim/completions (the `FimCompletionV1FimCompletionsPost` operationId).

func (*ClientWithResponses) FimCompletionV1FimCompletionsPostWithResponse

FimCompletionV1FimCompletionsPostWithResponse Fim Completion

FIM completion.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/fim/completions (the `FimCompletionV1FimCompletionsPost` operationId).

func (*ClientWithResponses) GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetWithResponse

func (c *ClientWithResponses) GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetWithResponse(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse, error)

GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetWithResponse Get campaign by id

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/observability/campaigns/{campaign_id} (the `GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet` operationId).

func (*ClientWithResponses) GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetWithResponse

GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetWithResponse Get event ids that were selected by the given campaign

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/observability/campaigns/{campaign_id}/selected-events (the `GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet` operationId).

func (*ClientWithResponses) GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetWithResponse

func (c *ClientWithResponses) GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetWithResponse(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse, error)

GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetWithResponse Get campaign status by campaign id

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/observability/campaigns/{campaign_id}/status (the `GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet` operationId).

func (*ClientWithResponses) GetCampaignsV1ObservabilityCampaignsGetWithResponse

func (c *ClientWithResponses) GetCampaignsV1ObservabilityCampaignsGetWithResponse(ctx context.Context, params *GetCampaignsV1ObservabilityCampaignsGetParams, reqEditors ...RequestEditorFn) (*GetCampaignsV1ObservabilityCampaignsGetResponse, error)

GetCampaignsV1ObservabilityCampaignsGetWithResponse Get all campaigns

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/observability/campaigns (the `GetCampaignsV1ObservabilityCampaignsGet` operationId).

func (*ClientWithResponses) GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBodyWithResponse

func (c *ClientWithResponses) GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse, error)

GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBodyWithResponse Alternative to /search that returns only the IDs and that can return many IDs at once

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/chat-completion-events/search-ids (the `GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost` operationId).

func (*ClientWithResponses) GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithResponse

GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithResponse Alternative to /search that returns only the IDs and that can return many IDs at once

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/chat-completion-events/search-ids (the `GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost` operationId).

func (*ClientWithResponses) GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetWithResponse

func (c *ClientWithResponses) GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetWithResponse(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse, error)

GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetWithResponse Get Chat Completion Event

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/observability/chat-completion-events/{event_id} (the `GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet` operationId).

func (*ClientWithResponses) GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBodyWithResponse

func (c *ClientWithResponses) GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBodyWithResponse(ctx context.Context, params *GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse, error)

GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBodyWithResponse Get Chat Completion Events

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/chat-completion-events/search (the `GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost` operationId).

func (*ClientWithResponses) GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithResponse

GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithResponse Get Chat Completion Events

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/chat-completion-events/search (the `GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost` operationId).

func (*ClientWithResponses) GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBodyWithResponse

func (c *ClientWithResponses) GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBodyWithResponse(ctx context.Context, fieldName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse, error)

GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBodyWithResponse Get Chat Completion Field Options Counts

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/chat-completion-fields/{field_name}/options-counts (the `GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost` operationId).

func (*ClientWithResponses) GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithResponse

GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithResponse Get Chat Completion Field Options Counts

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/chat-completion-fields/{field_name}/options-counts (the `GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost` operationId).

func (*ClientWithResponses) GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetWithResponse

GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetWithResponse Get Chat Completion Field Options

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/observability/chat-completion-fields/{field_name}/options (the `GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet` operationId).

func (*ClientWithResponses) GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetWithResponse

func (c *ClientWithResponses) GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse, error)

GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetWithResponse Get Chat Completion Fields

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/observability/chat-completion-fields (the `GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet` operationId).

func (*ClientWithResponses) GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetWithResponse

func (c *ClientWithResponses) GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse, error)

GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetWithResponse Get dataset by id

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/observability/datasets/{dataset_id} (the `GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet` operationId).

func (*ClientWithResponses) GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetWithResponse

func (c *ClientWithResponses) GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, taskId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse, error)

GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetWithResponse Get status of a dataset import task

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/observability/datasets/{dataset_id}/tasks/{task_id} (the `GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet` operationId).

func (*ClientWithResponses) GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetWithResponse

func (c *ClientWithResponses) GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, params *GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetParams, reqEditors ...RequestEditorFn) (*GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse, error)

GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetWithResponse List import tasks for the given dataset

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/observability/datasets/{dataset_id}/tasks (the `GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet` operationId).

func (*ClientWithResponses) GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetWithResponse

func (c *ClientWithResponses) GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse, error)

GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetWithResponse Get the content of a given conversation from a dataset

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/observability/dataset-records/{dataset_record_id} (the `GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet` operationId).

func (*ClientWithResponses) GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetWithResponse

func (c *ClientWithResponses) GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, params *GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetParams, reqEditors ...RequestEditorFn) (*GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse, error)

GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetWithResponse List existing records in the dataset

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/observability/datasets/{dataset_id}/records (the `GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet` operationId).

func (*ClientWithResponses) GetDatasetsV1ObservabilityDatasetsGetWithResponse

func (c *ClientWithResponses) GetDatasetsV1ObservabilityDatasetsGetWithResponse(ctx context.Context, params *GetDatasetsV1ObservabilityDatasetsGetParams, reqEditors ...RequestEditorFn) (*GetDatasetsV1ObservabilityDatasetsGetResponse, error)

GetDatasetsV1ObservabilityDatasetsGetWithResponse List existing datasets

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/observability/datasets (the `GetDatasetsV1ObservabilityDatasetsGet` operationId).

func (*ClientWithResponses) GetDeploymentV1WorkflowsDeploymentsNameGetWithResponse

func (c *ClientWithResponses) GetDeploymentV1WorkflowsDeploymentsNameGetWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDeploymentV1WorkflowsDeploymentsNameGetResponse, error)

GetDeploymentV1WorkflowsDeploymentsNameGetWithResponse Get Deployment

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/deployments/{name} (the `GetDeploymentV1WorkflowsDeploymentsNameGet` operationId).

func (*ClientWithResponses) GetJudgeByIdV1ObservabilityJudgesJudgeIdGetWithResponse

func (c *ClientWithResponses) GetJudgeByIdV1ObservabilityJudgesJudgeIdGetWithResponse(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse, error)

GetJudgeByIdV1ObservabilityJudgesJudgeIdGetWithResponse Get judge by id

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/observability/judges/{judge_id} (the `GetJudgeByIdV1ObservabilityJudgesJudgeIdGet` operationId).

func (*ClientWithResponses) GetJudgesV1ObservabilityJudgesGetWithResponse

func (c *ClientWithResponses) GetJudgesV1ObservabilityJudgesGetWithResponse(ctx context.Context, params *GetJudgesV1ObservabilityJudgesGetParams, reqEditors ...RequestEditorFn) (*GetJudgesV1ObservabilityJudgesGetResponse, error)

GetJudgesV1ObservabilityJudgesGetWithResponse Get judges with optional filtering and search

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/observability/judges (the `GetJudgesV1ObservabilityJudgesGet` operationId).

func (*ClientWithResponses) GetRunHistoryV1WorkflowsRunsRunIdHistoryGetWithResponse

func (c *ClientWithResponses) GetRunHistoryV1WorkflowsRunsRunIdHistoryGetWithResponse(ctx context.Context, runId openapi_types.UUID, params *GetRunHistoryV1WorkflowsRunsRunIdHistoryGetParams, reqEditors ...RequestEditorFn) (*GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse, error)

GetRunHistoryV1WorkflowsRunsRunIdHistoryGetWithResponse Get Run History

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/runs/{run_id}/history (the `GetRunHistoryV1WorkflowsRunsRunIdHistoryGet` operationId).

func (*ClientWithResponses) GetRunV1WorkflowsRunsRunIdGetWithResponse

func (c *ClientWithResponses) GetRunV1WorkflowsRunsRunIdGetWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRunV1WorkflowsRunsRunIdGetResponse, error)

GetRunV1WorkflowsRunsRunIdGetWithResponse Get Run

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/runs/{run_id} (the `GetRunV1WorkflowsRunsRunIdGet` operationId).

func (*ClientWithResponses) GetSchedulesV1WorkflowsSchedulesGetWithResponse

func (c *ClientWithResponses) GetSchedulesV1WorkflowsSchedulesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSchedulesV1WorkflowsSchedulesGetResponse, error)

GetSchedulesV1WorkflowsSchedulesGetWithResponse Get Schedules

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/schedules (the `GetSchedulesV1WorkflowsSchedulesGet` operationId).

func (*ClientWithResponses) GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetWithResponse

func (c *ClientWithResponses) GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetWithResponse(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse, error)

GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetWithResponse Get Similar Chat Completion Events

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/observability/chat-completion-events/{event_id}/similar-events (the `GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet` operationId).

func (*ClientWithResponses) GetStreamEventsV1WorkflowsEventsStreamGetWithResponse

func (c *ClientWithResponses) GetStreamEventsV1WorkflowsEventsStreamGetWithResponse(ctx context.Context, params *GetStreamEventsV1WorkflowsEventsStreamGetParams, reqEditors ...RequestEditorFn) (*GetStreamEventsV1WorkflowsEventsStreamGetResponse, error)

GetStreamEventsV1WorkflowsEventsStreamGetWithResponse Get Stream Events

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/events/stream (the `GetStreamEventsV1WorkflowsEventsStreamGet` operationId).

func (*ClientWithResponses) GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetWithResponse

func (c *ClientWithResponses) GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetWithResponse(ctx context.Context, voiceId string, reqEditors ...RequestEditorFn) (*GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse, error)

GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetWithResponse Get voice sample audio

Get the audio sample for a voice.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/audio/voices/{voice_id}/sample (the `GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet` operationId).

func (*ClientWithResponses) GetVoiceV1AudioVoicesVoiceIdGetWithResponse

func (c *ClientWithResponses) GetVoiceV1AudioVoicesVoiceIdGetWithResponse(ctx context.Context, voiceId string, reqEditors ...RequestEditorFn) (*GetVoiceV1AudioVoicesVoiceIdGetResponse, error)

GetVoiceV1AudioVoicesVoiceIdGetWithResponse Get voice details

Get voice details (excluding sample).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/audio/voices/{voice_id} (the `GetVoiceV1AudioVoicesVoiceIdGet` operationId).

func (*ClientWithResponses) GetWorkerInfoV1WorkflowsWorkersWhoamiGetWithResponse

func (c *ClientWithResponses) GetWorkerInfoV1WorkflowsWorkersWhoamiGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse, error)

GetWorkerInfoV1WorkflowsWorkersWhoamiGetWithResponse Get Worker Info

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/workers/whoami (the `GetWorkerInfoV1WorkflowsWorkersWhoamiGet` operationId).

func (*ClientWithResponses) GetWorkflowEventsV1WorkflowsEventsListGetWithResponse

func (c *ClientWithResponses) GetWorkflowEventsV1WorkflowsEventsListGetWithResponse(ctx context.Context, params *GetWorkflowEventsV1WorkflowsEventsListGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowEventsV1WorkflowsEventsListGetResponse, error)

GetWorkflowEventsV1WorkflowsEventsListGetWithResponse Get Workflow Events

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/events/list (the `GetWorkflowEventsV1WorkflowsEventsListGet` operationId).

func (*ClientWithResponses) GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetWithResponse

func (c *ClientWithResponses) GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetWithResponse(ctx context.Context, executionId string, params *GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse, error)

GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetWithResponse Get Workflow Execution History

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/executions/{execution_id}/history (the `GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet` operationId).

func (*ClientWithResponses) GetWorkflowExecutionTraceEventsWithResponse

func (c *ClientWithResponses) GetWorkflowExecutionTraceEventsWithResponse(ctx context.Context, executionId string, params *GetWorkflowExecutionTraceEventsParams, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionTraceEventsResponse, error)

GetWorkflowExecutionTraceEventsWithResponse Get Workflow Execution Trace Events

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/executions/{execution_id}/trace/events (the `GetWorkflowExecutionTraceEvents` operationId).

func (*ClientWithResponses) GetWorkflowExecutionTraceOtelWithResponse

func (c *ClientWithResponses) GetWorkflowExecutionTraceOtelWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionTraceOtelResponse, error)

GetWorkflowExecutionTraceOtelWithResponse Get Workflow Execution Trace Otel

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/executions/{execution_id}/trace/otel (the `GetWorkflowExecutionTraceOtel` operationId).

func (*ClientWithResponses) GetWorkflowExecutionTraceSummaryWithResponse

func (c *ClientWithResponses) GetWorkflowExecutionTraceSummaryWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionTraceSummaryResponse, error)

GetWorkflowExecutionTraceSummaryWithResponse Get Workflow Execution Trace Summary

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/executions/{execution_id}/trace/summary (the `GetWorkflowExecutionTraceSummary` operationId).

func (*ClientWithResponses) GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetWithResponse

func (c *ClientWithResponses) GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse, error)

GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetWithResponse Get Workflow Execution

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/executions/{execution_id} (the `GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet` operationId).

func (*ClientWithResponses) GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetWithResponse

func (c *ClientWithResponses) GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetWithResponse(ctx context.Context, workflowName string, params *GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse, error)

GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetWithResponse Get Workflow Metrics

Get comprehensive metrics for a specific workflow.

Args:

workflow_name: The name of the workflow type to get metrics for
start_time: Optional start time filter (ISO 8601 format)
end_time: Optional end time filter (ISO 8601 format)

Returns:

WorkflowMetrics: Dictionary containing metrics:
    - execution_count: Total number of executions
    - success_count: Number of successful executions
    - error_count: Number of failed/terminated executions
    - average_latency_ms: Average execution duration in milliseconds
    - retry_rate: Proportion of workflows with retries
    - latency_over_time: Time-series data of execution durations

Example:

GET /v1/workflows/MyWorkflow/metrics
GET /v1/workflows/MyWorkflow/metrics?start_time=2025-01-01T00:00:00Z
GET /v1/workflows/MyWorkflow/metrics?start_time=2025-01-01T00:00:00Z&end_time=2025-12-31T23:59:59Z

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/{workflow_name}/metrics (the `GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet` operationId).

func (*ClientWithResponses) GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetWithResponse

func (c *ClientWithResponses) GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetWithResponse(ctx context.Context, workflowRegistrationId openapi_types.UUID, params *GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse, error)

GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetWithResponse Get Workflow Registration

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/registrations/{workflow_registration_id} (the `GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet` operationId).

func (*ClientWithResponses) GetWorkflowRegistrationsV1WorkflowsRegistrationsGetWithResponse

func (c *ClientWithResponses) GetWorkflowRegistrationsV1WorkflowsRegistrationsGetWithResponse(ctx context.Context, params *GetWorkflowRegistrationsV1WorkflowsRegistrationsGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse, error)

GetWorkflowRegistrationsV1WorkflowsRegistrationsGetWithResponse Get Workflow Registrations

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/registrations (the `GetWorkflowRegistrationsV1WorkflowsRegistrationsGet` operationId).

func (*ClientWithResponses) GetWorkflowV1WorkflowsWorkflowIdentifierGetWithResponse

func (c *ClientWithResponses) GetWorkflowV1WorkflowsWorkflowIdentifierGetWithResponse(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse, error)

GetWorkflowV1WorkflowsWorkflowIdentifierGetWithResponse Get Workflow

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/{workflow_identifier} (the `GetWorkflowV1WorkflowsWorkflowIdentifierGet` operationId).

func (*ClientWithResponses) JobsApiRoutesBatchCancelBatchJobWithResponse

func (c *ClientWithResponses) JobsApiRoutesBatchCancelBatchJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchCancelBatchJobResponse, error)

JobsApiRoutesBatchCancelBatchJobWithResponse Cancel Batch Job

Request the cancellation of a batch job.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/batch/jobs/{job_id}/cancel (the `JobsApiRoutesBatchCancelBatchJob` operationId).

func (*ClientWithResponses) JobsApiRoutesBatchCreateBatchJobWithBodyWithResponse

func (c *ClientWithResponses) JobsApiRoutesBatchCreateBatchJobWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchCreateBatchJobResponse, error)

JobsApiRoutesBatchCreateBatchJobWithBodyWithResponse Create Batch Job

Create a new batch job, it will be queued for processing.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/batch/jobs (the `JobsApiRoutesBatchCreateBatchJob` operationId).

func (*ClientWithResponses) JobsApiRoutesBatchCreateBatchJobWithResponse

JobsApiRoutesBatchCreateBatchJobWithResponse Create Batch Job

Create a new batch job, it will be queued for processing.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/batch/jobs (the `JobsApiRoutesBatchCreateBatchJob` operationId).

func (*ClientWithResponses) JobsApiRoutesBatchGetBatchJobWithResponse

func (c *ClientWithResponses) JobsApiRoutesBatchGetBatchJobWithResponse(ctx context.Context, jobId openapi_types.UUID, params *JobsApiRoutesBatchGetBatchJobParams, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchGetBatchJobResponse, error)

JobsApiRoutesBatchGetBatchJobWithResponse Get Batch Job

Get a batch job details by its UUID.

Args:

inline: If True, return results inline in the response.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/batch/jobs/{job_id} (the `JobsApiRoutesBatchGetBatchJob` operationId).

func (*ClientWithResponses) JobsApiRoutesBatchGetBatchJobsWithResponse

func (c *ClientWithResponses) JobsApiRoutesBatchGetBatchJobsWithResponse(ctx context.Context, params *JobsApiRoutesBatchGetBatchJobsParams, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchGetBatchJobsResponse, error)

JobsApiRoutesBatchGetBatchJobsWithResponse Get Batch Jobs

Get a list of batch jobs for your organization and user.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/batch/jobs (the `JobsApiRoutesBatchGetBatchJobs` operationId).

func (*ClientWithResponses) JobsApiRoutesFineTuningArchiveFineTunedModelWithResponse

func (c *ClientWithResponses) JobsApiRoutesFineTuningArchiveFineTunedModelWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningArchiveFineTunedModelResponse, error)

JobsApiRoutesFineTuningArchiveFineTunedModelWithResponse Archive Fine Tuned Model

Archive a fine-tuned model.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/fine_tuning/models/{model_id}/archive (the `JobsApiRoutesFineTuningArchiveFineTunedModel` operationId).

func (*ClientWithResponses) JobsApiRoutesFineTuningCancelFineTuningJobWithResponse

func (c *ClientWithResponses) JobsApiRoutesFineTuningCancelFineTuningJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningCancelFineTuningJobResponse, error)

JobsApiRoutesFineTuningCancelFineTuningJobWithResponse Cancel Fine Tuning Job

Request the cancellation of a fine tuning job.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/fine_tuning/jobs/{job_id}/cancel (the `JobsApiRoutesFineTuningCancelFineTuningJob` operationId).

func (*ClientWithResponses) JobsApiRoutesFineTuningCreateFineTuningJobWithBodyWithResponse

func (c *ClientWithResponses) JobsApiRoutesFineTuningCreateFineTuningJobWithBodyWithResponse(ctx context.Context, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningCreateFineTuningJobResponse, error)

JobsApiRoutesFineTuningCreateFineTuningJobWithBodyWithResponse Create Fine Tuning Job

Create a new fine-tuning job, it will be queued for processing.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningCreateFineTuningJob` operationId).

func (*ClientWithResponses) JobsApiRoutesFineTuningCreateFineTuningJobWithResponse

JobsApiRoutesFineTuningCreateFineTuningJobWithResponse Create Fine Tuning Job

Create a new fine-tuning job, it will be queued for processing.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningCreateFineTuningJob` operationId).

func (*ClientWithResponses) JobsApiRoutesFineTuningGetFineTuningJobWithResponse

func (c *ClientWithResponses) JobsApiRoutesFineTuningGetFineTuningJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningGetFineTuningJobResponse, error)

JobsApiRoutesFineTuningGetFineTuningJobWithResponse Get Fine Tuning Job

Get a fine-tuned job details by its UUID.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/fine_tuning/jobs/{job_id} (the `JobsApiRoutesFineTuningGetFineTuningJob` operationId).

func (*ClientWithResponses) JobsApiRoutesFineTuningGetFineTuningJobsWithResponse

func (c *ClientWithResponses) JobsApiRoutesFineTuningGetFineTuningJobsWithResponse(ctx context.Context, params *JobsApiRoutesFineTuningGetFineTuningJobsParams, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningGetFineTuningJobsResponse, error)

JobsApiRoutesFineTuningGetFineTuningJobsWithResponse Get Fine Tuning Jobs

Get a list of fine-tuning jobs for your organization and user.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningGetFineTuningJobs` operationId).

func (*ClientWithResponses) JobsApiRoutesFineTuningStartFineTuningJobWithResponse

func (c *ClientWithResponses) JobsApiRoutesFineTuningStartFineTuningJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningStartFineTuningJobResponse, error)

JobsApiRoutesFineTuningStartFineTuningJobWithResponse Start Fine Tuning Job

Request the start of a validated fine tuning job.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/fine_tuning/jobs/{job_id}/start (the `JobsApiRoutesFineTuningStartFineTuningJob` operationId).

func (*ClientWithResponses) JobsApiRoutesFineTuningUnarchiveFineTunedModelWithResponse

func (c *ClientWithResponses) JobsApiRoutesFineTuningUnarchiveFineTunedModelWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse, error)

JobsApiRoutesFineTuningUnarchiveFineTunedModelWithResponse Unarchive Fine Tuned Model

Un-archive a fine-tuned model.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/fine_tuning/models/{model_id}/archive (the `JobsApiRoutesFineTuningUnarchiveFineTunedModel` operationId).

func (*ClientWithResponses) JobsApiRoutesFineTuningUpdateFineTunedModelWithBodyWithResponse

func (c *ClientWithResponses) JobsApiRoutesFineTuningUpdateFineTunedModelWithBodyWithResponse(ctx context.Context, modelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningUpdateFineTunedModelResponse, error)

JobsApiRoutesFineTuningUpdateFineTunedModelWithBodyWithResponse Update Fine Tuned Model

Update a model name or description.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v1/fine_tuning/models/{model_id} (the `JobsApiRoutesFineTuningUpdateFineTunedModel` operationId).

func (*ClientWithResponses) JobsApiRoutesFineTuningUpdateFineTunedModelWithResponse

func (c *ClientWithResponses) JobsApiRoutesFineTuningUpdateFineTunedModelWithResponse(ctx context.Context, modelId string, body JobsApiRoutesFineTuningUpdateFineTunedModelJSONRequestBody, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningUpdateFineTunedModelResponse, error)

JobsApiRoutesFineTuningUpdateFineTunedModelWithResponse Update Fine Tuned Model

Update a model name or description.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v1/fine_tuning/models/{model_id} (the `JobsApiRoutesFineTuningUpdateFineTunedModel` operationId).

func (*ClientWithResponses) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBodyWithResponse

func (c *ClientWithResponses) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBodyWithResponse(ctx context.Context, eventId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse, error)

JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBodyWithResponse Run Judge on an event based on the given options

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/chat-completion-events/{event_id}/live-judging (the `JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost` operationId).

func (*ClientWithResponses) JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithResponse

JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithResponse Run Judge on an event based on the given options

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/chat-completion-events/{event_id}/live-judging (the `JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost` operationId).

func (*ClientWithResponses) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBodyWithResponse

func (c *ClientWithResponses) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBodyWithResponse(ctx context.Context, judgeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse, error)

JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBodyWithResponse Run a saved judge on a conversation

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/judges/{judge_id}/live-judging (the `JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost` operationId).

func (*ClientWithResponses) JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithResponse

JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithResponse Run a saved judge on a conversation

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/judges/{judge_id}/live-judging (the `JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost` operationId).

func (*ClientWithResponses) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBodyWithResponse

func (c *ClientWithResponses) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBodyWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse, error)

JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBodyWithResponse Run Judge on a dataset record based on the given options

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/dataset-records/{dataset_record_id}/live-judging (the `JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost` operationId).

func (*ClientWithResponses) JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithResponse

JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithResponse Run Judge on a dataset record based on the given options

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/dataset-records/{dataset_record_id}/live-judging (the `JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost` operationId).

func (*ClientWithResponses) LibrariesCreateV1WithBodyWithResponse

func (c *ClientWithResponses) LibrariesCreateV1WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesCreateV1Response, error)

LibrariesCreateV1WithBodyWithResponse Create a new Library.

Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/libraries (the `LibrariesCreateV1` operationId).

func (*ClientWithResponses) LibrariesCreateV1WithResponse

func (c *ClientWithResponses) LibrariesCreateV1WithResponse(ctx context.Context, body LibrariesCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesCreateV1Response, error)

LibrariesCreateV1WithResponse Create a new Library.

Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/libraries (the `LibrariesCreateV1` operationId).

func (*ClientWithResponses) LibrariesDeleteV1WithResponse

func (c *ClientWithResponses) LibrariesDeleteV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDeleteV1Response, error)

LibrariesDeleteV1WithResponse Delete a library and all of it's document.

Given a library id, deletes it together with all documents that have been uploaded to that library.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/libraries/{library_id} (the `LibrariesDeleteV1` operationId).

func (*ClientWithResponses) LibrariesDocumentsDeleteV1WithResponse

func (c *ClientWithResponses) LibrariesDocumentsDeleteV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsDeleteV1Response, error)

LibrariesDocumentsDeleteV1WithResponse Delete a document.

Given a library and a document in that library, delete that document. The document will be deleted from the library and the search index.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsDeleteV1` operationId).

func (*ClientWithResponses) LibrariesDocumentsGetExtractedTextSignedUrlV1WithResponse

func (c *ClientWithResponses) LibrariesDocumentsGetExtractedTextSignedUrlV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetExtractedTextSignedUrlV1Response, error)

LibrariesDocumentsGetExtractedTextSignedUrlV1WithResponse Retrieve the signed URL of text extracted from a given document.

Given a library and a document in that library, retrieve the signed URL of text extracted. For documents that are sent to the OCR this returns the result of the OCR queries.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/extracted-text-signed-url (the `LibrariesDocumentsGetExtractedTextSignedUrlV1` operationId).

func (*ClientWithResponses) LibrariesDocumentsGetSignedUrlV1WithResponse

func (c *ClientWithResponses) LibrariesDocumentsGetSignedUrlV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetSignedUrlV1Response, error)

LibrariesDocumentsGetSignedUrlV1WithResponse Retrieve the signed URL of a specific document.

Given a library and a document in that library, retrieve the signed URL of a specific document.The url will expire after 30 minutes and can be accessed by anyone with the link.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/signed-url (the `LibrariesDocumentsGetSignedUrlV1` operationId).

func (*ClientWithResponses) LibrariesDocumentsGetStatusV1WithResponse

func (c *ClientWithResponses) LibrariesDocumentsGetStatusV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetStatusV1Response, error)

LibrariesDocumentsGetStatusV1WithResponse Retrieve the processing status of a specific document.

Given a library and a document in that library, retrieve the processing status of that document.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/status (the `LibrariesDocumentsGetStatusV1` operationId).

func (*ClientWithResponses) LibrariesDocumentsGetTextContentV1WithResponse

func (c *ClientWithResponses) LibrariesDocumentsGetTextContentV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetTextContentV1Response, error)

LibrariesDocumentsGetTextContentV1WithResponse Retrieve the text content of a specific document.

Given a library and a document in that library, you can retrieve the text content of that document if it exists. For documents like pdf, docx and pptx the text content results from our processing using Mistral OCR.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/text_content (the `LibrariesDocumentsGetTextContentV1` operationId).

func (*ClientWithResponses) LibrariesDocumentsGetV1WithResponse

func (c *ClientWithResponses) LibrariesDocumentsGetV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetV1Response, error)

LibrariesDocumentsGetV1WithResponse Retrieve the metadata of a specific document.

Given a library and a document in this library, you can retrieve the metadata of that document.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsGetV1` operationId).

func (*ClientWithResponses) LibrariesDocumentsListV1WithResponse

func (c *ClientWithResponses) LibrariesDocumentsListV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, params *LibrariesDocumentsListV1Params, reqEditors ...RequestEditorFn) (*LibrariesDocumentsListV1Response, error)

LibrariesDocumentsListV1WithResponse List documents in a given library.

Given a library, lists the document that have been uploaded to that library.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/libraries/{library_id}/documents (the `LibrariesDocumentsListV1` operationId).

func (*ClientWithResponses) LibrariesDocumentsReprocessV1WithResponse

func (c *ClientWithResponses) LibrariesDocumentsReprocessV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsReprocessV1Response, error)

LibrariesDocumentsReprocessV1WithResponse Reprocess a document.

Given a library and a document in that library, reprocess that document, it will be billed again.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/libraries/{library_id}/documents/{document_id}/reprocess (the `LibrariesDocumentsReprocessV1` operationId).

func (*ClientWithResponses) LibrariesDocumentsUpdateV1WithBodyWithResponse

func (c *ClientWithResponses) LibrariesDocumentsUpdateV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesDocumentsUpdateV1Response, error)

LibrariesDocumentsUpdateV1WithBodyWithResponse Update the metadata of a specific document.

Given a library and a document in that library, update the name of that document.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsUpdateV1` operationId).

func (*ClientWithResponses) LibrariesDocumentsUpdateV1WithResponse

func (c *ClientWithResponses) LibrariesDocumentsUpdateV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, body LibrariesDocumentsUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesDocumentsUpdateV1Response, error)

LibrariesDocumentsUpdateV1WithResponse Update the metadata of a specific document.

Given a library and a document in that library, update the name of that document.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsUpdateV1` operationId).

func (*ClientWithResponses) LibrariesDocumentsUploadV1WithBodyWithResponse

func (c *ClientWithResponses) LibrariesDocumentsUploadV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesDocumentsUploadV1Response, error)

LibrariesDocumentsUploadV1WithBodyWithResponse Upload a new document.

Given a library, upload a new document to that library. It is queued for processing, it status will change it has been processed. The processing has to be completed in order be discoverable for the library search

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/libraries/{library_id}/documents (the `LibrariesDocumentsUploadV1` operationId).

func (*ClientWithResponses) LibrariesGetV1WithResponse

func (c *ClientWithResponses) LibrariesGetV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesGetV1Response, error)

LibrariesGetV1WithResponse Detailed information about a specific Library.

Given a library id, details information about that Library.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/libraries/{library_id} (the `LibrariesGetV1` operationId).

func (*ClientWithResponses) LibrariesListV1WithResponse

func (c *ClientWithResponses) LibrariesListV1WithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LibrariesListV1Response, error)

LibrariesListV1WithResponse List all libraries you have access to.

List all libraries that you have created or have been shared with you.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/libraries (the `LibrariesListV1` operationId).

func (*ClientWithResponses) LibrariesShareCreateV1WithBodyWithResponse

func (c *ClientWithResponses) LibrariesShareCreateV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesShareCreateV1Response, error)

LibrariesShareCreateV1WithBodyWithResponse Create or update an access level.

Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v1/libraries/{library_id}/share (the `LibrariesShareCreateV1` operationId).

func (*ClientWithResponses) LibrariesShareCreateV1WithResponse

func (c *ClientWithResponses) LibrariesShareCreateV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, body LibrariesShareCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesShareCreateV1Response, error)

LibrariesShareCreateV1WithResponse Create or update an access level.

Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v1/libraries/{library_id}/share (the `LibrariesShareCreateV1` operationId).

func (*ClientWithResponses) LibrariesShareDeleteV1WithBodyWithResponse

func (c *ClientWithResponses) LibrariesShareDeleteV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesShareDeleteV1Response, error)

LibrariesShareDeleteV1WithBodyWithResponse Delete an access level.

Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/libraries/{library_id}/share (the `LibrariesShareDeleteV1` operationId).

func (*ClientWithResponses) LibrariesShareDeleteV1WithResponse

func (c *ClientWithResponses) LibrariesShareDeleteV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, body LibrariesShareDeleteV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesShareDeleteV1Response, error)

LibrariesShareDeleteV1WithResponse Delete an access level.

Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/libraries/{library_id}/share (the `LibrariesShareDeleteV1` operationId).

func (*ClientWithResponses) LibrariesShareListV1WithResponse

func (c *ClientWithResponses) LibrariesShareListV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesShareListV1Response, error)

LibrariesShareListV1WithResponse List all of the access to this library.

Given a library, list all of the Entity that have access and to what level.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/libraries/{library_id}/share (the `LibrariesShareListV1` operationId).

func (*ClientWithResponses) LibrariesUpdateV1WithBodyWithResponse

func (c *ClientWithResponses) LibrariesUpdateV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesUpdateV1Response, error)

LibrariesUpdateV1WithBodyWithResponse Update a library.

Given a library id, you can update the name and description.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v1/libraries/{library_id} (the `LibrariesUpdateV1` operationId).

func (*ClientWithResponses) LibrariesUpdateV1WithResponse

func (c *ClientWithResponses) LibrariesUpdateV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, body LibrariesUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesUpdateV1Response, error)

LibrariesUpdateV1WithResponse Update a library.

Given a library id, you can update the name and description.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v1/libraries/{library_id} (the `LibrariesUpdateV1` operationId).

func (*ClientWithResponses) ListDeploymentsV1WorkflowsDeploymentsGetWithResponse

func (c *ClientWithResponses) ListDeploymentsV1WorkflowsDeploymentsGetWithResponse(ctx context.Context, params *ListDeploymentsV1WorkflowsDeploymentsGetParams, reqEditors ...RequestEditorFn) (*ListDeploymentsV1WorkflowsDeploymentsGetResponse, error)

ListDeploymentsV1WorkflowsDeploymentsGetWithResponse List Deployments

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/deployments (the `ListDeploymentsV1WorkflowsDeploymentsGet` operationId).

func (*ClientWithResponses) ListModelsV1ModelsGetWithResponse

func (c *ClientWithResponses) ListModelsV1ModelsGetWithResponse(ctx context.Context, params *ListModelsV1ModelsGetParams, reqEditors ...RequestEditorFn) (*ListModelsV1ModelsGetResponse, error)

ListModelsV1ModelsGetWithResponse List Models

List all models available to the user.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/models (the `ListModelsV1ModelsGet` operationId).

func (*ClientWithResponses) ListRunsV1WorkflowsRunsGetWithResponse

func (c *ClientWithResponses) ListRunsV1WorkflowsRunsGetWithResponse(ctx context.Context, params *ListRunsV1WorkflowsRunsGetParams, reqEditors ...RequestEditorFn) (*ListRunsV1WorkflowsRunsGetResponse, error)

ListRunsV1WorkflowsRunsGetWithResponse List Runs

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/runs (the `ListRunsV1WorkflowsRunsGet` operationId).

func (*ClientWithResponses) ListVoicesV1AudioVoicesGetWithResponse

func (c *ClientWithResponses) ListVoicesV1AudioVoicesGetWithResponse(ctx context.Context, params *ListVoicesV1AudioVoicesGetParams, reqEditors ...RequestEditorFn) (*ListVoicesV1AudioVoicesGetResponse, error)

ListVoicesV1AudioVoicesGetWithResponse List all voices

List all voices (excluding sample data).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/audio/voices (the `ListVoicesV1AudioVoicesGet` operationId).

func (*ClientWithResponses) ModerationsV1ModerationsPostWithBodyWithResponse

func (c *ClientWithResponses) ModerationsV1ModerationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModerationsV1ModerationsPostResponse, error)

ModerationsV1ModerationsPostWithBodyWithResponse Moderations

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/moderations (the `ModerationsV1ModerationsPost` operationId).

func (*ClientWithResponses) ModerationsV1ModerationsPostWithResponse

func (c *ClientWithResponses) ModerationsV1ModerationsPostWithResponse(ctx context.Context, body ModerationsV1ModerationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ModerationsV1ModerationsPostResponse, error)

ModerationsV1ModerationsPostWithResponse Moderations

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/moderations (the `ModerationsV1ModerationsPost` operationId).

func (*ClientWithResponses) OcrV1OcrPostWithBodyWithResponse

func (c *ClientWithResponses) OcrV1OcrPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OcrV1OcrPostResponse, error)

OcrV1OcrPostWithBodyWithResponse OCR

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/ocr (the `OcrV1OcrPost` operationId).

func (*ClientWithResponses) OcrV1OcrPostWithResponse

func (c *ClientWithResponses) OcrV1OcrPostWithResponse(ctx context.Context, body OcrV1OcrPostJSONRequestBody, reqEditors ...RequestEditorFn) (*OcrV1OcrPostResponse, error)

OcrV1OcrPostWithResponse OCR

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/ocr (the `OcrV1OcrPost` operationId).

func (*ClientWithResponses) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBodyWithResponse

func (c *ClientWithResponses) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse, error)

PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBodyWithResponse Populate the dataset with a campaign

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-campaign (the `PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost` operationId).

func (*ClientWithResponses) PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithResponse

PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithResponse Populate the dataset with a campaign

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-campaign (the `PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost` operationId).

func (*ClientWithResponses) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBodyWithResponse

func (c *ClientWithResponses) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse, error)

PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBodyWithResponse Populate the dataset with samples from another dataset

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-dataset (the `PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost` operationId).

func (*ClientWithResponses) PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithResponse

PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithResponse Populate the dataset with samples from another dataset

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-dataset (the `PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost` operationId).

func (*ClientWithResponses) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBodyWithResponse

func (c *ClientWithResponses) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse, error)

PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBodyWithResponse Populate the dataset with samples from the explorer

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-explorer (the `PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost` operationId).

func (*ClientWithResponses) PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithResponse

PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithResponse Populate the dataset with samples from the explorer

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-explorer (the `PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost` operationId).

func (*ClientWithResponses) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBodyWithResponse

func (c *ClientWithResponses) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse, error)

PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBodyWithResponse Populate the dataset with samples from an uploaded file

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-file (the `PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost` operationId).

func (*ClientWithResponses) PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithResponse

PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithResponse Populate the dataset with samples from an uploaded file

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-file (the `PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost` operationId).

func (*ClientWithResponses) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBodyWithResponse

func (c *ClientWithResponses) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse, error)

PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBodyWithResponse Populate the dataset with samples from the playground

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-playground (the `PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost` operationId).

func (*ClientWithResponses) PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithResponse

PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithResponse Populate the dataset with samples from the playground

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-playground (the `PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost` operationId).

func (*ClientWithResponses) QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBodyWithResponse

func (c *ClientWithResponses) QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse, error)

QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBodyWithResponse Query Workflow Execution

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/executions/{execution_id}/queries (the `QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost` operationId).

func (*ClientWithResponses) QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithResponse

QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithResponse Query Workflow Execution

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/executions/{execution_id}/queries (the `QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost` operationId).

func (*ClientWithResponses) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBodyWithResponse

func (c *ClientWithResponses) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse, error)

ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBodyWithResponse Reset Workflow

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/executions/{execution_id}/reset (the `ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost` operationId).

func (*ClientWithResponses) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithResponse

func (c *ClientWithResponses) ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithResponse(ctx context.Context, executionId string, body ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse, error)

ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithResponse Reset Workflow

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/executions/{execution_id}/reset (the `ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost` operationId).

func (*ClientWithResponses) RetrieveModelV1ModelsModelIdGetWithResponse

func (c *ClientWithResponses) RetrieveModelV1ModelsModelIdGetWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*RetrieveModelV1ModelsModelIdGetResponse, error)

RetrieveModelV1ModelsModelIdGetWithResponse Retrieve Model

Retrieve information about a model.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/models/{model_id} (the `RetrieveModelV1ModelsModelIdGet` operationId).

func (*ClientWithResponses) ScheduleWorkflowV1WorkflowsSchedulesPostWithBodyWithResponse

func (c *ClientWithResponses) ScheduleWorkflowV1WorkflowsSchedulesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScheduleWorkflowV1WorkflowsSchedulesPostResponse, error)

ScheduleWorkflowV1WorkflowsSchedulesPostWithBodyWithResponse Schedule Workflow

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/schedules (the `ScheduleWorkflowV1WorkflowsSchedulesPost` operationId).

func (*ClientWithResponses) ScheduleWorkflowV1WorkflowsSchedulesPostWithResponse

ScheduleWorkflowV1WorkflowsSchedulesPostWithResponse Schedule Workflow

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/schedules (the `ScheduleWorkflowV1WorkflowsSchedulesPost` operationId).

func (*ClientWithResponses) SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBodyWithResponse

func (c *ClientWithResponses) SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse, error)

SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBodyWithResponse Signal Workflow Execution

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/executions/{execution_id}/signals (the `SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost` operationId).

func (*ClientWithResponses) SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithResponse

SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithResponse Signal Workflow Execution

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/executions/{execution_id}/signals (the `SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost` operationId).

func (*ClientWithResponses) SpeechV1AudioSpeechPostWithBodyWithResponse

func (c *ClientWithResponses) SpeechV1AudioSpeechPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SpeechV1AudioSpeechPostResponse, error)

SpeechV1AudioSpeechPostWithBodyWithResponse Speech

Generate speech from text using a saved voice or a reference audio clip.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/audio/speech (the `SpeechV1AudioSpeechPost` operationId).

func (*ClientWithResponses) SpeechV1AudioSpeechPostWithResponse

func (c *ClientWithResponses) SpeechV1AudioSpeechPostWithResponse(ctx context.Context, body SpeechV1AudioSpeechPostJSONRequestBody, reqEditors ...RequestEditorFn) (*SpeechV1AudioSpeechPostResponse, error)

SpeechV1AudioSpeechPostWithResponse Speech

Generate speech from text using a saved voice or a reference audio clip.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/audio/speech (the `SpeechV1AudioSpeechPost` operationId).

func (*ClientWithResponses) StreamV1WorkflowsExecutionsExecutionIdStreamGetWithResponse

func (c *ClientWithResponses) StreamV1WorkflowsExecutionsExecutionIdStreamGetWithResponse(ctx context.Context, executionId string, params *StreamV1WorkflowsExecutionsExecutionIdStreamGetParams, reqEditors ...RequestEditorFn) (*StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse, error)

StreamV1WorkflowsExecutionsExecutionIdStreamGetWithResponse Stream

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/workflows/executions/{execution_id}/stream (the `StreamV1WorkflowsExecutionsExecutionIdStreamGet` operationId).

func (*ClientWithResponses) TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostWithResponse

func (c *ClientWithResponses) TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse, error)

TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostWithResponse Terminate Workflow Execution

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/executions/{execution_id}/terminate (the `TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost` operationId).

func (*ClientWithResponses) UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutWithResponse

func (c *ClientWithResponses) UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutWithResponse(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse, error)

UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutWithResponse Unarchive Workflow

Returns a wrapper object for the known response body format(s).

Corresponds with PUT /v1/workflows/{workflow_identifier}/unarchive (the `UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut` operationId).

func (*ClientWithResponses) UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteWithResponse

func (c *ClientWithResponses) UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteWithResponse(ctx context.Context, scheduleId string, reqEditors ...RequestEditorFn) (*UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse, error)

UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteWithResponse Unschedule Workflow

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v1/workflows/schedules/{schedule_id} (the `UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete` operationId).

func (*ClientWithResponses) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBodyWithResponse

func (c *ClientWithResponses) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBodyWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse, error)

UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBodyWithResponse Update a dataset record conversation payload

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/payload (the `UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut` operationId).

func (*ClientWithResponses) UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithResponse

UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithResponse Update a dataset record conversation payload

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/payload (the `UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut` operationId).

func (*ClientWithResponses) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBodyWithResponse

func (c *ClientWithResponses) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBodyWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse, error)

UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBodyWithResponse Update conversation properties

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/properties (the `UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut` operationId).

func (*ClientWithResponses) UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithResponse

UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithResponse Update conversation properties

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/properties (the `UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut` operationId).

func (*ClientWithResponses) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBodyWithResponse

func (c *ClientWithResponses) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse, error)

UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBodyWithResponse Patch dataset

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v1/observability/datasets/{dataset_id} (the `UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch` operationId).

func (*ClientWithResponses) UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithResponse

UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithResponse Patch dataset

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v1/observability/datasets/{dataset_id} (the `UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch` operationId).

func (*ClientWithResponses) UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBodyWithResponse

func (c *ClientWithResponses) UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBodyWithResponse(ctx context.Context, judgeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse, error)

UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBodyWithResponse Update a judge

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v1/observability/judges/{judge_id} (the `UpdateJudgeV1ObservabilityJudgesJudgeIdPut` operationId).

func (*ClientWithResponses) UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithResponse

UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithResponse Update a judge

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v1/observability/judges/{judge_id} (the `UpdateJudgeV1ObservabilityJudgesJudgeIdPut` operationId).

func (*ClientWithResponses) UpdateVoiceV1AudioVoicesVoiceIdPatchWithBodyWithResponse

func (c *ClientWithResponses) UpdateVoiceV1AudioVoicesVoiceIdPatchWithBodyWithResponse(ctx context.Context, voiceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVoiceV1AudioVoicesVoiceIdPatchResponse, error)

UpdateVoiceV1AudioVoicesVoiceIdPatchWithBodyWithResponse Update voice metadata

Update voice metadata (name, gender, languages, age, tags).

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v1/audio/voices/{voice_id} (the `UpdateVoiceV1AudioVoicesVoiceIdPatch` operationId).

func (*ClientWithResponses) UpdateVoiceV1AudioVoicesVoiceIdPatchWithResponse

UpdateVoiceV1AudioVoicesVoiceIdPatchWithResponse Update voice metadata

Update voice metadata (name, gender, languages, age, tags).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v1/audio/voices/{voice_id} (the `UpdateVoiceV1AudioVoicesVoiceIdPatch` operationId).

func (*ClientWithResponses) UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBodyWithResponse

func (c *ClientWithResponses) UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse, error)

UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBodyWithResponse Update Workflow Execution

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/executions/{execution_id}/updates (the `UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost` operationId).

func (*ClientWithResponses) UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithResponse

UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithResponse Update Workflow Execution

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v1/workflows/executions/{execution_id}/updates (the `UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost` operationId).

func (*ClientWithResponses) UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBodyWithResponse

func (c *ClientWithResponses) UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBodyWithResponse(ctx context.Context, workflowIdentifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse, error)

UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBodyWithResponse Update Workflow

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v1/workflows/{workflow_identifier} (the `UpdateWorkflowV1WorkflowsWorkflowIdentifierPut` operationId).

func (*ClientWithResponses) UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithResponse

func (c *ClientWithResponses) UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithResponse(ctx context.Context, workflowIdentifier string, body UpdateWorkflowV1WorkflowsWorkflowIdentifierPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse, error)

UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithResponse Update Workflow

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v1/workflows/{workflow_identifier} (the `UpdateWorkflowV1WorkflowsWorkflowIdentifierPut` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// AgentsApiV1AgentsListWithResponse List agent entities.
	//
	// Retrieve a list of agent entities sorted by creation time. Deprecated: some features such as agent sharing are not supported by this endpoint. Use the cursor-paginated `GET /v1/agents/pages` instead.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/agents (the `AgentsApiV1AgentsList` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	AgentsApiV1AgentsListWithResponse(ctx context.Context, params *AgentsApiV1AgentsListParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsListResponse, error)

	// AgentsApiV1AgentsCreateWithBodyWithResponse Create a agent that can be used within a conversation.
	//
	// Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/agents (the `AgentsApiV1AgentsCreate` operationId).
	AgentsApiV1AgentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsCreateResponse, error)

	// AgentsApiV1AgentsCreateWithResponse Create a agent that can be used within a conversation.
	//
	// Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/agents (the `AgentsApiV1AgentsCreate` operationId).
	AgentsApiV1AgentsCreateWithResponse(ctx context.Context, body AgentsApiV1AgentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsCreateResponse, error)

	// AgentsCompletionV1AgentsCompletionsPostWithBodyWithResponse Agents Completion
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/agents/completions (the `AgentsCompletionV1AgentsCompletionsPost` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	AgentsCompletionV1AgentsCompletionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsCompletionV1AgentsCompletionsPostResponse, error)

	// AgentsCompletionV1AgentsCompletionsPostWithResponse Agents Completion
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/agents/completions (the `AgentsCompletionV1AgentsCompletionsPost` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	AgentsCompletionV1AgentsCompletionsPostWithResponse(ctx context.Context, body AgentsCompletionV1AgentsCompletionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsCompletionV1AgentsCompletionsPostResponse, error)

	// AgentsApiV1AgentsListPagesWithResponse List agent entities, cursor-paginated.
	//
	// Retrieve a page of agent entities. Unlike the deprecated `GET /v1/agents`, this endpoint paginates by opaque cursor and honors per-agent sharing, returning only agents the caller is authorized to see.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/agents/pages (the `AgentsApiV1AgentsListPages` operationId).
	AgentsApiV1AgentsListPagesWithResponse(ctx context.Context, params *AgentsApiV1AgentsListPagesParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsListPagesResponse, error)

	// AgentsApiV1AgentsDeleteWithResponse Delete an agent entity.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/agents/{agent_id} (the `AgentsApiV1AgentsDelete` operationId).
	AgentsApiV1AgentsDeleteWithResponse(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsDeleteResponse, error)

	// AgentsApiV1AgentsGetWithResponse Retrieve an agent entity.
	//
	// Given an agent, retrieve an agent entity with its attributes. The agent_version parameter can be an integer version number or a string alias.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/agents/{agent_id} (the `AgentsApiV1AgentsGet` operationId).
	AgentsApiV1AgentsGetWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsGetParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsGetResponse, error)

	// AgentsApiV1AgentsUpdateWithBodyWithResponse Update an agent entity.
	//
	// Update an agent attributes and create a new version.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v1/agents/{agent_id} (the `AgentsApiV1AgentsUpdate` operationId).
	AgentsApiV1AgentsUpdateWithBodyWithResponse(ctx context.Context, agentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsUpdateResponse, error)

	// AgentsApiV1AgentsUpdateWithResponse Update an agent entity.
	//
	// Update an agent attributes and create a new version.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v1/agents/{agent_id} (the `AgentsApiV1AgentsUpdate` operationId).
	AgentsApiV1AgentsUpdateWithResponse(ctx context.Context, agentId string, body AgentsApiV1AgentsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsUpdateResponse, error)

	// AgentsApiV1AgentsDeleteAliasWithResponse Delete an agent version alias.
	//
	// Delete an existing alias for an agent.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsDeleteAlias` operationId).
	AgentsApiV1AgentsDeleteAliasWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsDeleteAliasParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsDeleteAliasResponse, error)

	// AgentsApiV1AgentsListVersionAliasesWithResponse List all aliases for an agent.
	//
	// Retrieve all version aliases for a specific agent.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsListVersionAliases` operationId).
	AgentsApiV1AgentsListVersionAliasesWithResponse(ctx context.Context, agentId string, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsListVersionAliasesResponse, error)

	// AgentsApiV1AgentsCreateOrUpdateAliasWithResponse Create or update an agent version alias.
	//
	// Create a new alias or update an existing alias to point to a specific version. Aliases are unique per agent and can be reassigned to different versions.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v1/agents/{agent_id}/aliases (the `AgentsApiV1AgentsCreateOrUpdateAlias` operationId).
	AgentsApiV1AgentsCreateOrUpdateAliasWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsCreateOrUpdateAliasParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsCreateOrUpdateAliasResponse, error)

	// AgentsApiV1AgentsUpdateVersionWithResponse Update an agent version.
	//
	// Switch the version of an agent.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v1/agents/{agent_id}/version (the `AgentsApiV1AgentsUpdateVersion` operationId).
	AgentsApiV1AgentsUpdateVersionWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsUpdateVersionParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsUpdateVersionResponse, error)

	// AgentsApiV1AgentsListVersionsWithResponse List all versions of an agent.
	//
	// Retrieve all versions for a specific agent with full agent context. Supports pagination.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/agents/{agent_id}/versions (the `AgentsApiV1AgentsListVersions` operationId).
	AgentsApiV1AgentsListVersionsWithResponse(ctx context.Context, agentId string, params *AgentsApiV1AgentsListVersionsParams, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsListVersionsResponse, error)

	// AgentsApiV1AgentsGetVersionWithResponse Retrieve a specific version of an agent.
	//
	// Get a specific agent version by version number.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/agents/{agent_id}/versions/{version} (the `AgentsApiV1AgentsGetVersion` operationId).
	AgentsApiV1AgentsGetVersionWithResponse(ctx context.Context, agentId string, version string, reqEditors ...RequestEditorFn) (*AgentsApiV1AgentsGetVersionResponse, error)

	// SpeechV1AudioSpeechPostWithBodyWithResponse Speech
	//
	// Generate speech from text using a saved voice or a reference audio clip.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/audio/speech (the `SpeechV1AudioSpeechPost` operationId).
	SpeechV1AudioSpeechPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SpeechV1AudioSpeechPostResponse, error)

	// SpeechV1AudioSpeechPostWithResponse Speech
	//
	// Generate speech from text using a saved voice or a reference audio clip.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/audio/speech (the `SpeechV1AudioSpeechPost` operationId).
	SpeechV1AudioSpeechPostWithResponse(ctx context.Context, body SpeechV1AudioSpeechPostJSONRequestBody, reqEditors ...RequestEditorFn) (*SpeechV1AudioSpeechPostResponse, error)

	// AudioApiV1TranscriptionsPostWithBodyWithResponse Create Transcription
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/audio/transcriptions (the `AudioApiV1TranscriptionsPost` operationId).
	AudioApiV1TranscriptionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AudioApiV1TranscriptionsPostResponse, error)

	// AudioApiV1TranscriptionsPostStreamWithBodyWithResponse Create Streaming Transcription (SSE)
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/audio/transcriptions#stream (the `AudioApiV1TranscriptionsPostStream` operationId).
	AudioApiV1TranscriptionsPostStreamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AudioApiV1TranscriptionsPostStreamResponse, error)

	// ListVoicesV1AudioVoicesGetWithResponse List all voices
	//
	// List all voices (excluding sample data).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/audio/voices (the `ListVoicesV1AudioVoicesGet` operationId).
	ListVoicesV1AudioVoicesGetWithResponse(ctx context.Context, params *ListVoicesV1AudioVoicesGetParams, reqEditors ...RequestEditorFn) (*ListVoicesV1AudioVoicesGetResponse, error)

	// CreateVoiceV1AudioVoicesPostWithBodyWithResponse Create a new voice
	//
	// Create a new voice with a base64-encoded audio sample.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/audio/voices (the `CreateVoiceV1AudioVoicesPost` operationId).
	CreateVoiceV1AudioVoicesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateVoiceV1AudioVoicesPostResponse, error)

	// CreateVoiceV1AudioVoicesPostWithResponse Create a new voice
	//
	// Create a new voice with a base64-encoded audio sample.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/audio/voices (the `CreateVoiceV1AudioVoicesPost` operationId).
	CreateVoiceV1AudioVoicesPostWithResponse(ctx context.Context, body CreateVoiceV1AudioVoicesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVoiceV1AudioVoicesPostResponse, error)

	// DeleteVoiceV1AudioVoicesVoiceIdDeleteWithResponse Delete a custom voice
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/audio/voices/{voice_id} (the `DeleteVoiceV1AudioVoicesVoiceIdDelete` operationId).
	DeleteVoiceV1AudioVoicesVoiceIdDeleteWithResponse(ctx context.Context, voiceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse, error)

	// GetVoiceV1AudioVoicesVoiceIdGetWithResponse Get voice details
	//
	// Get voice details (excluding sample).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/audio/voices/{voice_id} (the `GetVoiceV1AudioVoicesVoiceIdGet` operationId).
	GetVoiceV1AudioVoicesVoiceIdGetWithResponse(ctx context.Context, voiceId string, reqEditors ...RequestEditorFn) (*GetVoiceV1AudioVoicesVoiceIdGetResponse, error)

	// UpdateVoiceV1AudioVoicesVoiceIdPatchWithBodyWithResponse Update voice metadata
	//
	// Update voice metadata (name, gender, languages, age, tags).
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v1/audio/voices/{voice_id} (the `UpdateVoiceV1AudioVoicesVoiceIdPatch` operationId).
	UpdateVoiceV1AudioVoicesVoiceIdPatchWithBodyWithResponse(ctx context.Context, voiceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVoiceV1AudioVoicesVoiceIdPatchResponse, error)

	// UpdateVoiceV1AudioVoicesVoiceIdPatchWithResponse Update voice metadata
	//
	// Update voice metadata (name, gender, languages, age, tags).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v1/audio/voices/{voice_id} (the `UpdateVoiceV1AudioVoicesVoiceIdPatch` operationId).
	UpdateVoiceV1AudioVoicesVoiceIdPatchWithResponse(ctx context.Context, voiceId openapi_types.UUID, body UpdateVoiceV1AudioVoicesVoiceIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVoiceV1AudioVoicesVoiceIdPatchResponse, error)

	// GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetWithResponse Get voice sample audio
	//
	// Get the audio sample for a voice.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/audio/voices/{voice_id}/sample (the `GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGet` operationId).
	GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetWithResponse(ctx context.Context, voiceId string, reqEditors ...RequestEditorFn) (*GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse, error)

	// JobsApiRoutesBatchGetBatchJobsWithResponse Get Batch Jobs
	//
	// Get a list of batch jobs for your organization and user.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/batch/jobs (the `JobsApiRoutesBatchGetBatchJobs` operationId).
	JobsApiRoutesBatchGetBatchJobsWithResponse(ctx context.Context, params *JobsApiRoutesBatchGetBatchJobsParams, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchGetBatchJobsResponse, error)

	// JobsApiRoutesBatchCreateBatchJobWithBodyWithResponse Create Batch Job
	//
	// Create a new batch job, it will be queued for processing.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/batch/jobs (the `JobsApiRoutesBatchCreateBatchJob` operationId).
	JobsApiRoutesBatchCreateBatchJobWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchCreateBatchJobResponse, error)

	// JobsApiRoutesBatchCreateBatchJobWithResponse Create Batch Job
	//
	// Create a new batch job, it will be queued for processing.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/batch/jobs (the `JobsApiRoutesBatchCreateBatchJob` operationId).
	JobsApiRoutesBatchCreateBatchJobWithResponse(ctx context.Context, body JobsApiRoutesBatchCreateBatchJobJSONRequestBody, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchCreateBatchJobResponse, error)

	// JobsApiRoutesBatchGetBatchJobWithResponse Get Batch Job
	//
	// Get a batch job details by its UUID.
	//
	// Args:
	//     inline: If True, return results inline in the response.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/batch/jobs/{job_id} (the `JobsApiRoutesBatchGetBatchJob` operationId).
	JobsApiRoutesBatchGetBatchJobWithResponse(ctx context.Context, jobId openapi_types.UUID, params *JobsApiRoutesBatchGetBatchJobParams, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchGetBatchJobResponse, error)

	// JobsApiRoutesBatchCancelBatchJobWithResponse Cancel Batch Job
	//
	// Request the cancellation of a batch job.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/batch/jobs/{job_id}/cancel (the `JobsApiRoutesBatchCancelBatchJob` operationId).
	JobsApiRoutesBatchCancelBatchJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesBatchCancelBatchJobResponse, error)

	// ChatClassificationsV1ChatClassificationsPostWithBodyWithResponse Chat Classifications
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/chat/classifications (the `ChatClassificationsV1ChatClassificationsPost` operationId).
	ChatClassificationsV1ChatClassificationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChatClassificationsV1ChatClassificationsPostResponse, error)

	// ChatClassificationsV1ChatClassificationsPostWithResponse Chat Classifications
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/chat/classifications (the `ChatClassificationsV1ChatClassificationsPost` operationId).
	ChatClassificationsV1ChatClassificationsPostWithResponse(ctx context.Context, body ChatClassificationsV1ChatClassificationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ChatClassificationsV1ChatClassificationsPostResponse, error)

	// ChatCompletionV1ChatCompletionsPostWithBodyWithResponse Chat Completion
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/chat/completions (the `ChatCompletionV1ChatCompletionsPost` operationId).
	ChatCompletionV1ChatCompletionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChatCompletionV1ChatCompletionsPostResponse, error)

	// ChatCompletionV1ChatCompletionsPostWithResponse Chat Completion
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/chat/completions (the `ChatCompletionV1ChatCompletionsPost` operationId).
	ChatCompletionV1ChatCompletionsPostWithResponse(ctx context.Context, body ChatCompletionV1ChatCompletionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ChatCompletionV1ChatCompletionsPostResponse, error)

	// ChatModerationsV1ChatModerationsPostWithBodyWithResponse Chat Moderations
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/chat/moderations (the `ChatModerationsV1ChatModerationsPost` operationId).
	ChatModerationsV1ChatModerationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChatModerationsV1ChatModerationsPostResponse, error)

	// ChatModerationsV1ChatModerationsPostWithResponse Chat Moderations
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/chat/moderations (the `ChatModerationsV1ChatModerationsPost` operationId).
	ChatModerationsV1ChatModerationsPostWithResponse(ctx context.Context, body ChatModerationsV1ChatModerationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ChatModerationsV1ChatModerationsPostResponse, error)

	// ClassificationsV1ClassificationsPostWithBodyWithResponse Classifications
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/classifications (the `ClassificationsV1ClassificationsPost` operationId).
	ClassificationsV1ClassificationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClassificationsV1ClassificationsPostResponse, error)

	// ClassificationsV1ClassificationsPostWithResponse Classifications
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/classifications (the `ClassificationsV1ClassificationsPost` operationId).
	ClassificationsV1ClassificationsPostWithResponse(ctx context.Context, body ClassificationsV1ClassificationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ClassificationsV1ClassificationsPostResponse, error)

	// ConnectorListV1WithResponse List all connectors.
	//
	// List all your custom connectors with keyset pagination and filters.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/connectors (the `ConnectorListV1` operationId).
	ConnectorListV1WithResponse(ctx context.Context, params *ConnectorListV1Params, reqEditors ...RequestEditorFn) (*ConnectorListV1Response, error)

	// ConnectorCreateV1WithBodyWithResponse Create a new connector.
	//
	// Create a new MCP connector. You can customize its visibility, url and auth type.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/connectors (the `ConnectorCreateV1` operationId).
	ConnectorCreateV1WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCreateV1Response, error)

	// ConnectorCreateV1WithResponse Create a new connector.
	//
	// Create a new MCP connector. You can customize its visibility, url and auth type.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/connectors (the `ConnectorCreateV1` operationId).
	ConnectorCreateV1WithResponse(ctx context.Context, body ConnectorCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCreateV1Response, error)

	// ConnectorGetV1WithResponse Get a connector.
	//
	// Get a connector by its ID or name.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/connectors/{connector_id_or_name}#idOrName (the `ConnectorGetV1` operationId).
	ConnectorGetV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorGetV1Params, reqEditors ...RequestEditorFn) (*ConnectorGetV1Response, error)

	// ConnectorGetAuthUrlV1WithResponse Get the auth URL for a connector.
	//
	// Get the OAuth2 authorization URL for a connector to initiate user authentication.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/connectors/{connector_id_or_name}/auth_url (the `ConnectorGetAuthUrlV1` operationId).
	ConnectorGetAuthUrlV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorGetAuthUrlV1Params, reqEditors ...RequestEditorFn) (*ConnectorGetAuthUrlV1Response, error)

	// ConnectorGetAuthenticationMethodsV1WithResponse Get authentication methods for a connector.
	//
	// Get the authentication schema for a connector. Returns the list of supported authentication methods and their required headers.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/connectors/{connector_id_or_name}/authentication_methods (the `ConnectorGetAuthenticationMethodsV1` operationId).
	ConnectorGetAuthenticationMethodsV1WithResponse(ctx context.Context, connectorIdOrName string, reqEditors ...RequestEditorFn) (*ConnectorGetAuthenticationMethodsV1Response, error)

	// ConnectorListOrganizationCredentialsV1WithResponse List organization credentials for a connector.
	//
	// List all credentials configured at the organization level for a given connector.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorListOrganizationCredentialsV1` operationId).
	ConnectorListOrganizationCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorListOrganizationCredentialsV1Params, reqEditors ...RequestEditorFn) (*ConnectorListOrganizationCredentialsV1Response, error)

	// ConnectorCreateOrUpdateOrganizationCredentialsV1WithBodyWithResponse Create or update organization credentials for a connector.
	//
	// Create or update credentials at the organization level for a given connector.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorCreateOrUpdateOrganizationCredentialsV1` operationId).
	ConnectorCreateOrUpdateOrganizationCredentialsV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateOrganizationCredentialsV1Response, error)

	// ConnectorCreateOrUpdateOrganizationCredentialsV1WithResponse Create or update organization credentials for a connector.
	//
	// Create or update credentials at the organization level for a given connector.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/connectors/{connector_id_or_name}/organization/credentials (the `ConnectorCreateOrUpdateOrganizationCredentialsV1` operationId).
	ConnectorCreateOrUpdateOrganizationCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateOrganizationCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateOrganizationCredentialsV1Response, error)

	// ConnectorDeleteOrganizationCredentialsV1WithResponse Delete organization credentials for a connector.
	//
	// Delete credentials at the organization level for a given connector.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/connectors/{connector_id_or_name}/organization/credentials/{credentials_name} (the `ConnectorDeleteOrganizationCredentialsV1` operationId).
	ConnectorDeleteOrganizationCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*ConnectorDeleteOrganizationCredentialsV1Response, error)

	// ConnectorListToolsV1WithResponse List tools for a connector.
	//
	// List all tools available for an MCP connector.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/connectors/{connector_id_or_name}/tools (the `ConnectorListToolsV1` operationId).
	ConnectorListToolsV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorListToolsV1Params, reqEditors ...RequestEditorFn) (*ConnectorListToolsV1Response, error)

	// ConnectorCallToolV1WithBodyWithResponse Call Connector Tool
	//
	// Call a tool on an MCP connector.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/connectors/{connector_id_or_name}/tools/{tool_name}/call (the `ConnectorCallToolV1` operationId).
	ConnectorCallToolV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCallToolV1Response, error)

	// ConnectorCallToolV1WithResponse Call Connector Tool
	//
	// Call a tool on an MCP connector.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/connectors/{connector_id_or_name}/tools/{tool_name}/call (the `ConnectorCallToolV1` operationId).
	ConnectorCallToolV1WithResponse(ctx context.Context, connectorIdOrName string, toolName string, params *ConnectorCallToolV1Params, body ConnectorCallToolV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCallToolV1Response, error)

	// ConnectorListUserCredentialsV1WithResponse List user credentials for a connector.
	//
	// List all credentials configured at the user level for a given connector.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorListUserCredentialsV1` operationId).
	ConnectorListUserCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorListUserCredentialsV1Params, reqEditors ...RequestEditorFn) (*ConnectorListUserCredentialsV1Response, error)

	// ConnectorCreateOrUpdateUserCredentialsV1WithBodyWithResponse Create or update user credentials for a connector.
	//
	// Create or update credentials at the user level for a given connector.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorCreateOrUpdateUserCredentialsV1` operationId).
	ConnectorCreateOrUpdateUserCredentialsV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateUserCredentialsV1Response, error)

	// ConnectorCreateOrUpdateUserCredentialsV1WithResponse Create or update user credentials for a connector.
	//
	// Create or update credentials at the user level for a given connector.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/connectors/{connector_id_or_name}/user/credentials (the `ConnectorCreateOrUpdateUserCredentialsV1` operationId).
	ConnectorCreateOrUpdateUserCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateUserCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateUserCredentialsV1Response, error)

	// ConnectorDeleteUserCredentialsV1WithResponse Delete user credentials for a connector.
	//
	// Delete credentials at the user level for a given connector.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/connectors/{connector_id_or_name}/user/credentials/{credentials_name} (the `ConnectorDeleteUserCredentialsV1` operationId).
	ConnectorDeleteUserCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*ConnectorDeleteUserCredentialsV1Response, error)

	// ConnectorListWorkspaceCredentialsV1WithResponse List workspace credentials for a connector.
	//
	// List all credentials configured at the workspace level for a given connector.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorListWorkspaceCredentialsV1` operationId).
	ConnectorListWorkspaceCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, params *ConnectorListWorkspaceCredentialsV1Params, reqEditors ...RequestEditorFn) (*ConnectorListWorkspaceCredentialsV1Response, error)

	// ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBodyWithResponse Create or update workspace credentials for a connector.
	//
	// Create or update credentials at the workspace level for a given connector.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorCreateOrUpdateWorkspaceCredentialsV1` operationId).
	ConnectorCreateOrUpdateWorkspaceCredentialsV1WithBodyWithResponse(ctx context.Context, connectorIdOrName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateWorkspaceCredentialsV1Response, error)

	// ConnectorCreateOrUpdateWorkspaceCredentialsV1WithResponse Create or update workspace credentials for a connector.
	//
	// Create or update credentials at the workspace level for a given connector.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/connectors/{connector_id_or_name}/workspace/credentials (the `ConnectorCreateOrUpdateWorkspaceCredentialsV1` operationId).
	ConnectorCreateOrUpdateWorkspaceCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, body ConnectorCreateOrUpdateWorkspaceCredentialsV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorCreateOrUpdateWorkspaceCredentialsV1Response, error)

	// ConnectorDeleteWorkspaceCredentialsV1WithResponse Delete workspace credentials for a connector.
	//
	// Delete credentials at the workspace level for a given connector.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/connectors/{connector_id_or_name}/workspace/credentials/{credentials_name} (the `ConnectorDeleteWorkspaceCredentialsV1` operationId).
	ConnectorDeleteWorkspaceCredentialsV1WithResponse(ctx context.Context, connectorIdOrName string, credentialsName string, reqEditors ...RequestEditorFn) (*ConnectorDeleteWorkspaceCredentialsV1Response, error)

	// ConnectorDeleteV1WithResponse Delete a connector.
	//
	// Delete a connector by its ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/connectors/{connector_id}#id (the `ConnectorDeleteV1` operationId).
	ConnectorDeleteV1WithResponse(ctx context.Context, connectorId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ConnectorDeleteV1Response, error)

	// ConnectorUpdateV1WithBodyWithResponse Update a connector.
	//
	// Update a connector by its ID.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v1/connectors/{connector_id}#id (the `ConnectorUpdateV1` operationId).
	ConnectorUpdateV1WithBodyWithResponse(ctx context.Context, connectorId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectorUpdateV1Response, error)

	// ConnectorUpdateV1WithResponse Update a connector.
	//
	// Update a connector by its ID.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v1/connectors/{connector_id}#id (the `ConnectorUpdateV1` operationId).
	ConnectorUpdateV1WithResponse(ctx context.Context, connectorId openapi_types.UUID, body ConnectorUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectorUpdateV1Response, error)

	// AgentsApiV1ConversationsListWithResponse List all created conversations.
	//
	// Retrieve a list of conversation entities sorted by creation time.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/conversations (the `AgentsApiV1ConversationsList` operationId).
	AgentsApiV1ConversationsListWithResponse(ctx context.Context, params *AgentsApiV1ConversationsListParams, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsListResponse, error)

	// AgentsApiV1ConversationsStartWithBodyWithResponse Create a conversation and append entries to it.
	//
	// Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/conversations (the `AgentsApiV1ConversationsStart` operationId).
	AgentsApiV1ConversationsStartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsStartResponse, error)

	// AgentsApiV1ConversationsStartWithResponse Create a conversation and append entries to it.
	//
	// Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/conversations (the `AgentsApiV1ConversationsStart` operationId).
	AgentsApiV1ConversationsStartWithResponse(ctx context.Context, body AgentsApiV1ConversationsStartJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsStartResponse, error)

	// AgentsApiV1ConversationsStartStreamWithBodyWithResponse Create a conversation and append entries to it.
	//
	// Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/conversations#stream (the `AgentsApiV1ConversationsStartStream` operationId).
	AgentsApiV1ConversationsStartStreamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsStartStreamResponse, error)

	// AgentsApiV1ConversationsStartStreamWithResponse Create a conversation and append entries to it.
	//
	// Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/conversations#stream (the `AgentsApiV1ConversationsStartStream` operationId).
	AgentsApiV1ConversationsStartStreamWithResponse(ctx context.Context, body AgentsApiV1ConversationsStartStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsStartStreamResponse, error)

	// AgentsApiV1ConversationsDeleteWithResponse Delete a conversation.
	//
	// Delete a conversation given a conversation_id.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsDelete` operationId).
	AgentsApiV1ConversationsDeleteWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsDeleteResponse, error)

	// AgentsApiV1ConversationsGetWithResponse Retrieve a conversation information.
	//
	// Given a conversation_id retrieve a conversation entity with its attributes.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsGet` operationId).
	AgentsApiV1ConversationsGetWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsGetResponse, error)

	// AgentsApiV1ConversationsAppendWithBodyWithResponse Append new entries to an existing conversation.
	//
	// Run completion on the history of the conversation and the user entries. Return the new created entries.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsAppend` operationId).
	AgentsApiV1ConversationsAppendWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsAppendResponse, error)

	// AgentsApiV1ConversationsAppendWithResponse Append new entries to an existing conversation.
	//
	// Run completion on the history of the conversation and the user entries. Return the new created entries.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/conversations/{conversation_id} (the `AgentsApiV1ConversationsAppend` operationId).
	AgentsApiV1ConversationsAppendWithResponse(ctx context.Context, conversationId string, body AgentsApiV1ConversationsAppendJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsAppendResponse, error)

	// AgentsApiV1ConversationsAppendStreamWithBodyWithResponse Append new entries to an existing conversation.
	//
	// Run completion on the history of the conversation and the user entries. Return the new created entries.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/conversations/{conversation_id}#stream (the `AgentsApiV1ConversationsAppendStream` operationId).
	AgentsApiV1ConversationsAppendStreamWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsAppendStreamResponse, error)

	// AgentsApiV1ConversationsAppendStreamWithResponse Append new entries to an existing conversation.
	//
	// Run completion on the history of the conversation and the user entries. Return the new created entries.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/conversations/{conversation_id}#stream (the `AgentsApiV1ConversationsAppendStream` operationId).
	AgentsApiV1ConversationsAppendStreamWithResponse(ctx context.Context, conversationId string, body AgentsApiV1ConversationsAppendStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsAppendStreamResponse, error)

	// AgentsApiV1ConversationsHistoryWithResponse Retrieve all entries in a conversation.
	//
	// Given a conversation_id retrieve all the entries belonging to that conversation. The entries are sorted in the order they were appended, those can be messages, connectors or function_call.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/conversations/{conversation_id}/history (the `AgentsApiV1ConversationsHistory` operationId).
	AgentsApiV1ConversationsHistoryWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsHistoryResponse, error)

	// AgentsApiV1ConversationsMessagesWithResponse Retrieve all messages in a conversation.
	//
	// Given a conversation_id retrieve all the messages belonging to that conversation. This is similar to retrieving all entries except we filter the messages only.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/conversations/{conversation_id}/messages (the `AgentsApiV1ConversationsMessages` operationId).
	AgentsApiV1ConversationsMessagesWithResponse(ctx context.Context, conversationId string, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsMessagesResponse, error)

	// AgentsApiV1ConversationsRestartWithBodyWithResponse Restart a conversation starting from a given entry.
	//
	// Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/conversations/{conversation_id}/restart (the `AgentsApiV1ConversationsRestart` operationId).
	AgentsApiV1ConversationsRestartWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsRestartResponse, error)

	// AgentsApiV1ConversationsRestartWithResponse Restart a conversation starting from a given entry.
	//
	// Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/conversations/{conversation_id}/restart (the `AgentsApiV1ConversationsRestart` operationId).
	AgentsApiV1ConversationsRestartWithResponse(ctx context.Context, conversationId string, body AgentsApiV1ConversationsRestartJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsRestartResponse, error)

	// AgentsApiV1ConversationsRestartStreamWithBodyWithResponse Restart a conversation starting from a given entry.
	//
	// Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/conversations/{conversation_id}/restart#stream (the `AgentsApiV1ConversationsRestartStream` operationId).
	AgentsApiV1ConversationsRestartStreamWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsRestartStreamResponse, error)

	// AgentsApiV1ConversationsRestartStreamWithResponse Restart a conversation starting from a given entry.
	//
	// Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/conversations/{conversation_id}/restart#stream (the `AgentsApiV1ConversationsRestartStream` operationId).
	AgentsApiV1ConversationsRestartStreamWithResponse(ctx context.Context, conversationId string, body AgentsApiV1ConversationsRestartStreamJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsApiV1ConversationsRestartStreamResponse, error)

	// EmbeddingsV1EmbeddingsPostWithBodyWithResponse Embeddings
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/embeddings (the `EmbeddingsV1EmbeddingsPost` operationId).
	EmbeddingsV1EmbeddingsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EmbeddingsV1EmbeddingsPostResponse, error)

	// EmbeddingsV1EmbeddingsPostWithResponse Embeddings
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/embeddings (the `EmbeddingsV1EmbeddingsPost` operationId).
	EmbeddingsV1EmbeddingsPostWithResponse(ctx context.Context, body EmbeddingsV1EmbeddingsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*EmbeddingsV1EmbeddingsPostResponse, error)

	// FilesApiRoutesListFilesWithResponse List Files
	//
	// Returns a list of files that belong to the user's organization.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/files (the `FilesApiRoutesListFiles` operationId).
	FilesApiRoutesListFilesWithResponse(ctx context.Context, params *FilesApiRoutesListFilesParams, reqEditors ...RequestEditorFn) (*FilesApiRoutesListFilesResponse, error)

	// FilesApiRoutesUploadFileWithBodyWithResponse Upload File
	//
	// Upload a file that can be used across various endpoints.
	//
	// The size of individual files can be a maximum of 512 MB. The Fine-tuning API only supports .jsonl files.
	//
	// Please contact us if you need to increase these storage limits.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/files (the `FilesApiRoutesUploadFile` operationId).
	FilesApiRoutesUploadFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FilesApiRoutesUploadFileResponse, error)

	// FilesApiRoutesDeleteFileWithResponse Delete File
	//
	// Delete a file.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/files/{file_id} (the `FilesApiRoutesDeleteFile` operationId).
	FilesApiRoutesDeleteFileWithResponse(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*FilesApiRoutesDeleteFileResponse, error)

	// FilesApiRoutesRetrieveFileWithResponse Retrieve File
	//
	// Returns information about a specific file.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/files/{file_id} (the `FilesApiRoutesRetrieveFile` operationId).
	FilesApiRoutesRetrieveFileWithResponse(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*FilesApiRoutesRetrieveFileResponse, error)

	// FilesApiRoutesDownloadFileWithResponse Download File
	//
	// Download a file.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/files/{file_id}/content (the `FilesApiRoutesDownloadFile` operationId).
	FilesApiRoutesDownloadFileWithResponse(ctx context.Context, fileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*FilesApiRoutesDownloadFileResponse, error)

	// FilesApiRoutesGetSignedUrlWithResponse Get Signed Url
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/files/{file_id}/url (the `FilesApiRoutesGetSignedUrl` operationId).
	FilesApiRoutesGetSignedUrlWithResponse(ctx context.Context, fileId openapi_types.UUID, params *FilesApiRoutesGetSignedUrlParams, reqEditors ...RequestEditorFn) (*FilesApiRoutesGetSignedUrlResponse, error)

	// FimCompletionV1FimCompletionsPostWithBodyWithResponse Fim Completion
	//
	// FIM completion.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/fim/completions (the `FimCompletionV1FimCompletionsPost` operationId).
	FimCompletionV1FimCompletionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FimCompletionV1FimCompletionsPostResponse, error)

	// FimCompletionV1FimCompletionsPostWithResponse Fim Completion
	//
	// FIM completion.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/fim/completions (the `FimCompletionV1FimCompletionsPost` operationId).
	FimCompletionV1FimCompletionsPostWithResponse(ctx context.Context, body FimCompletionV1FimCompletionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*FimCompletionV1FimCompletionsPostResponse, error)

	// JobsApiRoutesFineTuningGetFineTuningJobsWithResponse Get Fine Tuning Jobs
	//
	// Get a list of fine-tuning jobs for your organization and user.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningGetFineTuningJobs` operationId).
	JobsApiRoutesFineTuningGetFineTuningJobsWithResponse(ctx context.Context, params *JobsApiRoutesFineTuningGetFineTuningJobsParams, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningGetFineTuningJobsResponse, error)

	// JobsApiRoutesFineTuningCreateFineTuningJobWithBodyWithResponse Create Fine Tuning Job
	//
	// Create a new fine-tuning job, it will be queued for processing.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningCreateFineTuningJob` operationId).
	JobsApiRoutesFineTuningCreateFineTuningJobWithBodyWithResponse(ctx context.Context, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningCreateFineTuningJobResponse, error)

	// JobsApiRoutesFineTuningCreateFineTuningJobWithResponse Create Fine Tuning Job
	//
	// Create a new fine-tuning job, it will be queued for processing.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/fine_tuning/jobs (the `JobsApiRoutesFineTuningCreateFineTuningJob` operationId).
	JobsApiRoutesFineTuningCreateFineTuningJobWithResponse(ctx context.Context, params *JobsApiRoutesFineTuningCreateFineTuningJobParams, body JobsApiRoutesFineTuningCreateFineTuningJobJSONRequestBody, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningCreateFineTuningJobResponse, error)

	// JobsApiRoutesFineTuningGetFineTuningJobWithResponse Get Fine Tuning Job
	//
	// Get a fine-tuned job details by its UUID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/fine_tuning/jobs/{job_id} (the `JobsApiRoutesFineTuningGetFineTuningJob` operationId).
	JobsApiRoutesFineTuningGetFineTuningJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningGetFineTuningJobResponse, error)

	// JobsApiRoutesFineTuningCancelFineTuningJobWithResponse Cancel Fine Tuning Job
	//
	// Request the cancellation of a fine tuning job.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/fine_tuning/jobs/{job_id}/cancel (the `JobsApiRoutesFineTuningCancelFineTuningJob` operationId).
	JobsApiRoutesFineTuningCancelFineTuningJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningCancelFineTuningJobResponse, error)

	// JobsApiRoutesFineTuningStartFineTuningJobWithResponse Start Fine Tuning Job
	//
	// Request the start of a validated fine tuning job.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/fine_tuning/jobs/{job_id}/start (the `JobsApiRoutesFineTuningStartFineTuningJob` operationId).
	JobsApiRoutesFineTuningStartFineTuningJobWithResponse(ctx context.Context, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningStartFineTuningJobResponse, error)

	// JobsApiRoutesFineTuningUpdateFineTunedModelWithBodyWithResponse Update Fine Tuned Model
	//
	// Update a model name or description.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v1/fine_tuning/models/{model_id} (the `JobsApiRoutesFineTuningUpdateFineTunedModel` operationId).
	JobsApiRoutesFineTuningUpdateFineTunedModelWithBodyWithResponse(ctx context.Context, modelId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningUpdateFineTunedModelResponse, error)

	// JobsApiRoutesFineTuningUpdateFineTunedModelWithResponse Update Fine Tuned Model
	//
	// Update a model name or description.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v1/fine_tuning/models/{model_id} (the `JobsApiRoutesFineTuningUpdateFineTunedModel` operationId).
	JobsApiRoutesFineTuningUpdateFineTunedModelWithResponse(ctx context.Context, modelId string, body JobsApiRoutesFineTuningUpdateFineTunedModelJSONRequestBody, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningUpdateFineTunedModelResponse, error)

	// JobsApiRoutesFineTuningUnarchiveFineTunedModelWithResponse Unarchive Fine Tuned Model
	//
	// Un-archive a fine-tuned model.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/fine_tuning/models/{model_id}/archive (the `JobsApiRoutesFineTuningUnarchiveFineTunedModel` operationId).
	JobsApiRoutesFineTuningUnarchiveFineTunedModelWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse, error)

	// JobsApiRoutesFineTuningArchiveFineTunedModelWithResponse Archive Fine Tuned Model
	//
	// Archive a fine-tuned model.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/fine_tuning/models/{model_id}/archive (the `JobsApiRoutesFineTuningArchiveFineTunedModel` operationId).
	JobsApiRoutesFineTuningArchiveFineTunedModelWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*JobsApiRoutesFineTuningArchiveFineTunedModelResponse, error)

	// LibrariesListV1WithResponse List all libraries you have access to.
	//
	// List all libraries that you have created or have been shared with you.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/libraries (the `LibrariesListV1` operationId).
	LibrariesListV1WithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LibrariesListV1Response, error)

	// LibrariesCreateV1WithBodyWithResponse Create a new Library.
	//
	// Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/libraries (the `LibrariesCreateV1` operationId).
	LibrariesCreateV1WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesCreateV1Response, error)

	// LibrariesCreateV1WithResponse Create a new Library.
	//
	// Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/libraries (the `LibrariesCreateV1` operationId).
	LibrariesCreateV1WithResponse(ctx context.Context, body LibrariesCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesCreateV1Response, error)

	// LibrariesDeleteV1WithResponse Delete a library and all of it's document.
	//
	// Given a library id, deletes it together with all documents that have been uploaded to that library.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/libraries/{library_id} (the `LibrariesDeleteV1` operationId).
	LibrariesDeleteV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDeleteV1Response, error)

	// LibrariesGetV1WithResponse Detailed information about a specific Library.
	//
	// Given a library id, details information about that Library.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/libraries/{library_id} (the `LibrariesGetV1` operationId).
	LibrariesGetV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesGetV1Response, error)

	// LibrariesUpdateV1WithBodyWithResponse Update a library.
	//
	// Given a library id, you can update the name and description.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v1/libraries/{library_id} (the `LibrariesUpdateV1` operationId).
	LibrariesUpdateV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesUpdateV1Response, error)

	// LibrariesUpdateV1WithResponse Update a library.
	//
	// Given a library id, you can update the name and description.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v1/libraries/{library_id} (the `LibrariesUpdateV1` operationId).
	LibrariesUpdateV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, body LibrariesUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesUpdateV1Response, error)

	// LibrariesDocumentsListV1WithResponse List documents in a given library.
	//
	// Given a library, lists the document that have been uploaded to that library.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/libraries/{library_id}/documents (the `LibrariesDocumentsListV1` operationId).
	LibrariesDocumentsListV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, params *LibrariesDocumentsListV1Params, reqEditors ...RequestEditorFn) (*LibrariesDocumentsListV1Response, error)

	// LibrariesDocumentsUploadV1WithBodyWithResponse Upload a new document.
	//
	// Given a library, upload a new document to that library. It is queued for processing, it status will change it has been processed. The processing has to be completed in order be discoverable for the library search
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/libraries/{library_id}/documents (the `LibrariesDocumentsUploadV1` operationId).
	LibrariesDocumentsUploadV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesDocumentsUploadV1Response, error)

	// LibrariesDocumentsDeleteV1WithResponse Delete a document.
	//
	// Given a library and a document in that library, delete that document. The document will be deleted from the library and the search index.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsDeleteV1` operationId).
	LibrariesDocumentsDeleteV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsDeleteV1Response, error)

	// LibrariesDocumentsGetV1WithResponse Retrieve the metadata of a specific document.
	//
	// Given a library and a document in this library, you can retrieve the metadata of that document.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsGetV1` operationId).
	LibrariesDocumentsGetV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetV1Response, error)

	// LibrariesDocumentsUpdateV1WithBodyWithResponse Update the metadata of a specific document.
	//
	// Given a library and a document in that library, update the name of that document.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsUpdateV1` operationId).
	LibrariesDocumentsUpdateV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesDocumentsUpdateV1Response, error)

	// LibrariesDocumentsUpdateV1WithResponse Update the metadata of a specific document.
	//
	// Given a library and a document in that library, update the name of that document.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v1/libraries/{library_id}/documents/{document_id} (the `LibrariesDocumentsUpdateV1` operationId).
	LibrariesDocumentsUpdateV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, body LibrariesDocumentsUpdateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesDocumentsUpdateV1Response, error)

	// LibrariesDocumentsGetExtractedTextSignedUrlV1WithResponse Retrieve the signed URL of text extracted from a given document.
	//
	// Given a library and a document in that library, retrieve the signed URL of text extracted. For documents that are sent to the OCR this returns the result of the OCR queries.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/extracted-text-signed-url (the `LibrariesDocumentsGetExtractedTextSignedUrlV1` operationId).
	LibrariesDocumentsGetExtractedTextSignedUrlV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetExtractedTextSignedUrlV1Response, error)

	// LibrariesDocumentsReprocessV1WithResponse Reprocess a document.
	//
	// Given a library and a document in that library, reprocess that document, it will be billed again.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/libraries/{library_id}/documents/{document_id}/reprocess (the `LibrariesDocumentsReprocessV1` operationId).
	LibrariesDocumentsReprocessV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsReprocessV1Response, error)

	// LibrariesDocumentsGetSignedUrlV1WithResponse Retrieve the signed URL of a specific document.
	//
	// Given a library and a document in that library, retrieve the signed URL of a specific document.The url will expire after 30 minutes and can be accessed by anyone with the link.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/signed-url (the `LibrariesDocumentsGetSignedUrlV1` operationId).
	LibrariesDocumentsGetSignedUrlV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetSignedUrlV1Response, error)

	// LibrariesDocumentsGetStatusV1WithResponse Retrieve the processing status of a specific document.
	//
	// Given a library and a document in that library, retrieve the processing status of that document.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/status (the `LibrariesDocumentsGetStatusV1` operationId).
	LibrariesDocumentsGetStatusV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetStatusV1Response, error)

	// LibrariesDocumentsGetTextContentV1WithResponse Retrieve the text content of a specific document.
	//
	// Given a library and a document in that library, you can retrieve the text content of that document if it exists. For documents like pdf, docx and pptx the text content results from our processing using Mistral OCR.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/libraries/{library_id}/documents/{document_id}/text_content (the `LibrariesDocumentsGetTextContentV1` operationId).
	LibrariesDocumentsGetTextContentV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, documentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesDocumentsGetTextContentV1Response, error)

	// LibrariesShareDeleteV1WithBodyWithResponse Delete an access level.
	//
	// Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/libraries/{library_id}/share (the `LibrariesShareDeleteV1` operationId).
	LibrariesShareDeleteV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesShareDeleteV1Response, error)

	// LibrariesShareDeleteV1WithResponse Delete an access level.
	//
	// Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/libraries/{library_id}/share (the `LibrariesShareDeleteV1` operationId).
	LibrariesShareDeleteV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, body LibrariesShareDeleteV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesShareDeleteV1Response, error)

	// LibrariesShareListV1WithResponse List all of the access to this library.
	//
	// Given a library, list all of the Entity that have access and to what level.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/libraries/{library_id}/share (the `LibrariesShareListV1` operationId).
	LibrariesShareListV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*LibrariesShareListV1Response, error)

	// LibrariesShareCreateV1WithBodyWithResponse Create or update an access level.
	//
	// Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v1/libraries/{library_id}/share (the `LibrariesShareCreateV1` operationId).
	LibrariesShareCreateV1WithBodyWithResponse(ctx context.Context, libraryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LibrariesShareCreateV1Response, error)

	// LibrariesShareCreateV1WithResponse Create or update an access level.
	//
	// Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v1/libraries/{library_id}/share (the `LibrariesShareCreateV1` operationId).
	LibrariesShareCreateV1WithResponse(ctx context.Context, libraryId openapi_types.UUID, body LibrariesShareCreateV1JSONRequestBody, reqEditors ...RequestEditorFn) (*LibrariesShareCreateV1Response, error)

	// ListModelsV1ModelsGetWithResponse List Models
	//
	// List all models available to the user.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/models (the `ListModelsV1ModelsGet` operationId).
	ListModelsV1ModelsGetWithResponse(ctx context.Context, params *ListModelsV1ModelsGetParams, reqEditors ...RequestEditorFn) (*ListModelsV1ModelsGetResponse, error)

	// DeleteModelV1ModelsModelIdDeleteWithResponse Delete Model
	//
	// Delete a fine-tuned model.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/models/{model_id} (the `DeleteModelV1ModelsModelIdDelete` operationId).
	DeleteModelV1ModelsModelIdDeleteWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*DeleteModelV1ModelsModelIdDeleteResponse, error)

	// RetrieveModelV1ModelsModelIdGetWithResponse Retrieve Model
	//
	// Retrieve information about a model.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/models/{model_id} (the `RetrieveModelV1ModelsModelIdGet` operationId).
	RetrieveModelV1ModelsModelIdGetWithResponse(ctx context.Context, modelId string, reqEditors ...RequestEditorFn) (*RetrieveModelV1ModelsModelIdGetResponse, error)

	// ModerationsV1ModerationsPostWithBodyWithResponse Moderations
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/moderations (the `ModerationsV1ModerationsPost` operationId).
	ModerationsV1ModerationsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModerationsV1ModerationsPostResponse, error)

	// ModerationsV1ModerationsPostWithResponse Moderations
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/moderations (the `ModerationsV1ModerationsPost` operationId).
	ModerationsV1ModerationsPostWithResponse(ctx context.Context, body ModerationsV1ModerationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ModerationsV1ModerationsPostResponse, error)

	// GetCampaignsV1ObservabilityCampaignsGetWithResponse Get all campaigns
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/observability/campaigns (the `GetCampaignsV1ObservabilityCampaignsGet` operationId).
	GetCampaignsV1ObservabilityCampaignsGetWithResponse(ctx context.Context, params *GetCampaignsV1ObservabilityCampaignsGetParams, reqEditors ...RequestEditorFn) (*GetCampaignsV1ObservabilityCampaignsGetResponse, error)

	// CreateCampaignV1ObservabilityCampaignsPostWithBodyWithResponse Create and start a new campaign
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/campaigns (the `CreateCampaignV1ObservabilityCampaignsPost` operationId).
	CreateCampaignV1ObservabilityCampaignsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCampaignV1ObservabilityCampaignsPostResponse, error)

	// CreateCampaignV1ObservabilityCampaignsPostWithResponse Create and start a new campaign
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/campaigns (the `CreateCampaignV1ObservabilityCampaignsPost` operationId).
	CreateCampaignV1ObservabilityCampaignsPostWithResponse(ctx context.Context, body CreateCampaignV1ObservabilityCampaignsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCampaignV1ObservabilityCampaignsPostResponse, error)

	// DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteWithResponse Delete a campaign
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/observability/campaigns/{campaign_id} (the `DeleteCampaignV1ObservabilityCampaignsCampaignIdDelete` operationId).
	DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteWithResponse(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse, error)

	// GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetWithResponse Get campaign by id
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/observability/campaigns/{campaign_id} (the `GetCampaignByIdV1ObservabilityCampaignsCampaignIdGet` operationId).
	GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetWithResponse(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse, error)

	// GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetWithResponse Get event ids that were selected by the given campaign
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/observability/campaigns/{campaign_id}/selected-events (the `GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet` operationId).
	GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetWithResponse(ctx context.Context, campaignId openapi_types.UUID, params *GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetParams, reqEditors ...RequestEditorFn) (*GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse, error)

	// GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetWithResponse Get campaign status by campaign id
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/observability/campaigns/{campaign_id}/status (the `GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGet` operationId).
	GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetWithResponse(ctx context.Context, campaignId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse, error)

	// GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBodyWithResponse Get Chat Completion Events
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/chat-completion-events/search (the `GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost` operationId).
	GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithBodyWithResponse(ctx context.Context, params *GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse, error)

	// GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithResponse Get Chat Completion Events
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/chat-completion-events/search (the `GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost` operationId).
	GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithResponse(ctx context.Context, params *GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams, body GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse, error)

	// GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBodyWithResponse Alternative to /search that returns only the IDs and that can return many IDs at once
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/chat-completion-events/search-ids (the `GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost` operationId).
	GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse, error)

	// GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithResponse Alternative to /search that returns only the IDs and that can return many IDs at once
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/chat-completion-events/search-ids (the `GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost` operationId).
	GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithResponse(ctx context.Context, body GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse, error)

	// GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetWithResponse Get Chat Completion Event
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/observability/chat-completion-events/{event_id} (the `GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGet` operationId).
	GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetWithResponse(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse, error)

	// JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBodyWithResponse Run Judge on an event based on the given options
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/chat-completion-events/{event_id}/live-judging (the `JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost` operationId).
	JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithBodyWithResponse(ctx context.Context, eventId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse, error)

	// JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithResponse Run Judge on an event based on the given options
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/chat-completion-events/{event_id}/live-judging (the `JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost` operationId).
	JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithResponse(ctx context.Context, eventId openapi_types.UUID, body JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse, error)

	// GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetWithResponse Get Similar Chat Completion Events
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/observability/chat-completion-events/{event_id}/similar-events (the `GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGet` operationId).
	GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetWithResponse(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse, error)

	// GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetWithResponse Get Chat Completion Fields
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/observability/chat-completion-fields (the `GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGet` operationId).
	GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse, error)

	// GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetWithResponse Get Chat Completion Field Options
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/observability/chat-completion-fields/{field_name}/options (the `GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet` operationId).
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetWithResponse(ctx context.Context, fieldName string, params *GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParams, reqEditors ...RequestEditorFn) (*GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse, error)

	// GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBodyWithResponse Get Chat Completion Field Options Counts
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/chat-completion-fields/{field_name}/options-counts (the `GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost` operationId).
	GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithBodyWithResponse(ctx context.Context, fieldName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse, error)

	// GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithResponse Get Chat Completion Field Options Counts
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/chat-completion-fields/{field_name}/options-counts (the `GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost` operationId).
	GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithResponse(ctx context.Context, fieldName string, body GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse, error)

	// DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBodyWithResponse Delete multiple records from datasets
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/dataset-records/bulk-delete (the `DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost` operationId).
	DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse, error)

	// DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithResponse Delete multiple records from datasets
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/dataset-records/bulk-delete (the `DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost` operationId).
	DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithResponse(ctx context.Context, body DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse, error)

	// DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteWithResponse Delete a record from a dataset
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/observability/dataset-records/{dataset_record_id} (the `DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDelete` operationId).
	DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse, error)

	// GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetWithResponse Get the content of a given conversation from a dataset
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/observability/dataset-records/{dataset_record_id} (the `GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGet` operationId).
	GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse, error)

	// JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBodyWithResponse Run Judge on a dataset record based on the given options
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/dataset-records/{dataset_record_id}/live-judging (the `JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost` operationId).
	JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithBodyWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse, error)

	// JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithResponse Run Judge on a dataset record based on the given options
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/dataset-records/{dataset_record_id}/live-judging (the `JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost` operationId).
	JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, body JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse, error)

	// UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBodyWithResponse Update a dataset record conversation payload
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/payload (the `UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut` operationId).
	UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithBodyWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse, error)

	// UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithResponse Update a dataset record conversation payload
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/payload (the `UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut` operationId).
	UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, body UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse, error)

	// UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBodyWithResponse Update conversation properties
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/properties (the `UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut` operationId).
	UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithBodyWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse, error)

	// UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithResponse Update conversation properties
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v1/observability/dataset-records/{dataset_record_id}/properties (the `UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut` operationId).
	UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithResponse(ctx context.Context, datasetRecordId openapi_types.UUID, body UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse, error)

	// GetDatasetsV1ObservabilityDatasetsGetWithResponse List existing datasets
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/observability/datasets (the `GetDatasetsV1ObservabilityDatasetsGet` operationId).
	GetDatasetsV1ObservabilityDatasetsGetWithResponse(ctx context.Context, params *GetDatasetsV1ObservabilityDatasetsGetParams, reqEditors ...RequestEditorFn) (*GetDatasetsV1ObservabilityDatasetsGetResponse, error)

	// CreateDatasetV1ObservabilityDatasetsPostWithBodyWithResponse Create a new empty dataset
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/datasets (the `CreateDatasetV1ObservabilityDatasetsPost` operationId).
	CreateDatasetV1ObservabilityDatasetsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatasetV1ObservabilityDatasetsPostResponse, error)

	// CreateDatasetV1ObservabilityDatasetsPostWithResponse Create a new empty dataset
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/datasets (the `CreateDatasetV1ObservabilityDatasetsPost` operationId).
	CreateDatasetV1ObservabilityDatasetsPostWithResponse(ctx context.Context, body CreateDatasetV1ObservabilityDatasetsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatasetV1ObservabilityDatasetsPostResponse, error)

	// DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteWithResponse Delete a dataset
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/observability/datasets/{dataset_id} (the `DeleteDatasetV1ObservabilityDatasetsDatasetIdDelete` operationId).
	DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteWithResponse(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse, error)

	// GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetWithResponse Get dataset by id
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/observability/datasets/{dataset_id} (the `GetDatasetByIdV1ObservabilityDatasetsDatasetIdGet` operationId).
	GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse, error)

	// UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBodyWithResponse Patch dataset
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v1/observability/datasets/{dataset_id} (the `UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch` operationId).
	UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse, error)

	// UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithResponse Patch dataset
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v1/observability/datasets/{dataset_id} (the `UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch` operationId).
	UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithResponse(ctx context.Context, datasetId openapi_types.UUID, body UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse, error)

	// ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetWithResponse Export to the Files API and retrieve presigned URL to download the resulting JSONL file
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/observability/datasets/{dataset_id}/exports/to-jsonl (the `ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGet` operationId).
	ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse, error)

	// PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBodyWithResponse Populate the dataset with a campaign
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-campaign (the `PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost` operationId).
	PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse, error)

	// PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithResponse Populate the dataset with a campaign
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-campaign (the `PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost` operationId).
	PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse, error)

	// PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBodyWithResponse Populate the dataset with samples from another dataset
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-dataset (the `PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost` operationId).
	PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse, error)

	// PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithResponse Populate the dataset with samples from another dataset
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-dataset (the `PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost` operationId).
	PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse, error)

	// PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBodyWithResponse Populate the dataset with samples from the explorer
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-explorer (the `PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost` operationId).
	PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse, error)

	// PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithResponse Populate the dataset with samples from the explorer
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-explorer (the `PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost` operationId).
	PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse, error)

	// PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBodyWithResponse Populate the dataset with samples from an uploaded file
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-file (the `PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost` operationId).
	PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse, error)

	// PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithResponse Populate the dataset with samples from an uploaded file
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-file (the `PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost` operationId).
	PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithResponse(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse, error)

	// PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBodyWithResponse Populate the dataset with samples from the playground
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-playground (the `PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost` operationId).
	PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse, error)

	// PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithResponse Populate the dataset with samples from the playground
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/imports/from-playground (the `PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost` operationId).
	PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, body PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostJSONRequestBody, reqEditors ...RequestEditorFn) (*PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse, error)

	// GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetWithResponse List existing records in the dataset
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/observability/datasets/{dataset_id}/records (the `GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet` operationId).
	GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, params *GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetParams, reqEditors ...RequestEditorFn) (*GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse, error)

	// CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBodyWithResponse Add a conversation to the dataset
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/records (the `CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost` operationId).
	CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithBodyWithResponse(ctx context.Context, datasetId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse, error)

	// CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithResponse Add a conversation to the dataset
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/datasets/{dataset_id}/records (the `CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost` operationId).
	CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithResponse(ctx context.Context, datasetId openapi_types.UUID, body CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse, error)

	// GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetWithResponse List import tasks for the given dataset
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/observability/datasets/{dataset_id}/tasks (the `GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet` operationId).
	GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, params *GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetParams, reqEditors ...RequestEditorFn) (*GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse, error)

	// GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetWithResponse Get status of a dataset import task
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/observability/datasets/{dataset_id}/tasks/{task_id} (the `GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGet` operationId).
	GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetWithResponse(ctx context.Context, datasetId openapi_types.UUID, taskId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse, error)

	// GetJudgesV1ObservabilityJudgesGetWithResponse Get judges with optional filtering and search
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/observability/judges (the `GetJudgesV1ObservabilityJudgesGet` operationId).
	GetJudgesV1ObservabilityJudgesGetWithResponse(ctx context.Context, params *GetJudgesV1ObservabilityJudgesGetParams, reqEditors ...RequestEditorFn) (*GetJudgesV1ObservabilityJudgesGetResponse, error)

	// CreateJudgeV1ObservabilityJudgesPostWithBodyWithResponse Create a new judge
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/judges (the `CreateJudgeV1ObservabilityJudgesPost` operationId).
	CreateJudgeV1ObservabilityJudgesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateJudgeV1ObservabilityJudgesPostResponse, error)

	// CreateJudgeV1ObservabilityJudgesPostWithResponse Create a new judge
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/judges (the `CreateJudgeV1ObservabilityJudgesPost` operationId).
	CreateJudgeV1ObservabilityJudgesPostWithResponse(ctx context.Context, body CreateJudgeV1ObservabilityJudgesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateJudgeV1ObservabilityJudgesPostResponse, error)

	// DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteWithResponse Delete a judge
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/observability/judges/{judge_id} (the `DeleteJudgeV1ObservabilityJudgesJudgeIdDelete` operationId).
	DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteWithResponse(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse, error)

	// GetJudgeByIdV1ObservabilityJudgesJudgeIdGetWithResponse Get judge by id
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/observability/judges/{judge_id} (the `GetJudgeByIdV1ObservabilityJudgesJudgeIdGet` operationId).
	GetJudgeByIdV1ObservabilityJudgesJudgeIdGetWithResponse(ctx context.Context, judgeId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse, error)

	// UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBodyWithResponse Update a judge
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v1/observability/judges/{judge_id} (the `UpdateJudgeV1ObservabilityJudgesJudgeIdPut` operationId).
	UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithBodyWithResponse(ctx context.Context, judgeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse, error)

	// UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithResponse Update a judge
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v1/observability/judges/{judge_id} (the `UpdateJudgeV1ObservabilityJudgesJudgeIdPut` operationId).
	UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithResponse(ctx context.Context, judgeId openapi_types.UUID, body UpdateJudgeV1ObservabilityJudgesJudgeIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse, error)

	// JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBodyWithResponse Run a saved judge on a conversation
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/judges/{judge_id}/live-judging (the `JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost` operationId).
	JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithBodyWithResponse(ctx context.Context, judgeId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse, error)

	// JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithResponse Run a saved judge on a conversation
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/observability/judges/{judge_id}/live-judging (the `JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost` operationId).
	JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithResponse(ctx context.Context, judgeId openapi_types.UUID, body JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostJSONRequestBody, reqEditors ...RequestEditorFn) (*JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse, error)

	// OcrV1OcrPostWithBodyWithResponse OCR
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/ocr (the `OcrV1OcrPost` operationId).
	OcrV1OcrPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OcrV1OcrPostResponse, error)

	// OcrV1OcrPostWithResponse OCR
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/ocr (the `OcrV1OcrPost` operationId).
	OcrV1OcrPostWithResponse(ctx context.Context, body OcrV1OcrPostJSONRequestBody, reqEditors ...RequestEditorFn) (*OcrV1OcrPostResponse, error)

	// ListDeploymentsV1WorkflowsDeploymentsGetWithResponse List Deployments
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/deployments (the `ListDeploymentsV1WorkflowsDeploymentsGet` operationId).
	ListDeploymentsV1WorkflowsDeploymentsGetWithResponse(ctx context.Context, params *ListDeploymentsV1WorkflowsDeploymentsGetParams, reqEditors ...RequestEditorFn) (*ListDeploymentsV1WorkflowsDeploymentsGetResponse, error)

	// GetDeploymentV1WorkflowsDeploymentsNameGetWithResponse Get Deployment
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/deployments/{name} (the `GetDeploymentV1WorkflowsDeploymentsNameGet` operationId).
	GetDeploymentV1WorkflowsDeploymentsNameGetWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetDeploymentV1WorkflowsDeploymentsNameGetResponse, error)

	// GetWorkflowEventsV1WorkflowsEventsListGetWithResponse Get Workflow Events
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/events/list (the `GetWorkflowEventsV1WorkflowsEventsListGet` operationId).
	GetWorkflowEventsV1WorkflowsEventsListGetWithResponse(ctx context.Context, params *GetWorkflowEventsV1WorkflowsEventsListGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowEventsV1WorkflowsEventsListGetResponse, error)

	// GetStreamEventsV1WorkflowsEventsStreamGetWithResponse Get Stream Events
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/events/stream (the `GetStreamEventsV1WorkflowsEventsStreamGet` operationId).
	GetStreamEventsV1WorkflowsEventsStreamGetWithResponse(ctx context.Context, params *GetStreamEventsV1WorkflowsEventsStreamGetParams, reqEditors ...RequestEditorFn) (*GetStreamEventsV1WorkflowsEventsStreamGetResponse, error)

	// BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBodyWithResponse Batch Cancel Workflow Executions
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/executions/cancel (the `BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost` operationId).
	BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse, error)

	// BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithResponse Batch Cancel Workflow Executions
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/executions/cancel (the `BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPost` operationId).
	BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostWithResponse(ctx context.Context, body BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchCancelWorkflowExecutionsV1WorkflowsExecutionsCancelPostResponse, error)

	// BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBodyWithResponse Batch Terminate Workflow Executions
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/executions/terminate (the `BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost` operationId).
	BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse, error)

	// BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithResponse Batch Terminate Workflow Executions
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/executions/terminate (the `BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePost` operationId).
	BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostWithResponse(ctx context.Context, body BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchTerminateWorkflowExecutionsV1WorkflowsExecutionsTerminatePostResponse, error)

	// GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetWithResponse Get Workflow Execution
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/executions/{execution_id} (the `GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGet` operationId).
	GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse, error)

	// CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostWithResponse Cancel Workflow Execution
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/cancel (the `CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPost` operationId).
	CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*CancelWorkflowExecutionV1WorkflowsExecutionsExecutionIdCancelPostResponse, error)

	// GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetWithResponse Get Workflow Execution History
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/executions/{execution_id}/history (the `GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet` operationId).
	GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetWithResponse(ctx context.Context, executionId string, params *GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse, error)

	// QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBodyWithResponse Query Workflow Execution
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/queries (the `QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost` operationId).
	QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse, error)

	// QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithResponse Query Workflow Execution
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/queries (the `QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost` operationId).
	QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithResponse(ctx context.Context, executionId string, body QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse, error)

	// ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBodyWithResponse Reset Workflow
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/reset (the `ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost` operationId).
	ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse, error)

	// ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithResponse Reset Workflow
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/reset (the `ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost` operationId).
	ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithResponse(ctx context.Context, executionId string, body ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse, error)

	// SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBodyWithResponse Signal Workflow Execution
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/signals (the `SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost` operationId).
	SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse, error)

	// SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithResponse Signal Workflow Execution
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/signals (the `SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost` operationId).
	SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithResponse(ctx context.Context, executionId string, body SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse, error)

	// StreamV1WorkflowsExecutionsExecutionIdStreamGetWithResponse Stream
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/executions/{execution_id}/stream (the `StreamV1WorkflowsExecutionsExecutionIdStreamGet` operationId).
	StreamV1WorkflowsExecutionsExecutionIdStreamGetWithResponse(ctx context.Context, executionId string, params *StreamV1WorkflowsExecutionsExecutionIdStreamGetParams, reqEditors ...RequestEditorFn) (*StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse, error)

	// TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostWithResponse Terminate Workflow Execution
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/terminate (the `TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePost` operationId).
	TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse, error)

	// GetWorkflowExecutionTraceEventsWithResponse Get Workflow Execution Trace Events
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/executions/{execution_id}/trace/events (the `GetWorkflowExecutionTraceEvents` operationId).
	GetWorkflowExecutionTraceEventsWithResponse(ctx context.Context, executionId string, params *GetWorkflowExecutionTraceEventsParams, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionTraceEventsResponse, error)

	// GetWorkflowExecutionTraceOtelWithResponse Get Workflow Execution Trace Otel
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/executions/{execution_id}/trace/otel (the `GetWorkflowExecutionTraceOtel` operationId).
	GetWorkflowExecutionTraceOtelWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionTraceOtelResponse, error)

	// GetWorkflowExecutionTraceSummaryWithResponse Get Workflow Execution Trace Summary
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/executions/{execution_id}/trace/summary (the `GetWorkflowExecutionTraceSummary` operationId).
	GetWorkflowExecutionTraceSummaryWithResponse(ctx context.Context, executionId string, reqEditors ...RequestEditorFn) (*GetWorkflowExecutionTraceSummaryResponse, error)

	// UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBodyWithResponse Update Workflow Execution
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/updates (the `UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost` operationId).
	UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithBodyWithResponse(ctx context.Context, executionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse, error)

	// UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithResponse Update Workflow Execution
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/executions/{execution_id}/updates (the `UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost` operationId).
	UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithResponse(ctx context.Context, executionId string, body UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse, error)

	// GetWorkflowRegistrationsV1WorkflowsRegistrationsGetWithResponse Get Workflow Registrations
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/registrations (the `GetWorkflowRegistrationsV1WorkflowsRegistrationsGet` operationId).
	GetWorkflowRegistrationsV1WorkflowsRegistrationsGetWithResponse(ctx context.Context, params *GetWorkflowRegistrationsV1WorkflowsRegistrationsGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse, error)

	// GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetWithResponse Get Workflow Registration
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/registrations/{workflow_registration_id} (the `GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet` operationId).
	GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetWithResponse(ctx context.Context, workflowRegistrationId openapi_types.UUID, params *GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse, error)

	// ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBodyWithResponse Execute Workflow Registration
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/registrations/{workflow_registration_id}/execute (the `ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithBodyWithResponse(ctx context.Context, workflowRegistrationId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse, error)

	// ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithResponse Execute Workflow Registration
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/registrations/{workflow_registration_id}/execute (the `ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost` operationId).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithResponse(ctx context.Context, workflowRegistrationId openapi_types.UUID, body ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse, error)

	// ListRunsV1WorkflowsRunsGetWithResponse List Runs
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/runs (the `ListRunsV1WorkflowsRunsGet` operationId).
	ListRunsV1WorkflowsRunsGetWithResponse(ctx context.Context, params *ListRunsV1WorkflowsRunsGetParams, reqEditors ...RequestEditorFn) (*ListRunsV1WorkflowsRunsGetResponse, error)

	// GetRunV1WorkflowsRunsRunIdGetWithResponse Get Run
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/runs/{run_id} (the `GetRunV1WorkflowsRunsRunIdGet` operationId).
	GetRunV1WorkflowsRunsRunIdGetWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRunV1WorkflowsRunsRunIdGetResponse, error)

	// GetRunHistoryV1WorkflowsRunsRunIdHistoryGetWithResponse Get Run History
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/runs/{run_id}/history (the `GetRunHistoryV1WorkflowsRunsRunIdHistoryGet` operationId).
	GetRunHistoryV1WorkflowsRunsRunIdHistoryGetWithResponse(ctx context.Context, runId openapi_types.UUID, params *GetRunHistoryV1WorkflowsRunsRunIdHistoryGetParams, reqEditors ...RequestEditorFn) (*GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse, error)

	// GetSchedulesV1WorkflowsSchedulesGetWithResponse Get Schedules
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/schedules (the `GetSchedulesV1WorkflowsSchedulesGet` operationId).
	GetSchedulesV1WorkflowsSchedulesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetSchedulesV1WorkflowsSchedulesGetResponse, error)

	// ScheduleWorkflowV1WorkflowsSchedulesPostWithBodyWithResponse Schedule Workflow
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/schedules (the `ScheduleWorkflowV1WorkflowsSchedulesPost` operationId).
	ScheduleWorkflowV1WorkflowsSchedulesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScheduleWorkflowV1WorkflowsSchedulesPostResponse, error)

	// ScheduleWorkflowV1WorkflowsSchedulesPostWithResponse Schedule Workflow
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/schedules (the `ScheduleWorkflowV1WorkflowsSchedulesPost` operationId).
	ScheduleWorkflowV1WorkflowsSchedulesPostWithResponse(ctx context.Context, body ScheduleWorkflowV1WorkflowsSchedulesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleWorkflowV1WorkflowsSchedulesPostResponse, error)

	// UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteWithResponse Unschedule Workflow
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v1/workflows/schedules/{schedule_id} (the `UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDelete` operationId).
	UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteWithResponse(ctx context.Context, scheduleId string, reqEditors ...RequestEditorFn) (*UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse, error)

	// GetWorkerInfoV1WorkflowsWorkersWhoamiGetWithResponse Get Worker Info
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/workers/whoami (the `GetWorkerInfoV1WorkflowsWorkersWhoamiGet` operationId).
	GetWorkerInfoV1WorkflowsWorkersWhoamiGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse, error)

	// GetWorkflowV1WorkflowsWorkflowIdentifierGetWithResponse Get Workflow
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/{workflow_identifier} (the `GetWorkflowV1WorkflowsWorkflowIdentifierGet` operationId).
	GetWorkflowV1WorkflowsWorkflowIdentifierGetWithResponse(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse, error)

	// UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBodyWithResponse Update Workflow
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v1/workflows/{workflow_identifier} (the `UpdateWorkflowV1WorkflowsWorkflowIdentifierPut` operationId).
	UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithBodyWithResponse(ctx context.Context, workflowIdentifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse, error)

	// UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithResponse Update Workflow
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v1/workflows/{workflow_identifier} (the `UpdateWorkflowV1WorkflowsWorkflowIdentifierPut` operationId).
	UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithResponse(ctx context.Context, workflowIdentifier string, body UpdateWorkflowV1WorkflowsWorkflowIdentifierPutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse, error)

	// ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutWithResponse Archive Workflow
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v1/workflows/{workflow_identifier}/archive (the `ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePut` operationId).
	ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutWithResponse(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*ArchiveWorkflowV1WorkflowsWorkflowIdentifierArchivePutResponse, error)

	// ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBodyWithResponse Execute Workflow
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/{workflow_identifier}/execute (the `ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost` operationId).
	ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithBodyWithResponse(ctx context.Context, workflowIdentifier string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse, error)

	// ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithResponse Execute Workflow
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v1/workflows/{workflow_identifier}/execute (the `ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost` operationId).
	ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithResponse(ctx context.Context, workflowIdentifier string, body ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse, error)

	// UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutWithResponse Unarchive Workflow
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v1/workflows/{workflow_identifier}/unarchive (the `UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePut` operationId).
	UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutWithResponse(ctx context.Context, workflowIdentifier string, reqEditors ...RequestEditorFn) (*UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse, error)

	// GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetWithResponse Get Workflow Metrics
	//
	// Get comprehensive metrics for a specific workflow.
	//
	// Args:
	//     workflow_name: The name of the workflow type to get metrics for
	//     start_time: Optional start time filter (ISO 8601 format)
	//     end_time: Optional end time filter (ISO 8601 format)
	//
	// Returns:
	//     WorkflowMetrics: Dictionary containing metrics:
	//         - execution_count: Total number of executions
	//         - success_count: Number of successful executions
	//         - error_count: Number of failed/terminated executions
	//         - average_latency_ms: Average execution duration in milliseconds
	//         - retry_rate: Proportion of workflows with retries
	//         - latency_over_time: Time-series data of execution durations
	//
	// Example:
	//     GET /v1/workflows/MyWorkflow/metrics
	//     GET /v1/workflows/MyWorkflow/metrics?start_time=2025-01-01T00:00:00Z
	//     GET /v1/workflows/MyWorkflow/metrics?start_time=2025-01-01T00:00:00Z&end_time=2025-12-31T23:59:59Z
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/workflows/{workflow_name}/metrics (the `GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet` operationId).
	GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetWithResponse(ctx context.Context, workflowName string, params *GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetParams, reqEditors ...RequestEditorFn) (*GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CodeInterpreterTool

type CodeInterpreterTool struct {
	ToolConfiguration *ToolConfiguration       `json:"tool_configuration,omitempty"`
	Type              *CodeInterpreterToolType `json:"type,omitempty"`
}

CodeInterpreterTool defines model for CodeInterpreterTool.

type CodeInterpreterToolType

type CodeInterpreterToolType string

CodeInterpreterToolType defines model for CodeInterpreterTool.Type.

const (
	CodeInterpreterToolTypeCodeInterpreter CodeInterpreterToolType = "code_interpreter"
)

Defines values for CodeInterpreterToolType.

func (CodeInterpreterToolType) Valid

func (e CodeInterpreterToolType) Valid() bool

Valid indicates whether the value is a known member of the CodeInterpreterToolType enum.

type CompletionArgs

type CompletionArgs struct {
	FrequencyPenalty *float32    `json:"frequency_penalty,omitempty"`
	MaxTokens        *int        `json:"max_tokens,omitempty"`
	Prediction       *Prediction `json:"prediction,omitempty"`
	PresencePenalty  *float32    `json:"presence_penalty,omitempty"`
	RandomSeed       *int        `json:"random_seed,omitempty"`

	// ReasoningEffort Controls the reasoning effort level for reasoning models. "high" enables comprehensive reasoning traces, "none" disables reasoning effort.
	ReasoningEffort *CompletionArgsReasoningEffort `json:"reasoning_effort,omitempty"`
	ResponseFormat  *ResponseFormat                `json:"response_format,omitempty"`
	Stop            *CompletionArgsStop            `json:"stop,omitempty"`
	Temperature     *float32                       `json:"temperature,omitempty"`
	ToolChoice      *ToolChoiceEnum                `json:"tool_choice,omitempty"`
	TopP            *float32                       `json:"top_p,omitempty"`
}

CompletionArgs White-listed arguments from the completion API

type CompletionArgsReasoningEffort

type CompletionArgsReasoningEffort string

CompletionArgsReasoningEffort defines model for CompletionArgs.ReasoningEffort.

const (
	CompletionArgsReasoningEffortHigh CompletionArgsReasoningEffort = "high"
	CompletionArgsReasoningEffortNone CompletionArgsReasoningEffort = "none"
)

Defines values for CompletionArgsReasoningEffort.

func (CompletionArgsReasoningEffort) Valid

Valid indicates whether the value is a known member of the CompletionArgsReasoningEffort enum.

type CompletionArgsStop

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

CompletionArgsStop defines model for CompletionArgsStop.

func (CompletionArgsStop) AsCompletionArgsStop0

func (t CompletionArgsStop) AsCompletionArgsStop0() (CompletionArgsStop0, error)

AsCompletionArgsStop0 returns the union data inside the CompletionArgsStop as a CompletionArgsStop0

func (CompletionArgsStop) AsCompletionArgsStop1

func (t CompletionArgsStop) AsCompletionArgsStop1() (CompletionArgsStop1, error)

AsCompletionArgsStop1 returns the union data inside the CompletionArgsStop as a CompletionArgsStop1

func (*CompletionArgsStop) FromCompletionArgsStop0

func (t *CompletionArgsStop) FromCompletionArgsStop0(v CompletionArgsStop0) error

FromCompletionArgsStop0 overwrites any union data inside the CompletionArgsStop as the provided CompletionArgsStop0

func (*CompletionArgsStop) FromCompletionArgsStop1

func (t *CompletionArgsStop) FromCompletionArgsStop1(v CompletionArgsStop1) error

FromCompletionArgsStop1 overwrites any union data inside the CompletionArgsStop as the provided CompletionArgsStop1

func (CompletionArgsStop) MarshalJSON

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

func (*CompletionArgsStop) MergeCompletionArgsStop0

func (t *CompletionArgsStop) MergeCompletionArgsStop0(v CompletionArgsStop0) error

MergeCompletionArgsStop0 performs a merge with any union data inside the CompletionArgsStop, using the provided CompletionArgsStop0

func (*CompletionArgsStop) MergeCompletionArgsStop1

func (t *CompletionArgsStop) MergeCompletionArgsStop1(v CompletionArgsStop1) error

MergeCompletionArgsStop1 performs a merge with any union data inside the CompletionArgsStop, using the provided CompletionArgsStop1

func (*CompletionArgsStop) UnmarshalJSON

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

type CompletionArgsStop0

type CompletionArgsStop0 = string

CompletionArgsStop0 defines model for CompletionArgsStop.0.

type CompletionArgsStop1

type CompletionArgsStop1 = []string

CompletionArgsStop1 defines model for CompletionArgsStop.1.

type CompletionChunk

type CompletionChunk struct {
	Choices []CompletionResponseStreamChoice `json:"choices"`
	Created *int                             `json:"created,omitempty"`
	Id      string                           `json:"id"`
	Model   string                           `json:"model"`
	Object  *string                          `json:"object,omitempty"`
	Usage   *UsageInfo                       `json:"usage,omitempty"`
}

CompletionChunk defines model for CompletionChunk.

type CompletionDetailedJobOut

type CompletionDetailedJobOut struct {
	AutoStart   bool             `json:"auto_start"`
	Checkpoints *[]CheckpointOut `json:"checkpoints,omitempty"`
	CreatedAt   int              `json:"created_at"`

	// Events Event items are created every time the status of a fine-tuning job changes. The timestamped list of all events is accessible here.
	Events          *[]EventOut                                   `json:"events,omitempty"`
	FineTunedModel  *string                                       `json:"fine_tuned_model,omitempty"`
	Hyperparameters CompletionTrainingParameters                  `json:"hyperparameters"`
	Id              openapi_types.UUID                            `json:"id"`
	Integrations    *[]CompletionDetailedJobOut_Integrations_Item `json:"integrations,omitempty"`
	JobType         *CompletionDetailedJobOutJobType              `json:"job_type,omitempty"`
	Metadata        *JobMetadataOut                               `json:"metadata,omitempty"`
	Model           string                                        `json:"model"`
	ModifiedAt      int                                           `json:"modified_at"`
	Object          *CompletionDetailedJobOutObject               `json:"object,omitempty"`
	Repositories    *[]CompletionDetailedJobOut_Repositories_Item `json:"repositories,omitempty"`
	Status          CompletionDetailedJobOutStatus                `json:"status"`
	Suffix          *string                                       `json:"suffix,omitempty"`
	TrainedTokens   *int                                          `json:"trained_tokens,omitempty"`
	TrainingFiles   []openapi_types.UUID                          `json:"training_files"`
	ValidationFiles *[]openapi_types.UUID                         `json:"validation_files,omitempty"`
}

CompletionDetailedJobOut defines model for CompletionDetailedJobOut.

type CompletionDetailedJobOutJobType

type CompletionDetailedJobOutJobType string

CompletionDetailedJobOutJobType defines model for CompletionDetailedJobOut.JobType.

const (
	CompletionDetailedJobOutJobTypeCompletion CompletionDetailedJobOutJobType = "completion"
)

Defines values for CompletionDetailedJobOutJobType.

func (CompletionDetailedJobOutJobType) Valid

Valid indicates whether the value is a known member of the CompletionDetailedJobOutJobType enum.

type CompletionDetailedJobOutObject

type CompletionDetailedJobOutObject string

CompletionDetailedJobOutObject defines model for CompletionDetailedJobOut.Object.

const (
	CompletionDetailedJobOutObjectJob CompletionDetailedJobOutObject = "job"
)

Defines values for CompletionDetailedJobOutObject.

func (CompletionDetailedJobOutObject) Valid

Valid indicates whether the value is a known member of the CompletionDetailedJobOutObject enum.

type CompletionDetailedJobOutStatus

type CompletionDetailedJobOutStatus string

CompletionDetailedJobOutStatus defines model for CompletionDetailedJobOut.Status.

const (
	CompletionDetailedJobOutStatusCANCELLATIONREQUESTED CompletionDetailedJobOutStatus = "CANCELLATION_REQUESTED"
	CompletionDetailedJobOutStatusCANCELLED             CompletionDetailedJobOutStatus = "CANCELLED"
	CompletionDetailedJobOutStatusFAILED                CompletionDetailedJobOutStatus = "FAILED"
	CompletionDetailedJobOutStatusFAILEDVALIDATION      CompletionDetailedJobOutStatus = "FAILED_VALIDATION"
	CompletionDetailedJobOutStatusQUEUED                CompletionDetailedJobOutStatus = "QUEUED"
	CompletionDetailedJobOutStatusRUNNING               CompletionDetailedJobOutStatus = "RUNNING"
	CompletionDetailedJobOutStatusSTARTED               CompletionDetailedJobOutStatus = "STARTED"
	CompletionDetailedJobOutStatusSUCCESS               CompletionDetailedJobOutStatus = "SUCCESS"
	CompletionDetailedJobOutStatusVALIDATED             CompletionDetailedJobOutStatus = "VALIDATED"
	CompletionDetailedJobOutStatusVALIDATING            CompletionDetailedJobOutStatus = "VALIDATING"
)

Defines values for CompletionDetailedJobOutStatus.

func (CompletionDetailedJobOutStatus) Valid

Valid indicates whether the value is a known member of the CompletionDetailedJobOutStatus enum.

type CompletionDetailedJobOut_Integrations_Item

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

CompletionDetailedJobOut_Integrations_Item defines model for CompletionDetailedJobOut.integrations.Item.

func (CompletionDetailedJobOut_Integrations_Item) AsWandbIntegrationOut

AsWandbIntegrationOut returns the union data inside the CompletionDetailedJobOut_Integrations_Item as a WandbIntegrationOut

func (CompletionDetailedJobOut_Integrations_Item) Discriminator

func (*CompletionDetailedJobOut_Integrations_Item) FromWandbIntegrationOut

FromWandbIntegrationOut overwrites any union data inside the CompletionDetailedJobOut_Integrations_Item as the provided WandbIntegrationOut

func (CompletionDetailedJobOut_Integrations_Item) MarshalJSON

func (*CompletionDetailedJobOut_Integrations_Item) MergeWandbIntegrationOut

MergeWandbIntegrationOut performs a merge with any union data inside the CompletionDetailedJobOut_Integrations_Item, using the provided WandbIntegrationOut

func (*CompletionDetailedJobOut_Integrations_Item) UnmarshalJSON

func (CompletionDetailedJobOut_Integrations_Item) ValueByDiscriminator

func (t CompletionDetailedJobOut_Integrations_Item) ValueByDiscriminator() (interface{}, error)

type CompletionDetailedJobOut_Repositories_Item

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

CompletionDetailedJobOut_Repositories_Item defines model for CompletionDetailedJobOut.repositories.Item.

func (CompletionDetailedJobOut_Repositories_Item) AsGithubRepositoryOut

AsGithubRepositoryOut returns the union data inside the CompletionDetailedJobOut_Repositories_Item as a GithubRepositoryOut

func (CompletionDetailedJobOut_Repositories_Item) Discriminator

func (*CompletionDetailedJobOut_Repositories_Item) FromGithubRepositoryOut

FromGithubRepositoryOut overwrites any union data inside the CompletionDetailedJobOut_Repositories_Item as the provided GithubRepositoryOut

func (CompletionDetailedJobOut_Repositories_Item) MarshalJSON

func (*CompletionDetailedJobOut_Repositories_Item) MergeGithubRepositoryOut

MergeGithubRepositoryOut performs a merge with any union data inside the CompletionDetailedJobOut_Repositories_Item, using the provided GithubRepositoryOut

func (*CompletionDetailedJobOut_Repositories_Item) UnmarshalJSON

func (CompletionDetailedJobOut_Repositories_Item) ValueByDiscriminator

func (t CompletionDetailedJobOut_Repositories_Item) ValueByDiscriminator() (interface{}, error)

type CompletionEvent

type CompletionEvent struct {
	Data CompletionChunk `json:"data"`
}

CompletionEvent defines model for CompletionEvent.

type CompletionFTModelOut

type CompletionFTModelOut struct {
	Aliases          *[]string                      `json:"aliases,omitempty"`
	Archived         bool                           `json:"archived"`
	Capabilities     FTModelCapabilitiesOut         `json:"capabilities"`
	Created          int                            `json:"created"`
	Description      *string                        `json:"description,omitempty"`
	Id               string                         `json:"id"`
	Job              openapi_types.UUID             `json:"job"`
	MaxContextLength *int                           `json:"max_context_length,omitempty"`
	ModelType        *CompletionFTModelOutModelType `json:"model_type,omitempty"`
	Name             *string                        `json:"name,omitempty"`
	Object           *CompletionFTModelOutObject    `json:"object,omitempty"`
	OwnedBy          string                         `json:"owned_by"`
	Root             string                         `json:"root"`
	RootVersion      string                         `json:"root_version"`
	WorkspaceId      string                         `json:"workspace_id"`
}

CompletionFTModelOut defines model for CompletionFTModelOut.

type CompletionFTModelOutModelType

type CompletionFTModelOutModelType string

CompletionFTModelOutModelType defines model for CompletionFTModelOut.ModelType.

const (
	CompletionFTModelOutModelTypeCompletion CompletionFTModelOutModelType = "completion"
)

Defines values for CompletionFTModelOutModelType.

func (CompletionFTModelOutModelType) Valid

Valid indicates whether the value is a known member of the CompletionFTModelOutModelType enum.

type CompletionFTModelOutObject

type CompletionFTModelOutObject string

CompletionFTModelOutObject defines model for CompletionFTModelOut.Object.

const (
	CompletionFTModelOutObjectModel CompletionFTModelOutObject = "model"
)

Defines values for CompletionFTModelOutObject.

func (CompletionFTModelOutObject) Valid

func (e CompletionFTModelOutObject) Valid() bool

Valid indicates whether the value is a known member of the CompletionFTModelOutObject enum.

type CompletionJobOut

type CompletionJobOut struct {
	AutoStart bool `json:"auto_start"`

	// CreatedAt The UNIX timestamp (in seconds) for when the fine-tuning job was created.
	CreatedAt int `json:"created_at"`

	// FineTunedModel The name of the fine-tuned model that is being created. The value will be `null` if the fine-tuning job is still running.
	FineTunedModel  *string                      `json:"fine_tuned_model,omitempty"`
	Hyperparameters CompletionTrainingParameters `json:"hyperparameters"`

	// Id The ID of the job.
	Id openapi_types.UUID `json:"id"`

	// Integrations A list of integrations enabled for your fine-tuning job.
	Integrations *[]CompletionJobOut_Integrations_Item `json:"integrations,omitempty"`

	// JobType The type of job (`FT` for fine-tuning).
	JobType  *CompletionJobOutJobType `json:"job_type,omitempty"`
	Metadata *JobMetadataOut          `json:"metadata,omitempty"`
	Model    string                   `json:"model"`

	// ModifiedAt The UNIX timestamp (in seconds) for when the fine-tuning job was last modified.
	ModifiedAt int `json:"modified_at"`

	// Object The object type of the fine-tuning job.
	Object       *CompletionJobOutObject               `json:"object,omitempty"`
	Repositories *[]CompletionJobOut_Repositories_Item `json:"repositories,omitempty"`

	// Status The current status of the fine-tuning job.
	Status CompletionJobOutStatus `json:"status"`

	// Suffix Optional text/code that adds more context for the model. When given a `prompt` and a `suffix` the model will fill what is between them. When `suffix` is not provided, the model will simply execute completion starting with `prompt`.
	Suffix *string `json:"suffix,omitempty"`

	// TrainedTokens Total number of tokens trained.
	TrainedTokens *int `json:"trained_tokens,omitempty"`

	// TrainingFiles A list containing the IDs of uploaded files that contain training data.
	TrainingFiles []openapi_types.UUID `json:"training_files"`

	// ValidationFiles A list containing the IDs of uploaded files that contain validation data.
	ValidationFiles *[]openapi_types.UUID `json:"validation_files,omitempty"`
}

CompletionJobOut defines model for CompletionJobOut.

type CompletionJobOutJobType

type CompletionJobOutJobType string

CompletionJobOutJobType The type of job (`FT` for fine-tuning).

const (
	CompletionJobOutJobTypeCompletion CompletionJobOutJobType = "completion"
)

Defines values for CompletionJobOutJobType.

func (CompletionJobOutJobType) Valid

func (e CompletionJobOutJobType) Valid() bool

Valid indicates whether the value is a known member of the CompletionJobOutJobType enum.

type CompletionJobOutObject

type CompletionJobOutObject string

CompletionJobOutObject The object type of the fine-tuning job.

const (
	CompletionJobOutObjectJob CompletionJobOutObject = "job"
)

Defines values for CompletionJobOutObject.

func (CompletionJobOutObject) Valid

func (e CompletionJobOutObject) Valid() bool

Valid indicates whether the value is a known member of the CompletionJobOutObject enum.

type CompletionJobOutStatus

type CompletionJobOutStatus string

CompletionJobOutStatus The current status of the fine-tuning job.

const (
	CompletionJobOutStatusCANCELLATIONREQUESTED CompletionJobOutStatus = "CANCELLATION_REQUESTED"
	CompletionJobOutStatusCANCELLED             CompletionJobOutStatus = "CANCELLED"
	CompletionJobOutStatusFAILED                CompletionJobOutStatus = "FAILED"
	CompletionJobOutStatusFAILEDVALIDATION      CompletionJobOutStatus = "FAILED_VALIDATION"
	CompletionJobOutStatusQUEUED                CompletionJobOutStatus = "QUEUED"
	CompletionJobOutStatusRUNNING               CompletionJobOutStatus = "RUNNING"
	CompletionJobOutStatusSTARTED               CompletionJobOutStatus = "STARTED"
	CompletionJobOutStatusSUCCESS               CompletionJobOutStatus = "SUCCESS"
	CompletionJobOutStatusVALIDATED             CompletionJobOutStatus = "VALIDATED"
	CompletionJobOutStatusVALIDATING            CompletionJobOutStatus = "VALIDATING"
)

Defines values for CompletionJobOutStatus.

func (CompletionJobOutStatus) Valid

func (e CompletionJobOutStatus) Valid() bool

Valid indicates whether the value is a known member of the CompletionJobOutStatus enum.

type CompletionJobOut_Integrations_Item

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

CompletionJobOut_Integrations_Item defines model for CompletionJobOut.integrations.Item.

func (CompletionJobOut_Integrations_Item) AsWandbIntegrationOut

func (t CompletionJobOut_Integrations_Item) AsWandbIntegrationOut() (WandbIntegrationOut, error)

AsWandbIntegrationOut returns the union data inside the CompletionJobOut_Integrations_Item as a WandbIntegrationOut

func (CompletionJobOut_Integrations_Item) Discriminator

func (t CompletionJobOut_Integrations_Item) Discriminator() (string, error)

func (*CompletionJobOut_Integrations_Item) FromWandbIntegrationOut

func (t *CompletionJobOut_Integrations_Item) FromWandbIntegrationOut(v WandbIntegrationOut) error

FromWandbIntegrationOut overwrites any union data inside the CompletionJobOut_Integrations_Item as the provided WandbIntegrationOut

func (CompletionJobOut_Integrations_Item) MarshalJSON

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

func (*CompletionJobOut_Integrations_Item) MergeWandbIntegrationOut

func (t *CompletionJobOut_Integrations_Item) MergeWandbIntegrationOut(v WandbIntegrationOut) error

MergeWandbIntegrationOut performs a merge with any union data inside the CompletionJobOut_Integrations_Item, using the provided WandbIntegrationOut

func (*CompletionJobOut_Integrations_Item) UnmarshalJSON

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

func (CompletionJobOut_Integrations_Item) ValueByDiscriminator

func (t CompletionJobOut_Integrations_Item) ValueByDiscriminator() (interface{}, error)

type CompletionJobOut_Repositories_Item

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

CompletionJobOut_Repositories_Item defines model for CompletionJobOut.repositories.Item.

func (CompletionJobOut_Repositories_Item) AsGithubRepositoryOut

func (t CompletionJobOut_Repositories_Item) AsGithubRepositoryOut() (GithubRepositoryOut, error)

AsGithubRepositoryOut returns the union data inside the CompletionJobOut_Repositories_Item as a GithubRepositoryOut

func (CompletionJobOut_Repositories_Item) Discriminator

func (t CompletionJobOut_Repositories_Item) Discriminator() (string, error)

func (*CompletionJobOut_Repositories_Item) FromGithubRepositoryOut

func (t *CompletionJobOut_Repositories_Item) FromGithubRepositoryOut(v GithubRepositoryOut) error

FromGithubRepositoryOut overwrites any union data inside the CompletionJobOut_Repositories_Item as the provided GithubRepositoryOut

func (CompletionJobOut_Repositories_Item) MarshalJSON

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

func (*CompletionJobOut_Repositories_Item) MergeGithubRepositoryOut

func (t *CompletionJobOut_Repositories_Item) MergeGithubRepositoryOut(v GithubRepositoryOut) error

MergeGithubRepositoryOut performs a merge with any union data inside the CompletionJobOut_Repositories_Item, using the provided GithubRepositoryOut

func (*CompletionJobOut_Repositories_Item) UnmarshalJSON

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

func (CompletionJobOut_Repositories_Item) ValueByDiscriminator

func (t CompletionJobOut_Repositories_Item) ValueByDiscriminator() (interface{}, error)

type CompletionResponseStreamChoice

type CompletionResponseStreamChoice struct {
	Delta        DeltaMessage                                `json:"delta"`
	FinishReason *CompletionResponseStreamChoiceFinishReason `json:"finish_reason"`
	Index        int                                         `json:"index"`
}

CompletionResponseStreamChoice defines model for CompletionResponseStreamChoice.

type CompletionResponseStreamChoiceFinishReason

type CompletionResponseStreamChoiceFinishReason string

CompletionResponseStreamChoiceFinishReason defines model for CompletionResponseStreamChoice.FinishReason.

const (
	CompletionResponseStreamChoiceFinishReasonError       CompletionResponseStreamChoiceFinishReason = "error"
	CompletionResponseStreamChoiceFinishReasonLength      CompletionResponseStreamChoiceFinishReason = "length"
	CompletionResponseStreamChoiceFinishReasonLessThannil CompletionResponseStreamChoiceFinishReason = "<nil>"
	CompletionResponseStreamChoiceFinishReasonStop        CompletionResponseStreamChoiceFinishReason = "stop"
	CompletionResponseStreamChoiceFinishReasonToolCalls   CompletionResponseStreamChoiceFinishReason = "tool_calls"
)

Defines values for CompletionResponseStreamChoiceFinishReason.

func (CompletionResponseStreamChoiceFinishReason) Valid

Valid indicates whether the value is a known member of the CompletionResponseStreamChoiceFinishReason enum.

type CompletionTrainingParameters

type CompletionTrainingParameters struct {
	Epochs         *float32 `json:"epochs,omitempty"`
	FimRatio       *float32 `json:"fim_ratio,omitempty"`
	LearningRate   *float32 `json:"learning_rate,omitempty"`
	SeqLen         *int     `json:"seq_len,omitempty"`
	TrainingSteps  *int     `json:"training_steps,omitempty"`
	WarmupFraction *float32 `json:"warmup_fraction,omitempty"`
	WeightDecay    *float32 `json:"weight_decay,omitempty"`
}

CompletionTrainingParameters defines model for CompletionTrainingParameters.

type CompletionTrainingParametersIn

type CompletionTrainingParametersIn struct {
	Epochs   *float32 `json:"epochs,omitempty"`
	FimRatio *float32 `json:"fim_ratio,omitempty"`

	// LearningRate A parameter describing how much to adjust the pre-trained model's weights in response to the estimated error each time the weights are updated during the fine-tuning process.
	LearningRate *float32 `json:"learning_rate,omitempty"`
	SeqLen       *int     `json:"seq_len,omitempty"`

	// TrainingSteps The number of training steps to perform. A training step refers to a single update of the model weights during the fine-tuning process. This update is typically calculated using a batch of samples from the training dataset.
	TrainingSteps *int `json:"training_steps,omitempty"`

	// WarmupFraction (Advanced Usage) A parameter that specifies the percentage of the total training steps at which the learning rate warm-up phase ends. During this phase, the learning rate gradually increases from a small value to the initial learning rate, helping to stabilize the training process and improve convergence. Similar to `pct_start` in [mistral-finetune](https://github.com/mistralai/mistral-finetune)
	WarmupFraction *float32 `json:"warmup_fraction,omitempty"`

	// WeightDecay (Advanced Usage) Weight decay adds a term to the loss function that is proportional to the sum of the squared weights. This term reduces the magnitude of the weights and prevents them from growing too large.
	WeightDecay *float32 `json:"weight_decay,omitempty"`
}

CompletionTrainingParametersIn The fine-tuning hyperparameter settings used in a fine-tune job.

type ConnectionCredentials

type ConnectionCredentials struct {
	BearerToken *string            `json:"bearer_token,omitempty"`
	Headers     *map[string]string `json:"headers,omitempty"`
	Oauth       *OAuth2Token       `json:"oauth,omitempty"`
}

ConnectionCredentials defines model for ConnectionCredentials.

type Connector

type Connector struct {
	AuthType    *string                           `json:"auth_type,omitempty"`
	CreatedAt   time.Time                         `json:"created_at"`
	Description string                            `json:"description"`
	Id          openapi_types.UUID                `json:"id"`
	ModifiedAt  time.Time                         `json:"modified_at"`
	Name        string                            `json:"name"`
	Server      *string                           `json:"server,omitempty"`
	Tools       *[]IntegrationsSchemasApiToolTool `json:"tools,omitempty"`
}

Connector defines model for Connector.

type ConnectorAuthenticationHeader

type ConnectorAuthenticationHeader struct {
	IsRequired *bool  `json:"is_required,omitempty"`
	IsSecret   *bool  `json:"is_secret,omitempty"`
	Name       string `json:"name"`
}

ConnectorAuthenticationHeader defines model for ConnectorAuthenticationHeader.

type ConnectorCallToolV1JSONRequestBody

type ConnectorCallToolV1JSONRequestBody = MCPToolCallRequest

ConnectorCallToolV1JSONRequestBody defines body for ConnectorCallToolV1 for application/json ContentType.

type ConnectorCallToolV1Params

type ConnectorCallToolV1Params struct {
	CredentialsName *string `form:"credentials_name,omitempty" json:"credentials_name,omitempty"`
}

ConnectorCallToolV1Params defines parameters for ConnectorCallToolV1.

type ConnectorCallToolV1Response

type ConnectorCallToolV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MCPToolCallResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseConnectorCallToolV1Response

func ParseConnectorCallToolV1Response(rsp *http.Response) (*ConnectorCallToolV1Response, error)

ParseConnectorCallToolV1Response parses an HTTP response from a ConnectorCallToolV1WithResponse call

func (ConnectorCallToolV1Response) ContentType

func (r ConnectorCallToolV1Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConnectorCallToolV1Response) GetBody

func (r ConnectorCallToolV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (ConnectorCallToolV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConnectorCallToolV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ConnectorCallToolV1Response) Status

Status returns HTTPResponse.Status

func (ConnectorCallToolV1Response) StatusCode

func (r ConnectorCallToolV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConnectorCreateOrUpdateOrganizationCredentialsV1JSONRequestBody

type ConnectorCreateOrUpdateOrganizationCredentialsV1JSONRequestBody = CredentialsCreateOrUpdate

ConnectorCreateOrUpdateOrganizationCredentialsV1JSONRequestBody defines body for ConnectorCreateOrUpdateOrganizationCredentialsV1 for application/json ContentType.

type ConnectorCreateOrUpdateOrganizationCredentialsV1Response

type ConnectorCreateOrUpdateOrganizationCredentialsV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MessageResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseConnectorCreateOrUpdateOrganizationCredentialsV1Response

func ParseConnectorCreateOrUpdateOrganizationCredentialsV1Response(rsp *http.Response) (*ConnectorCreateOrUpdateOrganizationCredentialsV1Response, error)

ParseConnectorCreateOrUpdateOrganizationCredentialsV1Response parses an HTTP response from a ConnectorCreateOrUpdateOrganizationCredentialsV1WithResponse call

func (ConnectorCreateOrUpdateOrganizationCredentialsV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConnectorCreateOrUpdateOrganizationCredentialsV1Response) GetBody

GetBody returns the raw response body bytes

func (ConnectorCreateOrUpdateOrganizationCredentialsV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConnectorCreateOrUpdateOrganizationCredentialsV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ConnectorCreateOrUpdateOrganizationCredentialsV1Response) Status

Status returns HTTPResponse.Status

func (ConnectorCreateOrUpdateOrganizationCredentialsV1Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ConnectorCreateOrUpdateUserCredentialsV1JSONRequestBody

type ConnectorCreateOrUpdateUserCredentialsV1JSONRequestBody = CredentialsCreateOrUpdate

ConnectorCreateOrUpdateUserCredentialsV1JSONRequestBody defines body for ConnectorCreateOrUpdateUserCredentialsV1 for application/json ContentType.

type ConnectorCreateOrUpdateUserCredentialsV1Response

type ConnectorCreateOrUpdateUserCredentialsV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MessageResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseConnectorCreateOrUpdateUserCredentialsV1Response

func ParseConnectorCreateOrUpdateUserCredentialsV1Response(rsp *http.Response) (*ConnectorCreateOrUpdateUserCredentialsV1Response, error)

ParseConnectorCreateOrUpdateUserCredentialsV1Response parses an HTTP response from a ConnectorCreateOrUpdateUserCredentialsV1WithResponse call

func (ConnectorCreateOrUpdateUserCredentialsV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConnectorCreateOrUpdateUserCredentialsV1Response) GetBody

GetBody returns the raw response body bytes

func (ConnectorCreateOrUpdateUserCredentialsV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConnectorCreateOrUpdateUserCredentialsV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ConnectorCreateOrUpdateUserCredentialsV1Response) Status

Status returns HTTPResponse.Status

func (ConnectorCreateOrUpdateUserCredentialsV1Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ConnectorCreateOrUpdateWorkspaceCredentialsV1JSONRequestBody

type ConnectorCreateOrUpdateWorkspaceCredentialsV1JSONRequestBody = CredentialsCreateOrUpdate

ConnectorCreateOrUpdateWorkspaceCredentialsV1JSONRequestBody defines body for ConnectorCreateOrUpdateWorkspaceCredentialsV1 for application/json ContentType.

type ConnectorCreateOrUpdateWorkspaceCredentialsV1Response

type ConnectorCreateOrUpdateWorkspaceCredentialsV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MessageResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseConnectorCreateOrUpdateWorkspaceCredentialsV1Response

func ParseConnectorCreateOrUpdateWorkspaceCredentialsV1Response(rsp *http.Response) (*ConnectorCreateOrUpdateWorkspaceCredentialsV1Response, error)

ParseConnectorCreateOrUpdateWorkspaceCredentialsV1Response parses an HTTP response from a ConnectorCreateOrUpdateWorkspaceCredentialsV1WithResponse call

func (ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) GetBody

GetBody returns the raw response body bytes

func (ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) Status

Status returns HTTPResponse.Status

func (ConnectorCreateOrUpdateWorkspaceCredentialsV1Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ConnectorCreateV1JSONRequestBody

type ConnectorCreateV1JSONRequestBody = ConnectorMCPCreate

ConnectorCreateV1JSONRequestBody defines body for ConnectorCreateV1 for application/json ContentType.

type ConnectorCreateV1Response

type ConnectorCreateV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Connector
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseConnectorCreateV1Response

func ParseConnectorCreateV1Response(rsp *http.Response) (*ConnectorCreateV1Response, error)

ParseConnectorCreateV1Response parses an HTTP response from a ConnectorCreateV1WithResponse call

func (ConnectorCreateV1Response) ContentType

func (r ConnectorCreateV1Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConnectorCreateV1Response) GetBody

func (r ConnectorCreateV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (ConnectorCreateV1Response) GetJSON201

func (r ConnectorCreateV1Response) GetJSON201() *Connector

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (ConnectorCreateV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ConnectorCreateV1Response) Status

func (r ConnectorCreateV1Response) Status() string

Status returns HTTPResponse.Status

func (ConnectorCreateV1Response) StatusCode

func (r ConnectorCreateV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConnectorDeleteOrganizationCredentialsV1Response

type ConnectorDeleteOrganizationCredentialsV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MessageResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseConnectorDeleteOrganizationCredentialsV1Response

func ParseConnectorDeleteOrganizationCredentialsV1Response(rsp *http.Response) (*ConnectorDeleteOrganizationCredentialsV1Response, error)

ParseConnectorDeleteOrganizationCredentialsV1Response parses an HTTP response from a ConnectorDeleteOrganizationCredentialsV1WithResponse call

func (ConnectorDeleteOrganizationCredentialsV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConnectorDeleteOrganizationCredentialsV1Response) GetBody

GetBody returns the raw response body bytes

func (ConnectorDeleteOrganizationCredentialsV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConnectorDeleteOrganizationCredentialsV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ConnectorDeleteOrganizationCredentialsV1Response) Status

Status returns HTTPResponse.Status

func (ConnectorDeleteOrganizationCredentialsV1Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ConnectorDeleteUserCredentialsV1Response

type ConnectorDeleteUserCredentialsV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MessageResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseConnectorDeleteUserCredentialsV1Response

func ParseConnectorDeleteUserCredentialsV1Response(rsp *http.Response) (*ConnectorDeleteUserCredentialsV1Response, error)

ParseConnectorDeleteUserCredentialsV1Response parses an HTTP response from a ConnectorDeleteUserCredentialsV1WithResponse call

func (ConnectorDeleteUserCredentialsV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConnectorDeleteUserCredentialsV1Response) GetBody

GetBody returns the raw response body bytes

func (ConnectorDeleteUserCredentialsV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConnectorDeleteUserCredentialsV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ConnectorDeleteUserCredentialsV1Response) Status

Status returns HTTPResponse.Status

func (ConnectorDeleteUserCredentialsV1Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ConnectorDeleteV1Response

type ConnectorDeleteV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MessageResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseConnectorDeleteV1Response

func ParseConnectorDeleteV1Response(rsp *http.Response) (*ConnectorDeleteV1Response, error)

ParseConnectorDeleteV1Response parses an HTTP response from a ConnectorDeleteV1WithResponse call

func (ConnectorDeleteV1Response) ContentType

func (r ConnectorDeleteV1Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConnectorDeleteV1Response) GetBody

func (r ConnectorDeleteV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (ConnectorDeleteV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConnectorDeleteV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ConnectorDeleteV1Response) Status

func (r ConnectorDeleteV1Response) Status() string

Status returns HTTPResponse.Status

func (ConnectorDeleteV1Response) StatusCode

func (r ConnectorDeleteV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConnectorDeleteWorkspaceCredentialsV1Response

type ConnectorDeleteWorkspaceCredentialsV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MessageResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseConnectorDeleteWorkspaceCredentialsV1Response

func ParseConnectorDeleteWorkspaceCredentialsV1Response(rsp *http.Response) (*ConnectorDeleteWorkspaceCredentialsV1Response, error)

ParseConnectorDeleteWorkspaceCredentialsV1Response parses an HTTP response from a ConnectorDeleteWorkspaceCredentialsV1WithResponse call

func (ConnectorDeleteWorkspaceCredentialsV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConnectorDeleteWorkspaceCredentialsV1Response) GetBody

GetBody returns the raw response body bytes

func (ConnectorDeleteWorkspaceCredentialsV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConnectorDeleteWorkspaceCredentialsV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ConnectorDeleteWorkspaceCredentialsV1Response) Status

Status returns HTTPResponse.Status

func (ConnectorDeleteWorkspaceCredentialsV1Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ConnectorGetAuthUrlV1Params

type ConnectorGetAuthUrlV1Params struct {
	AppReturnUrl    *string `form:"app_return_url,omitempty" json:"app_return_url,omitempty"`
	CredentialsName *string `form:"credentials_name,omitempty" json:"credentials_name,omitempty"`
}

ConnectorGetAuthUrlV1Params defines parameters for ConnectorGetAuthUrlV1.

type ConnectorGetAuthUrlV1Response

type ConnectorGetAuthUrlV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *AuthUrlResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseConnectorGetAuthUrlV1Response

func ParseConnectorGetAuthUrlV1Response(rsp *http.Response) (*ConnectorGetAuthUrlV1Response, error)

ParseConnectorGetAuthUrlV1Response parses an HTTP response from a ConnectorGetAuthUrlV1WithResponse call

func (ConnectorGetAuthUrlV1Response) ContentType

func (r ConnectorGetAuthUrlV1Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConnectorGetAuthUrlV1Response) GetBody

func (r ConnectorGetAuthUrlV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (ConnectorGetAuthUrlV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConnectorGetAuthUrlV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ConnectorGetAuthUrlV1Response) Status

Status returns HTTPResponse.Status

func (ConnectorGetAuthUrlV1Response) StatusCode

func (r ConnectorGetAuthUrlV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConnectorGetAuthenticationMethodsV1Response

type ConnectorGetAuthenticationMethodsV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]PublicAuthenticationMethod
}

func ParseConnectorGetAuthenticationMethodsV1Response

func ParseConnectorGetAuthenticationMethodsV1Response(rsp *http.Response) (*ConnectorGetAuthenticationMethodsV1Response, error)

ParseConnectorGetAuthenticationMethodsV1Response parses an HTTP response from a ConnectorGetAuthenticationMethodsV1WithResponse call

func (ConnectorGetAuthenticationMethodsV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConnectorGetAuthenticationMethodsV1Response) GetBody

GetBody returns the raw response body bytes

func (ConnectorGetAuthenticationMethodsV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConnectorGetAuthenticationMethodsV1Response) Status

Status returns HTTPResponse.Status

func (ConnectorGetAuthenticationMethodsV1Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ConnectorGetV1Params

type ConnectorGetV1Params struct {
	// FetchCustomerData Fetch the customer data associated with the connector (e.g. customer secrets / config).
	FetchCustomerData *bool `form:"fetch_customer_data,omitempty" json:"fetch_customer_data,omitempty"`

	// FetchConnectionSecrets Fetch the general connection secrets associated with the connector.
	FetchConnectionSecrets *bool `form:"fetch_connection_secrets,omitempty" json:"fetch_connection_secrets,omitempty"`
}

ConnectorGetV1Params defines parameters for ConnectorGetV1.

type ConnectorGetV1Response

type ConnectorGetV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Connector
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseConnectorGetV1Response

func ParseConnectorGetV1Response(rsp *http.Response) (*ConnectorGetV1Response, error)

ParseConnectorGetV1Response parses an HTTP response from a ConnectorGetV1WithResponse call

func (ConnectorGetV1Response) ContentType

func (r ConnectorGetV1Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConnectorGetV1Response) GetBody

func (r ConnectorGetV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (ConnectorGetV1Response) GetJSON200

func (r ConnectorGetV1Response) GetJSON200() *Connector

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConnectorGetV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ConnectorGetV1Response) Status

func (r ConnectorGetV1Response) Status() string

Status returns HTTPResponse.Status

func (ConnectorGetV1Response) StatusCode

func (r ConnectorGetV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConnectorListOrganizationCredentialsV1Params

type ConnectorListOrganizationCredentialsV1Params struct {
	AuthType     *OutboundAuthenticationType `form:"auth_type,omitempty" json:"auth_type,omitempty"`
	FetchDefault *bool                       `form:"fetch_default,omitempty" json:"fetch_default,omitempty"`
}

ConnectorListOrganizationCredentialsV1Params defines parameters for ConnectorListOrganizationCredentialsV1.

type ConnectorListOrganizationCredentialsV1Response

type ConnectorListOrganizationCredentialsV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CredentialsResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseConnectorListOrganizationCredentialsV1Response

func ParseConnectorListOrganizationCredentialsV1Response(rsp *http.Response) (*ConnectorListOrganizationCredentialsV1Response, error)

ParseConnectorListOrganizationCredentialsV1Response parses an HTTP response from a ConnectorListOrganizationCredentialsV1WithResponse call

func (ConnectorListOrganizationCredentialsV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConnectorListOrganizationCredentialsV1Response) GetBody

GetBody returns the raw response body bytes

func (ConnectorListOrganizationCredentialsV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConnectorListOrganizationCredentialsV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ConnectorListOrganizationCredentialsV1Response) Status

Status returns HTTPResponse.Status

func (ConnectorListOrganizationCredentialsV1Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ConnectorListToolsV1Params

type ConnectorListToolsV1Params struct {
	Page     *int  `form:"page,omitempty" json:"page,omitempty"`
	PageSize *int  `form:"page_size,omitempty" json:"page_size,omitempty"`
	Refresh  *bool `form:"refresh,omitempty" json:"refresh,omitempty"`

	// Pretty Return a simplified payload with only name, description, annotations, and a compact inputSchema.
	Pretty          *bool   `form:"pretty,omitempty" json:"pretty,omitempty"`
	CredentialsName *string `form:"credentials_name,omitempty" json:"credentials_name,omitempty"`
}

ConnectorListToolsV1Params defines parameters for ConnectorListToolsV1.

type ConnectorListToolsV1Response

type ConnectorListToolsV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ConnectorListToolsV1200JSONResponseBody
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseConnectorListToolsV1Response

func ParseConnectorListToolsV1Response(rsp *http.Response) (*ConnectorListToolsV1Response, error)

ParseConnectorListToolsV1Response parses an HTTP response from a ConnectorListToolsV1WithResponse call

func (ConnectorListToolsV1Response) ContentType

func (r ConnectorListToolsV1Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConnectorListToolsV1Response) GetBody

func (r ConnectorListToolsV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (ConnectorListToolsV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConnectorListToolsV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ConnectorListToolsV1Response) Status

Status returns HTTPResponse.Status

func (ConnectorListToolsV1Response) StatusCode

func (r ConnectorListToolsV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConnectorListToolsV1200JSONResponseBody

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

ConnectorListToolsV1200JSONResponseBody defines parameters for ConnectorListToolsV1.

func (ConnectorListToolsV1200JSONResponseBody) AsConnectorListToolsV1200JSONResponseBody0

func (t ConnectorListToolsV1200JSONResponseBody) AsConnectorListToolsV1200JSONResponseBody0() (ConnectorListToolsV1200JSONResponseBody0, error)

AsConnectorListToolsV1200JSONResponseBody0 returns the union data inside the ConnectorListToolsV1200JSONResponseBody as a ConnectorListToolsV1200JSONResponseBody0

func (ConnectorListToolsV1200JSONResponseBody) AsConnectorListToolsV1200JSONResponseBody1

func (t ConnectorListToolsV1200JSONResponseBody) AsConnectorListToolsV1200JSONResponseBody1() (ConnectorListToolsV1200JSONResponseBody1, error)

AsConnectorListToolsV1200JSONResponseBody1 returns the union data inside the ConnectorListToolsV1200JSONResponseBody as a ConnectorListToolsV1200JSONResponseBody1

func (ConnectorListToolsV1200JSONResponseBody) AsConnectorListToolsV1200JSONResponseBody2

func (t ConnectorListToolsV1200JSONResponseBody) AsConnectorListToolsV1200JSONResponseBody2() (ConnectorListToolsV1200JSONResponseBody2, error)

AsConnectorListToolsV1200JSONResponseBody2 returns the union data inside the ConnectorListToolsV1200JSONResponseBody as a ConnectorListToolsV1200JSONResponseBody2

func (*ConnectorListToolsV1200JSONResponseBody) FromConnectorListToolsV1200JSONResponseBody0

func (t *ConnectorListToolsV1200JSONResponseBody) FromConnectorListToolsV1200JSONResponseBody0(v ConnectorListToolsV1200JSONResponseBody0) error

FromConnectorListToolsV1200JSONResponseBody0 overwrites any union data inside the ConnectorListToolsV1200JSONResponseBody as the provided ConnectorListToolsV1200JSONResponseBody0

func (*ConnectorListToolsV1200JSONResponseBody) FromConnectorListToolsV1200JSONResponseBody1

func (t *ConnectorListToolsV1200JSONResponseBody) FromConnectorListToolsV1200JSONResponseBody1(v ConnectorListToolsV1200JSONResponseBody1) error

FromConnectorListToolsV1200JSONResponseBody1 overwrites any union data inside the ConnectorListToolsV1200JSONResponseBody as the provided ConnectorListToolsV1200JSONResponseBody1

func (*ConnectorListToolsV1200JSONResponseBody) FromConnectorListToolsV1200JSONResponseBody2

func (t *ConnectorListToolsV1200JSONResponseBody) FromConnectorListToolsV1200JSONResponseBody2(v ConnectorListToolsV1200JSONResponseBody2) error

FromConnectorListToolsV1200JSONResponseBody2 overwrites any union data inside the ConnectorListToolsV1200JSONResponseBody as the provided ConnectorListToolsV1200JSONResponseBody2

func (ConnectorListToolsV1200JSONResponseBody) MarshalJSON

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

func (*ConnectorListToolsV1200JSONResponseBody) MergeConnectorListToolsV1200JSONResponseBody0

func (t *ConnectorListToolsV1200JSONResponseBody) MergeConnectorListToolsV1200JSONResponseBody0(v ConnectorListToolsV1200JSONResponseBody0) error

MergeConnectorListToolsV1200JSONResponseBody0 performs a merge with any union data inside the ConnectorListToolsV1200JSONResponseBody, using the provided ConnectorListToolsV1200JSONResponseBody0

func (*ConnectorListToolsV1200JSONResponseBody) MergeConnectorListToolsV1200JSONResponseBody1

func (t *ConnectorListToolsV1200JSONResponseBody) MergeConnectorListToolsV1200JSONResponseBody1(v ConnectorListToolsV1200JSONResponseBody1) error

MergeConnectorListToolsV1200JSONResponseBody1 performs a merge with any union data inside the ConnectorListToolsV1200JSONResponseBody, using the provided ConnectorListToolsV1200JSONResponseBody1

func (*ConnectorListToolsV1200JSONResponseBody) MergeConnectorListToolsV1200JSONResponseBody2

func (t *ConnectorListToolsV1200JSONResponseBody) MergeConnectorListToolsV1200JSONResponseBody2(v ConnectorListToolsV1200JSONResponseBody2) error

MergeConnectorListToolsV1200JSONResponseBody2 performs a merge with any union data inside the ConnectorListToolsV1200JSONResponseBody, using the provided ConnectorListToolsV1200JSONResponseBody2

func (*ConnectorListToolsV1200JSONResponseBody) UnmarshalJSON

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

type ConnectorListToolsV1200JSONResponseBody0

type ConnectorListToolsV1200JSONResponseBody0 = []IntegrationsSchemasApiToolTool

ConnectorListToolsV1200JSONResponseBody0 defines parameters for ConnectorListToolsV1.

type ConnectorListToolsV1200JSONResponseBody1

type ConnectorListToolsV1200JSONResponseBody1 = []MCPTool

ConnectorListToolsV1200JSONResponseBody1 defines parameters for ConnectorListToolsV1.

type ConnectorListToolsV1200JSONResponseBody2

type ConnectorListToolsV1200JSONResponseBody2 = []map[string]interface{}

ConnectorListToolsV1200JSONResponseBody2 defines parameters for ConnectorListToolsV1.

type ConnectorListUserCredentialsV1Params

type ConnectorListUserCredentialsV1Params struct {
	AuthType     *OutboundAuthenticationType `form:"auth_type,omitempty" json:"auth_type,omitempty"`
	FetchDefault *bool                       `form:"fetch_default,omitempty" json:"fetch_default,omitempty"`
}

ConnectorListUserCredentialsV1Params defines parameters for ConnectorListUserCredentialsV1.

type ConnectorListUserCredentialsV1Response

type ConnectorListUserCredentialsV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CredentialsResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseConnectorListUserCredentialsV1Response

func ParseConnectorListUserCredentialsV1Response(rsp *http.Response) (*ConnectorListUserCredentialsV1Response, error)

ParseConnectorListUserCredentialsV1Response parses an HTTP response from a ConnectorListUserCredentialsV1WithResponse call

func (ConnectorListUserCredentialsV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConnectorListUserCredentialsV1Response) GetBody

GetBody returns the raw response body bytes

func (ConnectorListUserCredentialsV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConnectorListUserCredentialsV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ConnectorListUserCredentialsV1Response) Status

Status returns HTTPResponse.Status

func (ConnectorListUserCredentialsV1Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ConnectorListV1Params

type ConnectorListV1Params struct {
	QueryFilters *ConnectorsQueryFilters `form:"query_filters,omitempty" json:"query_filters,omitempty"`
	Cursor       *string                 `form:"cursor,omitempty" json:"cursor,omitempty"`
	PageSize     *int                    `form:"page_size,omitempty" json:"page_size,omitempty"`
}

ConnectorListV1Params defines parameters for ConnectorListV1.

type ConnectorListV1Response

type ConnectorListV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PaginatedConnectors
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseConnectorListV1Response

func ParseConnectorListV1Response(rsp *http.Response) (*ConnectorListV1Response, error)

ParseConnectorListV1Response parses an HTTP response from a ConnectorListV1WithResponse call

func (ConnectorListV1Response) ContentType

func (r ConnectorListV1Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConnectorListV1Response) GetBody

func (r ConnectorListV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (ConnectorListV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConnectorListV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ConnectorListV1Response) Status

func (r ConnectorListV1Response) Status() string

Status returns HTTPResponse.Status

func (ConnectorListV1Response) StatusCode

func (r ConnectorListV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConnectorListWorkspaceCredentialsV1Params

type ConnectorListWorkspaceCredentialsV1Params struct {
	AuthType     *OutboundAuthenticationType `form:"auth_type,omitempty" json:"auth_type,omitempty"`
	FetchDefault *bool                       `form:"fetch_default,omitempty" json:"fetch_default,omitempty"`
}

ConnectorListWorkspaceCredentialsV1Params defines parameters for ConnectorListWorkspaceCredentialsV1.

type ConnectorListWorkspaceCredentialsV1Response

type ConnectorListWorkspaceCredentialsV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CredentialsResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseConnectorListWorkspaceCredentialsV1Response

func ParseConnectorListWorkspaceCredentialsV1Response(rsp *http.Response) (*ConnectorListWorkspaceCredentialsV1Response, error)

ParseConnectorListWorkspaceCredentialsV1Response parses an HTTP response from a ConnectorListWorkspaceCredentialsV1WithResponse call

func (ConnectorListWorkspaceCredentialsV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConnectorListWorkspaceCredentialsV1Response) GetBody

GetBody returns the raw response body bytes

func (ConnectorListWorkspaceCredentialsV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConnectorListWorkspaceCredentialsV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ConnectorListWorkspaceCredentialsV1Response) Status

Status returns HTTPResponse.Status

func (ConnectorListWorkspaceCredentialsV1Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ConnectorMCPCreate

type ConnectorMCPCreate struct {
	// AuthData Optional additional authentication data for the connector.
	AuthData *AuthData `json:"auth_data,omitempty"`

	// Description The description of the connector.
	Description string `json:"description"`

	// Headers Optional organization-level headers to be sent with the request to the mcp server.
	Headers *map[string]interface{} `json:"headers,omitempty"`

	// IconUrl The optional url of the icon you want to associate to the connector.
	IconUrl *string `json:"icon_url,omitempty"`

	// Name The name of the connector. Should be 64 char length maximum, alphanumeric, only underscores/dashes.
	Name string `json:"name"`

	// Server The url of the MCP server.
	Server string `json:"server"`

	// SystemPrompt Optional system prompt for the connector.
	SystemPrompt *string `json:"system_prompt,omitempty"`

	// Visibility Visibility of the connector. Use 'shared_workspace' for workspace scoped connectors, or 'private' for private connectors.
	Visibility *ResourceVisibility `json:"visibility,omitempty"`
}

ConnectorMCPCreate defines model for ConnectorMCPCreate.

type ConnectorMCPUpdate

type ConnectorMCPUpdate struct {
	// AuthData New authentication data for your mcp connector.
	AuthData *AuthData `json:"auth_data,omitempty"`

	// ConnectionConfig Optional new connection config.
	ConnectionConfig *map[string]interface{} `json:"connection_config,omitempty"`

	// ConnectionSecrets Optional new connection secrets
	ConnectionSecrets *map[string]interface{} `json:"connection_secrets,omitempty"`

	// Description The description of the connector.
	Description *string `json:"description,omitempty"`

	// Headers New headers for your mcp connector.
	Headers *map[string]interface{} `json:"headers,omitempty"`

	// IconUrl The optional url of the icon you want to associate to the connector.
	IconUrl *string `json:"icon_url,omitempty"`

	// Name The name of the connector.
	Name *string `json:"name,omitempty"`

	// Server New server url for your mcp connector.
	Server *string `json:"server,omitempty"`

	// SystemPrompt Optional system prompt for the connector.
	SystemPrompt *string `json:"system_prompt,omitempty"`
}

ConnectorMCPUpdate defines model for ConnectorMCPUpdate.

type ConnectorUpdateV1JSONRequestBody

type ConnectorUpdateV1JSONRequestBody = ConnectorMCPUpdate

ConnectorUpdateV1JSONRequestBody defines body for ConnectorUpdateV1 for application/json ContentType.

type ConnectorUpdateV1Response

type ConnectorUpdateV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *Connector
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseConnectorUpdateV1Response

func ParseConnectorUpdateV1Response(rsp *http.Response) (*ConnectorUpdateV1Response, error)

ParseConnectorUpdateV1Response parses an HTTP response from a ConnectorUpdateV1WithResponse call

func (ConnectorUpdateV1Response) ContentType

func (r ConnectorUpdateV1Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ConnectorUpdateV1Response) GetBody

func (r ConnectorUpdateV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (ConnectorUpdateV1Response) GetJSON200

func (r ConnectorUpdateV1Response) GetJSON200() *Connector

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ConnectorUpdateV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ConnectorUpdateV1Response) Status

func (r ConnectorUpdateV1Response) Status() string

Status returns HTTPResponse.Status

func (ConnectorUpdateV1Response) StatusCode

func (r ConnectorUpdateV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConnectorsQueryFilters

type ConnectorsQueryFilters struct {
	// Active Filter for active connectors for a given user, workspace and organization.
	Active *bool `json:"active,omitempty"`

	// FetchConnectionSecrets Fetch connection secrets.
	FetchConnectionSecrets *bool `json:"fetch_connection_secrets,omitempty"`
}

ConnectorsQueryFilters defines model for ConnectorsQueryFilters.

type ContentChunk

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

ContentChunk defines model for ContentChunk.

func (ContentChunk) AsAudioChunk

func (t ContentChunk) AsAudioChunk() (AudioChunk, error)

AsAudioChunk returns the union data inside the ContentChunk as a AudioChunk

func (ContentChunk) AsDocumentURLChunk

func (t ContentChunk) AsDocumentURLChunk() (DocumentURLChunk, error)

AsDocumentURLChunk returns the union data inside the ContentChunk as a DocumentURLChunk

func (ContentChunk) AsFileChunk

func (t ContentChunk) AsFileChunk() (FileChunk, error)

AsFileChunk returns the union data inside the ContentChunk as a FileChunk

func (ContentChunk) AsImageURLChunk

func (t ContentChunk) AsImageURLChunk() (ImageURLChunk, error)

AsImageURLChunk returns the union data inside the ContentChunk as a ImageURLChunk

func (ContentChunk) AsReferenceChunk

func (t ContentChunk) AsReferenceChunk() (ReferenceChunk, error)

AsReferenceChunk returns the union data inside the ContentChunk as a ReferenceChunk

func (ContentChunk) AsTextChunk

func (t ContentChunk) AsTextChunk() (TextChunk, error)

AsTextChunk returns the union data inside the ContentChunk as a TextChunk

func (ContentChunk) AsThinkChunk

func (t ContentChunk) AsThinkChunk() (ThinkChunk, error)

AsThinkChunk returns the union data inside the ContentChunk as a ThinkChunk

func (ContentChunk) Discriminator

func (t ContentChunk) Discriminator() (string, error)

func (*ContentChunk) FromAudioChunk

func (t *ContentChunk) FromAudioChunk(v AudioChunk) error

FromAudioChunk overwrites any union data inside the ContentChunk as the provided AudioChunk

func (*ContentChunk) FromDocumentURLChunk

func (t *ContentChunk) FromDocumentURLChunk(v DocumentURLChunk) error

FromDocumentURLChunk overwrites any union data inside the ContentChunk as the provided DocumentURLChunk

func (*ContentChunk) FromFileChunk

func (t *ContentChunk) FromFileChunk(v FileChunk) error

FromFileChunk overwrites any union data inside the ContentChunk as the provided FileChunk

func (*ContentChunk) FromImageURLChunk

func (t *ContentChunk) FromImageURLChunk(v ImageURLChunk) error

FromImageURLChunk overwrites any union data inside the ContentChunk as the provided ImageURLChunk

func (*ContentChunk) FromReferenceChunk

func (t *ContentChunk) FromReferenceChunk(v ReferenceChunk) error

FromReferenceChunk overwrites any union data inside the ContentChunk as the provided ReferenceChunk

func (*ContentChunk) FromTextChunk

func (t *ContentChunk) FromTextChunk(v TextChunk) error

FromTextChunk overwrites any union data inside the ContentChunk as the provided TextChunk

func (*ContentChunk) FromThinkChunk

func (t *ContentChunk) FromThinkChunk(v ThinkChunk) error

FromThinkChunk overwrites any union data inside the ContentChunk as the provided ThinkChunk

func (ContentChunk) MarshalJSON

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

func (*ContentChunk) MergeAudioChunk

func (t *ContentChunk) MergeAudioChunk(v AudioChunk) error

MergeAudioChunk performs a merge with any union data inside the ContentChunk, using the provided AudioChunk

func (*ContentChunk) MergeDocumentURLChunk

func (t *ContentChunk) MergeDocumentURLChunk(v DocumentURLChunk) error

MergeDocumentURLChunk performs a merge with any union data inside the ContentChunk, using the provided DocumentURLChunk

func (*ContentChunk) MergeFileChunk

func (t *ContentChunk) MergeFileChunk(v FileChunk) error

MergeFileChunk performs a merge with any union data inside the ContentChunk, using the provided FileChunk

func (*ContentChunk) MergeImageURLChunk

func (t *ContentChunk) MergeImageURLChunk(v ImageURLChunk) error

MergeImageURLChunk performs a merge with any union data inside the ContentChunk, using the provided ImageURLChunk

func (*ContentChunk) MergeReferenceChunk

func (t *ContentChunk) MergeReferenceChunk(v ReferenceChunk) error

MergeReferenceChunk performs a merge with any union data inside the ContentChunk, using the provided ReferenceChunk

func (*ContentChunk) MergeTextChunk

func (t *ContentChunk) MergeTextChunk(v TextChunk) error

MergeTextChunk performs a merge with any union data inside the ContentChunk, using the provided TextChunk

func (*ContentChunk) MergeThinkChunk

func (t *ContentChunk) MergeThinkChunk(v ThinkChunk) error

MergeThinkChunk performs a merge with any union data inside the ContentChunk, using the provided ThinkChunk

func (*ContentChunk) UnmarshalJSON

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

func (ContentChunk) ValueByDiscriminator

func (t ContentChunk) ValueByDiscriminator() (interface{}, error)

type ConversationAppendRequest

type ConversationAppendRequest struct {
	// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
	CompletionArgs   *CompletionArgs                            `json:"completion_args,omitempty"`
	HandoffExecution *ConversationAppendRequestHandoffExecution `json:"handoff_execution,omitempty"`
	Inputs           *ConversationInputs                        `json:"inputs,omitempty"`

	// Store Whether to store the results into our servers or not.
	Store             *bool                            `json:"store,omitempty"`
	Stream            *ConversationAppendRequestStream `json:"stream,omitempty"`
	ToolConfirmations *[]ToolCallConfirmation          `json:"tool_confirmations,omitempty"`
}

ConversationAppendRequest defines model for ConversationAppendRequest.

type ConversationAppendRequestBase

type ConversationAppendRequestBase struct {
	// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
	CompletionArgs   *CompletionArgs                                `json:"completion_args,omitempty"`
	HandoffExecution *ConversationAppendRequestBaseHandoffExecution `json:"handoff_execution,omitempty"`
	Inputs           *ConversationInputs                            `json:"inputs,omitempty"`

	// Store Whether to store the results into our servers or not.
	Store *bool `json:"store,omitempty"`

	// Stream Whether to stream back partial progress. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
	Stream            *bool                   `json:"stream,omitempty"`
	ToolConfirmations *[]ToolCallConfirmation `json:"tool_confirmations,omitempty"`
}

ConversationAppendRequestBase defines model for ConversationAppendRequestBase.

type ConversationAppendRequestBaseHandoffExecution

type ConversationAppendRequestBaseHandoffExecution string

ConversationAppendRequestBaseHandoffExecution defines model for ConversationAppendRequestBase.HandoffExecution.

const (
	ConversationAppendRequestBaseHandoffExecutionClient ConversationAppendRequestBaseHandoffExecution = "client"
	ConversationAppendRequestBaseHandoffExecutionServer ConversationAppendRequestBaseHandoffExecution = "server"
)

Defines values for ConversationAppendRequestBaseHandoffExecution.

func (ConversationAppendRequestBaseHandoffExecution) Valid

Valid indicates whether the value is a known member of the ConversationAppendRequestBaseHandoffExecution enum.

type ConversationAppendRequestHandoffExecution

type ConversationAppendRequestHandoffExecution string

ConversationAppendRequestHandoffExecution defines model for ConversationAppendRequest.HandoffExecution.

const (
	ConversationAppendRequestHandoffExecutionClient ConversationAppendRequestHandoffExecution = "client"
	ConversationAppendRequestHandoffExecutionServer ConversationAppendRequestHandoffExecution = "server"
)

Defines values for ConversationAppendRequestHandoffExecution.

func (ConversationAppendRequestHandoffExecution) Valid

Valid indicates whether the value is a known member of the ConversationAppendRequestHandoffExecution enum.

type ConversationAppendRequestStream

type ConversationAppendRequestStream bool

ConversationAppendRequestStream defines model for ConversationAppendRequest.Stream.

const (
	ConversationAppendRequestStreamFalse ConversationAppendRequestStream = false
)

Defines values for ConversationAppendRequestStream.

func (ConversationAppendRequestStream) Valid

Valid indicates whether the value is a known member of the ConversationAppendRequestStream enum.

type ConversationAppendStreamRequest

type ConversationAppendStreamRequest struct {
	// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
	CompletionArgs   *CompletionArgs                                  `json:"completion_args,omitempty"`
	HandoffExecution *ConversationAppendStreamRequestHandoffExecution `json:"handoff_execution,omitempty"`
	Inputs           *ConversationInputs                              `json:"inputs,omitempty"`

	// Store Whether to store the results into our servers or not.
	Store             *bool                                  `json:"store,omitempty"`
	Stream            *ConversationAppendStreamRequestStream `json:"stream,omitempty"`
	ToolConfirmations *[]ToolCallConfirmation                `json:"tool_confirmations,omitempty"`
}

ConversationAppendStreamRequest defines model for ConversationAppendStreamRequest.

type ConversationAppendStreamRequestHandoffExecution

type ConversationAppendStreamRequestHandoffExecution string

ConversationAppendStreamRequestHandoffExecution defines model for ConversationAppendStreamRequest.HandoffExecution.

const (
	ConversationAppendStreamRequestHandoffExecutionClient ConversationAppendStreamRequestHandoffExecution = "client"
	ConversationAppendStreamRequestHandoffExecutionServer ConversationAppendStreamRequestHandoffExecution = "server"
)

Defines values for ConversationAppendStreamRequestHandoffExecution.

func (ConversationAppendStreamRequestHandoffExecution) Valid

Valid indicates whether the value is a known member of the ConversationAppendStreamRequestHandoffExecution enum.

type ConversationAppendStreamRequestStream

type ConversationAppendStreamRequestStream bool

ConversationAppendStreamRequestStream defines model for ConversationAppendStreamRequest.Stream.

const (
	ConversationAppendStreamRequestStreamTrue ConversationAppendStreamRequestStream = true
)

Defines values for ConversationAppendStreamRequestStream.

func (ConversationAppendStreamRequestStream) Valid

Valid indicates whether the value is a known member of the ConversationAppendStreamRequestStream enum.

type ConversationEvents

type ConversationEvents struct {
	Data ConversationEvents_Data `json:"data"`

	// Event Server side events sent when streaming a conversation response.
	Event SSETypes `json:"event"`
}

ConversationEvents defines model for ConversationEvents.

type ConversationEvents_Data

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

ConversationEvents_Data defines model for ConversationEvents.Data.

func (ConversationEvents_Data) AsAgentHandoffDoneEvent

func (t ConversationEvents_Data) AsAgentHandoffDoneEvent() (AgentHandoffDoneEvent, error)

AsAgentHandoffDoneEvent returns the union data inside the ConversationEvents_Data as a AgentHandoffDoneEvent

func (ConversationEvents_Data) AsAgentHandoffStartedEvent

func (t ConversationEvents_Data) AsAgentHandoffStartedEvent() (AgentHandoffStartedEvent, error)

AsAgentHandoffStartedEvent returns the union data inside the ConversationEvents_Data as a AgentHandoffStartedEvent

func (ConversationEvents_Data) AsFunctionCallEvent

func (t ConversationEvents_Data) AsFunctionCallEvent() (FunctionCallEvent, error)

AsFunctionCallEvent returns the union data inside the ConversationEvents_Data as a FunctionCallEvent

func (ConversationEvents_Data) AsMessageOutputEvent

func (t ConversationEvents_Data) AsMessageOutputEvent() (MessageOutputEvent, error)

AsMessageOutputEvent returns the union data inside the ConversationEvents_Data as a MessageOutputEvent

func (ConversationEvents_Data) AsResponseDoneEvent

func (t ConversationEvents_Data) AsResponseDoneEvent() (ResponseDoneEvent, error)

AsResponseDoneEvent returns the union data inside the ConversationEvents_Data as a ResponseDoneEvent

func (ConversationEvents_Data) AsResponseErrorEvent

func (t ConversationEvents_Data) AsResponseErrorEvent() (ResponseErrorEvent, error)

AsResponseErrorEvent returns the union data inside the ConversationEvents_Data as a ResponseErrorEvent

func (ConversationEvents_Data) AsResponseStartedEvent

func (t ConversationEvents_Data) AsResponseStartedEvent() (ResponseStartedEvent, error)

AsResponseStartedEvent returns the union data inside the ConversationEvents_Data as a ResponseStartedEvent

func (ConversationEvents_Data) AsToolExecutionDeltaEvent

func (t ConversationEvents_Data) AsToolExecutionDeltaEvent() (ToolExecutionDeltaEvent, error)

AsToolExecutionDeltaEvent returns the union data inside the ConversationEvents_Data as a ToolExecutionDeltaEvent

func (ConversationEvents_Data) AsToolExecutionDoneEvent

func (t ConversationEvents_Data) AsToolExecutionDoneEvent() (ToolExecutionDoneEvent, error)

AsToolExecutionDoneEvent returns the union data inside the ConversationEvents_Data as a ToolExecutionDoneEvent

func (ConversationEvents_Data) AsToolExecutionStartedEvent

func (t ConversationEvents_Data) AsToolExecutionStartedEvent() (ToolExecutionStartedEvent, error)

AsToolExecutionStartedEvent returns the union data inside the ConversationEvents_Data as a ToolExecutionStartedEvent

func (ConversationEvents_Data) Discriminator

func (t ConversationEvents_Data) Discriminator() (string, error)

func (*ConversationEvents_Data) FromAgentHandoffDoneEvent

func (t *ConversationEvents_Data) FromAgentHandoffDoneEvent(v AgentHandoffDoneEvent) error

FromAgentHandoffDoneEvent overwrites any union data inside the ConversationEvents_Data as the provided AgentHandoffDoneEvent

func (*ConversationEvents_Data) FromAgentHandoffStartedEvent

func (t *ConversationEvents_Data) FromAgentHandoffStartedEvent(v AgentHandoffStartedEvent) error

FromAgentHandoffStartedEvent overwrites any union data inside the ConversationEvents_Data as the provided AgentHandoffStartedEvent

func (*ConversationEvents_Data) FromFunctionCallEvent

func (t *ConversationEvents_Data) FromFunctionCallEvent(v FunctionCallEvent) error

FromFunctionCallEvent overwrites any union data inside the ConversationEvents_Data as the provided FunctionCallEvent

func (*ConversationEvents_Data) FromMessageOutputEvent

func (t *ConversationEvents_Data) FromMessageOutputEvent(v MessageOutputEvent) error

FromMessageOutputEvent overwrites any union data inside the ConversationEvents_Data as the provided MessageOutputEvent

func (*ConversationEvents_Data) FromResponseDoneEvent

func (t *ConversationEvents_Data) FromResponseDoneEvent(v ResponseDoneEvent) error

FromResponseDoneEvent overwrites any union data inside the ConversationEvents_Data as the provided ResponseDoneEvent

func (*ConversationEvents_Data) FromResponseErrorEvent

func (t *ConversationEvents_Data) FromResponseErrorEvent(v ResponseErrorEvent) error

FromResponseErrorEvent overwrites any union data inside the ConversationEvents_Data as the provided ResponseErrorEvent

func (*ConversationEvents_Data) FromResponseStartedEvent

func (t *ConversationEvents_Data) FromResponseStartedEvent(v ResponseStartedEvent) error

FromResponseStartedEvent overwrites any union data inside the ConversationEvents_Data as the provided ResponseStartedEvent

func (*ConversationEvents_Data) FromToolExecutionDeltaEvent

func (t *ConversationEvents_Data) FromToolExecutionDeltaEvent(v ToolExecutionDeltaEvent) error

FromToolExecutionDeltaEvent overwrites any union data inside the ConversationEvents_Data as the provided ToolExecutionDeltaEvent

func (*ConversationEvents_Data) FromToolExecutionDoneEvent

func (t *ConversationEvents_Data) FromToolExecutionDoneEvent(v ToolExecutionDoneEvent) error

FromToolExecutionDoneEvent overwrites any union data inside the ConversationEvents_Data as the provided ToolExecutionDoneEvent

func (*ConversationEvents_Data) FromToolExecutionStartedEvent

func (t *ConversationEvents_Data) FromToolExecutionStartedEvent(v ToolExecutionStartedEvent) error

FromToolExecutionStartedEvent overwrites any union data inside the ConversationEvents_Data as the provided ToolExecutionStartedEvent

func (ConversationEvents_Data) MarshalJSON

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

func (*ConversationEvents_Data) MergeAgentHandoffDoneEvent

func (t *ConversationEvents_Data) MergeAgentHandoffDoneEvent(v AgentHandoffDoneEvent) error

MergeAgentHandoffDoneEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided AgentHandoffDoneEvent

func (*ConversationEvents_Data) MergeAgentHandoffStartedEvent

func (t *ConversationEvents_Data) MergeAgentHandoffStartedEvent(v AgentHandoffStartedEvent) error

MergeAgentHandoffStartedEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided AgentHandoffStartedEvent

func (*ConversationEvents_Data) MergeFunctionCallEvent

func (t *ConversationEvents_Data) MergeFunctionCallEvent(v FunctionCallEvent) error

MergeFunctionCallEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided FunctionCallEvent

func (*ConversationEvents_Data) MergeMessageOutputEvent

func (t *ConversationEvents_Data) MergeMessageOutputEvent(v MessageOutputEvent) error

MergeMessageOutputEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided MessageOutputEvent

func (*ConversationEvents_Data) MergeResponseDoneEvent

func (t *ConversationEvents_Data) MergeResponseDoneEvent(v ResponseDoneEvent) error

MergeResponseDoneEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided ResponseDoneEvent

func (*ConversationEvents_Data) MergeResponseErrorEvent

func (t *ConversationEvents_Data) MergeResponseErrorEvent(v ResponseErrorEvent) error

MergeResponseErrorEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided ResponseErrorEvent

func (*ConversationEvents_Data) MergeResponseStartedEvent

func (t *ConversationEvents_Data) MergeResponseStartedEvent(v ResponseStartedEvent) error

MergeResponseStartedEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided ResponseStartedEvent

func (*ConversationEvents_Data) MergeToolExecutionDeltaEvent

func (t *ConversationEvents_Data) MergeToolExecutionDeltaEvent(v ToolExecutionDeltaEvent) error

MergeToolExecutionDeltaEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided ToolExecutionDeltaEvent

func (*ConversationEvents_Data) MergeToolExecutionDoneEvent

func (t *ConversationEvents_Data) MergeToolExecutionDoneEvent(v ToolExecutionDoneEvent) error

MergeToolExecutionDoneEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided ToolExecutionDoneEvent

func (*ConversationEvents_Data) MergeToolExecutionStartedEvent

func (t *ConversationEvents_Data) MergeToolExecutionStartedEvent(v ToolExecutionStartedEvent) error

MergeToolExecutionStartedEvent performs a merge with any union data inside the ConversationEvents_Data, using the provided ToolExecutionStartedEvent

func (*ConversationEvents_Data) UnmarshalJSON

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

func (ConversationEvents_Data) ValueByDiscriminator

func (t ConversationEvents_Data) ValueByDiscriminator() (interface{}, error)

type ConversationHistory

type ConversationHistory struct {
	ConversationId string                             `json:"conversation_id"`
	Entries        []ConversationHistory_Entries_Item `json:"entries"`
	Object         *ConversationHistoryObject         `json:"object,omitempty"`
}

ConversationHistory Retrieve all entries in a conversation.

type ConversationHistoryObject

type ConversationHistoryObject string

ConversationHistoryObject defines model for ConversationHistory.Object.

const (
	ConversationHistoryObjectConversationHistory ConversationHistoryObject = "conversation.history"
)

Defines values for ConversationHistoryObject.

func (ConversationHistoryObject) Valid

func (e ConversationHistoryObject) Valid() bool

Valid indicates whether the value is a known member of the ConversationHistoryObject enum.

type ConversationHistory_Entries_Item

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

ConversationHistory_Entries_Item defines model for ConversationHistory.entries.Item.

func (ConversationHistory_Entries_Item) AsAgentHandoffEntry

func (t ConversationHistory_Entries_Item) AsAgentHandoffEntry() (AgentHandoffEntry, error)

AsAgentHandoffEntry returns the union data inside the ConversationHistory_Entries_Item as a AgentHandoffEntry

func (ConversationHistory_Entries_Item) AsFunctionCallEntry

func (t ConversationHistory_Entries_Item) AsFunctionCallEntry() (FunctionCallEntry, error)

AsFunctionCallEntry returns the union data inside the ConversationHistory_Entries_Item as a FunctionCallEntry

func (ConversationHistory_Entries_Item) AsFunctionResultEntry

func (t ConversationHistory_Entries_Item) AsFunctionResultEntry() (FunctionResultEntry, error)

AsFunctionResultEntry returns the union data inside the ConversationHistory_Entries_Item as a FunctionResultEntry

func (ConversationHistory_Entries_Item) AsMessageInputEntry

func (t ConversationHistory_Entries_Item) AsMessageInputEntry() (MessageInputEntry, error)

AsMessageInputEntry returns the union data inside the ConversationHistory_Entries_Item as a MessageInputEntry

func (ConversationHistory_Entries_Item) AsMessageOutputEntry

func (t ConversationHistory_Entries_Item) AsMessageOutputEntry() (MessageOutputEntry, error)

AsMessageOutputEntry returns the union data inside the ConversationHistory_Entries_Item as a MessageOutputEntry

func (ConversationHistory_Entries_Item) AsToolExecutionEntry

func (t ConversationHistory_Entries_Item) AsToolExecutionEntry() (ToolExecutionEntry, error)

AsToolExecutionEntry returns the union data inside the ConversationHistory_Entries_Item as a ToolExecutionEntry

func (*ConversationHistory_Entries_Item) FromAgentHandoffEntry

func (t *ConversationHistory_Entries_Item) FromAgentHandoffEntry(v AgentHandoffEntry) error

FromAgentHandoffEntry overwrites any union data inside the ConversationHistory_Entries_Item as the provided AgentHandoffEntry

func (*ConversationHistory_Entries_Item) FromFunctionCallEntry

func (t *ConversationHistory_Entries_Item) FromFunctionCallEntry(v FunctionCallEntry) error

FromFunctionCallEntry overwrites any union data inside the ConversationHistory_Entries_Item as the provided FunctionCallEntry

func (*ConversationHistory_Entries_Item) FromFunctionResultEntry

func (t *ConversationHistory_Entries_Item) FromFunctionResultEntry(v FunctionResultEntry) error

FromFunctionResultEntry overwrites any union data inside the ConversationHistory_Entries_Item as the provided FunctionResultEntry

func (*ConversationHistory_Entries_Item) FromMessageInputEntry

func (t *ConversationHistory_Entries_Item) FromMessageInputEntry(v MessageInputEntry) error

FromMessageInputEntry overwrites any union data inside the ConversationHistory_Entries_Item as the provided MessageInputEntry

func (*ConversationHistory_Entries_Item) FromMessageOutputEntry

func (t *ConversationHistory_Entries_Item) FromMessageOutputEntry(v MessageOutputEntry) error

FromMessageOutputEntry overwrites any union data inside the ConversationHistory_Entries_Item as the provided MessageOutputEntry

func (*ConversationHistory_Entries_Item) FromToolExecutionEntry

func (t *ConversationHistory_Entries_Item) FromToolExecutionEntry(v ToolExecutionEntry) error

FromToolExecutionEntry overwrites any union data inside the ConversationHistory_Entries_Item as the provided ToolExecutionEntry

func (ConversationHistory_Entries_Item) MarshalJSON

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

func (*ConversationHistory_Entries_Item) MergeAgentHandoffEntry

func (t *ConversationHistory_Entries_Item) MergeAgentHandoffEntry(v AgentHandoffEntry) error

MergeAgentHandoffEntry performs a merge with any union data inside the ConversationHistory_Entries_Item, using the provided AgentHandoffEntry

func (*ConversationHistory_Entries_Item) MergeFunctionCallEntry

func (t *ConversationHistory_Entries_Item) MergeFunctionCallEntry(v FunctionCallEntry) error

MergeFunctionCallEntry performs a merge with any union data inside the ConversationHistory_Entries_Item, using the provided FunctionCallEntry

func (*ConversationHistory_Entries_Item) MergeFunctionResultEntry

func (t *ConversationHistory_Entries_Item) MergeFunctionResultEntry(v FunctionResultEntry) error

MergeFunctionResultEntry performs a merge with any union data inside the ConversationHistory_Entries_Item, using the provided FunctionResultEntry

func (*ConversationHistory_Entries_Item) MergeMessageInputEntry

func (t *ConversationHistory_Entries_Item) MergeMessageInputEntry(v MessageInputEntry) error

MergeMessageInputEntry performs a merge with any union data inside the ConversationHistory_Entries_Item, using the provided MessageInputEntry

func (*ConversationHistory_Entries_Item) MergeMessageOutputEntry

func (t *ConversationHistory_Entries_Item) MergeMessageOutputEntry(v MessageOutputEntry) error

MergeMessageOutputEntry performs a merge with any union data inside the ConversationHistory_Entries_Item, using the provided MessageOutputEntry

func (*ConversationHistory_Entries_Item) MergeToolExecutionEntry

func (t *ConversationHistory_Entries_Item) MergeToolExecutionEntry(v ToolExecutionEntry) error

MergeToolExecutionEntry performs a merge with any union data inside the ConversationHistory_Entries_Item, using the provided ToolExecutionEntry

func (*ConversationHistory_Entries_Item) UnmarshalJSON

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

type ConversationInputs

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

ConversationInputs defines model for ConversationInputs.

func (ConversationInputs) AsConversationInputs0

func (t ConversationInputs) AsConversationInputs0() (ConversationInputs0, error)

AsConversationInputs0 returns the union data inside the ConversationInputs as a ConversationInputs0

func (ConversationInputs) AsInputEntries

func (t ConversationInputs) AsInputEntries() (InputEntries, error)

AsInputEntries returns the union data inside the ConversationInputs as a InputEntries

func (*ConversationInputs) FromConversationInputs0

func (t *ConversationInputs) FromConversationInputs0(v ConversationInputs0) error

FromConversationInputs0 overwrites any union data inside the ConversationInputs as the provided ConversationInputs0

func (*ConversationInputs) FromInputEntries

func (t *ConversationInputs) FromInputEntries(v InputEntries) error

FromInputEntries overwrites any union data inside the ConversationInputs as the provided InputEntries

func (ConversationInputs) MarshalJSON

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

func (*ConversationInputs) MergeConversationInputs0

func (t *ConversationInputs) MergeConversationInputs0(v ConversationInputs0) error

MergeConversationInputs0 performs a merge with any union data inside the ConversationInputs, using the provided ConversationInputs0

func (*ConversationInputs) MergeInputEntries

func (t *ConversationInputs) MergeInputEntries(v InputEntries) error

MergeInputEntries performs a merge with any union data inside the ConversationInputs, using the provided InputEntries

func (*ConversationInputs) UnmarshalJSON

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

type ConversationInputs0

type ConversationInputs0 = string

ConversationInputs0 defines model for ConversationInputs.0.

type ConversationMessages

type ConversationMessages struct {
	ConversationId string                      `json:"conversation_id"`
	Messages       MessageEntries              `json:"messages"`
	Object         *ConversationMessagesObject `json:"object,omitempty"`
}

ConversationMessages Similar to the conversation history but only keep the messages

type ConversationMessagesObject

type ConversationMessagesObject string

ConversationMessagesObject defines model for ConversationMessages.Object.

const (
	ConversationMessagesObjectConversationMessages ConversationMessagesObject = "conversation.messages"
)

Defines values for ConversationMessagesObject.

func (ConversationMessagesObject) Valid

func (e ConversationMessagesObject) Valid() bool

Valid indicates whether the value is a known member of the ConversationMessagesObject enum.

type ConversationPayload

type ConversationPayload struct {
	Messages             []map[string]interface{} `json:"messages"`
	AdditionalProperties map[string]interface{}   `json:"-"`
}

ConversationPayload defines model for ConversationPayload.

func (ConversationPayload) Get

func (a ConversationPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ConversationPayload. Returns the specified element and whether it was found

func (ConversationPayload) MarshalJSON

func (a ConversationPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for ConversationPayload to handle AdditionalProperties

func (*ConversationPayload) Set

func (a *ConversationPayload) Set(fieldName string, value interface{})

Setter for additional properties for ConversationPayload

func (*ConversationPayload) UnmarshalJSON

func (a *ConversationPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for ConversationPayload to handle AdditionalProperties

type ConversationRequest

type ConversationRequest struct {
	AgentId          *string                              `json:"agent_id,omitempty"`
	AgentVersion     *ConversationRequest_AgentVersion    `json:"agent_version,omitempty"`
	CompletionArgs   *CompletionArgs                      `json:"completion_args,omitempty"`
	Description      *string                              `json:"description,omitempty"`
	Guardrails       *[]GuardrailConfig                   `json:"guardrails,omitempty"`
	HandoffExecution *ConversationRequestHandoffExecution `json:"handoff_execution,omitempty"`
	Inputs           ConversationInputs                   `json:"inputs"`
	Instructions     *string                              `json:"instructions,omitempty"`
	Metadata         *MetadataDict                        `json:"metadata,omitempty"`
	Model            *string                              `json:"model,omitempty"`
	Name             *string                              `json:"name,omitempty"`
	Store            *bool                                `json:"store,omitempty"`
	Stream           *ConversationRequestStream           `json:"stream,omitempty"`
	Tools            *[]ConversationRequest_Tools_Item    `json:"tools,omitempty"`
}

ConversationRequest defines model for ConversationRequest.

type ConversationRequestAgentVersion0

type ConversationRequestAgentVersion0 = string

ConversationRequestAgentVersion0 defines model for ConversationRequest.AgentVersion.0.

type ConversationRequestAgentVersion1

type ConversationRequestAgentVersion1 = int

ConversationRequestAgentVersion1 defines model for ConversationRequest.AgentVersion.1.

type ConversationRequestBase

type ConversationRequestBase struct {
	AgentId          *string                                  `json:"agent_id,omitempty"`
	AgentVersion     *ConversationRequestBase_AgentVersion    `json:"agent_version,omitempty"`
	CompletionArgs   *CompletionArgs                          `json:"completion_args,omitempty"`
	Description      *string                                  `json:"description,omitempty"`
	Guardrails       *[]GuardrailConfig                       `json:"guardrails,omitempty"`
	HandoffExecution *ConversationRequestBaseHandoffExecution `json:"handoff_execution,omitempty"`
	Inputs           ConversationInputs                       `json:"inputs"`
	Instructions     *string                                  `json:"instructions,omitempty"`
	Metadata         *MetadataDict                            `json:"metadata,omitempty"`
	Model            *string                                  `json:"model,omitempty"`
	Name             *string                                  `json:"name,omitempty"`
	Store            *bool                                    `json:"store,omitempty"`
	Stream           *bool                                    `json:"stream,omitempty"`
	Tools            *[]ConversationRequestBase_Tools_Item    `json:"tools,omitempty"`
}

ConversationRequestBase defines model for ConversationRequestBase.

type ConversationRequestBaseAgentVersion0

type ConversationRequestBaseAgentVersion0 = string

ConversationRequestBaseAgentVersion0 defines model for ConversationRequestBase.AgentVersion.0.

type ConversationRequestBaseAgentVersion1

type ConversationRequestBaseAgentVersion1 = int

ConversationRequestBaseAgentVersion1 defines model for ConversationRequestBase.AgentVersion.1.

type ConversationRequestBaseHandoffExecution

type ConversationRequestBaseHandoffExecution string

ConversationRequestBaseHandoffExecution defines model for ConversationRequestBase.HandoffExecution.

const (
	ConversationRequestBaseHandoffExecutionClient ConversationRequestBaseHandoffExecution = "client"
	ConversationRequestBaseHandoffExecutionServer ConversationRequestBaseHandoffExecution = "server"
)

Defines values for ConversationRequestBaseHandoffExecution.

func (ConversationRequestBaseHandoffExecution) Valid

Valid indicates whether the value is a known member of the ConversationRequestBaseHandoffExecution enum.

type ConversationRequestBase_AgentVersion

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

ConversationRequestBase_AgentVersion defines model for ConversationRequestBase.AgentVersion.

func (ConversationRequestBase_AgentVersion) AsConversationRequestBaseAgentVersion0

func (t ConversationRequestBase_AgentVersion) AsConversationRequestBaseAgentVersion0() (ConversationRequestBaseAgentVersion0, error)

AsConversationRequestBaseAgentVersion0 returns the union data inside the ConversationRequestBase_AgentVersion as a ConversationRequestBaseAgentVersion0

func (ConversationRequestBase_AgentVersion) AsConversationRequestBaseAgentVersion1

func (t ConversationRequestBase_AgentVersion) AsConversationRequestBaseAgentVersion1() (ConversationRequestBaseAgentVersion1, error)

AsConversationRequestBaseAgentVersion1 returns the union data inside the ConversationRequestBase_AgentVersion as a ConversationRequestBaseAgentVersion1

func (*ConversationRequestBase_AgentVersion) FromConversationRequestBaseAgentVersion0

func (t *ConversationRequestBase_AgentVersion) FromConversationRequestBaseAgentVersion0(v ConversationRequestBaseAgentVersion0) error

FromConversationRequestBaseAgentVersion0 overwrites any union data inside the ConversationRequestBase_AgentVersion as the provided ConversationRequestBaseAgentVersion0

func (*ConversationRequestBase_AgentVersion) FromConversationRequestBaseAgentVersion1

func (t *ConversationRequestBase_AgentVersion) FromConversationRequestBaseAgentVersion1(v ConversationRequestBaseAgentVersion1) error

FromConversationRequestBaseAgentVersion1 overwrites any union data inside the ConversationRequestBase_AgentVersion as the provided ConversationRequestBaseAgentVersion1

func (ConversationRequestBase_AgentVersion) MarshalJSON

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

func (*ConversationRequestBase_AgentVersion) MergeConversationRequestBaseAgentVersion0

func (t *ConversationRequestBase_AgentVersion) MergeConversationRequestBaseAgentVersion0(v ConversationRequestBaseAgentVersion0) error

MergeConversationRequestBaseAgentVersion0 performs a merge with any union data inside the ConversationRequestBase_AgentVersion, using the provided ConversationRequestBaseAgentVersion0

func (*ConversationRequestBase_AgentVersion) MergeConversationRequestBaseAgentVersion1

func (t *ConversationRequestBase_AgentVersion) MergeConversationRequestBaseAgentVersion1(v ConversationRequestBaseAgentVersion1) error

MergeConversationRequestBaseAgentVersion1 performs a merge with any union data inside the ConversationRequestBase_AgentVersion, using the provided ConversationRequestBaseAgentVersion1

func (*ConversationRequestBase_AgentVersion) UnmarshalJSON

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

type ConversationRequestBase_Tools_Item

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

ConversationRequestBase_Tools_Item defines model for ConversationRequestBase.tools.Item.

func (ConversationRequestBase_Tools_Item) AsCodeInterpreterTool

func (t ConversationRequestBase_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)

AsCodeInterpreterTool returns the union data inside the ConversationRequestBase_Tools_Item as a CodeInterpreterTool

func (ConversationRequestBase_Tools_Item) AsCustomConnector

func (t ConversationRequestBase_Tools_Item) AsCustomConnector() (CustomConnector, error)

AsCustomConnector returns the union data inside the ConversationRequestBase_Tools_Item as a CustomConnector

func (ConversationRequestBase_Tools_Item) AsDocumentLibraryTool

func (t ConversationRequestBase_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)

AsDocumentLibraryTool returns the union data inside the ConversationRequestBase_Tools_Item as a DocumentLibraryTool

func (ConversationRequestBase_Tools_Item) AsFunctionTool

AsFunctionTool returns the union data inside the ConversationRequestBase_Tools_Item as a FunctionTool

func (ConversationRequestBase_Tools_Item) AsImageGenerationTool

func (t ConversationRequestBase_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)

AsImageGenerationTool returns the union data inside the ConversationRequestBase_Tools_Item as a ImageGenerationTool

func (ConversationRequestBase_Tools_Item) AsWebSearchPremiumTool

func (t ConversationRequestBase_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)

AsWebSearchPremiumTool returns the union data inside the ConversationRequestBase_Tools_Item as a WebSearchPremiumTool

func (ConversationRequestBase_Tools_Item) AsWebSearchTool

AsWebSearchTool returns the union data inside the ConversationRequestBase_Tools_Item as a WebSearchTool

func (ConversationRequestBase_Tools_Item) Discriminator

func (t ConversationRequestBase_Tools_Item) Discriminator() (string, error)

func (*ConversationRequestBase_Tools_Item) FromCodeInterpreterTool

func (t *ConversationRequestBase_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error

FromCodeInterpreterTool overwrites any union data inside the ConversationRequestBase_Tools_Item as the provided CodeInterpreterTool

func (*ConversationRequestBase_Tools_Item) FromCustomConnector

func (t *ConversationRequestBase_Tools_Item) FromCustomConnector(v CustomConnector) error

FromCustomConnector overwrites any union data inside the ConversationRequestBase_Tools_Item as the provided CustomConnector

func (*ConversationRequestBase_Tools_Item) FromDocumentLibraryTool

func (t *ConversationRequestBase_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error

FromDocumentLibraryTool overwrites any union data inside the ConversationRequestBase_Tools_Item as the provided DocumentLibraryTool

func (*ConversationRequestBase_Tools_Item) FromFunctionTool

func (t *ConversationRequestBase_Tools_Item) FromFunctionTool(v FunctionTool) error

FromFunctionTool overwrites any union data inside the ConversationRequestBase_Tools_Item as the provided FunctionTool

func (*ConversationRequestBase_Tools_Item) FromImageGenerationTool

func (t *ConversationRequestBase_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error

FromImageGenerationTool overwrites any union data inside the ConversationRequestBase_Tools_Item as the provided ImageGenerationTool

func (*ConversationRequestBase_Tools_Item) FromWebSearchPremiumTool

func (t *ConversationRequestBase_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error

FromWebSearchPremiumTool overwrites any union data inside the ConversationRequestBase_Tools_Item as the provided WebSearchPremiumTool

func (*ConversationRequestBase_Tools_Item) FromWebSearchTool

func (t *ConversationRequestBase_Tools_Item) FromWebSearchTool(v WebSearchTool) error

FromWebSearchTool overwrites any union data inside the ConversationRequestBase_Tools_Item as the provided WebSearchTool

func (ConversationRequestBase_Tools_Item) MarshalJSON

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

func (*ConversationRequestBase_Tools_Item) MergeCodeInterpreterTool

func (t *ConversationRequestBase_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error

MergeCodeInterpreterTool performs a merge with any union data inside the ConversationRequestBase_Tools_Item, using the provided CodeInterpreterTool

func (*ConversationRequestBase_Tools_Item) MergeCustomConnector

func (t *ConversationRequestBase_Tools_Item) MergeCustomConnector(v CustomConnector) error

MergeCustomConnector performs a merge with any union data inside the ConversationRequestBase_Tools_Item, using the provided CustomConnector

func (*ConversationRequestBase_Tools_Item) MergeDocumentLibraryTool

func (t *ConversationRequestBase_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error

MergeDocumentLibraryTool performs a merge with any union data inside the ConversationRequestBase_Tools_Item, using the provided DocumentLibraryTool

func (*ConversationRequestBase_Tools_Item) MergeFunctionTool

func (t *ConversationRequestBase_Tools_Item) MergeFunctionTool(v FunctionTool) error

MergeFunctionTool performs a merge with any union data inside the ConversationRequestBase_Tools_Item, using the provided FunctionTool

func (*ConversationRequestBase_Tools_Item) MergeImageGenerationTool

func (t *ConversationRequestBase_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error

MergeImageGenerationTool performs a merge with any union data inside the ConversationRequestBase_Tools_Item, using the provided ImageGenerationTool

func (*ConversationRequestBase_Tools_Item) MergeWebSearchPremiumTool

func (t *ConversationRequestBase_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error

MergeWebSearchPremiumTool performs a merge with any union data inside the ConversationRequestBase_Tools_Item, using the provided WebSearchPremiumTool

func (*ConversationRequestBase_Tools_Item) MergeWebSearchTool

func (t *ConversationRequestBase_Tools_Item) MergeWebSearchTool(v WebSearchTool) error

MergeWebSearchTool performs a merge with any union data inside the ConversationRequestBase_Tools_Item, using the provided WebSearchTool

func (*ConversationRequestBase_Tools_Item) UnmarshalJSON

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

func (ConversationRequestBase_Tools_Item) ValueByDiscriminator

func (t ConversationRequestBase_Tools_Item) ValueByDiscriminator() (interface{}, error)

type ConversationRequestHandoffExecution

type ConversationRequestHandoffExecution string

ConversationRequestHandoffExecution defines model for ConversationRequest.HandoffExecution.

const (
	ConversationRequestHandoffExecutionClient ConversationRequestHandoffExecution = "client"
	ConversationRequestHandoffExecutionServer ConversationRequestHandoffExecution = "server"
)

Defines values for ConversationRequestHandoffExecution.

func (ConversationRequestHandoffExecution) Valid

Valid indicates whether the value is a known member of the ConversationRequestHandoffExecution enum.

type ConversationRequestStream

type ConversationRequestStream bool

ConversationRequestStream defines model for ConversationRequest.Stream.

const (
	ConversationRequestStreamFalse ConversationRequestStream = false
)

Defines values for ConversationRequestStream.

func (ConversationRequestStream) Valid

func (e ConversationRequestStream) Valid() bool

Valid indicates whether the value is a known member of the ConversationRequestStream enum.

type ConversationRequest_AgentVersion

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

ConversationRequest_AgentVersion defines model for ConversationRequest.AgentVersion.

func (ConversationRequest_AgentVersion) AsConversationRequestAgentVersion0

func (t ConversationRequest_AgentVersion) AsConversationRequestAgentVersion0() (ConversationRequestAgentVersion0, error)

AsConversationRequestAgentVersion0 returns the union data inside the ConversationRequest_AgentVersion as a ConversationRequestAgentVersion0

func (ConversationRequest_AgentVersion) AsConversationRequestAgentVersion1

func (t ConversationRequest_AgentVersion) AsConversationRequestAgentVersion1() (ConversationRequestAgentVersion1, error)

AsConversationRequestAgentVersion1 returns the union data inside the ConversationRequest_AgentVersion as a ConversationRequestAgentVersion1

func (*ConversationRequest_AgentVersion) FromConversationRequestAgentVersion0

func (t *ConversationRequest_AgentVersion) FromConversationRequestAgentVersion0(v ConversationRequestAgentVersion0) error

FromConversationRequestAgentVersion0 overwrites any union data inside the ConversationRequest_AgentVersion as the provided ConversationRequestAgentVersion0

func (*ConversationRequest_AgentVersion) FromConversationRequestAgentVersion1

func (t *ConversationRequest_AgentVersion) FromConversationRequestAgentVersion1(v ConversationRequestAgentVersion1) error

FromConversationRequestAgentVersion1 overwrites any union data inside the ConversationRequest_AgentVersion as the provided ConversationRequestAgentVersion1

func (ConversationRequest_AgentVersion) MarshalJSON

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

func (*ConversationRequest_AgentVersion) MergeConversationRequestAgentVersion0

func (t *ConversationRequest_AgentVersion) MergeConversationRequestAgentVersion0(v ConversationRequestAgentVersion0) error

MergeConversationRequestAgentVersion0 performs a merge with any union data inside the ConversationRequest_AgentVersion, using the provided ConversationRequestAgentVersion0

func (*ConversationRequest_AgentVersion) MergeConversationRequestAgentVersion1

func (t *ConversationRequest_AgentVersion) MergeConversationRequestAgentVersion1(v ConversationRequestAgentVersion1) error

MergeConversationRequestAgentVersion1 performs a merge with any union data inside the ConversationRequest_AgentVersion, using the provided ConversationRequestAgentVersion1

func (*ConversationRequest_AgentVersion) UnmarshalJSON

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

type ConversationRequest_Tools_Item

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

ConversationRequest_Tools_Item defines model for ConversationRequest.tools.Item.

func (ConversationRequest_Tools_Item) AsCodeInterpreterTool

func (t ConversationRequest_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)

AsCodeInterpreterTool returns the union data inside the ConversationRequest_Tools_Item as a CodeInterpreterTool

func (ConversationRequest_Tools_Item) AsCustomConnector

func (t ConversationRequest_Tools_Item) AsCustomConnector() (CustomConnector, error)

AsCustomConnector returns the union data inside the ConversationRequest_Tools_Item as a CustomConnector

func (ConversationRequest_Tools_Item) AsDocumentLibraryTool

func (t ConversationRequest_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)

AsDocumentLibraryTool returns the union data inside the ConversationRequest_Tools_Item as a DocumentLibraryTool

func (ConversationRequest_Tools_Item) AsFunctionTool

func (t ConversationRequest_Tools_Item) AsFunctionTool() (FunctionTool, error)

AsFunctionTool returns the union data inside the ConversationRequest_Tools_Item as a FunctionTool

func (ConversationRequest_Tools_Item) AsImageGenerationTool

func (t ConversationRequest_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)

AsImageGenerationTool returns the union data inside the ConversationRequest_Tools_Item as a ImageGenerationTool

func (ConversationRequest_Tools_Item) AsWebSearchPremiumTool

func (t ConversationRequest_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)

AsWebSearchPremiumTool returns the union data inside the ConversationRequest_Tools_Item as a WebSearchPremiumTool

func (ConversationRequest_Tools_Item) AsWebSearchTool

func (t ConversationRequest_Tools_Item) AsWebSearchTool() (WebSearchTool, error)

AsWebSearchTool returns the union data inside the ConversationRequest_Tools_Item as a WebSearchTool

func (ConversationRequest_Tools_Item) Discriminator

func (t ConversationRequest_Tools_Item) Discriminator() (string, error)

func (*ConversationRequest_Tools_Item) FromCodeInterpreterTool

func (t *ConversationRequest_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error

FromCodeInterpreterTool overwrites any union data inside the ConversationRequest_Tools_Item as the provided CodeInterpreterTool

func (*ConversationRequest_Tools_Item) FromCustomConnector

func (t *ConversationRequest_Tools_Item) FromCustomConnector(v CustomConnector) error

FromCustomConnector overwrites any union data inside the ConversationRequest_Tools_Item as the provided CustomConnector

func (*ConversationRequest_Tools_Item) FromDocumentLibraryTool

func (t *ConversationRequest_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error

FromDocumentLibraryTool overwrites any union data inside the ConversationRequest_Tools_Item as the provided DocumentLibraryTool

func (*ConversationRequest_Tools_Item) FromFunctionTool

func (t *ConversationRequest_Tools_Item) FromFunctionTool(v FunctionTool) error

FromFunctionTool overwrites any union data inside the ConversationRequest_Tools_Item as the provided FunctionTool

func (*ConversationRequest_Tools_Item) FromImageGenerationTool

func (t *ConversationRequest_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error

FromImageGenerationTool overwrites any union data inside the ConversationRequest_Tools_Item as the provided ImageGenerationTool

func (*ConversationRequest_Tools_Item) FromWebSearchPremiumTool

func (t *ConversationRequest_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error

FromWebSearchPremiumTool overwrites any union data inside the ConversationRequest_Tools_Item as the provided WebSearchPremiumTool

func (*ConversationRequest_Tools_Item) FromWebSearchTool

func (t *ConversationRequest_Tools_Item) FromWebSearchTool(v WebSearchTool) error

FromWebSearchTool overwrites any union data inside the ConversationRequest_Tools_Item as the provided WebSearchTool

func (ConversationRequest_Tools_Item) MarshalJSON

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

func (*ConversationRequest_Tools_Item) MergeCodeInterpreterTool

func (t *ConversationRequest_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error

MergeCodeInterpreterTool performs a merge with any union data inside the ConversationRequest_Tools_Item, using the provided CodeInterpreterTool

func (*ConversationRequest_Tools_Item) MergeCustomConnector

func (t *ConversationRequest_Tools_Item) MergeCustomConnector(v CustomConnector) error

MergeCustomConnector performs a merge with any union data inside the ConversationRequest_Tools_Item, using the provided CustomConnector

func (*ConversationRequest_Tools_Item) MergeDocumentLibraryTool

func (t *ConversationRequest_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error

MergeDocumentLibraryTool performs a merge with any union data inside the ConversationRequest_Tools_Item, using the provided DocumentLibraryTool

func (*ConversationRequest_Tools_Item) MergeFunctionTool

func (t *ConversationRequest_Tools_Item) MergeFunctionTool(v FunctionTool) error

MergeFunctionTool performs a merge with any union data inside the ConversationRequest_Tools_Item, using the provided FunctionTool

func (*ConversationRequest_Tools_Item) MergeImageGenerationTool

func (t *ConversationRequest_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error

MergeImageGenerationTool performs a merge with any union data inside the ConversationRequest_Tools_Item, using the provided ImageGenerationTool

func (*ConversationRequest_Tools_Item) MergeWebSearchPremiumTool

func (t *ConversationRequest_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error

MergeWebSearchPremiumTool performs a merge with any union data inside the ConversationRequest_Tools_Item, using the provided WebSearchPremiumTool

func (*ConversationRequest_Tools_Item) MergeWebSearchTool

func (t *ConversationRequest_Tools_Item) MergeWebSearchTool(v WebSearchTool) error

MergeWebSearchTool performs a merge with any union data inside the ConversationRequest_Tools_Item, using the provided WebSearchTool

func (*ConversationRequest_Tools_Item) UnmarshalJSON

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

func (ConversationRequest_Tools_Item) ValueByDiscriminator

func (t ConversationRequest_Tools_Item) ValueByDiscriminator() (interface{}, error)

type ConversationResponse

type ConversationResponse struct {
	ConversationId string                              `json:"conversation_id"`
	Guardrails     *[]map[string]interface{}           `json:"guardrails,omitempty"`
	Object         *ConversationResponseObject         `json:"object,omitempty"`
	Outputs        []ConversationResponse_Outputs_Item `json:"outputs"`
	Usage          ConversationUsageInfo               `json:"usage"`
}

ConversationResponse The response after appending new entries to the conversation.

type ConversationResponseObject

type ConversationResponseObject string

ConversationResponseObject defines model for ConversationResponse.Object.

const (
	ConversationResponseObjectConversationResponse ConversationResponseObject = "conversation.response"
)

Defines values for ConversationResponseObject.

func (ConversationResponseObject) Valid

func (e ConversationResponseObject) Valid() bool

Valid indicates whether the value is a known member of the ConversationResponseObject enum.

type ConversationResponse_Outputs_Item

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

ConversationResponse_Outputs_Item defines model for ConversationResponse.outputs.Item.

func (ConversationResponse_Outputs_Item) AsAgentHandoffEntry

func (t ConversationResponse_Outputs_Item) AsAgentHandoffEntry() (AgentHandoffEntry, error)

AsAgentHandoffEntry returns the union data inside the ConversationResponse_Outputs_Item as a AgentHandoffEntry

func (ConversationResponse_Outputs_Item) AsFunctionCallEntry

func (t ConversationResponse_Outputs_Item) AsFunctionCallEntry() (FunctionCallEntry, error)

AsFunctionCallEntry returns the union data inside the ConversationResponse_Outputs_Item as a FunctionCallEntry

func (ConversationResponse_Outputs_Item) AsMessageOutputEntry

func (t ConversationResponse_Outputs_Item) AsMessageOutputEntry() (MessageOutputEntry, error)

AsMessageOutputEntry returns the union data inside the ConversationResponse_Outputs_Item as a MessageOutputEntry

func (ConversationResponse_Outputs_Item) AsToolExecutionEntry

func (t ConversationResponse_Outputs_Item) AsToolExecutionEntry() (ToolExecutionEntry, error)

AsToolExecutionEntry returns the union data inside the ConversationResponse_Outputs_Item as a ToolExecutionEntry

func (*ConversationResponse_Outputs_Item) FromAgentHandoffEntry

func (t *ConversationResponse_Outputs_Item) FromAgentHandoffEntry(v AgentHandoffEntry) error

FromAgentHandoffEntry overwrites any union data inside the ConversationResponse_Outputs_Item as the provided AgentHandoffEntry

func (*ConversationResponse_Outputs_Item) FromFunctionCallEntry

func (t *ConversationResponse_Outputs_Item) FromFunctionCallEntry(v FunctionCallEntry) error

FromFunctionCallEntry overwrites any union data inside the ConversationResponse_Outputs_Item as the provided FunctionCallEntry

func (*ConversationResponse_Outputs_Item) FromMessageOutputEntry

func (t *ConversationResponse_Outputs_Item) FromMessageOutputEntry(v MessageOutputEntry) error

FromMessageOutputEntry overwrites any union data inside the ConversationResponse_Outputs_Item as the provided MessageOutputEntry

func (*ConversationResponse_Outputs_Item) FromToolExecutionEntry

func (t *ConversationResponse_Outputs_Item) FromToolExecutionEntry(v ToolExecutionEntry) error

FromToolExecutionEntry overwrites any union data inside the ConversationResponse_Outputs_Item as the provided ToolExecutionEntry

func (ConversationResponse_Outputs_Item) MarshalJSON

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

func (*ConversationResponse_Outputs_Item) MergeAgentHandoffEntry

func (t *ConversationResponse_Outputs_Item) MergeAgentHandoffEntry(v AgentHandoffEntry) error

MergeAgentHandoffEntry performs a merge with any union data inside the ConversationResponse_Outputs_Item, using the provided AgentHandoffEntry

func (*ConversationResponse_Outputs_Item) MergeFunctionCallEntry

func (t *ConversationResponse_Outputs_Item) MergeFunctionCallEntry(v FunctionCallEntry) error

MergeFunctionCallEntry performs a merge with any union data inside the ConversationResponse_Outputs_Item, using the provided FunctionCallEntry

func (*ConversationResponse_Outputs_Item) MergeMessageOutputEntry

func (t *ConversationResponse_Outputs_Item) MergeMessageOutputEntry(v MessageOutputEntry) error

MergeMessageOutputEntry performs a merge with any union data inside the ConversationResponse_Outputs_Item, using the provided MessageOutputEntry

func (*ConversationResponse_Outputs_Item) MergeToolExecutionEntry

func (t *ConversationResponse_Outputs_Item) MergeToolExecutionEntry(v ToolExecutionEntry) error

MergeToolExecutionEntry performs a merge with any union data inside the ConversationResponse_Outputs_Item, using the provided ToolExecutionEntry

func (*ConversationResponse_Outputs_Item) UnmarshalJSON

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

type ConversationRestartRequest

type ConversationRestartRequest struct {
	// AgentVersion Specific version of the agent to use when restarting. If not provided, uses the current version.
	AgentVersion *ConversationRestartRequest_AgentVersion `json:"agent_version,omitempty"`

	// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
	CompletionArgs   *CompletionArgs                             `json:"completion_args,omitempty"`
	FromEntryId      string                                      `json:"from_entry_id"`
	Guardrails       *[]GuardrailConfig                          `json:"guardrails,omitempty"`
	HandoffExecution *ConversationRestartRequestHandoffExecution `json:"handoff_execution,omitempty"`
	Inputs           *ConversationInputs                         `json:"inputs,omitempty"`

	// Metadata Custom metadata for the conversation.
	Metadata *MetadataDict `json:"metadata,omitempty"`

	// Store Whether to store the results into our servers or not.
	Store  *bool                             `json:"store,omitempty"`
	Stream *ConversationRestartRequestStream `json:"stream,omitempty"`
}

ConversationRestartRequest defines model for ConversationRestartRequest.

type ConversationRestartRequestAgentVersion0

type ConversationRestartRequestAgentVersion0 = string

ConversationRestartRequestAgentVersion0 defines model for ConversationRestartRequest.AgentVersion.0.

type ConversationRestartRequestAgentVersion1

type ConversationRestartRequestAgentVersion1 = int

ConversationRestartRequestAgentVersion1 defines model for ConversationRestartRequest.AgentVersion.1.

type ConversationRestartRequestBase

type ConversationRestartRequestBase struct {
	// AgentVersion Specific version of the agent to use when restarting. If not provided, uses the current version.
	AgentVersion *ConversationRestartRequestBase_AgentVersion `json:"agent_version,omitempty"`

	// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
	CompletionArgs   *CompletionArgs                                 `json:"completion_args,omitempty"`
	FromEntryId      string                                          `json:"from_entry_id"`
	Guardrails       *[]GuardrailConfig                              `json:"guardrails,omitempty"`
	HandoffExecution *ConversationRestartRequestBaseHandoffExecution `json:"handoff_execution,omitempty"`
	Inputs           *ConversationInputs                             `json:"inputs,omitempty"`

	// Metadata Custom metadata for the conversation.
	Metadata *MetadataDict `json:"metadata,omitempty"`

	// Store Whether to store the results into our servers or not.
	Store *bool `json:"store,omitempty"`

	// Stream Whether to stream back partial progress. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
	Stream *bool `json:"stream,omitempty"`
}

ConversationRestartRequestBase Request to restart a new conversation from a given entry in the conversation.

type ConversationRestartRequestBaseAgentVersion0

type ConversationRestartRequestBaseAgentVersion0 = string

ConversationRestartRequestBaseAgentVersion0 defines model for ConversationRestartRequestBase.AgentVersion.0.

type ConversationRestartRequestBaseAgentVersion1

type ConversationRestartRequestBaseAgentVersion1 = int

ConversationRestartRequestBaseAgentVersion1 defines model for ConversationRestartRequestBase.AgentVersion.1.

type ConversationRestartRequestBaseHandoffExecution

type ConversationRestartRequestBaseHandoffExecution string

ConversationRestartRequestBaseHandoffExecution defines model for ConversationRestartRequestBase.HandoffExecution.

const (
	ConversationRestartRequestBaseHandoffExecutionClient ConversationRestartRequestBaseHandoffExecution = "client"
	ConversationRestartRequestBaseHandoffExecutionServer ConversationRestartRequestBaseHandoffExecution = "server"
)

Defines values for ConversationRestartRequestBaseHandoffExecution.

func (ConversationRestartRequestBaseHandoffExecution) Valid

Valid indicates whether the value is a known member of the ConversationRestartRequestBaseHandoffExecution enum.

type ConversationRestartRequestBase_AgentVersion

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

ConversationRestartRequestBase_AgentVersion Specific version of the agent to use when restarting. If not provided, uses the current version.

func (ConversationRestartRequestBase_AgentVersion) AsConversationRestartRequestBaseAgentVersion0

func (t ConversationRestartRequestBase_AgentVersion) AsConversationRestartRequestBaseAgentVersion0() (ConversationRestartRequestBaseAgentVersion0, error)

AsConversationRestartRequestBaseAgentVersion0 returns the union data inside the ConversationRestartRequestBase_AgentVersion as a ConversationRestartRequestBaseAgentVersion0

func (ConversationRestartRequestBase_AgentVersion) AsConversationRestartRequestBaseAgentVersion1

func (t ConversationRestartRequestBase_AgentVersion) AsConversationRestartRequestBaseAgentVersion1() (ConversationRestartRequestBaseAgentVersion1, error)

AsConversationRestartRequestBaseAgentVersion1 returns the union data inside the ConversationRestartRequestBase_AgentVersion as a ConversationRestartRequestBaseAgentVersion1

func (*ConversationRestartRequestBase_AgentVersion) FromConversationRestartRequestBaseAgentVersion0

func (t *ConversationRestartRequestBase_AgentVersion) FromConversationRestartRequestBaseAgentVersion0(v ConversationRestartRequestBaseAgentVersion0) error

FromConversationRestartRequestBaseAgentVersion0 overwrites any union data inside the ConversationRestartRequestBase_AgentVersion as the provided ConversationRestartRequestBaseAgentVersion0

func (*ConversationRestartRequestBase_AgentVersion) FromConversationRestartRequestBaseAgentVersion1

func (t *ConversationRestartRequestBase_AgentVersion) FromConversationRestartRequestBaseAgentVersion1(v ConversationRestartRequestBaseAgentVersion1) error

FromConversationRestartRequestBaseAgentVersion1 overwrites any union data inside the ConversationRestartRequestBase_AgentVersion as the provided ConversationRestartRequestBaseAgentVersion1

func (ConversationRestartRequestBase_AgentVersion) MarshalJSON

func (*ConversationRestartRequestBase_AgentVersion) MergeConversationRestartRequestBaseAgentVersion0

func (t *ConversationRestartRequestBase_AgentVersion) MergeConversationRestartRequestBaseAgentVersion0(v ConversationRestartRequestBaseAgentVersion0) error

MergeConversationRestartRequestBaseAgentVersion0 performs a merge with any union data inside the ConversationRestartRequestBase_AgentVersion, using the provided ConversationRestartRequestBaseAgentVersion0

func (*ConversationRestartRequestBase_AgentVersion) MergeConversationRestartRequestBaseAgentVersion1

func (t *ConversationRestartRequestBase_AgentVersion) MergeConversationRestartRequestBaseAgentVersion1(v ConversationRestartRequestBaseAgentVersion1) error

MergeConversationRestartRequestBaseAgentVersion1 performs a merge with any union data inside the ConversationRestartRequestBase_AgentVersion, using the provided ConversationRestartRequestBaseAgentVersion1

func (*ConversationRestartRequestBase_AgentVersion) UnmarshalJSON

type ConversationRestartRequestHandoffExecution

type ConversationRestartRequestHandoffExecution string

ConversationRestartRequestHandoffExecution defines model for ConversationRestartRequest.HandoffExecution.

const (
	ConversationRestartRequestHandoffExecutionClient ConversationRestartRequestHandoffExecution = "client"
	ConversationRestartRequestHandoffExecutionServer ConversationRestartRequestHandoffExecution = "server"
)

Defines values for ConversationRestartRequestHandoffExecution.

func (ConversationRestartRequestHandoffExecution) Valid

Valid indicates whether the value is a known member of the ConversationRestartRequestHandoffExecution enum.

type ConversationRestartRequestStream

type ConversationRestartRequestStream bool

ConversationRestartRequestStream defines model for ConversationRestartRequest.Stream.

const (
	ConversationRestartRequestStreamFalse ConversationRestartRequestStream = false
)

Defines values for ConversationRestartRequestStream.

func (ConversationRestartRequestStream) Valid

Valid indicates whether the value is a known member of the ConversationRestartRequestStream enum.

type ConversationRestartRequest_AgentVersion

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

ConversationRestartRequest_AgentVersion Specific version of the agent to use when restarting. If not provided, uses the current version.

func (ConversationRestartRequest_AgentVersion) AsConversationRestartRequestAgentVersion0

func (t ConversationRestartRequest_AgentVersion) AsConversationRestartRequestAgentVersion0() (ConversationRestartRequestAgentVersion0, error)

AsConversationRestartRequestAgentVersion0 returns the union data inside the ConversationRestartRequest_AgentVersion as a ConversationRestartRequestAgentVersion0

func (ConversationRestartRequest_AgentVersion) AsConversationRestartRequestAgentVersion1

func (t ConversationRestartRequest_AgentVersion) AsConversationRestartRequestAgentVersion1() (ConversationRestartRequestAgentVersion1, error)

AsConversationRestartRequestAgentVersion1 returns the union data inside the ConversationRestartRequest_AgentVersion as a ConversationRestartRequestAgentVersion1

func (*ConversationRestartRequest_AgentVersion) FromConversationRestartRequestAgentVersion0

func (t *ConversationRestartRequest_AgentVersion) FromConversationRestartRequestAgentVersion0(v ConversationRestartRequestAgentVersion0) error

FromConversationRestartRequestAgentVersion0 overwrites any union data inside the ConversationRestartRequest_AgentVersion as the provided ConversationRestartRequestAgentVersion0

func (*ConversationRestartRequest_AgentVersion) FromConversationRestartRequestAgentVersion1

func (t *ConversationRestartRequest_AgentVersion) FromConversationRestartRequestAgentVersion1(v ConversationRestartRequestAgentVersion1) error

FromConversationRestartRequestAgentVersion1 overwrites any union data inside the ConversationRestartRequest_AgentVersion as the provided ConversationRestartRequestAgentVersion1

func (ConversationRestartRequest_AgentVersion) MarshalJSON

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

func (*ConversationRestartRequest_AgentVersion) MergeConversationRestartRequestAgentVersion0

func (t *ConversationRestartRequest_AgentVersion) MergeConversationRestartRequestAgentVersion0(v ConversationRestartRequestAgentVersion0) error

MergeConversationRestartRequestAgentVersion0 performs a merge with any union data inside the ConversationRestartRequest_AgentVersion, using the provided ConversationRestartRequestAgentVersion0

func (*ConversationRestartRequest_AgentVersion) MergeConversationRestartRequestAgentVersion1

func (t *ConversationRestartRequest_AgentVersion) MergeConversationRestartRequestAgentVersion1(v ConversationRestartRequestAgentVersion1) error

MergeConversationRestartRequestAgentVersion1 performs a merge with any union data inside the ConversationRestartRequest_AgentVersion, using the provided ConversationRestartRequestAgentVersion1

func (*ConversationRestartRequest_AgentVersion) UnmarshalJSON

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

type ConversationRestartStreamRequest

type ConversationRestartStreamRequest struct {
	// AgentVersion Specific version of the agent to use when restarting. If not provided, uses the current version.
	AgentVersion *ConversationRestartStreamRequest_AgentVersion `json:"agent_version,omitempty"`

	// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
	CompletionArgs   *CompletionArgs                                   `json:"completion_args,omitempty"`
	FromEntryId      string                                            `json:"from_entry_id"`
	Guardrails       *[]GuardrailConfig                                `json:"guardrails,omitempty"`
	HandoffExecution *ConversationRestartStreamRequestHandoffExecution `json:"handoff_execution,omitempty"`
	Inputs           *ConversationInputs                               `json:"inputs,omitempty"`

	// Metadata Custom metadata for the conversation.
	Metadata *MetadataDict `json:"metadata,omitempty"`

	// Store Whether to store the results into our servers or not.
	Store  *bool                                   `json:"store,omitempty"`
	Stream *ConversationRestartStreamRequestStream `json:"stream,omitempty"`
}

ConversationRestartStreamRequest defines model for ConversationRestartStreamRequest.

type ConversationRestartStreamRequestAgentVersion0

type ConversationRestartStreamRequestAgentVersion0 = string

ConversationRestartStreamRequestAgentVersion0 defines model for ConversationRestartStreamRequest.AgentVersion.0.

type ConversationRestartStreamRequestAgentVersion1

type ConversationRestartStreamRequestAgentVersion1 = int

ConversationRestartStreamRequestAgentVersion1 defines model for ConversationRestartStreamRequest.AgentVersion.1.

type ConversationRestartStreamRequestHandoffExecution

type ConversationRestartStreamRequestHandoffExecution string

ConversationRestartStreamRequestHandoffExecution defines model for ConversationRestartStreamRequest.HandoffExecution.

const (
	ConversationRestartStreamRequestHandoffExecutionClient ConversationRestartStreamRequestHandoffExecution = "client"
	ConversationRestartStreamRequestHandoffExecutionServer ConversationRestartStreamRequestHandoffExecution = "server"
)

Defines values for ConversationRestartStreamRequestHandoffExecution.

func (ConversationRestartStreamRequestHandoffExecution) Valid

Valid indicates whether the value is a known member of the ConversationRestartStreamRequestHandoffExecution enum.

type ConversationRestartStreamRequestStream

type ConversationRestartStreamRequestStream bool

ConversationRestartStreamRequestStream defines model for ConversationRestartStreamRequest.Stream.

const (
	ConversationRestartStreamRequestStreamTrue ConversationRestartStreamRequestStream = true
)

Defines values for ConversationRestartStreamRequestStream.

func (ConversationRestartStreamRequestStream) Valid

Valid indicates whether the value is a known member of the ConversationRestartStreamRequestStream enum.

type ConversationRestartStreamRequest_AgentVersion

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

ConversationRestartStreamRequest_AgentVersion Specific version of the agent to use when restarting. If not provided, uses the current version.

func (ConversationRestartStreamRequest_AgentVersion) AsConversationRestartStreamRequestAgentVersion0

func (t ConversationRestartStreamRequest_AgentVersion) AsConversationRestartStreamRequestAgentVersion0() (ConversationRestartStreamRequestAgentVersion0, error)

AsConversationRestartStreamRequestAgentVersion0 returns the union data inside the ConversationRestartStreamRequest_AgentVersion as a ConversationRestartStreamRequestAgentVersion0

func (ConversationRestartStreamRequest_AgentVersion) AsConversationRestartStreamRequestAgentVersion1

func (t ConversationRestartStreamRequest_AgentVersion) AsConversationRestartStreamRequestAgentVersion1() (ConversationRestartStreamRequestAgentVersion1, error)

AsConversationRestartStreamRequestAgentVersion1 returns the union data inside the ConversationRestartStreamRequest_AgentVersion as a ConversationRestartStreamRequestAgentVersion1

func (*ConversationRestartStreamRequest_AgentVersion) FromConversationRestartStreamRequestAgentVersion0

func (t *ConversationRestartStreamRequest_AgentVersion) FromConversationRestartStreamRequestAgentVersion0(v ConversationRestartStreamRequestAgentVersion0) error

FromConversationRestartStreamRequestAgentVersion0 overwrites any union data inside the ConversationRestartStreamRequest_AgentVersion as the provided ConversationRestartStreamRequestAgentVersion0

func (*ConversationRestartStreamRequest_AgentVersion) FromConversationRestartStreamRequestAgentVersion1

func (t *ConversationRestartStreamRequest_AgentVersion) FromConversationRestartStreamRequestAgentVersion1(v ConversationRestartStreamRequestAgentVersion1) error

FromConversationRestartStreamRequestAgentVersion1 overwrites any union data inside the ConversationRestartStreamRequest_AgentVersion as the provided ConversationRestartStreamRequestAgentVersion1

func (ConversationRestartStreamRequest_AgentVersion) MarshalJSON

func (*ConversationRestartStreamRequest_AgentVersion) MergeConversationRestartStreamRequestAgentVersion0

func (t *ConversationRestartStreamRequest_AgentVersion) MergeConversationRestartStreamRequestAgentVersion0(v ConversationRestartStreamRequestAgentVersion0) error

MergeConversationRestartStreamRequestAgentVersion0 performs a merge with any union data inside the ConversationRestartStreamRequest_AgentVersion, using the provided ConversationRestartStreamRequestAgentVersion0

func (*ConversationRestartStreamRequest_AgentVersion) MergeConversationRestartStreamRequestAgentVersion1

func (t *ConversationRestartStreamRequest_AgentVersion) MergeConversationRestartStreamRequestAgentVersion1(v ConversationRestartStreamRequestAgentVersion1) error

MergeConversationRestartStreamRequestAgentVersion1 performs a merge with any union data inside the ConversationRestartStreamRequest_AgentVersion, using the provided ConversationRestartStreamRequestAgentVersion1

func (*ConversationRestartStreamRequest_AgentVersion) UnmarshalJSON

type ConversationSource

type ConversationSource string

ConversationSource defines model for ConversationSource.

const (
	ConversationSourceDIRECTINPUT  ConversationSource = "DIRECT_INPUT"
	ConversationSourceEXPLORER     ConversationSource = "EXPLORER"
	ConversationSourcePLAYGROUND   ConversationSource = "PLAYGROUND"
	ConversationSourceUPLOADEDFILE ConversationSource = "UPLOADED_FILE"
)

Defines values for ConversationSource.

func (ConversationSource) Valid

func (e ConversationSource) Valid() bool

Valid indicates whether the value is a known member of the ConversationSource enum.

type ConversationStreamRequest

type ConversationStreamRequest struct {
	AgentId          *string                                    `json:"agent_id,omitempty"`
	AgentVersion     *ConversationStreamRequest_AgentVersion    `json:"agent_version,omitempty"`
	CompletionArgs   *CompletionArgs                            `json:"completion_args,omitempty"`
	Description      *string                                    `json:"description,omitempty"`
	Guardrails       *[]GuardrailConfig                         `json:"guardrails,omitempty"`
	HandoffExecution *ConversationStreamRequestHandoffExecution `json:"handoff_execution,omitempty"`
	Inputs           ConversationInputs                         `json:"inputs"`
	Instructions     *string                                    `json:"instructions,omitempty"`
	Metadata         *MetadataDict                              `json:"metadata,omitempty"`
	Model            *string                                    `json:"model,omitempty"`
	Name             *string                                    `json:"name,omitempty"`
	Store            *bool                                      `json:"store,omitempty"`
	Stream           *ConversationStreamRequestStream           `json:"stream,omitempty"`
	Tools            *[]ConversationStreamRequest_Tools_Item    `json:"tools,omitempty"`
}

ConversationStreamRequest defines model for ConversationStreamRequest.

type ConversationStreamRequestAgentVersion0

type ConversationStreamRequestAgentVersion0 = string

ConversationStreamRequestAgentVersion0 defines model for ConversationStreamRequest.AgentVersion.0.

type ConversationStreamRequestAgentVersion1

type ConversationStreamRequestAgentVersion1 = int

ConversationStreamRequestAgentVersion1 defines model for ConversationStreamRequest.AgentVersion.1.

type ConversationStreamRequestHandoffExecution

type ConversationStreamRequestHandoffExecution string

ConversationStreamRequestHandoffExecution defines model for ConversationStreamRequest.HandoffExecution.

const (
	ConversationStreamRequestHandoffExecutionClient ConversationStreamRequestHandoffExecution = "client"
	ConversationStreamRequestHandoffExecutionServer ConversationStreamRequestHandoffExecution = "server"
)

Defines values for ConversationStreamRequestHandoffExecution.

func (ConversationStreamRequestHandoffExecution) Valid

Valid indicates whether the value is a known member of the ConversationStreamRequestHandoffExecution enum.

type ConversationStreamRequestStream

type ConversationStreamRequestStream bool

ConversationStreamRequestStream defines model for ConversationStreamRequest.Stream.

const (
	ConversationStreamRequestStreamTrue ConversationStreamRequestStream = true
)

Defines values for ConversationStreamRequestStream.

func (ConversationStreamRequestStream) Valid

Valid indicates whether the value is a known member of the ConversationStreamRequestStream enum.

type ConversationStreamRequest_AgentVersion

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

ConversationStreamRequest_AgentVersion defines model for ConversationStreamRequest.AgentVersion.

func (ConversationStreamRequest_AgentVersion) AsConversationStreamRequestAgentVersion0

func (t ConversationStreamRequest_AgentVersion) AsConversationStreamRequestAgentVersion0() (ConversationStreamRequestAgentVersion0, error)

AsConversationStreamRequestAgentVersion0 returns the union data inside the ConversationStreamRequest_AgentVersion as a ConversationStreamRequestAgentVersion0

func (ConversationStreamRequest_AgentVersion) AsConversationStreamRequestAgentVersion1

func (t ConversationStreamRequest_AgentVersion) AsConversationStreamRequestAgentVersion1() (ConversationStreamRequestAgentVersion1, error)

AsConversationStreamRequestAgentVersion1 returns the union data inside the ConversationStreamRequest_AgentVersion as a ConversationStreamRequestAgentVersion1

func (*ConversationStreamRequest_AgentVersion) FromConversationStreamRequestAgentVersion0

func (t *ConversationStreamRequest_AgentVersion) FromConversationStreamRequestAgentVersion0(v ConversationStreamRequestAgentVersion0) error

FromConversationStreamRequestAgentVersion0 overwrites any union data inside the ConversationStreamRequest_AgentVersion as the provided ConversationStreamRequestAgentVersion0

func (*ConversationStreamRequest_AgentVersion) FromConversationStreamRequestAgentVersion1

func (t *ConversationStreamRequest_AgentVersion) FromConversationStreamRequestAgentVersion1(v ConversationStreamRequestAgentVersion1) error

FromConversationStreamRequestAgentVersion1 overwrites any union data inside the ConversationStreamRequest_AgentVersion as the provided ConversationStreamRequestAgentVersion1

func (ConversationStreamRequest_AgentVersion) MarshalJSON

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

func (*ConversationStreamRequest_AgentVersion) MergeConversationStreamRequestAgentVersion0

func (t *ConversationStreamRequest_AgentVersion) MergeConversationStreamRequestAgentVersion0(v ConversationStreamRequestAgentVersion0) error

MergeConversationStreamRequestAgentVersion0 performs a merge with any union data inside the ConversationStreamRequest_AgentVersion, using the provided ConversationStreamRequestAgentVersion0

func (*ConversationStreamRequest_AgentVersion) MergeConversationStreamRequestAgentVersion1

func (t *ConversationStreamRequest_AgentVersion) MergeConversationStreamRequestAgentVersion1(v ConversationStreamRequestAgentVersion1) error

MergeConversationStreamRequestAgentVersion1 performs a merge with any union data inside the ConversationStreamRequest_AgentVersion, using the provided ConversationStreamRequestAgentVersion1

func (*ConversationStreamRequest_AgentVersion) UnmarshalJSON

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

type ConversationStreamRequest_Tools_Item

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

ConversationStreamRequest_Tools_Item defines model for ConversationStreamRequest.tools.Item.

func (ConversationStreamRequest_Tools_Item) AsCodeInterpreterTool

func (t ConversationStreamRequest_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)

AsCodeInterpreterTool returns the union data inside the ConversationStreamRequest_Tools_Item as a CodeInterpreterTool

func (ConversationStreamRequest_Tools_Item) AsCustomConnector

AsCustomConnector returns the union data inside the ConversationStreamRequest_Tools_Item as a CustomConnector

func (ConversationStreamRequest_Tools_Item) AsDocumentLibraryTool

func (t ConversationStreamRequest_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)

AsDocumentLibraryTool returns the union data inside the ConversationStreamRequest_Tools_Item as a DocumentLibraryTool

func (ConversationStreamRequest_Tools_Item) AsFunctionTool

AsFunctionTool returns the union data inside the ConversationStreamRequest_Tools_Item as a FunctionTool

func (ConversationStreamRequest_Tools_Item) AsImageGenerationTool

func (t ConversationStreamRequest_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)

AsImageGenerationTool returns the union data inside the ConversationStreamRequest_Tools_Item as a ImageGenerationTool

func (ConversationStreamRequest_Tools_Item) AsWebSearchPremiumTool

func (t ConversationStreamRequest_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)

AsWebSearchPremiumTool returns the union data inside the ConversationStreamRequest_Tools_Item as a WebSearchPremiumTool

func (ConversationStreamRequest_Tools_Item) AsWebSearchTool

AsWebSearchTool returns the union data inside the ConversationStreamRequest_Tools_Item as a WebSearchTool

func (ConversationStreamRequest_Tools_Item) Discriminator

func (t ConversationStreamRequest_Tools_Item) Discriminator() (string, error)

func (*ConversationStreamRequest_Tools_Item) FromCodeInterpreterTool

func (t *ConversationStreamRequest_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error

FromCodeInterpreterTool overwrites any union data inside the ConversationStreamRequest_Tools_Item as the provided CodeInterpreterTool

func (*ConversationStreamRequest_Tools_Item) FromCustomConnector

FromCustomConnector overwrites any union data inside the ConversationStreamRequest_Tools_Item as the provided CustomConnector

func (*ConversationStreamRequest_Tools_Item) FromDocumentLibraryTool

func (t *ConversationStreamRequest_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error

FromDocumentLibraryTool overwrites any union data inside the ConversationStreamRequest_Tools_Item as the provided DocumentLibraryTool

func (*ConversationStreamRequest_Tools_Item) FromFunctionTool

FromFunctionTool overwrites any union data inside the ConversationStreamRequest_Tools_Item as the provided FunctionTool

func (*ConversationStreamRequest_Tools_Item) FromImageGenerationTool

func (t *ConversationStreamRequest_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error

FromImageGenerationTool overwrites any union data inside the ConversationStreamRequest_Tools_Item as the provided ImageGenerationTool

func (*ConversationStreamRequest_Tools_Item) FromWebSearchPremiumTool

func (t *ConversationStreamRequest_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error

FromWebSearchPremiumTool overwrites any union data inside the ConversationStreamRequest_Tools_Item as the provided WebSearchPremiumTool

func (*ConversationStreamRequest_Tools_Item) FromWebSearchTool

FromWebSearchTool overwrites any union data inside the ConversationStreamRequest_Tools_Item as the provided WebSearchTool

func (ConversationStreamRequest_Tools_Item) MarshalJSON

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

func (*ConversationStreamRequest_Tools_Item) MergeCodeInterpreterTool

func (t *ConversationStreamRequest_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error

MergeCodeInterpreterTool performs a merge with any union data inside the ConversationStreamRequest_Tools_Item, using the provided CodeInterpreterTool

func (*ConversationStreamRequest_Tools_Item) MergeCustomConnector

func (t *ConversationStreamRequest_Tools_Item) MergeCustomConnector(v CustomConnector) error

MergeCustomConnector performs a merge with any union data inside the ConversationStreamRequest_Tools_Item, using the provided CustomConnector

func (*ConversationStreamRequest_Tools_Item) MergeDocumentLibraryTool

func (t *ConversationStreamRequest_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error

MergeDocumentLibraryTool performs a merge with any union data inside the ConversationStreamRequest_Tools_Item, using the provided DocumentLibraryTool

func (*ConversationStreamRequest_Tools_Item) MergeFunctionTool

MergeFunctionTool performs a merge with any union data inside the ConversationStreamRequest_Tools_Item, using the provided FunctionTool

func (*ConversationStreamRequest_Tools_Item) MergeImageGenerationTool

func (t *ConversationStreamRequest_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error

MergeImageGenerationTool performs a merge with any union data inside the ConversationStreamRequest_Tools_Item, using the provided ImageGenerationTool

func (*ConversationStreamRequest_Tools_Item) MergeWebSearchPremiumTool

func (t *ConversationStreamRequest_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error

MergeWebSearchPremiumTool performs a merge with any union data inside the ConversationStreamRequest_Tools_Item, using the provided WebSearchPremiumTool

func (*ConversationStreamRequest_Tools_Item) MergeWebSearchTool

func (t *ConversationStreamRequest_Tools_Item) MergeWebSearchTool(v WebSearchTool) error

MergeWebSearchTool performs a merge with any union data inside the ConversationStreamRequest_Tools_Item, using the provided WebSearchTool

func (*ConversationStreamRequest_Tools_Item) UnmarshalJSON

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

func (ConversationStreamRequest_Tools_Item) ValueByDiscriminator

func (t ConversationStreamRequest_Tools_Item) ValueByDiscriminator() (interface{}, error)

type ConversationUsageInfo

type ConversationUsageInfo struct {
	CompletionTokens *int            `json:"completion_tokens,omitempty"`
	ConnectorTokens  *int            `json:"connector_tokens,omitempty"`
	Connectors       *map[string]int `json:"connectors,omitempty"`
	PromptTokens     *int            `json:"prompt_tokens,omitempty"`
	TotalTokens      *int            `json:"total_tokens,omitempty"`
}

ConversationUsageInfo defines model for ConversationUsageInfo.

type CreateCampaignV1ObservabilityCampaignsPostJSONRequestBody

type CreateCampaignV1ObservabilityCampaignsPostJSONRequestBody = PostCampaignInSchema

CreateCampaignV1ObservabilityCampaignsPostJSONRequestBody defines body for CreateCampaignV1ObservabilityCampaignsPost for application/json ContentType.

type CreateCampaignV1ObservabilityCampaignsPostResponse

type CreateCampaignV1ObservabilityCampaignsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *CampaignPreview
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseCreateCampaignV1ObservabilityCampaignsPostResponse

func ParseCreateCampaignV1ObservabilityCampaignsPostResponse(rsp *http.Response) (*CreateCampaignV1ObservabilityCampaignsPostResponse, error)

ParseCreateCampaignV1ObservabilityCampaignsPostResponse parses an HTTP response from a CreateCampaignV1ObservabilityCampaignsPostWithResponse call

func (CreateCampaignV1ObservabilityCampaignsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateCampaignV1ObservabilityCampaignsPostResponse) GetBody

GetBody returns the raw response body bytes

func (CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateCampaignV1ObservabilityCampaignsPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateCampaignV1ObservabilityCampaignsPostResponse) Status

Status returns HTTPResponse.Status

func (CreateCampaignV1ObservabilityCampaignsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostJSONRequestBody

type CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostJSONRequestBody = PostDatasetRecordInSchema

CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostJSONRequestBody defines body for CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPost for application/json ContentType.

type CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse

type CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *DatasetRecord
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse

func ParseCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse(rsp *http.Response) (*CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse, error)

ParseCreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse parses an HTTP response from a CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostWithResponse call

func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetBody

GetBody returns the raw response body bytes

func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) Status

Status returns HTTPResponse.Status

func (CreateDatasetRecordV1ObservabilityDatasetsDatasetIdRecordsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateDatasetV1ObservabilityDatasetsPostJSONRequestBody

type CreateDatasetV1ObservabilityDatasetsPostJSONRequestBody = PostDatasetInSchema

CreateDatasetV1ObservabilityDatasetsPostJSONRequestBody defines body for CreateDatasetV1ObservabilityDatasetsPost for application/json ContentType.

type CreateDatasetV1ObservabilityDatasetsPostResponse

type CreateDatasetV1ObservabilityDatasetsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *Dataset
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseCreateDatasetV1ObservabilityDatasetsPostResponse

func ParseCreateDatasetV1ObservabilityDatasetsPostResponse(rsp *http.Response) (*CreateDatasetV1ObservabilityDatasetsPostResponse, error)

ParseCreateDatasetV1ObservabilityDatasetsPostResponse parses an HTTP response from a CreateDatasetV1ObservabilityDatasetsPostWithResponse call

func (CreateDatasetV1ObservabilityDatasetsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateDatasetV1ObservabilityDatasetsPostResponse) GetBody

GetBody returns the raw response body bytes

func (CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateDatasetV1ObservabilityDatasetsPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateDatasetV1ObservabilityDatasetsPostResponse) Status

Status returns HTTPResponse.Status

func (CreateDatasetV1ObservabilityDatasetsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateJudgeV1ObservabilityJudgesPostJSONRequestBody

type CreateJudgeV1ObservabilityJudgesPostJSONRequestBody = PostJudgeInSchema

CreateJudgeV1ObservabilityJudgesPostJSONRequestBody defines body for CreateJudgeV1ObservabilityJudgesPost for application/json ContentType.

type CreateJudgeV1ObservabilityJudgesPostResponse

type CreateJudgeV1ObservabilityJudgesPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *JudgePreview
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseCreateJudgeV1ObservabilityJudgesPostResponse

func ParseCreateJudgeV1ObservabilityJudgesPostResponse(rsp *http.Response) (*CreateJudgeV1ObservabilityJudgesPostResponse, error)

ParseCreateJudgeV1ObservabilityJudgesPostResponse parses an HTTP response from a CreateJudgeV1ObservabilityJudgesPostWithResponse call

func (CreateJudgeV1ObservabilityJudgesPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateJudgeV1ObservabilityJudgesPostResponse) GetBody

GetBody returns the raw response body bytes

func (CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (CreateJudgeV1ObservabilityJudgesPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateJudgeV1ObservabilityJudgesPostResponse) Status

Status returns HTTPResponse.Status

func (CreateJudgeV1ObservabilityJudgesPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateVoiceV1AudioVoicesPostJSONRequestBody

type CreateVoiceV1AudioVoicesPostJSONRequestBody = VoiceCreateRequest

CreateVoiceV1AudioVoicesPostJSONRequestBody defines body for CreateVoiceV1AudioVoicesPost for application/json ContentType.

type CreateVoiceV1AudioVoicesPostResponse

type CreateVoiceV1AudioVoicesPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *VoiceResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseCreateVoiceV1AudioVoicesPostResponse

func ParseCreateVoiceV1AudioVoicesPostResponse(rsp *http.Response) (*CreateVoiceV1AudioVoicesPostResponse, error)

ParseCreateVoiceV1AudioVoicesPostResponse parses an HTTP response from a CreateVoiceV1AudioVoicesPostWithResponse call

func (CreateVoiceV1AudioVoicesPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (CreateVoiceV1AudioVoicesPostResponse) GetBody

GetBody returns the raw response body bytes

func (CreateVoiceV1AudioVoicesPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (CreateVoiceV1AudioVoicesPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (CreateVoiceV1AudioVoicesPostResponse) Status

Status returns HTTPResponse.Status

func (CreateVoiceV1AudioVoicesPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CredentialsCreateOrUpdate

type CredentialsCreateOrUpdate struct {
	// Credentials The credential data (headers, bearer_token).
	Credentials *ConnectionCredentials `json:"credentials,omitempty"`

	// IsDefault Controls whether this credential is the default for its auth method. On creation: if no credential exists yet for this auth method, the credential is automatically set as default when is_default is true or omitted; setting is_default to false is rejected because a default must exist. If other credentials already exist, setting is_default to true promotes this credential (demoting the previous default); false or omitted creates it as non-default. On update: true promotes this credential, false is rejected if it is currently the default (promote another credential first), omitted leaves the default status unchanged.
	IsDefault *bool `json:"is_default,omitempty"`

	// Name Name of the credentials. Use this name to access or modify your credentials.
	Name string `json:"name"`
}

CredentialsCreateOrUpdate Request to create or update non-OAuth2 credentials for a connector.

type CredentialsResponse

type CredentialsResponse struct {
	ConnectorPresetCredentialsForAuth *[]OutboundAuthenticationType `json:"connector_preset_credentials_for_auth,omitempty"`
	Credentials                       []AuthenticationConfiguration `json:"credentials"`
}

CredentialsResponse defines model for CredentialsResponse.

type CustomConnector

type CustomConnector struct {
	Authorization *struct {
		// contains filtered or unexported fields
	} `json:"authorization,omitempty"`
	ConnectorId       string               `json:"connector_id"`
	ToolConfiguration *ToolConfiguration   `json:"tool_configuration,omitempty"`
	Type              *CustomConnectorType `json:"type,omitempty"`
}

CustomConnector defines model for CustomConnector.

type CustomConnectorType

type CustomConnectorType string

CustomConnectorType defines model for CustomConnector.Type.

const (
	CustomConnectorTypeConnector CustomConnectorType = "connector"
)

Defines values for CustomConnectorType.

func (CustomConnectorType) Valid

func (e CustomConnectorType) Valid() bool

Valid indicates whether the value is a known member of the CustomConnectorType enum.

type CustomTaskCanceledAttributes

type CustomTaskCanceledAttributes struct {
	// CustomTaskId Unique identifier for the custom task within the workflow.
	CustomTaskId string `json:"custom_task_id"`

	// CustomTaskType The type/category of the custom task (e.g., 'llm_call', 'api_request').
	CustomTaskType string `json:"custom_task_type"`

	// Reason Optional reason provided for the cancellation.
	Reason *string `json:"reason,omitempty"`
}

CustomTaskCanceledAttributes Attributes for custom task canceled events.

type CustomTaskCanceledResponse

type CustomTaskCanceledResponse struct {
	// Attributes Event-specific attributes.
	Attributes CustomTaskCanceledAttributes `json:"attributes"`

	// EventId Unique identifier for this event instance.
	EventId string `json:"event_id"`

	// EventTimestamp Unix timestamp in nanoseconds when the event was created.
	EventTimestamp int `json:"event_timestamp"`

	// EventType Event type discriminator.
	EventType CustomTaskCanceledResponseEventType `json:"event_type"`

	// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
	ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`

	// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
	RootWorkflowExecId string `json:"root_workflow_exec_id"`

	// WorkflowExecId Execution ID of the workflow that emitted this event.
	WorkflowExecId string `json:"workflow_exec_id"`

	// WorkflowName The registered name of the workflow that emitted this event.
	WorkflowName string `json:"workflow_name"`

	// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
	WorkflowRunId string `json:"workflow_run_id"`
}

CustomTaskCanceledResponse Emitted when a custom task is canceled.

Indicates the task was explicitly stopped before completion.

type CustomTaskCanceledResponseEventType

type CustomTaskCanceledResponseEventType string

CustomTaskCanceledResponseEventType Event type discriminator.

const (
	CustomTaskCanceledResponseEventTypeCUSTOMTASKCANCELED CustomTaskCanceledResponseEventType = "CUSTOM_TASK_CANCELED"
)

Defines values for CustomTaskCanceledResponseEventType.

func (CustomTaskCanceledResponseEventType) Valid

Valid indicates whether the value is a known member of the CustomTaskCanceledResponseEventType enum.

type CustomTaskCompletedAttributesResponse

type CustomTaskCompletedAttributesResponse struct {
	// CustomTaskId Unique identifier for the custom task within the workflow.
	CustomTaskId string `json:"custom_task_id"`

	// CustomTaskType The type/category of the custom task (e.g., 'llm_call', 'api_request').
	CustomTaskType string `json:"custom_task_type"`

	// Payload The final result of the custom task.
	Payload JSONPayloadResponse `json:"payload"`
}

CustomTaskCompletedAttributesResponse Attributes for custom task completed events.

type CustomTaskCompletedResponse

type CustomTaskCompletedResponse struct {
	// Attributes Event-specific attributes.
	Attributes CustomTaskCompletedAttributesResponse `json:"attributes"`

	// EventId Unique identifier for this event instance.
	EventId string `json:"event_id"`

	// EventTimestamp Unix timestamp in nanoseconds when the event was created.
	EventTimestamp int `json:"event_timestamp"`

	// EventType Event type discriminator.
	EventType CustomTaskCompletedResponseEventType `json:"event_type"`

	// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
	ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`

	// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
	RootWorkflowExecId string `json:"root_workflow_exec_id"`

	// WorkflowExecId Execution ID of the workflow that emitted this event.
	WorkflowExecId string `json:"workflow_exec_id"`

	// WorkflowName The registered name of the workflow that emitted this event.
	WorkflowName string `json:"workflow_name"`

	// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
	WorkflowRunId string `json:"workflow_run_id"`
}

CustomTaskCompletedResponse Emitted when a custom task completes successfully.

Contains the final result of the task execution.

type CustomTaskCompletedResponseEventType

type CustomTaskCompletedResponseEventType string

CustomTaskCompletedResponseEventType Event type discriminator.

const (
	CustomTaskCompletedResponseEventTypeCUSTOMTASKCOMPLETED CustomTaskCompletedResponseEventType = "CUSTOM_TASK_COMPLETED"
)

Defines values for CustomTaskCompletedResponseEventType.

func (CustomTaskCompletedResponseEventType) Valid

Valid indicates whether the value is a known member of the CustomTaskCompletedResponseEventType enum.

type CustomTaskFailedAttributes

type CustomTaskFailedAttributes struct {
	// CustomTaskId Unique identifier for the custom task within the workflow.
	CustomTaskId string `json:"custom_task_id"`

	// CustomTaskType The type/category of the custom task (e.g., 'llm_call', 'api_request').
	CustomTaskType string `json:"custom_task_type"`

	// Failure Details about the failure that caused the task to fail.
	Failure Failure `json:"failure"`
}

CustomTaskFailedAttributes Attributes for custom task failed events.

type CustomTaskFailedResponse

type CustomTaskFailedResponse struct {
	// Attributes Event-specific attributes.
	Attributes CustomTaskFailedAttributes `json:"attributes"`

	// EventId Unique identifier for this event instance.
	EventId string `json:"event_id"`

	// EventTimestamp Unix timestamp in nanoseconds when the event was created.
	EventTimestamp int `json:"event_timestamp"`

	// EventType Event type discriminator.
	EventType CustomTaskFailedResponseEventType `json:"event_type"`

	// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
	ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`

	// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
	RootWorkflowExecId string `json:"root_workflow_exec_id"`

	// WorkflowExecId Execution ID of the workflow that emitted this event.
	WorkflowExecId string `json:"workflow_exec_id"`

	// WorkflowName The registered name of the workflow that emitted this event.
	WorkflowName string `json:"workflow_name"`

	// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
	WorkflowRunId string `json:"workflow_run_id"`
}

CustomTaskFailedResponse Emitted when a custom task fails.

Contains details about the failure for debugging and error handling.

type CustomTaskFailedResponseEventType

type CustomTaskFailedResponseEventType string

CustomTaskFailedResponseEventType Event type discriminator.

const (
	CustomTaskFailedResponseEventTypeCUSTOMTASKFAILED CustomTaskFailedResponseEventType = "CUSTOM_TASK_FAILED"
)

Defines values for CustomTaskFailedResponseEventType.

func (CustomTaskFailedResponseEventType) Valid

Valid indicates whether the value is a known member of the CustomTaskFailedResponseEventType enum.

type CustomTaskInProgressAttributesResponse

type CustomTaskInProgressAttributesResponse struct {
	// CustomTaskId Unique identifier for the custom task within the workflow.
	CustomTaskId string `json:"custom_task_id"`

	// CustomTaskType The type/category of the custom task (e.g., 'llm_call', 'api_request').
	CustomTaskType string `json:"custom_task_type"`

	// Payload The current state or incremental update for the task.
	Payload CustomTaskInProgressAttributesResponse_Payload `json:"payload"`
}

CustomTaskInProgressAttributesResponse Attributes for custom task in-progress events with streaming updates.

type CustomTaskInProgressAttributesResponse_Payload

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

CustomTaskInProgressAttributesResponse_Payload The current state or incremental update for the task.

func (CustomTaskInProgressAttributesResponse_Payload) AsJSONPatchPayloadResponse

AsJSONPatchPayloadResponse returns the union data inside the CustomTaskInProgressAttributesResponse_Payload as a JSONPatchPayloadResponse

func (CustomTaskInProgressAttributesResponse_Payload) AsJSONPayloadResponse

AsJSONPayloadResponse returns the union data inside the CustomTaskInProgressAttributesResponse_Payload as a JSONPayloadResponse

func (CustomTaskInProgressAttributesResponse_Payload) Discriminator

func (*CustomTaskInProgressAttributesResponse_Payload) FromJSONPatchPayloadResponse

FromJSONPatchPayloadResponse overwrites any union data inside the CustomTaskInProgressAttributesResponse_Payload as the provided JSONPatchPayloadResponse

func (*CustomTaskInProgressAttributesResponse_Payload) FromJSONPayloadResponse

FromJSONPayloadResponse overwrites any union data inside the CustomTaskInProgressAttributesResponse_Payload as the provided JSONPayloadResponse

func (CustomTaskInProgressAttributesResponse_Payload) MarshalJSON

func (*CustomTaskInProgressAttributesResponse_Payload) MergeJSONPatchPayloadResponse

MergeJSONPatchPayloadResponse performs a merge with any union data inside the CustomTaskInProgressAttributesResponse_Payload, using the provided JSONPatchPayloadResponse

func (*CustomTaskInProgressAttributesResponse_Payload) MergeJSONPayloadResponse

MergeJSONPayloadResponse performs a merge with any union data inside the CustomTaskInProgressAttributesResponse_Payload, using the provided JSONPayloadResponse

func (*CustomTaskInProgressAttributesResponse_Payload) UnmarshalJSON

func (CustomTaskInProgressAttributesResponse_Payload) ValueByDiscriminator

func (t CustomTaskInProgressAttributesResponse_Payload) ValueByDiscriminator() (interface{}, error)

type CustomTaskInProgressResponse

type CustomTaskInProgressResponse struct {
	// Attributes Event-specific attributes.
	Attributes CustomTaskInProgressAttributesResponse `json:"attributes"`

	// EventId Unique identifier for this event instance.
	EventId string `json:"event_id"`

	// EventTimestamp Unix timestamp in nanoseconds when the event was created.
	EventTimestamp int `json:"event_timestamp"`

	// EventType Event type discriminator.
	EventType CustomTaskInProgressResponseEventType `json:"event_type"`

	// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
	ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`

	// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
	RootWorkflowExecId string `json:"root_workflow_exec_id"`

	// WorkflowExecId Execution ID of the workflow that emitted this event.
	WorkflowExecId string `json:"workflow_exec_id"`

	// WorkflowName The registered name of the workflow that emitted this event.
	WorkflowName string `json:"workflow_name"`

	// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
	WorkflowRunId string `json:"workflow_run_id"`
}

CustomTaskInProgressResponse Emitted during custom task execution to report progress.

This event supports streaming updates via JSON or JSON Patch payloads, enabling real-time progress tracking for long-running tasks.

type CustomTaskInProgressResponseEventType

type CustomTaskInProgressResponseEventType string

CustomTaskInProgressResponseEventType Event type discriminator.

const (
	CustomTaskInProgressResponseEventTypeCUSTOMTASKINPROGRESS CustomTaskInProgressResponseEventType = "CUSTOM_TASK_IN_PROGRESS"
)

Defines values for CustomTaskInProgressResponseEventType.

func (CustomTaskInProgressResponseEventType) Valid

Valid indicates whether the value is a known member of the CustomTaskInProgressResponseEventType enum.

type CustomTaskStartedAttributesResponse

type CustomTaskStartedAttributesResponse struct {
	// CustomTaskId Unique identifier for the custom task within the workflow.
	CustomTaskId string `json:"custom_task_id"`

	// CustomTaskType The type/category of the custom task (e.g., 'llm_call', 'api_request').
	CustomTaskType string `json:"custom_task_type"`

	// Payload The initial state or payload for the custom task.
	Payload *JSONPayloadResponse `json:"payload,omitempty"`
}

CustomTaskStartedAttributesResponse Attributes for custom task started events.

type CustomTaskStartedResponse

type CustomTaskStartedResponse struct {
	// Attributes Event-specific attributes.
	Attributes CustomTaskStartedAttributesResponse `json:"attributes"`

	// EventId Unique identifier for this event instance.
	EventId string `json:"event_id"`

	// EventTimestamp Unix timestamp in nanoseconds when the event was created.
	EventTimestamp int `json:"event_timestamp"`

	// EventType Event type discriminator.
	EventType CustomTaskStartedResponseEventType `json:"event_type"`

	// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
	ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`

	// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
	RootWorkflowExecId string `json:"root_workflow_exec_id"`

	// WorkflowExecId Execution ID of the workflow that emitted this event.
	WorkflowExecId string `json:"workflow_exec_id"`

	// WorkflowName The registered name of the workflow that emitted this event.
	WorkflowName string `json:"workflow_name"`

	// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
	WorkflowRunId string `json:"workflow_run_id"`
}

CustomTaskStartedResponse Emitted when a custom task begins execution.

Custom tasks represent user-defined units of work within a workflow, such as LLM calls, API requests, or data processing steps.

type CustomTaskStartedResponseEventType

type CustomTaskStartedResponseEventType string

CustomTaskStartedResponseEventType Event type discriminator.

const (
	CustomTaskStartedResponseEventTypeCUSTOMTASKSTARTED CustomTaskStartedResponseEventType = "CUSTOM_TASK_STARTED"
)

Defines values for CustomTaskStartedResponseEventType.

func (CustomTaskStartedResponseEventType) Valid

Valid indicates whether the value is a known member of the CustomTaskStartedResponseEventType enum.

type CustomTaskTimedOutAttributes

type CustomTaskTimedOutAttributes struct {
	// CustomTaskId Unique identifier for the custom task within the workflow.
	CustomTaskId string `json:"custom_task_id"`

	// CustomTaskType The type/category of the custom task (e.g., 'llm_call', 'api_request').
	CustomTaskType string `json:"custom_task_type"`

	// TimeoutType The type of timeout that occurred.
	TimeoutType *string `json:"timeout_type,omitempty"`
}

CustomTaskTimedOutAttributes Attributes for custom task timed out events.

type CustomTaskTimedOutResponse

type CustomTaskTimedOutResponse struct {
	// Attributes Event-specific attributes.
	Attributes CustomTaskTimedOutAttributes `json:"attributes"`

	// EventId Unique identifier for this event instance.
	EventId string `json:"event_id"`

	// EventTimestamp Unix timestamp in nanoseconds when the event was created.
	EventTimestamp int `json:"event_timestamp"`

	// EventType Event type discriminator.
	EventType CustomTaskTimedOutResponseEventType `json:"event_type"`

	// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
	ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`

	// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
	RootWorkflowExecId string `json:"root_workflow_exec_id"`

	// WorkflowExecId Execution ID of the workflow that emitted this event.
	WorkflowExecId string `json:"workflow_exec_id"`

	// WorkflowName The registered name of the workflow that emitted this event.
	WorkflowName string `json:"workflow_name"`

	// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
	WorkflowRunId string `json:"workflow_run_id"`
}

CustomTaskTimedOutResponse Emitted when a custom task exceeds its timeout.

Indicates the task did not complete within its configured time limit.

type CustomTaskTimedOutResponseEventType

type CustomTaskTimedOutResponseEventType string

CustomTaskTimedOutResponseEventType Event type discriminator.

const (
	CustomTaskTimedOutResponseEventTypeCUSTOMTASKTIMEDOUT CustomTaskTimedOutResponseEventType = "CUSTOM_TASK_TIMED_OUT"
)

Defines values for CustomTaskTimedOutResponseEventType.

func (CustomTaskTimedOutResponseEventType) Valid

Valid indicates whether the value is a known member of the CustomTaskTimedOutResponseEventType enum.

type Dataset

type Dataset struct {
	CreatedAt   time.Time          `json:"created_at"`
	DeletedAt   *time.Time         `json:"deleted_at"`
	Description string             `json:"description"`
	Id          openapi_types.UUID `json:"id"`
	Name        string             `json:"name"`
	OwnerId     openapi_types.UUID `json:"owner_id"`
	UpdatedAt   time.Time          `json:"updated_at"`
	WorkspaceId openapi_types.UUID `json:"workspace_id"`
}

Dataset defines model for Dataset.

type DatasetExport

type DatasetExport struct {
	FileUrl string `json:"file_url"`
}

DatasetExport defines model for DatasetExport.

type DatasetImportTask

type DatasetImportTask struct {
	CreatedAt   time.Time          `json:"created_at"`
	CreatorId   openapi_types.UUID `json:"creator_id"`
	DatasetId   openapi_types.UUID `json:"dataset_id"`
	DeletedAt   *time.Time         `json:"deleted_at"`
	Id          openapi_types.UUID `json:"id"`
	Message     *string            `json:"message,omitempty"`
	Progress    *int               `json:"progress,omitempty"`
	Status      BaseTaskStatus     `json:"status"`
	UpdatedAt   time.Time          `json:"updated_at"`
	WorkspaceId openapi_types.UUID `json:"workspace_id"`
}

DatasetImportTask defines model for DatasetImportTask.

type DatasetImportTasks

type DatasetImportTasks struct {
	Tasks PaginatedResultDatasetImportTask `json:"tasks"`
}

DatasetImportTasks defines model for DatasetImportTasks.

type DatasetPreview

type DatasetPreview struct {
	CreatedAt   time.Time          `json:"created_at"`
	DeletedAt   *time.Time         `json:"deleted_at"`
	Description string             `json:"description"`
	Id          openapi_types.UUID `json:"id"`
	Name        string             `json:"name"`
	OwnerId     openapi_types.UUID `json:"owner_id"`
	UpdatedAt   time.Time          `json:"updated_at"`
	WorkspaceId openapi_types.UUID `json:"workspace_id"`
}

DatasetPreview defines model for DatasetPreview.

type DatasetPreviews

type DatasetPreviews struct {
	Datasets PaginatedResultDatasetPreview `json:"datasets"`
}

DatasetPreviews defines model for DatasetPreviews.

type DatasetRecord

type DatasetRecord struct {
	CreatedAt  time.Time              `json:"created_at"`
	DatasetId  openapi_types.UUID     `json:"dataset_id"`
	DeletedAt  *time.Time             `json:"deleted_at"`
	Id         openapi_types.UUID     `json:"id"`
	Payload    ConversationPayload    `json:"payload"`
	Properties map[string]interface{} `json:"properties"`
	Source     ConversationSource     `json:"source"`
	UpdatedAt  time.Time              `json:"updated_at"`
}

DatasetRecord defines model for DatasetRecord.

type DatasetRecords

type DatasetRecords struct {
	Records PaginatedResultDatasetRecord `json:"records"`
}

DatasetRecords defines model for DatasetRecords.

type DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse

type DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseDeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse

func ParseDeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse(rsp *http.Response) (*DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse, error)

ParseDeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse parses an HTTP response from a DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteWithResponse call

func (DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) Status

Status returns HTTPResponse.Status

func (DeleteCampaignV1ObservabilityCampaignsCampaignIdDeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse

type DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseDeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse

func ParseDeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse(rsp *http.Response) (*DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse, error)

ParseDeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse parses an HTTP response from a DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteWithResponse call

func (DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) Status

Status returns HTTPResponse.Status

func (DeleteDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdDeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteDatasetRecordsInSchema

type DeleteDatasetRecordsInSchema struct {
	DatasetRecordIds []openapi_types.UUID `json:"dataset_record_ids"`
}

DeleteDatasetRecordsInSchema defines model for DeleteDatasetRecordsInSchema.

type DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostJSONRequestBody

type DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostJSONRequestBody = DeleteDatasetRecordsInSchema

DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostJSONRequestBody defines body for DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePost for application/json ContentType.

type DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse

type DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse

func ParseDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse(rsp *http.Response) (*DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse, error)

ParseDeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse parses an HTTP response from a DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostWithResponse call

func (DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) Status

Status returns HTTPResponse.Status

func (DeleteDatasetRecordsV1ObservabilityDatasetRecordsBulkDeletePostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse

type DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseDeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse

func ParseDeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse(rsp *http.Response) (*DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse, error)

ParseDeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse parses an HTTP response from a DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteWithResponse call

func (DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) Status

Status returns HTTPResponse.Status

func (DeleteDatasetV1ObservabilityDatasetsDatasetIdDeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteFileOut

type DeleteFileOut struct {
	// Deleted The deletion status.
	//
	// Examples: false
	Deleted bool `json:"deleted"`

	// Id The ID of the deleted file.
	//
	// Examples: 497f6eca-6276-4993-bfeb-53cbbbba6f09
	Id openapi_types.UUID `json:"id"`

	// Object The object type that was deleted
	//
	// Examples: file
	Object string `json:"object"`
}

DeleteFileOut defines model for DeleteFileOut.

type DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse

type DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseDeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse

func ParseDeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse(rsp *http.Response) (*DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse, error)

ParseDeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse parses an HTTP response from a DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteWithResponse call

func (DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) Status

Status returns HTTPResponse.Status

func (DeleteJudgeV1ObservabilityJudgesJudgeIdDeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteModelOut

type DeleteModelOut struct {
	// Deleted The deletion status
	//
	// Examples: true
	Deleted *bool `json:"deleted,omitempty"`

	// Id The ID of the deleted model.
	//
	// Examples: ft:open-mistral-7b:587a6b29:20240514:7e773925
	Id string `json:"id"`

	// Object The object type that was deleted
	Object *string `json:"object,omitempty"`
}

DeleteModelOut defines model for DeleteModelOut.

type DeleteModelV1ModelsModelIdDeleteResponse

type DeleteModelV1ModelsModelIdDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeleteModelOut
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseDeleteModelV1ModelsModelIdDeleteResponse

func ParseDeleteModelV1ModelsModelIdDeleteResponse(rsp *http.Response) (*DeleteModelV1ModelsModelIdDeleteResponse, error)

ParseDeleteModelV1ModelsModelIdDeleteResponse parses an HTTP response from a DeleteModelV1ModelsModelIdDeleteWithResponse call

func (DeleteModelV1ModelsModelIdDeleteResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteModelV1ModelsModelIdDeleteResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteModelV1ModelsModelIdDeleteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteModelV1ModelsModelIdDeleteResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (DeleteModelV1ModelsModelIdDeleteResponse) Status

Status returns HTTPResponse.Status

func (DeleteModelV1ModelsModelIdDeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse

type DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *VoiceResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseDeleteVoiceV1AudioVoicesVoiceIdDeleteResponse

func ParseDeleteVoiceV1AudioVoicesVoiceIdDeleteResponse(rsp *http.Response) (*DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse, error)

ParseDeleteVoiceV1AudioVoicesVoiceIdDeleteResponse parses an HTTP response from a DeleteVoiceV1AudioVoicesVoiceIdDeleteWithResponse call

func (DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) GetBody

GetBody returns the raw response body bytes

func (DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) Status

Status returns HTTPResponse.Status

func (DeleteVoiceV1AudioVoicesVoiceIdDeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeltaMessage

type DeltaMessage struct {
	Content   *DeltaMessage_Content `json:"content,omitempty"`
	Role      *string               `json:"role,omitempty"`
	ToolCalls *[]ToolCall           `json:"tool_calls,omitempty"`
}

DeltaMessage defines model for DeltaMessage.

type DeltaMessageContent0

type DeltaMessageContent0 = string

DeltaMessageContent0 defines model for DeltaMessage.Content.0.

type DeltaMessageContent2

type DeltaMessageContent2 = []ContentChunk

DeltaMessageContent2 defines model for DeltaMessage.Content.2.

type DeltaMessage_Content

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

DeltaMessage_Content defines model for DeltaMessage.Content.

func (DeltaMessage_Content) AsDeltaMessageContent0

func (t DeltaMessage_Content) AsDeltaMessageContent0() (DeltaMessageContent0, error)

AsDeltaMessageContent0 returns the union data inside the DeltaMessage_Content as a DeltaMessageContent0

func (DeltaMessage_Content) AsDeltaMessageContent2

func (t DeltaMessage_Content) AsDeltaMessageContent2() (DeltaMessageContent2, error)

AsDeltaMessageContent2 returns the union data inside the DeltaMessage_Content as a DeltaMessageContent2

func (*DeltaMessage_Content) FromDeltaMessageContent0

func (t *DeltaMessage_Content) FromDeltaMessageContent0(v DeltaMessageContent0) error

FromDeltaMessageContent0 overwrites any union data inside the DeltaMessage_Content as the provided DeltaMessageContent0

func (*DeltaMessage_Content) FromDeltaMessageContent2

func (t *DeltaMessage_Content) FromDeltaMessageContent2(v DeltaMessageContent2) error

FromDeltaMessageContent2 overwrites any union data inside the DeltaMessage_Content as the provided DeltaMessageContent2

func (DeltaMessage_Content) MarshalJSON

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

func (*DeltaMessage_Content) MergeDeltaMessageContent0

func (t *DeltaMessage_Content) MergeDeltaMessageContent0(v DeltaMessageContent0) error

MergeDeltaMessageContent0 performs a merge with any union data inside the DeltaMessage_Content, using the provided DeltaMessageContent0

func (*DeltaMessage_Content) MergeDeltaMessageContent2

func (t *DeltaMessage_Content) MergeDeltaMessageContent2(v DeltaMessageContent2) error

MergeDeltaMessageContent2 performs a merge with any union data inside the DeltaMessage_Content, using the provided DeltaMessageContent2

func (*DeltaMessage_Content) UnmarshalJSON

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

type DeploymentDetailResponse

type DeploymentDetailResponse struct {
	// CreatedAt When the deployment was first registered
	CreatedAt time.Time `json:"created_at"`

	// Id Unique identifier of the deployment
	Id openapi_types.UUID `json:"id"`

	// IsActive Whether at least one worker is currently live
	IsActive bool `json:"is_active"`

	// Name Deployment name
	Name string `json:"name"`

	// UpdatedAt When the deployment was last updated
	UpdatedAt time.Time `json:"updated_at"`

	// Workers Workers registered for the deployment
	Workers []DeploymentWorkerResponse `json:"workers"`
}

DeploymentDetailResponse defines model for DeploymentDetailResponse.

type DeploymentListResponse

type DeploymentListResponse struct {
	// Deployments List of deployments
	Deployments []DeploymentResponse `json:"deployments"`
}

DeploymentListResponse defines model for DeploymentListResponse.

type DeploymentResponse

type DeploymentResponse struct {
	// CreatedAt When the deployment was first registered
	CreatedAt time.Time `json:"created_at"`

	// Id Unique identifier of the deployment
	Id openapi_types.UUID `json:"id"`

	// IsActive Whether at least one worker is currently live
	IsActive bool `json:"is_active"`

	// Name Deployment name
	Name string `json:"name"`

	// UpdatedAt When the deployment was last updated
	UpdatedAt time.Time `json:"updated_at"`
}

DeploymentResponse defines model for DeploymentResponse.

type DeploymentWorkerResponse

type DeploymentWorkerResponse struct {
	// CreatedAt When the worker first registered
	CreatedAt time.Time `json:"created_at"`

	// Name Worker name
	Name string `json:"name"`

	// UpdatedAt When the worker last registered
	UpdatedAt time.Time `json:"updated_at"`
}

DeploymentWorkerResponse defines model for DeploymentWorkerResponse.

type DocumentLibraryTool

type DocumentLibraryTool struct {
	// LibraryIds Ids of the library in which to search.
	LibraryIds        []string                 `json:"library_ids"`
	ToolConfiguration *ToolConfiguration       `json:"tool_configuration,omitempty"`
	Type              *DocumentLibraryToolType `json:"type,omitempty"`
}

DocumentLibraryTool defines model for DocumentLibraryTool.

type DocumentLibraryToolType

type DocumentLibraryToolType string

DocumentLibraryToolType defines model for DocumentLibraryTool.Type.

const (
	DocumentLibraryToolTypeDocumentLibrary DocumentLibraryToolType = "document_library"
)

Defines values for DocumentLibraryToolType.

func (DocumentLibraryToolType) Valid

func (e DocumentLibraryToolType) Valid() bool

Valid indicates whether the value is a known member of the DocumentLibraryToolType enum.

type DocumentOut

type DocumentOut struct {
	Attributes                  *map[string]interface{} `json:"attributes,omitempty"`
	CreatedAt                   time.Time               `json:"created_at"`
	Extension                   *string                 `json:"extension"`
	Hash                        *string                 `json:"hash"`
	Id                          openapi_types.UUID      `json:"id"`
	LastProcessedAt             *time.Time              `json:"last_processed_at,omitempty"`
	LibraryId                   openapi_types.UUID      `json:"library_id"`
	MimeType                    *string                 `json:"mime_type"`
	Name                        string                  `json:"name"`
	NumberOfPages               *int                    `json:"number_of_pages,omitempty"`
	ProcessStatus               ProcessStatus           `json:"process_status"`
	ProcessingStatus            *string                 `json:"processing_status,omitempty"`
	Size                        *int                    `json:"size"`
	Summary                     *string                 `json:"summary,omitempty"`
	TokensProcessingMainContent *int                    `json:"tokens_processing_main_content,omitempty"`
	TokensProcessingSummary     *int                    `json:"tokens_processing_summary,omitempty"`
	TokensProcessingTotal       *int                    `json:"tokens_processing_total,omitempty"`
	UploadedById                *openapi_types.UUID     `json:"uploaded_by_id"`
	UploadedByType              string                  `json:"uploaded_by_type"`
	Url                         *string                 `json:"url,omitempty"`
}

DocumentOut defines model for DocumentOut.

type DocumentTextContent

type DocumentTextContent struct {
	Text string `json:"text"`
}

DocumentTextContent defines model for DocumentTextContent.

type DocumentURLChunk

type DocumentURLChunk struct {
	// DocumentName The filename of the document
	DocumentName *string               `json:"document_name,omitempty"`
	DocumentUrl  string                `json:"document_url"`
	Type         *DocumentURLChunkType `json:"type,omitempty"`
}

DocumentURLChunk defines model for DocumentURLChunk.

type DocumentURLChunkType

type DocumentURLChunkType string

DocumentURLChunkType defines model for DocumentURLChunk.Type.

const (
	DocumentURLChunkTypeDocumentUrl DocumentURLChunkType = "document_url"
)

Defines values for DocumentURLChunkType.

func (DocumentURLChunkType) Valid

func (e DocumentURLChunkType) Valid() bool

Valid indicates whether the value is a known member of the DocumentURLChunkType enum.

type DocumentUpdateIn

type DocumentUpdateIn struct {
	Attributes *map[string]DocumentUpdateIn_Attributes_AdditionalProperties `json:"attributes,omitempty"`
	Name       *string                                                      `json:"name,omitempty"`
}

DocumentUpdateIn defines model for DocumentUpdateIn.

type DocumentUpdateInAttributes0

type DocumentUpdateInAttributes0 = bool

DocumentUpdateInAttributes0 defines model for DocumentUpdateIn.Attributes.0.

type DocumentUpdateInAttributes1

type DocumentUpdateInAttributes1 = string

DocumentUpdateInAttributes1 defines model for DocumentUpdateIn.Attributes.1.

type DocumentUpdateInAttributes2

type DocumentUpdateInAttributes2 = int

DocumentUpdateInAttributes2 defines model for DocumentUpdateIn.Attributes.2.

type DocumentUpdateInAttributes3

type DocumentUpdateInAttributes3 = float32

DocumentUpdateInAttributes3 defines model for DocumentUpdateIn.Attributes.3.

type DocumentUpdateInAttributes4

type DocumentUpdateInAttributes4 = time.Time

DocumentUpdateInAttributes4 defines model for DocumentUpdateIn.Attributes.4.

type DocumentUpdateInAttributes5

type DocumentUpdateInAttributes5 = []string

DocumentUpdateInAttributes5 defines model for DocumentUpdateIn.Attributes.5.

type DocumentUpdateInAttributes6

type DocumentUpdateInAttributes6 = []int

DocumentUpdateInAttributes6 defines model for DocumentUpdateIn.Attributes.6.

type DocumentUpdateInAttributes7

type DocumentUpdateInAttributes7 = []float32

DocumentUpdateInAttributes7 defines model for DocumentUpdateIn.Attributes.7.

type DocumentUpdateInAttributes8

type DocumentUpdateInAttributes8 = []bool

DocumentUpdateInAttributes8 defines model for DocumentUpdateIn.Attributes.8.

type DocumentUpdateIn_Attributes_AdditionalProperties

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

DocumentUpdateIn_Attributes_AdditionalProperties defines model for DocumentUpdateIn.attributes.AdditionalProperties.

func (DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes0

AsDocumentUpdateInAttributes0 returns the union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as a DocumentUpdateInAttributes0

func (DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes1

AsDocumentUpdateInAttributes1 returns the union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as a DocumentUpdateInAttributes1

func (DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes2

AsDocumentUpdateInAttributes2 returns the union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as a DocumentUpdateInAttributes2

func (DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes3

AsDocumentUpdateInAttributes3 returns the union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as a DocumentUpdateInAttributes3

func (DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes4

AsDocumentUpdateInAttributes4 returns the union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as a DocumentUpdateInAttributes4

func (DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes5

AsDocumentUpdateInAttributes5 returns the union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as a DocumentUpdateInAttributes5

func (DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes6

AsDocumentUpdateInAttributes6 returns the union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as a DocumentUpdateInAttributes6

func (DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes7

AsDocumentUpdateInAttributes7 returns the union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as a DocumentUpdateInAttributes7

func (DocumentUpdateIn_Attributes_AdditionalProperties) AsDocumentUpdateInAttributes8

AsDocumentUpdateInAttributes8 returns the union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as a DocumentUpdateInAttributes8

func (*DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes0

FromDocumentUpdateInAttributes0 overwrites any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as the provided DocumentUpdateInAttributes0

func (*DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes1

FromDocumentUpdateInAttributes1 overwrites any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as the provided DocumentUpdateInAttributes1

func (*DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes2

FromDocumentUpdateInAttributes2 overwrites any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as the provided DocumentUpdateInAttributes2

func (*DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes3

FromDocumentUpdateInAttributes3 overwrites any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as the provided DocumentUpdateInAttributes3

func (*DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes4

FromDocumentUpdateInAttributes4 overwrites any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as the provided DocumentUpdateInAttributes4

func (*DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes5

FromDocumentUpdateInAttributes5 overwrites any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as the provided DocumentUpdateInAttributes5

func (*DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes6

FromDocumentUpdateInAttributes6 overwrites any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as the provided DocumentUpdateInAttributes6

func (*DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes7

FromDocumentUpdateInAttributes7 overwrites any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as the provided DocumentUpdateInAttributes7

func (*DocumentUpdateIn_Attributes_AdditionalProperties) FromDocumentUpdateInAttributes8

FromDocumentUpdateInAttributes8 overwrites any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties as the provided DocumentUpdateInAttributes8

func (DocumentUpdateIn_Attributes_AdditionalProperties) MarshalJSON

func (*DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes0

MergeDocumentUpdateInAttributes0 performs a merge with any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties, using the provided DocumentUpdateInAttributes0

func (*DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes1

MergeDocumentUpdateInAttributes1 performs a merge with any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties, using the provided DocumentUpdateInAttributes1

func (*DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes2

MergeDocumentUpdateInAttributes2 performs a merge with any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties, using the provided DocumentUpdateInAttributes2

func (*DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes3

MergeDocumentUpdateInAttributes3 performs a merge with any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties, using the provided DocumentUpdateInAttributes3

func (*DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes4

MergeDocumentUpdateInAttributes4 performs a merge with any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties, using the provided DocumentUpdateInAttributes4

func (*DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes5

MergeDocumentUpdateInAttributes5 performs a merge with any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties, using the provided DocumentUpdateInAttributes5

func (*DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes6

MergeDocumentUpdateInAttributes6 performs a merge with any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties, using the provided DocumentUpdateInAttributes6

func (*DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes7

MergeDocumentUpdateInAttributes7 performs a merge with any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties, using the provided DocumentUpdateInAttributes7

func (*DocumentUpdateIn_Attributes_AdditionalProperties) MergeDocumentUpdateInAttributes8

MergeDocumentUpdateInAttributes8 performs a merge with any union data inside the DocumentUpdateIn_Attributes_AdditionalProperties, using the provided DocumentUpdateInAttributes8

func (*DocumentUpdateIn_Attributes_AdditionalProperties) UnmarshalJSON

type EmbeddedResource

type EmbeddedResource struct {
	UnderscoreMeta       *map[string]interface{}   `json:"_meta,omitempty"`
	Annotations          *Annotations              `json:"annotations,omitempty"`
	Resource             EmbeddedResource_Resource `json:"resource"`
	Type                 EmbeddedResourceType      `json:"type"`
	AdditionalProperties map[string]interface{}    `json:"-"`
}

EmbeddedResource The contents of a resource, embedded into a prompt or tool call result.

It is up to the client how best to render embedded resources for the benefit of the LLM and/or the user.

func (EmbeddedResource) Get

func (a EmbeddedResource) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for EmbeddedResource. Returns the specified element and whether it was found

func (EmbeddedResource) MarshalJSON

func (a EmbeddedResource) MarshalJSON() ([]byte, error)

Override default JSON handling for EmbeddedResource to handle AdditionalProperties

func (*EmbeddedResource) Set

func (a *EmbeddedResource) Set(fieldName string, value interface{})

Setter for additional properties for EmbeddedResource

func (*EmbeddedResource) UnmarshalJSON

func (a *EmbeddedResource) UnmarshalJSON(b []byte) error

Override default JSON handling for EmbeddedResource to handle AdditionalProperties

type EmbeddedResourceType

type EmbeddedResourceType string

EmbeddedResourceType defines model for EmbeddedResource.Type.

const (
	EmbeddedResourceTypeResource EmbeddedResourceType = "resource"
)

Defines values for EmbeddedResourceType.

func (EmbeddedResourceType) Valid

func (e EmbeddedResourceType) Valid() bool

Valid indicates whether the value is a known member of the EmbeddedResourceType enum.

type EmbeddedResource_Resource

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

EmbeddedResource_Resource defines model for EmbeddedResource.Resource.

func (EmbeddedResource_Resource) AsBlobResourceContents

func (t EmbeddedResource_Resource) AsBlobResourceContents() (BlobResourceContents, error)

AsBlobResourceContents returns the union data inside the EmbeddedResource_Resource as a BlobResourceContents

func (EmbeddedResource_Resource) AsTextResourceContents

func (t EmbeddedResource_Resource) AsTextResourceContents() (TextResourceContents, error)

AsTextResourceContents returns the union data inside the EmbeddedResource_Resource as a TextResourceContents

func (*EmbeddedResource_Resource) FromBlobResourceContents

func (t *EmbeddedResource_Resource) FromBlobResourceContents(v BlobResourceContents) error

FromBlobResourceContents overwrites any union data inside the EmbeddedResource_Resource as the provided BlobResourceContents

func (*EmbeddedResource_Resource) FromTextResourceContents

func (t *EmbeddedResource_Resource) FromTextResourceContents(v TextResourceContents) error

FromTextResourceContents overwrites any union data inside the EmbeddedResource_Resource as the provided TextResourceContents

func (EmbeddedResource_Resource) MarshalJSON

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

func (*EmbeddedResource_Resource) MergeBlobResourceContents

func (t *EmbeddedResource_Resource) MergeBlobResourceContents(v BlobResourceContents) error

MergeBlobResourceContents performs a merge with any union data inside the EmbeddedResource_Resource, using the provided BlobResourceContents

func (*EmbeddedResource_Resource) MergeTextResourceContents

func (t *EmbeddedResource_Resource) MergeTextResourceContents(v TextResourceContents) error

MergeTextResourceContents performs a merge with any union data inside the EmbeddedResource_Resource, using the provided TextResourceContents

func (*EmbeddedResource_Resource) UnmarshalJSON

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

type EmbeddingDtype

type EmbeddingDtype string

EmbeddingDtype defines model for EmbeddingDtype.

const (
	EmbeddingDtypeBinary  EmbeddingDtype = "binary"
	EmbeddingDtypeFloat   EmbeddingDtype = "float"
	EmbeddingDtypeInt8    EmbeddingDtype = "int8"
	EmbeddingDtypeUbinary EmbeddingDtype = "ubinary"
	EmbeddingDtypeUint8   EmbeddingDtype = "uint8"
)

Defines values for EmbeddingDtype.

func (EmbeddingDtype) Valid

func (e EmbeddingDtype) Valid() bool

Valid indicates whether the value is a known member of the EmbeddingDtype enum.

type EmbeddingRequest

type EmbeddingRequest struct {
	// EncodingFormat The format of embeddings in the response.
	EncodingFormat *EncodingFormat `json:"encoding_format,omitempty"`

	// Input Text to embed.
	Input    EmbeddingRequest_Input  `json:"input"`
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Model ID of the model to use.
	Model string `json:"model"`

	// OutputDimension The dimension of the output embeddings when feature available. If not provided, a default output dimension will be used.
	OutputDimension *int `json:"output_dimension,omitempty"`

	// OutputDtype The data type of the output embeddings when feature available. If not provided, a default output data type will be used.
	OutputDtype *EmbeddingDtype `json:"output_dtype,omitempty"`
}

EmbeddingRequest defines model for EmbeddingRequest.

type EmbeddingRequestInput0

type EmbeddingRequestInput0 = string

EmbeddingRequestInput0 defines model for EmbeddingRequest.Input.0.

type EmbeddingRequestInput1

type EmbeddingRequestInput1 = []string

EmbeddingRequestInput1 defines model for EmbeddingRequest.Input.1.

type EmbeddingRequest_Input

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

EmbeddingRequest_Input Text to embed.

func (EmbeddingRequest_Input) AsEmbeddingRequestInput0

func (t EmbeddingRequest_Input) AsEmbeddingRequestInput0() (EmbeddingRequestInput0, error)

AsEmbeddingRequestInput0 returns the union data inside the EmbeddingRequest_Input as a EmbeddingRequestInput0

func (EmbeddingRequest_Input) AsEmbeddingRequestInput1

func (t EmbeddingRequest_Input) AsEmbeddingRequestInput1() (EmbeddingRequestInput1, error)

AsEmbeddingRequestInput1 returns the union data inside the EmbeddingRequest_Input as a EmbeddingRequestInput1

func (*EmbeddingRequest_Input) FromEmbeddingRequestInput0

func (t *EmbeddingRequest_Input) FromEmbeddingRequestInput0(v EmbeddingRequestInput0) error

FromEmbeddingRequestInput0 overwrites any union data inside the EmbeddingRequest_Input as the provided EmbeddingRequestInput0

func (*EmbeddingRequest_Input) FromEmbeddingRequestInput1

func (t *EmbeddingRequest_Input) FromEmbeddingRequestInput1(v EmbeddingRequestInput1) error

FromEmbeddingRequestInput1 overwrites any union data inside the EmbeddingRequest_Input as the provided EmbeddingRequestInput1

func (EmbeddingRequest_Input) MarshalJSON

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

func (*EmbeddingRequest_Input) MergeEmbeddingRequestInput0

func (t *EmbeddingRequest_Input) MergeEmbeddingRequestInput0(v EmbeddingRequestInput0) error

MergeEmbeddingRequestInput0 performs a merge with any union data inside the EmbeddingRequest_Input, using the provided EmbeddingRequestInput0

func (*EmbeddingRequest_Input) MergeEmbeddingRequestInput1

func (t *EmbeddingRequest_Input) MergeEmbeddingRequestInput1(v EmbeddingRequestInput1) error

MergeEmbeddingRequestInput1 performs a merge with any union data inside the EmbeddingRequest_Input, using the provided EmbeddingRequestInput1

func (*EmbeddingRequest_Input) UnmarshalJSON

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

type EmbeddingResponse

type EmbeddingResponse struct {
	Data   []EmbeddingResponseData `json:"data"`
	Id     string                  `json:"id"`
	Model  string                  `json:"model"`
	Object string                  `json:"object"`
	Usage  UsageInfo               `json:"usage"`
}

EmbeddingResponse defines model for EmbeddingResponse.

type EmbeddingResponseData

type EmbeddingResponseData struct {
	Embedding *[]float32 `json:"embedding,omitempty"`
	Index     *int       `json:"index,omitempty"`
	Object    *string    `json:"object,omitempty"`
}

EmbeddingResponseData Examples: {"embedding":[0.1,0.2,0.3],"index":0,"object":"embedding"}, {"embedding":[0.4,0.5,0.6],"index":1,"object":"embedding"}

type EmbeddingsV1EmbeddingsPostJSONRequestBody

type EmbeddingsV1EmbeddingsPostJSONRequestBody = EmbeddingRequest

EmbeddingsV1EmbeddingsPostJSONRequestBody defines body for EmbeddingsV1EmbeddingsPost for application/json ContentType.

type EmbeddingsV1EmbeddingsPostResponse

type EmbeddingsV1EmbeddingsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *EmbeddingResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseEmbeddingsV1EmbeddingsPostResponse

func ParseEmbeddingsV1EmbeddingsPostResponse(rsp *http.Response) (*EmbeddingsV1EmbeddingsPostResponse, error)

ParseEmbeddingsV1EmbeddingsPostResponse parses an HTTP response from a EmbeddingsV1EmbeddingsPostWithResponse call

func (EmbeddingsV1EmbeddingsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (EmbeddingsV1EmbeddingsPostResponse) GetBody

GetBody returns the raw response body bytes

func (EmbeddingsV1EmbeddingsPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (EmbeddingsV1EmbeddingsPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (EmbeddingsV1EmbeddingsPostResponse) Status

Status returns HTTPResponse.Status

func (EmbeddingsV1EmbeddingsPostResponse) StatusCode

func (r EmbeddingsV1EmbeddingsPostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EncodedPayloadOptions

type EncodedPayloadOptions string

EncodedPayloadOptions defines model for EncodedPayloadOptions.

const (
	EncodedPayloadOptionsEncrypted        EncodedPayloadOptions = "encrypted"
	EncodedPayloadOptionsEncryptedPartial EncodedPayloadOptions = "encrypted-partial"
	EncodedPayloadOptionsOffloaded        EncodedPayloadOptions = "offloaded"
)

Defines values for EncodedPayloadOptions.

func (EncodedPayloadOptions) Valid

func (e EncodedPayloadOptions) Valid() bool

Valid indicates whether the value is a known member of the EncodedPayloadOptions enum.

type EncodingFormat

type EncodingFormat string

EncodingFormat defines model for EncodingFormat.

const (
	EncodingFormatBase64 EncodingFormat = "base64"
	EncodingFormatFloat  EncodingFormat = "float"
)

Defines values for EncodingFormat.

func (EncodingFormat) Valid

func (e EncodingFormat) Valid() bool

Valid indicates whether the value is a known member of the EncodingFormat enum.

type EntityType

type EntityType string

EntityType The type of entity, used to share a library.

const (
	EntityTypeOrg       EntityType = "Org"
	EntityTypeUser      EntityType = "User"
	EntityTypeWorkspace EntityType = "Workspace"
)

Defines values for EntityType.

func (EntityType) Valid

func (e EntityType) Valid() bool

Valid indicates whether the value is a known member of the EntityType enum.

type EventOut

type EventOut struct {
	// CreatedAt The UNIX timestamp (in seconds) of the event.
	CreatedAt int                     `json:"created_at"`
	Data      *map[string]interface{} `json:"data,omitempty"`

	// Name The name of the event.
	Name string `json:"name"`
}

EventOut defines model for EventOut.

type EventProgressStatus

type EventProgressStatus string

EventProgressStatus defines model for EventProgressStatus.

const (
	EventProgressStatusCOMPLETED EventProgressStatus = "COMPLETED"
	EventProgressStatusFAILED    EventProgressStatus = "FAILED"
	EventProgressStatusRUNNING   EventProgressStatus = "RUNNING"
)

Defines values for EventProgressStatus.

func (EventProgressStatus) Valid

func (e EventProgressStatus) Valid() bool

Valid indicates whether the value is a known member of the EventProgressStatus enum.

type EventSource

type EventSource string

EventSource defines model for EventSource.

const (
	EventSourceDATABASE EventSource = "DATABASE"
	EventSourceLIVE     EventSource = "LIVE"
)

Defines values for EventSource.

func (EventSource) Valid

func (e EventSource) Valid() bool

Valid indicates whether the value is a known member of the EventSource enum.

type EventType

type EventType string

EventType defines model for EventType.

const (
	EventTypeEVENT         EventType = "EVENT"
	EventTypeEVENTPROGRESS EventType = "EVENT_PROGRESS"
)

Defines values for EventType.

func (EventType) Valid

func (e EventType) Valid() bool

Valid indicates whether the value is a known member of the EventType enum.

type ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody

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

ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody defines parameters for ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost.

func (ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) AsWorkflowExecutionResponse

AsWorkflowExecutionResponse returns the union data inside the ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody as a WorkflowExecutionResponse

func (ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) AsWorkflowExecutionSyncResponse

AsWorkflowExecutionSyncResponse returns the union data inside the ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody as a WorkflowExecutionSyncResponse

func (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) FromWorkflowExecutionResponse

FromWorkflowExecutionResponse overwrites any union data inside the ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody as the provided WorkflowExecutionResponse

func (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) FromWorkflowExecutionSyncResponse

FromWorkflowExecutionSyncResponse overwrites any union data inside the ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody as the provided WorkflowExecutionSyncResponse

func (ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) MarshalJSON

func (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) MergeWorkflowExecutionResponse

MergeWorkflowExecutionResponse performs a merge with any union data inside the ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody, using the provided WorkflowExecutionResponse

func (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) MergeWorkflowExecutionSyncResponse

MergeWorkflowExecutionSyncResponse performs a merge with any union data inside the ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody, using the provided WorkflowExecutionSyncResponse

func (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody) UnmarshalJSON

type ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostJSONRequestBody deprecated

type ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostJSONRequestBody = WorkflowExecutionRequest

ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostJSONRequestBody defines body for ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost for application/json ContentType.

Deprecated: this type has been marked as deprecated upstream, but no `x-deprecated-reason` was set

type ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse

type ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePost200JSONResponseBody
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse

func ParseExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse(rsp *http.Response) (*ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse, error)

ParseExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse parses an HTTP response from a ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostWithResponse call

func (ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) GetBody

GetBody returns the raw response body bytes

func (ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) Status

Status returns HTTPResponse.Status

func (ExecuteWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdExecutePostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody

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

ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody defines parameters for ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost.

func (ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) AsWorkflowExecutionResponse

AsWorkflowExecutionResponse returns the union data inside the ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody as a WorkflowExecutionResponse

func (ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) AsWorkflowExecutionSyncResponse

AsWorkflowExecutionSyncResponse returns the union data inside the ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody as a WorkflowExecutionSyncResponse

func (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) FromWorkflowExecutionResponse

FromWorkflowExecutionResponse overwrites any union data inside the ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody as the provided WorkflowExecutionResponse

func (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) FromWorkflowExecutionSyncResponse

FromWorkflowExecutionSyncResponse overwrites any union data inside the ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody as the provided WorkflowExecutionSyncResponse

func (ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) MarshalJSON

func (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) MergeWorkflowExecutionResponse

MergeWorkflowExecutionResponse performs a merge with any union data inside the ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody, using the provided WorkflowExecutionResponse

func (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) MergeWorkflowExecutionSyncResponse

MergeWorkflowExecutionSyncResponse performs a merge with any union data inside the ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody, using the provided WorkflowExecutionSyncResponse

func (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody) UnmarshalJSON

type ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostJSONRequestBody

type ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostJSONRequestBody = WorkflowExecutionRequest

ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostJSONRequestBody defines body for ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost for application/json ContentType.

type ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse

type ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePost200JSONResponseBody
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse

func ParseExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse(rsp *http.Response) (*ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse, error)

ParseExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse parses an HTTP response from a ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostWithResponse call

func (ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) GetBody

GetBody returns the raw response body bytes

func (ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) Status

Status returns HTTPResponse.Status

func (ExecuteWorkflowV1WorkflowsWorkflowIdentifierExecutePostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ExecutionConfig

type ExecutionConfig struct {
	Type                 string                 `json:"type"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

ExecutionConfig Not typed since mcp config can changed / not stable we allow all extra fields and this is a dict TODO: once mcp is stable, we need to type this

func (ExecutionConfig) Get

func (a ExecutionConfig) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ExecutionConfig. Returns the specified element and whether it was found

func (ExecutionConfig) MarshalJSON

func (a ExecutionConfig) MarshalJSON() ([]byte, error)

Override default JSON handling for ExecutionConfig to handle AdditionalProperties

func (*ExecutionConfig) Set

func (a *ExecutionConfig) Set(fieldName string, value interface{})

Setter for additional properties for ExecutionConfig

func (*ExecutionConfig) UnmarshalJSON

func (a *ExecutionConfig) UnmarshalJSON(b []byte) error

Override default JSON handling for ExecutionConfig to handle AdditionalProperties

type ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse

type ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DatasetExport
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse

func ParseExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse(rsp *http.Response) (*ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse, error)

ParseExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse parses an HTTP response from a ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetWithResponse call

func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetBody

GetBody returns the raw response body bytes

func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) Status

Status returns HTTPResponse.Status

func (ExportDatasetToJsonlV1ObservabilityDatasetsDatasetIdExportsToJsonlGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type FIMCompletionRequest

type FIMCompletionRequest struct {
	// MaxTokens The maximum number of tokens to generate in the completion. The token count of your prompt plus `max_tokens` cannot exceed the model's context length.
	MaxTokens *int                    `json:"max_tokens,omitempty"`
	Metadata  *map[string]interface{} `json:"metadata,omitempty"`

	// MinTokens The minimum number of tokens to generate in the completion.
	MinTokens *int `json:"min_tokens,omitempty"`

	// Model ID of the model with FIM to use.
	//
	// Examples: codestral-latest
	Model string `json:"model"`

	// Prompt The text/code to complete.
	//
	// Examples: def
	Prompt string `json:"prompt"`

	// PromptCacheKey A cache key to enable prompt caching. When provided, the API will attempt to reuse previously computed tokens for requests sharing the same prefix (e.g. multi-turn conversations or requests with a similar system prompt). Cached tokens are billed at 10% of the standard input token price.
	PromptCacheKey *string `json:"prompt_cache_key,omitempty"`

	// RandomSeed The seed to use for random sampling. If set, different calls will generate deterministic results.
	RandomSeed *int `json:"random_seed,omitempty"`

	// Stop Stop generation if this token is detected. Or if one of these tokens is detected when providing an array
	Stop *FIMCompletionRequest_Stop `json:"stop,omitempty"`

	// Stream Whether to stream back partial progress. If set, tokens will be sent as data-only server-side events as they become available, with the stream terminated by a data: [DONE] message. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
	Stream *bool `json:"stream,omitempty"`

	// Suffix Optional text/code that adds more context for the model. When given a `prompt` and a `suffix` the model will fill what is between them. When `suffix` is not provided, the model will simply execute completion starting with `prompt`.
	//
	// Examples: return a+b
	Suffix *string `json:"suffix,omitempty"`

	// Temperature What sampling temperature to use, we recommend between 0.0 and 0.7. Higher values like 0.7 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or `top_p` but not both. The default value varies depending on the model you are targeting. Call the `/models` endpoint to retrieve the appropriate value.
	Temperature *float32 `json:"temperature,omitempty"`

	// TopP Nucleus sampling, where the model considers the results of the tokens with `top_p` probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or `temperature` but not both.
	TopP *float32 `json:"top_p,omitempty"`
}

FIMCompletionRequest defines model for FIMCompletionRequest.

type FIMCompletionRequestStop0

type FIMCompletionRequestStop0 = string

FIMCompletionRequestStop0 defines model for FIMCompletionRequest.Stop.0.

type FIMCompletionRequestStop1

type FIMCompletionRequestStop1 = []string

FIMCompletionRequestStop1 defines model for FIMCompletionRequest.Stop.1.

type FIMCompletionRequest_Stop

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

FIMCompletionRequest_Stop Stop generation if this token is detected. Or if one of these tokens is detected when providing an array

func (FIMCompletionRequest_Stop) AsFIMCompletionRequestStop0

func (t FIMCompletionRequest_Stop) AsFIMCompletionRequestStop0() (FIMCompletionRequestStop0, error)

AsFIMCompletionRequestStop0 returns the union data inside the FIMCompletionRequest_Stop as a FIMCompletionRequestStop0

func (FIMCompletionRequest_Stop) AsFIMCompletionRequestStop1

func (t FIMCompletionRequest_Stop) AsFIMCompletionRequestStop1() (FIMCompletionRequestStop1, error)

AsFIMCompletionRequestStop1 returns the union data inside the FIMCompletionRequest_Stop as a FIMCompletionRequestStop1

func (*FIMCompletionRequest_Stop) FromFIMCompletionRequestStop0

func (t *FIMCompletionRequest_Stop) FromFIMCompletionRequestStop0(v FIMCompletionRequestStop0) error

FromFIMCompletionRequestStop0 overwrites any union data inside the FIMCompletionRequest_Stop as the provided FIMCompletionRequestStop0

func (*FIMCompletionRequest_Stop) FromFIMCompletionRequestStop1

func (t *FIMCompletionRequest_Stop) FromFIMCompletionRequestStop1(v FIMCompletionRequestStop1) error

FromFIMCompletionRequestStop1 overwrites any union data inside the FIMCompletionRequest_Stop as the provided FIMCompletionRequestStop1

func (FIMCompletionRequest_Stop) MarshalJSON

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

func (*FIMCompletionRequest_Stop) MergeFIMCompletionRequestStop0

func (t *FIMCompletionRequest_Stop) MergeFIMCompletionRequestStop0(v FIMCompletionRequestStop0) error

MergeFIMCompletionRequestStop0 performs a merge with any union data inside the FIMCompletionRequest_Stop, using the provided FIMCompletionRequestStop0

func (*FIMCompletionRequest_Stop) MergeFIMCompletionRequestStop1

func (t *FIMCompletionRequest_Stop) MergeFIMCompletionRequestStop1(v FIMCompletionRequestStop1) error

MergeFIMCompletionRequestStop1 performs a merge with any union data inside the FIMCompletionRequest_Stop, using the provided FIMCompletionRequestStop1

func (*FIMCompletionRequest_Stop) UnmarshalJSON

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

type FIMCompletionResponse

type FIMCompletionResponse struct {
	Choices []ChatCompletionChoice `json:"choices"`
	Created int                    `json:"created"`
	Id      string                 `json:"id"`
	Model   string                 `json:"model"`
	Object  string                 `json:"object"`
	Usage   UsageInfo              `json:"usage"`
}

FIMCompletionResponse defines model for FIMCompletionResponse.

type FTClassifierLossFunction

type FTClassifierLossFunction string

FTClassifierLossFunction defines model for FTClassifierLossFunction.

const (
	FTClassifierLossFunctionMultiClass  FTClassifierLossFunction = "multi_class"
	FTClassifierLossFunctionSingleClass FTClassifierLossFunction = "single_class"
)

Defines values for FTClassifierLossFunction.

func (FTClassifierLossFunction) Valid

func (e FTClassifierLossFunction) Valid() bool

Valid indicates whether the value is a known member of the FTClassifierLossFunction enum.

type FTModelCapabilitiesOut

type FTModelCapabilitiesOut struct {
	Classification  *bool `json:"classification,omitempty"`
	CompletionChat  *bool `json:"completion_chat,omitempty"`
	CompletionFim   *bool `json:"completion_fim,omitempty"`
	FineTuning      *bool `json:"fine_tuning,omitempty"`
	FunctionCalling *bool `json:"function_calling,omitempty"`
}

FTModelCapabilitiesOut defines model for FTModelCapabilitiesOut.

type FTModelCard

type FTModelCard struct {
	Aliases                     *[]string         `json:"aliases,omitempty"`
	Archived                    *bool             `json:"archived,omitempty"`
	Capabilities                ModelCapabilities `json:"capabilities"`
	Created                     *int              `json:"created,omitempty"`
	DefaultModelTemperature     *float32          `json:"default_model_temperature,omitempty"`
	Deprecation                 *time.Time        `json:"deprecation,omitempty"`
	DeprecationReplacementModel *string           `json:"deprecation_replacement_model,omitempty"`
	Description                 *string           `json:"description,omitempty"`
	Id                          string            `json:"id"`
	Job                         string            `json:"job"`
	MaxContextLength            *int              `json:"max_context_length,omitempty"`
	Name                        *string           `json:"name,omitempty"`
	Object                      *string           `json:"object,omitempty"`
	OwnedBy                     *string           `json:"owned_by,omitempty"`
	Root                        string            `json:"root"`
	Type                        *FTModelCardType  `json:"type,omitempty"`
}

FTModelCard Extra fields for fine-tuned models.

type FTModelCardType

type FTModelCardType string

FTModelCardType defines model for FTModelCard.Type.

const (
	FTModelCardTypeFineTuned FTModelCardType = "fine-tuned"
)

Defines values for FTModelCardType.

func (FTModelCardType) Valid

func (e FTModelCardType) Valid() bool

Valid indicates whether the value is a known member of the FTModelCardType enum.

type Failure

type Failure struct {
	// Message A human-readable description of the failure.
	Message string `json:"message"`
}

Failure Represents an error or exception that occurred during execution.

type FeedResultChatCompletionEventPreview

type FeedResultChatCompletionEventPreview struct {
	Cursor  *string                       `json:"cursor,omitempty"`
	Next    *string                       `json:"next,omitempty"`
	Results *[]ChatCompletionEventPreview `json:"results,omitempty"`
}

FeedResultChatCompletionEventPreview defines model for FeedResult_ChatCompletionEventPreview_.

type FieldGroup

type FieldGroup struct {
	Label string `json:"label"`
	Name  string `json:"name"`
}

FieldGroup defines model for FieldGroup.

type FieldOptionCountItem

type FieldOptionCountItem struct {
	Count int    `json:"count"`
	Value string `json:"value"`
}

FieldOptionCountItem defines model for FieldOptionCountItem.

type FieldOptionCounts

type FieldOptionCounts struct {
	Counts []FieldOptionCountItem `json:"counts"`
}

FieldOptionCounts defines model for FieldOptionCounts.

type FieldOptionCountsInSchema

type FieldOptionCountsInSchema struct {
	FilterParams *FilterPayload `json:"filter_params,omitempty"`
}

FieldOptionCountsInSchema defines model for FieldOptionCountsInSchema.

type File

type File = openapi_types.File

File The File object (not file name) to be uploaded.

To upload a file and specify a custom file name you should format your request as such:
```bash
file=@path/to/your/file.jsonl;filename=custom_name.jsonl
```
Otherwise, you can just keep the original file name:
```bash
file=@path/to/your/file.jsonl
```

type FileChunk

type FileChunk struct {
	FileId openapi_types.UUID `json:"file_id"`
	Type   *FileChunkType     `json:"type,omitempty"`
}

FileChunk defines model for FileChunk.

type FileChunkType

type FileChunkType string

FileChunkType defines model for FileChunk.Type.

const (
	FileChunkTypeFile FileChunkType = "file"
)

Defines values for FileChunkType.

func (FileChunkType) Valid

func (e FileChunkType) Valid() bool

Valid indicates whether the value is a known member of the FileChunkType enum.

type FilePurpose

type FilePurpose string

FilePurpose defines model for FilePurpose.

const (
	FilePurposeBatch    FilePurpose = "batch"
	FilePurposeFineTune FilePurpose = "fine-tune"
	FilePurposeOcr      FilePurpose = "ocr"
)

Defines values for FilePurpose.

func (FilePurpose) Valid

func (e FilePurpose) Valid() bool

Valid indicates whether the value is a known member of the FilePurpose enum.

type FileSchema

type FileSchema struct {
	// Bytes The size of the file, in bytes.
	//
	// Examples: 13000
	Bytes int `json:"bytes"`

	// CreatedAt The UNIX timestamp (in seconds) of the event.
	//
	// Examples: 1716963433
	CreatedAt int  `json:"created_at"`
	ExpiresAt *int `json:"expires_at,omitempty"`

	// Filename The name of the uploaded file.
	//
	// Examples: files_upload.jsonl
	Filename string `json:"filename"`

	// Id The unique identifier of the file.
	//
	// Examples: 497f6eca-6276-4993-bfeb-53cbbbba6f09
	Id       openapi_types.UUID `json:"id"`
	Mimetype *string            `json:"mimetype,omitempty"`
	NumLines *int               `json:"num_lines,omitempty"`

	// Object The object type, which is always "file".
	//
	// Examples: file
	Object string `json:"object"`

	// Purpose The intended purpose of the uploaded file, currently supports fine-tuning (`fine-tune`), OCR (`ocr`), Audio/Transcription (`audio`) and batch inference (`batch`).
	//
	// Examples: fine-tune, ocr, batch, audio
	Purpose    FilePurpose     `json:"purpose"`
	SampleType SampleType      `json:"sample_type"`
	Signature  *string         `json:"signature,omitempty"`
	Source     Source          `json:"source"`
	Visibility *FileVisibility `json:"visibility,omitempty"`
}

FileSchema defines model for FileSchema.

type FileSignedURL

type FileSignedURL struct {
	Url string `json:"url"`
}

FileSignedURL defines model for FileSignedURL.

type FileVisibility

type FileVisibility string

FileVisibility defines model for FileVisibility.

const (
	FileVisibilityUser      FileVisibility = "user"
	FileVisibilityWorkspace FileVisibility = "workspace"
)

Defines values for FileVisibility.

func (FileVisibility) Valid

func (e FileVisibility) Valid() bool

Valid indicates whether the value is a known member of the FileVisibility enum.

type FilesApiRoutesDeleteFileResponse

type FilesApiRoutesDeleteFileResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeleteFileOut
}

func ParseFilesApiRoutesDeleteFileResponse

func ParseFilesApiRoutesDeleteFileResponse(rsp *http.Response) (*FilesApiRoutesDeleteFileResponse, error)

ParseFilesApiRoutesDeleteFileResponse parses an HTTP response from a FilesApiRoutesDeleteFileWithResponse call

func (FilesApiRoutesDeleteFileResponse) ContentType

func (r FilesApiRoutesDeleteFileResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (FilesApiRoutesDeleteFileResponse) GetBody

func (r FilesApiRoutesDeleteFileResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (FilesApiRoutesDeleteFileResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (FilesApiRoutesDeleteFileResponse) Status

Status returns HTTPResponse.Status

func (FilesApiRoutesDeleteFileResponse) StatusCode

func (r FilesApiRoutesDeleteFileResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FilesApiRoutesDownloadFileResponse

type FilesApiRoutesDownloadFileResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseFilesApiRoutesDownloadFileResponse

func ParseFilesApiRoutesDownloadFileResponse(rsp *http.Response) (*FilesApiRoutesDownloadFileResponse, error)

ParseFilesApiRoutesDownloadFileResponse parses an HTTP response from a FilesApiRoutesDownloadFileWithResponse call

func (FilesApiRoutesDownloadFileResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (FilesApiRoutesDownloadFileResponse) GetBody

GetBody returns the raw response body bytes

func (FilesApiRoutesDownloadFileResponse) Status

Status returns HTTPResponse.Status

func (FilesApiRoutesDownloadFileResponse) StatusCode

func (r FilesApiRoutesDownloadFileResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FilesApiRoutesGetSignedUrlParams

type FilesApiRoutesGetSignedUrlParams struct {
	// Expiry Number of hours before the url becomes invalid. Defaults to 24h
	Expiry *int `form:"expiry,omitempty" json:"expiry,omitempty"`
}

FilesApiRoutesGetSignedUrlParams defines parameters for FilesApiRoutesGetSignedUrl.

type FilesApiRoutesGetSignedUrlResponse

type FilesApiRoutesGetSignedUrlResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *FileSignedURL
}

func ParseFilesApiRoutesGetSignedUrlResponse

func ParseFilesApiRoutesGetSignedUrlResponse(rsp *http.Response) (*FilesApiRoutesGetSignedUrlResponse, error)

ParseFilesApiRoutesGetSignedUrlResponse parses an HTTP response from a FilesApiRoutesGetSignedUrlWithResponse call

func (FilesApiRoutesGetSignedUrlResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (FilesApiRoutesGetSignedUrlResponse) GetBody

GetBody returns the raw response body bytes

func (FilesApiRoutesGetSignedUrlResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (FilesApiRoutesGetSignedUrlResponse) Status

Status returns HTTPResponse.Status

func (FilesApiRoutesGetSignedUrlResponse) StatusCode

func (r FilesApiRoutesGetSignedUrlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FilesApiRoutesListFilesParams

type FilesApiRoutesListFilesParams struct {
	Page         *int          `form:"page,omitempty" json:"page,omitempty"`
	PageSize     *int          `form:"page_size,omitempty" json:"page_size,omitempty"`
	IncludeTotal *bool         `form:"include_total,omitempty" json:"include_total,omitempty"`
	SampleType   *[]SampleType `form:"sample_type,omitempty" json:"sample_type,omitempty"`
	Source       *[]Source     `form:"source,omitempty" json:"source,omitempty"`
	Search       *string       `form:"search,omitempty" json:"search,omitempty"`
	Purpose      *FilePurpose  `form:"purpose,omitempty" json:"purpose,omitempty"`
	Mimetypes    *[]string     `form:"mimetypes,omitempty" json:"mimetypes,omitempty"`
}

FilesApiRoutesListFilesParams defines parameters for FilesApiRoutesListFiles.

type FilesApiRoutesListFilesResponse

type FilesApiRoutesListFilesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListFilesOut
}

func ParseFilesApiRoutesListFilesResponse

func ParseFilesApiRoutesListFilesResponse(rsp *http.Response) (*FilesApiRoutesListFilesResponse, error)

ParseFilesApiRoutesListFilesResponse parses an HTTP response from a FilesApiRoutesListFilesWithResponse call

func (FilesApiRoutesListFilesResponse) ContentType

func (r FilesApiRoutesListFilesResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (FilesApiRoutesListFilesResponse) GetBody

func (r FilesApiRoutesListFilesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (FilesApiRoutesListFilesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (FilesApiRoutesListFilesResponse) Status

Status returns HTTPResponse.Status

func (FilesApiRoutesListFilesResponse) StatusCode

func (r FilesApiRoutesListFilesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FilesApiRoutesRetrieveFileResponse

type FilesApiRoutesRetrieveFileResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RetrieveFileOut
}

func ParseFilesApiRoutesRetrieveFileResponse

func ParseFilesApiRoutesRetrieveFileResponse(rsp *http.Response) (*FilesApiRoutesRetrieveFileResponse, error)

ParseFilesApiRoutesRetrieveFileResponse parses an HTTP response from a FilesApiRoutesRetrieveFileWithResponse call

func (FilesApiRoutesRetrieveFileResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (FilesApiRoutesRetrieveFileResponse) GetBody

GetBody returns the raw response body bytes

func (FilesApiRoutesRetrieveFileResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (FilesApiRoutesRetrieveFileResponse) Status

Status returns HTTPResponse.Status

func (FilesApiRoutesRetrieveFileResponse) StatusCode

func (r FilesApiRoutesRetrieveFileResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FilesApiRoutesUploadFileMultipartBody

type FilesApiRoutesUploadFileMultipartBody struct {
	Expiry *int `json:"expiry,omitempty"`

	// File The File object (not file name) to be uploaded.
	//  To upload a file and specify a custom file name you should format your request as such:
	//  “`bash
	//  file=@path/to/your/file.jsonl;filename=custom_name.jsonl
	//  “`
	//  Otherwise, you can just keep the original file name:
	//  “`bash
	//  file=@path/to/your/file.jsonl
	//  “`
	File       File                                             `json:"file"`
	Purpose    *FilePurpose                                     `json:"purpose,omitempty"`
	Visibility *FilesApiRoutesUploadFileMultipartBodyVisibility `json:"visibility,omitempty"`
}

FilesApiRoutesUploadFileMultipartBody defines parameters for FilesApiRoutesUploadFile.

type FilesApiRoutesUploadFileMultipartBodyVisibility

type FilesApiRoutesUploadFileMultipartBodyVisibility string

FilesApiRoutesUploadFileMultipartBodyVisibility defines parameters for FilesApiRoutesUploadFile.

const (
	FilesApiRoutesUploadFileMultipartBodyVisibilityUser      FilesApiRoutesUploadFileMultipartBodyVisibility = "user"
	FilesApiRoutesUploadFileMultipartBodyVisibilityWorkspace FilesApiRoutesUploadFileMultipartBodyVisibility = "workspace"
)

Defines values for FilesApiRoutesUploadFileMultipartBodyVisibility.

func (FilesApiRoutesUploadFileMultipartBodyVisibility) Valid

Valid indicates whether the value is a known member of the FilesApiRoutesUploadFileMultipartBodyVisibility enum.

type FilesApiRoutesUploadFileMultipartRequestBody

type FilesApiRoutesUploadFileMultipartRequestBody FilesApiRoutesUploadFileMultipartBody

FilesApiRoutesUploadFileMultipartRequestBody defines body for FilesApiRoutesUploadFile for multipart/form-data ContentType.

type FilesApiRoutesUploadFileResponse

type FilesApiRoutesUploadFileResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UploadFileOut
}

func ParseFilesApiRoutesUploadFileResponse

func ParseFilesApiRoutesUploadFileResponse(rsp *http.Response) (*FilesApiRoutesUploadFileResponse, error)

ParseFilesApiRoutesUploadFileResponse parses an HTTP response from a FilesApiRoutesUploadFileWithResponse call

func (FilesApiRoutesUploadFileResponse) ContentType

func (r FilesApiRoutesUploadFileResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (FilesApiRoutesUploadFileResponse) GetBody

func (r FilesApiRoutesUploadFileResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (FilesApiRoutesUploadFileResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (FilesApiRoutesUploadFileResponse) Status

Status returns HTTPResponse.Status

func (FilesApiRoutesUploadFileResponse) StatusCode

func (r FilesApiRoutesUploadFileResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FilterCondition

type FilterCondition struct {
	Field string            `json:"field"`
	Op    FilterConditionOp `json:"op"`
	Value interface{}       `json:"value"`
}

FilterCondition defines model for FilterCondition.

type FilterConditionOp

type FilterConditionOp string

FilterConditionOp defines model for FilterCondition.Op.

const (
	FilterConditionOpContains     FilterConditionOp = "contains"
	FilterConditionOpEndswith     FilterConditionOp = "endswith"
	FilterConditionOpEq           FilterConditionOp = "eq"
	FilterConditionOpExcludes     FilterConditionOp = "excludes"
	FilterConditionOpGt           FilterConditionOp = "gt"
	FilterConditionOpGte          FilterConditionOp = "gte"
	FilterConditionOpIcontains    FilterConditionOp = "icontains"
	FilterConditionOpIendswith    FilterConditionOp = "iendswith"
	FilterConditionOpIncludes     FilterConditionOp = "includes"
	FilterConditionOpInotcontains FilterConditionOp = "inotcontains"
	FilterConditionOpIsnull       FilterConditionOp = "isnull"
	FilterConditionOpIstartswith  FilterConditionOp = "istartswith"
	FilterConditionOpLenEq        FilterConditionOp = "len_eq"
	FilterConditionOpLt           FilterConditionOp = "lt"
	FilterConditionOpLte          FilterConditionOp = "lte"
	FilterConditionOpMatches      FilterConditionOp = "matches"
	FilterConditionOpNeq          FilterConditionOp = "neq"
	FilterConditionOpNotcontains  FilterConditionOp = "notcontains"
	FilterConditionOpStartswith   FilterConditionOp = "startswith"
)

Defines values for FilterConditionOp.

func (FilterConditionOp) Valid

func (e FilterConditionOp) Valid() bool

Valid indicates whether the value is a known member of the FilterConditionOp enum.

type FilterGroup

type FilterGroup struct {
	AND *[]FilterGroup_AND_Item `json:"AND,omitempty"`
	OR  *[]FilterGroup_OR_Item  `json:"OR,omitempty"`
}

FilterGroup defines model for FilterGroup.

type FilterGroup_AND_Item

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

FilterGroup_AND_Item defines model for FilterGroup.AND.Item.

func (FilterGroup_AND_Item) AsFilterCondition

func (t FilterGroup_AND_Item) AsFilterCondition() (FilterCondition, error)

AsFilterCondition returns the union data inside the FilterGroup_AND_Item as a FilterCondition

func (FilterGroup_AND_Item) AsFilterGroup

func (t FilterGroup_AND_Item) AsFilterGroup() (FilterGroup, error)

AsFilterGroup returns the union data inside the FilterGroup_AND_Item as a FilterGroup

func (*FilterGroup_AND_Item) FromFilterCondition

func (t *FilterGroup_AND_Item) FromFilterCondition(v FilterCondition) error

FromFilterCondition overwrites any union data inside the FilterGroup_AND_Item as the provided FilterCondition

func (*FilterGroup_AND_Item) FromFilterGroup

func (t *FilterGroup_AND_Item) FromFilterGroup(v FilterGroup) error

FromFilterGroup overwrites any union data inside the FilterGroup_AND_Item as the provided FilterGroup

func (FilterGroup_AND_Item) MarshalJSON

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

func (*FilterGroup_AND_Item) MergeFilterCondition

func (t *FilterGroup_AND_Item) MergeFilterCondition(v FilterCondition) error

MergeFilterCondition performs a merge with any union data inside the FilterGroup_AND_Item, using the provided FilterCondition

func (*FilterGroup_AND_Item) MergeFilterGroup

func (t *FilterGroup_AND_Item) MergeFilterGroup(v FilterGroup) error

MergeFilterGroup performs a merge with any union data inside the FilterGroup_AND_Item, using the provided FilterGroup

func (*FilterGroup_AND_Item) UnmarshalJSON

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

type FilterGroup_OR_Item

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

FilterGroup_OR_Item defines model for FilterGroup.OR.Item.

func (FilterGroup_OR_Item) AsFilterCondition

func (t FilterGroup_OR_Item) AsFilterCondition() (FilterCondition, error)

AsFilterCondition returns the union data inside the FilterGroup_OR_Item as a FilterCondition

func (FilterGroup_OR_Item) AsFilterGroup

func (t FilterGroup_OR_Item) AsFilterGroup() (FilterGroup, error)

AsFilterGroup returns the union data inside the FilterGroup_OR_Item as a FilterGroup

func (*FilterGroup_OR_Item) FromFilterCondition

func (t *FilterGroup_OR_Item) FromFilterCondition(v FilterCondition) error

FromFilterCondition overwrites any union data inside the FilterGroup_OR_Item as the provided FilterCondition

func (*FilterGroup_OR_Item) FromFilterGroup

func (t *FilterGroup_OR_Item) FromFilterGroup(v FilterGroup) error

FromFilterGroup overwrites any union data inside the FilterGroup_OR_Item as the provided FilterGroup

func (FilterGroup_OR_Item) MarshalJSON

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

func (*FilterGroup_OR_Item) MergeFilterCondition

func (t *FilterGroup_OR_Item) MergeFilterCondition(v FilterCondition) error

MergeFilterCondition performs a merge with any union data inside the FilterGroup_OR_Item, using the provided FilterCondition

func (*FilterGroup_OR_Item) MergeFilterGroup

func (t *FilterGroup_OR_Item) MergeFilterGroup(v FilterGroup) error

MergeFilterGroup performs a merge with any union data inside the FilterGroup_OR_Item, using the provided FilterGroup

func (*FilterGroup_OR_Item) UnmarshalJSON

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

type FilterPayload

type FilterPayload struct {
	Filters *FilterPayload_Filters `json:"filters"`
}

FilterPayload defines model for FilterPayload.

type FilterPayload_Filters

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

FilterPayload_Filters defines model for FilterPayload.Filters.

func (FilterPayload_Filters) AsFilterCondition

func (t FilterPayload_Filters) AsFilterCondition() (FilterCondition, error)

AsFilterCondition returns the union data inside the FilterPayload_Filters as a FilterCondition

func (FilterPayload_Filters) AsFilterGroup

func (t FilterPayload_Filters) AsFilterGroup() (FilterGroup, error)

AsFilterGroup returns the union data inside the FilterPayload_Filters as a FilterGroup

func (*FilterPayload_Filters) FromFilterCondition

func (t *FilterPayload_Filters) FromFilterCondition(v FilterCondition) error

FromFilterCondition overwrites any union data inside the FilterPayload_Filters as the provided FilterCondition

func (*FilterPayload_Filters) FromFilterGroup

func (t *FilterPayload_Filters) FromFilterGroup(v FilterGroup) error

FromFilterGroup overwrites any union data inside the FilterPayload_Filters as the provided FilterGroup

func (FilterPayload_Filters) MarshalJSON

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

func (*FilterPayload_Filters) MergeFilterCondition

func (t *FilterPayload_Filters) MergeFilterCondition(v FilterCondition) error

MergeFilterCondition performs a merge with any union data inside the FilterPayload_Filters, using the provided FilterCondition

func (*FilterPayload_Filters) MergeFilterGroup

func (t *FilterPayload_Filters) MergeFilterGroup(v FilterGroup) error

MergeFilterGroup performs a merge with any union data inside the FilterPayload_Filters, using the provided FilterGroup

func (*FilterPayload_Filters) UnmarshalJSON

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

type FimCompletionV1FimCompletionsPostJSONRequestBody

type FimCompletionV1FimCompletionsPostJSONRequestBody = FIMCompletionRequest

FimCompletionV1FimCompletionsPostJSONRequestBody defines body for FimCompletionV1FimCompletionsPost for application/json ContentType.

type FimCompletionV1FimCompletionsPostResponse

type FimCompletionV1FimCompletionsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *FIMCompletionResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseFimCompletionV1FimCompletionsPostResponse

func ParseFimCompletionV1FimCompletionsPostResponse(rsp *http.Response) (*FimCompletionV1FimCompletionsPostResponse, error)

ParseFimCompletionV1FimCompletionsPostResponse parses an HTTP response from a FimCompletionV1FimCompletionsPostWithResponse call

func (FimCompletionV1FimCompletionsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (FimCompletionV1FimCompletionsPostResponse) GetBody

GetBody returns the raw response body bytes

func (FimCompletionV1FimCompletionsPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (FimCompletionV1FimCompletionsPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (FimCompletionV1FimCompletionsPostResponse) Status

Status returns HTTPResponse.Status

func (FimCompletionV1FimCompletionsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type FineTuneableModelType

type FineTuneableModelType string

FineTuneableModelType defines model for FineTuneableModelType.

const (
	FineTuneableModelTypeClassifier FineTuneableModelType = "classifier"
	FineTuneableModelTypeCompletion FineTuneableModelType = "completion"
)

Defines values for FineTuneableModelType.

func (FineTuneableModelType) Valid

func (e FineTuneableModelType) Valid() bool

Valid indicates whether the value is a known member of the FineTuneableModelType enum.

type Function

type Function struct {
	Description *string                `json:"description,omitempty"`
	Name        string                 `json:"name"`
	Parameters  map[string]interface{} `json:"parameters"`
	Strict      *bool                  `json:"strict,omitempty"`
}

Function defines model for Function.

type FunctionCall

type FunctionCall struct {
	Arguments FunctionCall_Arguments `json:"arguments"`
	Name      string                 `json:"name"`
}

FunctionCall defines model for FunctionCall.

type FunctionCallArguments0

type FunctionCallArguments0 map[string]interface{}

FunctionCallArguments0 defines model for FunctionCall.Arguments.0.

type FunctionCallArguments1

type FunctionCallArguments1 = string

FunctionCallArguments1 defines model for FunctionCall.Arguments.1.

type FunctionCallEntry

type FunctionCallEntry struct {
	AgentId            *string                              `json:"agent_id,omitempty"`
	Arguments          FunctionCallEntryArguments           `json:"arguments"`
	CompletedAt        *time.Time                           `json:"completed_at,omitempty"`
	ConfirmationStatus *FunctionCallEntryConfirmationStatus `json:"confirmation_status,omitempty"`
	CreatedAt          *time.Time                           `json:"created_at,omitempty"`
	Id                 *string                              `json:"id,omitempty"`
	Model              *string                              `json:"model,omitempty"`
	Name               string                               `json:"name"`
	Object             *FunctionCallEntryObject             `json:"object,omitempty"`
	ToolCallId         string                               `json:"tool_call_id"`
	Type               *FunctionCallEntryType               `json:"type,omitempty"`
}

FunctionCallEntry defines model for FunctionCallEntry.

type FunctionCallEntryArguments

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

FunctionCallEntryArguments defines model for FunctionCallEntryArguments.

func (FunctionCallEntryArguments) AsFunctionCallEntryArguments0

func (t FunctionCallEntryArguments) AsFunctionCallEntryArguments0() (FunctionCallEntryArguments0, error)

AsFunctionCallEntryArguments0 returns the union data inside the FunctionCallEntryArguments as a FunctionCallEntryArguments0

func (FunctionCallEntryArguments) AsFunctionCallEntryArguments1

func (t FunctionCallEntryArguments) AsFunctionCallEntryArguments1() (FunctionCallEntryArguments1, error)

AsFunctionCallEntryArguments1 returns the union data inside the FunctionCallEntryArguments as a FunctionCallEntryArguments1

func (*FunctionCallEntryArguments) FromFunctionCallEntryArguments0

func (t *FunctionCallEntryArguments) FromFunctionCallEntryArguments0(v FunctionCallEntryArguments0) error

FromFunctionCallEntryArguments0 overwrites any union data inside the FunctionCallEntryArguments as the provided FunctionCallEntryArguments0

func (*FunctionCallEntryArguments) FromFunctionCallEntryArguments1

func (t *FunctionCallEntryArguments) FromFunctionCallEntryArguments1(v FunctionCallEntryArguments1) error

FromFunctionCallEntryArguments1 overwrites any union data inside the FunctionCallEntryArguments as the provided FunctionCallEntryArguments1

func (FunctionCallEntryArguments) MarshalJSON

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

func (*FunctionCallEntryArguments) MergeFunctionCallEntryArguments0

func (t *FunctionCallEntryArguments) MergeFunctionCallEntryArguments0(v FunctionCallEntryArguments0) error

MergeFunctionCallEntryArguments0 performs a merge with any union data inside the FunctionCallEntryArguments, using the provided FunctionCallEntryArguments0

func (*FunctionCallEntryArguments) MergeFunctionCallEntryArguments1

func (t *FunctionCallEntryArguments) MergeFunctionCallEntryArguments1(v FunctionCallEntryArguments1) error

MergeFunctionCallEntryArguments1 performs a merge with any union data inside the FunctionCallEntryArguments, using the provided FunctionCallEntryArguments1

func (*FunctionCallEntryArguments) UnmarshalJSON

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

type FunctionCallEntryArguments0

type FunctionCallEntryArguments0 map[string]interface{}

FunctionCallEntryArguments0 defines model for FunctionCallEntryArguments.0.

type FunctionCallEntryArguments1

type FunctionCallEntryArguments1 = string

FunctionCallEntryArguments1 defines model for FunctionCallEntryArguments.1.

type FunctionCallEntryConfirmationStatus

type FunctionCallEntryConfirmationStatus string

FunctionCallEntryConfirmationStatus defines model for FunctionCallEntry.ConfirmationStatus.

const (
	FunctionCallEntryConfirmationStatusAllowed FunctionCallEntryConfirmationStatus = "allowed"
	FunctionCallEntryConfirmationStatusDenied  FunctionCallEntryConfirmationStatus = "denied"
	FunctionCallEntryConfirmationStatusPending FunctionCallEntryConfirmationStatus = "pending"
)

Defines values for FunctionCallEntryConfirmationStatus.

func (FunctionCallEntryConfirmationStatus) Valid

Valid indicates whether the value is a known member of the FunctionCallEntryConfirmationStatus enum.

type FunctionCallEntryObject

type FunctionCallEntryObject string

FunctionCallEntryObject defines model for FunctionCallEntry.Object.

const (
	FunctionCallEntryObjectEntry FunctionCallEntryObject = "entry"
)

Defines values for FunctionCallEntryObject.

func (FunctionCallEntryObject) Valid

func (e FunctionCallEntryObject) Valid() bool

Valid indicates whether the value is a known member of the FunctionCallEntryObject enum.

type FunctionCallEntryType

type FunctionCallEntryType string

FunctionCallEntryType defines model for FunctionCallEntry.Type.

const (
	FunctionCallEntryTypeFunctionCall FunctionCallEntryType = "function.call"
)

Defines values for FunctionCallEntryType.

func (FunctionCallEntryType) Valid

func (e FunctionCallEntryType) Valid() bool

Valid indicates whether the value is a known member of the FunctionCallEntryType enum.

type FunctionCallEvent

type FunctionCallEvent struct {
	AgentId            *string                              `json:"agent_id,omitempty"`
	Arguments          string                               `json:"arguments"`
	ConfirmationStatus *FunctionCallEventConfirmationStatus `json:"confirmation_status,omitempty"`
	CreatedAt          *time.Time                           `json:"created_at,omitempty"`
	Id                 string                               `json:"id"`
	Model              *string                              `json:"model,omitempty"`
	Name               string                               `json:"name"`
	OutputIndex        *int                                 `json:"output_index,omitempty"`
	ToolCallId         string                               `json:"tool_call_id"`
	Type               *FunctionCallEventType               `json:"type,omitempty"`
}

FunctionCallEvent defines model for FunctionCallEvent.

type FunctionCallEventConfirmationStatus

type FunctionCallEventConfirmationStatus string

FunctionCallEventConfirmationStatus defines model for FunctionCallEvent.ConfirmationStatus.

const (
	FunctionCallEventConfirmationStatusAllowed FunctionCallEventConfirmationStatus = "allowed"
	FunctionCallEventConfirmationStatusDenied  FunctionCallEventConfirmationStatus = "denied"
	FunctionCallEventConfirmationStatusPending FunctionCallEventConfirmationStatus = "pending"
)

Defines values for FunctionCallEventConfirmationStatus.

func (FunctionCallEventConfirmationStatus) Valid

Valid indicates whether the value is a known member of the FunctionCallEventConfirmationStatus enum.

type FunctionCallEventType

type FunctionCallEventType string

FunctionCallEventType defines model for FunctionCallEvent.Type.

const (
	FunctionCallEventTypeFunctionCallDelta FunctionCallEventType = "function.call.delta"
)

Defines values for FunctionCallEventType.

func (FunctionCallEventType) Valid

func (e FunctionCallEventType) Valid() bool

Valid indicates whether the value is a known member of the FunctionCallEventType enum.

type FunctionCall_Arguments

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

FunctionCall_Arguments defines model for FunctionCall.Arguments.

func (FunctionCall_Arguments) AsFunctionCallArguments0

func (t FunctionCall_Arguments) AsFunctionCallArguments0() (FunctionCallArguments0, error)

AsFunctionCallArguments0 returns the union data inside the FunctionCall_Arguments as a FunctionCallArguments0

func (FunctionCall_Arguments) AsFunctionCallArguments1

func (t FunctionCall_Arguments) AsFunctionCallArguments1() (FunctionCallArguments1, error)

AsFunctionCallArguments1 returns the union data inside the FunctionCall_Arguments as a FunctionCallArguments1

func (*FunctionCall_Arguments) FromFunctionCallArguments0

func (t *FunctionCall_Arguments) FromFunctionCallArguments0(v FunctionCallArguments0) error

FromFunctionCallArguments0 overwrites any union data inside the FunctionCall_Arguments as the provided FunctionCallArguments0

func (*FunctionCall_Arguments) FromFunctionCallArguments1

func (t *FunctionCall_Arguments) FromFunctionCallArguments1(v FunctionCallArguments1) error

FromFunctionCallArguments1 overwrites any union data inside the FunctionCall_Arguments as the provided FunctionCallArguments1

func (FunctionCall_Arguments) MarshalJSON

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

func (*FunctionCall_Arguments) MergeFunctionCallArguments0

func (t *FunctionCall_Arguments) MergeFunctionCallArguments0(v FunctionCallArguments0) error

MergeFunctionCallArguments0 performs a merge with any union data inside the FunctionCall_Arguments, using the provided FunctionCallArguments0

func (*FunctionCall_Arguments) MergeFunctionCallArguments1

func (t *FunctionCall_Arguments) MergeFunctionCallArguments1(v FunctionCallArguments1) error

MergeFunctionCallArguments1 performs a merge with any union data inside the FunctionCall_Arguments, using the provided FunctionCallArguments1

func (*FunctionCall_Arguments) UnmarshalJSON

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

type FunctionName

type FunctionName struct {
	Name string `json:"name"`
}

FunctionName this restriction of `Function` is used to select a specific function to call

type FunctionResultEntry

type FunctionResultEntry struct {
	CompletedAt *time.Time                 `json:"completed_at,omitempty"`
	CreatedAt   *time.Time                 `json:"created_at,omitempty"`
	Id          *string                    `json:"id,omitempty"`
	Object      *FunctionResultEntryObject `json:"object,omitempty"`
	Result      string                     `json:"result"`
	ToolCallId  string                     `json:"tool_call_id"`
	Type        *FunctionResultEntryType   `json:"type,omitempty"`
}

FunctionResultEntry defines model for FunctionResultEntry.

type FunctionResultEntryObject

type FunctionResultEntryObject string

FunctionResultEntryObject defines model for FunctionResultEntry.Object.

const (
	FunctionResultEntryObjectEntry FunctionResultEntryObject = "entry"
)

Defines values for FunctionResultEntryObject.

func (FunctionResultEntryObject) Valid

func (e FunctionResultEntryObject) Valid() bool

Valid indicates whether the value is a known member of the FunctionResultEntryObject enum.

type FunctionResultEntryType

type FunctionResultEntryType string

FunctionResultEntryType defines model for FunctionResultEntry.Type.

const (
	FunctionResultEntryTypeFunctionResult FunctionResultEntryType = "function.result"
)

Defines values for FunctionResultEntryType.

func (FunctionResultEntryType) Valid

func (e FunctionResultEntryType) Valid() bool

Valid indicates whether the value is a known member of the FunctionResultEntryType enum.

type FunctionTool

type FunctionTool struct {
	Function Function          `json:"function"`
	Type     *FunctionToolType `json:"type,omitempty"`
}

FunctionTool defines model for FunctionTool.

type FunctionToolType

type FunctionToolType string

FunctionToolType defines model for FunctionTool.Type.

const (
	FunctionToolTypeFunction FunctionToolType = "function"
)

Defines values for FunctionToolType.

func (FunctionToolType) Valid

func (e FunctionToolType) Valid() bool

Valid indicates whether the value is a known member of the FunctionToolType enum.

type GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse

type GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CampaignPreview
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse

func ParseGetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse(rsp *http.Response) (*GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse, error)

ParseGetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse parses an HTTP response from a GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetWithResponse call

func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) Status

Status returns HTTPResponse.Status

func (GetCampaignByIdV1ObservabilityCampaignsCampaignIdGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetParams

type GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetParams struct {
	PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
	Page     *int `form:"page,omitempty" json:"page,omitempty"`
}

GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetParams defines parameters for GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGet.

type GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse

type GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CampaignSelectedEvents
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse

func ParseGetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse(rsp *http.Response) (*GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse, error)

ParseGetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse parses an HTTP response from a GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetWithResponse call

func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) Status

Status returns HTTPResponse.Status

func (GetCampaignSelectedEventsV1ObservabilityCampaignsCampaignIdSelectedEventsGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse

type GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CampaignStatus
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse

func ParseGetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse(rsp *http.Response) (*GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse, error)

ParseGetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse parses an HTTP response from a GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetWithResponse call

func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) Status

Status returns HTTPResponse.Status

func (GetCampaignStatusByIdV1ObservabilityCampaignsCampaignIdStatusGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetCampaignsV1ObservabilityCampaignsGetParams

type GetCampaignsV1ObservabilityCampaignsGetParams struct {
	PageSize *int    `form:"page_size,omitempty" json:"page_size,omitempty"`
	Page     *int    `form:"page,omitempty" json:"page,omitempty"`
	Q        *string `form:"q,omitempty" json:"q,omitempty"`
}

GetCampaignsV1ObservabilityCampaignsGetParams defines parameters for GetCampaignsV1ObservabilityCampaignsGet.

type GetCampaignsV1ObservabilityCampaignsGetResponse

type GetCampaignsV1ObservabilityCampaignsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *CampaignPreviews
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetCampaignsV1ObservabilityCampaignsGetResponse

func ParseGetCampaignsV1ObservabilityCampaignsGetResponse(rsp *http.Response) (*GetCampaignsV1ObservabilityCampaignsGetResponse, error)

ParseGetCampaignsV1ObservabilityCampaignsGetResponse parses an HTTP response from a GetCampaignsV1ObservabilityCampaignsGetWithResponse call

func (GetCampaignsV1ObservabilityCampaignsGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetCampaignsV1ObservabilityCampaignsGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetCampaignsV1ObservabilityCampaignsGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetCampaignsV1ObservabilityCampaignsGetResponse) Status

Status returns HTTPResponse.Status

func (GetCampaignsV1ObservabilityCampaignsGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetChatCompletionEventIdsInSchema

type GetChatCompletionEventIdsInSchema struct {
	ExtraFields  *[]string     `json:"extra_fields,omitempty"`
	SearchParams FilterPayload `json:"search_params"`
}

GetChatCompletionEventIdsInSchema defines model for GetChatCompletionEventIdsInSchema.

type GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostJSONRequestBody

type GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostJSONRequestBody = GetChatCompletionEventIdsInSchema

GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostJSONRequestBody defines body for GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPost for application/json ContentType.

type GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse

type GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ChatCompletionEventIds
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse

func ParseGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse(rsp *http.Response) (*GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse, error)

ParseGetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse parses an HTTP response from a GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostWithResponse call

func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetBody

GetBody returns the raw response body bytes

func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) Status

Status returns HTTPResponse.Status

func (GetChatCompletionEventIdsV1ObservabilityChatCompletionEventsSearchIdsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse

type GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ChatCompletionEvent
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse

func ParseGetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse(rsp *http.Response) (*GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse, error)

ParseGetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse parses an HTTP response from a GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetWithResponse call

func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) Status

Status returns HTTPResponse.Status

func (GetChatCompletionEventV1ObservabilityChatCompletionEventsEventIdGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetChatCompletionEventsInSchema

type GetChatCompletionEventsInSchema struct {
	ExtraFields  *[]string     `json:"extra_fields,omitempty"`
	SearchParams FilterPayload `json:"search_params"`
}

GetChatCompletionEventsInSchema defines model for GetChatCompletionEventsInSchema.

type GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostJSONRequestBody

type GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostJSONRequestBody = GetChatCompletionEventsInSchema

GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostJSONRequestBody defines body for GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost for application/json ContentType.

type GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams

type GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams struct {
	PageSize *int    `form:"page_size,omitempty" json:"page_size,omitempty"`
	Cursor   *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}

GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostParams defines parameters for GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPost.

type GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse

type GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ChatCompletionEvents
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse

func ParseGetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse(rsp *http.Response) (*GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse, error)

ParseGetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse parses an HTTP response from a GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostWithResponse call

func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetBody

GetBody returns the raw response body bytes

func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) Status

Status returns HTTPResponse.Status

func (GetChatCompletionEventsV1ObservabilityChatCompletionEventsSearchPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostJSONRequestBody

type GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostJSONRequestBody = FieldOptionCountsInSchema

GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostJSONRequestBody defines body for GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPost for application/json ContentType.

type GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse

type GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *FieldOptionCounts
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse

func ParseGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse(rsp *http.Response) (*GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse, error)

ParseGetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse parses an HTTP response from a GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostWithResponse call

func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetBody

GetBody returns the raw response body bytes

func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) Status

Status returns HTTPResponse.Status

func (GetChatCompletionFieldOptionsCountsV1ObservabilityChatCompletionFieldsFieldNameOptionsCountsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParams

type GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParams struct {
	// Operator The operator to use for filtering options
	Operator GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator `form:"operator" json:"operator"`
}

GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParams defines parameters for GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet.

type GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator

type GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator string

GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator defines parameters for GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGet.

const (
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorContains     GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "contains"
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorEndswith     GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "endswith"
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorEq           GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "eq"
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorExcludes     GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "excludes"
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorGt           GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "gt"
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorGte          GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "gte"
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorIcontains    GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "icontains"
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorIendswith    GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "iendswith"
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorIncludes     GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "includes"
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorInotcontains GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "inotcontains"
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorIsnull       GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "isnull"
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorIstartswith  GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "istartswith"
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorLenEq        GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "len_eq"
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorLt           GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "lt"
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorLte          GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "lte"
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorMatches      GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "matches"
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorNeq          GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "neq"
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorNotcontains  GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "notcontains"
	GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperatorStartswith   GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator = "startswith"
)

Defines values for GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator.

func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator) Valid

Valid indicates whether the value is a known member of the GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetParamsOperator enum.

type GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse

type GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ChatCompletionFieldOptions
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse

func ParseGetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse(rsp *http.Response) (*GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse, error)

ParseGetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse parses an HTTP response from a GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetWithResponse call

func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) Status

Status returns HTTPResponse.Status

func (GetChatCompletionFieldOptionsV1ObservabilityChatCompletionFieldsFieldNameOptionsGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse

type GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ChatCompletionFields
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse

func ParseGetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse(rsp *http.Response) (*GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse, error)

ParseGetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse parses an HTTP response from a GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetWithResponse call

func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) Status

Status returns HTTPResponse.Status

func (GetChatCompletionFieldsV1ObservabilityChatCompletionFieldsGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse

type GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DatasetPreview
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse

func ParseGetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse(rsp *http.Response) (*GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse, error)

ParseGetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse parses an HTTP response from a GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetWithResponse call

func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) Status

Status returns HTTPResponse.Status

func (GetDatasetByIdV1ObservabilityDatasetsDatasetIdGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse

type GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DatasetImportTask
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse

func ParseGetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse(rsp *http.Response) (*GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse, error)

ParseGetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse parses an HTTP response from a GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetWithResponse call

func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) Status

Status returns HTTPResponse.Status

func (GetDatasetImportTaskV1ObservabilityDatasetsDatasetIdTasksTaskIdGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetParams

type GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetParams struct {
	PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
	Page     *int `form:"page,omitempty" json:"page,omitempty"`
}

GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetParams defines parameters for GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGet.

type GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse

type GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DatasetImportTasks
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse

func ParseGetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse(rsp *http.Response) (*GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse, error)

ParseGetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse parses an HTTP response from a GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetWithResponse call

func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) Status

Status returns HTTPResponse.Status

func (GetDatasetImportTasksV1ObservabilityDatasetsDatasetIdTasksGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse

type GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DatasetRecord
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse

func ParseGetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse(rsp *http.Response) (*GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse, error)

ParseGetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse parses an HTTP response from a GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetWithResponse call

func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) Status

Status returns HTTPResponse.Status

func (GetDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetParams

type GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetParams struct {
	PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
	Page     *int `form:"page,omitempty" json:"page,omitempty"`
}

GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetParams defines parameters for GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGet.

type GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse

type GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DatasetRecords
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse

func ParseGetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse(rsp *http.Response) (*GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse, error)

ParseGetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse parses an HTTP response from a GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetWithResponse call

func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) Status

Status returns HTTPResponse.Status

func (GetDatasetRecordsV1ObservabilityDatasetsDatasetIdRecordsGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetDatasetsV1ObservabilityDatasetsGetParams

type GetDatasetsV1ObservabilityDatasetsGetParams struct {
	PageSize *int    `form:"page_size,omitempty" json:"page_size,omitempty"`
	Page     *int    `form:"page,omitempty" json:"page,omitempty"`
	Q        *string `form:"q,omitempty" json:"q,omitempty"`
}

GetDatasetsV1ObservabilityDatasetsGetParams defines parameters for GetDatasetsV1ObservabilityDatasetsGet.

type GetDatasetsV1ObservabilityDatasetsGetResponse

type GetDatasetsV1ObservabilityDatasetsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DatasetPreviews
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetDatasetsV1ObservabilityDatasetsGetResponse

func ParseGetDatasetsV1ObservabilityDatasetsGetResponse(rsp *http.Response) (*GetDatasetsV1ObservabilityDatasetsGetResponse, error)

ParseGetDatasetsV1ObservabilityDatasetsGetResponse parses an HTTP response from a GetDatasetsV1ObservabilityDatasetsGetWithResponse call

func (GetDatasetsV1ObservabilityDatasetsGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDatasetsV1ObservabilityDatasetsGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetDatasetsV1ObservabilityDatasetsGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetDatasetsV1ObservabilityDatasetsGetResponse) Status

Status returns HTTPResponse.Status

func (GetDatasetsV1ObservabilityDatasetsGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetDeploymentV1WorkflowsDeploymentsNameGetResponse

type GetDeploymentV1WorkflowsDeploymentsNameGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeploymentDetailResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseGetDeploymentV1WorkflowsDeploymentsNameGetResponse

func ParseGetDeploymentV1WorkflowsDeploymentsNameGetResponse(rsp *http.Response) (*GetDeploymentV1WorkflowsDeploymentsNameGetResponse, error)

ParseGetDeploymentV1WorkflowsDeploymentsNameGetResponse parses an HTTP response from a GetDeploymentV1WorkflowsDeploymentsNameGetWithResponse call

func (GetDeploymentV1WorkflowsDeploymentsNameGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetDeploymentV1WorkflowsDeploymentsNameGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetDeploymentV1WorkflowsDeploymentsNameGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetDeploymentV1WorkflowsDeploymentsNameGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetDeploymentV1WorkflowsDeploymentsNameGetResponse) Status

Status returns HTTPResponse.Status

func (GetDeploymentV1WorkflowsDeploymentsNameGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse

type GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *JudgePreview
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse

func ParseGetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse(rsp *http.Response) (*GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse, error)

ParseGetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse parses an HTTP response from a GetJudgeByIdV1ObservabilityJudgesJudgeIdGetWithResponse call

func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) Status

Status returns HTTPResponse.Status

func (GetJudgeByIdV1ObservabilityJudgesJudgeIdGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetJudgesV1ObservabilityJudgesGetParams

type GetJudgesV1ObservabilityJudgesGetParams struct {
	// TypeFilter Filter by judge output types
	TypeFilter *[]JudgeOutputType `form:"type_filter,omitempty" json:"type_filter,omitempty"`

	// ModelFilter Filter by model names
	ModelFilter *[]string `form:"model_filter,omitempty" json:"model_filter,omitempty"`
	PageSize    *int      `form:"page_size,omitempty" json:"page_size,omitempty"`
	Page        *int      `form:"page,omitempty" json:"page,omitempty"`
	Q           *string   `form:"q,omitempty" json:"q,omitempty"`
}

GetJudgesV1ObservabilityJudgesGetParams defines parameters for GetJudgesV1ObservabilityJudgesGet.

type GetJudgesV1ObservabilityJudgesGetResponse

type GetJudgesV1ObservabilityJudgesGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *JudgePreviews
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetJudgesV1ObservabilityJudgesGetResponse

func ParseGetJudgesV1ObservabilityJudgesGetResponse(rsp *http.Response) (*GetJudgesV1ObservabilityJudgesGetResponse, error)

ParseGetJudgesV1ObservabilityJudgesGetResponse parses an HTTP response from a GetJudgesV1ObservabilityJudgesGetWithResponse call

func (GetJudgesV1ObservabilityJudgesGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetJudgesV1ObservabilityJudgesGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetJudgesV1ObservabilityJudgesGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetJudgesV1ObservabilityJudgesGetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetJudgesV1ObservabilityJudgesGetResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetJudgesV1ObservabilityJudgesGetResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetJudgesV1ObservabilityJudgesGetResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetJudgesV1ObservabilityJudgesGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetJudgesV1ObservabilityJudgesGetResponse) Status

Status returns HTTPResponse.Status

func (GetJudgesV1ObservabilityJudgesGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetRunHistoryV1WorkflowsRunsRunIdHistoryGetParams

type GetRunHistoryV1WorkflowsRunsRunIdHistoryGetParams struct {
	DecodePayloads *bool `form:"decode_payloads,omitempty" json:"decode_payloads,omitempty"`
}

GetRunHistoryV1WorkflowsRunsRunIdHistoryGetParams defines parameters for GetRunHistoryV1WorkflowsRunsRunIdHistoryGet.

type GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse

type GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *interface{}
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseGetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse

func ParseGetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse(rsp *http.Response) (*GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse, error)

ParseGetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse parses an HTTP response from a GetRunHistoryV1WorkflowsRunsRunIdHistoryGetWithResponse call

func (GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) GetJSON200

func (r GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) GetJSON200() *interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) Status

Status returns HTTPResponse.Status

func (GetRunHistoryV1WorkflowsRunsRunIdHistoryGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetRunV1WorkflowsRunsRunIdGetResponse

type GetRunV1WorkflowsRunsRunIdGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WorkflowExecutionResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseGetRunV1WorkflowsRunsRunIdGetResponse

func ParseGetRunV1WorkflowsRunsRunIdGetResponse(rsp *http.Response) (*GetRunV1WorkflowsRunsRunIdGetResponse, error)

ParseGetRunV1WorkflowsRunsRunIdGetResponse parses an HTTP response from a GetRunV1WorkflowsRunsRunIdGetWithResponse call

func (GetRunV1WorkflowsRunsRunIdGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetRunV1WorkflowsRunsRunIdGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetRunV1WorkflowsRunsRunIdGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetRunV1WorkflowsRunsRunIdGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetRunV1WorkflowsRunsRunIdGetResponse) Status

Status returns HTTPResponse.Status

func (GetRunV1WorkflowsRunsRunIdGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetSchedulesV1WorkflowsSchedulesGetResponse

type GetSchedulesV1WorkflowsSchedulesGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WorkflowScheduleListResponse
}

func ParseGetSchedulesV1WorkflowsSchedulesGetResponse

func ParseGetSchedulesV1WorkflowsSchedulesGetResponse(rsp *http.Response) (*GetSchedulesV1WorkflowsSchedulesGetResponse, error)

ParseGetSchedulesV1WorkflowsSchedulesGetResponse parses an HTTP response from a GetSchedulesV1WorkflowsSchedulesGetWithResponse call

func (GetSchedulesV1WorkflowsSchedulesGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSchedulesV1WorkflowsSchedulesGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetSchedulesV1WorkflowsSchedulesGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSchedulesV1WorkflowsSchedulesGetResponse) Status

Status returns HTTPResponse.Status

func (GetSchedulesV1WorkflowsSchedulesGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse

type GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ChatCompletionEvents
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseGetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse

func ParseGetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse(rsp *http.Response) (*GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse, error)

ParseGetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse parses an HTTP response from a GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetWithResponse call

func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) Status

Status returns HTTPResponse.Status

func (GetSimilarChatCompletionEventsV1ObservabilityChatCompletionEventsEventIdSimilarEventsGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetStreamEventsV1WorkflowsEventsStreamGetParams

type GetStreamEventsV1WorkflowsEventsStreamGetParams struct {
	Scope                *GetStreamEventsV1WorkflowsEventsStreamGetParamsScope `form:"scope,omitempty" json:"scope,omitempty"`
	ActivityName         *string                                               `form:"activity_name,omitempty" json:"activity_name,omitempty"`
	ActivityId           *string                                               `form:"activity_id,omitempty" json:"activity_id,omitempty"`
	WorkflowName         *string                                               `form:"workflow_name,omitempty" json:"workflow_name,omitempty"`
	WorkflowExecId       *string                                               `form:"workflow_exec_id,omitempty" json:"workflow_exec_id,omitempty"`
	RootWorkflowExecId   *string                                               `form:"root_workflow_exec_id,omitempty" json:"root_workflow_exec_id,omitempty"`
	ParentWorkflowExecId *string                                               `form:"parent_workflow_exec_id,omitempty" json:"parent_workflow_exec_id,omitempty"`
	Stream               *string                                               `form:"stream,omitempty" json:"stream,omitempty"`
	StartSeq             *int                                                  `form:"start_seq,omitempty" json:"start_seq,omitempty"`
	MetadataFilters      *map[string]interface{}                               `form:"metadata_filters,omitempty" json:"metadata_filters,omitempty"`
	WorkflowEventTypes   *[]WorkflowEventType                                  `form:"workflow_event_types,omitempty" json:"workflow_event_types,omitempty"`
	LastEventId          *string                                               `json:"last-event-id,omitempty"`
}

GetStreamEventsV1WorkflowsEventsStreamGetParams defines parameters for GetStreamEventsV1WorkflowsEventsStreamGet.

type GetStreamEventsV1WorkflowsEventsStreamGetParamsScope

type GetStreamEventsV1WorkflowsEventsStreamGetParamsScope string

GetStreamEventsV1WorkflowsEventsStreamGetParamsScope defines parameters for GetStreamEventsV1WorkflowsEventsStreamGet.

const (
	GetStreamEventsV1WorkflowsEventsStreamGetParamsScopeActivity GetStreamEventsV1WorkflowsEventsStreamGetParamsScope = "activity"
	GetStreamEventsV1WorkflowsEventsStreamGetParamsScopeAsterisk GetStreamEventsV1WorkflowsEventsStreamGetParamsScope = "*"
	GetStreamEventsV1WorkflowsEventsStreamGetParamsScopeWorkflow GetStreamEventsV1WorkflowsEventsStreamGetParamsScope = "workflow"
)

Defines values for GetStreamEventsV1WorkflowsEventsStreamGetParamsScope.

func (GetStreamEventsV1WorkflowsEventsStreamGetParamsScope) Valid

Valid indicates whether the value is a known member of the GetStreamEventsV1WorkflowsEventsStreamGetParamsScope enum.

type GetStreamEventsV1WorkflowsEventsStreamGetResponse

type GetStreamEventsV1WorkflowsEventsStreamGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseGetStreamEventsV1WorkflowsEventsStreamGetResponse

func ParseGetStreamEventsV1WorkflowsEventsStreamGetResponse(rsp *http.Response) (*GetStreamEventsV1WorkflowsEventsStreamGetResponse, error)

ParseGetStreamEventsV1WorkflowsEventsStreamGetResponse parses an HTTP response from a GetStreamEventsV1WorkflowsEventsStreamGetWithResponse call

func (GetStreamEventsV1WorkflowsEventsStreamGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetStreamEventsV1WorkflowsEventsStreamGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetStreamEventsV1WorkflowsEventsStreamGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetStreamEventsV1WorkflowsEventsStreamGetResponse) Status

Status returns HTTPResponse.Status

func (GetStreamEventsV1WorkflowsEventsStreamGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse

type GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *string
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseGetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse

func ParseGetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse(rsp *http.Response) (*GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse, error)

ParseGetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse parses an HTTP response from a GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetWithResponse call

func (GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) Status

Status returns HTTPResponse.Status

func (GetVoiceSampleAudioV1AudioVoicesVoiceIdSampleGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetVoiceV1AudioVoicesVoiceIdGetResponse

type GetVoiceV1AudioVoicesVoiceIdGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *VoiceResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseGetVoiceV1AudioVoicesVoiceIdGetResponse

func ParseGetVoiceV1AudioVoicesVoiceIdGetResponse(rsp *http.Response) (*GetVoiceV1AudioVoicesVoiceIdGetResponse, error)

ParseGetVoiceV1AudioVoicesVoiceIdGetResponse parses an HTTP response from a GetVoiceV1AudioVoicesVoiceIdGetWithResponse call

func (GetVoiceV1AudioVoicesVoiceIdGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetVoiceV1AudioVoicesVoiceIdGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetVoiceV1AudioVoicesVoiceIdGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetVoiceV1AudioVoicesVoiceIdGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetVoiceV1AudioVoicesVoiceIdGetResponse) Status

Status returns HTTPResponse.Status

func (GetVoiceV1AudioVoicesVoiceIdGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse

type GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WorkerInfo
}

func ParseGetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse

func ParseGetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse(rsp *http.Response) (*GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse, error)

ParseGetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse parses an HTTP response from a GetWorkerInfoV1WorkflowsWorkersWhoamiGetWithResponse call

func (GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) Status

Status returns HTTPResponse.Status

func (GetWorkerInfoV1WorkflowsWorkersWhoamiGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetWorkflowEventsV1WorkflowsEventsListGetParams

type GetWorkflowEventsV1WorkflowsEventsListGetParams struct {
	// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
	RootWorkflowExecId *string `form:"root_workflow_exec_id,omitempty" json:"root_workflow_exec_id,omitempty"`

	// WorkflowExecId Execution ID of the workflow that emitted this event.
	WorkflowExecId *string `form:"workflow_exec_id,omitempty" json:"workflow_exec_id,omitempty"`

	// WorkflowRunId Run ID of the workflow that emitted this event.
	WorkflowRunId *string `form:"workflow_run_id,omitempty" json:"workflow_run_id,omitempty"`

	// Limit Maximum number of events to return.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Cursor for pagination.
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}

GetWorkflowEventsV1WorkflowsEventsListGetParams defines parameters for GetWorkflowEventsV1WorkflowsEventsListGet.

type GetWorkflowEventsV1WorkflowsEventsListGetResponse

type GetWorkflowEventsV1WorkflowsEventsListGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListWorkflowEventResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseGetWorkflowEventsV1WorkflowsEventsListGetResponse

func ParseGetWorkflowEventsV1WorkflowsEventsListGetResponse(rsp *http.Response) (*GetWorkflowEventsV1WorkflowsEventsListGetResponse, error)

ParseGetWorkflowEventsV1WorkflowsEventsListGetResponse parses an HTTP response from a GetWorkflowEventsV1WorkflowsEventsListGetWithResponse call

func (GetWorkflowEventsV1WorkflowsEventsListGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWorkflowEventsV1WorkflowsEventsListGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetWorkflowEventsV1WorkflowsEventsListGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWorkflowEventsV1WorkflowsEventsListGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetWorkflowEventsV1WorkflowsEventsListGetResponse) Status

Status returns HTTPResponse.Status

func (GetWorkflowEventsV1WorkflowsEventsListGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetParams

type GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetParams struct {
	DecodePayloads *bool `form:"decode_payloads,omitempty" json:"decode_payloads,omitempty"`
}

GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetParams defines parameters for GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGet.

type GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse

type GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *interface{}
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseGetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse

func ParseGetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse(rsp *http.Response) (*GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse, error)

ParseGetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse parses an HTTP response from a GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetWithResponse call

func (GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) Status

Status returns HTTPResponse.Status

func (GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetWorkflowExecutionTraceEventsParams

type GetWorkflowExecutionTraceEventsParams struct {
	MergeSameIdEvents     *bool `form:"merge_same_id_events,omitempty" json:"merge_same_id_events,omitempty"`
	IncludeInternalEvents *bool `form:"include_internal_events,omitempty" json:"include_internal_events,omitempty"`
}

GetWorkflowExecutionTraceEventsParams defines parameters for GetWorkflowExecutionTraceEvents.

type GetWorkflowExecutionTraceEventsResponse

type GetWorkflowExecutionTraceEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WorkflowExecutionTraceEventsResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseGetWorkflowExecutionTraceEventsResponse

func ParseGetWorkflowExecutionTraceEventsResponse(rsp *http.Response) (*GetWorkflowExecutionTraceEventsResponse, error)

ParseGetWorkflowExecutionTraceEventsResponse parses an HTTP response from a GetWorkflowExecutionTraceEventsWithResponse call

func (GetWorkflowExecutionTraceEventsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWorkflowExecutionTraceEventsResponse) GetBody

GetBody returns the raw response body bytes

func (GetWorkflowExecutionTraceEventsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWorkflowExecutionTraceEventsResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetWorkflowExecutionTraceEventsResponse) Status

Status returns HTTPResponse.Status

func (GetWorkflowExecutionTraceEventsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetWorkflowExecutionTraceOtelResponse

type GetWorkflowExecutionTraceOtelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WorkflowExecutionTraceOTelResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseGetWorkflowExecutionTraceOtelResponse

func ParseGetWorkflowExecutionTraceOtelResponse(rsp *http.Response) (*GetWorkflowExecutionTraceOtelResponse, error)

ParseGetWorkflowExecutionTraceOtelResponse parses an HTTP response from a GetWorkflowExecutionTraceOtelWithResponse call

func (GetWorkflowExecutionTraceOtelResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWorkflowExecutionTraceOtelResponse) GetBody

GetBody returns the raw response body bytes

func (GetWorkflowExecutionTraceOtelResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWorkflowExecutionTraceOtelResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetWorkflowExecutionTraceOtelResponse) Status

Status returns HTTPResponse.Status

func (GetWorkflowExecutionTraceOtelResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetWorkflowExecutionTraceSummaryResponse

type GetWorkflowExecutionTraceSummaryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WorkflowExecutionTraceSummaryResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseGetWorkflowExecutionTraceSummaryResponse

func ParseGetWorkflowExecutionTraceSummaryResponse(rsp *http.Response) (*GetWorkflowExecutionTraceSummaryResponse, error)

ParseGetWorkflowExecutionTraceSummaryResponse parses an HTTP response from a GetWorkflowExecutionTraceSummaryWithResponse call

func (GetWorkflowExecutionTraceSummaryResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWorkflowExecutionTraceSummaryResponse) GetBody

GetBody returns the raw response body bytes

func (GetWorkflowExecutionTraceSummaryResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWorkflowExecutionTraceSummaryResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetWorkflowExecutionTraceSummaryResponse) Status

Status returns HTTPResponse.Status

func (GetWorkflowExecutionTraceSummaryResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse

type GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WorkflowExecutionResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseGetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse

func ParseGetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse(rsp *http.Response) (*GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse, error)

ParseGetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse parses an HTTP response from a GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetWithResponse call

func (GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) Status

Status returns HTTPResponse.Status

func (GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetParams

type GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetParams struct {
	// StartTime Filter workflows started after this time (ISO 8601)
	StartTime *time.Time `form:"start_time,omitempty" json:"start_time,omitempty"`

	// EndTime Filter workflows started before this time (ISO 8601)
	EndTime *time.Time `form:"end_time,omitempty" json:"end_time,omitempty"`
}

GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetParams defines parameters for GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGet.

type GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse

type GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WorkflowMetrics
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseGetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse

func ParseGetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse(rsp *http.Response) (*GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse, error)

ParseGetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse parses an HTTP response from a GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetWithResponse call

func (GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) Status

Status returns HTTPResponse.Status

func (GetWorkflowMetricsV1WorkflowsWorkflowNameMetricsGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetParams

type GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetParams struct {
	// WithWorkflow Whether to include the workflow definition
	WithWorkflow *bool `form:"with_workflow,omitempty" json:"with_workflow,omitempty"`

	// IncludeShared Whether to include shared workflow versions
	IncludeShared *bool `form:"include_shared,omitempty" json:"include_shared,omitempty"`
}

GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetParams defines parameters for GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGet.

type GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse

type GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WorkflowRegistrationGetResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseGetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse

func ParseGetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse(rsp *http.Response) (*GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse, error)

ParseGetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse parses an HTTP response from a GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetWithResponse call

func (GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) Status

Status returns HTTPResponse.Status

func (GetWorkflowRegistrationV1WorkflowsRegistrationsWorkflowRegistrationIdGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetWorkflowRegistrationsV1WorkflowsRegistrationsGetParams

type GetWorkflowRegistrationsV1WorkflowsRegistrationsGetParams struct {
	// WorkflowId The workflow ID to filter by
	WorkflowId *openapi_types.UUID `form:"workflow_id,omitempty" json:"workflow_id,omitempty"`

	// TaskQueue The task queue to filter by
	TaskQueue *string `form:"task_queue,omitempty" json:"task_queue,omitempty"`

	// ActiveOnly Whether to only return active workflows versions
	ActiveOnly *bool `form:"active_only,omitempty" json:"active_only,omitempty"`

	// IncludeShared Whether to include shared workflow versions
	IncludeShared *bool `form:"include_shared,omitempty" json:"include_shared,omitempty"`

	// WorkflowSearch The workflow name to filter by
	WorkflowSearch *string `form:"workflow_search,omitempty" json:"workflow_search,omitempty"`

	// Archived Filter by archived state. False=exclude archived, True=only archived, None=include all
	Archived *bool `form:"archived,omitempty" json:"archived,omitempty"`

	// WithWorkflow Whether to include the workflow definition
	WithWorkflow *bool `form:"with_workflow,omitempty" json:"with_workflow,omitempty"`

	// AvailableInChatAssistant Whether to only return workflows compatible with chat assistant
	AvailableInChatAssistant *bool `form:"available_in_chat_assistant,omitempty" json:"available_in_chat_assistant,omitempty"`

	// Limit The maximum number of workflows versions to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor The cursor for pagination
	Cursor *openapi_types.UUID `form:"cursor,omitempty" json:"cursor,omitempty"`
}

GetWorkflowRegistrationsV1WorkflowsRegistrationsGetParams defines parameters for GetWorkflowRegistrationsV1WorkflowsRegistrationsGet.

type GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse

type GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WorkflowRegistrationListResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseGetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse

func ParseGetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse(rsp *http.Response) (*GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse, error)

ParseGetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse parses an HTTP response from a GetWorkflowRegistrationsV1WorkflowsRegistrationsGetWithResponse call

func (GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) Status

Status returns HTTPResponse.Status

func (GetWorkflowRegistrationsV1WorkflowsRegistrationsGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse

type GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WorkflowGetResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseGetWorkflowV1WorkflowsWorkflowIdentifierGetResponse

func ParseGetWorkflowV1WorkflowsWorkflowIdentifierGetResponse(rsp *http.Response) (*GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse, error)

ParseGetWorkflowV1WorkflowsWorkflowIdentifierGetResponse parses an HTTP response from a GetWorkflowV1WorkflowsWorkflowIdentifierGetWithResponse call

func (GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) Status

Status returns HTTPResponse.Status

func (GetWorkflowV1WorkflowsWorkflowIdentifierGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GithubRepositoryIn

type GithubRepositoryIn struct {
	Name   string                  `json:"name"`
	Owner  string                  `json:"owner"`
	Ref    *string                 `json:"ref,omitempty"`
	Token  string                  `json:"token"`
	Type   *GithubRepositoryInType `json:"type,omitempty"`
	Weight *float32                `json:"weight,omitempty"`
}

GithubRepositoryIn defines model for GithubRepositoryIn.

type GithubRepositoryInType

type GithubRepositoryInType string

GithubRepositoryInType defines model for GithubRepositoryIn.Type.

const (
	GithubRepositoryInTypeGithub GithubRepositoryInType = "github"
)

Defines values for GithubRepositoryInType.

func (GithubRepositoryInType) Valid

func (e GithubRepositoryInType) Valid() bool

Valid indicates whether the value is a known member of the GithubRepositoryInType enum.

type GithubRepositoryOut

type GithubRepositoryOut struct {
	CommitId string                   `json:"commit_id"`
	Name     string                   `json:"name"`
	Owner    string                   `json:"owner"`
	Ref      *string                  `json:"ref,omitempty"`
	Type     *GithubRepositoryOutType `json:"type,omitempty"`
	Weight   *float32                 `json:"weight,omitempty"`
}

GithubRepositoryOut defines model for GithubRepositoryOut.

type GithubRepositoryOutType

type GithubRepositoryOutType string

GithubRepositoryOutType defines model for GithubRepositoryOut.Type.

const (
	GithubRepositoryOutTypeGithub GithubRepositoryOutType = "github"
)

Defines values for GithubRepositoryOutType.

func (GithubRepositoryOutType) Valid

func (e GithubRepositoryOutType) Valid() bool

Valid indicates whether the value is a known member of the GithubRepositoryOutType enum.

type GuardrailConfig

type GuardrailConfig struct {
	// BlockOnError If true, return HTTP 403 and block request in the event of a server-side error
	BlockOnError    *bool                  `json:"block_on_error,omitempty"`
	ModerationLlmV1 *ModerationLLMV1Config `json:"moderation_llm_v1,omitempty"`
	ModerationLlmV2 *ModerationLLMV2Config `json:"moderation_llm_v2,omitempty"`
}

GuardrailConfig defines model for GuardrailConfig.

type HTTPValidationError

type HTTPValidationError struct {
	Detail *[]ValidationError `json:"detail,omitempty"`
}

HTTPValidationError defines model for HTTPValidationError.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ImageContent

type ImageContent struct {
	UnderscoreMeta       *map[string]interface{} `json:"_meta,omitempty"`
	Annotations          *Annotations            `json:"annotations,omitempty"`
	Data                 string                  `json:"data"`
	MimeType             string                  `json:"mimeType"`
	Type                 ImageContentType        `json:"type"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

ImageContent Image content for a message.

func (ImageContent) Get

func (a ImageContent) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ImageContent. Returns the specified element and whether it was found

func (ImageContent) MarshalJSON

func (a ImageContent) MarshalJSON() ([]byte, error)

Override default JSON handling for ImageContent to handle AdditionalProperties

func (*ImageContent) Set

func (a *ImageContent) Set(fieldName string, value interface{})

Setter for additional properties for ImageContent

func (*ImageContent) UnmarshalJSON

func (a *ImageContent) UnmarshalJSON(b []byte) error

Override default JSON handling for ImageContent to handle AdditionalProperties

type ImageContentType

type ImageContentType string

ImageContentType defines model for ImageContent.Type.

const (
	ImageContentTypeImage ImageContentType = "image"
)

Defines values for ImageContentType.

func (ImageContentType) Valid

func (e ImageContentType) Valid() bool

Valid indicates whether the value is a known member of the ImageContentType enum.

type ImageDetail

type ImageDetail string

ImageDetail defines model for ImageDetail.

const (
	ImageDetailAuto ImageDetail = "auto"
	ImageDetailHigh ImageDetail = "high"
	ImageDetailLow  ImageDetail = "low"
)

Defines values for ImageDetail.

func (ImageDetail) Valid

func (e ImageDetail) Valid() bool

Valid indicates whether the value is a known member of the ImageDetail enum.

type ImageGenerationTool

type ImageGenerationTool struct {
	ToolConfiguration *ToolConfiguration       `json:"tool_configuration,omitempty"`
	Type              *ImageGenerationToolType `json:"type,omitempty"`
}

ImageGenerationTool defines model for ImageGenerationTool.

type ImageGenerationToolType

type ImageGenerationToolType string

ImageGenerationToolType defines model for ImageGenerationTool.Type.

const (
	ImageGenerationToolTypeImageGeneration ImageGenerationToolType = "image_generation"
)

Defines values for ImageGenerationToolType.

func (ImageGenerationToolType) Valid

func (e ImageGenerationToolType) Valid() bool

Valid indicates whether the value is a known member of the ImageGenerationToolType enum.

type ImageURL

type ImageURL struct {
	Detail *ImageDetail `json:"detail,omitempty"`
	Url    string       `json:"url"`
}

ImageURL defines model for ImageURL.

type ImageURLChunk

type ImageURLChunk struct {
	ImageUrl ImageURLChunk_ImageUrl `json:"image_url"`
	Type     *ImageURLChunkType     `json:"type,omitempty"`
}

ImageURLChunk {"type":"image_url","image_url":{"url":"data:image/png;base64,iVBORw0

type ImageURLChunkImageUrl1

type ImageURLChunkImageUrl1 = string

ImageURLChunkImageUrl1 defines model for ImageURLChunk.ImageUrl.1.

type ImageURLChunkType

type ImageURLChunkType string

ImageURLChunkType defines model for ImageURLChunk.Type.

const (
	ImageURLChunkTypeImageUrl ImageURLChunkType = "image_url"
)

Defines values for ImageURLChunkType.

func (ImageURLChunkType) Valid

func (e ImageURLChunkType) Valid() bool

Valid indicates whether the value is a known member of the ImageURLChunkType enum.

type ImageURLChunk_ImageUrl

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

ImageURLChunk_ImageUrl defines model for ImageURLChunk.ImageUrl.

func (ImageURLChunk_ImageUrl) AsImageURL

func (t ImageURLChunk_ImageUrl) AsImageURL() (ImageURL, error)

AsImageURL returns the union data inside the ImageURLChunk_ImageUrl as a ImageURL

func (ImageURLChunk_ImageUrl) AsImageURLChunkImageUrl1

func (t ImageURLChunk_ImageUrl) AsImageURLChunkImageUrl1() (ImageURLChunkImageUrl1, error)

AsImageURLChunkImageUrl1 returns the union data inside the ImageURLChunk_ImageUrl as a ImageURLChunkImageUrl1

func (*ImageURLChunk_ImageUrl) FromImageURL

func (t *ImageURLChunk_ImageUrl) FromImageURL(v ImageURL) error

FromImageURL overwrites any union data inside the ImageURLChunk_ImageUrl as the provided ImageURL

func (*ImageURLChunk_ImageUrl) FromImageURLChunkImageUrl1

func (t *ImageURLChunk_ImageUrl) FromImageURLChunkImageUrl1(v ImageURLChunkImageUrl1) error

FromImageURLChunkImageUrl1 overwrites any union data inside the ImageURLChunk_ImageUrl as the provided ImageURLChunkImageUrl1

func (ImageURLChunk_ImageUrl) MarshalJSON

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

func (*ImageURLChunk_ImageUrl) MergeImageURL

func (t *ImageURLChunk_ImageUrl) MergeImageURL(v ImageURL) error

MergeImageURL performs a merge with any union data inside the ImageURLChunk_ImageUrl, using the provided ImageURL

func (*ImageURLChunk_ImageUrl) MergeImageURLChunkImageUrl1

func (t *ImageURLChunk_ImageUrl) MergeImageURLChunkImageUrl1(v ImageURLChunkImageUrl1) error

MergeImageURLChunkImageUrl1 performs a merge with any union data inside the ImageURLChunk_ImageUrl, using the provided ImageURLChunkImageUrl1

func (*ImageURLChunk_ImageUrl) UnmarshalJSON

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

type InputEntries

type InputEntries = []InputEntries_Item

InputEntries defines model for InputEntries.

type InputEntries_Item

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

InputEntries_Item defines model for InputEntries.Item.

func (InputEntries_Item) AsAgentHandoffEntry

func (t InputEntries_Item) AsAgentHandoffEntry() (AgentHandoffEntry, error)

AsAgentHandoffEntry returns the union data inside the InputEntries_Item as a AgentHandoffEntry

func (InputEntries_Item) AsFunctionCallEntry

func (t InputEntries_Item) AsFunctionCallEntry() (FunctionCallEntry, error)

AsFunctionCallEntry returns the union data inside the InputEntries_Item as a FunctionCallEntry

func (InputEntries_Item) AsFunctionResultEntry

func (t InputEntries_Item) AsFunctionResultEntry() (FunctionResultEntry, error)

AsFunctionResultEntry returns the union data inside the InputEntries_Item as a FunctionResultEntry

func (InputEntries_Item) AsMessageInputEntry

func (t InputEntries_Item) AsMessageInputEntry() (MessageInputEntry, error)

AsMessageInputEntry returns the union data inside the InputEntries_Item as a MessageInputEntry

func (InputEntries_Item) AsMessageOutputEntry

func (t InputEntries_Item) AsMessageOutputEntry() (MessageOutputEntry, error)

AsMessageOutputEntry returns the union data inside the InputEntries_Item as a MessageOutputEntry

func (InputEntries_Item) AsToolExecutionEntry

func (t InputEntries_Item) AsToolExecutionEntry() (ToolExecutionEntry, error)

AsToolExecutionEntry returns the union data inside the InputEntries_Item as a ToolExecutionEntry

func (*InputEntries_Item) FromAgentHandoffEntry

func (t *InputEntries_Item) FromAgentHandoffEntry(v AgentHandoffEntry) error

FromAgentHandoffEntry overwrites any union data inside the InputEntries_Item as the provided AgentHandoffEntry

func (*InputEntries_Item) FromFunctionCallEntry

func (t *InputEntries_Item) FromFunctionCallEntry(v FunctionCallEntry) error

FromFunctionCallEntry overwrites any union data inside the InputEntries_Item as the provided FunctionCallEntry

func (*InputEntries_Item) FromFunctionResultEntry

func (t *InputEntries_Item) FromFunctionResultEntry(v FunctionResultEntry) error

FromFunctionResultEntry overwrites any union data inside the InputEntries_Item as the provided FunctionResultEntry

func (*InputEntries_Item) FromMessageInputEntry

func (t *InputEntries_Item) FromMessageInputEntry(v MessageInputEntry) error

FromMessageInputEntry overwrites any union data inside the InputEntries_Item as the provided MessageInputEntry

func (*InputEntries_Item) FromMessageOutputEntry

func (t *InputEntries_Item) FromMessageOutputEntry(v MessageOutputEntry) error

FromMessageOutputEntry overwrites any union data inside the InputEntries_Item as the provided MessageOutputEntry

func (*InputEntries_Item) FromToolExecutionEntry

func (t *InputEntries_Item) FromToolExecutionEntry(v ToolExecutionEntry) error

FromToolExecutionEntry overwrites any union data inside the InputEntries_Item as the provided ToolExecutionEntry

func (InputEntries_Item) MarshalJSON

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

func (*InputEntries_Item) MergeAgentHandoffEntry

func (t *InputEntries_Item) MergeAgentHandoffEntry(v AgentHandoffEntry) error

MergeAgentHandoffEntry performs a merge with any union data inside the InputEntries_Item, using the provided AgentHandoffEntry

func (*InputEntries_Item) MergeFunctionCallEntry

func (t *InputEntries_Item) MergeFunctionCallEntry(v FunctionCallEntry) error

MergeFunctionCallEntry performs a merge with any union data inside the InputEntries_Item, using the provided FunctionCallEntry

func (*InputEntries_Item) MergeFunctionResultEntry

func (t *InputEntries_Item) MergeFunctionResultEntry(v FunctionResultEntry) error

MergeFunctionResultEntry performs a merge with any union data inside the InputEntries_Item, using the provided FunctionResultEntry

func (*InputEntries_Item) MergeMessageInputEntry

func (t *InputEntries_Item) MergeMessageInputEntry(v MessageInputEntry) error

MergeMessageInputEntry performs a merge with any union data inside the InputEntries_Item, using the provided MessageInputEntry

func (*InputEntries_Item) MergeMessageOutputEntry

func (t *InputEntries_Item) MergeMessageOutputEntry(v MessageOutputEntry) error

MergeMessageOutputEntry performs a merge with any union data inside the InputEntries_Item, using the provided MessageOutputEntry

func (*InputEntries_Item) MergeToolExecutionEntry

func (t *InputEntries_Item) MergeToolExecutionEntry(v ToolExecutionEntry) error

MergeToolExecutionEntry performs a merge with any union data inside the InputEntries_Item, using the provided ToolExecutionEntry

func (*InputEntries_Item) UnmarshalJSON

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

type InstructRequest

type InstructRequest struct {
	Messages []InstructRequest_Messages_Item `json:"messages"`
}

InstructRequest defines model for InstructRequest.

type InstructRequest_Messages_Item

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

InstructRequest_Messages_Item defines model for InstructRequest.messages.Item.

func (InstructRequest_Messages_Item) AsAssistantMessage

func (t InstructRequest_Messages_Item) AsAssistantMessage() (AssistantMessage, error)

AsAssistantMessage returns the union data inside the InstructRequest_Messages_Item as a AssistantMessage

func (InstructRequest_Messages_Item) AsSystemMessage

func (t InstructRequest_Messages_Item) AsSystemMessage() (SystemMessage, error)

AsSystemMessage returns the union data inside the InstructRequest_Messages_Item as a SystemMessage

func (InstructRequest_Messages_Item) AsToolMessage

func (t InstructRequest_Messages_Item) AsToolMessage() (ToolMessage, error)

AsToolMessage returns the union data inside the InstructRequest_Messages_Item as a ToolMessage

func (InstructRequest_Messages_Item) AsUserMessage

func (t InstructRequest_Messages_Item) AsUserMessage() (UserMessage, error)

AsUserMessage returns the union data inside the InstructRequest_Messages_Item as a UserMessage

func (InstructRequest_Messages_Item) Discriminator

func (t InstructRequest_Messages_Item) Discriminator() (string, error)

func (*InstructRequest_Messages_Item) FromAssistantMessage

func (t *InstructRequest_Messages_Item) FromAssistantMessage(v AssistantMessage) error

FromAssistantMessage overwrites any union data inside the InstructRequest_Messages_Item as the provided AssistantMessage

func (*InstructRequest_Messages_Item) FromSystemMessage

func (t *InstructRequest_Messages_Item) FromSystemMessage(v SystemMessage) error

FromSystemMessage overwrites any union data inside the InstructRequest_Messages_Item as the provided SystemMessage

func (*InstructRequest_Messages_Item) FromToolMessage

func (t *InstructRequest_Messages_Item) FromToolMessage(v ToolMessage) error

FromToolMessage overwrites any union data inside the InstructRequest_Messages_Item as the provided ToolMessage

func (*InstructRequest_Messages_Item) FromUserMessage

func (t *InstructRequest_Messages_Item) FromUserMessage(v UserMessage) error

FromUserMessage overwrites any union data inside the InstructRequest_Messages_Item as the provided UserMessage

func (InstructRequest_Messages_Item) MarshalJSON

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

func (*InstructRequest_Messages_Item) MergeAssistantMessage

func (t *InstructRequest_Messages_Item) MergeAssistantMessage(v AssistantMessage) error

MergeAssistantMessage performs a merge with any union data inside the InstructRequest_Messages_Item, using the provided AssistantMessage

func (*InstructRequest_Messages_Item) MergeSystemMessage

func (t *InstructRequest_Messages_Item) MergeSystemMessage(v SystemMessage) error

MergeSystemMessage performs a merge with any union data inside the InstructRequest_Messages_Item, using the provided SystemMessage

func (*InstructRequest_Messages_Item) MergeToolMessage

func (t *InstructRequest_Messages_Item) MergeToolMessage(v ToolMessage) error

MergeToolMessage performs a merge with any union data inside the InstructRequest_Messages_Item, using the provided ToolMessage

func (*InstructRequest_Messages_Item) MergeUserMessage

func (t *InstructRequest_Messages_Item) MergeUserMessage(v UserMessage) error

MergeUserMessage performs a merge with any union data inside the InstructRequest_Messages_Item, using the provided UserMessage

func (*InstructRequest_Messages_Item) UnmarshalJSON

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

func (InstructRequest_Messages_Item) ValueByDiscriminator

func (t InstructRequest_Messages_Item) ValueByDiscriminator() (interface{}, error)

type IntegrationsSchemasApiToolTool

type IntegrationsSchemasApiToolTool struct {
	Active          *bool                                 `json:"active,omitempty"`
	CreatedAt       time.Time                             `json:"created_at"`
	Description     string                                `json:"description"`
	ExecutionConfig *ExecutionConfig                      `json:"execution_config"`
	Id              string                                `json:"id"`
	Jsonschema      *map[string]interface{}               `json:"jsonschema,omitempty"`
	Locale          *IntegrationsSchemasTurbineToolLocale `json:"locale,omitempty"`
	ModifiedAt      time.Time                             `json:"modified_at"`
	Name            string                                `json:"name"`
	SystemPrompt    *string                               `json:"system_prompt,omitempty"`
	Visibility      ResourceVisibility                    `json:"visibility"`
}

IntegrationsSchemasApiToolTool defines model for integrations__schemas__api__tool__Tool.

type IntegrationsSchemasTurbineToolLocale

type IntegrationsSchemasTurbineToolLocale struct {
	Description   map[string]string `json:"description"`
	Name          map[string]string `json:"name"`
	UsageSentence map[string]string `json:"usage_sentence"`
}

IntegrationsSchemasTurbineToolLocale defines model for integrations__schemas__turbine__ToolLocale.

type JSONPatchAdd

type JSONPatchAdd struct {
	// Op Add operation
	Op JSONPatchAddOp `json:"op"`

	// Path A JSON Pointer (RFC 6901) identifying the target location within the document. Can be a string path (e.g., '/foo/bar'), '/', ”, or an empty list [] for root-level operations.
	Path string `json:"path"`

	// Value The value to use for the operation
	Value interface{} `json:"value"`
}

JSONPatchAdd defines model for JSONPatchAdd.

type JSONPatchAddOp

type JSONPatchAddOp string

JSONPatchAddOp Add operation

const (
	JSONPatchAddOpAdd JSONPatchAddOp = "add"
)

Defines values for JSONPatchAddOp.

func (JSONPatchAddOp) Valid

func (e JSONPatchAddOp) Valid() bool

Valid indicates whether the value is a known member of the JSONPatchAddOp enum.

type JSONPatchAppend

type JSONPatchAppend struct {
	// Op 'append' is an extension for efficient string concatenation in streaming scenarios.
	Op JSONPatchAppendOp `json:"op"`

	// Path A JSON Pointer (RFC 6901) identifying the target location within the document. Can be a string path (e.g., '/foo/bar'), '/', ”, or an empty list [] for root-level operations.
	Path string `json:"path"`

	// Value The value to use for the operation. A string to append to the existing value
	Value string `json:"value"`
}

JSONPatchAppend defines model for JSONPatchAppend.

type JSONPatchAppendOp

type JSONPatchAppendOp string

JSONPatchAppendOp 'append' is an extension for efficient string concatenation in streaming scenarios.

const (
	JSONPatchAppendOpAppend JSONPatchAppendOp = "append"
)

Defines values for JSONPatchAppendOp.

func (JSONPatchAppendOp) Valid

func (e JSONPatchAppendOp) Valid() bool

Valid indicates whether the value is a known member of the JSONPatchAppendOp enum.

type JSONPatchPayloadResponse

type JSONPatchPayloadResponse struct {
	// Type Discriminator indicating this is a JSON Patch payload.
	Type JSONPatchPayloadResponseType `json:"type"`

	// Value The list of JSON Patch operations to apply in order.
	Value []JSONPatchPayloadResponse_Value_Item `json:"value"`
}

JSONPatchPayloadResponse A payload containing a list of JSON Patch operations.

Used for streaming incremental updates to workflow state.

type JSONPatchPayloadResponseType

type JSONPatchPayloadResponseType string

JSONPatchPayloadResponseType Discriminator indicating this is a JSON Patch payload.

const (
	JSONPatchPayloadResponseTypeJsonPatch JSONPatchPayloadResponseType = "json_patch"
)

Defines values for JSONPatchPayloadResponseType.

func (JSONPatchPayloadResponseType) Valid

Valid indicates whether the value is a known member of the JSONPatchPayloadResponseType enum.

type JSONPatchPayloadResponse_Value_Item

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

JSONPatchPayloadResponse_Value_Item defines model for JSONPatchPayloadResponse.value.Item.

func (JSONPatchPayloadResponse_Value_Item) AsJSONPatchAdd

AsJSONPatchAdd returns the union data inside the JSONPatchPayloadResponse_Value_Item as a JSONPatchAdd

func (JSONPatchPayloadResponse_Value_Item) AsJSONPatchAppend

AsJSONPatchAppend returns the union data inside the JSONPatchPayloadResponse_Value_Item as a JSONPatchAppend

func (JSONPatchPayloadResponse_Value_Item) AsJSONPatchRemove

AsJSONPatchRemove returns the union data inside the JSONPatchPayloadResponse_Value_Item as a JSONPatchRemove

func (JSONPatchPayloadResponse_Value_Item) AsJSONPatchReplace

AsJSONPatchReplace returns the union data inside the JSONPatchPayloadResponse_Value_Item as a JSONPatchReplace

func (JSONPatchPayloadResponse_Value_Item) Discriminator

func (t JSONPatchPayloadResponse_Value_Item) Discriminator() (string, error)

func (*JSONPatchPayloadResponse_Value_Item) FromJSONPatchAdd

FromJSONPatchAdd overwrites any union data inside the JSONPatchPayloadResponse_Value_Item as the provided JSONPatchAdd

func (*JSONPatchPayloadResponse_Value_Item) FromJSONPatchAppend

func (t *JSONPatchPayloadResponse_Value_Item) FromJSONPatchAppend(v JSONPatchAppend) error

FromJSONPatchAppend overwrites any union data inside the JSONPatchPayloadResponse_Value_Item as the provided JSONPatchAppend

func (*JSONPatchPayloadResponse_Value_Item) FromJSONPatchRemove

func (t *JSONPatchPayloadResponse_Value_Item) FromJSONPatchRemove(v JSONPatchRemove) error

FromJSONPatchRemove overwrites any union data inside the JSONPatchPayloadResponse_Value_Item as the provided JSONPatchRemove

func (*JSONPatchPayloadResponse_Value_Item) FromJSONPatchReplace

func (t *JSONPatchPayloadResponse_Value_Item) FromJSONPatchReplace(v JSONPatchReplace) error

FromJSONPatchReplace overwrites any union data inside the JSONPatchPayloadResponse_Value_Item as the provided JSONPatchReplace

func (JSONPatchPayloadResponse_Value_Item) MarshalJSON

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

func (*JSONPatchPayloadResponse_Value_Item) MergeJSONPatchAdd

func (t *JSONPatchPayloadResponse_Value_Item) MergeJSONPatchAdd(v JSONPatchAdd) error

MergeJSONPatchAdd performs a merge with any union data inside the JSONPatchPayloadResponse_Value_Item, using the provided JSONPatchAdd

func (*JSONPatchPayloadResponse_Value_Item) MergeJSONPatchAppend

func (t *JSONPatchPayloadResponse_Value_Item) MergeJSONPatchAppend(v JSONPatchAppend) error

MergeJSONPatchAppend performs a merge with any union data inside the JSONPatchPayloadResponse_Value_Item, using the provided JSONPatchAppend

func (*JSONPatchPayloadResponse_Value_Item) MergeJSONPatchRemove

func (t *JSONPatchPayloadResponse_Value_Item) MergeJSONPatchRemove(v JSONPatchRemove) error

MergeJSONPatchRemove performs a merge with any union data inside the JSONPatchPayloadResponse_Value_Item, using the provided JSONPatchRemove

func (*JSONPatchPayloadResponse_Value_Item) MergeJSONPatchReplace

func (t *JSONPatchPayloadResponse_Value_Item) MergeJSONPatchReplace(v JSONPatchReplace) error

MergeJSONPatchReplace performs a merge with any union data inside the JSONPatchPayloadResponse_Value_Item, using the provided JSONPatchReplace

func (*JSONPatchPayloadResponse_Value_Item) UnmarshalJSON

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

func (JSONPatchPayloadResponse_Value_Item) ValueByDiscriminator

func (t JSONPatchPayloadResponse_Value_Item) ValueByDiscriminator() (interface{}, error)

type JSONPatchRemove

type JSONPatchRemove struct {
	// Op Remove operation
	Op JSONPatchRemoveOp `json:"op"`

	// Path A JSON Pointer (RFC 6901) identifying the target location within the document. Can be a string path (e.g., '/foo/bar'), '/', ”, or an empty list [] for root-level operations.
	Path string `json:"path"`

	// Value The value to use for the operation
	Value interface{} `json:"value"`
}

JSONPatchRemove defines model for JSONPatchRemove.

type JSONPatchRemoveOp

type JSONPatchRemoveOp string

JSONPatchRemoveOp Remove operation

const (
	JSONPatchRemoveOpRemove JSONPatchRemoveOp = "remove"
)

Defines values for JSONPatchRemoveOp.

func (JSONPatchRemoveOp) Valid

func (e JSONPatchRemoveOp) Valid() bool

Valid indicates whether the value is a known member of the JSONPatchRemoveOp enum.

type JSONPatchReplace

type JSONPatchReplace struct {
	// Op Replace operation
	Op JSONPatchReplaceOp `json:"op"`

	// Path A JSON Pointer (RFC 6901) identifying the target location within the document. Can be a string path (e.g., '/foo/bar'), '/', ”, or an empty list [] for root-level operations.
	Path string `json:"path"`

	// Value The value to use for the operation
	Value interface{} `json:"value"`
}

JSONPatchReplace defines model for JSONPatchReplace.

type JSONPatchReplaceOp

type JSONPatchReplaceOp string

JSONPatchReplaceOp Replace operation

const (
	JSONPatchReplaceOpReplace JSONPatchReplaceOp = "replace"
)

Defines values for JSONPatchReplaceOp.

func (JSONPatchReplaceOp) Valid

func (e JSONPatchReplaceOp) Valid() bool

Valid indicates whether the value is a known member of the JSONPatchReplaceOp enum.

type JSONPayloadResponse

type JSONPayloadResponse struct {
	// Type Discriminator indicating this is a raw JSON payload.
	Type JSONPayloadResponseType `json:"type"`

	// Value The JSON-serializable payload value.
	Value interface{} `json:"value"`
}

JSONPayloadResponse A payload containing arbitrary JSON data.

Used for complete state snapshots or final results.

type JSONPayloadResponseType

type JSONPayloadResponseType string

JSONPayloadResponseType Discriminator indicating this is a raw JSON payload.

const (
	JSONPayloadResponseTypeJson JSONPayloadResponseType = "json"
)

Defines values for JSONPayloadResponseType.

func (JSONPayloadResponseType) Valid

func (e JSONPayloadResponseType) Valid() bool

Valid indicates whether the value is a known member of the JSONPayloadResponseType enum.

type JobIn

type JobIn struct {
	// AutoStart This field will be required in a future release.
	AutoStart         *bool                 `json:"auto_start,omitempty"`
	ClassifierTargets *[]ClassifierTargetIn `json:"classifier_targets,omitempty"`
	Hyperparameters   JobIn_Hyperparameters `json:"hyperparameters"`

	// Integrations A list of integrations to enable for your fine-tuning job.
	Integrations                *[]JobIn_Integrations_Item `json:"integrations,omitempty"`
	InvalidSampleSkipPercentage *float32                   `json:"invalid_sample_skip_percentage,omitempty"`
	JobType                     *FineTuneableModelType     `json:"job_type,omitempty"`
	Model                       string                     `json:"model"`
	Repositories                *[]JobIn_Repositories_Item `json:"repositories,omitempty"`

	// Suffix A string that will be added to your fine-tuning model name. For example, a suffix of "my-great-model" would produce a model name like `ft:open-mistral-7b:my-great-model:xxx...`
	Suffix        *string         `json:"suffix,omitempty"`
	TrainingFiles *[]TrainingFile `json:"training_files,omitempty"`

	// ValidationFiles A list containing the IDs of uploaded files that contain validation data. If you provide these files, the data is used to generate validation metrics periodically during fine-tuning. These metrics can be viewed in `checkpoints` when getting the status of a running fine-tuning job. The same data should not be present in both train and validation files.
	ValidationFiles *[]openapi_types.UUID `json:"validation_files,omitempty"`
}

JobIn defines model for JobIn.

type JobIn_Hyperparameters

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

JobIn_Hyperparameters defines model for JobIn.Hyperparameters.

func (JobIn_Hyperparameters) AsClassifierTrainingParametersIn

func (t JobIn_Hyperparameters) AsClassifierTrainingParametersIn() (ClassifierTrainingParametersIn, error)

AsClassifierTrainingParametersIn returns the union data inside the JobIn_Hyperparameters as a ClassifierTrainingParametersIn

func (JobIn_Hyperparameters) AsCompletionTrainingParametersIn

func (t JobIn_Hyperparameters) AsCompletionTrainingParametersIn() (CompletionTrainingParametersIn, error)

AsCompletionTrainingParametersIn returns the union data inside the JobIn_Hyperparameters as a CompletionTrainingParametersIn

func (*JobIn_Hyperparameters) FromClassifierTrainingParametersIn

func (t *JobIn_Hyperparameters) FromClassifierTrainingParametersIn(v ClassifierTrainingParametersIn) error

FromClassifierTrainingParametersIn overwrites any union data inside the JobIn_Hyperparameters as the provided ClassifierTrainingParametersIn

func (*JobIn_Hyperparameters) FromCompletionTrainingParametersIn

func (t *JobIn_Hyperparameters) FromCompletionTrainingParametersIn(v CompletionTrainingParametersIn) error

FromCompletionTrainingParametersIn overwrites any union data inside the JobIn_Hyperparameters as the provided CompletionTrainingParametersIn

func (JobIn_Hyperparameters) MarshalJSON

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

func (*JobIn_Hyperparameters) MergeClassifierTrainingParametersIn

func (t *JobIn_Hyperparameters) MergeClassifierTrainingParametersIn(v ClassifierTrainingParametersIn) error

MergeClassifierTrainingParametersIn performs a merge with any union data inside the JobIn_Hyperparameters, using the provided ClassifierTrainingParametersIn

func (*JobIn_Hyperparameters) MergeCompletionTrainingParametersIn

func (t *JobIn_Hyperparameters) MergeCompletionTrainingParametersIn(v CompletionTrainingParametersIn) error

MergeCompletionTrainingParametersIn performs a merge with any union data inside the JobIn_Hyperparameters, using the provided CompletionTrainingParametersIn

func (*JobIn_Hyperparameters) UnmarshalJSON

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

type JobIn_Integrations_Item

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

JobIn_Integrations_Item defines model for JobIn.integrations.Item.

func (JobIn_Integrations_Item) AsWandbIntegration

func (t JobIn_Integrations_Item) AsWandbIntegration() (WandbIntegration, error)

AsWandbIntegration returns the union data inside the JobIn_Integrations_Item as a WandbIntegration

func (JobIn_Integrations_Item) Discriminator

func (t JobIn_Integrations_Item) Discriminator() (string, error)

func (*JobIn_Integrations_Item) FromWandbIntegration

func (t *JobIn_Integrations_Item) FromWandbIntegration(v WandbIntegration) error

FromWandbIntegration overwrites any union data inside the JobIn_Integrations_Item as the provided WandbIntegration

func (JobIn_Integrations_Item) MarshalJSON

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

func (*JobIn_Integrations_Item) MergeWandbIntegration

func (t *JobIn_Integrations_Item) MergeWandbIntegration(v WandbIntegration) error

MergeWandbIntegration performs a merge with any union data inside the JobIn_Integrations_Item, using the provided WandbIntegration

func (*JobIn_Integrations_Item) UnmarshalJSON

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

func (JobIn_Integrations_Item) ValueByDiscriminator

func (t JobIn_Integrations_Item) ValueByDiscriminator() (interface{}, error)

type JobIn_Repositories_Item

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

JobIn_Repositories_Item defines model for JobIn.repositories.Item.

func (JobIn_Repositories_Item) AsGithubRepositoryIn

func (t JobIn_Repositories_Item) AsGithubRepositoryIn() (GithubRepositoryIn, error)

AsGithubRepositoryIn returns the union data inside the JobIn_Repositories_Item as a GithubRepositoryIn

func (JobIn_Repositories_Item) Discriminator

func (t JobIn_Repositories_Item) Discriminator() (string, error)

func (*JobIn_Repositories_Item) FromGithubRepositoryIn

func (t *JobIn_Repositories_Item) FromGithubRepositoryIn(v GithubRepositoryIn) error

FromGithubRepositoryIn overwrites any union data inside the JobIn_Repositories_Item as the provided GithubRepositoryIn

func (JobIn_Repositories_Item) MarshalJSON

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

func (*JobIn_Repositories_Item) MergeGithubRepositoryIn

func (t *JobIn_Repositories_Item) MergeGithubRepositoryIn(v GithubRepositoryIn) error

MergeGithubRepositoryIn performs a merge with any union data inside the JobIn_Repositories_Item, using the provided GithubRepositoryIn

func (*JobIn_Repositories_Item) UnmarshalJSON

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

func (JobIn_Repositories_Item) ValueByDiscriminator

func (t JobIn_Repositories_Item) ValueByDiscriminator() (interface{}, error)

type JobMetadataOut

type JobMetadataOut struct {
	Cost                    *float32 `json:"cost,omitempty"`
	CostCurrency            *string  `json:"cost_currency,omitempty"`
	DataTokens              *int     `json:"data_tokens,omitempty"`
	EstimatedStartTime      *int     `json:"estimated_start_time,omitempty"`
	ExpectedDurationSeconds *int     `json:"expected_duration_seconds,omitempty"`
	TrainTokens             *int     `json:"train_tokens,omitempty"`
	TrainTokensPerStep      *int     `json:"train_tokens_per_step,omitempty"`
}

JobMetadataOut defines model for JobMetadataOut.

type JobsApiRoutesBatchCancelBatchJobResponse

type JobsApiRoutesBatchCancelBatchJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BatchJobOut
}

func ParseJobsApiRoutesBatchCancelBatchJobResponse

func ParseJobsApiRoutesBatchCancelBatchJobResponse(rsp *http.Response) (*JobsApiRoutesBatchCancelBatchJobResponse, error)

ParseJobsApiRoutesBatchCancelBatchJobResponse parses an HTTP response from a JobsApiRoutesBatchCancelBatchJobWithResponse call

func (JobsApiRoutesBatchCancelBatchJobResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (JobsApiRoutesBatchCancelBatchJobResponse) GetBody

GetBody returns the raw response body bytes

func (JobsApiRoutesBatchCancelBatchJobResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (JobsApiRoutesBatchCancelBatchJobResponse) Status

Status returns HTTPResponse.Status

func (JobsApiRoutesBatchCancelBatchJobResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type JobsApiRoutesBatchCreateBatchJobJSONRequestBody

type JobsApiRoutesBatchCreateBatchJobJSONRequestBody = BatchJobIn

JobsApiRoutesBatchCreateBatchJobJSONRequestBody defines body for JobsApiRoutesBatchCreateBatchJob for application/json ContentType.

type JobsApiRoutesBatchCreateBatchJobResponse

type JobsApiRoutesBatchCreateBatchJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BatchJobOut
}

func ParseJobsApiRoutesBatchCreateBatchJobResponse

func ParseJobsApiRoutesBatchCreateBatchJobResponse(rsp *http.Response) (*JobsApiRoutesBatchCreateBatchJobResponse, error)

ParseJobsApiRoutesBatchCreateBatchJobResponse parses an HTTP response from a JobsApiRoutesBatchCreateBatchJobWithResponse call

func (JobsApiRoutesBatchCreateBatchJobResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (JobsApiRoutesBatchCreateBatchJobResponse) GetBody

GetBody returns the raw response body bytes

func (JobsApiRoutesBatchCreateBatchJobResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (JobsApiRoutesBatchCreateBatchJobResponse) Status

Status returns HTTPResponse.Status

func (JobsApiRoutesBatchCreateBatchJobResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type JobsApiRoutesBatchGetBatchJobParams

type JobsApiRoutesBatchGetBatchJobParams struct {
	Inline *bool `form:"inline,omitempty" json:"inline,omitempty"`
}

JobsApiRoutesBatchGetBatchJobParams defines parameters for JobsApiRoutesBatchGetBatchJob.

type JobsApiRoutesBatchGetBatchJobResponse

type JobsApiRoutesBatchGetBatchJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BatchJobOut
}

func ParseJobsApiRoutesBatchGetBatchJobResponse

func ParseJobsApiRoutesBatchGetBatchJobResponse(rsp *http.Response) (*JobsApiRoutesBatchGetBatchJobResponse, error)

ParseJobsApiRoutesBatchGetBatchJobResponse parses an HTTP response from a JobsApiRoutesBatchGetBatchJobWithResponse call

func (JobsApiRoutesBatchGetBatchJobResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (JobsApiRoutesBatchGetBatchJobResponse) GetBody

GetBody returns the raw response body bytes

func (JobsApiRoutesBatchGetBatchJobResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (JobsApiRoutesBatchGetBatchJobResponse) Status

Status returns HTTPResponse.Status

func (JobsApiRoutesBatchGetBatchJobResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type JobsApiRoutesBatchGetBatchJobsParams

type JobsApiRoutesBatchGetBatchJobsParams struct {
	Page         *int                                         `form:"page,omitempty" json:"page,omitempty"`
	PageSize     *int                                         `form:"page_size,omitempty" json:"page_size,omitempty"`
	Model        *string                                      `form:"model,omitempty" json:"model,omitempty"`
	AgentId      *string                                      `form:"agent_id,omitempty" json:"agent_id,omitempty"`
	Metadata     *map[string]interface{}                      `form:"metadata,omitempty" json:"metadata,omitempty"`
	CreatedAfter *time.Time                                   `form:"created_after,omitempty" json:"created_after,omitempty"`
	CreatedByMe  *bool                                        `form:"created_by_me,omitempty" json:"created_by_me,omitempty"`
	Status       *[]BatchJobStatus                            `form:"status,omitempty" json:"status,omitempty"`
	OrderBy      *JobsApiRoutesBatchGetBatchJobsParamsOrderBy `form:"order_by,omitempty" json:"order_by,omitempty"`
}

JobsApiRoutesBatchGetBatchJobsParams defines parameters for JobsApiRoutesBatchGetBatchJobs.

type JobsApiRoutesBatchGetBatchJobsParamsOrderBy

type JobsApiRoutesBatchGetBatchJobsParamsOrderBy string

JobsApiRoutesBatchGetBatchJobsParamsOrderBy defines parameters for JobsApiRoutesBatchGetBatchJobs.

const (
	JobsApiRoutesBatchGetBatchJobsParamsOrderByCreated      JobsApiRoutesBatchGetBatchJobsParamsOrderBy = "created"
	JobsApiRoutesBatchGetBatchJobsParamsOrderByMinusCreated JobsApiRoutesBatchGetBatchJobsParamsOrderBy = "-created"
)

Defines values for JobsApiRoutesBatchGetBatchJobsParamsOrderBy.

func (JobsApiRoutesBatchGetBatchJobsParamsOrderBy) Valid

Valid indicates whether the value is a known member of the JobsApiRoutesBatchGetBatchJobsParamsOrderBy enum.

type JobsApiRoutesBatchGetBatchJobsResponse

type JobsApiRoutesBatchGetBatchJobsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *BatchJobsOut
}

func ParseJobsApiRoutesBatchGetBatchJobsResponse

func ParseJobsApiRoutesBatchGetBatchJobsResponse(rsp *http.Response) (*JobsApiRoutesBatchGetBatchJobsResponse, error)

ParseJobsApiRoutesBatchGetBatchJobsResponse parses an HTTP response from a JobsApiRoutesBatchGetBatchJobsWithResponse call

func (JobsApiRoutesBatchGetBatchJobsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (JobsApiRoutesBatchGetBatchJobsResponse) GetBody

GetBody returns the raw response body bytes

func (JobsApiRoutesBatchGetBatchJobsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (JobsApiRoutesBatchGetBatchJobsResponse) Status

Status returns HTTPResponse.Status

func (JobsApiRoutesBatchGetBatchJobsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type JobsApiRoutesFineTuningArchiveFineTunedModelResponse

type JobsApiRoutesFineTuningArchiveFineTunedModelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ArchiveFTModelOut
}

func ParseJobsApiRoutesFineTuningArchiveFineTunedModelResponse

func ParseJobsApiRoutesFineTuningArchiveFineTunedModelResponse(rsp *http.Response) (*JobsApiRoutesFineTuningArchiveFineTunedModelResponse, error)

ParseJobsApiRoutesFineTuningArchiveFineTunedModelResponse parses an HTTP response from a JobsApiRoutesFineTuningArchiveFineTunedModelWithResponse call

func (JobsApiRoutesFineTuningArchiveFineTunedModelResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (JobsApiRoutesFineTuningArchiveFineTunedModelResponse) GetBody

GetBody returns the raw response body bytes

func (JobsApiRoutesFineTuningArchiveFineTunedModelResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (JobsApiRoutesFineTuningArchiveFineTunedModelResponse) Status

Status returns HTTPResponse.Status

func (JobsApiRoutesFineTuningArchiveFineTunedModelResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody

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

JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody defines parameters for JobsApiRoutesFineTuningCancelFineTuningJob.

func (JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) AsClassifierDetailedJobOut

AsClassifierDetailedJobOut returns the union data inside the JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody as a ClassifierDetailedJobOut

func (JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) AsCompletionDetailedJobOut

AsCompletionDetailedJobOut returns the union data inside the JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody as a CompletionDetailedJobOut

func (JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) Discriminator

func (*JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) FromClassifierDetailedJobOut

FromClassifierDetailedJobOut overwrites any union data inside the JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody as the provided ClassifierDetailedJobOut

func (*JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) FromCompletionDetailedJobOut

FromCompletionDetailedJobOut overwrites any union data inside the JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody as the provided CompletionDetailedJobOut

func (JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) MarshalJSON

func (*JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) MergeClassifierDetailedJobOut

MergeClassifierDetailedJobOut performs a merge with any union data inside the JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody, using the provided ClassifierDetailedJobOut

func (*JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) MergeCompletionDetailedJobOut

MergeCompletionDetailedJobOut performs a merge with any union data inside the JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody, using the provided CompletionDetailedJobOut

func (*JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) UnmarshalJSON

func (JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) ValueByDiscriminator

func (t JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody) ValueByDiscriminator() (interface{}, error)

type JobsApiRoutesFineTuningCancelFineTuningJobResponse

type JobsApiRoutesFineTuningCancelFineTuningJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *JobsApiRoutesFineTuningCancelFineTuningJob200JSONResponseBody
}

func ParseJobsApiRoutesFineTuningCancelFineTuningJobResponse

func ParseJobsApiRoutesFineTuningCancelFineTuningJobResponse(rsp *http.Response) (*JobsApiRoutesFineTuningCancelFineTuningJobResponse, error)

ParseJobsApiRoutesFineTuningCancelFineTuningJobResponse parses an HTTP response from a JobsApiRoutesFineTuningCancelFineTuningJobWithResponse call

func (JobsApiRoutesFineTuningCancelFineTuningJobResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (JobsApiRoutesFineTuningCancelFineTuningJobResponse) GetBody

GetBody returns the raw response body bytes

func (JobsApiRoutesFineTuningCancelFineTuningJobResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (JobsApiRoutesFineTuningCancelFineTuningJobResponse) Status

Status returns HTTPResponse.Status

func (JobsApiRoutesFineTuningCancelFineTuningJobResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody

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

JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody defines parameters for JobsApiRoutesFineTuningCreateFineTuningJob.

func (JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) AsJobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0

AsJobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 returns the union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody as a JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0

func (JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) AsLegacyJobMetadataOut

AsLegacyJobMetadataOut returns the union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody as a LegacyJobMetadataOut

func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) FromJobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0

FromJobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 overwrites any union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody as the provided JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0

func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) FromLegacyJobMetadataOut

FromLegacyJobMetadataOut overwrites any union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody as the provided LegacyJobMetadataOut

func (JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) MarshalJSON

func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) MergeJobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0

MergeJobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 performs a merge with any union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody, using the provided JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0

func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) MergeLegacyJobMetadataOut

MergeLegacyJobMetadataOut performs a merge with any union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody, using the provided LegacyJobMetadataOut

func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody) UnmarshalJSON

type JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0

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

JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 defines parameters for JobsApiRoutesFineTuningCreateFineTuningJob.

func (JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) AsClassifierJobOut

AsClassifierJobOut returns the union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 as a ClassifierJobOut

func (JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) AsCompletionJobOut

AsCompletionJobOut returns the union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 as a CompletionJobOut

func (JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) Discriminator

func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) FromClassifierJobOut

FromClassifierJobOut overwrites any union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 as the provided ClassifierJobOut

func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) FromCompletionJobOut

FromCompletionJobOut overwrites any union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0 as the provided CompletionJobOut

func (JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) MarshalJSON

func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) MergeClassifierJobOut

MergeClassifierJobOut performs a merge with any union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0, using the provided ClassifierJobOut

func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) MergeCompletionJobOut

MergeCompletionJobOut performs a merge with any union data inside the JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0, using the provided CompletionJobOut

func (*JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) UnmarshalJSON

func (JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) ValueByDiscriminator

func (t JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody0) ValueByDiscriminator() (interface{}, error)

type JobsApiRoutesFineTuningCreateFineTuningJobJSONRequestBody

type JobsApiRoutesFineTuningCreateFineTuningJobJSONRequestBody = JobIn

JobsApiRoutesFineTuningCreateFineTuningJobJSONRequestBody defines body for JobsApiRoutesFineTuningCreateFineTuningJob for application/json ContentType.

type JobsApiRoutesFineTuningCreateFineTuningJobParams

type JobsApiRoutesFineTuningCreateFineTuningJobParams struct {
	// DryRun * If `true` the job is not spawned, instead the query returns a handful of useful metadata
	//   for the user to perform sanity checks (see `LegacyJobMetadataOut` response).
	// * Otherwise, the job is started and the query returns the job ID along with some of the
	//   input parameters (see `JobOut` response).
	DryRun *bool `form:"dry_run,omitempty" json:"dry_run,omitempty"`
}

JobsApiRoutesFineTuningCreateFineTuningJobParams defines parameters for JobsApiRoutesFineTuningCreateFineTuningJob.

type JobsApiRoutesFineTuningCreateFineTuningJobResponse

type JobsApiRoutesFineTuningCreateFineTuningJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *JobsApiRoutesFineTuningCreateFineTuningJob200JSONResponseBody
}

func ParseJobsApiRoutesFineTuningCreateFineTuningJobResponse

func ParseJobsApiRoutesFineTuningCreateFineTuningJobResponse(rsp *http.Response) (*JobsApiRoutesFineTuningCreateFineTuningJobResponse, error)

ParseJobsApiRoutesFineTuningCreateFineTuningJobResponse parses an HTTP response from a JobsApiRoutesFineTuningCreateFineTuningJobWithResponse call

func (JobsApiRoutesFineTuningCreateFineTuningJobResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (JobsApiRoutesFineTuningCreateFineTuningJobResponse) GetBody

GetBody returns the raw response body bytes

func (JobsApiRoutesFineTuningCreateFineTuningJobResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (JobsApiRoutesFineTuningCreateFineTuningJobResponse) Status

Status returns HTTPResponse.Status

func (JobsApiRoutesFineTuningCreateFineTuningJobResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody

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

JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody defines parameters for JobsApiRoutesFineTuningGetFineTuningJob.

func (JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) AsClassifierDetailedJobOut

AsClassifierDetailedJobOut returns the union data inside the JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody as a ClassifierDetailedJobOut

func (JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) AsCompletionDetailedJobOut

AsCompletionDetailedJobOut returns the union data inside the JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody as a CompletionDetailedJobOut

func (JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) Discriminator

func (*JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) FromClassifierDetailedJobOut

FromClassifierDetailedJobOut overwrites any union data inside the JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody as the provided ClassifierDetailedJobOut

func (*JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) FromCompletionDetailedJobOut

FromCompletionDetailedJobOut overwrites any union data inside the JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody as the provided CompletionDetailedJobOut

func (JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) MarshalJSON

func (*JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) MergeClassifierDetailedJobOut

MergeClassifierDetailedJobOut performs a merge with any union data inside the JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody, using the provided ClassifierDetailedJobOut

func (*JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) MergeCompletionDetailedJobOut

MergeCompletionDetailedJobOut performs a merge with any union data inside the JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody, using the provided CompletionDetailedJobOut

func (*JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) UnmarshalJSON

func (JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) ValueByDiscriminator

func (t JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody) ValueByDiscriminator() (interface{}, error)

type JobsApiRoutesFineTuningGetFineTuningJobResponse

type JobsApiRoutesFineTuningGetFineTuningJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *JobsApiRoutesFineTuningGetFineTuningJob200JSONResponseBody
}

func ParseJobsApiRoutesFineTuningGetFineTuningJobResponse

func ParseJobsApiRoutesFineTuningGetFineTuningJobResponse(rsp *http.Response) (*JobsApiRoutesFineTuningGetFineTuningJobResponse, error)

ParseJobsApiRoutesFineTuningGetFineTuningJobResponse parses an HTTP response from a JobsApiRoutesFineTuningGetFineTuningJobWithResponse call

func (JobsApiRoutesFineTuningGetFineTuningJobResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (JobsApiRoutesFineTuningGetFineTuningJobResponse) GetBody

GetBody returns the raw response body bytes

func (JobsApiRoutesFineTuningGetFineTuningJobResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (JobsApiRoutesFineTuningGetFineTuningJobResponse) Status

Status returns HTTPResponse.Status

func (JobsApiRoutesFineTuningGetFineTuningJobResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type JobsApiRoutesFineTuningGetFineTuningJobsParams

type JobsApiRoutesFineTuningGetFineTuningJobsParams struct {
	// Page The page number of the results to be returned.
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize The number of items to return per page.
	PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`

	// Model The model name used for fine-tuning to filter on. When set, the other results are not displayed.
	Model *string `form:"model,omitempty" json:"model,omitempty"`

	// CreatedAfter The date/time to filter on. When set, the results for previous creation times are not displayed.
	CreatedAfter  *time.Time `form:"created_after,omitempty" json:"created_after,omitempty"`
	CreatedBefore *time.Time `form:"created_before,omitempty" json:"created_before,omitempty"`

	// CreatedByMe When set, only return results for jobs created by the API caller. Other results are not displayed.
	CreatedByMe *bool `form:"created_by_me,omitempty" json:"created_by_me,omitempty"`

	// Status The current job state to filter on. When set, the other results are not displayed.
	Status *JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus `form:"status,omitempty" json:"status,omitempty"`

	// WandbProject The Weights and Biases project to filter on. When set, the other results are not displayed.
	WandbProject *string `form:"wandb_project,omitempty" json:"wandb_project,omitempty"`

	// WandbName The Weight and Biases run name to filter on. When set, the other results are not displayed.
	WandbName *string `form:"wandb_name,omitempty" json:"wandb_name,omitempty"`

	// Suffix The model suffix to filter on. When set, the other results are not displayed.
	Suffix *string `form:"suffix,omitempty" json:"suffix,omitempty"`
}

JobsApiRoutesFineTuningGetFineTuningJobsParams defines parameters for JobsApiRoutesFineTuningGetFineTuningJobs.

type JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus

type JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus string

JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus defines parameters for JobsApiRoutesFineTuningGetFineTuningJobs.

const (
	JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusCANCELLATIONREQUESTED JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "CANCELLATION_REQUESTED"
	JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusCANCELLED             JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "CANCELLED"
	JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusFAILED                JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "FAILED"
	JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusFAILEDVALIDATION      JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "FAILED_VALIDATION"
	JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusQUEUED                JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "QUEUED"
	JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusRUNNING               JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "RUNNING"
	JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusSTARTED               JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "STARTED"
	JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusSUCCESS               JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "SUCCESS"
	JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusVALIDATED             JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "VALIDATED"
	JobsApiRoutesFineTuningGetFineTuningJobsParamsStatusVALIDATING            JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus = "VALIDATING"
)

Defines values for JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus.

func (JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus) Valid

Valid indicates whether the value is a known member of the JobsApiRoutesFineTuningGetFineTuningJobsParamsStatus enum.

type JobsApiRoutesFineTuningGetFineTuningJobsResponse

type JobsApiRoutesFineTuningGetFineTuningJobsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *JobsOut
}

func ParseJobsApiRoutesFineTuningGetFineTuningJobsResponse

func ParseJobsApiRoutesFineTuningGetFineTuningJobsResponse(rsp *http.Response) (*JobsApiRoutesFineTuningGetFineTuningJobsResponse, error)

ParseJobsApiRoutesFineTuningGetFineTuningJobsResponse parses an HTTP response from a JobsApiRoutesFineTuningGetFineTuningJobsWithResponse call

func (JobsApiRoutesFineTuningGetFineTuningJobsResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (JobsApiRoutesFineTuningGetFineTuningJobsResponse) GetBody

GetBody returns the raw response body bytes

func (JobsApiRoutesFineTuningGetFineTuningJobsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (JobsApiRoutesFineTuningGetFineTuningJobsResponse) Status

Status returns HTTPResponse.Status

func (JobsApiRoutesFineTuningGetFineTuningJobsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody

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

JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody defines parameters for JobsApiRoutesFineTuningStartFineTuningJob.

func (JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) AsClassifierDetailedJobOut

AsClassifierDetailedJobOut returns the union data inside the JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody as a ClassifierDetailedJobOut

func (JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) AsCompletionDetailedJobOut

AsCompletionDetailedJobOut returns the union data inside the JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody as a CompletionDetailedJobOut

func (JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) Discriminator

func (*JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) FromClassifierDetailedJobOut

FromClassifierDetailedJobOut overwrites any union data inside the JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody as the provided ClassifierDetailedJobOut

func (*JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) FromCompletionDetailedJobOut

FromCompletionDetailedJobOut overwrites any union data inside the JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody as the provided CompletionDetailedJobOut

func (JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) MarshalJSON

func (*JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) MergeClassifierDetailedJobOut

MergeClassifierDetailedJobOut performs a merge with any union data inside the JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody, using the provided ClassifierDetailedJobOut

func (*JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) MergeCompletionDetailedJobOut

MergeCompletionDetailedJobOut performs a merge with any union data inside the JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody, using the provided CompletionDetailedJobOut

func (*JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) UnmarshalJSON

func (JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) ValueByDiscriminator

func (t JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody) ValueByDiscriminator() (interface{}, error)

type JobsApiRoutesFineTuningStartFineTuningJobResponse

type JobsApiRoutesFineTuningStartFineTuningJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *JobsApiRoutesFineTuningStartFineTuningJob200JSONResponseBody
}

func ParseJobsApiRoutesFineTuningStartFineTuningJobResponse

func ParseJobsApiRoutesFineTuningStartFineTuningJobResponse(rsp *http.Response) (*JobsApiRoutesFineTuningStartFineTuningJobResponse, error)

ParseJobsApiRoutesFineTuningStartFineTuningJobResponse parses an HTTP response from a JobsApiRoutesFineTuningStartFineTuningJobWithResponse call

func (JobsApiRoutesFineTuningStartFineTuningJobResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (JobsApiRoutesFineTuningStartFineTuningJobResponse) GetBody

GetBody returns the raw response body bytes

func (JobsApiRoutesFineTuningStartFineTuningJobResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (JobsApiRoutesFineTuningStartFineTuningJobResponse) Status

Status returns HTTPResponse.Status

func (JobsApiRoutesFineTuningStartFineTuningJobResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse

type JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UnarchiveFTModelOut
}

func ParseJobsApiRoutesFineTuningUnarchiveFineTunedModelResponse

func ParseJobsApiRoutesFineTuningUnarchiveFineTunedModelResponse(rsp *http.Response) (*JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse, error)

ParseJobsApiRoutesFineTuningUnarchiveFineTunedModelResponse parses an HTTP response from a JobsApiRoutesFineTuningUnarchiveFineTunedModelWithResponse call

func (JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) GetBody

GetBody returns the raw response body bytes

func (JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) Status

Status returns HTTPResponse.Status

func (JobsApiRoutesFineTuningUnarchiveFineTunedModelResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody

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

JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody defines parameters for JobsApiRoutesFineTuningUpdateFineTunedModel.

func (JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) AsClassifierFTModelOut

AsClassifierFTModelOut returns the union data inside the JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody as a ClassifierFTModelOut

func (JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) AsCompletionFTModelOut

AsCompletionFTModelOut returns the union data inside the JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody as a CompletionFTModelOut

func (JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) Discriminator

func (*JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) FromClassifierFTModelOut

FromClassifierFTModelOut overwrites any union data inside the JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody as the provided ClassifierFTModelOut

func (*JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) FromCompletionFTModelOut

FromCompletionFTModelOut overwrites any union data inside the JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody as the provided CompletionFTModelOut

func (JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) MarshalJSON

func (*JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) MergeClassifierFTModelOut

MergeClassifierFTModelOut performs a merge with any union data inside the JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody, using the provided ClassifierFTModelOut

func (*JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) MergeCompletionFTModelOut

MergeCompletionFTModelOut performs a merge with any union data inside the JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody, using the provided CompletionFTModelOut

func (*JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) UnmarshalJSON

func (JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) ValueByDiscriminator

func (t JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody) ValueByDiscriminator() (interface{}, error)

type JobsApiRoutesFineTuningUpdateFineTunedModelJSONRequestBody

type JobsApiRoutesFineTuningUpdateFineTunedModelJSONRequestBody = UpdateFTModelIn

JobsApiRoutesFineTuningUpdateFineTunedModelJSONRequestBody defines body for JobsApiRoutesFineTuningUpdateFineTunedModel for application/json ContentType.

type JobsApiRoutesFineTuningUpdateFineTunedModelResponse

type JobsApiRoutesFineTuningUpdateFineTunedModelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *JobsApiRoutesFineTuningUpdateFineTunedModel200JSONResponseBody
}

func ParseJobsApiRoutesFineTuningUpdateFineTunedModelResponse

func ParseJobsApiRoutesFineTuningUpdateFineTunedModelResponse(rsp *http.Response) (*JobsApiRoutesFineTuningUpdateFineTunedModelResponse, error)

ParseJobsApiRoutesFineTuningUpdateFineTunedModelResponse parses an HTTP response from a JobsApiRoutesFineTuningUpdateFineTunedModelWithResponse call

func (JobsApiRoutesFineTuningUpdateFineTunedModelResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (JobsApiRoutesFineTuningUpdateFineTunedModelResponse) GetBody

GetBody returns the raw response body bytes

func (JobsApiRoutesFineTuningUpdateFineTunedModelResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (JobsApiRoutesFineTuningUpdateFineTunedModelResponse) Status

Status returns HTTPResponse.Status

func (JobsApiRoutesFineTuningUpdateFineTunedModelResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type JobsOut

type JobsOut struct {
	Data   *[]JobsOut_Data_Item `json:"data,omitempty"`
	Object *JobsOutObject       `json:"object,omitempty"`
	Total  int                  `json:"total"`
}

JobsOut defines model for JobsOut.

type JobsOutObject

type JobsOutObject string

JobsOutObject defines model for JobsOut.Object.

const (
	JobsOutObjectList JobsOutObject = "list"
)

Defines values for JobsOutObject.

func (JobsOutObject) Valid

func (e JobsOutObject) Valid() bool

Valid indicates whether the value is a known member of the JobsOutObject enum.

type JobsOut_Data_Item

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

JobsOut_Data_Item defines model for JobsOut.data.Item.

func (JobsOut_Data_Item) AsClassifierJobOut

func (t JobsOut_Data_Item) AsClassifierJobOut() (ClassifierJobOut, error)

AsClassifierJobOut returns the union data inside the JobsOut_Data_Item as a ClassifierJobOut

func (JobsOut_Data_Item) AsCompletionJobOut

func (t JobsOut_Data_Item) AsCompletionJobOut() (CompletionJobOut, error)

AsCompletionJobOut returns the union data inside the JobsOut_Data_Item as a CompletionJobOut

func (JobsOut_Data_Item) Discriminator

func (t JobsOut_Data_Item) Discriminator() (string, error)

func (*JobsOut_Data_Item) FromClassifierJobOut

func (t *JobsOut_Data_Item) FromClassifierJobOut(v ClassifierJobOut) error

FromClassifierJobOut overwrites any union data inside the JobsOut_Data_Item as the provided ClassifierJobOut

func (*JobsOut_Data_Item) FromCompletionJobOut

func (t *JobsOut_Data_Item) FromCompletionJobOut(v CompletionJobOut) error

FromCompletionJobOut overwrites any union data inside the JobsOut_Data_Item as the provided CompletionJobOut

func (JobsOut_Data_Item) MarshalJSON

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

func (*JobsOut_Data_Item) MergeClassifierJobOut

func (t *JobsOut_Data_Item) MergeClassifierJobOut(v ClassifierJobOut) error

MergeClassifierJobOut performs a merge with any union data inside the JobsOut_Data_Item, using the provided ClassifierJobOut

func (*JobsOut_Data_Item) MergeCompletionJobOut

func (t *JobsOut_Data_Item) MergeCompletionJobOut(v CompletionJobOut) error

MergeCompletionJobOut performs a merge with any union data inside the JobsOut_Data_Item, using the provided CompletionJobOut

func (*JobsOut_Data_Item) UnmarshalJSON

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

func (JobsOut_Data_Item) ValueByDiscriminator

func (t JobsOut_Data_Item) ValueByDiscriminator() (interface{}, error)

type JsonSchema

type JsonSchema struct {
	Description *string                `json:"description,omitempty"`
	Name        string                 `json:"name"`
	Schema      map[string]interface{} `json:"schema"`
	Strict      *bool                  `json:"strict,omitempty"`
}

JsonSchema defines model for JsonSchema.

type JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostJSONRequestBody

type JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostJSONRequestBody = PostChatCompletionEventJudgingInSchema

JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostJSONRequestBody defines body for JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPost for application/json ContentType.

type JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse

type JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *JudgeOutput
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse

func ParseJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse(rsp *http.Response) (*JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse, error)

ParseJudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse parses an HTTP response from a JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostWithResponse call

func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetBody

GetBody returns the raw response body bytes

func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) Status

Status returns HTTPResponse.Status

func (JudgeChatCompletionEventV1ObservabilityChatCompletionEventsEventIdLiveJudgingPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type JudgeClassificationOutput

type JudgeClassificationOutput struct {
	Options []JudgeClassificationOutputOption `json:"options"`
	Type    *JudgeClassificationOutputType    `json:"type,omitempty"`
}

JudgeClassificationOutput defines model for JudgeClassificationOutput.

type JudgeClassificationOutputOption

type JudgeClassificationOutputOption struct {
	Description string `json:"description"`
	Value       string `json:"value"`
}

JudgeClassificationOutputOption defines model for JudgeClassificationOutputOption.

type JudgeClassificationOutputType

type JudgeClassificationOutputType string

JudgeClassificationOutputType defines model for JudgeClassificationOutput.Type.

const (
	JudgeClassificationOutputTypeCLASSIFICATION JudgeClassificationOutputType = "CLASSIFICATION"
)

Defines values for JudgeClassificationOutputType.

func (JudgeClassificationOutputType) Valid

Valid indicates whether the value is a known member of the JudgeClassificationOutputType enum.

type JudgeConversationRequest

type JudgeConversationRequest struct {
	Messages   []map[string]interface{} `json:"messages"`
	Properties *map[string]interface{}  `json:"properties,omitempty"`
}

JudgeConversationRequest defines model for JudgeConversationRequest.

type JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostJSONRequestBody

type JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostJSONRequestBody = JudgeConversationRequest

JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostJSONRequestBody defines body for JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPost for application/json ContentType.

type JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse

type JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *JudgeOutput
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse

func ParseJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse(rsp *http.Response) (*JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse, error)

ParseJudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse parses an HTTP response from a JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostWithResponse call

func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetBody

GetBody returns the raw response body bytes

func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) Status

Status returns HTTPResponse.Status

func (JudgeConversationV1ObservabilityJudgesJudgeIdLiveJudgingPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostJSONRequestBody

type JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostJSONRequestBody = PostDatasetRecordJudgingInSchema

JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostJSONRequestBody defines body for JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPost for application/json ContentType.

type JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse

type JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *JudgeOutput
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse

func ParseJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse(rsp *http.Response) (*JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse, error)

ParseJudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse parses an HTTP response from a JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostWithResponse call

func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetBody

GetBody returns the raw response body bytes

func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) Status

Status returns HTTPResponse.Status

func (JudgeDatasetRecordV1ObservabilityDatasetRecordsDatasetRecordIdLiveJudgingPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type JudgeOutput

type JudgeOutput struct {
	Analysis string             `json:"analysis"`
	Answer   JudgeOutput_Answer `json:"answer"`
}

JudgeOutput defines model for JudgeOutput.

type JudgeOutputAnswer0

type JudgeOutputAnswer0 = string

JudgeOutputAnswer0 defines model for JudgeOutput.Answer.0.

type JudgeOutputAnswer1

type JudgeOutputAnswer1 = float32

JudgeOutputAnswer1 defines model for JudgeOutput.Answer.1.

type JudgeOutputType

type JudgeOutputType string

JudgeOutputType defines model for JudgeOutputType.

const (
	JudgeOutputTypeCLASSIFICATION JudgeOutputType = "CLASSIFICATION"
	JudgeOutputTypeREGRESSION     JudgeOutputType = "REGRESSION"
)

Defines values for JudgeOutputType.

func (JudgeOutputType) Valid

func (e JudgeOutputType) Valid() bool

Valid indicates whether the value is a known member of the JudgeOutputType enum.

type JudgeOutput_Answer

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

JudgeOutput_Answer defines model for JudgeOutput.Answer.

func (JudgeOutput_Answer) AsJudgeOutputAnswer0

func (t JudgeOutput_Answer) AsJudgeOutputAnswer0() (JudgeOutputAnswer0, error)

AsJudgeOutputAnswer0 returns the union data inside the JudgeOutput_Answer as a JudgeOutputAnswer0

func (JudgeOutput_Answer) AsJudgeOutputAnswer1

func (t JudgeOutput_Answer) AsJudgeOutputAnswer1() (JudgeOutputAnswer1, error)

AsJudgeOutputAnswer1 returns the union data inside the JudgeOutput_Answer as a JudgeOutputAnswer1

func (*JudgeOutput_Answer) FromJudgeOutputAnswer0

func (t *JudgeOutput_Answer) FromJudgeOutputAnswer0(v JudgeOutputAnswer0) error

FromJudgeOutputAnswer0 overwrites any union data inside the JudgeOutput_Answer as the provided JudgeOutputAnswer0

func (*JudgeOutput_Answer) FromJudgeOutputAnswer1

func (t *JudgeOutput_Answer) FromJudgeOutputAnswer1(v JudgeOutputAnswer1) error

FromJudgeOutputAnswer1 overwrites any union data inside the JudgeOutput_Answer as the provided JudgeOutputAnswer1

func (JudgeOutput_Answer) MarshalJSON

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

func (*JudgeOutput_Answer) MergeJudgeOutputAnswer0

func (t *JudgeOutput_Answer) MergeJudgeOutputAnswer0(v JudgeOutputAnswer0) error

MergeJudgeOutputAnswer0 performs a merge with any union data inside the JudgeOutput_Answer, using the provided JudgeOutputAnswer0

func (*JudgeOutput_Answer) MergeJudgeOutputAnswer1

func (t *JudgeOutput_Answer) MergeJudgeOutputAnswer1(v JudgeOutputAnswer1) error

MergeJudgeOutputAnswer1 performs a merge with any union data inside the JudgeOutput_Answer, using the provided JudgeOutputAnswer1

func (*JudgeOutput_Answer) UnmarshalJSON

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

type JudgePreview

type JudgePreview struct {
	BaseRevision *openapi_types.UUID `json:"base_revision,omitempty"`
	CreatedAt    time.Time           `json:"created_at"`
	DeletedAt    *time.Time          `json:"deleted_at"`
	Description  string              `json:"description"`
	DownRevision *openapi_types.UUID `json:"down_revision,omitempty"`
	Id           openapi_types.UUID  `json:"id"`
	Instructions string              `json:"instructions"`
	ModelName    string              `json:"model_name"`
	Name         string              `json:"name"`
	Output       JudgePreview_Output `json:"output"`
	OwnerId      openapi_types.UUID  `json:"owner_id"`
	Tools        []string            `json:"tools"`
	UpRevision   *openapi_types.UUID `json:"up_revision,omitempty"`
	UpdatedAt    time.Time           `json:"updated_at"`
	WorkspaceId  openapi_types.UUID  `json:"workspace_id"`
}

JudgePreview defines model for JudgePreview.

type JudgePreview_Output

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

JudgePreview_Output defines model for JudgePreview.Output.

func (JudgePreview_Output) AsJudgeClassificationOutput

func (t JudgePreview_Output) AsJudgeClassificationOutput() (JudgeClassificationOutput, error)

AsJudgeClassificationOutput returns the union data inside the JudgePreview_Output as a JudgeClassificationOutput

func (JudgePreview_Output) AsJudgeRegressionOutput

func (t JudgePreview_Output) AsJudgeRegressionOutput() (JudgeRegressionOutput, error)

AsJudgeRegressionOutput returns the union data inside the JudgePreview_Output as a JudgeRegressionOutput

func (JudgePreview_Output) Discriminator

func (t JudgePreview_Output) Discriminator() (string, error)

func (*JudgePreview_Output) FromJudgeClassificationOutput

func (t *JudgePreview_Output) FromJudgeClassificationOutput(v JudgeClassificationOutput) error

FromJudgeClassificationOutput overwrites any union data inside the JudgePreview_Output as the provided JudgeClassificationOutput

func (*JudgePreview_Output) FromJudgeRegressionOutput

func (t *JudgePreview_Output) FromJudgeRegressionOutput(v JudgeRegressionOutput) error

FromJudgeRegressionOutput overwrites any union data inside the JudgePreview_Output as the provided JudgeRegressionOutput

func (JudgePreview_Output) MarshalJSON

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

func (*JudgePreview_Output) MergeJudgeClassificationOutput

func (t *JudgePreview_Output) MergeJudgeClassificationOutput(v JudgeClassificationOutput) error

MergeJudgeClassificationOutput performs a merge with any union data inside the JudgePreview_Output, using the provided JudgeClassificationOutput

func (*JudgePreview_Output) MergeJudgeRegressionOutput

func (t *JudgePreview_Output) MergeJudgeRegressionOutput(v JudgeRegressionOutput) error

MergeJudgeRegressionOutput performs a merge with any union data inside the JudgePreview_Output, using the provided JudgeRegressionOutput

func (*JudgePreview_Output) UnmarshalJSON

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

func (JudgePreview_Output) ValueByDiscriminator

func (t JudgePreview_Output) ValueByDiscriminator() (interface{}, error)

type JudgePreviews

type JudgePreviews struct {
	Judges PaginatedResultJudgePreview `json:"judges"`
}

JudgePreviews defines model for JudgePreviews.

type JudgeRegressionOutput

type JudgeRegressionOutput struct {
	Max            *float32                   `json:"max,omitempty"`
	MaxDescription string                     `json:"max_description"`
	Min            *float32                   `json:"min,omitempty"`
	MinDescription string                     `json:"min_description"`
	Type           *JudgeRegressionOutputType `json:"type,omitempty"`
}

JudgeRegressionOutput defines model for JudgeRegressionOutput.

type JudgeRegressionOutputType

type JudgeRegressionOutputType string

JudgeRegressionOutputType defines model for JudgeRegressionOutput.Type.

const (
	JudgeRegressionOutputTypeREGRESSION JudgeRegressionOutputType = "REGRESSION"
)

Defines values for JudgeRegressionOutputType.

func (JudgeRegressionOutputType) Valid

func (e JudgeRegressionOutputType) Valid() bool

Valid indicates whether the value is a known member of the JudgeRegressionOutputType enum.

type LegacyJobMetadataOut

type LegacyJobMetadataOut struct {
	// Cost The cost of the fine-tuning job.
	//
	// Examples: 10
	Cost *float32 `json:"cost,omitempty"`

	// CostCurrency The currency used for the fine-tuning job cost.
	//
	// Examples: EUR
	CostCurrency *string `json:"cost_currency,omitempty"`

	// DataTokens The total number of tokens in the training dataset.
	//
	// Examples: 305375
	DataTokens *int   `json:"data_tokens,omitempty"`
	Deprecated *bool  `json:"deprecated,omitempty"`
	Details    string `json:"details"`

	// Epochs The number of complete passes through the entire training dataset.
	//
	// Examples: 4.2922
	Epochs             *float32 `json:"epochs,omitempty"`
	EstimatedStartTime *int     `json:"estimated_start_time,omitempty"`

	// ExpectedDurationSeconds The approximated time (in seconds) for the fine-tuning process to complete.
	//
	// Examples: 220
	ExpectedDurationSeconds *int                        `json:"expected_duration_seconds,omitempty"`
	Object                  *LegacyJobMetadataOutObject `json:"object,omitempty"`

	// TrainTokens The total number of tokens used during the fine-tuning process.
	//
	// Examples: 1310720
	TrainTokens *int `json:"train_tokens,omitempty"`

	// TrainTokensPerStep The number of tokens consumed by one training step.
	//
	// Examples: 131072
	TrainTokensPerStep *int `json:"train_tokens_per_step,omitempty"`

	// TrainingSteps The number of training steps to perform. A training step refers to a single update of the model weights during the fine-tuning process. This update is typically calculated using a batch of samples from the training dataset.
	//
	// Examples: 10
	TrainingSteps *int `json:"training_steps,omitempty"`
}

LegacyJobMetadataOut defines model for LegacyJobMetadataOut.

type LegacyJobMetadataOutObject

type LegacyJobMetadataOutObject string

LegacyJobMetadataOutObject defines model for LegacyJobMetadataOut.Object.

const (
	LegacyJobMetadataOutObjectJobMetadata LegacyJobMetadataOutObject = "job.metadata"
)

Defines values for LegacyJobMetadataOutObject.

func (LegacyJobMetadataOutObject) Valid

func (e LegacyJobMetadataOutObject) Valid() bool

Valid indicates whether the value is a known member of the LegacyJobMetadataOutObject enum.

type LibrariesCreateV1JSONRequestBody

type LibrariesCreateV1JSONRequestBody = LibraryIn

LibrariesCreateV1JSONRequestBody defines body for LibrariesCreateV1 for application/json ContentType.

type LibrariesCreateV1Response

type LibrariesCreateV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *LibraryOut
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseLibrariesCreateV1Response

func ParseLibrariesCreateV1Response(rsp *http.Response) (*LibrariesCreateV1Response, error)

ParseLibrariesCreateV1Response parses an HTTP response from a LibrariesCreateV1WithResponse call

func (LibrariesCreateV1Response) ContentType

func (r LibrariesCreateV1Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LibrariesCreateV1Response) GetBody

func (r LibrariesCreateV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (LibrariesCreateV1Response) GetJSON201

func (r LibrariesCreateV1Response) GetJSON201() *LibraryOut

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (LibrariesCreateV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (LibrariesCreateV1Response) Status

func (r LibrariesCreateV1Response) Status() string

Status returns HTTPResponse.Status

func (LibrariesCreateV1Response) StatusCode

func (r LibrariesCreateV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LibrariesDeleteV1Response

type LibrariesDeleteV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LibraryOut
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseLibrariesDeleteV1Response

func ParseLibrariesDeleteV1Response(rsp *http.Response) (*LibrariesDeleteV1Response, error)

ParseLibrariesDeleteV1Response parses an HTTP response from a LibrariesDeleteV1WithResponse call

func (LibrariesDeleteV1Response) ContentType

func (r LibrariesDeleteV1Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LibrariesDeleteV1Response) GetBody

func (r LibrariesDeleteV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (LibrariesDeleteV1Response) GetJSON200

func (r LibrariesDeleteV1Response) GetJSON200() *LibraryOut

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (LibrariesDeleteV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (LibrariesDeleteV1Response) Status

func (r LibrariesDeleteV1Response) Status() string

Status returns HTTPResponse.Status

func (LibrariesDeleteV1Response) StatusCode

func (r LibrariesDeleteV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LibrariesDocumentsDeleteV1Response

type LibrariesDocumentsDeleteV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseLibrariesDocumentsDeleteV1Response

func ParseLibrariesDocumentsDeleteV1Response(rsp *http.Response) (*LibrariesDocumentsDeleteV1Response, error)

ParseLibrariesDocumentsDeleteV1Response parses an HTTP response from a LibrariesDocumentsDeleteV1WithResponse call

func (LibrariesDocumentsDeleteV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LibrariesDocumentsDeleteV1Response) GetBody

GetBody returns the raw response body bytes

func (LibrariesDocumentsDeleteV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (LibrariesDocumentsDeleteV1Response) Status

Status returns HTTPResponse.Status

func (LibrariesDocumentsDeleteV1Response) StatusCode

func (r LibrariesDocumentsDeleteV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LibrariesDocumentsGetExtractedTextSignedUrlV1Response

type LibrariesDocumentsGetExtractedTextSignedUrlV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *string
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseLibrariesDocumentsGetExtractedTextSignedUrlV1Response

func ParseLibrariesDocumentsGetExtractedTextSignedUrlV1Response(rsp *http.Response) (*LibrariesDocumentsGetExtractedTextSignedUrlV1Response, error)

ParseLibrariesDocumentsGetExtractedTextSignedUrlV1Response parses an HTTP response from a LibrariesDocumentsGetExtractedTextSignedUrlV1WithResponse call

func (LibrariesDocumentsGetExtractedTextSignedUrlV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LibrariesDocumentsGetExtractedTextSignedUrlV1Response) GetBody

GetBody returns the raw response body bytes

func (LibrariesDocumentsGetExtractedTextSignedUrlV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (LibrariesDocumentsGetExtractedTextSignedUrlV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (LibrariesDocumentsGetExtractedTextSignedUrlV1Response) Status

Status returns HTTPResponse.Status

func (LibrariesDocumentsGetExtractedTextSignedUrlV1Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type LibrariesDocumentsGetSignedUrlV1Response

type LibrariesDocumentsGetSignedUrlV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *string
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseLibrariesDocumentsGetSignedUrlV1Response

func ParseLibrariesDocumentsGetSignedUrlV1Response(rsp *http.Response) (*LibrariesDocumentsGetSignedUrlV1Response, error)

ParseLibrariesDocumentsGetSignedUrlV1Response parses an HTTP response from a LibrariesDocumentsGetSignedUrlV1WithResponse call

func (LibrariesDocumentsGetSignedUrlV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LibrariesDocumentsGetSignedUrlV1Response) GetBody

GetBody returns the raw response body bytes

func (LibrariesDocumentsGetSignedUrlV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (LibrariesDocumentsGetSignedUrlV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (LibrariesDocumentsGetSignedUrlV1Response) Status

Status returns HTTPResponse.Status

func (LibrariesDocumentsGetSignedUrlV1Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type LibrariesDocumentsGetStatusV1Response

type LibrariesDocumentsGetStatusV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ProcessingStatusOut
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseLibrariesDocumentsGetStatusV1Response

func ParseLibrariesDocumentsGetStatusV1Response(rsp *http.Response) (*LibrariesDocumentsGetStatusV1Response, error)

ParseLibrariesDocumentsGetStatusV1Response parses an HTTP response from a LibrariesDocumentsGetStatusV1WithResponse call

func (LibrariesDocumentsGetStatusV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LibrariesDocumentsGetStatusV1Response) GetBody

GetBody returns the raw response body bytes

func (LibrariesDocumentsGetStatusV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (LibrariesDocumentsGetStatusV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (LibrariesDocumentsGetStatusV1Response) Status

Status returns HTTPResponse.Status

func (LibrariesDocumentsGetStatusV1Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type LibrariesDocumentsGetTextContentV1Response

type LibrariesDocumentsGetTextContentV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DocumentTextContent
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseLibrariesDocumentsGetTextContentV1Response

func ParseLibrariesDocumentsGetTextContentV1Response(rsp *http.Response) (*LibrariesDocumentsGetTextContentV1Response, error)

ParseLibrariesDocumentsGetTextContentV1Response parses an HTTP response from a LibrariesDocumentsGetTextContentV1WithResponse call

func (LibrariesDocumentsGetTextContentV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LibrariesDocumentsGetTextContentV1Response) GetBody

GetBody returns the raw response body bytes

func (LibrariesDocumentsGetTextContentV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (LibrariesDocumentsGetTextContentV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (LibrariesDocumentsGetTextContentV1Response) Status

Status returns HTTPResponse.Status

func (LibrariesDocumentsGetTextContentV1Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type LibrariesDocumentsGetV1Response

type LibrariesDocumentsGetV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DocumentOut
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseLibrariesDocumentsGetV1Response

func ParseLibrariesDocumentsGetV1Response(rsp *http.Response) (*LibrariesDocumentsGetV1Response, error)

ParseLibrariesDocumentsGetV1Response parses an HTTP response from a LibrariesDocumentsGetV1WithResponse call

func (LibrariesDocumentsGetV1Response) ContentType

func (r LibrariesDocumentsGetV1Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LibrariesDocumentsGetV1Response) GetBody

func (r LibrariesDocumentsGetV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (LibrariesDocumentsGetV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (LibrariesDocumentsGetV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (LibrariesDocumentsGetV1Response) Status

Status returns HTTPResponse.Status

func (LibrariesDocumentsGetV1Response) StatusCode

func (r LibrariesDocumentsGetV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LibrariesDocumentsListV1Params

type LibrariesDocumentsListV1Params struct {
	Search            *string `form:"search,omitempty" json:"search,omitempty"`
	PageSize          *int    `form:"page_size,omitempty" json:"page_size,omitempty"`
	Page              *int    `form:"page,omitempty" json:"page,omitempty"`
	FiltersAttributes *string `form:"filters_attributes,omitempty" json:"filters_attributes,omitempty"`
	SortBy            *string `form:"sort_by,omitempty" json:"sort_by,omitempty"`
	SortOrder         *string `form:"sort_order,omitempty" json:"sort_order,omitempty"`
}

LibrariesDocumentsListV1Params defines parameters for LibrariesDocumentsListV1.

type LibrariesDocumentsListV1Response

type LibrariesDocumentsListV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListDocumentOut
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseLibrariesDocumentsListV1Response

func ParseLibrariesDocumentsListV1Response(rsp *http.Response) (*LibrariesDocumentsListV1Response, error)

ParseLibrariesDocumentsListV1Response parses an HTTP response from a LibrariesDocumentsListV1WithResponse call

func (LibrariesDocumentsListV1Response) ContentType

func (r LibrariesDocumentsListV1Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LibrariesDocumentsListV1Response) GetBody

func (r LibrariesDocumentsListV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (LibrariesDocumentsListV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (LibrariesDocumentsListV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (LibrariesDocumentsListV1Response) Status

Status returns HTTPResponse.Status

func (LibrariesDocumentsListV1Response) StatusCode

func (r LibrariesDocumentsListV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LibrariesDocumentsReprocessV1Response

type LibrariesDocumentsReprocessV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseLibrariesDocumentsReprocessV1Response

func ParseLibrariesDocumentsReprocessV1Response(rsp *http.Response) (*LibrariesDocumentsReprocessV1Response, error)

ParseLibrariesDocumentsReprocessV1Response parses an HTTP response from a LibrariesDocumentsReprocessV1WithResponse call

func (LibrariesDocumentsReprocessV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LibrariesDocumentsReprocessV1Response) GetBody

GetBody returns the raw response body bytes

func (LibrariesDocumentsReprocessV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (LibrariesDocumentsReprocessV1Response) Status

Status returns HTTPResponse.Status

func (LibrariesDocumentsReprocessV1Response) StatusCode

StatusCode returns HTTPResponse.StatusCode

type LibrariesDocumentsUpdateV1JSONRequestBody

type LibrariesDocumentsUpdateV1JSONRequestBody = DocumentUpdateIn

LibrariesDocumentsUpdateV1JSONRequestBody defines body for LibrariesDocumentsUpdateV1 for application/json ContentType.

type LibrariesDocumentsUpdateV1Response

type LibrariesDocumentsUpdateV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DocumentOut
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseLibrariesDocumentsUpdateV1Response

func ParseLibrariesDocumentsUpdateV1Response(rsp *http.Response) (*LibrariesDocumentsUpdateV1Response, error)

ParseLibrariesDocumentsUpdateV1Response parses an HTTP response from a LibrariesDocumentsUpdateV1WithResponse call

func (LibrariesDocumentsUpdateV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LibrariesDocumentsUpdateV1Response) GetBody

GetBody returns the raw response body bytes

func (LibrariesDocumentsUpdateV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (LibrariesDocumentsUpdateV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (LibrariesDocumentsUpdateV1Response) Status

Status returns HTTPResponse.Status

func (LibrariesDocumentsUpdateV1Response) StatusCode

func (r LibrariesDocumentsUpdateV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LibrariesDocumentsUploadV1MultipartBody

type LibrariesDocumentsUploadV1MultipartBody struct {
	// File The File object (not file name) to be uploaded.
	//  To upload a file and specify a custom file name you should format your request as such:
	//  “`bash
	//  file=@path/to/your/file.jsonl;filename=custom_name.jsonl
	//  “`
	//  Otherwise, you can just keep the original file name:
	//  “`bash
	//  file=@path/to/your/file.jsonl
	//  “`
	File File `json:"file"`
}

LibrariesDocumentsUploadV1MultipartBody defines parameters for LibrariesDocumentsUploadV1.

type LibrariesDocumentsUploadV1MultipartRequestBody

type LibrariesDocumentsUploadV1MultipartRequestBody LibrariesDocumentsUploadV1MultipartBody

LibrariesDocumentsUploadV1MultipartRequestBody defines body for LibrariesDocumentsUploadV1 for multipart/form-data ContentType.

type LibrariesDocumentsUploadV1Response

type LibrariesDocumentsUploadV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DocumentOut
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *DocumentOut
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseLibrariesDocumentsUploadV1Response

func ParseLibrariesDocumentsUploadV1Response(rsp *http.Response) (*LibrariesDocumentsUploadV1Response, error)

ParseLibrariesDocumentsUploadV1Response parses an HTTP response from a LibrariesDocumentsUploadV1WithResponse call

func (LibrariesDocumentsUploadV1Response) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LibrariesDocumentsUploadV1Response) GetBody

GetBody returns the raw response body bytes

func (LibrariesDocumentsUploadV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (LibrariesDocumentsUploadV1Response) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (LibrariesDocumentsUploadV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (LibrariesDocumentsUploadV1Response) Status

Status returns HTTPResponse.Status

func (LibrariesDocumentsUploadV1Response) StatusCode

func (r LibrariesDocumentsUploadV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LibrariesGetV1Response

type LibrariesGetV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LibraryOut
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseLibrariesGetV1Response

func ParseLibrariesGetV1Response(rsp *http.Response) (*LibrariesGetV1Response, error)

ParseLibrariesGetV1Response parses an HTTP response from a LibrariesGetV1WithResponse call

func (LibrariesGetV1Response) ContentType

func (r LibrariesGetV1Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LibrariesGetV1Response) GetBody

func (r LibrariesGetV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (LibrariesGetV1Response) GetJSON200

func (r LibrariesGetV1Response) GetJSON200() *LibraryOut

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (LibrariesGetV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (LibrariesGetV1Response) Status

func (r LibrariesGetV1Response) Status() string

Status returns HTTPResponse.Status

func (LibrariesGetV1Response) StatusCode

func (r LibrariesGetV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LibrariesListV1Response

type LibrariesListV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListLibraryOut
}

func ParseLibrariesListV1Response

func ParseLibrariesListV1Response(rsp *http.Response) (*LibrariesListV1Response, error)

ParseLibrariesListV1Response parses an HTTP response from a LibrariesListV1WithResponse call

func (LibrariesListV1Response) ContentType

func (r LibrariesListV1Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LibrariesListV1Response) GetBody

func (r LibrariesListV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (LibrariesListV1Response) GetJSON200

func (r LibrariesListV1Response) GetJSON200() *ListLibraryOut

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (LibrariesListV1Response) Status

func (r LibrariesListV1Response) Status() string

Status returns HTTPResponse.Status

func (LibrariesListV1Response) StatusCode

func (r LibrariesListV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LibrariesShareCreateV1JSONRequestBody

type LibrariesShareCreateV1JSONRequestBody = SharingIn

LibrariesShareCreateV1JSONRequestBody defines body for LibrariesShareCreateV1 for application/json ContentType.

type LibrariesShareCreateV1Response

type LibrariesShareCreateV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SharingOut
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseLibrariesShareCreateV1Response

func ParseLibrariesShareCreateV1Response(rsp *http.Response) (*LibrariesShareCreateV1Response, error)

ParseLibrariesShareCreateV1Response parses an HTTP response from a LibrariesShareCreateV1WithResponse call

func (LibrariesShareCreateV1Response) ContentType

func (r LibrariesShareCreateV1Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LibrariesShareCreateV1Response) GetBody

func (r LibrariesShareCreateV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (LibrariesShareCreateV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (LibrariesShareCreateV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (LibrariesShareCreateV1Response) Status

Status returns HTTPResponse.Status

func (LibrariesShareCreateV1Response) StatusCode

func (r LibrariesShareCreateV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LibrariesShareDeleteV1JSONRequestBody

type LibrariesShareDeleteV1JSONRequestBody = SharingDelete

LibrariesShareDeleteV1JSONRequestBody defines body for LibrariesShareDeleteV1 for application/json ContentType.

type LibrariesShareDeleteV1Response

type LibrariesShareDeleteV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SharingOut
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseLibrariesShareDeleteV1Response

func ParseLibrariesShareDeleteV1Response(rsp *http.Response) (*LibrariesShareDeleteV1Response, error)

ParseLibrariesShareDeleteV1Response parses an HTTP response from a LibrariesShareDeleteV1WithResponse call

func (LibrariesShareDeleteV1Response) ContentType

func (r LibrariesShareDeleteV1Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LibrariesShareDeleteV1Response) GetBody

func (r LibrariesShareDeleteV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (LibrariesShareDeleteV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (LibrariesShareDeleteV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (LibrariesShareDeleteV1Response) Status

Status returns HTTPResponse.Status

func (LibrariesShareDeleteV1Response) StatusCode

func (r LibrariesShareDeleteV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LibrariesShareListV1Response

type LibrariesShareListV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ListSharingOut
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseLibrariesShareListV1Response

func ParseLibrariesShareListV1Response(rsp *http.Response) (*LibrariesShareListV1Response, error)

ParseLibrariesShareListV1Response parses an HTTP response from a LibrariesShareListV1WithResponse call

func (LibrariesShareListV1Response) ContentType

func (r LibrariesShareListV1Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LibrariesShareListV1Response) GetBody

func (r LibrariesShareListV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (LibrariesShareListV1Response) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (LibrariesShareListV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (LibrariesShareListV1Response) Status

Status returns HTTPResponse.Status

func (LibrariesShareListV1Response) StatusCode

func (r LibrariesShareListV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LibrariesUpdateV1JSONRequestBody

type LibrariesUpdateV1JSONRequestBody = LibraryInUpdate

LibrariesUpdateV1JSONRequestBody defines body for LibrariesUpdateV1 for application/json ContentType.

type LibrariesUpdateV1Response

type LibrariesUpdateV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LibraryOut
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseLibrariesUpdateV1Response

func ParseLibrariesUpdateV1Response(rsp *http.Response) (*LibrariesUpdateV1Response, error)

ParseLibrariesUpdateV1Response parses an HTTP response from a LibrariesUpdateV1WithResponse call

func (LibrariesUpdateV1Response) ContentType

func (r LibrariesUpdateV1Response) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (LibrariesUpdateV1Response) GetBody

func (r LibrariesUpdateV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (LibrariesUpdateV1Response) GetJSON200

func (r LibrariesUpdateV1Response) GetJSON200() *LibraryOut

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (LibrariesUpdateV1Response) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (LibrariesUpdateV1Response) Status

func (r LibrariesUpdateV1Response) Status() string

Status returns HTTPResponse.Status

func (LibrariesUpdateV1Response) StatusCode

func (r LibrariesUpdateV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LibraryIn

type LibraryIn struct {
	ChunkSize   *int    `json:"chunk_size,omitempty"`
	Description *string `json:"description,omitempty"`
	Name        string  `json:"name"`
}

LibraryIn defines model for LibraryIn.

type LibraryInUpdate

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

LibraryInUpdate defines model for LibraryInUpdate.

type LibraryOut

type LibraryOut struct {
	ChunkSize                     *int      `json:"chunk_size"`
	CreatedAt                     time.Time `json:"created_at"`
	Description                   *string   `json:"description,omitempty"`
	Emoji                         *string   `json:"emoji,omitempty"`
	ExplicitUserMembersCount      *int      `json:"explicit_user_members_count,omitempty"`
	ExplicitWorkspaceMembersCount *int      `json:"explicit_workspace_members_count,omitempty"`
	GeneratedDescription          *string   `json:"generated_description,omitempty"`

	// GeneratedName Generated Name
	GeneratedName  *string             `json:"generated_name,omitempty"`
	Id             openapi_types.UUID  `json:"id"`
	Name           string              `json:"name"`
	NbDocuments    int                 `json:"nb_documents"`
	OrgSharingRole *string             `json:"org_sharing_role,omitempty"`
	OwnerId        *openapi_types.UUID `json:"owner_id"`
	OwnerType      string              `json:"owner_type"`
	TotalSize      int                 `json:"total_size"`
	UpdatedAt      time.Time           `json:"updated_at"`
}

LibraryOut defines model for LibraryOut.

type ListDeploymentsV1WorkflowsDeploymentsGetParams

type ListDeploymentsV1WorkflowsDeploymentsGetParams struct {
	ActiveOnly   *bool   `form:"active_only,omitempty" json:"active_only,omitempty"`
	WorkflowName *string `form:"workflow_name,omitempty" json:"workflow_name,omitempty"`
}

ListDeploymentsV1WorkflowsDeploymentsGetParams defines parameters for ListDeploymentsV1WorkflowsDeploymentsGet.

type ListDeploymentsV1WorkflowsDeploymentsGetResponse

type ListDeploymentsV1WorkflowsDeploymentsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DeploymentListResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseListDeploymentsV1WorkflowsDeploymentsGetResponse

func ParseListDeploymentsV1WorkflowsDeploymentsGetResponse(rsp *http.Response) (*ListDeploymentsV1WorkflowsDeploymentsGetResponse, error)

ParseListDeploymentsV1WorkflowsDeploymentsGetResponse parses an HTTP response from a ListDeploymentsV1WorkflowsDeploymentsGetWithResponse call

func (ListDeploymentsV1WorkflowsDeploymentsGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListDeploymentsV1WorkflowsDeploymentsGetResponse) GetBody

GetBody returns the raw response body bytes

func (ListDeploymentsV1WorkflowsDeploymentsGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListDeploymentsV1WorkflowsDeploymentsGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ListDeploymentsV1WorkflowsDeploymentsGetResponse) Status

Status returns HTTPResponse.Status

func (ListDeploymentsV1WorkflowsDeploymentsGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListDocumentOut

type ListDocumentOut struct {
	Data       []DocumentOut  `json:"data"`
	Pagination PaginationInfo `json:"pagination"`
}

ListDocumentOut defines model for ListDocumentOut.

type ListFilesOut

type ListFilesOut struct {
	Data   []FileSchema `json:"data"`
	Object string       `json:"object"`
	Total  *int         `json:"total,omitempty"`
}

ListFilesOut defines model for ListFilesOut.

type ListLibraryOut

type ListLibraryOut struct {
	Data []LibraryOut `json:"data"`
}

ListLibraryOut defines model for ListLibraryOut.

type ListModelsV1ModelsGetParams

type ListModelsV1ModelsGetParams struct {
	Provider *string `form:"provider,omitempty" json:"provider,omitempty"`
	Model    *string `form:"model,omitempty" json:"model,omitempty"`
}

ListModelsV1ModelsGetParams defines parameters for ListModelsV1ModelsGet.

type ListModelsV1ModelsGetResponse

type ListModelsV1ModelsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ModelList
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseListModelsV1ModelsGetResponse

func ParseListModelsV1ModelsGetResponse(rsp *http.Response) (*ListModelsV1ModelsGetResponse, error)

ParseListModelsV1ModelsGetResponse parses an HTTP response from a ListModelsV1ModelsGetWithResponse call

func (ListModelsV1ModelsGetResponse) ContentType

func (r ListModelsV1ModelsGetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListModelsV1ModelsGetResponse) GetBody

func (r ListModelsV1ModelsGetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ListModelsV1ModelsGetResponse) GetJSON200

func (r ListModelsV1ModelsGetResponse) GetJSON200() *ModelList

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListModelsV1ModelsGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ListModelsV1ModelsGetResponse) Status

Status returns HTTPResponse.Status

func (ListModelsV1ModelsGetResponse) StatusCode

func (r ListModelsV1ModelsGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListRunsV1WorkflowsRunsGetParams

type ListRunsV1WorkflowsRunsGetParams struct {
	// WorkflowIdentifier Filter by workflow name or id
	WorkflowIdentifier *string `form:"workflow_identifier,omitempty" json:"workflow_identifier,omitempty"`

	// Search Search by workflow name, display name or id
	Search *string `form:"search,omitempty" json:"search,omitempty"`

	// Status Filter by workflow status
	Status *struct {
		// contains filtered or unexported fields
	} `form:"status,omitempty" json:"status,omitempty"`

	// PageSize Number of items per page
	PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`

	// NextPageToken Token for the next page of results
	NextPageToken *string `form:"next_page_token,omitempty" json:"next_page_token,omitempty"`
}

ListRunsV1WorkflowsRunsGetParams defines parameters for ListRunsV1WorkflowsRunsGet.

type ListRunsV1WorkflowsRunsGetParamsStatus1

type ListRunsV1WorkflowsRunsGetParamsStatus1 = []WorkflowExecutionStatus

ListRunsV1WorkflowsRunsGetParamsStatus1 defines parameters for ListRunsV1WorkflowsRunsGet.

type ListRunsV1WorkflowsRunsGetResponse

type ListRunsV1WorkflowsRunsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WorkflowExecutionListResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseListRunsV1WorkflowsRunsGetResponse

func ParseListRunsV1WorkflowsRunsGetResponse(rsp *http.Response) (*ListRunsV1WorkflowsRunsGetResponse, error)

ParseListRunsV1WorkflowsRunsGetResponse parses an HTTP response from a ListRunsV1WorkflowsRunsGetWithResponse call

func (ListRunsV1WorkflowsRunsGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListRunsV1WorkflowsRunsGetResponse) GetBody

GetBody returns the raw response body bytes

func (ListRunsV1WorkflowsRunsGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListRunsV1WorkflowsRunsGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ListRunsV1WorkflowsRunsGetResponse) Status

Status returns HTTPResponse.Status

func (ListRunsV1WorkflowsRunsGetResponse) StatusCode

func (r ListRunsV1WorkflowsRunsGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSharingOut

type ListSharingOut struct {
	Data []SharingOut `json:"data"`
}

ListSharingOut defines model for ListSharingOut.

type ListVoicesV1AudioVoicesGetParams

type ListVoicesV1AudioVoicesGetParams struct {
	// Limit Maximum number of voices to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Offset for pagination
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ListVoicesV1AudioVoicesGetParams defines parameters for ListVoicesV1AudioVoicesGet.

type ListVoicesV1AudioVoicesGetResponse

type ListVoicesV1AudioVoicesGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *VoiceListResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseListVoicesV1AudioVoicesGetResponse

func ParseListVoicesV1AudioVoicesGetResponse(rsp *http.Response) (*ListVoicesV1AudioVoicesGetResponse, error)

ParseListVoicesV1AudioVoicesGetResponse parses an HTTP response from a ListVoicesV1AudioVoicesGetWithResponse call

func (ListVoicesV1AudioVoicesGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ListVoicesV1AudioVoicesGetResponse) GetBody

GetBody returns the raw response body bytes

func (ListVoicesV1AudioVoicesGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ListVoicesV1AudioVoicesGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ListVoicesV1AudioVoicesGetResponse) Status

Status returns HTTPResponse.Status

func (ListVoicesV1AudioVoicesGetResponse) StatusCode

func (r ListVoicesV1AudioVoicesGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWorkflowEventResponse

type ListWorkflowEventResponse struct {
	// Events List of workflow events.
	Events []ListWorkflowEventResponse_Events_Item `json:"events"`

	// NextCursor Cursor for pagination.
	NextCursor *string `json:"next_cursor,omitempty"`
}

ListWorkflowEventResponse defines model for ListWorkflowEventResponse.

type ListWorkflowEventResponse_Events_Item

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

ListWorkflowEventResponse_Events_Item defines model for ListWorkflowEventResponse.events.Item.

func (ListWorkflowEventResponse_Events_Item) AsActivityTaskCompletedResponse

func (t ListWorkflowEventResponse_Events_Item) AsActivityTaskCompletedResponse() (ActivityTaskCompletedResponse, error)

AsActivityTaskCompletedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a ActivityTaskCompletedResponse

func (ListWorkflowEventResponse_Events_Item) AsActivityTaskFailedResponse

func (t ListWorkflowEventResponse_Events_Item) AsActivityTaskFailedResponse() (ActivityTaskFailedResponse, error)

AsActivityTaskFailedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a ActivityTaskFailedResponse

func (ListWorkflowEventResponse_Events_Item) AsActivityTaskRetryingResponse

func (t ListWorkflowEventResponse_Events_Item) AsActivityTaskRetryingResponse() (ActivityTaskRetryingResponse, error)

AsActivityTaskRetryingResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a ActivityTaskRetryingResponse

func (ListWorkflowEventResponse_Events_Item) AsActivityTaskStartedResponse

func (t ListWorkflowEventResponse_Events_Item) AsActivityTaskStartedResponse() (ActivityTaskStartedResponse, error)

AsActivityTaskStartedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a ActivityTaskStartedResponse

func (ListWorkflowEventResponse_Events_Item) AsCustomTaskCanceledResponse

func (t ListWorkflowEventResponse_Events_Item) AsCustomTaskCanceledResponse() (CustomTaskCanceledResponse, error)

AsCustomTaskCanceledResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a CustomTaskCanceledResponse

func (ListWorkflowEventResponse_Events_Item) AsCustomTaskCompletedResponse

func (t ListWorkflowEventResponse_Events_Item) AsCustomTaskCompletedResponse() (CustomTaskCompletedResponse, error)

AsCustomTaskCompletedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a CustomTaskCompletedResponse

func (ListWorkflowEventResponse_Events_Item) AsCustomTaskFailedResponse

func (t ListWorkflowEventResponse_Events_Item) AsCustomTaskFailedResponse() (CustomTaskFailedResponse, error)

AsCustomTaskFailedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a CustomTaskFailedResponse

func (ListWorkflowEventResponse_Events_Item) AsCustomTaskInProgressResponse

func (t ListWorkflowEventResponse_Events_Item) AsCustomTaskInProgressResponse() (CustomTaskInProgressResponse, error)

AsCustomTaskInProgressResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a CustomTaskInProgressResponse

func (ListWorkflowEventResponse_Events_Item) AsCustomTaskStartedResponse

func (t ListWorkflowEventResponse_Events_Item) AsCustomTaskStartedResponse() (CustomTaskStartedResponse, error)

AsCustomTaskStartedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a CustomTaskStartedResponse

func (ListWorkflowEventResponse_Events_Item) AsCustomTaskTimedOutResponse

func (t ListWorkflowEventResponse_Events_Item) AsCustomTaskTimedOutResponse() (CustomTaskTimedOutResponse, error)

AsCustomTaskTimedOutResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a CustomTaskTimedOutResponse

func (ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionCanceledResponse

func (t ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionCanceledResponse() (WorkflowExecutionCanceledResponse, error)

AsWorkflowExecutionCanceledResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a WorkflowExecutionCanceledResponse

func (ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionCompletedResponse

func (t ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionCompletedResponse() (WorkflowExecutionCompletedResponse, error)

AsWorkflowExecutionCompletedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a WorkflowExecutionCompletedResponse

func (ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionContinuedAsNewResponse

func (t ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionContinuedAsNewResponse() (WorkflowExecutionContinuedAsNewResponse, error)

AsWorkflowExecutionContinuedAsNewResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a WorkflowExecutionContinuedAsNewResponse

func (ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionFailedResponse

func (t ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionFailedResponse() (WorkflowExecutionFailedResponse, error)

AsWorkflowExecutionFailedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a WorkflowExecutionFailedResponse

func (ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionStartedResponse

func (t ListWorkflowEventResponse_Events_Item) AsWorkflowExecutionStartedResponse() (WorkflowExecutionStartedResponse, error)

AsWorkflowExecutionStartedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a WorkflowExecutionStartedResponse

func (ListWorkflowEventResponse_Events_Item) AsWorkflowTaskFailedResponse

func (t ListWorkflowEventResponse_Events_Item) AsWorkflowTaskFailedResponse() (WorkflowTaskFailedResponse, error)

AsWorkflowTaskFailedResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a WorkflowTaskFailedResponse

func (ListWorkflowEventResponse_Events_Item) AsWorkflowTaskTimedOutResponse

func (t ListWorkflowEventResponse_Events_Item) AsWorkflowTaskTimedOutResponse() (WorkflowTaskTimedOutResponse, error)

AsWorkflowTaskTimedOutResponse returns the union data inside the ListWorkflowEventResponse_Events_Item as a WorkflowTaskTimedOutResponse

func (*ListWorkflowEventResponse_Events_Item) FromActivityTaskCompletedResponse

func (t *ListWorkflowEventResponse_Events_Item) FromActivityTaskCompletedResponse(v ActivityTaskCompletedResponse) error

FromActivityTaskCompletedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided ActivityTaskCompletedResponse

func (*ListWorkflowEventResponse_Events_Item) FromActivityTaskFailedResponse

func (t *ListWorkflowEventResponse_Events_Item) FromActivityTaskFailedResponse(v ActivityTaskFailedResponse) error

FromActivityTaskFailedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided ActivityTaskFailedResponse

func (*ListWorkflowEventResponse_Events_Item) FromActivityTaskRetryingResponse

func (t *ListWorkflowEventResponse_Events_Item) FromActivityTaskRetryingResponse(v ActivityTaskRetryingResponse) error

FromActivityTaskRetryingResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided ActivityTaskRetryingResponse

func (*ListWorkflowEventResponse_Events_Item) FromActivityTaskStartedResponse

func (t *ListWorkflowEventResponse_Events_Item) FromActivityTaskStartedResponse(v ActivityTaskStartedResponse) error

FromActivityTaskStartedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided ActivityTaskStartedResponse

func (*ListWorkflowEventResponse_Events_Item) FromCustomTaskCanceledResponse

func (t *ListWorkflowEventResponse_Events_Item) FromCustomTaskCanceledResponse(v CustomTaskCanceledResponse) error

FromCustomTaskCanceledResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided CustomTaskCanceledResponse

func (*ListWorkflowEventResponse_Events_Item) FromCustomTaskCompletedResponse

func (t *ListWorkflowEventResponse_Events_Item) FromCustomTaskCompletedResponse(v CustomTaskCompletedResponse) error

FromCustomTaskCompletedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided CustomTaskCompletedResponse

func (*ListWorkflowEventResponse_Events_Item) FromCustomTaskFailedResponse

func (t *ListWorkflowEventResponse_Events_Item) FromCustomTaskFailedResponse(v CustomTaskFailedResponse) error

FromCustomTaskFailedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided CustomTaskFailedResponse

func (*ListWorkflowEventResponse_Events_Item) FromCustomTaskInProgressResponse

func (t *ListWorkflowEventResponse_Events_Item) FromCustomTaskInProgressResponse(v CustomTaskInProgressResponse) error

FromCustomTaskInProgressResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided CustomTaskInProgressResponse

func (*ListWorkflowEventResponse_Events_Item) FromCustomTaskStartedResponse

func (t *ListWorkflowEventResponse_Events_Item) FromCustomTaskStartedResponse(v CustomTaskStartedResponse) error

FromCustomTaskStartedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided CustomTaskStartedResponse

func (*ListWorkflowEventResponse_Events_Item) FromCustomTaskTimedOutResponse

func (t *ListWorkflowEventResponse_Events_Item) FromCustomTaskTimedOutResponse(v CustomTaskTimedOutResponse) error

FromCustomTaskTimedOutResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided CustomTaskTimedOutResponse

func (*ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionCanceledResponse

func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionCanceledResponse(v WorkflowExecutionCanceledResponse) error

FromWorkflowExecutionCanceledResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided WorkflowExecutionCanceledResponse

func (*ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionCompletedResponse

func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionCompletedResponse(v WorkflowExecutionCompletedResponse) error

FromWorkflowExecutionCompletedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided WorkflowExecutionCompletedResponse

func (*ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionContinuedAsNewResponse

func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionContinuedAsNewResponse(v WorkflowExecutionContinuedAsNewResponse) error

FromWorkflowExecutionContinuedAsNewResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided WorkflowExecutionContinuedAsNewResponse

func (*ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionFailedResponse

func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionFailedResponse(v WorkflowExecutionFailedResponse) error

FromWorkflowExecutionFailedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided WorkflowExecutionFailedResponse

func (*ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionStartedResponse

func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowExecutionStartedResponse(v WorkflowExecutionStartedResponse) error

FromWorkflowExecutionStartedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided WorkflowExecutionStartedResponse

func (*ListWorkflowEventResponse_Events_Item) FromWorkflowTaskFailedResponse

func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowTaskFailedResponse(v WorkflowTaskFailedResponse) error

FromWorkflowTaskFailedResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided WorkflowTaskFailedResponse

func (*ListWorkflowEventResponse_Events_Item) FromWorkflowTaskTimedOutResponse

func (t *ListWorkflowEventResponse_Events_Item) FromWorkflowTaskTimedOutResponse(v WorkflowTaskTimedOutResponse) error

FromWorkflowTaskTimedOutResponse overwrites any union data inside the ListWorkflowEventResponse_Events_Item as the provided WorkflowTaskTimedOutResponse

func (ListWorkflowEventResponse_Events_Item) MarshalJSON

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

func (*ListWorkflowEventResponse_Events_Item) MergeActivityTaskCompletedResponse

func (t *ListWorkflowEventResponse_Events_Item) MergeActivityTaskCompletedResponse(v ActivityTaskCompletedResponse) error

MergeActivityTaskCompletedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided ActivityTaskCompletedResponse

func (*ListWorkflowEventResponse_Events_Item) MergeActivityTaskFailedResponse

func (t *ListWorkflowEventResponse_Events_Item) MergeActivityTaskFailedResponse(v ActivityTaskFailedResponse) error

MergeActivityTaskFailedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided ActivityTaskFailedResponse

func (*ListWorkflowEventResponse_Events_Item) MergeActivityTaskRetryingResponse

func (t *ListWorkflowEventResponse_Events_Item) MergeActivityTaskRetryingResponse(v ActivityTaskRetryingResponse) error

MergeActivityTaskRetryingResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided ActivityTaskRetryingResponse

func (*ListWorkflowEventResponse_Events_Item) MergeActivityTaskStartedResponse

func (t *ListWorkflowEventResponse_Events_Item) MergeActivityTaskStartedResponse(v ActivityTaskStartedResponse) error

MergeActivityTaskStartedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided ActivityTaskStartedResponse

func (*ListWorkflowEventResponse_Events_Item) MergeCustomTaskCanceledResponse

func (t *ListWorkflowEventResponse_Events_Item) MergeCustomTaskCanceledResponse(v CustomTaskCanceledResponse) error

MergeCustomTaskCanceledResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided CustomTaskCanceledResponse

func (*ListWorkflowEventResponse_Events_Item) MergeCustomTaskCompletedResponse

func (t *ListWorkflowEventResponse_Events_Item) MergeCustomTaskCompletedResponse(v CustomTaskCompletedResponse) error

MergeCustomTaskCompletedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided CustomTaskCompletedResponse

func (*ListWorkflowEventResponse_Events_Item) MergeCustomTaskFailedResponse

func (t *ListWorkflowEventResponse_Events_Item) MergeCustomTaskFailedResponse(v CustomTaskFailedResponse) error

MergeCustomTaskFailedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided CustomTaskFailedResponse

func (*ListWorkflowEventResponse_Events_Item) MergeCustomTaskInProgressResponse

func (t *ListWorkflowEventResponse_Events_Item) MergeCustomTaskInProgressResponse(v CustomTaskInProgressResponse) error

MergeCustomTaskInProgressResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided CustomTaskInProgressResponse

func (*ListWorkflowEventResponse_Events_Item) MergeCustomTaskStartedResponse

func (t *ListWorkflowEventResponse_Events_Item) MergeCustomTaskStartedResponse(v CustomTaskStartedResponse) error

MergeCustomTaskStartedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided CustomTaskStartedResponse

func (*ListWorkflowEventResponse_Events_Item) MergeCustomTaskTimedOutResponse

func (t *ListWorkflowEventResponse_Events_Item) MergeCustomTaskTimedOutResponse(v CustomTaskTimedOutResponse) error

MergeCustomTaskTimedOutResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided CustomTaskTimedOutResponse

func (*ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionCanceledResponse

func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionCanceledResponse(v WorkflowExecutionCanceledResponse) error

MergeWorkflowExecutionCanceledResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided WorkflowExecutionCanceledResponse

func (*ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionCompletedResponse

func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionCompletedResponse(v WorkflowExecutionCompletedResponse) error

MergeWorkflowExecutionCompletedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided WorkflowExecutionCompletedResponse

func (*ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionContinuedAsNewResponse

func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionContinuedAsNewResponse(v WorkflowExecutionContinuedAsNewResponse) error

MergeWorkflowExecutionContinuedAsNewResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided WorkflowExecutionContinuedAsNewResponse

func (*ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionFailedResponse

func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionFailedResponse(v WorkflowExecutionFailedResponse) error

MergeWorkflowExecutionFailedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided WorkflowExecutionFailedResponse

func (*ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionStartedResponse

func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowExecutionStartedResponse(v WorkflowExecutionStartedResponse) error

MergeWorkflowExecutionStartedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided WorkflowExecutionStartedResponse

func (*ListWorkflowEventResponse_Events_Item) MergeWorkflowTaskFailedResponse

func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowTaskFailedResponse(v WorkflowTaskFailedResponse) error

MergeWorkflowTaskFailedResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided WorkflowTaskFailedResponse

func (*ListWorkflowEventResponse_Events_Item) MergeWorkflowTaskTimedOutResponse

func (t *ListWorkflowEventResponse_Events_Item) MergeWorkflowTaskTimedOutResponse(v WorkflowTaskTimedOutResponse) error

MergeWorkflowTaskTimedOutResponse performs a merge with any union data inside the ListWorkflowEventResponse_Events_Item, using the provided WorkflowTaskTimedOutResponse

func (*ListWorkflowEventResponse_Events_Item) UnmarshalJSON

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

type MCPResultMetadata

type MCPResultMetadata struct {
	UnderscoreMeta       *map[string]interface{} `json:"_meta,omitempty"`
	IsError              *bool                   `json:"isError,omitempty"`
	StructuredContent    *map[string]interface{} `json:"structuredContent,omitempty"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

MCPResultMetadata MCP-specific result metadata (isError, structuredContent, _meta).

func (MCPResultMetadata) Get

func (a MCPResultMetadata) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for MCPResultMetadata. Returns the specified element and whether it was found

func (MCPResultMetadata) MarshalJSON

func (a MCPResultMetadata) MarshalJSON() ([]byte, error)

Override default JSON handling for MCPResultMetadata to handle AdditionalProperties

func (*MCPResultMetadata) Set

func (a *MCPResultMetadata) Set(fieldName string, value interface{})

Setter for additional properties for MCPResultMetadata

func (*MCPResultMetadata) UnmarshalJSON

func (a *MCPResultMetadata) UnmarshalJSON(b []byte) error

Override default JSON handling for MCPResultMetadata to handle AdditionalProperties

type MCPServerIcon

type MCPServerIcon struct {
	MimeType             *string                `json:"mimeType,omitempty"`
	Sizes                *[]string              `json:"sizes,omitempty"`
	Src                  string                 `json:"src"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

MCPServerIcon An icon for display in user interfaces.

func (MCPServerIcon) Get

func (a MCPServerIcon) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for MCPServerIcon. Returns the specified element and whether it was found

func (MCPServerIcon) MarshalJSON

func (a MCPServerIcon) MarshalJSON() ([]byte, error)

Override default JSON handling for MCPServerIcon to handle AdditionalProperties

func (*MCPServerIcon) Set

func (a *MCPServerIcon) Set(fieldName string, value interface{})

Setter for additional properties for MCPServerIcon

func (*MCPServerIcon) UnmarshalJSON

func (a *MCPServerIcon) UnmarshalJSON(b []byte) error

Override default JSON handling for MCPServerIcon to handle AdditionalProperties

type MCPTool

type MCPTool struct {
	UnderscoreMeta       *MCPToolMeta            `json:"_meta,omitempty"`
	Annotations          *ToolAnnotations        `json:"annotations,omitempty"`
	Description          *string                 `json:"description,omitempty"`
	Execution            *ToolExecution          `json:"execution,omitempty"`
	Icons                *[]MCPServerIcon        `json:"icons,omitempty"`
	InputSchema          map[string]interface{}  `json:"inputSchema"`
	Name                 string                  `json:"name"`
	OutputSchema         *map[string]interface{} `json:"outputSchema,omitempty"`
	Title                *string                 `json:"title,omitempty"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

MCPTool defines model for MCPTool.

func (MCPTool) Get

func (a MCPTool) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for MCPTool. Returns the specified element and whether it was found

func (MCPTool) MarshalJSON

func (a MCPTool) MarshalJSON() ([]byte, error)

Override default JSON handling for MCPTool to handle AdditionalProperties

func (*MCPTool) Set

func (a *MCPTool) Set(fieldName string, value interface{})

Setter for additional properties for MCPTool

func (*MCPTool) UnmarshalJSON

func (a *MCPTool) UnmarshalJSON(b []byte) error

Override default JSON handling for MCPTool to handle AdditionalProperties

type MCPToolCallMetadata

type MCPToolCallMetadata struct {
	McpMeta              *MCPResultMetadata     `json:"mcp_meta,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

MCPToolCallMetadata Metadata wrapper for MCP tool call responses.

Nests MCP-specific fields under `mcp_meta` to avoid collisions with other metadata keys (e.g. `tool_call_result`) in Harmattan's streaming deltas.

func (MCPToolCallMetadata) Get

func (a MCPToolCallMetadata) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for MCPToolCallMetadata. Returns the specified element and whether it was found

func (MCPToolCallMetadata) MarshalJSON

func (a MCPToolCallMetadata) MarshalJSON() ([]byte, error)

Override default JSON handling for MCPToolCallMetadata to handle AdditionalProperties

func (*MCPToolCallMetadata) Set

func (a *MCPToolCallMetadata) Set(fieldName string, value interface{})

Setter for additional properties for MCPToolCallMetadata

func (*MCPToolCallMetadata) UnmarshalJSON

func (a *MCPToolCallMetadata) UnmarshalJSON(b []byte) error

Override default JSON handling for MCPToolCallMetadata to handle AdditionalProperties

type MCPToolCallRequest

type MCPToolCallRequest struct {
	Arguments *map[string]interface{} `json:"arguments,omitempty"`
}

MCPToolCallRequest Request body for calling an MCP tool.

type MCPToolCallResponse

type MCPToolCallResponse struct {
	Content              []MCPToolCallResponse_Content_Item `json:"content"`
	Metadata             *MCPToolCallMetadata               `json:"metadata,omitempty"`
	AdditionalProperties map[string]interface{}             `json:"-"`
}

MCPToolCallResponse Response from calling an MCP tool.

We override mcp_types.CallToolResult because: - Models only support `content`, not `structuredContent` at top level - Downstream consumers (le-chat, etc.) need structuredContent/isError/_meta via metadata

SYNC: Keep in sync with Harmattan (orchestrator) for harmonized tool result processing.

func (MCPToolCallResponse) Get

func (a MCPToolCallResponse) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for MCPToolCallResponse. Returns the specified element and whether it was found

func (MCPToolCallResponse) MarshalJSON

func (a MCPToolCallResponse) MarshalJSON() ([]byte, error)

Override default JSON handling for MCPToolCallResponse to handle AdditionalProperties

func (*MCPToolCallResponse) Set

func (a *MCPToolCallResponse) Set(fieldName string, value interface{})

Setter for additional properties for MCPToolCallResponse

func (*MCPToolCallResponse) UnmarshalJSON

func (a *MCPToolCallResponse) UnmarshalJSON(b []byte) error

Override default JSON handling for MCPToolCallResponse to handle AdditionalProperties

type MCPToolCallResponse_Content_Item

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

MCPToolCallResponse_Content_Item defines model for MCPToolCallResponse.content.Item.

func (MCPToolCallResponse_Content_Item) AsAudioContent

func (t MCPToolCallResponse_Content_Item) AsAudioContent() (AudioContent, error)

AsAudioContent returns the union data inside the MCPToolCallResponse_Content_Item as a AudioContent

func (MCPToolCallResponse_Content_Item) AsEmbeddedResource

func (t MCPToolCallResponse_Content_Item) AsEmbeddedResource() (EmbeddedResource, error)

AsEmbeddedResource returns the union data inside the MCPToolCallResponse_Content_Item as a EmbeddedResource

func (MCPToolCallResponse_Content_Item) AsImageContent

func (t MCPToolCallResponse_Content_Item) AsImageContent() (ImageContent, error)

AsImageContent returns the union data inside the MCPToolCallResponse_Content_Item as a ImageContent

func (t MCPToolCallResponse_Content_Item) AsResourceLink() (ResourceLink, error)

AsResourceLink returns the union data inside the MCPToolCallResponse_Content_Item as a ResourceLink

func (MCPToolCallResponse_Content_Item) AsTextContent

func (t MCPToolCallResponse_Content_Item) AsTextContent() (TextContent, error)

AsTextContent returns the union data inside the MCPToolCallResponse_Content_Item as a TextContent

func (*MCPToolCallResponse_Content_Item) FromAudioContent

func (t *MCPToolCallResponse_Content_Item) FromAudioContent(v AudioContent) error

FromAudioContent overwrites any union data inside the MCPToolCallResponse_Content_Item as the provided AudioContent

func (*MCPToolCallResponse_Content_Item) FromEmbeddedResource

func (t *MCPToolCallResponse_Content_Item) FromEmbeddedResource(v EmbeddedResource) error

FromEmbeddedResource overwrites any union data inside the MCPToolCallResponse_Content_Item as the provided EmbeddedResource

func (*MCPToolCallResponse_Content_Item) FromImageContent

func (t *MCPToolCallResponse_Content_Item) FromImageContent(v ImageContent) error

FromImageContent overwrites any union data inside the MCPToolCallResponse_Content_Item as the provided ImageContent

func (t *MCPToolCallResponse_Content_Item) FromResourceLink(v ResourceLink) error

FromResourceLink overwrites any union data inside the MCPToolCallResponse_Content_Item as the provided ResourceLink

func (*MCPToolCallResponse_Content_Item) FromTextContent

func (t *MCPToolCallResponse_Content_Item) FromTextContent(v TextContent) error

FromTextContent overwrites any union data inside the MCPToolCallResponse_Content_Item as the provided TextContent

func (MCPToolCallResponse_Content_Item) MarshalJSON

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

func (*MCPToolCallResponse_Content_Item) MergeAudioContent

func (t *MCPToolCallResponse_Content_Item) MergeAudioContent(v AudioContent) error

MergeAudioContent performs a merge with any union data inside the MCPToolCallResponse_Content_Item, using the provided AudioContent

func (*MCPToolCallResponse_Content_Item) MergeEmbeddedResource

func (t *MCPToolCallResponse_Content_Item) MergeEmbeddedResource(v EmbeddedResource) error

MergeEmbeddedResource performs a merge with any union data inside the MCPToolCallResponse_Content_Item, using the provided EmbeddedResource

func (*MCPToolCallResponse_Content_Item) MergeImageContent

func (t *MCPToolCallResponse_Content_Item) MergeImageContent(v ImageContent) error

MergeImageContent performs a merge with any union data inside the MCPToolCallResponse_Content_Item, using the provided ImageContent

func (t *MCPToolCallResponse_Content_Item) MergeResourceLink(v ResourceLink) error

MergeResourceLink performs a merge with any union data inside the MCPToolCallResponse_Content_Item, using the provided ResourceLink

func (*MCPToolCallResponse_Content_Item) MergeTextContent

func (t *MCPToolCallResponse_Content_Item) MergeTextContent(v TextContent) error

MergeTextContent performs a merge with any union data inside the MCPToolCallResponse_Content_Item, using the provided TextContent

func (*MCPToolCallResponse_Content_Item) UnmarshalJSON

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

type MCPToolMeta

type MCPToolMeta struct {
	AiMistralturbine     *TurbineToolMeta       `json:"ai.mistral/turbine,omitempty"`
	Ui                   *MCPUIToolMeta         `json:"ui,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

MCPToolMeta Typed _meta for MCP tools.

Only the 'ui' field is typed. Other fields are allowed via extra="allow".

func (MCPToolMeta) Get

func (a MCPToolMeta) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for MCPToolMeta. Returns the specified element and whether it was found

func (MCPToolMeta) MarshalJSON

func (a MCPToolMeta) MarshalJSON() ([]byte, error)

Override default JSON handling for MCPToolMeta to handle AdditionalProperties

func (*MCPToolMeta) Set

func (a *MCPToolMeta) Set(fieldName string, value interface{})

Setter for additional properties for MCPToolMeta

func (*MCPToolMeta) UnmarshalJSON

func (a *MCPToolMeta) UnmarshalJSON(b []byte) error

Override default JSON handling for MCPToolMeta to handle AdditionalProperties

type MCPUIToolMeta

type MCPUIToolMeta struct {
	ResourceUri          *string                    `json:"resourceUri,omitempty"`
	Visibility           *[]MCPUIToolMetaVisibility `json:"visibility,omitempty"`
	AdditionalProperties map[string]interface{}     `json:"-"`
}

MCPUIToolMeta UI metadata for tools that reference UI resources.

func (MCPUIToolMeta) Get

func (a MCPUIToolMeta) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for MCPUIToolMeta. Returns the specified element and whether it was found

func (MCPUIToolMeta) MarshalJSON

func (a MCPUIToolMeta) MarshalJSON() ([]byte, error)

Override default JSON handling for MCPUIToolMeta to handle AdditionalProperties

func (*MCPUIToolMeta) Set

func (a *MCPUIToolMeta) Set(fieldName string, value interface{})

Setter for additional properties for MCPUIToolMeta

func (*MCPUIToolMeta) UnmarshalJSON

func (a *MCPUIToolMeta) UnmarshalJSON(b []byte) error

Override default JSON handling for MCPUIToolMeta to handle AdditionalProperties

type MCPUIToolMetaVisibility

type MCPUIToolMetaVisibility string

MCPUIToolMetaVisibility defines model for MCPUIToolMeta.Visibility.

const (
	MCPUIToolMetaVisibilityApp   MCPUIToolMetaVisibility = "app"
	MCPUIToolMetaVisibilityModel MCPUIToolMetaVisibility = "model"
)

Defines values for MCPUIToolMetaVisibility.

func (MCPUIToolMetaVisibility) Valid

func (e MCPUIToolMetaVisibility) Valid() bool

Valid indicates whether the value is a known member of the MCPUIToolMetaVisibility enum.

type MessageEntries

type MessageEntries = []MessageEntries_Item

MessageEntries defines model for MessageEntries.

type MessageEntries_Item

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

MessageEntries_Item defines model for MessageEntries.Item.

func (MessageEntries_Item) AsMessageInputEntry

func (t MessageEntries_Item) AsMessageInputEntry() (MessageInputEntry, error)

AsMessageInputEntry returns the union data inside the MessageEntries_Item as a MessageInputEntry

func (MessageEntries_Item) AsMessageOutputEntry

func (t MessageEntries_Item) AsMessageOutputEntry() (MessageOutputEntry, error)

AsMessageOutputEntry returns the union data inside the MessageEntries_Item as a MessageOutputEntry

func (*MessageEntries_Item) FromMessageInputEntry

func (t *MessageEntries_Item) FromMessageInputEntry(v MessageInputEntry) error

FromMessageInputEntry overwrites any union data inside the MessageEntries_Item as the provided MessageInputEntry

func (*MessageEntries_Item) FromMessageOutputEntry

func (t *MessageEntries_Item) FromMessageOutputEntry(v MessageOutputEntry) error

FromMessageOutputEntry overwrites any union data inside the MessageEntries_Item as the provided MessageOutputEntry

func (MessageEntries_Item) MarshalJSON

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

func (*MessageEntries_Item) MergeMessageInputEntry

func (t *MessageEntries_Item) MergeMessageInputEntry(v MessageInputEntry) error

MergeMessageInputEntry performs a merge with any union data inside the MessageEntries_Item, using the provided MessageInputEntry

func (*MessageEntries_Item) MergeMessageOutputEntry

func (t *MessageEntries_Item) MergeMessageOutputEntry(v MessageOutputEntry) error

MergeMessageOutputEntry performs a merge with any union data inside the MessageEntries_Item, using the provided MessageOutputEntry

func (*MessageEntries_Item) UnmarshalJSON

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

type MessageInputContentChunks

type MessageInputContentChunks = []MessageInputContentChunks_Item

MessageInputContentChunks defines model for MessageInputContentChunks.

type MessageInputContentChunks_Item

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

MessageInputContentChunks_Item defines model for MessageInputContentChunks.Item.

func (MessageInputContentChunks_Item) AsDocumentURLChunk

func (t MessageInputContentChunks_Item) AsDocumentURLChunk() (DocumentURLChunk, error)

AsDocumentURLChunk returns the union data inside the MessageInputContentChunks_Item as a DocumentURLChunk

func (MessageInputContentChunks_Item) AsImageURLChunk

func (t MessageInputContentChunks_Item) AsImageURLChunk() (ImageURLChunk, error)

AsImageURLChunk returns the union data inside the MessageInputContentChunks_Item as a ImageURLChunk

func (MessageInputContentChunks_Item) AsTextChunk

func (t MessageInputContentChunks_Item) AsTextChunk() (TextChunk, error)

AsTextChunk returns the union data inside the MessageInputContentChunks_Item as a TextChunk

func (MessageInputContentChunks_Item) AsThinkChunk

func (t MessageInputContentChunks_Item) AsThinkChunk() (ThinkChunk, error)

AsThinkChunk returns the union data inside the MessageInputContentChunks_Item as a ThinkChunk

func (MessageInputContentChunks_Item) AsToolFileChunk

func (t MessageInputContentChunks_Item) AsToolFileChunk() (ToolFileChunk, error)

AsToolFileChunk returns the union data inside the MessageInputContentChunks_Item as a ToolFileChunk

func (*MessageInputContentChunks_Item) FromDocumentURLChunk

func (t *MessageInputContentChunks_Item) FromDocumentURLChunk(v DocumentURLChunk) error

FromDocumentURLChunk overwrites any union data inside the MessageInputContentChunks_Item as the provided DocumentURLChunk

func (*MessageInputContentChunks_Item) FromImageURLChunk

func (t *MessageInputContentChunks_Item) FromImageURLChunk(v ImageURLChunk) error

FromImageURLChunk overwrites any union data inside the MessageInputContentChunks_Item as the provided ImageURLChunk

func (*MessageInputContentChunks_Item) FromTextChunk

func (t *MessageInputContentChunks_Item) FromTextChunk(v TextChunk) error

FromTextChunk overwrites any union data inside the MessageInputContentChunks_Item as the provided TextChunk

func (*MessageInputContentChunks_Item) FromThinkChunk

func (t *MessageInputContentChunks_Item) FromThinkChunk(v ThinkChunk) error

FromThinkChunk overwrites any union data inside the MessageInputContentChunks_Item as the provided ThinkChunk

func (*MessageInputContentChunks_Item) FromToolFileChunk

func (t *MessageInputContentChunks_Item) FromToolFileChunk(v ToolFileChunk) error

FromToolFileChunk overwrites any union data inside the MessageInputContentChunks_Item as the provided ToolFileChunk

func (MessageInputContentChunks_Item) MarshalJSON

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

func (*MessageInputContentChunks_Item) MergeDocumentURLChunk

func (t *MessageInputContentChunks_Item) MergeDocumentURLChunk(v DocumentURLChunk) error

MergeDocumentURLChunk performs a merge with any union data inside the MessageInputContentChunks_Item, using the provided DocumentURLChunk

func (*MessageInputContentChunks_Item) MergeImageURLChunk

func (t *MessageInputContentChunks_Item) MergeImageURLChunk(v ImageURLChunk) error

MergeImageURLChunk performs a merge with any union data inside the MessageInputContentChunks_Item, using the provided ImageURLChunk

func (*MessageInputContentChunks_Item) MergeTextChunk

func (t *MessageInputContentChunks_Item) MergeTextChunk(v TextChunk) error

MergeTextChunk performs a merge with any union data inside the MessageInputContentChunks_Item, using the provided TextChunk

func (*MessageInputContentChunks_Item) MergeThinkChunk

func (t *MessageInputContentChunks_Item) MergeThinkChunk(v ThinkChunk) error

MergeThinkChunk performs a merge with any union data inside the MessageInputContentChunks_Item, using the provided ThinkChunk

func (*MessageInputContentChunks_Item) MergeToolFileChunk

func (t *MessageInputContentChunks_Item) MergeToolFileChunk(v ToolFileChunk) error

MergeToolFileChunk performs a merge with any union data inside the MessageInputContentChunks_Item, using the provided ToolFileChunk

func (*MessageInputContentChunks_Item) UnmarshalJSON

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

type MessageInputEntry

type MessageInputEntry struct {
	CompletedAt *time.Time                `json:"completed_at,omitempty"`
	Content     MessageInputEntry_Content `json:"content"`
	CreatedAt   *time.Time                `json:"created_at,omitempty"`
	Id          *string                   `json:"id,omitempty"`
	Object      *MessageInputEntryObject  `json:"object,omitempty"`
	Prefix      *bool                     `json:"prefix,omitempty"`
	Role        MessageInputEntryRole     `json:"role"`
	Type        *MessageInputEntryType    `json:"type,omitempty"`
}

MessageInputEntry Representation of an input message inside the conversation.

type MessageInputEntryContent0

type MessageInputEntryContent0 = string

MessageInputEntryContent0 defines model for MessageInputEntry.Content.0.

type MessageInputEntryObject

type MessageInputEntryObject string

MessageInputEntryObject defines model for MessageInputEntry.Object.

const (
	MessageInputEntryObjectEntry MessageInputEntryObject = "entry"
)

Defines values for MessageInputEntryObject.

func (MessageInputEntryObject) Valid

func (e MessageInputEntryObject) Valid() bool

Valid indicates whether the value is a known member of the MessageInputEntryObject enum.

type MessageInputEntryRole

type MessageInputEntryRole string

MessageInputEntryRole defines model for MessageInputEntry.Role.

const (
	MessageInputEntryRoleAssistant MessageInputEntryRole = "assistant"
	MessageInputEntryRoleUser      MessageInputEntryRole = "user"
)

Defines values for MessageInputEntryRole.

func (MessageInputEntryRole) Valid

func (e MessageInputEntryRole) Valid() bool

Valid indicates whether the value is a known member of the MessageInputEntryRole enum.

type MessageInputEntryType

type MessageInputEntryType string

MessageInputEntryType defines model for MessageInputEntry.Type.

const (
	MessageInputEntryTypeMessageInput MessageInputEntryType = "message.input"
)

Defines values for MessageInputEntryType.

func (MessageInputEntryType) Valid

func (e MessageInputEntryType) Valid() bool

Valid indicates whether the value is a known member of the MessageInputEntryType enum.

type MessageInputEntry_Content

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

MessageInputEntry_Content defines model for MessageInputEntry.Content.

func (MessageInputEntry_Content) AsMessageInputContentChunks

func (t MessageInputEntry_Content) AsMessageInputContentChunks() (MessageInputContentChunks, error)

AsMessageInputContentChunks returns the union data inside the MessageInputEntry_Content as a MessageInputContentChunks

func (MessageInputEntry_Content) AsMessageInputEntryContent0

func (t MessageInputEntry_Content) AsMessageInputEntryContent0() (MessageInputEntryContent0, error)

AsMessageInputEntryContent0 returns the union data inside the MessageInputEntry_Content as a MessageInputEntryContent0

func (*MessageInputEntry_Content) FromMessageInputContentChunks

func (t *MessageInputEntry_Content) FromMessageInputContentChunks(v MessageInputContentChunks) error

FromMessageInputContentChunks overwrites any union data inside the MessageInputEntry_Content as the provided MessageInputContentChunks

func (*MessageInputEntry_Content) FromMessageInputEntryContent0

func (t *MessageInputEntry_Content) FromMessageInputEntryContent0(v MessageInputEntryContent0) error

FromMessageInputEntryContent0 overwrites any union data inside the MessageInputEntry_Content as the provided MessageInputEntryContent0

func (MessageInputEntry_Content) MarshalJSON

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

func (*MessageInputEntry_Content) MergeMessageInputContentChunks

func (t *MessageInputEntry_Content) MergeMessageInputContentChunks(v MessageInputContentChunks) error

MergeMessageInputContentChunks performs a merge with any union data inside the MessageInputEntry_Content, using the provided MessageInputContentChunks

func (*MessageInputEntry_Content) MergeMessageInputEntryContent0

func (t *MessageInputEntry_Content) MergeMessageInputEntryContent0(v MessageInputEntryContent0) error

MergeMessageInputEntryContent0 performs a merge with any union data inside the MessageInputEntry_Content, using the provided MessageInputEntryContent0

func (*MessageInputEntry_Content) UnmarshalJSON

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

type MessageOutputContentChunks

type MessageOutputContentChunks = []MessageOutputContentChunks_Item

MessageOutputContentChunks defines model for MessageOutputContentChunks.

type MessageOutputContentChunks_Item

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

MessageOutputContentChunks_Item defines model for MessageOutputContentChunks.Item.

func (MessageOutputContentChunks_Item) AsDocumentURLChunk

func (t MessageOutputContentChunks_Item) AsDocumentURLChunk() (DocumentURLChunk, error)

AsDocumentURLChunk returns the union data inside the MessageOutputContentChunks_Item as a DocumentURLChunk

func (MessageOutputContentChunks_Item) AsImageURLChunk

func (t MessageOutputContentChunks_Item) AsImageURLChunk() (ImageURLChunk, error)

AsImageURLChunk returns the union data inside the MessageOutputContentChunks_Item as a ImageURLChunk

func (MessageOutputContentChunks_Item) AsTextChunk

func (t MessageOutputContentChunks_Item) AsTextChunk() (TextChunk, error)

AsTextChunk returns the union data inside the MessageOutputContentChunks_Item as a TextChunk

func (MessageOutputContentChunks_Item) AsThinkChunk

func (t MessageOutputContentChunks_Item) AsThinkChunk() (ThinkChunk, error)

AsThinkChunk returns the union data inside the MessageOutputContentChunks_Item as a ThinkChunk

func (MessageOutputContentChunks_Item) AsToolFileChunk

func (t MessageOutputContentChunks_Item) AsToolFileChunk() (ToolFileChunk, error)

AsToolFileChunk returns the union data inside the MessageOutputContentChunks_Item as a ToolFileChunk

func (MessageOutputContentChunks_Item) AsToolReferenceChunk

func (t MessageOutputContentChunks_Item) AsToolReferenceChunk() (ToolReferenceChunk, error)

AsToolReferenceChunk returns the union data inside the MessageOutputContentChunks_Item as a ToolReferenceChunk

func (*MessageOutputContentChunks_Item) FromDocumentURLChunk

func (t *MessageOutputContentChunks_Item) FromDocumentURLChunk(v DocumentURLChunk) error

FromDocumentURLChunk overwrites any union data inside the MessageOutputContentChunks_Item as the provided DocumentURLChunk

func (*MessageOutputContentChunks_Item) FromImageURLChunk

func (t *MessageOutputContentChunks_Item) FromImageURLChunk(v ImageURLChunk) error

FromImageURLChunk overwrites any union data inside the MessageOutputContentChunks_Item as the provided ImageURLChunk

func (*MessageOutputContentChunks_Item) FromTextChunk

func (t *MessageOutputContentChunks_Item) FromTextChunk(v TextChunk) error

FromTextChunk overwrites any union data inside the MessageOutputContentChunks_Item as the provided TextChunk

func (*MessageOutputContentChunks_Item) FromThinkChunk

func (t *MessageOutputContentChunks_Item) FromThinkChunk(v ThinkChunk) error

FromThinkChunk overwrites any union data inside the MessageOutputContentChunks_Item as the provided ThinkChunk

func (*MessageOutputContentChunks_Item) FromToolFileChunk

func (t *MessageOutputContentChunks_Item) FromToolFileChunk(v ToolFileChunk) error

FromToolFileChunk overwrites any union data inside the MessageOutputContentChunks_Item as the provided ToolFileChunk

func (*MessageOutputContentChunks_Item) FromToolReferenceChunk

func (t *MessageOutputContentChunks_Item) FromToolReferenceChunk(v ToolReferenceChunk) error

FromToolReferenceChunk overwrites any union data inside the MessageOutputContentChunks_Item as the provided ToolReferenceChunk

func (MessageOutputContentChunks_Item) MarshalJSON

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

func (*MessageOutputContentChunks_Item) MergeDocumentURLChunk

func (t *MessageOutputContentChunks_Item) MergeDocumentURLChunk(v DocumentURLChunk) error

MergeDocumentURLChunk performs a merge with any union data inside the MessageOutputContentChunks_Item, using the provided DocumentURLChunk

func (*MessageOutputContentChunks_Item) MergeImageURLChunk

func (t *MessageOutputContentChunks_Item) MergeImageURLChunk(v ImageURLChunk) error

MergeImageURLChunk performs a merge with any union data inside the MessageOutputContentChunks_Item, using the provided ImageURLChunk

func (*MessageOutputContentChunks_Item) MergeTextChunk

func (t *MessageOutputContentChunks_Item) MergeTextChunk(v TextChunk) error

MergeTextChunk performs a merge with any union data inside the MessageOutputContentChunks_Item, using the provided TextChunk

func (*MessageOutputContentChunks_Item) MergeThinkChunk

func (t *MessageOutputContentChunks_Item) MergeThinkChunk(v ThinkChunk) error

MergeThinkChunk performs a merge with any union data inside the MessageOutputContentChunks_Item, using the provided ThinkChunk

func (*MessageOutputContentChunks_Item) MergeToolFileChunk

func (t *MessageOutputContentChunks_Item) MergeToolFileChunk(v ToolFileChunk) error

MergeToolFileChunk performs a merge with any union data inside the MessageOutputContentChunks_Item, using the provided ToolFileChunk

func (*MessageOutputContentChunks_Item) MergeToolReferenceChunk

func (t *MessageOutputContentChunks_Item) MergeToolReferenceChunk(v ToolReferenceChunk) error

MergeToolReferenceChunk performs a merge with any union data inside the MessageOutputContentChunks_Item, using the provided ToolReferenceChunk

func (*MessageOutputContentChunks_Item) UnmarshalJSON

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

type MessageOutputEntry

type MessageOutputEntry struct {
	AgentId     *string                    `json:"agent_id,omitempty"`
	CompletedAt *time.Time                 `json:"completed_at,omitempty"`
	Content     MessageOutputEntry_Content `json:"content"`
	CreatedAt   *time.Time                 `json:"created_at,omitempty"`
	Id          *string                    `json:"id,omitempty"`
	Model       *string                    `json:"model,omitempty"`
	Object      *MessageOutputEntryObject  `json:"object,omitempty"`
	Role        *MessageOutputEntryRole    `json:"role,omitempty"`
	Type        *MessageOutputEntryType    `json:"type,omitempty"`
}

MessageOutputEntry defines model for MessageOutputEntry.

type MessageOutputEntryContent0

type MessageOutputEntryContent0 = string

MessageOutputEntryContent0 defines model for MessageOutputEntry.Content.0.

type MessageOutputEntryObject

type MessageOutputEntryObject string

MessageOutputEntryObject defines model for MessageOutputEntry.Object.

const (
	MessageOutputEntryObjectEntry MessageOutputEntryObject = "entry"
)

Defines values for MessageOutputEntryObject.

func (MessageOutputEntryObject) Valid

func (e MessageOutputEntryObject) Valid() bool

Valid indicates whether the value is a known member of the MessageOutputEntryObject enum.

type MessageOutputEntryRole

type MessageOutputEntryRole string

MessageOutputEntryRole defines model for MessageOutputEntry.Role.

const (
	MessageOutputEntryRoleAssistant MessageOutputEntryRole = "assistant"
)

Defines values for MessageOutputEntryRole.

func (MessageOutputEntryRole) Valid

func (e MessageOutputEntryRole) Valid() bool

Valid indicates whether the value is a known member of the MessageOutputEntryRole enum.

type MessageOutputEntryType

type MessageOutputEntryType string

MessageOutputEntryType defines model for MessageOutputEntry.Type.

const (
	MessageOutputEntryTypeMessageOutput MessageOutputEntryType = "message.output"
)

Defines values for MessageOutputEntryType.

func (MessageOutputEntryType) Valid

func (e MessageOutputEntryType) Valid() bool

Valid indicates whether the value is a known member of the MessageOutputEntryType enum.

type MessageOutputEntry_Content

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

MessageOutputEntry_Content defines model for MessageOutputEntry.Content.

func (MessageOutputEntry_Content) AsMessageOutputContentChunks

func (t MessageOutputEntry_Content) AsMessageOutputContentChunks() (MessageOutputContentChunks, error)

AsMessageOutputContentChunks returns the union data inside the MessageOutputEntry_Content as a MessageOutputContentChunks

func (MessageOutputEntry_Content) AsMessageOutputEntryContent0

func (t MessageOutputEntry_Content) AsMessageOutputEntryContent0() (MessageOutputEntryContent0, error)

AsMessageOutputEntryContent0 returns the union data inside the MessageOutputEntry_Content as a MessageOutputEntryContent0

func (*MessageOutputEntry_Content) FromMessageOutputContentChunks

func (t *MessageOutputEntry_Content) FromMessageOutputContentChunks(v MessageOutputContentChunks) error

FromMessageOutputContentChunks overwrites any union data inside the MessageOutputEntry_Content as the provided MessageOutputContentChunks

func (*MessageOutputEntry_Content) FromMessageOutputEntryContent0

func (t *MessageOutputEntry_Content) FromMessageOutputEntryContent0(v MessageOutputEntryContent0) error

FromMessageOutputEntryContent0 overwrites any union data inside the MessageOutputEntry_Content as the provided MessageOutputEntryContent0

func (MessageOutputEntry_Content) MarshalJSON

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

func (*MessageOutputEntry_Content) MergeMessageOutputContentChunks

func (t *MessageOutputEntry_Content) MergeMessageOutputContentChunks(v MessageOutputContentChunks) error

MergeMessageOutputContentChunks performs a merge with any union data inside the MessageOutputEntry_Content, using the provided MessageOutputContentChunks

func (*MessageOutputEntry_Content) MergeMessageOutputEntryContent0

func (t *MessageOutputEntry_Content) MergeMessageOutputEntryContent0(v MessageOutputEntryContent0) error

MergeMessageOutputEntryContent0 performs a merge with any union data inside the MessageOutputEntry_Content, using the provided MessageOutputEntryContent0

func (*MessageOutputEntry_Content) UnmarshalJSON

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

type MessageOutputEvent

type MessageOutputEvent struct {
	AgentId      *string                    `json:"agent_id,omitempty"`
	Content      MessageOutputEvent_Content `json:"content"`
	ContentIndex *int                       `json:"content_index,omitempty"`
	CreatedAt    *time.Time                 `json:"created_at,omitempty"`
	Id           string                     `json:"id"`
	Model        *string                    `json:"model,omitempty"`
	OutputIndex  *int                       `json:"output_index,omitempty"`
	Role         *MessageOutputEventRole    `json:"role,omitempty"`
	Type         *MessageOutputEventType    `json:"type,omitempty"`
}

MessageOutputEvent defines model for MessageOutputEvent.

type MessageOutputEventContent0

type MessageOutputEventContent0 = string

MessageOutputEventContent0 defines model for MessageOutputEvent.Content.0.

type MessageOutputEventRole

type MessageOutputEventRole string

MessageOutputEventRole defines model for MessageOutputEvent.Role.

const (
	MessageOutputEventRoleAssistant MessageOutputEventRole = "assistant"
)

Defines values for MessageOutputEventRole.

func (MessageOutputEventRole) Valid

func (e MessageOutputEventRole) Valid() bool

Valid indicates whether the value is a known member of the MessageOutputEventRole enum.

type MessageOutputEventType

type MessageOutputEventType string

MessageOutputEventType defines model for MessageOutputEvent.Type.

const (
	MessageOutputEventTypeMessageOutputDelta MessageOutputEventType = "message.output.delta"
)

Defines values for MessageOutputEventType.

func (MessageOutputEventType) Valid

func (e MessageOutputEventType) Valid() bool

Valid indicates whether the value is a known member of the MessageOutputEventType enum.

type MessageOutputEvent_Content

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

MessageOutputEvent_Content defines model for MessageOutputEvent.Content.

func (MessageOutputEvent_Content) AsMessageOutputEventContent0

func (t MessageOutputEvent_Content) AsMessageOutputEventContent0() (MessageOutputEventContent0, error)

AsMessageOutputEventContent0 returns the union data inside the MessageOutputEvent_Content as a MessageOutputEventContent0

func (MessageOutputEvent_Content) AsOutputContentChunks

func (t MessageOutputEvent_Content) AsOutputContentChunks() (OutputContentChunks, error)

AsOutputContentChunks returns the union data inside the MessageOutputEvent_Content as a OutputContentChunks

func (*MessageOutputEvent_Content) FromMessageOutputEventContent0

func (t *MessageOutputEvent_Content) FromMessageOutputEventContent0(v MessageOutputEventContent0) error

FromMessageOutputEventContent0 overwrites any union data inside the MessageOutputEvent_Content as the provided MessageOutputEventContent0

func (*MessageOutputEvent_Content) FromOutputContentChunks

func (t *MessageOutputEvent_Content) FromOutputContentChunks(v OutputContentChunks) error

FromOutputContentChunks overwrites any union data inside the MessageOutputEvent_Content as the provided OutputContentChunks

func (MessageOutputEvent_Content) MarshalJSON

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

func (*MessageOutputEvent_Content) MergeMessageOutputEventContent0

func (t *MessageOutputEvent_Content) MergeMessageOutputEventContent0(v MessageOutputEventContent0) error

MergeMessageOutputEventContent0 performs a merge with any union data inside the MessageOutputEvent_Content, using the provided MessageOutputEventContent0

func (*MessageOutputEvent_Content) MergeOutputContentChunks

func (t *MessageOutputEvent_Content) MergeOutputContentChunks(v OutputContentChunks) error

MergeOutputContentChunks performs a merge with any union data inside the MessageOutputEvent_Content, using the provided OutputContentChunks

func (*MessageOutputEvent_Content) UnmarshalJSON

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

type MessageResponse

type MessageResponse struct {
	Message string `json:"message"`
}

MessageResponse defines model for MessageResponse.

type MetadataDict

type MetadataDict map[string]interface{}

MetadataDict Custom type for metadata with embedded validation.

type MetricOut

type MetricOut struct {
	TrainLoss              *float32 `json:"train_loss,omitempty"`
	ValidLoss              *float32 `json:"valid_loss,omitempty"`
	ValidMeanTokenAccuracy *float32 `json:"valid_mean_token_accuracy,omitempty"`
}

MetricOut Metrics at the step number during the fine-tuning job. Use these metrics to assess if the training is going smoothly (loss should decrease, token accuracy should increase).

type MistralPromptMode

type MistralPromptMode string

MistralPromptMode Available options to the prompt_mode argument on the chat completion endpoint. Values represent high-level intent. Assignment to actual SPs is handled internally. System prompt may include knowledge cutoff date, model capabilities, tone to use, safety guidelines, etc.

const (
	MistralPromptModeReasoning MistralPromptMode = "reasoning"
)

Defines values for MistralPromptMode.

func (MistralPromptMode) Valid

func (e MistralPromptMode) Valid() bool

Valid indicates whether the value is a known member of the MistralPromptMode enum.

type ModelCapabilities

type ModelCapabilities struct {
	Audio              *bool `json:"audio,omitempty"`
	AudioTranscription *bool `json:"audio_transcription,omitempty"`
	Classification     *bool `json:"classification,omitempty"`
	CompletionChat     *bool `json:"completion_chat,omitempty"`
	CompletionFim      *bool `json:"completion_fim,omitempty"`
	FineTuning         *bool `json:"fine_tuning,omitempty"`
	FunctionCalling    *bool `json:"function_calling,omitempty"`
	Moderation         *bool `json:"moderation,omitempty"`
	Ocr                *bool `json:"ocr,omitempty"`
	Vision             *bool `json:"vision,omitempty"`
}

ModelCapabilities defines model for ModelCapabilities.

type ModelConversation

type ModelConversation struct {
	// CompletionArgs Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
	CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
	CreatedAt      time.Time       `json:"created_at"`

	// Description Description of the what the conversation is about.
	Description *string            `json:"description,omitempty"`
	Guardrails  *[]GuardrailConfig `json:"guardrails,omitempty"`
	Id          string             `json:"id"`

	// Instructions Instruction prompt the model will follow during the conversation.
	Instructions *string `json:"instructions,omitempty"`

	// Metadata Custom metadata for the conversation.
	Metadata *MetadataDict `json:"metadata,omitempty"`
	Model    string        `json:"model"`

	// Name Name given to the conversation.
	Name   *string                  `json:"name,omitempty"`
	Object *ModelConversationObject `json:"object,omitempty"`

	// Tools List of tools which are available to the model during the conversation.
	Tools     *[]ModelConversation_Tools_Item `json:"tools,omitempty"`
	UpdatedAt time.Time                       `json:"updated_at"`
}

ModelConversation defines model for ModelConversation.

type ModelConversationObject

type ModelConversationObject string

ModelConversationObject defines model for ModelConversation.Object.

const (
	ModelConversationObjectConversation ModelConversationObject = "conversation"
)

Defines values for ModelConversationObject.

func (ModelConversationObject) Valid

func (e ModelConversationObject) Valid() bool

Valid indicates whether the value is a known member of the ModelConversationObject enum.

type ModelConversation_Tools_Item

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

ModelConversation_Tools_Item defines model for ModelConversation.tools.Item.

func (ModelConversation_Tools_Item) AsCodeInterpreterTool

func (t ModelConversation_Tools_Item) AsCodeInterpreterTool() (CodeInterpreterTool, error)

AsCodeInterpreterTool returns the union data inside the ModelConversation_Tools_Item as a CodeInterpreterTool

func (ModelConversation_Tools_Item) AsCustomConnector

func (t ModelConversation_Tools_Item) AsCustomConnector() (CustomConnector, error)

AsCustomConnector returns the union data inside the ModelConversation_Tools_Item as a CustomConnector

func (ModelConversation_Tools_Item) AsDocumentLibraryTool

func (t ModelConversation_Tools_Item) AsDocumentLibraryTool() (DocumentLibraryTool, error)

AsDocumentLibraryTool returns the union data inside the ModelConversation_Tools_Item as a DocumentLibraryTool

func (ModelConversation_Tools_Item) AsFunctionTool

func (t ModelConversation_Tools_Item) AsFunctionTool() (FunctionTool, error)

AsFunctionTool returns the union data inside the ModelConversation_Tools_Item as a FunctionTool

func (ModelConversation_Tools_Item) AsImageGenerationTool

func (t ModelConversation_Tools_Item) AsImageGenerationTool() (ImageGenerationTool, error)

AsImageGenerationTool returns the union data inside the ModelConversation_Tools_Item as a ImageGenerationTool

func (ModelConversation_Tools_Item) AsWebSearchPremiumTool

func (t ModelConversation_Tools_Item) AsWebSearchPremiumTool() (WebSearchPremiumTool, error)

AsWebSearchPremiumTool returns the union data inside the ModelConversation_Tools_Item as a WebSearchPremiumTool

func (ModelConversation_Tools_Item) AsWebSearchTool

func (t ModelConversation_Tools_Item) AsWebSearchTool() (WebSearchTool, error)

AsWebSearchTool returns the union data inside the ModelConversation_Tools_Item as a WebSearchTool

func (ModelConversation_Tools_Item) Discriminator

func (t ModelConversation_Tools_Item) Discriminator() (string, error)

func (*ModelConversation_Tools_Item) FromCodeInterpreterTool

func (t *ModelConversation_Tools_Item) FromCodeInterpreterTool(v CodeInterpreterTool) error

FromCodeInterpreterTool overwrites any union data inside the ModelConversation_Tools_Item as the provided CodeInterpreterTool

func (*ModelConversation_Tools_Item) FromCustomConnector

func (t *ModelConversation_Tools_Item) FromCustomConnector(v CustomConnector) error

FromCustomConnector overwrites any union data inside the ModelConversation_Tools_Item as the provided CustomConnector

func (*ModelConversation_Tools_Item) FromDocumentLibraryTool

func (t *ModelConversation_Tools_Item) FromDocumentLibraryTool(v DocumentLibraryTool) error

FromDocumentLibraryTool overwrites any union data inside the ModelConversation_Tools_Item as the provided DocumentLibraryTool

func (*ModelConversation_Tools_Item) FromFunctionTool

func (t *ModelConversation_Tools_Item) FromFunctionTool(v FunctionTool) error

FromFunctionTool overwrites any union data inside the ModelConversation_Tools_Item as the provided FunctionTool

func (*ModelConversation_Tools_Item) FromImageGenerationTool

func (t *ModelConversation_Tools_Item) FromImageGenerationTool(v ImageGenerationTool) error

FromImageGenerationTool overwrites any union data inside the ModelConversation_Tools_Item as the provided ImageGenerationTool

func (*ModelConversation_Tools_Item) FromWebSearchPremiumTool

func (t *ModelConversation_Tools_Item) FromWebSearchPremiumTool(v WebSearchPremiumTool) error

FromWebSearchPremiumTool overwrites any union data inside the ModelConversation_Tools_Item as the provided WebSearchPremiumTool

func (*ModelConversation_Tools_Item) FromWebSearchTool

func (t *ModelConversation_Tools_Item) FromWebSearchTool(v WebSearchTool) error

FromWebSearchTool overwrites any union data inside the ModelConversation_Tools_Item as the provided WebSearchTool

func (ModelConversation_Tools_Item) MarshalJSON

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

func (*ModelConversation_Tools_Item) MergeCodeInterpreterTool

func (t *ModelConversation_Tools_Item) MergeCodeInterpreterTool(v CodeInterpreterTool) error

MergeCodeInterpreterTool performs a merge with any union data inside the ModelConversation_Tools_Item, using the provided CodeInterpreterTool

func (*ModelConversation_Tools_Item) MergeCustomConnector

func (t *ModelConversation_Tools_Item) MergeCustomConnector(v CustomConnector) error

MergeCustomConnector performs a merge with any union data inside the ModelConversation_Tools_Item, using the provided CustomConnector

func (*ModelConversation_Tools_Item) MergeDocumentLibraryTool

func (t *ModelConversation_Tools_Item) MergeDocumentLibraryTool(v DocumentLibraryTool) error

MergeDocumentLibraryTool performs a merge with any union data inside the ModelConversation_Tools_Item, using the provided DocumentLibraryTool

func (*ModelConversation_Tools_Item) MergeFunctionTool

func (t *ModelConversation_Tools_Item) MergeFunctionTool(v FunctionTool) error

MergeFunctionTool performs a merge with any union data inside the ModelConversation_Tools_Item, using the provided FunctionTool

func (*ModelConversation_Tools_Item) MergeImageGenerationTool

func (t *ModelConversation_Tools_Item) MergeImageGenerationTool(v ImageGenerationTool) error

MergeImageGenerationTool performs a merge with any union data inside the ModelConversation_Tools_Item, using the provided ImageGenerationTool

func (*ModelConversation_Tools_Item) MergeWebSearchPremiumTool

func (t *ModelConversation_Tools_Item) MergeWebSearchPremiumTool(v WebSearchPremiumTool) error

MergeWebSearchPremiumTool performs a merge with any union data inside the ModelConversation_Tools_Item, using the provided WebSearchPremiumTool

func (*ModelConversation_Tools_Item) MergeWebSearchTool

func (t *ModelConversation_Tools_Item) MergeWebSearchTool(v WebSearchTool) error

MergeWebSearchTool performs a merge with any union data inside the ModelConversation_Tools_Item, using the provided WebSearchTool

func (*ModelConversation_Tools_Item) UnmarshalJSON

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

func (ModelConversation_Tools_Item) ValueByDiscriminator

func (t ModelConversation_Tools_Item) ValueByDiscriminator() (interface{}, error)

type ModelList

type ModelList struct {
	Data   *[]ModelList_Data_Item `json:"data,omitempty"`
	Object *string                `json:"object,omitempty"`
}

ModelList defines model for ModelList.

type ModelList_Data_Item

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

ModelList_Data_Item defines model for ModelList.data.Item.

func (ModelList_Data_Item) AsBaseModelCard

func (t ModelList_Data_Item) AsBaseModelCard() (BaseModelCard, error)

AsBaseModelCard returns the union data inside the ModelList_Data_Item as a BaseModelCard

func (ModelList_Data_Item) AsFTModelCard

func (t ModelList_Data_Item) AsFTModelCard() (FTModelCard, error)

AsFTModelCard returns the union data inside the ModelList_Data_Item as a FTModelCard

func (ModelList_Data_Item) Discriminator

func (t ModelList_Data_Item) Discriminator() (string, error)

func (*ModelList_Data_Item) FromBaseModelCard

func (t *ModelList_Data_Item) FromBaseModelCard(v BaseModelCard) error

FromBaseModelCard overwrites any union data inside the ModelList_Data_Item as the provided BaseModelCard

func (*ModelList_Data_Item) FromFTModelCard

func (t *ModelList_Data_Item) FromFTModelCard(v FTModelCard) error

FromFTModelCard overwrites any union data inside the ModelList_Data_Item as the provided FTModelCard

func (ModelList_Data_Item) MarshalJSON

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

func (*ModelList_Data_Item) MergeBaseModelCard

func (t *ModelList_Data_Item) MergeBaseModelCard(v BaseModelCard) error

MergeBaseModelCard performs a merge with any union data inside the ModelList_Data_Item, using the provided BaseModelCard

func (*ModelList_Data_Item) MergeFTModelCard

func (t *ModelList_Data_Item) MergeFTModelCard(v FTModelCard) error

MergeFTModelCard performs a merge with any union data inside the ModelList_Data_Item, using the provided FTModelCard

func (*ModelList_Data_Item) UnmarshalJSON

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

func (ModelList_Data_Item) ValueByDiscriminator

func (t ModelList_Data_Item) ValueByDiscriminator() (interface{}, error)

type ModerationLLMAction

type ModerationLLMAction string

ModerationLLMAction defines model for ModerationLLMAction.

const (
	ModerationLLMActionBlock ModerationLLMAction = "block"
	ModerationLLMActionNone  ModerationLLMAction = "none"
)

Defines values for ModerationLLMAction.

func (ModerationLLMAction) Valid

func (e ModerationLLMAction) Valid() bool

Valid indicates whether the value is a known member of the ModerationLLMAction enum.

type ModerationLLMV1CategoryThresholds

type ModerationLLMV1CategoryThresholds struct {
	DangerousAndCriminalContent *float32 `json:"dangerous_and_criminal_content,omitempty"`
	Financial                   *float32 `json:"financial,omitempty"`
	HateAndDiscrimination       *float32 `json:"hate_and_discrimination,omitempty"`
	Health                      *float32 `json:"health,omitempty"`
	Law                         *float32 `json:"law,omitempty"`
	Pii                         *float32 `json:"pii,omitempty"`
	Selfharm                    *float32 `json:"selfharm,omitempty"`
	Sexual                      *float32 `json:"sexual,omitempty"`
	ViolenceAndThreats          *float32 `json:"violence_and_threats,omitempty"`
}

ModerationLLMV1CategoryThresholds defines model for ModerationLLMV1CategoryThresholds.

type ModerationLLMV1Config

type ModerationLLMV1Config struct {
	// Action Action to take if any score is above the threshold for any category.
	Action                   *ModerationLLMAction               `json:"action,omitempty"`
	CustomCategoryThresholds *ModerationLLMV1CategoryThresholds `json:"custom_category_thresholds,omitempty"`

	// IgnoreOtherCategories If true, only evaluate categories in custom_category_thresholds; others are ignored.
	IgnoreOtherCategories *bool `json:"ignore_other_categories,omitempty"`

	// ModelName Override model name. Should be omitted in general.
	ModelName *string `json:"model_name,omitempty"`
}

ModerationLLMV1Config defines model for ModerationLLMV1Config.

type ModerationLLMV2CategoryThresholds

type ModerationLLMV2CategoryThresholds struct {
	Criminal              *float32 `json:"criminal,omitempty"`
	Dangerous             *float32 `json:"dangerous,omitempty"`
	Financial             *float32 `json:"financial,omitempty"`
	HateAndDiscrimination *float32 `json:"hate_and_discrimination,omitempty"`
	Health                *float32 `json:"health,omitempty"`
	Jailbreaking          *float32 `json:"jailbreaking,omitempty"`
	Law                   *float32 `json:"law,omitempty"`
	Pii                   *float32 `json:"pii,omitempty"`
	Selfharm              *float32 `json:"selfharm,omitempty"`
	Sexual                *float32 `json:"sexual,omitempty"`
	ViolenceAndThreats    *float32 `json:"violence_and_threats,omitempty"`
}

ModerationLLMV2CategoryThresholds defines model for ModerationLLMV2CategoryThresholds.

type ModerationLLMV2Config

type ModerationLLMV2Config struct {
	// Action Action to take if any score is above the threshold for any category.
	Action                   *ModerationLLMAction               `json:"action,omitempty"`
	CustomCategoryThresholds *ModerationLLMV2CategoryThresholds `json:"custom_category_thresholds,omitempty"`

	// IgnoreOtherCategories If true, only evaluate categories in custom_category_thresholds; others are ignored.
	IgnoreOtherCategories *bool `json:"ignore_other_categories,omitempty"`

	// ModelName Override model name. Should be omitted in general.
	ModelName *string `json:"model_name,omitempty"`
}

ModerationLLMV2Config defines model for ModerationLLMV2Config.

type ModerationObject

type ModerationObject struct {
	// Categories Moderation result thresholds
	Categories *map[string]bool `json:"categories,omitempty"`

	// CategoryScores Moderation result
	CategoryScores *map[string]float32 `json:"category_scores,omitempty"`
}

ModerationObject defines model for ModerationObject.

type ModerationResponse

type ModerationResponse struct {
	Id      string             `json:"id"`
	Model   string             `json:"model"`
	Results []ModerationObject `json:"results"`
}

ModerationResponse defines model for ModerationResponse.

type ModerationsV1ModerationsPostJSONRequestBody

type ModerationsV1ModerationsPostJSONRequestBody = ClassificationRequest

ModerationsV1ModerationsPostJSONRequestBody defines body for ModerationsV1ModerationsPost for application/json ContentType.

type ModerationsV1ModerationsPostResponse

type ModerationsV1ModerationsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ModerationResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseModerationsV1ModerationsPostResponse

func ParseModerationsV1ModerationsPostResponse(rsp *http.Response) (*ModerationsV1ModerationsPostResponse, error)

ParseModerationsV1ModerationsPostResponse parses an HTTP response from a ModerationsV1ModerationsPostWithResponse call

func (ModerationsV1ModerationsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ModerationsV1ModerationsPostResponse) GetBody

GetBody returns the raw response body bytes

func (ModerationsV1ModerationsPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ModerationsV1ModerationsPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ModerationsV1ModerationsPostResponse) Status

Status returns HTTPResponse.Status

func (ModerationsV1ModerationsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type NetworkEncodedInput

type NetworkEncodedInput struct {
	// B64payload The encoded payload
	B64payload string `json:"b64payload"`

	// Empty Whether the payload is empty
	Empty *bool `json:"empty,omitempty"`

	// EncodingOptions The encoding of the payload
	EncodingOptions *[]EncodedPayloadOptions `json:"encoding_options,omitempty"`
}

NetworkEncodedInput defines model for NetworkEncodedInput.

type OAuth2Token

type OAuth2Token struct {
	AccessToken  string                `json:"access_token"`
	ExpiresAt    *time.Time            `json:"expires_at,omitempty"`
	ExpiresIn    *int                  `json:"expires_in,omitempty"`
	RefreshToken *string               `json:"refresh_token,omitempty"`
	Scope        *string               `json:"scope,omitempty"`
	TokenType    *OAuth2TokenTokenType `json:"token_type,omitempty"`
}

OAuth2Token defines model for OAuth2Token.

type OAuth2TokenAuth

type OAuth2TokenAuth struct {
	Type  *OAuth2TokenAuthType `json:"type,omitempty"`
	Value string               `json:"value"`
}

OAuth2TokenAuth defines model for OAuth2TokenAuth.

type OAuth2TokenAuthType

type OAuth2TokenAuthType string

OAuth2TokenAuthType defines model for OAuth2TokenAuth.Type.

const (
	OAuth2TokenAuthTypeOauth2Token OAuth2TokenAuthType = "oauth2-token"
)

Defines values for OAuth2TokenAuthType.

func (OAuth2TokenAuthType) Valid

func (e OAuth2TokenAuthType) Valid() bool

Valid indicates whether the value is a known member of the OAuth2TokenAuthType enum.

type OAuth2TokenTokenType

type OAuth2TokenTokenType string

OAuth2TokenTokenType defines model for OAuth2Token.TokenType.

const (
	OAuth2TokenTokenTypeBearer OAuth2TokenTokenType = "Bearer"
)

Defines values for OAuth2TokenTokenType.

func (OAuth2TokenTokenType) Valid

func (e OAuth2TokenTokenType) Valid() bool

Valid indicates whether the value is a known member of the OAuth2TokenTokenType enum.

type OCRAsideTextBlock

type OCRAsideTextBlock struct {
	BottomRightX int `json:"bottom_right_x"`
	BottomRightY int `json:"bottom_right_y"`

	// Content Text/markdown/html content of this block
	Content  string                 `json:"content"`
	TopLeftX int                    `json:"top_left_x"`
	TopLeftY int                    `json:"top_left_y"`
	Type     *OCRAsideTextBlockType `json:"type,omitempty"`
}

OCRAsideTextBlock defines model for OCRAsideTextBlock.

type OCRAsideTextBlockType

type OCRAsideTextBlockType string

OCRAsideTextBlockType defines model for OCRAsideTextBlock.Type.

const (
	OCRAsideTextBlockTypeAsideText OCRAsideTextBlockType = "aside_text"
)

Defines values for OCRAsideTextBlockType.

func (OCRAsideTextBlockType) Valid

func (e OCRAsideTextBlockType) Valid() bool

Valid indicates whether the value is a known member of the OCRAsideTextBlockType enum.

type OCRCaptionBlock

type OCRCaptionBlock struct {
	BottomRightX int `json:"bottom_right_x"`
	BottomRightY int `json:"bottom_right_y"`

	// Content Text/markdown/html content of this block
	Content  string               `json:"content"`
	TopLeftX int                  `json:"top_left_x"`
	TopLeftY int                  `json:"top_left_y"`
	Type     *OCRCaptionBlockType `json:"type,omitempty"`
}

OCRCaptionBlock defines model for OCRCaptionBlock.

type OCRCaptionBlockType

type OCRCaptionBlockType string

OCRCaptionBlockType defines model for OCRCaptionBlock.Type.

const (
	OCRCaptionBlockTypeCaption OCRCaptionBlockType = "caption"
)

Defines values for OCRCaptionBlockType.

func (OCRCaptionBlockType) Valid

func (e OCRCaptionBlockType) Valid() bool

Valid indicates whether the value is a known member of the OCRCaptionBlockType enum.

type OCRCodeBlock

type OCRCodeBlock struct {
	BottomRightX int `json:"bottom_right_x"`
	BottomRightY int `json:"bottom_right_y"`

	// Content Text/markdown/html content of this block
	Content  string            `json:"content"`
	TopLeftX int               `json:"top_left_x"`
	TopLeftY int               `json:"top_left_y"`
	Type     *OCRCodeBlockType `json:"type,omitempty"`
}

OCRCodeBlock defines model for OCRCodeBlock.

type OCRCodeBlockType

type OCRCodeBlockType string

OCRCodeBlockType defines model for OCRCodeBlock.Type.

const (
	OCRCodeBlockTypeCode OCRCodeBlockType = "code"
)

Defines values for OCRCodeBlockType.

func (OCRCodeBlockType) Valid

func (e OCRCodeBlockType) Valid() bool

Valid indicates whether the value is a known member of the OCRCodeBlockType enum.

type OCRConfidenceScore

type OCRConfidenceScore struct {
	// Confidence Confidence score (0-1)
	Confidence float32 `json:"confidence"`

	// StartIndex Start index of the text in the page markdown string
	StartIndex int `json:"start_index"`

	// Text The word or text segment
	Text string `json:"text"`
}

OCRConfidenceScore Confidence score for a token or word in OCR output.

type OCREquationBlock

type OCREquationBlock struct {
	BottomRightX int `json:"bottom_right_x"`
	BottomRightY int `json:"bottom_right_y"`

	// Content Text/markdown/html content of this block
	Content  string                `json:"content"`
	TopLeftX int                   `json:"top_left_x"`
	TopLeftY int                   `json:"top_left_y"`
	Type     *OCREquationBlockType `json:"type,omitempty"`
}

OCREquationBlock defines model for OCREquationBlock.

type OCREquationBlockType

type OCREquationBlockType string

OCREquationBlockType defines model for OCREquationBlock.Type.

const (
	OCREquationBlockTypeEquation OCREquationBlockType = "equation"
)

Defines values for OCREquationBlockType.

func (OCREquationBlockType) Valid

func (e OCREquationBlockType) Valid() bool

Valid indicates whether the value is a known member of the OCREquationBlockType enum.

type OCRFooterBlock

type OCRFooterBlock struct {
	BottomRightX int `json:"bottom_right_x"`
	BottomRightY int `json:"bottom_right_y"`

	// Content Text/markdown/html content of this block
	Content  string              `json:"content"`
	TopLeftX int                 `json:"top_left_x"`
	TopLeftY int                 `json:"top_left_y"`
	Type     *OCRFooterBlockType `json:"type,omitempty"`
}

OCRFooterBlock defines model for OCRFooterBlock.

type OCRFooterBlockType

type OCRFooterBlockType string

OCRFooterBlockType defines model for OCRFooterBlock.Type.

const (
	OCRFooterBlockTypeFooter OCRFooterBlockType = "footer"
)

Defines values for OCRFooterBlockType.

func (OCRFooterBlockType) Valid

func (e OCRFooterBlockType) Valid() bool

Valid indicates whether the value is a known member of the OCRFooterBlockType enum.

type OCRHeaderBlock

type OCRHeaderBlock struct {
	BottomRightX int `json:"bottom_right_x"`
	BottomRightY int `json:"bottom_right_y"`

	// Content Text/markdown/html content of this block
	Content  string              `json:"content"`
	TopLeftX int                 `json:"top_left_x"`
	TopLeftY int                 `json:"top_left_y"`
	Type     *OCRHeaderBlockType `json:"type,omitempty"`
}

OCRHeaderBlock defines model for OCRHeaderBlock.

type OCRHeaderBlockType

type OCRHeaderBlockType string

OCRHeaderBlockType defines model for OCRHeaderBlock.Type.

const (
	OCRHeaderBlockTypeHeader OCRHeaderBlockType = "header"
)

Defines values for OCRHeaderBlockType.

func (OCRHeaderBlockType) Valid

func (e OCRHeaderBlockType) Valid() bool

Valid indicates whether the value is a known member of the OCRHeaderBlockType enum.

type OCRImageBlock

type OCRImageBlock struct {
	BottomRightX int `json:"bottom_right_x"`
	BottomRightY int `json:"bottom_right_y"`

	// Content Text/markdown/html content of this block
	Content string `json:"content"`

	// ImageId References the corresponding entry in OCRPageObject.images
	ImageId  string             `json:"image_id"`
	TopLeftX int                `json:"top_left_x"`
	TopLeftY int                `json:"top_left_y"`
	Type     *OCRImageBlockType `json:"type,omitempty"`
}

OCRImageBlock defines model for OCRImageBlock.

type OCRImageBlockType

type OCRImageBlockType string

OCRImageBlockType defines model for OCRImageBlock.Type.

const (
	OCRImageBlockTypeImage OCRImageBlockType = "image"
)

Defines values for OCRImageBlockType.

func (OCRImageBlockType) Valid

func (e OCRImageBlockType) Valid() bool

Valid indicates whether the value is a known member of the OCRImageBlockType enum.

type OCRImageObject

type OCRImageObject struct {
	// BottomRightX X coordinate of bottom-right corner of the extracted image
	BottomRightX *int `json:"bottom_right_x"`

	// BottomRightY Y coordinate of bottom-right corner of the extracted image
	BottomRightY *int `json:"bottom_right_y"`

	// Id Image ID for extracted image in a page
	Id string `json:"id"`

	// ImageAnnotation Annotation of the extracted image in json str
	ImageAnnotation *string `json:"image_annotation,omitempty"`

	// ImageBase64 Base64 string of the extracted image
	ImageBase64 *string `json:"image_base64,omitempty"`

	// TopLeftX X coordinate of top-left corner of the extracted image
	TopLeftX *int `json:"top_left_x"`

	// TopLeftY Y coordinate of top-left corner of the extracted image
	TopLeftY *int `json:"top_left_y"`
}

OCRImageObject defines model for OCRImageObject.

type OCRListBlock

type OCRListBlock struct {
	BottomRightX int `json:"bottom_right_x"`
	BottomRightY int `json:"bottom_right_y"`

	// Content Text/markdown/html content of this block
	Content  string            `json:"content"`
	TopLeftX int               `json:"top_left_x"`
	TopLeftY int               `json:"top_left_y"`
	Type     *OCRListBlockType `json:"type,omitempty"`
}

OCRListBlock defines model for OCRListBlock.

type OCRListBlockType

type OCRListBlockType string

OCRListBlockType defines model for OCRListBlock.Type.

const (
	OCRListBlockTypeList OCRListBlockType = "list"
)

Defines values for OCRListBlockType.

func (OCRListBlockType) Valid

func (e OCRListBlockType) Valid() bool

Valid indicates whether the value is a known member of the OCRListBlockType enum.

type OCRPageConfidenceScores

type OCRPageConfidenceScores struct {
	// AveragePageConfidenceScore Average confidence score for the page
	AveragePageConfidenceScore float32 `json:"average_page_confidence_score"`

	// MinimumPageConfidenceScore Minimum confidence score for the page
	MinimumPageConfidenceScore float32 `json:"minimum_page_confidence_score"`

	// WordConfidenceScores Word-level confidence scores (populated only for 'word' granularity)
	WordConfidenceScores *[]OCRConfidenceScore `json:"word_confidence_scores,omitempty"`
}

OCRPageConfidenceScores Confidence scores for an OCR page at various granularities.

type OCRPageDimensions

type OCRPageDimensions struct {
	// Dpi Dots per inch of the page-image
	Dpi int `json:"dpi"`

	// Height Height of the image in pixels
	Height int `json:"height"`

	// Width Width of the image in pixels
	Width int `json:"width"`
}

OCRPageDimensions defines model for OCRPageDimensions.

type OCRPageObject

type OCRPageObject struct {
	// Blocks Paragraph-level bounding boxes for all content blocks in reading order (populated when include_blocks is True)
	Blocks *[]OCRPageObject_Blocks_Item `json:"blocks,omitempty"`

	// ConfidenceScores Confidence scores for the OCR page (populated when confidence_scores_granularity is set)
	ConfidenceScores *OCRPageConfidenceScores `json:"confidence_scores,omitempty"`

	// Dimensions The dimensions of the PDF Page's screenshot image
	Dimensions *OCRPageDimensions `json:"dimensions"`

	// Footer Footer of the page
	Footer *string `json:"footer,omitempty"`

	// Header Header of the page
	Header *string `json:"header,omitempty"`

	// Hyperlinks List of all hyperlinks in the page
	Hyperlinks *[]string `json:"hyperlinks,omitempty"`

	// Images List of all extracted images in the page
	Images []OCRImageObject `json:"images"`

	// Index The page index in a pdf document starting from 0
	Index int `json:"index"`

	// Markdown The markdown string response of the page
	Markdown string `json:"markdown"`

	// Tables List of all extracted tables in the page
	Tables *[]OCRTableObject `json:"tables,omitempty"`
}

OCRPageObject defines model for OCRPageObject.

type OCRPageObject_Blocks_Item

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

OCRPageObject_Blocks_Item defines model for OCRPageObject.blocks.Item.

func (OCRPageObject_Blocks_Item) AsOCRAsideTextBlock

func (t OCRPageObject_Blocks_Item) AsOCRAsideTextBlock() (OCRAsideTextBlock, error)

AsOCRAsideTextBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRAsideTextBlock

func (OCRPageObject_Blocks_Item) AsOCRCaptionBlock

func (t OCRPageObject_Blocks_Item) AsOCRCaptionBlock() (OCRCaptionBlock, error)

AsOCRCaptionBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRCaptionBlock

func (OCRPageObject_Blocks_Item) AsOCRCodeBlock

func (t OCRPageObject_Blocks_Item) AsOCRCodeBlock() (OCRCodeBlock, error)

AsOCRCodeBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRCodeBlock

func (OCRPageObject_Blocks_Item) AsOCREquationBlock

func (t OCRPageObject_Blocks_Item) AsOCREquationBlock() (OCREquationBlock, error)

AsOCREquationBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCREquationBlock

func (OCRPageObject_Blocks_Item) AsOCRFooterBlock

func (t OCRPageObject_Blocks_Item) AsOCRFooterBlock() (OCRFooterBlock, error)

AsOCRFooterBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRFooterBlock

func (OCRPageObject_Blocks_Item) AsOCRHeaderBlock

func (t OCRPageObject_Blocks_Item) AsOCRHeaderBlock() (OCRHeaderBlock, error)

AsOCRHeaderBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRHeaderBlock

func (OCRPageObject_Blocks_Item) AsOCRImageBlock

func (t OCRPageObject_Blocks_Item) AsOCRImageBlock() (OCRImageBlock, error)

AsOCRImageBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRImageBlock

func (OCRPageObject_Blocks_Item) AsOCRListBlock

func (t OCRPageObject_Blocks_Item) AsOCRListBlock() (OCRListBlock, error)

AsOCRListBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRListBlock

func (OCRPageObject_Blocks_Item) AsOCRReferencesBlock

func (t OCRPageObject_Blocks_Item) AsOCRReferencesBlock() (OCRReferencesBlock, error)

AsOCRReferencesBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRReferencesBlock

func (OCRPageObject_Blocks_Item) AsOCRSignatureBlock

func (t OCRPageObject_Blocks_Item) AsOCRSignatureBlock() (OCRSignatureBlock, error)

AsOCRSignatureBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRSignatureBlock

func (OCRPageObject_Blocks_Item) AsOCRTableBlock

func (t OCRPageObject_Blocks_Item) AsOCRTableBlock() (OCRTableBlock, error)

AsOCRTableBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRTableBlock

func (OCRPageObject_Blocks_Item) AsOCRTextBlock

func (t OCRPageObject_Blocks_Item) AsOCRTextBlock() (OCRTextBlock, error)

AsOCRTextBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRTextBlock

func (OCRPageObject_Blocks_Item) AsOCRTitleBlock

func (t OCRPageObject_Blocks_Item) AsOCRTitleBlock() (OCRTitleBlock, error)

AsOCRTitleBlock returns the union data inside the OCRPageObject_Blocks_Item as a OCRTitleBlock

func (OCRPageObject_Blocks_Item) Discriminator

func (t OCRPageObject_Blocks_Item) Discriminator() (string, error)

func (*OCRPageObject_Blocks_Item) FromOCRAsideTextBlock

func (t *OCRPageObject_Blocks_Item) FromOCRAsideTextBlock(v OCRAsideTextBlock) error

FromOCRAsideTextBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRAsideTextBlock

func (*OCRPageObject_Blocks_Item) FromOCRCaptionBlock

func (t *OCRPageObject_Blocks_Item) FromOCRCaptionBlock(v OCRCaptionBlock) error

FromOCRCaptionBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRCaptionBlock

func (*OCRPageObject_Blocks_Item) FromOCRCodeBlock

func (t *OCRPageObject_Blocks_Item) FromOCRCodeBlock(v OCRCodeBlock) error

FromOCRCodeBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRCodeBlock

func (*OCRPageObject_Blocks_Item) FromOCREquationBlock

func (t *OCRPageObject_Blocks_Item) FromOCREquationBlock(v OCREquationBlock) error

FromOCREquationBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCREquationBlock

func (*OCRPageObject_Blocks_Item) FromOCRFooterBlock

func (t *OCRPageObject_Blocks_Item) FromOCRFooterBlock(v OCRFooterBlock) error

FromOCRFooterBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRFooterBlock

func (*OCRPageObject_Blocks_Item) FromOCRHeaderBlock

func (t *OCRPageObject_Blocks_Item) FromOCRHeaderBlock(v OCRHeaderBlock) error

FromOCRHeaderBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRHeaderBlock

func (*OCRPageObject_Blocks_Item) FromOCRImageBlock

func (t *OCRPageObject_Blocks_Item) FromOCRImageBlock(v OCRImageBlock) error

FromOCRImageBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRImageBlock

func (*OCRPageObject_Blocks_Item) FromOCRListBlock

func (t *OCRPageObject_Blocks_Item) FromOCRListBlock(v OCRListBlock) error

FromOCRListBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRListBlock

func (*OCRPageObject_Blocks_Item) FromOCRReferencesBlock

func (t *OCRPageObject_Blocks_Item) FromOCRReferencesBlock(v OCRReferencesBlock) error

FromOCRReferencesBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRReferencesBlock

func (*OCRPageObject_Blocks_Item) FromOCRSignatureBlock

func (t *OCRPageObject_Blocks_Item) FromOCRSignatureBlock(v OCRSignatureBlock) error

FromOCRSignatureBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRSignatureBlock

func (*OCRPageObject_Blocks_Item) FromOCRTableBlock

func (t *OCRPageObject_Blocks_Item) FromOCRTableBlock(v OCRTableBlock) error

FromOCRTableBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRTableBlock

func (*OCRPageObject_Blocks_Item) FromOCRTextBlock

func (t *OCRPageObject_Blocks_Item) FromOCRTextBlock(v OCRTextBlock) error

FromOCRTextBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRTextBlock

func (*OCRPageObject_Blocks_Item) FromOCRTitleBlock

func (t *OCRPageObject_Blocks_Item) FromOCRTitleBlock(v OCRTitleBlock) error

FromOCRTitleBlock overwrites any union data inside the OCRPageObject_Blocks_Item as the provided OCRTitleBlock

func (OCRPageObject_Blocks_Item) MarshalJSON

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

func (*OCRPageObject_Blocks_Item) MergeOCRAsideTextBlock

func (t *OCRPageObject_Blocks_Item) MergeOCRAsideTextBlock(v OCRAsideTextBlock) error

MergeOCRAsideTextBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRAsideTextBlock

func (*OCRPageObject_Blocks_Item) MergeOCRCaptionBlock

func (t *OCRPageObject_Blocks_Item) MergeOCRCaptionBlock(v OCRCaptionBlock) error

MergeOCRCaptionBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRCaptionBlock

func (*OCRPageObject_Blocks_Item) MergeOCRCodeBlock

func (t *OCRPageObject_Blocks_Item) MergeOCRCodeBlock(v OCRCodeBlock) error

MergeOCRCodeBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRCodeBlock

func (*OCRPageObject_Blocks_Item) MergeOCREquationBlock

func (t *OCRPageObject_Blocks_Item) MergeOCREquationBlock(v OCREquationBlock) error

MergeOCREquationBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCREquationBlock

func (*OCRPageObject_Blocks_Item) MergeOCRFooterBlock

func (t *OCRPageObject_Blocks_Item) MergeOCRFooterBlock(v OCRFooterBlock) error

MergeOCRFooterBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRFooterBlock

func (*OCRPageObject_Blocks_Item) MergeOCRHeaderBlock

func (t *OCRPageObject_Blocks_Item) MergeOCRHeaderBlock(v OCRHeaderBlock) error

MergeOCRHeaderBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRHeaderBlock

func (*OCRPageObject_Blocks_Item) MergeOCRImageBlock

func (t *OCRPageObject_Blocks_Item) MergeOCRImageBlock(v OCRImageBlock) error

MergeOCRImageBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRImageBlock

func (*OCRPageObject_Blocks_Item) MergeOCRListBlock

func (t *OCRPageObject_Blocks_Item) MergeOCRListBlock(v OCRListBlock) error

MergeOCRListBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRListBlock

func (*OCRPageObject_Blocks_Item) MergeOCRReferencesBlock

func (t *OCRPageObject_Blocks_Item) MergeOCRReferencesBlock(v OCRReferencesBlock) error

MergeOCRReferencesBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRReferencesBlock

func (*OCRPageObject_Blocks_Item) MergeOCRSignatureBlock

func (t *OCRPageObject_Blocks_Item) MergeOCRSignatureBlock(v OCRSignatureBlock) error

MergeOCRSignatureBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRSignatureBlock

func (*OCRPageObject_Blocks_Item) MergeOCRTableBlock

func (t *OCRPageObject_Blocks_Item) MergeOCRTableBlock(v OCRTableBlock) error

MergeOCRTableBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRTableBlock

func (*OCRPageObject_Blocks_Item) MergeOCRTextBlock

func (t *OCRPageObject_Blocks_Item) MergeOCRTextBlock(v OCRTextBlock) error

MergeOCRTextBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRTextBlock

func (*OCRPageObject_Blocks_Item) MergeOCRTitleBlock

func (t *OCRPageObject_Blocks_Item) MergeOCRTitleBlock(v OCRTitleBlock) error

MergeOCRTitleBlock performs a merge with any union data inside the OCRPageObject_Blocks_Item, using the provided OCRTitleBlock

func (*OCRPageObject_Blocks_Item) UnmarshalJSON

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

func (OCRPageObject_Blocks_Item) ValueByDiscriminator

func (t OCRPageObject_Blocks_Item) ValueByDiscriminator() (interface{}, error)

type OCRReferencesBlock

type OCRReferencesBlock struct {
	BottomRightX int `json:"bottom_right_x"`
	BottomRightY int `json:"bottom_right_y"`

	// Content Text/markdown/html content of this block
	Content  string                  `json:"content"`
	TopLeftX int                     `json:"top_left_x"`
	TopLeftY int                     `json:"top_left_y"`
	Type     *OCRReferencesBlockType `json:"type,omitempty"`
}

OCRReferencesBlock defines model for OCRReferencesBlock.

type OCRReferencesBlockType

type OCRReferencesBlockType string

OCRReferencesBlockType defines model for OCRReferencesBlock.Type.

const (
	OCRReferencesBlockTypeReferences OCRReferencesBlockType = "references"
)

Defines values for OCRReferencesBlockType.

func (OCRReferencesBlockType) Valid

func (e OCRReferencesBlockType) Valid() bool

Valid indicates whether the value is a known member of the OCRReferencesBlockType enum.

type OCRRequest

type OCRRequest struct {
	// BboxAnnotationFormat Structured output class for extracting useful information from each extracted bounding box / image from document. Only json_schema is valid for this field
	BboxAnnotationFormat *ResponseFormat `json:"bbox_annotation_format,omitempty"`

	// ConfidenceScoresGranularity Granularity for confidence scores: 'word' (per-word scores) or 'page' (aggregate only). Defaults to None (no confidence scores) to keep response payload small.
	ConfidenceScoresGranularity *OCRRequestConfidenceScoresGranularity `json:"confidence_scores_granularity,omitempty"`

	// Document Document to run OCR on
	Document OCRRequest_Document `json:"document"`

	// DocumentAnnotationFormat Structured output class for extracting useful information from the entire document. Only json_schema is valid for this field
	DocumentAnnotationFormat *ResponseFormat `json:"document_annotation_format,omitempty"`

	// DocumentAnnotationPrompt Optional prompt to guide the model in extracting structured output from the entire document. A document_annotation_format must be provided.
	DocumentAnnotationPrompt *string `json:"document_annotation_prompt,omitempty"`
	ExtractFooter            *bool   `json:"extract_footer,omitempty"`
	ExtractHeader            *bool   `json:"extract_header,omitempty"`
	Id                       *string `json:"id,omitempty"`

	// ImageLimit Max images to extract
	ImageLimit *int `json:"image_limit,omitempty"`

	// ImageMinSize Minimum height and width of image to extract
	ImageMinSize *int `json:"image_min_size,omitempty"`

	// IncludeBlocks Return paragraph-level bounding boxes for all content blocks in the response
	IncludeBlocks *bool `json:"include_blocks,omitempty"`

	// IncludeImageBase64 Include image URLs in response
	IncludeImageBase64 *bool   `json:"include_image_base64,omitempty"`
	Model              *string `json:"model"`

	// Pages Specific pages to process. Accepts a list of integers or a string of comma-separated numbers and ranges (e.g. '0,1,2' or '0-5' or '0,2-4'). Page numbers start from 0.
	Pages       *OCRRequest_Pages      `json:"pages,omitempty"`
	TableFormat *OCRRequestTableFormat `json:"table_format,omitempty"`
}

OCRRequest defines model for OCRRequest.

type OCRRequestConfidenceScoresGranularity

type OCRRequestConfidenceScoresGranularity string

OCRRequestConfidenceScoresGranularity defines model for OCRRequest.ConfidenceScoresGranularity.

const (
	OCRRequestConfidenceScoresGranularityPage OCRRequestConfidenceScoresGranularity = "page"
	OCRRequestConfidenceScoresGranularityWord OCRRequestConfidenceScoresGranularity = "word"
)

Defines values for OCRRequestConfidenceScoresGranularity.

func (OCRRequestConfidenceScoresGranularity) Valid

Valid indicates whether the value is a known member of the OCRRequestConfidenceScoresGranularity enum.

type OCRRequestPages0

type OCRRequestPages0 = string

OCRRequestPages0 defines model for OCRRequest.Pages.0.

type OCRRequestPages1

type OCRRequestPages1 = []int

OCRRequestPages1 defines model for OCRRequest.Pages.1.

type OCRRequestTableFormat

type OCRRequestTableFormat string

OCRRequestTableFormat defines model for OCRRequest.TableFormat.

const (
	OCRRequestTableFormatHtml     OCRRequestTableFormat = "html"
	OCRRequestTableFormatMarkdown OCRRequestTableFormat = "markdown"
)

Defines values for OCRRequestTableFormat.

func (OCRRequestTableFormat) Valid

func (e OCRRequestTableFormat) Valid() bool

Valid indicates whether the value is a known member of the OCRRequestTableFormat enum.

type OCRRequest_Document

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

OCRRequest_Document Document to run OCR on

func (OCRRequest_Document) AsDocumentURLChunk

func (t OCRRequest_Document) AsDocumentURLChunk() (DocumentURLChunk, error)

AsDocumentURLChunk returns the union data inside the OCRRequest_Document as a DocumentURLChunk

func (OCRRequest_Document) AsFileChunk

func (t OCRRequest_Document) AsFileChunk() (FileChunk, error)

AsFileChunk returns the union data inside the OCRRequest_Document as a FileChunk

func (OCRRequest_Document) AsImageURLChunk

func (t OCRRequest_Document) AsImageURLChunk() (ImageURLChunk, error)

AsImageURLChunk returns the union data inside the OCRRequest_Document as a ImageURLChunk

func (*OCRRequest_Document) FromDocumentURLChunk

func (t *OCRRequest_Document) FromDocumentURLChunk(v DocumentURLChunk) error

FromDocumentURLChunk overwrites any union data inside the OCRRequest_Document as the provided DocumentURLChunk

func (*OCRRequest_Document) FromFileChunk

func (t *OCRRequest_Document) FromFileChunk(v FileChunk) error

FromFileChunk overwrites any union data inside the OCRRequest_Document as the provided FileChunk

func (*OCRRequest_Document) FromImageURLChunk

func (t *OCRRequest_Document) FromImageURLChunk(v ImageURLChunk) error

FromImageURLChunk overwrites any union data inside the OCRRequest_Document as the provided ImageURLChunk

func (OCRRequest_Document) MarshalJSON

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

func (*OCRRequest_Document) MergeDocumentURLChunk

func (t *OCRRequest_Document) MergeDocumentURLChunk(v DocumentURLChunk) error

MergeDocumentURLChunk performs a merge with any union data inside the OCRRequest_Document, using the provided DocumentURLChunk

func (*OCRRequest_Document) MergeFileChunk

func (t *OCRRequest_Document) MergeFileChunk(v FileChunk) error

MergeFileChunk performs a merge with any union data inside the OCRRequest_Document, using the provided FileChunk

func (*OCRRequest_Document) MergeImageURLChunk

func (t *OCRRequest_Document) MergeImageURLChunk(v ImageURLChunk) error

MergeImageURLChunk performs a merge with any union data inside the OCRRequest_Document, using the provided ImageURLChunk

func (*OCRRequest_Document) UnmarshalJSON

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

type OCRRequest_Pages

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

OCRRequest_Pages Specific pages to process. Accepts a list of integers or a string of comma-separated numbers and ranges (e.g. '0,1,2' or '0-5' or '0,2-4'). Page numbers start from 0.

func (OCRRequest_Pages) AsOCRRequestPages0

func (t OCRRequest_Pages) AsOCRRequestPages0() (OCRRequestPages0, error)

AsOCRRequestPages0 returns the union data inside the OCRRequest_Pages as a OCRRequestPages0

func (OCRRequest_Pages) AsOCRRequestPages1

func (t OCRRequest_Pages) AsOCRRequestPages1() (OCRRequestPages1, error)

AsOCRRequestPages1 returns the union data inside the OCRRequest_Pages as a OCRRequestPages1

func (*OCRRequest_Pages) FromOCRRequestPages0

func (t *OCRRequest_Pages) FromOCRRequestPages0(v OCRRequestPages0) error

FromOCRRequestPages0 overwrites any union data inside the OCRRequest_Pages as the provided OCRRequestPages0

func (*OCRRequest_Pages) FromOCRRequestPages1

func (t *OCRRequest_Pages) FromOCRRequestPages1(v OCRRequestPages1) error

FromOCRRequestPages1 overwrites any union data inside the OCRRequest_Pages as the provided OCRRequestPages1

func (OCRRequest_Pages) MarshalJSON

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

func (*OCRRequest_Pages) MergeOCRRequestPages0

func (t *OCRRequest_Pages) MergeOCRRequestPages0(v OCRRequestPages0) error

MergeOCRRequestPages0 performs a merge with any union data inside the OCRRequest_Pages, using the provided OCRRequestPages0

func (*OCRRequest_Pages) MergeOCRRequestPages1

func (t *OCRRequest_Pages) MergeOCRRequestPages1(v OCRRequestPages1) error

MergeOCRRequestPages1 performs a merge with any union data inside the OCRRequest_Pages, using the provided OCRRequestPages1

func (*OCRRequest_Pages) UnmarshalJSON

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

type OCRResponse

type OCRResponse struct {
	// DocumentAnnotation Formatted response in the request_format if provided in json str
	DocumentAnnotation *string `json:"document_annotation,omitempty"`

	// Model The model used to generate the OCR.
	Model string `json:"model"`

	// Pages List of OCR info for pages.
	Pages []OCRPageObject `json:"pages"`

	// UsageInfo Usage info for the OCR request.
	UsageInfo OCRUsageInfo `json:"usage_info"`
}

OCRResponse defines model for OCRResponse.

type OCRSignatureBlock

type OCRSignatureBlock struct {
	BottomRightX int `json:"bottom_right_x"`
	BottomRightY int `json:"bottom_right_y"`

	// Content Text/markdown/html content of this block
	Content  string                 `json:"content"`
	TopLeftX int                    `json:"top_left_x"`
	TopLeftY int                    `json:"top_left_y"`
	Type     *OCRSignatureBlockType `json:"type,omitempty"`
}

OCRSignatureBlock Signature region. “content“ is the transcribed name when legible, else “""“.

type OCRSignatureBlockType

type OCRSignatureBlockType string

OCRSignatureBlockType defines model for OCRSignatureBlock.Type.

const (
	OCRSignatureBlockTypeSignature OCRSignatureBlockType = "signature"
)

Defines values for OCRSignatureBlockType.

func (OCRSignatureBlockType) Valid

func (e OCRSignatureBlockType) Valid() bool

Valid indicates whether the value is a known member of the OCRSignatureBlockType enum.

type OCRTableBlock

type OCRTableBlock struct {
	BottomRightX int `json:"bottom_right_x"`
	BottomRightY int `json:"bottom_right_y"`

	// Content Text/markdown/html content of this block
	Content string `json:"content"`

	// TableId References the corresponding entry in OCRPageObject.tables, when tables are extracted
	TableId  *string            `json:"table_id,omitempty"`
	TopLeftX int                `json:"top_left_x"`
	TopLeftY int                `json:"top_left_y"`
	Type     *OCRTableBlockType `json:"type,omitempty"`
}

OCRTableBlock defines model for OCRTableBlock.

type OCRTableBlockType

type OCRTableBlockType string

OCRTableBlockType defines model for OCRTableBlock.Type.

const (
	OCRTableBlockTypeTable OCRTableBlockType = "table"
)

Defines values for OCRTableBlockType.

func (OCRTableBlockType) Valid

func (e OCRTableBlockType) Valid() bool

Valid indicates whether the value is a known member of the OCRTableBlockType enum.

type OCRTableObject

type OCRTableObject struct {
	// Content Content of the table in the given format
	Content string `json:"content"`

	// Format Format of the table
	Format OCRTableObjectFormat `json:"format"`

	// Id Table ID for extracted table in a page
	Id string `json:"id"`

	// WordConfidenceScores Per-word confidence scores for the table content. Returned when confidence_scores_granularity is set to 'word'.
	WordConfidenceScores *[]OCRConfidenceScore `json:"word_confidence_scores,omitempty"`
}

OCRTableObject defines model for OCRTableObject.

type OCRTableObjectFormat

type OCRTableObjectFormat string

OCRTableObjectFormat Format of the table

const (
	OCRTableObjectFormatHtml     OCRTableObjectFormat = "html"
	OCRTableObjectFormatMarkdown OCRTableObjectFormat = "markdown"
)

Defines values for OCRTableObjectFormat.

func (OCRTableObjectFormat) Valid

func (e OCRTableObjectFormat) Valid() bool

Valid indicates whether the value is a known member of the OCRTableObjectFormat enum.

type OCRTextBlock

type OCRTextBlock struct {
	BottomRightX int `json:"bottom_right_x"`
	BottomRightY int `json:"bottom_right_y"`

	// Content Text/markdown/html content of this block
	Content  string            `json:"content"`
	TopLeftX int               `json:"top_left_x"`
	TopLeftY int               `json:"top_left_y"`
	Type     *OCRTextBlockType `json:"type,omitempty"`
}

OCRTextBlock defines model for OCRTextBlock.

type OCRTextBlockType

type OCRTextBlockType string

OCRTextBlockType defines model for OCRTextBlock.Type.

const (
	OCRTextBlockTypeText OCRTextBlockType = "text"
)

Defines values for OCRTextBlockType.

func (OCRTextBlockType) Valid

func (e OCRTextBlockType) Valid() bool

Valid indicates whether the value is a known member of the OCRTextBlockType enum.

type OCRTitleBlock

type OCRTitleBlock struct {
	BottomRightX int `json:"bottom_right_x"`
	BottomRightY int `json:"bottom_right_y"`

	// Content Text/markdown/html content of this block
	Content  string             `json:"content"`
	TopLeftX int                `json:"top_left_x"`
	TopLeftY int                `json:"top_left_y"`
	Type     *OCRTitleBlockType `json:"type,omitempty"`
}

OCRTitleBlock defines model for OCRTitleBlock.

type OCRTitleBlockType

type OCRTitleBlockType string

OCRTitleBlockType defines model for OCRTitleBlock.Type.

const (
	OCRTitleBlockTypeTitle OCRTitleBlockType = "title"
)

Defines values for OCRTitleBlockType.

func (OCRTitleBlockType) Valid

func (e OCRTitleBlockType) Valid() bool

Valid indicates whether the value is a known member of the OCRTitleBlockType enum.

type OCRUsageInfo

type OCRUsageInfo struct {
	// DocSizeBytes Document size in bytes
	DocSizeBytes *int `json:"doc_size_bytes,omitempty"`

	// PagesProcessed Number of pages processed
	PagesProcessed int `json:"pages_processed"`
}

OCRUsageInfo defines model for OCRUsageInfo.

type ObservabilityError

type ObservabilityError struct {
	Detail ObservabilityErrorDetail `json:"detail"`
}

ObservabilityError defines model for ObservabilityError.

type ObservabilityErrorCode

type ObservabilityErrorCode string

ObservabilityErrorCode defines model for ObservabilityErrorCode.

const (
	ObservabilityErrorCodeAGENTMISTRALAPIERROR                    ObservabilityErrorCode = "AGENT_MISTRAL_API_ERROR"
	ObservabilityErrorCodeAGENTNOTFOUND                           ObservabilityErrorCode = "AGENT_NOT_FOUND"
	ObservabilityErrorCodeAUTHFORBIDDEN                           ObservabilityErrorCode = "AUTH_FORBIDDEN"
	ObservabilityErrorCodeAUTHFORBIDDENNOTWORKSPACEADMIN          ObservabilityErrorCode = "AUTH_FORBIDDEN_NOT_WORKSPACE_ADMIN"
	ObservabilityErrorCodeAUTHFORBIDDENORGNOTWHITELISTED          ObservabilityErrorCode = "AUTH_FORBIDDEN_ORG_NOT_WHITELISTED"
	ObservabilityErrorCodeAUTHFORBIDDENROLENOTFOUND               ObservabilityErrorCode = "AUTH_FORBIDDEN_ROLE_NOT_FOUND"
	ObservabilityErrorCodeAUTHFORBIDDENWORKSPACENOTFOUND          ObservabilityErrorCode = "AUTH_FORBIDDEN_WORKSPACE_NOT_FOUND"
	ObservabilityErrorCodeAUTHUNAUTHORIZED                        ObservabilityErrorCode = "AUTH_UNAUTHORIZED"
	ObservabilityErrorCodeCAMPAIGNNOMATCHINGEVENTS                ObservabilityErrorCode = "CAMPAIGN_NO_MATCHING_EVENTS"
	ObservabilityErrorCodeCAMPAIGNNOTFOUND                        ObservabilityErrorCode = "CAMPAIGN_NOT_FOUND"
	ObservabilityErrorCodeDATABASEERROR                           ObservabilityErrorCode = "DATABASE_ERROR"
	ObservabilityErrorCodeDATABASEQUERYERROR                      ObservabilityErrorCode = "DATABASE_QUERY_ERROR"
	ObservabilityErrorCodeDATABASETIMEOUT                         ObservabilityErrorCode = "DATABASE_TIMEOUT"
	ObservabilityErrorCodeDATABASEUNAVAILABLE                     ObservabilityErrorCode = "DATABASE_UNAVAILABLE"
	ObservabilityErrorCodeDATASETNOTFOUND                         ObservabilityErrorCode = "DATASET_NOT_FOUND"
	ObservabilityErrorCodeDATASETRECORDFORMATERROR                ObservabilityErrorCode = "DATASET_RECORD_FORMAT_ERROR"
	ObservabilityErrorCodeDATASETRECORDNOTFOUND                   ObservabilityErrorCode = "DATASET_RECORD_NOT_FOUND"
	ObservabilityErrorCodeDATASETTASKNOTFOUND                     ObservabilityErrorCode = "DATASET_TASK_NOT_FOUND"
	ObservabilityErrorCodeEVALUATIONCURRENTLYRUNNING              ObservabilityErrorCode = "EVALUATION_CURRENTLY_RUNNING"
	ObservabilityErrorCodeEVALUATIONNOTFOUND                      ObservabilityErrorCode = "EVALUATION_NOT_FOUND"
	ObservabilityErrorCodeEVALUATIONRECORDNOTFOUND                ObservabilityErrorCode = "EVALUATION_RECORD_NOT_FOUND"
	ObservabilityErrorCodeEVALUATIONRUNNOTFOUND                   ObservabilityErrorCode = "EVALUATION_RUN_NOT_FOUND"
	ObservabilityErrorCodeEVALUATIONRUNTRANSITIONERROR            ObservabilityErrorCode = "EVALUATION_RUN_TRANSITION_ERROR"
	ObservabilityErrorCodeEVALUATIONRUNTRANSITIONISINVALID        ObservabilityErrorCode = "EVALUATION_RUN_TRANSITION_IS_INVALID"
	ObservabilityErrorCodeEVALUATIONRUNTRANSITIONISRUNNINGALREADY ObservabilityErrorCode = "EVALUATION_RUN_TRANSITION_IS_RUNNING_ALREADY"
	ObservabilityErrorCodeFEATURENOTSUPPORTED                     ObservabilityErrorCode = "FEATURE_NOT_SUPPORTED"
	ObservabilityErrorCodeFIELDSBADREQUEST                        ObservabilityErrorCode = "FIELDS_BAD_REQUEST"
	ObservabilityErrorCodeFIELDSNOTFOUND                          ObservabilityErrorCode = "FIELDS_NOT_FOUND"
	ObservabilityErrorCodeJUDGEALREADYHASNEWVERSION               ObservabilityErrorCode = "JUDGE_ALREADY_HAS_NEW_VERSION"
	ObservabilityErrorCodeJUDGECONVERSATIONFORMATERROR            ObservabilityErrorCode = "JUDGE_CONVERSATION_FORMAT_ERROR"
	ObservabilityErrorCodeJUDGEDIDNOTCHANGE                       ObservabilityErrorCode = "JUDGE_DID_NOT_CHANGE"
	ObservabilityErrorCodeJUDGEMISTRALAPIERROR                    ObservabilityErrorCode = "JUDGE_MISTRAL_API_ERROR"
	ObservabilityErrorCodeJUDGEMISTRALAPITIMEOUT                  ObservabilityErrorCode = "JUDGE_MISTRAL_API_TIMEOUT"
	ObservabilityErrorCodeJUDGENAMEALREADYEXISTS                  ObservabilityErrorCode = "JUDGE_NAME_ALREADY_EXISTS"
	ObservabilityErrorCodeJUDGENOTFOUND                           ObservabilityErrorCode = "JUDGE_NOT_FOUND"
	ObservabilityErrorCodeJUDGEUSEDINCAMPAIGNCANNOTBEUPDATED      ObservabilityErrorCode = "JUDGE_USED_IN_CAMPAIGN_CANNOT_BE_UPDATED"
	ObservabilityErrorCodeSEARCHBADREQUEST                        ObservabilityErrorCode = "SEARCH_BAD_REQUEST"
	ObservabilityErrorCodeSEARCHFILTERTOSQLCONVERSIONERROR        ObservabilityErrorCode = "SEARCH_FILTER_TO_SQL_CONVERSION_ERROR"
	ObservabilityErrorCodeSEARCHNOTFOUND                          ObservabilityErrorCode = "SEARCH_NOT_FOUND"
	ObservabilityErrorCodeSEARCHSERVICEUNAVAILABLE                ObservabilityErrorCode = "SEARCH_SERVICE_UNAVAILABLE"
	ObservabilityErrorCodeTEMPLATESYNTAXERROR                     ObservabilityErrorCode = "TEMPLATE_SYNTAX_ERROR"
	ObservabilityErrorCodeUNKNOWNERROR                            ObservabilityErrorCode = "UNKNOWN_ERROR"
	ObservabilityErrorCodeVALIDATIONERROR                         ObservabilityErrorCode = "VALIDATION_ERROR"
)

Defines values for ObservabilityErrorCode.

func (ObservabilityErrorCode) Valid

func (e ObservabilityErrorCode) Valid() bool

Valid indicates whether the value is a known member of the ObservabilityErrorCode enum.

type ObservabilityErrorDetail

type ObservabilityErrorDetail struct {
	ErrorCode *ObservabilityErrorCode `json:"error_code"`
	Message   string                  `json:"message"`
}

ObservabilityErrorDetail defines model for ObservabilityErrorDetail.

type OcrV1OcrPostJSONRequestBody

type OcrV1OcrPostJSONRequestBody = OCRRequest

OcrV1OcrPostJSONRequestBody defines body for OcrV1OcrPost for application/json ContentType.

type OcrV1OcrPostResponse

type OcrV1OcrPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OCRResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseOcrV1OcrPostResponse

func ParseOcrV1OcrPostResponse(rsp *http.Response) (*OcrV1OcrPostResponse, error)

ParseOcrV1OcrPostResponse parses an HTTP response from a OcrV1OcrPostWithResponse call

func (OcrV1OcrPostResponse) ContentType

func (r OcrV1OcrPostResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OcrV1OcrPostResponse) GetBody

func (r OcrV1OcrPostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (OcrV1OcrPostResponse) GetJSON200

func (r OcrV1OcrPostResponse) GetJSON200() *OCRResponse

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OcrV1OcrPostResponse) GetJSON422

func (r OcrV1OcrPostResponse) GetJSON422() *HTTPValidationError

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (OcrV1OcrPostResponse) Status

func (r OcrV1OcrPostResponse) Status() string

Status returns HTTPResponse.Status

func (OcrV1OcrPostResponse) StatusCode

func (r OcrV1OcrPostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type OutboundAuthenticationType

type OutboundAuthenticationType string

OutboundAuthenticationType defines model for OutboundAuthenticationType.

const (
	OutboundAuthenticationTypeBearer OutboundAuthenticationType = "bearer"
	OutboundAuthenticationTypeNone   OutboundAuthenticationType = "none"
	OutboundAuthenticationTypeOauth2 OutboundAuthenticationType = "oauth2"
)

Defines values for OutboundAuthenticationType.

func (OutboundAuthenticationType) Valid

func (e OutboundAuthenticationType) Valid() bool

Valid indicates whether the value is a known member of the OutboundAuthenticationType enum.

type OutputContentChunks

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

OutputContentChunks defines model for OutputContentChunks.

func (OutputContentChunks) AsDocumentURLChunk

func (t OutputContentChunks) AsDocumentURLChunk() (DocumentURLChunk, error)

AsDocumentURLChunk returns the union data inside the OutputContentChunks as a DocumentURLChunk

func (OutputContentChunks) AsImageURLChunk

func (t OutputContentChunks) AsImageURLChunk() (ImageURLChunk, error)

AsImageURLChunk returns the union data inside the OutputContentChunks as a ImageURLChunk

func (OutputContentChunks) AsTextChunk

func (t OutputContentChunks) AsTextChunk() (TextChunk, error)

AsTextChunk returns the union data inside the OutputContentChunks as a TextChunk

func (OutputContentChunks) AsThinkChunk

func (t OutputContentChunks) AsThinkChunk() (ThinkChunk, error)

AsThinkChunk returns the union data inside the OutputContentChunks as a ThinkChunk

func (OutputContentChunks) AsToolFileChunk

func (t OutputContentChunks) AsToolFileChunk() (ToolFileChunk, error)

AsToolFileChunk returns the union data inside the OutputContentChunks as a ToolFileChunk

func (OutputContentChunks) AsToolReferenceChunk

func (t OutputContentChunks) AsToolReferenceChunk() (ToolReferenceChunk, error)

AsToolReferenceChunk returns the union data inside the OutputContentChunks as a ToolReferenceChunk

func (*OutputContentChunks) FromDocumentURLChunk

func (t *OutputContentChunks) FromDocumentURLChunk(v DocumentURLChunk) error

FromDocumentURLChunk overwrites any union data inside the OutputContentChunks as the provided DocumentURLChunk

func (*OutputContentChunks) FromImageURLChunk

func (t *OutputContentChunks) FromImageURLChunk(v ImageURLChunk) error

FromImageURLChunk overwrites any union data inside the OutputContentChunks as the provided ImageURLChunk

func (*OutputContentChunks) FromTextChunk

func (t *OutputContentChunks) FromTextChunk(v TextChunk) error

FromTextChunk overwrites any union data inside the OutputContentChunks as the provided TextChunk

func (*OutputContentChunks) FromThinkChunk

func (t *OutputContentChunks) FromThinkChunk(v ThinkChunk) error

FromThinkChunk overwrites any union data inside the OutputContentChunks as the provided ThinkChunk

func (*OutputContentChunks) FromToolFileChunk

func (t *OutputContentChunks) FromToolFileChunk(v ToolFileChunk) error

FromToolFileChunk overwrites any union data inside the OutputContentChunks as the provided ToolFileChunk

func (*OutputContentChunks) FromToolReferenceChunk

func (t *OutputContentChunks) FromToolReferenceChunk(v ToolReferenceChunk) error

FromToolReferenceChunk overwrites any union data inside the OutputContentChunks as the provided ToolReferenceChunk

func (OutputContentChunks) MarshalJSON

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

func (*OutputContentChunks) MergeDocumentURLChunk

func (t *OutputContentChunks) MergeDocumentURLChunk(v DocumentURLChunk) error

MergeDocumentURLChunk performs a merge with any union data inside the OutputContentChunks, using the provided DocumentURLChunk

func (*OutputContentChunks) MergeImageURLChunk

func (t *OutputContentChunks) MergeImageURLChunk(v ImageURLChunk) error

MergeImageURLChunk performs a merge with any union data inside the OutputContentChunks, using the provided ImageURLChunk

func (*OutputContentChunks) MergeTextChunk

func (t *OutputContentChunks) MergeTextChunk(v TextChunk) error

MergeTextChunk performs a merge with any union data inside the OutputContentChunks, using the provided TextChunk

func (*OutputContentChunks) MergeThinkChunk

func (t *OutputContentChunks) MergeThinkChunk(v ThinkChunk) error

MergeThinkChunk performs a merge with any union data inside the OutputContentChunks, using the provided ThinkChunk

func (*OutputContentChunks) MergeToolFileChunk

func (t *OutputContentChunks) MergeToolFileChunk(v ToolFileChunk) error

MergeToolFileChunk performs a merge with any union data inside the OutputContentChunks, using the provided ToolFileChunk

func (*OutputContentChunks) MergeToolReferenceChunk

func (t *OutputContentChunks) MergeToolReferenceChunk(v ToolReferenceChunk) error

MergeToolReferenceChunk performs a merge with any union data inside the OutputContentChunks, using the provided ToolReferenceChunk

func (*OutputContentChunks) UnmarshalJSON

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

type PaginatedConnectors

type PaginatedConnectors struct {
	Items      []Connector        `json:"items"`
	Pagination PaginationResponse `json:"pagination"`
}

PaginatedConnectors defines model for PaginatedConnectors.

type PaginatedResultCampaignPreview

type PaginatedResultCampaignPreview struct {
	Count    int                `json:"count"`
	Next     *string            `json:"next,omitempty"`
	Previous *string            `json:"previous,omitempty"`
	Results  *[]CampaignPreview `json:"results,omitempty"`
}

PaginatedResultCampaignPreview defines model for PaginatedResult_CampaignPreview_.

type PaginatedResultChatCompletionEventPreview

type PaginatedResultChatCompletionEventPreview struct {
	Count    int                           `json:"count"`
	Next     *string                       `json:"next,omitempty"`
	Previous *string                       `json:"previous,omitempty"`
	Results  *[]ChatCompletionEventPreview `json:"results,omitempty"`
}

PaginatedResultChatCompletionEventPreview defines model for PaginatedResult_ChatCompletionEventPreview_.

type PaginatedResultDatasetImportTask

type PaginatedResultDatasetImportTask struct {
	Count    int                  `json:"count"`
	Next     *string              `json:"next,omitempty"`
	Previous *string              `json:"previous,omitempty"`
	Results  *[]DatasetImportTask `json:"results,omitempty"`
}

PaginatedResultDatasetImportTask defines model for PaginatedResult_DatasetImportTask_.

type PaginatedResultDatasetPreview

type PaginatedResultDatasetPreview struct {
	Count    int               `json:"count"`
	Next     *string           `json:"next,omitempty"`
	Previous *string           `json:"previous,omitempty"`
	Results  *[]DatasetPreview `json:"results,omitempty"`
}

PaginatedResultDatasetPreview defines model for PaginatedResult_DatasetPreview_.

type PaginatedResultDatasetRecord

type PaginatedResultDatasetRecord struct {
	Count    int              `json:"count"`
	Next     *string          `json:"next,omitempty"`
	Previous *string          `json:"previous,omitempty"`
	Results  *[]DatasetRecord `json:"results,omitempty"`
}

PaginatedResultDatasetRecord defines model for PaginatedResult_DatasetRecord_.

type PaginatedResultJudgePreview

type PaginatedResultJudgePreview struct {
	Count    int             `json:"count"`
	Next     *string         `json:"next,omitempty"`
	Previous *string         `json:"previous,omitempty"`
	Results  *[]JudgePreview `json:"results,omitempty"`
}

PaginatedResultJudgePreview defines model for PaginatedResult_JudgePreview_.

type PaginationInfo

type PaginationInfo struct {
	CurrentPage int  `json:"current_page"`
	HasMore     bool `json:"has_more"`
	PageSize    int  `json:"page_size"`
	TotalItems  int  `json:"total_items"`
	TotalPages  int  `json:"total_pages"`
}

PaginationInfo defines model for PaginationInfo.

type PaginationResponse

type PaginationResponse struct {
	NextCursor *string `json:"next_cursor,omitempty"`
	PageSize   int     `json:"page_size"`
}

PaginationResponse defines model for PaginationResponse.

type PatchDatasetInSchema

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

PatchDatasetInSchema defines model for PatchDatasetInSchema.

type PostCampaignInSchema

type PostCampaignInSchema struct {
	Description  string             `json:"description"`
	JudgeId      openapi_types.UUID `json:"judge_id"`
	MaxNbEvents  int                `json:"max_nb_events"`
	Name         string             `json:"name"`
	SearchParams FilterPayload      `json:"search_params"`
}

PostCampaignInSchema defines model for PostCampaignInSchema.

type PostChatCompletionEventJudgingInSchema

type PostChatCompletionEventJudgingInSchema struct {
	JudgeDefinition PostJudgeInSchema `json:"judge_definition"`
}

PostChatCompletionEventJudgingInSchema defines model for PostChatCompletionEventJudgingInSchema.

type PostDatasetImportFromCampaignInSchema

type PostDatasetImportFromCampaignInSchema struct {
	CampaignId openapi_types.UUID `json:"campaign_id"`
}

PostDatasetImportFromCampaignInSchema defines model for PostDatasetImportFromCampaignInSchema.

type PostDatasetImportFromDatasetInSchema

type PostDatasetImportFromDatasetInSchema struct {
	DatasetRecordIds []openapi_types.UUID `json:"dataset_record_ids"`
}

PostDatasetImportFromDatasetInSchema defines model for PostDatasetImportFromDatasetInSchema.

type PostDatasetImportFromExplorerInSchema

type PostDatasetImportFromExplorerInSchema struct {
	CompletionEventIds []string `json:"completion_event_ids"`
}

PostDatasetImportFromExplorerInSchema defines model for PostDatasetImportFromExplorerInSchema.

type PostDatasetImportFromFileInSchema

type PostDatasetImportFromFileInSchema struct {
	FileId string `json:"file_id"`
}

PostDatasetImportFromFileInSchema defines model for PostDatasetImportFromFileInSchema.

type PostDatasetImportFromPlaygroundInSchema

type PostDatasetImportFromPlaygroundInSchema struct {
	ConversationIds []string `json:"conversation_ids"`
}

PostDatasetImportFromPlaygroundInSchema defines model for PostDatasetImportFromPlaygroundInSchema.

type PostDatasetInSchema

type PostDatasetInSchema struct {
	Description string `json:"description"`
	Name        string `json:"name"`
}

PostDatasetInSchema defines model for PostDatasetInSchema.

type PostDatasetRecordInSchema

type PostDatasetRecordInSchema struct {
	Payload    ConversationPayload    `json:"payload"`
	Properties map[string]interface{} `json:"properties"`
}

PostDatasetRecordInSchema defines model for PostDatasetRecordInSchema.

type PostDatasetRecordJudgingInSchema

type PostDatasetRecordJudgingInSchema struct {
	JudgeDefinition PostJudgeInSchema `json:"judge_definition"`
}

PostDatasetRecordJudgingInSchema defines model for PostDatasetRecordJudgingInSchema.

type PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostJSONRequestBody

type PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostJSONRequestBody = PostDatasetImportFromCampaignInSchema

PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostJSONRequestBody defines body for PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPost for application/json ContentType.

type PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse

type PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *DatasetImportTask
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParsePostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse

func ParsePostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse(rsp *http.Response) (*PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse, error)

ParsePostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse parses an HTTP response from a PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostWithResponse call

func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetBody

GetBody returns the raw response body bytes

func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) Status

Status returns HTTPResponse.Status

func (PostDatasetRecordsFromCampaignV1ObservabilityDatasetsDatasetIdImportsFromCampaignPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostJSONRequestBody

type PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostJSONRequestBody = PostDatasetImportFromDatasetInSchema

PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostJSONRequestBody defines body for PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPost for application/json ContentType.

type PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse

type PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *DatasetImportTask
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParsePostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse

func ParsePostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse(rsp *http.Response) (*PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse, error)

ParsePostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse parses an HTTP response from a PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostWithResponse call

func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetBody

GetBody returns the raw response body bytes

func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) Status

Status returns HTTPResponse.Status

func (PostDatasetRecordsFromDatasetV1ObservabilityDatasetsDatasetIdImportsFromDatasetPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostJSONRequestBody

type PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostJSONRequestBody = PostDatasetImportFromExplorerInSchema

PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostJSONRequestBody defines body for PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPost for application/json ContentType.

type PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse

type PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *DatasetImportTask
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParsePostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse

func ParsePostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse(rsp *http.Response) (*PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse, error)

ParsePostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse parses an HTTP response from a PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostWithResponse call

func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetBody

GetBody returns the raw response body bytes

func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) Status

Status returns HTTPResponse.Status

func (PostDatasetRecordsFromExplorerV1ObservabilityDatasetsDatasetIdImportsFromExplorerPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostJSONRequestBody

type PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostJSONRequestBody = PostDatasetImportFromFileInSchema

PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostJSONRequestBody defines body for PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePost for application/json ContentType.

type PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse

type PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *DatasetImportTask
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParsePostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse

func ParsePostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse(rsp *http.Response) (*PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse, error)

ParsePostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse parses an HTTP response from a PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostWithResponse call

func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetBody

GetBody returns the raw response body bytes

func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) Status

Status returns HTTPResponse.Status

func (PostDatasetRecordsFromFileV1ObservabilityDatasetsDatasetIdImportsFromFilePostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostJSONRequestBody

type PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostJSONRequestBody = PostDatasetImportFromPlaygroundInSchema

PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostJSONRequestBody defines body for PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPost for application/json ContentType.

type PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse

type PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *DatasetImportTask
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParsePostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse

func ParsePostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse(rsp *http.Response) (*PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse, error)

ParsePostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse parses an HTTP response from a PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostWithResponse call

func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetBody

GetBody returns the raw response body bytes

func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) Status

Status returns HTTPResponse.Status

func (PostDatasetRecordsFromPlaygroundV1ObservabilityDatasetsDatasetIdImportsFromPlaygroundPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostJudgeInSchema

type PostJudgeInSchema struct {
	Description  string                   `json:"description"`
	Instructions string                   `json:"instructions"`
	ModelName    string                   `json:"model_name"`
	Name         string                   `json:"name"`
	Output       PostJudgeInSchema_Output `json:"output"`
	Tools        []string                 `json:"tools"`
}

PostJudgeInSchema defines model for PostJudgeInSchema.

type PostJudgeInSchema_Output

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

PostJudgeInSchema_Output defines model for PostJudgeInSchema.Output.

func (PostJudgeInSchema_Output) AsJudgeClassificationOutput

func (t PostJudgeInSchema_Output) AsJudgeClassificationOutput() (JudgeClassificationOutput, error)

AsJudgeClassificationOutput returns the union data inside the PostJudgeInSchema_Output as a JudgeClassificationOutput

func (PostJudgeInSchema_Output) AsJudgeRegressionOutput

func (t PostJudgeInSchema_Output) AsJudgeRegressionOutput() (JudgeRegressionOutput, error)

AsJudgeRegressionOutput returns the union data inside the PostJudgeInSchema_Output as a JudgeRegressionOutput

func (PostJudgeInSchema_Output) Discriminator

func (t PostJudgeInSchema_Output) Discriminator() (string, error)

func (*PostJudgeInSchema_Output) FromJudgeClassificationOutput

func (t *PostJudgeInSchema_Output) FromJudgeClassificationOutput(v JudgeClassificationOutput) error

FromJudgeClassificationOutput overwrites any union data inside the PostJudgeInSchema_Output as the provided JudgeClassificationOutput

func (*PostJudgeInSchema_Output) FromJudgeRegressionOutput

func (t *PostJudgeInSchema_Output) FromJudgeRegressionOutput(v JudgeRegressionOutput) error

FromJudgeRegressionOutput overwrites any union data inside the PostJudgeInSchema_Output as the provided JudgeRegressionOutput

func (PostJudgeInSchema_Output) MarshalJSON

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

func (*PostJudgeInSchema_Output) MergeJudgeClassificationOutput

func (t *PostJudgeInSchema_Output) MergeJudgeClassificationOutput(v JudgeClassificationOutput) error

MergeJudgeClassificationOutput performs a merge with any union data inside the PostJudgeInSchema_Output, using the provided JudgeClassificationOutput

func (*PostJudgeInSchema_Output) MergeJudgeRegressionOutput

func (t *PostJudgeInSchema_Output) MergeJudgeRegressionOutput(v JudgeRegressionOutput) error

MergeJudgeRegressionOutput performs a merge with any union data inside the PostJudgeInSchema_Output, using the provided JudgeRegressionOutput

func (*PostJudgeInSchema_Output) UnmarshalJSON

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

func (PostJudgeInSchema_Output) ValueByDiscriminator

func (t PostJudgeInSchema_Output) ValueByDiscriminator() (interface{}, error)

type Prediction

type Prediction struct {
	Content *string         `json:"content,omitempty"`
	Type    *PredictionType `json:"type,omitempty"`
}

Prediction Enable users to specify an expected completion, optimizing response times by leveraging known or predictable content.

type PredictionType

type PredictionType string

PredictionType defines model for Prediction.Type.

const (
	PredictionTypeContent PredictionType = "content"
)

Defines values for PredictionType.

func (PredictionType) Valid

func (e PredictionType) Valid() bool

Valid indicates whether the value is a known member of the PredictionType enum.

type ProcessStatus

type ProcessStatus string

ProcessStatus defines model for ProcessStatus.

const (
	ProcessStatusDone               ProcessStatus = "done"
	ProcessStatusError              ProcessStatus = "error"
	ProcessStatusInProgress         ProcessStatus = "in_progress"
	ProcessStatusMissingContent     ProcessStatus = "missing_content"
	ProcessStatusNoop               ProcessStatus = "noop"
	ProcessStatusSelfManaged        ProcessStatus = "self_managed"
	ProcessStatusTodo               ProcessStatus = "todo"
	ProcessStatusWaitingForCapacity ProcessStatus = "waiting_for_capacity"
)

Defines values for ProcessStatus.

func (ProcessStatus) Valid

func (e ProcessStatus) Valid() bool

Valid indicates whether the value is a known member of the ProcessStatus enum.

type ProcessingStatusOut

type ProcessingStatusOut struct {
	DocumentId       openapi_types.UUID `json:"document_id"`
	ProcessStatus    ProcessStatus      `json:"process_status"`
	ProcessingStatus *string            `json:"processing_status,omitempty"`
}

ProcessingStatusOut defines model for ProcessingStatusOut.

type PromptTokensDetails

type PromptTokensDetails struct {
	CachedTokens *int `json:"cached_tokens,omitempty"`
}

PromptTokensDetails Token usage details for the prompt.

type PublicAuthenticationMethod

type PublicAuthenticationMethod struct {
	Headers    *[]ConnectorAuthenticationHeader `json:"headers,omitempty"`
	MethodType OutboundAuthenticationType       `json:"method_type"`
}

PublicAuthenticationMethod Public view of an authentication method, without secrets.

type PutDatasetRecordPayloadInSchema

type PutDatasetRecordPayloadInSchema struct {
	Payload ConversationPayload `json:"payload"`
}

PutDatasetRecordPayloadInSchema defines model for PutDatasetRecordPayloadInSchema.

type PutDatasetRecordPropertiesInSchema

type PutDatasetRecordPropertiesInSchema struct {
	Properties map[string]interface{} `json:"properties"`
}

PutDatasetRecordPropertiesInSchema defines model for PutDatasetRecordPropertiesInSchema.

type PutJudgeInSchema

type PutJudgeInSchema struct {
	Description  string                  `json:"description"`
	Instructions string                  `json:"instructions"`
	ModelName    string                  `json:"model_name"`
	Name         string                  `json:"name"`
	Output       PutJudgeInSchema_Output `json:"output"`
	Tools        []string                `json:"tools"`
}

PutJudgeInSchema defines model for PutJudgeInSchema.

type PutJudgeInSchema_Output

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

PutJudgeInSchema_Output defines model for PutJudgeInSchema.Output.

func (PutJudgeInSchema_Output) AsJudgeClassificationOutput

func (t PutJudgeInSchema_Output) AsJudgeClassificationOutput() (JudgeClassificationOutput, error)

AsJudgeClassificationOutput returns the union data inside the PutJudgeInSchema_Output as a JudgeClassificationOutput

func (PutJudgeInSchema_Output) AsJudgeRegressionOutput

func (t PutJudgeInSchema_Output) AsJudgeRegressionOutput() (JudgeRegressionOutput, error)

AsJudgeRegressionOutput returns the union data inside the PutJudgeInSchema_Output as a JudgeRegressionOutput

func (PutJudgeInSchema_Output) Discriminator

func (t PutJudgeInSchema_Output) Discriminator() (string, error)

func (*PutJudgeInSchema_Output) FromJudgeClassificationOutput

func (t *PutJudgeInSchema_Output) FromJudgeClassificationOutput(v JudgeClassificationOutput) error

FromJudgeClassificationOutput overwrites any union data inside the PutJudgeInSchema_Output as the provided JudgeClassificationOutput

func (*PutJudgeInSchema_Output) FromJudgeRegressionOutput

func (t *PutJudgeInSchema_Output) FromJudgeRegressionOutput(v JudgeRegressionOutput) error

FromJudgeRegressionOutput overwrites any union data inside the PutJudgeInSchema_Output as the provided JudgeRegressionOutput

func (PutJudgeInSchema_Output) MarshalJSON

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

func (*PutJudgeInSchema_Output) MergeJudgeClassificationOutput

func (t *PutJudgeInSchema_Output) MergeJudgeClassificationOutput(v JudgeClassificationOutput) error

MergeJudgeClassificationOutput performs a merge with any union data inside the PutJudgeInSchema_Output, using the provided JudgeClassificationOutput

func (*PutJudgeInSchema_Output) MergeJudgeRegressionOutput

func (t *PutJudgeInSchema_Output) MergeJudgeRegressionOutput(v JudgeRegressionOutput) error

MergeJudgeRegressionOutput performs a merge with any union data inside the PutJudgeInSchema_Output, using the provided JudgeRegressionOutput

func (*PutJudgeInSchema_Output) UnmarshalJSON

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

func (PutJudgeInSchema_Output) ValueByDiscriminator

func (t PutJudgeInSchema_Output) ValueByDiscriminator() (interface{}, error)

type QueryDefinition

type QueryDefinition struct {
	// Description Description of the query
	Description *string `json:"description,omitempty"`

	// InputSchema Input JSON schema of the query's model
	InputSchema map[string]interface{} `json:"input_schema"`

	// Name Name of the query
	Name string `json:"name"`

	// OutputSchema Output JSON schema of the query's model
	OutputSchema *map[string]interface{} `json:"output_schema,omitempty"`
}

QueryDefinition defines model for QueryDefinition.

type QueryInvocationBody

type QueryInvocationBody struct {
	// Input Input data for the query, matching its schema
	Input *QueryInvocationBody_Input `json:"input,omitempty"`

	// Name The name of the query to request
	Name string `json:"name"`
}

QueryInvocationBody defines model for QueryInvocationBody.

type QueryInvocationBodyInput1

type QueryInvocationBodyInput1 map[string]interface{}

QueryInvocationBodyInput1 defines model for QueryInvocationBody.Input.1.

type QueryInvocationBody_Input

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

QueryInvocationBody_Input Input data for the query, matching its schema

func (QueryInvocationBody_Input) AsNetworkEncodedInput

func (t QueryInvocationBody_Input) AsNetworkEncodedInput() (NetworkEncodedInput, error)

AsNetworkEncodedInput returns the union data inside the QueryInvocationBody_Input as a NetworkEncodedInput

func (QueryInvocationBody_Input) AsQueryInvocationBodyInput1

func (t QueryInvocationBody_Input) AsQueryInvocationBodyInput1() (QueryInvocationBodyInput1, error)

AsQueryInvocationBodyInput1 returns the union data inside the QueryInvocationBody_Input as a QueryInvocationBodyInput1

func (*QueryInvocationBody_Input) FromNetworkEncodedInput

func (t *QueryInvocationBody_Input) FromNetworkEncodedInput(v NetworkEncodedInput) error

FromNetworkEncodedInput overwrites any union data inside the QueryInvocationBody_Input as the provided NetworkEncodedInput

func (*QueryInvocationBody_Input) FromQueryInvocationBodyInput1

func (t *QueryInvocationBody_Input) FromQueryInvocationBodyInput1(v QueryInvocationBodyInput1) error

FromQueryInvocationBodyInput1 overwrites any union data inside the QueryInvocationBody_Input as the provided QueryInvocationBodyInput1

func (QueryInvocationBody_Input) MarshalJSON

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

func (*QueryInvocationBody_Input) MergeNetworkEncodedInput

func (t *QueryInvocationBody_Input) MergeNetworkEncodedInput(v NetworkEncodedInput) error

MergeNetworkEncodedInput performs a merge with any union data inside the QueryInvocationBody_Input, using the provided NetworkEncodedInput

func (*QueryInvocationBody_Input) MergeQueryInvocationBodyInput1

func (t *QueryInvocationBody_Input) MergeQueryInvocationBodyInput1(v QueryInvocationBodyInput1) error

MergeQueryInvocationBodyInput1 performs a merge with any union data inside the QueryInvocationBody_Input, using the provided QueryInvocationBodyInput1

func (*QueryInvocationBody_Input) UnmarshalJSON

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

type QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostJSONRequestBody

type QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostJSONRequestBody = QueryInvocationBody

QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostJSONRequestBody defines body for QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPost for application/json ContentType.

type QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse

type QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *QueryWorkflowResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse

func ParseQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse(rsp *http.Response) (*QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse, error)

ParseQueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse parses an HTTP response from a QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostWithResponse call

func (QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) GetBody

GetBody returns the raw response body bytes

func (QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) Status

Status returns HTTPResponse.Status

func (QueryWorkflowExecutionV1WorkflowsExecutionsExecutionIdQueriesPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type QueryWorkflowResponse

type QueryWorkflowResponse struct {
	QueryName string `json:"query_name"`

	// Result The result of the Query workflow call
	Result interface{} `json:"result"`
}

QueryWorkflowResponse defines model for QueryWorkflowResponse.

type ReferenceChunk

type ReferenceChunk struct {
	ReferenceIds []int               `json:"reference_ids"`
	Type         *ReferenceChunkType `json:"type,omitempty"`
}

ReferenceChunk defines model for ReferenceChunk.

type ReferenceChunkType

type ReferenceChunkType string

ReferenceChunkType defines model for ReferenceChunk.Type.

const (
	ReferenceChunkTypeReference ReferenceChunkType = "reference"
)

Defines values for ReferenceChunkType.

func (ReferenceChunkType) Valid

func (e ReferenceChunkType) Valid() bool

Valid indicates whether the value is a known member of the ReferenceChunkType enum.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RequestSource

type RequestSource string

RequestSource defines model for RequestSource.

const (
	RequestSourceAgentBuilderV1 RequestSource = "agent_builder_v1"
	RequestSourceApi            RequestSource = "api"
	RequestSourcePlayground     RequestSource = "playground"
)

Defines values for RequestSource.

func (RequestSource) Valid

func (e RequestSource) Valid() bool

Valid indicates whether the value is a known member of the RequestSource enum.

type ResetInvocationBody

type ResetInvocationBody struct {
	// EventId The event ID to reset the workflow execution to
	EventId int `json:"event_id"`

	// ExcludeSignals Whether to exclude signals that happened after the reset point
	ExcludeSignals *bool `json:"exclude_signals,omitempty"`

	// ExcludeUpdates Whether to exclude updates that happened after the reset point
	ExcludeUpdates *bool `json:"exclude_updates,omitempty"`

	// Reason Reason for resetting the workflow execution
	Reason *string `json:"reason,omitempty"`
}

ResetInvocationBody defines model for ResetInvocationBody.

type ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostJSONRequestBody

type ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostJSONRequestBody = ResetInvocationBody

ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostJSONRequestBody defines body for ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPost for application/json ContentType.

type ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse

type ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse

func ParseResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse(rsp *http.Response) (*ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse, error)

ParseResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse parses an HTTP response from a ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostWithResponse call

func (ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) GetBody

GetBody returns the raw response body bytes

func (ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) Status

Status returns HTTPResponse.Status

func (ResetWorkflowV1WorkflowsExecutionsExecutionIdResetPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ResourceLink struct {
	UnderscoreMeta       *map[string]interface{} `json:"_meta,omitempty"`
	Annotations          *Annotations            `json:"annotations,omitempty"`
	Description          *string                 `json:"description,omitempty"`
	Icons                *[]MCPServerIcon        `json:"icons,omitempty"`
	MimeType             *string                 `json:"mimeType,omitempty"`
	Name                 string                  `json:"name"`
	Size                 *int                    `json:"size,omitempty"`
	Title                *string                 `json:"title,omitempty"`
	Type                 ResourceLinkType        `json:"type"`
	Uri                  string                  `json:"uri"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

ResourceLink A resource that the server is capable of reading, included in a prompt or tool call result.

Note: resource links returned by tools are not guaranteed to appear in the results of `resources/list` requests.

func (ResourceLink) Get

func (a ResourceLink) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ResourceLink. Returns the specified element and whether it was found

func (ResourceLink) MarshalJSON

func (a ResourceLink) MarshalJSON() ([]byte, error)

Override default JSON handling for ResourceLink to handle AdditionalProperties

func (*ResourceLink) Set

func (a *ResourceLink) Set(fieldName string, value interface{})

Setter for additional properties for ResourceLink

func (*ResourceLink) UnmarshalJSON

func (a *ResourceLink) UnmarshalJSON(b []byte) error

Override default JSON handling for ResourceLink to handle AdditionalProperties

type ResourceLinkType

type ResourceLinkType string

ResourceLinkType defines model for ResourceLink.Type.

const (
	ResourceLinkTypeResourceLink ResourceLinkType = "resource_link"
)

Defines values for ResourceLinkType.

func (ResourceLinkType) Valid

func (e ResourceLinkType) Valid() bool

Valid indicates whether the value is a known member of the ResourceLinkType enum.

type ResourceVisibility

type ResourceVisibility string

ResourceVisibility defines model for ResourceVisibility.

const (
	ResourceVisibilityPrivate         ResourceVisibility = "private"
	ResourceVisibilitySharedGlobal    ResourceVisibility = "shared_global"
	ResourceVisibilitySharedOrg       ResourceVisibility = "shared_org"
	ResourceVisibilitySharedWorkspace ResourceVisibility = "shared_workspace"
)

Defines values for ResourceVisibility.

func (ResourceVisibility) Valid

func (e ResourceVisibility) Valid() bool

Valid indicates whether the value is a known member of the ResourceVisibility enum.

type ResponseBase

type ResponseBase struct {
	Id     *string    `json:"id,omitempty"`
	Model  *string    `json:"model,omitempty"`
	Object *string    `json:"object,omitempty"`
	Usage  *UsageInfo `json:"usage,omitempty"`
}

ResponseBase defines model for ResponseBase.

type ResponseDoneEvent

type ResponseDoneEvent struct {
	CreatedAt *time.Time             `json:"created_at,omitempty"`
	Type      *ResponseDoneEventType `json:"type,omitempty"`
	Usage     ConversationUsageInfo  `json:"usage"`
}

ResponseDoneEvent defines model for ResponseDoneEvent.

type ResponseDoneEventType

type ResponseDoneEventType string

ResponseDoneEventType defines model for ResponseDoneEvent.Type.

const (
	ResponseDoneEventTypeConversationResponseDone ResponseDoneEventType = "conversation.response.done"
)

Defines values for ResponseDoneEventType.

func (ResponseDoneEventType) Valid

func (e ResponseDoneEventType) Valid() bool

Valid indicates whether the value is a known member of the ResponseDoneEventType enum.

type ResponseErrorEvent

type ResponseErrorEvent struct {
	Code      int                     `json:"code"`
	CreatedAt *time.Time              `json:"created_at,omitempty"`
	Message   string                  `json:"message"`
	Type      *ResponseErrorEventType `json:"type,omitempty"`
}

ResponseErrorEvent defines model for ResponseErrorEvent.

type ResponseErrorEventType

type ResponseErrorEventType string

ResponseErrorEventType defines model for ResponseErrorEvent.Type.

const (
	ResponseErrorEventTypeConversationResponseError ResponseErrorEventType = "conversation.response.error"
)

Defines values for ResponseErrorEventType.

func (ResponseErrorEventType) Valid

func (e ResponseErrorEventType) Valid() bool

Valid indicates whether the value is a known member of the ResponseErrorEventType enum.

type ResponseFormat

type ResponseFormat struct {
	JsonSchema *JsonSchema      `json:"json_schema,omitempty"`
	Type       *ResponseFormats `json:"type,omitempty"`
}

ResponseFormat Specify the format that the model must output. By default it will use `{ "type": "text" }`. Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the message the model generates is in JSON. When using JSON mode you MUST also instruct the model to produce JSON yourself with a system or a user message. Setting to `{ "type": "json_schema" }` enables JSON schema mode, which guarantees the message the model generates is in JSON and follows the schema you provide.

Examples: {"type":"text"}, {"type":"json_object"}, {"json_schema":{"name":"book","schema":{"additionalProperties":false,"properties":{"authors":{"items":{"type":"string"},"title":"Authors","type":"array"},"name":{"title":"Name","type":"string"}},"required":["name","authors"],"title":"Book","type":"object"},"strict":true},"type":"json_schema"}

type ResponseFormats

type ResponseFormats string

ResponseFormats defines model for ResponseFormats.

const (
	ResponseFormatsJsonObject ResponseFormats = "json_object"
	ResponseFormatsJsonSchema ResponseFormats = "json_schema"
	ResponseFormatsText       ResponseFormats = "text"
)

Defines values for ResponseFormats.

func (ResponseFormats) Valid

func (e ResponseFormats) Valid() bool

Valid indicates whether the value is a known member of the ResponseFormats enum.

type ResponseStartedEvent

type ResponseStartedEvent struct {
	ConversationId string                    `json:"conversation_id"`
	CreatedAt      *time.Time                `json:"created_at,omitempty"`
	Type           *ResponseStartedEventType `json:"type,omitempty"`
}

ResponseStartedEvent defines model for ResponseStartedEvent.

type ResponseStartedEventType

type ResponseStartedEventType string

ResponseStartedEventType defines model for ResponseStartedEvent.Type.

const (
	ResponseStartedEventTypeConversationResponseStarted ResponseStartedEventType = "conversation.response.started"
)

Defines values for ResponseStartedEventType.

func (ResponseStartedEventType) Valid

func (e ResponseStartedEventType) Valid() bool

Valid indicates whether the value is a known member of the ResponseStartedEventType enum.

type RetrieveFileOut

type RetrieveFileOut struct {
	// Bytes The size of the file, in bytes.
	//
	// Examples: 13000
	Bytes int `json:"bytes"`

	// CreatedAt The UNIX timestamp (in seconds) of the event.
	//
	// Examples: 1716963433
	CreatedAt int  `json:"created_at"`
	Deleted   bool `json:"deleted"`
	ExpiresAt *int `json:"expires_at,omitempty"`

	// Filename The name of the uploaded file.
	//
	// Examples: files_upload.jsonl
	Filename string `json:"filename"`

	// Id The unique identifier of the file.
	//
	// Examples: 497f6eca-6276-4993-bfeb-53cbbbba6f09
	Id       openapi_types.UUID `json:"id"`
	Mimetype *string            `json:"mimetype,omitempty"`
	NumLines *int               `json:"num_lines,omitempty"`

	// Object The object type, which is always "file".
	//
	// Examples: file
	Object string `json:"object"`

	// Purpose The intended purpose of the uploaded file, currently supports fine-tuning (`fine-tune`), OCR (`ocr`), Audio/Transcription (`audio`) and batch inference (`batch`).
	//
	// Examples: fine-tune, ocr, batch, audio
	Purpose    FilePurpose     `json:"purpose"`
	SampleType SampleType      `json:"sample_type"`
	Signature  *string         `json:"signature,omitempty"`
	Source     Source          `json:"source"`
	Visibility *FileVisibility `json:"visibility,omitempty"`
}

RetrieveFileOut defines model for RetrieveFileOut.

type RetrieveModelV1ModelsModelIdGet200JSONResponseBody

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

RetrieveModelV1ModelsModelIdGet200JSONResponseBody defines parameters for RetrieveModelV1ModelsModelIdGet.

func (RetrieveModelV1ModelsModelIdGet200JSONResponseBody) AsBaseModelCard

AsBaseModelCard returns the union data inside the RetrieveModelV1ModelsModelIdGet200JSONResponseBody as a BaseModelCard

func (RetrieveModelV1ModelsModelIdGet200JSONResponseBody) AsFTModelCard

AsFTModelCard returns the union data inside the RetrieveModelV1ModelsModelIdGet200JSONResponseBody as a FTModelCard

func (RetrieveModelV1ModelsModelIdGet200JSONResponseBody) Discriminator

func (*RetrieveModelV1ModelsModelIdGet200JSONResponseBody) FromBaseModelCard

FromBaseModelCard overwrites any union data inside the RetrieveModelV1ModelsModelIdGet200JSONResponseBody as the provided BaseModelCard

func (*RetrieveModelV1ModelsModelIdGet200JSONResponseBody) FromFTModelCard

FromFTModelCard overwrites any union data inside the RetrieveModelV1ModelsModelIdGet200JSONResponseBody as the provided FTModelCard

func (RetrieveModelV1ModelsModelIdGet200JSONResponseBody) MarshalJSON

func (*RetrieveModelV1ModelsModelIdGet200JSONResponseBody) MergeBaseModelCard

MergeBaseModelCard performs a merge with any union data inside the RetrieveModelV1ModelsModelIdGet200JSONResponseBody, using the provided BaseModelCard

func (*RetrieveModelV1ModelsModelIdGet200JSONResponseBody) MergeFTModelCard

MergeFTModelCard performs a merge with any union data inside the RetrieveModelV1ModelsModelIdGet200JSONResponseBody, using the provided FTModelCard

func (*RetrieveModelV1ModelsModelIdGet200JSONResponseBody) UnmarshalJSON

func (RetrieveModelV1ModelsModelIdGet200JSONResponseBody) ValueByDiscriminator

func (t RetrieveModelV1ModelsModelIdGet200JSONResponseBody) ValueByDiscriminator() (interface{}, error)

type RetrieveModelV1ModelsModelIdGetResponse

type RetrieveModelV1ModelsModelIdGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RetrieveModelV1ModelsModelIdGet200JSONResponseBody
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseRetrieveModelV1ModelsModelIdGetResponse

func ParseRetrieveModelV1ModelsModelIdGetResponse(rsp *http.Response) (*RetrieveModelV1ModelsModelIdGetResponse, error)

ParseRetrieveModelV1ModelsModelIdGetResponse parses an HTTP response from a RetrieveModelV1ModelsModelIdGetWithResponse call

func (RetrieveModelV1ModelsModelIdGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RetrieveModelV1ModelsModelIdGetResponse) GetBody

GetBody returns the raw response body bytes

func (RetrieveModelV1ModelsModelIdGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RetrieveModelV1ModelsModelIdGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (RetrieveModelV1ModelsModelIdGetResponse) Status

Status returns HTTPResponse.Status

func (RetrieveModelV1ModelsModelIdGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SSETypes

type SSETypes string

SSETypes Server side events sent when streaming a conversation response.

const (
	SSETypesAgentHandoffDone            SSETypes = "agent.handoff.done"
	SSETypesAgentHandoffStarted         SSETypes = "agent.handoff.started"
	SSETypesConversationResponseDone    SSETypes = "conversation.response.done"
	SSETypesConversationResponseError   SSETypes = "conversation.response.error"
	SSETypesConversationResponseStarted SSETypes = "conversation.response.started"
	SSETypesFunctionCallDelta           SSETypes = "function.call.delta"
	SSETypesMessageOutputDelta          SSETypes = "message.output.delta"
	SSETypesToolExecutionDelta          SSETypes = "tool.execution.delta"
	SSETypesToolExecutionDone           SSETypes = "tool.execution.done"
	SSETypesToolExecutionStarted        SSETypes = "tool.execution.started"
)

Defines values for SSETypes.

func (SSETypes) Valid

func (e SSETypes) Valid() bool

Valid indicates whether the value is a known member of the SSETypes enum.

type SampleType

type SampleType string

SampleType defines model for SampleType.

const (
	SampleTypeBatchError   SampleType = "batch_error"
	SampleTypeBatchRequest SampleType = "batch_request"
	SampleTypeBatchResult  SampleType = "batch_result"
	SampleTypeInstruct     SampleType = "instruct"
	SampleTypePretrain     SampleType = "pretrain"
)

Defines values for SampleType.

func (SampleType) Valid

func (e SampleType) Valid() bool

Valid indicates whether the value is a known member of the SampleType enum.

type ScalarMetric

type ScalarMetric struct {
	Value ScalarMetric_Value `json:"value"`
}

ScalarMetric Scalar metric with a single value.

type ScalarMetricValue0

type ScalarMetricValue0 = int

ScalarMetricValue0 defines model for ScalarMetric.Value.0.

type ScalarMetricValue1

type ScalarMetricValue1 = float32

ScalarMetricValue1 defines model for ScalarMetric.Value.1.

type ScalarMetric_Value

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

ScalarMetric_Value defines model for ScalarMetric.Value.

func (ScalarMetric_Value) AsScalarMetricValue0

func (t ScalarMetric_Value) AsScalarMetricValue0() (ScalarMetricValue0, error)

AsScalarMetricValue0 returns the union data inside the ScalarMetric_Value as a ScalarMetricValue0

func (ScalarMetric_Value) AsScalarMetricValue1

func (t ScalarMetric_Value) AsScalarMetricValue1() (ScalarMetricValue1, error)

AsScalarMetricValue1 returns the union data inside the ScalarMetric_Value as a ScalarMetricValue1

func (*ScalarMetric_Value) FromScalarMetricValue0

func (t *ScalarMetric_Value) FromScalarMetricValue0(v ScalarMetricValue0) error

FromScalarMetricValue0 overwrites any union data inside the ScalarMetric_Value as the provided ScalarMetricValue0

func (*ScalarMetric_Value) FromScalarMetricValue1

func (t *ScalarMetric_Value) FromScalarMetricValue1(v ScalarMetricValue1) error

FromScalarMetricValue1 overwrites any union data inside the ScalarMetric_Value as the provided ScalarMetricValue1

func (ScalarMetric_Value) MarshalJSON

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

func (*ScalarMetric_Value) MergeScalarMetricValue0

func (t *ScalarMetric_Value) MergeScalarMetricValue0(v ScalarMetricValue0) error

MergeScalarMetricValue0 performs a merge with any union data inside the ScalarMetric_Value, using the provided ScalarMetricValue0

func (*ScalarMetric_Value) MergeScalarMetricValue1

func (t *ScalarMetric_Value) MergeScalarMetricValue1(v ScalarMetricValue1) error

MergeScalarMetricValue1 performs a merge with any union data inside the ScalarMetric_Value, using the provided ScalarMetricValue1

func (*ScalarMetric_Value) UnmarshalJSON

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

type ScheduleCalendar

type ScheduleCalendar struct {
	Comment    *string          `json:"comment,omitempty"`
	DayOfMonth *[]ScheduleRange `json:"day_of_month,omitempty"`
	DayOfWeek  *[]ScheduleRange `json:"day_of_week,omitempty"`
	Hour       *[]ScheduleRange `json:"hour,omitempty"`
	Minute     *[]ScheduleRange `json:"minute,omitempty"`
	Month      *[]ScheduleRange `json:"month,omitempty"`
	Second     *[]ScheduleRange `json:"second,omitempty"`
	Year       *[]ScheduleRange `json:"year,omitempty"`
}

ScheduleCalendar defines model for ScheduleCalendar.

type ScheduleDefinition

type ScheduleDefinition struct {
	// Calendars Calendar-based specification of times.
	Calendars *[]ScheduleCalendar `json:"calendars,omitempty"`

	// CronExpressions Cron-based specification of times.
	CronExpressions *[]string `json:"cron_expressions,omitempty"`

	// EndAt Time after which no more actions will be run.
	EndAt *time.Time `json:"end_at,omitempty"`

	// Input Input to provide to the workflow when starting it.
	Input interface{} `json:"input"`

	// Intervals Interval-based specification of times.
	Intervals *[]ScheduleInterval `json:"intervals,omitempty"`

	// Jitter Jitter to apply each action.
	//
	// An action's scheduled time will be incremented by a random value between 0
	// and this value if present (but not past the next schedule).
	Jitter *openapi_types.Duration `json:"jitter,omitempty"`

	// Policy Policy for the schedule.
	Policy *SchedulePolicy `json:"policy,omitempty"`

	// ScheduleId Unique identifier for the schedule.
	ScheduleId *string `json:"schedule_id,omitempty"`

	// Skip Set of calendar times to skip.
	Skip *[]ScheduleCalendar `json:"skip,omitempty"`

	// StartAt Time after which the first action may be run.
	StartAt *time.Time `json:"start_at,omitempty"`

	// TimeZoneName IANA time zone name, for example “US/Central“.
	TimeZoneName *string `json:"time_zone_name,omitempty"`
}

ScheduleDefinition Specification of the times scheduled actions may occur.

The times are the union of :py:attr:`calendars`, :py:attr:`intervals`, and :py:attr:`cron_expressions` excluding anything in :py:attr:`skip`.

Used for input where schedule_id is optional (can be provided or auto-generated).

type ScheduleDefinitionOutput

type ScheduleDefinitionOutput struct {
	// Calendars Calendar-based specification of times.
	Calendars *[]ScheduleCalendar `json:"calendars,omitempty"`

	// CronExpressions Cron-based specification of times.
	CronExpressions *[]string `json:"cron_expressions,omitempty"`

	// EndAt Time after which no more actions will be run.
	EndAt *time.Time `json:"end_at,omitempty"`

	// Input Input to provide to the workflow when starting it.
	Input interface{} `json:"input"`

	// Intervals Interval-based specification of times.
	Intervals *[]ScheduleInterval `json:"intervals,omitempty"`

	// Jitter Jitter to apply each action.
	//
	// An action's scheduled time will be incremented by a random value between 0
	// and this value if present (but not past the next schedule).
	Jitter *openapi_types.Duration `json:"jitter,omitempty"`

	// Policy Policy for the schedule.
	Policy *SchedulePolicy `json:"policy,omitempty"`

	// ScheduleId Unique identifier for the schedule.
	ScheduleId string `json:"schedule_id"`

	// Skip Set of calendar times to skip.
	Skip *[]ScheduleCalendar `json:"skip,omitempty"`

	// StartAt Time after which the first action may be run.
	StartAt *time.Time `json:"start_at,omitempty"`

	// TimeZoneName IANA time zone name, for example “US/Central“.
	TimeZoneName *string `json:"time_zone_name,omitempty"`
}

ScheduleDefinitionOutput Output representation of a schedule with required schedule_id.

Used when returning schedules from the API where schedule_id is always present.

type ScheduleInterval

type ScheduleInterval struct {
	Every  openapi_types.Duration  `json:"every"`
	Offset *openapi_types.Duration `json:"offset,omitempty"`
}

ScheduleInterval defines model for ScheduleInterval.

type ScheduleOverlapPolicy

type ScheduleOverlapPolicy int

ScheduleOverlapPolicy Controls what happens when a workflow would be started by a schedule but one is already running.

const (
	ScheduleOverlapPolicyN1 ScheduleOverlapPolicy = 1
	ScheduleOverlapPolicyN2 ScheduleOverlapPolicy = 2
	ScheduleOverlapPolicyN3 ScheduleOverlapPolicy = 3
	ScheduleOverlapPolicyN4 ScheduleOverlapPolicy = 4
	ScheduleOverlapPolicyN5 ScheduleOverlapPolicy = 5
	ScheduleOverlapPolicyN6 ScheduleOverlapPolicy = 6
)

Defines values for ScheduleOverlapPolicy.

func (ScheduleOverlapPolicy) Valid

func (e ScheduleOverlapPolicy) Valid() bool

Valid indicates whether the value is a known member of the ScheduleOverlapPolicy enum.

type SchedulePolicy

type SchedulePolicy struct {
	// CatchupWindowSeconds After a Temporal server is unavailable, amount of time in seconds in the past to execute missed actions.
	CatchupWindowSeconds *int `json:"catchup_window_seconds,omitempty"`

	// Overlap Policy controlling what to do when a workflow is already running.
	Overlap *ScheduleOverlapPolicy `json:"overlap,omitempty"`

	// PauseOnFailure Whether to pause the schedule after a workflow failure.
	PauseOnFailure *bool `json:"pause_on_failure,omitempty"`
}

SchedulePolicy defines model for SchedulePolicy.

type ScheduleRange

type ScheduleRange struct {
	End   *int `json:"end,omitempty"`
	Start int  `json:"start"`
	Step  *int `json:"step,omitempty"`
}

ScheduleRange defines model for ScheduleRange.

type ScheduleWorkflowV1WorkflowsSchedulesPostJSONRequestBody

type ScheduleWorkflowV1WorkflowsSchedulesPostJSONRequestBody = WorkflowScheduleRequest

ScheduleWorkflowV1WorkflowsSchedulesPostJSONRequestBody defines body for ScheduleWorkflowV1WorkflowsSchedulesPost for application/json ContentType.

type ScheduleWorkflowV1WorkflowsSchedulesPostResponse

type ScheduleWorkflowV1WorkflowsSchedulesPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *WorkflowScheduleResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseScheduleWorkflowV1WorkflowsSchedulesPostResponse

func ParseScheduleWorkflowV1WorkflowsSchedulesPostResponse(rsp *http.Response) (*ScheduleWorkflowV1WorkflowsSchedulesPostResponse, error)

ParseScheduleWorkflowV1WorkflowsSchedulesPostResponse parses an HTTP response from a ScheduleWorkflowV1WorkflowsSchedulesPostWithResponse call

func (ScheduleWorkflowV1WorkflowsSchedulesPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ScheduleWorkflowV1WorkflowsSchedulesPostResponse) GetBody

GetBody returns the raw response body bytes

func (ScheduleWorkflowV1WorkflowsSchedulesPostResponse) GetJSON201

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (ScheduleWorkflowV1WorkflowsSchedulesPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ScheduleWorkflowV1WorkflowsSchedulesPostResponse) Status

Status returns HTTPResponse.Status

func (ScheduleWorkflowV1WorkflowsSchedulesPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ShareEnum

type ShareEnum string

ShareEnum defines model for ShareEnum.

const (
	ShareEnumEditor ShareEnum = "Editor"
	ShareEnumViewer ShareEnum = "Viewer"
)

Defines values for ShareEnum.

func (ShareEnum) Valid

func (e ShareEnum) Valid() bool

Valid indicates whether the value is a known member of the ShareEnum enum.

type SharingDelete

type SharingDelete struct {
	OrgId *openapi_types.UUID `json:"org_id,omitempty"`

	// ShareWithType The type of entity, used to share a library.
	ShareWithType EntityType `json:"share_with_type"`

	// ShareWithUuid The id of the entity (user, workspace or organization) to share with
	ShareWithUuid openapi_types.UUID `json:"share_with_uuid"`
}

SharingDelete defines model for SharingDelete.

type SharingIn

type SharingIn struct {
	Level ShareEnum           `json:"level"`
	OrgId *openapi_types.UUID `json:"org_id,omitempty"`

	// ShareWithType The type of entity, used to share a library.
	ShareWithType EntityType `json:"share_with_type"`

	// ShareWithUuid The id of the entity (user, workspace or organization) to share with
	ShareWithUuid openapi_types.UUID `json:"share_with_uuid"`
}

SharingIn defines model for SharingIn.

type SharingOut

type SharingOut struct {
	LibraryId     openapi_types.UUID  `json:"library_id"`
	OrgId         openapi_types.UUID  `json:"org_id"`
	Role          string              `json:"role"`
	ShareWithType string              `json:"share_with_type"`
	ShareWithUuid *openapi_types.UUID `json:"share_with_uuid"`
	UserId        *openapi_types.UUID `json:"user_id,omitempty"`
}

SharingOut defines model for SharingOut.

type SignalDefinition

type SignalDefinition struct {
	// Description Description of the signal
	Description *string `json:"description,omitempty"`

	// InputSchema Input JSON schema of the signal's model
	InputSchema map[string]interface{} `json:"input_schema"`

	// Name Name of the signal
	Name string `json:"name"`
}

SignalDefinition defines model for SignalDefinition.

type SignalInvocationBody

type SignalInvocationBody struct {
	// Input Input data for the signal, matching its schema
	Input *SignalInvocationBody_Input `json:"input,omitempty"`

	// Name The name of the signal to send
	Name string `json:"name"`
}

SignalInvocationBody defines model for SignalInvocationBody.

type SignalInvocationBodyInput1

type SignalInvocationBodyInput1 map[string]interface{}

SignalInvocationBodyInput1 defines model for SignalInvocationBody.Input.1.

type SignalInvocationBody_Input

type SignalInvocationBody_Input struct {
	AdditionalProperties map[string]interface{} `json:"-"`
	// contains filtered or unexported fields
}

SignalInvocationBody_Input Input data for the signal, matching its schema

func (SignalInvocationBody_Input) AsNetworkEncodedInput

func (t SignalInvocationBody_Input) AsNetworkEncodedInput() (NetworkEncodedInput, error)

AsNetworkEncodedInput returns the union data inside the SignalInvocationBody_Input as a NetworkEncodedInput

func (SignalInvocationBody_Input) AsSignalInvocationBodyInput1

func (t SignalInvocationBody_Input) AsSignalInvocationBodyInput1() (SignalInvocationBodyInput1, error)

AsSignalInvocationBodyInput1 returns the union data inside the SignalInvocationBody_Input as a SignalInvocationBodyInput1

func (*SignalInvocationBody_Input) FromNetworkEncodedInput

func (t *SignalInvocationBody_Input) FromNetworkEncodedInput(v NetworkEncodedInput) error

FromNetworkEncodedInput overwrites any union data inside the SignalInvocationBody_Input as the provided NetworkEncodedInput

func (*SignalInvocationBody_Input) FromSignalInvocationBodyInput1

func (t *SignalInvocationBody_Input) FromSignalInvocationBodyInput1(v SignalInvocationBodyInput1) error

FromSignalInvocationBodyInput1 overwrites any union data inside the SignalInvocationBody_Input as the provided SignalInvocationBodyInput1

func (SignalInvocationBody_Input) Get

func (a SignalInvocationBody_Input) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for SignalInvocationBody_Input. Returns the specified element and whether it was found

func (SignalInvocationBody_Input) MarshalJSON

func (a SignalInvocationBody_Input) MarshalJSON() ([]byte, error)

Override default JSON handling for SignalInvocationBody_Input to handle AdditionalProperties and union

func (*SignalInvocationBody_Input) MergeNetworkEncodedInput

func (t *SignalInvocationBody_Input) MergeNetworkEncodedInput(v NetworkEncodedInput) error

MergeNetworkEncodedInput performs a merge with any union data inside the SignalInvocationBody_Input, using the provided NetworkEncodedInput

func (*SignalInvocationBody_Input) MergeSignalInvocationBodyInput1

func (t *SignalInvocationBody_Input) MergeSignalInvocationBodyInput1(v SignalInvocationBodyInput1) error

MergeSignalInvocationBodyInput1 performs a merge with any union data inside the SignalInvocationBody_Input, using the provided SignalInvocationBodyInput1

func (*SignalInvocationBody_Input) Set

func (a *SignalInvocationBody_Input) Set(fieldName string, value interface{})

Setter for additional properties for SignalInvocationBody_Input

func (*SignalInvocationBody_Input) UnmarshalJSON

func (a *SignalInvocationBody_Input) UnmarshalJSON(b []byte) error

Override default JSON handling for SignalInvocationBody_Input to handle AdditionalProperties and union

type SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostJSONRequestBody

type SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostJSONRequestBody = SignalInvocationBody

SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostJSONRequestBody defines body for SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPost for application/json ContentType.

type SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse

type SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *SignalWorkflowResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse

func ParseSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse(rsp *http.Response) (*SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse, error)

ParseSignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse parses an HTTP response from a SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostWithResponse call

func (SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) GetBody

GetBody returns the raw response body bytes

func (SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) GetJSON202

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) Status

Status returns HTTPResponse.Status

func (SignalWorkflowExecutionV1WorkflowsExecutionsExecutionIdSignalsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SignalWorkflowResponse

type SignalWorkflowResponse struct {
	Message *string `json:"message,omitempty"`
}

SignalWorkflowResponse defines model for SignalWorkflowResponse.

type Source

type Source string

Source defines model for Source.

const (
	SourceMistral    Source = "mistral"
	SourceRepository Source = "repository"
	SourceUpload     Source = "upload"
)

Defines values for Source.

func (Source) Valid

func (e Source) Valid() bool

Valid indicates whether the value is a known member of the Source enum.

type SpeechOutputFormat

type SpeechOutputFormat string

SpeechOutputFormat defines model for SpeechOutputFormat.

const (
	SpeechOutputFormatFlac SpeechOutputFormat = "flac"
	SpeechOutputFormatMp3  SpeechOutputFormat = "mp3"
	SpeechOutputFormatOpus SpeechOutputFormat = "opus"
	SpeechOutputFormatPcm  SpeechOutputFormat = "pcm"
	SpeechOutputFormatWav  SpeechOutputFormat = "wav"
)

Defines values for SpeechOutputFormat.

func (SpeechOutputFormat) Valid

func (e SpeechOutputFormat) Valid() bool

Valid indicates whether the value is a known member of the SpeechOutputFormat enum.

type SpeechRequest

type SpeechRequest struct {
	// Input Text to generate speech from.
	Input string  `json:"input"`
	Model *string `json:"model,omitempty"`

	// RefAudio The base64-encoded audio reference for zero-shot voice cloning.
	RefAudio *string `json:"ref_audio,omitempty"`

	// ResponseFormat Output audio format. Defaults to mp3.
	ResponseFormat *SpeechOutputFormat `json:"response_format,omitempty"`
	Stream         *bool               `json:"stream,omitempty"`

	// VoiceId The preset or custom voice to use for generating the speech.
	VoiceId              *string                `json:"voice_id,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

SpeechRequest defines model for SpeechRequest.

func (SpeechRequest) Get

func (a SpeechRequest) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for SpeechRequest. Returns the specified element and whether it was found

func (SpeechRequest) MarshalJSON

func (a SpeechRequest) MarshalJSON() ([]byte, error)

Override default JSON handling for SpeechRequest to handle AdditionalProperties

func (*SpeechRequest) Set

func (a *SpeechRequest) Set(fieldName string, value interface{})

Setter for additional properties for SpeechRequest

func (*SpeechRequest) UnmarshalJSON

func (a *SpeechRequest) UnmarshalJSON(b []byte) error

Override default JSON handling for SpeechRequest to handle AdditionalProperties

type SpeechResponse

type SpeechResponse struct {
	// AudioData Base64 encoded audio data
	AudioData string `json:"audio_data"`
}

SpeechResponse defines model for SpeechResponse.

type SpeechStreamAudioDelta

type SpeechStreamAudioDelta struct {
	AudioData string                      `json:"audio_data"`
	Type      *SpeechStreamAudioDeltaType `json:"type,omitempty"`
}

SpeechStreamAudioDelta defines model for SpeechStreamAudioDelta.

type SpeechStreamAudioDeltaType

type SpeechStreamAudioDeltaType string

SpeechStreamAudioDeltaType defines model for SpeechStreamAudioDelta.Type.

const (
	SpeechStreamAudioDeltaTypeSpeechAudioDelta SpeechStreamAudioDeltaType = "speech.audio.delta"
)

Defines values for SpeechStreamAudioDeltaType.

func (SpeechStreamAudioDeltaType) Valid

func (e SpeechStreamAudioDeltaType) Valid() bool

Valid indicates whether the value is a known member of the SpeechStreamAudioDeltaType enum.

type SpeechStreamDone

type SpeechStreamDone struct {
	Type  *SpeechStreamDoneType `json:"type,omitempty"`
	Usage UsageInfo             `json:"usage"`
}

SpeechStreamDone defines model for SpeechStreamDone.

type SpeechStreamDoneType

type SpeechStreamDoneType string

SpeechStreamDoneType defines model for SpeechStreamDone.Type.

const (
	SpeechStreamDoneTypeSpeechAudioDone SpeechStreamDoneType = "speech.audio.done"
)

Defines values for SpeechStreamDoneType.

func (SpeechStreamDoneType) Valid

func (e SpeechStreamDoneType) Valid() bool

Valid indicates whether the value is a known member of the SpeechStreamDoneType enum.

type SpeechStreamEvents

type SpeechStreamEvents struct {
	Data  SpeechStreamEvents_Data `json:"data"`
	Event SpeechStreamEventsEvent `json:"event"`
}

SpeechStreamEvents defines model for SpeechStreamEvents.

type SpeechStreamEventsEvent

type SpeechStreamEventsEvent string

SpeechStreamEventsEvent defines model for SpeechStreamEvents.Event.

const (
	SpeechStreamEventsEventSpeechAudioDelta SpeechStreamEventsEvent = "speech.audio.delta"
	SpeechStreamEventsEventSpeechAudioDone  SpeechStreamEventsEvent = "speech.audio.done"
)

Defines values for SpeechStreamEventsEvent.

func (SpeechStreamEventsEvent) Valid

func (e SpeechStreamEventsEvent) Valid() bool

Valid indicates whether the value is a known member of the SpeechStreamEventsEvent enum.

type SpeechStreamEvents_Data

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

SpeechStreamEvents_Data defines model for SpeechStreamEvents.Data.

func (SpeechStreamEvents_Data) AsSpeechStreamAudioDelta

func (t SpeechStreamEvents_Data) AsSpeechStreamAudioDelta() (SpeechStreamAudioDelta, error)

AsSpeechStreamAudioDelta returns the union data inside the SpeechStreamEvents_Data as a SpeechStreamAudioDelta

func (SpeechStreamEvents_Data) AsSpeechStreamDone

func (t SpeechStreamEvents_Data) AsSpeechStreamDone() (SpeechStreamDone, error)

AsSpeechStreamDone returns the union data inside the SpeechStreamEvents_Data as a SpeechStreamDone

func (SpeechStreamEvents_Data) Discriminator

func (t SpeechStreamEvents_Data) Discriminator() (string, error)

func (*SpeechStreamEvents_Data) FromSpeechStreamAudioDelta

func (t *SpeechStreamEvents_Data) FromSpeechStreamAudioDelta(v SpeechStreamAudioDelta) error

FromSpeechStreamAudioDelta overwrites any union data inside the SpeechStreamEvents_Data as the provided SpeechStreamAudioDelta

func (*SpeechStreamEvents_Data) FromSpeechStreamDone

func (t *SpeechStreamEvents_Data) FromSpeechStreamDone(v SpeechStreamDone) error

FromSpeechStreamDone overwrites any union data inside the SpeechStreamEvents_Data as the provided SpeechStreamDone

func (SpeechStreamEvents_Data) MarshalJSON

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

func (*SpeechStreamEvents_Data) MergeSpeechStreamAudioDelta

func (t *SpeechStreamEvents_Data) MergeSpeechStreamAudioDelta(v SpeechStreamAudioDelta) error

MergeSpeechStreamAudioDelta performs a merge with any union data inside the SpeechStreamEvents_Data, using the provided SpeechStreamAudioDelta

func (*SpeechStreamEvents_Data) MergeSpeechStreamDone

func (t *SpeechStreamEvents_Data) MergeSpeechStreamDone(v SpeechStreamDone) error

MergeSpeechStreamDone performs a merge with any union data inside the SpeechStreamEvents_Data, using the provided SpeechStreamDone

func (*SpeechStreamEvents_Data) UnmarshalJSON

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

func (SpeechStreamEvents_Data) ValueByDiscriminator

func (t SpeechStreamEvents_Data) ValueByDiscriminator() (interface{}, error)

type SpeechV1AudioSpeechPostJSONRequestBody

type SpeechV1AudioSpeechPostJSONRequestBody = SpeechRequest

SpeechV1AudioSpeechPostJSONRequestBody defines body for SpeechV1AudioSpeechPost for application/json ContentType.

type SpeechV1AudioSpeechPostResponse

type SpeechV1AudioSpeechPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SpeechResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseSpeechV1AudioSpeechPostResponse

func ParseSpeechV1AudioSpeechPostResponse(rsp *http.Response) (*SpeechV1AudioSpeechPostResponse, error)

ParseSpeechV1AudioSpeechPostResponse parses an HTTP response from a SpeechV1AudioSpeechPostWithResponse call

func (SpeechV1AudioSpeechPostResponse) ContentType

func (r SpeechV1AudioSpeechPostResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SpeechV1AudioSpeechPostResponse) GetBody

func (r SpeechV1AudioSpeechPostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SpeechV1AudioSpeechPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SpeechV1AudioSpeechPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (SpeechV1AudioSpeechPostResponse) Status

Status returns HTTPResponse.Status

func (SpeechV1AudioSpeechPostResponse) StatusCode

func (r SpeechV1AudioSpeechPostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StreamEventSsePayload

type StreamEventSsePayload struct {
	BrokerSequence  int                        `json:"broker_sequence"`
	Data            StreamEventSsePayload_Data `json:"data"`
	Metadata        *map[string]interface{}    `json:"metadata,omitempty"`
	Stream          string                     `json:"stream"`
	Timestamp       *time.Time                 `json:"timestamp,omitempty"`
	WorkflowContext StreamEventWorkflowContext `json:"workflow_context"`
}

StreamEventSsePayload defines model for StreamEventSsePayload.

type StreamEventSsePayload_Data

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

StreamEventSsePayload_Data defines model for StreamEventSsePayload.Data.

func (StreamEventSsePayload_Data) AsActivityTaskCompletedResponse

func (t StreamEventSsePayload_Data) AsActivityTaskCompletedResponse() (ActivityTaskCompletedResponse, error)

AsActivityTaskCompletedResponse returns the union data inside the StreamEventSsePayload_Data as a ActivityTaskCompletedResponse

func (StreamEventSsePayload_Data) AsActivityTaskFailedResponse

func (t StreamEventSsePayload_Data) AsActivityTaskFailedResponse() (ActivityTaskFailedResponse, error)

AsActivityTaskFailedResponse returns the union data inside the StreamEventSsePayload_Data as a ActivityTaskFailedResponse

func (StreamEventSsePayload_Data) AsActivityTaskRetryingResponse

func (t StreamEventSsePayload_Data) AsActivityTaskRetryingResponse() (ActivityTaskRetryingResponse, error)

AsActivityTaskRetryingResponse returns the union data inside the StreamEventSsePayload_Data as a ActivityTaskRetryingResponse

func (StreamEventSsePayload_Data) AsActivityTaskStartedResponse

func (t StreamEventSsePayload_Data) AsActivityTaskStartedResponse() (ActivityTaskStartedResponse, error)

AsActivityTaskStartedResponse returns the union data inside the StreamEventSsePayload_Data as a ActivityTaskStartedResponse

func (StreamEventSsePayload_Data) AsCustomTaskCanceledResponse

func (t StreamEventSsePayload_Data) AsCustomTaskCanceledResponse() (CustomTaskCanceledResponse, error)

AsCustomTaskCanceledResponse returns the union data inside the StreamEventSsePayload_Data as a CustomTaskCanceledResponse

func (StreamEventSsePayload_Data) AsCustomTaskCompletedResponse

func (t StreamEventSsePayload_Data) AsCustomTaskCompletedResponse() (CustomTaskCompletedResponse, error)

AsCustomTaskCompletedResponse returns the union data inside the StreamEventSsePayload_Data as a CustomTaskCompletedResponse

func (StreamEventSsePayload_Data) AsCustomTaskFailedResponse

func (t StreamEventSsePayload_Data) AsCustomTaskFailedResponse() (CustomTaskFailedResponse, error)

AsCustomTaskFailedResponse returns the union data inside the StreamEventSsePayload_Data as a CustomTaskFailedResponse

func (StreamEventSsePayload_Data) AsCustomTaskInProgressResponse

func (t StreamEventSsePayload_Data) AsCustomTaskInProgressResponse() (CustomTaskInProgressResponse, error)

AsCustomTaskInProgressResponse returns the union data inside the StreamEventSsePayload_Data as a CustomTaskInProgressResponse

func (StreamEventSsePayload_Data) AsCustomTaskStartedResponse

func (t StreamEventSsePayload_Data) AsCustomTaskStartedResponse() (CustomTaskStartedResponse, error)

AsCustomTaskStartedResponse returns the union data inside the StreamEventSsePayload_Data as a CustomTaskStartedResponse

func (StreamEventSsePayload_Data) AsCustomTaskTimedOutResponse

func (t StreamEventSsePayload_Data) AsCustomTaskTimedOutResponse() (CustomTaskTimedOutResponse, error)

AsCustomTaskTimedOutResponse returns the union data inside the StreamEventSsePayload_Data as a CustomTaskTimedOutResponse

func (StreamEventSsePayload_Data) AsWorkflowExecutionCanceledResponse

func (t StreamEventSsePayload_Data) AsWorkflowExecutionCanceledResponse() (WorkflowExecutionCanceledResponse, error)

AsWorkflowExecutionCanceledResponse returns the union data inside the StreamEventSsePayload_Data as a WorkflowExecutionCanceledResponse

func (StreamEventSsePayload_Data) AsWorkflowExecutionCompletedResponse

func (t StreamEventSsePayload_Data) AsWorkflowExecutionCompletedResponse() (WorkflowExecutionCompletedResponse, error)

AsWorkflowExecutionCompletedResponse returns the union data inside the StreamEventSsePayload_Data as a WorkflowExecutionCompletedResponse

func (StreamEventSsePayload_Data) AsWorkflowExecutionContinuedAsNewResponse

func (t StreamEventSsePayload_Data) AsWorkflowExecutionContinuedAsNewResponse() (WorkflowExecutionContinuedAsNewResponse, error)

AsWorkflowExecutionContinuedAsNewResponse returns the union data inside the StreamEventSsePayload_Data as a WorkflowExecutionContinuedAsNewResponse

func (StreamEventSsePayload_Data) AsWorkflowExecutionFailedResponse

func (t StreamEventSsePayload_Data) AsWorkflowExecutionFailedResponse() (WorkflowExecutionFailedResponse, error)

AsWorkflowExecutionFailedResponse returns the union data inside the StreamEventSsePayload_Data as a WorkflowExecutionFailedResponse

func (StreamEventSsePayload_Data) AsWorkflowExecutionStartedResponse

func (t StreamEventSsePayload_Data) AsWorkflowExecutionStartedResponse() (WorkflowExecutionStartedResponse, error)

AsWorkflowExecutionStartedResponse returns the union data inside the StreamEventSsePayload_Data as a WorkflowExecutionStartedResponse

func (StreamEventSsePayload_Data) AsWorkflowTaskFailedResponse

func (t StreamEventSsePayload_Data) AsWorkflowTaskFailedResponse() (WorkflowTaskFailedResponse, error)

AsWorkflowTaskFailedResponse returns the union data inside the StreamEventSsePayload_Data as a WorkflowTaskFailedResponse

func (StreamEventSsePayload_Data) AsWorkflowTaskTimedOutResponse

func (t StreamEventSsePayload_Data) AsWorkflowTaskTimedOutResponse() (WorkflowTaskTimedOutResponse, error)

AsWorkflowTaskTimedOutResponse returns the union data inside the StreamEventSsePayload_Data as a WorkflowTaskTimedOutResponse

func (*StreamEventSsePayload_Data) FromActivityTaskCompletedResponse

func (t *StreamEventSsePayload_Data) FromActivityTaskCompletedResponse(v ActivityTaskCompletedResponse) error

FromActivityTaskCompletedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided ActivityTaskCompletedResponse

func (*StreamEventSsePayload_Data) FromActivityTaskFailedResponse

func (t *StreamEventSsePayload_Data) FromActivityTaskFailedResponse(v ActivityTaskFailedResponse) error

FromActivityTaskFailedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided ActivityTaskFailedResponse

func (*StreamEventSsePayload_Data) FromActivityTaskRetryingResponse

func (t *StreamEventSsePayload_Data) FromActivityTaskRetryingResponse(v ActivityTaskRetryingResponse) error

FromActivityTaskRetryingResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided ActivityTaskRetryingResponse

func (*StreamEventSsePayload_Data) FromActivityTaskStartedResponse

func (t *StreamEventSsePayload_Data) FromActivityTaskStartedResponse(v ActivityTaskStartedResponse) error

FromActivityTaskStartedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided ActivityTaskStartedResponse

func (*StreamEventSsePayload_Data) FromCustomTaskCanceledResponse

func (t *StreamEventSsePayload_Data) FromCustomTaskCanceledResponse(v CustomTaskCanceledResponse) error

FromCustomTaskCanceledResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided CustomTaskCanceledResponse

func (*StreamEventSsePayload_Data) FromCustomTaskCompletedResponse

func (t *StreamEventSsePayload_Data) FromCustomTaskCompletedResponse(v CustomTaskCompletedResponse) error

FromCustomTaskCompletedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided CustomTaskCompletedResponse

func (*StreamEventSsePayload_Data) FromCustomTaskFailedResponse

func (t *StreamEventSsePayload_Data) FromCustomTaskFailedResponse(v CustomTaskFailedResponse) error

FromCustomTaskFailedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided CustomTaskFailedResponse

func (*StreamEventSsePayload_Data) FromCustomTaskInProgressResponse

func (t *StreamEventSsePayload_Data) FromCustomTaskInProgressResponse(v CustomTaskInProgressResponse) error

FromCustomTaskInProgressResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided CustomTaskInProgressResponse

func (*StreamEventSsePayload_Data) FromCustomTaskStartedResponse

func (t *StreamEventSsePayload_Data) FromCustomTaskStartedResponse(v CustomTaskStartedResponse) error

FromCustomTaskStartedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided CustomTaskStartedResponse

func (*StreamEventSsePayload_Data) FromCustomTaskTimedOutResponse

func (t *StreamEventSsePayload_Data) FromCustomTaskTimedOutResponse(v CustomTaskTimedOutResponse) error

FromCustomTaskTimedOutResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided CustomTaskTimedOutResponse

func (*StreamEventSsePayload_Data) FromWorkflowExecutionCanceledResponse

func (t *StreamEventSsePayload_Data) FromWorkflowExecutionCanceledResponse(v WorkflowExecutionCanceledResponse) error

FromWorkflowExecutionCanceledResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided WorkflowExecutionCanceledResponse

func (*StreamEventSsePayload_Data) FromWorkflowExecutionCompletedResponse

func (t *StreamEventSsePayload_Data) FromWorkflowExecutionCompletedResponse(v WorkflowExecutionCompletedResponse) error

FromWorkflowExecutionCompletedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided WorkflowExecutionCompletedResponse

func (*StreamEventSsePayload_Data) FromWorkflowExecutionContinuedAsNewResponse

func (t *StreamEventSsePayload_Data) FromWorkflowExecutionContinuedAsNewResponse(v WorkflowExecutionContinuedAsNewResponse) error

FromWorkflowExecutionContinuedAsNewResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided WorkflowExecutionContinuedAsNewResponse

func (*StreamEventSsePayload_Data) FromWorkflowExecutionFailedResponse

func (t *StreamEventSsePayload_Data) FromWorkflowExecutionFailedResponse(v WorkflowExecutionFailedResponse) error

FromWorkflowExecutionFailedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided WorkflowExecutionFailedResponse

func (*StreamEventSsePayload_Data) FromWorkflowExecutionStartedResponse

func (t *StreamEventSsePayload_Data) FromWorkflowExecutionStartedResponse(v WorkflowExecutionStartedResponse) error

FromWorkflowExecutionStartedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided WorkflowExecutionStartedResponse

func (*StreamEventSsePayload_Data) FromWorkflowTaskFailedResponse

func (t *StreamEventSsePayload_Data) FromWorkflowTaskFailedResponse(v WorkflowTaskFailedResponse) error

FromWorkflowTaskFailedResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided WorkflowTaskFailedResponse

func (*StreamEventSsePayload_Data) FromWorkflowTaskTimedOutResponse

func (t *StreamEventSsePayload_Data) FromWorkflowTaskTimedOutResponse(v WorkflowTaskTimedOutResponse) error

FromWorkflowTaskTimedOutResponse overwrites any union data inside the StreamEventSsePayload_Data as the provided WorkflowTaskTimedOutResponse

func (StreamEventSsePayload_Data) MarshalJSON

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

func (*StreamEventSsePayload_Data) MergeActivityTaskCompletedResponse

func (t *StreamEventSsePayload_Data) MergeActivityTaskCompletedResponse(v ActivityTaskCompletedResponse) error

MergeActivityTaskCompletedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided ActivityTaskCompletedResponse

func (*StreamEventSsePayload_Data) MergeActivityTaskFailedResponse

func (t *StreamEventSsePayload_Data) MergeActivityTaskFailedResponse(v ActivityTaskFailedResponse) error

MergeActivityTaskFailedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided ActivityTaskFailedResponse

func (*StreamEventSsePayload_Data) MergeActivityTaskRetryingResponse

func (t *StreamEventSsePayload_Data) MergeActivityTaskRetryingResponse(v ActivityTaskRetryingResponse) error

MergeActivityTaskRetryingResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided ActivityTaskRetryingResponse

func (*StreamEventSsePayload_Data) MergeActivityTaskStartedResponse

func (t *StreamEventSsePayload_Data) MergeActivityTaskStartedResponse(v ActivityTaskStartedResponse) error

MergeActivityTaskStartedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided ActivityTaskStartedResponse

func (*StreamEventSsePayload_Data) MergeCustomTaskCanceledResponse

func (t *StreamEventSsePayload_Data) MergeCustomTaskCanceledResponse(v CustomTaskCanceledResponse) error

MergeCustomTaskCanceledResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided CustomTaskCanceledResponse

func (*StreamEventSsePayload_Data) MergeCustomTaskCompletedResponse

func (t *StreamEventSsePayload_Data) MergeCustomTaskCompletedResponse(v CustomTaskCompletedResponse) error

MergeCustomTaskCompletedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided CustomTaskCompletedResponse

func (*StreamEventSsePayload_Data) MergeCustomTaskFailedResponse

func (t *StreamEventSsePayload_Data) MergeCustomTaskFailedResponse(v CustomTaskFailedResponse) error

MergeCustomTaskFailedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided CustomTaskFailedResponse

func (*StreamEventSsePayload_Data) MergeCustomTaskInProgressResponse

func (t *StreamEventSsePayload_Data) MergeCustomTaskInProgressResponse(v CustomTaskInProgressResponse) error

MergeCustomTaskInProgressResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided CustomTaskInProgressResponse

func (*StreamEventSsePayload_Data) MergeCustomTaskStartedResponse

func (t *StreamEventSsePayload_Data) MergeCustomTaskStartedResponse(v CustomTaskStartedResponse) error

MergeCustomTaskStartedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided CustomTaskStartedResponse

func (*StreamEventSsePayload_Data) MergeCustomTaskTimedOutResponse

func (t *StreamEventSsePayload_Data) MergeCustomTaskTimedOutResponse(v CustomTaskTimedOutResponse) error

MergeCustomTaskTimedOutResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided CustomTaskTimedOutResponse

func (*StreamEventSsePayload_Data) MergeWorkflowExecutionCanceledResponse

func (t *StreamEventSsePayload_Data) MergeWorkflowExecutionCanceledResponse(v WorkflowExecutionCanceledResponse) error

MergeWorkflowExecutionCanceledResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided WorkflowExecutionCanceledResponse

func (*StreamEventSsePayload_Data) MergeWorkflowExecutionCompletedResponse

func (t *StreamEventSsePayload_Data) MergeWorkflowExecutionCompletedResponse(v WorkflowExecutionCompletedResponse) error

MergeWorkflowExecutionCompletedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided WorkflowExecutionCompletedResponse

func (*StreamEventSsePayload_Data) MergeWorkflowExecutionContinuedAsNewResponse

func (t *StreamEventSsePayload_Data) MergeWorkflowExecutionContinuedAsNewResponse(v WorkflowExecutionContinuedAsNewResponse) error

MergeWorkflowExecutionContinuedAsNewResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided WorkflowExecutionContinuedAsNewResponse

func (*StreamEventSsePayload_Data) MergeWorkflowExecutionFailedResponse

func (t *StreamEventSsePayload_Data) MergeWorkflowExecutionFailedResponse(v WorkflowExecutionFailedResponse) error

MergeWorkflowExecutionFailedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided WorkflowExecutionFailedResponse

func (*StreamEventSsePayload_Data) MergeWorkflowExecutionStartedResponse

func (t *StreamEventSsePayload_Data) MergeWorkflowExecutionStartedResponse(v WorkflowExecutionStartedResponse) error

MergeWorkflowExecutionStartedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided WorkflowExecutionStartedResponse

func (*StreamEventSsePayload_Data) MergeWorkflowTaskFailedResponse

func (t *StreamEventSsePayload_Data) MergeWorkflowTaskFailedResponse(v WorkflowTaskFailedResponse) error

MergeWorkflowTaskFailedResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided WorkflowTaskFailedResponse

func (*StreamEventSsePayload_Data) MergeWorkflowTaskTimedOutResponse

func (t *StreamEventSsePayload_Data) MergeWorkflowTaskTimedOutResponse(v WorkflowTaskTimedOutResponse) error

MergeWorkflowTaskTimedOutResponse performs a merge with any union data inside the StreamEventSsePayload_Data, using the provided WorkflowTaskTimedOutResponse

func (*StreamEventSsePayload_Data) UnmarshalJSON

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

type StreamEventWorkflowContext

type StreamEventWorkflowContext struct {
	Namespace            string  `json:"namespace"`
	ParentWorkflowExecId *string `json:"parent_workflow_exec_id,omitempty"`
	RootWorkflowExecId   *string `json:"root_workflow_exec_id,omitempty"`
	WorkflowExecId       string  `json:"workflow_exec_id"`
	WorkflowName         string  `json:"workflow_name"`
}

StreamEventWorkflowContext defines model for StreamEventWorkflowContext.

type StreamV1WorkflowsExecutionsExecutionIdStreamGetParams

type StreamV1WorkflowsExecutionsExecutionIdStreamGetParams struct {
	EventSource *EventSource `form:"event_source,omitempty" json:"event_source,omitempty"`
	LastEventId *string      `form:"last_event_id,omitempty" json:"last_event_id,omitempty"`
}

StreamV1WorkflowsExecutionsExecutionIdStreamGetParams defines parameters for StreamV1WorkflowsExecutionsExecutionIdStreamGet.

type StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse

type StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseStreamV1WorkflowsExecutionsExecutionIdStreamGetResponse

func ParseStreamV1WorkflowsExecutionsExecutionIdStreamGetResponse(rsp *http.Response) (*StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse, error)

ParseStreamV1WorkflowsExecutionsExecutionIdStreamGetResponse parses an HTTP response from a StreamV1WorkflowsExecutionsExecutionIdStreamGetWithResponse call

func (StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) GetBody

GetBody returns the raw response body bytes

func (StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) Status

Status returns HTTPResponse.Status

func (StreamV1WorkflowsExecutionsExecutionIdStreamGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SystemMessage

type SystemMessage struct {
	Content SystemMessage_Content `json:"content"`
	Role    *SystemMessageRole    `json:"role,omitempty"`
}

SystemMessage defines model for SystemMessage.

type SystemMessageContent0

type SystemMessageContent0 = string

SystemMessageContent0 defines model for SystemMessage.Content.0.

type SystemMessageContent1

type SystemMessageContent1 = []SystemMessageContentChunks

SystemMessageContent1 defines model for SystemMessage.Content.1.

type SystemMessageContentChunks

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

SystemMessageContentChunks defines model for SystemMessageContentChunks.

func (SystemMessageContentChunks) AsTextChunk

func (t SystemMessageContentChunks) AsTextChunk() (TextChunk, error)

AsTextChunk returns the union data inside the SystemMessageContentChunks as a TextChunk

func (SystemMessageContentChunks) AsThinkChunk

func (t SystemMessageContentChunks) AsThinkChunk() (ThinkChunk, error)

AsThinkChunk returns the union data inside the SystemMessageContentChunks as a ThinkChunk

func (SystemMessageContentChunks) Discriminator

func (t SystemMessageContentChunks) Discriminator() (string, error)

func (*SystemMessageContentChunks) FromTextChunk

func (t *SystemMessageContentChunks) FromTextChunk(v TextChunk) error

FromTextChunk overwrites any union data inside the SystemMessageContentChunks as the provided TextChunk

func (*SystemMessageContentChunks) FromThinkChunk

func (t *SystemMessageContentChunks) FromThinkChunk(v ThinkChunk) error

FromThinkChunk overwrites any union data inside the SystemMessageContentChunks as the provided ThinkChunk

func (SystemMessageContentChunks) MarshalJSON

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

func (*SystemMessageContentChunks) MergeTextChunk

func (t *SystemMessageContentChunks) MergeTextChunk(v TextChunk) error

MergeTextChunk performs a merge with any union data inside the SystemMessageContentChunks, using the provided TextChunk

func (*SystemMessageContentChunks) MergeThinkChunk

func (t *SystemMessageContentChunks) MergeThinkChunk(v ThinkChunk) error

MergeThinkChunk performs a merge with any union data inside the SystemMessageContentChunks, using the provided ThinkChunk

func (*SystemMessageContentChunks) UnmarshalJSON

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

func (SystemMessageContentChunks) ValueByDiscriminator

func (t SystemMessageContentChunks) ValueByDiscriminator() (interface{}, error)

type SystemMessageRole

type SystemMessageRole string

SystemMessageRole defines model for SystemMessage.Role.

const (
	SystemMessageRoleSystem SystemMessageRole = "system"
)

Defines values for SystemMessageRole.

func (SystemMessageRole) Valid

func (e SystemMessageRole) Valid() bool

Valid indicates whether the value is a known member of the SystemMessageRole enum.

type SystemMessage_Content

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

SystemMessage_Content defines model for SystemMessage.Content.

func (SystemMessage_Content) AsSystemMessageContent0

func (t SystemMessage_Content) AsSystemMessageContent0() (SystemMessageContent0, error)

AsSystemMessageContent0 returns the union data inside the SystemMessage_Content as a SystemMessageContent0

func (SystemMessage_Content) AsSystemMessageContent1

func (t SystemMessage_Content) AsSystemMessageContent1() (SystemMessageContent1, error)

AsSystemMessageContent1 returns the union data inside the SystemMessage_Content as a SystemMessageContent1

func (*SystemMessage_Content) FromSystemMessageContent0

func (t *SystemMessage_Content) FromSystemMessageContent0(v SystemMessageContent0) error

FromSystemMessageContent0 overwrites any union data inside the SystemMessage_Content as the provided SystemMessageContent0

func (*SystemMessage_Content) FromSystemMessageContent1

func (t *SystemMessage_Content) FromSystemMessageContent1(v SystemMessageContent1) error

FromSystemMessageContent1 overwrites any union data inside the SystemMessage_Content as the provided SystemMessageContent1

func (SystemMessage_Content) MarshalJSON

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

func (*SystemMessage_Content) MergeSystemMessageContent0

func (t *SystemMessage_Content) MergeSystemMessageContent0(v SystemMessageContent0) error

MergeSystemMessageContent0 performs a merge with any union data inside the SystemMessage_Content, using the provided SystemMessageContent0

func (*SystemMessage_Content) MergeSystemMessageContent1

func (t *SystemMessage_Content) MergeSystemMessageContent1(v SystemMessageContent1) error

MergeSystemMessageContent1 performs a merge with any union data inside the SystemMessage_Content, using the provided SystemMessageContent1

func (*SystemMessage_Content) UnmarshalJSON

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

type TempoGetTraceResponse

type TempoGetTraceResponse struct {
	// Batches The batches of the trace
	Batches *[]TempoTraceBatch `json:"batches,omitempty"`
}

TempoGetTraceResponse Trace response in OpenTelemetry format.

This is the unified trace format used across all trace providers (Tempo, ClickHouse, etc.). Regardless of the underlying backend, all trace data is normalized to this Tempo-compatible OpenTelemetry format to ensure consistency in the API response structure.

type TempoTraceAttribute

type TempoTraceAttribute struct {
	// Key The key of the attribute
	Key string `json:"key"`

	// Value The value of the attribute
	Value TempoTraceAttribute_Value `json:"value"`
}

TempoTraceAttribute defines model for TempoTraceAttribute.

type TempoTraceAttributeBoolValue

type TempoTraceAttributeBoolValue struct {
	// BoolValue The boolean value of the attribute
	BoolValue bool `json:"boolValue"`
}

TempoTraceAttributeBoolValue defines model for TempoTraceAttributeBoolValue.

type TempoTraceAttributeIntValue

type TempoTraceAttributeIntValue struct {
	// IntValue The integer value of the attribute
	IntValue string `json:"intValue"`
}

TempoTraceAttributeIntValue defines model for TempoTraceAttributeIntValue.

type TempoTraceAttributeStringValue

type TempoTraceAttributeStringValue struct {
	// StringValue The string value of the attribute
	StringValue string `json:"stringValue"`
}

TempoTraceAttributeStringValue defines model for TempoTraceAttributeStringValue.

type TempoTraceAttribute_Value

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

TempoTraceAttribute_Value The value of the attribute

func (TempoTraceAttribute_Value) AsTempoTraceAttributeBoolValue

func (t TempoTraceAttribute_Value) AsTempoTraceAttributeBoolValue() (TempoTraceAttributeBoolValue, error)

AsTempoTraceAttributeBoolValue returns the union data inside the TempoTraceAttribute_Value as a TempoTraceAttributeBoolValue

func (TempoTraceAttribute_Value) AsTempoTraceAttributeIntValue

func (t TempoTraceAttribute_Value) AsTempoTraceAttributeIntValue() (TempoTraceAttributeIntValue, error)

AsTempoTraceAttributeIntValue returns the union data inside the TempoTraceAttribute_Value as a TempoTraceAttributeIntValue

func (TempoTraceAttribute_Value) AsTempoTraceAttributeStringValue

func (t TempoTraceAttribute_Value) AsTempoTraceAttributeStringValue() (TempoTraceAttributeStringValue, error)

AsTempoTraceAttributeStringValue returns the union data inside the TempoTraceAttribute_Value as a TempoTraceAttributeStringValue

func (*TempoTraceAttribute_Value) FromTempoTraceAttributeBoolValue

func (t *TempoTraceAttribute_Value) FromTempoTraceAttributeBoolValue(v TempoTraceAttributeBoolValue) error

FromTempoTraceAttributeBoolValue overwrites any union data inside the TempoTraceAttribute_Value as the provided TempoTraceAttributeBoolValue

func (*TempoTraceAttribute_Value) FromTempoTraceAttributeIntValue

func (t *TempoTraceAttribute_Value) FromTempoTraceAttributeIntValue(v TempoTraceAttributeIntValue) error

FromTempoTraceAttributeIntValue overwrites any union data inside the TempoTraceAttribute_Value as the provided TempoTraceAttributeIntValue

func (*TempoTraceAttribute_Value) FromTempoTraceAttributeStringValue

func (t *TempoTraceAttribute_Value) FromTempoTraceAttributeStringValue(v TempoTraceAttributeStringValue) error

FromTempoTraceAttributeStringValue overwrites any union data inside the TempoTraceAttribute_Value as the provided TempoTraceAttributeStringValue

func (TempoTraceAttribute_Value) MarshalJSON

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

func (*TempoTraceAttribute_Value) MergeTempoTraceAttributeBoolValue

func (t *TempoTraceAttribute_Value) MergeTempoTraceAttributeBoolValue(v TempoTraceAttributeBoolValue) error

MergeTempoTraceAttributeBoolValue performs a merge with any union data inside the TempoTraceAttribute_Value, using the provided TempoTraceAttributeBoolValue

func (*TempoTraceAttribute_Value) MergeTempoTraceAttributeIntValue

func (t *TempoTraceAttribute_Value) MergeTempoTraceAttributeIntValue(v TempoTraceAttributeIntValue) error

MergeTempoTraceAttributeIntValue performs a merge with any union data inside the TempoTraceAttribute_Value, using the provided TempoTraceAttributeIntValue

func (*TempoTraceAttribute_Value) MergeTempoTraceAttributeStringValue

func (t *TempoTraceAttribute_Value) MergeTempoTraceAttributeStringValue(v TempoTraceAttributeStringValue) error

MergeTempoTraceAttributeStringValue performs a merge with any union data inside the TempoTraceAttribute_Value, using the provided TempoTraceAttributeStringValue

func (*TempoTraceAttribute_Value) UnmarshalJSON

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

type TempoTraceBatch

type TempoTraceBatch struct {
	// Resource The resource of the batch
	Resource TempoTraceResource `json:"resource"`

	// ScopeSpans The spans of the scope
	ScopeSpans *[]TempoTraceScopeSpan `json:"scopeSpans,omitempty"`
}

TempoTraceBatch defines model for TempoTraceBatch.

type TempoTraceEvent

type TempoTraceEvent struct {
	// Attributes The attributes of the event
	Attributes *[]TempoTraceAttribute `json:"attributes,omitempty"`

	// Name The name of the event
	Name string `json:"name"`

	// TimeUnixNano The time of the event in Unix nano
	TimeUnixNano string `json:"timeUnixNano"`
}

TempoTraceEvent defines model for TempoTraceEvent.

type TempoTraceResource

type TempoTraceResource struct {
	// Attributes The attributes of the resource
	Attributes *[]TempoTraceAttribute `json:"attributes,omitempty"`
}

TempoTraceResource defines model for TempoTraceResource.

type TempoTraceScope

type TempoTraceScope struct {
	// Name The name of the span
	Name string `json:"name"`
}

TempoTraceScope defines model for TempoTraceScope.

type TempoTraceScopeKind

type TempoTraceScopeKind string

TempoTraceScopeKind defines model for TempoTraceScopeKind.

const (
	TempoTraceScopeKindSPANKINDCLIENT   TempoTraceScopeKind = "SPAN_KIND_CLIENT"
	TempoTraceScopeKindSPANKINDINTERNAL TempoTraceScopeKind = "SPAN_KIND_INTERNAL"
	TempoTraceScopeKindSPANKINDSERVER   TempoTraceScopeKind = "SPAN_KIND_SERVER"
)

Defines values for TempoTraceScopeKind.

func (TempoTraceScopeKind) Valid

func (e TempoTraceScopeKind) Valid() bool

Valid indicates whether the value is a known member of the TempoTraceScopeKind enum.

type TempoTraceScopeSpan

type TempoTraceScopeSpan struct {
	// Scope The scope of the span
	Scope TempoTraceScope `json:"scope"`

	// Spans The spans of the scope
	Spans *[]TempoTraceSpan `json:"spans,omitempty"`
}

TempoTraceScopeSpan defines model for TempoTraceScopeSpan.

type TempoTraceSpan

type TempoTraceSpan struct {
	// Attributes The attributes of the scope
	Attributes *[]TempoTraceAttribute `json:"attributes,omitempty"`

	// EndTimeUnixNano The end time of the scope in Unix nano
	EndTimeUnixNano string `json:"endTimeUnixNano"`

	// Events The events of the scope
	Events *[]TempoTraceEvent `json:"events,omitempty"`

	// Kind The kind of the scope
	Kind TempoTraceScopeKind `json:"kind"`

	// Name The name of the scope
	Name string `json:"name"`

	// ParentSpanId The parent span ID of the scope
	ParentSpanId *string `json:"parentSpanId,omitempty"`

	// SpanId The span ID of the scope
	SpanId string `json:"spanId"`

	// StartTimeUnixNano The start time of the scope in Unix nano
	StartTimeUnixNano string `json:"startTimeUnixNano"`

	// TraceId The trace ID of the scope
	TraceId string `json:"traceId"`
}

TempoTraceSpan defines model for TempoTraceSpan.

type TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse

type TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseTerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse

func ParseTerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse(rsp *http.Response) (*TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse, error)

ParseTerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse parses an HTTP response from a TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostWithResponse call

func (TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) GetBody

GetBody returns the raw response body bytes

func (TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) Status

Status returns HTTPResponse.Status

func (TerminateWorkflowExecutionV1WorkflowsExecutionsExecutionIdTerminatePostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type TextChunk

type TextChunk struct {
	Text string         `json:"text"`
	Type *TextChunkType `json:"type,omitempty"`
}

TextChunk defines model for TextChunk.

type TextChunkType

type TextChunkType string

TextChunkType defines model for TextChunk.Type.

const (
	TextChunkTypeText TextChunkType = "text"
)

Defines values for TextChunkType.

func (TextChunkType) Valid

func (e TextChunkType) Valid() bool

Valid indicates whether the value is a known member of the TextChunkType enum.

type TextContent

type TextContent struct {
	UnderscoreMeta       *map[string]interface{} `json:"_meta,omitempty"`
	Annotations          *Annotations            `json:"annotations,omitempty"`
	Text                 string                  `json:"text"`
	Type                 TextContentType         `json:"type"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

TextContent Text content for a message.

func (TextContent) Get

func (a TextContent) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for TextContent. Returns the specified element and whether it was found

func (TextContent) MarshalJSON

func (a TextContent) MarshalJSON() ([]byte, error)

Override default JSON handling for TextContent to handle AdditionalProperties

func (*TextContent) Set

func (a *TextContent) Set(fieldName string, value interface{})

Setter for additional properties for TextContent

func (*TextContent) UnmarshalJSON

func (a *TextContent) UnmarshalJSON(b []byte) error

Override default JSON handling for TextContent to handle AdditionalProperties

type TextContentType

type TextContentType string

TextContentType defines model for TextContent.Type.

const (
	TextContentTypeText TextContentType = "text"
)

Defines values for TextContentType.

func (TextContentType) Valid

func (e TextContentType) Valid() bool

Valid indicates whether the value is a known member of the TextContentType enum.

type TextResourceContents

type TextResourceContents struct {
	UnderscoreMeta       *map[string]interface{} `json:"_meta,omitempty"`
	MimeType             *string                 `json:"mimeType,omitempty"`
	Text                 string                  `json:"text"`
	Uri                  string                  `json:"uri"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

TextResourceContents Text contents of a resource.

func (TextResourceContents) Get

func (a TextResourceContents) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for TextResourceContents. Returns the specified element and whether it was found

func (TextResourceContents) MarshalJSON

func (a TextResourceContents) MarshalJSON() ([]byte, error)

Override default JSON handling for TextResourceContents to handle AdditionalProperties

func (*TextResourceContents) Set

func (a *TextResourceContents) Set(fieldName string, value interface{})

Setter for additional properties for TextResourceContents

func (*TextResourceContents) UnmarshalJSON

func (a *TextResourceContents) UnmarshalJSON(b []byte) error

Override default JSON handling for TextResourceContents to handle AdditionalProperties

type ThinkChunk

type ThinkChunk struct {
	// Closed Whether the thinking chunk is closed or not. Currently only used for prefixing.
	Closed   *bool                      `json:"closed,omitempty"`
	Thinking []ThinkChunk_Thinking_Item `json:"thinking"`
	Type     *ThinkChunkType            `json:"type,omitempty"`
}

ThinkChunk defines model for ThinkChunk.

type ThinkChunkType

type ThinkChunkType string

ThinkChunkType defines model for ThinkChunk.Type.

const (
	ThinkChunkTypeThinking ThinkChunkType = "thinking"
)

Defines values for ThinkChunkType.

func (ThinkChunkType) Valid

func (e ThinkChunkType) Valid() bool

Valid indicates whether the value is a known member of the ThinkChunkType enum.

type ThinkChunk_Thinking_Item

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

ThinkChunk_Thinking_Item defines model for ThinkChunk.thinking.Item.

func (ThinkChunk_Thinking_Item) AsReferenceChunk

func (t ThinkChunk_Thinking_Item) AsReferenceChunk() (ReferenceChunk, error)

AsReferenceChunk returns the union data inside the ThinkChunk_Thinking_Item as a ReferenceChunk

func (ThinkChunk_Thinking_Item) AsTextChunk

func (t ThinkChunk_Thinking_Item) AsTextChunk() (TextChunk, error)

AsTextChunk returns the union data inside the ThinkChunk_Thinking_Item as a TextChunk

func (ThinkChunk_Thinking_Item) AsToolReferenceChunk

func (t ThinkChunk_Thinking_Item) AsToolReferenceChunk() (ToolReferenceChunk, error)

AsToolReferenceChunk returns the union data inside the ThinkChunk_Thinking_Item as a ToolReferenceChunk

func (*ThinkChunk_Thinking_Item) FromReferenceChunk

func (t *ThinkChunk_Thinking_Item) FromReferenceChunk(v ReferenceChunk) error

FromReferenceChunk overwrites any union data inside the ThinkChunk_Thinking_Item as the provided ReferenceChunk

func (*ThinkChunk_Thinking_Item) FromTextChunk

func (t *ThinkChunk_Thinking_Item) FromTextChunk(v TextChunk) error

FromTextChunk overwrites any union data inside the ThinkChunk_Thinking_Item as the provided TextChunk

func (*ThinkChunk_Thinking_Item) FromToolReferenceChunk

func (t *ThinkChunk_Thinking_Item) FromToolReferenceChunk(v ToolReferenceChunk) error

FromToolReferenceChunk overwrites any union data inside the ThinkChunk_Thinking_Item as the provided ToolReferenceChunk

func (ThinkChunk_Thinking_Item) MarshalJSON

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

func (*ThinkChunk_Thinking_Item) MergeReferenceChunk

func (t *ThinkChunk_Thinking_Item) MergeReferenceChunk(v ReferenceChunk) error

MergeReferenceChunk performs a merge with any union data inside the ThinkChunk_Thinking_Item, using the provided ReferenceChunk

func (*ThinkChunk_Thinking_Item) MergeTextChunk

func (t *ThinkChunk_Thinking_Item) MergeTextChunk(v TextChunk) error

MergeTextChunk performs a merge with any union data inside the ThinkChunk_Thinking_Item, using the provided TextChunk

func (*ThinkChunk_Thinking_Item) MergeToolReferenceChunk

func (t *ThinkChunk_Thinking_Item) MergeToolReferenceChunk(v ToolReferenceChunk) error

MergeToolReferenceChunk performs a merge with any union data inside the ThinkChunk_Thinking_Item, using the provided ToolReferenceChunk

func (*ThinkChunk_Thinking_Item) UnmarshalJSON

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

type TimeSeriesMetric

type TimeSeriesMetric struct {
	Value [][]interface{} `json:"value"`
}

TimeSeriesMetric Time-series metric with timestamp-value pairs.

type TimestampGranularity

type TimestampGranularity string

TimestampGranularity defines model for TimestampGranularity.

const (
	TimestampGranularitySegment TimestampGranularity = "segment"
	TimestampGranularityWord    TimestampGranularity = "word"
)

Defines values for TimestampGranularity.

func (TimestampGranularity) Valid

func (e TimestampGranularity) Valid() bool

Valid indicates whether the value is a known member of the TimestampGranularity enum.

type Tool

type Tool struct {
	Function Function   `json:"function"`
	Type     *ToolTypes `json:"type,omitempty"`
}

Tool defines model for Tool.

type ToolAnnotations

type ToolAnnotations struct {
	DestructiveHint      *bool                  `json:"destructiveHint,omitempty"`
	IdempotentHint       *bool                  `json:"idempotentHint,omitempty"`
	OpenWorldHint        *bool                  `json:"openWorldHint,omitempty"`
	ReadOnlyHint         *bool                  `json:"readOnlyHint,omitempty"`
	Title                *string                `json:"title,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

ToolAnnotations Additional properties describing a Tool to clients.

NOTE: all properties in ToolAnnotations are **hints**. They are not guaranteed to provide a faithful description of tool behavior (including descriptive properties like `title`).

Clients should never make tool use decisions based on ToolAnnotations received from untrusted servers.

func (ToolAnnotations) Get

func (a ToolAnnotations) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ToolAnnotations. Returns the specified element and whether it was found

func (ToolAnnotations) MarshalJSON

func (a ToolAnnotations) MarshalJSON() ([]byte, error)

Override default JSON handling for ToolAnnotations to handle AdditionalProperties

func (*ToolAnnotations) Set

func (a *ToolAnnotations) Set(fieldName string, value interface{})

Setter for additional properties for ToolAnnotations

func (*ToolAnnotations) UnmarshalJSON

func (a *ToolAnnotations) UnmarshalJSON(b []byte) error

Override default JSON handling for ToolAnnotations to handle AdditionalProperties

type ToolCall

type ToolCall struct {
	Function FunctionCall `json:"function"`
	Id       *string      `json:"id,omitempty"`
	Index    *int         `json:"index,omitempty"`
	Type     *ToolTypes   `json:"type,omitempty"`
}

ToolCall defines model for ToolCall.

type ToolCallConfirmation

type ToolCallConfirmation struct {
	Confirmation ToolCallConfirmationConfirmation `json:"confirmation"`
	ToolCallId   string                           `json:"tool_call_id"`
}

ToolCallConfirmation defines model for ToolCallConfirmation.

type ToolCallConfirmationConfirmation

type ToolCallConfirmationConfirmation string

ToolCallConfirmationConfirmation defines model for ToolCallConfirmation.Confirmation.

const (
	ToolCallConfirmationConfirmationAllow ToolCallConfirmationConfirmation = "allow"
	ToolCallConfirmationConfirmationDeny  ToolCallConfirmationConfirmation = "deny"
)

Defines values for ToolCallConfirmationConfirmation.

func (ToolCallConfirmationConfirmation) Valid

Valid indicates whether the value is a known member of the ToolCallConfirmationConfirmation enum.

type ToolChoice

type ToolChoice struct {
	// Function this restriction of `Function` is used to select a specific function to call
	Function FunctionName `json:"function"`
	Type     *ToolTypes   `json:"type,omitempty"`
}

ToolChoice ToolChoice is either a ToolChoiceEnum or a ToolChoice

type ToolChoiceEnum

type ToolChoiceEnum string

ToolChoiceEnum defines model for ToolChoiceEnum.

const (
	ToolChoiceEnumAny      ToolChoiceEnum = "any"
	ToolChoiceEnumAuto     ToolChoiceEnum = "auto"
	ToolChoiceEnumNone     ToolChoiceEnum = "none"
	ToolChoiceEnumRequired ToolChoiceEnum = "required"
)

Defines values for ToolChoiceEnum.

func (ToolChoiceEnum) Valid

func (e ToolChoiceEnum) Valid() bool

Valid indicates whether the value is a known member of the ToolChoiceEnum enum.

type ToolConfiguration

type ToolConfiguration struct {
	Exclude              *[]string `json:"exclude,omitempty"`
	Include              *[]string `json:"include,omitempty"`
	RequiresConfirmation *[]string `json:"requires_confirmation,omitempty"`
}

ToolConfiguration defines model for ToolConfiguration.

type ToolExecution

type ToolExecution struct {
	TaskSupport          *ToolExecutionTaskSupport `json:"taskSupport,omitempty"`
	AdditionalProperties map[string]interface{}    `json:"-"`
}

ToolExecution Execution-related properties for a tool.

func (ToolExecution) Get

func (a ToolExecution) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ToolExecution. Returns the specified element and whether it was found

func (ToolExecution) MarshalJSON

func (a ToolExecution) MarshalJSON() ([]byte, error)

Override default JSON handling for ToolExecution to handle AdditionalProperties

func (*ToolExecution) Set

func (a *ToolExecution) Set(fieldName string, value interface{})

Setter for additional properties for ToolExecution

func (*ToolExecution) UnmarshalJSON

func (a *ToolExecution) UnmarshalJSON(b []byte) error

Override default JSON handling for ToolExecution to handle AdditionalProperties

type ToolExecutionDeltaEvent

type ToolExecutionDeltaEvent struct {
	Arguments   string                       `json:"arguments"`
	CreatedAt   *time.Time                   `json:"created_at,omitempty"`
	Id          string                       `json:"id"`
	Name        ToolExecutionDeltaEvent_Name `json:"name"`
	OutputIndex *int                         `json:"output_index,omitempty"`
	Type        *ToolExecutionDeltaEventType `json:"type,omitempty"`
}

ToolExecutionDeltaEvent defines model for ToolExecutionDeltaEvent.

type ToolExecutionDeltaEventName1

type ToolExecutionDeltaEventName1 = string

ToolExecutionDeltaEventName1 defines model for ToolExecutionDeltaEvent.Name.1.

type ToolExecutionDeltaEventType

type ToolExecutionDeltaEventType string

ToolExecutionDeltaEventType defines model for ToolExecutionDeltaEvent.Type.

const (
	ToolExecutionDeltaEventTypeToolExecutionDelta ToolExecutionDeltaEventType = "tool.execution.delta"
)

Defines values for ToolExecutionDeltaEventType.

func (ToolExecutionDeltaEventType) Valid

Valid indicates whether the value is a known member of the ToolExecutionDeltaEventType enum.

type ToolExecutionDeltaEvent_Name

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

ToolExecutionDeltaEvent_Name defines model for ToolExecutionDeltaEvent.Name.

func (ToolExecutionDeltaEvent_Name) AsBuiltInConnectors

func (t ToolExecutionDeltaEvent_Name) AsBuiltInConnectors() (BuiltInConnectors, error)

AsBuiltInConnectors returns the union data inside the ToolExecutionDeltaEvent_Name as a BuiltInConnectors

func (ToolExecutionDeltaEvent_Name) AsToolExecutionDeltaEventName1

func (t ToolExecutionDeltaEvent_Name) AsToolExecutionDeltaEventName1() (ToolExecutionDeltaEventName1, error)

AsToolExecutionDeltaEventName1 returns the union data inside the ToolExecutionDeltaEvent_Name as a ToolExecutionDeltaEventName1

func (*ToolExecutionDeltaEvent_Name) FromBuiltInConnectors

func (t *ToolExecutionDeltaEvent_Name) FromBuiltInConnectors(v BuiltInConnectors) error

FromBuiltInConnectors overwrites any union data inside the ToolExecutionDeltaEvent_Name as the provided BuiltInConnectors

func (*ToolExecutionDeltaEvent_Name) FromToolExecutionDeltaEventName1

func (t *ToolExecutionDeltaEvent_Name) FromToolExecutionDeltaEventName1(v ToolExecutionDeltaEventName1) error

FromToolExecutionDeltaEventName1 overwrites any union data inside the ToolExecutionDeltaEvent_Name as the provided ToolExecutionDeltaEventName1

func (ToolExecutionDeltaEvent_Name) MarshalJSON

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

func (*ToolExecutionDeltaEvent_Name) MergeBuiltInConnectors

func (t *ToolExecutionDeltaEvent_Name) MergeBuiltInConnectors(v BuiltInConnectors) error

MergeBuiltInConnectors performs a merge with any union data inside the ToolExecutionDeltaEvent_Name, using the provided BuiltInConnectors

func (*ToolExecutionDeltaEvent_Name) MergeToolExecutionDeltaEventName1

func (t *ToolExecutionDeltaEvent_Name) MergeToolExecutionDeltaEventName1(v ToolExecutionDeltaEventName1) error

MergeToolExecutionDeltaEventName1 performs a merge with any union data inside the ToolExecutionDeltaEvent_Name, using the provided ToolExecutionDeltaEventName1

func (*ToolExecutionDeltaEvent_Name) UnmarshalJSON

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

type ToolExecutionDoneEvent

type ToolExecutionDoneEvent struct {
	CreatedAt   *time.Time                  `json:"created_at,omitempty"`
	Id          string                      `json:"id"`
	Info        *ToolExecutionInfo          `json:"info,omitempty"`
	Name        ToolExecutionDoneEvent_Name `json:"name"`
	OutputIndex *int                        `json:"output_index,omitempty"`
	Type        *ToolExecutionDoneEventType `json:"type,omitempty"`
}

ToolExecutionDoneEvent defines model for ToolExecutionDoneEvent.

type ToolExecutionDoneEventName1

type ToolExecutionDoneEventName1 = string

ToolExecutionDoneEventName1 defines model for ToolExecutionDoneEvent.Name.1.

type ToolExecutionDoneEventType

type ToolExecutionDoneEventType string

ToolExecutionDoneEventType defines model for ToolExecutionDoneEvent.Type.

const (
	ToolExecutionDoneEventTypeToolExecutionDone ToolExecutionDoneEventType = "tool.execution.done"
)

Defines values for ToolExecutionDoneEventType.

func (ToolExecutionDoneEventType) Valid

func (e ToolExecutionDoneEventType) Valid() bool

Valid indicates whether the value is a known member of the ToolExecutionDoneEventType enum.

type ToolExecutionDoneEvent_Name

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

ToolExecutionDoneEvent_Name defines model for ToolExecutionDoneEvent.Name.

func (ToolExecutionDoneEvent_Name) AsBuiltInConnectors

func (t ToolExecutionDoneEvent_Name) AsBuiltInConnectors() (BuiltInConnectors, error)

AsBuiltInConnectors returns the union data inside the ToolExecutionDoneEvent_Name as a BuiltInConnectors

func (ToolExecutionDoneEvent_Name) AsToolExecutionDoneEventName1

func (t ToolExecutionDoneEvent_Name) AsToolExecutionDoneEventName1() (ToolExecutionDoneEventName1, error)

AsToolExecutionDoneEventName1 returns the union data inside the ToolExecutionDoneEvent_Name as a ToolExecutionDoneEventName1

func (*ToolExecutionDoneEvent_Name) FromBuiltInConnectors

func (t *ToolExecutionDoneEvent_Name) FromBuiltInConnectors(v BuiltInConnectors) error

FromBuiltInConnectors overwrites any union data inside the ToolExecutionDoneEvent_Name as the provided BuiltInConnectors

func (*ToolExecutionDoneEvent_Name) FromToolExecutionDoneEventName1

func (t *ToolExecutionDoneEvent_Name) FromToolExecutionDoneEventName1(v ToolExecutionDoneEventName1) error

FromToolExecutionDoneEventName1 overwrites any union data inside the ToolExecutionDoneEvent_Name as the provided ToolExecutionDoneEventName1

func (ToolExecutionDoneEvent_Name) MarshalJSON

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

func (*ToolExecutionDoneEvent_Name) MergeBuiltInConnectors

func (t *ToolExecutionDoneEvent_Name) MergeBuiltInConnectors(v BuiltInConnectors) error

MergeBuiltInConnectors performs a merge with any union data inside the ToolExecutionDoneEvent_Name, using the provided BuiltInConnectors

func (*ToolExecutionDoneEvent_Name) MergeToolExecutionDoneEventName1

func (t *ToolExecutionDoneEvent_Name) MergeToolExecutionDoneEventName1(v ToolExecutionDoneEventName1) error

MergeToolExecutionDoneEventName1 performs a merge with any union data inside the ToolExecutionDoneEvent_Name, using the provided ToolExecutionDoneEventName1

func (*ToolExecutionDoneEvent_Name) UnmarshalJSON

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

type ToolExecutionEntry

type ToolExecutionEntry struct {
	AgentId     *string                   `json:"agent_id,omitempty"`
	Arguments   string                    `json:"arguments"`
	CompletedAt *time.Time                `json:"completed_at,omitempty"`
	CreatedAt   *time.Time                `json:"created_at,omitempty"`
	Id          *string                   `json:"id,omitempty"`
	Info        *ToolExecutionInfo        `json:"info,omitempty"`
	Model       *string                   `json:"model,omitempty"`
	Name        ToolExecutionEntry_Name   `json:"name"`
	Object      *ToolExecutionEntryObject `json:"object,omitempty"`
	Type        *ToolExecutionEntryType   `json:"type,omitempty"`
}

ToolExecutionEntry defines model for ToolExecutionEntry.

type ToolExecutionEntryName1

type ToolExecutionEntryName1 = string

ToolExecutionEntryName1 defines model for ToolExecutionEntry.Name.1.

type ToolExecutionEntryObject

type ToolExecutionEntryObject string

ToolExecutionEntryObject defines model for ToolExecutionEntry.Object.

const (
	ToolExecutionEntryObjectEntry ToolExecutionEntryObject = "entry"
)

Defines values for ToolExecutionEntryObject.

func (ToolExecutionEntryObject) Valid

func (e ToolExecutionEntryObject) Valid() bool

Valid indicates whether the value is a known member of the ToolExecutionEntryObject enum.

type ToolExecutionEntryType

type ToolExecutionEntryType string

ToolExecutionEntryType defines model for ToolExecutionEntry.Type.

const (
	ToolExecutionEntryTypeToolExecution ToolExecutionEntryType = "tool.execution"
)

Defines values for ToolExecutionEntryType.

func (ToolExecutionEntryType) Valid

func (e ToolExecutionEntryType) Valid() bool

Valid indicates whether the value is a known member of the ToolExecutionEntryType enum.

type ToolExecutionEntry_Name

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

ToolExecutionEntry_Name defines model for ToolExecutionEntry.Name.

func (ToolExecutionEntry_Name) AsBuiltInConnectors

func (t ToolExecutionEntry_Name) AsBuiltInConnectors() (BuiltInConnectors, error)

AsBuiltInConnectors returns the union data inside the ToolExecutionEntry_Name as a BuiltInConnectors

func (ToolExecutionEntry_Name) AsToolExecutionEntryName1

func (t ToolExecutionEntry_Name) AsToolExecutionEntryName1() (ToolExecutionEntryName1, error)

AsToolExecutionEntryName1 returns the union data inside the ToolExecutionEntry_Name as a ToolExecutionEntryName1

func (*ToolExecutionEntry_Name) FromBuiltInConnectors

func (t *ToolExecutionEntry_Name) FromBuiltInConnectors(v BuiltInConnectors) error

FromBuiltInConnectors overwrites any union data inside the ToolExecutionEntry_Name as the provided BuiltInConnectors

func (*ToolExecutionEntry_Name) FromToolExecutionEntryName1

func (t *ToolExecutionEntry_Name) FromToolExecutionEntryName1(v ToolExecutionEntryName1) error

FromToolExecutionEntryName1 overwrites any union data inside the ToolExecutionEntry_Name as the provided ToolExecutionEntryName1

func (ToolExecutionEntry_Name) MarshalJSON

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

func (*ToolExecutionEntry_Name) MergeBuiltInConnectors

func (t *ToolExecutionEntry_Name) MergeBuiltInConnectors(v BuiltInConnectors) error

MergeBuiltInConnectors performs a merge with any union data inside the ToolExecutionEntry_Name, using the provided BuiltInConnectors

func (*ToolExecutionEntry_Name) MergeToolExecutionEntryName1

func (t *ToolExecutionEntry_Name) MergeToolExecutionEntryName1(v ToolExecutionEntryName1) error

MergeToolExecutionEntryName1 performs a merge with any union data inside the ToolExecutionEntry_Name, using the provided ToolExecutionEntryName1

func (*ToolExecutionEntry_Name) UnmarshalJSON

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

type ToolExecutionInfo

type ToolExecutionInfo map[string]interface{}

ToolExecutionInfo defines model for ToolExecutionInfo.

type ToolExecutionStartedEvent

type ToolExecutionStartedEvent struct {
	AgentId     *string                        `json:"agent_id,omitempty"`
	Arguments   string                         `json:"arguments"`
	CreatedAt   *time.Time                     `json:"created_at,omitempty"`
	Id          string                         `json:"id"`
	Model       *string                        `json:"model,omitempty"`
	Name        ToolExecutionStartedEvent_Name `json:"name"`
	OutputIndex *int                           `json:"output_index,omitempty"`
	Type        *ToolExecutionStartedEventType `json:"type,omitempty"`
}

ToolExecutionStartedEvent defines model for ToolExecutionStartedEvent.

type ToolExecutionStartedEventName1

type ToolExecutionStartedEventName1 = string

ToolExecutionStartedEventName1 defines model for ToolExecutionStartedEvent.Name.1.

type ToolExecutionStartedEventType

type ToolExecutionStartedEventType string

ToolExecutionStartedEventType defines model for ToolExecutionStartedEvent.Type.

const (
	ToolExecutionStartedEventTypeToolExecutionStarted ToolExecutionStartedEventType = "tool.execution.started"
)

Defines values for ToolExecutionStartedEventType.

func (ToolExecutionStartedEventType) Valid

Valid indicates whether the value is a known member of the ToolExecutionStartedEventType enum.

type ToolExecutionStartedEvent_Name

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

ToolExecutionStartedEvent_Name defines model for ToolExecutionStartedEvent.Name.

func (ToolExecutionStartedEvent_Name) AsBuiltInConnectors

func (t ToolExecutionStartedEvent_Name) AsBuiltInConnectors() (BuiltInConnectors, error)

AsBuiltInConnectors returns the union data inside the ToolExecutionStartedEvent_Name as a BuiltInConnectors

func (ToolExecutionStartedEvent_Name) AsToolExecutionStartedEventName1

func (t ToolExecutionStartedEvent_Name) AsToolExecutionStartedEventName1() (ToolExecutionStartedEventName1, error)

AsToolExecutionStartedEventName1 returns the union data inside the ToolExecutionStartedEvent_Name as a ToolExecutionStartedEventName1

func (*ToolExecutionStartedEvent_Name) FromBuiltInConnectors

func (t *ToolExecutionStartedEvent_Name) FromBuiltInConnectors(v BuiltInConnectors) error

FromBuiltInConnectors overwrites any union data inside the ToolExecutionStartedEvent_Name as the provided BuiltInConnectors

func (*ToolExecutionStartedEvent_Name) FromToolExecutionStartedEventName1

func (t *ToolExecutionStartedEvent_Name) FromToolExecutionStartedEventName1(v ToolExecutionStartedEventName1) error

FromToolExecutionStartedEventName1 overwrites any union data inside the ToolExecutionStartedEvent_Name as the provided ToolExecutionStartedEventName1

func (ToolExecutionStartedEvent_Name) MarshalJSON

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

func (*ToolExecutionStartedEvent_Name) MergeBuiltInConnectors

func (t *ToolExecutionStartedEvent_Name) MergeBuiltInConnectors(v BuiltInConnectors) error

MergeBuiltInConnectors performs a merge with any union data inside the ToolExecutionStartedEvent_Name, using the provided BuiltInConnectors

func (*ToolExecutionStartedEvent_Name) MergeToolExecutionStartedEventName1

func (t *ToolExecutionStartedEvent_Name) MergeToolExecutionStartedEventName1(v ToolExecutionStartedEventName1) error

MergeToolExecutionStartedEventName1 performs a merge with any union data inside the ToolExecutionStartedEvent_Name, using the provided ToolExecutionStartedEventName1

func (*ToolExecutionStartedEvent_Name) UnmarshalJSON

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

type ToolExecutionTaskSupport

type ToolExecutionTaskSupport string

ToolExecutionTaskSupport defines model for ToolExecution.TaskSupport.

const (
	ToolExecutionTaskSupportForbidden ToolExecutionTaskSupport = "forbidden"
	ToolExecutionTaskSupportOptional  ToolExecutionTaskSupport = "optional"
	ToolExecutionTaskSupportRequired  ToolExecutionTaskSupport = "required"
)

Defines values for ToolExecutionTaskSupport.

func (ToolExecutionTaskSupport) Valid

func (e ToolExecutionTaskSupport) Valid() bool

Valid indicates whether the value is a known member of the ToolExecutionTaskSupport enum.

type ToolFileChunk

type ToolFileChunk struct {
	FileId   string             `json:"file_id"`
	FileName *string            `json:"file_name,omitempty"`
	FileType *string            `json:"file_type,omitempty"`
	Tool     ToolFileChunk_Tool `json:"tool"`
	Type     *ToolFileChunkType `json:"type,omitempty"`
}

ToolFileChunk defines model for ToolFileChunk.

type ToolFileChunkTool1

type ToolFileChunkTool1 = string

ToolFileChunkTool1 defines model for ToolFileChunk.Tool.1.

type ToolFileChunkType

type ToolFileChunkType string

ToolFileChunkType defines model for ToolFileChunk.Type.

const (
	ToolFileChunkTypeToolFile ToolFileChunkType = "tool_file"
)

Defines values for ToolFileChunkType.

func (ToolFileChunkType) Valid

func (e ToolFileChunkType) Valid() bool

Valid indicates whether the value is a known member of the ToolFileChunkType enum.

type ToolFileChunk_Tool

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

ToolFileChunk_Tool defines model for ToolFileChunk.Tool.

func (ToolFileChunk_Tool) AsBuiltInConnectors

func (t ToolFileChunk_Tool) AsBuiltInConnectors() (BuiltInConnectors, error)

AsBuiltInConnectors returns the union data inside the ToolFileChunk_Tool as a BuiltInConnectors

func (ToolFileChunk_Tool) AsToolFileChunkTool1

func (t ToolFileChunk_Tool) AsToolFileChunkTool1() (ToolFileChunkTool1, error)

AsToolFileChunkTool1 returns the union data inside the ToolFileChunk_Tool as a ToolFileChunkTool1

func (*ToolFileChunk_Tool) FromBuiltInConnectors

func (t *ToolFileChunk_Tool) FromBuiltInConnectors(v BuiltInConnectors) error

FromBuiltInConnectors overwrites any union data inside the ToolFileChunk_Tool as the provided BuiltInConnectors

func (*ToolFileChunk_Tool) FromToolFileChunkTool1

func (t *ToolFileChunk_Tool) FromToolFileChunkTool1(v ToolFileChunkTool1) error

FromToolFileChunkTool1 overwrites any union data inside the ToolFileChunk_Tool as the provided ToolFileChunkTool1

func (ToolFileChunk_Tool) MarshalJSON

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

func (*ToolFileChunk_Tool) MergeBuiltInConnectors

func (t *ToolFileChunk_Tool) MergeBuiltInConnectors(v BuiltInConnectors) error

MergeBuiltInConnectors performs a merge with any union data inside the ToolFileChunk_Tool, using the provided BuiltInConnectors

func (*ToolFileChunk_Tool) MergeToolFileChunkTool1

func (t *ToolFileChunk_Tool) MergeToolFileChunkTool1(v ToolFileChunkTool1) error

MergeToolFileChunkTool1 performs a merge with any union data inside the ToolFileChunk_Tool, using the provided ToolFileChunkTool1

func (*ToolFileChunk_Tool) UnmarshalJSON

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

type ToolMessage

type ToolMessage struct {
	Content    *ToolMessage_Content `json:"content"`
	Name       *string              `json:"name,omitempty"`
	Role       *ToolMessageRole     `json:"role,omitempty"`
	ToolCallId *string              `json:"tool_call_id,omitempty"`
}

ToolMessage defines model for ToolMessage.

type ToolMessageContent0

type ToolMessageContent0 = string

ToolMessageContent0 defines model for ToolMessage.Content.0.

type ToolMessageContent2

type ToolMessageContent2 = []ContentChunk

ToolMessageContent2 defines model for ToolMessage.Content.2.

type ToolMessageRole

type ToolMessageRole string

ToolMessageRole defines model for ToolMessage.Role.

const (
	ToolMessageRoleTool ToolMessageRole = "tool"
)

Defines values for ToolMessageRole.

func (ToolMessageRole) Valid

func (e ToolMessageRole) Valid() bool

Valid indicates whether the value is a known member of the ToolMessageRole enum.

type ToolMessage_Content

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

ToolMessage_Content defines model for ToolMessage.Content.

func (ToolMessage_Content) AsToolMessageContent0

func (t ToolMessage_Content) AsToolMessageContent0() (ToolMessageContent0, error)

AsToolMessageContent0 returns the union data inside the ToolMessage_Content as a ToolMessageContent0

func (ToolMessage_Content) AsToolMessageContent2

func (t ToolMessage_Content) AsToolMessageContent2() (ToolMessageContent2, error)

AsToolMessageContent2 returns the union data inside the ToolMessage_Content as a ToolMessageContent2

func (*ToolMessage_Content) FromToolMessageContent0

func (t *ToolMessage_Content) FromToolMessageContent0(v ToolMessageContent0) error

FromToolMessageContent0 overwrites any union data inside the ToolMessage_Content as the provided ToolMessageContent0

func (*ToolMessage_Content) FromToolMessageContent2

func (t *ToolMessage_Content) FromToolMessageContent2(v ToolMessageContent2) error

FromToolMessageContent2 overwrites any union data inside the ToolMessage_Content as the provided ToolMessageContent2

func (ToolMessage_Content) MarshalJSON

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

func (*ToolMessage_Content) MergeToolMessageContent0

func (t *ToolMessage_Content) MergeToolMessageContent0(v ToolMessageContent0) error

MergeToolMessageContent0 performs a merge with any union data inside the ToolMessage_Content, using the provided ToolMessageContent0

func (*ToolMessage_Content) MergeToolMessageContent2

func (t *ToolMessage_Content) MergeToolMessageContent2(v ToolMessageContent2) error

MergeToolMessageContent2 performs a merge with any union data inside the ToolMessage_Content, using the provided ToolMessageContent2

func (*ToolMessage_Content) UnmarshalJSON

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

type ToolReferenceChunk

type ToolReferenceChunk struct {
	Description *string                 `json:"description,omitempty"`
	Favicon     *string                 `json:"favicon,omitempty"`
	Title       string                  `json:"title"`
	Tool        ToolReferenceChunk_Tool `json:"tool"`
	Type        *ToolReferenceChunkType `json:"type,omitempty"`
	Url         *string                 `json:"url,omitempty"`
}

ToolReferenceChunk defines model for ToolReferenceChunk.

type ToolReferenceChunkTool1

type ToolReferenceChunkTool1 = string

ToolReferenceChunkTool1 defines model for ToolReferenceChunk.Tool.1.

type ToolReferenceChunkType

type ToolReferenceChunkType string

ToolReferenceChunkType defines model for ToolReferenceChunk.Type.

const (
	ToolReferenceChunkTypeToolReference ToolReferenceChunkType = "tool_reference"
)

Defines values for ToolReferenceChunkType.

func (ToolReferenceChunkType) Valid

func (e ToolReferenceChunkType) Valid() bool

Valid indicates whether the value is a known member of the ToolReferenceChunkType enum.

type ToolReferenceChunk_Tool

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

ToolReferenceChunk_Tool defines model for ToolReferenceChunk.Tool.

func (ToolReferenceChunk_Tool) AsBuiltInConnectors

func (t ToolReferenceChunk_Tool) AsBuiltInConnectors() (BuiltInConnectors, error)

AsBuiltInConnectors returns the union data inside the ToolReferenceChunk_Tool as a BuiltInConnectors

func (ToolReferenceChunk_Tool) AsToolReferenceChunkTool1

func (t ToolReferenceChunk_Tool) AsToolReferenceChunkTool1() (ToolReferenceChunkTool1, error)

AsToolReferenceChunkTool1 returns the union data inside the ToolReferenceChunk_Tool as a ToolReferenceChunkTool1

func (*ToolReferenceChunk_Tool) FromBuiltInConnectors

func (t *ToolReferenceChunk_Tool) FromBuiltInConnectors(v BuiltInConnectors) error

FromBuiltInConnectors overwrites any union data inside the ToolReferenceChunk_Tool as the provided BuiltInConnectors

func (*ToolReferenceChunk_Tool) FromToolReferenceChunkTool1

func (t *ToolReferenceChunk_Tool) FromToolReferenceChunkTool1(v ToolReferenceChunkTool1) error

FromToolReferenceChunkTool1 overwrites any union data inside the ToolReferenceChunk_Tool as the provided ToolReferenceChunkTool1

func (ToolReferenceChunk_Tool) MarshalJSON

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

func (*ToolReferenceChunk_Tool) MergeBuiltInConnectors

func (t *ToolReferenceChunk_Tool) MergeBuiltInConnectors(v BuiltInConnectors) error

MergeBuiltInConnectors performs a merge with any union data inside the ToolReferenceChunk_Tool, using the provided BuiltInConnectors

func (*ToolReferenceChunk_Tool) MergeToolReferenceChunkTool1

func (t *ToolReferenceChunk_Tool) MergeToolReferenceChunkTool1(v ToolReferenceChunkTool1) error

MergeToolReferenceChunkTool1 performs a merge with any union data inside the ToolReferenceChunk_Tool, using the provided ToolReferenceChunkTool1

func (*ToolReferenceChunk_Tool) UnmarshalJSON

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

type ToolType

type ToolType string

ToolType defines model for ToolType.

const (
	ToolTypeCode  ToolType = "code"
	ToolTypeEvent ToolType = "event"
	ToolTypeImage ToolType = "image"
	ToolTypeRag   ToolType = "rag"
)

Defines values for ToolType.

func (ToolType) Valid

func (e ToolType) Valid() bool

Valid indicates whether the value is a known member of the ToolType enum.

type ToolTypes

type ToolTypes string

ToolTypes defines model for ToolTypes.

const (
	ToolTypesFunction ToolTypes = "function"
)

Defines values for ToolTypes.

func (ToolTypes) Valid

func (e ToolTypes) Valid() bool

Valid indicates whether the value is a known member of the ToolTypes enum.

type TrainingFile

type TrainingFile struct {
	FileId openapi_types.UUID `json:"file_id"`
	Weight *float32           `json:"weight,omitempty"`
}

TrainingFile defines model for TrainingFile.

type TranscriptionResponse

type TranscriptionResponse struct {
	Language *string                      `json:"language"`
	Model    string                       `json:"model"`
	Segments *[]TranscriptionSegmentChunk `json:"segments,omitempty"`
	Text     string                       `json:"text"`
	Usage    UsageInfo                    `json:"usage"`
}

TranscriptionResponse defines model for TranscriptionResponse.

type TranscriptionSegmentChunk

type TranscriptionSegmentChunk struct {
	End       float32                        `json:"end"`
	Score     *float32                       `json:"score,omitempty"`
	SpeakerId *string                        `json:"speaker_id,omitempty"`
	Start     float32                        `json:"start"`
	Text      string                         `json:"text"`
	Type      *TranscriptionSegmentChunkType `json:"type,omitempty"`
}

TranscriptionSegmentChunk defines model for TranscriptionSegmentChunk.

type TranscriptionSegmentChunkType

type TranscriptionSegmentChunkType string

TranscriptionSegmentChunkType defines model for TranscriptionSegmentChunk.Type.

const (
	TranscriptionSegmentChunkTypeTranscriptionSegment TranscriptionSegmentChunkType = "transcription_segment"
)

Defines values for TranscriptionSegmentChunkType.

func (TranscriptionSegmentChunkType) Valid

Valid indicates whether the value is a known member of the TranscriptionSegmentChunkType enum.

type TranscriptionStreamDone

type TranscriptionStreamDone struct {
	Language *string                      `json:"language"`
	Model    string                       `json:"model"`
	Segments *[]TranscriptionSegmentChunk `json:"segments,omitempty"`
	Text     string                       `json:"text"`
	Type     *TranscriptionStreamDoneType `json:"type,omitempty"`
	Usage    UsageInfo                    `json:"usage"`
}

TranscriptionStreamDone defines model for TranscriptionStreamDone.

type TranscriptionStreamDoneType

type TranscriptionStreamDoneType string

TranscriptionStreamDoneType defines model for TranscriptionStreamDone.Type.

const (
	TranscriptionStreamDoneTypeTranscriptionDone TranscriptionStreamDoneType = "transcription.done"
)

Defines values for TranscriptionStreamDoneType.

func (TranscriptionStreamDoneType) Valid

Valid indicates whether the value is a known member of the TranscriptionStreamDoneType enum.

type TranscriptionStreamEventTypes

type TranscriptionStreamEventTypes string

TranscriptionStreamEventTypes defines model for TranscriptionStreamEventTypes.

const (
	TranscriptionStreamEventTypesTranscriptionDone      TranscriptionStreamEventTypes = "transcription.done"
	TranscriptionStreamEventTypesTranscriptionLanguage  TranscriptionStreamEventTypes = "transcription.language"
	TranscriptionStreamEventTypesTranscriptionSegment   TranscriptionStreamEventTypes = "transcription.segment"
	TranscriptionStreamEventTypesTranscriptionTextDelta TranscriptionStreamEventTypes = "transcription.text.delta"
)

Defines values for TranscriptionStreamEventTypes.

func (TranscriptionStreamEventTypes) Valid

Valid indicates whether the value is a known member of the TranscriptionStreamEventTypes enum.

type TranscriptionStreamEvents

type TranscriptionStreamEvents struct {
	Data  TranscriptionStreamEvents_Data `json:"data"`
	Event TranscriptionStreamEventTypes  `json:"event"`
}

TranscriptionStreamEvents defines model for TranscriptionStreamEvents.

type TranscriptionStreamEvents_Data

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

TranscriptionStreamEvents_Data defines model for TranscriptionStreamEvents.Data.

func (TranscriptionStreamEvents_Data) AsTranscriptionStreamDone

func (t TranscriptionStreamEvents_Data) AsTranscriptionStreamDone() (TranscriptionStreamDone, error)

AsTranscriptionStreamDone returns the union data inside the TranscriptionStreamEvents_Data as a TranscriptionStreamDone

func (TranscriptionStreamEvents_Data) AsTranscriptionStreamLanguage

func (t TranscriptionStreamEvents_Data) AsTranscriptionStreamLanguage() (TranscriptionStreamLanguage, error)

AsTranscriptionStreamLanguage returns the union data inside the TranscriptionStreamEvents_Data as a TranscriptionStreamLanguage

func (TranscriptionStreamEvents_Data) AsTranscriptionStreamSegmentDelta

func (t TranscriptionStreamEvents_Data) AsTranscriptionStreamSegmentDelta() (TranscriptionStreamSegmentDelta, error)

AsTranscriptionStreamSegmentDelta returns the union data inside the TranscriptionStreamEvents_Data as a TranscriptionStreamSegmentDelta

func (TranscriptionStreamEvents_Data) AsTranscriptionStreamTextDelta

func (t TranscriptionStreamEvents_Data) AsTranscriptionStreamTextDelta() (TranscriptionStreamTextDelta, error)

AsTranscriptionStreamTextDelta returns the union data inside the TranscriptionStreamEvents_Data as a TranscriptionStreamTextDelta

func (TranscriptionStreamEvents_Data) Discriminator

func (t TranscriptionStreamEvents_Data) Discriminator() (string, error)

func (*TranscriptionStreamEvents_Data) FromTranscriptionStreamDone

func (t *TranscriptionStreamEvents_Data) FromTranscriptionStreamDone(v TranscriptionStreamDone) error

FromTranscriptionStreamDone overwrites any union data inside the TranscriptionStreamEvents_Data as the provided TranscriptionStreamDone

func (*TranscriptionStreamEvents_Data) FromTranscriptionStreamLanguage

func (t *TranscriptionStreamEvents_Data) FromTranscriptionStreamLanguage(v TranscriptionStreamLanguage) error

FromTranscriptionStreamLanguage overwrites any union data inside the TranscriptionStreamEvents_Data as the provided TranscriptionStreamLanguage

func (*TranscriptionStreamEvents_Data) FromTranscriptionStreamSegmentDelta

func (t *TranscriptionStreamEvents_Data) FromTranscriptionStreamSegmentDelta(v TranscriptionStreamSegmentDelta) error

FromTranscriptionStreamSegmentDelta overwrites any union data inside the TranscriptionStreamEvents_Data as the provided TranscriptionStreamSegmentDelta

func (*TranscriptionStreamEvents_Data) FromTranscriptionStreamTextDelta

func (t *TranscriptionStreamEvents_Data) FromTranscriptionStreamTextDelta(v TranscriptionStreamTextDelta) error

FromTranscriptionStreamTextDelta overwrites any union data inside the TranscriptionStreamEvents_Data as the provided TranscriptionStreamTextDelta

func (TranscriptionStreamEvents_Data) MarshalJSON

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

func (*TranscriptionStreamEvents_Data) MergeTranscriptionStreamDone

func (t *TranscriptionStreamEvents_Data) MergeTranscriptionStreamDone(v TranscriptionStreamDone) error

MergeTranscriptionStreamDone performs a merge with any union data inside the TranscriptionStreamEvents_Data, using the provided TranscriptionStreamDone

func (*TranscriptionStreamEvents_Data) MergeTranscriptionStreamLanguage

func (t *TranscriptionStreamEvents_Data) MergeTranscriptionStreamLanguage(v TranscriptionStreamLanguage) error

MergeTranscriptionStreamLanguage performs a merge with any union data inside the TranscriptionStreamEvents_Data, using the provided TranscriptionStreamLanguage

func (*TranscriptionStreamEvents_Data) MergeTranscriptionStreamSegmentDelta

func (t *TranscriptionStreamEvents_Data) MergeTranscriptionStreamSegmentDelta(v TranscriptionStreamSegmentDelta) error

MergeTranscriptionStreamSegmentDelta performs a merge with any union data inside the TranscriptionStreamEvents_Data, using the provided TranscriptionStreamSegmentDelta

func (*TranscriptionStreamEvents_Data) MergeTranscriptionStreamTextDelta

func (t *TranscriptionStreamEvents_Data) MergeTranscriptionStreamTextDelta(v TranscriptionStreamTextDelta) error

MergeTranscriptionStreamTextDelta performs a merge with any union data inside the TranscriptionStreamEvents_Data, using the provided TranscriptionStreamTextDelta

func (*TranscriptionStreamEvents_Data) UnmarshalJSON

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

func (TranscriptionStreamEvents_Data) ValueByDiscriminator

func (t TranscriptionStreamEvents_Data) ValueByDiscriminator() (interface{}, error)

type TranscriptionStreamLanguage

type TranscriptionStreamLanguage struct {
	AudioLanguage string                           `json:"audio_language"`
	Type          *TranscriptionStreamLanguageType `json:"type,omitempty"`
}

TranscriptionStreamLanguage defines model for TranscriptionStreamLanguage.

type TranscriptionStreamLanguageType

type TranscriptionStreamLanguageType string

TranscriptionStreamLanguageType defines model for TranscriptionStreamLanguage.Type.

const (
	TranscriptionStreamLanguageTypeTranscriptionLanguage TranscriptionStreamLanguageType = "transcription.language"
)

Defines values for TranscriptionStreamLanguageType.

func (TranscriptionStreamLanguageType) Valid

Valid indicates whether the value is a known member of the TranscriptionStreamLanguageType enum.

type TranscriptionStreamSegmentDelta

type TranscriptionStreamSegmentDelta struct {
	End       float32                              `json:"end"`
	SpeakerId *string                              `json:"speaker_id,omitempty"`
	Start     float32                              `json:"start"`
	Text      string                               `json:"text"`
	Type      *TranscriptionStreamSegmentDeltaType `json:"type,omitempty"`
}

TranscriptionStreamSegmentDelta defines model for TranscriptionStreamSegmentDelta.

type TranscriptionStreamSegmentDeltaType

type TranscriptionStreamSegmentDeltaType string

TranscriptionStreamSegmentDeltaType defines model for TranscriptionStreamSegmentDelta.Type.

const (
	TranscriptionStreamSegmentDeltaTypeTranscriptionSegment TranscriptionStreamSegmentDeltaType = "transcription.segment"
)

Defines values for TranscriptionStreamSegmentDeltaType.

func (TranscriptionStreamSegmentDeltaType) Valid

Valid indicates whether the value is a known member of the TranscriptionStreamSegmentDeltaType enum.

type TranscriptionStreamTextDelta

type TranscriptionStreamTextDelta struct {
	Text string                            `json:"text"`
	Type *TranscriptionStreamTextDeltaType `json:"type,omitempty"`
}

TranscriptionStreamTextDelta defines model for TranscriptionStreamTextDelta.

type TranscriptionStreamTextDeltaType

type TranscriptionStreamTextDeltaType string

TranscriptionStreamTextDeltaType defines model for TranscriptionStreamTextDelta.Type.

const (
	TranscriptionStreamTextDeltaTypeTranscriptionTextDelta TranscriptionStreamTextDeltaType = "transcription.text.delta"
)

Defines values for TranscriptionStreamTextDeltaType.

func (TranscriptionStreamTextDeltaType) Valid

Valid indicates whether the value is a known member of the TranscriptionStreamTextDeltaType enum.

type TurbineToolLocale

type TurbineToolLocale struct {
	Description        *map[string]string `json:"description,omitempty"`
	DoneDescription    *map[string]string `json:"done_description,omitempty"`
	Name               *map[string]string `json:"name,omitempty"`
	UsageSentence      *map[string]string `json:"usage_sentence,omitempty"`
	WorkingDescription *map[string]string `json:"working_description,omitempty"`
}

TurbineToolLocale defines model for TurbineToolLocale.

type TurbineToolMeta

type TurbineToolMeta struct {
	Locale           *TurbineToolLocale `json:"locale,omitempty"`
	PrivateExecution *bool              `json:"private_execution,omitempty"`
	Timeout          *float32           `json:"timeout,omitempty"`
	ToolType         *ToolType          `json:"tool_type,omitempty"`
}

TurbineToolMeta defines model for TurbineToolMeta.

type UnarchiveFTModelOut

type UnarchiveFTModelOut struct {
	Archived *bool                      `json:"archived,omitempty"`
	Id       string                     `json:"id"`
	Object   *UnarchiveFTModelOutObject `json:"object,omitempty"`
}

UnarchiveFTModelOut defines model for UnarchiveFTModelOut.

type UnarchiveFTModelOutObject

type UnarchiveFTModelOutObject string

UnarchiveFTModelOutObject defines model for UnarchiveFTModelOut.Object.

const (
	UnarchiveFTModelOutObjectModel UnarchiveFTModelOutObject = "model"
)

Defines values for UnarchiveFTModelOutObject.

func (UnarchiveFTModelOutObject) Valid

func (e UnarchiveFTModelOutObject) Valid() bool

Valid indicates whether the value is a known member of the UnarchiveFTModelOutObject enum.

type UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse

type UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WorkflowUnarchiveResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseUnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse

func ParseUnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse(rsp *http.Response) (*UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse, error)

ParseUnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse parses an HTTP response from a UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutWithResponse call

func (UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) GetBody

GetBody returns the raw response body bytes

func (UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) Status

Status returns HTTPResponse.Status

func (UnarchiveWorkflowV1WorkflowsWorkflowIdentifierUnarchivePutResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse

type UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseUnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse

func ParseUnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse(rsp *http.Response) (*UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse, error)

ParseUnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse parses an HTTP response from a UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteWithResponse call

func (UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) GetBody

GetBody returns the raw response body bytes

func (UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) Status

Status returns HTTPResponse.Status

func (UnscheduleWorkflowV1WorkflowsSchedulesScheduleIdDeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutJSONRequestBody

type UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutJSONRequestBody = PutDatasetRecordPayloadInSchema

UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutJSONRequestBody defines body for UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPut for application/json ContentType.

type UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse

type UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse

func ParseUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse(rsp *http.Response) (*UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse, error)

ParseUpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse parses an HTTP response from a UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutWithResponse call

func (UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetBody

GetBody returns the raw response body bytes

func (UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) Status

Status returns HTTPResponse.Status

func (UpdateDatasetRecordPayloadV1ObservabilityDatasetRecordsDatasetRecordIdPayloadPutResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutJSONRequestBody

type UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutJSONRequestBody = PutDatasetRecordPropertiesInSchema

UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutJSONRequestBody defines body for UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPut for application/json ContentType.

type UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse

type UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse

func ParseUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse(rsp *http.Response) (*UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse, error)

ParseUpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse parses an HTTP response from a UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutWithResponse call

func (UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetBody

GetBody returns the raw response body bytes

func (UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) Status

Status returns HTTPResponse.Status

func (UpdateDatasetRecordPropertiesV1ObservabilityDatasetRecordsDatasetRecordIdPropertiesPutResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchJSONRequestBody

type UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchJSONRequestBody = PatchDatasetInSchema

UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchJSONRequestBody defines body for UpdateDatasetV1ObservabilityDatasetsDatasetIdPatch for application/json ContentType.

type UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse

type UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *DatasetPreview
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse

func ParseUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse(rsp *http.Response) (*UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse, error)

ParseUpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse parses an HTTP response from a UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchWithResponse call

func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetBody

GetBody returns the raw response body bytes

func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) Status

Status returns HTTPResponse.Status

func (UpdateDatasetV1ObservabilityDatasetsDatasetIdPatchResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateDefinition

type UpdateDefinition struct {
	// Description Description of the update
	Description *string `json:"description,omitempty"`

	// InputSchema Input JSON schema of the update's model
	InputSchema map[string]interface{} `json:"input_schema"`

	// Name Name of the update
	Name string `json:"name"`

	// OutputSchema Output JSON schema of the update's model
	OutputSchema *map[string]interface{} `json:"output_schema,omitempty"`
}

UpdateDefinition defines model for UpdateDefinition.

type UpdateFTModelIn

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

UpdateFTModelIn defines model for UpdateFTModelIn.

type UpdateInvocationBody

type UpdateInvocationBody struct {
	// Input Input data for the update, matching its schema
	Input *UpdateInvocationBody_Input `json:"input,omitempty"`

	// Name The name of the update to request
	Name string `json:"name"`
}

UpdateInvocationBody defines model for UpdateInvocationBody.

type UpdateInvocationBodyInput1

type UpdateInvocationBodyInput1 map[string]interface{}

UpdateInvocationBodyInput1 defines model for UpdateInvocationBody.Input.1.

type UpdateInvocationBody_Input

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

UpdateInvocationBody_Input Input data for the update, matching its schema

func (UpdateInvocationBody_Input) AsNetworkEncodedInput

func (t UpdateInvocationBody_Input) AsNetworkEncodedInput() (NetworkEncodedInput, error)

AsNetworkEncodedInput returns the union data inside the UpdateInvocationBody_Input as a NetworkEncodedInput

func (UpdateInvocationBody_Input) AsUpdateInvocationBodyInput1

func (t UpdateInvocationBody_Input) AsUpdateInvocationBodyInput1() (UpdateInvocationBodyInput1, error)

AsUpdateInvocationBodyInput1 returns the union data inside the UpdateInvocationBody_Input as a UpdateInvocationBodyInput1

func (*UpdateInvocationBody_Input) FromNetworkEncodedInput

func (t *UpdateInvocationBody_Input) FromNetworkEncodedInput(v NetworkEncodedInput) error

FromNetworkEncodedInput overwrites any union data inside the UpdateInvocationBody_Input as the provided NetworkEncodedInput

func (*UpdateInvocationBody_Input) FromUpdateInvocationBodyInput1

func (t *UpdateInvocationBody_Input) FromUpdateInvocationBodyInput1(v UpdateInvocationBodyInput1) error

FromUpdateInvocationBodyInput1 overwrites any union data inside the UpdateInvocationBody_Input as the provided UpdateInvocationBodyInput1

func (UpdateInvocationBody_Input) MarshalJSON

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

func (*UpdateInvocationBody_Input) MergeNetworkEncodedInput

func (t *UpdateInvocationBody_Input) MergeNetworkEncodedInput(v NetworkEncodedInput) error

MergeNetworkEncodedInput performs a merge with any union data inside the UpdateInvocationBody_Input, using the provided NetworkEncodedInput

func (*UpdateInvocationBody_Input) MergeUpdateInvocationBodyInput1

func (t *UpdateInvocationBody_Input) MergeUpdateInvocationBodyInput1(v UpdateInvocationBodyInput1) error

MergeUpdateInvocationBodyInput1 performs a merge with any union data inside the UpdateInvocationBody_Input, using the provided UpdateInvocationBodyInput1

func (*UpdateInvocationBody_Input) UnmarshalJSON

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

type UpdateJudgeV1ObservabilityJudgesJudgeIdPutJSONRequestBody

type UpdateJudgeV1ObservabilityJudgesJudgeIdPutJSONRequestBody = PutJudgeInSchema

UpdateJudgeV1ObservabilityJudgesJudgeIdPutJSONRequestBody defines body for UpdateJudgeV1ObservabilityJudgesJudgeIdPut for application/json ContentType.

type UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse

type UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ObservabilityError
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ObservabilityError
	// JSON408 the response for an HTTP 408 `application/json` response
	JSON408 *ObservabilityError
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ObservabilityError
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *ObservabilityError
}

func ParseUpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse

func ParseUpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse(rsp *http.Response) (*UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse, error)

ParseUpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse parses an HTTP response from a UpdateJudgeV1ObservabilityJudgesJudgeIdPutWithResponse call

func (UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetBody

GetBody returns the raw response body bytes

func (UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON404

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON408

GetJSON408 returns the response for an HTTP 408 `application/json` response

func (UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON409

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) Status

Status returns HTTPResponse.Status

func (UpdateJudgeV1ObservabilityJudgesJudgeIdPutResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateVoiceV1AudioVoicesVoiceIdPatchJSONRequestBody

type UpdateVoiceV1AudioVoicesVoiceIdPatchJSONRequestBody = VoiceUpdateRequest

UpdateVoiceV1AudioVoicesVoiceIdPatchJSONRequestBody defines body for UpdateVoiceV1AudioVoicesVoiceIdPatch for application/json ContentType.

type UpdateVoiceV1AudioVoicesVoiceIdPatchResponse

type UpdateVoiceV1AudioVoicesVoiceIdPatchResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *VoiceResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseUpdateVoiceV1AudioVoicesVoiceIdPatchResponse

func ParseUpdateVoiceV1AudioVoicesVoiceIdPatchResponse(rsp *http.Response) (*UpdateVoiceV1AudioVoicesVoiceIdPatchResponse, error)

ParseUpdateVoiceV1AudioVoicesVoiceIdPatchResponse parses an HTTP response from a UpdateVoiceV1AudioVoicesVoiceIdPatchWithResponse call

func (UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) GetBody

GetBody returns the raw response body bytes

func (UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) Status

Status returns HTTPResponse.Status

func (UpdateVoiceV1AudioVoicesVoiceIdPatchResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostJSONRequestBody

type UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostJSONRequestBody = UpdateInvocationBody

UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostJSONRequestBody defines body for UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPost for application/json ContentType.

type UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse

type UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *UpdateWorkflowResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse

func ParseUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse(rsp *http.Response) (*UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse, error)

ParseUpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse parses an HTTP response from a UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostWithResponse call

func (UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) GetBody

GetBody returns the raw response body bytes

func (UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) Status

Status returns HTTPResponse.Status

func (UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateWorkflowResponse

type UpdateWorkflowResponse struct {
	// Result The result of the Update workflow call
	Result     interface{} `json:"result"`
	UpdateName string      `json:"update_name"`
}

UpdateWorkflowResponse defines model for UpdateWorkflowResponse.

type UpdateWorkflowV1WorkflowsWorkflowIdentifierPutJSONRequestBody

type UpdateWorkflowV1WorkflowsWorkflowIdentifierPutJSONRequestBody = WorkflowUpdateRequest

UpdateWorkflowV1WorkflowsWorkflowIdentifierPutJSONRequestBody defines body for UpdateWorkflowV1WorkflowsWorkflowIdentifierPut for application/json ContentType.

type UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse

type UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *WorkflowUpdateResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseUpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse

func ParseUpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse(rsp *http.Response) (*UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse, error)

ParseUpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse parses an HTTP response from a UpdateWorkflowV1WorkflowsWorkflowIdentifierPutWithResponse call

func (UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) GetBody

GetBody returns the raw response body bytes

func (UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) Status

Status returns HTTPResponse.Status

func (UpdateWorkflowV1WorkflowsWorkflowIdentifierPutResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UploadFileOut

type UploadFileOut struct {
	// Bytes The size of the file, in bytes.
	//
	// Examples: 13000
	Bytes int `json:"bytes"`

	// CreatedAt The UNIX timestamp (in seconds) of the event.
	//
	// Examples: 1716963433
	CreatedAt int  `json:"created_at"`
	ExpiresAt *int `json:"expires_at,omitempty"`

	// Filename The name of the uploaded file.
	//
	// Examples: files_upload.jsonl
	Filename string `json:"filename"`

	// Id The unique identifier of the file.
	//
	// Examples: 497f6eca-6276-4993-bfeb-53cbbbba6f09
	Id       openapi_types.UUID `json:"id"`
	Mimetype *string            `json:"mimetype,omitempty"`
	NumLines *int               `json:"num_lines,omitempty"`

	// Object The object type, which is always "file".
	//
	// Examples: file
	Object string `json:"object"`

	// Purpose The intended purpose of the uploaded file, currently supports fine-tuning (`fine-tune`), OCR (`ocr`), Audio/Transcription (`audio`) and batch inference (`batch`).
	//
	// Examples: fine-tune, ocr, batch, audio
	Purpose    FilePurpose     `json:"purpose"`
	SampleType SampleType      `json:"sample_type"`
	Signature  *string         `json:"signature,omitempty"`
	Source     Source          `json:"source"`
	Visibility *FileVisibility `json:"visibility,omitempty"`
}

UploadFileOut defines model for UploadFileOut.

type UsageInfo

type UsageInfo struct {
	CompletionTokens    int                  `json:"completion_tokens"`
	NumCachedTokens     *int                 `json:"num_cached_tokens,omitempty"`
	PromptAudioSeconds  *int                 `json:"prompt_audio_seconds,omitempty"`
	PromptTokenDetails  *PromptTokensDetails `json:"prompt_token_details,omitempty"`
	PromptTokens        int                  `json:"prompt_tokens"`
	PromptTokensDetails *PromptTokensDetails `json:"prompt_tokens_details,omitempty"`
	TotalTokens         int                  `json:"total_tokens"`
}

UsageInfo defines model for UsageInfo.

type UserMessage

type UserMessage struct {
	Content *UserMessage_Content `json:"content"`
	Role    *UserMessageRole     `json:"role,omitempty"`
}

UserMessage defines model for UserMessage.

type UserMessageContent0

type UserMessageContent0 = string

UserMessageContent0 defines model for UserMessage.Content.0.

type UserMessageContent2

type UserMessageContent2 = []ContentChunk

UserMessageContent2 defines model for UserMessage.Content.2.

type UserMessageRole

type UserMessageRole string

UserMessageRole defines model for UserMessage.Role.

const (
	UserMessageRoleUser UserMessageRole = "user"
)

Defines values for UserMessageRole.

func (UserMessageRole) Valid

func (e UserMessageRole) Valid() bool

Valid indicates whether the value is a known member of the UserMessageRole enum.

type UserMessage_Content

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

UserMessage_Content defines model for UserMessage.Content.

func (UserMessage_Content) AsUserMessageContent0

func (t UserMessage_Content) AsUserMessageContent0() (UserMessageContent0, error)

AsUserMessageContent0 returns the union data inside the UserMessage_Content as a UserMessageContent0

func (UserMessage_Content) AsUserMessageContent2

func (t UserMessage_Content) AsUserMessageContent2() (UserMessageContent2, error)

AsUserMessageContent2 returns the union data inside the UserMessage_Content as a UserMessageContent2

func (*UserMessage_Content) FromUserMessageContent0

func (t *UserMessage_Content) FromUserMessageContent0(v UserMessageContent0) error

FromUserMessageContent0 overwrites any union data inside the UserMessage_Content as the provided UserMessageContent0

func (*UserMessage_Content) FromUserMessageContent2

func (t *UserMessage_Content) FromUserMessageContent2(v UserMessageContent2) error

FromUserMessageContent2 overwrites any union data inside the UserMessage_Content as the provided UserMessageContent2

func (UserMessage_Content) MarshalJSON

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

func (*UserMessage_Content) MergeUserMessageContent0

func (t *UserMessage_Content) MergeUserMessageContent0(v UserMessageContent0) error

MergeUserMessageContent0 performs a merge with any union data inside the UserMessage_Content, using the provided UserMessageContent0

func (*UserMessage_Content) MergeUserMessageContent2

func (t *UserMessage_Content) MergeUserMessageContent2(v UserMessageContent2) error

MergeUserMessageContent2 performs a merge with any union data inside the UserMessage_Content, using the provided UserMessageContent2

func (*UserMessage_Content) UnmarshalJSON

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

type ValidationError

type ValidationError struct {
	Ctx   *map[string]interface{}    `json:"ctx,omitempty"`
	Input interface{}                `json:"input,omitempty"`
	Loc   []ValidationError_Loc_Item `json:"loc"`
	Msg   string                     `json:"msg"`
	Type  string                     `json:"type"`
}

ValidationError defines model for ValidationError.

type ValidationErrorLoc0

type ValidationErrorLoc0 = string

ValidationErrorLoc0 defines model for ValidationError.Loc.0.

type ValidationErrorLoc1

type ValidationErrorLoc1 = int

ValidationErrorLoc1 defines model for ValidationError.Loc.1.

type ValidationError_Loc_Item

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

ValidationError_Loc_Item defines model for ValidationError.loc.Item.

func (ValidationError_Loc_Item) AsValidationErrorLoc0

func (t ValidationError_Loc_Item) AsValidationErrorLoc0() (ValidationErrorLoc0, error)

AsValidationErrorLoc0 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc0

func (ValidationError_Loc_Item) AsValidationErrorLoc1

func (t ValidationError_Loc_Item) AsValidationErrorLoc1() (ValidationErrorLoc1, error)

AsValidationErrorLoc1 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc1

func (*ValidationError_Loc_Item) FromValidationErrorLoc0

func (t *ValidationError_Loc_Item) FromValidationErrorLoc0(v ValidationErrorLoc0) error

FromValidationErrorLoc0 overwrites any union data inside the ValidationError_Loc_Item as the provided ValidationErrorLoc0

func (*ValidationError_Loc_Item) FromValidationErrorLoc1

func (t *ValidationError_Loc_Item) FromValidationErrorLoc1(v ValidationErrorLoc1) error

FromValidationErrorLoc1 overwrites any union data inside the ValidationError_Loc_Item as the provided ValidationErrorLoc1

func (ValidationError_Loc_Item) MarshalJSON

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

func (*ValidationError_Loc_Item) MergeValidationErrorLoc0

func (t *ValidationError_Loc_Item) MergeValidationErrorLoc0(v ValidationErrorLoc0) error

MergeValidationErrorLoc0 performs a merge with any union data inside the ValidationError_Loc_Item, using the provided ValidationErrorLoc0

func (*ValidationError_Loc_Item) MergeValidationErrorLoc1

func (t *ValidationError_Loc_Item) MergeValidationErrorLoc1(v ValidationErrorLoc1) error

MergeValidationErrorLoc1 performs a merge with any union data inside the ValidationError_Loc_Item, using the provided ValidationErrorLoc1

func (*ValidationError_Loc_Item) UnmarshalJSON

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

type VoiceCreateRequest

type VoiceCreateRequest struct {
	Age             *int      `json:"age,omitempty"`
	Color           *string   `json:"color,omitempty"`
	Gender          *string   `json:"gender,omitempty"`
	Languages       *[]string `json:"languages,omitempty"`
	Name            string    `json:"name"`
	RetentionNotice *int      `json:"retention_notice,omitempty"`

	// SampleAudio Base64-encoded audio file
	SampleAudio string `json:"sample_audio"`

	// SampleFilename Original filename for extension detection
	SampleFilename *string   `json:"sample_filename,omitempty"`
	Slug           *string   `json:"slug,omitempty"`
	Tags           *[]string `json:"tags,omitempty"`
}

VoiceCreateRequest Request model for creating a new voice with base64 audio.

type VoiceListResponse

type VoiceListResponse struct {
	Items      []VoiceResponse `json:"items"`
	Page       int             `json:"page"`
	PageSize   int             `json:"page_size"`
	Total      int             `json:"total"`
	TotalPages int             `json:"total_pages"`
}

VoiceListResponse Schema for voice list response

type VoiceResponse

type VoiceResponse struct {
	Age             *int               `json:"age,omitempty"`
	Color           *string            `json:"color,omitempty"`
	CreatedAt       time.Time          `json:"created_at"`
	Gender          *string            `json:"gender,omitempty"`
	Id              openapi_types.UUID `json:"id"`
	Languages       *[]string          `json:"languages,omitempty"`
	Name            string             `json:"name"`
	RetentionNotice *int               `json:"retention_notice,omitempty"`
	Slug            *string            `json:"slug,omitempty"`
	Tags            *[]string          `json:"tags,omitempty"`
	UserId          *string            `json:"user_id"`
}

VoiceResponse Schema for voice response

type VoiceUpdateRequest

type VoiceUpdateRequest struct {
	Age       *int      `json:"age,omitempty"`
	Gender    *string   `json:"gender,omitempty"`
	Languages *[]string `json:"languages,omitempty"`
	Name      *string   `json:"name,omitempty"`
	Tags      *[]string `json:"tags,omitempty"`
}

VoiceUpdateRequest Request model for partially updating voice metadata.

type WandbIntegration

type WandbIntegration struct {
	// ApiKey The WandB API key to use for authentication.
	ApiKey string `json:"api_key"`

	// Name A display name to set for the run. If not set, will use the job ID as the name.
	Name *string `json:"name,omitempty"`

	// Project The name of the project that the new run will be created under.
	Project string                `json:"project"`
	RunName *string               `json:"run_name,omitempty"`
	Type    *WandbIntegrationType `json:"type,omitempty"`
}

WandbIntegration defines model for WandbIntegration.

type WandbIntegrationOut

type WandbIntegrationOut struct {
	// Name A display name to set for the run. If not set, will use the job ID as the name.
	Name *string `json:"name,omitempty"`

	// Project The name of the project that the new run will be created under.
	Project string                   `json:"project"`
	RunName *string                  `json:"run_name,omitempty"`
	Type    *WandbIntegrationOutType `json:"type,omitempty"`
	Url     *string                  `json:"url,omitempty"`
}

WandbIntegrationOut defines model for WandbIntegrationOut.

type WandbIntegrationOutType

type WandbIntegrationOutType string

WandbIntegrationOutType defines model for WandbIntegrationOut.Type.

const (
	WandbIntegrationOutTypeWandb WandbIntegrationOutType = "wandb"
)

Defines values for WandbIntegrationOutType.

func (WandbIntegrationOutType) Valid

func (e WandbIntegrationOutType) Valid() bool

Valid indicates whether the value is a known member of the WandbIntegrationOutType enum.

type WandbIntegrationType

type WandbIntegrationType string

WandbIntegrationType defines model for WandbIntegration.Type.

const (
	WandbIntegrationTypeWandb WandbIntegrationType = "wandb"
)

Defines values for WandbIntegrationType.

func (WandbIntegrationType) Valid

func (e WandbIntegrationType) Valid() bool

Valid indicates whether the value is a known member of the WandbIntegrationType enum.

type WebSearchPremiumTool

type WebSearchPremiumTool struct {
	ToolConfiguration *ToolConfiguration        `json:"tool_configuration,omitempty"`
	Type              *WebSearchPremiumToolType `json:"type,omitempty"`
}

WebSearchPremiumTool defines model for WebSearchPremiumTool.

type WebSearchPremiumToolType

type WebSearchPremiumToolType string

WebSearchPremiumToolType defines model for WebSearchPremiumTool.Type.

const (
	WebSearchPremiumToolTypeWebSearchPremium WebSearchPremiumToolType = "web_search_premium"
)

Defines values for WebSearchPremiumToolType.

func (WebSearchPremiumToolType) Valid

func (e WebSearchPremiumToolType) Valid() bool

Valid indicates whether the value is a known member of the WebSearchPremiumToolType enum.

type WebSearchTool

type WebSearchTool struct {
	ToolConfiguration *ToolConfiguration `json:"tool_configuration,omitempty"`
	Type              *WebSearchToolType `json:"type,omitempty"`
}

WebSearchTool defines model for WebSearchTool.

type WebSearchToolType

type WebSearchToolType string

WebSearchToolType defines model for WebSearchTool.Type.

const (
	WebSearchToolTypeWebSearch WebSearchToolType = "web_search"
)

Defines values for WebSearchToolType.

func (WebSearchToolType) Valid

func (e WebSearchToolType) Valid() bool

Valid indicates whether the value is a known member of the WebSearchToolType enum.

type WorkerInfo

type WorkerInfo struct {
	Namespace    string `json:"namespace"`
	SchedulerUrl string `json:"scheduler_url"`
	Tls          *bool  `json:"tls,omitempty"`
}

WorkerInfo defines model for WorkerInfo.

type Workflow

type Workflow struct {
	// Archived Whether the workflow is archived
	Archived *bool `json:"archived,omitempty"`

	// AvailableInChatAssistant Whether the workflow is available in chat assistant
	AvailableInChatAssistant *bool `json:"available_in_chat_assistant,omitempty"`

	// CustomerId Customer ID of the workflow
	CustomerId openapi_types.UUID `json:"customer_id"`

	// Description Description of the workflow
	Description *string `json:"description,omitempty"`

	// DisplayName Display name of the workflow
	DisplayName string `json:"display_name"`

	// Id Unique identifier of the workflow
	Id openapi_types.UUID `json:"id"`

	// IsTechnical Whether the workflow is technical (e.g. SDK-managed)
	IsTechnical *bool `json:"is_technical,omitempty"`

	// Name Name of the workflow
	Name string `json:"name"`

	// SharedNamespace Reserved namespace for shared workflows (e.g., 'shared:my-shared-workflow')
	SharedNamespace *string `json:"shared_namespace,omitempty"`

	// Type Type of the workflow
	Type WorkflowType `json:"type"`

	// WorkspaceId Workspace ID of the workflow
	WorkspaceId openapi_types.UUID `json:"workspace_id"`
}

Workflow defines model for Workflow.

type WorkflowArchiveResponse

type WorkflowArchiveResponse struct {
	// Workflow The workflow spec
	Workflow Workflow `json:"workflow"`
}

WorkflowArchiveResponse defines model for WorkflowArchiveResponse.

type WorkflowCodeDefinition

type WorkflowCodeDefinition struct {
	// EnforceDeterminism Whether the workflow enforces deterministic execution
	EnforceDeterminism *bool `json:"enforce_determinism,omitempty"`

	// ExecutionTimeout Maximum total execution time including retries and continue-as-new
	ExecutionTimeout *float32 `json:"execution_timeout,omitempty"`

	// InputSchema Input schema of the workflow's run method
	InputSchema map[string]interface{} `json:"input_schema"`

	// OutputSchema Output schema of the workflow's run method
	OutputSchema *map[string]interface{} `json:"output_schema,omitempty"`

	// Queries Query handlers defined by the workflow
	Queries *[]QueryDefinition `json:"queries,omitempty"`

	// Signals Signal handlers defined by the workflow
	Signals *[]SignalDefinition `json:"signals,omitempty"`

	// Updates Update handlers defined by the workflow
	Updates *[]UpdateDefinition `json:"updates,omitempty"`
}

WorkflowCodeDefinition defines model for WorkflowCodeDefinition.

type WorkflowEventType

type WorkflowEventType string

WorkflowEventType defines model for WorkflowEventType.

const (
	WorkflowEventTypeACTIVITYTASKCOMPLETED           WorkflowEventType = "ACTIVITY_TASK_COMPLETED"
	WorkflowEventTypeACTIVITYTASKFAILED              WorkflowEventType = "ACTIVITY_TASK_FAILED"
	WorkflowEventTypeACTIVITYTASKRETRYING            WorkflowEventType = "ACTIVITY_TASK_RETRYING"
	WorkflowEventTypeACTIVITYTASKSTARTED             WorkflowEventType = "ACTIVITY_TASK_STARTED"
	WorkflowEventTypeCUSTOMTASKCANCELED              WorkflowEventType = "CUSTOM_TASK_CANCELED"
	WorkflowEventTypeCUSTOMTASKCOMPLETED             WorkflowEventType = "CUSTOM_TASK_COMPLETED"
	WorkflowEventTypeCUSTOMTASKFAILED                WorkflowEventType = "CUSTOM_TASK_FAILED"
	WorkflowEventTypeCUSTOMTASKINPROGRESS            WorkflowEventType = "CUSTOM_TASK_IN_PROGRESS"
	WorkflowEventTypeCUSTOMTASKSTARTED               WorkflowEventType = "CUSTOM_TASK_STARTED"
	WorkflowEventTypeCUSTOMTASKTIMEDOUT              WorkflowEventType = "CUSTOM_TASK_TIMED_OUT"
	WorkflowEventTypeWORKFLOWEXECUTIONCANCELED       WorkflowEventType = "WORKFLOW_EXECUTION_CANCELED"
	WorkflowEventTypeWORKFLOWEXECUTIONCOMPLETED      WorkflowEventType = "WORKFLOW_EXECUTION_COMPLETED"
	WorkflowEventTypeWORKFLOWEXECUTIONCONTINUEDASNEW WorkflowEventType = "WORKFLOW_EXECUTION_CONTINUED_AS_NEW"
	WorkflowEventTypeWORKFLOWEXECUTIONFAILED         WorkflowEventType = "WORKFLOW_EXECUTION_FAILED"
	WorkflowEventTypeWORKFLOWEXECUTIONSTARTED        WorkflowEventType = "WORKFLOW_EXECUTION_STARTED"
	WorkflowEventTypeWORKFLOWTASKFAILED              WorkflowEventType = "WORKFLOW_TASK_FAILED"
	WorkflowEventTypeWORKFLOWTASKTIMEDOUT            WorkflowEventType = "WORKFLOW_TASK_TIMED_OUT"
)

Defines values for WorkflowEventType.

func (WorkflowEventType) Valid

func (e WorkflowEventType) Valid() bool

Valid indicates whether the value is a known member of the WorkflowEventType enum.

type WorkflowExecutionCanceledAttributes

type WorkflowExecutionCanceledAttributes struct {
	// Reason Optional reason provided for the cancellation.
	Reason *string `json:"reason,omitempty"`

	// TaskId Unique identifier for the task within the workflow execution.
	TaskId string `json:"task_id"`
}

WorkflowExecutionCanceledAttributes Attributes for workflow execution canceled events.

type WorkflowExecutionCanceledResponse

type WorkflowExecutionCanceledResponse struct {
	// Attributes Event-specific attributes.
	Attributes WorkflowExecutionCanceledAttributes `json:"attributes"`

	// EventId Unique identifier for this event instance.
	EventId string `json:"event_id"`

	// EventTimestamp Unix timestamp in nanoseconds when the event was created.
	EventTimestamp int `json:"event_timestamp"`

	// EventType Event type discriminator.
	EventType WorkflowExecutionCanceledResponseEventType `json:"event_type"`

	// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
	ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`

	// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
	RootWorkflowExecId string `json:"root_workflow_exec_id"`

	// WorkflowExecId Execution ID of the workflow that emitted this event.
	WorkflowExecId string `json:"workflow_exec_id"`

	// WorkflowName The registered name of the workflow that emitted this event.
	WorkflowName string `json:"workflow_name"`

	// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
	WorkflowRunId string `json:"workflow_run_id"`
}

WorkflowExecutionCanceledResponse Emitted when a workflow execution is canceled.

This is a terminal event indicating the workflow was explicitly canceled.

type WorkflowExecutionCanceledResponseEventType

type WorkflowExecutionCanceledResponseEventType string

WorkflowExecutionCanceledResponseEventType Event type discriminator.

const (
	WorkflowExecutionCanceledResponseEventTypeWORKFLOWEXECUTIONCANCELED WorkflowExecutionCanceledResponseEventType = "WORKFLOW_EXECUTION_CANCELED"
)

Defines values for WorkflowExecutionCanceledResponseEventType.

func (WorkflowExecutionCanceledResponseEventType) Valid

Valid indicates whether the value is a known member of the WorkflowExecutionCanceledResponseEventType enum.

type WorkflowExecutionCompletedAttributesResponse

type WorkflowExecutionCompletedAttributesResponse struct {
	// Result The final result returned by the workflow.
	Result JSONPayloadResponse `json:"result"`

	// TaskId Unique identifier for the task within the workflow execution.
	TaskId string `json:"task_id"`
}

WorkflowExecutionCompletedAttributesResponse Attributes for workflow execution completed events.

type WorkflowExecutionCompletedResponse

type WorkflowExecutionCompletedResponse struct {
	// Attributes Event-specific attributes.
	Attributes WorkflowExecutionCompletedAttributesResponse `json:"attributes"`

	// EventId Unique identifier for this event instance.
	EventId string `json:"event_id"`

	// EventTimestamp Unix timestamp in nanoseconds when the event was created.
	EventTimestamp int `json:"event_timestamp"`

	// EventType Event type discriminator.
	EventType WorkflowExecutionCompletedResponseEventType `json:"event_type"`

	// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
	ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`

	// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
	RootWorkflowExecId string `json:"root_workflow_exec_id"`

	// WorkflowExecId Execution ID of the workflow that emitted this event.
	WorkflowExecId string `json:"workflow_exec_id"`

	// WorkflowName The registered name of the workflow that emitted this event.
	WorkflowName string `json:"workflow_name"`

	// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
	WorkflowRunId string `json:"workflow_run_id"`
}

WorkflowExecutionCompletedResponse Emitted when a workflow execution completes successfully.

This is a terminal event indicating the workflow finished without errors.

type WorkflowExecutionCompletedResponseEventType

type WorkflowExecutionCompletedResponseEventType string

WorkflowExecutionCompletedResponseEventType Event type discriminator.

const (
	WorkflowExecutionCompletedResponseEventTypeWORKFLOWEXECUTIONCOMPLETED WorkflowExecutionCompletedResponseEventType = "WORKFLOW_EXECUTION_COMPLETED"
)

Defines values for WorkflowExecutionCompletedResponseEventType.

func (WorkflowExecutionCompletedResponseEventType) Valid

Valid indicates whether the value is a known member of the WorkflowExecutionCompletedResponseEventType enum.

type WorkflowExecutionContinuedAsNewAttributesResponse

type WorkflowExecutionContinuedAsNewAttributesResponse struct {
	// Input The input arguments passed to the new workflow execution.
	Input JSONPayloadResponse `json:"input"`

	// NewExecutionRunId The run ID of the new workflow execution that continues this workflow.
	NewExecutionRunId string `json:"new_execution_run_id"`

	// TaskId Unique identifier for the task within the workflow execution.
	TaskId string `json:"task_id"`

	// WorkflowName The registered name of the continued workflow.
	WorkflowName string `json:"workflow_name"`
}

WorkflowExecutionContinuedAsNewAttributesResponse Attributes for workflow execution continued-as-new events.

type WorkflowExecutionContinuedAsNewResponse

type WorkflowExecutionContinuedAsNewResponse struct {
	// Attributes Event-specific attributes.
	Attributes WorkflowExecutionContinuedAsNewAttributesResponse `json:"attributes"`

	// EventId Unique identifier for this event instance.
	EventId string `json:"event_id"`

	// EventTimestamp Unix timestamp in nanoseconds when the event was created.
	EventTimestamp int `json:"event_timestamp"`

	// EventType Event type discriminator.
	EventType WorkflowExecutionContinuedAsNewResponseEventType `json:"event_type"`

	// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
	ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`

	// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
	RootWorkflowExecId string `json:"root_workflow_exec_id"`

	// WorkflowExecId Execution ID of the workflow that emitted this event.
	WorkflowExecId string `json:"workflow_exec_id"`

	// WorkflowName The registered name of the workflow that emitted this event.
	WorkflowName string `json:"workflow_name"`

	// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
	WorkflowRunId string `json:"workflow_run_id"`
}

WorkflowExecutionContinuedAsNewResponse Emitted when a workflow continues as a new execution.

This occurs when a workflow uses continue-as-new to reset its history while maintaining logical continuity.

type WorkflowExecutionContinuedAsNewResponseEventType

type WorkflowExecutionContinuedAsNewResponseEventType string

WorkflowExecutionContinuedAsNewResponseEventType Event type discriminator.

const (
	WorkflowExecutionContinuedAsNewResponseEventTypeWORKFLOWEXECUTIONCONTINUEDASNEW WorkflowExecutionContinuedAsNewResponseEventType = "WORKFLOW_EXECUTION_CONTINUED_AS_NEW"
)

Defines values for WorkflowExecutionContinuedAsNewResponseEventType.

func (WorkflowExecutionContinuedAsNewResponseEventType) Valid

Valid indicates whether the value is a known member of the WorkflowExecutionContinuedAsNewResponseEventType enum.

type WorkflowExecutionFailedAttributes

type WorkflowExecutionFailedAttributes struct {
	// Failure Details about the failure that caused the workflow to fail.
	Failure Failure `json:"failure"`

	// TaskId Unique identifier for the task within the workflow execution.
	TaskId string `json:"task_id"`
}

WorkflowExecutionFailedAttributes Attributes for workflow execution failed events.

type WorkflowExecutionFailedResponse

type WorkflowExecutionFailedResponse struct {
	// Attributes Event-specific attributes.
	Attributes WorkflowExecutionFailedAttributes `json:"attributes"`

	// EventId Unique identifier for this event instance.
	EventId string `json:"event_id"`

	// EventTimestamp Unix timestamp in nanoseconds when the event was created.
	EventTimestamp int `json:"event_timestamp"`

	// EventType Event type discriminator.
	EventType WorkflowExecutionFailedResponseEventType `json:"event_type"`

	// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
	ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`

	// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
	RootWorkflowExecId string `json:"root_workflow_exec_id"`

	// WorkflowExecId Execution ID of the workflow that emitted this event.
	WorkflowExecId string `json:"workflow_exec_id"`

	// WorkflowName The registered name of the workflow that emitted this event.
	WorkflowName string `json:"workflow_name"`

	// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
	WorkflowRunId string `json:"workflow_run_id"`
}

WorkflowExecutionFailedResponse Emitted when a workflow execution fails due to an unhandled exception.

This is a terminal event indicating the workflow ended with an error.

type WorkflowExecutionFailedResponseEventType

type WorkflowExecutionFailedResponseEventType string

WorkflowExecutionFailedResponseEventType Event type discriminator.

const (
	WorkflowExecutionFailedResponseEventTypeWORKFLOWEXECUTIONFAILED WorkflowExecutionFailedResponseEventType = "WORKFLOW_EXECUTION_FAILED"
)

Defines values for WorkflowExecutionFailedResponseEventType.

func (WorkflowExecutionFailedResponseEventType) Valid

Valid indicates whether the value is a known member of the WorkflowExecutionFailedResponseEventType enum.

type WorkflowExecutionListResponse

type WorkflowExecutionListResponse struct {
	// Executions A list of workflow executions
	Executions []WorkflowExecutionWithoutResultResponse `json:"executions"`

	// NextPageToken Token to use for fetching the next page of results. Null if this is the last page.
	NextPageToken *string `json:"next_page_token,omitempty"`
}

WorkflowExecutionListResponse defines model for WorkflowExecutionListResponse.

type WorkflowExecutionProgressTraceEvent

type WorkflowExecutionProgressTraceEvent struct {
	// Attributes The attributes of the event
	Attributes map[string]*WorkflowExecutionTraceSummaryAttributesValues `json:"attributes"`

	// EndTimeUnixMs The end time of the event in milliseconds since the Unix epoch
	EndTimeUnixMs *int `json:"end_time_unix_ms,omitempty"`

	// Error The error message, if any
	Error *string `json:"error,omitempty"`

	// Id The ID of the event
	Id string `json:"id"`

	// Internal Whether the event is internal
	Internal *bool `json:"internal,omitempty"`

	// Name Name of the event
	Name string `json:"name"`

	// StartTimeUnixMs The start time of the event in milliseconds since the Unix epoch
	StartTimeUnixMs int `json:"start_time_unix_ms"`

	// Status The progress message
	Status *EventProgressStatus `json:"status,omitempty"`

	// TimestampUnixNano The timestamp of the event in nanoseconds since the Unix epoch
	TimestampUnixNano int        `json:"timestamp_unix_nano"`
	Type              *EventType `json:"type,omitempty"`
}

WorkflowExecutionProgressTraceEvent defines model for WorkflowExecutionProgressTraceEvent.

type WorkflowExecutionRequest

type WorkflowExecutionRequest struct {
	CustomTracingAttributes *map[string]string `json:"custom_tracing_attributes,omitempty"`

	// DeploymentName Name of the deployment to route this execution to
	DeploymentName *string `json:"deployment_name,omitempty"`

	// EncodedInput Encoded input to the workflow, used when payload encoding is enabled.
	EncodedInput *NetworkEncodedInput `json:"encoded_input,omitempty"`

	// ExecutionId Allows you to specify a custom execution ID. If not provided, a random ID will be generated.
	ExecutionId *string `json:"execution_id,omitempty"`

	// Input The input to the workflow. This should be a dictionary that matches the workflow's input schema.
	Input *map[string]interface{} `json:"input,omitempty"`

	// TaskQueue Deprecated. Use deployment_name instead.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	TaskQueue *string `json:"task_queue,omitempty"`

	// TimeoutSeconds Maximum time to wait for completion when wait_for_result is true.
	TimeoutSeconds *float32 `json:"timeout_seconds,omitempty"`

	// WaitForResult If true, wait for the workflow to complete and return the result directly.
	WaitForResult *bool `json:"wait_for_result,omitempty"`
}

WorkflowExecutionRequest defines model for WorkflowExecutionRequest.

type WorkflowExecutionResponse

type WorkflowExecutionResponse struct {
	// EndTime The end time of the workflow execution, if available
	EndTime *time.Time `json:"end_time"`

	// ExecutionId The ID of the workflow execution
	ExecutionId string `json:"execution_id"`

	// ParentExecutionId The parent execution ID of the workflow execution
	ParentExecutionId *string `json:"parent_execution_id,omitempty"`

	// Result The result of the workflow execution, if available
	Result interface{} `json:"result"`

	// RootExecutionId The root execution ID of the workflow execution
	RootExecutionId string `json:"root_execution_id"`

	// StartTime The start time of the workflow execution
	StartTime time.Time `json:"start_time"`

	// Status The status of the workflow execution
	Status *WorkflowExecutionStatus `json:"status"`

	// TotalDurationMs The total duration of the trace in milliseconds
	TotalDurationMs *int `json:"total_duration_ms,omitempty"`

	// WorkflowName The name of the workflow
	WorkflowName string `json:"workflow_name"`
}

WorkflowExecutionResponse defines model for WorkflowExecutionResponse.

type WorkflowExecutionStartedAttributesResponse

type WorkflowExecutionStartedAttributesResponse struct {
	// Input The input arguments passed to the workflow.
	Input JSONPayloadResponse `json:"input"`

	// TaskId Unique identifier for the task within the workflow execution.
	TaskId string `json:"task_id"`

	// WorkflowName The registered name of the workflow being executed.
	WorkflowName string `json:"workflow_name"`
}

WorkflowExecutionStartedAttributesResponse Attributes for workflow execution started events.

type WorkflowExecutionStartedResponse

type WorkflowExecutionStartedResponse struct {
	// Attributes Event-specific attributes.
	Attributes WorkflowExecutionStartedAttributesResponse `json:"attributes"`

	// EventId Unique identifier for this event instance.
	EventId string `json:"event_id"`

	// EventTimestamp Unix timestamp in nanoseconds when the event was created.
	EventTimestamp int `json:"event_timestamp"`

	// EventType Event type discriminator.
	EventType WorkflowExecutionStartedResponseEventType `json:"event_type"`

	// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
	ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`

	// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
	RootWorkflowExecId string `json:"root_workflow_exec_id"`

	// WorkflowExecId Execution ID of the workflow that emitted this event.
	WorkflowExecId string `json:"workflow_exec_id"`

	// WorkflowName The registered name of the workflow that emitted this event.
	WorkflowName string `json:"workflow_name"`

	// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
	WorkflowRunId string `json:"workflow_run_id"`
}

WorkflowExecutionStartedResponse Emitted when a workflow execution begins.

This is the first event in any workflow execution lifecycle.

type WorkflowExecutionStartedResponseEventType

type WorkflowExecutionStartedResponseEventType string

WorkflowExecutionStartedResponseEventType Event type discriminator.

const (
	WorkflowExecutionStartedResponseEventTypeWORKFLOWEXECUTIONSTARTED WorkflowExecutionStartedResponseEventType = "WORKFLOW_EXECUTION_STARTED"
)

Defines values for WorkflowExecutionStartedResponseEventType.

func (WorkflowExecutionStartedResponseEventType) Valid

Valid indicates whether the value is a known member of the WorkflowExecutionStartedResponseEventType enum.

type WorkflowExecutionStatus

type WorkflowExecutionStatus string

WorkflowExecutionStatus defines model for WorkflowExecutionStatus.

const (
	WorkflowExecutionStatusCANCELED           WorkflowExecutionStatus = "CANCELED"
	WorkflowExecutionStatusCOMPLETED          WorkflowExecutionStatus = "COMPLETED"
	WorkflowExecutionStatusCONTINUEDASNEW     WorkflowExecutionStatus = "CONTINUED_AS_NEW"
	WorkflowExecutionStatusFAILED             WorkflowExecutionStatus = "FAILED"
	WorkflowExecutionStatusRETRYINGAFTERERROR WorkflowExecutionStatus = "RETRYING_AFTER_ERROR"
	WorkflowExecutionStatusRUNNING            WorkflowExecutionStatus = "RUNNING"
	WorkflowExecutionStatusTERMINATED         WorkflowExecutionStatus = "TERMINATED"
	WorkflowExecutionStatusTIMEDOUT           WorkflowExecutionStatus = "TIMED_OUT"
)

Defines values for WorkflowExecutionStatus.

func (WorkflowExecutionStatus) Valid

func (e WorkflowExecutionStatus) Valid() bool

Valid indicates whether the value is a known member of the WorkflowExecutionStatus enum.

type WorkflowExecutionSyncResponse

type WorkflowExecutionSyncResponse struct {
	// ExecutionId ID of the workflow execution
	ExecutionId string `json:"execution_id"`

	// Result The result of the workflow execution
	Result interface{} `json:"result"`

	// WorkflowName Name of the workflow that was executed
	WorkflowName string `json:"workflow_name"`
}

WorkflowExecutionSyncResponse Response model for synchronous workflow execution

type WorkflowExecutionTraceEvent

type WorkflowExecutionTraceEvent struct {
	// Attributes The attributes of the event
	Attributes map[string]*WorkflowExecutionTraceSummaryAttributesValues `json:"attributes"`

	// Id The ID of the event
	Id string `json:"id"`

	// Internal Whether the event is internal
	Internal *bool `json:"internal,omitempty"`

	// Name Name of the event
	Name string `json:"name"`

	// TimestampUnixNano The timestamp of the event in nanoseconds since the Unix epoch
	TimestampUnixNano int        `json:"timestamp_unix_nano"`
	Type              *EventType `json:"type,omitempty"`
}

WorkflowExecutionTraceEvent defines model for WorkflowExecutionTraceEvent.

type WorkflowExecutionTraceEventsResponse

type WorkflowExecutionTraceEventsResponse struct {
	// EndTime The end time of the workflow execution, if available
	EndTime *time.Time `json:"end_time"`

	// Events The events of the workflow execution
	Events *[]WorkflowExecutionTraceEventsResponse_Events_Item `json:"events,omitempty"`

	// ExecutionId The ID of the workflow execution
	ExecutionId string `json:"execution_id"`

	// ParentExecutionId The parent execution ID of the workflow execution
	ParentExecutionId *string `json:"parent_execution_id,omitempty"`

	// Result The result of the workflow execution, if available
	Result interface{} `json:"result"`

	// RootExecutionId The root execution ID of the workflow execution
	RootExecutionId string `json:"root_execution_id"`

	// StartTime The start time of the workflow execution
	StartTime time.Time `json:"start_time"`

	// Status The status of the workflow execution
	Status *WorkflowExecutionStatus `json:"status"`

	// TotalDurationMs The total duration of the trace in milliseconds
	TotalDurationMs *int `json:"total_duration_ms,omitempty"`

	// WorkflowName The name of the workflow
	WorkflowName string `json:"workflow_name"`
}

WorkflowExecutionTraceEventsResponse defines model for WorkflowExecutionTraceEventsResponse.

type WorkflowExecutionTraceEventsResponse_Events_Item

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

WorkflowExecutionTraceEventsResponse_Events_Item defines model for WorkflowExecutionTraceEventsResponse.events.Item.

func (WorkflowExecutionTraceEventsResponse_Events_Item) AsWorkflowExecutionProgressTraceEvent

AsWorkflowExecutionProgressTraceEvent returns the union data inside the WorkflowExecutionTraceEventsResponse_Events_Item as a WorkflowExecutionProgressTraceEvent

func (WorkflowExecutionTraceEventsResponse_Events_Item) AsWorkflowExecutionTraceEvent

AsWorkflowExecutionTraceEvent returns the union data inside the WorkflowExecutionTraceEventsResponse_Events_Item as a WorkflowExecutionTraceEvent

func (*WorkflowExecutionTraceEventsResponse_Events_Item) FromWorkflowExecutionProgressTraceEvent

FromWorkflowExecutionProgressTraceEvent overwrites any union data inside the WorkflowExecutionTraceEventsResponse_Events_Item as the provided WorkflowExecutionProgressTraceEvent

func (*WorkflowExecutionTraceEventsResponse_Events_Item) FromWorkflowExecutionTraceEvent

FromWorkflowExecutionTraceEvent overwrites any union data inside the WorkflowExecutionTraceEventsResponse_Events_Item as the provided WorkflowExecutionTraceEvent

func (WorkflowExecutionTraceEventsResponse_Events_Item) MarshalJSON

func (*WorkflowExecutionTraceEventsResponse_Events_Item) MergeWorkflowExecutionProgressTraceEvent

MergeWorkflowExecutionProgressTraceEvent performs a merge with any union data inside the WorkflowExecutionTraceEventsResponse_Events_Item, using the provided WorkflowExecutionProgressTraceEvent

func (*WorkflowExecutionTraceEventsResponse_Events_Item) MergeWorkflowExecutionTraceEvent

MergeWorkflowExecutionTraceEvent performs a merge with any union data inside the WorkflowExecutionTraceEventsResponse_Events_Item, using the provided WorkflowExecutionTraceEvent

func (*WorkflowExecutionTraceEventsResponse_Events_Item) UnmarshalJSON

type WorkflowExecutionTraceOTelResponse

type WorkflowExecutionTraceOTelResponse struct {
	// DataSource The data source of the trace
	DataSource string `json:"data_source"`

	// EndTime The end time of the workflow execution, if available
	EndTime *time.Time `json:"end_time"`

	// ExecutionId The ID of the workflow execution
	ExecutionId string `json:"execution_id"`

	// OtelTraceData The raw OpenTelemetry trace data
	OtelTraceData *TempoGetTraceResponse `json:"otel_trace_data,omitempty"`

	// OtelTraceId The ID of the trace
	OtelTraceId *string `json:"otel_trace_id,omitempty"`

	// ParentExecutionId The parent execution ID of the workflow execution
	ParentExecutionId *string `json:"parent_execution_id,omitempty"`

	// Result The result of the workflow execution, if available
	Result interface{} `json:"result"`

	// RootExecutionId The root execution ID of the workflow execution
	RootExecutionId string `json:"root_execution_id"`

	// StartTime The start time of the workflow execution
	StartTime time.Time `json:"start_time"`

	// Status The status of the workflow execution
	Status *WorkflowExecutionStatus `json:"status"`

	// TotalDurationMs The total duration of the trace in milliseconds
	TotalDurationMs *int `json:"total_duration_ms,omitempty"`

	// WorkflowName The name of the workflow
	WorkflowName string `json:"workflow_name"`
}

WorkflowExecutionTraceOTelResponse defines model for WorkflowExecutionTraceOTelResponse.

type WorkflowExecutionTraceSummaryAttributesValues

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

WorkflowExecutionTraceSummaryAttributesValues defines model for WorkflowExecutionTraceSummaryAttributesValues.

func (WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues0

func (t WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues0() (WorkflowExecutionTraceSummaryAttributesValues0, error)

AsWorkflowExecutionTraceSummaryAttributesValues0 returns the union data inside the WorkflowExecutionTraceSummaryAttributesValues as a WorkflowExecutionTraceSummaryAttributesValues0

func (WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues1

func (t WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues1() (WorkflowExecutionTraceSummaryAttributesValues1, error)

AsWorkflowExecutionTraceSummaryAttributesValues1 returns the union data inside the WorkflowExecutionTraceSummaryAttributesValues as a WorkflowExecutionTraceSummaryAttributesValues1

func (WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues2

func (t WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues2() (WorkflowExecutionTraceSummaryAttributesValues2, error)

AsWorkflowExecutionTraceSummaryAttributesValues2 returns the union data inside the WorkflowExecutionTraceSummaryAttributesValues as a WorkflowExecutionTraceSummaryAttributesValues2

func (WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues3

func (t WorkflowExecutionTraceSummaryAttributesValues) AsWorkflowExecutionTraceSummaryAttributesValues3() (WorkflowExecutionTraceSummaryAttributesValues3, error)

AsWorkflowExecutionTraceSummaryAttributesValues3 returns the union data inside the WorkflowExecutionTraceSummaryAttributesValues as a WorkflowExecutionTraceSummaryAttributesValues3

func (*WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues0

func (t *WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues0(v WorkflowExecutionTraceSummaryAttributesValues0) error

FromWorkflowExecutionTraceSummaryAttributesValues0 overwrites any union data inside the WorkflowExecutionTraceSummaryAttributesValues as the provided WorkflowExecutionTraceSummaryAttributesValues0

func (*WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues1

func (t *WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues1(v WorkflowExecutionTraceSummaryAttributesValues1) error

FromWorkflowExecutionTraceSummaryAttributesValues1 overwrites any union data inside the WorkflowExecutionTraceSummaryAttributesValues as the provided WorkflowExecutionTraceSummaryAttributesValues1

func (*WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues2

func (t *WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues2(v WorkflowExecutionTraceSummaryAttributesValues2) error

FromWorkflowExecutionTraceSummaryAttributesValues2 overwrites any union data inside the WorkflowExecutionTraceSummaryAttributesValues as the provided WorkflowExecutionTraceSummaryAttributesValues2

func (*WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues3

func (t *WorkflowExecutionTraceSummaryAttributesValues) FromWorkflowExecutionTraceSummaryAttributesValues3(v WorkflowExecutionTraceSummaryAttributesValues3) error

FromWorkflowExecutionTraceSummaryAttributesValues3 overwrites any union data inside the WorkflowExecutionTraceSummaryAttributesValues as the provided WorkflowExecutionTraceSummaryAttributesValues3

func (WorkflowExecutionTraceSummaryAttributesValues) MarshalJSON

func (*WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues0

func (t *WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues0(v WorkflowExecutionTraceSummaryAttributesValues0) error

MergeWorkflowExecutionTraceSummaryAttributesValues0 performs a merge with any union data inside the WorkflowExecutionTraceSummaryAttributesValues, using the provided WorkflowExecutionTraceSummaryAttributesValues0

func (*WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues1

func (t *WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues1(v WorkflowExecutionTraceSummaryAttributesValues1) error

MergeWorkflowExecutionTraceSummaryAttributesValues1 performs a merge with any union data inside the WorkflowExecutionTraceSummaryAttributesValues, using the provided WorkflowExecutionTraceSummaryAttributesValues1

func (*WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues2

func (t *WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues2(v WorkflowExecutionTraceSummaryAttributesValues2) error

MergeWorkflowExecutionTraceSummaryAttributesValues2 performs a merge with any union data inside the WorkflowExecutionTraceSummaryAttributesValues, using the provided WorkflowExecutionTraceSummaryAttributesValues2

func (*WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues3

func (t *WorkflowExecutionTraceSummaryAttributesValues) MergeWorkflowExecutionTraceSummaryAttributesValues3(v WorkflowExecutionTraceSummaryAttributesValues3) error

MergeWorkflowExecutionTraceSummaryAttributesValues3 performs a merge with any union data inside the WorkflowExecutionTraceSummaryAttributesValues, using the provided WorkflowExecutionTraceSummaryAttributesValues3

func (*WorkflowExecutionTraceSummaryAttributesValues) UnmarshalJSON

type WorkflowExecutionTraceSummaryAttributesValues0

type WorkflowExecutionTraceSummaryAttributesValues0 = string

WorkflowExecutionTraceSummaryAttributesValues0 defines model for WorkflowExecutionTraceSummaryAttributesValues.0.

type WorkflowExecutionTraceSummaryAttributesValues1

type WorkflowExecutionTraceSummaryAttributesValues1 = int

WorkflowExecutionTraceSummaryAttributesValues1 defines model for WorkflowExecutionTraceSummaryAttributesValues.1.

type WorkflowExecutionTraceSummaryAttributesValues2

type WorkflowExecutionTraceSummaryAttributesValues2 = float32

WorkflowExecutionTraceSummaryAttributesValues2 defines model for WorkflowExecutionTraceSummaryAttributesValues.2.

type WorkflowExecutionTraceSummaryAttributesValues3

type WorkflowExecutionTraceSummaryAttributesValues3 = bool

WorkflowExecutionTraceSummaryAttributesValues3 defines model for WorkflowExecutionTraceSummaryAttributesValues.3.

type WorkflowExecutionTraceSummaryResponse

type WorkflowExecutionTraceSummaryResponse struct {
	// EndTime The end time of the workflow execution, if available
	EndTime *time.Time `json:"end_time"`

	// ExecutionId The ID of the workflow execution
	ExecutionId string `json:"execution_id"`

	// ParentExecutionId The parent execution ID of the workflow execution
	ParentExecutionId *string `json:"parent_execution_id,omitempty"`

	// Result The result of the workflow execution, if available
	Result interface{} `json:"result"`

	// RootExecutionId The root execution ID of the workflow execution
	RootExecutionId string `json:"root_execution_id"`

	// SpanTree The root span of the trace
	SpanTree *WorkflowExecutionTraceSummarySpan `json:"span_tree,omitempty"`

	// StartTime The start time of the workflow execution
	StartTime time.Time `json:"start_time"`

	// Status The status of the workflow execution
	Status *WorkflowExecutionStatus `json:"status"`

	// TotalDurationMs The total duration of the trace in milliseconds
	TotalDurationMs *int `json:"total_duration_ms,omitempty"`

	// WorkflowName The name of the workflow
	WorkflowName string `json:"workflow_name"`
}

WorkflowExecutionTraceSummaryResponse defines model for WorkflowExecutionTraceSummaryResponse.

type WorkflowExecutionTraceSummarySpan

type WorkflowExecutionTraceSummarySpan struct {
	// Attributes The attributes of the span
	Attributes map[string]*WorkflowExecutionTraceSummaryAttributesValues `json:"attributes"`

	// Children The child spans of the span
	Children *[]WorkflowExecutionTraceSummarySpan `json:"children,omitempty"`

	// EndTimeUnixNano The end time of the span in nanoseconds since the Unix epoch
	EndTimeUnixNano *int `json:"end_time_unix_nano"`

	// Events The events of the span
	Events []WorkflowExecutionTraceEvent `json:"events"`

	// Name The name of the span
	Name string `json:"name"`

	// SpanId The ID of the span
	SpanId string `json:"span_id"`

	// StartTimeUnixNano The start time of the span in nanoseconds since the Unix epoch
	StartTimeUnixNano int `json:"start_time_unix_nano"`
}

WorkflowExecutionTraceSummarySpan defines model for WorkflowExecutionTraceSummarySpan.

type WorkflowExecutionWithoutResultResponse

type WorkflowExecutionWithoutResultResponse struct {
	// EndTime The end time of the workflow execution, if available
	EndTime *time.Time `json:"end_time"`

	// ExecutionId The ID of the workflow execution
	ExecutionId string `json:"execution_id"`

	// ParentExecutionId The parent execution ID of the workflow execution
	ParentExecutionId *string `json:"parent_execution_id,omitempty"`

	// RootExecutionId The root execution ID of the workflow execution
	RootExecutionId string `json:"root_execution_id"`

	// StartTime The start time of the workflow execution
	StartTime time.Time `json:"start_time"`

	// Status The status of the workflow execution
	Status *WorkflowExecutionStatus `json:"status"`

	// TotalDurationMs The total duration of the trace in milliseconds
	TotalDurationMs *int `json:"total_duration_ms,omitempty"`

	// WorkflowName The name of the workflow
	WorkflowName string `json:"workflow_name"`
}

WorkflowExecutionWithoutResultResponse defines model for WorkflowExecutionWithoutResultResponse.

type WorkflowGetResponse

type WorkflowGetResponse struct {
	// Workflow The workflow spec
	Workflow WorkflowWithWorkerStatus `json:"workflow"`
}

WorkflowGetResponse defines model for WorkflowGetResponse.

type WorkflowMetrics

type WorkflowMetrics struct {
	// AverageLatencyMs Scalar metric with a single value.
	AverageLatencyMs ScalarMetric `json:"average_latency_ms"`

	// ErrorCount Scalar metric with a single value.
	ErrorCount ScalarMetric `json:"error_count"`

	// ExecutionCount Scalar metric with a single value.
	ExecutionCount ScalarMetric `json:"execution_count"`

	// LatencyOverTime Time-series metric with timestamp-value pairs.
	LatencyOverTime TimeSeriesMetric `json:"latency_over_time"`

	// RetryRate Scalar metric with a single value.
	RetryRate ScalarMetric `json:"retry_rate"`

	// SuccessCount Scalar metric with a single value.
	SuccessCount ScalarMetric `json:"success_count"`
}

WorkflowMetrics Complete metrics for a specific workflow.

This type combines all metric categories.

type WorkflowRegistration

type WorkflowRegistration struct {
	// CompatibleWithChatAssistant Whether the workflow is compatible with chat assistant
	CompatibleWithChatAssistant *bool                  `json:"compatible_with_chat_assistant,omitempty"`
	Definition                  WorkflowCodeDefinition `json:"definition"`

	// Id Unique identifier of the workflow registration
	Id openapi_types.UUID `json:"id"`

	// TaskQueue Project name of the workflow
	TaskQueue string `json:"task_queue"`

	// Workflow Workflow of the workflow registration
	Workflow *Workflow `json:"workflow,omitempty"`

	// WorkflowId Workflow ID of the workflow
	WorkflowId openapi_types.UUID `json:"workflow_id"`
}

WorkflowRegistration defines model for WorkflowRegistration.

type WorkflowRegistrationGetResponse

type WorkflowRegistrationGetResponse struct {
	// WorkflowRegistration The workflow registration
	WorkflowRegistration WorkflowRegistrationWithWorkerStatus `json:"workflow_registration"`

	// WorkflowVersion Deprecated: use workflow_registration
	WorkflowVersion *WorkflowRegistrationWithWorkerStatus `json:"workflow_version,omitempty"`
}

WorkflowRegistrationGetResponse defines model for WorkflowRegistrationGetResponse.

type WorkflowRegistrationListResponse

type WorkflowRegistrationListResponse struct {
	NextCursor *openapi_types.UUID `json:"next_cursor"`

	// WorkflowRegistrations A list of workflow registrations
	WorkflowRegistrations []WorkflowRegistration `json:"workflow_registrations"`

	// WorkflowVersions Deprecated: use workflow_registrations
	WorkflowVersions *[]WorkflowRegistration `json:"workflow_versions,omitempty"`
}

WorkflowRegistrationListResponse defines model for WorkflowRegistrationListResponse.

type WorkflowRegistrationWithWorkerStatus

type WorkflowRegistrationWithWorkerStatus struct {
	// Active Whether the workflow registration is active
	Active bool `json:"active"`

	// CompatibleWithChatAssistant Whether the workflow is compatible with chat assistant
	CompatibleWithChatAssistant *bool                  `json:"compatible_with_chat_assistant,omitempty"`
	Definition                  WorkflowCodeDefinition `json:"definition"`

	// Id Unique identifier of the workflow registration
	Id openapi_types.UUID `json:"id"`

	// TaskQueue Project name of the workflow
	TaskQueue string `json:"task_queue"`

	// Workflow Workflow of the workflow registration
	Workflow *Workflow `json:"workflow,omitempty"`

	// WorkflowId Workflow ID of the workflow
	WorkflowId openapi_types.UUID `json:"workflow_id"`
}

WorkflowRegistrationWithWorkerStatus defines model for WorkflowRegistrationWithWorkerStatus.

type WorkflowScheduleListResponse

type WorkflowScheduleListResponse struct {
	// Schedules A list of workflow schedules
	Schedules []ScheduleDefinitionOutput `json:"schedules"`
}

WorkflowScheduleListResponse defines model for WorkflowScheduleListResponse.

type WorkflowScheduleRequest

type WorkflowScheduleRequest struct {
	// DeploymentName Name of the deployment to route this schedule to
	DeploymentName *string `json:"deployment_name,omitempty"`

	// Schedule The schedule definition
	Schedule ScheduleDefinition `json:"schedule"`

	// ScheduleId Allows you to specify a custom schedule ID. If not provided, a random ID will be generated.
	ScheduleId *string `json:"schedule_id,omitempty"`

	// WorkflowIdentifier The name or ID of the workflow to schedule
	WorkflowIdentifier *string `json:"workflow_identifier,omitempty"`

	// WorkflowRegistrationId The ID of the workflow registration to schedule
	WorkflowRegistrationId *openapi_types.UUID `json:"workflow_registration_id,omitempty"`

	// WorkflowTaskQueue Deprecated. Use deployment_name instead.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	WorkflowTaskQueue *string `json:"workflow_task_queue,omitempty"`

	// WorkflowVersionId Deprecated: use workflow_registration_id
	WorkflowVersionId *openapi_types.UUID `json:"workflow_version_id,omitempty"`
}

WorkflowScheduleRequest defines model for WorkflowScheduleRequest.

type WorkflowScheduleResponse

type WorkflowScheduleResponse struct {
	// ScheduleId The ID of the schedule
	ScheduleId string `json:"schedule_id"`
}

WorkflowScheduleResponse defines model for WorkflowScheduleResponse.

type WorkflowTaskFailedAttributes

type WorkflowTaskFailedAttributes struct {
	// Failure Details about the failure that caused the task to fail.
	Failure Failure `json:"failure"`

	// TaskId Unique identifier for the task within the workflow execution.
	TaskId string `json:"task_id"`
}

WorkflowTaskFailedAttributes Attributes for workflow task failed events.

type WorkflowTaskFailedResponse

type WorkflowTaskFailedResponse struct {
	// Attributes Event-specific attributes.
	Attributes WorkflowTaskFailedAttributes `json:"attributes"`

	// EventId Unique identifier for this event instance.
	EventId string `json:"event_id"`

	// EventTimestamp Unix timestamp in nanoseconds when the event was created.
	EventTimestamp int `json:"event_timestamp"`

	// EventType Event type discriminator.
	EventType WorkflowTaskFailedResponseEventType `json:"event_type"`

	// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
	ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`

	// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
	RootWorkflowExecId string `json:"root_workflow_exec_id"`

	// WorkflowExecId Execution ID of the workflow that emitted this event.
	WorkflowExecId string `json:"workflow_exec_id"`

	// WorkflowName The registered name of the workflow that emitted this event.
	WorkflowName string `json:"workflow_name"`

	// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
	WorkflowRunId string `json:"workflow_run_id"`
}

WorkflowTaskFailedResponse Emitted when a workflow task fails.

This indicates an error occurred during workflow task execution, which may trigger a retry depending on configuration.

type WorkflowTaskFailedResponseEventType

type WorkflowTaskFailedResponseEventType string

WorkflowTaskFailedResponseEventType Event type discriminator.

const (
	WorkflowTaskFailedResponseEventTypeWORKFLOWTASKFAILED WorkflowTaskFailedResponseEventType = "WORKFLOW_TASK_FAILED"
)

Defines values for WorkflowTaskFailedResponseEventType.

func (WorkflowTaskFailedResponseEventType) Valid

Valid indicates whether the value is a known member of the WorkflowTaskFailedResponseEventType enum.

type WorkflowTaskTimedOutAttributes

type WorkflowTaskTimedOutAttributes struct {
	// TaskId Unique identifier for the task within the workflow execution.
	TaskId string `json:"task_id"`

	// TimeoutType The type of timeout that occurred (e.g., 'START_TO_CLOSE', 'SCHEDULE_TO_START').
	TimeoutType *string `json:"timeout_type,omitempty"`
}

WorkflowTaskTimedOutAttributes Attributes for workflow task timed out events.

type WorkflowTaskTimedOutResponse

type WorkflowTaskTimedOutResponse struct {
	// Attributes Event-specific attributes.
	Attributes WorkflowTaskTimedOutAttributes `json:"attributes"`

	// EventId Unique identifier for this event instance.
	EventId string `json:"event_id"`

	// EventTimestamp Unix timestamp in nanoseconds when the event was created.
	EventTimestamp int `json:"event_timestamp"`

	// EventType Event type discriminator.
	EventType WorkflowTaskTimedOutResponseEventType `json:"event_type"`

	// ParentWorkflowExecId Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
	ParentWorkflowExecId *string `json:"parent_workflow_exec_id"`

	// RootWorkflowExecId Execution ID of the root workflow that initiated this execution chain.
	RootWorkflowExecId string `json:"root_workflow_exec_id"`

	// WorkflowExecId Execution ID of the workflow that emitted this event.
	WorkflowExecId string `json:"workflow_exec_id"`

	// WorkflowName The registered name of the workflow that emitted this event.
	WorkflowName string `json:"workflow_name"`

	// WorkflowRunId Run ID of the workflow execution. Changes on continue-as-new while workflow_exec_id stays the same.
	WorkflowRunId string `json:"workflow_run_id"`
}

WorkflowTaskTimedOutResponse Emitted when a workflow task times out.

This indicates the workflow task (a unit of workflow execution) exceeded its configured timeout.

type WorkflowTaskTimedOutResponseEventType

type WorkflowTaskTimedOutResponseEventType string

WorkflowTaskTimedOutResponseEventType Event type discriminator.

const (
	WorkflowTaskTimedOutResponseEventTypeWORKFLOWTASKTIMEDOUT WorkflowTaskTimedOutResponseEventType = "WORKFLOW_TASK_TIMED_OUT"
)

Defines values for WorkflowTaskTimedOutResponseEventType.

func (WorkflowTaskTimedOutResponseEventType) Valid

Valid indicates whether the value is a known member of the WorkflowTaskTimedOutResponseEventType enum.

type WorkflowType

type WorkflowType string

WorkflowType defines model for WorkflowType.

const (
	WorkflowTypeCode WorkflowType = "code"
)

Defines values for WorkflowType.

func (WorkflowType) Valid

func (e WorkflowType) Valid() bool

Valid indicates whether the value is a known member of the WorkflowType enum.

type WorkflowUnarchiveResponse

type WorkflowUnarchiveResponse struct {
	// Workflow The workflow spec
	Workflow Workflow `json:"workflow"`
}

WorkflowUnarchiveResponse defines model for WorkflowUnarchiveResponse.

type WorkflowUpdateRequest

type WorkflowUpdateRequest struct {
	// AvailableInChatAssistant Whether to make the workflow available in the chat assistant
	AvailableInChatAssistant *bool `json:"available_in_chat_assistant,omitempty"`

	// Description New description value
	Description *string `json:"description,omitempty"`

	// DisplayName New display name value
	DisplayName *string `json:"display_name,omitempty"`
}

WorkflowUpdateRequest defines model for WorkflowUpdateRequest.

type WorkflowUpdateResponse

type WorkflowUpdateResponse struct {
	// Workflow Updated workflow
	Workflow Workflow `json:"workflow"`
}

WorkflowUpdateResponse defines model for WorkflowUpdateResponse.

type WorkflowWithWorkerStatus

type WorkflowWithWorkerStatus struct {
	// Active Whether the workflow is active
	Active bool `json:"active"`

	// Archived Whether the workflow is archived
	Archived *bool `json:"archived,omitempty"`

	// AvailableInChatAssistant Whether the workflow is available in chat assistant
	AvailableInChatAssistant *bool `json:"available_in_chat_assistant,omitempty"`

	// CustomerId Customer ID of the workflow
	CustomerId openapi_types.UUID `json:"customer_id"`

	// Description Description of the workflow
	Description *string `json:"description,omitempty"`

	// DisplayName Display name of the workflow
	DisplayName string `json:"display_name"`

	// Id Unique identifier of the workflow
	Id openapi_types.UUID `json:"id"`

	// IsTechnical Whether the workflow is technical (e.g. SDK-managed)
	IsTechnical *bool `json:"is_technical,omitempty"`

	// Name Name of the workflow
	Name string `json:"name"`

	// SharedNamespace Reserved namespace for shared workflows (e.g., 'shared:my-shared-workflow')
	SharedNamespace *string `json:"shared_namespace,omitempty"`

	// Type Type of the workflow
	Type WorkflowType `json:"type"`

	// WorkspaceId Workspace ID of the workflow
	WorkspaceId openapi_types.UUID `json:"workspace_id"`
}

WorkflowWithWorkerStatus defines model for WorkflowWithWorkerStatus.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL