weave

package module
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

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

README

go-weave

Go Reference CI version license imported by

Unofficial Go client for the W&B Weave trace server API, generated with oapi-codegen from the OpenAPI document the trace server publishes at https://trace.wandb.ai/openapi.json. I am not affiliated with Weights & Biases.

The package is weave, in the repository root. Everything in client.gen.go and types.gen.go is generated. Don't edit it by hand, regenerate it.

Install

go get github.com/psyb0t/go-weave

Usage

Every endpoint in the spec has a typed method on ClientWithResponses. Responses decode into JSON200 and the other status fields. The full API, with the spec's descriptions as doc comments, is in the Go reference and in go doc github.com/psyb0t/go-weave.

package main

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

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

func main() {
	auth := weave.WithRequestEditorFn(func(_ context.Context, req *http.Request) error {
		req.SetBasicAuth(os.Getenv("WANDB_USERNAME"), os.Getenv("WANDB_API_KEY"))

		return nil
	})

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

	res, err := client.ServerInfoServerInfoGetWithResponse(context.Background())
	if err != nil {
		panic(err)
	}

	_ = res.JSON200
}

The same code is in example_test.go, so make test checks that it compiles.

Method names come from the spec's operation IDs, which FastAPI builds from the handler name, the path and the HTTP method. So they are long and repeat themselves: CallReadCallReadPost is POST /call/read, ObjReadObjReadPost is POST /obj/read, ReadRootHealthGet is GET /health. Most endpoints take a project_id in the request body, in the form <entity>/<project>.

Auth

The spec declares HTTP Bearer. The official SDK uses HTTP Basic: the W&B username (WANDB_USERNAME) is the username and the W&B API key (WANDB_API_KEY) is the password. The API key comes from the user settings page on wandb.ai. For a dedicated or self-hosted W&B instance, swap https://trace.wandb.ai for that instance's trace server URL.

Agent integrations

The skill teaches a coding agent how to use go-weave when it writes Go. It works in any agent that reads .agents/skills/, and installs natively in the clients below.

Claude Code
claude plugin marketplace add psyb0t/agents
claude plugin install go-weave@psyb0t
Codex
codex plugin marketplace add psyb0t/agents
codex plugin add go-weave@psyb0t

Codex also picks the skill up with no install in any checkout of this repo.

OpenClaw

The skill is published to ClawHub on every release:

openclaw skills install @psyb0t/go-weave

Regenerating

The 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 https://trace.wandb.ai/openapi.json to api/openapi.json and checks that it is an OpenAPI 3.x document.
  • scripts/patch-spec.sh writes api/openapi.patched.json. The spec declares POST /calls/stream_query as application/json although the server streams JSONL, so the script declares application/jsonl there and the client leaves the stream in Body instead of failing to decode it.
  • oapi-codegen runs twice. config.types.yaml writes the models to types.gen.go and config.yaml writes the client to client.gen.go, because one file would be about 850 KB. Both map number to float64, because oapi-codegen would otherwise use float32.

Apart from that patch, oapi-codegen reads the spec as is. It is OpenAPI 3.1, and oapi-codegen turns its anyOf with null fields into pointers.

.github/workflows/regen.yml does the same every day in CI. When the new spec changes the client, it runs make lint, make test and make sec. If a check fails, Claude edits the code and the checks run again, up to three times, and a review step reads the result. A passing change is committed with a CHANGELOG entry and tagged as the next release: a patch version for fixes and additions, a minor version for breaking changes.

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

make sec skips one semgrep rule, the one that flags json.Unmarshal into interface{}. oapi-codegen emits that for the spec's untyped schemas, where any JSON value is valid.

License

MIT. The generated code comes from the OpenAPI specification the W&B Weave trace server publishes. The specification itself is not redistributed here.

Documentation

Overview

Package weave 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 weave is a Go client for the W&B Weave trace server API, generated with oapi-codegen from the OpenAPI document the trace server publishes.

Package weave 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.

Example

This is the README usage example. It talks to the live API, so it has no Output comment and only has to compile.

package main

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

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

func main() {
	auth := weave.WithRequestEditorFn(
		func(_ context.Context, req *http.Request) error {
			req.SetBasicAuth(
				os.Getenv("WANDB_USERNAME"),
				os.Getenv("WANDB_API_KEY"),
			)

			return nil
		},
	)

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

	res, err := client.ServerInfoServerInfoGetWithResponse(
		context.Background(),
	)
	if err != nil {
		panic(err)
	}

	_ = res.JSON200
}

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAliasesListAliasesGetRequest added in v0.2.0

func NewAliasesListAliasesGetRequest(server string, params *AliasesListAliasesGetParams) (*http.Request, error)

NewAliasesListAliasesGetRequest constructs an http.Request for the AliasesListAliasesGet method

func NewAnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostRequest

func NewAnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostRequest(server string, queueId string, body AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostJSONRequestBody) (*http.Request, error)

NewAnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostRequest calls the generic AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPost builder with application/json body

func NewAnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostRequestWithBody

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

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

func NewAnnotationQueueCreateAnnotationQueuesPostRequest

func NewAnnotationQueueCreateAnnotationQueuesPostRequest(server string, body AnnotationQueueCreateAnnotationQueuesPostJSONRequestBody) (*http.Request, error)

NewAnnotationQueueCreateAnnotationQueuesPostRequest calls the generic AnnotationQueueCreateAnnotationQueuesPost builder with application/json body

func NewAnnotationQueueCreateAnnotationQueuesPostRequestWithBody

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

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

func NewAnnotationQueueDeleteAnnotationQueuesQueueIdDeleteRequest added in v0.2.0

func NewAnnotationQueueDeleteAnnotationQueuesQueueIdDeleteRequest(server string, queueId string, params *AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteParams) (*http.Request, error)

NewAnnotationQueueDeleteAnnotationQueuesQueueIdDeleteRequest constructs an http.Request for the AnnotationQueueDeleteAnnotationQueuesQueueIdDelete method

func NewAnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostRequest

func NewAnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostRequest(server string, queueId string, itemId string, body AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostJSONRequestBody) (*http.Request, error)

NewAnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostRequest calls the generic AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPost builder with application/json body

func NewAnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostRequestWithBody

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

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

func NewAnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostRequest

func NewAnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostRequest(server string, queueId string, body AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostJSONRequestBody) (*http.Request, error)

NewAnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostRequest calls the generic AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPost builder with application/json body

func NewAnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostRequestWithBody

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

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

func NewAnnotationQueueReadAnnotationQueuesQueueIdGetRequest

func NewAnnotationQueueReadAnnotationQueuesQueueIdGetRequest(server string, queueId string, params *AnnotationQueueReadAnnotationQueuesQueueIdGetParams) (*http.Request, error)

NewAnnotationQueueReadAnnotationQueuesQueueIdGetRequest constructs an http.Request for the AnnotationQueueReadAnnotationQueuesQueueIdGet method

func NewAnnotationQueueUpdateAnnotationQueuesQueueIdPutRequest added in v0.2.0

func NewAnnotationQueueUpdateAnnotationQueuesQueueIdPutRequest(server string, queueId string, body AnnotationQueueUpdateAnnotationQueuesQueueIdPutJSONRequestBody) (*http.Request, error)

NewAnnotationQueueUpdateAnnotationQueuesQueueIdPutRequest calls the generic AnnotationQueueUpdateAnnotationQueuesQueueIdPut builder with application/json body

func NewAnnotationQueueUpdateAnnotationQueuesQueueIdPutRequestWithBody added in v0.2.0

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

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

func NewAnnotationQueuesQueryStreamAnnotationQueuesQueryPostRequest

func NewAnnotationQueuesQueryStreamAnnotationQueuesQueryPostRequest(server string, body AnnotationQueuesQueryStreamAnnotationQueuesQueryPostJSONRequestBody) (*http.Request, error)

NewAnnotationQueuesQueryStreamAnnotationQueuesQueryPostRequest calls the generic AnnotationQueuesQueryStreamAnnotationQueuesQueryPost builder with application/json body

func NewAnnotationQueuesQueryStreamAnnotationQueuesQueryPostRequestWithBody

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

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

func NewAnnotationQueuesStatsAnnotationQueuesStatsPostRequest

func NewAnnotationQueuesStatsAnnotationQueuesStatsPostRequest(server string, body AnnotationQueuesStatsAnnotationQueuesStatsPostJSONRequestBody) (*http.Request, error)

NewAnnotationQueuesStatsAnnotationQueuesStatsPostRequest calls the generic AnnotationQueuesStatsAnnotationQueuesStatsPost builder with application/json body

func NewAnnotationQueuesStatsAnnotationQueuesStatsPostRequestWithBody

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

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

func NewCallEndCallEndPostRequest

func NewCallEndCallEndPostRequest(server string, body CallEndCallEndPostJSONRequestBody) (*http.Request, error)

NewCallEndCallEndPostRequest calls the generic CallEndCallEndPost builder with application/json body

func NewCallEndCallEndPostRequestWithBody

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

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

func NewCallReadCallReadPostRequest

func NewCallReadCallReadPostRequest(server string, body CallReadCallReadPostJSONRequestBody) (*http.Request, error)

NewCallReadCallReadPostRequest calls the generic CallReadCallReadPost builder with application/json body

func NewCallReadCallReadPostRequestWithBody

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

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

func NewCallStartBatchCallUpsertBatchPostRequest

func NewCallStartBatchCallUpsertBatchPostRequest(server string, body CallStartBatchCallUpsertBatchPostJSONRequestBody) (*http.Request, error)

NewCallStartBatchCallUpsertBatchPostRequest calls the generic CallStartBatchCallUpsertBatchPost builder with application/json body

func NewCallStartBatchCallUpsertBatchPostRequestWithBody

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

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

func NewCallStartCallStartPostRequest

func NewCallStartCallStartPostRequest(server string, body CallStartCallStartPostJSONRequestBody) (*http.Request, error)

NewCallStartCallStartPostRequest calls the generic CallStartCallStartPost builder with application/json body

func NewCallStartCallStartPostRequestWithBody

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

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

func NewCallStatsCallsStatsPostRequest

func NewCallStatsCallsStatsPostRequest(server string, body CallStatsCallsStatsPostJSONRequestBody) (*http.Request, error)

NewCallStatsCallsStatsPostRequest calls the generic CallStatsCallsStatsPost builder with application/json body

func NewCallStatsCallsStatsPostRequestWithBody

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

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

func NewCallUpdateCallUpdatePostRequest

func NewCallUpdateCallUpdatePostRequest(server string, body CallUpdateCallUpdatePostJSONRequestBody) (*http.Request, error)

NewCallUpdateCallUpdatePostRequest calls the generic CallUpdateCallUpdatePost builder with application/json body

func NewCallUpdateCallUpdatePostRequestWithBody

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

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

func NewCallsCompleteV2EntityProjectCallsCompletePostRequest added in v0.2.0

func NewCallsCompleteV2EntityProjectCallsCompletePostRequest(server string, entity string, project string, body CallsCompleteV2EntityProjectCallsCompletePostJSONRequestBody) (*http.Request, error)

NewCallsCompleteV2EntityProjectCallsCompletePostRequest calls the generic CallsCompleteV2EntityProjectCallsCompletePost builder with application/json body

func NewCallsCompleteV2EntityProjectCallsCompletePostRequestWithBody added in v0.2.0

func NewCallsCompleteV2EntityProjectCallsCompletePostRequestWithBody(server string, entity string, project string, contentType string, body io.Reader) (*http.Request, error)

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

func NewCallsDeleteCallsDeletePostRequest

func NewCallsDeleteCallsDeletePostRequest(server string, body CallsDeleteCallsDeletePostJSONRequestBody) (*http.Request, error)

NewCallsDeleteCallsDeletePostRequest calls the generic CallsDeleteCallsDeletePost builder with application/json body

func NewCallsDeleteCallsDeletePostRequestWithBody

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

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

func NewCallsQueryStatsCallsQueryStatsPostRequest

func NewCallsQueryStatsCallsQueryStatsPostRequest(server string, body CallsQueryStatsCallsQueryStatsPostJSONRequestBody) (*http.Request, error)

NewCallsQueryStatsCallsQueryStatsPostRequest calls the generic CallsQueryStatsCallsQueryStatsPost builder with application/json body

func NewCallsQueryStatsCallsQueryStatsPostRequestWithBody

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

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

func NewCallsQueryStreamCallsStreamQueryPostRequest

func NewCallsQueryStreamCallsStreamQueryPostRequest(server string, params *CallsQueryStreamCallsStreamQueryPostParams, body CallsQueryStreamCallsStreamQueryPostJSONRequestBody) (*http.Request, error)

NewCallsQueryStreamCallsStreamQueryPostRequest calls the generic CallsQueryStreamCallsStreamQueryPost builder with application/json body

func NewCallsQueryStreamCallsStreamQueryPostRequestWithBody

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

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

func NewCallsScoreCallsScorePostRequest added in v0.2.0

func NewCallsScoreCallsScorePostRequest(server string, body CallsScoreCallsScorePostJSONRequestBody) (*http.Request, error)

NewCallsScoreCallsScorePostRequest calls the generic CallsScoreCallsScorePost builder with application/json body

func NewCallsScoreCallsScorePostRequestWithBody added in v0.2.0

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

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

func NewCallsUsageCallsUsagePostRequest

func NewCallsUsageCallsUsagePostRequest(server string, body CallsUsageCallsUsagePostJSONRequestBody) (*http.Request, error)

NewCallsUsageCallsUsagePostRequest calls the generic CallsUsageCallsUsagePost builder with application/json body

func NewCallsUsageCallsUsagePostRequestWithBody

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

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

func NewCompletionsCreateCompletionsCreatePostRequest added in v0.2.0

func NewCompletionsCreateCompletionsCreatePostRequest(server string, body CompletionsCreateCompletionsCreatePostJSONRequestBody) (*http.Request, error)

NewCompletionsCreateCompletionsCreatePostRequest calls the generic CompletionsCreateCompletionsCreatePost builder with application/json body

func NewCompletionsCreateCompletionsCreatePostRequestWithBody added in v0.2.0

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

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

func NewCompletionsCreateStreamCompletionsCreateStreamPostRequest added in v0.2.0

func NewCompletionsCreateStreamCompletionsCreateStreamPostRequest(server string, body CompletionsCreateStreamCompletionsCreateStreamPostJSONRequestBody) (*http.Request, error)

NewCompletionsCreateStreamCompletionsCreateStreamPostRequest calls the generic CompletionsCreateStreamCompletionsCreateStreamPost builder with application/json body

func NewCompletionsCreateStreamCompletionsCreateStreamPostRequestWithBody added in v0.2.0

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

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

func NewCostCreateCostCreatePostRequest

func NewCostCreateCostCreatePostRequest(server string, body CostCreateCostCreatePostJSONRequestBody) (*http.Request, error)

NewCostCreateCostCreatePostRequest calls the generic CostCreateCostCreatePost builder with application/json body

func NewCostCreateCostCreatePostRequestWithBody

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

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

func NewCostPurgeCostPurgePostRequest

func NewCostPurgeCostPurgePostRequest(server string, body CostPurgeCostPurgePostJSONRequestBody) (*http.Request, error)

NewCostPurgeCostPurgePostRequest calls the generic CostPurgeCostPurgePost builder with application/json body

func NewCostPurgeCostPurgePostRequestWithBody

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

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

func NewCostQueryCostQueryPostRequest

func NewCostQueryCostQueryPostRequest(server string, body CostQueryCostQueryPostJSONRequestBody) (*http.Request, error)

NewCostQueryCostQueryPostRequest calls the generic CostQueryCostQueryPost builder with application/json body

func NewCostQueryCostQueryPostRequestWithBody

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

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

func NewCustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutRequest added in v0.2.0

func NewCustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutRequest(server string, entity string, project string, runtimeName string, body CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutJSONRequestBody) (*http.Request, error)

NewCustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutRequest calls the generic CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePut builder with application/json body

func NewCustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutRequestWithBody added in v0.2.0

func NewCustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutRequestWithBody(server string, entity string, project string, runtimeName string, contentType string, body io.Reader) (*http.Request, error)

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

func NewDatasetCreateV2EntityProjectDatasetsPostRequest

func NewDatasetCreateV2EntityProjectDatasetsPostRequest(server string, entity string, project string, body DatasetCreateV2EntityProjectDatasetsPostJSONRequestBody) (*http.Request, error)

NewDatasetCreateV2EntityProjectDatasetsPostRequest calls the generic DatasetCreateV2EntityProjectDatasetsPost builder with application/json body

func NewDatasetCreateV2EntityProjectDatasetsPostRequestWithBody

func NewDatasetCreateV2EntityProjectDatasetsPostRequestWithBody(server string, entity string, project string, contentType string, body io.Reader) (*http.Request, error)

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

func NewDatasetDeleteV2EntityProjectDatasetsObjectIdDeleteRequest

func NewDatasetDeleteV2EntityProjectDatasetsObjectIdDeleteRequest(server string, entity string, project string, objectId string, params *DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteParams) (*http.Request, error)

NewDatasetDeleteV2EntityProjectDatasetsObjectIdDeleteRequest constructs an http.Request for the DatasetDeleteV2EntityProjectDatasetsObjectIdDelete method

func NewDatasetListV2EntityProjectDatasetsGetRequest

func NewDatasetListV2EntityProjectDatasetsGetRequest(server string, entity string, project string, params *DatasetListV2EntityProjectDatasetsGetParams) (*http.Request, error)

NewDatasetListV2EntityProjectDatasetsGetRequest constructs an http.Request for the DatasetListV2EntityProjectDatasetsGet method

func NewDatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetRequest

func NewDatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetRequest(server string, entity string, project string, objectId string, digest string) (*http.Request, error)

NewDatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetRequest constructs an http.Request for the DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGet method

func NewDatasetSourcesLinkDatasetSourcesLinkPostRequest added in v0.2.0

func NewDatasetSourcesLinkDatasetSourcesLinkPostRequest(server string, body DatasetSourcesLinkDatasetSourcesLinkPostJSONRequestBody) (*http.Request, error)

NewDatasetSourcesLinkDatasetSourcesLinkPostRequest calls the generic DatasetSourcesLinkDatasetSourcesLinkPost builder with application/json body

func NewDatasetSourcesLinkDatasetSourcesLinkPostRequestWithBody added in v0.2.0

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

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

func NewDatasetSourcesQueryDatasetSourcesQueryPostRequest added in v0.2.0

func NewDatasetSourcesQueryDatasetSourcesQueryPostRequest(server string, body DatasetSourcesQueryDatasetSourcesQueryPostJSONRequestBody) (*http.Request, error)

NewDatasetSourcesQueryDatasetSourcesQueryPostRequest calls the generic DatasetSourcesQueryDatasetSourcesQueryPost builder with application/json body

func NewDatasetSourcesQueryDatasetSourcesQueryPostRequestWithBody added in v0.2.0

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

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

func NewEvalResultsQueryV2EntityProjectEvalResultsQueryPostRequest added in v0.2.0

func NewEvalResultsQueryV2EntityProjectEvalResultsQueryPostRequest(server string, entity string, project string, body EvalResultsQueryV2EntityProjectEvalResultsQueryPostJSONRequestBody) (*http.Request, error)

NewEvalResultsQueryV2EntityProjectEvalResultsQueryPostRequest calls the generic EvalResultsQueryV2EntityProjectEvalResultsQueryPost builder with application/json body

func NewEvalResultsQueryV2EntityProjectEvalResultsQueryPostRequestWithBody added in v0.2.0

func NewEvalResultsQueryV2EntityProjectEvalResultsQueryPostRequestWithBody(server string, entity string, project string, contentType string, body io.Reader) (*http.Request, error)

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

func NewEvaluateModelEvaluationsEvaluateModelPostRequest

func NewEvaluateModelEvaluationsEvaluateModelPostRequest(server string, body EvaluateModelEvaluationsEvaluateModelPostJSONRequestBody) (*http.Request, error)

NewEvaluateModelEvaluationsEvaluateModelPostRequest calls the generic EvaluateModelEvaluationsEvaluateModelPost builder with application/json body

func NewEvaluateModelEvaluationsEvaluateModelPostRequestWithBody

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

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

func NewEvaluationCreateV2EntityProjectEvaluationsPostRequest

func NewEvaluationCreateV2EntityProjectEvaluationsPostRequest(server string, entity string, project string, body EvaluationCreateV2EntityProjectEvaluationsPostJSONRequestBody) (*http.Request, error)

NewEvaluationCreateV2EntityProjectEvaluationsPostRequest calls the generic EvaluationCreateV2EntityProjectEvaluationsPost builder with application/json body

func NewEvaluationCreateV2EntityProjectEvaluationsPostRequestWithBody

func NewEvaluationCreateV2EntityProjectEvaluationsPostRequestWithBody(server string, entity string, project string, contentType string, body io.Reader) (*http.Request, error)

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

func NewEvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteRequest

func NewEvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteRequest(server string, entity string, project string, objectId string, params *EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteParams) (*http.Request, error)

NewEvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteRequest constructs an http.Request for the EvaluationDeleteV2EntityProjectEvaluationsObjectIdDelete method

func NewEvaluationListV2EntityProjectEvaluationsGetRequest

func NewEvaluationListV2EntityProjectEvaluationsGetRequest(server string, entity string, project string, params *EvaluationListV2EntityProjectEvaluationsGetParams) (*http.Request, error)

NewEvaluationListV2EntityProjectEvaluationsGetRequest constructs an http.Request for the EvaluationListV2EntityProjectEvaluationsGet method

func NewEvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetRequest

func NewEvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetRequest(server string, entity string, project string, objectId string, digest string) (*http.Request, error)

NewEvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetRequest constructs an http.Request for the EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGet method

func NewEvaluationRunCreateV2EntityProjectEvaluationRunsPostRequest

func NewEvaluationRunCreateV2EntityProjectEvaluationRunsPostRequest(server string, entity string, project string, body EvaluationRunCreateV2EntityProjectEvaluationRunsPostJSONRequestBody) (*http.Request, error)

NewEvaluationRunCreateV2EntityProjectEvaluationRunsPostRequest calls the generic EvaluationRunCreateV2EntityProjectEvaluationRunsPost builder with application/json body

func NewEvaluationRunCreateV2EntityProjectEvaluationRunsPostRequestWithBody

func NewEvaluationRunCreateV2EntityProjectEvaluationRunsPostRequestWithBody(server string, entity string, project string, contentType string, body io.Reader) (*http.Request, error)

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

func NewEvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteRequest

func NewEvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteRequest(server string, entity string, project string, params *EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteParams) (*http.Request, error)

NewEvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteRequest constructs an http.Request for the EvaluationRunDeleteV2EntityProjectEvaluationRunsDelete method

func NewEvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostRequest

func NewEvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostRequest(server string, entity string, project string, evaluationRunId string, body EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostJSONRequestBody) (*http.Request, error)

NewEvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostRequest calls the generic EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPost builder with application/json body

func NewEvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostRequestWithBody

func NewEvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostRequestWithBody(server string, entity string, project string, evaluationRunId string, contentType string, body io.Reader) (*http.Request, error)

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

func NewEvaluationRunListV2EntityProjectEvaluationRunsGetRequest

func NewEvaluationRunListV2EntityProjectEvaluationRunsGetRequest(server string, entity string, project string, params *EvaluationRunListV2EntityProjectEvaluationRunsGetParams) (*http.Request, error)

NewEvaluationRunListV2EntityProjectEvaluationRunsGetRequest constructs an http.Request for the EvaluationRunListV2EntityProjectEvaluationRunsGet method

func NewEvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetRequest

func NewEvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetRequest(server string, entity string, project string, evaluationRunId string) (*http.Request, error)

NewEvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetRequest constructs an http.Request for the EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGet method

func NewEvaluationStatusEvaluationsStatusPostRequest

func NewEvaluationStatusEvaluationsStatusPostRequest(server string, body EvaluationStatusEvaluationsStatusPostJSONRequestBody) (*http.Request, error)

NewEvaluationStatusEvaluationsStatusPostRequest calls the generic EvaluationStatusEvaluationsStatusPost builder with application/json body

func NewEvaluationStatusEvaluationsStatusPostRequestWithBody

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

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

func NewExportGenaiTraceAgentsOtelV1TracesPostRequest added in v0.2.0

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

NewExportGenaiTraceAgentsOtelV1TracesPostRequest constructs an http.Request for the ExportGenaiTraceAgentsOtelV1TracesPost method

func NewExportProjectDataRequest added in v0.2.1

func NewExportProjectDataRequest(server string, entity string, project string, body ExportProjectDataJSONRequestBody) (*http.Request, error)

NewExportProjectDataRequest calls the generic ExportProjectData builder with application/json body

func NewExportProjectDataRequestWithBody added in v0.2.1

func NewExportProjectDataRequestWithBody(server string, entity string, project string, contentType string, body io.Reader) (*http.Request, error)

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

func NewExportTraceOtelV1TracesPostRequest

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

NewExportTraceOtelV1TracesPostRequest constructs an http.Request for the ExportTraceOtelV1TracesPost method

func NewFeedbackAggregateFeedbackAggregatePostRequest added in v0.2.0

func NewFeedbackAggregateFeedbackAggregatePostRequest(server string, body FeedbackAggregateFeedbackAggregatePostJSONRequestBody) (*http.Request, error)

NewFeedbackAggregateFeedbackAggregatePostRequest calls the generic FeedbackAggregateFeedbackAggregatePost builder with application/json body

func NewFeedbackAggregateFeedbackAggregatePostRequestWithBody added in v0.2.0

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

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

func NewFeedbackCreateBatchFeedbackBatchCreatePostRequest

func NewFeedbackCreateBatchFeedbackBatchCreatePostRequest(server string, body FeedbackCreateBatchFeedbackBatchCreatePostJSONRequestBody) (*http.Request, error)

NewFeedbackCreateBatchFeedbackBatchCreatePostRequest calls the generic FeedbackCreateBatchFeedbackBatchCreatePost builder with application/json body

func NewFeedbackCreateBatchFeedbackBatchCreatePostRequestWithBody

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

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

func NewFeedbackCreateFeedbackCreatePostRequest

func NewFeedbackCreateFeedbackCreatePostRequest(server string, body FeedbackCreateFeedbackCreatePostJSONRequestBody) (*http.Request, error)

NewFeedbackCreateFeedbackCreatePostRequest calls the generic FeedbackCreateFeedbackCreatePost builder with application/json body

func NewFeedbackCreateFeedbackCreatePostRequestWithBody

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

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

func NewFeedbackPayloadSchemaFeedbackPayloadSchemaPostRequest added in v0.2.0

func NewFeedbackPayloadSchemaFeedbackPayloadSchemaPostRequest(server string, body FeedbackPayloadSchemaFeedbackPayloadSchemaPostJSONRequestBody) (*http.Request, error)

NewFeedbackPayloadSchemaFeedbackPayloadSchemaPostRequest calls the generic FeedbackPayloadSchemaFeedbackPayloadSchemaPost builder with application/json body

func NewFeedbackPayloadSchemaFeedbackPayloadSchemaPostRequestWithBody added in v0.2.0

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

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

func NewFeedbackPurgeFeedbackPurgePostRequest

func NewFeedbackPurgeFeedbackPurgePostRequest(server string, body FeedbackPurgeFeedbackPurgePostJSONRequestBody) (*http.Request, error)

NewFeedbackPurgeFeedbackPurgePostRequest calls the generic FeedbackPurgeFeedbackPurgePost builder with application/json body

func NewFeedbackPurgeFeedbackPurgePostRequestWithBody

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

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

func NewFeedbackQueryFeedbackQueryPostRequest

func NewFeedbackQueryFeedbackQueryPostRequest(server string, body FeedbackQueryFeedbackQueryPostJSONRequestBody) (*http.Request, error)

NewFeedbackQueryFeedbackQueryPostRequest calls the generic FeedbackQueryFeedbackQueryPost builder with application/json body

func NewFeedbackQueryFeedbackQueryPostRequestWithBody

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

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

func NewFeedbackReplaceFeedbackReplacePostRequest

func NewFeedbackReplaceFeedbackReplacePostRequest(server string, body FeedbackReplaceFeedbackReplacePostJSONRequestBody) (*http.Request, error)

NewFeedbackReplaceFeedbackReplacePostRequest calls the generic FeedbackReplaceFeedbackReplacePost builder with application/json body

func NewFeedbackReplaceFeedbackReplacePostRequestWithBody

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

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

func NewFeedbackStatsFeedbackStatsPostRequest added in v0.2.0

func NewFeedbackStatsFeedbackStatsPostRequest(server string, body FeedbackStatsFeedbackStatsPostJSONRequestBody) (*http.Request, error)

NewFeedbackStatsFeedbackStatsPostRequest calls the generic FeedbackStatsFeedbackStatsPost builder with application/json body

func NewFeedbackStatsFeedbackStatsPostRequestWithBody added in v0.2.0

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

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

func NewFileContentFileContentPostRequest

func NewFileContentFileContentPostRequest(server string, body FileContentFileContentPostJSONRequestBody) (*http.Request, error)

NewFileContentFileContentPostRequest calls the generic FileContentFileContentPost builder with application/json body

func NewFileContentFileContentPostRequestWithBody

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

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

func NewFileCreateFileCreatePostRequestWithBody

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

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

func NewFilesResolveUrlFilesResolveUrlPostRequest added in v0.2.0

func NewFilesResolveUrlFilesResolveUrlPostRequest(server string, body FilesResolveUrlFilesResolveUrlPostJSONRequestBody) (*http.Request, error)

NewFilesResolveUrlFilesResolveUrlPostRequest calls the generic FilesResolveUrlFilesResolveUrlPost builder with application/json body

func NewFilesResolveUrlFilesResolveUrlPostRequestWithBody added in v0.2.0

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

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

func NewFilesStatsFilesQueryStatsPostRequest

func NewFilesStatsFilesQueryStatsPostRequest(server string, body FilesStatsFilesQueryStatsPostJSONRequestBody) (*http.Request, error)

NewFilesStatsFilesQueryStatsPostRequest calls the generic FilesStatsFilesQueryStatsPost builder with application/json body

func NewFilesStatsFilesQueryStatsPostRequestWithBody

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

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

func NewGenaiAgentVersionsQueryAgentsAgentVersionsQueryPostRequest added in v0.2.0

func NewGenaiAgentVersionsQueryAgentsAgentVersionsQueryPostRequest(server string, body GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostJSONRequestBody) (*http.Request, error)

NewGenaiAgentVersionsQueryAgentsAgentVersionsQueryPostRequest calls the generic GenaiAgentVersionsQueryAgentsAgentVersionsQueryPost builder with application/json body

func NewGenaiAgentVersionsQueryAgentsAgentVersionsQueryPostRequestWithBody added in v0.2.0

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

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

func NewGenaiAgentsQueryAgentsQueryPostRequest added in v0.2.0

func NewGenaiAgentsQueryAgentsQueryPostRequest(server string, body GenaiAgentsQueryAgentsQueryPostJSONRequestBody) (*http.Request, error)

NewGenaiAgentsQueryAgentsQueryPostRequest calls the generic GenaiAgentsQueryAgentsQueryPost builder with application/json body

func NewGenaiAgentsQueryAgentsQueryPostRequestWithBody added in v0.2.0

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

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

func NewGenaiConversationChatAgentsConversationsChatPostRequest added in v0.2.0

func NewGenaiConversationChatAgentsConversationsChatPostRequest(server string, body GenaiConversationChatAgentsConversationsChatPostJSONRequestBody) (*http.Request, error)

NewGenaiConversationChatAgentsConversationsChatPostRequest calls the generic GenaiConversationChatAgentsConversationsChatPost builder with application/json body

func NewGenaiConversationChatAgentsConversationsChatPostRequestWithBody added in v0.2.0

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

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

func NewGenaiConversationSpansAgentsConversationsSpansPostRequest added in v0.2.0

func NewGenaiConversationSpansAgentsConversationsSpansPostRequest(server string, body GenaiConversationSpansAgentsConversationsSpansPostJSONRequestBody) (*http.Request, error)

NewGenaiConversationSpansAgentsConversationsSpansPostRequest calls the generic GenaiConversationSpansAgentsConversationsSpansPost builder with application/json body

func NewGenaiConversationSpansAgentsConversationsSpansPostRequestWithBody added in v0.2.0

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

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

func NewGenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostRequest added in v0.2.0

func NewGenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostRequest(server string, body GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostJSONRequestBody) (*http.Request, error)

NewGenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostRequest calls the generic GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPost builder with application/json body

func NewGenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostRequestWithBody added in v0.2.0

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

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

func NewGenaiSearchAgentsSearchPostRequest added in v0.2.0

func NewGenaiSearchAgentsSearchPostRequest(server string, body GenaiSearchAgentsSearchPostJSONRequestBody) (*http.Request, error)

NewGenaiSearchAgentsSearchPostRequest calls the generic GenaiSearchAgentsSearchPost builder with application/json body

func NewGenaiSearchAgentsSearchPostRequestWithBody added in v0.2.0

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

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

func NewGenaiSpansExistsAgentsSpansExistsPostRequest added in v0.2.2

func NewGenaiSpansExistsAgentsSpansExistsPostRequest(server string, body GenaiSpansExistsAgentsSpansExistsPostJSONRequestBody) (*http.Request, error)

NewGenaiSpansExistsAgentsSpansExistsPostRequest calls the generic GenaiSpansExistsAgentsSpansExistsPost builder with application/json body

func NewGenaiSpansExistsAgentsSpansExistsPostRequestWithBody added in v0.2.2

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

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

func NewGenaiSpansQueryAgentsSpansQueryPostRequest added in v0.2.0

func NewGenaiSpansQueryAgentsSpansQueryPostRequest(server string, body GenaiSpansQueryAgentsSpansQueryPostJSONRequestBody) (*http.Request, error)

NewGenaiSpansQueryAgentsSpansQueryPostRequest calls the generic GenaiSpansQueryAgentsSpansQueryPost builder with application/json body

func NewGenaiSpansQueryAgentsSpansQueryPostRequestWithBody added in v0.2.0

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

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

func NewGenaiSpansStatsAgentsSpansStatsPostRequest added in v0.2.0

func NewGenaiSpansStatsAgentsSpansStatsPostRequest(server string, body GenaiSpansStatsAgentsSpansStatsPostJSONRequestBody) (*http.Request, error)

NewGenaiSpansStatsAgentsSpansStatsPostRequest calls the generic GenaiSpansStatsAgentsSpansStatsPost builder with application/json body

func NewGenaiSpansStatsAgentsSpansStatsPostRequestWithBody added in v0.2.0

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

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

func NewGenaiTracesChatAgentsTracesChatPostRequest added in v0.2.0

func NewGenaiTracesChatAgentsTracesChatPostRequest(server string, body GenaiTracesChatAgentsTracesChatPostJSONRequestBody) (*http.Request, error)

NewGenaiTracesChatAgentsTracesChatPostRequest calls the generic GenaiTracesChatAgentsTracesChatPost builder with application/json body

func NewGenaiTracesChatAgentsTracesChatPostRequestWithBody added in v0.2.0

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

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

func NewGetCallerLocationGeolocateGetRequest

func NewGetCallerLocationGeolocateGetRequest(server string, params *GetCallerLocationGeolocateGetParams) (*http.Request, error)

NewGetCallerLocationGeolocateGetRequest constructs an http.Request for the GetCallerLocationGeolocateGet method

func NewGetProjectExportRequest added in v0.2.1

func NewGetProjectExportRequest(server string, entity string, project string, jobId openapi_types.UUID) (*http.Request, error)

NewGetProjectExportRequest constructs an http.Request for the GetProjectExport method

func NewImageCreateImageCreatePostRequest

func NewImageCreateImageCreatePostRequest(server string, body ImageCreateImageCreatePostJSONRequestBody) (*http.Request, error)

NewImageCreateImageCreatePostRequest calls the generic ImageCreateImageCreatePost builder with application/json body

func NewImageCreateImageCreatePostRequestWithBody

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

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

func NewInferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetRequest added in v0.2.0

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

NewInferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetRequest constructs an http.Request for the InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGet method

func NewInferenceCatalogModelsInferenceCatalogModelsGetRequest added in v0.2.0

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

NewInferenceCatalogModelsInferenceCatalogModelsGetRequest constructs an http.Request for the InferenceCatalogModelsInferenceCatalogModelsGet method

func NewInferenceModelsdevModelsInferenceModelsdevModelsGetRequest added in v0.2.0

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

NewInferenceModelsdevModelsInferenceModelsdevModelsGetRequest constructs an http.Request for the InferenceModelsdevModelsInferenceModelsdevModelsGet method

func NewInferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetRequest

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

NewInferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetRequest constructs an http.Request for the InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGet method

func NewLinkToRegistryLinkToRegistryPostRequest added in v0.2.0

func NewLinkToRegistryLinkToRegistryPostRequest(server string, body LinkToRegistryLinkToRegistryPostJSONRequestBody) (*http.Request, error)

NewLinkToRegistryLinkToRegistryPostRequest calls the generic LinkToRegistryLinkToRegistryPost builder with application/json body

func NewLinkToRegistryLinkToRegistryPostRequestWithBody added in v0.2.0

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

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

func NewModelCreateV2EntityProjectModelsPostRequest

func NewModelCreateV2EntityProjectModelsPostRequest(server string, entity string, project string, body ModelCreateV2EntityProjectModelsPostJSONRequestBody) (*http.Request, error)

NewModelCreateV2EntityProjectModelsPostRequest calls the generic ModelCreateV2EntityProjectModelsPost builder with application/json body

func NewModelCreateV2EntityProjectModelsPostRequestWithBody

func NewModelCreateV2EntityProjectModelsPostRequestWithBody(server string, entity string, project string, contentType string, body io.Reader) (*http.Request, error)

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

func NewModelDeleteV2EntityProjectModelsObjectIdDeleteRequest

func NewModelDeleteV2EntityProjectModelsObjectIdDeleteRequest(server string, entity string, project string, objectId string, params *ModelDeleteV2EntityProjectModelsObjectIdDeleteParams) (*http.Request, error)

NewModelDeleteV2EntityProjectModelsObjectIdDeleteRequest constructs an http.Request for the ModelDeleteV2EntityProjectModelsObjectIdDelete method

func NewModelListV2EntityProjectModelsGetRequest

func NewModelListV2EntityProjectModelsGetRequest(server string, entity string, project string, params *ModelListV2EntityProjectModelsGetParams) (*http.Request, error)

NewModelListV2EntityProjectModelsGetRequest constructs an http.Request for the ModelListV2EntityProjectModelsGet method

func NewModelReadV2EntityProjectModelsObjectIdVersionsDigestGetRequest

func NewModelReadV2EntityProjectModelsObjectIdVersionsDigestGetRequest(server string, entity string, project string, objectId string, digest string) (*http.Request, error)

NewModelReadV2EntityProjectModelsObjectIdVersionsDigestGetRequest constructs an http.Request for the ModelReadV2EntityProjectModelsObjectIdVersionsDigestGet method

func NewNvidiaHardwareInferenceNvidiaV2HardwareGetRequest added in v0.2.0

func NewNvidiaHardwareInferenceNvidiaV2HardwareGetRequest(server string, params *NvidiaHardwareInferenceNvidiaV2HardwareGetParams) (*http.Request, error)

NewNvidiaHardwareInferenceNvidiaV2HardwareGetRequest constructs an http.Request for the NvidiaHardwareInferenceNvidiaV2HardwareGet method

func NewObjAddTagsObjsObjectIdVersionsDigestTagsPutRequest added in v0.2.0

func NewObjAddTagsObjsObjectIdVersionsDigestTagsPutRequest(server string, objectId string, digest string, body ObjAddTagsObjsObjectIdVersionsDigestTagsPutJSONRequestBody) (*http.Request, error)

NewObjAddTagsObjsObjectIdVersionsDigestTagsPutRequest calls the generic ObjAddTagsObjsObjectIdVersionsDigestTagsPut builder with application/json body

func NewObjAddTagsObjsObjectIdVersionsDigestTagsPutRequestWithBody added in v0.2.0

func NewObjAddTagsObjsObjectIdVersionsDigestTagsPutRequestWithBody(server string, objectId string, digest string, contentType string, body io.Reader) (*http.Request, error)

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

func NewObjCreateObjCreatePostRequest

func NewObjCreateObjCreatePostRequest(server string, body ObjCreateObjCreatePostJSONRequestBody) (*http.Request, error)

NewObjCreateObjCreatePostRequest calls the generic ObjCreateObjCreatePost builder with application/json body

func NewObjCreateObjCreatePostRequestWithBody

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

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

func NewObjDeleteObjDeletePostRequest

func NewObjDeleteObjDeletePostRequest(server string, body ObjDeleteObjDeletePostJSONRequestBody) (*http.Request, error)

NewObjDeleteObjDeletePostRequest calls the generic ObjDeleteObjDeletePost builder with application/json body

func NewObjDeleteObjDeletePostRequestWithBody

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

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

func NewObjReadObjReadPostRequest

func NewObjReadObjReadPostRequest(server string, body ObjReadObjReadPostJSONRequestBody) (*http.Request, error)

NewObjReadObjReadPostRequest calls the generic ObjReadObjReadPost builder with application/json body

func NewObjReadObjReadPostRequestWithBody

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

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

func NewObjRemoveAliasesObjsObjectIdAliasesRemovePostRequest added in v0.2.0

func NewObjRemoveAliasesObjsObjectIdAliasesRemovePostRequest(server string, objectId string, body ObjRemoveAliasesObjsObjectIdAliasesRemovePostJSONRequestBody) (*http.Request, error)

NewObjRemoveAliasesObjsObjectIdAliasesRemovePostRequest calls the generic ObjRemoveAliasesObjsObjectIdAliasesRemovePost builder with application/json body

func NewObjRemoveAliasesObjsObjectIdAliasesRemovePostRequestWithBody added in v0.2.0

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

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

func NewObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostRequest added in v0.2.0

func NewObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostRequest(server string, objectId string, digest string, body ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostJSONRequestBody) (*http.Request, error)

NewObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostRequest calls the generic ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePost builder with application/json body

func NewObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostRequestWithBody added in v0.2.0

func NewObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostRequestWithBody(server string, objectId string, digest string, contentType string, body io.Reader) (*http.Request, error)

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

func NewObjSetAliasesObjsObjectIdAliasesPutRequest added in v0.2.0

func NewObjSetAliasesObjsObjectIdAliasesPutRequest(server string, objectId string, body ObjSetAliasesObjsObjectIdAliasesPutJSONRequestBody) (*http.Request, error)

NewObjSetAliasesObjsObjectIdAliasesPutRequest calls the generic ObjSetAliasesObjsObjectIdAliasesPut builder with application/json body

func NewObjSetAliasesObjsObjectIdAliasesPutRequestWithBody added in v0.2.0

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

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

func NewObjsQueryObjsQueryPostRequest

func NewObjsQueryObjsQueryPostRequest(server string, body ObjsQueryObjsQueryPostJSONRequestBody) (*http.Request, error)

NewObjsQueryObjsQueryPostRequest calls the generic ObjsQueryObjsQueryPost builder with application/json body

func NewObjsQueryObjsQueryPostRequestWithBody

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

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

func NewOpCreateV2EntityProjectOpsPostRequest

func NewOpCreateV2EntityProjectOpsPostRequest(server string, entity string, project string, body OpCreateV2EntityProjectOpsPostJSONRequestBody) (*http.Request, error)

NewOpCreateV2EntityProjectOpsPostRequest calls the generic OpCreateV2EntityProjectOpsPost builder with application/json body

func NewOpCreateV2EntityProjectOpsPostRequestWithBody

func NewOpCreateV2EntityProjectOpsPostRequestWithBody(server string, entity string, project string, contentType string, body io.Reader) (*http.Request, error)

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

func NewOpDeleteV2EntityProjectOpsObjectIdDeleteRequest

func NewOpDeleteV2EntityProjectOpsObjectIdDeleteRequest(server string, entity string, project string, objectId string, params *OpDeleteV2EntityProjectOpsObjectIdDeleteParams) (*http.Request, error)

NewOpDeleteV2EntityProjectOpsObjectIdDeleteRequest constructs an http.Request for the OpDeleteV2EntityProjectOpsObjectIdDelete method

func NewOpListV2EntityProjectOpsGetRequest

func NewOpListV2EntityProjectOpsGetRequest(server string, entity string, project string, params *OpListV2EntityProjectOpsGetParams) (*http.Request, error)

NewOpListV2EntityProjectOpsGetRequest constructs an http.Request for the OpListV2EntityProjectOpsGet method

func NewOpReadV2EntityProjectOpsObjectIdVersionsDigestGetRequest

func NewOpReadV2EntityProjectOpsObjectIdVersionsDigestGetRequest(server string, entity string, project string, objectId string, digest string, params *OpReadV2EntityProjectOpsObjectIdVersionsDigestGetParams) (*http.Request, error)

NewOpReadV2EntityProjectOpsObjectIdVersionsDigestGetRequest constructs an http.Request for the OpReadV2EntityProjectOpsObjectIdVersionsDigestGet method

func NewPredictionCreateV2EntityProjectPredictionsPostRequest

func NewPredictionCreateV2EntityProjectPredictionsPostRequest(server string, entity string, project string, body PredictionCreateV2EntityProjectPredictionsPostJSONRequestBody) (*http.Request, error)

NewPredictionCreateV2EntityProjectPredictionsPostRequest calls the generic PredictionCreateV2EntityProjectPredictionsPost builder with application/json body

func NewPredictionCreateV2EntityProjectPredictionsPostRequestWithBody

func NewPredictionCreateV2EntityProjectPredictionsPostRequestWithBody(server string, entity string, project string, contentType string, body io.Reader) (*http.Request, error)

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

func NewPredictionDeleteV2EntityProjectPredictionsDeleteRequest

func NewPredictionDeleteV2EntityProjectPredictionsDeleteRequest(server string, entity string, project string, params *PredictionDeleteV2EntityProjectPredictionsDeleteParams) (*http.Request, error)

NewPredictionDeleteV2EntityProjectPredictionsDeleteRequest constructs an http.Request for the PredictionDeleteV2EntityProjectPredictionsDelete method

func NewPredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostRequest

func NewPredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostRequest(server string, entity string, project string, predictionId string) (*http.Request, error)

NewPredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostRequest constructs an http.Request for the PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPost method

func NewPredictionListV2EntityProjectPredictionsGetRequest

func NewPredictionListV2EntityProjectPredictionsGetRequest(server string, entity string, project string, params *PredictionListV2EntityProjectPredictionsGetParams) (*http.Request, error)

NewPredictionListV2EntityProjectPredictionsGetRequest constructs an http.Request for the PredictionListV2EntityProjectPredictionsGet method

func NewPredictionReadV2EntityProjectPredictionsPredictionIdGetRequest

func NewPredictionReadV2EntityProjectPredictionsPredictionIdGetRequest(server string, entity string, project string, predictionId string) (*http.Request, error)

NewPredictionReadV2EntityProjectPredictionsPredictionIdGetRequest constructs an http.Request for the PredictionReadV2EntityProjectPredictionsPredictionIdGet method

func NewProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostRequest added in v0.2.0

func NewProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostRequest(server string, body ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostJSONRequestBody) (*http.Request, error)

NewProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostRequest calls the generic ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPost builder with application/json body

func NewProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostRequestWithBody added in v0.2.0

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

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

func NewProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetRequest added in v0.2.0

func NewProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetRequest(server string, params *ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetParams) (*http.Request, error)

NewProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetRequest constructs an http.Request for the ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGet method

func NewProjectStatsProjectStatsPostRequest added in v0.2.0

func NewProjectStatsProjectStatsPostRequest(server string, body ProjectStatsProjectStatsPostJSONRequestBody) (*http.Request, error)

NewProjectStatsProjectStatsPostRequest calls the generic ProjectStatsProjectStatsPost builder with application/json body

func NewProjectStatsProjectStatsPostRequestWithBody added in v0.2.0

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

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

func NewProjectTtlSettingsReadProjectTtlSettingsReadPostRequest added in v0.2.0

func NewProjectTtlSettingsReadProjectTtlSettingsReadPostRequest(server string, body ProjectTtlSettingsReadProjectTtlSettingsReadPostJSONRequestBody) (*http.Request, error)

NewProjectTtlSettingsReadProjectTtlSettingsReadPostRequest calls the generic ProjectTtlSettingsReadProjectTtlSettingsReadPost builder with application/json body

func NewProjectTtlSettingsReadProjectTtlSettingsReadPostRequestWithBody added in v0.2.0

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

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

func NewProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostRequest added in v0.2.0

func NewProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostRequest(server string, body ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostJSONRequestBody) (*http.Request, error)

NewProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostRequest calls the generic ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePost builder with application/json body

func NewProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostRequestWithBody added in v0.2.0

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

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

func NewProjectsInfoServiceProjectsInfoPostRequest added in v0.2.0

func NewProjectsInfoServiceProjectsInfoPostRequest(server string, body ProjectsInfoServiceProjectsInfoPostJSONRequestBody) (*http.Request, error)

NewProjectsInfoServiceProjectsInfoPostRequest calls the generic ProjectsInfoServiceProjectsInfoPost builder with application/json body

func NewProjectsInfoServiceProjectsInfoPostRequestWithBody added in v0.2.0

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

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

func NewReadRootHealthGetRequest

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

NewReadRootHealthGetRequest constructs an http.Request for the ReadRootHealthGet method

func NewReadVersionVersionGetRequest

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

NewReadVersionVersionGetRequest constructs an http.Request for the ReadVersionVersionGet method

func NewRefsReadBatchRefsReadBatchPostRequest

func NewRefsReadBatchRefsReadBatchPostRequest(server string, body RefsReadBatchRefsReadBatchPostJSONRequestBody) (*http.Request, error)

NewRefsReadBatchRefsReadBatchPostRequest calls the generic RefsReadBatchRefsReadBatchPost builder with application/json body

func NewRefsReadBatchRefsReadBatchPostRequestWithBody

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

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

func NewRescoreEvaluationEvaluationsRescorePostRequest added in v0.2.0

func NewRescoreEvaluationEvaluationsRescorePostRequest(server string, body RescoreEvaluationEvaluationsRescorePostJSONRequestBody) (*http.Request, error)

NewRescoreEvaluationEvaluationsRescorePostRequest calls the generic RescoreEvaluationEvaluationsRescorePost builder with application/json body

func NewRescoreEvaluationEvaluationsRescorePostRequestWithBody added in v0.2.0

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

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

func NewScoreCreateV2EntityProjectScoresPostRequest

func NewScoreCreateV2EntityProjectScoresPostRequest(server string, entity string, project string, body ScoreCreateV2EntityProjectScoresPostJSONRequestBody) (*http.Request, error)

NewScoreCreateV2EntityProjectScoresPostRequest calls the generic ScoreCreateV2EntityProjectScoresPost builder with application/json body

func NewScoreCreateV2EntityProjectScoresPostRequestWithBody

func NewScoreCreateV2EntityProjectScoresPostRequestWithBody(server string, entity string, project string, contentType string, body io.Reader) (*http.Request, error)

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

func NewScoreDeleteV2EntityProjectScoresDeleteRequest

func NewScoreDeleteV2EntityProjectScoresDeleteRequest(server string, entity string, project string, params *ScoreDeleteV2EntityProjectScoresDeleteParams) (*http.Request, error)

NewScoreDeleteV2EntityProjectScoresDeleteRequest constructs an http.Request for the ScoreDeleteV2EntityProjectScoresDelete method

func NewScoreListV2EntityProjectScoresGetRequest

func NewScoreListV2EntityProjectScoresGetRequest(server string, entity string, project string, params *ScoreListV2EntityProjectScoresGetParams) (*http.Request, error)

NewScoreListV2EntityProjectScoresGetRequest constructs an http.Request for the ScoreListV2EntityProjectScoresGet method

func NewScoreReadV2EntityProjectScoresScoreIdGetRequest

func NewScoreReadV2EntityProjectScoresScoreIdGetRequest(server string, entity string, project string, scoreId string) (*http.Request, error)

NewScoreReadV2EntityProjectScoresScoreIdGetRequest constructs an http.Request for the ScoreReadV2EntityProjectScoresScoreIdGet method

func NewScorerCreateV2EntityProjectScorersPostRequest

func NewScorerCreateV2EntityProjectScorersPostRequest(server string, entity string, project string, body ScorerCreateV2EntityProjectScorersPostJSONRequestBody) (*http.Request, error)

NewScorerCreateV2EntityProjectScorersPostRequest calls the generic ScorerCreateV2EntityProjectScorersPost builder with application/json body

func NewScorerCreateV2EntityProjectScorersPostRequestWithBody

func NewScorerCreateV2EntityProjectScorersPostRequestWithBody(server string, entity string, project string, contentType string, body io.Reader) (*http.Request, error)

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

func NewScorerDeleteV2EntityProjectScorersObjectIdDeleteRequest

func NewScorerDeleteV2EntityProjectScorersObjectIdDeleteRequest(server string, entity string, project string, objectId string, params *ScorerDeleteV2EntityProjectScorersObjectIdDeleteParams) (*http.Request, error)

NewScorerDeleteV2EntityProjectScorersObjectIdDeleteRequest constructs an http.Request for the ScorerDeleteV2EntityProjectScorersObjectIdDelete method

func NewScorerListV2EntityProjectScorersGetRequest

func NewScorerListV2EntityProjectScorersGetRequest(server string, entity string, project string, params *ScorerListV2EntityProjectScorersGetParams) (*http.Request, error)

NewScorerListV2EntityProjectScorersGetRequest constructs an http.Request for the ScorerListV2EntityProjectScorersGet method

func NewScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetRequest

func NewScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetRequest(server string, entity string, project string, objectId string, digest string) (*http.Request, error)

NewScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetRequest constructs an http.Request for the ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGet method

func NewServerInfoServerInfoGetRequest

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

NewServerInfoServerInfoGetRequest constructs an http.Request for the ServerInfoServerInfoGet method

func NewSourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostRequest added in v0.2.0

func NewSourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostRequest(server string, body SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostJSONRequestBody) (*http.Request, error)

NewSourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostRequest calls the generic SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPost builder with application/json body

func NewSourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostRequestWithBody added in v0.2.0

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

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

func NewTableCreateFromDigestsTableCreateFromDigestsPostRequest

func NewTableCreateFromDigestsTableCreateFromDigestsPostRequest(server string, body TableCreateFromDigestsTableCreateFromDigestsPostJSONRequestBody) (*http.Request, error)

NewTableCreateFromDigestsTableCreateFromDigestsPostRequest calls the generic TableCreateFromDigestsTableCreateFromDigestsPost builder with application/json body

func NewTableCreateFromDigestsTableCreateFromDigestsPostRequestWithBody

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

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

func NewTableCreateTableCreatePostRequest

func NewTableCreateTableCreatePostRequest(server string, body TableCreateTableCreatePostJSONRequestBody) (*http.Request, error)

NewTableCreateTableCreatePostRequest calls the generic TableCreateTableCreatePost builder with application/json body

func NewTableCreateTableCreatePostRequestWithBody

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

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

func NewTableQueryStatsBatchTableQueryStatsBatchPostRequest

func NewTableQueryStatsBatchTableQueryStatsBatchPostRequest(server string, body TableQueryStatsBatchTableQueryStatsBatchPostJSONRequestBody) (*http.Request, error)

NewTableQueryStatsBatchTableQueryStatsBatchPostRequest calls the generic TableQueryStatsBatchTableQueryStatsBatchPost builder with application/json body

func NewTableQueryStatsBatchTableQueryStatsBatchPostRequestWithBody

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

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

func NewTableQueryStatsTableQueryStatsPostRequest

func NewTableQueryStatsTableQueryStatsPostRequest(server string, body TableQueryStatsTableQueryStatsPostJSONRequestBody) (*http.Request, error)

NewTableQueryStatsTableQueryStatsPostRequest calls the generic TableQueryStatsTableQueryStatsPost builder with application/json body

func NewTableQueryStatsTableQueryStatsPostRequestWithBody

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

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

func NewTableQueryTableQueryPostRequest

func NewTableQueryTableQueryPostRequest(server string, body TableQueryTableQueryPostJSONRequestBody) (*http.Request, error)

NewTableQueryTableQueryPostRequest calls the generic TableQueryTableQueryPost builder with application/json body

func NewTableQueryTableQueryPostRequestWithBody

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

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

func NewTableUpdateTableUpdatePostRequest

func NewTableUpdateTableUpdatePostRequest(server string, body TableUpdateTableUpdatePostJSONRequestBody) (*http.Request, error)

NewTableUpdateTableUpdatePostRequest calls the generic TableUpdateTableUpdatePost builder with application/json body

func NewTableUpdateTableUpdatePostRequestWithBody

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

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

func NewTagsListTagsGetRequest added in v0.2.0

func NewTagsListTagsGetRequest(server string, params *TagsListTagsGetParams) (*http.Request, error)

NewTagsListTagsGetRequest constructs an http.Request for the TagsListTagsGet method

func NewThreadsQueryStreamThreadsStreamQueryPostRequest

func NewThreadsQueryStreamThreadsStreamQueryPostRequest(server string, body ThreadsQueryStreamThreadsStreamQueryPostJSONRequestBody) (*http.Request, error)

NewThreadsQueryStreamThreadsStreamQueryPostRequest calls the generic ThreadsQueryStreamThreadsStreamQueryPost builder with application/json body

func NewThreadsQueryStreamThreadsStreamQueryPostRequestWithBody

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

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

func NewTraceUsageTraceUsagePostRequest

func NewTraceUsageTraceUsagePostRequest(server string, body TraceUsageTraceUsagePostJSONRequestBody) (*http.Request, error)

NewTraceUsageTraceUsagePostRequest calls the generic TraceUsageTraceUsagePost builder with application/json body

func NewTraceUsageTraceUsagePostRequestWithBody

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

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

Types

type AgentChatAgentHandoff added in v0.2.0

type AgentChatAgentHandoff = map[string]interface{}

AgentChatAgentHandoff Payload for a future agent-to-agent handoff event.

type AgentChatAgentStart added in v0.2.0

type AgentChatAgentStart struct {
	Model              *string                    `json:"model"`
	Status             *AgentChatAgentStartStatus `json:"status"`
	SystemInstructions *string                    `json:"system_instructions"`
	ToolDefinitions    *string                    `json:"tool_definitions"`
}

AgentChatAgentStart Payload for an agent lifecycle boundary.

type AgentChatAgentStartStatus added in v0.2.0

type AgentChatAgentStartStatus string

AgentChatAgentStartStatus defines model for AgentChatAgentStart.Status.

const (
	AgentChatAgentStartStatusERROR AgentChatAgentStartStatus = "ERROR"
	AgentChatAgentStartStatusOK    AgentChatAgentStartStatus = "OK"
	AgentChatAgentStartStatusUNSET AgentChatAgentStartStatus = "UNSET"
)

Defines values for AgentChatAgentStartStatus.

func (AgentChatAgentStartStatus) Valid added in v0.2.0

func (e AgentChatAgentStartStatus) Valid() bool

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

type AgentChatAssistantMessage added in v0.2.0

type AgentChatAssistantMessage struct {
	ContentRefs      []string                         `json:"content_refs"`
	DurationMs       *int                             `json:"duration_ms"`
	InputCostUsd     *float64                         `json:"input_cost_usd"`
	InputTokens      *int                             `json:"input_tokens"`
	Model            *string                          `json:"model"`
	OutputCostUsd    *float64                         `json:"output_cost_usd"`
	OutputTokens     *int                             `json:"output_tokens"`
	ReasoningContent *string                          `json:"reasoning_content"`
	ReasoningTokens  *int                             `json:"reasoning_tokens"`
	Status           *AgentChatAssistantMessageStatus `json:"status"`
	Text             string                           `json:"text"`
	TotalCostUsd     *float64                         `json:"total_cost_usd"`
}

AgentChatAssistantMessage Payload for assistant text emitted by an agent or LLM span.

type AgentChatAssistantMessageStatus added in v0.2.0

type AgentChatAssistantMessageStatus string

AgentChatAssistantMessageStatus defines model for AgentChatAssistantMessage.Status.

const (
	AgentChatAssistantMessageStatusERROR AgentChatAssistantMessageStatus = "ERROR"
	AgentChatAssistantMessageStatusOK    AgentChatAssistantMessageStatus = "OK"
	AgentChatAssistantMessageStatusUNSET AgentChatAssistantMessageStatus = "UNSET"
)

Defines values for AgentChatAssistantMessageStatus.

func (AgentChatAssistantMessageStatus) Valid added in v0.2.0

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

type AgentChatContextCompacted added in v0.2.0

type AgentChatContextCompacted struct {
	CompactionItemsAfter  *int    `json:"compaction_items_after"`
	CompactionItemsBefore *int    `json:"compaction_items_before"`
	CompactionSummary     *string `json:"compaction_summary"`
}

AgentChatContextCompacted Payload for a context-window compaction event.

type AgentChatFeedback added in v0.2.0

type AgentChatFeedback struct {
	AnnotationRef           *string                `json:"annotation_ref"`
	CallRef                 *string                `json:"call_ref"`
	CreatedAt               *time.Time             `json:"created_at"`
	Creator                 *string                `json:"creator"`
	FeedbackType            string                 `json:"feedback_type"`
	Id                      string                 `json:"id"`
	Payload                 map[string]interface{} `json:"payload"`
	RunnableRef             *string                `json:"runnable_ref"`
	ScorerRatingConfidences map[string]float64     `json:"scorer_rating_confidences"`
	ScorerRatingReasons     map[string]string      `json:"scorer_rating_reasons"`
	ScorerRatings           map[string]float64     `json:"scorer_ratings"`
	ScorerTagConfidences    map[string]float64     `json:"scorer_tag_confidences"`
	ScorerTagReasons        map[string]string      `json:"scorer_tag_reasons"`
	ScorerTags              []string               `json:"scorer_tags"`
	TriggerRef              *string                `json:"trigger_ref"`
	WbUserId                *string                `json:"wb_user_id"`
	WeaveRef                string                 `json:"weave_ref"`
}

AgentChatFeedback Feedback row from the agent chat `include_feedback` projection.

Field names match FEEDBACK_QUERY_FIELDS. This is not the feedback table row and not FeedbackCreateReq: project_id and span_* are not selected.

type AgentChatMessage added in v0.2.0

type AgentChatMessage struct {
	AgentHandoff     *AgentChatAgentHandoff      `json:"agent_handoff"`
	AgentName        *string                     `json:"agent_name"`
	AgentStart       *AgentChatAgentStart        `json:"agent_start"`
	AgentVersion     *string                     `json:"agent_version"`
	AssistantMessage *AgentChatAssistantMessage  `json:"assistant_message"`
	ContextCompacted *AgentChatContextCompacted  `json:"context_compacted"`
	ErrorType        *string                     `json:"error_type"`
	Feedback         *[]AgentChatFeedback        `json:"feedback"`
	SpanId           *string                     `json:"span_id"`
	StartedAt        *time.Time                  `json:"started_at"`
	StatusCode       *AgentChatMessageStatusCode `json:"status_code"`
	StatusMessage    *string                     `json:"status_message"`
	ToolCall         *AgentChatToolCall          `json:"tool_call"`
	Type             AgentChatMessageType        `json:"type"`
	UserMessage      *AgentChatUserMessage       `json:"user_message"`
}

AgentChatMessage A single element in the structured agent trajectory / chat view.

Common event fields live at the top level. Type-specific fields are grouped under the payload matching `type`, and exactly one payload must be set. This keeps subtype nullability explicit while preserving a single ordered timeline model for callers.

type AgentChatMessageStatusCode added in v0.2.0

type AgentChatMessageStatusCode string

AgentChatMessageStatusCode defines model for AgentChatMessage.StatusCode.

const (
	AgentChatMessageStatusCodeERROR AgentChatMessageStatusCode = "ERROR"
	AgentChatMessageStatusCodeOK    AgentChatMessageStatusCode = "OK"
	AgentChatMessageStatusCodeUNSET AgentChatMessageStatusCode = "UNSET"
)

Defines values for AgentChatMessageStatusCode.

func (AgentChatMessageStatusCode) Valid added in v0.2.0

func (e AgentChatMessageStatusCode) Valid() bool

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

type AgentChatMessageType added in v0.2.0

type AgentChatMessageType string

AgentChatMessageType defines model for AgentChatMessage.Type.

const (
	AgentChatMessageTypeAgentHandoff     AgentChatMessageType = "agent_handoff"
	AgentChatMessageTypeAgentStart       AgentChatMessageType = "agent_start"
	AgentChatMessageTypeAssistantMessage AgentChatMessageType = "assistant_message"
	AgentChatMessageTypeContextCompacted AgentChatMessageType = "context_compacted"
	AgentChatMessageTypeToolCall         AgentChatMessageType = "tool_call"
	AgentChatMessageTypeUserMessage      AgentChatMessageType = "user_message"
)

Defines values for AgentChatMessageType.

func (AgentChatMessageType) Valid added in v0.2.0

func (e AgentChatMessageType) Valid() bool

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

type AgentChatToolCall added in v0.2.0

type AgentChatToolCall struct {
	ContentRefs   []string                 `json:"content_refs"`
	DurationMs    *int                     `json:"duration_ms"`
	Status        *AgentChatToolCallStatus `json:"status"`
	ToolArguments *string                  `json:"tool_arguments"`
	ToolName      *string                  `json:"tool_name"`
	ToolResult    *string                  `json:"tool_result"`
}

AgentChatToolCall Payload for a tool call timeline event.

type AgentChatToolCallStatus added in v0.2.0

type AgentChatToolCallStatus string

AgentChatToolCallStatus defines model for AgentChatToolCall.Status.

const (
	AgentChatToolCallStatusERROR AgentChatToolCallStatus = "ERROR"
	AgentChatToolCallStatusOK    AgentChatToolCallStatus = "OK"
	AgentChatToolCallStatusUNSET AgentChatToolCallStatus = "UNSET"
)

Defines values for AgentChatToolCallStatus.

func (AgentChatToolCallStatus) Valid added in v0.2.0

func (e AgentChatToolCallStatus) Valid() bool

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

type AgentChatUserMessage added in v0.2.0

type AgentChatUserMessage struct {
	ContentRefs []string `json:"content_refs"`
	Text        string   `json:"text"`
}

AgentChatUserMessage Payload for a user prompt in the chat timeline.

type AgentConversationChatReq added in v0.2.0

type AgentConversationChatReq struct {
	ConversationId  string `json:"conversation_id"`
	IncludeFeedback *bool  `json:"include_feedback,omitempty"`

	// IncludeModelToolCalls Include tool calls requested in model outputs, even when no execution span was recorded, and place each execution span after the model span that requested it. Requests without execution evidence have no status, duration, or result. Defaults to false.
	IncludeModelToolCalls *bool `json:"include_model_tool_calls,omitempty"`

	// Limit Maximum number of conversation turns to return.
	Limit *int `json:"limit,omitempty"`

	// Offset Number of turns to skip in the requested sort order. When `sort_by` is omitted, results are returned in chronological order within the selected page.
	Offset    *int   `json:"offset,omitempty"`
	ProjectId string `json:"project_id"`

	// SortBy Controls how turns are sorted and paginated. Only `started_at` is supported. When omitted, the endpoint selects the most recent `limit` turns and returns them in ascending `started_at` order.
	SortBy *[]AgentSortBy `json:"sort_by,omitempty"`
}

AgentConversationChatReq Request to get the multi-turn chat view for a conversation.

type AgentConversationChatRes added in v0.2.0

type AgentConversationChatRes struct {
	ConversationId string               `json:"conversation_id"`
	Feedback       *[]AgentChatFeedback `json:"feedback"`
	HasMore        bool                 `json:"has_more"`
	Limit          int                  `json:"limit"`
	Offset         int                  `json:"offset"`
	TotalCostUsd   *float64             `json:"total_cost_usd"`
	TotalTurns     int                  `json:"total_turns"`
	Turns          []AgentTraceChatRes  `json:"turns"`
}

AgentConversationChatRes Multi-turn chat view: an ordered list of per-turn chat responses.

Each entry in `turns` corresponds to one trace_id, which Weave treats as one conversation turn. This is not necessarily one `invoke_agent` span: a turn can contain zero, one, or many agent invocations. The frontend can render turn-number dividers between entries and still reuse `AgentTraceChatRes` rendering for each individual turn.

type AgentConversationMessagePreview added in v0.2.0

type AgentConversationMessagePreview struct {
	Role AgentConversationMessagePreviewRole `json:"role"`
	Text string                              `json:"text"`
}

AgentConversationMessagePreview A truncated first/last message snippet for a grouped conversation row.

`role` is the chat-timeline message type (e.g. "user_message", "assistant_message") so clients can style it consistently with the full chat view; `text` is the trimmed, length-capped preview content.

type AgentConversationMessagePreviewRole added in v0.2.0

type AgentConversationMessagePreviewRole string

AgentConversationMessagePreviewRole defines model for AgentConversationMessagePreview.Role.

const (
	AgentConversationMessagePreviewRoleAssistantMessage AgentConversationMessagePreviewRole = "assistant_message"
	AgentConversationMessagePreviewRoleUserMessage      AgentConversationMessagePreviewRole = "user_message"
)

Defines values for AgentConversationMessagePreviewRole.

func (AgentConversationMessagePreviewRole) Valid added in v0.2.0

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

type AgentConversationSpan added in v0.2.0

type AgentConversationSpan struct {
	DurationMs    int                         `json:"duration_ms"`
	OperationName string                      `json:"operation_name"`
	SpanId        string                      `json:"span_id"`
	Status        AgentConversationSpanStatus `json:"status"`
	TraceId       string                      `json:"trace_id"`
}

AgentConversationSpan One span in a conversation's trace.

Returned by `agent_conversation_spans`, which reads span scalar columns only (no message bodies). Spans are ordered by `started_at`, which approximates — but does not exactly match — the detail chat view's parent/child tree-walk order. `operation_name` is the raw OTel value; the client maps it to a display category.

type AgentConversationSpanFeedback added in v0.2.0

type AgentConversationSpanFeedback struct {
	FeedbackType AgentConversationSpanFeedbackFeedbackType `json:"feedback_type"`

	// Ratings Numeric scorer ratings applied to this feedback.
	Ratings []AgentConversationSpanRating `json:"ratings"`

	// Tags Arbitrary descriptive tags applied to this feedback.
	//
	// Examples: ["👍","needs-review"]
	Tags []string `json:"tags"`

	// TraceId The turn this feedback is anchored to; None for conversation-level.
	TraceId *string `json:"trace_id"`
}

AgentConversationSpanFeedback Tags and ratings applied to a conversation's turn (or the conversation).

Positioned client-side by matching `trace_id` (turn) against the spans; `trace_id` is None for conversation-level feedback.

type AgentConversationSpanFeedbackFeedbackType added in v0.2.0

type AgentConversationSpanFeedbackFeedbackType string

AgentConversationSpanFeedbackFeedbackType defines model for AgentConversationSpanFeedback.FeedbackType.

const (
	AgentConversationSpanFeedbackFeedbackTypeWandbAgentMonitor      AgentConversationSpanFeedbackFeedbackType = "wandb.agent_monitor"
	AgentConversationSpanFeedbackFeedbackTypeWandbAgentUserFeedback AgentConversationSpanFeedbackFeedbackType = "wandb.agent_user_feedback"
)

Defines values for AgentConversationSpanFeedbackFeedbackType.

func (AgentConversationSpanFeedbackFeedbackType) Valid added in v0.2.0

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

type AgentConversationSpanRating added in v0.2.0

type AgentConversationSpanRating struct {
	Confidence *float64 `json:"confidence"`
	Name       string   `json:"name"`
	Reason     *string  `json:"reason"`
	Value      float64  `json:"value"`
}

AgentConversationSpanRating One numeric rating (a scorer score) applied to a turn or conversation.

type AgentConversationSpanStatus added in v0.2.0

type AgentConversationSpanStatus string

AgentConversationSpanStatus defines model for AgentConversationSpan.Status.

const (
	AgentConversationSpanStatusERROR AgentConversationSpanStatus = "ERROR"
	AgentConversationSpanStatusOK    AgentConversationSpanStatus = "OK"
	AgentConversationSpanStatusUNSET AgentConversationSpanStatus = "UNSET"
)

Defines values for AgentConversationSpanStatus.

func (AgentConversationSpanStatus) Valid added in v0.2.0

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

type AgentConversationSpans added in v0.2.0

type AgentConversationSpans struct {
	ConversationId string                          `json:"conversation_id"`
	Spans          []AgentConversationSpan         `json:"spans"`
	SpansFeedback  []AgentConversationSpanFeedback `json:"spans_feedback"`
}

AgentConversationSpans One conversation's span sequence and its feedback markers.

type AgentConversationSpansReq added in v0.2.0

type AgentConversationSpansReq struct {
	ConversationIds *[]string  `json:"conversation_ids,omitempty"`
	ProjectId       string     `json:"project_id"`
	StartedAfter    *time.Time `json:"started_after,omitempty"`
	StartedBefore   *time.Time `json:"started_before,omitempty"`
}

AgentConversationSpansReq Request the span sequences for an explicit set of conversations.

Reads span scalar columns only (no message bodies) for the given `conversation_ids`. Powers the conversations-list spans minimap.

type AgentConversationSpansRes added in v0.2.0

type AgentConversationSpansRes struct {
	Conversations []AgentConversationSpans `json:"conversations"`
}

AgentConversationSpansRes Span sequences + feedback markers, one entry per requested conversation.

type AgentConversationTagFilter added in v0.3.3

type AgentConversationTagFilter struct {
	// Exclude Drop conversations with a live assignment of any listed tag.
	Exclude *bool `json:"exclude,omitempty"`

	// TagIds Include conversations with a live assignment of any listed tag.
	TagIds []openapi_types.UUID `json:"tag_ids"`
}

AgentConversationTagFilter Filter conversations by live tag assignments.

type AgentCustomAttrSchemaItem added in v0.2.0

type AgentCustomAttrSchemaItem struct {
	Key       string                             `json:"key"`
	Source    AgentCustomAttrSchemaItemSource    `json:"source"`
	SpanCount int                                `json:"span_count"`
	ValueType AgentCustomAttrSchemaItemValueType `json:"value_type"`
}

AgentCustomAttrSchemaItem One custom attribute key/type observed in the matching spans.

type AgentCustomAttrSchemaItemSource added in v0.2.0

type AgentCustomAttrSchemaItemSource string

AgentCustomAttrSchemaItemSource defines model for AgentCustomAttrSchemaItem.Source.

const (
	AgentCustomAttrSchemaItemSourceCustomAttrsBool   AgentCustomAttrSchemaItemSource = "custom_attrs_bool"
	AgentCustomAttrSchemaItemSourceCustomAttrsFloat  AgentCustomAttrSchemaItemSource = "custom_attrs_float"
	AgentCustomAttrSchemaItemSourceCustomAttrsInt    AgentCustomAttrSchemaItemSource = "custom_attrs_int"
	AgentCustomAttrSchemaItemSourceCustomAttrsString AgentCustomAttrSchemaItemSource = "custom_attrs_string"
)

Defines values for AgentCustomAttrSchemaItemSource.

func (AgentCustomAttrSchemaItemSource) Valid added in v0.2.0

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

type AgentCustomAttrSchemaItemValueType added in v0.2.0

type AgentCustomAttrSchemaItemValueType string

AgentCustomAttrSchemaItemValueType defines model for AgentCustomAttrSchemaItem.ValueType.

const (
	AgentCustomAttrSchemaItemValueTypeBool   AgentCustomAttrSchemaItemValueType = "bool"
	AgentCustomAttrSchemaItemValueTypeFloat  AgentCustomAttrSchemaItemValueType = "float"
	AgentCustomAttrSchemaItemValueTypeInt    AgentCustomAttrSchemaItemValueType = "int"
	AgentCustomAttrSchemaItemValueTypeString AgentCustomAttrSchemaItemValueType = "string"
)

Defines values for AgentCustomAttrSchemaItemValueType.

func (AgentCustomAttrSchemaItemValueType) Valid added in v0.2.0

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

type AgentCustomAttrsSchemaReq added in v0.2.0

type AgentCustomAttrsSchemaReq struct {
	Limit         *int       `json:"limit,omitempty"`
	Offset        *int       `json:"offset,omitempty"`
	ProjectId     string     `json:"project_id"`
	Query         *Query     `json:"query,omitempty"`
	StartedAfter  *time.Time `json:"started_after,omitempty"`
	StartedBefore *time.Time `json:"started_before,omitempty"`
}

AgentCustomAttrsSchemaReq Request to discover typed custom attribute keys for matching spans.

type AgentCustomAttrsSchemaRes added in v0.2.0

type AgentCustomAttrsSchemaRes struct {
	Attributes []AgentCustomAttrSchemaItem `json:"attributes"`
	HasMore    bool                        `json:"has_more"`
	Limit      int                         `json:"limit"`
	Offset     int                         `json:"offset"`
}

AgentCustomAttrsSchemaRes Typed custom attribute keys available for spans query/group/stats APIs.

type AgentGroupByRef added in v0.2.0

type AgentGroupByRef struct {
	Alias  *string                `json:"alias,omitempty"`
	Key    string                 `json:"key"`
	Source *AgentGroupByRefSource `json:"source,omitempty"`
}

AgentGroupByRef Reference to a field or map-key that spans should be grouped by.

`source="field"` targets a semantic span field (`agent.name`) or direct span column (`agent_name`), allowlisted server-side. `source="column"` is accepted for existing callers. The other sources target keys inside the typed custom attribute Map columns, which accept arbitrary user-defined keys.

type AgentGroupByRefSource added in v0.2.0

type AgentGroupByRefSource string

AgentGroupByRefSource defines model for AgentGroupByRef.Source.

const (
	AgentGroupByRefSourceColumn            AgentGroupByRefSource = "column"
	AgentGroupByRefSourceCustomAttrsBool   AgentGroupByRefSource = "custom_attrs_bool"
	AgentGroupByRefSourceCustomAttrsFloat  AgentGroupByRefSource = "custom_attrs_float"
	AgentGroupByRefSourceCustomAttrsInt    AgentGroupByRefSource = "custom_attrs_int"
	AgentGroupByRefSourceCustomAttrsString AgentGroupByRefSource = "custom_attrs_string"
	AgentGroupByRefSourceField             AgentGroupByRefSource = "field"
)

Defines values for AgentGroupByRefSource.

func (AgentGroupByRefSource) Valid added in v0.2.0

func (e AgentGroupByRefSource) Valid() bool

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

type AgentInsightFilter added in v0.2.0

type AgentInsightFilter struct {
	// Exclude Exclude conversations matching any value in this filter.
	Exclude *bool                   `json:"exclude,omitempty"`
	Field   AgentInsightFilterField `json:"field"`

	// Values Values to match. intent_sentiment accepts only frustrated, dissatisfied, neutral, satisfied, delighted; failure_severity accepts only info, major, or minor.
	Values []string `json:"values"`
}

AgentInsightFilter Conversation filter backed by extracted Insights data in ClickHouse.

Values within one filter are ORed, while multiple filters are ANDed. Topic filters use stable topic IDs that span successful clustering runs.

type AgentInsightFilterField added in v0.2.0

type AgentInsightFilterField string

AgentInsightFilterField defines model for AgentInsightFilter.Field.

const (
	AgentInsightFilterFieldFailureCategory AgentInsightFilterField = "failure_category"
	AgentInsightFilterFieldFailureSeverity AgentInsightFilterField = "failure_severity"
	AgentInsightFilterFieldFailureTopicId  AgentInsightFilterField = "failure_topic_id"
	AgentInsightFilterFieldIntentCategory  AgentInsightFilterField = "intent_category"
	AgentInsightFilterFieldIntentSentiment AgentInsightFilterField = "intent_sentiment"
	AgentInsightFilterFieldIntentTopicId   AgentInsightFilterField = "intent_topic_id"
)

Defines values for AgentInsightFilterField.

func (AgentInsightFilterField) Valid added in v0.2.0

func (e AgentInsightFilterField) Valid() bool

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

type AgentSchema added in v0.2.0

type AgentSchema struct {
	AgentName         string     `json:"agent_name"`
	ErrorCount        int        `json:"error_count"`
	FirstSeen         *time.Time `json:"first_seen"`
	InvocationCount   int        `json:"invocation_count"`
	LastSeen          *time.Time `json:"last_seen"`
	ProjectId         string     `json:"project_id"`
	SpanCount         int        `json:"span_count"`
	TotalCostUsd      *float64   `json:"total_cost_usd"`
	TotalDurationMs   int        `json:"total_duration_ms"`
	TotalInputTokens  int        `json:"total_input_tokens"`
	TotalOutputTokens int        `json:"total_output_tokens"`
}

AgentSchema Aggregated per-agent stats from the agents table.

type AgentSearchConversationResult added in v0.2.0

type AgentSearchConversationResult struct {
	AgentName        string                      `json:"agent_name"`
	ConversationId   string                      `json:"conversation_id"`
	ConversationName string                      `json:"conversation_name"`
	LastActivity     time.Time                   `json:"last_activity"`
	MatchedMessages  []AgentSearchMatchedMessage `json:"matched_messages"`
}

AgentSearchConversationResult A conversation containing messages that matched the search query.

type AgentSearchMatchedMessage added in v0.2.0

type AgentSearchMatchedMessage struct {
	ContentDigest  string                         `json:"content_digest"`
	ContentPreview string                         `json:"content_preview"`
	Role           AgentSearchMatchedMessage_Role `json:"role"`
	SpanId         string                         `json:"span_id"`
	StartedAt      time.Time                      `json:"started_at"`
	TraceId        string                         `json:"trace_id"`
}

AgentSearchMatchedMessage A single message that matched the search query.

type AgentSearchMatchedMessageRole0 added in v0.2.0

type AgentSearchMatchedMessageRole0 string

AgentSearchMatchedMessageRole0 defines model for AgentSearchMatchedMessage.Role.0.

const (
	AgentSearchMatchedMessageRole0Assistant  AgentSearchMatchedMessageRole0 = "assistant"
	AgentSearchMatchedMessageRole0Empty      AgentSearchMatchedMessageRole0 = ""
	AgentSearchMatchedMessageRole0System     AgentSearchMatchedMessageRole0 = "system"
	AgentSearchMatchedMessageRole0Tool       AgentSearchMatchedMessageRole0 = "tool"
	AgentSearchMatchedMessageRole0ToolCall   AgentSearchMatchedMessageRole0 = "tool_call"
	AgentSearchMatchedMessageRole0ToolResult AgentSearchMatchedMessageRole0 = "tool_result"
	AgentSearchMatchedMessageRole0User       AgentSearchMatchedMessageRole0 = "user"
)

Defines values for AgentSearchMatchedMessageRole0.

func (AgentSearchMatchedMessageRole0) Valid added in v0.2.0

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

type AgentSearchMatchedMessageRole1 added in v0.2.0

type AgentSearchMatchedMessageRole1 = string

AgentSearchMatchedMessageRole1 defines model for AgentSearchMatchedMessage.Role.1.

type AgentSearchMatchedMessage_Role added in v0.2.0

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

AgentSearchMatchedMessage_Role defines model for AgentSearchMatchedMessage.Role.

func (AgentSearchMatchedMessage_Role) AsAgentSearchMatchedMessageRole0 added in v0.2.0

func (t AgentSearchMatchedMessage_Role) AsAgentSearchMatchedMessageRole0() (AgentSearchMatchedMessageRole0, error)

AsAgentSearchMatchedMessageRole0 returns the union data inside the AgentSearchMatchedMessage_Role as a AgentSearchMatchedMessageRole0

func (AgentSearchMatchedMessage_Role) AsAgentSearchMatchedMessageRole1 added in v0.2.0

func (t AgentSearchMatchedMessage_Role) AsAgentSearchMatchedMessageRole1() (AgentSearchMatchedMessageRole1, error)

AsAgentSearchMatchedMessageRole1 returns the union data inside the AgentSearchMatchedMessage_Role as a AgentSearchMatchedMessageRole1

func (*AgentSearchMatchedMessage_Role) FromAgentSearchMatchedMessageRole0 added in v0.2.0

func (t *AgentSearchMatchedMessage_Role) FromAgentSearchMatchedMessageRole0(v AgentSearchMatchedMessageRole0) error

FromAgentSearchMatchedMessageRole0 overwrites any union data inside the AgentSearchMatchedMessage_Role as the provided AgentSearchMatchedMessageRole0

func (*AgentSearchMatchedMessage_Role) FromAgentSearchMatchedMessageRole1 added in v0.2.0

func (t *AgentSearchMatchedMessage_Role) FromAgentSearchMatchedMessageRole1(v AgentSearchMatchedMessageRole1) error

FromAgentSearchMatchedMessageRole1 overwrites any union data inside the AgentSearchMatchedMessage_Role as the provided AgentSearchMatchedMessageRole1

func (AgentSearchMatchedMessage_Role) MarshalJSON added in v0.2.0

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

func (*AgentSearchMatchedMessage_Role) MergeAgentSearchMatchedMessageRole0 added in v0.2.0

func (t *AgentSearchMatchedMessage_Role) MergeAgentSearchMatchedMessageRole0(v AgentSearchMatchedMessageRole0) error

MergeAgentSearchMatchedMessageRole0 performs a merge with any union data inside the AgentSearchMatchedMessage_Role, using the provided AgentSearchMatchedMessageRole0

func (*AgentSearchMatchedMessage_Role) MergeAgentSearchMatchedMessageRole1 added in v0.2.0

func (t *AgentSearchMatchedMessage_Role) MergeAgentSearchMatchedMessageRole1(v AgentSearchMatchedMessageRole1) error

MergeAgentSearchMatchedMessageRole1 performs a merge with any union data inside the AgentSearchMatchedMessage_Role, using the provided AgentSearchMatchedMessageRole1

func (*AgentSearchMatchedMessage_Role) UnmarshalJSON added in v0.2.0

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

type AgentSearchReq added in v0.2.0

type AgentSearchReq struct {
	AgentName       *string                `json:"agent_name,omitempty"`
	ConversationId  *string                `json:"conversation_id,omitempty"`
	Limit           *int                   `json:"limit,omitempty"`
	Offset          *int                   `json:"offset,omitempty"`
	ProjectId       string                 `json:"project_id"`
	ProviderName    *string                `json:"provider_name,omitempty"`
	Query           *string                `json:"query,omitempty"`
	RequestModel    *string                `json:"request_model,omitempty"`
	Roles           *[]AgentSearchReqRoles `json:"roles,omitempty"`
	StartedAfter    *time.Time             `json:"started_after,omitempty"`
	StartedBefore   *time.Time             `json:"started_before,omitempty"`
	TraceId         *string                `json:"trace_id,omitempty"`
	TruncateContent *bool                  `json:"truncate_content,omitempty"`
}

AgentSearchReq Query the `messages` table by content and/or span-level filters.

Scans the `messages` table (one row per message occurrence, populated by an MV from spans) and returns matching span-level hits. Full-text search sets `query`; structured retrieval (e.g. all messages in a trace) leaves `query` empty and uses the filters below. The caller groups by conversation for the response shape.

type AgentSearchReqRoles added in v0.2.0

type AgentSearchReqRoles string

AgentSearchReqRoles defines model for AgentSearchReq.Roles.

const (
	AgentSearchReqRolesAssistant  AgentSearchReqRoles = "assistant"
	AgentSearchReqRolesEmpty      AgentSearchReqRoles = ""
	AgentSearchReqRolesSystem     AgentSearchReqRoles = "system"
	AgentSearchReqRolesTool       AgentSearchReqRoles = "tool"
	AgentSearchReqRolesToolCall   AgentSearchReqRoles = "tool_call"
	AgentSearchReqRolesToolResult AgentSearchReqRoles = "tool_result"
	AgentSearchReqRolesUser       AgentSearchReqRoles = "user"
)

Defines values for AgentSearchReqRoles.

func (AgentSearchReqRoles) Valid added in v0.2.0

func (e AgentSearchReqRoles) Valid() bool

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

type AgentSearchRes added in v0.2.0

type AgentSearchRes struct {
	Results            []AgentSearchConversationResult `json:"results"`
	TotalConversations int                             `json:"total_conversations"`
}

AgentSearchRes Response from a full-text search across agent messages.

type AgentSignalFilter added in v0.2.0

type AgentSignalFilter struct {
	Ratings *[]RatingCondition `json:"ratings,omitempty"`
	Tags    *[]string          `json:"tags,omitempty"`
}

AgentSignalFilter defines model for AgentSignalFilter.

type AgentSortBy added in v0.2.0

type AgentSortBy struct {
	Direction *AgentSortByDirection `json:"direction,omitempty"`
	Field     string                `json:"field"`
}

AgentSortBy Sort specification for agent query endpoints.

type AgentSortByDirection added in v0.2.0

type AgentSortByDirection string

AgentSortByDirection defines model for AgentSortBy.Direction.

const (
	AgentSortByDirectionAsc  AgentSortByDirection = "asc"
	AgentSortByDirectionDesc AgentSortByDirection = "desc"
)

Defines values for AgentSortByDirection.

func (AgentSortByDirection) Valid added in v0.2.0

func (e AgentSortByDirection) Valid() bool

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

type AgentSpanGroupDistributionBin added in v0.2.0

type AgentSpanGroupDistributionBin struct {
	Count int     `json:"count"`
	Index int     `json:"index"`
	Max   float64 `json:"max"`
	Min   float64 `json:"min"`
}

AgentSpanGroupDistributionBin One numeric histogram bin for a custom attribute in a span group.

type AgentSpanGroupDistributionItem added in v0.2.0

type AgentSpanGroupDistributionItem struct {
	Alias        string                                  `json:"alias"`
	Bins         []AgentSpanGroupDistributionBin         `json:"bins"`
	Key          string                                  `json:"key"`
	MissingCount int                                     `json:"missing_count"`
	OtherCount   int                                     `json:"other_count"`
	PresentCount int                                     `json:"present_count"`
	Source       AgentSpanGroupDistributionItemSource    `json:"source"`
	TotalCount   int                                     `json:"total_count"`
	ValueType    AgentSpanGroupDistributionItemValueType `json:"value_type"`
	Values       []AgentSpanGroupDistributionValue       `json:"values"`
}

AgentSpanGroupDistributionItem Distribution data for one span-group/custom-attribute pair.

type AgentSpanGroupDistributionItemSource added in v0.2.0

type AgentSpanGroupDistributionItemSource string

AgentSpanGroupDistributionItemSource defines model for AgentSpanGroupDistributionItem.Source.

const (
	AgentSpanGroupDistributionItemSourceCustomAttrsBool   AgentSpanGroupDistributionItemSource = "custom_attrs_bool"
	AgentSpanGroupDistributionItemSourceCustomAttrsFloat  AgentSpanGroupDistributionItemSource = "custom_attrs_float"
	AgentSpanGroupDistributionItemSourceCustomAttrsInt    AgentSpanGroupDistributionItemSource = "custom_attrs_int"
	AgentSpanGroupDistributionItemSourceCustomAttrsString AgentSpanGroupDistributionItemSource = "custom_attrs_string"
)

Defines values for AgentSpanGroupDistributionItemSource.

func (AgentSpanGroupDistributionItemSource) Valid added in v0.2.0

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

type AgentSpanGroupDistributionItemValueType added in v0.2.0

type AgentSpanGroupDistributionItemValueType string

AgentSpanGroupDistributionItemValueType defines model for AgentSpanGroupDistributionItem.ValueType.

const (
	AgentSpanGroupDistributionItemValueTypeBool   AgentSpanGroupDistributionItemValueType = "bool"
	AgentSpanGroupDistributionItemValueTypeFloat  AgentSpanGroupDistributionItemValueType = "float"
	AgentSpanGroupDistributionItemValueTypeInt    AgentSpanGroupDistributionItemValueType = "int"
	AgentSpanGroupDistributionItemValueTypeString AgentSpanGroupDistributionItemValueType = "string"
)

Defines values for AgentSpanGroupDistributionItemValueType.

func (AgentSpanGroupDistributionItemValueType) Valid added in v0.2.0

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

type AgentSpanGroupDistributionSpec added in v0.2.0

type AgentSpanGroupDistributionSpec struct {
	Alias string `json:"alias"`
	Bins  *int   `json:"bins,omitempty"`
	TopN  *int   `json:"top_n,omitempty"`

	// Value Reference to a span field or typed custom attribute map value.
	Value AgentSpanValueRef `json:"value"`
}

AgentSpanGroupDistributionSpec One custom attribute distribution to compute per returned span group.

type AgentSpanGroupDistributionValue added in v0.2.0

type AgentSpanGroupDistributionValue struct {
	Count int    `json:"count"`
	Value string `json:"value"`
}

AgentSpanGroupDistributionValue One categorical custom attribute value count in a span group.

type AgentSpanGroupFilter added in v0.2.0

type AgentSpanGroupFilter struct {
	GroupBy *[]AgentGroupByRef        `json:"group_by,omitempty"`
	Max     *AgentSpanGroupFilter_Max `json:"max,omitempty"`

	// Measure One aggregate measure computed over spans in a group or bucket.
	Measure AgentSpanMeasureSpec      `json:"measure"`
	Min     *AgentSpanGroupFilter_Min `json:"min,omitempty"`
}

AgentSpanGroupFilter Range filter over one grouped span measure.

type AgentSpanGroupFilterMax0 added in v0.2.0

type AgentSpanGroupFilterMax0 = float64

AgentSpanGroupFilterMax0 defines model for AgentSpanGroupFilter.Max.0.

type AgentSpanGroupFilterMax1 added in v0.2.0

type AgentSpanGroupFilterMax1 = time.Time

AgentSpanGroupFilterMax1 defines model for AgentSpanGroupFilter.Max.1.

type AgentSpanGroupFilterMin0 added in v0.2.0

type AgentSpanGroupFilterMin0 = float64

AgentSpanGroupFilterMin0 defines model for AgentSpanGroupFilter.Min.0.

type AgentSpanGroupFilterMin1 added in v0.2.0

type AgentSpanGroupFilterMin1 = time.Time

AgentSpanGroupFilterMin1 defines model for AgentSpanGroupFilter.Min.1.

type AgentSpanGroupFilter_Max added in v0.2.0

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

AgentSpanGroupFilter_Max defines model for AgentSpanGroupFilter.Max.

func (AgentSpanGroupFilter_Max) AsAgentSpanGroupFilterMax0 added in v0.2.0

func (t AgentSpanGroupFilter_Max) AsAgentSpanGroupFilterMax0() (AgentSpanGroupFilterMax0, error)

AsAgentSpanGroupFilterMax0 returns the union data inside the AgentSpanGroupFilter_Max as a AgentSpanGroupFilterMax0

func (AgentSpanGroupFilter_Max) AsAgentSpanGroupFilterMax1 added in v0.2.0

func (t AgentSpanGroupFilter_Max) AsAgentSpanGroupFilterMax1() (AgentSpanGroupFilterMax1, error)

AsAgentSpanGroupFilterMax1 returns the union data inside the AgentSpanGroupFilter_Max as a AgentSpanGroupFilterMax1

func (*AgentSpanGroupFilter_Max) FromAgentSpanGroupFilterMax0 added in v0.2.0

func (t *AgentSpanGroupFilter_Max) FromAgentSpanGroupFilterMax0(v AgentSpanGroupFilterMax0) error

FromAgentSpanGroupFilterMax0 overwrites any union data inside the AgentSpanGroupFilter_Max as the provided AgentSpanGroupFilterMax0

func (*AgentSpanGroupFilter_Max) FromAgentSpanGroupFilterMax1 added in v0.2.0

func (t *AgentSpanGroupFilter_Max) FromAgentSpanGroupFilterMax1(v AgentSpanGroupFilterMax1) error

FromAgentSpanGroupFilterMax1 overwrites any union data inside the AgentSpanGroupFilter_Max as the provided AgentSpanGroupFilterMax1

func (AgentSpanGroupFilter_Max) MarshalJSON added in v0.2.0

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

func (*AgentSpanGroupFilter_Max) MergeAgentSpanGroupFilterMax0 added in v0.2.0

func (t *AgentSpanGroupFilter_Max) MergeAgentSpanGroupFilterMax0(v AgentSpanGroupFilterMax0) error

MergeAgentSpanGroupFilterMax0 performs a merge with any union data inside the AgentSpanGroupFilter_Max, using the provided AgentSpanGroupFilterMax0

func (*AgentSpanGroupFilter_Max) MergeAgentSpanGroupFilterMax1 added in v0.2.0

func (t *AgentSpanGroupFilter_Max) MergeAgentSpanGroupFilterMax1(v AgentSpanGroupFilterMax1) error

MergeAgentSpanGroupFilterMax1 performs a merge with any union data inside the AgentSpanGroupFilter_Max, using the provided AgentSpanGroupFilterMax1

func (*AgentSpanGroupFilter_Max) UnmarshalJSON added in v0.2.0

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

type AgentSpanGroupFilter_Min added in v0.2.0

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

AgentSpanGroupFilter_Min defines model for AgentSpanGroupFilter.Min.

func (AgentSpanGroupFilter_Min) AsAgentSpanGroupFilterMin0 added in v0.2.0

func (t AgentSpanGroupFilter_Min) AsAgentSpanGroupFilterMin0() (AgentSpanGroupFilterMin0, error)

AsAgentSpanGroupFilterMin0 returns the union data inside the AgentSpanGroupFilter_Min as a AgentSpanGroupFilterMin0

func (AgentSpanGroupFilter_Min) AsAgentSpanGroupFilterMin1 added in v0.2.0

func (t AgentSpanGroupFilter_Min) AsAgentSpanGroupFilterMin1() (AgentSpanGroupFilterMin1, error)

AsAgentSpanGroupFilterMin1 returns the union data inside the AgentSpanGroupFilter_Min as a AgentSpanGroupFilterMin1

func (*AgentSpanGroupFilter_Min) FromAgentSpanGroupFilterMin0 added in v0.2.0

func (t *AgentSpanGroupFilter_Min) FromAgentSpanGroupFilterMin0(v AgentSpanGroupFilterMin0) error

FromAgentSpanGroupFilterMin0 overwrites any union data inside the AgentSpanGroupFilter_Min as the provided AgentSpanGroupFilterMin0

func (*AgentSpanGroupFilter_Min) FromAgentSpanGroupFilterMin1 added in v0.2.0

func (t *AgentSpanGroupFilter_Min) FromAgentSpanGroupFilterMin1(v AgentSpanGroupFilterMin1) error

FromAgentSpanGroupFilterMin1 overwrites any union data inside the AgentSpanGroupFilter_Min as the provided AgentSpanGroupFilterMin1

func (AgentSpanGroupFilter_Min) MarshalJSON added in v0.2.0

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

func (*AgentSpanGroupFilter_Min) MergeAgentSpanGroupFilterMin0 added in v0.2.0

func (t *AgentSpanGroupFilter_Min) MergeAgentSpanGroupFilterMin0(v AgentSpanGroupFilterMin0) error

MergeAgentSpanGroupFilterMin0 performs a merge with any union data inside the AgentSpanGroupFilter_Min, using the provided AgentSpanGroupFilterMin0

func (*AgentSpanGroupFilter_Min) MergeAgentSpanGroupFilterMin1 added in v0.2.0

func (t *AgentSpanGroupFilter_Min) MergeAgentSpanGroupFilterMin1(v AgentSpanGroupFilterMin1) error

MergeAgentSpanGroupFilterMin1 performs a merge with any union data inside the AgentSpanGroupFilter_Min, using the provided AgentSpanGroupFilterMin1

func (*AgentSpanGroupFilter_Min) UnmarshalJSON added in v0.2.0

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

type AgentSpanGroupRow added in v0.2.0

type AgentSpanGroupRow struct {
	AgentNames                    []string                                                     `json:"agent_names"`
	AgentVersions                 []string                                                     `json:"agent_versions"`
	ConversationCount             int                                                          `json:"conversation_count"`
	ConversationNames             []string                                                     `json:"conversation_names"`
	Distributions                 map[string]AgentSpanGroupDistributionItem                    `json:"distributions"`
	ErrorCount                    int                                                          `json:"error_count"`
	FirstMessage                  *AgentConversationMessagePreview                             `json:"first_message"`
	FirstSeen                     *time.Time                                                   `json:"first_seen"`
	GroupKeys                     map[string]*AgentSpanGroupRow_GroupKeys_AdditionalProperties `json:"group_keys"`
	InvocationCount               int                                                          `json:"invocation_count"`
	LastMessage                   *AgentConversationMessagePreview                             `json:"last_message"`
	LastSeen                      *time.Time                                                   `json:"last_seen"`
	Metrics                       map[string]*AgentSpanGroupRow_Metrics_AdditionalProperties   `json:"metrics"`
	ProviderNames                 []string                                                     `json:"provider_names"`
	RequestModels                 []string                                                     `json:"request_models"`
	SpanCount                     int                                                          `json:"span_count"`
	TotalCacheCreationInputTokens int                                                          `json:"total_cache_creation_input_tokens"`
	TotalCacheReadInputTokens     int                                                          `json:"total_cache_read_input_tokens"`
	TotalCostUsd                  *float64                                                     `json:"total_cost_usd"`
	TotalDurationMs               int                                                          `json:"total_duration_ms"`
	TotalInputCostUsd             *float64                                                     `json:"total_input_cost_usd"`
	TotalInputTokens              int                                                          `json:"total_input_tokens"`
	TotalOutputCostUsd            *float64                                                     `json:"total_output_cost_usd"`
	TotalOutputTokens             int                                                          `json:"total_output_tokens"`
	TotalReasoningTokens          int                                                          `json:"total_reasoning_tokens"`
}

AgentSpanGroupRow A single row in a grouped spans query response.

`group_keys` maps each group_by ref's alias to its value for this row. The remaining fields are a fixed aggregate bundle computed per group.

type AgentSpanGroupRowGroupKeys0 added in v0.2.0

type AgentSpanGroupRowGroupKeys0 = string

AgentSpanGroupRowGroupKeys0 defines model for AgentSpanGroupRow.GroupKeys.0.

type AgentSpanGroupRowGroupKeys1 added in v0.2.0

type AgentSpanGroupRowGroupKeys1 = int

AgentSpanGroupRowGroupKeys1 defines model for AgentSpanGroupRow.GroupKeys.1.

type AgentSpanGroupRowGroupKeys2 added in v0.2.0

type AgentSpanGroupRowGroupKeys2 = float64

AgentSpanGroupRowGroupKeys2 defines model for AgentSpanGroupRow.GroupKeys.2.

type AgentSpanGroupRowGroupKeys3 added in v0.2.0

type AgentSpanGroupRowGroupKeys3 = bool

AgentSpanGroupRowGroupKeys3 defines model for AgentSpanGroupRow.GroupKeys.3.

type AgentSpanGroupRowMetrics0 added in v0.2.0

type AgentSpanGroupRowMetrics0 = time.Time

AgentSpanGroupRowMetrics0 defines model for AgentSpanGroupRow.Metrics.0.

type AgentSpanGroupRowMetrics1 added in v0.2.0

type AgentSpanGroupRowMetrics1 = string

AgentSpanGroupRowMetrics1 defines model for AgentSpanGroupRow.Metrics.1.

type AgentSpanGroupRowMetrics2 added in v0.2.0

type AgentSpanGroupRowMetrics2 = int

AgentSpanGroupRowMetrics2 defines model for AgentSpanGroupRow.Metrics.2.

type AgentSpanGroupRowMetrics3 added in v0.2.0

type AgentSpanGroupRowMetrics3 = float64

AgentSpanGroupRowMetrics3 defines model for AgentSpanGroupRow.Metrics.3.

type AgentSpanGroupRowMetrics4 added in v0.2.0

type AgentSpanGroupRowMetrics4 = bool

AgentSpanGroupRowMetrics4 defines model for AgentSpanGroupRow.Metrics.4.

type AgentSpanGroupRow_GroupKeys_AdditionalProperties added in v0.2.0

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

AgentSpanGroupRow_GroupKeys_AdditionalProperties defines model for AgentSpanGroupRow.group_keys.AdditionalProperties.

func (AgentSpanGroupRow_GroupKeys_AdditionalProperties) AsAgentSpanGroupRowGroupKeys0 added in v0.2.0

AsAgentSpanGroupRowGroupKeys0 returns the union data inside the AgentSpanGroupRow_GroupKeys_AdditionalProperties as a AgentSpanGroupRowGroupKeys0

func (AgentSpanGroupRow_GroupKeys_AdditionalProperties) AsAgentSpanGroupRowGroupKeys1 added in v0.2.0

AsAgentSpanGroupRowGroupKeys1 returns the union data inside the AgentSpanGroupRow_GroupKeys_AdditionalProperties as a AgentSpanGroupRowGroupKeys1

func (AgentSpanGroupRow_GroupKeys_AdditionalProperties) AsAgentSpanGroupRowGroupKeys2 added in v0.2.0

AsAgentSpanGroupRowGroupKeys2 returns the union data inside the AgentSpanGroupRow_GroupKeys_AdditionalProperties as a AgentSpanGroupRowGroupKeys2

func (AgentSpanGroupRow_GroupKeys_AdditionalProperties) AsAgentSpanGroupRowGroupKeys3 added in v0.2.0

AsAgentSpanGroupRowGroupKeys3 returns the union data inside the AgentSpanGroupRow_GroupKeys_AdditionalProperties as a AgentSpanGroupRowGroupKeys3

func (*AgentSpanGroupRow_GroupKeys_AdditionalProperties) FromAgentSpanGroupRowGroupKeys0 added in v0.2.0

FromAgentSpanGroupRowGroupKeys0 overwrites any union data inside the AgentSpanGroupRow_GroupKeys_AdditionalProperties as the provided AgentSpanGroupRowGroupKeys0

func (*AgentSpanGroupRow_GroupKeys_AdditionalProperties) FromAgentSpanGroupRowGroupKeys1 added in v0.2.0

FromAgentSpanGroupRowGroupKeys1 overwrites any union data inside the AgentSpanGroupRow_GroupKeys_AdditionalProperties as the provided AgentSpanGroupRowGroupKeys1

func (*AgentSpanGroupRow_GroupKeys_AdditionalProperties) FromAgentSpanGroupRowGroupKeys2 added in v0.2.0

FromAgentSpanGroupRowGroupKeys2 overwrites any union data inside the AgentSpanGroupRow_GroupKeys_AdditionalProperties as the provided AgentSpanGroupRowGroupKeys2

func (*AgentSpanGroupRow_GroupKeys_AdditionalProperties) FromAgentSpanGroupRowGroupKeys3 added in v0.2.0

FromAgentSpanGroupRowGroupKeys3 overwrites any union data inside the AgentSpanGroupRow_GroupKeys_AdditionalProperties as the provided AgentSpanGroupRowGroupKeys3

func (AgentSpanGroupRow_GroupKeys_AdditionalProperties) MarshalJSON added in v0.2.0

func (*AgentSpanGroupRow_GroupKeys_AdditionalProperties) MergeAgentSpanGroupRowGroupKeys0 added in v0.2.0

MergeAgentSpanGroupRowGroupKeys0 performs a merge with any union data inside the AgentSpanGroupRow_GroupKeys_AdditionalProperties, using the provided AgentSpanGroupRowGroupKeys0

func (*AgentSpanGroupRow_GroupKeys_AdditionalProperties) MergeAgentSpanGroupRowGroupKeys1 added in v0.2.0

MergeAgentSpanGroupRowGroupKeys1 performs a merge with any union data inside the AgentSpanGroupRow_GroupKeys_AdditionalProperties, using the provided AgentSpanGroupRowGroupKeys1

func (*AgentSpanGroupRow_GroupKeys_AdditionalProperties) MergeAgentSpanGroupRowGroupKeys2 added in v0.2.0

MergeAgentSpanGroupRowGroupKeys2 performs a merge with any union data inside the AgentSpanGroupRow_GroupKeys_AdditionalProperties, using the provided AgentSpanGroupRowGroupKeys2

func (*AgentSpanGroupRow_GroupKeys_AdditionalProperties) MergeAgentSpanGroupRowGroupKeys3 added in v0.2.0

MergeAgentSpanGroupRowGroupKeys3 performs a merge with any union data inside the AgentSpanGroupRow_GroupKeys_AdditionalProperties, using the provided AgentSpanGroupRowGroupKeys3

func (*AgentSpanGroupRow_GroupKeys_AdditionalProperties) UnmarshalJSON added in v0.2.0

type AgentSpanGroupRow_Metrics_AdditionalProperties added in v0.2.0

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

AgentSpanGroupRow_Metrics_AdditionalProperties defines model for AgentSpanGroupRow.metrics.AdditionalProperties.

func (AgentSpanGroupRow_Metrics_AdditionalProperties) AsAgentSpanGroupRowMetrics0 added in v0.2.0

AsAgentSpanGroupRowMetrics0 returns the union data inside the AgentSpanGroupRow_Metrics_AdditionalProperties as a AgentSpanGroupRowMetrics0

func (AgentSpanGroupRow_Metrics_AdditionalProperties) AsAgentSpanGroupRowMetrics1 added in v0.2.0

AsAgentSpanGroupRowMetrics1 returns the union data inside the AgentSpanGroupRow_Metrics_AdditionalProperties as a AgentSpanGroupRowMetrics1

func (AgentSpanGroupRow_Metrics_AdditionalProperties) AsAgentSpanGroupRowMetrics2 added in v0.2.0

AsAgentSpanGroupRowMetrics2 returns the union data inside the AgentSpanGroupRow_Metrics_AdditionalProperties as a AgentSpanGroupRowMetrics2

func (AgentSpanGroupRow_Metrics_AdditionalProperties) AsAgentSpanGroupRowMetrics3 added in v0.2.0

AsAgentSpanGroupRowMetrics3 returns the union data inside the AgentSpanGroupRow_Metrics_AdditionalProperties as a AgentSpanGroupRowMetrics3

func (AgentSpanGroupRow_Metrics_AdditionalProperties) AsAgentSpanGroupRowMetrics4 added in v0.2.0

AsAgentSpanGroupRowMetrics4 returns the union data inside the AgentSpanGroupRow_Metrics_AdditionalProperties as a AgentSpanGroupRowMetrics4

func (*AgentSpanGroupRow_Metrics_AdditionalProperties) FromAgentSpanGroupRowMetrics0 added in v0.2.0

FromAgentSpanGroupRowMetrics0 overwrites any union data inside the AgentSpanGroupRow_Metrics_AdditionalProperties as the provided AgentSpanGroupRowMetrics0

func (*AgentSpanGroupRow_Metrics_AdditionalProperties) FromAgentSpanGroupRowMetrics1 added in v0.2.0

FromAgentSpanGroupRowMetrics1 overwrites any union data inside the AgentSpanGroupRow_Metrics_AdditionalProperties as the provided AgentSpanGroupRowMetrics1

func (*AgentSpanGroupRow_Metrics_AdditionalProperties) FromAgentSpanGroupRowMetrics2 added in v0.2.0

FromAgentSpanGroupRowMetrics2 overwrites any union data inside the AgentSpanGroupRow_Metrics_AdditionalProperties as the provided AgentSpanGroupRowMetrics2

func (*AgentSpanGroupRow_Metrics_AdditionalProperties) FromAgentSpanGroupRowMetrics3 added in v0.2.0

FromAgentSpanGroupRowMetrics3 overwrites any union data inside the AgentSpanGroupRow_Metrics_AdditionalProperties as the provided AgentSpanGroupRowMetrics3

func (*AgentSpanGroupRow_Metrics_AdditionalProperties) FromAgentSpanGroupRowMetrics4 added in v0.2.0

FromAgentSpanGroupRowMetrics4 overwrites any union data inside the AgentSpanGroupRow_Metrics_AdditionalProperties as the provided AgentSpanGroupRowMetrics4

func (AgentSpanGroupRow_Metrics_AdditionalProperties) MarshalJSON added in v0.2.0

func (*AgentSpanGroupRow_Metrics_AdditionalProperties) MergeAgentSpanGroupRowMetrics0 added in v0.2.0

MergeAgentSpanGroupRowMetrics0 performs a merge with any union data inside the AgentSpanGroupRow_Metrics_AdditionalProperties, using the provided AgentSpanGroupRowMetrics0

func (*AgentSpanGroupRow_Metrics_AdditionalProperties) MergeAgentSpanGroupRowMetrics1 added in v0.2.0

MergeAgentSpanGroupRowMetrics1 performs a merge with any union data inside the AgentSpanGroupRow_Metrics_AdditionalProperties, using the provided AgentSpanGroupRowMetrics1

func (*AgentSpanGroupRow_Metrics_AdditionalProperties) MergeAgentSpanGroupRowMetrics2 added in v0.2.0

MergeAgentSpanGroupRowMetrics2 performs a merge with any union data inside the AgentSpanGroupRow_Metrics_AdditionalProperties, using the provided AgentSpanGroupRowMetrics2

func (*AgentSpanGroupRow_Metrics_AdditionalProperties) MergeAgentSpanGroupRowMetrics3 added in v0.2.0

MergeAgentSpanGroupRowMetrics3 performs a merge with any union data inside the AgentSpanGroupRow_Metrics_AdditionalProperties, using the provided AgentSpanGroupRowMetrics3

func (*AgentSpanGroupRow_Metrics_AdditionalProperties) MergeAgentSpanGroupRowMetrics4 added in v0.2.0

MergeAgentSpanGroupRowMetrics4 performs a merge with any union data inside the AgentSpanGroupRow_Metrics_AdditionalProperties, using the provided AgentSpanGroupRowMetrics4

func (*AgentSpanGroupRow_Metrics_AdditionalProperties) UnmarshalJSON added in v0.2.0

type AgentSpanMeasureSpec added in v0.2.0

type AgentSpanMeasureSpec struct {
	Aggregation AgentSpanMeasureSpecAggregation `json:"aggregation"`
	Alias       string                          `json:"alias"`
	Filter      *Query                          `json:"filter,omitempty"`
	Value       *AgentSpanValueRef              `json:"value,omitempty"`
	ValueType   *AgentSpanMeasureSpecValueType  `json:"value_type,omitempty"`
}

AgentSpanMeasureSpec One aggregate measure computed over spans in a group or bucket.

type AgentSpanMeasureSpecAggregation added in v0.2.0

type AgentSpanMeasureSpecAggregation string

AgentSpanMeasureSpecAggregation defines model for AgentSpanMeasureSpec.Aggregation.

const (
	AgentSpanMeasureSpecAggregationAvg           AgentSpanMeasureSpecAggregation = "avg"
	AgentSpanMeasureSpecAggregationCount         AgentSpanMeasureSpecAggregation = "count"
	AgentSpanMeasureSpecAggregationCountDistinct AgentSpanMeasureSpecAggregation = "count_distinct"
	AgentSpanMeasureSpecAggregationCountFalse    AgentSpanMeasureSpecAggregation = "count_false"
	AgentSpanMeasureSpecAggregationCountTrue     AgentSpanMeasureSpecAggregation = "count_true"
	AgentSpanMeasureSpecAggregationMax           AgentSpanMeasureSpecAggregation = "max"
	AgentSpanMeasureSpecAggregationMin           AgentSpanMeasureSpecAggregation = "min"
	AgentSpanMeasureSpecAggregationSum           AgentSpanMeasureSpecAggregation = "sum"
)

Defines values for AgentSpanMeasureSpecAggregation.

func (AgentSpanMeasureSpecAggregation) Valid added in v0.2.0

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

type AgentSpanMeasureSpecValueType added in v0.2.0

type AgentSpanMeasureSpecValueType string

AgentSpanMeasureSpecValueType defines model for AgentSpanMeasureSpec.ValueType.

const (
	AgentSpanMeasureSpecValueTypeBoolean  AgentSpanMeasureSpecValueType = "boolean"
	AgentSpanMeasureSpecValueTypeDatetime AgentSpanMeasureSpecValueType = "datetime"
	AgentSpanMeasureSpecValueTypeNumber   AgentSpanMeasureSpecValueType = "number"
	AgentSpanMeasureSpecValueTypeString   AgentSpanMeasureSpecValueType = "string"
)

Defines values for AgentSpanMeasureSpecValueType.

func (AgentSpanMeasureSpecValueType) Valid added in v0.2.0

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

type AgentSpanSchema added in v0.2.0

type AgentSpanSchema struct {
	AgentDescription          *string                    `json:"agent_description"`
	AgentId                   *string                    `json:"agent_id"`
	AgentName                 *string                    `json:"agent_name"`
	AgentVersion              *string                    `json:"agent_version"`
	ArtifactRefs              []string                   `json:"artifact_refs"`
	CacheCreationCostUsd      *float64                   `json:"cache_creation_cost_usd"`
	CacheCreationInputTokens  *int                       `json:"cache_creation_input_tokens"`
	CacheReadCostUsd          *float64                   `json:"cache_read_cost_usd"`
	CacheReadInputTokens      *int                       `json:"cache_read_input_tokens"`
	CompactionItemsAfter      *int                       `json:"compaction_items_after"`
	CompactionItemsBefore     *int                       `json:"compaction_items_before"`
	CompactionSummary         *string                    `json:"compaction_summary"`
	ContentRefs               []string                   `json:"content_refs"`
	ConversationId            *string                    `json:"conversation_id"`
	ConversationName          *string                    `json:"conversation_name"`
	CustomAttrsBool           map[string]bool            `json:"custom_attrs_bool"`
	CustomAttrsFloat          map[string]float64         `json:"custom_attrs_float"`
	CustomAttrsInt            map[string]int             `json:"custom_attrs_int"`
	CustomAttrsString         map[string]string          `json:"custom_attrs_string"`
	EndedAt                   *time.Time                 `json:"ended_at"`
	ErrorType                 *string                    `json:"error_type"`
	EvalEvaluationName        *string                    `json:"eval_evaluation_name"`
	EvalExampleId             *string                    `json:"eval_example_id"`
	EvalKind                  *string                    `json:"eval_kind"`
	EvalPredictAndScoreCallId *string                    `json:"eval_predict_and_score_call_id"`
	EvalRowDigest             *string                    `json:"eval_row_digest"`
	EvalRunId                 *string                    `json:"eval_run_id"`
	EvalTrialIndex            *int                       `json:"eval_trial_index"`
	FinishReasons             []string                   `json:"finish_reasons"`
	InputCostUsd              *float64                   `json:"input_cost_usd"`
	InputMessages             []NormalizedMessage        `json:"input_messages"`
	InputTokens               *int                       `json:"input_tokens"`
	MainAgentId               *string                    `json:"main_agent_id"`
	MainAgentName             *string                    `json:"main_agent_name"`
	ObjectRefs                []string                   `json:"object_refs"`
	OperationName             *string                    `json:"operation_name"`
	OutputCostUsd             *float64                   `json:"output_cost_usd"`
	OutputMessages            []NormalizedMessage        `json:"output_messages"`
	OutputTokens              *int                       `json:"output_tokens"`
	OutputType                *string                    `json:"output_type"`
	ParentCallId              *string                    `json:"parent_call_id"`
	ParentCallTraceId         *string                    `json:"parent_call_trace_id"`
	ParentSpanId              *string                    `json:"parent_span_id"`
	ProjectId                 string                     `json:"project_id"`
	ProviderName              *string                    `json:"provider_name"`
	RawSpanDump               *string                    `json:"raw_span_dump"`
	ReasoningContent          *string                    `json:"reasoning_content"`
	ReasoningTokens           *int                       `json:"reasoning_tokens"`
	RequestChoiceCount        *int                       `json:"request_choice_count"`
	RequestFrequencyPenalty   *float64                   `json:"request_frequency_penalty"`
	RequestMaxTokens          *int                       `json:"request_max_tokens"`
	RequestModel              *string                    `json:"request_model"`
	RequestPresencePenalty    *float64                   `json:"request_presence_penalty"`
	RequestSeed               *int                       `json:"request_seed"`
	RequestStopSequences      []string                   `json:"request_stop_sequences"`
	RequestTemperature        *float64                   `json:"request_temperature"`
	RequestTopP               *float64                   `json:"request_top_p"`
	ResponseId                *string                    `json:"response_id"`
	ResponseModel             *string                    `json:"response_model"`
	ResponseTimeToFirstChunk  *float64                   `json:"response_time_to_first_chunk"`
	ServerAddress             *string                    `json:"server_address"`
	ServerPort                *int                       `json:"server_port"`
	SpanId                    string                     `json:"span_id"`
	SpanKind                  *AgentSpanSchemaSpanKind   `json:"span_kind"`
	SpanName                  *string                    `json:"span_name"`
	StartedAt                 *time.Time                 `json:"started_at"`
	StatusCode                *AgentSpanSchemaStatusCode `json:"status_code"`
	StatusMessage             *string                    `json:"status_message"`
	SystemInstructions        []string                   `json:"system_instructions"`
	ToolCallArguments         *string                    `json:"tool_call_arguments"`
	ToolCallId                *string                    `json:"tool_call_id"`
	ToolCallResult            *string                    `json:"tool_call_result"`
	ToolDefinitions           *string                    `json:"tool_definitions"`
	ToolDescription           *string                    `json:"tool_description"`
	ToolName                  *string                    `json:"tool_name"`
	ToolType                  *string                    `json:"tool_type"`
	TotalCostUsd              *float64                   `json:"total_cost_usd"`
	TraceId                   string                     `json:"trace_id"`
	WbRunId                   *string                    `json:"wb_run_id"`
	WbRunStep                 *int                       `json:"wb_run_step"`
	WbRunStepEnd              *int                       `json:"wb_run_step_end"`
	WbUserId                  *string                    `json:"wb_user_id"`
	WorkflowName              *string                    `json:"workflow_name"`
}

AgentSpanSchema A normalized agent span returned by query APIs.

type AgentSpanSchemaSpanKind added in v0.2.0

type AgentSpanSchemaSpanKind string

AgentSpanSchemaSpanKind defines model for AgentSpanSchema.SpanKind.

const (
	AgentSpanSchemaSpanKindCLIENT      AgentSpanSchemaSpanKind = "CLIENT"
	AgentSpanSchemaSpanKindCONSUMER    AgentSpanSchemaSpanKind = "CONSUMER"
	AgentSpanSchemaSpanKindINTERNAL    AgentSpanSchemaSpanKind = "INTERNAL"
	AgentSpanSchemaSpanKindPRODUCER    AgentSpanSchemaSpanKind = "PRODUCER"
	AgentSpanSchemaSpanKindSERVER      AgentSpanSchemaSpanKind = "SERVER"
	AgentSpanSchemaSpanKindUNSPECIFIED AgentSpanSchemaSpanKind = "UNSPECIFIED"
)

Defines values for AgentSpanSchemaSpanKind.

func (AgentSpanSchemaSpanKind) Valid added in v0.2.0

func (e AgentSpanSchemaSpanKind) Valid() bool

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

type AgentSpanSchemaStatusCode added in v0.2.0

type AgentSpanSchemaStatusCode string

AgentSpanSchemaStatusCode defines model for AgentSpanSchema.StatusCode.

const (
	AgentSpanSchemaStatusCodeERROR AgentSpanSchemaStatusCode = "ERROR"
	AgentSpanSchemaStatusCodeOK    AgentSpanSchemaStatusCode = "OK"
	AgentSpanSchemaStatusCodeUNSET AgentSpanSchemaStatusCode = "UNSET"
)

Defines values for AgentSpanSchemaStatusCode.

func (AgentSpanSchemaStatusCode) Valid added in v0.2.0

func (e AgentSpanSchemaStatusCode) Valid() bool

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

type AgentSpanStatsColumn added in v0.2.0

type AgentSpanStatsColumn struct {
	Aggregation *string                       `json:"aggregation"`
	Metric      *string                       `json:"metric"`
	Name        string                        `json:"name"`
	Role        AgentSpanStatsColumnRole      `json:"role"`
	ValueType   AgentSpanStatsColumnValueType `json:"value_type"`
}

AgentSpanStatsColumn Metadata describing one column in an agent span stats result row.

type AgentSpanStatsColumnRole added in v0.2.0

type AgentSpanStatsColumnRole string

AgentSpanStatsColumnRole defines model for AgentSpanStatsColumn.Role.

const (
	AgentSpanStatsColumnRoleBucket AgentSpanStatsColumnRole = "bucket"
	AgentSpanStatsColumnRoleGroup  AgentSpanStatsColumnRole = "group"
	AgentSpanStatsColumnRoleMetric AgentSpanStatsColumnRole = "metric"
	AgentSpanStatsColumnRoleTime   AgentSpanStatsColumnRole = "time"
)

Defines values for AgentSpanStatsColumnRole.

func (AgentSpanStatsColumnRole) Valid added in v0.2.0

func (e AgentSpanStatsColumnRole) Valid() bool

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

type AgentSpanStatsColumnValueType added in v0.2.0

type AgentSpanStatsColumnValueType string

AgentSpanStatsColumnValueType defines model for AgentSpanStatsColumn.ValueType.

const (
	AgentSpanStatsColumnValueTypeBoolean  AgentSpanStatsColumnValueType = "boolean"
	AgentSpanStatsColumnValueTypeDatetime AgentSpanStatsColumnValueType = "datetime"
	AgentSpanStatsColumnValueTypeNumber   AgentSpanStatsColumnValueType = "number"
	AgentSpanStatsColumnValueTypeString   AgentSpanStatsColumnValueType = "string"
)

Defines values for AgentSpanStatsColumnValueType.

func (AgentSpanStatsColumnValueType) Valid added in v0.2.0

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

type AgentSpanStatsMetricSpec added in v0.2.0

type AgentSpanStatsMetricSpec struct {
	Aggregations *[]AgentSpanStatsMetricSpecAggregations `json:"aggregations,omitempty"`
	Alias        string                                  `json:"alias"`
	Percentiles  *[]float64                              `json:"percentiles,omitempty"`

	// Value Reference to a span field or typed custom attribute map value.
	Value     AgentSpanValueRef                 `json:"value"`
	ValueType AgentSpanStatsMetricSpecValueType `json:"value_type"`
}

AgentSpanStatsMetricSpec Metric to extract from each matching span and aggregate into chart rows.

type AgentSpanStatsMetricSpecAggregations added in v0.2.0

type AgentSpanStatsMetricSpecAggregations string

AgentSpanStatsMetricSpecAggregations defines model for AgentSpanStatsMetricSpec.Aggregations.

const (
	AgentSpanStatsMetricSpecAggregationsAvg           AgentSpanStatsMetricSpecAggregations = "avg"
	AgentSpanStatsMetricSpecAggregationsCount         AgentSpanStatsMetricSpecAggregations = "count"
	AgentSpanStatsMetricSpecAggregationsCountDistinct AgentSpanStatsMetricSpecAggregations = "count_distinct"
	AgentSpanStatsMetricSpecAggregationsCountFalse    AgentSpanStatsMetricSpecAggregations = "count_false"
	AgentSpanStatsMetricSpecAggregationsCountTrue     AgentSpanStatsMetricSpecAggregations = "count_true"
	AgentSpanStatsMetricSpecAggregationsMax           AgentSpanStatsMetricSpecAggregations = "max"
	AgentSpanStatsMetricSpecAggregationsMin           AgentSpanStatsMetricSpecAggregations = "min"
	AgentSpanStatsMetricSpecAggregationsSum           AgentSpanStatsMetricSpecAggregations = "sum"
)

Defines values for AgentSpanStatsMetricSpecAggregations.

func (AgentSpanStatsMetricSpecAggregations) Valid added in v0.2.0

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

type AgentSpanStatsMetricSpecValueType added in v0.2.0

type AgentSpanStatsMetricSpecValueType string

AgentSpanStatsMetricSpecValueType defines model for AgentSpanStatsMetricSpec.ValueType.

const (
	AgentSpanStatsMetricSpecValueTypeBoolean  AgentSpanStatsMetricSpecValueType = "boolean"
	AgentSpanStatsMetricSpecValueTypeDatetime AgentSpanStatsMetricSpecValueType = "datetime"
	AgentSpanStatsMetricSpecValueTypeNumber   AgentSpanStatsMetricSpecValueType = "number"
	AgentSpanStatsMetricSpecValueTypeString   AgentSpanStatsMetricSpecValueType = "string"
)

Defines values for AgentSpanStatsMetricSpecValueType.

func (AgentSpanStatsMetricSpecValueType) Valid added in v0.2.0

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

type AgentSpanStatsNumericBucketSpec added in v0.2.0

type AgentSpanStatsNumericBucketSpec struct {
	Alias   *string                              `json:"alias,omitempty"`
	Bins    *int                                 `json:"bins,omitempty"`
	GroupBy *[]AgentGroupByRef                   `json:"group_by,omitempty"`
	Max     *float64                             `json:"max,omitempty"`
	Measure *AgentSpanMeasureSpec                `json:"measure,omitempty"`
	Min     *float64                             `json:"min,omitempty"`
	Type    *AgentSpanStatsNumericBucketSpecType `json:"type,omitempty"`
	Value   *AgentSpanValueRef                   `json:"value,omitempty"`
}

AgentSpanStatsNumericBucketSpec Bucket stats rows by ranges of one numeric span or grouped value.

type AgentSpanStatsNumericBucketSpecType added in v0.2.0

type AgentSpanStatsNumericBucketSpecType string

AgentSpanStatsNumericBucketSpecType defines model for AgentSpanStatsNumericBucketSpec.Type.

const (
	AgentSpanStatsNumericBucketSpecTypeNumber AgentSpanStatsNumericBucketSpecType = "number"
)

Defines values for AgentSpanStatsNumericBucketSpecType.

func (AgentSpanStatsNumericBucketSpecType) Valid added in v0.2.0

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

type AgentSpanStatsReq added in v0.2.0

type AgentSpanStatsReq struct {
	BucketBy *struct {
		// contains filtered or unexported fields
	} `json:"bucket_by,omitempty"`
	End            *time.Time                  `json:"end,omitempty"`
	Granularity    *int                        `json:"granularity,omitempty"`
	GroupBy        *[]AgentGroupByRef          `json:"group_by,omitempty"`
	GroupFilters   *[]AgentSpanGroupFilter     `json:"group_filters,omitempty"`
	GroupLimit     *int                        `json:"group_limit,omitempty"`
	InsightFilters *[]AgentInsightFilter       `json:"insight_filters,omitempty"`
	Metrics        *[]AgentSpanStatsMetricSpec `json:"metrics,omitempty"`
	ProjectId      string                      `json:"project_id"`
	Query          *Query                      `json:"query,omitempty"`
	SignalFilters  *AgentSignalFilter          `json:"signal_filters,omitempty"`
	Start          time.Time                   `json:"start"`
	Timezone       *string                     `json:"timezone,omitempty"`
}

AgentSpanStatsReq Request chart-ready aggregations over GenAI agent spans.

type AgentSpanStatsRes added in v0.2.0

type AgentSpanStatsRes struct {
	BucketType  AgentSpanStatsResBucketType                               `json:"bucket_type"`
	Columns     []AgentSpanStatsColumn                                    `json:"columns"`
	End         time.Time                                                 `json:"end"`
	Granularity *int                                                      `json:"granularity"`
	Rows        []map[string]*AgentSpanStatsRes_Rows_AdditionalProperties `json:"rows"`
	Start       time.Time                                                 `json:"start"`
	Timezone    string                                                    `json:"timezone"`
}

AgentSpanStatsRes Response containing chart-ready agent span stats rows.

type AgentSpanStatsResBucketType added in v0.2.0

type AgentSpanStatsResBucketType string

AgentSpanStatsResBucketType defines model for AgentSpanStatsRes.BucketType.

const (
	AgentSpanStatsResBucketTypeNumber AgentSpanStatsResBucketType = "number"
	AgentSpanStatsResBucketTypeTime   AgentSpanStatsResBucketType = "time"
)

Defines values for AgentSpanStatsResBucketType.

func (AgentSpanStatsResBucketType) Valid added in v0.2.0

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

type AgentSpanStatsResRows0 added in v0.2.0

type AgentSpanStatsResRows0 = time.Time

AgentSpanStatsResRows0 defines model for AgentSpanStatsRes.Rows.0.

type AgentSpanStatsResRows1 added in v0.2.0

type AgentSpanStatsResRows1 = string

AgentSpanStatsResRows1 defines model for AgentSpanStatsRes.Rows.1.

type AgentSpanStatsResRows2 added in v0.2.0

type AgentSpanStatsResRows2 = int

AgentSpanStatsResRows2 defines model for AgentSpanStatsRes.Rows.2.

type AgentSpanStatsResRows3 added in v0.2.0

type AgentSpanStatsResRows3 = float64

AgentSpanStatsResRows3 defines model for AgentSpanStatsRes.Rows.3.

type AgentSpanStatsResRows4 added in v0.2.0

type AgentSpanStatsResRows4 = bool

AgentSpanStatsResRows4 defines model for AgentSpanStatsRes.Rows.4.

type AgentSpanStatsRes_Rows_AdditionalProperties added in v0.2.0

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

AgentSpanStatsRes_Rows_AdditionalProperties defines model for AgentSpanStatsRes.rows.AdditionalProperties.

func (AgentSpanStatsRes_Rows_AdditionalProperties) AsAgentSpanStatsResRows0 added in v0.2.0

AsAgentSpanStatsResRows0 returns the union data inside the AgentSpanStatsRes_Rows_AdditionalProperties as a AgentSpanStatsResRows0

func (AgentSpanStatsRes_Rows_AdditionalProperties) AsAgentSpanStatsResRows1 added in v0.2.0

AsAgentSpanStatsResRows1 returns the union data inside the AgentSpanStatsRes_Rows_AdditionalProperties as a AgentSpanStatsResRows1

func (AgentSpanStatsRes_Rows_AdditionalProperties) AsAgentSpanStatsResRows2 added in v0.2.0

AsAgentSpanStatsResRows2 returns the union data inside the AgentSpanStatsRes_Rows_AdditionalProperties as a AgentSpanStatsResRows2

func (AgentSpanStatsRes_Rows_AdditionalProperties) AsAgentSpanStatsResRows3 added in v0.2.0

AsAgentSpanStatsResRows3 returns the union data inside the AgentSpanStatsRes_Rows_AdditionalProperties as a AgentSpanStatsResRows3

func (AgentSpanStatsRes_Rows_AdditionalProperties) AsAgentSpanStatsResRows4 added in v0.2.0

AsAgentSpanStatsResRows4 returns the union data inside the AgentSpanStatsRes_Rows_AdditionalProperties as a AgentSpanStatsResRows4

func (*AgentSpanStatsRes_Rows_AdditionalProperties) FromAgentSpanStatsResRows0 added in v0.2.0

FromAgentSpanStatsResRows0 overwrites any union data inside the AgentSpanStatsRes_Rows_AdditionalProperties as the provided AgentSpanStatsResRows0

func (*AgentSpanStatsRes_Rows_AdditionalProperties) FromAgentSpanStatsResRows1 added in v0.2.0

FromAgentSpanStatsResRows1 overwrites any union data inside the AgentSpanStatsRes_Rows_AdditionalProperties as the provided AgentSpanStatsResRows1

func (*AgentSpanStatsRes_Rows_AdditionalProperties) FromAgentSpanStatsResRows2 added in v0.2.0

FromAgentSpanStatsResRows2 overwrites any union data inside the AgentSpanStatsRes_Rows_AdditionalProperties as the provided AgentSpanStatsResRows2

func (*AgentSpanStatsRes_Rows_AdditionalProperties) FromAgentSpanStatsResRows3 added in v0.2.0

FromAgentSpanStatsResRows3 overwrites any union data inside the AgentSpanStatsRes_Rows_AdditionalProperties as the provided AgentSpanStatsResRows3

func (*AgentSpanStatsRes_Rows_AdditionalProperties) FromAgentSpanStatsResRows4 added in v0.2.0

FromAgentSpanStatsResRows4 overwrites any union data inside the AgentSpanStatsRes_Rows_AdditionalProperties as the provided AgentSpanStatsResRows4

func (AgentSpanStatsRes_Rows_AdditionalProperties) MarshalJSON added in v0.2.0

func (*AgentSpanStatsRes_Rows_AdditionalProperties) MergeAgentSpanStatsResRows0 added in v0.2.0

MergeAgentSpanStatsResRows0 performs a merge with any union data inside the AgentSpanStatsRes_Rows_AdditionalProperties, using the provided AgentSpanStatsResRows0

func (*AgentSpanStatsRes_Rows_AdditionalProperties) MergeAgentSpanStatsResRows1 added in v0.2.0

MergeAgentSpanStatsResRows1 performs a merge with any union data inside the AgentSpanStatsRes_Rows_AdditionalProperties, using the provided AgentSpanStatsResRows1

func (*AgentSpanStatsRes_Rows_AdditionalProperties) MergeAgentSpanStatsResRows2 added in v0.2.0

MergeAgentSpanStatsResRows2 performs a merge with any union data inside the AgentSpanStatsRes_Rows_AdditionalProperties, using the provided AgentSpanStatsResRows2

func (*AgentSpanStatsRes_Rows_AdditionalProperties) MergeAgentSpanStatsResRows3 added in v0.2.0

MergeAgentSpanStatsResRows3 performs a merge with any union data inside the AgentSpanStatsRes_Rows_AdditionalProperties, using the provided AgentSpanStatsResRows3

func (*AgentSpanStatsRes_Rows_AdditionalProperties) MergeAgentSpanStatsResRows4 added in v0.2.0

MergeAgentSpanStatsResRows4 performs a merge with any union data inside the AgentSpanStatsRes_Rows_AdditionalProperties, using the provided AgentSpanStatsResRows4

func (*AgentSpanStatsRes_Rows_AdditionalProperties) UnmarshalJSON added in v0.2.0

type AgentSpanStatsTimeBucketSpec added in v0.2.0

type AgentSpanStatsTimeBucketSpec struct {
	Type *AgentSpanStatsTimeBucketSpecType `json:"type,omitempty"`
}

AgentSpanStatsTimeBucketSpec Bucket stats rows by started_at time intervals.

type AgentSpanStatsTimeBucketSpecType added in v0.2.0

type AgentSpanStatsTimeBucketSpecType string

AgentSpanStatsTimeBucketSpecType defines model for AgentSpanStatsTimeBucketSpec.Type.

const (
	AgentSpanStatsTimeBucketSpecTypeTime AgentSpanStatsTimeBucketSpecType = "time"
)

Defines values for AgentSpanStatsTimeBucketSpecType.

func (AgentSpanStatsTimeBucketSpecType) Valid added in v0.2.0

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

type AgentSpanValueRef added in v0.2.0

type AgentSpanValueRef struct {
	Key    string                   `json:"key"`
	Source *AgentSpanValueRefSource `json:"source,omitempty"`
}

AgentSpanValueRef Reference to a span field or typed custom attribute map value.

type AgentSpanValueRefSource added in v0.2.0

type AgentSpanValueRefSource string

AgentSpanValueRefSource defines model for AgentSpanValueRef.Source.

const (
	AgentSpanValueRefSourceCustomAttrsBool   AgentSpanValueRefSource = "custom_attrs_bool"
	AgentSpanValueRefSourceCustomAttrsFloat  AgentSpanValueRefSource = "custom_attrs_float"
	AgentSpanValueRefSourceCustomAttrsInt    AgentSpanValueRefSource = "custom_attrs_int"
	AgentSpanValueRefSourceCustomAttrsString AgentSpanValueRefSource = "custom_attrs_string"
	AgentSpanValueRefSourceDerived           AgentSpanValueRefSource = "derived"
	AgentSpanValueRefSourceField             AgentSpanValueRefSource = "field"
)

Defines values for AgentSpanValueRefSource.

func (AgentSpanValueRefSource) Valid added in v0.2.0

func (e AgentSpanValueRefSource) Valid() bool

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

type AgentSpansExistsReq added in v0.2.2

type AgentSpansExistsReq struct {
	ProjectId     string     `json:"project_id"`
	Query         *Query     `json:"query,omitempty"`
	StartedAfter  *time.Time `json:"started_after,omitempty"`
	StartedBefore *time.Time `json:"started_before,omitempty"`
}

AgentSpansExistsReq Check whether any span matches project-scoped, attributed filters.

type AgentSpansExistsRes added in v0.2.2

type AgentSpansExistsRes struct {
	Exists bool `json:"exists"`
}

AgentSpansExistsRes defines model for AgentSpansExistsRes.

type AgentSpansQueryReq added in v0.2.0

type AgentSpansQueryReq struct {
	CustomAttrColumns  *[]AgentSpanValueRef              `json:"custom_attr_columns,omitempty"`
	GroupBy            *[]AgentGroupByRef                `json:"group_by,omitempty"`
	GroupDistributions *[]AgentSpanGroupDistributionSpec `json:"group_distributions,omitempty"`
	GroupFilters       *[]AgentSpanGroupFilter           `json:"group_filters,omitempty"`
	IncludeCosts       *bool                             `json:"include_costs,omitempty"`
	IncludeDetails     *bool                             `json:"include_details,omitempty"`
	InsightFilters     *[]AgentInsightFilter             `json:"insight_filters,omitempty"`
	Limit              *int                              `json:"limit,omitempty"`
	Measures           *[]AgentSpanMeasureSpec           `json:"measures,omitempty"`
	Offset             *int                              `json:"offset,omitempty"`
	ProjectId          string                            `json:"project_id"`
	Query              *Query                            `json:"query,omitempty"`
	SignalFilters      *AgentSignalFilter                `json:"signal_filters,omitempty"`
	SortBy             *[]AgentSortBy                    `json:"sort_by,omitempty"`
	StartedAfter       *time.Time                        `json:"started_after,omitempty"`
	StartedBefore      *time.Time                        `json:"started_before,omitempty"`
	TagFilter          *AgentConversationTagFilter       `json:"tag_filter,omitempty"`
}

AgentSpansQueryReq Request to query agent spans for a project.

When `group_by` is empty (or omitted), returns raw span rows in the response's `spans` field. When `group_by` is non-empty, returns aggregate group rows in the response's `groups` field.

type AgentSpansQueryRes added in v0.2.0

type AgentSpansQueryRes struct {
	Groups     []AgentSpanGroupRow `json:"groups"`
	Spans      []AgentSpanSchema   `json:"spans"`
	TotalCount int                 `json:"total_count"`
}

AgentSpansQueryRes Response from a spans query.

Exactly one of `spans` or `groups` will be populated, based on whether the request specified `group_by`.

type AgentTraceChatReq added in v0.2.0

type AgentTraceChatReq struct {
	IncludeFeedback *bool `json:"include_feedback,omitempty"`

	// IncludeModelToolCalls Include tool calls requested in model outputs, even when no execution span was recorded, and place each execution span after the model span that requested it. Requests without execution evidence have no status, duration, or result. Defaults to false.
	IncludeModelToolCalls *bool  `json:"include_model_tool_calls,omitempty"`
	ProjectId             string `json:"project_id"`
	TraceId               string `json:"trace_id"`
}

AgentTraceChatReq Request to get the structured chat / trajectory view for a trace.

type AgentTraceChatRes added in v0.2.0

type AgentTraceChatRes struct {
	AgentName                     *string                      `json:"agent_name"`
	AgentVersion                  *string                      `json:"agent_version"`
	EndedAt                       *time.Time                   `json:"ended_at"`
	Feedback                      *[]AgentChatFeedback         `json:"feedback"`
	Messages                      []AgentChatMessage           `json:"messages"`
	Provider                      *string                      `json:"provider"`
	RootOperationName             *string                      `json:"root_operation_name"`
	RootSpanName                  *string                      `json:"root_span_name"`
	StartedAt                     *time.Time                   `json:"started_at"`
	StatusCode                    *AgentTraceChatResStatusCode `json:"status_code"`
	TotalCacheCreationInputTokens int                          `json:"total_cache_creation_input_tokens"`
	TotalCacheReadInputTokens     int                          `json:"total_cache_read_input_tokens"`
	TotalCostUsd                  *float64                     `json:"total_cost_usd"`

	// TotalDurationMs Wall-clock duration of the trace root span in milliseconds. This is not a sum of child span durations.
	TotalDurationMs      *int    `json:"total_duration_ms"`
	TotalInputTokens     int     `json:"total_input_tokens"`
	TotalOutputTokens    int     `json:"total_output_tokens"`
	TotalReasoningTokens int     `json:"total_reasoning_tokens"`
	TraceId              string  `json:"trace_id"`
	WbUserId             *string `json:"wb_user_id"`
}

AgentTraceChatRes Structured chat view: a linear sequence of messages representing the agent trajectory for a single trace.

type AgentTraceChatResStatusCode added in v0.2.0

type AgentTraceChatResStatusCode string

AgentTraceChatResStatusCode defines model for AgentTraceChatRes.StatusCode.

const (
	AgentTraceChatResStatusCodeERROR AgentTraceChatResStatusCode = "ERROR"
	AgentTraceChatResStatusCodeOK    AgentTraceChatResStatusCode = "OK"
	AgentTraceChatResStatusCodeUNSET AgentTraceChatResStatusCode = "UNSET"
)

Defines values for AgentTraceChatResStatusCode.

func (AgentTraceChatResStatusCode) Valid added in v0.2.0

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

type AgentVersionSchema added in v0.2.0

type AgentVersionSchema struct {
	AgentName         string     `json:"agent_name"`
	AgentVersion      string     `json:"agent_version"`
	ErrorCount        int        `json:"error_count"`
	FirstSeen         *time.Time `json:"first_seen"`
	InvocationCount   int        `json:"invocation_count"`
	LastSeen          *time.Time `json:"last_seen"`
	ProjectId         string     `json:"project_id"`
	SpanCount         int        `json:"span_count"`
	TotalCostUsd      *float64   `json:"total_cost_usd"`
	TotalDurationMs   int        `json:"total_duration_ms"`
	TotalInputTokens  int        `json:"total_input_tokens"`
	TotalOutputTokens int        `json:"total_output_tokens"`
}

AgentVersionSchema Aggregated per-version stats from the agent_versions AMT.

type AgentVersionsQueryReq added in v0.2.0

type AgentVersionsQueryReq struct {
	AgentName    string         `json:"agent_name"`
	IncludeCosts *bool          `json:"include_costs,omitempty"`
	Limit        *int           `json:"limit,omitempty"`
	Offset       *int           `json:"offset,omitempty"`
	ProjectId    string         `json:"project_id"`
	SortBy       *[]AgentSortBy `json:"sort_by,omitempty"`
}

AgentVersionsQueryReq Request to list versions for an agent.

type AgentVersionsQueryRes added in v0.2.0

type AgentVersionsQueryRes struct {
	TotalCount int                  `json:"total_count"`
	Versions   []AgentVersionSchema `json:"versions"`
}

AgentVersionsQueryRes Response containing agent version stats.

type AgentsQueryFilters added in v0.2.0

type AgentsQueryFilters struct {
	AgentName *string `json:"agent_name,omitempty"`
}

AgentsQueryFilters Optional filters for querying agents.

type AgentsQueryReq added in v0.2.0

type AgentsQueryReq struct {
	Filters      *AgentsQueryFilters `json:"filters,omitempty"`
	IncludeCosts *bool               `json:"include_costs,omitempty"`
	Limit        *int                `json:"limit,omitempty"`
	Offset       *int                `json:"offset,omitempty"`
	ProjectId    string              `json:"project_id"`
	SortBy       *[]AgentSortBy      `json:"sort_by,omitempty"`
}

AgentsQueryReq Request to list agents with aggregated stats for a project.

type AgentsQueryRes added in v0.2.0

type AgentsQueryRes struct {
	Agents     []AgentSchema `json:"agents"`
	TotalCount int           `json:"total_count"`
}

AgentsQueryRes Response containing aggregated agent stats.

type AggregationType

type AggregationType string

AggregationType Aggregation functions supported by feedback and call stats metrics.

const (
	AggregationTypeAvg        AggregationType = "avg"
	AggregationTypeCount      AggregationType = "count"
	AggregationTypeCountFalse AggregationType = "count_false"
	AggregationTypeCountTrue  AggregationType = "count_true"
	AggregationTypeMax        AggregationType = "max"
	AggregationTypeMin        AggregationType = "min"
	AggregationTypeSum        AggregationType = "sum"
)

Defines values for AggregationType.

func (AggregationType) Valid

func (e AggregationType) Valid() bool

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

type AliasesListAliasesGetParams added in v0.2.0

type AliasesListAliasesGetParams struct {
	ProjectId string `form:"project_id" json:"project_id"`
}

AliasesListAliasesGetParams defines parameters for AliasesListAliasesGet.

type AliasesListAliasesGetResponse added in v0.2.0

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

func ParseAliasesListAliasesGetResponse added in v0.2.0

func ParseAliasesListAliasesGetResponse(rsp *http.Response) (*AliasesListAliasesGetResponse, error)

ParseAliasesListAliasesGetResponse parses an HTTP response from a AliasesListAliasesGetWithResponse call

func (AliasesListAliasesGetResponse) ContentType added in v0.2.0

func (r AliasesListAliasesGetResponse) ContentType() string

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

func (AliasesListAliasesGetResponse) GetBody added in v0.2.0

func (r AliasesListAliasesGetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AliasesListAliasesGetResponse) GetJSON200 added in v0.2.0

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

func (AliasesListAliasesGetResponse) GetJSON422 added in v0.2.0

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

func (AliasesListAliasesGetResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (AliasesListAliasesGetResponse) StatusCode added in v0.2.0

func (r AliasesListAliasesGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AliasesListRes added in v0.2.0

type AliasesListRes struct {
	Aliases []string `json:"aliases"`
}

AliasesListRes defines model for AliasesListRes.

type AndOperation

type AndOperation struct {
	And []AndOperation_And_Item `json:"$and"`
}

AndOperation Logical AND. All conditions must evaluate to true.

Example:

```
{
    "$and": [
        {"$eq": [{"$getField": "op_name"}, {"$literal": "predict"}]},
        {"$gt": [{"$getField": "summary.usage.tokens"}, {"$literal": 1000}]}
    ]
}
```

type AndOperation_And_Item added in v0.2.0

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

AndOperation_And_Item defines model for AndOperation.$and.Item.

func (AndOperation_And_Item) AsAndOperation added in v0.2.0

func (t AndOperation_And_Item) AsAndOperation() (AndOperation, error)

AsAndOperation returns the union data inside the AndOperation_And_Item as a AndOperation

func (AndOperation_And_Item) AsContainsOperation added in v0.2.0

func (t AndOperation_And_Item) AsContainsOperation() (ContainsOperation, error)

AsContainsOperation returns the union data inside the AndOperation_And_Item as a ContainsOperation

func (AndOperation_And_Item) AsConvertOperation added in v0.2.0

func (t AndOperation_And_Item) AsConvertOperation() (ConvertOperation, error)

AsConvertOperation returns the union data inside the AndOperation_And_Item as a ConvertOperation

func (AndOperation_And_Item) AsEqOperation added in v0.2.0

func (t AndOperation_And_Item) AsEqOperation() (EqOperation, error)

AsEqOperation returns the union data inside the AndOperation_And_Item as a EqOperation

func (AndOperation_And_Item) AsGetFieldOperator added in v0.2.0

func (t AndOperation_And_Item) AsGetFieldOperator() (GetFieldOperator, error)

AsGetFieldOperator returns the union data inside the AndOperation_And_Item as a GetFieldOperator

func (AndOperation_And_Item) AsGtOperation added in v0.2.0

func (t AndOperation_And_Item) AsGtOperation() (GtOperation, error)

AsGtOperation returns the union data inside the AndOperation_And_Item as a GtOperation

func (AndOperation_And_Item) AsGteOperation added in v0.2.0

func (t AndOperation_And_Item) AsGteOperation() (GteOperation, error)

AsGteOperation returns the union data inside the AndOperation_And_Item as a GteOperation

func (AndOperation_And_Item) AsInOperation added in v0.2.0

func (t AndOperation_And_Item) AsInOperation() (InOperation, error)

AsInOperation returns the union data inside the AndOperation_And_Item as a InOperation

func (AndOperation_And_Item) AsLiteralOperation added in v0.2.0

func (t AndOperation_And_Item) AsLiteralOperation() (LiteralOperation, error)

AsLiteralOperation returns the union data inside the AndOperation_And_Item as a LiteralOperation

func (AndOperation_And_Item) AsLtOperation added in v0.2.0

func (t AndOperation_And_Item) AsLtOperation() (LtOperation, error)

AsLtOperation returns the union data inside the AndOperation_And_Item as a LtOperation

func (AndOperation_And_Item) AsLteOperation added in v0.2.0

func (t AndOperation_And_Item) AsLteOperation() (LteOperation, error)

AsLteOperation returns the union data inside the AndOperation_And_Item as a LteOperation

func (AndOperation_And_Item) AsNotOperation added in v0.2.0

func (t AndOperation_And_Item) AsNotOperation() (NotOperation, error)

AsNotOperation returns the union data inside the AndOperation_And_Item as a NotOperation

func (AndOperation_And_Item) AsOrOperation added in v0.2.0

func (t AndOperation_And_Item) AsOrOperation() (OrOperation, error)

AsOrOperation returns the union data inside the AndOperation_And_Item as a OrOperation

func (AndOperation_And_Item) AsSizeOperation added in v0.2.0

func (t AndOperation_And_Item) AsSizeOperation() (SizeOperation, error)

AsSizeOperation returns the union data inside the AndOperation_And_Item as a SizeOperation

func (*AndOperation_And_Item) FromAndOperation added in v0.2.0

func (t *AndOperation_And_Item) FromAndOperation(v AndOperation) error

FromAndOperation overwrites any union data inside the AndOperation_And_Item as the provided AndOperation

func (*AndOperation_And_Item) FromContainsOperation added in v0.2.0

func (t *AndOperation_And_Item) FromContainsOperation(v ContainsOperation) error

FromContainsOperation overwrites any union data inside the AndOperation_And_Item as the provided ContainsOperation

func (*AndOperation_And_Item) FromConvertOperation added in v0.2.0

func (t *AndOperation_And_Item) FromConvertOperation(v ConvertOperation) error

FromConvertOperation overwrites any union data inside the AndOperation_And_Item as the provided ConvertOperation

func (*AndOperation_And_Item) FromEqOperation added in v0.2.0

func (t *AndOperation_And_Item) FromEqOperation(v EqOperation) error

FromEqOperation overwrites any union data inside the AndOperation_And_Item as the provided EqOperation

func (*AndOperation_And_Item) FromGetFieldOperator added in v0.2.0

func (t *AndOperation_And_Item) FromGetFieldOperator(v GetFieldOperator) error

FromGetFieldOperator overwrites any union data inside the AndOperation_And_Item as the provided GetFieldOperator

func (*AndOperation_And_Item) FromGtOperation added in v0.2.0

func (t *AndOperation_And_Item) FromGtOperation(v GtOperation) error

FromGtOperation overwrites any union data inside the AndOperation_And_Item as the provided GtOperation

func (*AndOperation_And_Item) FromGteOperation added in v0.2.0

func (t *AndOperation_And_Item) FromGteOperation(v GteOperation) error

FromGteOperation overwrites any union data inside the AndOperation_And_Item as the provided GteOperation

func (*AndOperation_And_Item) FromInOperation added in v0.2.0

func (t *AndOperation_And_Item) FromInOperation(v InOperation) error

FromInOperation overwrites any union data inside the AndOperation_And_Item as the provided InOperation

func (*AndOperation_And_Item) FromLiteralOperation added in v0.2.0

func (t *AndOperation_And_Item) FromLiteralOperation(v LiteralOperation) error

FromLiteralOperation overwrites any union data inside the AndOperation_And_Item as the provided LiteralOperation

func (*AndOperation_And_Item) FromLtOperation added in v0.2.0

func (t *AndOperation_And_Item) FromLtOperation(v LtOperation) error

FromLtOperation overwrites any union data inside the AndOperation_And_Item as the provided LtOperation

func (*AndOperation_And_Item) FromLteOperation added in v0.2.0

func (t *AndOperation_And_Item) FromLteOperation(v LteOperation) error

FromLteOperation overwrites any union data inside the AndOperation_And_Item as the provided LteOperation

func (*AndOperation_And_Item) FromNotOperation added in v0.2.0

func (t *AndOperation_And_Item) FromNotOperation(v NotOperation) error

FromNotOperation overwrites any union data inside the AndOperation_And_Item as the provided NotOperation

func (*AndOperation_And_Item) FromOrOperation added in v0.2.0

func (t *AndOperation_And_Item) FromOrOperation(v OrOperation) error

FromOrOperation overwrites any union data inside the AndOperation_And_Item as the provided OrOperation

func (*AndOperation_And_Item) FromSizeOperation added in v0.2.0

func (t *AndOperation_And_Item) FromSizeOperation(v SizeOperation) error

FromSizeOperation overwrites any union data inside the AndOperation_And_Item as the provided SizeOperation

func (AndOperation_And_Item) MarshalJSON added in v0.2.0

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

func (*AndOperation_And_Item) MergeAndOperation added in v0.2.0

func (t *AndOperation_And_Item) MergeAndOperation(v AndOperation) error

MergeAndOperation performs a merge with any union data inside the AndOperation_And_Item, using the provided AndOperation

func (*AndOperation_And_Item) MergeContainsOperation added in v0.2.0

func (t *AndOperation_And_Item) MergeContainsOperation(v ContainsOperation) error

MergeContainsOperation performs a merge with any union data inside the AndOperation_And_Item, using the provided ContainsOperation

func (*AndOperation_And_Item) MergeConvertOperation added in v0.2.0

func (t *AndOperation_And_Item) MergeConvertOperation(v ConvertOperation) error

MergeConvertOperation performs a merge with any union data inside the AndOperation_And_Item, using the provided ConvertOperation

func (*AndOperation_And_Item) MergeEqOperation added in v0.2.0

func (t *AndOperation_And_Item) MergeEqOperation(v EqOperation) error

MergeEqOperation performs a merge with any union data inside the AndOperation_And_Item, using the provided EqOperation

func (*AndOperation_And_Item) MergeGetFieldOperator added in v0.2.0

func (t *AndOperation_And_Item) MergeGetFieldOperator(v GetFieldOperator) error

MergeGetFieldOperator performs a merge with any union data inside the AndOperation_And_Item, using the provided GetFieldOperator

func (*AndOperation_And_Item) MergeGtOperation added in v0.2.0

func (t *AndOperation_And_Item) MergeGtOperation(v GtOperation) error

MergeGtOperation performs a merge with any union data inside the AndOperation_And_Item, using the provided GtOperation

func (*AndOperation_And_Item) MergeGteOperation added in v0.2.0

func (t *AndOperation_And_Item) MergeGteOperation(v GteOperation) error

MergeGteOperation performs a merge with any union data inside the AndOperation_And_Item, using the provided GteOperation

func (*AndOperation_And_Item) MergeInOperation added in v0.2.0

func (t *AndOperation_And_Item) MergeInOperation(v InOperation) error

MergeInOperation performs a merge with any union data inside the AndOperation_And_Item, using the provided InOperation

func (*AndOperation_And_Item) MergeLiteralOperation added in v0.2.0

func (t *AndOperation_And_Item) MergeLiteralOperation(v LiteralOperation) error

MergeLiteralOperation performs a merge with any union data inside the AndOperation_And_Item, using the provided LiteralOperation

func (*AndOperation_And_Item) MergeLtOperation added in v0.2.0

func (t *AndOperation_And_Item) MergeLtOperation(v LtOperation) error

MergeLtOperation performs a merge with any union data inside the AndOperation_And_Item, using the provided LtOperation

func (*AndOperation_And_Item) MergeLteOperation added in v0.2.0

func (t *AndOperation_And_Item) MergeLteOperation(v LteOperation) error

MergeLteOperation performs a merge with any union data inside the AndOperation_And_Item, using the provided LteOperation

func (*AndOperation_And_Item) MergeNotOperation added in v0.2.0

func (t *AndOperation_And_Item) MergeNotOperation(v NotOperation) error

MergeNotOperation performs a merge with any union data inside the AndOperation_And_Item, using the provided NotOperation

func (*AndOperation_And_Item) MergeOrOperation added in v0.2.0

func (t *AndOperation_And_Item) MergeOrOperation(v OrOperation) error

MergeOrOperation performs a merge with any union data inside the AndOperation_And_Item, using the provided OrOperation

func (*AndOperation_And_Item) MergeSizeOperation added in v0.2.0

func (t *AndOperation_And_Item) MergeSizeOperation(v SizeOperation) error

MergeSizeOperation performs a merge with any union data inside the AndOperation_And_Item, using the provided SizeOperation

func (*AndOperation_And_Item) UnmarshalJSON added in v0.2.0

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

type AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostJSONRequestBody

type AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostJSONRequestBody = AnnotationQueueAddCallsBody

AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostJSONRequestBody defines body for AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPost for application/json ContentType.

type AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostResponse

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

func ParseAnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostResponse

func ParseAnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostResponse(rsp *http.Response) (*AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostResponse, error)

ParseAnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostResponse parses an HTTP response from a AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostWithResponse call

func (AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostResponse) ContentType

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

func (AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostResponse) GetBody

GetBody returns the raw response body bytes

func (AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostResponse) GetJSON200

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

func (AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostResponse) GetJSON422

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

func (AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostResponse) Status

Status returns HTTPResponse.Status

func (AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AnnotationQueueAddCallsBody

type AnnotationQueueAddCallsBody struct {
	// CallIds Examples: ["call-1","call-2","call-3"]
	CallIds []string `json:"call_ids"`

	// DisplayFields JSON paths to display to annotators
	//
	// Examples: ["input.prompt","output.text"]
	DisplayFields []string `json:"display_fields"`

	// ProjectId Examples: entity/project
	ProjectId string `json:"project_id"`
}

AnnotationQueueAddCallsBody Request body for adding calls to an annotation queue (queue_id comes from path).

type AnnotationQueueAddCallsRes

type AnnotationQueueAddCallsRes struct {
	AddedCount int `json:"added_count"`
	Duplicates int `json:"duplicates"`
}

AnnotationQueueAddCallsRes Response from adding calls to a queue.

type AnnotationQueueCreateAnnotationQueuesPostJSONRequestBody

type AnnotationQueueCreateAnnotationQueuesPostJSONRequestBody = AnnotationQueueCreateReq

AnnotationQueueCreateAnnotationQueuesPostJSONRequestBody defines body for AnnotationQueueCreateAnnotationQueuesPost for application/json ContentType.

type AnnotationQueueCreateAnnotationQueuesPostResponse

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

func ParseAnnotationQueueCreateAnnotationQueuesPostResponse

func ParseAnnotationQueueCreateAnnotationQueuesPostResponse(rsp *http.Response) (*AnnotationQueueCreateAnnotationQueuesPostResponse, error)

ParseAnnotationQueueCreateAnnotationQueuesPostResponse parses an HTTP response from a AnnotationQueueCreateAnnotationQueuesPostWithResponse call

func (AnnotationQueueCreateAnnotationQueuesPostResponse) ContentType

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

func (AnnotationQueueCreateAnnotationQueuesPostResponse) GetBody

GetBody returns the raw response body bytes

func (AnnotationQueueCreateAnnotationQueuesPostResponse) GetJSON200

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

func (AnnotationQueueCreateAnnotationQueuesPostResponse) GetJSON422

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

func (AnnotationQueueCreateAnnotationQueuesPostResponse) Status

Status returns HTTPResponse.Status

func (AnnotationQueueCreateAnnotationQueuesPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AnnotationQueueCreateReq

type AnnotationQueueCreateReq struct {
	// Description Examples: Review calls with exceptions
	Description *string `json:"description,omitempty"`

	// Name Examples: Error Review Queue
	Name string `json:"name"`

	// ProjectId Examples: entity/project
	ProjectId string `json:"project_id"`

	// ScorerRefs Examples: ["weave:///entity/project/scorer/error_severity:abc123","weave:///entity/project/scorer/resolution_quality:def456"]
	ScorerRefs []string `json:"scorer_refs"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`
}

AnnotationQueueCreateReq Request to create a new annotation queue.

type AnnotationQueueCreateRes

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

AnnotationQueueCreateRes Response from creating an annotation queue.

type AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteParams added in v0.2.0

type AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteParams struct {
	ProjectId string `form:"project_id" json:"project_id"`
}

AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteParams defines parameters for AnnotationQueueDeleteAnnotationQueuesQueueIdDelete.

type AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteResponse added in v0.2.0

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

func ParseAnnotationQueueDeleteAnnotationQueuesQueueIdDeleteResponse added in v0.2.0

func ParseAnnotationQueueDeleteAnnotationQueuesQueueIdDeleteResponse(rsp *http.Response) (*AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteResponse, error)

ParseAnnotationQueueDeleteAnnotationQueuesQueueIdDeleteResponse parses an HTTP response from a AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteWithResponse call

func (AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteResponse) ContentType added in v0.2.0

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

func (AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteResponse) GetJSON200 added in v0.2.0

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

func (AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteResponse) GetJSON422 added in v0.2.0

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

func (AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type AnnotationQueueDeleteRes added in v0.2.0

type AnnotationQueueDeleteRes struct {
	// Queue Schema for annotation queue responses.
	Queue AnnotationQueueSchema `json:"queue"`
}

AnnotationQueueDeleteRes Response from deleting an annotation queue.

type AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostJSONRequestBody

type AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostJSONRequestBody = AnnotationQueueItemProgressUpdateBody

AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostJSONRequestBody defines body for AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPost for application/json ContentType.

type AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostResponse

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

func ParseAnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostResponse

func ParseAnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostResponse(rsp *http.Response) (*AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostResponse, error)

ParseAnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostResponse parses an HTTP response from a AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostWithResponse call

func (AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostResponse) ContentType

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

func (AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostResponse) GetBody

GetBody returns the raw response body bytes

func (AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostResponse) GetJSON200

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

func (AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostResponse) GetJSON422

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

func (AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostResponse) Status

Status returns HTTPResponse.Status

func (AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AnnotationQueueItemProgressUpdateBody

type AnnotationQueueItemProgressUpdateBody struct {
	// AnnotationState New state: 'in_progress', 'completed', or 'skipped'
	//
	// Examples: in_progress, completed, skipped
	AnnotationState string `json:"annotation_state"`

	// ProjectId Examples: entity/project
	ProjectId string `json:"project_id"`
}

AnnotationQueueItemProgressUpdateBody Request body for updating annotation progress (queue_id and item_id come from path).

Note: wb_user_id is not included in the body - it's set server-side from the authenticated session.

type AnnotationQueueItemSchema

type AnnotationQueueItemSchema struct {
	AddedBy         *string                                  `json:"added_by,omitempty"`
	AnnotationState AnnotationQueueItemSchemaAnnotationState `json:"annotation_state"`
	AnnotatorUserId *string                                  `json:"annotator_user_id,omitempty"`
	CallEndedAt     *time.Time                               `json:"call_ended_at,omitempty"`
	CallId          string                                   `json:"call_id"`
	CallOpName      string                                   `json:"call_op_name"`
	CallStartedAt   time.Time                                `json:"call_started_at"`
	CallTraceId     string                                   `json:"call_trace_id"`
	CreatedAt       time.Time                                `json:"created_at"`
	CreatedBy       string                                   `json:"created_by"`
	DeletedAt       *time.Time                               `json:"deleted_at,omitempty"`
	DisplayFields   []string                                 `json:"display_fields"`
	Id              string                                   `json:"id"`
	PositionInQueue *int                                     `json:"position_in_queue,omitempty"`
	ProjectId       string                                   `json:"project_id"`
	QueueId         string                                   `json:"queue_id"`
	UpdatedAt       time.Time                                `json:"updated_at"`
}

AnnotationQueueItemSchema Schema for annotation queue item responses.

type AnnotationQueueItemSchemaAnnotationState

type AnnotationQueueItemSchemaAnnotationState string

AnnotationQueueItemSchemaAnnotationState defines model for AnnotationQueueItemSchema.AnnotationState.

const (
	AnnotationQueueItemSchemaAnnotationStateCompleted  AnnotationQueueItemSchemaAnnotationState = "completed"
	AnnotationQueueItemSchemaAnnotationStateInProgress AnnotationQueueItemSchemaAnnotationState = "in_progress"
	AnnotationQueueItemSchemaAnnotationStateSkipped    AnnotationQueueItemSchemaAnnotationState = "skipped"
	AnnotationQueueItemSchemaAnnotationStateUnstarted  AnnotationQueueItemSchemaAnnotationState = "unstarted"
)

Defines values for AnnotationQueueItemSchemaAnnotationState.

func (AnnotationQueueItemSchemaAnnotationState) Valid

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

type AnnotationQueueItemsFilter

type AnnotationQueueItemsFilter struct {
	// AddedBy Filter by W&B user ID who added the call
	AddedBy *string `json:"added_by,omitempty"`

	// AnnotationStates Filter by annotation states (unstarted, in_progress, completed, skipped)
	//
	// Examples: ["unstarted","in_progress"]
	AnnotationStates *[]AnnotationQueueItemsFilterAnnotationStates `json:"annotation_states,omitempty"`

	// CallId Filter by exact call ID
	CallId *string `json:"call_id,omitempty"`

	// CallOpName Filter by exact operation name
	CallOpName *string `json:"call_op_name,omitempty"`

	// CallTraceId Filter by exact trace ID
	CallTraceId *string `json:"call_trace_id,omitempty"`

	// Id Filter by exact queue item ID
	Id *string `json:"id,omitempty"`
}

AnnotationQueueItemsFilter Simple filter for annotation queue items.

Supports equality filtering on call metadata fields and IN filtering on annotation state.

type AnnotationQueueItemsFilterAnnotationStates

type AnnotationQueueItemsFilterAnnotationStates string

AnnotationQueueItemsFilterAnnotationStates defines model for AnnotationQueueItemsFilter.AnnotationStates.

const (
	AnnotationQueueItemsFilterAnnotationStatesCompleted  AnnotationQueueItemsFilterAnnotationStates = "completed"
	AnnotationQueueItemsFilterAnnotationStatesInProgress AnnotationQueueItemsFilterAnnotationStates = "in_progress"
	AnnotationQueueItemsFilterAnnotationStatesSkipped    AnnotationQueueItemsFilterAnnotationStates = "skipped"
	AnnotationQueueItemsFilterAnnotationStatesUnstarted  AnnotationQueueItemsFilterAnnotationStates = "unstarted"
)

Defines values for AnnotationQueueItemsFilterAnnotationStates.

func (AnnotationQueueItemsFilterAnnotationStates) Valid

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

type AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostJSONRequestBody

type AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostJSONRequestBody = AnnotationQueueItemsQueryBody

AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostJSONRequestBody defines body for AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPost for application/json ContentType.

type AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostResponse

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

func ParseAnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostResponse

func ParseAnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostResponse(rsp *http.Response) (*AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostResponse, error)

ParseAnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostResponse parses an HTTP response from a AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostWithResponse call

func (AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostResponse) ContentType

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

func (AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostResponse) GetBody

GetBody returns the raw response body bytes

func (AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostResponse) GetJSON200

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

func (AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostResponse) GetJSON422

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

func (AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostResponse) Status

Status returns HTTPResponse.Status

func (AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AnnotationQueueItemsQueryBody

type AnnotationQueueItemsQueryBody struct {
	// Filter Filter queue items by call metadata and annotation state
	Filter *AnnotationQueueItemsFilter `json:"filter,omitempty"`

	// IncludePosition Include position_in_queue field (1-based index in full queue)
	IncludePosition *bool `json:"include_position,omitempty"`

	// Limit Examples: 50
	Limit *int `json:"limit,omitempty"`

	// Offset Examples: 0
	Offset *int `json:"offset,omitempty"`

	// ProjectId Examples: entity/project
	ProjectId string `json:"project_id"`

	// SortBy Sort by multiple fields (e.g., created_at, updated_at)
	SortBy *[]SortBy `json:"sort_by,omitempty"`
}

AnnotationQueueItemsQueryBody Request body for querying items in an annotation queue (queue_id comes from path).

type AnnotationQueueItemsQueryRes

type AnnotationQueueItemsQueryRes struct {
	Items []AnnotationQueueItemSchema `json:"items"`
}

AnnotationQueueItemsQueryRes Response from querying annotation queue items.

type AnnotationQueueReadAnnotationQueuesQueueIdGetParams

type AnnotationQueueReadAnnotationQueuesQueueIdGetParams struct {
	ProjectId string `form:"project_id" json:"project_id"`
}

AnnotationQueueReadAnnotationQueuesQueueIdGetParams defines parameters for AnnotationQueueReadAnnotationQueuesQueueIdGet.

type AnnotationQueueReadAnnotationQueuesQueueIdGetResponse

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

func ParseAnnotationQueueReadAnnotationQueuesQueueIdGetResponse

func ParseAnnotationQueueReadAnnotationQueuesQueueIdGetResponse(rsp *http.Response) (*AnnotationQueueReadAnnotationQueuesQueueIdGetResponse, error)

ParseAnnotationQueueReadAnnotationQueuesQueueIdGetResponse parses an HTTP response from a AnnotationQueueReadAnnotationQueuesQueueIdGetWithResponse call

func (AnnotationQueueReadAnnotationQueuesQueueIdGetResponse) ContentType

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

func (AnnotationQueueReadAnnotationQueuesQueueIdGetResponse) GetBody

GetBody returns the raw response body bytes

func (AnnotationQueueReadAnnotationQueuesQueueIdGetResponse) GetJSON200

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

func (AnnotationQueueReadAnnotationQueuesQueueIdGetResponse) GetJSON422

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

func (AnnotationQueueReadAnnotationQueuesQueueIdGetResponse) Status

Status returns HTTPResponse.Status

func (AnnotationQueueReadAnnotationQueuesQueueIdGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AnnotationQueueReadRes

type AnnotationQueueReadRes struct {
	// Queue Schema for annotation queue responses.
	Queue AnnotationQueueSchema `json:"queue"`
}

AnnotationQueueReadRes Response from reading an annotation queue.

type AnnotationQueueSchema

type AnnotationQueueSchema struct {
	CreatedAt   time.Time  `json:"created_at"`
	CreatedBy   string     `json:"created_by"`
	DeletedAt   *time.Time `json:"deleted_at,omitempty"`
	Description string     `json:"description"`
	Id          string     `json:"id"`
	Name        string     `json:"name"`
	ProjectId   string     `json:"project_id"`
	ScorerRefs  []string   `json:"scorer_refs"`
	UpdatedAt   time.Time  `json:"updated_at"`
}

AnnotationQueueSchema Schema for annotation queue responses.

type AnnotationQueueStatsSchema

type AnnotationQueueStatsSchema struct {
	// CompletedItems Number of items completed or skipped by at least one annotator
	CompletedItems int `json:"completed_items"`

	// QueueId The queue ID
	//
	// Examples: 550e8400-e29b-41d4-a716-446655440000
	QueueId string `json:"queue_id"`

	// TotalItems Total number of items in the queue
	TotalItems int `json:"total_items"`
}

AnnotationQueueStatsSchema Statistics for a single annotation queue.

type AnnotationQueueUpdateAnnotationQueuesQueueIdPutJSONRequestBody added in v0.2.0

type AnnotationQueueUpdateAnnotationQueuesQueueIdPutJSONRequestBody = AnnotationQueueUpdateBody

AnnotationQueueUpdateAnnotationQueuesQueueIdPutJSONRequestBody defines body for AnnotationQueueUpdateAnnotationQueuesQueueIdPut for application/json ContentType.

type AnnotationQueueUpdateAnnotationQueuesQueueIdPutResponse added in v0.2.0

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

func ParseAnnotationQueueUpdateAnnotationQueuesQueueIdPutResponse added in v0.2.0

func ParseAnnotationQueueUpdateAnnotationQueuesQueueIdPutResponse(rsp *http.Response) (*AnnotationQueueUpdateAnnotationQueuesQueueIdPutResponse, error)

ParseAnnotationQueueUpdateAnnotationQueuesQueueIdPutResponse parses an HTTP response from a AnnotationQueueUpdateAnnotationQueuesQueueIdPutWithResponse call

func (AnnotationQueueUpdateAnnotationQueuesQueueIdPutResponse) ContentType added in v0.2.0

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

func (AnnotationQueueUpdateAnnotationQueuesQueueIdPutResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (AnnotationQueueUpdateAnnotationQueuesQueueIdPutResponse) GetJSON200 added in v0.2.0

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

func (AnnotationQueueUpdateAnnotationQueuesQueueIdPutResponse) GetJSON422 added in v0.2.0

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

func (AnnotationQueueUpdateAnnotationQueuesQueueIdPutResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (AnnotationQueueUpdateAnnotationQueuesQueueIdPutResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type AnnotationQueueUpdateBody added in v0.2.0

type AnnotationQueueUpdateBody struct {
	// Description Examples: Updated description
	Description *string `json:"description,omitempty"`

	// Name Examples: Updated Queue Name
	Name *string `json:"name,omitempty"`

	// ProjectId Examples: entity/project
	ProjectId string `json:"project_id"`

	// ScorerRefs Examples: ["weave:///entity/project/scorer/error_severity:abc123","weave:///entity/project/scorer/resolution_quality:def456"]
	ScorerRefs *[]string `json:"scorer_refs,omitempty"`
}

AnnotationQueueUpdateBody Request body for updating an annotation queue (queue_id comes from path).

All fields except project_id are optional - only provided fields will be updated.

type AnnotationQueueUpdateRes added in v0.2.0

type AnnotationQueueUpdateRes struct {
	// Queue Schema for annotation queue responses.
	Queue AnnotationQueueSchema `json:"queue"`
}

AnnotationQueueUpdateRes Response from updating an annotation queue.

type AnnotationQueuesQueryReq

type AnnotationQueuesQueryReq struct {
	// Limit Examples: 10
	Limit *int `json:"limit,omitempty"`

	// Name Filter by queue name (case-insensitive partial match)
	//
	// Examples: Error
	Name *string `json:"name,omitempty"`

	// Offset Examples: 0
	Offset *int `json:"offset,omitempty"`

	// ProjectId Examples: entity/project
	ProjectId string `json:"project_id"`

	// SortBy Sort by multiple fields (e.g., created_at, updated_at, name)
	SortBy *[]SortBy `json:"sort_by,omitempty"`
}

AnnotationQueuesQueryReq Request to query annotation queues for a project.

type AnnotationQueuesQueryStreamAnnotationQueuesQueryPostJSONRequestBody

type AnnotationQueuesQueryStreamAnnotationQueuesQueryPostJSONRequestBody = AnnotationQueuesQueryReq

AnnotationQueuesQueryStreamAnnotationQueuesQueryPostJSONRequestBody defines body for AnnotationQueuesQueryStreamAnnotationQueuesQueryPost for application/json ContentType.

type AnnotationQueuesQueryStreamAnnotationQueuesQueryPostResponse

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

func ParseAnnotationQueuesQueryStreamAnnotationQueuesQueryPostResponse

func ParseAnnotationQueuesQueryStreamAnnotationQueuesQueryPostResponse(rsp *http.Response) (*AnnotationQueuesQueryStreamAnnotationQueuesQueryPostResponse, error)

ParseAnnotationQueuesQueryStreamAnnotationQueuesQueryPostResponse parses an HTTP response from a AnnotationQueuesQueryStreamAnnotationQueuesQueryPostWithResponse call

func (AnnotationQueuesQueryStreamAnnotationQueuesQueryPostResponse) ContentType

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

func (AnnotationQueuesQueryStreamAnnotationQueuesQueryPostResponse) GetBody

GetBody returns the raw response body bytes

func (AnnotationQueuesQueryStreamAnnotationQueuesQueryPostResponse) GetJSON422

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

func (AnnotationQueuesQueryStreamAnnotationQueuesQueryPostResponse) Status

Status returns HTTPResponse.Status

func (AnnotationQueuesQueryStreamAnnotationQueuesQueryPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AnnotationQueuesStatsAnnotationQueuesStatsPostJSONRequestBody

type AnnotationQueuesStatsAnnotationQueuesStatsPostJSONRequestBody = AnnotationQueuesStatsReq

AnnotationQueuesStatsAnnotationQueuesStatsPostJSONRequestBody defines body for AnnotationQueuesStatsAnnotationQueuesStatsPost for application/json ContentType.

type AnnotationQueuesStatsAnnotationQueuesStatsPostResponse

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

func ParseAnnotationQueuesStatsAnnotationQueuesStatsPostResponse

func ParseAnnotationQueuesStatsAnnotationQueuesStatsPostResponse(rsp *http.Response) (*AnnotationQueuesStatsAnnotationQueuesStatsPostResponse, error)

ParseAnnotationQueuesStatsAnnotationQueuesStatsPostResponse parses an HTTP response from a AnnotationQueuesStatsAnnotationQueuesStatsPostWithResponse call

func (AnnotationQueuesStatsAnnotationQueuesStatsPostResponse) ContentType

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

func (AnnotationQueuesStatsAnnotationQueuesStatsPostResponse) GetBody

GetBody returns the raw response body bytes

func (AnnotationQueuesStatsAnnotationQueuesStatsPostResponse) GetJSON200

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

func (AnnotationQueuesStatsAnnotationQueuesStatsPostResponse) GetJSON422

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

func (AnnotationQueuesStatsAnnotationQueuesStatsPostResponse) Status

Status returns HTTPResponse.Status

func (AnnotationQueuesStatsAnnotationQueuesStatsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AnnotationQueuesStatsReq

type AnnotationQueuesStatsReq struct {
	// ProjectId Examples: entity/project
	ProjectId string `json:"project_id"`

	// QueueIds List of queue IDs to get stats for
	//
	// Examples: ["550e8400-e29b-41d4-a716-446655440000","550e8400-e29b-41d4-a716-446655440001"]
	QueueIds []string `json:"queue_ids"`
}

AnnotationQueuesStatsReq Request to get stats for multiple annotation queues.

type AnnotationQueuesStatsRes

type AnnotationQueuesStatsRes struct {
	Stats []AnnotationQueueStatsSchema `json:"stats"`
}

AnnotationQueuesStatsRes Response with stats for multiple annotation queues.

type AnnotatorQueueItemsProgressUpdateRes

type AnnotatorQueueItemsProgressUpdateRes struct {
	// Item Schema for annotation queue item responses.
	Item AnnotationQueueItemSchema `json:"item"`
}

AnnotatorQueueItemsProgressUpdateRes Response from updating annotation state.

type BodyFileCreateFileCreatePost

type BodyFileCreateFileCreatePost struct {
	ExpectedDigest *string            `json:"expected_digest,omitempty"`
	File           openapi_types.File `json:"file"`
	ProjectId      string             `json:"project_id"`
}

BodyFileCreateFileCreatePost defines model for Body_file_create_file_create_post.

type CallBatchEndMode

type CallBatchEndMode struct {
	Mode *string    `json:"mode,omitempty"`
	Req  CallEndReq `json:"req"`
}

CallBatchEndMode defines model for CallBatchEndMode.

type CallBatchStartMode

type CallBatchStartMode struct {
	Mode *string      `json:"mode,omitempty"`
	Req  CallStartReq `json:"req"`
}

CallBatchStartMode defines model for CallBatchStartMode.

type CallCreateBatchReq

type CallCreateBatchReq struct {
	Batch []CallCreateBatchReq_Batch_Item `json:"batch"`
}

CallCreateBatchReq defines model for CallCreateBatchReq.

type CallCreateBatchReq_Batch_Item

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

CallCreateBatchReq_Batch_Item defines model for CallCreateBatchReq.batch.Item.

func (CallCreateBatchReq_Batch_Item) AsCallBatchEndMode

func (t CallCreateBatchReq_Batch_Item) AsCallBatchEndMode() (CallBatchEndMode, error)

AsCallBatchEndMode returns the union data inside the CallCreateBatchReq_Batch_Item as a CallBatchEndMode

func (CallCreateBatchReq_Batch_Item) AsCallBatchStartMode

func (t CallCreateBatchReq_Batch_Item) AsCallBatchStartMode() (CallBatchStartMode, error)

AsCallBatchStartMode returns the union data inside the CallCreateBatchReq_Batch_Item as a CallBatchStartMode

func (*CallCreateBatchReq_Batch_Item) FromCallBatchEndMode

func (t *CallCreateBatchReq_Batch_Item) FromCallBatchEndMode(v CallBatchEndMode) error

FromCallBatchEndMode overwrites any union data inside the CallCreateBatchReq_Batch_Item as the provided CallBatchEndMode

func (*CallCreateBatchReq_Batch_Item) FromCallBatchStartMode

func (t *CallCreateBatchReq_Batch_Item) FromCallBatchStartMode(v CallBatchStartMode) error

FromCallBatchStartMode overwrites any union data inside the CallCreateBatchReq_Batch_Item as the provided CallBatchStartMode

func (CallCreateBatchReq_Batch_Item) MarshalJSON

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

func (*CallCreateBatchReq_Batch_Item) MergeCallBatchEndMode

func (t *CallCreateBatchReq_Batch_Item) MergeCallBatchEndMode(v CallBatchEndMode) error

MergeCallBatchEndMode performs a merge with any union data inside the CallCreateBatchReq_Batch_Item, using the provided CallBatchEndMode

func (*CallCreateBatchReq_Batch_Item) MergeCallBatchStartMode

func (t *CallCreateBatchReq_Batch_Item) MergeCallBatchStartMode(v CallBatchStartMode) error

MergeCallBatchStartMode performs a merge with any union data inside the CallCreateBatchReq_Batch_Item, using the provided CallBatchStartMode

func (*CallCreateBatchReq_Batch_Item) UnmarshalJSON

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

type CallCreateBatchRes

type CallCreateBatchRes struct {
	Res []CallCreateBatchRes_Res_Item `json:"res"`
}

CallCreateBatchRes defines model for CallCreateBatchRes.

type CallCreateBatchRes_Res_Item

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

CallCreateBatchRes_Res_Item defines model for CallCreateBatchRes.res.Item.

func (CallCreateBatchRes_Res_Item) AsCallEndRes

func (t CallCreateBatchRes_Res_Item) AsCallEndRes() (CallEndRes, error)

AsCallEndRes returns the union data inside the CallCreateBatchRes_Res_Item as a CallEndRes

func (CallCreateBatchRes_Res_Item) AsCallStartRes

func (t CallCreateBatchRes_Res_Item) AsCallStartRes() (CallStartRes, error)

AsCallStartRes returns the union data inside the CallCreateBatchRes_Res_Item as a CallStartRes

func (*CallCreateBatchRes_Res_Item) FromCallEndRes

func (t *CallCreateBatchRes_Res_Item) FromCallEndRes(v CallEndRes) error

FromCallEndRes overwrites any union data inside the CallCreateBatchRes_Res_Item as the provided CallEndRes

func (*CallCreateBatchRes_Res_Item) FromCallStartRes

func (t *CallCreateBatchRes_Res_Item) FromCallStartRes(v CallStartRes) error

FromCallStartRes overwrites any union data inside the CallCreateBatchRes_Res_Item as the provided CallStartRes

func (CallCreateBatchRes_Res_Item) MarshalJSON

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

func (*CallCreateBatchRes_Res_Item) MergeCallEndRes

func (t *CallCreateBatchRes_Res_Item) MergeCallEndRes(v CallEndRes) error

MergeCallEndRes performs a merge with any union data inside the CallCreateBatchRes_Res_Item, using the provided CallEndRes

func (*CallCreateBatchRes_Res_Item) MergeCallStartRes

func (t *CallCreateBatchRes_Res_Item) MergeCallStartRes(v CallStartRes) error

MergeCallStartRes performs a merge with any union data inside the CallCreateBatchRes_Res_Item, using the provided CallStartRes

func (*CallCreateBatchRes_Res_Item) UnmarshalJSON

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

type CallEndCallEndPostJSONRequestBody

type CallEndCallEndPostJSONRequestBody = CallEndReq

CallEndCallEndPostJSONRequestBody defines body for CallEndCallEndPost for application/json ContentType.

type CallEndCallEndPostResponse

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

func ParseCallEndCallEndPostResponse

func ParseCallEndCallEndPostResponse(rsp *http.Response) (*CallEndCallEndPostResponse, error)

ParseCallEndCallEndPostResponse parses an HTTP response from a CallEndCallEndPostWithResponse call

func (CallEndCallEndPostResponse) ContentType

func (r CallEndCallEndPostResponse) ContentType() string

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

func (CallEndCallEndPostResponse) GetBody

func (r CallEndCallEndPostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CallEndCallEndPostResponse) GetJSON200

func (r CallEndCallEndPostResponse) GetJSON200() *CallEndRes

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

func (CallEndCallEndPostResponse) GetJSON422

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

func (CallEndCallEndPostResponse) Status

Status returns HTTPResponse.Status

func (CallEndCallEndPostResponse) StatusCode

func (r CallEndCallEndPostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CallEndReq

type CallEndReq struct {
	End EndedCallSchemaForInsert `json:"end"`
}

CallEndReq defines model for CallEndReq.

type CallEndRes

type CallEndRes = map[string]interface{}

CallEndRes defines model for CallEndRes.

type CallMetricSpec

type CallMetricSpec struct {
	// Aggregations Basic aggregation functions to apply
	Aggregations *[]AggregationType `json:"aggregations,omitempty"`

	// Metric Metric to aggregate.
	Metric CallMetricSpecMetric `json:"metric"`

	// Percentiles Percentile values to compute (0-100). E.g., [50, 95, 99] for p50, p95, p99
	Percentiles *[]float64 `json:"percentiles,omitempty"`
}

CallMetricSpec Specification for a call-level metric to aggregate (not grouped by model).

type CallMetricSpecMetric

type CallMetricSpecMetric string

CallMetricSpecMetric Metric to aggregate.

const (
	CallMetricSpecMetricCallCount  CallMetricSpecMetric = "call_count"
	CallMetricSpecMetricErrorCount CallMetricSpecMetric = "error_count"
	CallMetricSpecMetricLatencyMs  CallMetricSpecMetric = "latency_ms"
)

Defines values for CallMetricSpecMetric.

func (CallMetricSpecMetric) Valid

func (e CallMetricSpecMetric) Valid() bool

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

type CallReadCallReadPostJSONRequestBody

type CallReadCallReadPostJSONRequestBody = CallReadReq

CallReadCallReadPostJSONRequestBody defines body for CallReadCallReadPost for application/json ContentType.

type CallReadCallReadPostResponse

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

func ParseCallReadCallReadPostResponse

func ParseCallReadCallReadPostResponse(rsp *http.Response) (*CallReadCallReadPostResponse, error)

ParseCallReadCallReadPostResponse parses an HTTP response from a CallReadCallReadPostWithResponse call

func (CallReadCallReadPostResponse) ContentType

func (r CallReadCallReadPostResponse) ContentType() string

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

func (CallReadCallReadPostResponse) GetBody

func (r CallReadCallReadPostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CallReadCallReadPostResponse) GetJSON200

func (r CallReadCallReadPostResponse) GetJSON200() *CallReadRes

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

func (CallReadCallReadPostResponse) GetJSON422

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

func (CallReadCallReadPostResponse) Status

Status returns HTTPResponse.Status

func (CallReadCallReadPostResponse) StatusCode

func (r CallReadCallReadPostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CallReadReq

type CallReadReq struct {
	Id                      string `json:"id"`
	IncludeCosts            *bool  `json:"include_costs,omitempty"`
	IncludeStorageSize      *bool  `json:"include_storage_size,omitempty"`
	IncludeTotalStorageSize *bool  `json:"include_total_storage_size,omitempty"`
	ProjectId               string `json:"project_id"`
}

CallReadReq defines model for CallReadReq.

type CallReadRes

type CallReadRes struct {
	Call *CallSchema `json:"call"`
}

CallReadRes defines model for CallReadRes.

type CallSchema

type CallSchema struct {
	Attributes  map[string]interface{} `json:"attributes"`
	DeletedAt   *time.Time             `json:"deleted_at,omitempty"`
	DisplayName *string                `json:"display_name,omitempty"`
	EndedAt     *time.Time             `json:"ended_at,omitempty"`
	Exception   *string                `json:"exception,omitempty"`

	// ExpireAt Expiration timestamp for this call. None = no TTL configured for the project (the row will not be expired).
	ExpireAt              *time.Time              `json:"expire_at,omitempty"`
	Id                    string                  `json:"id"`
	Inputs                map[string]interface{}  `json:"inputs"`
	OpName                string                  `json:"op_name"`
	Output                interface{}             `json:"output,omitempty"`
	ParentId              *string                 `json:"parent_id,omitempty"`
	ProjectId             string                  `json:"project_id"`
	StartedAt             time.Time               `json:"started_at"`
	StorageSizeBytes      *int                    `json:"storage_size_bytes,omitempty"`
	Summary               *map[string]interface{} `json:"summary,omitempty"`
	ThreadId              *string                 `json:"thread_id,omitempty"`
	TotalStorageSizeBytes *int                    `json:"total_storage_size_bytes,omitempty"`
	TraceId               string                  `json:"trace_id"`
	TurnId                *string                 `json:"turn_id,omitempty"`
	WbRunId               *string                 `json:"wb_run_id,omitempty"`
	WbRunStep             *int                    `json:"wb_run_step,omitempty"`
	WbRunStepEnd          *int                    `json:"wb_run_step_end,omitempty"`
	WbUserId              *string                 `json:"wb_user_id,omitempty"`
	WbUsername            *string                 `json:"wb_username,omitempty"`
}

CallSchema defines model for CallSchema.

type CallStartBatchCallUpsertBatchPostJSONRequestBody

type CallStartBatchCallUpsertBatchPostJSONRequestBody = CallCreateBatchReq

CallStartBatchCallUpsertBatchPostJSONRequestBody defines body for CallStartBatchCallUpsertBatchPost for application/json ContentType.

type CallStartBatchCallUpsertBatchPostResponse

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

func ParseCallStartBatchCallUpsertBatchPostResponse

func ParseCallStartBatchCallUpsertBatchPostResponse(rsp *http.Response) (*CallStartBatchCallUpsertBatchPostResponse, error)

ParseCallStartBatchCallUpsertBatchPostResponse parses an HTTP response from a CallStartBatchCallUpsertBatchPostWithResponse call

func (CallStartBatchCallUpsertBatchPostResponse) ContentType

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

func (CallStartBatchCallUpsertBatchPostResponse) GetBody

GetBody returns the raw response body bytes

func (CallStartBatchCallUpsertBatchPostResponse) GetJSON200

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

func (CallStartBatchCallUpsertBatchPostResponse) GetJSON422

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

func (CallStartBatchCallUpsertBatchPostResponse) Status

Status returns HTTPResponse.Status

func (CallStartBatchCallUpsertBatchPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CallStartCallStartPostJSONRequestBody

type CallStartCallStartPostJSONRequestBody = CallStartReq

CallStartCallStartPostJSONRequestBody defines body for CallStartCallStartPost for application/json ContentType.

type CallStartCallStartPostResponse

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

func ParseCallStartCallStartPostResponse

func ParseCallStartCallStartPostResponse(rsp *http.Response) (*CallStartCallStartPostResponse, error)

ParseCallStartCallStartPostResponse parses an HTTP response from a CallStartCallStartPostWithResponse call

func (CallStartCallStartPostResponse) ContentType

func (r CallStartCallStartPostResponse) ContentType() string

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

func (CallStartCallStartPostResponse) GetBody

func (r CallStartCallStartPostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CallStartCallStartPostResponse) GetJSON200

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

func (CallStartCallStartPostResponse) GetJSON422

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

func (CallStartCallStartPostResponse) Status

Status returns HTTPResponse.Status

func (CallStartCallStartPostResponse) StatusCode

func (r CallStartCallStartPostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CallStartReq

type CallStartReq struct {
	Start StartedCallSchemaForInsert `json:"start"`
}

CallStartReq defines model for CallStartReq.

type CallStartRes

type CallStartRes struct {
	Id      string `json:"id"`
	TraceId string `json:"trace_id"`
}

CallStartRes defines model for CallStartRes.

type CallStatsCallsStatsPostJSONRequestBody

type CallStatsCallsStatsPostJSONRequestBody = CallStatsReq

CallStatsCallsStatsPostJSONRequestBody defines body for CallStatsCallsStatsPost for application/json ContentType.

type CallStatsCallsStatsPostResponse

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

func ParseCallStatsCallsStatsPostResponse

func ParseCallStatsCallsStatsPostResponse(rsp *http.Response) (*CallStatsCallsStatsPostResponse, error)

ParseCallStatsCallsStatsPostResponse parses an HTTP response from a CallStatsCallsStatsPostWithResponse call

func (CallStatsCallsStatsPostResponse) ContentType

func (r CallStatsCallsStatsPostResponse) ContentType() string

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

func (CallStatsCallsStatsPostResponse) GetBody

func (r CallStatsCallsStatsPostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CallStatsCallsStatsPostResponse) GetJSON200

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

func (CallStatsCallsStatsPostResponse) GetJSON422

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

func (CallStatsCallsStatsPostResponse) Status

Status returns HTTPResponse.Status

func (CallStatsCallsStatsPostResponse) StatusCode

func (r CallStatsCallsStatsPostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CallStatsReq

type CallStatsReq struct {
	// CallMetrics Call-level metrics (latency, counts) to compute. Grouped by timestamp only.
	CallMetrics *[]CallMetricSpec `json:"call_metrics,omitempty"`

	// End Exclusive end time (UTC, ISO 8601). Defaults to now if omitted.
	End    *time.Time   `json:"end,omitempty"`
	Filter *CallsFilter `json:"filter,omitempty"`

	// Granularity Bucket size in seconds (e.g., 3600 for 1 hour). If omitted, auto-selected based on time range. Will be adjusted if it would produce more than 10,000 buckets.
	Granularity *int   `json:"granularity,omitempty"`
	ProjectId   string `json:"project_id"`

	// Start Inclusive start time (UTC, ISO 8601).
	Start time.Time `json:"start"`

	// Timezone IANA timezone for bucket alignment (e.g., 'America/New_York')
	Timezone *string `json:"timezone,omitempty"`

	// UsageMetrics Usage metrics (tokens, cost) to compute. Grouped by timestamp and model.
	UsageMetrics *[]UsageMetricSpec `json:"usage_metrics,omitempty"`
}

CallStatsReq Request for aggregated call statistics over a time range.

type CallStatsRes

type CallStatsRes struct {
	// CallBuckets Call-level metrics. Each bucket contains 'timestamp' and aggregated metric values.
	CallBuckets *[]map[string]interface{} `json:"call_buckets,omitempty"`

	// End Resolved end time (UTC)
	End time.Time `json:"end"`

	// Granularity Bucket size used (in seconds)
	Granularity int `json:"granularity"`

	// Start Resolved start time (UTC)
	Start time.Time `json:"start"`

	// Timezone Timezone used for bucket alignment
	Timezone string `json:"timezone"`

	// UsageBuckets Usage metrics by model. Each bucket contains 'timestamp', 'model', and aggregated metric values.
	UsageBuckets *[]map[string]interface{} `json:"usage_buckets,omitempty"`
}

CallStatsRes Response containing time-series call statistics.

type CallUpdateCallUpdatePostJSONRequestBody

type CallUpdateCallUpdatePostJSONRequestBody = CallUpdateReq

CallUpdateCallUpdatePostJSONRequestBody defines body for CallUpdateCallUpdatePost for application/json ContentType.

type CallUpdateCallUpdatePostResponse

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

func ParseCallUpdateCallUpdatePostResponse

func ParseCallUpdateCallUpdatePostResponse(rsp *http.Response) (*CallUpdateCallUpdatePostResponse, error)

ParseCallUpdateCallUpdatePostResponse parses an HTTP response from a CallUpdateCallUpdatePostWithResponse call

func (CallUpdateCallUpdatePostResponse) ContentType

func (r CallUpdateCallUpdatePostResponse) ContentType() string

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

func (CallUpdateCallUpdatePostResponse) GetBody

func (r CallUpdateCallUpdatePostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CallUpdateCallUpdatePostResponse) GetJSON200

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

func (CallUpdateCallUpdatePostResponse) GetJSON422

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

func (CallUpdateCallUpdatePostResponse) Status

Status returns HTTPResponse.Status

func (CallUpdateCallUpdatePostResponse) StatusCode

func (r CallUpdateCallUpdatePostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CallUpdateReq

type CallUpdateReq struct {
	CallId      string  `json:"call_id"`
	DisplayName *string `json:"display_name,omitempty"`
	ProjectId   string  `json:"project_id"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`
}

CallUpdateReq defines model for CallUpdateReq.

type CallUpdateRes

type CallUpdateRes = map[string]interface{}

CallUpdateRes defines model for CallUpdateRes.

type CallsCompleteV2EntityProjectCallsCompletePostJSONRequestBody added in v0.2.0

type CallsCompleteV2EntityProjectCallsCompletePostJSONRequestBody = CallsUpsertCompleteReq

CallsCompleteV2EntityProjectCallsCompletePostJSONRequestBody defines body for CallsCompleteV2EntityProjectCallsCompletePost for application/json ContentType.

type CallsCompleteV2EntityProjectCallsCompletePostResponse added in v0.2.0

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

func ParseCallsCompleteV2EntityProjectCallsCompletePostResponse added in v0.2.0

func ParseCallsCompleteV2EntityProjectCallsCompletePostResponse(rsp *http.Response) (*CallsCompleteV2EntityProjectCallsCompletePostResponse, error)

ParseCallsCompleteV2EntityProjectCallsCompletePostResponse parses an HTTP response from a CallsCompleteV2EntityProjectCallsCompletePostWithResponse call

func (CallsCompleteV2EntityProjectCallsCompletePostResponse) ContentType added in v0.2.0

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

func (CallsCompleteV2EntityProjectCallsCompletePostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (CallsCompleteV2EntityProjectCallsCompletePostResponse) GetJSON200 added in v0.2.0

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

func (CallsCompleteV2EntityProjectCallsCompletePostResponse) GetJSON422 added in v0.2.0

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

func (CallsCompleteV2EntityProjectCallsCompletePostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (CallsCompleteV2EntityProjectCallsCompletePostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type CallsDeleteCallsDeletePostJSONRequestBody

type CallsDeleteCallsDeletePostJSONRequestBody = CallsDeleteReq

CallsDeleteCallsDeletePostJSONRequestBody defines body for CallsDeleteCallsDeletePost for application/json ContentType.

type CallsDeleteCallsDeletePostResponse

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

func ParseCallsDeleteCallsDeletePostResponse

func ParseCallsDeleteCallsDeletePostResponse(rsp *http.Response) (*CallsDeleteCallsDeletePostResponse, error)

ParseCallsDeleteCallsDeletePostResponse parses an HTTP response from a CallsDeleteCallsDeletePostWithResponse call

func (CallsDeleteCallsDeletePostResponse) ContentType

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

func (CallsDeleteCallsDeletePostResponse) GetBody

GetBody returns the raw response body bytes

func (CallsDeleteCallsDeletePostResponse) GetJSON200

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

func (CallsDeleteCallsDeletePostResponse) GetJSON422

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

func (CallsDeleteCallsDeletePostResponse) Status

Status returns HTTPResponse.Status

func (CallsDeleteCallsDeletePostResponse) StatusCode

func (r CallsDeleteCallsDeletePostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CallsDeleteReq

type CallsDeleteReq struct {
	CallIds   []string `json:"call_ids"`
	ProjectId string   `json:"project_id"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`
}

CallsDeleteReq defines model for CallsDeleteReq.

type CallsDeleteRes

type CallsDeleteRes struct {
	// NumDeleted The number of calls deleted
	NumDeleted int `json:"num_deleted"`
}

CallsDeleteRes defines model for CallsDeleteRes.

type CallsFilter

type CallsFilter struct {
	CallIds        *[]string `json:"call_ids,omitempty"`
	InputRefs      *[]string `json:"input_refs,omitempty"`
	OpNames        *[]string `json:"op_names,omitempty"`
	OutputRefs     *[]string `json:"output_refs,omitempty"`
	ParentIds      *[]string `json:"parent_ids,omitempty"`
	ThreadIds      *[]string `json:"thread_ids,omitempty"`
	TraceIds       *[]string `json:"trace_ids,omitempty"`
	TraceRootsOnly *bool     `json:"trace_roots_only,omitempty"`
	TurnIds        *[]string `json:"turn_ids,omitempty"`
	WbRunIds       *[]string `json:"wb_run_ids,omitempty"`
	WbUserIds      *[]string `json:"wb_user_ids,omitempty"`
}

CallsFilter defines model for CallsFilter.

type CallsQueryReq

type CallsQueryReq struct {
	Columns *[]string `json:"columns,omitempty"`

	// ExpandColumns Columns to expand, i.e. refs to other objects
	//
	// Examples: ["inputs.self.message","inputs.model.prompt"]
	ExpandColumns *[]string    `json:"expand_columns,omitempty"`
	Filter        *CallsFilter `json:"filter,omitempty"`

	// IncludeCosts Beta, subject to change. If true, the response will include any model costs for each call.
	IncludeCosts *bool `json:"include_costs,omitempty"`

	// IncludeFeedback Beta, subject to change. If true, the response will include feedback for each call.
	IncludeFeedback *bool `json:"include_feedback,omitempty"`

	// IncludeStorageSize Beta, subject to change. If true, the response will include the storage size for a call.
	IncludeStorageSize *bool `json:"include_storage_size,omitempty"`

	// IncludeTotalStorageSize Beta, subject to change. If true, the response will include the total storage size for a trace.
	IncludeTotalStorageSize *bool `json:"include_total_storage_size,omitempty"`

	// IncludeUsernames If true, the response will attempt to resolve each call's wb_user_id to a username for the duration of this request.
	IncludeUsernames *bool `json:"include_usernames,omitempty"`

	// LatestOnly If true, collapse multiple physical versions of each call before applying filters. This provides current logical-row semantics for calls_complete reads while ReplacingMergeTree merges are pending.
	LatestOnly *bool  `json:"latest_only,omitempty"`
	Limit      *int   `json:"limit,omitempty"`
	Offset     *int   `json:"offset,omitempty"`
	ProjectId  string `json:"project_id"`
	Query      *Query `json:"query,omitempty"`

	// ReturnExpandedColumnValues If true, the response will include raw values for expanded columns. If false, the response expand_columns will only be used for filtering and ordering. This is useful for clients that want to resolve refs themselves, e.g. for performance reasons.
	ReturnExpandedColumnValues *bool     `json:"return_expanded_column_values,omitempty"`
	SortBy                     *[]SortBy `json:"sort_by,omitempty"`
}

CallsQueryReq defines model for CallsQueryReq.

type CallsQueryStatsCallsQueryStatsPostJSONRequestBody

type CallsQueryStatsCallsQueryStatsPostJSONRequestBody = CallsQueryStatsReq

CallsQueryStatsCallsQueryStatsPostJSONRequestBody defines body for CallsQueryStatsCallsQueryStatsPost for application/json ContentType.

type CallsQueryStatsCallsQueryStatsPostResponse

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

func ParseCallsQueryStatsCallsQueryStatsPostResponse

func ParseCallsQueryStatsCallsQueryStatsPostResponse(rsp *http.Response) (*CallsQueryStatsCallsQueryStatsPostResponse, error)

ParseCallsQueryStatsCallsQueryStatsPostResponse parses an HTTP response from a CallsQueryStatsCallsQueryStatsPostWithResponse call

func (CallsQueryStatsCallsQueryStatsPostResponse) ContentType

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

func (CallsQueryStatsCallsQueryStatsPostResponse) GetBody

GetBody returns the raw response body bytes

func (CallsQueryStatsCallsQueryStatsPostResponse) GetJSON200

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

func (CallsQueryStatsCallsQueryStatsPostResponse) GetJSON422

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

func (CallsQueryStatsCallsQueryStatsPostResponse) Status

Status returns HTTPResponse.Status

func (CallsQueryStatsCallsQueryStatsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CallsQueryStatsReq

type CallsQueryStatsReq struct {
	// ExpandColumns Columns with refs to objects or table rows that require expansion during filtering or ordering.
	//
	// Examples: ["inputs.self.message","inputs.model.prompt"]
	ExpandColumns           *[]string    `json:"expand_columns,omitempty"`
	Filter                  *CallsFilter `json:"filter,omitempty"`
	IncludeTotalStorageSize *bool        `json:"include_total_storage_size,omitempty"`
	Limit                   *int         `json:"limit,omitempty"`
	ProjectId               string       `json:"project_id"`
	Query                   *Query       `json:"query,omitempty"`
}

CallsQueryStatsReq defines model for CallsQueryStatsReq.

type CallsQueryStatsRes

type CallsQueryStatsRes struct {
	Count                 int   `json:"count"`
	HasMore               *bool `json:"has_more,omitempty"`
	TotalStorageSizeBytes *int  `json:"total_storage_size_bytes,omitempty"`
}

CallsQueryStatsRes defines model for CallsQueryStatsRes.

type CallsQueryStreamCallsStreamQueryPostJSONRequestBody

type CallsQueryStreamCallsStreamQueryPostJSONRequestBody = CallsQueryReq

CallsQueryStreamCallsStreamQueryPostJSONRequestBody defines body for CallsQueryStreamCallsStreamQueryPost for application/json ContentType.

type CallsQueryStreamCallsStreamQueryPostParams

type CallsQueryStreamCallsStreamQueryPostParams struct {
	Accept *string `json:"accept,omitempty"`
}

CallsQueryStreamCallsStreamQueryPostParams defines parameters for CallsQueryStreamCallsStreamQueryPost.

type CallsQueryStreamCallsStreamQueryPostResponse

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

func ParseCallsQueryStreamCallsStreamQueryPostResponse

func ParseCallsQueryStreamCallsStreamQueryPostResponse(rsp *http.Response) (*CallsQueryStreamCallsStreamQueryPostResponse, error)

ParseCallsQueryStreamCallsStreamQueryPostResponse parses an HTTP response from a CallsQueryStreamCallsStreamQueryPostWithResponse call

func (CallsQueryStreamCallsStreamQueryPostResponse) ContentType

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

func (CallsQueryStreamCallsStreamQueryPostResponse) GetBody

GetBody returns the raw response body bytes

func (CallsQueryStreamCallsStreamQueryPostResponse) GetJSON422

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

func (CallsQueryStreamCallsStreamQueryPostResponse) Status

Status returns HTTPResponse.Status

func (CallsQueryStreamCallsStreamQueryPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CallsScoreCallsScorePostJSONRequestBody added in v0.2.0

type CallsScoreCallsScorePostJSONRequestBody = CallsScoreReq

CallsScoreCallsScorePostJSONRequestBody defines body for CallsScoreCallsScorePost for application/json ContentType.

type CallsScoreCallsScorePostResponse added in v0.2.0

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

func ParseCallsScoreCallsScorePostResponse added in v0.2.0

func ParseCallsScoreCallsScorePostResponse(rsp *http.Response) (*CallsScoreCallsScorePostResponse, error)

ParseCallsScoreCallsScorePostResponse parses an HTTP response from a CallsScoreCallsScorePostWithResponse call

func (CallsScoreCallsScorePostResponse) ContentType added in v0.2.0

func (r CallsScoreCallsScorePostResponse) ContentType() string

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

func (CallsScoreCallsScorePostResponse) GetBody added in v0.2.0

func (r CallsScoreCallsScorePostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CallsScoreCallsScorePostResponse) GetJSON200 added in v0.2.0

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

func (CallsScoreCallsScorePostResponse) GetJSON422 added in v0.2.0

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

func (CallsScoreCallsScorePostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (CallsScoreCallsScorePostResponse) StatusCode added in v0.2.0

func (r CallsScoreCallsScorePostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CallsScoreReq added in v0.2.0

type CallsScoreReq struct {
	// CallIds List of call IDs to score
	CallIds   []string `json:"call_ids"`
	ProjectId string   `json:"project_id"`

	// ScorerRefs List of scorer refs to apply
	ScorerRefs []string `json:"scorer_refs"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`
}

CallsScoreReq Request to enqueue scoring jobs for a list of calls.

Scoring is performed asynchronously by the call_scoring_worker, which consumes messages from Kafka and applies each scorer_ref to each call_id.

type CallsScoreRes added in v0.2.0

type CallsScoreRes = map[string]interface{}

CallsScoreRes Empty response for calls_score.

Defined as a model (rather than returning None) to follow the convention used throughout this interface and to allow fields to be added later without a breaking change.

type CallsUpsertCompleteReq added in v0.2.0

type CallsUpsertCompleteReq struct {
	Batch []CompletedCallSchemaForInsert `json:"batch"`
}

CallsUpsertCompleteReq Request for upserting a batch of completed calls.

type CallsUpsertCompleteRes added in v0.2.0

type CallsUpsertCompleteRes = map[string]interface{}

CallsUpsertCompleteRes Response for upserting a batch of completed calls.

type CallsUsageCallsUsagePostJSONRequestBody

type CallsUsageCallsUsagePostJSONRequestBody = CallsUsageReq

CallsUsageCallsUsagePostJSONRequestBody defines body for CallsUsageCallsUsagePost for application/json ContentType.

type CallsUsageCallsUsagePostResponse

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

func ParseCallsUsageCallsUsagePostResponse

func ParseCallsUsageCallsUsagePostResponse(rsp *http.Response) (*CallsUsageCallsUsagePostResponse, error)

ParseCallsUsageCallsUsagePostResponse parses an HTTP response from a CallsUsageCallsUsagePostWithResponse call

func (CallsUsageCallsUsagePostResponse) ContentType

func (r CallsUsageCallsUsagePostResponse) ContentType() string

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

func (CallsUsageCallsUsagePostResponse) GetBody

func (r CallsUsageCallsUsagePostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CallsUsageCallsUsagePostResponse) GetJSON200

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

func (CallsUsageCallsUsagePostResponse) GetJSON422

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

func (CallsUsageCallsUsagePostResponse) Status

Status returns HTTPResponse.Status

func (CallsUsageCallsUsagePostResponse) StatusCode

func (r CallsUsageCallsUsagePostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CallsUsageReq

type CallsUsageReq struct {
	// CallIds Root call IDs to aggregate. Each result key corresponds to one input call ID.
	CallIds []string `json:"call_ids"`

	// IncludeCosts If true, include cost calculations in the usage.
	IncludeCosts *bool `json:"include_costs,omitempty"`

	// Limit Maximum calls per aggregation batch. Larger batches are split by trace; a single trace exceeding this limit returns an error, never partial usage.
	Limit     *int   `json:"limit,omitempty"`
	ProjectId string `json:"project_id"`
}

CallsUsageReq Request complete descendant usage for calls in bounded trace batches.

type CallsUsageRes

type CallsUsageRes struct {
	CallUsage         map[string]map[string]LLMAggregatedUsage `json:"call_usage"`
	UnfinishedCallIds []string                                 `json:"unfinished_call_ids"`
}

CallsUsageRes Response with aggregated usage metrics per root call.

type CatalogModelsRes added in v0.2.0

type CatalogModelsRes struct {
	Models []LLMModelDetails `json:"models"`
}

CatalogModelsRes defines model for CatalogModelsRes.

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) AliasesListAliasesGet added in v0.2.0

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

AliasesListAliasesGet Aliases List

List all aliases in a project.

Corresponds with GET /aliases (the `AliasesListAliasesGet` operationId).

func (*Client) AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPost

func (c *Client) AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPost(ctx context.Context, queueId string, body AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPost Annotation Queue Add Calls

Add calls to an annotation queue.

Takes a body of the `application/json` content type.

Corresponds with POST /annotation_queues/{queue_id}/items (the `AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPost` operationId).

func (*Client) AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostWithBody

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

AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostWithBody Annotation Queue Add Calls

Add calls to an annotation queue.

Takes any type of body and a specified content type.

Corresponds with POST /annotation_queues/{queue_id}/items (the `AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPost` operationId).

func (*Client) AnnotationQueueCreateAnnotationQueuesPost

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

AnnotationQueueCreateAnnotationQueuesPost Annotation Queue Create

Create a new annotation queue.

Takes a body of the `application/json` content type.

Corresponds with POST /annotation_queues (the `AnnotationQueueCreateAnnotationQueuesPost` operationId).

func (*Client) AnnotationQueueCreateAnnotationQueuesPostWithBody

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

AnnotationQueueCreateAnnotationQueuesPostWithBody Annotation Queue Create

Create a new annotation queue.

Takes any type of body and a specified content type.

Corresponds with POST /annotation_queues (the `AnnotationQueueCreateAnnotationQueuesPost` operationId).

func (*Client) AnnotationQueueDeleteAnnotationQueuesQueueIdDelete added in v0.2.0

func (c *Client) AnnotationQueueDeleteAnnotationQueuesQueueIdDelete(ctx context.Context, queueId string, params *AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AnnotationQueueDeleteAnnotationQueuesQueueIdDelete Annotation Queue Delete

Delete (soft-delete) an annotation queue.

Corresponds with DELETE /annotation_queues/{queue_id} (the `AnnotationQueueDeleteAnnotationQueuesQueueIdDelete` operationId).

func (*Client) AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPost

func (c *Client) AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPost(ctx context.Context, queueId string, itemId string, body AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPost Annotation Queue Item Progress Update

Update the annotation state of a queue item for the current annotator.

Takes a body of the `application/json` content type.

Corresponds with POST /annotation_queues/{queue_id}/items/{item_id}/progress (the `AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPost` operationId).

func (*Client) AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostWithBody

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

AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostWithBody Annotation Queue Item Progress Update

Update the annotation state of a queue item for the current annotator.

Takes any type of body and a specified content type.

Corresponds with POST /annotation_queues/{queue_id}/items/{item_id}/progress (the `AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPost` operationId).

func (*Client) AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPost

func (c *Client) AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPost(ctx context.Context, queueId string, body AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPost Annotation Queue Items Query

Query items in an annotation queue with pagination and sorting.

Takes a body of the `application/json` content type.

Corresponds with POST /annotation_queues/{queue_id}/items/query (the `AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPost` operationId).

func (*Client) AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostWithBody

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

AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostWithBody Annotation Queue Items Query

Query items in an annotation queue with pagination and sorting.

Takes any type of body and a specified content type.

Corresponds with POST /annotation_queues/{queue_id}/items/query (the `AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPost` operationId).

func (*Client) AnnotationQueueReadAnnotationQueuesQueueIdGet

func (c *Client) AnnotationQueueReadAnnotationQueuesQueueIdGet(ctx context.Context, queueId string, params *AnnotationQueueReadAnnotationQueuesQueueIdGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AnnotationQueueReadAnnotationQueuesQueueIdGet Annotation Queue Read

Read a specific annotation queue.

Corresponds with GET /annotation_queues/{queue_id} (the `AnnotationQueueReadAnnotationQueuesQueueIdGet` operationId).

func (*Client) AnnotationQueueUpdateAnnotationQueuesQueueIdPut added in v0.2.0

func (c *Client) AnnotationQueueUpdateAnnotationQueuesQueueIdPut(ctx context.Context, queueId string, body AnnotationQueueUpdateAnnotationQueuesQueueIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AnnotationQueueUpdateAnnotationQueuesQueueIdPut Annotation Queue Update

Update an annotation queue's metadata (name, description, scorer_refs).

Takes a body of the `application/json` content type.

Corresponds with PUT /annotation_queues/{queue_id} (the `AnnotationQueueUpdateAnnotationQueuesQueueIdPut` operationId).

func (*Client) AnnotationQueueUpdateAnnotationQueuesQueueIdPutWithBody added in v0.2.0

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

AnnotationQueueUpdateAnnotationQueuesQueueIdPutWithBody Annotation Queue Update

Update an annotation queue's metadata (name, description, scorer_refs).

Takes any type of body and a specified content type.

Corresponds with PUT /annotation_queues/{queue_id} (the `AnnotationQueueUpdateAnnotationQueuesQueueIdPut` operationId).

func (*Client) AnnotationQueuesQueryStreamAnnotationQueuesQueryPost

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

AnnotationQueuesQueryStreamAnnotationQueuesQueryPost Annotation Queues Query Stream

Query annotation queues for a project (streaming NDJSON response).

Takes a body of the `application/json` content type.

Corresponds with POST /annotation_queues/query (the `AnnotationQueuesQueryStreamAnnotationQueuesQueryPost` operationId).

func (*Client) AnnotationQueuesQueryStreamAnnotationQueuesQueryPostWithBody

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

AnnotationQueuesQueryStreamAnnotationQueuesQueryPostWithBody Annotation Queues Query Stream

Query annotation queues for a project (streaming NDJSON response).

Takes any type of body and a specified content type.

Corresponds with POST /annotation_queues/query (the `AnnotationQueuesQueryStreamAnnotationQueuesQueryPost` operationId).

func (*Client) AnnotationQueuesStatsAnnotationQueuesStatsPost

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

AnnotationQueuesStatsAnnotationQueuesStatsPost Annotation Queues Stats

Get stats for multiple annotation queues.

Takes a body of the `application/json` content type.

Corresponds with POST /annotation_queues/stats (the `AnnotationQueuesStatsAnnotationQueuesStatsPost` operationId).

func (*Client) AnnotationQueuesStatsAnnotationQueuesStatsPostWithBody

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

AnnotationQueuesStatsAnnotationQueuesStatsPostWithBody Annotation Queues Stats

Get stats for multiple annotation queues.

Takes any type of body and a specified content type.

Corresponds with POST /annotation_queues/stats (the `AnnotationQueuesStatsAnnotationQueuesStatsPost` operationId).

func (*Client) CallEndCallEndPost

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

CallEndCallEndPost Call End

Takes a body of the `application/json` content type.

Corresponds with POST /call/end (the `CallEndCallEndPost` operationId).

func (*Client) CallEndCallEndPostWithBody

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

CallEndCallEndPostWithBody Call End

Takes any type of body and a specified content type.

Corresponds with POST /call/end (the `CallEndCallEndPost` operationId).

func (*Client) CallReadCallReadPost

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

CallReadCallReadPost Call Read

Takes a body of the `application/json` content type.

Corresponds with POST /call/read (the `CallReadCallReadPost` operationId).

func (*Client) CallReadCallReadPostWithBody

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

CallReadCallReadPostWithBody Call Read

Takes any type of body and a specified content type.

Corresponds with POST /call/read (the `CallReadCallReadPost` operationId).

func (*Client) CallStartBatchCallUpsertBatchPost

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

CallStartBatchCallUpsertBatchPost Call Start Batch

Takes a body of the `application/json` content type.

Corresponds with POST /call/upsert_batch (the `CallStartBatchCallUpsertBatchPost` operationId).

func (*Client) CallStartBatchCallUpsertBatchPostWithBody

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

CallStartBatchCallUpsertBatchPostWithBody Call Start Batch

Takes any type of body and a specified content type.

Corresponds with POST /call/upsert_batch (the `CallStartBatchCallUpsertBatchPost` operationId).

func (*Client) CallStartCallStartPost

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

CallStartCallStartPost Call Start

Takes a body of the `application/json` content type.

Corresponds with POST /call/start (the `CallStartCallStartPost` operationId).

func (*Client) CallStartCallStartPostWithBody

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

CallStartCallStartPostWithBody Call Start

Takes any type of body and a specified content type.

Corresponds with POST /call/start (the `CallStartCallStartPost` operationId).

func (*Client) CallStatsCallsStatsPost

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

CallStatsCallsStatsPost Call Stats

Takes a body of the `application/json` content type.

Corresponds with POST /calls/stats (the `CallStatsCallsStatsPost` operationId).

func (*Client) CallStatsCallsStatsPostWithBody

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

CallStatsCallsStatsPostWithBody Call Stats

Takes any type of body and a specified content type.

Corresponds with POST /calls/stats (the `CallStatsCallsStatsPost` operationId).

func (*Client) CallUpdateCallUpdatePost

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

CallUpdateCallUpdatePost Call Update

Takes a body of the `application/json` content type.

Corresponds with POST /call/update (the `CallUpdateCallUpdatePost` operationId).

func (*Client) CallUpdateCallUpdatePostWithBody

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

CallUpdateCallUpdatePostWithBody Call Update

Takes any type of body and a specified content type.

Corresponds with POST /call/update (the `CallUpdateCallUpdatePost` operationId).

func (*Client) CallsCompleteV2EntityProjectCallsCompletePost added in v0.2.0

func (c *Client) CallsCompleteV2EntityProjectCallsCompletePost(ctx context.Context, entity string, project string, body CallsCompleteV2EntityProjectCallsCompletePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CallsCompleteV2EntityProjectCallsCompletePost Calls Complete

Upsert a batch of completed calls directly to the calls_complete table.

Each call in the batch contains both start and end information. This endpoint is used when calls are buffered client-side and sent as complete records.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/{entity}/{project}/calls/complete (the `CallsCompleteV2EntityProjectCallsCompletePost` operationId).

func (*Client) CallsCompleteV2EntityProjectCallsCompletePostWithBody added in v0.2.0

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

CallsCompleteV2EntityProjectCallsCompletePostWithBody Calls Complete

Upsert a batch of completed calls directly to the calls_complete table.

Each call in the batch contains both start and end information. This endpoint is used when calls are buffered client-side and sent as complete records.

Takes any type of body and a specified content type.

Corresponds with POST /v2/{entity}/{project}/calls/complete (the `CallsCompleteV2EntityProjectCallsCompletePost` operationId).

func (*Client) CallsDeleteCallsDeletePost

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

CallsDeleteCallsDeletePost Calls Delete

Takes a body of the `application/json` content type.

Corresponds with POST /calls/delete (the `CallsDeleteCallsDeletePost` operationId).

func (*Client) CallsDeleteCallsDeletePostWithBody

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

CallsDeleteCallsDeletePostWithBody Calls Delete

Takes any type of body and a specified content type.

Corresponds with POST /calls/delete (the `CallsDeleteCallsDeletePost` operationId).

func (*Client) CallsQueryStatsCallsQueryStatsPost

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

CallsQueryStatsCallsQueryStatsPost Calls Query Stats

Takes a body of the `application/json` content type.

Corresponds with POST /calls/query_stats (the `CallsQueryStatsCallsQueryStatsPost` operationId).

func (*Client) CallsQueryStatsCallsQueryStatsPostWithBody

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

CallsQueryStatsCallsQueryStatsPostWithBody Calls Query Stats

Takes any type of body and a specified content type.

Corresponds with POST /calls/query_stats (the `CallsQueryStatsCallsQueryStatsPost` operationId).

func (*Client) CallsQueryStreamCallsStreamQueryPost

CallsQueryStreamCallsStreamQueryPost Calls Query Stream

Takes a body of the `application/json` content type.

Corresponds with POST /calls/stream_query (the `CallsQueryStreamCallsStreamQueryPost` operationId).

func (*Client) CallsQueryStreamCallsStreamQueryPostWithBody

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

CallsQueryStreamCallsStreamQueryPostWithBody Calls Query Stream

Takes any type of body and a specified content type.

Corresponds with POST /calls/stream_query (the `CallsQueryStreamCallsStreamQueryPost` operationId).

func (*Client) CallsScoreCallsScorePost added in v0.2.0

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

CallsScoreCallsScorePost Calls Score

Takes a body of the `application/json` content type.

Corresponds with POST /calls/score (the `CallsScoreCallsScorePost` operationId).

func (*Client) CallsScoreCallsScorePostWithBody added in v0.2.0

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

CallsScoreCallsScorePostWithBody Calls Score

Takes any type of body and a specified content type.

Corresponds with POST /calls/score (the `CallsScoreCallsScorePost` operationId).

func (*Client) CallsUsageCallsUsagePost

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

CallsUsageCallsUsagePost Calls Usage

Compute aggregated usage for multiple root calls, with descendant rollup.

Takes a body of the `application/json` content type.

Corresponds with POST /calls/usage (the `CallsUsageCallsUsagePost` operationId).

func (*Client) CallsUsageCallsUsagePostWithBody

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

CallsUsageCallsUsagePostWithBody Calls Usage

Compute aggregated usage for multiple root calls, with descendant rollup.

Takes any type of body and a specified content type.

Corresponds with POST /calls/usage (the `CallsUsageCallsUsagePost` operationId).

func (*Client) CompletionsCreateCompletionsCreatePost added in v0.2.0

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

CompletionsCreateCompletionsCreatePost Completions Create

Takes a body of the `application/json` content type.

Corresponds with POST /completions/create (the `CompletionsCreateCompletionsCreatePost` operationId).

func (*Client) CompletionsCreateCompletionsCreatePostWithBody added in v0.2.0

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

CompletionsCreateCompletionsCreatePostWithBody Completions Create

Takes any type of body and a specified content type.

Corresponds with POST /completions/create (the `CompletionsCreateCompletionsCreatePost` operationId).

func (*Client) CompletionsCreateStreamCompletionsCreateStreamPost added in v0.2.0

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

CompletionsCreateStreamCompletionsCreateStreamPost Completions Create Stream

Takes a body of the `application/json` content type.

Corresponds with POST /completions/create_stream (the `CompletionsCreateStreamCompletionsCreateStreamPost` operationId).

func (*Client) CompletionsCreateStreamCompletionsCreateStreamPostWithBody added in v0.2.0

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

CompletionsCreateStreamCompletionsCreateStreamPostWithBody Completions Create Stream

Takes any type of body and a specified content type.

Corresponds with POST /completions/create_stream (the `CompletionsCreateStreamCompletionsCreateStreamPost` operationId).

func (*Client) CostCreateCostCreatePost

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

CostCreateCostCreatePost Cost Create

Takes a body of the `application/json` content type.

Corresponds with POST /cost/create (the `CostCreateCostCreatePost` operationId).

func (*Client) CostCreateCostCreatePostWithBody

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

CostCreateCostCreatePostWithBody Cost Create

Takes any type of body and a specified content type.

Corresponds with POST /cost/create (the `CostCreateCostCreatePost` operationId).

func (*Client) CostPurgeCostPurgePost

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

CostPurgeCostPurgePost Cost Purge

Takes a body of the `application/json` content type.

Corresponds with POST /cost/purge (the `CostPurgeCostPurgePost` operationId).

func (*Client) CostPurgeCostPurgePostWithBody

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

CostPurgeCostPurgePostWithBody Cost Purge

Takes any type of body and a specified content type.

Corresponds with POST /cost/purge (the `CostPurgeCostPurgePost` operationId).

func (*Client) CostQueryCostQueryPost

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

CostQueryCostQueryPost Cost Query

Takes a body of the `application/json` content type.

Corresponds with POST /cost/query (the `CostQueryCostQueryPost` operationId).

func (*Client) CostQueryCostQueryPostWithBody

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

CostQueryCostQueryPostWithBody Cost Query

Takes any type of body and a specified content type.

Corresponds with POST /cost/query (the `CostQueryCostQueryPost` operationId).

func (*Client) CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePut added in v0.2.0

func (c *Client) CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePut(ctx context.Context, entity string, project string, runtimeName string, body CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePut Custom Runtime Apply

Create or replace a custom runtime configuration.

Takes a body of the `application/json` content type.

Corresponds with PUT /v2/{entity}/{project}/runtimes/{runtime_name} (the `CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePut` operationId).

func (*Client) CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutWithBody added in v0.2.0

func (c *Client) CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutWithBody(ctx context.Context, entity string, project string, runtimeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutWithBody Custom Runtime Apply

Create or replace a custom runtime configuration.

Takes any type of body and a specified content type.

Corresponds with PUT /v2/{entity}/{project}/runtimes/{runtime_name} (the `CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePut` operationId).

func (*Client) DatasetCreateV2EntityProjectDatasetsPost

func (c *Client) DatasetCreateV2EntityProjectDatasetsPost(ctx context.Context, entity string, project string, body DatasetCreateV2EntityProjectDatasetsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

DatasetCreateV2EntityProjectDatasetsPost Dataset Create

Create a dataset object.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/{entity}/{project}/datasets (the `DatasetCreateV2EntityProjectDatasetsPost` operationId).

func (*Client) DatasetCreateV2EntityProjectDatasetsPostWithBody

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

DatasetCreateV2EntityProjectDatasetsPostWithBody Dataset Create

Create a dataset object.

Takes any type of body and a specified content type.

Corresponds with POST /v2/{entity}/{project}/datasets (the `DatasetCreateV2EntityProjectDatasetsPost` operationId).

func (*Client) DatasetDeleteV2EntityProjectDatasetsObjectIdDelete

func (c *Client) DatasetDeleteV2EntityProjectDatasetsObjectIdDelete(ctx context.Context, entity string, project string, objectId string, params *DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DatasetDeleteV2EntityProjectDatasetsObjectIdDelete Dataset Delete

Delete a dataset object. If digests are provided, only those versions are deleted. Otherwise, all versions are deleted.

Corresponds with DELETE /v2/{entity}/{project}/datasets/{object_id} (the `DatasetDeleteV2EntityProjectDatasetsObjectIdDelete` operationId).

func (*Client) DatasetListV2EntityProjectDatasetsGet

func (c *Client) DatasetListV2EntityProjectDatasetsGet(ctx context.Context, entity string, project string, params *DatasetListV2EntityProjectDatasetsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DatasetListV2EntityProjectDatasetsGet Dataset List

List dataset objects.

Corresponds with GET /v2/{entity}/{project}/datasets (the `DatasetListV2EntityProjectDatasetsGet` operationId).

func (*Client) DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGet

func (c *Client) DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGet(ctx context.Context, entity string, project string, objectId string, digest string, reqEditors ...RequestEditorFn) (*http.Response, error)

DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGet Dataset Read

Get a dataset object.

Corresponds with GET /v2/{entity}/{project}/datasets/{object_id}/versions/{digest} (the `DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGet` operationId).

func (*Client) DatasetSourcesLinkDatasetSourcesLinkPost added in v0.2.0

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

DatasetSourcesLinkDatasetSourcesLinkPost Dataset Sources Link

Link source calls/spans to dataset rows (batch, idempotent).

Takes a body of the `application/json` content type.

Corresponds with POST /dataset_sources/link (the `DatasetSourcesLinkDatasetSourcesLinkPost` operationId).

func (*Client) DatasetSourcesLinkDatasetSourcesLinkPostWithBody added in v0.2.0

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

DatasetSourcesLinkDatasetSourcesLinkPostWithBody Dataset Sources Link

Link source calls/spans to dataset rows (batch, idempotent).

Takes any type of body and a specified content type.

Corresponds with POST /dataset_sources/link (the `DatasetSourcesLinkDatasetSourcesLinkPost` operationId).

func (*Client) DatasetSourcesQueryDatasetSourcesQueryPost added in v0.2.0

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

DatasetSourcesQueryDatasetSourcesQueryPost Dataset Sources Query

Forward provenance lookup: dataset (+ optional row digests) -> sources.

Takes a body of the `application/json` content type.

Corresponds with POST /dataset_sources/query (the `DatasetSourcesQueryDatasetSourcesQueryPost` operationId).

func (*Client) DatasetSourcesQueryDatasetSourcesQueryPostWithBody added in v0.2.0

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

DatasetSourcesQueryDatasetSourcesQueryPostWithBody Dataset Sources Query

Forward provenance lookup: dataset (+ optional row digests) -> sources.

Takes any type of body and a specified content type.

Corresponds with POST /dataset_sources/query (the `DatasetSourcesQueryDatasetSourcesQueryPost` operationId).

func (*Client) EvalResultsQueryV2EntityProjectEvalResultsQueryPost added in v0.2.0

func (c *Client) EvalResultsQueryV2EntityProjectEvalResultsQueryPost(ctx context.Context, entity string, project string, body EvalResultsQueryV2EntityProjectEvalResultsQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

EvalResultsQueryV2EntityProjectEvalResultsQueryPost Eval Results Query

Read grouped evaluation result rows for one or more evaluations.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/{entity}/{project}/eval_results/query (the `EvalResultsQueryV2EntityProjectEvalResultsQueryPost` operationId).

func (*Client) EvalResultsQueryV2EntityProjectEvalResultsQueryPostWithBody added in v0.2.0

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

EvalResultsQueryV2EntityProjectEvalResultsQueryPostWithBody Eval Results Query

Read grouped evaluation result rows for one or more evaluations.

Takes any type of body and a specified content type.

Corresponds with POST /v2/{entity}/{project}/eval_results/query (the `EvalResultsQueryV2EntityProjectEvalResultsQueryPost` operationId).

func (*Client) EvaluateModelEvaluationsEvaluateModelPost

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

EvaluateModelEvaluationsEvaluateModelPost Evaluate Model

Takes a body of the `application/json` content type.

Corresponds with POST /evaluations/evaluate_model (the `EvaluateModelEvaluationsEvaluateModelPost` operationId).

func (*Client) EvaluateModelEvaluationsEvaluateModelPostWithBody

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

EvaluateModelEvaluationsEvaluateModelPostWithBody Evaluate Model

Takes any type of body and a specified content type.

Corresponds with POST /evaluations/evaluate_model (the `EvaluateModelEvaluationsEvaluateModelPost` operationId).

func (*Client) EvaluationCreateV2EntityProjectEvaluationsPost

func (c *Client) EvaluationCreateV2EntityProjectEvaluationsPost(ctx context.Context, entity string, project string, body EvaluationCreateV2EntityProjectEvaluationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

EvaluationCreateV2EntityProjectEvaluationsPost Evaluation Create

Create an evaluation object.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/{entity}/{project}/evaluations (the `EvaluationCreateV2EntityProjectEvaluationsPost` operationId).

func (*Client) EvaluationCreateV2EntityProjectEvaluationsPostWithBody

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

EvaluationCreateV2EntityProjectEvaluationsPostWithBody Evaluation Create

Create an evaluation object.

Takes any type of body and a specified content type.

Corresponds with POST /v2/{entity}/{project}/evaluations (the `EvaluationCreateV2EntityProjectEvaluationsPost` operationId).

func (*Client) EvaluationDeleteV2EntityProjectEvaluationsObjectIdDelete

func (c *Client) EvaluationDeleteV2EntityProjectEvaluationsObjectIdDelete(ctx context.Context, entity string, project string, objectId string, params *EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

EvaluationDeleteV2EntityProjectEvaluationsObjectIdDelete Evaluation Delete

Delete an evaluation object.

Corresponds with DELETE /v2/{entity}/{project}/evaluations/{object_id} (the `EvaluationDeleteV2EntityProjectEvaluationsObjectIdDelete` operationId).

func (*Client) EvaluationListV2EntityProjectEvaluationsGet

func (c *Client) EvaluationListV2EntityProjectEvaluationsGet(ctx context.Context, entity string, project string, params *EvaluationListV2EntityProjectEvaluationsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

EvaluationListV2EntityProjectEvaluationsGet Evaluation List

List evaluation objects.

Corresponds with GET /v2/{entity}/{project}/evaluations (the `EvaluationListV2EntityProjectEvaluationsGet` operationId).

func (*Client) EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGet

func (c *Client) EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGet(ctx context.Context, entity string, project string, objectId string, digest string, reqEditors ...RequestEditorFn) (*http.Response, error)

EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGet Evaluation Read

Get an evaluation object.

Corresponds with GET /v2/{entity}/{project}/evaluations/{object_id}/versions/{digest} (the `EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGet` operationId).

func (*Client) EvaluationRunCreateV2EntityProjectEvaluationRunsPost

func (c *Client) EvaluationRunCreateV2EntityProjectEvaluationRunsPost(ctx context.Context, entity string, project string, body EvaluationRunCreateV2EntityProjectEvaluationRunsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

EvaluationRunCreateV2EntityProjectEvaluationRunsPost Evaluation Run Create

Create an evaluation run.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/{entity}/{project}/evaluation_runs (the `EvaluationRunCreateV2EntityProjectEvaluationRunsPost` operationId).

func (*Client) EvaluationRunCreateV2EntityProjectEvaluationRunsPostWithBody

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

EvaluationRunCreateV2EntityProjectEvaluationRunsPostWithBody Evaluation Run Create

Create an evaluation run.

Takes any type of body and a specified content type.

Corresponds with POST /v2/{entity}/{project}/evaluation_runs (the `EvaluationRunCreateV2EntityProjectEvaluationRunsPost` operationId).

func (*Client) EvaluationRunDeleteV2EntityProjectEvaluationRunsDelete

func (c *Client) EvaluationRunDeleteV2EntityProjectEvaluationRunsDelete(ctx context.Context, entity string, project string, params *EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

EvaluationRunDeleteV2EntityProjectEvaluationRunsDelete Evaluation Run Delete

Delete evaluation runs.

Corresponds with DELETE /v2/{entity}/{project}/evaluation_runs (the `EvaluationRunDeleteV2EntityProjectEvaluationRunsDelete` operationId).

func (*Client) EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPost

func (c *Client) EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPost(ctx context.Context, entity string, project string, evaluationRunId string, body EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPost Evaluation Run Finish

Finish an evaluation run.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/{entity}/{project}/evaluation_runs/{evaluation_run_id}/finish (the `EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPost` operationId).

func (*Client) EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostWithBody

func (c *Client) EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostWithBody(ctx context.Context, entity string, project string, evaluationRunId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostWithBody Evaluation Run Finish

Finish an evaluation run.

Takes any type of body and a specified content type.

Corresponds with POST /v2/{entity}/{project}/evaluation_runs/{evaluation_run_id}/finish (the `EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPost` operationId).

func (*Client) EvaluationRunListV2EntityProjectEvaluationRunsGet

func (c *Client) EvaluationRunListV2EntityProjectEvaluationRunsGet(ctx context.Context, entity string, project string, params *EvaluationRunListV2EntityProjectEvaluationRunsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

EvaluationRunListV2EntityProjectEvaluationRunsGet Evaluation Run List

List evaluation runs.

Corresponds with GET /v2/{entity}/{project}/evaluation_runs (the `EvaluationRunListV2EntityProjectEvaluationRunsGet` operationId).

func (*Client) EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGet

func (c *Client) EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGet(ctx context.Context, entity string, project string, evaluationRunId string, reqEditors ...RequestEditorFn) (*http.Response, error)

EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGet Evaluation Run Read

Read an evaluation run.

Corresponds with GET /v2/{entity}/{project}/evaluation_runs/{evaluation_run_id} (the `EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGet` operationId).

func (*Client) EvaluationStatusEvaluationsStatusPost

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

EvaluationStatusEvaluationsStatusPost Evaluation Status

Takes a body of the `application/json` content type.

Corresponds with POST /evaluations/status (the `EvaluationStatusEvaluationsStatusPost` operationId).

func (*Client) EvaluationStatusEvaluationsStatusPostWithBody

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

EvaluationStatusEvaluationsStatusPostWithBody Evaluation Status

Takes any type of body and a specified content type.

Corresponds with POST /evaluations/status (the `EvaluationStatusEvaluationsStatusPost` operationId).

func (*Client) ExportGenaiTraceAgentsOtelV1TracesPost added in v0.2.0

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

ExportGenaiTraceAgentsOtelV1TracesPost Export Genai Trace

Ingest OTel spans into the GenAI observability system.

Corresponds with POST /agents/otel/v1/traces (the `ExportGenaiTraceAgentsOtelV1TracesPost` operationId).

func (*Client) ExportProjectData added in v0.2.1

func (c *Client) ExportProjectData(ctx context.Context, entity string, project string, body ExportProjectDataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ExportProjectData Start

Start one project's export. Save the job ID to look up its status.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/entities/{entity}/projects/{project}:export (the `ExportProjectData` operationId).

func (*Client) ExportProjectDataWithBody added in v0.2.1

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

ExportProjectDataWithBody Start

Start one project's export. Save the job ID to look up its status.

Takes any type of body and a specified content type.

Corresponds with POST /v1/entities/{entity}/projects/{project}:export (the `ExportProjectData` operationId).

func (*Client) ExportTraceOtelV1TracesPost

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

ExportTraceOtelV1TracesPost Export Trace

Corresponds with POST /otel/v1/traces (the `ExportTraceOtelV1TracesPost` operationId).

func (*Client) FeedbackAggregateFeedbackAggregatePost added in v0.2.0

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

FeedbackAggregateFeedbackAggregatePost Feedback Aggregate

Aggregate typed scorer feedback (tags, ratings) over time buckets.

Takes a body of the `application/json` content type.

Corresponds with POST /feedback/aggregate (the `FeedbackAggregateFeedbackAggregatePost` operationId).

func (*Client) FeedbackAggregateFeedbackAggregatePostWithBody added in v0.2.0

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

FeedbackAggregateFeedbackAggregatePostWithBody Feedback Aggregate

Aggregate typed scorer feedback (tags, ratings) over time buckets.

Takes any type of body and a specified content type.

Corresponds with POST /feedback/aggregate (the `FeedbackAggregateFeedbackAggregatePost` operationId).

func (*Client) FeedbackCreateBatchFeedbackBatchCreatePost

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

FeedbackCreateBatchFeedbackBatchCreatePost Feedback Create Batch

Add multiple feedback items to calls or objects.

Takes a body of the `application/json` content type.

Corresponds with POST /feedback/batch/create (the `FeedbackCreateBatchFeedbackBatchCreatePost` operationId).

func (*Client) FeedbackCreateBatchFeedbackBatchCreatePostWithBody

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

FeedbackCreateBatchFeedbackBatchCreatePostWithBody Feedback Create Batch

Add multiple feedback items to calls or objects.

Takes any type of body and a specified content type.

Corresponds with POST /feedback/batch/create (the `FeedbackCreateBatchFeedbackBatchCreatePost` operationId).

func (*Client) FeedbackCreateFeedbackCreatePost

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

FeedbackCreateFeedbackCreatePost Feedback Create

Add feedback to a call or object.

Takes a body of the `application/json` content type.

Corresponds with POST /feedback/create (the `FeedbackCreateFeedbackCreatePost` operationId).

func (*Client) FeedbackCreateFeedbackCreatePostWithBody

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

FeedbackCreateFeedbackCreatePostWithBody Feedback Create

Add feedback to a call or object.

Takes any type of body and a specified content type.

Corresponds with POST /feedback/create (the `FeedbackCreateFeedbackCreatePost` operationId).

func (*Client) FeedbackPayloadSchemaFeedbackPayloadSchemaPost added in v0.2.0

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

FeedbackPayloadSchemaFeedbackPayloadSchemaPost Feedback Payload Schema

Discover feedback payload schema (paths and types) from sample rows.

Takes a body of the `application/json` content type.

Corresponds with POST /feedback/payload_schema (the `FeedbackPayloadSchemaFeedbackPayloadSchemaPost` operationId).

func (*Client) FeedbackPayloadSchemaFeedbackPayloadSchemaPostWithBody added in v0.2.0

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

FeedbackPayloadSchemaFeedbackPayloadSchemaPostWithBody Feedback Payload Schema

Discover feedback payload schema (paths and types) from sample rows.

Takes any type of body and a specified content type.

Corresponds with POST /feedback/payload_schema (the `FeedbackPayloadSchemaFeedbackPayloadSchemaPost` operationId).

func (*Client) FeedbackPurgeFeedbackPurgePost

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

FeedbackPurgeFeedbackPurgePost Feedback Purge

Permanently delete feedback.

Takes a body of the `application/json` content type.

Corresponds with POST /feedback/purge (the `FeedbackPurgeFeedbackPurgePost` operationId).

func (*Client) FeedbackPurgeFeedbackPurgePostWithBody

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

FeedbackPurgeFeedbackPurgePostWithBody Feedback Purge

Permanently delete feedback.

Takes any type of body and a specified content type.

Corresponds with POST /feedback/purge (the `FeedbackPurgeFeedbackPurgePost` operationId).

func (*Client) FeedbackQueryFeedbackQueryPost

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

FeedbackQueryFeedbackQueryPost Feedback Query

Query for feedback.

Takes a body of the `application/json` content type.

Corresponds with POST /feedback/query (the `FeedbackQueryFeedbackQueryPost` operationId).

func (*Client) FeedbackQueryFeedbackQueryPostWithBody

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

FeedbackQueryFeedbackQueryPostWithBody Feedback Query

Query for feedback.

Takes any type of body and a specified content type.

Corresponds with POST /feedback/query (the `FeedbackQueryFeedbackQueryPost` operationId).

func (*Client) FeedbackReplaceFeedbackReplacePost

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

FeedbackReplaceFeedbackReplacePost Feedback Replace

Takes a body of the `application/json` content type.

Corresponds with POST /feedback/replace (the `FeedbackReplaceFeedbackReplacePost` operationId).

func (*Client) FeedbackReplaceFeedbackReplacePostWithBody

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

FeedbackReplaceFeedbackReplacePostWithBody Feedback Replace

Takes any type of body and a specified content type.

Corresponds with POST /feedback/replace (the `FeedbackReplaceFeedbackReplacePost` operationId).

func (*Client) FeedbackStatsFeedbackStatsPost added in v0.2.0

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

FeedbackStatsFeedbackStatsPost Feedback Stats

Return aggregated feedback statistics over time buckets.

Takes a body of the `application/json` content type.

Corresponds with POST /feedback/stats (the `FeedbackStatsFeedbackStatsPost` operationId).

func (*Client) FeedbackStatsFeedbackStatsPostWithBody added in v0.2.0

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

FeedbackStatsFeedbackStatsPostWithBody Feedback Stats

Return aggregated feedback statistics over time buckets.

Takes any type of body and a specified content type.

Corresponds with POST /feedback/stats (the `FeedbackStatsFeedbackStatsPost` operationId).

func (*Client) FileContentFileContentPost

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

FileContentFileContentPost File Content

Takes a body of the `application/json` content type.

Corresponds with POST /file/content (the `FileContentFileContentPost` operationId).

func (*Client) FileContentFileContentPostWithBody

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

FileContentFileContentPostWithBody File Content

Takes any type of body and a specified content type.

Corresponds with POST /file/content (the `FileContentFileContentPost` operationId).

func (*Client) FileCreateFileCreatePostWithBody

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

FileCreateFileCreatePostWithBody File Create

Takes any type of body and a specified content type.

Corresponds with POST /file/create (the `FileCreateFileCreatePost` operationId).

func (*Client) FilesResolveUrlFilesResolveUrlPost added in v0.2.0

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

FilesResolveUrlFilesResolveUrlPost Files Resolve Url

Takes a body of the `application/json` content type.

Corresponds with POST /files/resolve_url (the `FilesResolveUrlFilesResolveUrlPost` operationId).

func (*Client) FilesResolveUrlFilesResolveUrlPostWithBody added in v0.2.0

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

FilesResolveUrlFilesResolveUrlPostWithBody Files Resolve Url

Takes any type of body and a specified content type.

Corresponds with POST /files/resolve_url (the `FilesResolveUrlFilesResolveUrlPost` operationId).

func (*Client) FilesStatsFilesQueryStatsPost

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

FilesStatsFilesQueryStatsPost Files Stats

Takes a body of the `application/json` content type.

Corresponds with POST /files/query_stats (the `FilesStatsFilesQueryStatsPost` operationId).

func (*Client) FilesStatsFilesQueryStatsPostWithBody

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

FilesStatsFilesQueryStatsPostWithBody Files Stats

Takes any type of body and a specified content type.

Corresponds with POST /files/query_stats (the `FilesStatsFilesQueryStatsPost` operationId).

func (*Client) GenaiAgentVersionsQueryAgentsAgentVersionsQueryPost added in v0.2.0

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

GenaiAgentVersionsQueryAgentsAgentVersionsQueryPost Genai Agent Versions Query

Takes a body of the `application/json` content type.

Corresponds with POST /agents/agent-versions/query (the `GenaiAgentVersionsQueryAgentsAgentVersionsQueryPost` operationId).

func (*Client) GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostWithBody added in v0.2.0

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

GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostWithBody Genai Agent Versions Query

Takes any type of body and a specified content type.

Corresponds with POST /agents/agent-versions/query (the `GenaiAgentVersionsQueryAgentsAgentVersionsQueryPost` operationId).

func (*Client) GenaiAgentsQueryAgentsQueryPost added in v0.2.0

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

GenaiAgentsQueryAgentsQueryPost Genai Agents Query

Takes a body of the `application/json` content type.

Corresponds with POST /agents/query (the `GenaiAgentsQueryAgentsQueryPost` operationId).

func (*Client) GenaiAgentsQueryAgentsQueryPostWithBody added in v0.2.0

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

GenaiAgentsQueryAgentsQueryPostWithBody Genai Agents Query

Takes any type of body and a specified content type.

Corresponds with POST /agents/query (the `GenaiAgentsQueryAgentsQueryPost` operationId).

func (*Client) GenaiConversationChatAgentsConversationsChatPost added in v0.2.0

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

GenaiConversationChatAgentsConversationsChatPost Genai Conversation Chat

Takes a body of the `application/json` content type.

Corresponds with POST /agents/conversations/chat (the `GenaiConversationChatAgentsConversationsChatPost` operationId).

func (*Client) GenaiConversationChatAgentsConversationsChatPostWithBody added in v0.2.0

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

GenaiConversationChatAgentsConversationsChatPostWithBody Genai Conversation Chat

Takes any type of body and a specified content type.

Corresponds with POST /agents/conversations/chat (the `GenaiConversationChatAgentsConversationsChatPost` operationId).

func (*Client) GenaiConversationSpansAgentsConversationsSpansPost added in v0.2.0

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

GenaiConversationSpansAgentsConversationsSpansPost Genai Conversation Spans

Takes a body of the `application/json` content type.

Corresponds with POST /agents/conversations/spans (the `GenaiConversationSpansAgentsConversationsSpansPost` operationId).

func (*Client) GenaiConversationSpansAgentsConversationsSpansPostWithBody added in v0.2.0

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

GenaiConversationSpansAgentsConversationsSpansPostWithBody Genai Conversation Spans

Takes any type of body and a specified content type.

Corresponds with POST /agents/conversations/spans (the `GenaiConversationSpansAgentsConversationsSpansPost` operationId).

func (*Client) GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPost added in v0.2.0

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

GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPost Genai Custom Attrs Schema

Discover typed custom attribute keys on matching agent spans.

Takes a body of the `application/json` content type.

Corresponds with POST /agents/spans/custom-attrs/schema (the `GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPost` operationId).

func (*Client) GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostWithBody added in v0.2.0

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

GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostWithBody Genai Custom Attrs Schema

Discover typed custom attribute keys on matching agent spans.

Takes any type of body and a specified content type.

Corresponds with POST /agents/spans/custom-attrs/schema (the `GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPost` operationId).

func (*Client) GenaiSearchAgentsSearchPost added in v0.2.0

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

GenaiSearchAgentsSearchPost Genai Search

Takes a body of the `application/json` content type.

Corresponds with POST /agents/search (the `GenaiSearchAgentsSearchPost` operationId).

func (*Client) GenaiSearchAgentsSearchPostWithBody added in v0.2.0

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

GenaiSearchAgentsSearchPostWithBody Genai Search

Takes any type of body and a specified content type.

Corresponds with POST /agents/search (the `GenaiSearchAgentsSearchPost` operationId).

func (*Client) GenaiSpansExistsAgentsSpansExistsPost added in v0.2.2

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

GenaiSpansExistsAgentsSpansExistsPost Genai Spans Exists

Check whether a project has any matching agent spans.

Takes a body of the `application/json` content type.

Corresponds with POST /agents/spans/exists (the `GenaiSpansExistsAgentsSpansExistsPost` operationId).

func (*Client) GenaiSpansExistsAgentsSpansExistsPostWithBody added in v0.2.2

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

GenaiSpansExistsAgentsSpansExistsPostWithBody Genai Spans Exists

Check whether a project has any matching agent spans.

Takes any type of body and a specified content type.

Corresponds with POST /agents/spans/exists (the `GenaiSpansExistsAgentsSpansExistsPost` operationId).

func (*Client) GenaiSpansQueryAgentsSpansQueryPost added in v0.2.0

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

GenaiSpansQueryAgentsSpansQueryPost Genai Spans Query

Query agent spans, either as raw rows or grouped aggregates.

Takes a body of the `application/json` content type.

Corresponds with POST /agents/spans/query (the `GenaiSpansQueryAgentsSpansQueryPost` operationId).

func (*Client) GenaiSpansQueryAgentsSpansQueryPostWithBody added in v0.2.0

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

GenaiSpansQueryAgentsSpansQueryPostWithBody Genai Spans Query

Query agent spans, either as raw rows or grouped aggregates.

Takes any type of body and a specified content type.

Corresponds with POST /agents/spans/query (the `GenaiSpansQueryAgentsSpansQueryPost` operationId).

func (*Client) GenaiSpansStatsAgentsSpansStatsPost added in v0.2.0

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

GenaiSpansStatsAgentsSpansStatsPost Genai Spans Stats

Query chart-ready aggregations over agent spans.

Takes a body of the `application/json` content type.

Corresponds with POST /agents/spans/stats (the `GenaiSpansStatsAgentsSpansStatsPost` operationId).

func (*Client) GenaiSpansStatsAgentsSpansStatsPostWithBody added in v0.2.0

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

GenaiSpansStatsAgentsSpansStatsPostWithBody Genai Spans Stats

Query chart-ready aggregations over agent spans.

Takes any type of body and a specified content type.

Corresponds with POST /agents/spans/stats (the `GenaiSpansStatsAgentsSpansStatsPost` operationId).

func (*Client) GenaiTracesChatAgentsTracesChatPost added in v0.2.0

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

GenaiTracesChatAgentsTracesChatPost Genai Traces Chat

Takes a body of the `application/json` content type.

Corresponds with POST /agents/traces/chat (the `GenaiTracesChatAgentsTracesChatPost` operationId).

func (*Client) GenaiTracesChatAgentsTracesChatPostWithBody added in v0.2.0

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

GenaiTracesChatAgentsTracesChatPostWithBody Genai Traces Chat

Takes any type of body and a specified content type.

Corresponds with POST /agents/traces/chat (the `GenaiTracesChatAgentsTracesChatPost` operationId).

func (*Client) GetCallerLocationGeolocateGet

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

GetCallerLocationGeolocateGet Get Caller Location

Lookup the geographic location of a user based on their IP address.

This API exists for debugging purposes and may not be available in the future.

Corresponds with GET /geolocate (the `GetCallerLocationGeolocateGet` operationId).

func (*Client) GetProjectExport added in v0.2.1

func (c *Client) GetProjectExport(ctx context.Context, entity string, project string, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetProjectExport Get Status

Read a known export job. Partial output is never returned.

Corresponds with GET /v1/entities/{entity}/projects/{project}/exports/{job_id} (the `GetProjectExport` operationId).

func (*Client) ImageCreateImageCreatePost

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

ImageCreateImageCreatePost Image Create

Takes a body of the `application/json` content type.

Corresponds with POST /image/create (the `ImageCreateImageCreatePost` operationId).

func (*Client) ImageCreateImageCreatePostWithBody

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

ImageCreateImageCreatePostWithBody Image Create

Takes any type of body and a specified content type.

Corresponds with POST /image/create (the `ImageCreateImageCreatePost` operationId).

func (*Client) InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGet added in v0.2.0

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

InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGet Inference Analysis Artificialanalysis Models

Returns a list of available models for Artificial Analysis.

This API is available without authentication.

Corresponds with GET /inference/analysis/artificialanalysis/models (the `InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGet` operationId).

func (*Client) InferenceCatalogModelsInferenceCatalogModelsGet added in v0.2.0

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

InferenceCatalogModelsInferenceCatalogModelsGet Inference Catalog Models

Returns a list of available Serverless Inference models.

This API is available without authentication.

Corresponds with GET /inference/catalog/models (the `InferenceCatalogModelsInferenceCatalogModelsGet` operationId).

func (*Client) InferenceModelsdevModelsInferenceModelsdevModelsGet added in v0.2.0

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

InferenceModelsdevModelsInferenceModelsdevModelsGet Inference Modelsdev Models

Returns the available models in the models.dev `api.json` schema.

This API is available without authentication.

Corresponds with GET /inference/modelsdev/models (the `InferenceModelsdevModelsInferenceModelsdevModelsGet` operationId).

func (*Client) InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGet

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

InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGet Inference Router Openrouter Models

Returns a list of models that are available to be used with OpenRouter.

This API is available without authentication.

Corresponds with GET /inference/router/openrouter/models (the `InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGet` operationId).

func (*Client) LinkToRegistryLinkToRegistryPost added in v0.2.0

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

LinkToRegistryLinkToRegistryPost Link To Registry

Takes a body of the `application/json` content type.

Corresponds with POST /link_to_registry (the `LinkToRegistryLinkToRegistryPost` operationId).

func (*Client) LinkToRegistryLinkToRegistryPostWithBody added in v0.2.0

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

LinkToRegistryLinkToRegistryPostWithBody Link To Registry

Takes any type of body and a specified content type.

Corresponds with POST /link_to_registry (the `LinkToRegistryLinkToRegistryPost` operationId).

func (*Client) ModelCreateV2EntityProjectModelsPost

func (c *Client) ModelCreateV2EntityProjectModelsPost(ctx context.Context, entity string, project string, body ModelCreateV2EntityProjectModelsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ModelCreateV2EntityProjectModelsPost Model Create

Create a model object.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/{entity}/{project}/models (the `ModelCreateV2EntityProjectModelsPost` operationId).

func (*Client) ModelCreateV2EntityProjectModelsPostWithBody

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

ModelCreateV2EntityProjectModelsPostWithBody Model Create

Create a model object.

Takes any type of body and a specified content type.

Corresponds with POST /v2/{entity}/{project}/models (the `ModelCreateV2EntityProjectModelsPost` operationId).

func (*Client) ModelDeleteV2EntityProjectModelsObjectIdDelete

func (c *Client) ModelDeleteV2EntityProjectModelsObjectIdDelete(ctx context.Context, entity string, project string, objectId string, params *ModelDeleteV2EntityProjectModelsObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ModelDeleteV2EntityProjectModelsObjectIdDelete Model Delete

Delete a model object. If digests are provided, only those versions are deleted. Otherwise, all versions are deleted.

Corresponds with DELETE /v2/{entity}/{project}/models/{object_id} (the `ModelDeleteV2EntityProjectModelsObjectIdDelete` operationId).

func (*Client) ModelListV2EntityProjectModelsGet

func (c *Client) ModelListV2EntityProjectModelsGet(ctx context.Context, entity string, project string, params *ModelListV2EntityProjectModelsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ModelListV2EntityProjectModelsGet Model List

List model objects.

Corresponds with GET /v2/{entity}/{project}/models (the `ModelListV2EntityProjectModelsGet` operationId).

func (*Client) ModelReadV2EntityProjectModelsObjectIdVersionsDigestGet

func (c *Client) ModelReadV2EntityProjectModelsObjectIdVersionsDigestGet(ctx context.Context, entity string, project string, objectId string, digest string, reqEditors ...RequestEditorFn) (*http.Response, error)

ModelReadV2EntityProjectModelsObjectIdVersionsDigestGet Model Read

Get a model object.

Corresponds with GET /v2/{entity}/{project}/models/{object_id}/versions/{digest} (the `ModelReadV2EntityProjectModelsObjectIdVersionsDigestGet` operationId).

func (*Client) NvidiaHardwareInferenceNvidiaV2HardwareGet added in v0.2.0

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

NvidiaHardwareInferenceNvidiaV2HardwareGet Nvidia Hardware

Returns available hardware and pricing for a given model.

Called by NVIDIA to show users their options and redirect them based on what we support. Only serverless options are returned.

Corresponds with GET /inference/nvidia/v2/hardware (the `NvidiaHardwareInferenceNvidiaV2HardwareGet` operationId).

func (*Client) ObjAddTagsObjsObjectIdVersionsDigestTagsPut added in v0.2.0

func (c *Client) ObjAddTagsObjsObjectIdVersionsDigestTagsPut(ctx context.Context, objectId string, digest string, body ObjAddTagsObjsObjectIdVersionsDigestTagsPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ObjAddTagsObjsObjectIdVersionsDigestTagsPut Obj Add Tags

Add tags to an object version.

Takes a body of the `application/json` content type.

Corresponds with PUT /objs/{object_id}/versions/{digest}/tags (the `ObjAddTagsObjsObjectIdVersionsDigestTagsPut` operationId).

func (*Client) ObjAddTagsObjsObjectIdVersionsDigestTagsPutWithBody added in v0.2.0

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

ObjAddTagsObjsObjectIdVersionsDigestTagsPutWithBody Obj Add Tags

Add tags to an object version.

Takes any type of body and a specified content type.

Corresponds with PUT /objs/{object_id}/versions/{digest}/tags (the `ObjAddTagsObjsObjectIdVersionsDigestTagsPut` operationId).

func (*Client) ObjCreateObjCreatePost

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

ObjCreateObjCreatePost Obj Create

Takes a body of the `application/json` content type.

Corresponds with POST /obj/create (the `ObjCreateObjCreatePost` operationId).

func (*Client) ObjCreateObjCreatePostWithBody

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

ObjCreateObjCreatePostWithBody Obj Create

Takes any type of body and a specified content type.

Corresponds with POST /obj/create (the `ObjCreateObjCreatePost` operationId).

func (*Client) ObjDeleteObjDeletePost

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

ObjDeleteObjDeletePost Obj Delete

Takes a body of the `application/json` content type.

Corresponds with POST /obj/delete (the `ObjDeleteObjDeletePost` operationId).

func (*Client) ObjDeleteObjDeletePostWithBody

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

ObjDeleteObjDeletePostWithBody Obj Delete

Takes any type of body and a specified content type.

Corresponds with POST /obj/delete (the `ObjDeleteObjDeletePost` operationId).

func (*Client) ObjReadObjReadPost

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

ObjReadObjReadPost Obj Read

Takes a body of the `application/json` content type.

Corresponds with POST /obj/read (the `ObjReadObjReadPost` operationId).

func (*Client) ObjReadObjReadPostWithBody

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

ObjReadObjReadPostWithBody Obj Read

Takes any type of body and a specified content type.

Corresponds with POST /obj/read (the `ObjReadObjReadPost` operationId).

func (*Client) ObjRemoveAliasesObjsObjectIdAliasesRemovePost added in v0.2.0

func (c *Client) ObjRemoveAliasesObjsObjectIdAliasesRemovePost(ctx context.Context, objectId string, body ObjRemoveAliasesObjsObjectIdAliasesRemovePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ObjRemoveAliasesObjsObjectIdAliasesRemovePost Obj Remove Aliases

Remove aliases from an object.

Takes a body of the `application/json` content type.

Corresponds with POST /objs/{object_id}/aliases/remove (the `ObjRemoveAliasesObjsObjectIdAliasesRemovePost` operationId).

func (*Client) ObjRemoveAliasesObjsObjectIdAliasesRemovePostWithBody added in v0.2.0

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

ObjRemoveAliasesObjsObjectIdAliasesRemovePostWithBody Obj Remove Aliases

Remove aliases from an object.

Takes any type of body and a specified content type.

Corresponds with POST /objs/{object_id}/aliases/remove (the `ObjRemoveAliasesObjsObjectIdAliasesRemovePost` operationId).

func (*Client) ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePost added in v0.2.0

func (c *Client) ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePost(ctx context.Context, objectId string, digest string, body ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePost Obj Remove Tags

Remove tags from an object version.

Takes a body of the `application/json` content type.

Corresponds with POST /objs/{object_id}/versions/{digest}/tags/remove (the `ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePost` operationId).

func (*Client) ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostWithBody added in v0.2.0

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

ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostWithBody Obj Remove Tags

Remove tags from an object version.

Takes any type of body and a specified content type.

Corresponds with POST /objs/{object_id}/versions/{digest}/tags/remove (the `ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePost` operationId).

func (*Client) ObjSetAliasesObjsObjectIdAliasesPut added in v0.2.0

func (c *Client) ObjSetAliasesObjsObjectIdAliasesPut(ctx context.Context, objectId string, body ObjSetAliasesObjsObjectIdAliasesPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ObjSetAliasesObjsObjectIdAliasesPut Obj Set Aliases

Set aliases for an object version.

Takes a body of the `application/json` content type.

Corresponds with PUT /objs/{object_id}/aliases (the `ObjSetAliasesObjsObjectIdAliasesPut` operationId).

func (*Client) ObjSetAliasesObjsObjectIdAliasesPutWithBody added in v0.2.0

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

ObjSetAliasesObjsObjectIdAliasesPutWithBody Obj Set Aliases

Set aliases for an object version.

Takes any type of body and a specified content type.

Corresponds with PUT /objs/{object_id}/aliases (the `ObjSetAliasesObjsObjectIdAliasesPut` operationId).

func (*Client) ObjsQueryObjsQueryPost

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

ObjsQueryObjsQueryPost Objs Query

Takes a body of the `application/json` content type.

Corresponds with POST /objs/query (the `ObjsQueryObjsQueryPost` operationId).

func (*Client) ObjsQueryObjsQueryPostWithBody

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

ObjsQueryObjsQueryPostWithBody Objs Query

Takes any type of body and a specified content type.

Corresponds with POST /objs/query (the `ObjsQueryObjsQueryPost` operationId).

func (*Client) OpCreateV2EntityProjectOpsPost

func (c *Client) OpCreateV2EntityProjectOpsPost(ctx context.Context, entity string, project string, body OpCreateV2EntityProjectOpsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

OpCreateV2EntityProjectOpsPost Op Create

Create an op object.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/{entity}/{project}/ops (the `OpCreateV2EntityProjectOpsPost` operationId).

func (*Client) OpCreateV2EntityProjectOpsPostWithBody

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

OpCreateV2EntityProjectOpsPostWithBody Op Create

Create an op object.

Takes any type of body and a specified content type.

Corresponds with POST /v2/{entity}/{project}/ops (the `OpCreateV2EntityProjectOpsPost` operationId).

func (*Client) OpDeleteV2EntityProjectOpsObjectIdDelete

func (c *Client) OpDeleteV2EntityProjectOpsObjectIdDelete(ctx context.Context, entity string, project string, objectId string, params *OpDeleteV2EntityProjectOpsObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

OpDeleteV2EntityProjectOpsObjectIdDelete Op Delete

Delete an op object. If digests are provided, only those versions are deleted. Otherwise, all versions are deleted.

Corresponds with DELETE /v2/{entity}/{project}/ops/{object_id} (the `OpDeleteV2EntityProjectOpsObjectIdDelete` operationId).

func (*Client) OpListV2EntityProjectOpsGet

func (c *Client) OpListV2EntityProjectOpsGet(ctx context.Context, entity string, project string, params *OpListV2EntityProjectOpsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

OpListV2EntityProjectOpsGet Op List

List op objects.

Corresponds with GET /v2/{entity}/{project}/ops (the `OpListV2EntityProjectOpsGet` operationId).

func (*Client) OpReadV2EntityProjectOpsObjectIdVersionsDigestGet

func (c *Client) OpReadV2EntityProjectOpsObjectIdVersionsDigestGet(ctx context.Context, entity string, project string, objectId string, digest string, params *OpReadV2EntityProjectOpsObjectIdVersionsDigestGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

OpReadV2EntityProjectOpsObjectIdVersionsDigestGet Op Read

Get an op object.

Corresponds with GET /v2/{entity}/{project}/ops/{object_id}/versions/{digest} (the `OpReadV2EntityProjectOpsObjectIdVersionsDigestGet` operationId).

func (*Client) PredictionCreateV2EntityProjectPredictionsPost

func (c *Client) PredictionCreateV2EntityProjectPredictionsPost(ctx context.Context, entity string, project string, body PredictionCreateV2EntityProjectPredictionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

PredictionCreateV2EntityProjectPredictionsPost Prediction Create

Create a prediction.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/{entity}/{project}/predictions (the `PredictionCreateV2EntityProjectPredictionsPost` operationId).

func (*Client) PredictionCreateV2EntityProjectPredictionsPostWithBody

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

PredictionCreateV2EntityProjectPredictionsPostWithBody Prediction Create

Create a prediction.

Takes any type of body and a specified content type.

Corresponds with POST /v2/{entity}/{project}/predictions (the `PredictionCreateV2EntityProjectPredictionsPost` operationId).

func (*Client) PredictionDeleteV2EntityProjectPredictionsDelete

func (c *Client) PredictionDeleteV2EntityProjectPredictionsDelete(ctx context.Context, entity string, project string, params *PredictionDeleteV2EntityProjectPredictionsDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

PredictionDeleteV2EntityProjectPredictionsDelete Prediction Delete

Delete predictions.

Corresponds with DELETE /v2/{entity}/{project}/predictions (the `PredictionDeleteV2EntityProjectPredictionsDelete` operationId).

func (*Client) PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPost

func (c *Client) PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPost(ctx context.Context, entity string, project string, predictionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPost Prediction Finish

Finish a prediction.

Corresponds with POST /v2/{entity}/{project}/predictions/{prediction_id}/finish (the `PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPost` operationId).

func (*Client) PredictionListV2EntityProjectPredictionsGet

func (c *Client) PredictionListV2EntityProjectPredictionsGet(ctx context.Context, entity string, project string, params *PredictionListV2EntityProjectPredictionsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

PredictionListV2EntityProjectPredictionsGet Prediction List

List predictions.

Corresponds with GET /v2/{entity}/{project}/predictions (the `PredictionListV2EntityProjectPredictionsGet` operationId).

func (*Client) PredictionReadV2EntityProjectPredictionsPredictionIdGet

func (c *Client) PredictionReadV2EntityProjectPredictionsPredictionIdGet(ctx context.Context, entity string, project string, predictionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

PredictionReadV2EntityProjectPredictionsPredictionIdGet Prediction Read

Read a prediction.

Corresponds with GET /v2/{entity}/{project}/predictions/{prediction_id} (the `PredictionReadV2EntityProjectPredictionsPredictionIdGet` operationId).

func (*Client) ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPost added in v0.2.0

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

ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPost Project Ingest Sampling Settings Read

Takes a body of the `application/json` content type.

Corresponds with POST /project/ingest_sampling_settings/read (the `ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPost` operationId).

func (*Client) ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostWithBody added in v0.2.0

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

ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostWithBody Project Ingest Sampling Settings Read

Takes any type of body and a specified content type.

Corresponds with POST /project/ingest_sampling_settings/read (the `ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPost` operationId).

func (*Client) ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGet added in v0.2.0

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

ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGet Project Sensitive Data Settings Read

Read the owning organization's sensitive-data policy for a project.

Corresponds with GET /project/sensitive_data_settings (the `ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGet` operationId).

func (*Client) ProjectStatsProjectStatsPost added in v0.2.0

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

ProjectStatsProjectStatsPost Project Stats

Takes a body of the `application/json` content type.

Corresponds with POST /project/stats (the `ProjectStatsProjectStatsPost` operationId).

func (*Client) ProjectStatsProjectStatsPostWithBody added in v0.2.0

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

ProjectStatsProjectStatsPostWithBody Project Stats

Takes any type of body and a specified content type.

Corresponds with POST /project/stats (the `ProjectStatsProjectStatsPost` operationId).

func (*Client) ProjectTtlSettingsReadProjectTtlSettingsReadPost added in v0.2.0

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

ProjectTtlSettingsReadProjectTtlSettingsReadPost Project Ttl Settings Read

Takes a body of the `application/json` content type.

Corresponds with POST /project/ttl_settings/read (the `ProjectTtlSettingsReadProjectTtlSettingsReadPost` operationId).

func (*Client) ProjectTtlSettingsReadProjectTtlSettingsReadPostWithBody added in v0.2.0

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

ProjectTtlSettingsReadProjectTtlSettingsReadPostWithBody Project Ttl Settings Read

Takes any type of body and a specified content type.

Corresponds with POST /project/ttl_settings/read (the `ProjectTtlSettingsReadProjectTtlSettingsReadPost` operationId).

func (*Client) ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePost added in v0.2.0

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

ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePost Project Ttl Settings Update

Takes a body of the `application/json` content type.

Corresponds with POST /project/ttl_settings/update (the `ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePost` operationId).

func (*Client) ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostWithBody added in v0.2.0

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

ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostWithBody Project Ttl Settings Update

Takes any type of body and a specified content type.

Corresponds with POST /project/ttl_settings/update (the `ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePost` operationId).

func (*Client) ProjectsInfoServiceProjectsInfoPost added in v0.2.0

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

ProjectsInfoServiceProjectsInfoPost Projects Info

Takes a body of the `application/json` content type.

Corresponds with POST /service/projects_info (the `ProjectsInfoServiceProjectsInfoPost` operationId).

func (*Client) ProjectsInfoServiceProjectsInfoPostWithBody added in v0.2.0

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

ProjectsInfoServiceProjectsInfoPostWithBody Projects Info

Takes any type of body and a specified content type.

Corresponds with POST /service/projects_info (the `ProjectsInfoServiceProjectsInfoPost` operationId).

func (*Client) ReadRootHealthGet

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

ReadRootHealthGet Read Root

Corresponds with GET /health (the `ReadRootHealthGet` operationId).

func (*Client) ReadVersionVersionGet

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

ReadVersionVersionGet Read Version

Corresponds with GET /version (the `ReadVersionVersionGet` operationId).

func (*Client) RefsReadBatchRefsReadBatchPost

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

RefsReadBatchRefsReadBatchPost Refs Read Batch

Takes a body of the `application/json` content type.

Corresponds with POST /refs/read_batch (the `RefsReadBatchRefsReadBatchPost` operationId).

func (*Client) RefsReadBatchRefsReadBatchPostWithBody

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

RefsReadBatchRefsReadBatchPostWithBody Refs Read Batch

Takes any type of body and a specified content type.

Corresponds with POST /refs/read_batch (the `RefsReadBatchRefsReadBatchPost` operationId).

func (*Client) RescoreEvaluationEvaluationsRescorePost added in v0.2.0

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

RescoreEvaluationEvaluationsRescorePost Rescore Evaluation

Rescore an existing evaluation run with different scorer(s).

Applies the provided scorer(s) to the predictions from source_evaluation_run_id and returns a new evaluation_run_id. Original prediction call IDs are preserved.

Takes a body of the `application/json` content type.

Corresponds with POST /evaluations/rescore (the `RescoreEvaluationEvaluationsRescorePost` operationId).

func (*Client) RescoreEvaluationEvaluationsRescorePostWithBody added in v0.2.0

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

RescoreEvaluationEvaluationsRescorePostWithBody Rescore Evaluation

Rescore an existing evaluation run with different scorer(s).

Applies the provided scorer(s) to the predictions from source_evaluation_run_id and returns a new evaluation_run_id. Original prediction call IDs are preserved.

Takes any type of body and a specified content type.

Corresponds with POST /evaluations/rescore (the `RescoreEvaluationEvaluationsRescorePost` operationId).

func (*Client) ScoreCreateV2EntityProjectScoresPost

func (c *Client) ScoreCreateV2EntityProjectScoresPost(ctx context.Context, entity string, project string, body ScoreCreateV2EntityProjectScoresPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ScoreCreateV2EntityProjectScoresPost Score Create

Create a score.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/{entity}/{project}/scores (the `ScoreCreateV2EntityProjectScoresPost` operationId).

func (*Client) ScoreCreateV2EntityProjectScoresPostWithBody

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

ScoreCreateV2EntityProjectScoresPostWithBody Score Create

Create a score.

Takes any type of body and a specified content type.

Corresponds with POST /v2/{entity}/{project}/scores (the `ScoreCreateV2EntityProjectScoresPost` operationId).

func (*Client) ScoreDeleteV2EntityProjectScoresDelete

func (c *Client) ScoreDeleteV2EntityProjectScoresDelete(ctx context.Context, entity string, project string, params *ScoreDeleteV2EntityProjectScoresDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ScoreDeleteV2EntityProjectScoresDelete Score Delete

Delete scores.

Corresponds with DELETE /v2/{entity}/{project}/scores (the `ScoreDeleteV2EntityProjectScoresDelete` operationId).

func (*Client) ScoreListV2EntityProjectScoresGet

func (c *Client) ScoreListV2EntityProjectScoresGet(ctx context.Context, entity string, project string, params *ScoreListV2EntityProjectScoresGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ScoreListV2EntityProjectScoresGet Score List

List scores.

Corresponds with GET /v2/{entity}/{project}/scores (the `ScoreListV2EntityProjectScoresGet` operationId).

func (*Client) ScoreReadV2EntityProjectScoresScoreIdGet

func (c *Client) ScoreReadV2EntityProjectScoresScoreIdGet(ctx context.Context, entity string, project string, scoreId string, reqEditors ...RequestEditorFn) (*http.Response, error)

ScoreReadV2EntityProjectScoresScoreIdGet Score Read

Read a score.

Corresponds with GET /v2/{entity}/{project}/scores/{score_id} (the `ScoreReadV2EntityProjectScoresScoreIdGet` operationId).

func (*Client) ScorerCreateV2EntityProjectScorersPost

func (c *Client) ScorerCreateV2EntityProjectScorersPost(ctx context.Context, entity string, project string, body ScorerCreateV2EntityProjectScorersPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ScorerCreateV2EntityProjectScorersPost Scorer Create

Create a scorer object.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/{entity}/{project}/scorers (the `ScorerCreateV2EntityProjectScorersPost` operationId).

func (*Client) ScorerCreateV2EntityProjectScorersPostWithBody

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

ScorerCreateV2EntityProjectScorersPostWithBody Scorer Create

Create a scorer object.

Takes any type of body and a specified content type.

Corresponds with POST /v2/{entity}/{project}/scorers (the `ScorerCreateV2EntityProjectScorersPost` operationId).

func (*Client) ScorerDeleteV2EntityProjectScorersObjectIdDelete

func (c *Client) ScorerDeleteV2EntityProjectScorersObjectIdDelete(ctx context.Context, entity string, project string, objectId string, params *ScorerDeleteV2EntityProjectScorersObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ScorerDeleteV2EntityProjectScorersObjectIdDelete Scorer Delete

Delete a scorer object.

Corresponds with DELETE /v2/{entity}/{project}/scorers/{object_id} (the `ScorerDeleteV2EntityProjectScorersObjectIdDelete` operationId).

func (*Client) ScorerListV2EntityProjectScorersGet

func (c *Client) ScorerListV2EntityProjectScorersGet(ctx context.Context, entity string, project string, params *ScorerListV2EntityProjectScorersGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ScorerListV2EntityProjectScorersGet Scorer List

List scorer objects.

Corresponds with GET /v2/{entity}/{project}/scorers (the `ScorerListV2EntityProjectScorersGet` operationId).

func (*Client) ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGet

func (c *Client) ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGet(ctx context.Context, entity string, project string, objectId string, digest string, reqEditors ...RequestEditorFn) (*http.Response, error)

ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGet Scorer Read

Get a scorer object.

Corresponds with GET /v2/{entity}/{project}/scorers/{object_id}/versions/{digest} (the `ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGet` operationId).

func (*Client) ServerInfoServerInfoGet

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

ServerInfoServerInfoGet Server Info

Corresponds with GET /server_info (the `ServerInfoServerInfoGet` operationId).

func (*Client) SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPost added in v0.2.0

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

SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPost Source Datasets Query

Reverse provenance lookup: sources -> datasets they appear in.

Takes a body of the `application/json` content type.

Corresponds with POST /dataset_sources/source_datasets_query (the `SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPost` operationId).

func (*Client) SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostWithBody added in v0.2.0

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

SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostWithBody Source Datasets Query

Reverse provenance lookup: sources -> datasets they appear in.

Takes any type of body and a specified content type.

Corresponds with POST /dataset_sources/source_datasets_query (the `SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPost` operationId).

func (*Client) TableCreateFromDigestsTableCreateFromDigestsPost

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

TableCreateFromDigestsTableCreateFromDigestsPost Table Create From Digests

Takes a body of the `application/json` content type.

Corresponds with POST /table/create_from_digests (the `TableCreateFromDigestsTableCreateFromDigestsPost` operationId).

func (*Client) TableCreateFromDigestsTableCreateFromDigestsPostWithBody

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

TableCreateFromDigestsTableCreateFromDigestsPostWithBody Table Create From Digests

Takes any type of body and a specified content type.

Corresponds with POST /table/create_from_digests (the `TableCreateFromDigestsTableCreateFromDigestsPost` operationId).

func (*Client) TableCreateTableCreatePost

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

TableCreateTableCreatePost Table Create

Takes a body of the `application/json` content type.

Corresponds with POST /table/create (the `TableCreateTableCreatePost` operationId).

func (*Client) TableCreateTableCreatePostWithBody

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

TableCreateTableCreatePostWithBody Table Create

Takes any type of body and a specified content type.

Corresponds with POST /table/create (the `TableCreateTableCreatePost` operationId).

func (*Client) TableQueryStatsBatchTableQueryStatsBatchPost

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

TableQueryStatsBatchTableQueryStatsBatchPost Table Query Stats Batch

Takes a body of the `application/json` content type.

Corresponds with POST /table/query_stats_batch (the `TableQueryStatsBatchTableQueryStatsBatchPost` operationId).

func (*Client) TableQueryStatsBatchTableQueryStatsBatchPostWithBody

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

TableQueryStatsBatchTableQueryStatsBatchPostWithBody Table Query Stats Batch

Takes any type of body and a specified content type.

Corresponds with POST /table/query_stats_batch (the `TableQueryStatsBatchTableQueryStatsBatchPost` operationId).

func (*Client) TableQueryStatsTableQueryStatsPost

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

TableQueryStatsTableQueryStatsPost Table Query Stats

Takes a body of the `application/json` content type.

Corresponds with POST /table/query_stats (the `TableQueryStatsTableQueryStatsPost` operationId).

func (*Client) TableQueryStatsTableQueryStatsPostWithBody

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

TableQueryStatsTableQueryStatsPostWithBody Table Query Stats

Takes any type of body and a specified content type.

Corresponds with POST /table/query_stats (the `TableQueryStatsTableQueryStatsPost` operationId).

func (*Client) TableQueryTableQueryPost

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

TableQueryTableQueryPost Table Query

Takes a body of the `application/json` content type.

Corresponds with POST /table/query (the `TableQueryTableQueryPost` operationId).

func (*Client) TableQueryTableQueryPostWithBody

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

TableQueryTableQueryPostWithBody Table Query

Takes any type of body and a specified content type.

Corresponds with POST /table/query (the `TableQueryTableQueryPost` operationId).

func (*Client) TableUpdateTableUpdatePost

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

TableUpdateTableUpdatePost Table Update

Takes a body of the `application/json` content type.

Corresponds with POST /table/update (the `TableUpdateTableUpdatePost` operationId).

func (*Client) TableUpdateTableUpdatePostWithBody

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

TableUpdateTableUpdatePostWithBody Table Update

Takes any type of body and a specified content type.

Corresponds with POST /table/update (the `TableUpdateTableUpdatePost` operationId).

func (*Client) TagsListTagsGet added in v0.2.0

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

TagsListTagsGet Tags List

List all tags in a project.

Corresponds with GET /tags (the `TagsListTagsGet` operationId).

func (*Client) ThreadsQueryStreamThreadsStreamQueryPost

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

ThreadsQueryStreamThreadsStreamQueryPost Threads Query Stream

Takes a body of the `application/json` content type.

Corresponds with POST /threads/stream_query (the `ThreadsQueryStreamThreadsStreamQueryPost` operationId).

func (*Client) ThreadsQueryStreamThreadsStreamQueryPostWithBody

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

ThreadsQueryStreamThreadsStreamQueryPostWithBody Threads Query Stream

Takes any type of body and a specified content type.

Corresponds with POST /threads/stream_query (the `ThreadsQueryStreamThreadsStreamQueryPost` operationId).

func (*Client) TraceUsageTraceUsagePost

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

TraceUsageTraceUsagePost Trace Usage

Compute per-call usage for a trace, with descendant rollup.

Takes a body of the `application/json` content type.

Corresponds with POST /trace/usage (the `TraceUsageTraceUsagePost` operationId).

func (*Client) TraceUsageTraceUsagePostWithBody

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

TraceUsageTraceUsagePostWithBody Trace Usage

Compute per-call usage for a trace, with descendant rollup.

Takes any type of body and a specified content type.

Corresponds with POST /trace/usage (the `TraceUsageTraceUsagePost` operationId).

type ClientInterface

type ClientInterface interface {

	// GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostWithBody Genai Agent Versions Query
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /agents/agent-versions/query (the `GenaiAgentVersionsQueryAgentsAgentVersionsQueryPost` operationId).
	GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiAgentVersionsQueryAgentsAgentVersionsQueryPost Genai Agent Versions Query
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /agents/agent-versions/query (the `GenaiAgentVersionsQueryAgentsAgentVersionsQueryPost` operationId).
	GenaiAgentVersionsQueryAgentsAgentVersionsQueryPost(ctx context.Context, body GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiConversationChatAgentsConversationsChatPostWithBody Genai Conversation Chat
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /agents/conversations/chat (the `GenaiConversationChatAgentsConversationsChatPost` operationId).
	GenaiConversationChatAgentsConversationsChatPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiConversationChatAgentsConversationsChatPost Genai Conversation Chat
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /agents/conversations/chat (the `GenaiConversationChatAgentsConversationsChatPost` operationId).
	GenaiConversationChatAgentsConversationsChatPost(ctx context.Context, body GenaiConversationChatAgentsConversationsChatPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiConversationSpansAgentsConversationsSpansPostWithBody Genai Conversation Spans
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /agents/conversations/spans (the `GenaiConversationSpansAgentsConversationsSpansPost` operationId).
	GenaiConversationSpansAgentsConversationsSpansPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiConversationSpansAgentsConversationsSpansPost Genai Conversation Spans
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /agents/conversations/spans (the `GenaiConversationSpansAgentsConversationsSpansPost` operationId).
	GenaiConversationSpansAgentsConversationsSpansPost(ctx context.Context, body GenaiConversationSpansAgentsConversationsSpansPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportGenaiTraceAgentsOtelV1TracesPost Export Genai Trace
	//
	// Ingest OTel spans into the GenAI observability system.
	//
	// Corresponds with POST /agents/otel/v1/traces (the `ExportGenaiTraceAgentsOtelV1TracesPost` operationId).
	ExportGenaiTraceAgentsOtelV1TracesPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiAgentsQueryAgentsQueryPostWithBody Genai Agents Query
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /agents/query (the `GenaiAgentsQueryAgentsQueryPost` operationId).
	GenaiAgentsQueryAgentsQueryPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiAgentsQueryAgentsQueryPost Genai Agents Query
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /agents/query (the `GenaiAgentsQueryAgentsQueryPost` operationId).
	GenaiAgentsQueryAgentsQueryPost(ctx context.Context, body GenaiAgentsQueryAgentsQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiSearchAgentsSearchPostWithBody Genai Search
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /agents/search (the `GenaiSearchAgentsSearchPost` operationId).
	GenaiSearchAgentsSearchPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiSearchAgentsSearchPost Genai Search
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /agents/search (the `GenaiSearchAgentsSearchPost` operationId).
	GenaiSearchAgentsSearchPost(ctx context.Context, body GenaiSearchAgentsSearchPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostWithBody Genai Custom Attrs Schema
	//
	// Discover typed custom attribute keys on matching agent spans.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /agents/spans/custom-attrs/schema (the `GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPost` operationId).
	GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPost Genai Custom Attrs Schema
	//
	// Discover typed custom attribute keys on matching agent spans.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /agents/spans/custom-attrs/schema (the `GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPost` operationId).
	GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPost(ctx context.Context, body GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiSpansExistsAgentsSpansExistsPostWithBody Genai Spans Exists
	//
	// Check whether a project has any matching agent spans.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /agents/spans/exists (the `GenaiSpansExistsAgentsSpansExistsPost` operationId).
	GenaiSpansExistsAgentsSpansExistsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiSpansExistsAgentsSpansExistsPost Genai Spans Exists
	//
	// Check whether a project has any matching agent spans.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /agents/spans/exists (the `GenaiSpansExistsAgentsSpansExistsPost` operationId).
	GenaiSpansExistsAgentsSpansExistsPost(ctx context.Context, body GenaiSpansExistsAgentsSpansExistsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiSpansQueryAgentsSpansQueryPostWithBody Genai Spans Query
	//
	// Query agent spans, either as raw rows or grouped aggregates.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /agents/spans/query (the `GenaiSpansQueryAgentsSpansQueryPost` operationId).
	GenaiSpansQueryAgentsSpansQueryPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiSpansQueryAgentsSpansQueryPost Genai Spans Query
	//
	// Query agent spans, either as raw rows or grouped aggregates.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /agents/spans/query (the `GenaiSpansQueryAgentsSpansQueryPost` operationId).
	GenaiSpansQueryAgentsSpansQueryPost(ctx context.Context, body GenaiSpansQueryAgentsSpansQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiSpansStatsAgentsSpansStatsPostWithBody Genai Spans Stats
	//
	// Query chart-ready aggregations over agent spans.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /agents/spans/stats (the `GenaiSpansStatsAgentsSpansStatsPost` operationId).
	GenaiSpansStatsAgentsSpansStatsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiSpansStatsAgentsSpansStatsPost Genai Spans Stats
	//
	// Query chart-ready aggregations over agent spans.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /agents/spans/stats (the `GenaiSpansStatsAgentsSpansStatsPost` operationId).
	GenaiSpansStatsAgentsSpansStatsPost(ctx context.Context, body GenaiSpansStatsAgentsSpansStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiTracesChatAgentsTracesChatPostWithBody Genai Traces Chat
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /agents/traces/chat (the `GenaiTracesChatAgentsTracesChatPost` operationId).
	GenaiTracesChatAgentsTracesChatPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GenaiTracesChatAgentsTracesChatPost Genai Traces Chat
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /agents/traces/chat (the `GenaiTracesChatAgentsTracesChatPost` operationId).
	GenaiTracesChatAgentsTracesChatPost(ctx context.Context, body GenaiTracesChatAgentsTracesChatPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AliasesListAliasesGet Aliases List
	//
	// List all aliases in a project.
	//
	// Corresponds with GET /aliases (the `AliasesListAliasesGet` operationId).
	AliasesListAliasesGet(ctx context.Context, params *AliasesListAliasesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnnotationQueueCreateAnnotationQueuesPostWithBody Annotation Queue Create
	//
	// Create a new annotation queue.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /annotation_queues (the `AnnotationQueueCreateAnnotationQueuesPost` operationId).
	AnnotationQueueCreateAnnotationQueuesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnnotationQueueCreateAnnotationQueuesPost Annotation Queue Create
	//
	// Create a new annotation queue.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /annotation_queues (the `AnnotationQueueCreateAnnotationQueuesPost` operationId).
	AnnotationQueueCreateAnnotationQueuesPost(ctx context.Context, body AnnotationQueueCreateAnnotationQueuesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnnotationQueuesQueryStreamAnnotationQueuesQueryPostWithBody Annotation Queues Query Stream
	//
	// Query annotation queues for a project (streaming NDJSON response).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /annotation_queues/query (the `AnnotationQueuesQueryStreamAnnotationQueuesQueryPost` operationId).
	AnnotationQueuesQueryStreamAnnotationQueuesQueryPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnnotationQueuesQueryStreamAnnotationQueuesQueryPost Annotation Queues Query Stream
	//
	// Query annotation queues for a project (streaming NDJSON response).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /annotation_queues/query (the `AnnotationQueuesQueryStreamAnnotationQueuesQueryPost` operationId).
	AnnotationQueuesQueryStreamAnnotationQueuesQueryPost(ctx context.Context, body AnnotationQueuesQueryStreamAnnotationQueuesQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnnotationQueuesStatsAnnotationQueuesStatsPostWithBody Annotation Queues Stats
	//
	// Get stats for multiple annotation queues.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /annotation_queues/stats (the `AnnotationQueuesStatsAnnotationQueuesStatsPost` operationId).
	AnnotationQueuesStatsAnnotationQueuesStatsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnnotationQueuesStatsAnnotationQueuesStatsPost Annotation Queues Stats
	//
	// Get stats for multiple annotation queues.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /annotation_queues/stats (the `AnnotationQueuesStatsAnnotationQueuesStatsPost` operationId).
	AnnotationQueuesStatsAnnotationQueuesStatsPost(ctx context.Context, body AnnotationQueuesStatsAnnotationQueuesStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnnotationQueueDeleteAnnotationQueuesQueueIdDelete Annotation Queue Delete
	//
	// Delete (soft-delete) an annotation queue.
	//
	// Corresponds with DELETE /annotation_queues/{queue_id} (the `AnnotationQueueDeleteAnnotationQueuesQueueIdDelete` operationId).
	AnnotationQueueDeleteAnnotationQueuesQueueIdDelete(ctx context.Context, queueId string, params *AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnnotationQueueReadAnnotationQueuesQueueIdGet Annotation Queue Read
	//
	// Read a specific annotation queue.
	//
	// Corresponds with GET /annotation_queues/{queue_id} (the `AnnotationQueueReadAnnotationQueuesQueueIdGet` operationId).
	AnnotationQueueReadAnnotationQueuesQueueIdGet(ctx context.Context, queueId string, params *AnnotationQueueReadAnnotationQueuesQueueIdGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnnotationQueueUpdateAnnotationQueuesQueueIdPutWithBody Annotation Queue Update
	//
	// Update an annotation queue's metadata (name, description, scorer_refs).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /annotation_queues/{queue_id} (the `AnnotationQueueUpdateAnnotationQueuesQueueIdPut` operationId).
	AnnotationQueueUpdateAnnotationQueuesQueueIdPutWithBody(ctx context.Context, queueId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnnotationQueueUpdateAnnotationQueuesQueueIdPut Annotation Queue Update
	//
	// Update an annotation queue's metadata (name, description, scorer_refs).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /annotation_queues/{queue_id} (the `AnnotationQueueUpdateAnnotationQueuesQueueIdPut` operationId).
	AnnotationQueueUpdateAnnotationQueuesQueueIdPut(ctx context.Context, queueId string, body AnnotationQueueUpdateAnnotationQueuesQueueIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostWithBody Annotation Queue Add Calls
	//
	// Add calls to an annotation queue.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /annotation_queues/{queue_id}/items (the `AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPost` operationId).
	AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostWithBody(ctx context.Context, queueId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPost Annotation Queue Add Calls
	//
	// Add calls to an annotation queue.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /annotation_queues/{queue_id}/items (the `AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPost` operationId).
	AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPost(ctx context.Context, queueId string, body AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostWithBody Annotation Queue Items Query
	//
	// Query items in an annotation queue with pagination and sorting.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /annotation_queues/{queue_id}/items/query (the `AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPost` operationId).
	AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostWithBody(ctx context.Context, queueId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPost Annotation Queue Items Query
	//
	// Query items in an annotation queue with pagination and sorting.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /annotation_queues/{queue_id}/items/query (the `AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPost` operationId).
	AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPost(ctx context.Context, queueId string, body AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostWithBody Annotation Queue Item Progress Update
	//
	// Update the annotation state of a queue item for the current annotator.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /annotation_queues/{queue_id}/items/{item_id}/progress (the `AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPost` operationId).
	AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostWithBody(ctx context.Context, queueId string, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPost Annotation Queue Item Progress Update
	//
	// Update the annotation state of a queue item for the current annotator.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /annotation_queues/{queue_id}/items/{item_id}/progress (the `AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPost` operationId).
	AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPost(ctx context.Context, queueId string, itemId string, body AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallEndCallEndPostWithBody Call End
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /call/end (the `CallEndCallEndPost` operationId).
	CallEndCallEndPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallEndCallEndPost Call End
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /call/end (the `CallEndCallEndPost` operationId).
	CallEndCallEndPost(ctx context.Context, body CallEndCallEndPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallReadCallReadPostWithBody Call Read
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /call/read (the `CallReadCallReadPost` operationId).
	CallReadCallReadPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallReadCallReadPost Call Read
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /call/read (the `CallReadCallReadPost` operationId).
	CallReadCallReadPost(ctx context.Context, body CallReadCallReadPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallStartCallStartPostWithBody Call Start
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /call/start (the `CallStartCallStartPost` operationId).
	CallStartCallStartPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallStartCallStartPost Call Start
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /call/start (the `CallStartCallStartPost` operationId).
	CallStartCallStartPost(ctx context.Context, body CallStartCallStartPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallUpdateCallUpdatePostWithBody Call Update
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /call/update (the `CallUpdateCallUpdatePost` operationId).
	CallUpdateCallUpdatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallUpdateCallUpdatePost Call Update
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /call/update (the `CallUpdateCallUpdatePost` operationId).
	CallUpdateCallUpdatePost(ctx context.Context, body CallUpdateCallUpdatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallStartBatchCallUpsertBatchPostWithBody Call Start Batch
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /call/upsert_batch (the `CallStartBatchCallUpsertBatchPost` operationId).
	CallStartBatchCallUpsertBatchPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallStartBatchCallUpsertBatchPost Call Start Batch
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /call/upsert_batch (the `CallStartBatchCallUpsertBatchPost` operationId).
	CallStartBatchCallUpsertBatchPost(ctx context.Context, body CallStartBatchCallUpsertBatchPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallsDeleteCallsDeletePostWithBody Calls Delete
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /calls/delete (the `CallsDeleteCallsDeletePost` operationId).
	CallsDeleteCallsDeletePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallsDeleteCallsDeletePost Calls Delete
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /calls/delete (the `CallsDeleteCallsDeletePost` operationId).
	CallsDeleteCallsDeletePost(ctx context.Context, body CallsDeleteCallsDeletePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallsQueryStatsCallsQueryStatsPostWithBody Calls Query Stats
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /calls/query_stats (the `CallsQueryStatsCallsQueryStatsPost` operationId).
	CallsQueryStatsCallsQueryStatsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallsQueryStatsCallsQueryStatsPost Calls Query Stats
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /calls/query_stats (the `CallsQueryStatsCallsQueryStatsPost` operationId).
	CallsQueryStatsCallsQueryStatsPost(ctx context.Context, body CallsQueryStatsCallsQueryStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallsScoreCallsScorePostWithBody Calls Score
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /calls/score (the `CallsScoreCallsScorePost` operationId).
	CallsScoreCallsScorePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallsScoreCallsScorePost Calls Score
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /calls/score (the `CallsScoreCallsScorePost` operationId).
	CallsScoreCallsScorePost(ctx context.Context, body CallsScoreCallsScorePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallStatsCallsStatsPostWithBody Call Stats
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /calls/stats (the `CallStatsCallsStatsPost` operationId).
	CallStatsCallsStatsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallStatsCallsStatsPost Call Stats
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /calls/stats (the `CallStatsCallsStatsPost` operationId).
	CallStatsCallsStatsPost(ctx context.Context, body CallStatsCallsStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallsQueryStreamCallsStreamQueryPostWithBody Calls Query Stream
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /calls/stream_query (the `CallsQueryStreamCallsStreamQueryPost` operationId).
	CallsQueryStreamCallsStreamQueryPostWithBody(ctx context.Context, params *CallsQueryStreamCallsStreamQueryPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallsQueryStreamCallsStreamQueryPost Calls Query Stream
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /calls/stream_query (the `CallsQueryStreamCallsStreamQueryPost` operationId).
	CallsQueryStreamCallsStreamQueryPost(ctx context.Context, params *CallsQueryStreamCallsStreamQueryPostParams, body CallsQueryStreamCallsStreamQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallsUsageCallsUsagePostWithBody Calls Usage
	//
	// Compute aggregated usage for multiple root calls, with descendant rollup.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /calls/usage (the `CallsUsageCallsUsagePost` operationId).
	CallsUsageCallsUsagePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallsUsageCallsUsagePost Calls Usage
	//
	// Compute aggregated usage for multiple root calls, with descendant rollup.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /calls/usage (the `CallsUsageCallsUsagePost` operationId).
	CallsUsageCallsUsagePost(ctx context.Context, body CallsUsageCallsUsagePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CompletionsCreateCompletionsCreatePostWithBody Completions Create
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /completions/create (the `CompletionsCreateCompletionsCreatePost` operationId).
	CompletionsCreateCompletionsCreatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CompletionsCreateCompletionsCreatePost Completions Create
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /completions/create (the `CompletionsCreateCompletionsCreatePost` operationId).
	CompletionsCreateCompletionsCreatePost(ctx context.Context, body CompletionsCreateCompletionsCreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CompletionsCreateStreamCompletionsCreateStreamPostWithBody Completions Create Stream
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /completions/create_stream (the `CompletionsCreateStreamCompletionsCreateStreamPost` operationId).
	CompletionsCreateStreamCompletionsCreateStreamPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CompletionsCreateStreamCompletionsCreateStreamPost Completions Create Stream
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /completions/create_stream (the `CompletionsCreateStreamCompletionsCreateStreamPost` operationId).
	CompletionsCreateStreamCompletionsCreateStreamPost(ctx context.Context, body CompletionsCreateStreamCompletionsCreateStreamPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CostCreateCostCreatePostWithBody Cost Create
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /cost/create (the `CostCreateCostCreatePost` operationId).
	CostCreateCostCreatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CostCreateCostCreatePost Cost Create
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /cost/create (the `CostCreateCostCreatePost` operationId).
	CostCreateCostCreatePost(ctx context.Context, body CostCreateCostCreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CostPurgeCostPurgePostWithBody Cost Purge
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /cost/purge (the `CostPurgeCostPurgePost` operationId).
	CostPurgeCostPurgePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CostPurgeCostPurgePost Cost Purge
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /cost/purge (the `CostPurgeCostPurgePost` operationId).
	CostPurgeCostPurgePost(ctx context.Context, body CostPurgeCostPurgePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CostQueryCostQueryPostWithBody Cost Query
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /cost/query (the `CostQueryCostQueryPost` operationId).
	CostQueryCostQueryPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CostQueryCostQueryPost Cost Query
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /cost/query (the `CostQueryCostQueryPost` operationId).
	CostQueryCostQueryPost(ctx context.Context, body CostQueryCostQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DatasetSourcesLinkDatasetSourcesLinkPostWithBody Dataset Sources Link
	//
	// Link source calls/spans to dataset rows (batch, idempotent).
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /dataset_sources/link (the `DatasetSourcesLinkDatasetSourcesLinkPost` operationId).
	DatasetSourcesLinkDatasetSourcesLinkPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DatasetSourcesLinkDatasetSourcesLinkPost Dataset Sources Link
	//
	// Link source calls/spans to dataset rows (batch, idempotent).
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /dataset_sources/link (the `DatasetSourcesLinkDatasetSourcesLinkPost` operationId).
	DatasetSourcesLinkDatasetSourcesLinkPost(ctx context.Context, body DatasetSourcesLinkDatasetSourcesLinkPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DatasetSourcesQueryDatasetSourcesQueryPostWithBody Dataset Sources Query
	//
	// Forward provenance lookup: dataset (+ optional row digests) -> sources.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /dataset_sources/query (the `DatasetSourcesQueryDatasetSourcesQueryPost` operationId).
	DatasetSourcesQueryDatasetSourcesQueryPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DatasetSourcesQueryDatasetSourcesQueryPost Dataset Sources Query
	//
	// Forward provenance lookup: dataset (+ optional row digests) -> sources.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /dataset_sources/query (the `DatasetSourcesQueryDatasetSourcesQueryPost` operationId).
	DatasetSourcesQueryDatasetSourcesQueryPost(ctx context.Context, body DatasetSourcesQueryDatasetSourcesQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostWithBody Source Datasets Query
	//
	// Reverse provenance lookup: sources -> datasets they appear in.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /dataset_sources/source_datasets_query (the `SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPost` operationId).
	SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPost Source Datasets Query
	//
	// Reverse provenance lookup: sources -> datasets they appear in.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /dataset_sources/source_datasets_query (the `SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPost` operationId).
	SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPost(ctx context.Context, body SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvaluateModelEvaluationsEvaluateModelPostWithBody Evaluate Model
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /evaluations/evaluate_model (the `EvaluateModelEvaluationsEvaluateModelPost` operationId).
	EvaluateModelEvaluationsEvaluateModelPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvaluateModelEvaluationsEvaluateModelPost Evaluate Model
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /evaluations/evaluate_model (the `EvaluateModelEvaluationsEvaluateModelPost` operationId).
	EvaluateModelEvaluationsEvaluateModelPost(ctx context.Context, body EvaluateModelEvaluationsEvaluateModelPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RescoreEvaluationEvaluationsRescorePostWithBody Rescore Evaluation
	//
	// Rescore an existing evaluation run with different scorer(s).
	//
	// Applies the provided scorer(s) to the predictions from source_evaluation_run_id
	// and returns a new evaluation_run_id. Original prediction call IDs are preserved.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /evaluations/rescore (the `RescoreEvaluationEvaluationsRescorePost` operationId).
	RescoreEvaluationEvaluationsRescorePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RescoreEvaluationEvaluationsRescorePost Rescore Evaluation
	//
	// Rescore an existing evaluation run with different scorer(s).
	//
	// Applies the provided scorer(s) to the predictions from source_evaluation_run_id
	// and returns a new evaluation_run_id. Original prediction call IDs are preserved.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /evaluations/rescore (the `RescoreEvaluationEvaluationsRescorePost` operationId).
	RescoreEvaluationEvaluationsRescorePost(ctx context.Context, body RescoreEvaluationEvaluationsRescorePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvaluationStatusEvaluationsStatusPostWithBody Evaluation Status
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /evaluations/status (the `EvaluationStatusEvaluationsStatusPost` operationId).
	EvaluationStatusEvaluationsStatusPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvaluationStatusEvaluationsStatusPost Evaluation Status
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /evaluations/status (the `EvaluationStatusEvaluationsStatusPost` operationId).
	EvaluationStatusEvaluationsStatusPost(ctx context.Context, body EvaluationStatusEvaluationsStatusPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FeedbackAggregateFeedbackAggregatePostWithBody Feedback Aggregate
	//
	// Aggregate typed scorer feedback (tags, ratings) over time buckets.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /feedback/aggregate (the `FeedbackAggregateFeedbackAggregatePost` operationId).
	FeedbackAggregateFeedbackAggregatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FeedbackAggregateFeedbackAggregatePost Feedback Aggregate
	//
	// Aggregate typed scorer feedback (tags, ratings) over time buckets.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /feedback/aggregate (the `FeedbackAggregateFeedbackAggregatePost` operationId).
	FeedbackAggregateFeedbackAggregatePost(ctx context.Context, body FeedbackAggregateFeedbackAggregatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FeedbackCreateBatchFeedbackBatchCreatePostWithBody Feedback Create Batch
	//
	// Add multiple feedback items to calls or objects.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /feedback/batch/create (the `FeedbackCreateBatchFeedbackBatchCreatePost` operationId).
	FeedbackCreateBatchFeedbackBatchCreatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FeedbackCreateBatchFeedbackBatchCreatePost Feedback Create Batch
	//
	// Add multiple feedback items to calls or objects.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /feedback/batch/create (the `FeedbackCreateBatchFeedbackBatchCreatePost` operationId).
	FeedbackCreateBatchFeedbackBatchCreatePost(ctx context.Context, body FeedbackCreateBatchFeedbackBatchCreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FeedbackCreateFeedbackCreatePostWithBody Feedback Create
	//
	// Add feedback to a call or object.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /feedback/create (the `FeedbackCreateFeedbackCreatePost` operationId).
	FeedbackCreateFeedbackCreatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FeedbackCreateFeedbackCreatePost Feedback Create
	//
	// Add feedback to a call or object.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /feedback/create (the `FeedbackCreateFeedbackCreatePost` operationId).
	FeedbackCreateFeedbackCreatePost(ctx context.Context, body FeedbackCreateFeedbackCreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FeedbackPayloadSchemaFeedbackPayloadSchemaPostWithBody Feedback Payload Schema
	//
	// Discover feedback payload schema (paths and types) from sample rows.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /feedback/payload_schema (the `FeedbackPayloadSchemaFeedbackPayloadSchemaPost` operationId).
	FeedbackPayloadSchemaFeedbackPayloadSchemaPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FeedbackPayloadSchemaFeedbackPayloadSchemaPost Feedback Payload Schema
	//
	// Discover feedback payload schema (paths and types) from sample rows.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /feedback/payload_schema (the `FeedbackPayloadSchemaFeedbackPayloadSchemaPost` operationId).
	FeedbackPayloadSchemaFeedbackPayloadSchemaPost(ctx context.Context, body FeedbackPayloadSchemaFeedbackPayloadSchemaPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FeedbackPurgeFeedbackPurgePostWithBody Feedback Purge
	//
	// Permanently delete feedback.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /feedback/purge (the `FeedbackPurgeFeedbackPurgePost` operationId).
	FeedbackPurgeFeedbackPurgePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FeedbackPurgeFeedbackPurgePost Feedback Purge
	//
	// Permanently delete feedback.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /feedback/purge (the `FeedbackPurgeFeedbackPurgePost` operationId).
	FeedbackPurgeFeedbackPurgePost(ctx context.Context, body FeedbackPurgeFeedbackPurgePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FeedbackQueryFeedbackQueryPostWithBody Feedback Query
	//
	// Query for feedback.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /feedback/query (the `FeedbackQueryFeedbackQueryPost` operationId).
	FeedbackQueryFeedbackQueryPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FeedbackQueryFeedbackQueryPost Feedback Query
	//
	// Query for feedback.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /feedback/query (the `FeedbackQueryFeedbackQueryPost` operationId).
	FeedbackQueryFeedbackQueryPost(ctx context.Context, body FeedbackQueryFeedbackQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FeedbackReplaceFeedbackReplacePostWithBody Feedback Replace
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /feedback/replace (the `FeedbackReplaceFeedbackReplacePost` operationId).
	FeedbackReplaceFeedbackReplacePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FeedbackReplaceFeedbackReplacePost Feedback Replace
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /feedback/replace (the `FeedbackReplaceFeedbackReplacePost` operationId).
	FeedbackReplaceFeedbackReplacePost(ctx context.Context, body FeedbackReplaceFeedbackReplacePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FeedbackStatsFeedbackStatsPostWithBody Feedback Stats
	//
	// Return aggregated feedback statistics over time buckets.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /feedback/stats (the `FeedbackStatsFeedbackStatsPost` operationId).
	FeedbackStatsFeedbackStatsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FeedbackStatsFeedbackStatsPost Feedback Stats
	//
	// Return aggregated feedback statistics over time buckets.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /feedback/stats (the `FeedbackStatsFeedbackStatsPost` operationId).
	FeedbackStatsFeedbackStatsPost(ctx context.Context, body FeedbackStatsFeedbackStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FileContentFileContentPostWithBody File Content
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /file/content (the `FileContentFileContentPost` operationId).
	FileContentFileContentPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FileContentFileContentPost File Content
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /file/content (the `FileContentFileContentPost` operationId).
	FileContentFileContentPost(ctx context.Context, body FileContentFileContentPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FileCreateFileCreatePostWithBody File Create
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /file/create (the `FileCreateFileCreatePost` operationId).
	FileCreateFileCreatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FilesStatsFilesQueryStatsPostWithBody Files Stats
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /files/query_stats (the `FilesStatsFilesQueryStatsPost` operationId).
	FilesStatsFilesQueryStatsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FilesStatsFilesQueryStatsPost Files Stats
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /files/query_stats (the `FilesStatsFilesQueryStatsPost` operationId).
	FilesStatsFilesQueryStatsPost(ctx context.Context, body FilesStatsFilesQueryStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FilesResolveUrlFilesResolveUrlPostWithBody Files Resolve Url
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /files/resolve_url (the `FilesResolveUrlFilesResolveUrlPost` operationId).
	FilesResolveUrlFilesResolveUrlPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// FilesResolveUrlFilesResolveUrlPost Files Resolve Url
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /files/resolve_url (the `FilesResolveUrlFilesResolveUrlPost` operationId).
	FilesResolveUrlFilesResolveUrlPost(ctx context.Context, body FilesResolveUrlFilesResolveUrlPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCallerLocationGeolocateGet Get Caller Location
	//
	// Lookup the geographic location of a user based on their IP address.
	//
	// This API exists for debugging purposes and may not be available in the future.
	//
	// Corresponds with GET /geolocate (the `GetCallerLocationGeolocateGet` operationId).
	GetCallerLocationGeolocateGet(ctx context.Context, params *GetCallerLocationGeolocateGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReadRootHealthGet Read Root
	//
	// Corresponds with GET /health (the `ReadRootHealthGet` operationId).
	ReadRootHealthGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ImageCreateImageCreatePostWithBody Image Create
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /image/create (the `ImageCreateImageCreatePost` operationId).
	ImageCreateImageCreatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ImageCreateImageCreatePost Image Create
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /image/create (the `ImageCreateImageCreatePost` operationId).
	ImageCreateImageCreatePost(ctx context.Context, body ImageCreateImageCreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGet Inference Analysis Artificialanalysis Models
	//
	// Returns a list of available models for Artificial Analysis.
	//
	// This API is available without authentication.
	//
	// Corresponds with GET /inference/analysis/artificialanalysis/models (the `InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGet` operationId).
	InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// InferenceCatalogModelsInferenceCatalogModelsGet Inference Catalog Models
	//
	// Returns a list of available Serverless Inference models.
	//
	// This API is available without authentication.
	//
	// Corresponds with GET /inference/catalog/models (the `InferenceCatalogModelsInferenceCatalogModelsGet` operationId).
	InferenceCatalogModelsInferenceCatalogModelsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// InferenceModelsdevModelsInferenceModelsdevModelsGet Inference Modelsdev Models
	//
	// Returns the available models in the models.dev `api.json` schema.
	//
	// This API is available without authentication.
	//
	// Corresponds with GET /inference/modelsdev/models (the `InferenceModelsdevModelsInferenceModelsdevModelsGet` operationId).
	InferenceModelsdevModelsInferenceModelsdevModelsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// NvidiaHardwareInferenceNvidiaV2HardwareGet Nvidia Hardware
	//
	// Returns available hardware and pricing for a given model.
	//
	// Called by NVIDIA to show users their options and redirect them
	// based on what we support.  Only serverless options are returned.
	//
	// Corresponds with GET /inference/nvidia/v2/hardware (the `NvidiaHardwareInferenceNvidiaV2HardwareGet` operationId).
	NvidiaHardwareInferenceNvidiaV2HardwareGet(ctx context.Context, params *NvidiaHardwareInferenceNvidiaV2HardwareGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGet Inference Router Openrouter Models
	//
	// Returns a list of models that are available to be used with OpenRouter.
	//
	// This API is available without authentication.
	//
	// Corresponds with GET /inference/router/openrouter/models (the `InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGet` operationId).
	InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LinkToRegistryLinkToRegistryPostWithBody Link To Registry
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /link_to_registry (the `LinkToRegistryLinkToRegistryPost` operationId).
	LinkToRegistryLinkToRegistryPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LinkToRegistryLinkToRegistryPost Link To Registry
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /link_to_registry (the `LinkToRegistryLinkToRegistryPost` operationId).
	LinkToRegistryLinkToRegistryPost(ctx context.Context, body LinkToRegistryLinkToRegistryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObjCreateObjCreatePostWithBody Obj Create
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /obj/create (the `ObjCreateObjCreatePost` operationId).
	ObjCreateObjCreatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObjCreateObjCreatePost Obj Create
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /obj/create (the `ObjCreateObjCreatePost` operationId).
	ObjCreateObjCreatePost(ctx context.Context, body ObjCreateObjCreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObjDeleteObjDeletePostWithBody Obj Delete
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /obj/delete (the `ObjDeleteObjDeletePost` operationId).
	ObjDeleteObjDeletePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObjDeleteObjDeletePost Obj Delete
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /obj/delete (the `ObjDeleteObjDeletePost` operationId).
	ObjDeleteObjDeletePost(ctx context.Context, body ObjDeleteObjDeletePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObjReadObjReadPostWithBody Obj Read
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /obj/read (the `ObjReadObjReadPost` operationId).
	ObjReadObjReadPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObjReadObjReadPost Obj Read
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /obj/read (the `ObjReadObjReadPost` operationId).
	ObjReadObjReadPost(ctx context.Context, body ObjReadObjReadPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObjsQueryObjsQueryPostWithBody Objs Query
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /objs/query (the `ObjsQueryObjsQueryPost` operationId).
	ObjsQueryObjsQueryPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObjsQueryObjsQueryPost Objs Query
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /objs/query (the `ObjsQueryObjsQueryPost` operationId).
	ObjsQueryObjsQueryPost(ctx context.Context, body ObjsQueryObjsQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObjSetAliasesObjsObjectIdAliasesPutWithBody Obj Set Aliases
	//
	// Set aliases for an object version.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /objs/{object_id}/aliases (the `ObjSetAliasesObjsObjectIdAliasesPut` operationId).
	ObjSetAliasesObjsObjectIdAliasesPutWithBody(ctx context.Context, objectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObjSetAliasesObjsObjectIdAliasesPut Obj Set Aliases
	//
	// Set aliases for an object version.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /objs/{object_id}/aliases (the `ObjSetAliasesObjsObjectIdAliasesPut` operationId).
	ObjSetAliasesObjsObjectIdAliasesPut(ctx context.Context, objectId string, body ObjSetAliasesObjsObjectIdAliasesPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObjRemoveAliasesObjsObjectIdAliasesRemovePostWithBody Obj Remove Aliases
	//
	// Remove aliases from an object.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /objs/{object_id}/aliases/remove (the `ObjRemoveAliasesObjsObjectIdAliasesRemovePost` operationId).
	ObjRemoveAliasesObjsObjectIdAliasesRemovePostWithBody(ctx context.Context, objectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObjRemoveAliasesObjsObjectIdAliasesRemovePost Obj Remove Aliases
	//
	// Remove aliases from an object.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /objs/{object_id}/aliases/remove (the `ObjRemoveAliasesObjsObjectIdAliasesRemovePost` operationId).
	ObjRemoveAliasesObjsObjectIdAliasesRemovePost(ctx context.Context, objectId string, body ObjRemoveAliasesObjsObjectIdAliasesRemovePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObjAddTagsObjsObjectIdVersionsDigestTagsPutWithBody Obj Add Tags
	//
	// Add tags to an object version.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /objs/{object_id}/versions/{digest}/tags (the `ObjAddTagsObjsObjectIdVersionsDigestTagsPut` operationId).
	ObjAddTagsObjsObjectIdVersionsDigestTagsPutWithBody(ctx context.Context, objectId string, digest string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObjAddTagsObjsObjectIdVersionsDigestTagsPut Obj Add Tags
	//
	// Add tags to an object version.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /objs/{object_id}/versions/{digest}/tags (the `ObjAddTagsObjsObjectIdVersionsDigestTagsPut` operationId).
	ObjAddTagsObjsObjectIdVersionsDigestTagsPut(ctx context.Context, objectId string, digest string, body ObjAddTagsObjsObjectIdVersionsDigestTagsPutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostWithBody Obj Remove Tags
	//
	// Remove tags from an object version.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /objs/{object_id}/versions/{digest}/tags/remove (the `ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePost` operationId).
	ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostWithBody(ctx context.Context, objectId string, digest string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePost Obj Remove Tags
	//
	// Remove tags from an object version.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /objs/{object_id}/versions/{digest}/tags/remove (the `ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePost` operationId).
	ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePost(ctx context.Context, objectId string, digest string, body ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportTraceOtelV1TracesPost Export Trace
	//
	// Corresponds with POST /otel/v1/traces (the `ExportTraceOtelV1TracesPost` operationId).
	ExportTraceOtelV1TracesPost(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostWithBody Project Ingest Sampling Settings Read
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /project/ingest_sampling_settings/read (the `ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPost` operationId).
	ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPost Project Ingest Sampling Settings Read
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /project/ingest_sampling_settings/read (the `ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPost` operationId).
	ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPost(ctx context.Context, body ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGet Project Sensitive Data Settings Read
	//
	// Read the owning organization's sensitive-data policy for a project.
	//
	// Corresponds with GET /project/sensitive_data_settings (the `ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGet` operationId).
	ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGet(ctx context.Context, params *ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectStatsProjectStatsPostWithBody Project Stats
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /project/stats (the `ProjectStatsProjectStatsPost` operationId).
	ProjectStatsProjectStatsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectStatsProjectStatsPost Project Stats
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /project/stats (the `ProjectStatsProjectStatsPost` operationId).
	ProjectStatsProjectStatsPost(ctx context.Context, body ProjectStatsProjectStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectTtlSettingsReadProjectTtlSettingsReadPostWithBody Project Ttl Settings Read
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /project/ttl_settings/read (the `ProjectTtlSettingsReadProjectTtlSettingsReadPost` operationId).
	ProjectTtlSettingsReadProjectTtlSettingsReadPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectTtlSettingsReadProjectTtlSettingsReadPost Project Ttl Settings Read
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /project/ttl_settings/read (the `ProjectTtlSettingsReadProjectTtlSettingsReadPost` operationId).
	ProjectTtlSettingsReadProjectTtlSettingsReadPost(ctx context.Context, body ProjectTtlSettingsReadProjectTtlSettingsReadPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostWithBody Project Ttl Settings Update
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /project/ttl_settings/update (the `ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePost` operationId).
	ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePost Project Ttl Settings Update
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /project/ttl_settings/update (the `ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePost` operationId).
	ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePost(ctx context.Context, body ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RefsReadBatchRefsReadBatchPostWithBody Refs Read Batch
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /refs/read_batch (the `RefsReadBatchRefsReadBatchPost` operationId).
	RefsReadBatchRefsReadBatchPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RefsReadBatchRefsReadBatchPost Refs Read Batch
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /refs/read_batch (the `RefsReadBatchRefsReadBatchPost` operationId).
	RefsReadBatchRefsReadBatchPost(ctx context.Context, body RefsReadBatchRefsReadBatchPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ServerInfoServerInfoGet Server Info
	//
	// Corresponds with GET /server_info (the `ServerInfoServerInfoGet` operationId).
	ServerInfoServerInfoGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectsInfoServiceProjectsInfoPostWithBody Projects Info
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /service/projects_info (the `ProjectsInfoServiceProjectsInfoPost` operationId).
	ProjectsInfoServiceProjectsInfoPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectsInfoServiceProjectsInfoPost Projects Info
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /service/projects_info (the `ProjectsInfoServiceProjectsInfoPost` operationId).
	ProjectsInfoServiceProjectsInfoPost(ctx context.Context, body ProjectsInfoServiceProjectsInfoPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TableCreateTableCreatePostWithBody Table Create
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /table/create (the `TableCreateTableCreatePost` operationId).
	TableCreateTableCreatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TableCreateTableCreatePost Table Create
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /table/create (the `TableCreateTableCreatePost` operationId).
	TableCreateTableCreatePost(ctx context.Context, body TableCreateTableCreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TableCreateFromDigestsTableCreateFromDigestsPostWithBody Table Create From Digests
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /table/create_from_digests (the `TableCreateFromDigestsTableCreateFromDigestsPost` operationId).
	TableCreateFromDigestsTableCreateFromDigestsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TableCreateFromDigestsTableCreateFromDigestsPost Table Create From Digests
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /table/create_from_digests (the `TableCreateFromDigestsTableCreateFromDigestsPost` operationId).
	TableCreateFromDigestsTableCreateFromDigestsPost(ctx context.Context, body TableCreateFromDigestsTableCreateFromDigestsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TableQueryTableQueryPostWithBody Table Query
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /table/query (the `TableQueryTableQueryPost` operationId).
	TableQueryTableQueryPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TableQueryTableQueryPost Table Query
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /table/query (the `TableQueryTableQueryPost` operationId).
	TableQueryTableQueryPost(ctx context.Context, body TableQueryTableQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TableQueryStatsTableQueryStatsPostWithBody Table Query Stats
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /table/query_stats (the `TableQueryStatsTableQueryStatsPost` operationId).
	TableQueryStatsTableQueryStatsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TableQueryStatsTableQueryStatsPost Table Query Stats
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /table/query_stats (the `TableQueryStatsTableQueryStatsPost` operationId).
	TableQueryStatsTableQueryStatsPost(ctx context.Context, body TableQueryStatsTableQueryStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TableQueryStatsBatchTableQueryStatsBatchPostWithBody Table Query Stats Batch
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /table/query_stats_batch (the `TableQueryStatsBatchTableQueryStatsBatchPost` operationId).
	TableQueryStatsBatchTableQueryStatsBatchPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TableQueryStatsBatchTableQueryStatsBatchPost Table Query Stats Batch
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /table/query_stats_batch (the `TableQueryStatsBatchTableQueryStatsBatchPost` operationId).
	TableQueryStatsBatchTableQueryStatsBatchPost(ctx context.Context, body TableQueryStatsBatchTableQueryStatsBatchPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TableUpdateTableUpdatePostWithBody Table Update
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /table/update (the `TableUpdateTableUpdatePost` operationId).
	TableUpdateTableUpdatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TableUpdateTableUpdatePost Table Update
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /table/update (the `TableUpdateTableUpdatePost` operationId).
	TableUpdateTableUpdatePost(ctx context.Context, body TableUpdateTableUpdatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TagsListTagsGet Tags List
	//
	// List all tags in a project.
	//
	// Corresponds with GET /tags (the `TagsListTagsGet` operationId).
	TagsListTagsGet(ctx context.Context, params *TagsListTagsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ThreadsQueryStreamThreadsStreamQueryPostWithBody Threads Query Stream
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /threads/stream_query (the `ThreadsQueryStreamThreadsStreamQueryPost` operationId).
	ThreadsQueryStreamThreadsStreamQueryPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ThreadsQueryStreamThreadsStreamQueryPost Threads Query Stream
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /threads/stream_query (the `ThreadsQueryStreamThreadsStreamQueryPost` operationId).
	ThreadsQueryStreamThreadsStreamQueryPost(ctx context.Context, body ThreadsQueryStreamThreadsStreamQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TraceUsageTraceUsagePostWithBody Trace Usage
	//
	// Compute per-call usage for a trace, with descendant rollup.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /trace/usage (the `TraceUsageTraceUsagePost` operationId).
	TraceUsageTraceUsagePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TraceUsageTraceUsagePost Trace Usage
	//
	// Compute per-call usage for a trace, with descendant rollup.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /trace/usage (the `TraceUsageTraceUsagePost` operationId).
	TraceUsageTraceUsagePost(ctx context.Context, body TraceUsageTraceUsagePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectExport Get Status
	//
	// Read a known export job. Partial output is never returned.
	//
	// Corresponds with GET /v1/entities/{entity}/projects/{project}/exports/{job_id} (the `GetProjectExport` operationId).
	GetProjectExport(ctx context.Context, entity string, project string, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportProjectDataWithBody Start
	//
	// Start one project's export. Save the job ID to look up its status.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/entities/{entity}/projects/{project}:export (the `ExportProjectData` operationId).
	ExportProjectDataWithBody(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportProjectData Start
	//
	// Start one project's export. Save the job ID to look up its status.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/entities/{entity}/projects/{project}:export (the `ExportProjectData` operationId).
	ExportProjectData(ctx context.Context, entity string, project string, body ExportProjectDataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallsCompleteV2EntityProjectCallsCompletePostWithBody Calls Complete
	//
	// Upsert a batch of completed calls directly to the calls_complete table.
	//
	// Each call in the batch contains both start and end information.
	// This endpoint is used when calls are buffered client-side and sent as complete records.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/calls/complete (the `CallsCompleteV2EntityProjectCallsCompletePost` operationId).
	CallsCompleteV2EntityProjectCallsCompletePostWithBody(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CallsCompleteV2EntityProjectCallsCompletePost Calls Complete
	//
	// Upsert a batch of completed calls directly to the calls_complete table.
	//
	// Each call in the batch contains both start and end information.
	// This endpoint is used when calls are buffered client-side and sent as complete records.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/calls/complete (the `CallsCompleteV2EntityProjectCallsCompletePost` operationId).
	CallsCompleteV2EntityProjectCallsCompletePost(ctx context.Context, entity string, project string, body CallsCompleteV2EntityProjectCallsCompletePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DatasetListV2EntityProjectDatasetsGet Dataset List
	//
	// List dataset objects.
	//
	// Corresponds with GET /v2/{entity}/{project}/datasets (the `DatasetListV2EntityProjectDatasetsGet` operationId).
	DatasetListV2EntityProjectDatasetsGet(ctx context.Context, entity string, project string, params *DatasetListV2EntityProjectDatasetsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DatasetCreateV2EntityProjectDatasetsPostWithBody Dataset Create
	//
	// Create a dataset object.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/datasets (the `DatasetCreateV2EntityProjectDatasetsPost` operationId).
	DatasetCreateV2EntityProjectDatasetsPostWithBody(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DatasetCreateV2EntityProjectDatasetsPost Dataset Create
	//
	// Create a dataset object.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/datasets (the `DatasetCreateV2EntityProjectDatasetsPost` operationId).
	DatasetCreateV2EntityProjectDatasetsPost(ctx context.Context, entity string, project string, body DatasetCreateV2EntityProjectDatasetsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DatasetDeleteV2EntityProjectDatasetsObjectIdDelete Dataset Delete
	//
	// Delete a dataset object. If digests are provided, only those versions are deleted. Otherwise, all versions are deleted.
	//
	// Corresponds with DELETE /v2/{entity}/{project}/datasets/{object_id} (the `DatasetDeleteV2EntityProjectDatasetsObjectIdDelete` operationId).
	DatasetDeleteV2EntityProjectDatasetsObjectIdDelete(ctx context.Context, entity string, project string, objectId string, params *DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGet Dataset Read
	//
	// Get a dataset object.
	//
	// Corresponds with GET /v2/{entity}/{project}/datasets/{object_id}/versions/{digest} (the `DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGet` operationId).
	DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGet(ctx context.Context, entity string, project string, objectId string, digest string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvalResultsQueryV2EntityProjectEvalResultsQueryPostWithBody Eval Results Query
	//
	// Read grouped evaluation result rows for one or more evaluations.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/eval_results/query (the `EvalResultsQueryV2EntityProjectEvalResultsQueryPost` operationId).
	EvalResultsQueryV2EntityProjectEvalResultsQueryPostWithBody(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvalResultsQueryV2EntityProjectEvalResultsQueryPost Eval Results Query
	//
	// Read grouped evaluation result rows for one or more evaluations.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/eval_results/query (the `EvalResultsQueryV2EntityProjectEvalResultsQueryPost` operationId).
	EvalResultsQueryV2EntityProjectEvalResultsQueryPost(ctx context.Context, entity string, project string, body EvalResultsQueryV2EntityProjectEvalResultsQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvaluationRunDeleteV2EntityProjectEvaluationRunsDelete Evaluation Run Delete
	//
	// Delete evaluation runs.
	//
	// Corresponds with DELETE /v2/{entity}/{project}/evaluation_runs (the `EvaluationRunDeleteV2EntityProjectEvaluationRunsDelete` operationId).
	EvaluationRunDeleteV2EntityProjectEvaluationRunsDelete(ctx context.Context, entity string, project string, params *EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvaluationRunListV2EntityProjectEvaluationRunsGet Evaluation Run List
	//
	// List evaluation runs.
	//
	// Corresponds with GET /v2/{entity}/{project}/evaluation_runs (the `EvaluationRunListV2EntityProjectEvaluationRunsGet` operationId).
	EvaluationRunListV2EntityProjectEvaluationRunsGet(ctx context.Context, entity string, project string, params *EvaluationRunListV2EntityProjectEvaluationRunsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvaluationRunCreateV2EntityProjectEvaluationRunsPostWithBody Evaluation Run Create
	//
	// Create an evaluation run.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/evaluation_runs (the `EvaluationRunCreateV2EntityProjectEvaluationRunsPost` operationId).
	EvaluationRunCreateV2EntityProjectEvaluationRunsPostWithBody(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvaluationRunCreateV2EntityProjectEvaluationRunsPost Evaluation Run Create
	//
	// Create an evaluation run.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/evaluation_runs (the `EvaluationRunCreateV2EntityProjectEvaluationRunsPost` operationId).
	EvaluationRunCreateV2EntityProjectEvaluationRunsPost(ctx context.Context, entity string, project string, body EvaluationRunCreateV2EntityProjectEvaluationRunsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGet Evaluation Run Read
	//
	// Read an evaluation run.
	//
	// Corresponds with GET /v2/{entity}/{project}/evaluation_runs/{evaluation_run_id} (the `EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGet` operationId).
	EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGet(ctx context.Context, entity string, project string, evaluationRunId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostWithBody Evaluation Run Finish
	//
	// Finish an evaluation run.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/evaluation_runs/{evaluation_run_id}/finish (the `EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPost` operationId).
	EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostWithBody(ctx context.Context, entity string, project string, evaluationRunId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPost Evaluation Run Finish
	//
	// Finish an evaluation run.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/evaluation_runs/{evaluation_run_id}/finish (the `EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPost` operationId).
	EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPost(ctx context.Context, entity string, project string, evaluationRunId string, body EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvaluationListV2EntityProjectEvaluationsGet Evaluation List
	//
	// List evaluation objects.
	//
	// Corresponds with GET /v2/{entity}/{project}/evaluations (the `EvaluationListV2EntityProjectEvaluationsGet` operationId).
	EvaluationListV2EntityProjectEvaluationsGet(ctx context.Context, entity string, project string, params *EvaluationListV2EntityProjectEvaluationsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvaluationCreateV2EntityProjectEvaluationsPostWithBody Evaluation Create
	//
	// Create an evaluation object.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/evaluations (the `EvaluationCreateV2EntityProjectEvaluationsPost` operationId).
	EvaluationCreateV2EntityProjectEvaluationsPostWithBody(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvaluationCreateV2EntityProjectEvaluationsPost Evaluation Create
	//
	// Create an evaluation object.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/evaluations (the `EvaluationCreateV2EntityProjectEvaluationsPost` operationId).
	EvaluationCreateV2EntityProjectEvaluationsPost(ctx context.Context, entity string, project string, body EvaluationCreateV2EntityProjectEvaluationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvaluationDeleteV2EntityProjectEvaluationsObjectIdDelete Evaluation Delete
	//
	// Delete an evaluation object.
	//
	// Corresponds with DELETE /v2/{entity}/{project}/evaluations/{object_id} (the `EvaluationDeleteV2EntityProjectEvaluationsObjectIdDelete` operationId).
	EvaluationDeleteV2EntityProjectEvaluationsObjectIdDelete(ctx context.Context, entity string, project string, objectId string, params *EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGet Evaluation Read
	//
	// Get an evaluation object.
	//
	// Corresponds with GET /v2/{entity}/{project}/evaluations/{object_id}/versions/{digest} (the `EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGet` operationId).
	EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGet(ctx context.Context, entity string, project string, objectId string, digest string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModelListV2EntityProjectModelsGet Model List
	//
	// List model objects.
	//
	// Corresponds with GET /v2/{entity}/{project}/models (the `ModelListV2EntityProjectModelsGet` operationId).
	ModelListV2EntityProjectModelsGet(ctx context.Context, entity string, project string, params *ModelListV2EntityProjectModelsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModelCreateV2EntityProjectModelsPostWithBody Model Create
	//
	// Create a model object.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/models (the `ModelCreateV2EntityProjectModelsPost` operationId).
	ModelCreateV2EntityProjectModelsPostWithBody(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModelCreateV2EntityProjectModelsPost Model Create
	//
	// Create a model object.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/models (the `ModelCreateV2EntityProjectModelsPost` operationId).
	ModelCreateV2EntityProjectModelsPost(ctx context.Context, entity string, project string, body ModelCreateV2EntityProjectModelsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModelDeleteV2EntityProjectModelsObjectIdDelete Model Delete
	//
	// Delete a model object. If digests are provided, only those versions are deleted. Otherwise, all versions are deleted.
	//
	// Corresponds with DELETE /v2/{entity}/{project}/models/{object_id} (the `ModelDeleteV2EntityProjectModelsObjectIdDelete` operationId).
	ModelDeleteV2EntityProjectModelsObjectIdDelete(ctx context.Context, entity string, project string, objectId string, params *ModelDeleteV2EntityProjectModelsObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModelReadV2EntityProjectModelsObjectIdVersionsDigestGet Model Read
	//
	// Get a model object.
	//
	// Corresponds with GET /v2/{entity}/{project}/models/{object_id}/versions/{digest} (the `ModelReadV2EntityProjectModelsObjectIdVersionsDigestGet` operationId).
	ModelReadV2EntityProjectModelsObjectIdVersionsDigestGet(ctx context.Context, entity string, project string, objectId string, digest string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OpListV2EntityProjectOpsGet Op List
	//
	// List op objects.
	//
	// Corresponds with GET /v2/{entity}/{project}/ops (the `OpListV2EntityProjectOpsGet` operationId).
	OpListV2EntityProjectOpsGet(ctx context.Context, entity string, project string, params *OpListV2EntityProjectOpsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OpCreateV2EntityProjectOpsPostWithBody Op Create
	//
	// Create an op object.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/ops (the `OpCreateV2EntityProjectOpsPost` operationId).
	OpCreateV2EntityProjectOpsPostWithBody(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OpCreateV2EntityProjectOpsPost Op Create
	//
	// Create an op object.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/ops (the `OpCreateV2EntityProjectOpsPost` operationId).
	OpCreateV2EntityProjectOpsPost(ctx context.Context, entity string, project string, body OpCreateV2EntityProjectOpsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OpDeleteV2EntityProjectOpsObjectIdDelete Op Delete
	//
	// Delete an op object. If digests are provided, only those versions are deleted. Otherwise, all versions are deleted.
	//
	// Corresponds with DELETE /v2/{entity}/{project}/ops/{object_id} (the `OpDeleteV2EntityProjectOpsObjectIdDelete` operationId).
	OpDeleteV2EntityProjectOpsObjectIdDelete(ctx context.Context, entity string, project string, objectId string, params *OpDeleteV2EntityProjectOpsObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OpReadV2EntityProjectOpsObjectIdVersionsDigestGet Op Read
	//
	// Get an op object.
	//
	// Corresponds with GET /v2/{entity}/{project}/ops/{object_id}/versions/{digest} (the `OpReadV2EntityProjectOpsObjectIdVersionsDigestGet` operationId).
	OpReadV2EntityProjectOpsObjectIdVersionsDigestGet(ctx context.Context, entity string, project string, objectId string, digest string, params *OpReadV2EntityProjectOpsObjectIdVersionsDigestGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PredictionDeleteV2EntityProjectPredictionsDelete Prediction Delete
	//
	// Delete predictions.
	//
	// Corresponds with DELETE /v2/{entity}/{project}/predictions (the `PredictionDeleteV2EntityProjectPredictionsDelete` operationId).
	PredictionDeleteV2EntityProjectPredictionsDelete(ctx context.Context, entity string, project string, params *PredictionDeleteV2EntityProjectPredictionsDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PredictionListV2EntityProjectPredictionsGet Prediction List
	//
	// List predictions.
	//
	// Corresponds with GET /v2/{entity}/{project}/predictions (the `PredictionListV2EntityProjectPredictionsGet` operationId).
	PredictionListV2EntityProjectPredictionsGet(ctx context.Context, entity string, project string, params *PredictionListV2EntityProjectPredictionsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PredictionCreateV2EntityProjectPredictionsPostWithBody Prediction Create
	//
	// Create a prediction.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/predictions (the `PredictionCreateV2EntityProjectPredictionsPost` operationId).
	PredictionCreateV2EntityProjectPredictionsPostWithBody(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PredictionCreateV2EntityProjectPredictionsPost Prediction Create
	//
	// Create a prediction.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/predictions (the `PredictionCreateV2EntityProjectPredictionsPost` operationId).
	PredictionCreateV2EntityProjectPredictionsPost(ctx context.Context, entity string, project string, body PredictionCreateV2EntityProjectPredictionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PredictionReadV2EntityProjectPredictionsPredictionIdGet Prediction Read
	//
	// Read a prediction.
	//
	// Corresponds with GET /v2/{entity}/{project}/predictions/{prediction_id} (the `PredictionReadV2EntityProjectPredictionsPredictionIdGet` operationId).
	PredictionReadV2EntityProjectPredictionsPredictionIdGet(ctx context.Context, entity string, project string, predictionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPost Prediction Finish
	//
	// Finish a prediction.
	//
	// Corresponds with POST /v2/{entity}/{project}/predictions/{prediction_id}/finish (the `PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPost` operationId).
	PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPost(ctx context.Context, entity string, project string, predictionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutWithBody Custom Runtime Apply
	//
	// Create or replace a custom runtime configuration.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /v2/{entity}/{project}/runtimes/{runtime_name} (the `CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePut` operationId).
	CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutWithBody(ctx context.Context, entity string, project string, runtimeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePut Custom Runtime Apply
	//
	// Create or replace a custom runtime configuration.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /v2/{entity}/{project}/runtimes/{runtime_name} (the `CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePut` operationId).
	CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePut(ctx context.Context, entity string, project string, runtimeName string, body CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScorerListV2EntityProjectScorersGet Scorer List
	//
	// List scorer objects.
	//
	// Corresponds with GET /v2/{entity}/{project}/scorers (the `ScorerListV2EntityProjectScorersGet` operationId).
	ScorerListV2EntityProjectScorersGet(ctx context.Context, entity string, project string, params *ScorerListV2EntityProjectScorersGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScorerCreateV2EntityProjectScorersPostWithBody Scorer Create
	//
	// Create a scorer object.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/scorers (the `ScorerCreateV2EntityProjectScorersPost` operationId).
	ScorerCreateV2EntityProjectScorersPostWithBody(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScorerCreateV2EntityProjectScorersPost Scorer Create
	//
	// Create a scorer object.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/scorers (the `ScorerCreateV2EntityProjectScorersPost` operationId).
	ScorerCreateV2EntityProjectScorersPost(ctx context.Context, entity string, project string, body ScorerCreateV2EntityProjectScorersPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScorerDeleteV2EntityProjectScorersObjectIdDelete Scorer Delete
	//
	// Delete a scorer object.
	//
	// Corresponds with DELETE /v2/{entity}/{project}/scorers/{object_id} (the `ScorerDeleteV2EntityProjectScorersObjectIdDelete` operationId).
	ScorerDeleteV2EntityProjectScorersObjectIdDelete(ctx context.Context, entity string, project string, objectId string, params *ScorerDeleteV2EntityProjectScorersObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGet Scorer Read
	//
	// Get a scorer object.
	//
	// Corresponds with GET /v2/{entity}/{project}/scorers/{object_id}/versions/{digest} (the `ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGet` operationId).
	ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGet(ctx context.Context, entity string, project string, objectId string, digest string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScoreDeleteV2EntityProjectScoresDelete Score Delete
	//
	// Delete scores.
	//
	// Corresponds with DELETE /v2/{entity}/{project}/scores (the `ScoreDeleteV2EntityProjectScoresDelete` operationId).
	ScoreDeleteV2EntityProjectScoresDelete(ctx context.Context, entity string, project string, params *ScoreDeleteV2EntityProjectScoresDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScoreListV2EntityProjectScoresGet Score List
	//
	// List scores.
	//
	// Corresponds with GET /v2/{entity}/{project}/scores (the `ScoreListV2EntityProjectScoresGet` operationId).
	ScoreListV2EntityProjectScoresGet(ctx context.Context, entity string, project string, params *ScoreListV2EntityProjectScoresGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScoreCreateV2EntityProjectScoresPostWithBody Score Create
	//
	// Create a score.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/scores (the `ScoreCreateV2EntityProjectScoresPost` operationId).
	ScoreCreateV2EntityProjectScoresPostWithBody(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScoreCreateV2EntityProjectScoresPost Score Create
	//
	// Create a score.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/{entity}/{project}/scores (the `ScoreCreateV2EntityProjectScoresPost` operationId).
	ScoreCreateV2EntityProjectScoresPost(ctx context.Context, entity string, project string, body ScoreCreateV2EntityProjectScoresPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ScoreReadV2EntityProjectScoresScoreIdGet Score Read
	//
	// Read a score.
	//
	// Corresponds with GET /v2/{entity}/{project}/scores/{score_id} (the `ScoreReadV2EntityProjectScoresScoreIdGet` operationId).
	ScoreReadV2EntityProjectScoresScoreIdGet(ctx context.Context, entity string, project string, scoreId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReadVersionVersionGet Read Version
	//
	// Corresponds with GET /version (the `ReadVersionVersionGet` operationId).
	ReadVersionVersionGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

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

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

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

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

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

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

func (*ClientWithResponses) AliasesListAliasesGetWithResponse added in v0.2.0

func (c *ClientWithResponses) AliasesListAliasesGetWithResponse(ctx context.Context, params *AliasesListAliasesGetParams, reqEditors ...RequestEditorFn) (*AliasesListAliasesGetResponse, error)

AliasesListAliasesGetWithResponse Aliases List

List all aliases in a project.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /aliases (the `AliasesListAliasesGet` operationId).

func (*ClientWithResponses) AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostWithBodyWithResponse

func (c *ClientWithResponses) AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostWithBodyWithResponse(ctx context.Context, queueId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostResponse, error)

AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostWithBodyWithResponse Annotation Queue Add Calls

Add calls to an annotation queue.

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 /annotation_queues/{queue_id}/items (the `AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPost` operationId).

func (*ClientWithResponses) AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostWithResponse

AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostWithResponse Annotation Queue Add Calls

Add calls to an annotation queue.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /annotation_queues/{queue_id}/items (the `AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPost` operationId).

func (*ClientWithResponses) AnnotationQueueCreateAnnotationQueuesPostWithBodyWithResponse

func (c *ClientWithResponses) AnnotationQueueCreateAnnotationQueuesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnnotationQueueCreateAnnotationQueuesPostResponse, error)

AnnotationQueueCreateAnnotationQueuesPostWithBodyWithResponse Annotation Queue Create

Create a new annotation queue.

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 /annotation_queues (the `AnnotationQueueCreateAnnotationQueuesPost` operationId).

func (*ClientWithResponses) AnnotationQueueCreateAnnotationQueuesPostWithResponse

AnnotationQueueCreateAnnotationQueuesPostWithResponse Annotation Queue Create

Create a new annotation queue.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /annotation_queues (the `AnnotationQueueCreateAnnotationQueuesPost` operationId).

func (*ClientWithResponses) AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteWithResponse added in v0.2.0

func (c *ClientWithResponses) AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteWithResponse(ctx context.Context, queueId string, params *AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteParams, reqEditors ...RequestEditorFn) (*AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteResponse, error)

AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteWithResponse Annotation Queue Delete

Delete (soft-delete) an annotation queue.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /annotation_queues/{queue_id} (the `AnnotationQueueDeleteAnnotationQueuesQueueIdDelete` operationId).

func (*ClientWithResponses) AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostWithBodyWithResponse

func (c *ClientWithResponses) AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostWithBodyWithResponse(ctx context.Context, queueId string, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostResponse, error)

AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostWithBodyWithResponse Annotation Queue Item Progress Update

Update the annotation state of a queue item for the current annotator.

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 /annotation_queues/{queue_id}/items/{item_id}/progress (the `AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPost` operationId).

func (*ClientWithResponses) AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostWithResponse

AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostWithResponse Annotation Queue Item Progress Update

Update the annotation state of a queue item for the current annotator.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /annotation_queues/{queue_id}/items/{item_id}/progress (the `AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPost` operationId).

func (*ClientWithResponses) AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostWithBodyWithResponse

func (c *ClientWithResponses) AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostWithBodyWithResponse(ctx context.Context, queueId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostResponse, error)

AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostWithBodyWithResponse Annotation Queue Items Query

Query items in an annotation queue with pagination and sorting.

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 /annotation_queues/{queue_id}/items/query (the `AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPost` operationId).

func (*ClientWithResponses) AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostWithResponse

AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostWithResponse Annotation Queue Items Query

Query items in an annotation queue with pagination and sorting.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /annotation_queues/{queue_id}/items/query (the `AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPost` operationId).

func (*ClientWithResponses) AnnotationQueueReadAnnotationQueuesQueueIdGetWithResponse

func (c *ClientWithResponses) AnnotationQueueReadAnnotationQueuesQueueIdGetWithResponse(ctx context.Context, queueId string, params *AnnotationQueueReadAnnotationQueuesQueueIdGetParams, reqEditors ...RequestEditorFn) (*AnnotationQueueReadAnnotationQueuesQueueIdGetResponse, error)

AnnotationQueueReadAnnotationQueuesQueueIdGetWithResponse Annotation Queue Read

Read a specific annotation queue.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /annotation_queues/{queue_id} (the `AnnotationQueueReadAnnotationQueuesQueueIdGet` operationId).

func (*ClientWithResponses) AnnotationQueueUpdateAnnotationQueuesQueueIdPutWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) AnnotationQueueUpdateAnnotationQueuesQueueIdPutWithBodyWithResponse(ctx context.Context, queueId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnnotationQueueUpdateAnnotationQueuesQueueIdPutResponse, error)

AnnotationQueueUpdateAnnotationQueuesQueueIdPutWithBodyWithResponse Annotation Queue Update

Update an annotation queue's metadata (name, description, scorer_refs).

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 /annotation_queues/{queue_id} (the `AnnotationQueueUpdateAnnotationQueuesQueueIdPut` operationId).

func (*ClientWithResponses) AnnotationQueueUpdateAnnotationQueuesQueueIdPutWithResponse added in v0.2.0

func (c *ClientWithResponses) AnnotationQueueUpdateAnnotationQueuesQueueIdPutWithResponse(ctx context.Context, queueId string, body AnnotationQueueUpdateAnnotationQueuesQueueIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*AnnotationQueueUpdateAnnotationQueuesQueueIdPutResponse, error)

AnnotationQueueUpdateAnnotationQueuesQueueIdPutWithResponse Annotation Queue Update

Update an annotation queue's metadata (name, description, scorer_refs).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /annotation_queues/{queue_id} (the `AnnotationQueueUpdateAnnotationQueuesQueueIdPut` operationId).

func (*ClientWithResponses) AnnotationQueuesQueryStreamAnnotationQueuesQueryPostWithBodyWithResponse

func (c *ClientWithResponses) AnnotationQueuesQueryStreamAnnotationQueuesQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnnotationQueuesQueryStreamAnnotationQueuesQueryPostResponse, error)

AnnotationQueuesQueryStreamAnnotationQueuesQueryPostWithBodyWithResponse Annotation Queues Query Stream

Query annotation queues for a project (streaming NDJSON response).

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 /annotation_queues/query (the `AnnotationQueuesQueryStreamAnnotationQueuesQueryPost` operationId).

func (*ClientWithResponses) AnnotationQueuesQueryStreamAnnotationQueuesQueryPostWithResponse

AnnotationQueuesQueryStreamAnnotationQueuesQueryPostWithResponse Annotation Queues Query Stream

Query annotation queues for a project (streaming NDJSON response).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /annotation_queues/query (the `AnnotationQueuesQueryStreamAnnotationQueuesQueryPost` operationId).

func (*ClientWithResponses) AnnotationQueuesStatsAnnotationQueuesStatsPostWithBodyWithResponse

func (c *ClientWithResponses) AnnotationQueuesStatsAnnotationQueuesStatsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnnotationQueuesStatsAnnotationQueuesStatsPostResponse, error)

AnnotationQueuesStatsAnnotationQueuesStatsPostWithBodyWithResponse Annotation Queues Stats

Get stats for multiple annotation queues.

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 /annotation_queues/stats (the `AnnotationQueuesStatsAnnotationQueuesStatsPost` operationId).

func (*ClientWithResponses) AnnotationQueuesStatsAnnotationQueuesStatsPostWithResponse

AnnotationQueuesStatsAnnotationQueuesStatsPostWithResponse Annotation Queues Stats

Get stats for multiple annotation queues.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /annotation_queues/stats (the `AnnotationQueuesStatsAnnotationQueuesStatsPost` operationId).

func (*ClientWithResponses) CallEndCallEndPostWithBodyWithResponse

func (c *ClientWithResponses) CallEndCallEndPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallEndCallEndPostResponse, error)

CallEndCallEndPostWithBodyWithResponse Call End

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 /call/end (the `CallEndCallEndPost` operationId).

func (*ClientWithResponses) CallEndCallEndPostWithResponse

func (c *ClientWithResponses) CallEndCallEndPostWithResponse(ctx context.Context, body CallEndCallEndPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallEndCallEndPostResponse, error)

CallEndCallEndPostWithResponse Call End

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /call/end (the `CallEndCallEndPost` operationId).

func (*ClientWithResponses) CallReadCallReadPostWithBodyWithResponse

func (c *ClientWithResponses) CallReadCallReadPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallReadCallReadPostResponse, error)

CallReadCallReadPostWithBodyWithResponse Call Read

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 /call/read (the `CallReadCallReadPost` operationId).

func (*ClientWithResponses) CallReadCallReadPostWithResponse

func (c *ClientWithResponses) CallReadCallReadPostWithResponse(ctx context.Context, body CallReadCallReadPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallReadCallReadPostResponse, error)

CallReadCallReadPostWithResponse Call Read

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /call/read (the `CallReadCallReadPost` operationId).

func (*ClientWithResponses) CallStartBatchCallUpsertBatchPostWithBodyWithResponse

func (c *ClientWithResponses) CallStartBatchCallUpsertBatchPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallStartBatchCallUpsertBatchPostResponse, error)

CallStartBatchCallUpsertBatchPostWithBodyWithResponse Call Start Batch

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 /call/upsert_batch (the `CallStartBatchCallUpsertBatchPost` operationId).

func (*ClientWithResponses) CallStartBatchCallUpsertBatchPostWithResponse

CallStartBatchCallUpsertBatchPostWithResponse Call Start Batch

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /call/upsert_batch (the `CallStartBatchCallUpsertBatchPost` operationId).

func (*ClientWithResponses) CallStartCallStartPostWithBodyWithResponse

func (c *ClientWithResponses) CallStartCallStartPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallStartCallStartPostResponse, error)

CallStartCallStartPostWithBodyWithResponse Call Start

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 /call/start (the `CallStartCallStartPost` operationId).

func (*ClientWithResponses) CallStartCallStartPostWithResponse

func (c *ClientWithResponses) CallStartCallStartPostWithResponse(ctx context.Context, body CallStartCallStartPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallStartCallStartPostResponse, error)

CallStartCallStartPostWithResponse Call Start

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /call/start (the `CallStartCallStartPost` operationId).

func (*ClientWithResponses) CallStatsCallsStatsPostWithBodyWithResponse

func (c *ClientWithResponses) CallStatsCallsStatsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallStatsCallsStatsPostResponse, error)

CallStatsCallsStatsPostWithBodyWithResponse Call Stats

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 /calls/stats (the `CallStatsCallsStatsPost` operationId).

func (*ClientWithResponses) CallStatsCallsStatsPostWithResponse

func (c *ClientWithResponses) CallStatsCallsStatsPostWithResponse(ctx context.Context, body CallStatsCallsStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallStatsCallsStatsPostResponse, error)

CallStatsCallsStatsPostWithResponse Call Stats

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /calls/stats (the `CallStatsCallsStatsPost` operationId).

func (*ClientWithResponses) CallUpdateCallUpdatePostWithBodyWithResponse

func (c *ClientWithResponses) CallUpdateCallUpdatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallUpdateCallUpdatePostResponse, error)

CallUpdateCallUpdatePostWithBodyWithResponse Call Update

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 /call/update (the `CallUpdateCallUpdatePost` operationId).

func (*ClientWithResponses) CallUpdateCallUpdatePostWithResponse

func (c *ClientWithResponses) CallUpdateCallUpdatePostWithResponse(ctx context.Context, body CallUpdateCallUpdatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallUpdateCallUpdatePostResponse, error)

CallUpdateCallUpdatePostWithResponse Call Update

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /call/update (the `CallUpdateCallUpdatePost` operationId).

func (*ClientWithResponses) CallsCompleteV2EntityProjectCallsCompletePostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) CallsCompleteV2EntityProjectCallsCompletePostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallsCompleteV2EntityProjectCallsCompletePostResponse, error)

CallsCompleteV2EntityProjectCallsCompletePostWithBodyWithResponse Calls Complete

Upsert a batch of completed calls directly to the calls_complete table.

Each call in the batch contains both start and end information. This endpoint is used when calls are buffered client-side and sent as complete records.

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 /v2/{entity}/{project}/calls/complete (the `CallsCompleteV2EntityProjectCallsCompletePost` operationId).

func (*ClientWithResponses) CallsCompleteV2EntityProjectCallsCompletePostWithResponse added in v0.2.0

func (c *ClientWithResponses) CallsCompleteV2EntityProjectCallsCompletePostWithResponse(ctx context.Context, entity string, project string, body CallsCompleteV2EntityProjectCallsCompletePostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallsCompleteV2EntityProjectCallsCompletePostResponse, error)

CallsCompleteV2EntityProjectCallsCompletePostWithResponse Calls Complete

Upsert a batch of completed calls directly to the calls_complete table.

Each call in the batch contains both start and end information. This endpoint is used when calls are buffered client-side and sent as complete records.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/{entity}/{project}/calls/complete (the `CallsCompleteV2EntityProjectCallsCompletePost` operationId).

func (*ClientWithResponses) CallsDeleteCallsDeletePostWithBodyWithResponse

func (c *ClientWithResponses) CallsDeleteCallsDeletePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallsDeleteCallsDeletePostResponse, error)

CallsDeleteCallsDeletePostWithBodyWithResponse Calls Delete

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 /calls/delete (the `CallsDeleteCallsDeletePost` operationId).

func (*ClientWithResponses) CallsDeleteCallsDeletePostWithResponse

func (c *ClientWithResponses) CallsDeleteCallsDeletePostWithResponse(ctx context.Context, body CallsDeleteCallsDeletePostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallsDeleteCallsDeletePostResponse, error)

CallsDeleteCallsDeletePostWithResponse Calls Delete

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /calls/delete (the `CallsDeleteCallsDeletePost` operationId).

func (*ClientWithResponses) CallsQueryStatsCallsQueryStatsPostWithBodyWithResponse

func (c *ClientWithResponses) CallsQueryStatsCallsQueryStatsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallsQueryStatsCallsQueryStatsPostResponse, error)

CallsQueryStatsCallsQueryStatsPostWithBodyWithResponse Calls Query Stats

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 /calls/query_stats (the `CallsQueryStatsCallsQueryStatsPost` operationId).

func (*ClientWithResponses) CallsQueryStatsCallsQueryStatsPostWithResponse

CallsQueryStatsCallsQueryStatsPostWithResponse Calls Query Stats

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /calls/query_stats (the `CallsQueryStatsCallsQueryStatsPost` operationId).

func (*ClientWithResponses) CallsQueryStreamCallsStreamQueryPostWithBodyWithResponse

func (c *ClientWithResponses) CallsQueryStreamCallsStreamQueryPostWithBodyWithResponse(ctx context.Context, params *CallsQueryStreamCallsStreamQueryPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallsQueryStreamCallsStreamQueryPostResponse, error)

CallsQueryStreamCallsStreamQueryPostWithBodyWithResponse Calls Query Stream

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 /calls/stream_query (the `CallsQueryStreamCallsStreamQueryPost` operationId).

func (*ClientWithResponses) CallsQueryStreamCallsStreamQueryPostWithResponse

CallsQueryStreamCallsStreamQueryPostWithResponse Calls Query Stream

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /calls/stream_query (the `CallsQueryStreamCallsStreamQueryPost` operationId).

func (*ClientWithResponses) CallsScoreCallsScorePostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) CallsScoreCallsScorePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallsScoreCallsScorePostResponse, error)

CallsScoreCallsScorePostWithBodyWithResponse Calls Score

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 /calls/score (the `CallsScoreCallsScorePost` operationId).

func (*ClientWithResponses) CallsScoreCallsScorePostWithResponse added in v0.2.0

func (c *ClientWithResponses) CallsScoreCallsScorePostWithResponse(ctx context.Context, body CallsScoreCallsScorePostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallsScoreCallsScorePostResponse, error)

CallsScoreCallsScorePostWithResponse Calls Score

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /calls/score (the `CallsScoreCallsScorePost` operationId).

func (*ClientWithResponses) CallsUsageCallsUsagePostWithBodyWithResponse

func (c *ClientWithResponses) CallsUsageCallsUsagePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallsUsageCallsUsagePostResponse, error)

CallsUsageCallsUsagePostWithBodyWithResponse Calls Usage

Compute aggregated usage for multiple root calls, with descendant rollup.

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 /calls/usage (the `CallsUsageCallsUsagePost` operationId).

func (*ClientWithResponses) CallsUsageCallsUsagePostWithResponse

func (c *ClientWithResponses) CallsUsageCallsUsagePostWithResponse(ctx context.Context, body CallsUsageCallsUsagePostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallsUsageCallsUsagePostResponse, error)

CallsUsageCallsUsagePostWithResponse Calls Usage

Compute aggregated usage for multiple root calls, with descendant rollup.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /calls/usage (the `CallsUsageCallsUsagePost` operationId).

func (*ClientWithResponses) CompletionsCreateCompletionsCreatePostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) CompletionsCreateCompletionsCreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompletionsCreateCompletionsCreatePostResponse, error)

CompletionsCreateCompletionsCreatePostWithBodyWithResponse Completions Create

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 /completions/create (the `CompletionsCreateCompletionsCreatePost` operationId).

func (*ClientWithResponses) CompletionsCreateCompletionsCreatePostWithResponse added in v0.2.0

CompletionsCreateCompletionsCreatePostWithResponse Completions Create

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /completions/create (the `CompletionsCreateCompletionsCreatePost` operationId).

func (*ClientWithResponses) CompletionsCreateStreamCompletionsCreateStreamPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) CompletionsCreateStreamCompletionsCreateStreamPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompletionsCreateStreamCompletionsCreateStreamPostResponse, error)

CompletionsCreateStreamCompletionsCreateStreamPostWithBodyWithResponse Completions Create Stream

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 /completions/create_stream (the `CompletionsCreateStreamCompletionsCreateStreamPost` operationId).

func (*ClientWithResponses) CompletionsCreateStreamCompletionsCreateStreamPostWithResponse added in v0.2.0

CompletionsCreateStreamCompletionsCreateStreamPostWithResponse Completions Create Stream

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /completions/create_stream (the `CompletionsCreateStreamCompletionsCreateStreamPost` operationId).

func (*ClientWithResponses) CostCreateCostCreatePostWithBodyWithResponse

func (c *ClientWithResponses) CostCreateCostCreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CostCreateCostCreatePostResponse, error)

CostCreateCostCreatePostWithBodyWithResponse Cost Create

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 /cost/create (the `CostCreateCostCreatePost` operationId).

func (*ClientWithResponses) CostCreateCostCreatePostWithResponse

func (c *ClientWithResponses) CostCreateCostCreatePostWithResponse(ctx context.Context, body CostCreateCostCreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*CostCreateCostCreatePostResponse, error)

CostCreateCostCreatePostWithResponse Cost Create

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /cost/create (the `CostCreateCostCreatePost` operationId).

func (*ClientWithResponses) CostPurgeCostPurgePostWithBodyWithResponse

func (c *ClientWithResponses) CostPurgeCostPurgePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CostPurgeCostPurgePostResponse, error)

CostPurgeCostPurgePostWithBodyWithResponse Cost Purge

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 /cost/purge (the `CostPurgeCostPurgePost` operationId).

func (*ClientWithResponses) CostPurgeCostPurgePostWithResponse

func (c *ClientWithResponses) CostPurgeCostPurgePostWithResponse(ctx context.Context, body CostPurgeCostPurgePostJSONRequestBody, reqEditors ...RequestEditorFn) (*CostPurgeCostPurgePostResponse, error)

CostPurgeCostPurgePostWithResponse Cost Purge

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /cost/purge (the `CostPurgeCostPurgePost` operationId).

func (*ClientWithResponses) CostQueryCostQueryPostWithBodyWithResponse

func (c *ClientWithResponses) CostQueryCostQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CostQueryCostQueryPostResponse, error)

CostQueryCostQueryPostWithBodyWithResponse Cost Query

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 /cost/query (the `CostQueryCostQueryPost` operationId).

func (*ClientWithResponses) CostQueryCostQueryPostWithResponse

func (c *ClientWithResponses) CostQueryCostQueryPostWithResponse(ctx context.Context, body CostQueryCostQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CostQueryCostQueryPostResponse, error)

CostQueryCostQueryPostWithResponse Cost Query

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /cost/query (the `CostQueryCostQueryPost` operationId).

func (*ClientWithResponses) CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutWithBodyWithResponse(ctx context.Context, entity string, project string, runtimeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutResponse, error)

CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutWithBodyWithResponse Custom Runtime Apply

Create or replace a custom runtime configuration.

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 /v2/{entity}/{project}/runtimes/{runtime_name} (the `CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePut` operationId).

func (*ClientWithResponses) CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutWithResponse added in v0.2.0

func (c *ClientWithResponses) CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutWithResponse(ctx context.Context, entity string, project string, runtimeName string, body CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutResponse, error)

CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutWithResponse Custom Runtime Apply

Create or replace a custom runtime configuration.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /v2/{entity}/{project}/runtimes/{runtime_name} (the `CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePut` operationId).

func (*ClientWithResponses) DatasetCreateV2EntityProjectDatasetsPostWithBodyWithResponse

func (c *ClientWithResponses) DatasetCreateV2EntityProjectDatasetsPostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatasetCreateV2EntityProjectDatasetsPostResponse, error)

DatasetCreateV2EntityProjectDatasetsPostWithBodyWithResponse Dataset Create

Create a dataset object.

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 /v2/{entity}/{project}/datasets (the `DatasetCreateV2EntityProjectDatasetsPost` operationId).

func (*ClientWithResponses) DatasetCreateV2EntityProjectDatasetsPostWithResponse

func (c *ClientWithResponses) DatasetCreateV2EntityProjectDatasetsPostWithResponse(ctx context.Context, entity string, project string, body DatasetCreateV2EntityProjectDatasetsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*DatasetCreateV2EntityProjectDatasetsPostResponse, error)

DatasetCreateV2EntityProjectDatasetsPostWithResponse Dataset Create

Create a dataset object.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/{entity}/{project}/datasets (the `DatasetCreateV2EntityProjectDatasetsPost` operationId).

func (*ClientWithResponses) DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteWithResponse

func (c *ClientWithResponses) DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteWithResponse(ctx context.Context, entity string, project string, objectId string, params *DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteResponse, error)

DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteWithResponse Dataset Delete

Delete a dataset object. If digests are provided, only those versions are deleted. Otherwise, all versions are deleted.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/{entity}/{project}/datasets/{object_id} (the `DatasetDeleteV2EntityProjectDatasetsObjectIdDelete` operationId).

func (*ClientWithResponses) DatasetListV2EntityProjectDatasetsGetWithResponse

func (c *ClientWithResponses) DatasetListV2EntityProjectDatasetsGetWithResponse(ctx context.Context, entity string, project string, params *DatasetListV2EntityProjectDatasetsGetParams, reqEditors ...RequestEditorFn) (*DatasetListV2EntityProjectDatasetsGetResponse, error)

DatasetListV2EntityProjectDatasetsGetWithResponse Dataset List

List dataset objects.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/{entity}/{project}/datasets (the `DatasetListV2EntityProjectDatasetsGet` operationId).

func (*ClientWithResponses) DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetWithResponse

func (c *ClientWithResponses) DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetWithResponse(ctx context.Context, entity string, project string, objectId string, digest string, reqEditors ...RequestEditorFn) (*DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetResponse, error)

DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetWithResponse Dataset Read

Get a dataset object.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/{entity}/{project}/datasets/{object_id}/versions/{digest} (the `DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGet` operationId).

func (*ClientWithResponses) DatasetSourcesLinkDatasetSourcesLinkPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) DatasetSourcesLinkDatasetSourcesLinkPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatasetSourcesLinkDatasetSourcesLinkPostResponse, error)

DatasetSourcesLinkDatasetSourcesLinkPostWithBodyWithResponse Dataset Sources Link

Link source calls/spans to dataset rows (batch, idempotent).

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 /dataset_sources/link (the `DatasetSourcesLinkDatasetSourcesLinkPost` operationId).

func (*ClientWithResponses) DatasetSourcesLinkDatasetSourcesLinkPostWithResponse added in v0.2.0

DatasetSourcesLinkDatasetSourcesLinkPostWithResponse Dataset Sources Link

Link source calls/spans to dataset rows (batch, idempotent).

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /dataset_sources/link (the `DatasetSourcesLinkDatasetSourcesLinkPost` operationId).

func (*ClientWithResponses) DatasetSourcesQueryDatasetSourcesQueryPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) DatasetSourcesQueryDatasetSourcesQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatasetSourcesQueryDatasetSourcesQueryPostResponse, error)

DatasetSourcesQueryDatasetSourcesQueryPostWithBodyWithResponse Dataset Sources Query

Forward provenance lookup: dataset (+ optional row digests) -> sources.

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 /dataset_sources/query (the `DatasetSourcesQueryDatasetSourcesQueryPost` operationId).

func (*ClientWithResponses) DatasetSourcesQueryDatasetSourcesQueryPostWithResponse added in v0.2.0

DatasetSourcesQueryDatasetSourcesQueryPostWithResponse Dataset Sources Query

Forward provenance lookup: dataset (+ optional row digests) -> sources.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /dataset_sources/query (the `DatasetSourcesQueryDatasetSourcesQueryPost` operationId).

func (*ClientWithResponses) EvalResultsQueryV2EntityProjectEvalResultsQueryPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) EvalResultsQueryV2EntityProjectEvalResultsQueryPostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalResultsQueryV2EntityProjectEvalResultsQueryPostResponse, error)

EvalResultsQueryV2EntityProjectEvalResultsQueryPostWithBodyWithResponse Eval Results Query

Read grouped evaluation result rows for one or more evaluations.

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 /v2/{entity}/{project}/eval_results/query (the `EvalResultsQueryV2EntityProjectEvalResultsQueryPost` operationId).

func (*ClientWithResponses) EvalResultsQueryV2EntityProjectEvalResultsQueryPostWithResponse added in v0.2.0

func (c *ClientWithResponses) EvalResultsQueryV2EntityProjectEvalResultsQueryPostWithResponse(ctx context.Context, entity string, project string, body EvalResultsQueryV2EntityProjectEvalResultsQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalResultsQueryV2EntityProjectEvalResultsQueryPostResponse, error)

EvalResultsQueryV2EntityProjectEvalResultsQueryPostWithResponse Eval Results Query

Read grouped evaluation result rows for one or more evaluations.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/{entity}/{project}/eval_results/query (the `EvalResultsQueryV2EntityProjectEvalResultsQueryPost` operationId).

func (*ClientWithResponses) EvaluateModelEvaluationsEvaluateModelPostWithBodyWithResponse

func (c *ClientWithResponses) EvaluateModelEvaluationsEvaluateModelPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvaluateModelEvaluationsEvaluateModelPostResponse, error)

EvaluateModelEvaluationsEvaluateModelPostWithBodyWithResponse Evaluate Model

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 /evaluations/evaluate_model (the `EvaluateModelEvaluationsEvaluateModelPost` operationId).

func (*ClientWithResponses) EvaluateModelEvaluationsEvaluateModelPostWithResponse

EvaluateModelEvaluationsEvaluateModelPostWithResponse Evaluate Model

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /evaluations/evaluate_model (the `EvaluateModelEvaluationsEvaluateModelPost` operationId).

func (*ClientWithResponses) EvaluationCreateV2EntityProjectEvaluationsPostWithBodyWithResponse

func (c *ClientWithResponses) EvaluationCreateV2EntityProjectEvaluationsPostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvaluationCreateV2EntityProjectEvaluationsPostResponse, error)

EvaluationCreateV2EntityProjectEvaluationsPostWithBodyWithResponse Evaluation Create

Create an evaluation object.

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 /v2/{entity}/{project}/evaluations (the `EvaluationCreateV2EntityProjectEvaluationsPost` operationId).

func (*ClientWithResponses) EvaluationCreateV2EntityProjectEvaluationsPostWithResponse

func (c *ClientWithResponses) EvaluationCreateV2EntityProjectEvaluationsPostWithResponse(ctx context.Context, entity string, project string, body EvaluationCreateV2EntityProjectEvaluationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*EvaluationCreateV2EntityProjectEvaluationsPostResponse, error)

EvaluationCreateV2EntityProjectEvaluationsPostWithResponse Evaluation Create

Create an evaluation object.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/{entity}/{project}/evaluations (the `EvaluationCreateV2EntityProjectEvaluationsPost` operationId).

func (*ClientWithResponses) EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteWithResponse

func (c *ClientWithResponses) EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteWithResponse(ctx context.Context, entity string, project string, objectId string, params *EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteResponse, error)

EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteWithResponse Evaluation Delete

Delete an evaluation object.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/{entity}/{project}/evaluations/{object_id} (the `EvaluationDeleteV2EntityProjectEvaluationsObjectIdDelete` operationId).

func (*ClientWithResponses) EvaluationListV2EntityProjectEvaluationsGetWithResponse

func (c *ClientWithResponses) EvaluationListV2EntityProjectEvaluationsGetWithResponse(ctx context.Context, entity string, project string, params *EvaluationListV2EntityProjectEvaluationsGetParams, reqEditors ...RequestEditorFn) (*EvaluationListV2EntityProjectEvaluationsGetResponse, error)

EvaluationListV2EntityProjectEvaluationsGetWithResponse Evaluation List

List evaluation objects.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/{entity}/{project}/evaluations (the `EvaluationListV2EntityProjectEvaluationsGet` operationId).

func (*ClientWithResponses) EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetWithResponse

func (c *ClientWithResponses) EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetWithResponse(ctx context.Context, entity string, project string, objectId string, digest string, reqEditors ...RequestEditorFn) (*EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetResponse, error)

EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetWithResponse Evaluation Read

Get an evaluation object.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/{entity}/{project}/evaluations/{object_id}/versions/{digest} (the `EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGet` operationId).

func (*ClientWithResponses) EvaluationRunCreateV2EntityProjectEvaluationRunsPostWithBodyWithResponse

func (c *ClientWithResponses) EvaluationRunCreateV2EntityProjectEvaluationRunsPostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvaluationRunCreateV2EntityProjectEvaluationRunsPostResponse, error)

EvaluationRunCreateV2EntityProjectEvaluationRunsPostWithBodyWithResponse Evaluation Run Create

Create an evaluation run.

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 /v2/{entity}/{project}/evaluation_runs (the `EvaluationRunCreateV2EntityProjectEvaluationRunsPost` operationId).

func (*ClientWithResponses) EvaluationRunCreateV2EntityProjectEvaluationRunsPostWithResponse

func (c *ClientWithResponses) EvaluationRunCreateV2EntityProjectEvaluationRunsPostWithResponse(ctx context.Context, entity string, project string, body EvaluationRunCreateV2EntityProjectEvaluationRunsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*EvaluationRunCreateV2EntityProjectEvaluationRunsPostResponse, error)

EvaluationRunCreateV2EntityProjectEvaluationRunsPostWithResponse Evaluation Run Create

Create an evaluation run.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/{entity}/{project}/evaluation_runs (the `EvaluationRunCreateV2EntityProjectEvaluationRunsPost` operationId).

func (*ClientWithResponses) EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteWithResponse

func (c *ClientWithResponses) EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteWithResponse(ctx context.Context, entity string, project string, params *EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteParams, reqEditors ...RequestEditorFn) (*EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteResponse, error)

EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteWithResponse Evaluation Run Delete

Delete evaluation runs.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/{entity}/{project}/evaluation_runs (the `EvaluationRunDeleteV2EntityProjectEvaluationRunsDelete` operationId).

func (*ClientWithResponses) EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostWithBodyWithResponse

func (c *ClientWithResponses) EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostWithBodyWithResponse(ctx context.Context, entity string, project string, evaluationRunId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostResponse, error)

EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostWithBodyWithResponse Evaluation Run Finish

Finish an evaluation run.

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 /v2/{entity}/{project}/evaluation_runs/{evaluation_run_id}/finish (the `EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPost` operationId).

func (*ClientWithResponses) EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostWithResponse

func (c *ClientWithResponses) EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostWithResponse(ctx context.Context, entity string, project string, evaluationRunId string, body EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostJSONRequestBody, reqEditors ...RequestEditorFn) (*EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostResponse, error)

EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostWithResponse Evaluation Run Finish

Finish an evaluation run.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/{entity}/{project}/evaluation_runs/{evaluation_run_id}/finish (the `EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPost` operationId).

func (*ClientWithResponses) EvaluationRunListV2EntityProjectEvaluationRunsGetWithResponse

func (c *ClientWithResponses) EvaluationRunListV2EntityProjectEvaluationRunsGetWithResponse(ctx context.Context, entity string, project string, params *EvaluationRunListV2EntityProjectEvaluationRunsGetParams, reqEditors ...RequestEditorFn) (*EvaluationRunListV2EntityProjectEvaluationRunsGetResponse, error)

EvaluationRunListV2EntityProjectEvaluationRunsGetWithResponse Evaluation Run List

List evaluation runs.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/{entity}/{project}/evaluation_runs (the `EvaluationRunListV2EntityProjectEvaluationRunsGet` operationId).

func (*ClientWithResponses) EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetWithResponse

func (c *ClientWithResponses) EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetWithResponse(ctx context.Context, entity string, project string, evaluationRunId string, reqEditors ...RequestEditorFn) (*EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetResponse, error)

EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetWithResponse Evaluation Run Read

Read an evaluation run.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/{entity}/{project}/evaluation_runs/{evaluation_run_id} (the `EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGet` operationId).

func (*ClientWithResponses) EvaluationStatusEvaluationsStatusPostWithBodyWithResponse

func (c *ClientWithResponses) EvaluationStatusEvaluationsStatusPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvaluationStatusEvaluationsStatusPostResponse, error)

EvaluationStatusEvaluationsStatusPostWithBodyWithResponse Evaluation Status

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 /evaluations/status (the `EvaluationStatusEvaluationsStatusPost` operationId).

func (*ClientWithResponses) EvaluationStatusEvaluationsStatusPostWithResponse

EvaluationStatusEvaluationsStatusPostWithResponse Evaluation Status

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /evaluations/status (the `EvaluationStatusEvaluationsStatusPost` operationId).

func (*ClientWithResponses) ExportGenaiTraceAgentsOtelV1TracesPostWithResponse added in v0.2.0

func (c *ClientWithResponses) ExportGenaiTraceAgentsOtelV1TracesPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExportGenaiTraceAgentsOtelV1TracesPostResponse, error)

ExportGenaiTraceAgentsOtelV1TracesPostWithResponse Export Genai Trace

Ingest OTel spans into the GenAI observability system.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/otel/v1/traces (the `ExportGenaiTraceAgentsOtelV1TracesPost` operationId).

func (*ClientWithResponses) ExportProjectDataWithBodyWithResponse added in v0.2.1

func (c *ClientWithResponses) ExportProjectDataWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportProjectDataResponse, error)

ExportProjectDataWithBodyWithResponse Start

Start one project's export. Save the job ID to look up its status.

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/entities/{entity}/projects/{project}:export (the `ExportProjectData` operationId).

func (*ClientWithResponses) ExportProjectDataWithResponse added in v0.2.1

func (c *ClientWithResponses) ExportProjectDataWithResponse(ctx context.Context, entity string, project string, body ExportProjectDataJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportProjectDataResponse, error)

ExportProjectDataWithResponse Start

Start one project's export. Save the job ID to look up its status.

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/entities/{entity}/projects/{project}:export (the `ExportProjectData` operationId).

func (*ClientWithResponses) ExportTraceOtelV1TracesPostWithResponse

func (c *ClientWithResponses) ExportTraceOtelV1TracesPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExportTraceOtelV1TracesPostResponse, error)

ExportTraceOtelV1TracesPostWithResponse Export Trace

Returns a wrapper object for the known response body format(s).

Corresponds with POST /otel/v1/traces (the `ExportTraceOtelV1TracesPost` operationId).

func (*ClientWithResponses) FeedbackAggregateFeedbackAggregatePostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) FeedbackAggregateFeedbackAggregatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FeedbackAggregateFeedbackAggregatePostResponse, error)

FeedbackAggregateFeedbackAggregatePostWithBodyWithResponse Feedback Aggregate

Aggregate typed scorer feedback (tags, ratings) over time buckets.

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 /feedback/aggregate (the `FeedbackAggregateFeedbackAggregatePost` operationId).

func (*ClientWithResponses) FeedbackAggregateFeedbackAggregatePostWithResponse added in v0.2.0

FeedbackAggregateFeedbackAggregatePostWithResponse Feedback Aggregate

Aggregate typed scorer feedback (tags, ratings) over time buckets.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /feedback/aggregate (the `FeedbackAggregateFeedbackAggregatePost` operationId).

func (*ClientWithResponses) FeedbackCreateBatchFeedbackBatchCreatePostWithBodyWithResponse

func (c *ClientWithResponses) FeedbackCreateBatchFeedbackBatchCreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FeedbackCreateBatchFeedbackBatchCreatePostResponse, error)

FeedbackCreateBatchFeedbackBatchCreatePostWithBodyWithResponse Feedback Create Batch

Add multiple feedback items to calls or objects.

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 /feedback/batch/create (the `FeedbackCreateBatchFeedbackBatchCreatePost` operationId).

func (*ClientWithResponses) FeedbackCreateBatchFeedbackBatchCreatePostWithResponse

FeedbackCreateBatchFeedbackBatchCreatePostWithResponse Feedback Create Batch

Add multiple feedback items to calls or objects.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /feedback/batch/create (the `FeedbackCreateBatchFeedbackBatchCreatePost` operationId).

func (*ClientWithResponses) FeedbackCreateFeedbackCreatePostWithBodyWithResponse

func (c *ClientWithResponses) FeedbackCreateFeedbackCreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FeedbackCreateFeedbackCreatePostResponse, error)

FeedbackCreateFeedbackCreatePostWithBodyWithResponse Feedback Create

Add feedback to a call or object.

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 /feedback/create (the `FeedbackCreateFeedbackCreatePost` operationId).

func (*ClientWithResponses) FeedbackCreateFeedbackCreatePostWithResponse

FeedbackCreateFeedbackCreatePostWithResponse Feedback Create

Add feedback to a call or object.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /feedback/create (the `FeedbackCreateFeedbackCreatePost` operationId).

func (*ClientWithResponses) FeedbackPayloadSchemaFeedbackPayloadSchemaPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) FeedbackPayloadSchemaFeedbackPayloadSchemaPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FeedbackPayloadSchemaFeedbackPayloadSchemaPostResponse, error)

FeedbackPayloadSchemaFeedbackPayloadSchemaPostWithBodyWithResponse Feedback Payload Schema

Discover feedback payload schema (paths and types) from sample rows.

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 /feedback/payload_schema (the `FeedbackPayloadSchemaFeedbackPayloadSchemaPost` operationId).

func (*ClientWithResponses) FeedbackPayloadSchemaFeedbackPayloadSchemaPostWithResponse added in v0.2.0

FeedbackPayloadSchemaFeedbackPayloadSchemaPostWithResponse Feedback Payload Schema

Discover feedback payload schema (paths and types) from sample rows.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /feedback/payload_schema (the `FeedbackPayloadSchemaFeedbackPayloadSchemaPost` operationId).

func (*ClientWithResponses) FeedbackPurgeFeedbackPurgePostWithBodyWithResponse

func (c *ClientWithResponses) FeedbackPurgeFeedbackPurgePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FeedbackPurgeFeedbackPurgePostResponse, error)

FeedbackPurgeFeedbackPurgePostWithBodyWithResponse Feedback Purge

Permanently delete feedback.

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 /feedback/purge (the `FeedbackPurgeFeedbackPurgePost` operationId).

func (*ClientWithResponses) FeedbackPurgeFeedbackPurgePostWithResponse

func (c *ClientWithResponses) FeedbackPurgeFeedbackPurgePostWithResponse(ctx context.Context, body FeedbackPurgeFeedbackPurgePostJSONRequestBody, reqEditors ...RequestEditorFn) (*FeedbackPurgeFeedbackPurgePostResponse, error)

FeedbackPurgeFeedbackPurgePostWithResponse Feedback Purge

Permanently delete feedback.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /feedback/purge (the `FeedbackPurgeFeedbackPurgePost` operationId).

func (*ClientWithResponses) FeedbackQueryFeedbackQueryPostWithBodyWithResponse

func (c *ClientWithResponses) FeedbackQueryFeedbackQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FeedbackQueryFeedbackQueryPostResponse, error)

FeedbackQueryFeedbackQueryPostWithBodyWithResponse Feedback Query

Query for feedback.

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 /feedback/query (the `FeedbackQueryFeedbackQueryPost` operationId).

func (*ClientWithResponses) FeedbackQueryFeedbackQueryPostWithResponse

func (c *ClientWithResponses) FeedbackQueryFeedbackQueryPostWithResponse(ctx context.Context, body FeedbackQueryFeedbackQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*FeedbackQueryFeedbackQueryPostResponse, error)

FeedbackQueryFeedbackQueryPostWithResponse Feedback Query

Query for feedback.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /feedback/query (the `FeedbackQueryFeedbackQueryPost` operationId).

func (*ClientWithResponses) FeedbackReplaceFeedbackReplacePostWithBodyWithResponse

func (c *ClientWithResponses) FeedbackReplaceFeedbackReplacePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FeedbackReplaceFeedbackReplacePostResponse, error)

FeedbackReplaceFeedbackReplacePostWithBodyWithResponse Feedback Replace

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 /feedback/replace (the `FeedbackReplaceFeedbackReplacePost` operationId).

func (*ClientWithResponses) FeedbackReplaceFeedbackReplacePostWithResponse

FeedbackReplaceFeedbackReplacePostWithResponse Feedback Replace

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /feedback/replace (the `FeedbackReplaceFeedbackReplacePost` operationId).

func (*ClientWithResponses) FeedbackStatsFeedbackStatsPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) FeedbackStatsFeedbackStatsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FeedbackStatsFeedbackStatsPostResponse, error)

FeedbackStatsFeedbackStatsPostWithBodyWithResponse Feedback Stats

Return aggregated feedback statistics over time buckets.

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 /feedback/stats (the `FeedbackStatsFeedbackStatsPost` operationId).

func (*ClientWithResponses) FeedbackStatsFeedbackStatsPostWithResponse added in v0.2.0

func (c *ClientWithResponses) FeedbackStatsFeedbackStatsPostWithResponse(ctx context.Context, body FeedbackStatsFeedbackStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*FeedbackStatsFeedbackStatsPostResponse, error)

FeedbackStatsFeedbackStatsPostWithResponse Feedback Stats

Return aggregated feedback statistics over time buckets.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /feedback/stats (the `FeedbackStatsFeedbackStatsPost` operationId).

func (*ClientWithResponses) FileContentFileContentPostWithBodyWithResponse

func (c *ClientWithResponses) FileContentFileContentPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FileContentFileContentPostResponse, error)

FileContentFileContentPostWithBodyWithResponse File Content

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 /file/content (the `FileContentFileContentPost` operationId).

func (*ClientWithResponses) FileContentFileContentPostWithResponse

func (c *ClientWithResponses) FileContentFileContentPostWithResponse(ctx context.Context, body FileContentFileContentPostJSONRequestBody, reqEditors ...RequestEditorFn) (*FileContentFileContentPostResponse, error)

FileContentFileContentPostWithResponse File Content

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /file/content (the `FileContentFileContentPost` operationId).

func (*ClientWithResponses) FileCreateFileCreatePostWithBodyWithResponse

func (c *ClientWithResponses) FileCreateFileCreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FileCreateFileCreatePostResponse, error)

FileCreateFileCreatePostWithBodyWithResponse File Create

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 /file/create (the `FileCreateFileCreatePost` operationId).

func (*ClientWithResponses) FilesResolveUrlFilesResolveUrlPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) FilesResolveUrlFilesResolveUrlPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FilesResolveUrlFilesResolveUrlPostResponse, error)

FilesResolveUrlFilesResolveUrlPostWithBodyWithResponse Files Resolve Url

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 /files/resolve_url (the `FilesResolveUrlFilesResolveUrlPost` operationId).

func (*ClientWithResponses) FilesResolveUrlFilesResolveUrlPostWithResponse added in v0.2.0

FilesResolveUrlFilesResolveUrlPostWithResponse Files Resolve Url

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /files/resolve_url (the `FilesResolveUrlFilesResolveUrlPost` operationId).

func (*ClientWithResponses) FilesStatsFilesQueryStatsPostWithBodyWithResponse

func (c *ClientWithResponses) FilesStatsFilesQueryStatsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FilesStatsFilesQueryStatsPostResponse, error)

FilesStatsFilesQueryStatsPostWithBodyWithResponse Files Stats

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 /files/query_stats (the `FilesStatsFilesQueryStatsPost` operationId).

func (*ClientWithResponses) FilesStatsFilesQueryStatsPostWithResponse

func (c *ClientWithResponses) FilesStatsFilesQueryStatsPostWithResponse(ctx context.Context, body FilesStatsFilesQueryStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*FilesStatsFilesQueryStatsPostResponse, error)

FilesStatsFilesQueryStatsPostWithResponse Files Stats

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /files/query_stats (the `FilesStatsFilesQueryStatsPost` operationId).

func (*ClientWithResponses) GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostResponse, error)

GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostWithBodyWithResponse Genai Agent Versions Query

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 /agents/agent-versions/query (the `GenaiAgentVersionsQueryAgentsAgentVersionsQueryPost` operationId).

func (*ClientWithResponses) GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostWithResponse added in v0.2.0

GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostWithResponse Genai Agent Versions Query

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/agent-versions/query (the `GenaiAgentVersionsQueryAgentsAgentVersionsQueryPost` operationId).

func (*ClientWithResponses) GenaiAgentsQueryAgentsQueryPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) GenaiAgentsQueryAgentsQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiAgentsQueryAgentsQueryPostResponse, error)

GenaiAgentsQueryAgentsQueryPostWithBodyWithResponse Genai Agents Query

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 /agents/query (the `GenaiAgentsQueryAgentsQueryPost` operationId).

func (*ClientWithResponses) GenaiAgentsQueryAgentsQueryPostWithResponse added in v0.2.0

func (c *ClientWithResponses) GenaiAgentsQueryAgentsQueryPostWithResponse(ctx context.Context, body GenaiAgentsQueryAgentsQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GenaiAgentsQueryAgentsQueryPostResponse, error)

GenaiAgentsQueryAgentsQueryPostWithResponse Genai Agents Query

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/query (the `GenaiAgentsQueryAgentsQueryPost` operationId).

func (*ClientWithResponses) GenaiConversationChatAgentsConversationsChatPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) GenaiConversationChatAgentsConversationsChatPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiConversationChatAgentsConversationsChatPostResponse, error)

GenaiConversationChatAgentsConversationsChatPostWithBodyWithResponse Genai Conversation Chat

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 /agents/conversations/chat (the `GenaiConversationChatAgentsConversationsChatPost` operationId).

func (*ClientWithResponses) GenaiConversationChatAgentsConversationsChatPostWithResponse added in v0.2.0

GenaiConversationChatAgentsConversationsChatPostWithResponse Genai Conversation Chat

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/conversations/chat (the `GenaiConversationChatAgentsConversationsChatPost` operationId).

func (*ClientWithResponses) GenaiConversationSpansAgentsConversationsSpansPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) GenaiConversationSpansAgentsConversationsSpansPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiConversationSpansAgentsConversationsSpansPostResponse, error)

GenaiConversationSpansAgentsConversationsSpansPostWithBodyWithResponse Genai Conversation Spans

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 /agents/conversations/spans (the `GenaiConversationSpansAgentsConversationsSpansPost` operationId).

func (*ClientWithResponses) GenaiConversationSpansAgentsConversationsSpansPostWithResponse added in v0.2.0

GenaiConversationSpansAgentsConversationsSpansPostWithResponse Genai Conversation Spans

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/conversations/spans (the `GenaiConversationSpansAgentsConversationsSpansPost` operationId).

func (*ClientWithResponses) GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostResponse, error)

GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostWithBodyWithResponse Genai Custom Attrs Schema

Discover typed custom attribute keys on matching agent spans.

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 /agents/spans/custom-attrs/schema (the `GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPost` operationId).

func (*ClientWithResponses) GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostWithResponse added in v0.2.0

GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostWithResponse Genai Custom Attrs Schema

Discover typed custom attribute keys on matching agent spans.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/spans/custom-attrs/schema (the `GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPost` operationId).

func (*ClientWithResponses) GenaiSearchAgentsSearchPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) GenaiSearchAgentsSearchPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiSearchAgentsSearchPostResponse, error)

GenaiSearchAgentsSearchPostWithBodyWithResponse Genai 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 /agents/search (the `GenaiSearchAgentsSearchPost` operationId).

func (*ClientWithResponses) GenaiSearchAgentsSearchPostWithResponse added in v0.2.0

func (c *ClientWithResponses) GenaiSearchAgentsSearchPostWithResponse(ctx context.Context, body GenaiSearchAgentsSearchPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GenaiSearchAgentsSearchPostResponse, error)

GenaiSearchAgentsSearchPostWithResponse Genai Search

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/search (the `GenaiSearchAgentsSearchPost` operationId).

func (*ClientWithResponses) GenaiSpansExistsAgentsSpansExistsPostWithBodyWithResponse added in v0.2.2

func (c *ClientWithResponses) GenaiSpansExistsAgentsSpansExistsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiSpansExistsAgentsSpansExistsPostResponse, error)

GenaiSpansExistsAgentsSpansExistsPostWithBodyWithResponse Genai Spans Exists

Check whether a project has any matching agent spans.

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 /agents/spans/exists (the `GenaiSpansExistsAgentsSpansExistsPost` operationId).

func (*ClientWithResponses) GenaiSpansExistsAgentsSpansExistsPostWithResponse added in v0.2.2

GenaiSpansExistsAgentsSpansExistsPostWithResponse Genai Spans Exists

Check whether a project has any matching agent spans.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/spans/exists (the `GenaiSpansExistsAgentsSpansExistsPost` operationId).

func (*ClientWithResponses) GenaiSpansQueryAgentsSpansQueryPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) GenaiSpansQueryAgentsSpansQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiSpansQueryAgentsSpansQueryPostResponse, error)

GenaiSpansQueryAgentsSpansQueryPostWithBodyWithResponse Genai Spans Query

Query agent spans, either as raw rows or grouped aggregates.

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 /agents/spans/query (the `GenaiSpansQueryAgentsSpansQueryPost` operationId).

func (*ClientWithResponses) GenaiSpansQueryAgentsSpansQueryPostWithResponse added in v0.2.0

GenaiSpansQueryAgentsSpansQueryPostWithResponse Genai Spans Query

Query agent spans, either as raw rows or grouped aggregates.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/spans/query (the `GenaiSpansQueryAgentsSpansQueryPost` operationId).

func (*ClientWithResponses) GenaiSpansStatsAgentsSpansStatsPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) GenaiSpansStatsAgentsSpansStatsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiSpansStatsAgentsSpansStatsPostResponse, error)

GenaiSpansStatsAgentsSpansStatsPostWithBodyWithResponse Genai Spans Stats

Query chart-ready aggregations over agent spans.

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 /agents/spans/stats (the `GenaiSpansStatsAgentsSpansStatsPost` operationId).

func (*ClientWithResponses) GenaiSpansStatsAgentsSpansStatsPostWithResponse added in v0.2.0

GenaiSpansStatsAgentsSpansStatsPostWithResponse Genai Spans Stats

Query chart-ready aggregations over agent spans.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/spans/stats (the `GenaiSpansStatsAgentsSpansStatsPost` operationId).

func (*ClientWithResponses) GenaiTracesChatAgentsTracesChatPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) GenaiTracesChatAgentsTracesChatPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiTracesChatAgentsTracesChatPostResponse, error)

GenaiTracesChatAgentsTracesChatPostWithBodyWithResponse Genai Traces Chat

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 /agents/traces/chat (the `GenaiTracesChatAgentsTracesChatPost` operationId).

func (*ClientWithResponses) GenaiTracesChatAgentsTracesChatPostWithResponse added in v0.2.0

GenaiTracesChatAgentsTracesChatPostWithResponse Genai Traces Chat

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /agents/traces/chat (the `GenaiTracesChatAgentsTracesChatPost` operationId).

func (*ClientWithResponses) GetCallerLocationGeolocateGetWithResponse

func (c *ClientWithResponses) GetCallerLocationGeolocateGetWithResponse(ctx context.Context, params *GetCallerLocationGeolocateGetParams, reqEditors ...RequestEditorFn) (*GetCallerLocationGeolocateGetResponse, error)

GetCallerLocationGeolocateGetWithResponse Get Caller Location

Lookup the geographic location of a user based on their IP address.

This API exists for debugging purposes and may not be available in the future.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /geolocate (the `GetCallerLocationGeolocateGet` operationId).

func (*ClientWithResponses) GetProjectExportWithResponse added in v0.2.1

func (c *ClientWithResponses) GetProjectExportWithResponse(ctx context.Context, entity string, project string, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetProjectExportResponse, error)

GetProjectExportWithResponse Get Status

Read a known export job. Partial output is never returned.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/entities/{entity}/projects/{project}/exports/{job_id} (the `GetProjectExport` operationId).

func (*ClientWithResponses) ImageCreateImageCreatePostWithBodyWithResponse

func (c *ClientWithResponses) ImageCreateImageCreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImageCreateImageCreatePostResponse, error)

ImageCreateImageCreatePostWithBodyWithResponse Image Create

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 /image/create (the `ImageCreateImageCreatePost` operationId).

func (*ClientWithResponses) ImageCreateImageCreatePostWithResponse

func (c *ClientWithResponses) ImageCreateImageCreatePostWithResponse(ctx context.Context, body ImageCreateImageCreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ImageCreateImageCreatePostResponse, error)

ImageCreateImageCreatePostWithResponse Image Create

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /image/create (the `ImageCreateImageCreatePost` operationId).

func (*ClientWithResponses) InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetWithResponse added in v0.2.0

func (c *ClientWithResponses) InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetResponse, error)

InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetWithResponse Inference Analysis Artificialanalysis Models

Returns a list of available models for Artificial Analysis.

This API is available without authentication.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /inference/analysis/artificialanalysis/models (the `InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGet` operationId).

func (*ClientWithResponses) InferenceCatalogModelsInferenceCatalogModelsGetWithResponse added in v0.2.0

func (c *ClientWithResponses) InferenceCatalogModelsInferenceCatalogModelsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InferenceCatalogModelsInferenceCatalogModelsGetResponse, error)

InferenceCatalogModelsInferenceCatalogModelsGetWithResponse Inference Catalog Models

Returns a list of available Serverless Inference models.

This API is available without authentication.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /inference/catalog/models (the `InferenceCatalogModelsInferenceCatalogModelsGet` operationId).

func (*ClientWithResponses) InferenceModelsdevModelsInferenceModelsdevModelsGetWithResponse added in v0.2.0

func (c *ClientWithResponses) InferenceModelsdevModelsInferenceModelsdevModelsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InferenceModelsdevModelsInferenceModelsdevModelsGetResponse, error)

InferenceModelsdevModelsInferenceModelsdevModelsGetWithResponse Inference Modelsdev Models

Returns the available models in the models.dev `api.json` schema.

This API is available without authentication.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /inference/modelsdev/models (the `InferenceModelsdevModelsInferenceModelsdevModelsGet` operationId).

func (*ClientWithResponses) InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetWithResponse

func (c *ClientWithResponses) InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetResponse, error)

InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetWithResponse Inference Router Openrouter Models

Returns a list of models that are available to be used with OpenRouter.

This API is available without authentication.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /inference/router/openrouter/models (the `InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGet` operationId).

func (*ClientWithResponses) LinkToRegistryLinkToRegistryPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) LinkToRegistryLinkToRegistryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LinkToRegistryLinkToRegistryPostResponse, error)

LinkToRegistryLinkToRegistryPostWithBodyWithResponse Link To Registry

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 /link_to_registry (the `LinkToRegistryLinkToRegistryPost` operationId).

func (*ClientWithResponses) LinkToRegistryLinkToRegistryPostWithResponse added in v0.2.0

LinkToRegistryLinkToRegistryPostWithResponse Link To Registry

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /link_to_registry (the `LinkToRegistryLinkToRegistryPost` operationId).

func (*ClientWithResponses) ModelCreateV2EntityProjectModelsPostWithBodyWithResponse

func (c *ClientWithResponses) ModelCreateV2EntityProjectModelsPostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModelCreateV2EntityProjectModelsPostResponse, error)

ModelCreateV2EntityProjectModelsPostWithBodyWithResponse Model Create

Create a model object.

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 /v2/{entity}/{project}/models (the `ModelCreateV2EntityProjectModelsPost` operationId).

func (*ClientWithResponses) ModelCreateV2EntityProjectModelsPostWithResponse

func (c *ClientWithResponses) ModelCreateV2EntityProjectModelsPostWithResponse(ctx context.Context, entity string, project string, body ModelCreateV2EntityProjectModelsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ModelCreateV2EntityProjectModelsPostResponse, error)

ModelCreateV2EntityProjectModelsPostWithResponse Model Create

Create a model object.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/{entity}/{project}/models (the `ModelCreateV2EntityProjectModelsPost` operationId).

func (*ClientWithResponses) ModelDeleteV2EntityProjectModelsObjectIdDeleteWithResponse

func (c *ClientWithResponses) ModelDeleteV2EntityProjectModelsObjectIdDeleteWithResponse(ctx context.Context, entity string, project string, objectId string, params *ModelDeleteV2EntityProjectModelsObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*ModelDeleteV2EntityProjectModelsObjectIdDeleteResponse, error)

ModelDeleteV2EntityProjectModelsObjectIdDeleteWithResponse Model Delete

Delete a model object. If digests are provided, only those versions are deleted. Otherwise, all versions are deleted.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/{entity}/{project}/models/{object_id} (the `ModelDeleteV2EntityProjectModelsObjectIdDelete` operationId).

func (*ClientWithResponses) ModelListV2EntityProjectModelsGetWithResponse

func (c *ClientWithResponses) ModelListV2EntityProjectModelsGetWithResponse(ctx context.Context, entity string, project string, params *ModelListV2EntityProjectModelsGetParams, reqEditors ...RequestEditorFn) (*ModelListV2EntityProjectModelsGetResponse, error)

ModelListV2EntityProjectModelsGetWithResponse Model List

List model objects.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/{entity}/{project}/models (the `ModelListV2EntityProjectModelsGet` operationId).

func (*ClientWithResponses) ModelReadV2EntityProjectModelsObjectIdVersionsDigestGetWithResponse

func (c *ClientWithResponses) ModelReadV2EntityProjectModelsObjectIdVersionsDigestGetWithResponse(ctx context.Context, entity string, project string, objectId string, digest string, reqEditors ...RequestEditorFn) (*ModelReadV2EntityProjectModelsObjectIdVersionsDigestGetResponse, error)

ModelReadV2EntityProjectModelsObjectIdVersionsDigestGetWithResponse Model Read

Get a model object.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/{entity}/{project}/models/{object_id}/versions/{digest} (the `ModelReadV2EntityProjectModelsObjectIdVersionsDigestGet` operationId).

func (*ClientWithResponses) NvidiaHardwareInferenceNvidiaV2HardwareGetWithResponse added in v0.2.0

func (c *ClientWithResponses) NvidiaHardwareInferenceNvidiaV2HardwareGetWithResponse(ctx context.Context, params *NvidiaHardwareInferenceNvidiaV2HardwareGetParams, reqEditors ...RequestEditorFn) (*NvidiaHardwareInferenceNvidiaV2HardwareGetResponse, error)

NvidiaHardwareInferenceNvidiaV2HardwareGetWithResponse Nvidia Hardware

Returns available hardware and pricing for a given model.

Called by NVIDIA to show users their options and redirect them based on what we support. Only serverless options are returned.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /inference/nvidia/v2/hardware (the `NvidiaHardwareInferenceNvidiaV2HardwareGet` operationId).

func (*ClientWithResponses) ObjAddTagsObjsObjectIdVersionsDigestTagsPutWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) ObjAddTagsObjsObjectIdVersionsDigestTagsPutWithBodyWithResponse(ctx context.Context, objectId string, digest string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObjAddTagsObjsObjectIdVersionsDigestTagsPutResponse, error)

ObjAddTagsObjsObjectIdVersionsDigestTagsPutWithBodyWithResponse Obj Add Tags

Add tags to an object 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 PUT /objs/{object_id}/versions/{digest}/tags (the `ObjAddTagsObjsObjectIdVersionsDigestTagsPut` operationId).

func (*ClientWithResponses) ObjAddTagsObjsObjectIdVersionsDigestTagsPutWithResponse added in v0.2.0

func (c *ClientWithResponses) ObjAddTagsObjsObjectIdVersionsDigestTagsPutWithResponse(ctx context.Context, objectId string, digest string, body ObjAddTagsObjsObjectIdVersionsDigestTagsPutJSONRequestBody, reqEditors ...RequestEditorFn) (*ObjAddTagsObjsObjectIdVersionsDigestTagsPutResponse, error)

ObjAddTagsObjsObjectIdVersionsDigestTagsPutWithResponse Obj Add Tags

Add tags to an object version.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /objs/{object_id}/versions/{digest}/tags (the `ObjAddTagsObjsObjectIdVersionsDigestTagsPut` operationId).

func (*ClientWithResponses) ObjCreateObjCreatePostWithBodyWithResponse

func (c *ClientWithResponses) ObjCreateObjCreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObjCreateObjCreatePostResponse, error)

ObjCreateObjCreatePostWithBodyWithResponse Obj Create

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 /obj/create (the `ObjCreateObjCreatePost` operationId).

func (*ClientWithResponses) ObjCreateObjCreatePostWithResponse

func (c *ClientWithResponses) ObjCreateObjCreatePostWithResponse(ctx context.Context, body ObjCreateObjCreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ObjCreateObjCreatePostResponse, error)

ObjCreateObjCreatePostWithResponse Obj Create

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /obj/create (the `ObjCreateObjCreatePost` operationId).

func (*ClientWithResponses) ObjDeleteObjDeletePostWithBodyWithResponse

func (c *ClientWithResponses) ObjDeleteObjDeletePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObjDeleteObjDeletePostResponse, error)

ObjDeleteObjDeletePostWithBodyWithResponse Obj Delete

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 /obj/delete (the `ObjDeleteObjDeletePost` operationId).

func (*ClientWithResponses) ObjDeleteObjDeletePostWithResponse

func (c *ClientWithResponses) ObjDeleteObjDeletePostWithResponse(ctx context.Context, body ObjDeleteObjDeletePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ObjDeleteObjDeletePostResponse, error)

ObjDeleteObjDeletePostWithResponse Obj Delete

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /obj/delete (the `ObjDeleteObjDeletePost` operationId).

func (*ClientWithResponses) ObjReadObjReadPostWithBodyWithResponse

func (c *ClientWithResponses) ObjReadObjReadPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObjReadObjReadPostResponse, error)

ObjReadObjReadPostWithBodyWithResponse Obj Read

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 /obj/read (the `ObjReadObjReadPost` operationId).

func (*ClientWithResponses) ObjReadObjReadPostWithResponse

func (c *ClientWithResponses) ObjReadObjReadPostWithResponse(ctx context.Context, body ObjReadObjReadPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ObjReadObjReadPostResponse, error)

ObjReadObjReadPostWithResponse Obj Read

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /obj/read (the `ObjReadObjReadPost` operationId).

func (*ClientWithResponses) ObjRemoveAliasesObjsObjectIdAliasesRemovePostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) ObjRemoveAliasesObjsObjectIdAliasesRemovePostWithBodyWithResponse(ctx context.Context, objectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObjRemoveAliasesObjsObjectIdAliasesRemovePostResponse, error)

ObjRemoveAliasesObjsObjectIdAliasesRemovePostWithBodyWithResponse Obj Remove Aliases

Remove aliases from an object.

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 /objs/{object_id}/aliases/remove (the `ObjRemoveAliasesObjsObjectIdAliasesRemovePost` operationId).

func (*ClientWithResponses) ObjRemoveAliasesObjsObjectIdAliasesRemovePostWithResponse added in v0.2.0

func (c *ClientWithResponses) ObjRemoveAliasesObjsObjectIdAliasesRemovePostWithResponse(ctx context.Context, objectId string, body ObjRemoveAliasesObjsObjectIdAliasesRemovePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ObjRemoveAliasesObjsObjectIdAliasesRemovePostResponse, error)

ObjRemoveAliasesObjsObjectIdAliasesRemovePostWithResponse Obj Remove Aliases

Remove aliases from an object.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /objs/{object_id}/aliases/remove (the `ObjRemoveAliasesObjsObjectIdAliasesRemovePost` operationId).

func (*ClientWithResponses) ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostWithBodyWithResponse(ctx context.Context, objectId string, digest string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostResponse, error)

ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostWithBodyWithResponse Obj Remove Tags

Remove tags from an object 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 POST /objs/{object_id}/versions/{digest}/tags/remove (the `ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePost` operationId).

func (*ClientWithResponses) ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostWithResponse added in v0.2.0

func (c *ClientWithResponses) ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostWithResponse(ctx context.Context, objectId string, digest string, body ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostResponse, error)

ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostWithResponse Obj Remove Tags

Remove tags from an object version.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /objs/{object_id}/versions/{digest}/tags/remove (the `ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePost` operationId).

func (*ClientWithResponses) ObjSetAliasesObjsObjectIdAliasesPutWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) ObjSetAliasesObjsObjectIdAliasesPutWithBodyWithResponse(ctx context.Context, objectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObjSetAliasesObjsObjectIdAliasesPutResponse, error)

ObjSetAliasesObjsObjectIdAliasesPutWithBodyWithResponse Obj Set Aliases

Set aliases for an object 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 PUT /objs/{object_id}/aliases (the `ObjSetAliasesObjsObjectIdAliasesPut` operationId).

func (*ClientWithResponses) ObjSetAliasesObjsObjectIdAliasesPutWithResponse added in v0.2.0

func (c *ClientWithResponses) ObjSetAliasesObjsObjectIdAliasesPutWithResponse(ctx context.Context, objectId string, body ObjSetAliasesObjsObjectIdAliasesPutJSONRequestBody, reqEditors ...RequestEditorFn) (*ObjSetAliasesObjsObjectIdAliasesPutResponse, error)

ObjSetAliasesObjsObjectIdAliasesPutWithResponse Obj Set Aliases

Set aliases for an object version.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /objs/{object_id}/aliases (the `ObjSetAliasesObjsObjectIdAliasesPut` operationId).

func (*ClientWithResponses) ObjsQueryObjsQueryPostWithBodyWithResponse

func (c *ClientWithResponses) ObjsQueryObjsQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObjsQueryObjsQueryPostResponse, error)

ObjsQueryObjsQueryPostWithBodyWithResponse Objs Query

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 /objs/query (the `ObjsQueryObjsQueryPost` operationId).

func (*ClientWithResponses) ObjsQueryObjsQueryPostWithResponse

func (c *ClientWithResponses) ObjsQueryObjsQueryPostWithResponse(ctx context.Context, body ObjsQueryObjsQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ObjsQueryObjsQueryPostResponse, error)

ObjsQueryObjsQueryPostWithResponse Objs Query

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /objs/query (the `ObjsQueryObjsQueryPost` operationId).

func (*ClientWithResponses) OpCreateV2EntityProjectOpsPostWithBodyWithResponse

func (c *ClientWithResponses) OpCreateV2EntityProjectOpsPostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OpCreateV2EntityProjectOpsPostResponse, error)

OpCreateV2EntityProjectOpsPostWithBodyWithResponse Op Create

Create an op object.

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 /v2/{entity}/{project}/ops (the `OpCreateV2EntityProjectOpsPost` operationId).

func (*ClientWithResponses) OpCreateV2EntityProjectOpsPostWithResponse

func (c *ClientWithResponses) OpCreateV2EntityProjectOpsPostWithResponse(ctx context.Context, entity string, project string, body OpCreateV2EntityProjectOpsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*OpCreateV2EntityProjectOpsPostResponse, error)

OpCreateV2EntityProjectOpsPostWithResponse Op Create

Create an op object.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/{entity}/{project}/ops (the `OpCreateV2EntityProjectOpsPost` operationId).

func (*ClientWithResponses) OpDeleteV2EntityProjectOpsObjectIdDeleteWithResponse

func (c *ClientWithResponses) OpDeleteV2EntityProjectOpsObjectIdDeleteWithResponse(ctx context.Context, entity string, project string, objectId string, params *OpDeleteV2EntityProjectOpsObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*OpDeleteV2EntityProjectOpsObjectIdDeleteResponse, error)

OpDeleteV2EntityProjectOpsObjectIdDeleteWithResponse Op Delete

Delete an op object. If digests are provided, only those versions are deleted. Otherwise, all versions are deleted.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/{entity}/{project}/ops/{object_id} (the `OpDeleteV2EntityProjectOpsObjectIdDelete` operationId).

func (*ClientWithResponses) OpListV2EntityProjectOpsGetWithResponse

func (c *ClientWithResponses) OpListV2EntityProjectOpsGetWithResponse(ctx context.Context, entity string, project string, params *OpListV2EntityProjectOpsGetParams, reqEditors ...RequestEditorFn) (*OpListV2EntityProjectOpsGetResponse, error)

OpListV2EntityProjectOpsGetWithResponse Op List

List op objects.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/{entity}/{project}/ops (the `OpListV2EntityProjectOpsGet` operationId).

func (*ClientWithResponses) OpReadV2EntityProjectOpsObjectIdVersionsDigestGetWithResponse

func (c *ClientWithResponses) OpReadV2EntityProjectOpsObjectIdVersionsDigestGetWithResponse(ctx context.Context, entity string, project string, objectId string, digest string, params *OpReadV2EntityProjectOpsObjectIdVersionsDigestGetParams, reqEditors ...RequestEditorFn) (*OpReadV2EntityProjectOpsObjectIdVersionsDigestGetResponse, error)

OpReadV2EntityProjectOpsObjectIdVersionsDigestGetWithResponse Op Read

Get an op object.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/{entity}/{project}/ops/{object_id}/versions/{digest} (the `OpReadV2EntityProjectOpsObjectIdVersionsDigestGet` operationId).

func (*ClientWithResponses) PredictionCreateV2EntityProjectPredictionsPostWithBodyWithResponse

func (c *ClientWithResponses) PredictionCreateV2EntityProjectPredictionsPostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PredictionCreateV2EntityProjectPredictionsPostResponse, error)

PredictionCreateV2EntityProjectPredictionsPostWithBodyWithResponse Prediction Create

Create a prediction.

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 /v2/{entity}/{project}/predictions (the `PredictionCreateV2EntityProjectPredictionsPost` operationId).

func (*ClientWithResponses) PredictionCreateV2EntityProjectPredictionsPostWithResponse

func (c *ClientWithResponses) PredictionCreateV2EntityProjectPredictionsPostWithResponse(ctx context.Context, entity string, project string, body PredictionCreateV2EntityProjectPredictionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*PredictionCreateV2EntityProjectPredictionsPostResponse, error)

PredictionCreateV2EntityProjectPredictionsPostWithResponse Prediction Create

Create a prediction.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/{entity}/{project}/predictions (the `PredictionCreateV2EntityProjectPredictionsPost` operationId).

func (*ClientWithResponses) PredictionDeleteV2EntityProjectPredictionsDeleteWithResponse

func (c *ClientWithResponses) PredictionDeleteV2EntityProjectPredictionsDeleteWithResponse(ctx context.Context, entity string, project string, params *PredictionDeleteV2EntityProjectPredictionsDeleteParams, reqEditors ...RequestEditorFn) (*PredictionDeleteV2EntityProjectPredictionsDeleteResponse, error)

PredictionDeleteV2EntityProjectPredictionsDeleteWithResponse Prediction Delete

Delete predictions.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/{entity}/{project}/predictions (the `PredictionDeleteV2EntityProjectPredictionsDelete` operationId).

func (*ClientWithResponses) PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostWithResponse

func (c *ClientWithResponses) PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostWithResponse(ctx context.Context, entity string, project string, predictionId string, reqEditors ...RequestEditorFn) (*PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostResponse, error)

PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostWithResponse Prediction Finish

Finish a prediction.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/{entity}/{project}/predictions/{prediction_id}/finish (the `PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPost` operationId).

func (*ClientWithResponses) PredictionListV2EntityProjectPredictionsGetWithResponse

func (c *ClientWithResponses) PredictionListV2EntityProjectPredictionsGetWithResponse(ctx context.Context, entity string, project string, params *PredictionListV2EntityProjectPredictionsGetParams, reqEditors ...RequestEditorFn) (*PredictionListV2EntityProjectPredictionsGetResponse, error)

PredictionListV2EntityProjectPredictionsGetWithResponse Prediction List

List predictions.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/{entity}/{project}/predictions (the `PredictionListV2EntityProjectPredictionsGet` operationId).

func (*ClientWithResponses) PredictionReadV2EntityProjectPredictionsPredictionIdGetWithResponse

func (c *ClientWithResponses) PredictionReadV2EntityProjectPredictionsPredictionIdGetWithResponse(ctx context.Context, entity string, project string, predictionId string, reqEditors ...RequestEditorFn) (*PredictionReadV2EntityProjectPredictionsPredictionIdGetResponse, error)

PredictionReadV2EntityProjectPredictionsPredictionIdGetWithResponse Prediction Read

Read a prediction.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/{entity}/{project}/predictions/{prediction_id} (the `PredictionReadV2EntityProjectPredictionsPredictionIdGet` operationId).

func (*ClientWithResponses) ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostResponse, error)

ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostWithBodyWithResponse Project Ingest Sampling Settings Read

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 /project/ingest_sampling_settings/read (the `ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPost` operationId).

func (*ClientWithResponses) ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostWithResponse added in v0.2.0

ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostWithResponse Project Ingest Sampling Settings Read

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /project/ingest_sampling_settings/read (the `ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPost` operationId).

func (*ClientWithResponses) ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetWithResponse added in v0.2.0

ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetWithResponse Project Sensitive Data Settings Read

Read the owning organization's sensitive-data policy for a project.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /project/sensitive_data_settings (the `ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGet` operationId).

func (*ClientWithResponses) ProjectStatsProjectStatsPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) ProjectStatsProjectStatsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectStatsProjectStatsPostResponse, error)

ProjectStatsProjectStatsPostWithBodyWithResponse Project Stats

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 /project/stats (the `ProjectStatsProjectStatsPost` operationId).

func (*ClientWithResponses) ProjectStatsProjectStatsPostWithResponse added in v0.2.0

func (c *ClientWithResponses) ProjectStatsProjectStatsPostWithResponse(ctx context.Context, body ProjectStatsProjectStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectStatsProjectStatsPostResponse, error)

ProjectStatsProjectStatsPostWithResponse Project Stats

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /project/stats (the `ProjectStatsProjectStatsPost` operationId).

func (*ClientWithResponses) ProjectTtlSettingsReadProjectTtlSettingsReadPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) ProjectTtlSettingsReadProjectTtlSettingsReadPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectTtlSettingsReadProjectTtlSettingsReadPostResponse, error)

ProjectTtlSettingsReadProjectTtlSettingsReadPostWithBodyWithResponse Project Ttl Settings Read

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 /project/ttl_settings/read (the `ProjectTtlSettingsReadProjectTtlSettingsReadPost` operationId).

func (*ClientWithResponses) ProjectTtlSettingsReadProjectTtlSettingsReadPostWithResponse added in v0.2.0

ProjectTtlSettingsReadProjectTtlSettingsReadPostWithResponse Project Ttl Settings Read

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /project/ttl_settings/read (the `ProjectTtlSettingsReadProjectTtlSettingsReadPost` operationId).

func (*ClientWithResponses) ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostResponse, error)

ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostWithBodyWithResponse Project Ttl Settings Update

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 /project/ttl_settings/update (the `ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePost` operationId).

func (*ClientWithResponses) ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostWithResponse added in v0.2.0

ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostWithResponse Project Ttl Settings Update

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /project/ttl_settings/update (the `ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePost` operationId).

func (*ClientWithResponses) ProjectsInfoServiceProjectsInfoPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) ProjectsInfoServiceProjectsInfoPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectsInfoServiceProjectsInfoPostResponse, error)

ProjectsInfoServiceProjectsInfoPostWithBodyWithResponse Projects Info

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 /service/projects_info (the `ProjectsInfoServiceProjectsInfoPost` operationId).

func (*ClientWithResponses) ProjectsInfoServiceProjectsInfoPostWithResponse added in v0.2.0

ProjectsInfoServiceProjectsInfoPostWithResponse Projects Info

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /service/projects_info (the `ProjectsInfoServiceProjectsInfoPost` operationId).

func (*ClientWithResponses) ReadRootHealthGetWithResponse

func (c *ClientWithResponses) ReadRootHealthGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadRootHealthGetResponse, error)

ReadRootHealthGetWithResponse Read Root

Returns a wrapper object for the known response body format(s).

Corresponds with GET /health (the `ReadRootHealthGet` operationId).

func (*ClientWithResponses) ReadVersionVersionGetWithResponse

func (c *ClientWithResponses) ReadVersionVersionGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadVersionVersionGetResponse, error)

ReadVersionVersionGetWithResponse Read Version

Returns a wrapper object for the known response body format(s).

Corresponds with GET /version (the `ReadVersionVersionGet` operationId).

func (*ClientWithResponses) RefsReadBatchRefsReadBatchPostWithBodyWithResponse

func (c *ClientWithResponses) RefsReadBatchRefsReadBatchPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RefsReadBatchRefsReadBatchPostResponse, error)

RefsReadBatchRefsReadBatchPostWithBodyWithResponse Refs Read Batch

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 /refs/read_batch (the `RefsReadBatchRefsReadBatchPost` operationId).

func (*ClientWithResponses) RefsReadBatchRefsReadBatchPostWithResponse

func (c *ClientWithResponses) RefsReadBatchRefsReadBatchPostWithResponse(ctx context.Context, body RefsReadBatchRefsReadBatchPostJSONRequestBody, reqEditors ...RequestEditorFn) (*RefsReadBatchRefsReadBatchPostResponse, error)

RefsReadBatchRefsReadBatchPostWithResponse Refs Read Batch

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /refs/read_batch (the `RefsReadBatchRefsReadBatchPost` operationId).

func (*ClientWithResponses) RescoreEvaluationEvaluationsRescorePostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) RescoreEvaluationEvaluationsRescorePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RescoreEvaluationEvaluationsRescorePostResponse, error)

RescoreEvaluationEvaluationsRescorePostWithBodyWithResponse Rescore Evaluation

Rescore an existing evaluation run with different scorer(s).

Applies the provided scorer(s) to the predictions from source_evaluation_run_id and returns a new evaluation_run_id. Original prediction call IDs are preserved.

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 /evaluations/rescore (the `RescoreEvaluationEvaluationsRescorePost` operationId).

func (*ClientWithResponses) RescoreEvaluationEvaluationsRescorePostWithResponse added in v0.2.0

RescoreEvaluationEvaluationsRescorePostWithResponse Rescore Evaluation

Rescore an existing evaluation run with different scorer(s).

Applies the provided scorer(s) to the predictions from source_evaluation_run_id and returns a new evaluation_run_id. Original prediction call IDs are preserved.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /evaluations/rescore (the `RescoreEvaluationEvaluationsRescorePost` operationId).

func (*ClientWithResponses) ScoreCreateV2EntityProjectScoresPostWithBodyWithResponse

func (c *ClientWithResponses) ScoreCreateV2EntityProjectScoresPostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScoreCreateV2EntityProjectScoresPostResponse, error)

ScoreCreateV2EntityProjectScoresPostWithBodyWithResponse Score Create

Create a score.

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 /v2/{entity}/{project}/scores (the `ScoreCreateV2EntityProjectScoresPost` operationId).

func (*ClientWithResponses) ScoreCreateV2EntityProjectScoresPostWithResponse

func (c *ClientWithResponses) ScoreCreateV2EntityProjectScoresPostWithResponse(ctx context.Context, entity string, project string, body ScoreCreateV2EntityProjectScoresPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ScoreCreateV2EntityProjectScoresPostResponse, error)

ScoreCreateV2EntityProjectScoresPostWithResponse Score Create

Create a score.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/{entity}/{project}/scores (the `ScoreCreateV2EntityProjectScoresPost` operationId).

func (*ClientWithResponses) ScoreDeleteV2EntityProjectScoresDeleteWithResponse

func (c *ClientWithResponses) ScoreDeleteV2EntityProjectScoresDeleteWithResponse(ctx context.Context, entity string, project string, params *ScoreDeleteV2EntityProjectScoresDeleteParams, reqEditors ...RequestEditorFn) (*ScoreDeleteV2EntityProjectScoresDeleteResponse, error)

ScoreDeleteV2EntityProjectScoresDeleteWithResponse Score Delete

Delete scores.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/{entity}/{project}/scores (the `ScoreDeleteV2EntityProjectScoresDelete` operationId).

func (*ClientWithResponses) ScoreListV2EntityProjectScoresGetWithResponse

func (c *ClientWithResponses) ScoreListV2EntityProjectScoresGetWithResponse(ctx context.Context, entity string, project string, params *ScoreListV2EntityProjectScoresGetParams, reqEditors ...RequestEditorFn) (*ScoreListV2EntityProjectScoresGetResponse, error)

ScoreListV2EntityProjectScoresGetWithResponse Score List

List scores.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/{entity}/{project}/scores (the `ScoreListV2EntityProjectScoresGet` operationId).

func (*ClientWithResponses) ScoreReadV2EntityProjectScoresScoreIdGetWithResponse

func (c *ClientWithResponses) ScoreReadV2EntityProjectScoresScoreIdGetWithResponse(ctx context.Context, entity string, project string, scoreId string, reqEditors ...RequestEditorFn) (*ScoreReadV2EntityProjectScoresScoreIdGetResponse, error)

ScoreReadV2EntityProjectScoresScoreIdGetWithResponse Score Read

Read a score.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/{entity}/{project}/scores/{score_id} (the `ScoreReadV2EntityProjectScoresScoreIdGet` operationId).

func (*ClientWithResponses) ScorerCreateV2EntityProjectScorersPostWithBodyWithResponse

func (c *ClientWithResponses) ScorerCreateV2EntityProjectScorersPostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScorerCreateV2EntityProjectScorersPostResponse, error)

ScorerCreateV2EntityProjectScorersPostWithBodyWithResponse Scorer Create

Create a scorer object.

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 /v2/{entity}/{project}/scorers (the `ScorerCreateV2EntityProjectScorersPost` operationId).

func (*ClientWithResponses) ScorerCreateV2EntityProjectScorersPostWithResponse

func (c *ClientWithResponses) ScorerCreateV2EntityProjectScorersPostWithResponse(ctx context.Context, entity string, project string, body ScorerCreateV2EntityProjectScorersPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ScorerCreateV2EntityProjectScorersPostResponse, error)

ScorerCreateV2EntityProjectScorersPostWithResponse Scorer Create

Create a scorer object.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v2/{entity}/{project}/scorers (the `ScorerCreateV2EntityProjectScorersPost` operationId).

func (*ClientWithResponses) ScorerDeleteV2EntityProjectScorersObjectIdDeleteWithResponse

func (c *ClientWithResponses) ScorerDeleteV2EntityProjectScorersObjectIdDeleteWithResponse(ctx context.Context, entity string, project string, objectId string, params *ScorerDeleteV2EntityProjectScorersObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*ScorerDeleteV2EntityProjectScorersObjectIdDeleteResponse, error)

ScorerDeleteV2EntityProjectScorersObjectIdDeleteWithResponse Scorer Delete

Delete a scorer object.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v2/{entity}/{project}/scorers/{object_id} (the `ScorerDeleteV2EntityProjectScorersObjectIdDelete` operationId).

func (*ClientWithResponses) ScorerListV2EntityProjectScorersGetWithResponse

func (c *ClientWithResponses) ScorerListV2EntityProjectScorersGetWithResponse(ctx context.Context, entity string, project string, params *ScorerListV2EntityProjectScorersGetParams, reqEditors ...RequestEditorFn) (*ScorerListV2EntityProjectScorersGetResponse, error)

ScorerListV2EntityProjectScorersGetWithResponse Scorer List

List scorer objects.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/{entity}/{project}/scorers (the `ScorerListV2EntityProjectScorersGet` operationId).

func (*ClientWithResponses) ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetWithResponse

func (c *ClientWithResponses) ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetWithResponse(ctx context.Context, entity string, project string, objectId string, digest string, reqEditors ...RequestEditorFn) (*ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetResponse, error)

ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetWithResponse Scorer Read

Get a scorer object.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/{entity}/{project}/scorers/{object_id}/versions/{digest} (the `ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGet` operationId).

func (*ClientWithResponses) ServerInfoServerInfoGetWithResponse

func (c *ClientWithResponses) ServerInfoServerInfoGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ServerInfoServerInfoGetResponse, error)

ServerInfoServerInfoGetWithResponse Server Info

Returns a wrapper object for the known response body format(s).

Corresponds with GET /server_info (the `ServerInfoServerInfoGet` operationId).

func (*ClientWithResponses) SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostWithBodyWithResponse added in v0.2.0

func (c *ClientWithResponses) SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostResponse, error)

SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostWithBodyWithResponse Source Datasets Query

Reverse provenance lookup: sources -> datasets they appear in.

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 /dataset_sources/source_datasets_query (the `SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPost` operationId).

func (*ClientWithResponses) SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostWithResponse added in v0.2.0

SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostWithResponse Source Datasets Query

Reverse provenance lookup: sources -> datasets they appear in.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /dataset_sources/source_datasets_query (the `SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPost` operationId).

func (*ClientWithResponses) TableCreateFromDigestsTableCreateFromDigestsPostWithBodyWithResponse

func (c *ClientWithResponses) TableCreateFromDigestsTableCreateFromDigestsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TableCreateFromDigestsTableCreateFromDigestsPostResponse, error)

TableCreateFromDigestsTableCreateFromDigestsPostWithBodyWithResponse Table Create From Digests

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 /table/create_from_digests (the `TableCreateFromDigestsTableCreateFromDigestsPost` operationId).

func (*ClientWithResponses) TableCreateFromDigestsTableCreateFromDigestsPostWithResponse

TableCreateFromDigestsTableCreateFromDigestsPostWithResponse Table Create From Digests

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /table/create_from_digests (the `TableCreateFromDigestsTableCreateFromDigestsPost` operationId).

func (*ClientWithResponses) TableCreateTableCreatePostWithBodyWithResponse

func (c *ClientWithResponses) TableCreateTableCreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TableCreateTableCreatePostResponse, error)

TableCreateTableCreatePostWithBodyWithResponse Table Create

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 /table/create (the `TableCreateTableCreatePost` operationId).

func (*ClientWithResponses) TableCreateTableCreatePostWithResponse

func (c *ClientWithResponses) TableCreateTableCreatePostWithResponse(ctx context.Context, body TableCreateTableCreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*TableCreateTableCreatePostResponse, error)

TableCreateTableCreatePostWithResponse Table Create

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /table/create (the `TableCreateTableCreatePost` operationId).

func (*ClientWithResponses) TableQueryStatsBatchTableQueryStatsBatchPostWithBodyWithResponse

func (c *ClientWithResponses) TableQueryStatsBatchTableQueryStatsBatchPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TableQueryStatsBatchTableQueryStatsBatchPostResponse, error)

TableQueryStatsBatchTableQueryStatsBatchPostWithBodyWithResponse Table Query Stats Batch

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 /table/query_stats_batch (the `TableQueryStatsBatchTableQueryStatsBatchPost` operationId).

func (*ClientWithResponses) TableQueryStatsBatchTableQueryStatsBatchPostWithResponse

TableQueryStatsBatchTableQueryStatsBatchPostWithResponse Table Query Stats Batch

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /table/query_stats_batch (the `TableQueryStatsBatchTableQueryStatsBatchPost` operationId).

func (*ClientWithResponses) TableQueryStatsTableQueryStatsPostWithBodyWithResponse

func (c *ClientWithResponses) TableQueryStatsTableQueryStatsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TableQueryStatsTableQueryStatsPostResponse, error)

TableQueryStatsTableQueryStatsPostWithBodyWithResponse Table Query Stats

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 /table/query_stats (the `TableQueryStatsTableQueryStatsPost` operationId).

func (*ClientWithResponses) TableQueryStatsTableQueryStatsPostWithResponse

TableQueryStatsTableQueryStatsPostWithResponse Table Query Stats

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /table/query_stats (the `TableQueryStatsTableQueryStatsPost` operationId).

func (*ClientWithResponses) TableQueryTableQueryPostWithBodyWithResponse

func (c *ClientWithResponses) TableQueryTableQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TableQueryTableQueryPostResponse, error)

TableQueryTableQueryPostWithBodyWithResponse Table Query

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 /table/query (the `TableQueryTableQueryPost` operationId).

func (*ClientWithResponses) TableQueryTableQueryPostWithResponse

func (c *ClientWithResponses) TableQueryTableQueryPostWithResponse(ctx context.Context, body TableQueryTableQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*TableQueryTableQueryPostResponse, error)

TableQueryTableQueryPostWithResponse Table Query

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /table/query (the `TableQueryTableQueryPost` operationId).

func (*ClientWithResponses) TableUpdateTableUpdatePostWithBodyWithResponse

func (c *ClientWithResponses) TableUpdateTableUpdatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TableUpdateTableUpdatePostResponse, error)

TableUpdateTableUpdatePostWithBodyWithResponse Table Update

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 /table/update (the `TableUpdateTableUpdatePost` operationId).

func (*ClientWithResponses) TableUpdateTableUpdatePostWithResponse

func (c *ClientWithResponses) TableUpdateTableUpdatePostWithResponse(ctx context.Context, body TableUpdateTableUpdatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*TableUpdateTableUpdatePostResponse, error)

TableUpdateTableUpdatePostWithResponse Table Update

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /table/update (the `TableUpdateTableUpdatePost` operationId).

func (*ClientWithResponses) TagsListTagsGetWithResponse added in v0.2.0

func (c *ClientWithResponses) TagsListTagsGetWithResponse(ctx context.Context, params *TagsListTagsGetParams, reqEditors ...RequestEditorFn) (*TagsListTagsGetResponse, error)

TagsListTagsGetWithResponse Tags List

List all tags in a project.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /tags (the `TagsListTagsGet` operationId).

func (*ClientWithResponses) ThreadsQueryStreamThreadsStreamQueryPostWithBodyWithResponse

func (c *ClientWithResponses) ThreadsQueryStreamThreadsStreamQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ThreadsQueryStreamThreadsStreamQueryPostResponse, error)

ThreadsQueryStreamThreadsStreamQueryPostWithBodyWithResponse Threads Query Stream

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 /threads/stream_query (the `ThreadsQueryStreamThreadsStreamQueryPost` operationId).

func (*ClientWithResponses) ThreadsQueryStreamThreadsStreamQueryPostWithResponse

ThreadsQueryStreamThreadsStreamQueryPostWithResponse Threads Query Stream

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /threads/stream_query (the `ThreadsQueryStreamThreadsStreamQueryPost` operationId).

func (*ClientWithResponses) TraceUsageTraceUsagePostWithBodyWithResponse

func (c *ClientWithResponses) TraceUsageTraceUsagePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TraceUsageTraceUsagePostResponse, error)

TraceUsageTraceUsagePostWithBodyWithResponse Trace Usage

Compute per-call usage for a trace, with descendant rollup.

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 /trace/usage (the `TraceUsageTraceUsagePost` operationId).

func (*ClientWithResponses) TraceUsageTraceUsagePostWithResponse

func (c *ClientWithResponses) TraceUsageTraceUsagePostWithResponse(ctx context.Context, body TraceUsageTraceUsagePostJSONRequestBody, reqEditors ...RequestEditorFn) (*TraceUsageTraceUsagePostResponse, error)

TraceUsageTraceUsagePostWithResponse Trace Usage

Compute per-call usage for a trace, with descendant rollup.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /trace/usage (the `TraceUsageTraceUsagePost` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostWithBodyWithResponse Genai Agent Versions Query
	//
	// 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 /agents/agent-versions/query (the `GenaiAgentVersionsQueryAgentsAgentVersionsQueryPost` operationId).
	GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostResponse, error)

	// GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostWithResponse Genai Agent Versions Query
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/agent-versions/query (the `GenaiAgentVersionsQueryAgentsAgentVersionsQueryPost` operationId).
	GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostWithResponse(ctx context.Context, body GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostResponse, error)

	// GenaiConversationChatAgentsConversationsChatPostWithBodyWithResponse Genai Conversation Chat
	//
	// 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 /agents/conversations/chat (the `GenaiConversationChatAgentsConversationsChatPost` operationId).
	GenaiConversationChatAgentsConversationsChatPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiConversationChatAgentsConversationsChatPostResponse, error)

	// GenaiConversationChatAgentsConversationsChatPostWithResponse Genai Conversation Chat
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/conversations/chat (the `GenaiConversationChatAgentsConversationsChatPost` operationId).
	GenaiConversationChatAgentsConversationsChatPostWithResponse(ctx context.Context, body GenaiConversationChatAgentsConversationsChatPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GenaiConversationChatAgentsConversationsChatPostResponse, error)

	// GenaiConversationSpansAgentsConversationsSpansPostWithBodyWithResponse Genai Conversation Spans
	//
	// 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 /agents/conversations/spans (the `GenaiConversationSpansAgentsConversationsSpansPost` operationId).
	GenaiConversationSpansAgentsConversationsSpansPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiConversationSpansAgentsConversationsSpansPostResponse, error)

	// GenaiConversationSpansAgentsConversationsSpansPostWithResponse Genai Conversation Spans
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/conversations/spans (the `GenaiConversationSpansAgentsConversationsSpansPost` operationId).
	GenaiConversationSpansAgentsConversationsSpansPostWithResponse(ctx context.Context, body GenaiConversationSpansAgentsConversationsSpansPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GenaiConversationSpansAgentsConversationsSpansPostResponse, error)

	// ExportGenaiTraceAgentsOtelV1TracesPostWithResponse Export Genai Trace
	//
	// Ingest OTel spans into the GenAI observability system.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/otel/v1/traces (the `ExportGenaiTraceAgentsOtelV1TracesPost` operationId).
	ExportGenaiTraceAgentsOtelV1TracesPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExportGenaiTraceAgentsOtelV1TracesPostResponse, error)

	// GenaiAgentsQueryAgentsQueryPostWithBodyWithResponse Genai Agents Query
	//
	// 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 /agents/query (the `GenaiAgentsQueryAgentsQueryPost` operationId).
	GenaiAgentsQueryAgentsQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiAgentsQueryAgentsQueryPostResponse, error)

	// GenaiAgentsQueryAgentsQueryPostWithResponse Genai Agents Query
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/query (the `GenaiAgentsQueryAgentsQueryPost` operationId).
	GenaiAgentsQueryAgentsQueryPostWithResponse(ctx context.Context, body GenaiAgentsQueryAgentsQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GenaiAgentsQueryAgentsQueryPostResponse, error)

	// GenaiSearchAgentsSearchPostWithBodyWithResponse Genai 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 /agents/search (the `GenaiSearchAgentsSearchPost` operationId).
	GenaiSearchAgentsSearchPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiSearchAgentsSearchPostResponse, error)

	// GenaiSearchAgentsSearchPostWithResponse Genai Search
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/search (the `GenaiSearchAgentsSearchPost` operationId).
	GenaiSearchAgentsSearchPostWithResponse(ctx context.Context, body GenaiSearchAgentsSearchPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GenaiSearchAgentsSearchPostResponse, error)

	// GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostWithBodyWithResponse Genai Custom Attrs Schema
	//
	// Discover typed custom attribute keys on matching agent spans.
	//
	// 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 /agents/spans/custom-attrs/schema (the `GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPost` operationId).
	GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostResponse, error)

	// GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostWithResponse Genai Custom Attrs Schema
	//
	// Discover typed custom attribute keys on matching agent spans.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/spans/custom-attrs/schema (the `GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPost` operationId).
	GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostWithResponse(ctx context.Context, body GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostResponse, error)

	// GenaiSpansExistsAgentsSpansExistsPostWithBodyWithResponse Genai Spans Exists
	//
	// Check whether a project has any matching agent spans.
	//
	// 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 /agents/spans/exists (the `GenaiSpansExistsAgentsSpansExistsPost` operationId).
	GenaiSpansExistsAgentsSpansExistsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiSpansExistsAgentsSpansExistsPostResponse, error)

	// GenaiSpansExistsAgentsSpansExistsPostWithResponse Genai Spans Exists
	//
	// Check whether a project has any matching agent spans.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/spans/exists (the `GenaiSpansExistsAgentsSpansExistsPost` operationId).
	GenaiSpansExistsAgentsSpansExistsPostWithResponse(ctx context.Context, body GenaiSpansExistsAgentsSpansExistsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GenaiSpansExistsAgentsSpansExistsPostResponse, error)

	// GenaiSpansQueryAgentsSpansQueryPostWithBodyWithResponse Genai Spans Query
	//
	// Query agent spans, either as raw rows or grouped aggregates.
	//
	// 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 /agents/spans/query (the `GenaiSpansQueryAgentsSpansQueryPost` operationId).
	GenaiSpansQueryAgentsSpansQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiSpansQueryAgentsSpansQueryPostResponse, error)

	// GenaiSpansQueryAgentsSpansQueryPostWithResponse Genai Spans Query
	//
	// Query agent spans, either as raw rows or grouped aggregates.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/spans/query (the `GenaiSpansQueryAgentsSpansQueryPost` operationId).
	GenaiSpansQueryAgentsSpansQueryPostWithResponse(ctx context.Context, body GenaiSpansQueryAgentsSpansQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GenaiSpansQueryAgentsSpansQueryPostResponse, error)

	// GenaiSpansStatsAgentsSpansStatsPostWithBodyWithResponse Genai Spans Stats
	//
	// Query chart-ready aggregations over agent spans.
	//
	// 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 /agents/spans/stats (the `GenaiSpansStatsAgentsSpansStatsPost` operationId).
	GenaiSpansStatsAgentsSpansStatsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiSpansStatsAgentsSpansStatsPostResponse, error)

	// GenaiSpansStatsAgentsSpansStatsPostWithResponse Genai Spans Stats
	//
	// Query chart-ready aggregations over agent spans.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/spans/stats (the `GenaiSpansStatsAgentsSpansStatsPost` operationId).
	GenaiSpansStatsAgentsSpansStatsPostWithResponse(ctx context.Context, body GenaiSpansStatsAgentsSpansStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GenaiSpansStatsAgentsSpansStatsPostResponse, error)

	// GenaiTracesChatAgentsTracesChatPostWithBodyWithResponse Genai Traces Chat
	//
	// 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 /agents/traces/chat (the `GenaiTracesChatAgentsTracesChatPost` operationId).
	GenaiTracesChatAgentsTracesChatPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GenaiTracesChatAgentsTracesChatPostResponse, error)

	// GenaiTracesChatAgentsTracesChatPostWithResponse Genai Traces Chat
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /agents/traces/chat (the `GenaiTracesChatAgentsTracesChatPost` operationId).
	GenaiTracesChatAgentsTracesChatPostWithResponse(ctx context.Context, body GenaiTracesChatAgentsTracesChatPostJSONRequestBody, reqEditors ...RequestEditorFn) (*GenaiTracesChatAgentsTracesChatPostResponse, error)

	// AliasesListAliasesGetWithResponse Aliases List
	//
	// List all aliases in a project.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /aliases (the `AliasesListAliasesGet` operationId).
	AliasesListAliasesGetWithResponse(ctx context.Context, params *AliasesListAliasesGetParams, reqEditors ...RequestEditorFn) (*AliasesListAliasesGetResponse, error)

	// AnnotationQueueCreateAnnotationQueuesPostWithBodyWithResponse Annotation Queue Create
	//
	// Create a new annotation queue.
	//
	// 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 /annotation_queues (the `AnnotationQueueCreateAnnotationQueuesPost` operationId).
	AnnotationQueueCreateAnnotationQueuesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnnotationQueueCreateAnnotationQueuesPostResponse, error)

	// AnnotationQueueCreateAnnotationQueuesPostWithResponse Annotation Queue Create
	//
	// Create a new annotation queue.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /annotation_queues (the `AnnotationQueueCreateAnnotationQueuesPost` operationId).
	AnnotationQueueCreateAnnotationQueuesPostWithResponse(ctx context.Context, body AnnotationQueueCreateAnnotationQueuesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*AnnotationQueueCreateAnnotationQueuesPostResponse, error)

	// AnnotationQueuesQueryStreamAnnotationQueuesQueryPostWithBodyWithResponse Annotation Queues Query Stream
	//
	// Query annotation queues for a project (streaming NDJSON response).
	//
	// 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 /annotation_queues/query (the `AnnotationQueuesQueryStreamAnnotationQueuesQueryPost` operationId).
	AnnotationQueuesQueryStreamAnnotationQueuesQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnnotationQueuesQueryStreamAnnotationQueuesQueryPostResponse, error)

	// AnnotationQueuesQueryStreamAnnotationQueuesQueryPostWithResponse Annotation Queues Query Stream
	//
	// Query annotation queues for a project (streaming NDJSON response).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /annotation_queues/query (the `AnnotationQueuesQueryStreamAnnotationQueuesQueryPost` operationId).
	AnnotationQueuesQueryStreamAnnotationQueuesQueryPostWithResponse(ctx context.Context, body AnnotationQueuesQueryStreamAnnotationQueuesQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*AnnotationQueuesQueryStreamAnnotationQueuesQueryPostResponse, error)

	// AnnotationQueuesStatsAnnotationQueuesStatsPostWithBodyWithResponse Annotation Queues Stats
	//
	// Get stats for multiple annotation queues.
	//
	// 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 /annotation_queues/stats (the `AnnotationQueuesStatsAnnotationQueuesStatsPost` operationId).
	AnnotationQueuesStatsAnnotationQueuesStatsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnnotationQueuesStatsAnnotationQueuesStatsPostResponse, error)

	// AnnotationQueuesStatsAnnotationQueuesStatsPostWithResponse Annotation Queues Stats
	//
	// Get stats for multiple annotation queues.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /annotation_queues/stats (the `AnnotationQueuesStatsAnnotationQueuesStatsPost` operationId).
	AnnotationQueuesStatsAnnotationQueuesStatsPostWithResponse(ctx context.Context, body AnnotationQueuesStatsAnnotationQueuesStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*AnnotationQueuesStatsAnnotationQueuesStatsPostResponse, error)

	// AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteWithResponse Annotation Queue Delete
	//
	// Delete (soft-delete) an annotation queue.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /annotation_queues/{queue_id} (the `AnnotationQueueDeleteAnnotationQueuesQueueIdDelete` operationId).
	AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteWithResponse(ctx context.Context, queueId string, params *AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteParams, reqEditors ...RequestEditorFn) (*AnnotationQueueDeleteAnnotationQueuesQueueIdDeleteResponse, error)

	// AnnotationQueueReadAnnotationQueuesQueueIdGetWithResponse Annotation Queue Read
	//
	// Read a specific annotation queue.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /annotation_queues/{queue_id} (the `AnnotationQueueReadAnnotationQueuesQueueIdGet` operationId).
	AnnotationQueueReadAnnotationQueuesQueueIdGetWithResponse(ctx context.Context, queueId string, params *AnnotationQueueReadAnnotationQueuesQueueIdGetParams, reqEditors ...RequestEditorFn) (*AnnotationQueueReadAnnotationQueuesQueueIdGetResponse, error)

	// AnnotationQueueUpdateAnnotationQueuesQueueIdPutWithBodyWithResponse Annotation Queue Update
	//
	// Update an annotation queue's metadata (name, description, scorer_refs).
	//
	// 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 /annotation_queues/{queue_id} (the `AnnotationQueueUpdateAnnotationQueuesQueueIdPut` operationId).
	AnnotationQueueUpdateAnnotationQueuesQueueIdPutWithBodyWithResponse(ctx context.Context, queueId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnnotationQueueUpdateAnnotationQueuesQueueIdPutResponse, error)

	// AnnotationQueueUpdateAnnotationQueuesQueueIdPutWithResponse Annotation Queue Update
	//
	// Update an annotation queue's metadata (name, description, scorer_refs).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /annotation_queues/{queue_id} (the `AnnotationQueueUpdateAnnotationQueuesQueueIdPut` operationId).
	AnnotationQueueUpdateAnnotationQueuesQueueIdPutWithResponse(ctx context.Context, queueId string, body AnnotationQueueUpdateAnnotationQueuesQueueIdPutJSONRequestBody, reqEditors ...RequestEditorFn) (*AnnotationQueueUpdateAnnotationQueuesQueueIdPutResponse, error)

	// AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostWithBodyWithResponse Annotation Queue Add Calls
	//
	// Add calls to an annotation queue.
	//
	// 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 /annotation_queues/{queue_id}/items (the `AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPost` operationId).
	AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostWithBodyWithResponse(ctx context.Context, queueId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostResponse, error)

	// AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostWithResponse Annotation Queue Add Calls
	//
	// Add calls to an annotation queue.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /annotation_queues/{queue_id}/items (the `AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPost` operationId).
	AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostWithResponse(ctx context.Context, queueId string, body AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*AnnotationQueueAddCallsAnnotationQueuesQueueIdItemsPostResponse, error)

	// AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostWithBodyWithResponse Annotation Queue Items Query
	//
	// Query items in an annotation queue with pagination and sorting.
	//
	// 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 /annotation_queues/{queue_id}/items/query (the `AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPost` operationId).
	AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostWithBodyWithResponse(ctx context.Context, queueId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostResponse, error)

	// AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostWithResponse Annotation Queue Items Query
	//
	// Query items in an annotation queue with pagination and sorting.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /annotation_queues/{queue_id}/items/query (the `AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPost` operationId).
	AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostWithResponse(ctx context.Context, queueId string, body AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*AnnotationQueueItemsQueryAnnotationQueuesQueueIdItemsQueryPostResponse, error)

	// AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostWithBodyWithResponse Annotation Queue Item Progress Update
	//
	// Update the annotation state of a queue item for the current annotator.
	//
	// 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 /annotation_queues/{queue_id}/items/{item_id}/progress (the `AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPost` operationId).
	AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostWithBodyWithResponse(ctx context.Context, queueId string, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostResponse, error)

	// AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostWithResponse Annotation Queue Item Progress Update
	//
	// Update the annotation state of a queue item for the current annotator.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /annotation_queues/{queue_id}/items/{item_id}/progress (the `AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPost` operationId).
	AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostWithResponse(ctx context.Context, queueId string, itemId string, body AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostJSONRequestBody, reqEditors ...RequestEditorFn) (*AnnotationQueueItemProgressUpdateAnnotationQueuesQueueIdItemsItemIdProgressPostResponse, error)

	// CallEndCallEndPostWithBodyWithResponse Call End
	//
	// 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 /call/end (the `CallEndCallEndPost` operationId).
	CallEndCallEndPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallEndCallEndPostResponse, error)

	// CallEndCallEndPostWithResponse Call End
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /call/end (the `CallEndCallEndPost` operationId).
	CallEndCallEndPostWithResponse(ctx context.Context, body CallEndCallEndPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallEndCallEndPostResponse, error)

	// CallReadCallReadPostWithBodyWithResponse Call Read
	//
	// 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 /call/read (the `CallReadCallReadPost` operationId).
	CallReadCallReadPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallReadCallReadPostResponse, error)

	// CallReadCallReadPostWithResponse Call Read
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /call/read (the `CallReadCallReadPost` operationId).
	CallReadCallReadPostWithResponse(ctx context.Context, body CallReadCallReadPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallReadCallReadPostResponse, error)

	// CallStartCallStartPostWithBodyWithResponse Call Start
	//
	// 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 /call/start (the `CallStartCallStartPost` operationId).
	CallStartCallStartPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallStartCallStartPostResponse, error)

	// CallStartCallStartPostWithResponse Call Start
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /call/start (the `CallStartCallStartPost` operationId).
	CallStartCallStartPostWithResponse(ctx context.Context, body CallStartCallStartPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallStartCallStartPostResponse, error)

	// CallUpdateCallUpdatePostWithBodyWithResponse Call Update
	//
	// 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 /call/update (the `CallUpdateCallUpdatePost` operationId).
	CallUpdateCallUpdatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallUpdateCallUpdatePostResponse, error)

	// CallUpdateCallUpdatePostWithResponse Call Update
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /call/update (the `CallUpdateCallUpdatePost` operationId).
	CallUpdateCallUpdatePostWithResponse(ctx context.Context, body CallUpdateCallUpdatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallUpdateCallUpdatePostResponse, error)

	// CallStartBatchCallUpsertBatchPostWithBodyWithResponse Call Start Batch
	//
	// 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 /call/upsert_batch (the `CallStartBatchCallUpsertBatchPost` operationId).
	CallStartBatchCallUpsertBatchPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallStartBatchCallUpsertBatchPostResponse, error)

	// CallStartBatchCallUpsertBatchPostWithResponse Call Start Batch
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /call/upsert_batch (the `CallStartBatchCallUpsertBatchPost` operationId).
	CallStartBatchCallUpsertBatchPostWithResponse(ctx context.Context, body CallStartBatchCallUpsertBatchPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallStartBatchCallUpsertBatchPostResponse, error)

	// CallsDeleteCallsDeletePostWithBodyWithResponse Calls Delete
	//
	// 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 /calls/delete (the `CallsDeleteCallsDeletePost` operationId).
	CallsDeleteCallsDeletePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallsDeleteCallsDeletePostResponse, error)

	// CallsDeleteCallsDeletePostWithResponse Calls Delete
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /calls/delete (the `CallsDeleteCallsDeletePost` operationId).
	CallsDeleteCallsDeletePostWithResponse(ctx context.Context, body CallsDeleteCallsDeletePostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallsDeleteCallsDeletePostResponse, error)

	// CallsQueryStatsCallsQueryStatsPostWithBodyWithResponse Calls Query Stats
	//
	// 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 /calls/query_stats (the `CallsQueryStatsCallsQueryStatsPost` operationId).
	CallsQueryStatsCallsQueryStatsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallsQueryStatsCallsQueryStatsPostResponse, error)

	// CallsQueryStatsCallsQueryStatsPostWithResponse Calls Query Stats
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /calls/query_stats (the `CallsQueryStatsCallsQueryStatsPost` operationId).
	CallsQueryStatsCallsQueryStatsPostWithResponse(ctx context.Context, body CallsQueryStatsCallsQueryStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallsQueryStatsCallsQueryStatsPostResponse, error)

	// CallsScoreCallsScorePostWithBodyWithResponse Calls Score
	//
	// 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 /calls/score (the `CallsScoreCallsScorePost` operationId).
	CallsScoreCallsScorePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallsScoreCallsScorePostResponse, error)

	// CallsScoreCallsScorePostWithResponse Calls Score
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /calls/score (the `CallsScoreCallsScorePost` operationId).
	CallsScoreCallsScorePostWithResponse(ctx context.Context, body CallsScoreCallsScorePostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallsScoreCallsScorePostResponse, error)

	// CallStatsCallsStatsPostWithBodyWithResponse Call Stats
	//
	// 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 /calls/stats (the `CallStatsCallsStatsPost` operationId).
	CallStatsCallsStatsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallStatsCallsStatsPostResponse, error)

	// CallStatsCallsStatsPostWithResponse Call Stats
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /calls/stats (the `CallStatsCallsStatsPost` operationId).
	CallStatsCallsStatsPostWithResponse(ctx context.Context, body CallStatsCallsStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallStatsCallsStatsPostResponse, error)

	// CallsQueryStreamCallsStreamQueryPostWithBodyWithResponse Calls Query Stream
	//
	// 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 /calls/stream_query (the `CallsQueryStreamCallsStreamQueryPost` operationId).
	CallsQueryStreamCallsStreamQueryPostWithBodyWithResponse(ctx context.Context, params *CallsQueryStreamCallsStreamQueryPostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallsQueryStreamCallsStreamQueryPostResponse, error)

	// CallsQueryStreamCallsStreamQueryPostWithResponse Calls Query Stream
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /calls/stream_query (the `CallsQueryStreamCallsStreamQueryPost` operationId).
	CallsQueryStreamCallsStreamQueryPostWithResponse(ctx context.Context, params *CallsQueryStreamCallsStreamQueryPostParams, body CallsQueryStreamCallsStreamQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallsQueryStreamCallsStreamQueryPostResponse, error)

	// CallsUsageCallsUsagePostWithBodyWithResponse Calls Usage
	//
	// Compute aggregated usage for multiple root calls, with descendant rollup.
	//
	// 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 /calls/usage (the `CallsUsageCallsUsagePost` operationId).
	CallsUsageCallsUsagePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallsUsageCallsUsagePostResponse, error)

	// CallsUsageCallsUsagePostWithResponse Calls Usage
	//
	// Compute aggregated usage for multiple root calls, with descendant rollup.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /calls/usage (the `CallsUsageCallsUsagePost` operationId).
	CallsUsageCallsUsagePostWithResponse(ctx context.Context, body CallsUsageCallsUsagePostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallsUsageCallsUsagePostResponse, error)

	// CompletionsCreateCompletionsCreatePostWithBodyWithResponse Completions Create
	//
	// 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 /completions/create (the `CompletionsCreateCompletionsCreatePost` operationId).
	CompletionsCreateCompletionsCreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompletionsCreateCompletionsCreatePostResponse, error)

	// CompletionsCreateCompletionsCreatePostWithResponse Completions Create
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /completions/create (the `CompletionsCreateCompletionsCreatePost` operationId).
	CompletionsCreateCompletionsCreatePostWithResponse(ctx context.Context, body CompletionsCreateCompletionsCreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*CompletionsCreateCompletionsCreatePostResponse, error)

	// CompletionsCreateStreamCompletionsCreateStreamPostWithBodyWithResponse Completions Create Stream
	//
	// 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 /completions/create_stream (the `CompletionsCreateStreamCompletionsCreateStreamPost` operationId).
	CompletionsCreateStreamCompletionsCreateStreamPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompletionsCreateStreamCompletionsCreateStreamPostResponse, error)

	// CompletionsCreateStreamCompletionsCreateStreamPostWithResponse Completions Create Stream
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /completions/create_stream (the `CompletionsCreateStreamCompletionsCreateStreamPost` operationId).
	CompletionsCreateStreamCompletionsCreateStreamPostWithResponse(ctx context.Context, body CompletionsCreateStreamCompletionsCreateStreamPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CompletionsCreateStreamCompletionsCreateStreamPostResponse, error)

	// CostCreateCostCreatePostWithBodyWithResponse Cost Create
	//
	// 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 /cost/create (the `CostCreateCostCreatePost` operationId).
	CostCreateCostCreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CostCreateCostCreatePostResponse, error)

	// CostCreateCostCreatePostWithResponse Cost Create
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /cost/create (the `CostCreateCostCreatePost` operationId).
	CostCreateCostCreatePostWithResponse(ctx context.Context, body CostCreateCostCreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*CostCreateCostCreatePostResponse, error)

	// CostPurgeCostPurgePostWithBodyWithResponse Cost Purge
	//
	// 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 /cost/purge (the `CostPurgeCostPurgePost` operationId).
	CostPurgeCostPurgePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CostPurgeCostPurgePostResponse, error)

	// CostPurgeCostPurgePostWithResponse Cost Purge
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /cost/purge (the `CostPurgeCostPurgePost` operationId).
	CostPurgeCostPurgePostWithResponse(ctx context.Context, body CostPurgeCostPurgePostJSONRequestBody, reqEditors ...RequestEditorFn) (*CostPurgeCostPurgePostResponse, error)

	// CostQueryCostQueryPostWithBodyWithResponse Cost Query
	//
	// 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 /cost/query (the `CostQueryCostQueryPost` operationId).
	CostQueryCostQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CostQueryCostQueryPostResponse, error)

	// CostQueryCostQueryPostWithResponse Cost Query
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /cost/query (the `CostQueryCostQueryPost` operationId).
	CostQueryCostQueryPostWithResponse(ctx context.Context, body CostQueryCostQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CostQueryCostQueryPostResponse, error)

	// DatasetSourcesLinkDatasetSourcesLinkPostWithBodyWithResponse Dataset Sources Link
	//
	// Link source calls/spans to dataset rows (batch, idempotent).
	//
	// 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 /dataset_sources/link (the `DatasetSourcesLinkDatasetSourcesLinkPost` operationId).
	DatasetSourcesLinkDatasetSourcesLinkPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatasetSourcesLinkDatasetSourcesLinkPostResponse, error)

	// DatasetSourcesLinkDatasetSourcesLinkPostWithResponse Dataset Sources Link
	//
	// Link source calls/spans to dataset rows (batch, idempotent).
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /dataset_sources/link (the `DatasetSourcesLinkDatasetSourcesLinkPost` operationId).
	DatasetSourcesLinkDatasetSourcesLinkPostWithResponse(ctx context.Context, body DatasetSourcesLinkDatasetSourcesLinkPostJSONRequestBody, reqEditors ...RequestEditorFn) (*DatasetSourcesLinkDatasetSourcesLinkPostResponse, error)

	// DatasetSourcesQueryDatasetSourcesQueryPostWithBodyWithResponse Dataset Sources Query
	//
	// Forward provenance lookup: dataset (+ optional row digests) -> sources.
	//
	// 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 /dataset_sources/query (the `DatasetSourcesQueryDatasetSourcesQueryPost` operationId).
	DatasetSourcesQueryDatasetSourcesQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatasetSourcesQueryDatasetSourcesQueryPostResponse, error)

	// DatasetSourcesQueryDatasetSourcesQueryPostWithResponse Dataset Sources Query
	//
	// Forward provenance lookup: dataset (+ optional row digests) -> sources.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /dataset_sources/query (the `DatasetSourcesQueryDatasetSourcesQueryPost` operationId).
	DatasetSourcesQueryDatasetSourcesQueryPostWithResponse(ctx context.Context, body DatasetSourcesQueryDatasetSourcesQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*DatasetSourcesQueryDatasetSourcesQueryPostResponse, error)

	// SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostWithBodyWithResponse Source Datasets Query
	//
	// Reverse provenance lookup: sources -> datasets they appear in.
	//
	// 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 /dataset_sources/source_datasets_query (the `SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPost` operationId).
	SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostResponse, error)

	// SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostWithResponse Source Datasets Query
	//
	// Reverse provenance lookup: sources -> datasets they appear in.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /dataset_sources/source_datasets_query (the `SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPost` operationId).
	SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostWithResponse(ctx context.Context, body SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostResponse, error)

	// EvaluateModelEvaluationsEvaluateModelPostWithBodyWithResponse Evaluate Model
	//
	// 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 /evaluations/evaluate_model (the `EvaluateModelEvaluationsEvaluateModelPost` operationId).
	EvaluateModelEvaluationsEvaluateModelPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvaluateModelEvaluationsEvaluateModelPostResponse, error)

	// EvaluateModelEvaluationsEvaluateModelPostWithResponse Evaluate Model
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /evaluations/evaluate_model (the `EvaluateModelEvaluationsEvaluateModelPost` operationId).
	EvaluateModelEvaluationsEvaluateModelPostWithResponse(ctx context.Context, body EvaluateModelEvaluationsEvaluateModelPostJSONRequestBody, reqEditors ...RequestEditorFn) (*EvaluateModelEvaluationsEvaluateModelPostResponse, error)

	// RescoreEvaluationEvaluationsRescorePostWithBodyWithResponse Rescore Evaluation
	//
	// Rescore an existing evaluation run with different scorer(s).
	//
	// Applies the provided scorer(s) to the predictions from source_evaluation_run_id
	// and returns a new evaluation_run_id. Original prediction call IDs are preserved.
	//
	// 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 /evaluations/rescore (the `RescoreEvaluationEvaluationsRescorePost` operationId).
	RescoreEvaluationEvaluationsRescorePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RescoreEvaluationEvaluationsRescorePostResponse, error)

	// RescoreEvaluationEvaluationsRescorePostWithResponse Rescore Evaluation
	//
	// Rescore an existing evaluation run with different scorer(s).
	//
	// Applies the provided scorer(s) to the predictions from source_evaluation_run_id
	// and returns a new evaluation_run_id. Original prediction call IDs are preserved.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /evaluations/rescore (the `RescoreEvaluationEvaluationsRescorePost` operationId).
	RescoreEvaluationEvaluationsRescorePostWithResponse(ctx context.Context, body RescoreEvaluationEvaluationsRescorePostJSONRequestBody, reqEditors ...RequestEditorFn) (*RescoreEvaluationEvaluationsRescorePostResponse, error)

	// EvaluationStatusEvaluationsStatusPostWithBodyWithResponse Evaluation Status
	//
	// 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 /evaluations/status (the `EvaluationStatusEvaluationsStatusPost` operationId).
	EvaluationStatusEvaluationsStatusPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvaluationStatusEvaluationsStatusPostResponse, error)

	// EvaluationStatusEvaluationsStatusPostWithResponse Evaluation Status
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /evaluations/status (the `EvaluationStatusEvaluationsStatusPost` operationId).
	EvaluationStatusEvaluationsStatusPostWithResponse(ctx context.Context, body EvaluationStatusEvaluationsStatusPostJSONRequestBody, reqEditors ...RequestEditorFn) (*EvaluationStatusEvaluationsStatusPostResponse, error)

	// FeedbackAggregateFeedbackAggregatePostWithBodyWithResponse Feedback Aggregate
	//
	// Aggregate typed scorer feedback (tags, ratings) over time buckets.
	//
	// 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 /feedback/aggregate (the `FeedbackAggregateFeedbackAggregatePost` operationId).
	FeedbackAggregateFeedbackAggregatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FeedbackAggregateFeedbackAggregatePostResponse, error)

	// FeedbackAggregateFeedbackAggregatePostWithResponse Feedback Aggregate
	//
	// Aggregate typed scorer feedback (tags, ratings) over time buckets.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /feedback/aggregate (the `FeedbackAggregateFeedbackAggregatePost` operationId).
	FeedbackAggregateFeedbackAggregatePostWithResponse(ctx context.Context, body FeedbackAggregateFeedbackAggregatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*FeedbackAggregateFeedbackAggregatePostResponse, error)

	// FeedbackCreateBatchFeedbackBatchCreatePostWithBodyWithResponse Feedback Create Batch
	//
	// Add multiple feedback items to calls or objects.
	//
	// 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 /feedback/batch/create (the `FeedbackCreateBatchFeedbackBatchCreatePost` operationId).
	FeedbackCreateBatchFeedbackBatchCreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FeedbackCreateBatchFeedbackBatchCreatePostResponse, error)

	// FeedbackCreateBatchFeedbackBatchCreatePostWithResponse Feedback Create Batch
	//
	// Add multiple feedback items to calls or objects.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /feedback/batch/create (the `FeedbackCreateBatchFeedbackBatchCreatePost` operationId).
	FeedbackCreateBatchFeedbackBatchCreatePostWithResponse(ctx context.Context, body FeedbackCreateBatchFeedbackBatchCreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*FeedbackCreateBatchFeedbackBatchCreatePostResponse, error)

	// FeedbackCreateFeedbackCreatePostWithBodyWithResponse Feedback Create
	//
	// Add feedback to a call or object.
	//
	// 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 /feedback/create (the `FeedbackCreateFeedbackCreatePost` operationId).
	FeedbackCreateFeedbackCreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FeedbackCreateFeedbackCreatePostResponse, error)

	// FeedbackCreateFeedbackCreatePostWithResponse Feedback Create
	//
	// Add feedback to a call or object.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /feedback/create (the `FeedbackCreateFeedbackCreatePost` operationId).
	FeedbackCreateFeedbackCreatePostWithResponse(ctx context.Context, body FeedbackCreateFeedbackCreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*FeedbackCreateFeedbackCreatePostResponse, error)

	// FeedbackPayloadSchemaFeedbackPayloadSchemaPostWithBodyWithResponse Feedback Payload Schema
	//
	// Discover feedback payload schema (paths and types) from sample rows.
	//
	// 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 /feedback/payload_schema (the `FeedbackPayloadSchemaFeedbackPayloadSchemaPost` operationId).
	FeedbackPayloadSchemaFeedbackPayloadSchemaPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FeedbackPayloadSchemaFeedbackPayloadSchemaPostResponse, error)

	// FeedbackPayloadSchemaFeedbackPayloadSchemaPostWithResponse Feedback Payload Schema
	//
	// Discover feedback payload schema (paths and types) from sample rows.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /feedback/payload_schema (the `FeedbackPayloadSchemaFeedbackPayloadSchemaPost` operationId).
	FeedbackPayloadSchemaFeedbackPayloadSchemaPostWithResponse(ctx context.Context, body FeedbackPayloadSchemaFeedbackPayloadSchemaPostJSONRequestBody, reqEditors ...RequestEditorFn) (*FeedbackPayloadSchemaFeedbackPayloadSchemaPostResponse, error)

	// FeedbackPurgeFeedbackPurgePostWithBodyWithResponse Feedback Purge
	//
	// Permanently delete feedback.
	//
	// 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 /feedback/purge (the `FeedbackPurgeFeedbackPurgePost` operationId).
	FeedbackPurgeFeedbackPurgePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FeedbackPurgeFeedbackPurgePostResponse, error)

	// FeedbackPurgeFeedbackPurgePostWithResponse Feedback Purge
	//
	// Permanently delete feedback.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /feedback/purge (the `FeedbackPurgeFeedbackPurgePost` operationId).
	FeedbackPurgeFeedbackPurgePostWithResponse(ctx context.Context, body FeedbackPurgeFeedbackPurgePostJSONRequestBody, reqEditors ...RequestEditorFn) (*FeedbackPurgeFeedbackPurgePostResponse, error)

	// FeedbackQueryFeedbackQueryPostWithBodyWithResponse Feedback Query
	//
	// Query for feedback.
	//
	// 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 /feedback/query (the `FeedbackQueryFeedbackQueryPost` operationId).
	FeedbackQueryFeedbackQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FeedbackQueryFeedbackQueryPostResponse, error)

	// FeedbackQueryFeedbackQueryPostWithResponse Feedback Query
	//
	// Query for feedback.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /feedback/query (the `FeedbackQueryFeedbackQueryPost` operationId).
	FeedbackQueryFeedbackQueryPostWithResponse(ctx context.Context, body FeedbackQueryFeedbackQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*FeedbackQueryFeedbackQueryPostResponse, error)

	// FeedbackReplaceFeedbackReplacePostWithBodyWithResponse Feedback Replace
	//
	// 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 /feedback/replace (the `FeedbackReplaceFeedbackReplacePost` operationId).
	FeedbackReplaceFeedbackReplacePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FeedbackReplaceFeedbackReplacePostResponse, error)

	// FeedbackReplaceFeedbackReplacePostWithResponse Feedback Replace
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /feedback/replace (the `FeedbackReplaceFeedbackReplacePost` operationId).
	FeedbackReplaceFeedbackReplacePostWithResponse(ctx context.Context, body FeedbackReplaceFeedbackReplacePostJSONRequestBody, reqEditors ...RequestEditorFn) (*FeedbackReplaceFeedbackReplacePostResponse, error)

	// FeedbackStatsFeedbackStatsPostWithBodyWithResponse Feedback Stats
	//
	// Return aggregated feedback statistics over time buckets.
	//
	// 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 /feedback/stats (the `FeedbackStatsFeedbackStatsPost` operationId).
	FeedbackStatsFeedbackStatsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FeedbackStatsFeedbackStatsPostResponse, error)

	// FeedbackStatsFeedbackStatsPostWithResponse Feedback Stats
	//
	// Return aggregated feedback statistics over time buckets.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /feedback/stats (the `FeedbackStatsFeedbackStatsPost` operationId).
	FeedbackStatsFeedbackStatsPostWithResponse(ctx context.Context, body FeedbackStatsFeedbackStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*FeedbackStatsFeedbackStatsPostResponse, error)

	// FileContentFileContentPostWithBodyWithResponse File Content
	//
	// 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 /file/content (the `FileContentFileContentPost` operationId).
	FileContentFileContentPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FileContentFileContentPostResponse, error)

	// FileContentFileContentPostWithResponse File Content
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /file/content (the `FileContentFileContentPost` operationId).
	FileContentFileContentPostWithResponse(ctx context.Context, body FileContentFileContentPostJSONRequestBody, reqEditors ...RequestEditorFn) (*FileContentFileContentPostResponse, error)

	// FileCreateFileCreatePostWithBodyWithResponse File Create
	//
	// 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 /file/create (the `FileCreateFileCreatePost` operationId).
	FileCreateFileCreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FileCreateFileCreatePostResponse, error)

	// FilesStatsFilesQueryStatsPostWithBodyWithResponse Files Stats
	//
	// 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 /files/query_stats (the `FilesStatsFilesQueryStatsPost` operationId).
	FilesStatsFilesQueryStatsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FilesStatsFilesQueryStatsPostResponse, error)

	// FilesStatsFilesQueryStatsPostWithResponse Files Stats
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /files/query_stats (the `FilesStatsFilesQueryStatsPost` operationId).
	FilesStatsFilesQueryStatsPostWithResponse(ctx context.Context, body FilesStatsFilesQueryStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*FilesStatsFilesQueryStatsPostResponse, error)

	// FilesResolveUrlFilesResolveUrlPostWithBodyWithResponse Files Resolve Url
	//
	// 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 /files/resolve_url (the `FilesResolveUrlFilesResolveUrlPost` operationId).
	FilesResolveUrlFilesResolveUrlPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FilesResolveUrlFilesResolveUrlPostResponse, error)

	// FilesResolveUrlFilesResolveUrlPostWithResponse Files Resolve Url
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /files/resolve_url (the `FilesResolveUrlFilesResolveUrlPost` operationId).
	FilesResolveUrlFilesResolveUrlPostWithResponse(ctx context.Context, body FilesResolveUrlFilesResolveUrlPostJSONRequestBody, reqEditors ...RequestEditorFn) (*FilesResolveUrlFilesResolveUrlPostResponse, error)

	// GetCallerLocationGeolocateGetWithResponse Get Caller Location
	//
	// Lookup the geographic location of a user based on their IP address.
	//
	// This API exists for debugging purposes and may not be available in the future.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /geolocate (the `GetCallerLocationGeolocateGet` operationId).
	GetCallerLocationGeolocateGetWithResponse(ctx context.Context, params *GetCallerLocationGeolocateGetParams, reqEditors ...RequestEditorFn) (*GetCallerLocationGeolocateGetResponse, error)

	// ReadRootHealthGetWithResponse Read Root
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /health (the `ReadRootHealthGet` operationId).
	ReadRootHealthGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadRootHealthGetResponse, error)

	// ImageCreateImageCreatePostWithBodyWithResponse Image Create
	//
	// 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 /image/create (the `ImageCreateImageCreatePost` operationId).
	ImageCreateImageCreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImageCreateImageCreatePostResponse, error)

	// ImageCreateImageCreatePostWithResponse Image Create
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /image/create (the `ImageCreateImageCreatePost` operationId).
	ImageCreateImageCreatePostWithResponse(ctx context.Context, body ImageCreateImageCreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ImageCreateImageCreatePostResponse, error)

	// InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetWithResponse Inference Analysis Artificialanalysis Models
	//
	// Returns a list of available models for Artificial Analysis.
	//
	// This API is available without authentication.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /inference/analysis/artificialanalysis/models (the `InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGet` operationId).
	InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetResponse, error)

	// InferenceCatalogModelsInferenceCatalogModelsGetWithResponse Inference Catalog Models
	//
	// Returns a list of available Serverless Inference models.
	//
	// This API is available without authentication.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /inference/catalog/models (the `InferenceCatalogModelsInferenceCatalogModelsGet` operationId).
	InferenceCatalogModelsInferenceCatalogModelsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InferenceCatalogModelsInferenceCatalogModelsGetResponse, error)

	// InferenceModelsdevModelsInferenceModelsdevModelsGetWithResponse Inference Modelsdev Models
	//
	// Returns the available models in the models.dev `api.json` schema.
	//
	// This API is available without authentication.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /inference/modelsdev/models (the `InferenceModelsdevModelsInferenceModelsdevModelsGet` operationId).
	InferenceModelsdevModelsInferenceModelsdevModelsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InferenceModelsdevModelsInferenceModelsdevModelsGetResponse, error)

	// NvidiaHardwareInferenceNvidiaV2HardwareGetWithResponse Nvidia Hardware
	//
	// Returns available hardware and pricing for a given model.
	//
	// Called by NVIDIA to show users their options and redirect them
	// based on what we support.  Only serverless options are returned.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /inference/nvidia/v2/hardware (the `NvidiaHardwareInferenceNvidiaV2HardwareGet` operationId).
	NvidiaHardwareInferenceNvidiaV2HardwareGetWithResponse(ctx context.Context, params *NvidiaHardwareInferenceNvidiaV2HardwareGetParams, reqEditors ...RequestEditorFn) (*NvidiaHardwareInferenceNvidiaV2HardwareGetResponse, error)

	// InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetWithResponse Inference Router Openrouter Models
	//
	// Returns a list of models that are available to be used with OpenRouter.
	//
	// This API is available without authentication.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /inference/router/openrouter/models (the `InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGet` operationId).
	InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetResponse, error)

	// LinkToRegistryLinkToRegistryPostWithBodyWithResponse Link To Registry
	//
	// 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 /link_to_registry (the `LinkToRegistryLinkToRegistryPost` operationId).
	LinkToRegistryLinkToRegistryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LinkToRegistryLinkToRegistryPostResponse, error)

	// LinkToRegistryLinkToRegistryPostWithResponse Link To Registry
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /link_to_registry (the `LinkToRegistryLinkToRegistryPost` operationId).
	LinkToRegistryLinkToRegistryPostWithResponse(ctx context.Context, body LinkToRegistryLinkToRegistryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*LinkToRegistryLinkToRegistryPostResponse, error)

	// ObjCreateObjCreatePostWithBodyWithResponse Obj Create
	//
	// 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 /obj/create (the `ObjCreateObjCreatePost` operationId).
	ObjCreateObjCreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObjCreateObjCreatePostResponse, error)

	// ObjCreateObjCreatePostWithResponse Obj Create
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /obj/create (the `ObjCreateObjCreatePost` operationId).
	ObjCreateObjCreatePostWithResponse(ctx context.Context, body ObjCreateObjCreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ObjCreateObjCreatePostResponse, error)

	// ObjDeleteObjDeletePostWithBodyWithResponse Obj Delete
	//
	// 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 /obj/delete (the `ObjDeleteObjDeletePost` operationId).
	ObjDeleteObjDeletePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObjDeleteObjDeletePostResponse, error)

	// ObjDeleteObjDeletePostWithResponse Obj Delete
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /obj/delete (the `ObjDeleteObjDeletePost` operationId).
	ObjDeleteObjDeletePostWithResponse(ctx context.Context, body ObjDeleteObjDeletePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ObjDeleteObjDeletePostResponse, error)

	// ObjReadObjReadPostWithBodyWithResponse Obj Read
	//
	// 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 /obj/read (the `ObjReadObjReadPost` operationId).
	ObjReadObjReadPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObjReadObjReadPostResponse, error)

	// ObjReadObjReadPostWithResponse Obj Read
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /obj/read (the `ObjReadObjReadPost` operationId).
	ObjReadObjReadPostWithResponse(ctx context.Context, body ObjReadObjReadPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ObjReadObjReadPostResponse, error)

	// ObjsQueryObjsQueryPostWithBodyWithResponse Objs Query
	//
	// 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 /objs/query (the `ObjsQueryObjsQueryPost` operationId).
	ObjsQueryObjsQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObjsQueryObjsQueryPostResponse, error)

	// ObjsQueryObjsQueryPostWithResponse Objs Query
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /objs/query (the `ObjsQueryObjsQueryPost` operationId).
	ObjsQueryObjsQueryPostWithResponse(ctx context.Context, body ObjsQueryObjsQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ObjsQueryObjsQueryPostResponse, error)

	// ObjSetAliasesObjsObjectIdAliasesPutWithBodyWithResponse Obj Set Aliases
	//
	// Set aliases for an object 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 PUT /objs/{object_id}/aliases (the `ObjSetAliasesObjsObjectIdAliasesPut` operationId).
	ObjSetAliasesObjsObjectIdAliasesPutWithBodyWithResponse(ctx context.Context, objectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObjSetAliasesObjsObjectIdAliasesPutResponse, error)

	// ObjSetAliasesObjsObjectIdAliasesPutWithResponse Obj Set Aliases
	//
	// Set aliases for an object version.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /objs/{object_id}/aliases (the `ObjSetAliasesObjsObjectIdAliasesPut` operationId).
	ObjSetAliasesObjsObjectIdAliasesPutWithResponse(ctx context.Context, objectId string, body ObjSetAliasesObjsObjectIdAliasesPutJSONRequestBody, reqEditors ...RequestEditorFn) (*ObjSetAliasesObjsObjectIdAliasesPutResponse, error)

	// ObjRemoveAliasesObjsObjectIdAliasesRemovePostWithBodyWithResponse Obj Remove Aliases
	//
	// Remove aliases from an object.
	//
	// 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 /objs/{object_id}/aliases/remove (the `ObjRemoveAliasesObjsObjectIdAliasesRemovePost` operationId).
	ObjRemoveAliasesObjsObjectIdAliasesRemovePostWithBodyWithResponse(ctx context.Context, objectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObjRemoveAliasesObjsObjectIdAliasesRemovePostResponse, error)

	// ObjRemoveAliasesObjsObjectIdAliasesRemovePostWithResponse Obj Remove Aliases
	//
	// Remove aliases from an object.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /objs/{object_id}/aliases/remove (the `ObjRemoveAliasesObjsObjectIdAliasesRemovePost` operationId).
	ObjRemoveAliasesObjsObjectIdAliasesRemovePostWithResponse(ctx context.Context, objectId string, body ObjRemoveAliasesObjsObjectIdAliasesRemovePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ObjRemoveAliasesObjsObjectIdAliasesRemovePostResponse, error)

	// ObjAddTagsObjsObjectIdVersionsDigestTagsPutWithBodyWithResponse Obj Add Tags
	//
	// Add tags to an object 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 PUT /objs/{object_id}/versions/{digest}/tags (the `ObjAddTagsObjsObjectIdVersionsDigestTagsPut` operationId).
	ObjAddTagsObjsObjectIdVersionsDigestTagsPutWithBodyWithResponse(ctx context.Context, objectId string, digest string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObjAddTagsObjsObjectIdVersionsDigestTagsPutResponse, error)

	// ObjAddTagsObjsObjectIdVersionsDigestTagsPutWithResponse Obj Add Tags
	//
	// Add tags to an object version.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /objs/{object_id}/versions/{digest}/tags (the `ObjAddTagsObjsObjectIdVersionsDigestTagsPut` operationId).
	ObjAddTagsObjsObjectIdVersionsDigestTagsPutWithResponse(ctx context.Context, objectId string, digest string, body ObjAddTagsObjsObjectIdVersionsDigestTagsPutJSONRequestBody, reqEditors ...RequestEditorFn) (*ObjAddTagsObjsObjectIdVersionsDigestTagsPutResponse, error)

	// ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostWithBodyWithResponse Obj Remove Tags
	//
	// Remove tags from an object 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 POST /objs/{object_id}/versions/{digest}/tags/remove (the `ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePost` operationId).
	ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostWithBodyWithResponse(ctx context.Context, objectId string, digest string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostResponse, error)

	// ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostWithResponse Obj Remove Tags
	//
	// Remove tags from an object version.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /objs/{object_id}/versions/{digest}/tags/remove (the `ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePost` operationId).
	ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostWithResponse(ctx context.Context, objectId string, digest string, body ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostResponse, error)

	// ExportTraceOtelV1TracesPostWithResponse Export Trace
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /otel/v1/traces (the `ExportTraceOtelV1TracesPost` operationId).
	ExportTraceOtelV1TracesPostWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ExportTraceOtelV1TracesPostResponse, error)

	// ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostWithBodyWithResponse Project Ingest Sampling Settings Read
	//
	// 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 /project/ingest_sampling_settings/read (the `ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPost` operationId).
	ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostResponse, error)

	// ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostWithResponse Project Ingest Sampling Settings Read
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /project/ingest_sampling_settings/read (the `ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPost` operationId).
	ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostWithResponse(ctx context.Context, body ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostResponse, error)

	// ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetWithResponse Project Sensitive Data Settings Read
	//
	// Read the owning organization's sensitive-data policy for a project.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /project/sensitive_data_settings (the `ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGet` operationId).
	ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetWithResponse(ctx context.Context, params *ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetParams, reqEditors ...RequestEditorFn) (*ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetResponse, error)

	// ProjectStatsProjectStatsPostWithBodyWithResponse Project Stats
	//
	// 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 /project/stats (the `ProjectStatsProjectStatsPost` operationId).
	ProjectStatsProjectStatsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectStatsProjectStatsPostResponse, error)

	// ProjectStatsProjectStatsPostWithResponse Project Stats
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /project/stats (the `ProjectStatsProjectStatsPost` operationId).
	ProjectStatsProjectStatsPostWithResponse(ctx context.Context, body ProjectStatsProjectStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectStatsProjectStatsPostResponse, error)

	// ProjectTtlSettingsReadProjectTtlSettingsReadPostWithBodyWithResponse Project Ttl Settings Read
	//
	// 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 /project/ttl_settings/read (the `ProjectTtlSettingsReadProjectTtlSettingsReadPost` operationId).
	ProjectTtlSettingsReadProjectTtlSettingsReadPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectTtlSettingsReadProjectTtlSettingsReadPostResponse, error)

	// ProjectTtlSettingsReadProjectTtlSettingsReadPostWithResponse Project Ttl Settings Read
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /project/ttl_settings/read (the `ProjectTtlSettingsReadProjectTtlSettingsReadPost` operationId).
	ProjectTtlSettingsReadProjectTtlSettingsReadPostWithResponse(ctx context.Context, body ProjectTtlSettingsReadProjectTtlSettingsReadPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectTtlSettingsReadProjectTtlSettingsReadPostResponse, error)

	// ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostWithBodyWithResponse Project Ttl Settings Update
	//
	// 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 /project/ttl_settings/update (the `ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePost` operationId).
	ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostResponse, error)

	// ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostWithResponse Project Ttl Settings Update
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /project/ttl_settings/update (the `ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePost` operationId).
	ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostWithResponse(ctx context.Context, body ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostResponse, error)

	// RefsReadBatchRefsReadBatchPostWithBodyWithResponse Refs Read Batch
	//
	// 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 /refs/read_batch (the `RefsReadBatchRefsReadBatchPost` operationId).
	RefsReadBatchRefsReadBatchPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RefsReadBatchRefsReadBatchPostResponse, error)

	// RefsReadBatchRefsReadBatchPostWithResponse Refs Read Batch
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /refs/read_batch (the `RefsReadBatchRefsReadBatchPost` operationId).
	RefsReadBatchRefsReadBatchPostWithResponse(ctx context.Context, body RefsReadBatchRefsReadBatchPostJSONRequestBody, reqEditors ...RequestEditorFn) (*RefsReadBatchRefsReadBatchPostResponse, error)

	// ServerInfoServerInfoGetWithResponse Server Info
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /server_info (the `ServerInfoServerInfoGet` operationId).
	ServerInfoServerInfoGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ServerInfoServerInfoGetResponse, error)

	// ProjectsInfoServiceProjectsInfoPostWithBodyWithResponse Projects Info
	//
	// 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 /service/projects_info (the `ProjectsInfoServiceProjectsInfoPost` operationId).
	ProjectsInfoServiceProjectsInfoPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectsInfoServiceProjectsInfoPostResponse, error)

	// ProjectsInfoServiceProjectsInfoPostWithResponse Projects Info
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /service/projects_info (the `ProjectsInfoServiceProjectsInfoPost` operationId).
	ProjectsInfoServiceProjectsInfoPostWithResponse(ctx context.Context, body ProjectsInfoServiceProjectsInfoPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectsInfoServiceProjectsInfoPostResponse, error)

	// TableCreateTableCreatePostWithBodyWithResponse Table Create
	//
	// 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 /table/create (the `TableCreateTableCreatePost` operationId).
	TableCreateTableCreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TableCreateTableCreatePostResponse, error)

	// TableCreateTableCreatePostWithResponse Table Create
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /table/create (the `TableCreateTableCreatePost` operationId).
	TableCreateTableCreatePostWithResponse(ctx context.Context, body TableCreateTableCreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*TableCreateTableCreatePostResponse, error)

	// TableCreateFromDigestsTableCreateFromDigestsPostWithBodyWithResponse Table Create From Digests
	//
	// 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 /table/create_from_digests (the `TableCreateFromDigestsTableCreateFromDigestsPost` operationId).
	TableCreateFromDigestsTableCreateFromDigestsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TableCreateFromDigestsTableCreateFromDigestsPostResponse, error)

	// TableCreateFromDigestsTableCreateFromDigestsPostWithResponse Table Create From Digests
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /table/create_from_digests (the `TableCreateFromDigestsTableCreateFromDigestsPost` operationId).
	TableCreateFromDigestsTableCreateFromDigestsPostWithResponse(ctx context.Context, body TableCreateFromDigestsTableCreateFromDigestsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*TableCreateFromDigestsTableCreateFromDigestsPostResponse, error)

	// TableQueryTableQueryPostWithBodyWithResponse Table Query
	//
	// 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 /table/query (the `TableQueryTableQueryPost` operationId).
	TableQueryTableQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TableQueryTableQueryPostResponse, error)

	// TableQueryTableQueryPostWithResponse Table Query
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /table/query (the `TableQueryTableQueryPost` operationId).
	TableQueryTableQueryPostWithResponse(ctx context.Context, body TableQueryTableQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*TableQueryTableQueryPostResponse, error)

	// TableQueryStatsTableQueryStatsPostWithBodyWithResponse Table Query Stats
	//
	// 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 /table/query_stats (the `TableQueryStatsTableQueryStatsPost` operationId).
	TableQueryStatsTableQueryStatsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TableQueryStatsTableQueryStatsPostResponse, error)

	// TableQueryStatsTableQueryStatsPostWithResponse Table Query Stats
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /table/query_stats (the `TableQueryStatsTableQueryStatsPost` operationId).
	TableQueryStatsTableQueryStatsPostWithResponse(ctx context.Context, body TableQueryStatsTableQueryStatsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*TableQueryStatsTableQueryStatsPostResponse, error)

	// TableQueryStatsBatchTableQueryStatsBatchPostWithBodyWithResponse Table Query Stats Batch
	//
	// 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 /table/query_stats_batch (the `TableQueryStatsBatchTableQueryStatsBatchPost` operationId).
	TableQueryStatsBatchTableQueryStatsBatchPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TableQueryStatsBatchTableQueryStatsBatchPostResponse, error)

	// TableQueryStatsBatchTableQueryStatsBatchPostWithResponse Table Query Stats Batch
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /table/query_stats_batch (the `TableQueryStatsBatchTableQueryStatsBatchPost` operationId).
	TableQueryStatsBatchTableQueryStatsBatchPostWithResponse(ctx context.Context, body TableQueryStatsBatchTableQueryStatsBatchPostJSONRequestBody, reqEditors ...RequestEditorFn) (*TableQueryStatsBatchTableQueryStatsBatchPostResponse, error)

	// TableUpdateTableUpdatePostWithBodyWithResponse Table Update
	//
	// 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 /table/update (the `TableUpdateTableUpdatePost` operationId).
	TableUpdateTableUpdatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TableUpdateTableUpdatePostResponse, error)

	// TableUpdateTableUpdatePostWithResponse Table Update
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /table/update (the `TableUpdateTableUpdatePost` operationId).
	TableUpdateTableUpdatePostWithResponse(ctx context.Context, body TableUpdateTableUpdatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*TableUpdateTableUpdatePostResponse, error)

	// TagsListTagsGetWithResponse Tags List
	//
	// List all tags in a project.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /tags (the `TagsListTagsGet` operationId).
	TagsListTagsGetWithResponse(ctx context.Context, params *TagsListTagsGetParams, reqEditors ...RequestEditorFn) (*TagsListTagsGetResponse, error)

	// ThreadsQueryStreamThreadsStreamQueryPostWithBodyWithResponse Threads Query Stream
	//
	// 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 /threads/stream_query (the `ThreadsQueryStreamThreadsStreamQueryPost` operationId).
	ThreadsQueryStreamThreadsStreamQueryPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ThreadsQueryStreamThreadsStreamQueryPostResponse, error)

	// ThreadsQueryStreamThreadsStreamQueryPostWithResponse Threads Query Stream
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /threads/stream_query (the `ThreadsQueryStreamThreadsStreamQueryPost` operationId).
	ThreadsQueryStreamThreadsStreamQueryPostWithResponse(ctx context.Context, body ThreadsQueryStreamThreadsStreamQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ThreadsQueryStreamThreadsStreamQueryPostResponse, error)

	// TraceUsageTraceUsagePostWithBodyWithResponse Trace Usage
	//
	// Compute per-call usage for a trace, with descendant rollup.
	//
	// 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 /trace/usage (the `TraceUsageTraceUsagePost` operationId).
	TraceUsageTraceUsagePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TraceUsageTraceUsagePostResponse, error)

	// TraceUsageTraceUsagePostWithResponse Trace Usage
	//
	// Compute per-call usage for a trace, with descendant rollup.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /trace/usage (the `TraceUsageTraceUsagePost` operationId).
	TraceUsageTraceUsagePostWithResponse(ctx context.Context, body TraceUsageTraceUsagePostJSONRequestBody, reqEditors ...RequestEditorFn) (*TraceUsageTraceUsagePostResponse, error)

	// GetProjectExportWithResponse Get Status
	//
	// Read a known export job. Partial output is never returned.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/entities/{entity}/projects/{project}/exports/{job_id} (the `GetProjectExport` operationId).
	GetProjectExportWithResponse(ctx context.Context, entity string, project string, jobId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetProjectExportResponse, error)

	// ExportProjectDataWithBodyWithResponse Start
	//
	// Start one project's export. Save the job ID to look up its status.
	//
	// 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/entities/{entity}/projects/{project}:export (the `ExportProjectData` operationId).
	ExportProjectDataWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportProjectDataResponse, error)

	// ExportProjectDataWithResponse Start
	//
	// Start one project's export. Save the job ID to look up its status.
	//
	// 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/entities/{entity}/projects/{project}:export (the `ExportProjectData` operationId).
	ExportProjectDataWithResponse(ctx context.Context, entity string, project string, body ExportProjectDataJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportProjectDataResponse, error)

	// CallsCompleteV2EntityProjectCallsCompletePostWithBodyWithResponse Calls Complete
	//
	// Upsert a batch of completed calls directly to the calls_complete table.
	//
	// Each call in the batch contains both start and end information.
	// This endpoint is used when calls are buffered client-side and sent as complete records.
	//
	// 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 /v2/{entity}/{project}/calls/complete (the `CallsCompleteV2EntityProjectCallsCompletePost` operationId).
	CallsCompleteV2EntityProjectCallsCompletePostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CallsCompleteV2EntityProjectCallsCompletePostResponse, error)

	// CallsCompleteV2EntityProjectCallsCompletePostWithResponse Calls Complete
	//
	// Upsert a batch of completed calls directly to the calls_complete table.
	//
	// Each call in the batch contains both start and end information.
	// This endpoint is used when calls are buffered client-side and sent as complete records.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/{entity}/{project}/calls/complete (the `CallsCompleteV2EntityProjectCallsCompletePost` operationId).
	CallsCompleteV2EntityProjectCallsCompletePostWithResponse(ctx context.Context, entity string, project string, body CallsCompleteV2EntityProjectCallsCompletePostJSONRequestBody, reqEditors ...RequestEditorFn) (*CallsCompleteV2EntityProjectCallsCompletePostResponse, error)

	// DatasetListV2EntityProjectDatasetsGetWithResponse Dataset List
	//
	// List dataset objects.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/{entity}/{project}/datasets (the `DatasetListV2EntityProjectDatasetsGet` operationId).
	DatasetListV2EntityProjectDatasetsGetWithResponse(ctx context.Context, entity string, project string, params *DatasetListV2EntityProjectDatasetsGetParams, reqEditors ...RequestEditorFn) (*DatasetListV2EntityProjectDatasetsGetResponse, error)

	// DatasetCreateV2EntityProjectDatasetsPostWithBodyWithResponse Dataset Create
	//
	// Create a dataset object.
	//
	// 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 /v2/{entity}/{project}/datasets (the `DatasetCreateV2EntityProjectDatasetsPost` operationId).
	DatasetCreateV2EntityProjectDatasetsPostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatasetCreateV2EntityProjectDatasetsPostResponse, error)

	// DatasetCreateV2EntityProjectDatasetsPostWithResponse Dataset Create
	//
	// Create a dataset object.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/{entity}/{project}/datasets (the `DatasetCreateV2EntityProjectDatasetsPost` operationId).
	DatasetCreateV2EntityProjectDatasetsPostWithResponse(ctx context.Context, entity string, project string, body DatasetCreateV2EntityProjectDatasetsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*DatasetCreateV2EntityProjectDatasetsPostResponse, error)

	// DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteWithResponse Dataset Delete
	//
	// Delete a dataset object. If digests are provided, only those versions are deleted. Otherwise, all versions are deleted.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/{entity}/{project}/datasets/{object_id} (the `DatasetDeleteV2EntityProjectDatasetsObjectIdDelete` operationId).
	DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteWithResponse(ctx context.Context, entity string, project string, objectId string, params *DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteResponse, error)

	// DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetWithResponse Dataset Read
	//
	// Get a dataset object.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/{entity}/{project}/datasets/{object_id}/versions/{digest} (the `DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGet` operationId).
	DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetWithResponse(ctx context.Context, entity string, project string, objectId string, digest string, reqEditors ...RequestEditorFn) (*DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetResponse, error)

	// EvalResultsQueryV2EntityProjectEvalResultsQueryPostWithBodyWithResponse Eval Results Query
	//
	// Read grouped evaluation result rows for one or more evaluations.
	//
	// 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 /v2/{entity}/{project}/eval_results/query (the `EvalResultsQueryV2EntityProjectEvalResultsQueryPost` operationId).
	EvalResultsQueryV2EntityProjectEvalResultsQueryPostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvalResultsQueryV2EntityProjectEvalResultsQueryPostResponse, error)

	// EvalResultsQueryV2EntityProjectEvalResultsQueryPostWithResponse Eval Results Query
	//
	// Read grouped evaluation result rows for one or more evaluations.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/{entity}/{project}/eval_results/query (the `EvalResultsQueryV2EntityProjectEvalResultsQueryPost` operationId).
	EvalResultsQueryV2EntityProjectEvalResultsQueryPostWithResponse(ctx context.Context, entity string, project string, body EvalResultsQueryV2EntityProjectEvalResultsQueryPostJSONRequestBody, reqEditors ...RequestEditorFn) (*EvalResultsQueryV2EntityProjectEvalResultsQueryPostResponse, error)

	// EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteWithResponse Evaluation Run Delete
	//
	// Delete evaluation runs.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/{entity}/{project}/evaluation_runs (the `EvaluationRunDeleteV2EntityProjectEvaluationRunsDelete` operationId).
	EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteWithResponse(ctx context.Context, entity string, project string, params *EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteParams, reqEditors ...RequestEditorFn) (*EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteResponse, error)

	// EvaluationRunListV2EntityProjectEvaluationRunsGetWithResponse Evaluation Run List
	//
	// List evaluation runs.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/{entity}/{project}/evaluation_runs (the `EvaluationRunListV2EntityProjectEvaluationRunsGet` operationId).
	EvaluationRunListV2EntityProjectEvaluationRunsGetWithResponse(ctx context.Context, entity string, project string, params *EvaluationRunListV2EntityProjectEvaluationRunsGetParams, reqEditors ...RequestEditorFn) (*EvaluationRunListV2EntityProjectEvaluationRunsGetResponse, error)

	// EvaluationRunCreateV2EntityProjectEvaluationRunsPostWithBodyWithResponse Evaluation Run Create
	//
	// Create an evaluation run.
	//
	// 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 /v2/{entity}/{project}/evaluation_runs (the `EvaluationRunCreateV2EntityProjectEvaluationRunsPost` operationId).
	EvaluationRunCreateV2EntityProjectEvaluationRunsPostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvaluationRunCreateV2EntityProjectEvaluationRunsPostResponse, error)

	// EvaluationRunCreateV2EntityProjectEvaluationRunsPostWithResponse Evaluation Run Create
	//
	// Create an evaluation run.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/{entity}/{project}/evaluation_runs (the `EvaluationRunCreateV2EntityProjectEvaluationRunsPost` operationId).
	EvaluationRunCreateV2EntityProjectEvaluationRunsPostWithResponse(ctx context.Context, entity string, project string, body EvaluationRunCreateV2EntityProjectEvaluationRunsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*EvaluationRunCreateV2EntityProjectEvaluationRunsPostResponse, error)

	// EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetWithResponse Evaluation Run Read
	//
	// Read an evaluation run.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/{entity}/{project}/evaluation_runs/{evaluation_run_id} (the `EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGet` operationId).
	EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetWithResponse(ctx context.Context, entity string, project string, evaluationRunId string, reqEditors ...RequestEditorFn) (*EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetResponse, error)

	// EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostWithBodyWithResponse Evaluation Run Finish
	//
	// Finish an evaluation run.
	//
	// 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 /v2/{entity}/{project}/evaluation_runs/{evaluation_run_id}/finish (the `EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPost` operationId).
	EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostWithBodyWithResponse(ctx context.Context, entity string, project string, evaluationRunId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostResponse, error)

	// EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostWithResponse Evaluation Run Finish
	//
	// Finish an evaluation run.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/{entity}/{project}/evaluation_runs/{evaluation_run_id}/finish (the `EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPost` operationId).
	EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostWithResponse(ctx context.Context, entity string, project string, evaluationRunId string, body EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostJSONRequestBody, reqEditors ...RequestEditorFn) (*EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostResponse, error)

	// EvaluationListV2EntityProjectEvaluationsGetWithResponse Evaluation List
	//
	// List evaluation objects.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/{entity}/{project}/evaluations (the `EvaluationListV2EntityProjectEvaluationsGet` operationId).
	EvaluationListV2EntityProjectEvaluationsGetWithResponse(ctx context.Context, entity string, project string, params *EvaluationListV2EntityProjectEvaluationsGetParams, reqEditors ...RequestEditorFn) (*EvaluationListV2EntityProjectEvaluationsGetResponse, error)

	// EvaluationCreateV2EntityProjectEvaluationsPostWithBodyWithResponse Evaluation Create
	//
	// Create an evaluation object.
	//
	// 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 /v2/{entity}/{project}/evaluations (the `EvaluationCreateV2EntityProjectEvaluationsPost` operationId).
	EvaluationCreateV2EntityProjectEvaluationsPostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EvaluationCreateV2EntityProjectEvaluationsPostResponse, error)

	// EvaluationCreateV2EntityProjectEvaluationsPostWithResponse Evaluation Create
	//
	// Create an evaluation object.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/{entity}/{project}/evaluations (the `EvaluationCreateV2EntityProjectEvaluationsPost` operationId).
	EvaluationCreateV2EntityProjectEvaluationsPostWithResponse(ctx context.Context, entity string, project string, body EvaluationCreateV2EntityProjectEvaluationsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*EvaluationCreateV2EntityProjectEvaluationsPostResponse, error)

	// EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteWithResponse Evaluation Delete
	//
	// Delete an evaluation object.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/{entity}/{project}/evaluations/{object_id} (the `EvaluationDeleteV2EntityProjectEvaluationsObjectIdDelete` operationId).
	EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteWithResponse(ctx context.Context, entity string, project string, objectId string, params *EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteResponse, error)

	// EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetWithResponse Evaluation Read
	//
	// Get an evaluation object.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/{entity}/{project}/evaluations/{object_id}/versions/{digest} (the `EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGet` operationId).
	EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetWithResponse(ctx context.Context, entity string, project string, objectId string, digest string, reqEditors ...RequestEditorFn) (*EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetResponse, error)

	// ModelListV2EntityProjectModelsGetWithResponse Model List
	//
	// List model objects.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/{entity}/{project}/models (the `ModelListV2EntityProjectModelsGet` operationId).
	ModelListV2EntityProjectModelsGetWithResponse(ctx context.Context, entity string, project string, params *ModelListV2EntityProjectModelsGetParams, reqEditors ...RequestEditorFn) (*ModelListV2EntityProjectModelsGetResponse, error)

	// ModelCreateV2EntityProjectModelsPostWithBodyWithResponse Model Create
	//
	// Create a model object.
	//
	// 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 /v2/{entity}/{project}/models (the `ModelCreateV2EntityProjectModelsPost` operationId).
	ModelCreateV2EntityProjectModelsPostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModelCreateV2EntityProjectModelsPostResponse, error)

	// ModelCreateV2EntityProjectModelsPostWithResponse Model Create
	//
	// Create a model object.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/{entity}/{project}/models (the `ModelCreateV2EntityProjectModelsPost` operationId).
	ModelCreateV2EntityProjectModelsPostWithResponse(ctx context.Context, entity string, project string, body ModelCreateV2EntityProjectModelsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ModelCreateV2EntityProjectModelsPostResponse, error)

	// ModelDeleteV2EntityProjectModelsObjectIdDeleteWithResponse Model Delete
	//
	// Delete a model object. If digests are provided, only those versions are deleted. Otherwise, all versions are deleted.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/{entity}/{project}/models/{object_id} (the `ModelDeleteV2EntityProjectModelsObjectIdDelete` operationId).
	ModelDeleteV2EntityProjectModelsObjectIdDeleteWithResponse(ctx context.Context, entity string, project string, objectId string, params *ModelDeleteV2EntityProjectModelsObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*ModelDeleteV2EntityProjectModelsObjectIdDeleteResponse, error)

	// ModelReadV2EntityProjectModelsObjectIdVersionsDigestGetWithResponse Model Read
	//
	// Get a model object.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/{entity}/{project}/models/{object_id}/versions/{digest} (the `ModelReadV2EntityProjectModelsObjectIdVersionsDigestGet` operationId).
	ModelReadV2EntityProjectModelsObjectIdVersionsDigestGetWithResponse(ctx context.Context, entity string, project string, objectId string, digest string, reqEditors ...RequestEditorFn) (*ModelReadV2EntityProjectModelsObjectIdVersionsDigestGetResponse, error)

	// OpListV2EntityProjectOpsGetWithResponse Op List
	//
	// List op objects.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/{entity}/{project}/ops (the `OpListV2EntityProjectOpsGet` operationId).
	OpListV2EntityProjectOpsGetWithResponse(ctx context.Context, entity string, project string, params *OpListV2EntityProjectOpsGetParams, reqEditors ...RequestEditorFn) (*OpListV2EntityProjectOpsGetResponse, error)

	// OpCreateV2EntityProjectOpsPostWithBodyWithResponse Op Create
	//
	// Create an op object.
	//
	// 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 /v2/{entity}/{project}/ops (the `OpCreateV2EntityProjectOpsPost` operationId).
	OpCreateV2EntityProjectOpsPostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*OpCreateV2EntityProjectOpsPostResponse, error)

	// OpCreateV2EntityProjectOpsPostWithResponse Op Create
	//
	// Create an op object.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/{entity}/{project}/ops (the `OpCreateV2EntityProjectOpsPost` operationId).
	OpCreateV2EntityProjectOpsPostWithResponse(ctx context.Context, entity string, project string, body OpCreateV2EntityProjectOpsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*OpCreateV2EntityProjectOpsPostResponse, error)

	// OpDeleteV2EntityProjectOpsObjectIdDeleteWithResponse Op Delete
	//
	// Delete an op object. If digests are provided, only those versions are deleted. Otherwise, all versions are deleted.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/{entity}/{project}/ops/{object_id} (the `OpDeleteV2EntityProjectOpsObjectIdDelete` operationId).
	OpDeleteV2EntityProjectOpsObjectIdDeleteWithResponse(ctx context.Context, entity string, project string, objectId string, params *OpDeleteV2EntityProjectOpsObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*OpDeleteV2EntityProjectOpsObjectIdDeleteResponse, error)

	// OpReadV2EntityProjectOpsObjectIdVersionsDigestGetWithResponse Op Read
	//
	// Get an op object.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/{entity}/{project}/ops/{object_id}/versions/{digest} (the `OpReadV2EntityProjectOpsObjectIdVersionsDigestGet` operationId).
	OpReadV2EntityProjectOpsObjectIdVersionsDigestGetWithResponse(ctx context.Context, entity string, project string, objectId string, digest string, params *OpReadV2EntityProjectOpsObjectIdVersionsDigestGetParams, reqEditors ...RequestEditorFn) (*OpReadV2EntityProjectOpsObjectIdVersionsDigestGetResponse, error)

	// PredictionDeleteV2EntityProjectPredictionsDeleteWithResponse Prediction Delete
	//
	// Delete predictions.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/{entity}/{project}/predictions (the `PredictionDeleteV2EntityProjectPredictionsDelete` operationId).
	PredictionDeleteV2EntityProjectPredictionsDeleteWithResponse(ctx context.Context, entity string, project string, params *PredictionDeleteV2EntityProjectPredictionsDeleteParams, reqEditors ...RequestEditorFn) (*PredictionDeleteV2EntityProjectPredictionsDeleteResponse, error)

	// PredictionListV2EntityProjectPredictionsGetWithResponse Prediction List
	//
	// List predictions.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/{entity}/{project}/predictions (the `PredictionListV2EntityProjectPredictionsGet` operationId).
	PredictionListV2EntityProjectPredictionsGetWithResponse(ctx context.Context, entity string, project string, params *PredictionListV2EntityProjectPredictionsGetParams, reqEditors ...RequestEditorFn) (*PredictionListV2EntityProjectPredictionsGetResponse, error)

	// PredictionCreateV2EntityProjectPredictionsPostWithBodyWithResponse Prediction Create
	//
	// Create a prediction.
	//
	// 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 /v2/{entity}/{project}/predictions (the `PredictionCreateV2EntityProjectPredictionsPost` operationId).
	PredictionCreateV2EntityProjectPredictionsPostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PredictionCreateV2EntityProjectPredictionsPostResponse, error)

	// PredictionCreateV2EntityProjectPredictionsPostWithResponse Prediction Create
	//
	// Create a prediction.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/{entity}/{project}/predictions (the `PredictionCreateV2EntityProjectPredictionsPost` operationId).
	PredictionCreateV2EntityProjectPredictionsPostWithResponse(ctx context.Context, entity string, project string, body PredictionCreateV2EntityProjectPredictionsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*PredictionCreateV2EntityProjectPredictionsPostResponse, error)

	// PredictionReadV2EntityProjectPredictionsPredictionIdGetWithResponse Prediction Read
	//
	// Read a prediction.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/{entity}/{project}/predictions/{prediction_id} (the `PredictionReadV2EntityProjectPredictionsPredictionIdGet` operationId).
	PredictionReadV2EntityProjectPredictionsPredictionIdGetWithResponse(ctx context.Context, entity string, project string, predictionId string, reqEditors ...RequestEditorFn) (*PredictionReadV2EntityProjectPredictionsPredictionIdGetResponse, error)

	// PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostWithResponse Prediction Finish
	//
	// Finish a prediction.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/{entity}/{project}/predictions/{prediction_id}/finish (the `PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPost` operationId).
	PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostWithResponse(ctx context.Context, entity string, project string, predictionId string, reqEditors ...RequestEditorFn) (*PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostResponse, error)

	// CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutWithBodyWithResponse Custom Runtime Apply
	//
	// Create or replace a custom runtime configuration.
	//
	// 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 /v2/{entity}/{project}/runtimes/{runtime_name} (the `CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePut` operationId).
	CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutWithBodyWithResponse(ctx context.Context, entity string, project string, runtimeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutResponse, error)

	// CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutWithResponse Custom Runtime Apply
	//
	// Create or replace a custom runtime configuration.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /v2/{entity}/{project}/runtimes/{runtime_name} (the `CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePut` operationId).
	CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutWithResponse(ctx context.Context, entity string, project string, runtimeName string, body CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutJSONRequestBody, reqEditors ...RequestEditorFn) (*CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutResponse, error)

	// ScorerListV2EntityProjectScorersGetWithResponse Scorer List
	//
	// List scorer objects.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/{entity}/{project}/scorers (the `ScorerListV2EntityProjectScorersGet` operationId).
	ScorerListV2EntityProjectScorersGetWithResponse(ctx context.Context, entity string, project string, params *ScorerListV2EntityProjectScorersGetParams, reqEditors ...RequestEditorFn) (*ScorerListV2EntityProjectScorersGetResponse, error)

	// ScorerCreateV2EntityProjectScorersPostWithBodyWithResponse Scorer Create
	//
	// Create a scorer object.
	//
	// 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 /v2/{entity}/{project}/scorers (the `ScorerCreateV2EntityProjectScorersPost` operationId).
	ScorerCreateV2EntityProjectScorersPostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScorerCreateV2EntityProjectScorersPostResponse, error)

	// ScorerCreateV2EntityProjectScorersPostWithResponse Scorer Create
	//
	// Create a scorer object.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/{entity}/{project}/scorers (the `ScorerCreateV2EntityProjectScorersPost` operationId).
	ScorerCreateV2EntityProjectScorersPostWithResponse(ctx context.Context, entity string, project string, body ScorerCreateV2EntityProjectScorersPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ScorerCreateV2EntityProjectScorersPostResponse, error)

	// ScorerDeleteV2EntityProjectScorersObjectIdDeleteWithResponse Scorer Delete
	//
	// Delete a scorer object.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/{entity}/{project}/scorers/{object_id} (the `ScorerDeleteV2EntityProjectScorersObjectIdDelete` operationId).
	ScorerDeleteV2EntityProjectScorersObjectIdDeleteWithResponse(ctx context.Context, entity string, project string, objectId string, params *ScorerDeleteV2EntityProjectScorersObjectIdDeleteParams, reqEditors ...RequestEditorFn) (*ScorerDeleteV2EntityProjectScorersObjectIdDeleteResponse, error)

	// ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetWithResponse Scorer Read
	//
	// Get a scorer object.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/{entity}/{project}/scorers/{object_id}/versions/{digest} (the `ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGet` operationId).
	ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetWithResponse(ctx context.Context, entity string, project string, objectId string, digest string, reqEditors ...RequestEditorFn) (*ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetResponse, error)

	// ScoreDeleteV2EntityProjectScoresDeleteWithResponse Score Delete
	//
	// Delete scores.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v2/{entity}/{project}/scores (the `ScoreDeleteV2EntityProjectScoresDelete` operationId).
	ScoreDeleteV2EntityProjectScoresDeleteWithResponse(ctx context.Context, entity string, project string, params *ScoreDeleteV2EntityProjectScoresDeleteParams, reqEditors ...RequestEditorFn) (*ScoreDeleteV2EntityProjectScoresDeleteResponse, error)

	// ScoreListV2EntityProjectScoresGetWithResponse Score List
	//
	// List scores.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/{entity}/{project}/scores (the `ScoreListV2EntityProjectScoresGet` operationId).
	ScoreListV2EntityProjectScoresGetWithResponse(ctx context.Context, entity string, project string, params *ScoreListV2EntityProjectScoresGetParams, reqEditors ...RequestEditorFn) (*ScoreListV2EntityProjectScoresGetResponse, error)

	// ScoreCreateV2EntityProjectScoresPostWithBodyWithResponse Score Create
	//
	// Create a score.
	//
	// 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 /v2/{entity}/{project}/scores (the `ScoreCreateV2EntityProjectScoresPost` operationId).
	ScoreCreateV2EntityProjectScoresPostWithBodyWithResponse(ctx context.Context, entity string, project string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScoreCreateV2EntityProjectScoresPostResponse, error)

	// ScoreCreateV2EntityProjectScoresPostWithResponse Score Create
	//
	// Create a score.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v2/{entity}/{project}/scores (the `ScoreCreateV2EntityProjectScoresPost` operationId).
	ScoreCreateV2EntityProjectScoresPostWithResponse(ctx context.Context, entity string, project string, body ScoreCreateV2EntityProjectScoresPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ScoreCreateV2EntityProjectScoresPostResponse, error)

	// ScoreReadV2EntityProjectScoresScoreIdGetWithResponse Score Read
	//
	// Read a score.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/{entity}/{project}/scores/{score_id} (the `ScoreReadV2EntityProjectScoresScoreIdGet` operationId).
	ScoreReadV2EntityProjectScoresScoreIdGetWithResponse(ctx context.Context, entity string, project string, scoreId string, reqEditors ...RequestEditorFn) (*ScoreReadV2EntityProjectScoresScoreIdGetResponse, error)

	// ReadVersionVersionGetWithResponse Read Version
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /version (the `ReadVersionVersionGet` operationId).
	ReadVersionVersionGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadVersionVersionGetResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CompletedCallSchemaForInsert added in v0.2.0

type CompletedCallSchemaForInsert struct {
	Attributes   map[string]interface{}  `json:"attributes"`
	DisplayName  *string                 `json:"display_name,omitempty"`
	EndedAt      time.Time               `json:"ended_at"`
	Exception    *string                 `json:"exception,omitempty"`
	Id           string                  `json:"id"`
	Inputs       map[string]interface{}  `json:"inputs"`
	OpName       string                  `json:"op_name"`
	OtelDump     *map[string]interface{} `json:"otel_dump,omitempty"`
	Output       interface{}             `json:"output,omitempty"`
	ParentId     *string                 `json:"parent_id,omitempty"`
	ProjectId    string                  `json:"project_id"`
	StartedAt    time.Time               `json:"started_at"`
	Summary      SummaryInsertMap        `json:"summary"`
	ThreadId     *string                 `json:"thread_id,omitempty"`
	TraceId      string                  `json:"trace_id"`
	TurnId       *string                 `json:"turn_id,omitempty"`
	WbRunId      *string                 `json:"wb_run_id,omitempty"`
	WbRunStep    *int                    `json:"wb_run_step,omitempty"`
	WbRunStepEnd *int                    `json:"wb_run_step_end,omitempty"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`
}

CompletedCallSchemaForInsert Schema for inserting a completed call directly.

This represents a call that is already finished at insertion time, with both start and end information provided together. Used by the calls_complete endpoint.

type CompletionsCreateCompletionsCreatePostJSONRequestBody added in v0.2.0

type CompletionsCreateCompletionsCreatePostJSONRequestBody = CompletionsCreateReq

CompletionsCreateCompletionsCreatePostJSONRequestBody defines body for CompletionsCreateCompletionsCreatePost for application/json ContentType.

type CompletionsCreateCompletionsCreatePostResponse added in v0.2.0

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

func ParseCompletionsCreateCompletionsCreatePostResponse added in v0.2.0

func ParseCompletionsCreateCompletionsCreatePostResponse(rsp *http.Response) (*CompletionsCreateCompletionsCreatePostResponse, error)

ParseCompletionsCreateCompletionsCreatePostResponse parses an HTTP response from a CompletionsCreateCompletionsCreatePostWithResponse call

func (CompletionsCreateCompletionsCreatePostResponse) ContentType added in v0.2.0

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

func (CompletionsCreateCompletionsCreatePostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (CompletionsCreateCompletionsCreatePostResponse) GetJSON200 added in v0.2.0

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

func (CompletionsCreateCompletionsCreatePostResponse) GetJSON422 added in v0.2.0

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

func (CompletionsCreateCompletionsCreatePostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (CompletionsCreateCompletionsCreatePostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type CompletionsCreateReq added in v0.2.0

type CompletionsCreateReq struct {
	// ConversationId Conversation ID to group related completions into a multi-turn conversation
	ConversationId *string `json:"conversation_id,omitempty"`

	// ConversationName Human-readable conversation name
	ConversationName *string                        `json:"conversation_name,omitempty"`
	InferenceRoute   *DedicatedInferenceRoute       `json:"inference_route,omitempty"`
	Inputs           CompletionsCreateRequestInputs `json:"inputs"`

	// ParentId Parent call ID to nest this LLM call under
	ParentId  *string `json:"parent_id,omitempty"`
	ProjectId string  `json:"project_id"`

	// Source Source of the completion request (e.g. 'playground', 'signals')
	Source *string `json:"source,omitempty"`

	// TraceId Trace ID to use for the LLM call (for nesting under a parent)
	TraceId *string `json:"trace_id,omitempty"`

	// TrackLlmCall Whether to track this LLM call in the trace server
	TrackLlmCall *bool `json:"track_llm_call,omitempty"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`
}

CompletionsCreateReq defines model for CompletionsCreateReq.

type CompletionsCreateRequestInputs

type CompletionsCreateRequestInputs struct {
	ApiVersion          *string                 `json:"api_version,omitempty"`
	ExtraHeaders        *map[string]interface{} `json:"extra_headers,omitempty"`
	FrequencyPenalty    *float64                `json:"frequency_penalty,omitempty"`
	FunctionCall        *string                 `json:"function_call,omitempty"`
	Functions           *[]interface{}          `json:"functions,omitempty"`
	LogitBias           *map[string]interface{} `json:"logit_bias,omitempty"`
	Logprobs            *bool                   `json:"logprobs,omitempty"`
	MaxCompletionTokens *int                    `json:"max_completion_tokens,omitempty"`
	MaxTokens           *int                    `json:"max_tokens,omitempty"`
	Messages            *[]interface{}          `json:"messages,omitempty"`
	Modalities          *[]interface{}          `json:"modalities,omitempty"`
	Model               string                  `json:"model"`
	N                   *int                    `json:"n,omitempty"`
	ParallelToolCalls   *bool                   `json:"parallel_tool_calls,omitempty"`
	PresencePenalty     *float64                `json:"presence_penalty,omitempty"`

	// Prompt Reference to a Weave Prompt object (e.g., 'weave:///entity/project/object/prompt_name:version'). If provided, the messages from this prompt will be prepended to the messages in this request. Template variables in the prompt messages can be substituted using the template_vars parameter.
	Prompt          *string                                        `json:"prompt,omitempty"`
	ReasoningEffort *string                                        `json:"reasoning_effort,omitempty"`
	ResponseFormat  *CompletionsCreateRequestInputs_ResponseFormat `json:"response_format,omitempty"`
	Seed            *int                                           `json:"seed,omitempty"`
	Stop            *CompletionsCreateRequestInputs_Stop           `json:"stop,omitempty"`
	Stream          *bool                                          `json:"stream,omitempty"`
	Temperature     *float64                                       `json:"temperature,omitempty"`

	// TemplateVars Dictionary of template variables to substitute in prompt messages. Variables in messages like '{variable_name}' will be replaced with the corresponding values. Applied to both prompt messages (if prompt is provided) and regular messages.
	TemplateVars *map[string]interface{}                    `json:"template_vars,omitempty"`
	Timeout      *CompletionsCreateRequestInputs_Timeout    `json:"timeout,omitempty"`
	ToolChoice   *CompletionsCreateRequestInputs_ToolChoice `json:"tool_choice,omitempty"`
	Tools        *[]interface{}                             `json:"tools,omitempty"`
	TopLogprobs  *int                                       `json:"top_logprobs,omitempty"`
	TopP         *float64                                   `json:"top_p,omitempty"`
	User         *string                                    `json:"user,omitempty"`

	// VertexCredentials JSON string of Vertex AI service account credentials. When provided for vertex_ai models (e.g. vertex_ai/gemini-2.5-pro), used for authentication instead of api_key. Not persisted in trace storage.
	VertexCredentials *string `json:"vertex_credentials,omitempty"`
}

CompletionsCreateRequestInputs defines model for CompletionsCreateRequestInputs.

type CompletionsCreateRequestInputsResponseFormat0

type CompletionsCreateRequestInputsResponseFormat0 map[string]interface{}

CompletionsCreateRequestInputsResponseFormat0 defines model for CompletionsCreateRequestInputs.ResponseFormat.0.

type CompletionsCreateRequestInputsResponseFormat1

type CompletionsCreateRequestInputsResponseFormat1 = interface{}

CompletionsCreateRequestInputsResponseFormat1 defines model for CompletionsCreateRequestInputs.ResponseFormat.1.

type CompletionsCreateRequestInputsStop0

type CompletionsCreateRequestInputsStop0 = string

CompletionsCreateRequestInputsStop0 defines model for CompletionsCreateRequestInputs.Stop.0.

type CompletionsCreateRequestInputsStop1

type CompletionsCreateRequestInputsStop1 = []interface{}

CompletionsCreateRequestInputsStop1 defines model for CompletionsCreateRequestInputs.Stop.1.

type CompletionsCreateRequestInputsTimeout0

type CompletionsCreateRequestInputsTimeout0 = float64

CompletionsCreateRequestInputsTimeout0 defines model for CompletionsCreateRequestInputs.Timeout.0.

type CompletionsCreateRequestInputsTimeout1

type CompletionsCreateRequestInputsTimeout1 = string

CompletionsCreateRequestInputsTimeout1 defines model for CompletionsCreateRequestInputs.Timeout.1.

type CompletionsCreateRequestInputsToolChoice0

type CompletionsCreateRequestInputsToolChoice0 = string

CompletionsCreateRequestInputsToolChoice0 defines model for CompletionsCreateRequestInputs.ToolChoice.0.

type CompletionsCreateRequestInputsToolChoice1

type CompletionsCreateRequestInputsToolChoice1 map[string]interface{}

CompletionsCreateRequestInputsToolChoice1 defines model for CompletionsCreateRequestInputs.ToolChoice.1.

type CompletionsCreateRequestInputs_ResponseFormat

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

CompletionsCreateRequestInputs_ResponseFormat defines model for CompletionsCreateRequestInputs.ResponseFormat.

func (CompletionsCreateRequestInputs_ResponseFormat) AsCompletionsCreateRequestInputsResponseFormat0

func (t CompletionsCreateRequestInputs_ResponseFormat) AsCompletionsCreateRequestInputsResponseFormat0() (CompletionsCreateRequestInputsResponseFormat0, error)

AsCompletionsCreateRequestInputsResponseFormat0 returns the union data inside the CompletionsCreateRequestInputs_ResponseFormat as a CompletionsCreateRequestInputsResponseFormat0

func (CompletionsCreateRequestInputs_ResponseFormat) AsCompletionsCreateRequestInputsResponseFormat1

func (t CompletionsCreateRequestInputs_ResponseFormat) AsCompletionsCreateRequestInputsResponseFormat1() (CompletionsCreateRequestInputsResponseFormat1, error)

AsCompletionsCreateRequestInputsResponseFormat1 returns the union data inside the CompletionsCreateRequestInputs_ResponseFormat as a CompletionsCreateRequestInputsResponseFormat1

func (*CompletionsCreateRequestInputs_ResponseFormat) FromCompletionsCreateRequestInputsResponseFormat0

func (t *CompletionsCreateRequestInputs_ResponseFormat) FromCompletionsCreateRequestInputsResponseFormat0(v CompletionsCreateRequestInputsResponseFormat0) error

FromCompletionsCreateRequestInputsResponseFormat0 overwrites any union data inside the CompletionsCreateRequestInputs_ResponseFormat as the provided CompletionsCreateRequestInputsResponseFormat0

func (*CompletionsCreateRequestInputs_ResponseFormat) FromCompletionsCreateRequestInputsResponseFormat1

func (t *CompletionsCreateRequestInputs_ResponseFormat) FromCompletionsCreateRequestInputsResponseFormat1(v CompletionsCreateRequestInputsResponseFormat1) error

FromCompletionsCreateRequestInputsResponseFormat1 overwrites any union data inside the CompletionsCreateRequestInputs_ResponseFormat as the provided CompletionsCreateRequestInputsResponseFormat1

func (CompletionsCreateRequestInputs_ResponseFormat) MarshalJSON

func (*CompletionsCreateRequestInputs_ResponseFormat) MergeCompletionsCreateRequestInputsResponseFormat0

func (t *CompletionsCreateRequestInputs_ResponseFormat) MergeCompletionsCreateRequestInputsResponseFormat0(v CompletionsCreateRequestInputsResponseFormat0) error

MergeCompletionsCreateRequestInputsResponseFormat0 performs a merge with any union data inside the CompletionsCreateRequestInputs_ResponseFormat, using the provided CompletionsCreateRequestInputsResponseFormat0

func (*CompletionsCreateRequestInputs_ResponseFormat) MergeCompletionsCreateRequestInputsResponseFormat1

func (t *CompletionsCreateRequestInputs_ResponseFormat) MergeCompletionsCreateRequestInputsResponseFormat1(v CompletionsCreateRequestInputsResponseFormat1) error

MergeCompletionsCreateRequestInputsResponseFormat1 performs a merge with any union data inside the CompletionsCreateRequestInputs_ResponseFormat, using the provided CompletionsCreateRequestInputsResponseFormat1

func (*CompletionsCreateRequestInputs_ResponseFormat) UnmarshalJSON

type CompletionsCreateRequestInputs_Stop

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

CompletionsCreateRequestInputs_Stop defines model for CompletionsCreateRequestInputs.Stop.

func (CompletionsCreateRequestInputs_Stop) AsCompletionsCreateRequestInputsStop0

func (t CompletionsCreateRequestInputs_Stop) AsCompletionsCreateRequestInputsStop0() (CompletionsCreateRequestInputsStop0, error)

AsCompletionsCreateRequestInputsStop0 returns the union data inside the CompletionsCreateRequestInputs_Stop as a CompletionsCreateRequestInputsStop0

func (CompletionsCreateRequestInputs_Stop) AsCompletionsCreateRequestInputsStop1

func (t CompletionsCreateRequestInputs_Stop) AsCompletionsCreateRequestInputsStop1() (CompletionsCreateRequestInputsStop1, error)

AsCompletionsCreateRequestInputsStop1 returns the union data inside the CompletionsCreateRequestInputs_Stop as a CompletionsCreateRequestInputsStop1

func (*CompletionsCreateRequestInputs_Stop) FromCompletionsCreateRequestInputsStop0

func (t *CompletionsCreateRequestInputs_Stop) FromCompletionsCreateRequestInputsStop0(v CompletionsCreateRequestInputsStop0) error

FromCompletionsCreateRequestInputsStop0 overwrites any union data inside the CompletionsCreateRequestInputs_Stop as the provided CompletionsCreateRequestInputsStop0

func (*CompletionsCreateRequestInputs_Stop) FromCompletionsCreateRequestInputsStop1

func (t *CompletionsCreateRequestInputs_Stop) FromCompletionsCreateRequestInputsStop1(v CompletionsCreateRequestInputsStop1) error

FromCompletionsCreateRequestInputsStop1 overwrites any union data inside the CompletionsCreateRequestInputs_Stop as the provided CompletionsCreateRequestInputsStop1

func (CompletionsCreateRequestInputs_Stop) MarshalJSON

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

func (*CompletionsCreateRequestInputs_Stop) MergeCompletionsCreateRequestInputsStop0

func (t *CompletionsCreateRequestInputs_Stop) MergeCompletionsCreateRequestInputsStop0(v CompletionsCreateRequestInputsStop0) error

MergeCompletionsCreateRequestInputsStop0 performs a merge with any union data inside the CompletionsCreateRequestInputs_Stop, using the provided CompletionsCreateRequestInputsStop0

func (*CompletionsCreateRequestInputs_Stop) MergeCompletionsCreateRequestInputsStop1

func (t *CompletionsCreateRequestInputs_Stop) MergeCompletionsCreateRequestInputsStop1(v CompletionsCreateRequestInputsStop1) error

MergeCompletionsCreateRequestInputsStop1 performs a merge with any union data inside the CompletionsCreateRequestInputs_Stop, using the provided CompletionsCreateRequestInputsStop1

func (*CompletionsCreateRequestInputs_Stop) UnmarshalJSON

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

type CompletionsCreateRequestInputs_Timeout

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

CompletionsCreateRequestInputs_Timeout defines model for CompletionsCreateRequestInputs.Timeout.

func (CompletionsCreateRequestInputs_Timeout) AsCompletionsCreateRequestInputsTimeout0

func (t CompletionsCreateRequestInputs_Timeout) AsCompletionsCreateRequestInputsTimeout0() (CompletionsCreateRequestInputsTimeout0, error)

AsCompletionsCreateRequestInputsTimeout0 returns the union data inside the CompletionsCreateRequestInputs_Timeout as a CompletionsCreateRequestInputsTimeout0

func (CompletionsCreateRequestInputs_Timeout) AsCompletionsCreateRequestInputsTimeout1

func (t CompletionsCreateRequestInputs_Timeout) AsCompletionsCreateRequestInputsTimeout1() (CompletionsCreateRequestInputsTimeout1, error)

AsCompletionsCreateRequestInputsTimeout1 returns the union data inside the CompletionsCreateRequestInputs_Timeout as a CompletionsCreateRequestInputsTimeout1

func (*CompletionsCreateRequestInputs_Timeout) FromCompletionsCreateRequestInputsTimeout0

func (t *CompletionsCreateRequestInputs_Timeout) FromCompletionsCreateRequestInputsTimeout0(v CompletionsCreateRequestInputsTimeout0) error

FromCompletionsCreateRequestInputsTimeout0 overwrites any union data inside the CompletionsCreateRequestInputs_Timeout as the provided CompletionsCreateRequestInputsTimeout0

func (*CompletionsCreateRequestInputs_Timeout) FromCompletionsCreateRequestInputsTimeout1

func (t *CompletionsCreateRequestInputs_Timeout) FromCompletionsCreateRequestInputsTimeout1(v CompletionsCreateRequestInputsTimeout1) error

FromCompletionsCreateRequestInputsTimeout1 overwrites any union data inside the CompletionsCreateRequestInputs_Timeout as the provided CompletionsCreateRequestInputsTimeout1

func (CompletionsCreateRequestInputs_Timeout) MarshalJSON

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

func (*CompletionsCreateRequestInputs_Timeout) MergeCompletionsCreateRequestInputsTimeout0

func (t *CompletionsCreateRequestInputs_Timeout) MergeCompletionsCreateRequestInputsTimeout0(v CompletionsCreateRequestInputsTimeout0) error

MergeCompletionsCreateRequestInputsTimeout0 performs a merge with any union data inside the CompletionsCreateRequestInputs_Timeout, using the provided CompletionsCreateRequestInputsTimeout0

func (*CompletionsCreateRequestInputs_Timeout) MergeCompletionsCreateRequestInputsTimeout1

func (t *CompletionsCreateRequestInputs_Timeout) MergeCompletionsCreateRequestInputsTimeout1(v CompletionsCreateRequestInputsTimeout1) error

MergeCompletionsCreateRequestInputsTimeout1 performs a merge with any union data inside the CompletionsCreateRequestInputs_Timeout, using the provided CompletionsCreateRequestInputsTimeout1

func (*CompletionsCreateRequestInputs_Timeout) UnmarshalJSON

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

type CompletionsCreateRequestInputs_ToolChoice

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

CompletionsCreateRequestInputs_ToolChoice defines model for CompletionsCreateRequestInputs.ToolChoice.

func (CompletionsCreateRequestInputs_ToolChoice) AsCompletionsCreateRequestInputsToolChoice0

func (t CompletionsCreateRequestInputs_ToolChoice) AsCompletionsCreateRequestInputsToolChoice0() (CompletionsCreateRequestInputsToolChoice0, error)

AsCompletionsCreateRequestInputsToolChoice0 returns the union data inside the CompletionsCreateRequestInputs_ToolChoice as a CompletionsCreateRequestInputsToolChoice0

func (CompletionsCreateRequestInputs_ToolChoice) AsCompletionsCreateRequestInputsToolChoice1

func (t CompletionsCreateRequestInputs_ToolChoice) AsCompletionsCreateRequestInputsToolChoice1() (CompletionsCreateRequestInputsToolChoice1, error)

AsCompletionsCreateRequestInputsToolChoice1 returns the union data inside the CompletionsCreateRequestInputs_ToolChoice as a CompletionsCreateRequestInputsToolChoice1

func (*CompletionsCreateRequestInputs_ToolChoice) FromCompletionsCreateRequestInputsToolChoice0

func (t *CompletionsCreateRequestInputs_ToolChoice) FromCompletionsCreateRequestInputsToolChoice0(v CompletionsCreateRequestInputsToolChoice0) error

FromCompletionsCreateRequestInputsToolChoice0 overwrites any union data inside the CompletionsCreateRequestInputs_ToolChoice as the provided CompletionsCreateRequestInputsToolChoice0

func (*CompletionsCreateRequestInputs_ToolChoice) FromCompletionsCreateRequestInputsToolChoice1

func (t *CompletionsCreateRequestInputs_ToolChoice) FromCompletionsCreateRequestInputsToolChoice1(v CompletionsCreateRequestInputsToolChoice1) error

FromCompletionsCreateRequestInputsToolChoice1 overwrites any union data inside the CompletionsCreateRequestInputs_ToolChoice as the provided CompletionsCreateRequestInputsToolChoice1

func (CompletionsCreateRequestInputs_ToolChoice) MarshalJSON

func (*CompletionsCreateRequestInputs_ToolChoice) MergeCompletionsCreateRequestInputsToolChoice0

func (t *CompletionsCreateRequestInputs_ToolChoice) MergeCompletionsCreateRequestInputsToolChoice0(v CompletionsCreateRequestInputsToolChoice0) error

MergeCompletionsCreateRequestInputsToolChoice0 performs a merge with any union data inside the CompletionsCreateRequestInputs_ToolChoice, using the provided CompletionsCreateRequestInputsToolChoice0

func (*CompletionsCreateRequestInputs_ToolChoice) MergeCompletionsCreateRequestInputsToolChoice1

func (t *CompletionsCreateRequestInputs_ToolChoice) MergeCompletionsCreateRequestInputsToolChoice1(v CompletionsCreateRequestInputsToolChoice1) error

MergeCompletionsCreateRequestInputsToolChoice1 performs a merge with any union data inside the CompletionsCreateRequestInputs_ToolChoice, using the provided CompletionsCreateRequestInputsToolChoice1

func (*CompletionsCreateRequestInputs_ToolChoice) UnmarshalJSON

type CompletionsCreateRes added in v0.2.0

type CompletionsCreateRes struct {
	ConversationId *string                `json:"conversation_id,omitempty"`
	Response       map[string]interface{} `json:"response"`
	SpanId         *string                `json:"span_id,omitempty"`
	TraceId        *string                `json:"trace_id,omitempty"`
	WeaveCallId    *string                `json:"weave_call_id,omitempty"`
}

CompletionsCreateRes defines model for CompletionsCreateRes.

type CompletionsCreateStreamChunk added in v0.2.0

type CompletionsCreateStreamChunk struct {
	UnderscoreMeta       *CompletionsCreateStreamMeta `json:"_meta,omitempty"`
	Error                *string                      `json:"error,omitempty"`
	AdditionalProperties map[string]interface{}       `json:"-"`
}

CompletionsCreateStreamChunk One NDJSON line of the completions stream.

A tracked call opens with the identifiers, a failure produces `error`, and every other line is a provider chunk passed through as it arrived, which is why anything else is allowed.

func (CompletionsCreateStreamChunk) Get added in v0.2.0

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

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

func (CompletionsCreateStreamChunk) MarshalJSON added in v0.2.0

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

Override default JSON handling for CompletionsCreateStreamChunk to handle AdditionalProperties

func (*CompletionsCreateStreamChunk) Set added in v0.2.0

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

Setter for additional properties for CompletionsCreateStreamChunk

func (*CompletionsCreateStreamChunk) UnmarshalJSON added in v0.2.0

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

Override default JSON handling for CompletionsCreateStreamChunk to handle AdditionalProperties

type CompletionsCreateStreamCompletionsCreateStreamPostJSONRequestBody added in v0.2.0

type CompletionsCreateStreamCompletionsCreateStreamPostJSONRequestBody = CompletionsCreateReq

CompletionsCreateStreamCompletionsCreateStreamPostJSONRequestBody defines body for CompletionsCreateStreamCompletionsCreateStreamPost for application/json ContentType.

type CompletionsCreateStreamCompletionsCreateStreamPostResponse added in v0.2.0

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

func ParseCompletionsCreateStreamCompletionsCreateStreamPostResponse added in v0.2.0

func ParseCompletionsCreateStreamCompletionsCreateStreamPostResponse(rsp *http.Response) (*CompletionsCreateStreamCompletionsCreateStreamPostResponse, error)

ParseCompletionsCreateStreamCompletionsCreateStreamPostResponse parses an HTTP response from a CompletionsCreateStreamCompletionsCreateStreamPostWithResponse call

func (CompletionsCreateStreamCompletionsCreateStreamPostResponse) ContentType added in v0.2.0

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

func (CompletionsCreateStreamCompletionsCreateStreamPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (CompletionsCreateStreamCompletionsCreateStreamPostResponse) GetJSON422 added in v0.2.0

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

func (CompletionsCreateStreamCompletionsCreateStreamPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (CompletionsCreateStreamCompletionsCreateStreamPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type CompletionsCreateStreamMeta added in v0.2.0

type CompletionsCreateStreamMeta struct {
	ConversationId *string `json:"conversation_id,omitempty"`
	SpanId         *string `json:"span_id,omitempty"`
	TraceId        *string `json:"trace_id,omitempty"`
	WeaveCallId    *string `json:"weave_call_id,omitempty"`
}

CompletionsCreateStreamMeta Identifiers of the call the stream is recorded into.

type ContainsOperation

type ContainsOperation struct {
	// Contains Specification for the `$contains` operation.
	//
	// - `input`: The string to search.
	// - `substr`: The substring to search for.
	// - `case_insensitive`: If true, match is case-insensitive.
	Contains ContainsSpec `json:"$contains"`
}

ContainsOperation Case-insensitive substring match.

Not part of MongoDB. Weave-specific addition.

Example:

```
{
    "$contains": {
        "input": {"$getField": "display_name"},
        "substr": {"$literal": "llm"},
        "case_insensitive": true
    }
}
```

type ContainsSpec

type ContainsSpec struct {
	CaseInsensitive *bool               `json:"case_insensitive,omitempty"`
	Input           ContainsSpec_Input  `json:"input"`
	Substr          ContainsSpec_Substr `json:"substr"`
}

ContainsSpec Specification for the `$contains` operation.

- `input`: The string to search. - `substr`: The substring to search for. - `case_insensitive`: If true, match is case-insensitive.

type ContainsSpec_Input added in v0.2.0

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

ContainsSpec_Input defines model for ContainsSpec.Input.

func (ContainsSpec_Input) AsAndOperation added in v0.2.0

func (t ContainsSpec_Input) AsAndOperation() (AndOperation, error)

AsAndOperation returns the union data inside the ContainsSpec_Input as a AndOperation

func (ContainsSpec_Input) AsContainsOperation added in v0.2.0

func (t ContainsSpec_Input) AsContainsOperation() (ContainsOperation, error)

AsContainsOperation returns the union data inside the ContainsSpec_Input as a ContainsOperation

func (ContainsSpec_Input) AsConvertOperation added in v0.2.0

func (t ContainsSpec_Input) AsConvertOperation() (ConvertOperation, error)

AsConvertOperation returns the union data inside the ContainsSpec_Input as a ConvertOperation

func (ContainsSpec_Input) AsEqOperation added in v0.2.0

func (t ContainsSpec_Input) AsEqOperation() (EqOperation, error)

AsEqOperation returns the union data inside the ContainsSpec_Input as a EqOperation

func (ContainsSpec_Input) AsGetFieldOperator added in v0.2.0

func (t ContainsSpec_Input) AsGetFieldOperator() (GetFieldOperator, error)

AsGetFieldOperator returns the union data inside the ContainsSpec_Input as a GetFieldOperator

func (ContainsSpec_Input) AsGtOperation added in v0.2.0

func (t ContainsSpec_Input) AsGtOperation() (GtOperation, error)

AsGtOperation returns the union data inside the ContainsSpec_Input as a GtOperation

func (ContainsSpec_Input) AsGteOperation added in v0.2.0

func (t ContainsSpec_Input) AsGteOperation() (GteOperation, error)

AsGteOperation returns the union data inside the ContainsSpec_Input as a GteOperation

func (ContainsSpec_Input) AsInOperation added in v0.2.0

func (t ContainsSpec_Input) AsInOperation() (InOperation, error)

AsInOperation returns the union data inside the ContainsSpec_Input as a InOperation

func (ContainsSpec_Input) AsLiteralOperation added in v0.2.0

func (t ContainsSpec_Input) AsLiteralOperation() (LiteralOperation, error)

AsLiteralOperation returns the union data inside the ContainsSpec_Input as a LiteralOperation

func (ContainsSpec_Input) AsLtOperation added in v0.2.0

func (t ContainsSpec_Input) AsLtOperation() (LtOperation, error)

AsLtOperation returns the union data inside the ContainsSpec_Input as a LtOperation

func (ContainsSpec_Input) AsLteOperation added in v0.2.0

func (t ContainsSpec_Input) AsLteOperation() (LteOperation, error)

AsLteOperation returns the union data inside the ContainsSpec_Input as a LteOperation

func (ContainsSpec_Input) AsNotOperation added in v0.2.0

func (t ContainsSpec_Input) AsNotOperation() (NotOperation, error)

AsNotOperation returns the union data inside the ContainsSpec_Input as a NotOperation

func (ContainsSpec_Input) AsOrOperation added in v0.2.0

func (t ContainsSpec_Input) AsOrOperation() (OrOperation, error)

AsOrOperation returns the union data inside the ContainsSpec_Input as a OrOperation

func (ContainsSpec_Input) AsSizeOperation added in v0.2.0

func (t ContainsSpec_Input) AsSizeOperation() (SizeOperation, error)

AsSizeOperation returns the union data inside the ContainsSpec_Input as a SizeOperation

func (*ContainsSpec_Input) FromAndOperation added in v0.2.0

func (t *ContainsSpec_Input) FromAndOperation(v AndOperation) error

FromAndOperation overwrites any union data inside the ContainsSpec_Input as the provided AndOperation

func (*ContainsSpec_Input) FromContainsOperation added in v0.2.0

func (t *ContainsSpec_Input) FromContainsOperation(v ContainsOperation) error

FromContainsOperation overwrites any union data inside the ContainsSpec_Input as the provided ContainsOperation

func (*ContainsSpec_Input) FromConvertOperation added in v0.2.0

func (t *ContainsSpec_Input) FromConvertOperation(v ConvertOperation) error

FromConvertOperation overwrites any union data inside the ContainsSpec_Input as the provided ConvertOperation

func (*ContainsSpec_Input) FromEqOperation added in v0.2.0

func (t *ContainsSpec_Input) FromEqOperation(v EqOperation) error

FromEqOperation overwrites any union data inside the ContainsSpec_Input as the provided EqOperation

func (*ContainsSpec_Input) FromGetFieldOperator added in v0.2.0

func (t *ContainsSpec_Input) FromGetFieldOperator(v GetFieldOperator) error

FromGetFieldOperator overwrites any union data inside the ContainsSpec_Input as the provided GetFieldOperator

func (*ContainsSpec_Input) FromGtOperation added in v0.2.0

func (t *ContainsSpec_Input) FromGtOperation(v GtOperation) error

FromGtOperation overwrites any union data inside the ContainsSpec_Input as the provided GtOperation

func (*ContainsSpec_Input) FromGteOperation added in v0.2.0

func (t *ContainsSpec_Input) FromGteOperation(v GteOperation) error

FromGteOperation overwrites any union data inside the ContainsSpec_Input as the provided GteOperation

func (*ContainsSpec_Input) FromInOperation added in v0.2.0

func (t *ContainsSpec_Input) FromInOperation(v InOperation) error

FromInOperation overwrites any union data inside the ContainsSpec_Input as the provided InOperation

func (*ContainsSpec_Input) FromLiteralOperation added in v0.2.0

func (t *ContainsSpec_Input) FromLiteralOperation(v LiteralOperation) error

FromLiteralOperation overwrites any union data inside the ContainsSpec_Input as the provided LiteralOperation

func (*ContainsSpec_Input) FromLtOperation added in v0.2.0

func (t *ContainsSpec_Input) FromLtOperation(v LtOperation) error

FromLtOperation overwrites any union data inside the ContainsSpec_Input as the provided LtOperation

func (*ContainsSpec_Input) FromLteOperation added in v0.2.0

func (t *ContainsSpec_Input) FromLteOperation(v LteOperation) error

FromLteOperation overwrites any union data inside the ContainsSpec_Input as the provided LteOperation

func (*ContainsSpec_Input) FromNotOperation added in v0.2.0

func (t *ContainsSpec_Input) FromNotOperation(v NotOperation) error

FromNotOperation overwrites any union data inside the ContainsSpec_Input as the provided NotOperation

func (*ContainsSpec_Input) FromOrOperation added in v0.2.0

func (t *ContainsSpec_Input) FromOrOperation(v OrOperation) error

FromOrOperation overwrites any union data inside the ContainsSpec_Input as the provided OrOperation

func (*ContainsSpec_Input) FromSizeOperation added in v0.2.0

func (t *ContainsSpec_Input) FromSizeOperation(v SizeOperation) error

FromSizeOperation overwrites any union data inside the ContainsSpec_Input as the provided SizeOperation

func (ContainsSpec_Input) MarshalJSON added in v0.2.0

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

func (*ContainsSpec_Input) MergeAndOperation added in v0.2.0

func (t *ContainsSpec_Input) MergeAndOperation(v AndOperation) error

MergeAndOperation performs a merge with any union data inside the ContainsSpec_Input, using the provided AndOperation

func (*ContainsSpec_Input) MergeContainsOperation added in v0.2.0

func (t *ContainsSpec_Input) MergeContainsOperation(v ContainsOperation) error

MergeContainsOperation performs a merge with any union data inside the ContainsSpec_Input, using the provided ContainsOperation

func (*ContainsSpec_Input) MergeConvertOperation added in v0.2.0

func (t *ContainsSpec_Input) MergeConvertOperation(v ConvertOperation) error

MergeConvertOperation performs a merge with any union data inside the ContainsSpec_Input, using the provided ConvertOperation

func (*ContainsSpec_Input) MergeEqOperation added in v0.2.0

func (t *ContainsSpec_Input) MergeEqOperation(v EqOperation) error

MergeEqOperation performs a merge with any union data inside the ContainsSpec_Input, using the provided EqOperation

func (*ContainsSpec_Input) MergeGetFieldOperator added in v0.2.0

func (t *ContainsSpec_Input) MergeGetFieldOperator(v GetFieldOperator) error

MergeGetFieldOperator performs a merge with any union data inside the ContainsSpec_Input, using the provided GetFieldOperator

func (*ContainsSpec_Input) MergeGtOperation added in v0.2.0

func (t *ContainsSpec_Input) MergeGtOperation(v GtOperation) error

MergeGtOperation performs a merge with any union data inside the ContainsSpec_Input, using the provided GtOperation

func (*ContainsSpec_Input) MergeGteOperation added in v0.2.0

func (t *ContainsSpec_Input) MergeGteOperation(v GteOperation) error

MergeGteOperation performs a merge with any union data inside the ContainsSpec_Input, using the provided GteOperation

func (*ContainsSpec_Input) MergeInOperation added in v0.2.0

func (t *ContainsSpec_Input) MergeInOperation(v InOperation) error

MergeInOperation performs a merge with any union data inside the ContainsSpec_Input, using the provided InOperation

func (*ContainsSpec_Input) MergeLiteralOperation added in v0.2.0

func (t *ContainsSpec_Input) MergeLiteralOperation(v LiteralOperation) error

MergeLiteralOperation performs a merge with any union data inside the ContainsSpec_Input, using the provided LiteralOperation

func (*ContainsSpec_Input) MergeLtOperation added in v0.2.0

func (t *ContainsSpec_Input) MergeLtOperation(v LtOperation) error

MergeLtOperation performs a merge with any union data inside the ContainsSpec_Input, using the provided LtOperation

func (*ContainsSpec_Input) MergeLteOperation added in v0.2.0

func (t *ContainsSpec_Input) MergeLteOperation(v LteOperation) error

MergeLteOperation performs a merge with any union data inside the ContainsSpec_Input, using the provided LteOperation

func (*ContainsSpec_Input) MergeNotOperation added in v0.2.0

func (t *ContainsSpec_Input) MergeNotOperation(v NotOperation) error

MergeNotOperation performs a merge with any union data inside the ContainsSpec_Input, using the provided NotOperation

func (*ContainsSpec_Input) MergeOrOperation added in v0.2.0

func (t *ContainsSpec_Input) MergeOrOperation(v OrOperation) error

MergeOrOperation performs a merge with any union data inside the ContainsSpec_Input, using the provided OrOperation

func (*ContainsSpec_Input) MergeSizeOperation added in v0.2.0

func (t *ContainsSpec_Input) MergeSizeOperation(v SizeOperation) error

MergeSizeOperation performs a merge with any union data inside the ContainsSpec_Input, using the provided SizeOperation

func (*ContainsSpec_Input) UnmarshalJSON added in v0.2.0

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

type ContainsSpec_Substr added in v0.2.0

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

ContainsSpec_Substr defines model for ContainsSpec.Substr.

func (ContainsSpec_Substr) AsAndOperation added in v0.2.0

func (t ContainsSpec_Substr) AsAndOperation() (AndOperation, error)

AsAndOperation returns the union data inside the ContainsSpec_Substr as a AndOperation

func (ContainsSpec_Substr) AsContainsOperation added in v0.2.0

func (t ContainsSpec_Substr) AsContainsOperation() (ContainsOperation, error)

AsContainsOperation returns the union data inside the ContainsSpec_Substr as a ContainsOperation

func (ContainsSpec_Substr) AsConvertOperation added in v0.2.0

func (t ContainsSpec_Substr) AsConvertOperation() (ConvertOperation, error)

AsConvertOperation returns the union data inside the ContainsSpec_Substr as a ConvertOperation

func (ContainsSpec_Substr) AsEqOperation added in v0.2.0

func (t ContainsSpec_Substr) AsEqOperation() (EqOperation, error)

AsEqOperation returns the union data inside the ContainsSpec_Substr as a EqOperation

func (ContainsSpec_Substr) AsGetFieldOperator added in v0.2.0

func (t ContainsSpec_Substr) AsGetFieldOperator() (GetFieldOperator, error)

AsGetFieldOperator returns the union data inside the ContainsSpec_Substr as a GetFieldOperator

func (ContainsSpec_Substr) AsGtOperation added in v0.2.0

func (t ContainsSpec_Substr) AsGtOperation() (GtOperation, error)

AsGtOperation returns the union data inside the ContainsSpec_Substr as a GtOperation

func (ContainsSpec_Substr) AsGteOperation added in v0.2.0

func (t ContainsSpec_Substr) AsGteOperation() (GteOperation, error)

AsGteOperation returns the union data inside the ContainsSpec_Substr as a GteOperation

func (ContainsSpec_Substr) AsInOperation added in v0.2.0

func (t ContainsSpec_Substr) AsInOperation() (InOperation, error)

AsInOperation returns the union data inside the ContainsSpec_Substr as a InOperation

func (ContainsSpec_Substr) AsLiteralOperation added in v0.2.0

func (t ContainsSpec_Substr) AsLiteralOperation() (LiteralOperation, error)

AsLiteralOperation returns the union data inside the ContainsSpec_Substr as a LiteralOperation

func (ContainsSpec_Substr) AsLtOperation added in v0.2.0

func (t ContainsSpec_Substr) AsLtOperation() (LtOperation, error)

AsLtOperation returns the union data inside the ContainsSpec_Substr as a LtOperation

func (ContainsSpec_Substr) AsLteOperation added in v0.2.0

func (t ContainsSpec_Substr) AsLteOperation() (LteOperation, error)

AsLteOperation returns the union data inside the ContainsSpec_Substr as a LteOperation

func (ContainsSpec_Substr) AsNotOperation added in v0.2.0

func (t ContainsSpec_Substr) AsNotOperation() (NotOperation, error)

AsNotOperation returns the union data inside the ContainsSpec_Substr as a NotOperation

func (ContainsSpec_Substr) AsOrOperation added in v0.2.0

func (t ContainsSpec_Substr) AsOrOperation() (OrOperation, error)

AsOrOperation returns the union data inside the ContainsSpec_Substr as a OrOperation

func (ContainsSpec_Substr) AsSizeOperation added in v0.2.0

func (t ContainsSpec_Substr) AsSizeOperation() (SizeOperation, error)

AsSizeOperation returns the union data inside the ContainsSpec_Substr as a SizeOperation

func (*ContainsSpec_Substr) FromAndOperation added in v0.2.0

func (t *ContainsSpec_Substr) FromAndOperation(v AndOperation) error

FromAndOperation overwrites any union data inside the ContainsSpec_Substr as the provided AndOperation

func (*ContainsSpec_Substr) FromContainsOperation added in v0.2.0

func (t *ContainsSpec_Substr) FromContainsOperation(v ContainsOperation) error

FromContainsOperation overwrites any union data inside the ContainsSpec_Substr as the provided ContainsOperation

func (*ContainsSpec_Substr) FromConvertOperation added in v0.2.0

func (t *ContainsSpec_Substr) FromConvertOperation(v ConvertOperation) error

FromConvertOperation overwrites any union data inside the ContainsSpec_Substr as the provided ConvertOperation

func (*ContainsSpec_Substr) FromEqOperation added in v0.2.0

func (t *ContainsSpec_Substr) FromEqOperation(v EqOperation) error

FromEqOperation overwrites any union data inside the ContainsSpec_Substr as the provided EqOperation

func (*ContainsSpec_Substr) FromGetFieldOperator added in v0.2.0

func (t *ContainsSpec_Substr) FromGetFieldOperator(v GetFieldOperator) error

FromGetFieldOperator overwrites any union data inside the ContainsSpec_Substr as the provided GetFieldOperator

func (*ContainsSpec_Substr) FromGtOperation added in v0.2.0

func (t *ContainsSpec_Substr) FromGtOperation(v GtOperation) error

FromGtOperation overwrites any union data inside the ContainsSpec_Substr as the provided GtOperation

func (*ContainsSpec_Substr) FromGteOperation added in v0.2.0

func (t *ContainsSpec_Substr) FromGteOperation(v GteOperation) error

FromGteOperation overwrites any union data inside the ContainsSpec_Substr as the provided GteOperation

func (*ContainsSpec_Substr) FromInOperation added in v0.2.0

func (t *ContainsSpec_Substr) FromInOperation(v InOperation) error

FromInOperation overwrites any union data inside the ContainsSpec_Substr as the provided InOperation

func (*ContainsSpec_Substr) FromLiteralOperation added in v0.2.0

func (t *ContainsSpec_Substr) FromLiteralOperation(v LiteralOperation) error

FromLiteralOperation overwrites any union data inside the ContainsSpec_Substr as the provided LiteralOperation

func (*ContainsSpec_Substr) FromLtOperation added in v0.2.0

func (t *ContainsSpec_Substr) FromLtOperation(v LtOperation) error

FromLtOperation overwrites any union data inside the ContainsSpec_Substr as the provided LtOperation

func (*ContainsSpec_Substr) FromLteOperation added in v0.2.0

func (t *ContainsSpec_Substr) FromLteOperation(v LteOperation) error

FromLteOperation overwrites any union data inside the ContainsSpec_Substr as the provided LteOperation

func (*ContainsSpec_Substr) FromNotOperation added in v0.2.0

func (t *ContainsSpec_Substr) FromNotOperation(v NotOperation) error

FromNotOperation overwrites any union data inside the ContainsSpec_Substr as the provided NotOperation

func (*ContainsSpec_Substr) FromOrOperation added in v0.2.0

func (t *ContainsSpec_Substr) FromOrOperation(v OrOperation) error

FromOrOperation overwrites any union data inside the ContainsSpec_Substr as the provided OrOperation

func (*ContainsSpec_Substr) FromSizeOperation added in v0.2.0

func (t *ContainsSpec_Substr) FromSizeOperation(v SizeOperation) error

FromSizeOperation overwrites any union data inside the ContainsSpec_Substr as the provided SizeOperation

func (ContainsSpec_Substr) MarshalJSON added in v0.2.0

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

func (*ContainsSpec_Substr) MergeAndOperation added in v0.2.0

func (t *ContainsSpec_Substr) MergeAndOperation(v AndOperation) error

MergeAndOperation performs a merge with any union data inside the ContainsSpec_Substr, using the provided AndOperation

func (*ContainsSpec_Substr) MergeContainsOperation added in v0.2.0

func (t *ContainsSpec_Substr) MergeContainsOperation(v ContainsOperation) error

MergeContainsOperation performs a merge with any union data inside the ContainsSpec_Substr, using the provided ContainsOperation

func (*ContainsSpec_Substr) MergeConvertOperation added in v0.2.0

func (t *ContainsSpec_Substr) MergeConvertOperation(v ConvertOperation) error

MergeConvertOperation performs a merge with any union data inside the ContainsSpec_Substr, using the provided ConvertOperation

func (*ContainsSpec_Substr) MergeEqOperation added in v0.2.0

func (t *ContainsSpec_Substr) MergeEqOperation(v EqOperation) error

MergeEqOperation performs a merge with any union data inside the ContainsSpec_Substr, using the provided EqOperation

func (*ContainsSpec_Substr) MergeGetFieldOperator added in v0.2.0

func (t *ContainsSpec_Substr) MergeGetFieldOperator(v GetFieldOperator) error

MergeGetFieldOperator performs a merge with any union data inside the ContainsSpec_Substr, using the provided GetFieldOperator

func (*ContainsSpec_Substr) MergeGtOperation added in v0.2.0

func (t *ContainsSpec_Substr) MergeGtOperation(v GtOperation) error

MergeGtOperation performs a merge with any union data inside the ContainsSpec_Substr, using the provided GtOperation

func (*ContainsSpec_Substr) MergeGteOperation added in v0.2.0

func (t *ContainsSpec_Substr) MergeGteOperation(v GteOperation) error

MergeGteOperation performs a merge with any union data inside the ContainsSpec_Substr, using the provided GteOperation

func (*ContainsSpec_Substr) MergeInOperation added in v0.2.0

func (t *ContainsSpec_Substr) MergeInOperation(v InOperation) error

MergeInOperation performs a merge with any union data inside the ContainsSpec_Substr, using the provided InOperation

func (*ContainsSpec_Substr) MergeLiteralOperation added in v0.2.0

func (t *ContainsSpec_Substr) MergeLiteralOperation(v LiteralOperation) error

MergeLiteralOperation performs a merge with any union data inside the ContainsSpec_Substr, using the provided LiteralOperation

func (*ContainsSpec_Substr) MergeLtOperation added in v0.2.0

func (t *ContainsSpec_Substr) MergeLtOperation(v LtOperation) error

MergeLtOperation performs a merge with any union data inside the ContainsSpec_Substr, using the provided LtOperation

func (*ContainsSpec_Substr) MergeLteOperation added in v0.2.0

func (t *ContainsSpec_Substr) MergeLteOperation(v LteOperation) error

MergeLteOperation performs a merge with any union data inside the ContainsSpec_Substr, using the provided LteOperation

func (*ContainsSpec_Substr) MergeNotOperation added in v0.2.0

func (t *ContainsSpec_Substr) MergeNotOperation(v NotOperation) error

MergeNotOperation performs a merge with any union data inside the ContainsSpec_Substr, using the provided NotOperation

func (*ContainsSpec_Substr) MergeOrOperation added in v0.2.0

func (t *ContainsSpec_Substr) MergeOrOperation(v OrOperation) error

MergeOrOperation performs a merge with any union data inside the ContainsSpec_Substr, using the provided OrOperation

func (*ContainsSpec_Substr) MergeSizeOperation added in v0.2.0

func (t *ContainsSpec_Substr) MergeSizeOperation(v SizeOperation) error

MergeSizeOperation performs a merge with any union data inside the ContainsSpec_Substr, using the provided SizeOperation

func (*ContainsSpec_Substr) UnmarshalJSON added in v0.2.0

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

type ConvertOperation

type ConvertOperation struct {
	// Convert Specifies conversion details for `$convert`.
	//
	// - `input`: The operand to convert.
	// - `to`: The type to convert to.
	Convert ConvertSpec `json:"$convert"`
}

ConvertOperation Convert the input value to a specific type (e.g., `int`, `bool`, `string`).

Example:

```
{
    "$convert": {
        "input": {"$getField": "inputs.value"},
        "to": "int"
    }
}
```

type ConvertSpec

type ConvertSpec struct {
	Input ConvertSpec_Input `json:"input"`
	To    ConvertSpecTo     `json:"to"`
}

ConvertSpec Specifies conversion details for `$convert`.

- `input`: The operand to convert. - `to`: The type to convert to.

type ConvertSpecTo

type ConvertSpecTo string

ConvertSpecTo defines model for ConvertSpec.To.

const (
	ConvertSpecToBool   ConvertSpecTo = "bool"
	ConvertSpecToDouble ConvertSpecTo = "double"
	ConvertSpecToExists ConvertSpecTo = "exists"
	ConvertSpecToInt    ConvertSpecTo = "int"
	ConvertSpecToString ConvertSpecTo = "string"
)

Defines values for ConvertSpecTo.

func (ConvertSpecTo) Valid

func (e ConvertSpecTo) Valid() bool

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

type ConvertSpec_Input added in v0.2.0

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

ConvertSpec_Input defines model for ConvertSpec.Input.

func (ConvertSpec_Input) AsAndOperation added in v0.2.0

func (t ConvertSpec_Input) AsAndOperation() (AndOperation, error)

AsAndOperation returns the union data inside the ConvertSpec_Input as a AndOperation

func (ConvertSpec_Input) AsContainsOperation added in v0.2.0

func (t ConvertSpec_Input) AsContainsOperation() (ContainsOperation, error)

AsContainsOperation returns the union data inside the ConvertSpec_Input as a ContainsOperation

func (ConvertSpec_Input) AsConvertOperation added in v0.2.0

func (t ConvertSpec_Input) AsConvertOperation() (ConvertOperation, error)

AsConvertOperation returns the union data inside the ConvertSpec_Input as a ConvertOperation

func (ConvertSpec_Input) AsEqOperation added in v0.2.0

func (t ConvertSpec_Input) AsEqOperation() (EqOperation, error)

AsEqOperation returns the union data inside the ConvertSpec_Input as a EqOperation

func (ConvertSpec_Input) AsGetFieldOperator added in v0.2.0

func (t ConvertSpec_Input) AsGetFieldOperator() (GetFieldOperator, error)

AsGetFieldOperator returns the union data inside the ConvertSpec_Input as a GetFieldOperator

func (ConvertSpec_Input) AsGtOperation added in v0.2.0

func (t ConvertSpec_Input) AsGtOperation() (GtOperation, error)

AsGtOperation returns the union data inside the ConvertSpec_Input as a GtOperation

func (ConvertSpec_Input) AsGteOperation added in v0.2.0

func (t ConvertSpec_Input) AsGteOperation() (GteOperation, error)

AsGteOperation returns the union data inside the ConvertSpec_Input as a GteOperation

func (ConvertSpec_Input) AsInOperation added in v0.2.0

func (t ConvertSpec_Input) AsInOperation() (InOperation, error)

AsInOperation returns the union data inside the ConvertSpec_Input as a InOperation

func (ConvertSpec_Input) AsLiteralOperation added in v0.2.0

func (t ConvertSpec_Input) AsLiteralOperation() (LiteralOperation, error)

AsLiteralOperation returns the union data inside the ConvertSpec_Input as a LiteralOperation

func (ConvertSpec_Input) AsLtOperation added in v0.2.0

func (t ConvertSpec_Input) AsLtOperation() (LtOperation, error)

AsLtOperation returns the union data inside the ConvertSpec_Input as a LtOperation

func (ConvertSpec_Input) AsLteOperation added in v0.2.0

func (t ConvertSpec_Input) AsLteOperation() (LteOperation, error)

AsLteOperation returns the union data inside the ConvertSpec_Input as a LteOperation

func (ConvertSpec_Input) AsNotOperation added in v0.2.0

func (t ConvertSpec_Input) AsNotOperation() (NotOperation, error)

AsNotOperation returns the union data inside the ConvertSpec_Input as a NotOperation

func (ConvertSpec_Input) AsOrOperation added in v0.2.0

func (t ConvertSpec_Input) AsOrOperation() (OrOperation, error)

AsOrOperation returns the union data inside the ConvertSpec_Input as a OrOperation

func (ConvertSpec_Input) AsSizeOperation added in v0.2.0

func (t ConvertSpec_Input) AsSizeOperation() (SizeOperation, error)

AsSizeOperation returns the union data inside the ConvertSpec_Input as a SizeOperation

func (*ConvertSpec_Input) FromAndOperation added in v0.2.0

func (t *ConvertSpec_Input) FromAndOperation(v AndOperation) error

FromAndOperation overwrites any union data inside the ConvertSpec_Input as the provided AndOperation

func (*ConvertSpec_Input) FromContainsOperation added in v0.2.0

func (t *ConvertSpec_Input) FromContainsOperation(v ContainsOperation) error

FromContainsOperation overwrites any union data inside the ConvertSpec_Input as the provided ContainsOperation

func (*ConvertSpec_Input) FromConvertOperation added in v0.2.0

func (t *ConvertSpec_Input) FromConvertOperation(v ConvertOperation) error

FromConvertOperation overwrites any union data inside the ConvertSpec_Input as the provided ConvertOperation

func (*ConvertSpec_Input) FromEqOperation added in v0.2.0

func (t *ConvertSpec_Input) FromEqOperation(v EqOperation) error

FromEqOperation overwrites any union data inside the ConvertSpec_Input as the provided EqOperation

func (*ConvertSpec_Input) FromGetFieldOperator added in v0.2.0

func (t *ConvertSpec_Input) FromGetFieldOperator(v GetFieldOperator) error

FromGetFieldOperator overwrites any union data inside the ConvertSpec_Input as the provided GetFieldOperator

func (*ConvertSpec_Input) FromGtOperation added in v0.2.0

func (t *ConvertSpec_Input) FromGtOperation(v GtOperation) error

FromGtOperation overwrites any union data inside the ConvertSpec_Input as the provided GtOperation

func (*ConvertSpec_Input) FromGteOperation added in v0.2.0

func (t *ConvertSpec_Input) FromGteOperation(v GteOperation) error

FromGteOperation overwrites any union data inside the ConvertSpec_Input as the provided GteOperation

func (*ConvertSpec_Input) FromInOperation added in v0.2.0

func (t *ConvertSpec_Input) FromInOperation(v InOperation) error

FromInOperation overwrites any union data inside the ConvertSpec_Input as the provided InOperation

func (*ConvertSpec_Input) FromLiteralOperation added in v0.2.0

func (t *ConvertSpec_Input) FromLiteralOperation(v LiteralOperation) error

FromLiteralOperation overwrites any union data inside the ConvertSpec_Input as the provided LiteralOperation

func (*ConvertSpec_Input) FromLtOperation added in v0.2.0

func (t *ConvertSpec_Input) FromLtOperation(v LtOperation) error

FromLtOperation overwrites any union data inside the ConvertSpec_Input as the provided LtOperation

func (*ConvertSpec_Input) FromLteOperation added in v0.2.0

func (t *ConvertSpec_Input) FromLteOperation(v LteOperation) error

FromLteOperation overwrites any union data inside the ConvertSpec_Input as the provided LteOperation

func (*ConvertSpec_Input) FromNotOperation added in v0.2.0

func (t *ConvertSpec_Input) FromNotOperation(v NotOperation) error

FromNotOperation overwrites any union data inside the ConvertSpec_Input as the provided NotOperation

func (*ConvertSpec_Input) FromOrOperation added in v0.2.0

func (t *ConvertSpec_Input) FromOrOperation(v OrOperation) error

FromOrOperation overwrites any union data inside the ConvertSpec_Input as the provided OrOperation

func (*ConvertSpec_Input) FromSizeOperation added in v0.2.0

func (t *ConvertSpec_Input) FromSizeOperation(v SizeOperation) error

FromSizeOperation overwrites any union data inside the ConvertSpec_Input as the provided SizeOperation

func (ConvertSpec_Input) MarshalJSON added in v0.2.0

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

func (*ConvertSpec_Input) MergeAndOperation added in v0.2.0

func (t *ConvertSpec_Input) MergeAndOperation(v AndOperation) error

MergeAndOperation performs a merge with any union data inside the ConvertSpec_Input, using the provided AndOperation

func (*ConvertSpec_Input) MergeContainsOperation added in v0.2.0

func (t *ConvertSpec_Input) MergeContainsOperation(v ContainsOperation) error

MergeContainsOperation performs a merge with any union data inside the ConvertSpec_Input, using the provided ContainsOperation

func (*ConvertSpec_Input) MergeConvertOperation added in v0.2.0

func (t *ConvertSpec_Input) MergeConvertOperation(v ConvertOperation) error

MergeConvertOperation performs a merge with any union data inside the ConvertSpec_Input, using the provided ConvertOperation

func (*ConvertSpec_Input) MergeEqOperation added in v0.2.0

func (t *ConvertSpec_Input) MergeEqOperation(v EqOperation) error

MergeEqOperation performs a merge with any union data inside the ConvertSpec_Input, using the provided EqOperation

func (*ConvertSpec_Input) MergeGetFieldOperator added in v0.2.0

func (t *ConvertSpec_Input) MergeGetFieldOperator(v GetFieldOperator) error

MergeGetFieldOperator performs a merge with any union data inside the ConvertSpec_Input, using the provided GetFieldOperator

func (*ConvertSpec_Input) MergeGtOperation added in v0.2.0

func (t *ConvertSpec_Input) MergeGtOperation(v GtOperation) error

MergeGtOperation performs a merge with any union data inside the ConvertSpec_Input, using the provided GtOperation

func (*ConvertSpec_Input) MergeGteOperation added in v0.2.0

func (t *ConvertSpec_Input) MergeGteOperation(v GteOperation) error

MergeGteOperation performs a merge with any union data inside the ConvertSpec_Input, using the provided GteOperation

func (*ConvertSpec_Input) MergeInOperation added in v0.2.0

func (t *ConvertSpec_Input) MergeInOperation(v InOperation) error

MergeInOperation performs a merge with any union data inside the ConvertSpec_Input, using the provided InOperation

func (*ConvertSpec_Input) MergeLiteralOperation added in v0.2.0

func (t *ConvertSpec_Input) MergeLiteralOperation(v LiteralOperation) error

MergeLiteralOperation performs a merge with any union data inside the ConvertSpec_Input, using the provided LiteralOperation

func (*ConvertSpec_Input) MergeLtOperation added in v0.2.0

func (t *ConvertSpec_Input) MergeLtOperation(v LtOperation) error

MergeLtOperation performs a merge with any union data inside the ConvertSpec_Input, using the provided LtOperation

func (*ConvertSpec_Input) MergeLteOperation added in v0.2.0

func (t *ConvertSpec_Input) MergeLteOperation(v LteOperation) error

MergeLteOperation performs a merge with any union data inside the ConvertSpec_Input, using the provided LteOperation

func (*ConvertSpec_Input) MergeNotOperation added in v0.2.0

func (t *ConvertSpec_Input) MergeNotOperation(v NotOperation) error

MergeNotOperation performs a merge with any union data inside the ConvertSpec_Input, using the provided NotOperation

func (*ConvertSpec_Input) MergeOrOperation added in v0.2.0

func (t *ConvertSpec_Input) MergeOrOperation(v OrOperation) error

MergeOrOperation performs a merge with any union data inside the ConvertSpec_Input, using the provided OrOperation

func (*ConvertSpec_Input) MergeSizeOperation added in v0.2.0

func (t *ConvertSpec_Input) MergeSizeOperation(v SizeOperation) error

MergeSizeOperation performs a merge with any union data inside the ConvertSpec_Input, using the provided SizeOperation

func (*ConvertSpec_Input) UnmarshalJSON added in v0.2.0

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

type Cost added in v0.2.0

type Cost struct {
	// CacheRead Cost per million cached read tokens (USD).
	CacheRead *float64 `json:"cache_read,omitempty"`

	// CacheWrite Cost per million cached write tokens (USD).
	CacheWrite *float64 `json:"cache_write,omitempty"`

	// Input Cost per million input tokens (USD).
	Input float64 `json:"input"`

	// InputAudio Cost per million audio input tokens (USD).
	InputAudio *float64 `json:"input_audio,omitempty"`

	// Output Cost per million output tokens (USD).
	Output float64 `json:"output"`

	// OutputAudio Cost per million audio output tokens (USD).
	OutputAudio *float64 `json:"output_audio,omitempty"`

	// Reasoning Cost per million reasoning tokens (USD).
	Reasoning *float64 `json:"reasoning,omitempty"`
}

Cost Costs are expressed in USD per million tokens.

type CostCreateCostCreatePostJSONRequestBody

type CostCreateCostCreatePostJSONRequestBody = CostCreateReq

CostCreateCostCreatePostJSONRequestBody defines body for CostCreateCostCreatePost for application/json ContentType.

type CostCreateCostCreatePostResponse

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

func ParseCostCreateCostCreatePostResponse

func ParseCostCreateCostCreatePostResponse(rsp *http.Response) (*CostCreateCostCreatePostResponse, error)

ParseCostCreateCostCreatePostResponse parses an HTTP response from a CostCreateCostCreatePostWithResponse call

func (CostCreateCostCreatePostResponse) ContentType

func (r CostCreateCostCreatePostResponse) ContentType() string

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

func (CostCreateCostCreatePostResponse) GetBody

func (r CostCreateCostCreatePostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CostCreateCostCreatePostResponse) GetJSON200

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

func (CostCreateCostCreatePostResponse) GetJSON422

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

func (CostCreateCostCreatePostResponse) Status

Status returns HTTPResponse.Status

func (CostCreateCostCreatePostResponse) StatusCode

func (r CostCreateCostCreatePostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CostCreateInput

type CostCreateInput struct {
	CacheCreationInputTokenCost *float64 `json:"cache_creation_input_token_cost,omitempty"`
	CacheReadInputTokenCost     *float64 `json:"cache_read_input_token_cost,omitempty"`
	CompletionTokenCost         float64  `json:"completion_token_cost"`

	// CompletionTokenCostUnit The unit of the cost for the completion tokens
	CompletionTokenCostUnit *string `json:"completion_token_cost_unit,omitempty"`

	// EffectiveDate The date after which the cost is effective for, will default to the current date if not provided
	EffectiveDate   *time.Time `json:"effective_date,omitempty"`
	PromptTokenCost float64    `json:"prompt_token_cost"`

	// PromptTokenCostUnit The unit of the cost for the prompt tokens
	PromptTokenCostUnit *string `json:"prompt_token_cost_unit,omitempty"`

	// ProviderId The provider of the LLM, e.g. 'openai' or 'mistral'. If not provided, the provider_id will be set to 'default'
	ProviderId *string `json:"provider_id,omitempty"`
}

CostCreateInput defines model for CostCreateInput.

type CostCreateReq

type CostCreateReq struct {
	Costs map[string]CostCreateInput `json:"costs"`

	// ProjectId Examples: entity/project
	ProjectId string `json:"project_id"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`
}

CostCreateReq defines model for CostCreateReq.

type CostCreateRes

type CostCreateRes struct {
	Ids [][]interface{} `json:"ids"`
}

CostCreateRes defines model for CostCreateRes.

type CostPurgeCostPurgePostJSONRequestBody

type CostPurgeCostPurgePostJSONRequestBody = CostPurgeReq

CostPurgeCostPurgePostJSONRequestBody defines body for CostPurgeCostPurgePost for application/json ContentType.

type CostPurgeCostPurgePostResponse

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

func ParseCostPurgeCostPurgePostResponse

func ParseCostPurgeCostPurgePostResponse(rsp *http.Response) (*CostPurgeCostPurgePostResponse, error)

ParseCostPurgeCostPurgePostResponse parses an HTTP response from a CostPurgeCostPurgePostWithResponse call

func (CostPurgeCostPurgePostResponse) ContentType

func (r CostPurgeCostPurgePostResponse) ContentType() string

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

func (CostPurgeCostPurgePostResponse) GetBody

func (r CostPurgeCostPurgePostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CostPurgeCostPurgePostResponse) GetJSON200

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

func (CostPurgeCostPurgePostResponse) GetJSON422

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

func (CostPurgeCostPurgePostResponse) Status

Status returns HTTPResponse.Status

func (CostPurgeCostPurgePostResponse) StatusCode

func (r CostPurgeCostPurgePostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CostPurgeReq

type CostPurgeReq struct {
	// ProjectId Examples: entity/project
	ProjectId string `json:"project_id"`
	Query     Query  `json:"query"`
}

CostPurgeReq defines model for CostPurgeReq.

type CostPurgeRes

type CostPurgeRes = map[string]interface{}

CostPurgeRes defines model for CostPurgeRes.

type CostQueryCostQueryPostJSONRequestBody

type CostQueryCostQueryPostJSONRequestBody = CostQueryReq

CostQueryCostQueryPostJSONRequestBody defines body for CostQueryCostQueryPost for application/json ContentType.

type CostQueryCostQueryPostResponse

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

func ParseCostQueryCostQueryPostResponse

func ParseCostQueryCostQueryPostResponse(rsp *http.Response) (*CostQueryCostQueryPostResponse, error)

ParseCostQueryCostQueryPostResponse parses an HTTP response from a CostQueryCostQueryPostWithResponse call

func (CostQueryCostQueryPostResponse) ContentType

func (r CostQueryCostQueryPostResponse) ContentType() string

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

func (CostQueryCostQueryPostResponse) GetBody

func (r CostQueryCostQueryPostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CostQueryCostQueryPostResponse) GetJSON200

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

func (CostQueryCostQueryPostResponse) GetJSON422

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

func (CostQueryCostQueryPostResponse) Status

Status returns HTTPResponse.Status

func (CostQueryCostQueryPostResponse) StatusCode

func (r CostQueryCostQueryPostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CostQueryOutput

type CostQueryOutput struct {
	// CacheCreationInputTokenCost Examples: 1
	CacheCreationInputTokenCost *float64 `json:"cache_creation_input_token_cost,omitempty"`

	// CacheReadInputTokenCost Examples: 1
	CacheReadInputTokenCost *float64 `json:"cache_read_input_token_cost,omitempty"`

	// CompletionTokenCost Examples: 1
	CompletionTokenCost *float64 `json:"completion_token_cost,omitempty"`

	// CompletionTokenCostUnit Examples: USD
	CompletionTokenCostUnit *string `json:"completion_token_cost_unit,omitempty"`

	// EffectiveDate Examples: 2024-01-01T00:00:00Z
	EffectiveDate *time.Time `json:"effective_date,omitempty"`

	// Id Examples: 2341-asdf-asdf
	Id *string `json:"id,omitempty"`

	// LlmId Examples: gpt4
	LlmId *string `json:"llm_id,omitempty"`

	// PromptTokenCost Examples: 1
	PromptTokenCost *float64 `json:"prompt_token_cost,omitempty"`

	// PromptTokenCostUnit Examples: USD
	PromptTokenCostUnit *string `json:"prompt_token_cost_unit,omitempty"`

	// ProviderId Examples: openai
	ProviderId *string `json:"provider_id,omitempty"`
}

CostQueryOutput defines model for CostQueryOutput.

type CostQueryReq

type CostQueryReq struct {
	// Fields Examples: ["id","llm_id","prompt_token_cost","completion_token_cost","prompt_token_cost_unit","completion_token_cost_unit","effective_date","provider_id"]
	Fields *[]string `json:"fields,omitempty"`

	// Limit Examples: 10
	Limit *int `json:"limit,omitempty"`

	// Offset Examples: 0
	Offset *int `json:"offset,omitempty"`

	// ProjectId Examples: entity/project
	ProjectId string    `json:"project_id"`
	Query     *Query    `json:"query,omitempty"`
	SortBy    *[]SortBy `json:"sort_by,omitempty"`
}

CostQueryReq defines model for CostQueryReq.

type CostQueryRes

type CostQueryRes struct {
	Results []CostQueryOutput `json:"results"`
}

CostQueryRes defines model for CostQueryRes.

type CreateAndLinkPayload added in v0.2.0

type CreateAndLinkPayload struct {
	Aliases *[]string           `json:"aliases,omitempty"`
	Ref     string              `json:"ref"`
	Target  CreateAndLinkTarget `json:"target"`
}

CreateAndLinkPayload defines model for CreateAndLinkPayload.

type CreateAndLinkTarget added in v0.2.0

type CreateAndLinkTarget struct {
	EntityName    string `json:"entity_name"`
	PortfolioName string `json:"portfolio_name"`
	ProjectName   string `json:"project_name"`
}

CreateAndLinkTarget defines model for CreateAndLinkTarget.

type CreateAndLinkWeaveAssetRes added in v0.2.0

type CreateAndLinkWeaveAssetRes struct {
	VersionIndex *int `json:"version_index,omitempty"`
}

CreateAndLinkWeaveAssetRes defines model for CreateAndLinkWeaveAssetRes.

type CustomRuntimeApplyBody added in v0.2.0

type CustomRuntimeApplyBody struct {
	// ApiKeySecret Team secret name used as the endpoint API key; never the secret value
	ApiKeySecret *string `json:"api_key_secret,omitempty"`

	// BaseUrl Public OpenAI-compatible endpoint base URL
	BaseUrl string `json:"base_url"`

	// Headers Literal headers forwarded to the endpoint
	Headers *map[string]string `json:"headers,omitempty"`

	// RuntimeIds Complete desired list of IDs exposed by the endpoint
	RuntimeIds []CustomRuntimeID `json:"runtime_ids"`
}

CustomRuntimeApplyBody defines model for CustomRuntimeApplyBody.

type CustomRuntimeApplyRes added in v0.2.0

type CustomRuntimeApplyRes struct {
	ApiKeySecret *string           `json:"api_key_secret"`
	BaseUrl      string            `json:"base_url"`
	Headers      map[string]string `json:"headers"`

	// Name Stable custom runtime name
	Name       string               `json:"name"`
	RuntimeIds []CustomRuntimeIDRes `json:"runtime_ids"`
}

CustomRuntimeApplyRes defines model for CustomRuntimeApplyRes.

type CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutJSONRequestBody added in v0.2.0

type CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutJSONRequestBody = CustomRuntimeApplyBody

CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutJSONRequestBody defines body for CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePut for application/json ContentType.

type CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutResponse added in v0.2.0

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

func ParseCustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutResponse added in v0.2.0

func ParseCustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutResponse(rsp *http.Response) (*CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutResponse, error)

ParseCustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutResponse parses an HTTP response from a CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutWithResponse call

func (CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutResponse) ContentType added in v0.2.0

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

func (CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutResponse) GetJSON200 added in v0.2.0

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

func (CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutResponse) GetJSON422 added in v0.2.0

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

func (CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (CustomRuntimeApplyV2EntityProjectRuntimesRuntimeNamePutResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type CustomRuntimeID added in v0.2.0

type CustomRuntimeID struct {
	// Id Value sent in the OpenAI-compatible request model field
	Id string `json:"id"`

	// MaxTokens Maximum tokens supported by this runtime ID
	MaxTokens *int `json:"max_tokens,omitempty"`
}

CustomRuntimeID defines model for CustomRuntimeID.

type CustomRuntimeIDRes added in v0.2.0

type CustomRuntimeIDRes struct {
	// Id Value sent in the OpenAI-compatible request model field
	Id string `json:"id"`

	// MaxTokens Maximum tokens supported by this runtime ID
	MaxTokens    int    `json:"max_tokens"`
	PlaygroundId string `json:"playground_id"`
}

CustomRuntimeIDRes defines model for CustomRuntimeIDRes.

type Datacenter

type Datacenter struct {
	CountryCode string `json:"country_code"`
}

Datacenter defines model for Datacenter.

type DatasetCreateBody

type DatasetCreateBody struct {
	// Description A description of this dataset
	Description *string `json:"description,omitempty"`

	// Name The name of this dataset.  Datasets with the same name will be versioned together.
	Name *string `json:"name,omitempty"`

	// Rows Dataset rows
	Rows []map[string]interface{} `json:"rows"`
}

DatasetCreateBody defines model for DatasetCreateBody.

type DatasetCreateRes

type DatasetCreateRes struct {
	// Digest The digest of the created dataset
	Digest string `json:"digest"`

	// ObjectId The ID of the created dataset
	ObjectId string `json:"object_id"`

	// VersionIndex The version index of the created dataset
	VersionIndex int `json:"version_index"`
}

DatasetCreateRes defines model for DatasetCreateRes.

type DatasetCreateV2EntityProjectDatasetsPostJSONRequestBody

type DatasetCreateV2EntityProjectDatasetsPostJSONRequestBody = DatasetCreateBody

DatasetCreateV2EntityProjectDatasetsPostJSONRequestBody defines body for DatasetCreateV2EntityProjectDatasetsPost for application/json ContentType.

type DatasetCreateV2EntityProjectDatasetsPostResponse

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

func ParseDatasetCreateV2EntityProjectDatasetsPostResponse

func ParseDatasetCreateV2EntityProjectDatasetsPostResponse(rsp *http.Response) (*DatasetCreateV2EntityProjectDatasetsPostResponse, error)

ParseDatasetCreateV2EntityProjectDatasetsPostResponse parses an HTTP response from a DatasetCreateV2EntityProjectDatasetsPostWithResponse call

func (DatasetCreateV2EntityProjectDatasetsPostResponse) ContentType

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

func (DatasetCreateV2EntityProjectDatasetsPostResponse) GetBody

GetBody returns the raw response body bytes

func (DatasetCreateV2EntityProjectDatasetsPostResponse) GetJSON200

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

func (DatasetCreateV2EntityProjectDatasetsPostResponse) GetJSON422

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

func (DatasetCreateV2EntityProjectDatasetsPostResponse) Status

Status returns HTTPResponse.Status

func (DatasetCreateV2EntityProjectDatasetsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DatasetDeleteRes

type DatasetDeleteRes struct {
	// NumDeleted Number of dataset versions deleted
	NumDeleted int `json:"num_deleted"`
}

DatasetDeleteRes defines model for DatasetDeleteRes.

type DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteParams

type DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteParams struct {
	// Digests List of digests to delete. If not provided, all digests for the dataset will be deleted.
	Digests *[]string `form:"digests,omitempty" json:"digests,omitempty"`
}

DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteParams defines parameters for DatasetDeleteV2EntityProjectDatasetsObjectIdDelete.

type DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteResponse

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

func ParseDatasetDeleteV2EntityProjectDatasetsObjectIdDeleteResponse

func ParseDatasetDeleteV2EntityProjectDatasetsObjectIdDeleteResponse(rsp *http.Response) (*DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteResponse, error)

ParseDatasetDeleteV2EntityProjectDatasetsObjectIdDeleteResponse parses an HTTP response from a DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteWithResponse call

func (DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteResponse) ContentType

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

func (DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteResponse) GetBody

GetBody returns the raw response body bytes

func (DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteResponse) GetJSON200

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

func (DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteResponse) GetJSON422

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

func (DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteResponse) Status

Status returns HTTPResponse.Status

func (DatasetDeleteV2EntityProjectDatasetsObjectIdDeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DatasetListV2EntityProjectDatasetsGetParams

type DatasetListV2EntityProjectDatasetsGetParams struct {
	// Limit Maximum number of datasets to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of datasets to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

DatasetListV2EntityProjectDatasetsGetParams defines parameters for DatasetListV2EntityProjectDatasetsGet.

type DatasetListV2EntityProjectDatasetsGetResponse

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

func ParseDatasetListV2EntityProjectDatasetsGetResponse

func ParseDatasetListV2EntityProjectDatasetsGetResponse(rsp *http.Response) (*DatasetListV2EntityProjectDatasetsGetResponse, error)

ParseDatasetListV2EntityProjectDatasetsGetResponse parses an HTTP response from a DatasetListV2EntityProjectDatasetsGetWithResponse call

func (DatasetListV2EntityProjectDatasetsGetResponse) ContentType

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

func (DatasetListV2EntityProjectDatasetsGetResponse) GetBody

GetBody returns the raw response body bytes

func (DatasetListV2EntityProjectDatasetsGetResponse) GetJSON422

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

func (DatasetListV2EntityProjectDatasetsGetResponse) Status

Status returns HTTPResponse.Status

func (DatasetListV2EntityProjectDatasetsGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DatasetReadRes

type DatasetReadRes struct {
	// CreatedAt When the object was created
	CreatedAt time.Time `json:"created_at"`

	// Description Description of the dataset
	Description *string `json:"description,omitempty"`

	// Digest The digest of the dataset object
	Digest string `json:"digest"`

	// Name The name of the dataset
	Name string `json:"name"`

	// ObjectId The dataset ID
	ObjectId string `json:"object_id"`

	// Rows Reference to the dataset rows data
	Rows string `json:"rows"`

	// VersionIndex The version index of the object
	VersionIndex int `json:"version_index"`
}

DatasetReadRes defines model for DatasetReadRes.

type DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetResponse

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

func ParseDatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetResponse

func ParseDatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetResponse(rsp *http.Response) (*DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetResponse, error)

ParseDatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetResponse parses an HTTP response from a DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetWithResponse call

func (DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetResponse) ContentType

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

func (DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetResponse) GetBody

GetBody returns the raw response body bytes

func (DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetResponse) GetJSON200

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

func (DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetResponse) GetJSON422

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

func (DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetResponse) Status

Status returns HTTPResponse.Status

func (DatasetReadV2EntityProjectDatasetsObjectIdVersionsDigestGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DatasetSourceLinkPayload added in v0.2.0

type DatasetSourceLinkPayload struct {
	LinkMetadata *map[string]interface{} `json:"link_metadata,omitempty"`
	RowDigest    string                  `json:"row_digest"`
	Sources      []SourceRef             `json:"sources"`
}

DatasetSourceLinkPayload A single dataset row and the sources to link to it.

type DatasetSourceLinkSchema added in v0.2.0

type DatasetSourceLinkSchema struct {
	AddedBy           *string                 `json:"added_by"`
	CreatedAt         time.Time               `json:"created_at"`
	DeletedAt         *time.Time              `json:"deleted_at"`
	Id                string                  `json:"id"`
	LinkMetadata      *map[string]interface{} `json:"link_metadata"`
	RowDigest         string                  `json:"row_digest"`
	SourceDisplayName string                  `json:"source_display_name"`
	SourceId          string                  `json:"source_id"`
	SourceKind        SourceKind              `json:"source_kind"`
	SourceStartedAt   time.Time               `json:"source_started_at"`
	SourceTraceId     string                  `json:"source_trace_id"`
	UpdatedAt         time.Time               `json:"updated_at"`
}

DatasetSourceLinkSchema Schema for a single dataset source link row.

type DatasetSourcesLinkDatasetSourcesLinkPostJSONRequestBody added in v0.2.0

type DatasetSourcesLinkDatasetSourcesLinkPostJSONRequestBody = DatasetSourcesLinkReq

DatasetSourcesLinkDatasetSourcesLinkPostJSONRequestBody defines body for DatasetSourcesLinkDatasetSourcesLinkPost for application/json ContentType.

type DatasetSourcesLinkDatasetSourcesLinkPostResponse added in v0.2.0

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

func ParseDatasetSourcesLinkDatasetSourcesLinkPostResponse added in v0.2.0

func ParseDatasetSourcesLinkDatasetSourcesLinkPostResponse(rsp *http.Response) (*DatasetSourcesLinkDatasetSourcesLinkPostResponse, error)

ParseDatasetSourcesLinkDatasetSourcesLinkPostResponse parses an HTTP response from a DatasetSourcesLinkDatasetSourcesLinkPostWithResponse call

func (DatasetSourcesLinkDatasetSourcesLinkPostResponse) ContentType added in v0.2.0

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

func (DatasetSourcesLinkDatasetSourcesLinkPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (DatasetSourcesLinkDatasetSourcesLinkPostResponse) GetJSON200 added in v0.2.0

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

func (DatasetSourcesLinkDatasetSourcesLinkPostResponse) GetJSON422 added in v0.2.0

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

func (DatasetSourcesLinkDatasetSourcesLinkPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (DatasetSourcesLinkDatasetSourcesLinkPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type DatasetSourcesLinkReq added in v0.2.0

type DatasetSourcesLinkReq struct {
	DatasetDigest        string                     `json:"dataset_digest"`
	DatasetObjectId      string                     `json:"dataset_object_id"`
	IncludeCreatedStatus *bool                      `json:"include_created_status,omitempty"`
	Links                []DatasetSourceLinkPayload `json:"links"`

	// ProjectId Examples: entity/project
	ProjectId string `json:"project_id"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`
}

DatasetSourcesLinkReq Request to link dataset rows to their provenance sources.

type DatasetSourcesLinkRes added in v0.2.0

type DatasetSourcesLinkRes struct {
	Entries []DatasetSourcesLinkResEntry `json:"entries"`
}

DatasetSourcesLinkRes Response from linking dataset rows to sources.

One entry per flattened (row_digest, source) tuple, in input order.

type DatasetSourcesLinkResEntry added in v0.2.0

type DatasetSourcesLinkResEntry struct {
	Created *bool  `json:"created"`
	LinkId  string `json:"link_id"`
}

DatasetSourcesLinkResEntry Result for a single flattened (row_digest, source) link.

type DatasetSourcesQueryDatasetSourcesQueryPostJSONRequestBody added in v0.2.0

type DatasetSourcesQueryDatasetSourcesQueryPostJSONRequestBody = DatasetSourcesQueryReq

DatasetSourcesQueryDatasetSourcesQueryPostJSONRequestBody defines body for DatasetSourcesQueryDatasetSourcesQueryPost for application/json ContentType.

type DatasetSourcesQueryDatasetSourcesQueryPostResponse added in v0.2.0

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

func ParseDatasetSourcesQueryDatasetSourcesQueryPostResponse added in v0.2.0

func ParseDatasetSourcesQueryDatasetSourcesQueryPostResponse(rsp *http.Response) (*DatasetSourcesQueryDatasetSourcesQueryPostResponse, error)

ParseDatasetSourcesQueryDatasetSourcesQueryPostResponse parses an HTTP response from a DatasetSourcesQueryDatasetSourcesQueryPostWithResponse call

func (DatasetSourcesQueryDatasetSourcesQueryPostResponse) ContentType added in v0.2.0

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

func (DatasetSourcesQueryDatasetSourcesQueryPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (DatasetSourcesQueryDatasetSourcesQueryPostResponse) GetJSON200 added in v0.2.0

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

func (DatasetSourcesQueryDatasetSourcesQueryPostResponse) GetJSON422 added in v0.2.0

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

func (DatasetSourcesQueryDatasetSourcesQueryPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (DatasetSourcesQueryDatasetSourcesQueryPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type DatasetSourcesQueryReq added in v0.2.0

type DatasetSourcesQueryReq struct {
	DatasetObjectId string `json:"dataset_object_id"`
	IncludeDeleted  *bool  `json:"include_deleted,omitempty"`
	Limit           *int   `json:"limit,omitempty"`
	Offset          *int   `json:"offset,omitempty"`

	// ProjectId Examples: entity/project
	ProjectId   string        `json:"project_id"`
	RowDigests  *[]string     `json:"row_digests,omitempty"`
	SourceKinds *[]SourceKind `json:"source_kinds,omitempty"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`
}

DatasetSourcesQueryReq Forward query: dataset -> sources.

type DatasetSourcesQueryRes added in v0.2.0

type DatasetSourcesQueryRes struct {
	Links []DatasetSourceLinkSchema `json:"links"`
}

DatasetSourcesQueryRes Response from the forward dataset -> sources query.

type DedicatedInferenceRoute added in v0.2.0

type DedicatedInferenceRoute struct {
	BaseUrl        string                                `json:"base_url"`
	Connection     string                                `json:"connection"`
	ConnectionType DedicatedInferenceRouteConnectionType `json:"connection_type"`
}

DedicatedInferenceRoute Server-side routing information for a dedicated inference deployment.

type DedicatedInferenceRouteConnectionType added in v0.2.0

type DedicatedInferenceRouteConnectionType string

DedicatedInferenceRouteConnectionType defines model for DedicatedInferenceRoute.ConnectionType.

const (
	DedicatedInferenceRouteConnectionTypeDedicated DedicatedInferenceRouteConnectionType = "dedicated"
)

Defines values for DedicatedInferenceRouteConnectionType.

func (DedicatedInferenceRouteConnectionType) Valid added in v0.2.0

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

type DeletedObjVersion added in v0.2.0

type DeletedObjVersion struct {
	BaseObjectClass *string `json:"base_object_class,omitempty"`
	Digest          string  `json:"digest"`
	LeafObjectClass *string `json:"leaf_object_class,omitempty"`
}

DeletedObjVersion defines model for DeletedObjVersion.

type EndedCallSchemaForInsert

type EndedCallSchemaForInsert struct {
	EndedAt      time.Time        `json:"ended_at"`
	Exception    *string          `json:"exception,omitempty"`
	Id           string           `json:"id"`
	IsEval       *bool            `json:"is_eval,omitempty"`
	Output       interface{}      `json:"output,omitempty"`
	ProjectId    string           `json:"project_id"`
	StartedAt    *time.Time       `json:"started_at,omitempty"`
	Summary      SummaryInsertMap `json:"summary"`
	TraceId      *string          `json:"trace_id,omitempty"`
	WbRunStepEnd *int             `json:"wb_run_step_end,omitempty"`
}

EndedCallSchemaForInsert defines model for EndedCallSchemaForInsert.

type EqOperation

type EqOperation struct {
	Eq []interface{} `json:"$eq"`
}

EqOperation Equality check between two operands.

Example:

```
{
    "$eq": [{"$getField": "op_name"}, {"$literal": "predict"}]
}
```

type EvalResultsEvaluationSummary added in v0.2.0

type EvalResultsEvaluationSummary struct {
	DisplayName      *string `json:"display_name"`
	EvaluationCallId string  `json:"evaluation_call_id"`
	EvaluationRef    *string `json:"evaluation_ref"`
	ModelRef         *string `json:"model_ref"`

	// PredictTotalCost Sum of per-trial predict-only cost for this evaluation (the model's predict() cost only, excluding LLM-as-a-judge scorer cost); None when no trial reports cost.
	PredictTotalCost *float64 `json:"predict_total_cost"`

	// PredictTotalTokens Sum of per-trial predict-only token usage for this evaluation (the model's predict() tokens only, excluding LLM-as-a-judge scorer usage); None when no trial reports usage.
	PredictTotalTokens *int                     `json:"predict_total_tokens"`
	ScorerStats        []EvalResultsScorerStats `json:"scorer_stats"`
	StartedAt          *string                  `json:"started_at"`
	TraceId            *string                  `json:"trace_id"`
	TrialCount         int                      `json:"trial_count"`
}

EvalResultsEvaluationSummary defines model for EvalResultsEvaluationSummary.

type EvalResultsFilter added in v0.2.0

type EvalResultsFilter struct {
	// EvaluationCallId When set, filter fields are scoped to this evaluation's data.
	EvaluationCallId *string `json:"evaluation_call_id,omitempty"`

	// Query Filter expression. Supported field prefixes: scores.<name>, inputs.<path>, outputs.<path>.
	Query Query `json:"query"`
}

EvalResultsFilter A filter scoped to an optional evaluation.

type EvalResultsQueryBody added in v0.2.0

type EvalResultsQueryBody struct {
	// EvaluationCallIds Evaluation root call IDs to include.
	EvaluationCallIds *[]string `json:"evaluation_call_ids,omitempty"`

	// EvaluationRunIds Alias for evaluation call IDs from the Evaluation Runs API.
	EvaluationRunIds *[]string `json:"evaluation_run_ids,omitempty"`

	// FilterLogicOperator How to combine filters across evaluations: 'and' (Match All - row must match in ALL evals) or 'or' (Match Any - row must match in ANY eval). Defaults to 'or' (Match Any).
	FilterLogicOperator *EvalResultsQueryBodyFilterLogicOperator `json:"filter_logic_operator,omitempty"`

	// Filters Filters applied to grouped rows. Multiple filters are AND'd together.
	Filters *[]EvalResultsFilter `json:"filters,omitempty"`

	// IncludeCosts When true, price each trial's predict call so rows and summary report predict-only cost (`total_cost` / `predict_total_cost`); scorer costs are excluded. Opt-in: other callers skip the cost computation.
	IncludeCosts *bool `json:"include_costs,omitempty"`

	// IncludePredictAndScoreChildren When true (default), fetch child calls (predict/score) of each predict_and_score call to populate predict_call_id, scorer_call_ids, and more precise latency/token data. When false, these fields are derived from the predict_and_score call itself (predict_call_id and scorer_call_ids will be null/empty).
	IncludePredictAndScoreChildren *bool `json:"include_predict_and_score_children,omitempty"`

	// IncludeRawDataRows When true, populate raw_data_row on each result row. Inline rows are returned as their dict value; dataset-referenced rows are returned as the ref string unless resolve_row_refs is also true.
	IncludeRawDataRows *bool `json:"include_raw_data_rows,omitempty"`

	// IncludeRows When true, include grouped row/trial data in `rows` and compute `total_rows` for the requested row-level view.
	IncludeRows *bool `json:"include_rows,omitempty"`

	// IncludeSummary When true, include aggregated scorer/evaluation summary data in `summary`.
	IncludeSummary *bool `json:"include_summary,omitempty"`

	// Limit Optional row-level page size applied after grouping and intersection.
	Limit *int `json:"limit,omitempty"`

	// Offset Optional row-level page offset applied after grouping and intersection.
	Offset *int `json:"offset,omitempty"`

	// RequireIntersection When true, only include rows present in all requested evaluations.
	RequireIntersection *bool `json:"require_intersection,omitempty"`

	// ResolveRowRefs When true (requires include_raw_data_rows=True), resolve dataset-row reference strings to actual row data via a table lookup. When false, dataset-row refs are returned as-is.
	ResolveRowRefs *bool `json:"resolve_row_refs,omitempty"`

	// SortBy Sort specification for result rows. Supported field prefixes: scores.<name>, inputs.<path>, outputs.<path>. When null, rows are sorted by row_digest ASC.
	SortBy *[]EvalResultsSortBy `json:"sort_by,omitempty"`

	// SummaryRequireIntersection Optional intersection behavior for the summary section. When null, the value of `require_intersection` is used.
	SummaryRequireIntersection *bool `json:"summary_require_intersection,omitempty"`
}

EvalResultsQueryBody defines model for EvalResultsQueryBody.

type EvalResultsQueryBodyFilterLogicOperator added in v0.2.0

type EvalResultsQueryBodyFilterLogicOperator string

EvalResultsQueryBodyFilterLogicOperator How to combine filters across evaluations: 'and' (Match All - row must match in ALL evals) or 'or' (Match Any - row must match in ANY eval). Defaults to 'or' (Match Any).

const (
	EvalResultsQueryBodyFilterLogicOperatorAnd EvalResultsQueryBodyFilterLogicOperator = "and"
	EvalResultsQueryBodyFilterLogicOperatorOr  EvalResultsQueryBodyFilterLogicOperator = "or"
)

Defines values for EvalResultsQueryBodyFilterLogicOperator.

func (EvalResultsQueryBodyFilterLogicOperator) Valid added in v0.2.0

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

type EvalResultsQueryRes added in v0.2.0

type EvalResultsQueryRes struct {
	Rows      []EvalResultsRow       `json:"rows"`
	Summary   *EvalResultsSummaryRes `json:"summary"`
	TotalRows int                    `json:"total_rows"`

	// Warnings Non-fatal warnings (e.g. failed to resolve dataset row refs).
	Warnings []string `json:"warnings"`
}

EvalResultsQueryRes defines model for EvalResultsQueryRes.

type EvalResultsQueryV2EntityProjectEvalResultsQueryPostJSONRequestBody added in v0.2.0

type EvalResultsQueryV2EntityProjectEvalResultsQueryPostJSONRequestBody = EvalResultsQueryBody

EvalResultsQueryV2EntityProjectEvalResultsQueryPostJSONRequestBody defines body for EvalResultsQueryV2EntityProjectEvalResultsQueryPost for application/json ContentType.

type EvalResultsQueryV2EntityProjectEvalResultsQueryPostResponse added in v0.2.0

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

func ParseEvalResultsQueryV2EntityProjectEvalResultsQueryPostResponse added in v0.2.0

func ParseEvalResultsQueryV2EntityProjectEvalResultsQueryPostResponse(rsp *http.Response) (*EvalResultsQueryV2EntityProjectEvalResultsQueryPostResponse, error)

ParseEvalResultsQueryV2EntityProjectEvalResultsQueryPostResponse parses an HTTP response from a EvalResultsQueryV2EntityProjectEvalResultsQueryPostWithResponse call

func (EvalResultsQueryV2EntityProjectEvalResultsQueryPostResponse) ContentType added in v0.2.0

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

func (EvalResultsQueryV2EntityProjectEvalResultsQueryPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (EvalResultsQueryV2EntityProjectEvalResultsQueryPostResponse) GetJSON200 added in v0.2.0

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

func (EvalResultsQueryV2EntityProjectEvalResultsQueryPostResponse) GetJSON422 added in v0.2.0

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

func (EvalResultsQueryV2EntityProjectEvalResultsQueryPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (EvalResultsQueryV2EntityProjectEvalResultsQueryPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type EvalResultsRow added in v0.2.0

type EvalResultsRow struct {
	Evaluations []EvalResultsRowEvaluation `json:"evaluations"`
	RawDataRow  interface{}                `json:"raw_data_row"`
	RowDigest   string                     `json:"row_digest"`
}

EvalResultsRow defines model for EvalResultsRow.

type EvalResultsRowEvaluation added in v0.2.0

type EvalResultsRowEvaluation struct {
	EvaluationCallId string             `json:"evaluation_call_id"`
	Trials           []EvalResultsTrial `json:"trials"`
}

EvalResultsRowEvaluation defines model for EvalResultsRowEvaluation.

type EvalResultsScorerStats added in v0.2.0

type EvalResultsScorerStats struct {
	NumericCount       int      `json:"numeric_count"`
	NumericMean        *float64 `json:"numeric_mean"`
	PassKnownCount     int      `json:"pass_known_count"`
	PassRate           *float64 `json:"pass_rate"`
	PassSignalCoverage *float64 `json:"pass_signal_coverage"`
	PassTrueCount      int      `json:"pass_true_count"`

	// Path Dot-joined subpath for nested dimensions, e.g. 'passed' for token_distance.passed. None for root-level scalar scorers.
	Path       *string `json:"path"`
	ScorerKey  string  `json:"scorer_key"`
	TrialCount int     `json:"trial_count"`

	// ValueType Type of the leaf value: binary (bool), continuous (number), or text (string).
	ValueType *EvalResultsScorerStatsValueType `json:"value_type"`
}

EvalResultsScorerStats Stats for a single flattened score dimension (scorer_key or scorer_key.path.to.leaf).

type EvalResultsScorerStatsValueType added in v0.2.0

type EvalResultsScorerStatsValueType string

EvalResultsScorerStatsValueType defines model for EvalResultsScorerStats.ValueType.

const (
	EvalResultsScorerStatsValueTypeBinary     EvalResultsScorerStatsValueType = "binary"
	EvalResultsScorerStatsValueTypeContinuous EvalResultsScorerStatsValueType = "continuous"
	EvalResultsScorerStatsValueTypeText       EvalResultsScorerStatsValueType = "text"
)

Defines values for EvalResultsScorerStatsValueType.

func (EvalResultsScorerStatsValueType) Valid added in v0.2.0

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

type EvalResultsSortBy added in v0.2.0

type EvalResultsSortBy struct {
	Direction EvalResultsSortByDirection `json:"direction"`

	// EvaluationCallId Scope the sort to a specific evaluation's scores.
	EvaluationCallId *string `json:"evaluation_call_id,omitempty"`
	Field            string  `json:"field"`

	// Mode When 'value', sort by the field value for the specified evaluation. When 'difference', sort by max-min spread of the field across all evaluations (evaluation_call_id is ignored).
	Mode *EvalResultsSortByMode `json:"mode,omitempty"`
}

EvalResultsSortBy Sort specification for evaluation results, extending SortBy

type EvalResultsSortByDirection added in v0.2.0

type EvalResultsSortByDirection string

EvalResultsSortByDirection defines model for EvalResultsSortBy.Direction.

const (
	EvalResultsSortByDirectionAsc  EvalResultsSortByDirection = "asc"
	EvalResultsSortByDirectionDesc EvalResultsSortByDirection = "desc"
)

Defines values for EvalResultsSortByDirection.

func (EvalResultsSortByDirection) Valid added in v0.2.0

func (e EvalResultsSortByDirection) Valid() bool

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

type EvalResultsSortByMode added in v0.2.0

type EvalResultsSortByMode string

EvalResultsSortByMode When 'value', sort by the field value for the specified evaluation. When 'difference', sort by max-min spread of the field across all evaluations (evaluation_call_id is ignored).

const (
	EvalResultsSortByModeDifference EvalResultsSortByMode = "difference"
	EvalResultsSortByModeValue      EvalResultsSortByMode = "value"
)

Defines values for EvalResultsSortByMode.

func (EvalResultsSortByMode) Valid added in v0.2.0

func (e EvalResultsSortByMode) Valid() bool

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

type EvalResultsSummaryRes added in v0.2.0

type EvalResultsSummaryRes struct {
	Evaluations []EvalResultsEvaluationSummary `json:"evaluations"`
	RowCount    int                            `json:"row_count"`
}

EvalResultsSummaryRes defines model for EvalResultsSummaryRes.

type EvalResultsTrial added in v0.2.0

type EvalResultsTrial struct {
	GenaiSpanRef          *[]GenAISpanRef        `json:"genai_span_ref"`
	ModelLatencySeconds   *float64               `json:"model_latency_seconds"`
	ModelOutput           interface{}            `json:"model_output"`
	PredictAndScoreCallId string                 `json:"predict_and_score_call_id"`
	PredictCallId         *string                `json:"predict_call_id"`
	ScorerCallIds         map[string]string      `json:"scorer_call_ids"`
	Scores                map[string]interface{} `json:"scores"`
	TotalCost             *float64               `json:"total_cost"`
	TotalTokens           *int                   `json:"total_tokens"`
}

EvalResultsTrial defines model for EvalResultsTrial.

type EvaluateModelEvaluationsEvaluateModelPostJSONRequestBody

type EvaluateModelEvaluationsEvaluateModelPostJSONRequestBody = EvaluateModelReq

EvaluateModelEvaluationsEvaluateModelPostJSONRequestBody defines body for EvaluateModelEvaluationsEvaluateModelPost for application/json ContentType.

type EvaluateModelEvaluationsEvaluateModelPostResponse

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

func ParseEvaluateModelEvaluationsEvaluateModelPostResponse

func ParseEvaluateModelEvaluationsEvaluateModelPostResponse(rsp *http.Response) (*EvaluateModelEvaluationsEvaluateModelPostResponse, error)

ParseEvaluateModelEvaluationsEvaluateModelPostResponse parses an HTTP response from a EvaluateModelEvaluationsEvaluateModelPostWithResponse call

func (EvaluateModelEvaluationsEvaluateModelPostResponse) ContentType

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

func (EvaluateModelEvaluationsEvaluateModelPostResponse) GetBody

GetBody returns the raw response body bytes

func (EvaluateModelEvaluationsEvaluateModelPostResponse) GetJSON200

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

func (EvaluateModelEvaluationsEvaluateModelPostResponse) GetJSON422

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

func (EvaluateModelEvaluationsEvaluateModelPostResponse) Status

Status returns HTTPResponse.Status

func (EvaluateModelEvaluationsEvaluateModelPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EvaluateModelReq

type EvaluateModelReq struct {
	EvaluationRef string `json:"evaluation_ref"`
	ModelRef      string `json:"model_ref"`
	ProjectId     string `json:"project_id"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`
}

EvaluateModelReq defines model for EvaluateModelReq.

type EvaluateModelRes

type EvaluateModelRes struct {
	CallId string `json:"call_id"`
}

EvaluateModelRes defines model for EvaluateModelRes.

type EvaluationCreateBody

type EvaluationCreateBody struct {
	// Dataset Reference to the dataset (weave:// URI)
	Dataset string `json:"dataset"`

	// Description A description of this evaluation
	Description *string `json:"description,omitempty"`

	// EvalAttributes Optional attributes for the evaluation
	EvalAttributes *map[string]interface{} `json:"eval_attributes,omitempty"`

	// EvaluationName Name for the evaluation run
	EvaluationName *string `json:"evaluation_name,omitempty"`

	// Name The name of this evaluation.  Evaluations with the same name will be versioned together.
	Name string `json:"name"`

	// Scorers List of scorer references (weave:// URIs)
	Scorers *[]string `json:"scorers,omitempty"`

	// Trials Number of trials to run
	Trials *int `json:"trials,omitempty"`
}

EvaluationCreateBody defines model for EvaluationCreateBody.

type EvaluationCreateRes

type EvaluationCreateRes struct {
	// Digest The digest of the created evaluation
	Digest string `json:"digest"`

	// EvaluationRef Full reference to the created evaluation
	EvaluationRef string `json:"evaluation_ref"`

	// ObjectId The ID of the created evaluation
	ObjectId string `json:"object_id"`

	// VersionIndex The version index of the created evaluation
	VersionIndex int `json:"version_index"`
}

EvaluationCreateRes defines model for EvaluationCreateRes.

type EvaluationCreateV2EntityProjectEvaluationsPostJSONRequestBody

type EvaluationCreateV2EntityProjectEvaluationsPostJSONRequestBody = EvaluationCreateBody

EvaluationCreateV2EntityProjectEvaluationsPostJSONRequestBody defines body for EvaluationCreateV2EntityProjectEvaluationsPost for application/json ContentType.

type EvaluationCreateV2EntityProjectEvaluationsPostResponse

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

func ParseEvaluationCreateV2EntityProjectEvaluationsPostResponse

func ParseEvaluationCreateV2EntityProjectEvaluationsPostResponse(rsp *http.Response) (*EvaluationCreateV2EntityProjectEvaluationsPostResponse, error)

ParseEvaluationCreateV2EntityProjectEvaluationsPostResponse parses an HTTP response from a EvaluationCreateV2EntityProjectEvaluationsPostWithResponse call

func (EvaluationCreateV2EntityProjectEvaluationsPostResponse) ContentType

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

func (EvaluationCreateV2EntityProjectEvaluationsPostResponse) GetBody

GetBody returns the raw response body bytes

func (EvaluationCreateV2EntityProjectEvaluationsPostResponse) GetJSON200

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

func (EvaluationCreateV2EntityProjectEvaluationsPostResponse) GetJSON422

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

func (EvaluationCreateV2EntityProjectEvaluationsPostResponse) Status

Status returns HTTPResponse.Status

func (EvaluationCreateV2EntityProjectEvaluationsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EvaluationDeleteRes

type EvaluationDeleteRes struct {
	// NumDeleted Number of evaluation versions deleted
	NumDeleted int `json:"num_deleted"`
}

EvaluationDeleteRes defines model for EvaluationDeleteRes.

type EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteParams

type EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteParams struct {
	// Digests List of digests to delete. If not provided, all digests for the evaluation will be deleted.
	Digests *[]string `form:"digests,omitempty" json:"digests,omitempty"`
}

EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteParams defines parameters for EvaluationDeleteV2EntityProjectEvaluationsObjectIdDelete.

type EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteResponse

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

func ParseEvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteResponse

func ParseEvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteResponse(rsp *http.Response) (*EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteResponse, error)

ParseEvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteResponse parses an HTTP response from a EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteWithResponse call

func (EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteResponse) ContentType

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

func (EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteResponse) GetBody

GetBody returns the raw response body bytes

func (EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteResponse) GetJSON200

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

func (EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteResponse) GetJSON422

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

func (EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteResponse) Status

Status returns HTTPResponse.Status

func (EvaluationDeleteV2EntityProjectEvaluationsObjectIdDeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EvaluationListV2EntityProjectEvaluationsGetParams added in v0.2.0

type EvaluationListV2EntityProjectEvaluationsGetParams struct {
	// Limit Maximum number of evaluations to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of evaluations to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

EvaluationListV2EntityProjectEvaluationsGetParams defines parameters for EvaluationListV2EntityProjectEvaluationsGet.

type EvaluationListV2EntityProjectEvaluationsGetResponse

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

func ParseEvaluationListV2EntityProjectEvaluationsGetResponse

func ParseEvaluationListV2EntityProjectEvaluationsGetResponse(rsp *http.Response) (*EvaluationListV2EntityProjectEvaluationsGetResponse, error)

ParseEvaluationListV2EntityProjectEvaluationsGetResponse parses an HTTP response from a EvaluationListV2EntityProjectEvaluationsGetWithResponse call

func (EvaluationListV2EntityProjectEvaluationsGetResponse) ContentType

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

func (EvaluationListV2EntityProjectEvaluationsGetResponse) GetBody

GetBody returns the raw response body bytes

func (EvaluationListV2EntityProjectEvaluationsGetResponse) GetJSON422

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

func (EvaluationListV2EntityProjectEvaluationsGetResponse) Status

Status returns HTTPResponse.Status

func (EvaluationListV2EntityProjectEvaluationsGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EvaluationReadRes

type EvaluationReadRes struct {
	// CreatedAt When the evaluation was created
	CreatedAt time.Time `json:"created_at"`

	// Dataset Dataset reference (weave:// URI)
	Dataset string `json:"dataset"`

	// Description A description of the evaluation
	Description *string `json:"description,omitempty"`

	// Digest The digest of the evaluation
	Digest string `json:"digest"`

	// EvaluateOp Evaluate op reference (weave:// URI)
	EvaluateOp *string `json:"evaluate_op,omitempty"`

	// EvaluationName Name for the evaluation run
	EvaluationName *string `json:"evaluation_name,omitempty"`

	// Name The name of the evaluation
	Name string `json:"name"`

	// ObjectId The evaluation ID
	ObjectId string `json:"object_id"`

	// PredictAndScoreOp Predict and score op reference (weave:// URI)
	PredictAndScoreOp *string `json:"predict_and_score_op,omitempty"`

	// Scorers List of scorer references (weave:// URIs)
	Scorers []string `json:"scorers"`

	// SummarizeOp Summarize op reference (weave:// URI)
	SummarizeOp *string `json:"summarize_op,omitempty"`

	// Trials Number of trials
	Trials int `json:"trials"`

	// VersionIndex The version index of the evaluation
	VersionIndex int `json:"version_index"`
}

EvaluationReadRes defines model for EvaluationReadRes.

type EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetResponse

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

func ParseEvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetResponse

func ParseEvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetResponse(rsp *http.Response) (*EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetResponse, error)

ParseEvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetResponse parses an HTTP response from a EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetWithResponse call

func (EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetResponse) ContentType

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

func (EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetResponse) GetBody

GetBody returns the raw response body bytes

func (EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetResponse) GetJSON200

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

func (EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetResponse) GetJSON422

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

func (EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetResponse) Status

Status returns HTTPResponse.Status

func (EvaluationReadV2EntityProjectEvaluationsObjectIdVersionsDigestGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EvaluationRunCreateBody

type EvaluationRunCreateBody struct {
	// Evaluation Reference to the evaluation (weave:// URI)
	Evaluation string `json:"evaluation"`

	// Model Reference to the model (weave:// URI)
	Model string `json:"model"`

	// SourceEvaluationRunId Source evaluation run ID if this run was created by rescoring — provenance link
	SourceEvaluationRunId *string `json:"source_evaluation_run_id,omitempty"`
}

EvaluationRunCreateBody defines model for EvaluationRunCreateBody.

type EvaluationRunCreateRes

type EvaluationRunCreateRes struct {
	// EvaluationRunId The ID of the created evaluation run
	EvaluationRunId string `json:"evaluation_run_id"`
}

EvaluationRunCreateRes defines model for EvaluationRunCreateRes.

type EvaluationRunCreateV2EntityProjectEvaluationRunsPostJSONRequestBody

type EvaluationRunCreateV2EntityProjectEvaluationRunsPostJSONRequestBody = EvaluationRunCreateBody

EvaluationRunCreateV2EntityProjectEvaluationRunsPostJSONRequestBody defines body for EvaluationRunCreateV2EntityProjectEvaluationRunsPost for application/json ContentType.

type EvaluationRunCreateV2EntityProjectEvaluationRunsPostResponse

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

func ParseEvaluationRunCreateV2EntityProjectEvaluationRunsPostResponse

func ParseEvaluationRunCreateV2EntityProjectEvaluationRunsPostResponse(rsp *http.Response) (*EvaluationRunCreateV2EntityProjectEvaluationRunsPostResponse, error)

ParseEvaluationRunCreateV2EntityProjectEvaluationRunsPostResponse parses an HTTP response from a EvaluationRunCreateV2EntityProjectEvaluationRunsPostWithResponse call

func (EvaluationRunCreateV2EntityProjectEvaluationRunsPostResponse) ContentType

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

func (EvaluationRunCreateV2EntityProjectEvaluationRunsPostResponse) GetBody

GetBody returns the raw response body bytes

func (EvaluationRunCreateV2EntityProjectEvaluationRunsPostResponse) GetJSON200

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

func (EvaluationRunCreateV2EntityProjectEvaluationRunsPostResponse) GetJSON422

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

func (EvaluationRunCreateV2EntityProjectEvaluationRunsPostResponse) Status

Status returns HTTPResponse.Status

func (EvaluationRunCreateV2EntityProjectEvaluationRunsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EvaluationRunDeleteRes

type EvaluationRunDeleteRes struct {
	// NumDeleted Number of evaluation runs deleted
	NumDeleted int `json:"num_deleted"`
}

EvaluationRunDeleteRes defines model for EvaluationRunDeleteRes.

type EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteParams

type EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteParams struct {
	// EvaluationRunIds List of evaluation run IDs to delete
	EvaluationRunIds []string `form:"evaluation_run_ids" json:"evaluation_run_ids"`
}

EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteParams defines parameters for EvaluationRunDeleteV2EntityProjectEvaluationRunsDelete.

type EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteResponse

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

func ParseEvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteResponse

func ParseEvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteResponse(rsp *http.Response) (*EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteResponse, error)

ParseEvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteResponse parses an HTTP response from a EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteWithResponse call

func (EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteResponse) ContentType

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

func (EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteResponse) GetBody

GetBody returns the raw response body bytes

func (EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteResponse) GetJSON200

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

func (EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteResponse) GetJSON422

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

func (EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteResponse) Status

Status returns HTTPResponse.Status

func (EvaluationRunDeleteV2EntityProjectEvaluationRunsDeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EvaluationRunFinishBody

type EvaluationRunFinishBody struct {
	// Summary Optional summary dictionary for the evaluation run
	Summary *map[string]interface{} `json:"summary,omitempty"`
}

EvaluationRunFinishBody Request body for finishing an evaluation run via REST API.

This model excludes project_id and evaluation_run_id since they come from the URL path in RESTful endpoints.

type EvaluationRunFinishRes

type EvaluationRunFinishRes struct {
	// Success Whether the evaluation run was finished successfully
	Success bool `json:"success"`
}

EvaluationRunFinishRes defines model for EvaluationRunFinishRes.

type EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostJSONRequestBody

type EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostJSONRequestBody = EvaluationRunFinishBody

EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostJSONRequestBody defines body for EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPost for application/json ContentType.

type EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostResponse

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

func ParseEvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostResponse

func ParseEvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostResponse(rsp *http.Response) (*EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostResponse, error)

ParseEvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostResponse parses an HTTP response from a EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostWithResponse call

func (EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostResponse) ContentType

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

func (EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostResponse) GetBody

GetBody returns the raw response body bytes

func (EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostResponse) GetJSON200

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

func (EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostResponse) GetJSON422

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

func (EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostResponse) Status

Status returns HTTPResponse.Status

func (EvaluationRunFinishV2EntityProjectEvaluationRunsEvaluationRunIdFinishPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EvaluationRunListV2EntityProjectEvaluationRunsGetParams

type EvaluationRunListV2EntityProjectEvaluationRunsGetParams struct {
	// Evaluations Filter by evaluation references
	Evaluations *[]string `form:"evaluations,omitempty" json:"evaluations,omitempty"`

	// Models Filter by model references
	Models *[]string `form:"models,omitempty" json:"models,omitempty"`

	// EvaluationRunIds Filter by evaluation run IDs
	EvaluationRunIds *[]string `form:"evaluation_run_ids,omitempty" json:"evaluation_run_ids,omitempty"`

	// Limit Maximum number of evaluation runs to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of evaluation runs to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

EvaluationRunListV2EntityProjectEvaluationRunsGetParams defines parameters for EvaluationRunListV2EntityProjectEvaluationRunsGet.

type EvaluationRunListV2EntityProjectEvaluationRunsGetResponse

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

func ParseEvaluationRunListV2EntityProjectEvaluationRunsGetResponse

func ParseEvaluationRunListV2EntityProjectEvaluationRunsGetResponse(rsp *http.Response) (*EvaluationRunListV2EntityProjectEvaluationRunsGetResponse, error)

ParseEvaluationRunListV2EntityProjectEvaluationRunsGetResponse parses an HTTP response from a EvaluationRunListV2EntityProjectEvaluationRunsGetWithResponse call

func (EvaluationRunListV2EntityProjectEvaluationRunsGetResponse) ContentType

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

func (EvaluationRunListV2EntityProjectEvaluationRunsGetResponse) GetBody

GetBody returns the raw response body bytes

func (EvaluationRunListV2EntityProjectEvaluationRunsGetResponse) GetJSON422

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

func (EvaluationRunListV2EntityProjectEvaluationRunsGetResponse) Status

Status returns HTTPResponse.Status

func (EvaluationRunListV2EntityProjectEvaluationRunsGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EvaluationRunReadRes

type EvaluationRunReadRes struct {
	// Evaluation Reference to the evaluation (weave:// URI)
	Evaluation string `json:"evaluation"`

	// EvaluationRunId The evaluation run ID
	EvaluationRunId string `json:"evaluation_run_id"`

	// FinishedAt When the evaluation run finished
	FinishedAt *time.Time `json:"finished_at,omitempty"`

	// Model Reference to the model (weave:// URI)
	Model string `json:"model"`

	// SourceEvaluationRunId Source evaluation run ID if this run was created by rescoring
	SourceEvaluationRunId *string `json:"source_evaluation_run_id,omitempty"`

	// StartedAt When the evaluation run started
	StartedAt *time.Time `json:"started_at,omitempty"`

	// Status Status of the evaluation run
	Status *string `json:"status,omitempty"`

	// Summary Summary data for the evaluation run
	Summary *map[string]interface{} `json:"summary,omitempty"`
}

EvaluationRunReadRes defines model for EvaluationRunReadRes.

type EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetResponse

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

func ParseEvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetResponse

func ParseEvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetResponse(rsp *http.Response) (*EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetResponse, error)

ParseEvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetResponse parses an HTTP response from a EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetWithResponse call

func (EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetResponse) ContentType

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

func (EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetResponse) GetBody

GetBody returns the raw response body bytes

func (EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetResponse) GetJSON200

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

func (EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetResponse) GetJSON422

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

func (EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetResponse) Status

Status returns HTTPResponse.Status

func (EvaluationRunReadV2EntityProjectEvaluationRunsEvaluationRunIdGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EvaluationStatusComplete

type EvaluationStatusComplete struct {
	Code   EvaluationStatusCompleteCode `json:"code"`
	Output map[string]interface{}       `json:"output"`
}

EvaluationStatusComplete defines model for EvaluationStatusComplete.

type EvaluationStatusCompleteCode

type EvaluationStatusCompleteCode string

EvaluationStatusCompleteCode defines model for EvaluationStatusComplete.Code.

const (
	EvaluationStatusCompleteCodeComplete EvaluationStatusCompleteCode = "complete"
)

Defines values for EvaluationStatusCompleteCode.

func (EvaluationStatusCompleteCode) Valid

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

type EvaluationStatusEvaluationsStatusPostJSONRequestBody

type EvaluationStatusEvaluationsStatusPostJSONRequestBody = EvaluationStatusReq

EvaluationStatusEvaluationsStatusPostJSONRequestBody defines body for EvaluationStatusEvaluationsStatusPost for application/json ContentType.

type EvaluationStatusEvaluationsStatusPostResponse

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

func ParseEvaluationStatusEvaluationsStatusPostResponse

func ParseEvaluationStatusEvaluationsStatusPostResponse(rsp *http.Response) (*EvaluationStatusEvaluationsStatusPostResponse, error)

ParseEvaluationStatusEvaluationsStatusPostResponse parses an HTTP response from a EvaluationStatusEvaluationsStatusPostWithResponse call

func (EvaluationStatusEvaluationsStatusPostResponse) ContentType

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

func (EvaluationStatusEvaluationsStatusPostResponse) GetBody

GetBody returns the raw response body bytes

func (EvaluationStatusEvaluationsStatusPostResponse) GetJSON200

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

func (EvaluationStatusEvaluationsStatusPostResponse) GetJSON422

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

func (EvaluationStatusEvaluationsStatusPostResponse) Status

Status returns HTTPResponse.Status

func (EvaluationStatusEvaluationsStatusPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EvaluationStatusFailed

type EvaluationStatusFailed struct {
	Code  EvaluationStatusFailedCode `json:"code"`
	Error *string                    `json:"error"`
}

EvaluationStatusFailed defines model for EvaluationStatusFailed.

type EvaluationStatusFailedCode

type EvaluationStatusFailedCode string

EvaluationStatusFailedCode defines model for EvaluationStatusFailed.Code.

const (
	EvaluationStatusFailedCodeFailed EvaluationStatusFailedCode = "failed"
)

Defines values for EvaluationStatusFailedCode.

func (EvaluationStatusFailedCode) Valid

func (e EvaluationStatusFailedCode) Valid() bool

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

type EvaluationStatusNotFound

type EvaluationStatusNotFound struct {
	Code EvaluationStatusNotFoundCode `json:"code"`
}

EvaluationStatusNotFound defines model for EvaluationStatusNotFound.

type EvaluationStatusNotFoundCode

type EvaluationStatusNotFoundCode string

EvaluationStatusNotFoundCode defines model for EvaluationStatusNotFound.Code.

const (
	EvaluationStatusNotFoundCodeNotFound EvaluationStatusNotFoundCode = "not_found"
)

Defines values for EvaluationStatusNotFoundCode.

func (EvaluationStatusNotFoundCode) Valid

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

type EvaluationStatusReq

type EvaluationStatusReq struct {
	CallId    string `json:"call_id"`
	ProjectId string `json:"project_id"`
}

EvaluationStatusReq defines model for EvaluationStatusReq.

type EvaluationStatusRes

type EvaluationStatusRes struct {
	Status EvaluationStatusRes_Status `json:"status"`
}

EvaluationStatusRes defines model for EvaluationStatusRes.

type EvaluationStatusRes_Status

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

EvaluationStatusRes_Status defines model for EvaluationStatusRes.Status.

func (EvaluationStatusRes_Status) AsEvaluationStatusComplete

func (t EvaluationStatusRes_Status) AsEvaluationStatusComplete() (EvaluationStatusComplete, error)

AsEvaluationStatusComplete returns the union data inside the EvaluationStatusRes_Status as a EvaluationStatusComplete

func (EvaluationStatusRes_Status) AsEvaluationStatusFailed

func (t EvaluationStatusRes_Status) AsEvaluationStatusFailed() (EvaluationStatusFailed, error)

AsEvaluationStatusFailed returns the union data inside the EvaluationStatusRes_Status as a EvaluationStatusFailed

func (EvaluationStatusRes_Status) AsEvaluationStatusNotFound

func (t EvaluationStatusRes_Status) AsEvaluationStatusNotFound() (EvaluationStatusNotFound, error)

AsEvaluationStatusNotFound returns the union data inside the EvaluationStatusRes_Status as a EvaluationStatusNotFound

func (EvaluationStatusRes_Status) AsEvaluationStatusRunning

func (t EvaluationStatusRes_Status) AsEvaluationStatusRunning() (EvaluationStatusRunning, error)

AsEvaluationStatusRunning returns the union data inside the EvaluationStatusRes_Status as a EvaluationStatusRunning

func (*EvaluationStatusRes_Status) FromEvaluationStatusComplete

func (t *EvaluationStatusRes_Status) FromEvaluationStatusComplete(v EvaluationStatusComplete) error

FromEvaluationStatusComplete overwrites any union data inside the EvaluationStatusRes_Status as the provided EvaluationStatusComplete

func (*EvaluationStatusRes_Status) FromEvaluationStatusFailed

func (t *EvaluationStatusRes_Status) FromEvaluationStatusFailed(v EvaluationStatusFailed) error

FromEvaluationStatusFailed overwrites any union data inside the EvaluationStatusRes_Status as the provided EvaluationStatusFailed

func (*EvaluationStatusRes_Status) FromEvaluationStatusNotFound

func (t *EvaluationStatusRes_Status) FromEvaluationStatusNotFound(v EvaluationStatusNotFound) error

FromEvaluationStatusNotFound overwrites any union data inside the EvaluationStatusRes_Status as the provided EvaluationStatusNotFound

func (*EvaluationStatusRes_Status) FromEvaluationStatusRunning

func (t *EvaluationStatusRes_Status) FromEvaluationStatusRunning(v EvaluationStatusRunning) error

FromEvaluationStatusRunning overwrites any union data inside the EvaluationStatusRes_Status as the provided EvaluationStatusRunning

func (EvaluationStatusRes_Status) MarshalJSON

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

func (*EvaluationStatusRes_Status) MergeEvaluationStatusComplete

func (t *EvaluationStatusRes_Status) MergeEvaluationStatusComplete(v EvaluationStatusComplete) error

MergeEvaluationStatusComplete performs a merge with any union data inside the EvaluationStatusRes_Status, using the provided EvaluationStatusComplete

func (*EvaluationStatusRes_Status) MergeEvaluationStatusFailed

func (t *EvaluationStatusRes_Status) MergeEvaluationStatusFailed(v EvaluationStatusFailed) error

MergeEvaluationStatusFailed performs a merge with any union data inside the EvaluationStatusRes_Status, using the provided EvaluationStatusFailed

func (*EvaluationStatusRes_Status) MergeEvaluationStatusNotFound

func (t *EvaluationStatusRes_Status) MergeEvaluationStatusNotFound(v EvaluationStatusNotFound) error

MergeEvaluationStatusNotFound performs a merge with any union data inside the EvaluationStatusRes_Status, using the provided EvaluationStatusNotFound

func (*EvaluationStatusRes_Status) MergeEvaluationStatusRunning

func (t *EvaluationStatusRes_Status) MergeEvaluationStatusRunning(v EvaluationStatusRunning) error

MergeEvaluationStatusRunning performs a merge with any union data inside the EvaluationStatusRes_Status, using the provided EvaluationStatusRunning

func (*EvaluationStatusRes_Status) UnmarshalJSON

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

type EvaluationStatusRunning

type EvaluationStatusRunning struct {
	Code          EvaluationStatusRunningCode `json:"code"`
	CompletedRows int                         `json:"completed_rows"`
	TotalRows     int                         `json:"total_rows"`
}

EvaluationStatusRunning defines model for EvaluationStatusRunning.

type EvaluationStatusRunningCode

type EvaluationStatusRunningCode string

EvaluationStatusRunningCode defines model for EvaluationStatusRunning.Code.

const (
	EvaluationStatusRunningCodeRunning EvaluationStatusRunningCode = "running"
)

Defines values for EvaluationStatusRunningCode.

func (EvaluationStatusRunningCode) Valid

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

type ExportAuthorizationErrorResponse added in v0.2.1

type ExportAuthorizationErrorResponse struct {
	Detail string `json:"detail"`
}

ExportAuthorizationErrorResponse defines model for ExportAuthorizationErrorResponse.

type ExportBody added in v0.2.1

type ExportBody struct {
	Targets []ExportBodyTargets `json:"targets"`
}

ExportBody defines model for ExportBody.

type ExportBodyTargets added in v0.2.1

type ExportBodyTargets string

ExportBodyTargets defines model for ExportBody.Targets.

const (
	ExportBodyTargetsCalls    ExportBodyTargets = "calls"
	ExportBodyTargetsFeedback ExportBodyTargets = "feedback"
	ExportBodyTargetsObjects  ExportBodyTargets = "objects"
)

Defines values for ExportBodyTargets.

func (ExportBodyTargets) Valid added in v0.2.1

func (e ExportBodyTargets) Valid() bool

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

type ExportErrorResponse added in v0.2.1

type ExportErrorResponse struct {
	Detail JobFailure `json:"detail"`
}

ExportErrorResponse defines model for ExportErrorResponse.

type ExportGenaiTraceAgentsOtelV1TracesPostResponse added in v0.2.0

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

func ParseExportGenaiTraceAgentsOtelV1TracesPostResponse added in v0.2.0

func ParseExportGenaiTraceAgentsOtelV1TracesPostResponse(rsp *http.Response) (*ExportGenaiTraceAgentsOtelV1TracesPostResponse, error)

ParseExportGenaiTraceAgentsOtelV1TracesPostResponse parses an HTTP response from a ExportGenaiTraceAgentsOtelV1TracesPostWithResponse call

func (ExportGenaiTraceAgentsOtelV1TracesPostResponse) ContentType added in v0.2.0

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

func (ExportGenaiTraceAgentsOtelV1TracesPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (ExportGenaiTraceAgentsOtelV1TracesPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (ExportGenaiTraceAgentsOtelV1TracesPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type ExportProjectDataJSONRequestBody added in v0.2.1

type ExportProjectDataJSONRequestBody = ExportBody

ExportProjectDataJSONRequestBody defines body for ExportProjectData for application/json ContentType.

type ExportProjectDataResponse added in v0.2.1

type ExportProjectDataResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *ExportStartedResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ExportErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ExportAuthorizationErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ExportAuthorizationErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ExportErrorResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ExportErrorResponse
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *ExportErrorResponse
}

func ParseExportProjectDataResponse added in v0.2.1

func ParseExportProjectDataResponse(rsp *http.Response) (*ExportProjectDataResponse, error)

ParseExportProjectDataResponse parses an HTTP response from a ExportProjectDataWithResponse call

func (ExportProjectDataResponse) ContentType added in v0.2.1

func (r ExportProjectDataResponse) ContentType() string

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

func (ExportProjectDataResponse) GetBody added in v0.2.1

func (r ExportProjectDataResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ExportProjectDataResponse) GetJSON202 added in v0.2.1

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (ExportProjectDataResponse) GetJSON400 added in v0.2.1

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ExportProjectDataResponse) GetJSON401 added in v0.2.1

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (ExportProjectDataResponse) GetJSON403 added in v0.2.1

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (ExportProjectDataResponse) GetJSON409 added in v0.2.1

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (ExportProjectDataResponse) GetJSON422 added in v0.2.1

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

func (ExportProjectDataResponse) GetJSON501 added in v0.2.1

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (ExportProjectDataResponse) GetJSON503 added in v0.2.1

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (ExportProjectDataResponse) Status added in v0.2.1

func (r ExportProjectDataResponse) Status() string

Status returns HTTPResponse.Status

func (ExportProjectDataResponse) StatusCode added in v0.2.1

func (r ExportProjectDataResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportStartedResponse added in v0.2.1

type ExportStartedResponse struct {
	CreatedAt time.Time          `json:"created_at"`
	JobId     openapi_types.UUID `json:"job_id"`

	// Name Project-scoped export resource name.
	Name string `json:"name"`
}

ExportStartedResponse defines model for ExportStartedResponse.

type ExportStatusResponse added in v0.2.1

type ExportStatusResponse struct {
	Artifacts []JobArtifact      `json:"artifacts"`
	CreatedAt time.Time          `json:"created_at"`
	Failure   *JobFailure        `json:"failure"`
	JobId     openapi_types.UUID `json:"job_id"`

	// Name Project-scoped export resource name.
	Name      string                    `json:"name"`
	State     ExportStatusResponseState `json:"state"`
	UpdatedAt time.Time                 `json:"updated_at"`
}

ExportStatusResponse defines model for ExportStatusResponse.

type ExportStatusResponseState added in v0.2.1

type ExportStatusResponseState string

ExportStatusResponseState defines model for ExportStatusResponse.State.

const (
	ExportStatusResponseStateFailed     ExportStatusResponseState = "failed"
	ExportStatusResponseStateInProgress ExportStatusResponseState = "in_progress"
	ExportStatusResponseStateSucceeded  ExportStatusResponseState = "succeeded"
)

Defines values for ExportStatusResponseState.

func (ExportStatusResponseState) Valid added in v0.2.1

func (e ExportStatusResponseState) Valid() bool

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

type ExportTraceOtelV1TracesPostResponse

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

func ParseExportTraceOtelV1TracesPostResponse

func ParseExportTraceOtelV1TracesPostResponse(rsp *http.Response) (*ExportTraceOtelV1TracesPostResponse, error)

ParseExportTraceOtelV1TracesPostResponse parses an HTTP response from a ExportTraceOtelV1TracesPostWithResponse call

func (ExportTraceOtelV1TracesPostResponse) ContentType

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

func (ExportTraceOtelV1TracesPostResponse) GetBody

GetBody returns the raw response body bytes

func (ExportTraceOtelV1TracesPostResponse) GetJSON200

func (r ExportTraceOtelV1TracesPostResponse) GetJSON200() *interface{}

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

func (ExportTraceOtelV1TracesPostResponse) Status

Status returns HTTPResponse.Status

func (ExportTraceOtelV1TracesPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type FeedbackAggregateBucket added in v0.2.0

type FeedbackAggregateBucket struct {
	// Group Group-by dimension values for this row (e.g. {'scorer_id': '...'}).
	Group map[string]string `json:"group"`

	// RatingCounts Number of rows carrying each rating key (e.g. '_rating_').
	RatingCounts map[string]int `json:"rating_counts"`

	// RatingSums Sum of each rating key's values; client derives avg = sum/count.
	RatingSums map[string]float64 `json:"rating_sums"`

	// ScoredCount Rows that emitted a score (at least one tag or rating). Excludes agent-monitor rows that scored nothing — use this for score volume.
	ScoredCount int `json:"scored_count"`

	// TagCounts Count of each scorer tag.
	TagCounts map[string]int `json:"tag_counts"`

	// TimeBucketStartMs Time bucket start, unix epoch ms (UTC). None when unbucketed.
	TimeBucketStartMs *int `json:"time_bucket_start_ms"`

	// TotalCount Number of feedback rows in this bucket/group.
	TotalCount int `json:"total_count"`
}

FeedbackAggregateBucket One (time bucket, group) row of aggregated scorer feedback.

type FeedbackAggregateFeedbackAggregatePostJSONRequestBody added in v0.2.0

type FeedbackAggregateFeedbackAggregatePostJSONRequestBody = FeedbackAggregateReq

FeedbackAggregateFeedbackAggregatePostJSONRequestBody defines body for FeedbackAggregateFeedbackAggregatePost for application/json ContentType.

type FeedbackAggregateFeedbackAggregatePostResponse added in v0.2.0

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

func ParseFeedbackAggregateFeedbackAggregatePostResponse added in v0.2.0

func ParseFeedbackAggregateFeedbackAggregatePostResponse(rsp *http.Response) (*FeedbackAggregateFeedbackAggregatePostResponse, error)

ParseFeedbackAggregateFeedbackAggregatePostResponse parses an HTTP response from a FeedbackAggregateFeedbackAggregatePostWithResponse call

func (FeedbackAggregateFeedbackAggregatePostResponse) ContentType added in v0.2.0

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

func (FeedbackAggregateFeedbackAggregatePostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (FeedbackAggregateFeedbackAggregatePostResponse) GetJSON200 added in v0.2.0

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

func (FeedbackAggregateFeedbackAggregatePostResponse) GetJSON422 added in v0.2.0

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

func (FeedbackAggregateFeedbackAggregatePostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (FeedbackAggregateFeedbackAggregatePostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type FeedbackAggregateReq added in v0.2.0

type FeedbackAggregateReq struct {
	// AfterMs Inclusive lower bound on created_at (milliseconds since epoch).
	AfterMs int `json:"after_ms"`

	// BeforeMs Exclusive upper bound on created_at (milliseconds since epoch).
	BeforeMs int `json:"before_ms"`

	// FeedbackTypes Filter on feedback_type by prefix
	FeedbackTypes *[]string `json:"feedback_types,omitempty"`

	// GroupBy Allowed: ['scorer_id', 'span_agent_name', 'span_agent_version', 'span_status_code'].
	GroupBy *[]FeedbackAggregateReqGroupBy `json:"group_by,omitempty"`

	// MonitorIds Filter to these monitor ids (exact match; suffix with '*' for prefix match).
	MonitorIds *[]string `json:"monitor_ids,omitempty"`

	// ProjectId Examples: entity/project
	ProjectId string `json:"project_id"`

	// RatingMax Include only rows with a rating <= this value
	RatingMax *float64 `json:"rating_max,omitempty"`

	// RatingMin Include only rows with a rating >= this value
	RatingMin *float64 `json:"rating_min,omitempty"`

	// ScorerIds Filter to these scorer ids (exact match; suffix with '*' for prefix match).
	ScorerIds *[]string `json:"scorer_ids,omitempty"`

	// SpanAgentNames Filter to feedback whose span_agent_name matches any of these (exact).
	SpanAgentNames *[]string `json:"span_agent_names,omitempty"`

	// SpanTypes Filter by span type (turn vs conversation).
	SpanTypes *[]FeedbackAggregateReqSpanTypes `json:"span_types,omitempty"`

	// Tags Filter to feedback that includes any of the given tags
	Tags *[]string `json:"tags,omitempty"`

	// TimeBucketSeconds Time bucket size in seconds, e.g. 3600 for 1h buckets
	TimeBucketSeconds *int `json:"time_bucket_seconds,omitempty"`
}

FeedbackAggregateReq Query for aggregate scores by time bucket and dimension.

type FeedbackAggregateReqGroupBy added in v0.2.0

type FeedbackAggregateReqGroupBy string

FeedbackAggregateReqGroupBy defines model for FeedbackAggregateReq.GroupBy.

const (
	FeedbackAggregateReqGroupByScorerId         FeedbackAggregateReqGroupBy = "scorer_id"
	FeedbackAggregateReqGroupBySpanAgentName    FeedbackAggregateReqGroupBy = "span_agent_name"
	FeedbackAggregateReqGroupBySpanAgentVersion FeedbackAggregateReqGroupBy = "span_agent_version"
	FeedbackAggregateReqGroupBySpanStatusCode   FeedbackAggregateReqGroupBy = "span_status_code"
)

Defines values for FeedbackAggregateReqGroupBy.

func (FeedbackAggregateReqGroupBy) Valid added in v0.2.0

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

type FeedbackAggregateReqSpanTypes added in v0.2.0

type FeedbackAggregateReqSpanTypes string

FeedbackAggregateReqSpanTypes defines model for FeedbackAggregateReq.SpanTypes.

const (
	FeedbackAggregateReqSpanTypesAgentConversation FeedbackAggregateReqSpanTypes = "agent_conversation"
	FeedbackAggregateReqSpanTypesAgentTurn         FeedbackAggregateReqSpanTypes = "agent_turn"
)

Defines values for FeedbackAggregateReqSpanTypes.

func (FeedbackAggregateReqSpanTypes) Valid added in v0.2.0

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

type FeedbackAggregateRes added in v0.2.0

type FeedbackAggregateRes struct {
	// AfterMs Resolved inclusive lower bound, unix epoch ms (UTC).
	AfterMs int `json:"after_ms"`

	// BeforeMs Resolved exclusive upper bound, unix epoch ms (UTC).
	BeforeMs int                       `json:"before_ms"`
	Buckets  []FeedbackAggregateBucket `json:"buckets"`

	// TimeBucketSeconds Time bucket size used (seconds). None when unbucketed.
	TimeBucketSeconds *int `json:"time_bucket_seconds"`
}

FeedbackAggregateRes Sparse time-series of aggregated scorer feedback (empty buckets omitted).

type FeedbackCreateBatchFeedbackBatchCreatePostJSONRequestBody

type FeedbackCreateBatchFeedbackBatchCreatePostJSONRequestBody = FeedbackCreateBatchReq

FeedbackCreateBatchFeedbackBatchCreatePostJSONRequestBody defines body for FeedbackCreateBatchFeedbackBatchCreatePost for application/json ContentType.

type FeedbackCreateBatchFeedbackBatchCreatePostResponse

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

func ParseFeedbackCreateBatchFeedbackBatchCreatePostResponse

func ParseFeedbackCreateBatchFeedbackBatchCreatePostResponse(rsp *http.Response) (*FeedbackCreateBatchFeedbackBatchCreatePostResponse, error)

ParseFeedbackCreateBatchFeedbackBatchCreatePostResponse parses an HTTP response from a FeedbackCreateBatchFeedbackBatchCreatePostWithResponse call

func (FeedbackCreateBatchFeedbackBatchCreatePostResponse) ContentType

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

func (FeedbackCreateBatchFeedbackBatchCreatePostResponse) GetBody

GetBody returns the raw response body bytes

func (FeedbackCreateBatchFeedbackBatchCreatePostResponse) GetJSON200

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

func (FeedbackCreateBatchFeedbackBatchCreatePostResponse) GetJSON422

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

func (FeedbackCreateBatchFeedbackBatchCreatePostResponse) Status

Status returns HTTPResponse.Status

func (FeedbackCreateBatchFeedbackBatchCreatePostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type FeedbackCreateBatchReq

type FeedbackCreateBatchReq struct {
	Batch []FeedbackCreateReq `json:"batch"`
}

FeedbackCreateBatchReq defines model for FeedbackCreateBatchReq.

type FeedbackCreateBatchRes

type FeedbackCreateBatchRes struct {
	Res []FeedbackCreateRes `json:"res"`
}

FeedbackCreateBatchRes defines model for FeedbackCreateBatchRes.

type FeedbackCreateFeedbackCreatePostJSONRequestBody

type FeedbackCreateFeedbackCreatePostJSONRequestBody = FeedbackCreateReq

FeedbackCreateFeedbackCreatePostJSONRequestBody defines body for FeedbackCreateFeedbackCreatePost for application/json ContentType.

type FeedbackCreateFeedbackCreatePostResponse

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

func ParseFeedbackCreateFeedbackCreatePostResponse

func ParseFeedbackCreateFeedbackCreatePostResponse(rsp *http.Response) (*FeedbackCreateFeedbackCreatePostResponse, error)

ParseFeedbackCreateFeedbackCreatePostResponse parses an HTTP response from a FeedbackCreateFeedbackCreatePostWithResponse call

func (FeedbackCreateFeedbackCreatePostResponse) ContentType

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

func (FeedbackCreateFeedbackCreatePostResponse) GetBody

GetBody returns the raw response body bytes

func (FeedbackCreateFeedbackCreatePostResponse) GetJSON200

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

func (FeedbackCreateFeedbackCreatePostResponse) GetJSON422

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

func (FeedbackCreateFeedbackCreatePostResponse) Status

Status returns HTTPResponse.Status

func (FeedbackCreateFeedbackCreatePostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type FeedbackCreateReq

type FeedbackCreateReq struct {
	// AnnotationRef Examples: weave:///entity/project/object/name:digest
	AnnotationRef *string `json:"annotation_ref,omitempty"`

	// CallRef Examples: weave:///entity/project/call/call_id
	CallRef *string `json:"call_ref,omitempty"`

	// Creator Examples: Jane Smith
	Creator *string `json:"creator,omitempty"`

	// FeedbackType Examples: custom
	FeedbackType string `json:"feedback_type"`

	// Id If provided by the client, this ID will be used for the feedback row instead of a server-generated one.
	//
	// Examples: 018f1f2a-9c2b-7d3e-b5a1-8c9d2e4f6a7b
	Id *string `json:"id,omitempty"`

	// Payload Examples: {"key":"value"}
	Payload map[string]interface{} `json:"payload"`

	// ProjectId Examples: entity/project
	ProjectId string `json:"project_id"`

	// QueueId The annotation queue ID this feedback was created from. References annotation_queues.id. NULL when feedback is created outside of queues.
	//
	// Examples: 018f1f2a-9c2b-7d3e-b5a1-8c9d2e4f6a7b
	QueueId *string `json:"queue_id,omitempty"`

	// RunnableRef Examples: weave:///entity/project/op/name:digest
	RunnableRef *string `json:"runnable_ref,omitempty"`

	// ScorerRatingConfidences confidence (0-1) per rating, keyed by rating name
	//
	// Examples: {"_rating_":0.92}
	ScorerRatingConfidences *map[string]float64 `json:"scorer_rating_confidences,omitempty"`

	// ScorerRatingReasons reason text per rating, keyed by rating name
	//
	// Examples: {"_rating_":"very confident response"}
	ScorerRatingReasons *map[string]string `json:"scorer_rating_reasons,omitempty"`

	// ScorerRatings numeric ratings (0-1) keyed by rating name
	//
	// Examples: {"_rating_":0.87}
	ScorerRatings *map[string]float64 `json:"scorer_ratings,omitempty"`

	// ScorerTagConfidences confidence (0-1) per tag, keyed by tag name
	//
	// Examples: {"nsfw":0.92}
	ScorerTagConfidences *map[string]float64 `json:"scorer_tag_confidences,omitempty"`

	// ScorerTagReasons reason text per tag, keyed by tag name
	//
	// Examples: {"nsfw":"Contains explicit language"}
	ScorerTagReasons *map[string]string `json:"scorer_tag_reasons,omitempty"`

	// ScorerTags Tags applied to the ref by a scorer
	//
	// Examples: ["nsfw","high-quality"]
	ScorerTags *[]string `json:"scorer_tags,omitempty"`

	// ScorerTraceId Trace of the scorer (judge) invocation that produced this feedback (spans.trace_id of the judge call). Distinct from span_trace_id, which is the scored turn. Lets signals price the invocation off the judge span without joining the calls model.
	ScorerTraceId *string `json:"scorer_trace_id,omitempty"`

	// SpanAgentName Display name of the scored agent (from spans.agent_name)
	//
	// Examples: midi-generator
	SpanAgentName *string `json:"span_agent_name,omitempty"`

	// SpanAgentVersion Version of the scored agent (from spans.agent_version)
	//
	// Examples: 1.2.0
	SpanAgentVersion *string `json:"span_agent_version,omitempty"`

	// SpanConversationId Conversation the feedback belongs to (from spans.conversation_id)
	SpanConversationId *string `json:"span_conversation_id,omitempty"`

	// SpanStatusCode Status of the scored turn (from spans.status_code)
	//
	// Examples: OK
	SpanStatusCode *string `json:"span_status_code,omitempty"`

	// SpanTraceId Turn the feedback belongs to (from spans.trace_id)
	SpanTraceId *string `json:"span_trace_id,omitempty"`

	// TriggerRef Examples: weave:///entity/project/object/name:digest
	TriggerRef *string `json:"trigger_ref,omitempty"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`

	// WeaveRef Examples: weave:///entity/project/object/name:digest
	WeaveRef string `json:"weave_ref"`
}

FeedbackCreateReq defines model for FeedbackCreateReq.

type FeedbackCreateRes

type FeedbackCreateRes struct {
	CreatedAt time.Time              `json:"created_at"`
	Id        string                 `json:"id"`
	Payload   map[string]interface{} `json:"payload"`
	WbUserId  string                 `json:"wb_user_id"`
}

FeedbackCreateRes defines model for FeedbackCreateRes.

type FeedbackMetricSpec added in v0.2.0

type FeedbackMetricSpec struct {
	// Aggregations Aggregation functions to compute. If empty, defaults are chosen based on value_type: numeric->avg/min/max, boolean->count_true/count_false.
	Aggregations *[]AggregationType `json:"aggregations,omitempty"`

	// JsonPath Dot path into payload_dump (e.g. 'output', 'output.score').
	JsonPath string `json:"json_path"`

	// Percentiles Percentile values to compute (0–100), e.g. [5, 50, 95]. Only applicable for numeric value_type fields; ignored for boolean/categorical.
	Percentiles *[]float64 `json:"percentiles,omitempty"`

	// ValueType Type of value at path. numeric: avg/min/max; boolean: count_true/count_false.
	ValueType *FeedbackMetricSpecValueType `json:"value_type,omitempty"`
}

FeedbackMetricSpec Specification for a feedback payload metric to aggregate.

type FeedbackMetricSpecValueType added in v0.2.0

type FeedbackMetricSpecValueType string

FeedbackMetricSpecValueType Type of value at path. numeric: avg/min/max; boolean: count_true/count_false.

const (
	FeedbackMetricSpecValueTypeBoolean     FeedbackMetricSpecValueType = "boolean"
	FeedbackMetricSpecValueTypeCategorical FeedbackMetricSpecValueType = "categorical"
	FeedbackMetricSpecValueTypeNumeric     FeedbackMetricSpecValueType = "numeric"
)

Defines values for FeedbackMetricSpecValueType.

func (FeedbackMetricSpecValueType) Valid added in v0.2.0

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

type FeedbackPayloadPath added in v0.2.0

type FeedbackPayloadPath struct {
	// JsonPath Dot path into payload (e.g. 'output.score').
	JsonPath string `json:"json_path"`

	// ValueType Inferred type of value at path.
	ValueType *FeedbackPayloadPathValueType `json:"value_type,omitempty"`
}

FeedbackPayloadPath Discovered path in feedback payload with inferred type.

type FeedbackPayloadPathValueType added in v0.2.0

type FeedbackPayloadPathValueType string

FeedbackPayloadPathValueType Inferred type of value at path.

const (
	FeedbackPayloadPathValueTypeBoolean     FeedbackPayloadPathValueType = "boolean"
	FeedbackPayloadPathValueTypeCategorical FeedbackPayloadPathValueType = "categorical"
	FeedbackPayloadPathValueTypeNumeric     FeedbackPayloadPathValueType = "numeric"
)

Defines values for FeedbackPayloadPathValueType.

func (FeedbackPayloadPathValueType) Valid added in v0.2.0

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

type FeedbackPayloadSchemaFeedbackPayloadSchemaPostJSONRequestBody added in v0.2.0

type FeedbackPayloadSchemaFeedbackPayloadSchemaPostJSONRequestBody = FeedbackPayloadSchemaReq

FeedbackPayloadSchemaFeedbackPayloadSchemaPostJSONRequestBody defines body for FeedbackPayloadSchemaFeedbackPayloadSchemaPost for application/json ContentType.

type FeedbackPayloadSchemaFeedbackPayloadSchemaPostResponse added in v0.2.0

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

func ParseFeedbackPayloadSchemaFeedbackPayloadSchemaPostResponse added in v0.2.0

func ParseFeedbackPayloadSchemaFeedbackPayloadSchemaPostResponse(rsp *http.Response) (*FeedbackPayloadSchemaFeedbackPayloadSchemaPostResponse, error)

ParseFeedbackPayloadSchemaFeedbackPayloadSchemaPostResponse parses an HTTP response from a FeedbackPayloadSchemaFeedbackPayloadSchemaPostWithResponse call

func (FeedbackPayloadSchemaFeedbackPayloadSchemaPostResponse) ContentType added in v0.2.0

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

func (FeedbackPayloadSchemaFeedbackPayloadSchemaPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (FeedbackPayloadSchemaFeedbackPayloadSchemaPostResponse) GetJSON200 added in v0.2.0

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

func (FeedbackPayloadSchemaFeedbackPayloadSchemaPostResponse) GetJSON422 added in v0.2.0

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

func (FeedbackPayloadSchemaFeedbackPayloadSchemaPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (FeedbackPayloadSchemaFeedbackPayloadSchemaPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type FeedbackPayloadSchemaReq added in v0.2.0

type FeedbackPayloadSchemaReq struct {
	// End Exclusive end time (UTC, ISO 8601). Defaults to now if omitted.
	End *time.Time `json:"end,omitempty"`

	// FeedbackType Filter by feedback_type.
	FeedbackType *string `json:"feedback_type,omitempty"`
	ProjectId    string  `json:"project_id"`

	// SampleLimit Max distinct trigger_refs to sample when discovering the payload schema. Each distinct trigger_ref (monitor/source) typically has a fixed payload structure, so sampling one payload per ref is usually enough to see the full schema. 2 000 covers virtually all real-world projects while keeping the query fast; the hard cap of 5 000 prevents runaway scans.
	SampleLimit *int `json:"sample_limit,omitempty"`

	// Start Inclusive start time (UTC, ISO 8601).
	Start time.Time `json:"start"`

	// TriggerRef Filter by trigger_ref (exact or prefix match for all-versions).
	TriggerRef *string `json:"trigger_ref,omitempty"`
}

FeedbackPayloadSchemaReq Request for feedback payload schema discovery.

type FeedbackPayloadSchemaRes added in v0.2.0

type FeedbackPayloadSchemaRes struct {
	// Paths Discovered leaf paths with inferred value types.
	Paths *[]FeedbackPayloadPath `json:"paths,omitempty"`
}

FeedbackPayloadSchemaRes Response with discovered feedback payload paths and types.

type FeedbackPurgeFeedbackPurgePostJSONRequestBody

type FeedbackPurgeFeedbackPurgePostJSONRequestBody = FeedbackPurgeReq

FeedbackPurgeFeedbackPurgePostJSONRequestBody defines body for FeedbackPurgeFeedbackPurgePost for application/json ContentType.

type FeedbackPurgeFeedbackPurgePostResponse

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

func ParseFeedbackPurgeFeedbackPurgePostResponse

func ParseFeedbackPurgeFeedbackPurgePostResponse(rsp *http.Response) (*FeedbackPurgeFeedbackPurgePostResponse, error)

ParseFeedbackPurgeFeedbackPurgePostResponse parses an HTTP response from a FeedbackPurgeFeedbackPurgePostWithResponse call

func (FeedbackPurgeFeedbackPurgePostResponse) ContentType

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

func (FeedbackPurgeFeedbackPurgePostResponse) GetBody

GetBody returns the raw response body bytes

func (FeedbackPurgeFeedbackPurgePostResponse) GetJSON200

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

func (FeedbackPurgeFeedbackPurgePostResponse) GetJSON422

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

func (FeedbackPurgeFeedbackPurgePostResponse) Status

Status returns HTTPResponse.Status

func (FeedbackPurgeFeedbackPurgePostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type FeedbackPurgeReq

type FeedbackPurgeReq struct {
	// ProjectId Examples: entity/project
	ProjectId string `json:"project_id"`
	Query     Query  `json:"query"`
}

FeedbackPurgeReq defines model for FeedbackPurgeReq.

type FeedbackPurgeRes

type FeedbackPurgeRes = map[string]interface{}

FeedbackPurgeRes defines model for FeedbackPurgeRes.

type FeedbackQueryFeedbackQueryPostJSONRequestBody

type FeedbackQueryFeedbackQueryPostJSONRequestBody = FeedbackQueryReq

FeedbackQueryFeedbackQueryPostJSONRequestBody defines body for FeedbackQueryFeedbackQueryPost for application/json ContentType.

type FeedbackQueryFeedbackQueryPostResponse

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

func ParseFeedbackQueryFeedbackQueryPostResponse

func ParseFeedbackQueryFeedbackQueryPostResponse(rsp *http.Response) (*FeedbackQueryFeedbackQueryPostResponse, error)

ParseFeedbackQueryFeedbackQueryPostResponse parses an HTTP response from a FeedbackQueryFeedbackQueryPostWithResponse call

func (FeedbackQueryFeedbackQueryPostResponse) ContentType

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

func (FeedbackQueryFeedbackQueryPostResponse) GetBody

GetBody returns the raw response body bytes

func (FeedbackQueryFeedbackQueryPostResponse) GetJSON200

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

func (FeedbackQueryFeedbackQueryPostResponse) GetJSON422

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

func (FeedbackQueryFeedbackQueryPostResponse) Status

Status returns HTTPResponse.Status

func (FeedbackQueryFeedbackQueryPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type FeedbackQueryReq

type FeedbackQueryReq struct {
	// Fields Examples: ["id","feedback_type","payload.note"]
	Fields *[]string `json:"fields,omitempty"`

	// Limit Examples: 10
	Limit *int `json:"limit,omitempty"`

	// Offset Examples: 0
	Offset *int `json:"offset,omitempty"`

	// ProjectId Examples: entity/project
	ProjectId string    `json:"project_id"`
	Query     *Query    `json:"query,omitempty"`
	SortBy    *[]SortBy `json:"sort_by,omitempty"`
}

FeedbackQueryReq defines model for FeedbackQueryReq.

type FeedbackQueryRes

type FeedbackQueryRes struct {
	Result     []map[string]interface{} `json:"result"`
	TotalCount int                      `json:"total_count"`
}

FeedbackQueryRes defines model for FeedbackQueryRes.

type FeedbackReplaceFeedbackReplacePostJSONRequestBody

type FeedbackReplaceFeedbackReplacePostJSONRequestBody = FeedbackReplaceReq

FeedbackReplaceFeedbackReplacePostJSONRequestBody defines body for FeedbackReplaceFeedbackReplacePost for application/json ContentType.

type FeedbackReplaceFeedbackReplacePostResponse

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

func ParseFeedbackReplaceFeedbackReplacePostResponse

func ParseFeedbackReplaceFeedbackReplacePostResponse(rsp *http.Response) (*FeedbackReplaceFeedbackReplacePostResponse, error)

ParseFeedbackReplaceFeedbackReplacePostResponse parses an HTTP response from a FeedbackReplaceFeedbackReplacePostWithResponse call

func (FeedbackReplaceFeedbackReplacePostResponse) ContentType

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

func (FeedbackReplaceFeedbackReplacePostResponse) GetBody

GetBody returns the raw response body bytes

func (FeedbackReplaceFeedbackReplacePostResponse) GetJSON200

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

func (FeedbackReplaceFeedbackReplacePostResponse) GetJSON422

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

func (FeedbackReplaceFeedbackReplacePostResponse) Status

Status returns HTTPResponse.Status

func (FeedbackReplaceFeedbackReplacePostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type FeedbackReplaceReq

type FeedbackReplaceReq struct {
	// AnnotationRef Examples: weave:///entity/project/object/name:digest
	AnnotationRef *string `json:"annotation_ref,omitempty"`

	// CallRef Examples: weave:///entity/project/call/call_id
	CallRef *string `json:"call_ref,omitempty"`

	// Creator Examples: Jane Smith
	Creator    *string `json:"creator,omitempty"`
	FeedbackId string  `json:"feedback_id"`

	// FeedbackType Examples: custom
	FeedbackType string `json:"feedback_type"`

	// Id If provided by the client, this ID will be used for the feedback row instead of a server-generated one.
	//
	// Examples: 018f1f2a-9c2b-7d3e-b5a1-8c9d2e4f6a7b
	Id *string `json:"id,omitempty"`

	// Payload Examples: {"key":"value"}
	Payload map[string]interface{} `json:"payload"`

	// ProjectId Examples: entity/project
	ProjectId string `json:"project_id"`

	// QueueId The annotation queue ID this feedback was created from. References annotation_queues.id. NULL when feedback is created outside of queues.
	//
	// Examples: 018f1f2a-9c2b-7d3e-b5a1-8c9d2e4f6a7b
	QueueId *string `json:"queue_id,omitempty"`

	// RunnableRef Examples: weave:///entity/project/op/name:digest
	RunnableRef *string `json:"runnable_ref,omitempty"`

	// ScorerRatingConfidences confidence (0-1) per rating, keyed by rating name
	//
	// Examples: {"_rating_":0.92}
	ScorerRatingConfidences *map[string]float64 `json:"scorer_rating_confidences,omitempty"`

	// ScorerRatingReasons reason text per rating, keyed by rating name
	//
	// Examples: {"_rating_":"very confident response"}
	ScorerRatingReasons *map[string]string `json:"scorer_rating_reasons,omitempty"`

	// ScorerRatings numeric ratings (0-1) keyed by rating name
	//
	// Examples: {"_rating_":0.87}
	ScorerRatings *map[string]float64 `json:"scorer_ratings,omitempty"`

	// ScorerTagConfidences confidence (0-1) per tag, keyed by tag name
	//
	// Examples: {"nsfw":0.92}
	ScorerTagConfidences *map[string]float64 `json:"scorer_tag_confidences,omitempty"`

	// ScorerTagReasons reason text per tag, keyed by tag name
	//
	// Examples: {"nsfw":"Contains explicit language"}
	ScorerTagReasons *map[string]string `json:"scorer_tag_reasons,omitempty"`

	// ScorerTags Tags applied to the ref by a scorer
	//
	// Examples: ["nsfw","high-quality"]
	ScorerTags *[]string `json:"scorer_tags,omitempty"`

	// ScorerTraceId Trace of the scorer (judge) invocation that produced this feedback (spans.trace_id of the judge call). Distinct from span_trace_id, which is the scored turn. Lets signals price the invocation off the judge span without joining the calls model.
	ScorerTraceId *string `json:"scorer_trace_id,omitempty"`

	// SpanAgentName Display name of the scored agent (from spans.agent_name)
	//
	// Examples: midi-generator
	SpanAgentName *string `json:"span_agent_name,omitempty"`

	// SpanAgentVersion Version of the scored agent (from spans.agent_version)
	//
	// Examples: 1.2.0
	SpanAgentVersion *string `json:"span_agent_version,omitempty"`

	// SpanConversationId Conversation the feedback belongs to (from spans.conversation_id)
	SpanConversationId *string `json:"span_conversation_id,omitempty"`

	// SpanStatusCode Status of the scored turn (from spans.status_code)
	//
	// Examples: OK
	SpanStatusCode *string `json:"span_status_code,omitempty"`

	// SpanTraceId Turn the feedback belongs to (from spans.trace_id)
	SpanTraceId *string `json:"span_trace_id,omitempty"`

	// TriggerRef Examples: weave:///entity/project/object/name:digest
	TriggerRef *string `json:"trigger_ref,omitempty"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`

	// WeaveRef Examples: weave:///entity/project/object/name:digest
	WeaveRef string `json:"weave_ref"`
}

FeedbackReplaceReq defines model for FeedbackReplaceReq.

type FeedbackReplaceRes

type FeedbackReplaceRes struct {
	CreatedAt time.Time              `json:"created_at"`
	Id        string                 `json:"id"`
	Payload   map[string]interface{} `json:"payload"`
	WbUserId  string                 `json:"wb_user_id"`
}

FeedbackReplaceRes defines model for FeedbackReplaceRes.

type FeedbackStatsFeedbackStatsPostJSONRequestBody added in v0.2.0

type FeedbackStatsFeedbackStatsPostJSONRequestBody = FeedbackStatsReq

FeedbackStatsFeedbackStatsPostJSONRequestBody defines body for FeedbackStatsFeedbackStatsPost for application/json ContentType.

type FeedbackStatsFeedbackStatsPostResponse added in v0.2.0

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

func ParseFeedbackStatsFeedbackStatsPostResponse added in v0.2.0

func ParseFeedbackStatsFeedbackStatsPostResponse(rsp *http.Response) (*FeedbackStatsFeedbackStatsPostResponse, error)

ParseFeedbackStatsFeedbackStatsPostResponse parses an HTTP response from a FeedbackStatsFeedbackStatsPostWithResponse call

func (FeedbackStatsFeedbackStatsPostResponse) ContentType added in v0.2.0

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

func (FeedbackStatsFeedbackStatsPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (FeedbackStatsFeedbackStatsPostResponse) GetJSON200 added in v0.2.0

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

func (FeedbackStatsFeedbackStatsPostResponse) GetJSON422 added in v0.2.0

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

func (FeedbackStatsFeedbackStatsPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (FeedbackStatsFeedbackStatsPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type FeedbackStatsReq added in v0.2.0

type FeedbackStatsReq struct {
	// End Exclusive end time (UTC, ISO 8601). Defaults to now if omitted.
	End *time.Time `json:"end,omitempty"`

	// FeedbackType Filter by feedback_type.
	FeedbackType *string `json:"feedback_type,omitempty"`

	// Granularity Bucket size in seconds. If omitted, auto-selected based on time range.
	Granularity *int `json:"granularity,omitempty"`

	// Metrics Metrics to aggregate from payload_dump.
	Metrics   *[]FeedbackMetricSpec `json:"metrics,omitempty"`
	ProjectId string                `json:"project_id"`

	// Start Inclusive start time (UTC, ISO 8601).
	Start time.Time `json:"start"`

	// Timezone IANA timezone for bucket alignment.
	Timezone *string `json:"timezone,omitempty"`

	// TriggerRef Filter by trigger_ref (exact or prefix match for all-versions).
	TriggerRef *string `json:"trigger_ref,omitempty"`
}

FeedbackStatsReq Request for aggregated feedback statistics over time buckets.

type FeedbackStatsRes added in v0.2.0

type FeedbackStatsRes struct {
	// Buckets Time-bucketed aggregations. Each dict has 'timestamp' (ISO string), 'count' (int), and '{agg}_{slug}' keys for each requested metric+aggregation.
	Buckets *[]map[string]interface{} `json:"buckets,omitempty"`

	// End Resolved end time (always UTC, regardless of the requested timezone).
	End time.Time `json:"end"`

	// Granularity Bucket size used (in seconds)
	Granularity int `json:"granularity"`

	// Start Resolved start time (always UTC, regardless of the requested timezone).
	Start time.Time `json:"start"`

	// Timezone Timezone used for bucket alignment
	Timezone string `json:"timezone"`

	// WindowStats Aggregations over the full query window, keyed by metric slug (e.g. 'output_score'). Each value maps agg name to result.
	WindowStats *map[string]map[string]*float64 `json:"window_stats,omitempty"`
}

FeedbackStatsRes Response with time-series feedback statistics.

type FileContentFileContentPostJSONRequestBody

type FileContentFileContentPostJSONRequestBody = FileContentReadReq

FileContentFileContentPostJSONRequestBody defines body for FileContentFileContentPost for application/json ContentType.

type FileContentFileContentPostResponse

type FileContentFileContentPostResponse 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 ParseFileContentFileContentPostResponse

func ParseFileContentFileContentPostResponse(rsp *http.Response) (*FileContentFileContentPostResponse, error)

ParseFileContentFileContentPostResponse parses an HTTP response from a FileContentFileContentPostWithResponse call

func (FileContentFileContentPostResponse) ContentType

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

func (FileContentFileContentPostResponse) GetBody

GetBody returns the raw response body bytes

func (FileContentFileContentPostResponse) GetJSON200

func (r FileContentFileContentPostResponse) GetJSON200() *interface{}

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

func (FileContentFileContentPostResponse) GetJSON422

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

func (FileContentFileContentPostResponse) Status

Status returns HTTPResponse.Status

func (FileContentFileContentPostResponse) StatusCode

func (r FileContentFileContentPostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FileContentReadReq

type FileContentReadReq struct {
	Digest    string `json:"digest"`
	ProjectId string `json:"project_id"`
}

FileContentReadReq defines model for FileContentReadReq.

type FileCreateFileCreatePostMultipartRequestBody

type FileCreateFileCreatePostMultipartRequestBody = BodyFileCreateFileCreatePost

FileCreateFileCreatePostMultipartRequestBody defines body for FileCreateFileCreatePost for multipart/form-data ContentType.

type FileCreateFileCreatePostResponse

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

func ParseFileCreateFileCreatePostResponse

func ParseFileCreateFileCreatePostResponse(rsp *http.Response) (*FileCreateFileCreatePostResponse, error)

ParseFileCreateFileCreatePostResponse parses an HTTP response from a FileCreateFileCreatePostWithResponse call

func (FileCreateFileCreatePostResponse) ContentType

func (r FileCreateFileCreatePostResponse) ContentType() string

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

func (FileCreateFileCreatePostResponse) GetBody

func (r FileCreateFileCreatePostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (FileCreateFileCreatePostResponse) GetJSON200

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

func (FileCreateFileCreatePostResponse) GetJSON422

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

func (FileCreateFileCreatePostResponse) Status

Status returns HTTPResponse.Status

func (FileCreateFileCreatePostResponse) StatusCode

func (r FileCreateFileCreatePostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type FileCreateRes

type FileCreateRes struct {
	Digest string `json:"digest"`
}

FileCreateRes defines model for FileCreateRes.

type FilesResolveUrlFilesResolveUrlPostJSONRequestBody added in v0.2.0

type FilesResolveUrlFilesResolveUrlPostJSONRequestBody = FilesResolveUrlReq

FilesResolveUrlFilesResolveUrlPostJSONRequestBody defines body for FilesResolveUrlFilesResolveUrlPost for application/json ContentType.

type FilesResolveUrlFilesResolveUrlPostResponse added in v0.2.0

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

func ParseFilesResolveUrlFilesResolveUrlPostResponse added in v0.2.0

func ParseFilesResolveUrlFilesResolveUrlPostResponse(rsp *http.Response) (*FilesResolveUrlFilesResolveUrlPostResponse, error)

ParseFilesResolveUrlFilesResolveUrlPostResponse parses an HTTP response from a FilesResolveUrlFilesResolveUrlPostWithResponse call

func (FilesResolveUrlFilesResolveUrlPostResponse) ContentType added in v0.2.0

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

func (FilesResolveUrlFilesResolveUrlPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (FilesResolveUrlFilesResolveUrlPostResponse) GetJSON200 added in v0.2.0

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

func (FilesResolveUrlFilesResolveUrlPostResponse) GetJSON422 added in v0.2.0

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

func (FilesResolveUrlFilesResolveUrlPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (FilesResolveUrlFilesResolveUrlPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type FilesResolveUrlReq added in v0.2.0

type FilesResolveUrlReq struct {
	ProjectId string   `json:"project_id"`
	Uris      []string `json:"uris"`
}

FilesResolveUrlReq defines model for FilesResolveUrlReq.

type FilesStatsFilesQueryStatsPostJSONRequestBody

type FilesStatsFilesQueryStatsPostJSONRequestBody = FilesStatsReq

FilesStatsFilesQueryStatsPostJSONRequestBody defines body for FilesStatsFilesQueryStatsPost for application/json ContentType.

type FilesStatsFilesQueryStatsPostResponse

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

func ParseFilesStatsFilesQueryStatsPostResponse

func ParseFilesStatsFilesQueryStatsPostResponse(rsp *http.Response) (*FilesStatsFilesQueryStatsPostResponse, error)

ParseFilesStatsFilesQueryStatsPostResponse parses an HTTP response from a FilesStatsFilesQueryStatsPostWithResponse call

func (FilesStatsFilesQueryStatsPostResponse) ContentType

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

func (FilesStatsFilesQueryStatsPostResponse) GetBody

GetBody returns the raw response body bytes

func (FilesStatsFilesQueryStatsPostResponse) GetJSON200

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

func (FilesStatsFilesQueryStatsPostResponse) GetJSON422

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

func (FilesStatsFilesQueryStatsPostResponse) Status

Status returns HTTPResponse.Status

func (FilesStatsFilesQueryStatsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type FilesStatsReq

type FilesStatsReq struct {
	ProjectId string `json:"project_id"`
}

FilesStatsReq defines model for FilesStatsReq.

type FilesStatsRes

type FilesStatsRes struct {
	TotalSizeBytes int `json:"total_size_bytes"`
}

FilesStatsRes defines model for FilesStatsRes.

type GenAISpanRef added in v0.2.0

type GenAISpanRef struct {
	SpanId  string `json:"span_id"`
	TraceId string `json:"trace_id"`
}

GenAISpanRef defines model for GenAISpanRef.

type GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostJSONRequestBody added in v0.2.0

type GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostJSONRequestBody = AgentVersionsQueryReq

GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostJSONRequestBody defines body for GenaiAgentVersionsQueryAgentsAgentVersionsQueryPost for application/json ContentType.

type GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostResponse added in v0.2.0

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

func ParseGenaiAgentVersionsQueryAgentsAgentVersionsQueryPostResponse added in v0.2.0

func ParseGenaiAgentVersionsQueryAgentsAgentVersionsQueryPostResponse(rsp *http.Response) (*GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostResponse, error)

ParseGenaiAgentVersionsQueryAgentsAgentVersionsQueryPostResponse parses an HTTP response from a GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostWithResponse call

func (GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostResponse) ContentType added in v0.2.0

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

func (GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostResponse) GetJSON200 added in v0.2.0

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

func (GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostResponse) GetJSON422 added in v0.2.0

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

func (GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (GenaiAgentVersionsQueryAgentsAgentVersionsQueryPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type GenaiAgentsQueryAgentsQueryPostJSONRequestBody added in v0.2.0

type GenaiAgentsQueryAgentsQueryPostJSONRequestBody = AgentsQueryReq

GenaiAgentsQueryAgentsQueryPostJSONRequestBody defines body for GenaiAgentsQueryAgentsQueryPost for application/json ContentType.

type GenaiAgentsQueryAgentsQueryPostResponse added in v0.2.0

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

func ParseGenaiAgentsQueryAgentsQueryPostResponse added in v0.2.0

func ParseGenaiAgentsQueryAgentsQueryPostResponse(rsp *http.Response) (*GenaiAgentsQueryAgentsQueryPostResponse, error)

ParseGenaiAgentsQueryAgentsQueryPostResponse parses an HTTP response from a GenaiAgentsQueryAgentsQueryPostWithResponse call

func (GenaiAgentsQueryAgentsQueryPostResponse) ContentType added in v0.2.0

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

func (GenaiAgentsQueryAgentsQueryPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (GenaiAgentsQueryAgentsQueryPostResponse) GetJSON200 added in v0.2.0

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

func (GenaiAgentsQueryAgentsQueryPostResponse) GetJSON422 added in v0.2.0

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

func (GenaiAgentsQueryAgentsQueryPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (GenaiAgentsQueryAgentsQueryPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type GenaiConversationChatAgentsConversationsChatPostJSONRequestBody added in v0.2.0

type GenaiConversationChatAgentsConversationsChatPostJSONRequestBody = AgentConversationChatReq

GenaiConversationChatAgentsConversationsChatPostJSONRequestBody defines body for GenaiConversationChatAgentsConversationsChatPost for application/json ContentType.

type GenaiConversationChatAgentsConversationsChatPostResponse added in v0.2.0

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

func ParseGenaiConversationChatAgentsConversationsChatPostResponse added in v0.2.0

func ParseGenaiConversationChatAgentsConversationsChatPostResponse(rsp *http.Response) (*GenaiConversationChatAgentsConversationsChatPostResponse, error)

ParseGenaiConversationChatAgentsConversationsChatPostResponse parses an HTTP response from a GenaiConversationChatAgentsConversationsChatPostWithResponse call

func (GenaiConversationChatAgentsConversationsChatPostResponse) ContentType added in v0.2.0

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

func (GenaiConversationChatAgentsConversationsChatPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (GenaiConversationChatAgentsConversationsChatPostResponse) GetJSON200 added in v0.2.0

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

func (GenaiConversationChatAgentsConversationsChatPostResponse) GetJSON422 added in v0.2.0

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

func (GenaiConversationChatAgentsConversationsChatPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (GenaiConversationChatAgentsConversationsChatPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type GenaiConversationSpansAgentsConversationsSpansPostJSONRequestBody added in v0.2.0

type GenaiConversationSpansAgentsConversationsSpansPostJSONRequestBody = AgentConversationSpansReq

GenaiConversationSpansAgentsConversationsSpansPostJSONRequestBody defines body for GenaiConversationSpansAgentsConversationsSpansPost for application/json ContentType.

type GenaiConversationSpansAgentsConversationsSpansPostResponse added in v0.2.0

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

func ParseGenaiConversationSpansAgentsConversationsSpansPostResponse added in v0.2.0

func ParseGenaiConversationSpansAgentsConversationsSpansPostResponse(rsp *http.Response) (*GenaiConversationSpansAgentsConversationsSpansPostResponse, error)

ParseGenaiConversationSpansAgentsConversationsSpansPostResponse parses an HTTP response from a GenaiConversationSpansAgentsConversationsSpansPostWithResponse call

func (GenaiConversationSpansAgentsConversationsSpansPostResponse) ContentType added in v0.2.0

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

func (GenaiConversationSpansAgentsConversationsSpansPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (GenaiConversationSpansAgentsConversationsSpansPostResponse) GetJSON200 added in v0.2.0

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

func (GenaiConversationSpansAgentsConversationsSpansPostResponse) GetJSON422 added in v0.2.0

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

func (GenaiConversationSpansAgentsConversationsSpansPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (GenaiConversationSpansAgentsConversationsSpansPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostJSONRequestBody added in v0.2.0

type GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostJSONRequestBody = AgentCustomAttrsSchemaReq

GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostJSONRequestBody defines body for GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPost for application/json ContentType.

type GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostResponse added in v0.2.0

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

func ParseGenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostResponse added in v0.2.0

func ParseGenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostResponse(rsp *http.Response) (*GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostResponse, error)

ParseGenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostResponse parses an HTTP response from a GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostWithResponse call

func (GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostResponse) ContentType added in v0.2.0

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

func (GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostResponse) GetJSON200 added in v0.2.0

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

func (GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostResponse) GetJSON422 added in v0.2.0

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

func (GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (GenaiCustomAttrsSchemaAgentsSpansCustomAttrsSchemaPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type GenaiSearchAgentsSearchPostJSONRequestBody added in v0.2.0

type GenaiSearchAgentsSearchPostJSONRequestBody = AgentSearchReq

GenaiSearchAgentsSearchPostJSONRequestBody defines body for GenaiSearchAgentsSearchPost for application/json ContentType.

type GenaiSearchAgentsSearchPostResponse added in v0.2.0

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

func ParseGenaiSearchAgentsSearchPostResponse added in v0.2.0

func ParseGenaiSearchAgentsSearchPostResponse(rsp *http.Response) (*GenaiSearchAgentsSearchPostResponse, error)

ParseGenaiSearchAgentsSearchPostResponse parses an HTTP response from a GenaiSearchAgentsSearchPostWithResponse call

func (GenaiSearchAgentsSearchPostResponse) ContentType added in v0.2.0

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

func (GenaiSearchAgentsSearchPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (GenaiSearchAgentsSearchPostResponse) GetJSON200 added in v0.2.0

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

func (GenaiSearchAgentsSearchPostResponse) GetJSON422 added in v0.2.0

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

func (GenaiSearchAgentsSearchPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (GenaiSearchAgentsSearchPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type GenaiSpansExistsAgentsSpansExistsPostJSONRequestBody added in v0.2.2

type GenaiSpansExistsAgentsSpansExistsPostJSONRequestBody = AgentSpansExistsReq

GenaiSpansExistsAgentsSpansExistsPostJSONRequestBody defines body for GenaiSpansExistsAgentsSpansExistsPost for application/json ContentType.

type GenaiSpansExistsAgentsSpansExistsPostResponse added in v0.2.2

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

func ParseGenaiSpansExistsAgentsSpansExistsPostResponse added in v0.2.2

func ParseGenaiSpansExistsAgentsSpansExistsPostResponse(rsp *http.Response) (*GenaiSpansExistsAgentsSpansExistsPostResponse, error)

ParseGenaiSpansExistsAgentsSpansExistsPostResponse parses an HTTP response from a GenaiSpansExistsAgentsSpansExistsPostWithResponse call

func (GenaiSpansExistsAgentsSpansExistsPostResponse) ContentType added in v0.2.2

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

func (GenaiSpansExistsAgentsSpansExistsPostResponse) GetBody added in v0.2.2

GetBody returns the raw response body bytes

func (GenaiSpansExistsAgentsSpansExistsPostResponse) GetJSON200 added in v0.2.2

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

func (GenaiSpansExistsAgentsSpansExistsPostResponse) GetJSON422 added in v0.2.2

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

func (GenaiSpansExistsAgentsSpansExistsPostResponse) Status added in v0.2.2

Status returns HTTPResponse.Status

func (GenaiSpansExistsAgentsSpansExistsPostResponse) StatusCode added in v0.2.2

StatusCode returns HTTPResponse.StatusCode

type GenaiSpansQueryAgentsSpansQueryPostJSONRequestBody added in v0.2.0

type GenaiSpansQueryAgentsSpansQueryPostJSONRequestBody = AgentSpansQueryReq

GenaiSpansQueryAgentsSpansQueryPostJSONRequestBody defines body for GenaiSpansQueryAgentsSpansQueryPost for application/json ContentType.

type GenaiSpansQueryAgentsSpansQueryPostResponse added in v0.2.0

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

func ParseGenaiSpansQueryAgentsSpansQueryPostResponse added in v0.2.0

func ParseGenaiSpansQueryAgentsSpansQueryPostResponse(rsp *http.Response) (*GenaiSpansQueryAgentsSpansQueryPostResponse, error)

ParseGenaiSpansQueryAgentsSpansQueryPostResponse parses an HTTP response from a GenaiSpansQueryAgentsSpansQueryPostWithResponse call

func (GenaiSpansQueryAgentsSpansQueryPostResponse) ContentType added in v0.2.0

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

func (GenaiSpansQueryAgentsSpansQueryPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (GenaiSpansQueryAgentsSpansQueryPostResponse) GetJSON200 added in v0.2.0

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

func (GenaiSpansQueryAgentsSpansQueryPostResponse) GetJSON422 added in v0.2.0

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

func (GenaiSpansQueryAgentsSpansQueryPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (GenaiSpansQueryAgentsSpansQueryPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type GenaiSpansStatsAgentsSpansStatsPostJSONRequestBody added in v0.2.0

type GenaiSpansStatsAgentsSpansStatsPostJSONRequestBody = AgentSpanStatsReq

GenaiSpansStatsAgentsSpansStatsPostJSONRequestBody defines body for GenaiSpansStatsAgentsSpansStatsPost for application/json ContentType.

type GenaiSpansStatsAgentsSpansStatsPostResponse added in v0.2.0

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

func ParseGenaiSpansStatsAgentsSpansStatsPostResponse added in v0.2.0

func ParseGenaiSpansStatsAgentsSpansStatsPostResponse(rsp *http.Response) (*GenaiSpansStatsAgentsSpansStatsPostResponse, error)

ParseGenaiSpansStatsAgentsSpansStatsPostResponse parses an HTTP response from a GenaiSpansStatsAgentsSpansStatsPostWithResponse call

func (GenaiSpansStatsAgentsSpansStatsPostResponse) ContentType added in v0.2.0

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

func (GenaiSpansStatsAgentsSpansStatsPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (GenaiSpansStatsAgentsSpansStatsPostResponse) GetJSON200 added in v0.2.0

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

func (GenaiSpansStatsAgentsSpansStatsPostResponse) GetJSON422 added in v0.2.0

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

func (GenaiSpansStatsAgentsSpansStatsPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (GenaiSpansStatsAgentsSpansStatsPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type GenaiTracesChatAgentsTracesChatPostJSONRequestBody added in v0.2.0

type GenaiTracesChatAgentsTracesChatPostJSONRequestBody = AgentTraceChatReq

GenaiTracesChatAgentsTracesChatPostJSONRequestBody defines body for GenaiTracesChatAgentsTracesChatPost for application/json ContentType.

type GenaiTracesChatAgentsTracesChatPostResponse added in v0.2.0

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

func ParseGenaiTracesChatAgentsTracesChatPostResponse added in v0.2.0

func ParseGenaiTracesChatAgentsTracesChatPostResponse(rsp *http.Response) (*GenaiTracesChatAgentsTracesChatPostResponse, error)

ParseGenaiTracesChatAgentsTracesChatPostResponse parses an HTTP response from a GenaiTracesChatAgentsTracesChatPostWithResponse call

func (GenaiTracesChatAgentsTracesChatPostResponse) ContentType added in v0.2.0

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

func (GenaiTracesChatAgentsTracesChatPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (GenaiTracesChatAgentsTracesChatPostResponse) GetJSON200 added in v0.2.0

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

func (GenaiTracesChatAgentsTracesChatPostResponse) GetJSON422 added in v0.2.0

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

func (GenaiTracesChatAgentsTracesChatPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (GenaiTracesChatAgentsTracesChatPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type Geolocation

type Geolocation struct {
	// CountryCode 2-letter country code in ISO 3166-1 Alpha 2 format
	CountryCode string `json:"country_code"`

	// CountryName Country name, None if could not be determined
	CountryName *string `json:"country_name,omitempty"`

	// FileIndex row in CSV file
	FileIndex int `json:"file_index"`

	// RangeEndInt End of IP range as integer
	RangeEndInt int `json:"range_end_int"`

	// RangeEndIp End of IP range in dotted decimal notation
	RangeEndIp string `json:"range_end_ip"`

	// RangeStartInt Start of IP range as integer
	RangeStartInt int `json:"range_start_int"`

	// RangeStartIp Start of IP range in dotted decimal notation
	RangeStartIp string `json:"range_start_ip"`
}

Geolocation defines model for Geolocation.

type GeolocationRes

type GeolocationRes struct {
	// Allowed Whether the IP address is allowed to be used for inference.
	Allowed *bool `json:"allowed,omitempty"`

	// Ip Resolved IP address, useful for debugging
	Ip string `json:"ip"`

	// Location Information about the location of the IP address, None if could not be determined
	Location *Geolocation `json:"location,omitempty"`
}

GeolocationRes defines model for GeolocationRes.

type GetCallerLocationGeolocateGetParams

type GetCallerLocationGeolocateGetParams struct {
	// Ip IP address to geolocate, defaults to client IP address
	Ip *string `form:"ip,omitempty" json:"ip,omitempty"`
}

GetCallerLocationGeolocateGetParams defines parameters for GetCallerLocationGeolocateGet.

type GetCallerLocationGeolocateGetResponse

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

func ParseGetCallerLocationGeolocateGetResponse

func ParseGetCallerLocationGeolocateGetResponse(rsp *http.Response) (*GetCallerLocationGeolocateGetResponse, error)

ParseGetCallerLocationGeolocateGetResponse parses an HTTP response from a GetCallerLocationGeolocateGetWithResponse call

func (GetCallerLocationGeolocateGetResponse) ContentType

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

func (GetCallerLocationGeolocateGetResponse) GetBody

GetBody returns the raw response body bytes

func (GetCallerLocationGeolocateGetResponse) GetJSON200

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

func (GetCallerLocationGeolocateGetResponse) GetJSON422

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

func (GetCallerLocationGeolocateGetResponse) Status

Status returns HTTPResponse.Status

func (GetCallerLocationGeolocateGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetFieldOperator

type GetFieldOperator struct {
	GetField string `json:"$getField"`
}

GetFieldOperator Access a field on the traced call.

Supports dot notation for nested access, e.g. `summary.usage.tokens`.

Only works on fields present in the `CallSchema`, including: - Top-level fields like `op_name`, `trace_id`, `started_at` - Nested fields like `inputs.input_name`, `summary.usage.tokens`, etc.

Example:

```
{"$getField": "op_name"}
```

type GetProjectExportResponse added in v0.2.1

type GetProjectExportResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ExportStatusResponse
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ExportErrorResponse
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *ExportAuthorizationErrorResponse
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *ExportAuthorizationErrorResponse
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *ExportErrorResponse
	// JSON409 the response for an HTTP 409 `application/json` response
	JSON409 *ExportErrorResponse
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
	// JSON501 the response for an HTTP 501 `application/json` response
	JSON501 *ExportErrorResponse
	// JSON503 the response for an HTTP 503 `application/json` response
	JSON503 *ExportErrorResponse
}

func ParseGetProjectExportResponse added in v0.2.1

func ParseGetProjectExportResponse(rsp *http.Response) (*GetProjectExportResponse, error)

ParseGetProjectExportResponse parses an HTTP response from a GetProjectExportWithResponse call

func (GetProjectExportResponse) ContentType added in v0.2.1

func (r GetProjectExportResponse) ContentType() string

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

func (GetProjectExportResponse) GetBody added in v0.2.1

func (r GetProjectExportResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectExportResponse) GetJSON200 added in v0.2.1

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

func (GetProjectExportResponse) GetJSON400 added in v0.2.1

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (GetProjectExportResponse) GetJSON401 added in v0.2.1

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (GetProjectExportResponse) GetJSON403 added in v0.2.1

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetProjectExportResponse) GetJSON404 added in v0.2.1

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetProjectExportResponse) GetJSON409 added in v0.2.1

GetJSON409 returns the response for an HTTP 409 `application/json` response

func (GetProjectExportResponse) GetJSON422 added in v0.2.1

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

func (GetProjectExportResponse) GetJSON501 added in v0.2.1

GetJSON501 returns the response for an HTTP 501 `application/json` response

func (GetProjectExportResponse) GetJSON503 added in v0.2.1

GetJSON503 returns the response for an HTTP 503 `application/json` response

func (GetProjectExportResponse) Status added in v0.2.1

func (r GetProjectExportResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectExportResponse) StatusCode added in v0.2.1

func (r GetProjectExportResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GtOperation

type GtOperation struct {
	Gt []interface{} `json:"$gt"`
}

GtOperation Greater than comparison.

Example:

```
{
    "$gt": [{"$getField": "summary.usage.tokens"}, {"$literal": 100}]
}
```

type GteOperation

type GteOperation struct {
	Gte []interface{} `json:"$gte"`
}

GteOperation Greater than or equal comparison.

Example:

```
{
    "$gte": [{"$getField": "summary.usage.tokens"}, {"$literal": 100}]
}
```

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 ImageCreateImageCreatePostJSONRequestBody

type ImageCreateImageCreatePostJSONRequestBody = ImageGenerationCreateReq

ImageCreateImageCreatePostJSONRequestBody defines body for ImageCreateImageCreatePost for application/json ContentType.

type ImageCreateImageCreatePostResponse

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

func ParseImageCreateImageCreatePostResponse

func ParseImageCreateImageCreatePostResponse(rsp *http.Response) (*ImageCreateImageCreatePostResponse, error)

ParseImageCreateImageCreatePostResponse parses an HTTP response from a ImageCreateImageCreatePostWithResponse call

func (ImageCreateImageCreatePostResponse) ContentType

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

func (ImageCreateImageCreatePostResponse) GetBody

GetBody returns the raw response body bytes

func (ImageCreateImageCreatePostResponse) GetJSON200

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

func (ImageCreateImageCreatePostResponse) GetJSON422

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

func (ImageCreateImageCreatePostResponse) Status

Status returns HTTPResponse.Status

func (ImageCreateImageCreatePostResponse) StatusCode

func (r ImageCreateImageCreatePostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ImageGenerationCreateReq

type ImageGenerationCreateReq struct {
	Inputs    ImageGenerationRequestInputs `json:"inputs"`
	ProjectId string                       `json:"project_id"`

	// TrackLlmCall Whether to track this image generation call in the trace server
	TrackLlmCall *bool `json:"track_llm_call,omitempty"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`
}

ImageGenerationCreateReq defines model for ImageGenerationCreateReq.

type ImageGenerationCreateRes

type ImageGenerationCreateRes struct {
	Response    map[string]interface{} `json:"response"`
	WeaveCallId *string                `json:"weave_call_id"`
}

ImageGenerationCreateRes defines model for ImageGenerationCreateRes.

type ImageGenerationRequestInputs

type ImageGenerationRequestInputs struct {
	Model  string `json:"model"`
	N      *int   `json:"n,omitempty"`
	Prompt string `json:"prompt"`
}

ImageGenerationRequestInputs defines model for ImageGenerationRequestInputs.

type InOperation

type InOperation struct {
	In []interface{} `json:"$in"`
}

InOperation Membership check.

Returns true if the left operand is in the list provided as the second operand.

Example:

```
{
    "$in": [
        {"$getField": "op_name"},
        [{"$literal": "predict"}, {"$literal": "generate"}]
    ]
}
```

type InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetResponse added in v0.2.0

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

func ParseInferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetResponse added in v0.2.0

func ParseInferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetResponse(rsp *http.Response) (*InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetResponse, error)

ParseInferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetResponse parses an HTTP response from a InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetWithResponse call

func (InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetResponse) ContentType added in v0.2.0

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

func (InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetResponse) GetJSON200 added in v0.2.0

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

func (InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (InferenceAnalysisArtificialanalysisModelsInferenceAnalysisArtificialanalysisModelsGetResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type InferenceCatalogModelsInferenceCatalogModelsGetResponse added in v0.2.0

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

func ParseInferenceCatalogModelsInferenceCatalogModelsGetResponse added in v0.2.0

func ParseInferenceCatalogModelsInferenceCatalogModelsGetResponse(rsp *http.Response) (*InferenceCatalogModelsInferenceCatalogModelsGetResponse, error)

ParseInferenceCatalogModelsInferenceCatalogModelsGetResponse parses an HTTP response from a InferenceCatalogModelsInferenceCatalogModelsGetWithResponse call

func (InferenceCatalogModelsInferenceCatalogModelsGetResponse) ContentType added in v0.2.0

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

func (InferenceCatalogModelsInferenceCatalogModelsGetResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (InferenceCatalogModelsInferenceCatalogModelsGetResponse) GetJSON200 added in v0.2.0

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

func (InferenceCatalogModelsInferenceCatalogModelsGetResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (InferenceCatalogModelsInferenceCatalogModelsGetResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type InferenceModelsdevModelsInferenceModelsdevModelsGetResponse added in v0.2.0

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

func ParseInferenceModelsdevModelsInferenceModelsdevModelsGetResponse added in v0.2.0

func ParseInferenceModelsdevModelsInferenceModelsdevModelsGetResponse(rsp *http.Response) (*InferenceModelsdevModelsInferenceModelsdevModelsGetResponse, error)

ParseInferenceModelsdevModelsInferenceModelsdevModelsGetResponse parses an HTTP response from a InferenceModelsdevModelsInferenceModelsdevModelsGetWithResponse call

func (InferenceModelsdevModelsInferenceModelsdevModelsGetResponse) ContentType added in v0.2.0

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

func (InferenceModelsdevModelsInferenceModelsdevModelsGetResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (InferenceModelsdevModelsInferenceModelsdevModelsGetResponse) GetJSON200 added in v0.2.0

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

func (InferenceModelsdevModelsInferenceModelsdevModelsGetResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (InferenceModelsdevModelsInferenceModelsdevModelsGetResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetResponse

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

func ParseInferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetResponse

func ParseInferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetResponse(rsp *http.Response) (*InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetResponse, error)

ParseInferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetResponse parses an HTTP response from a InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetWithResponse call

func (InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetResponse) ContentType

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

func (InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetResponse) GetBody

GetBody returns the raw response body bytes

func (InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetResponse) GetJSON200

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

func (InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetResponse) Status

Status returns HTTPResponse.Status

func (InferenceRouterOpenrouterModelsInferenceRouterOpenrouterModelsGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type Interleaved added in v0.2.0

type Interleaved struct {
	// Field Format identifier for interleaved reasoning.
	Field InterleavedField `json:"field"`
}

Interleaved Reasoning interleaving support details.

type InterleavedField added in v0.2.0

type InterleavedField string

InterleavedField Format identifier for interleaved reasoning.

const (
	InterleavedFieldReasoningContent InterleavedField = "reasoning_content"
	InterleavedFieldReasoningDetails InterleavedField = "reasoning_details"
)

Defines values for InterleavedField.

func (InterleavedField) Valid added in v0.2.0

func (e InterleavedField) Valid() bool

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

type JobArtifact added in v0.2.1

type JobArtifact struct {
	ExpectedRows int    `json:"expected_rows"`
	Target       string `json:"target"`
	Uri          string `json:"uri"`
	WrittenRows  int    `json:"written_rows"`
}

JobArtifact defines model for JobArtifact.

type JobFailure added in v0.2.1

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

JobFailure defines model for JobFailure.

type LLMAggregatedUsage

type LLMAggregatedUsage struct {
	CacheCreationInputTokens          int      `json:"cache_creation_input_tokens"`
	CacheCreationInputTokensTotalCost *float64 `json:"cache_creation_input_tokens_total_cost"`
	CacheReadInputTokens              int      `json:"cache_read_input_tokens"`
	CacheReadInputTokensTotalCost     *float64 `json:"cache_read_input_tokens_total_cost"`
	CompletionTokens                  int      `json:"completion_tokens"`
	CompletionTokensTotalCost         *float64 `json:"completion_tokens_total_cost"`
	PromptTokens                      int      `json:"prompt_tokens"`
	PromptTokensTotalCost             *float64 `json:"prompt_tokens_total_cost"`
	Requests                          int      `json:"requests"`
	TotalTokens                       int      `json:"total_tokens"`
}

LLMAggregatedUsage Aggregated usage metrics for a specific LLM.

Constructor defaults stay for Python callers. Serialization JSON Schema marks those fields required so OpenAPI matches the JSON FastAPI sends.

type LLMModelDetails added in v0.2.0

type LLMModelDetails struct {
	ApiStyle                         string                             `json:"apiStyle"`
	AvailableIn                      []LLMModelDetailsAvailableIn       `json:"availableIn"`
	ContextWindow                    int                                `json:"contextWindow"`
	DescriptionMedium                string                             `json:"descriptionMedium"`
	DescriptionShort                 string                             `json:"descriptionShort"`
	DownloadsHuggingFace             int                                `json:"downloadsHuggingFace"`
	FeatureJsonMode                  bool                               `json:"featureJsonMode"`
	FeatureLoRA                      bool                               `json:"featureLoRA"`
	FeatureReasoning                 bool                               `json:"featureReasoning"`
	FeatureStructuredOutput          bool                               `json:"featureStructuredOutput"`
	FeatureToolCalling               bool                               `json:"featureToolCalling"`
	FeatureTrainableServerlessRL     bool                               `json:"featureTrainableServerlessRL"`
	Id                               string                             `json:"id"`
	IdHuggingFace                    string                             `json:"idHuggingFace"`
	IdPlayground                     string                             `json:"idPlayground"`
	IsAvailableOpenRouter            bool                               `json:"isAvailableOpenRouter"`
	Label                            string                             `json:"label"`
	LabelOpenRouter                  string                             `json:"labelOpenRouter"`
	LaunchDate                       string                             `json:"launchDate"`
	LaunchedQuarter                  string                             `json:"launchedQuarter"`
	License                          string                             `json:"license"`
	LifecycleStage                   LLMModelDetailsLifecycleStage      `json:"lifecycleStage"`
	LikesHuggingFace                 int                                `json:"likesHuggingFace"`
	Modalities                       []string                           `json:"modalities"`
	ModalitiesInput                  []string                           `json:"modalitiesInput"`
	ModalitiesOutput                 []string                           `json:"modalitiesOutput"`
	OpenRouterPermaslug              *string                            `json:"openRouterPermaslug,omitempty"`
	ParameterCountActive             *int                               `json:"parameterCountActive,omitempty"`
	ParameterCountTotal              int                                `json:"parameterCountTotal"`
	PriceCentsPerBillionTokensCached int                                `json:"priceCentsPerBillionTokensCached"`
	PriceCentsPerBillionTokensInput  int                                `json:"priceCentsPerBillionTokensInput"`
	PriceCentsPerBillionTokensOutput int                                `json:"priceCentsPerBillionTokensOutput"`
	Provider                         string                             `json:"provider"`
	Quantization                     LLMModelDetailsQuantization        `json:"quantization"`
	ReasoningArgument                *string                            `json:"reasoningArgument,omitempty"`
	ReasoningEfforts                 *[]LLMModelDetailsReasoningEfforts `json:"reasoningEfforts,omitempty"`
	ReasoningSupport                 *LLMModelDetailsReasoningSupport   `json:"reasoningSupport,omitempty"`
	Status                           string                             `json:"status"`
	Tags                             []string                           `json:"tags"`
	TrainingSequenceLimit            *int                               `json:"trainingSequenceLimit,omitempty"`
}

LLMModelDetails defines model for LLMModelDetails.

type LLMModelDetailsAvailableIn added in v0.2.0

type LLMModelDetailsAvailableIn string

LLMModelDetailsAvailableIn defines model for LLMModelDetails.AvailableIn.

const (
	LLMModelDetailsAvailableInCwProd LLMModelDetailsAvailableIn = "cw-prod"
	LLMModelDetailsAvailableInCwQa   LLMModelDetailsAvailableIn = "cw-qa"
)

Defines values for LLMModelDetailsAvailableIn.

func (LLMModelDetailsAvailableIn) Valid added in v0.2.0

func (e LLMModelDetailsAvailableIn) Valid() bool

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

type LLMModelDetailsLifecycleStage added in v0.2.0

type LLMModelDetailsLifecycleStage string

LLMModelDetailsLifecycleStage defines model for LLMModelDetails.LifecycleStage.

const (
	LLMModelDetailsLifecycleStageDeprecated          LLMModelDetailsLifecycleStage = "deprecated"
	LLMModelDetailsLifecycleStageExperimental        LLMModelDetailsLifecycleStage = "experimental"
	LLMModelDetailsLifecycleStageGeneralAvailability LLMModelDetailsLifecycleStage = "general-availability"
	LLMModelDetailsLifecycleStageRetired             LLMModelDetailsLifecycleStage = "retired"
)

Defines values for LLMModelDetailsLifecycleStage.

func (LLMModelDetailsLifecycleStage) Valid added in v0.2.0

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

type LLMModelDetailsQuantization added in v0.2.0

type LLMModelDetailsQuantization string

LLMModelDetailsQuantization defines model for LLMModelDetails.Quantization.

const (
	LLMModelDetailsQuantizationBf16  LLMModelDetailsQuantization = "bf16"
	LLMModelDetailsQuantizationFp16  LLMModelDetailsQuantization = "fp16"
	LLMModelDetailsQuantizationFp32  LLMModelDetailsQuantization = "fp32"
	LLMModelDetailsQuantizationFp4   LLMModelDetailsQuantization = "fp4"
	LLMModelDetailsQuantizationFp6   LLMModelDetailsQuantization = "fp6"
	LLMModelDetailsQuantizationFp8   LLMModelDetailsQuantization = "fp8"
	LLMModelDetailsQuantizationInt4  LLMModelDetailsQuantization = "int4"
	LLMModelDetailsQuantizationInt8  LLMModelDetailsQuantization = "int8"
	LLMModelDetailsQuantizationNvfp4 LLMModelDetailsQuantization = "nvfp4"
)

Defines values for LLMModelDetailsQuantization.

func (LLMModelDetailsQuantization) Valid added in v0.2.0

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

type LLMModelDetailsReasoningEfforts added in v0.2.0

type LLMModelDetailsReasoningEfforts string

LLMModelDetailsReasoningEfforts defines model for LLMModelDetails.ReasoningEfforts.

const (
	LLMModelDetailsReasoningEffortsHigh    LLMModelDetailsReasoningEfforts = "high"
	LLMModelDetailsReasoningEffortsLow     LLMModelDetailsReasoningEfforts = "low"
	LLMModelDetailsReasoningEffortsMax     LLMModelDetailsReasoningEfforts = "max"
	LLMModelDetailsReasoningEffortsMedium  LLMModelDetailsReasoningEfforts = "medium"
	LLMModelDetailsReasoningEffortsMinimal LLMModelDetailsReasoningEfforts = "minimal"
	LLMModelDetailsReasoningEffortsNone    LLMModelDetailsReasoningEfforts = "none"
	LLMModelDetailsReasoningEffortsXhigh   LLMModelDetailsReasoningEfforts = "xhigh"
)

Defines values for LLMModelDetailsReasoningEfforts.

func (LLMModelDetailsReasoningEfforts) Valid added in v0.2.0

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

type LLMModelDetailsReasoningSupport added in v0.2.0

type LLMModelDetailsReasoningSupport string

LLMModelDetailsReasoningSupport defines model for LLMModelDetails.ReasoningSupport.

const (
	LLMModelDetailsReasoningSupportAdaptive    LLMModelDetailsReasoningSupport = "adaptive"
	LLMModelDetailsReasoningSupportAlwaysOn    LLMModelDetailsReasoningSupport = "always-on"
	LLMModelDetailsReasoningSupportDefaultOff  LLMModelDetailsReasoningSupport = "default-off"
	LLMModelDetailsReasoningSupportDefaultOn   LLMModelDetailsReasoningSupport = "default-on"
	LLMModelDetailsReasoningSupportUnsupported LLMModelDetailsReasoningSupport = "unsupported"
)

Defines values for LLMModelDetailsReasoningSupport.

func (LLMModelDetailsReasoningSupport) Valid added in v0.2.0

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

type LLMUsageSchema

type LLMUsageSchema struct {
	CacheCreationInputTokens *int                   `json:"cache_creation_input_tokens,omitempty"`
	CacheReadInputTokens     *int                   `json:"cache_read_input_tokens,omitempty"`
	CompletionTokens         *int                   `json:"completion_tokens,omitempty"`
	InputTokens              *int                   `json:"input_tokens,omitempty"`
	OutputTokens             *int                   `json:"output_tokens,omitempty"`
	PromptTokens             *int                   `json:"prompt_tokens,omitempty"`
	Requests                 *int                   `json:"requests,omitempty"`
	TotalTokens              *int                   `json:"total_tokens,omitempty"`
	AdditionalProperties     map[string]interface{} `json:"-"`
}

LLMUsageSchema defines model for LLMUsageSchema.

func (LLMUsageSchema) Get

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

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

func (LLMUsageSchema) MarshalJSON

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

Override default JSON handling for LLMUsageSchema to handle AdditionalProperties

func (*LLMUsageSchema) Set

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

Setter for additional properties for LLMUsageSchema

func (*LLMUsageSchema) UnmarshalJSON

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

Override default JSON handling for LLMUsageSchema to handle AdditionalProperties

type Limit added in v0.2.0

type Limit struct {
	// Context Maximum context window in tokens.
	Context int `json:"context"`

	// Input Maximum input tokens.
	Input int `json:"input"`

	// Output Maximum output tokens.
	Output int `json:"output"`
}

Limit Token limits for a model.

type LinkToRegistryLinkToRegistryPostJSONRequestBody added in v0.2.0

type LinkToRegistryLinkToRegistryPostJSONRequestBody = CreateAndLinkPayload

LinkToRegistryLinkToRegistryPostJSONRequestBody defines body for LinkToRegistryLinkToRegistryPost for application/json ContentType.

type LinkToRegistryLinkToRegistryPostResponse added in v0.2.0

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

func ParseLinkToRegistryLinkToRegistryPostResponse added in v0.2.0

func ParseLinkToRegistryLinkToRegistryPostResponse(rsp *http.Response) (*LinkToRegistryLinkToRegistryPostResponse, error)

ParseLinkToRegistryLinkToRegistryPostResponse parses an HTTP response from a LinkToRegistryLinkToRegistryPostWithResponse call

func (LinkToRegistryLinkToRegistryPostResponse) ContentType added in v0.2.0

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

func (LinkToRegistryLinkToRegistryPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (LinkToRegistryLinkToRegistryPostResponse) GetJSON200 added in v0.2.0

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

func (LinkToRegistryLinkToRegistryPostResponse) GetJSON422 added in v0.2.0

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

func (LinkToRegistryLinkToRegistryPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (LinkToRegistryLinkToRegistryPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type LiteralOperation

type LiteralOperation struct {
	Literal *LiteralOperation_Literal `json:"$literal"`
}

LiteralOperation Represents a constant value in the query language.

This can be any standard JSON-serializable value.

Example:

```
{"$literal": "predict"}
```

type LiteralOperationLiteral0

type LiteralOperationLiteral0 = string

LiteralOperationLiteral0 defines model for LiteralOperation.Literal.0.

type LiteralOperationLiteral1

type LiteralOperationLiteral1 = int

LiteralOperationLiteral1 defines model for LiteralOperation.Literal.1.

type LiteralOperationLiteral2

type LiteralOperationLiteral2 = float64

LiteralOperationLiteral2 defines model for LiteralOperation.Literal.2.

type LiteralOperationLiteral3

type LiteralOperationLiteral3 = bool

LiteralOperationLiteral3 defines model for LiteralOperation.Literal.3.

type LiteralOperationLiteral4

type LiteralOperationLiteral4 map[string]LiteralOperation

LiteralOperationLiteral4 defines model for LiteralOperation.Literal.4.

type LiteralOperationLiteral5

type LiteralOperationLiteral5 = []LiteralOperation

LiteralOperationLiteral5 defines model for LiteralOperation.Literal.5.

type LiteralOperation_Literal

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

LiteralOperation_Literal defines model for LiteralOperation.Literal.

func (LiteralOperation_Literal) AsLiteralOperationLiteral0

func (t LiteralOperation_Literal) AsLiteralOperationLiteral0() (LiteralOperationLiteral0, error)

AsLiteralOperationLiteral0 returns the union data inside the LiteralOperation_Literal as a LiteralOperationLiteral0

func (LiteralOperation_Literal) AsLiteralOperationLiteral1

func (t LiteralOperation_Literal) AsLiteralOperationLiteral1() (LiteralOperationLiteral1, error)

AsLiteralOperationLiteral1 returns the union data inside the LiteralOperation_Literal as a LiteralOperationLiteral1

func (LiteralOperation_Literal) AsLiteralOperationLiteral2

func (t LiteralOperation_Literal) AsLiteralOperationLiteral2() (LiteralOperationLiteral2, error)

AsLiteralOperationLiteral2 returns the union data inside the LiteralOperation_Literal as a LiteralOperationLiteral2

func (LiteralOperation_Literal) AsLiteralOperationLiteral3

func (t LiteralOperation_Literal) AsLiteralOperationLiteral3() (LiteralOperationLiteral3, error)

AsLiteralOperationLiteral3 returns the union data inside the LiteralOperation_Literal as a LiteralOperationLiteral3

func (LiteralOperation_Literal) AsLiteralOperationLiteral4

func (t LiteralOperation_Literal) AsLiteralOperationLiteral4() (LiteralOperationLiteral4, error)

AsLiteralOperationLiteral4 returns the union data inside the LiteralOperation_Literal as a LiteralOperationLiteral4

func (LiteralOperation_Literal) AsLiteralOperationLiteral5

func (t LiteralOperation_Literal) AsLiteralOperationLiteral5() (LiteralOperationLiteral5, error)

AsLiteralOperationLiteral5 returns the union data inside the LiteralOperation_Literal as a LiteralOperationLiteral5

func (*LiteralOperation_Literal) FromLiteralOperationLiteral0

func (t *LiteralOperation_Literal) FromLiteralOperationLiteral0(v LiteralOperationLiteral0) error

FromLiteralOperationLiteral0 overwrites any union data inside the LiteralOperation_Literal as the provided LiteralOperationLiteral0

func (*LiteralOperation_Literal) FromLiteralOperationLiteral1

func (t *LiteralOperation_Literal) FromLiteralOperationLiteral1(v LiteralOperationLiteral1) error

FromLiteralOperationLiteral1 overwrites any union data inside the LiteralOperation_Literal as the provided LiteralOperationLiteral1

func (*LiteralOperation_Literal) FromLiteralOperationLiteral2

func (t *LiteralOperation_Literal) FromLiteralOperationLiteral2(v LiteralOperationLiteral2) error

FromLiteralOperationLiteral2 overwrites any union data inside the LiteralOperation_Literal as the provided LiteralOperationLiteral2

func (*LiteralOperation_Literal) FromLiteralOperationLiteral3

func (t *LiteralOperation_Literal) FromLiteralOperationLiteral3(v LiteralOperationLiteral3) error

FromLiteralOperationLiteral3 overwrites any union data inside the LiteralOperation_Literal as the provided LiteralOperationLiteral3

func (*LiteralOperation_Literal) FromLiteralOperationLiteral4

func (t *LiteralOperation_Literal) FromLiteralOperationLiteral4(v LiteralOperationLiteral4) error

FromLiteralOperationLiteral4 overwrites any union data inside the LiteralOperation_Literal as the provided LiteralOperationLiteral4

func (*LiteralOperation_Literal) FromLiteralOperationLiteral5

func (t *LiteralOperation_Literal) FromLiteralOperationLiteral5(v LiteralOperationLiteral5) error

FromLiteralOperationLiteral5 overwrites any union data inside the LiteralOperation_Literal as the provided LiteralOperationLiteral5

func (LiteralOperation_Literal) MarshalJSON

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

func (*LiteralOperation_Literal) MergeLiteralOperationLiteral0

func (t *LiteralOperation_Literal) MergeLiteralOperationLiteral0(v LiteralOperationLiteral0) error

MergeLiteralOperationLiteral0 performs a merge with any union data inside the LiteralOperation_Literal, using the provided LiteralOperationLiteral0

func (*LiteralOperation_Literal) MergeLiteralOperationLiteral1

func (t *LiteralOperation_Literal) MergeLiteralOperationLiteral1(v LiteralOperationLiteral1) error

MergeLiteralOperationLiteral1 performs a merge with any union data inside the LiteralOperation_Literal, using the provided LiteralOperationLiteral1

func (*LiteralOperation_Literal) MergeLiteralOperationLiteral2

func (t *LiteralOperation_Literal) MergeLiteralOperationLiteral2(v LiteralOperationLiteral2) error

MergeLiteralOperationLiteral2 performs a merge with any union data inside the LiteralOperation_Literal, using the provided LiteralOperationLiteral2

func (*LiteralOperation_Literal) MergeLiteralOperationLiteral3

func (t *LiteralOperation_Literal) MergeLiteralOperationLiteral3(v LiteralOperationLiteral3) error

MergeLiteralOperationLiteral3 performs a merge with any union data inside the LiteralOperation_Literal, using the provided LiteralOperationLiteral3

func (*LiteralOperation_Literal) MergeLiteralOperationLiteral4

func (t *LiteralOperation_Literal) MergeLiteralOperationLiteral4(v LiteralOperationLiteral4) error

MergeLiteralOperationLiteral4 performs a merge with any union data inside the LiteralOperation_Literal, using the provided LiteralOperationLiteral4

func (*LiteralOperation_Literal) MergeLiteralOperationLiteral5

func (t *LiteralOperation_Literal) MergeLiteralOperationLiteral5(v LiteralOperationLiteral5) error

MergeLiteralOperationLiteral5 performs a merge with any union data inside the LiteralOperation_Literal, using the provided LiteralOperationLiteral5

func (*LiteralOperation_Literal) UnmarshalJSON

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

type LtOperation added in v0.2.0

type LtOperation struct {
	Lt []interface{} `json:"$lt"`
}

LtOperation Less than comparison.

Example:

```
{
    "$lt": [{"$getField": "summary.usage.tokens"}, {"$literal": 100}]
}
```

type LteOperation added in v0.2.0

type LteOperation struct {
	Lte []interface{} `json:"$lte"`
}

LteOperation Less than or equal comparison.

Example:

```
{
    "$lte": [{"$getField": "summary.usage.tokens"}, {"$literal": 100}]
}
```

type Modalities added in v0.2.0

type Modalities struct {
	// Input Supported input types (e.g. text, image, audio, video, pdf).
	Input []string `json:"input"`

	// Output Supported output types.
	Output []string `json:"output"`
}

Modalities Supported input and output modalities.

type ModelCreateBody

type ModelCreateBody struct {
	// Attributes Additional attributes to be stored with the model
	Attributes *map[string]interface{} `json:"attributes,omitempty"`

	// Description A description of this model
	Description *string `json:"description,omitempty"`

	// Name The name of this model. Models with the same name will be versioned together.
	Name string `json:"name"`

	// SourceCode Complete source code for the Model class including imports
	SourceCode string `json:"source_code"`
}

ModelCreateBody defines model for ModelCreateBody.

type ModelCreateRes

type ModelCreateRes struct {
	// Digest The digest of the created model
	Digest string `json:"digest"`

	// ModelRef Full reference to the created model
	ModelRef string `json:"model_ref"`

	// ObjectId The ID of the created model
	ObjectId string `json:"object_id"`

	// VersionIndex The version index of the created model
	VersionIndex int `json:"version_index"`
}

ModelCreateRes defines model for ModelCreateRes.

type ModelCreateV2EntityProjectModelsPostJSONRequestBody

type ModelCreateV2EntityProjectModelsPostJSONRequestBody = ModelCreateBody

ModelCreateV2EntityProjectModelsPostJSONRequestBody defines body for ModelCreateV2EntityProjectModelsPost for application/json ContentType.

type ModelCreateV2EntityProjectModelsPostResponse

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

func ParseModelCreateV2EntityProjectModelsPostResponse

func ParseModelCreateV2EntityProjectModelsPostResponse(rsp *http.Response) (*ModelCreateV2EntityProjectModelsPostResponse, error)

ParseModelCreateV2EntityProjectModelsPostResponse parses an HTTP response from a ModelCreateV2EntityProjectModelsPostWithResponse call

func (ModelCreateV2EntityProjectModelsPostResponse) ContentType

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

func (ModelCreateV2EntityProjectModelsPostResponse) GetBody

GetBody returns the raw response body bytes

func (ModelCreateV2EntityProjectModelsPostResponse) GetJSON200

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

func (ModelCreateV2EntityProjectModelsPostResponse) GetJSON422

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

func (ModelCreateV2EntityProjectModelsPostResponse) Status

Status returns HTTPResponse.Status

func (ModelCreateV2EntityProjectModelsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ModelDeleteRes

type ModelDeleteRes struct {
	// NumDeleted Number of model versions deleted
	NumDeleted int `json:"num_deleted"`
}

ModelDeleteRes defines model for ModelDeleteRes.

type ModelDeleteV2EntityProjectModelsObjectIdDeleteParams

type ModelDeleteV2EntityProjectModelsObjectIdDeleteParams struct {
	// Digests List of digests to delete. If not provided, all digests for the model will be deleted.
	Digests *[]string `form:"digests,omitempty" json:"digests,omitempty"`
}

ModelDeleteV2EntityProjectModelsObjectIdDeleteParams defines parameters for ModelDeleteV2EntityProjectModelsObjectIdDelete.

type ModelDeleteV2EntityProjectModelsObjectIdDeleteResponse

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

func ParseModelDeleteV2EntityProjectModelsObjectIdDeleteResponse

func ParseModelDeleteV2EntityProjectModelsObjectIdDeleteResponse(rsp *http.Response) (*ModelDeleteV2EntityProjectModelsObjectIdDeleteResponse, error)

ParseModelDeleteV2EntityProjectModelsObjectIdDeleteResponse parses an HTTP response from a ModelDeleteV2EntityProjectModelsObjectIdDeleteWithResponse call

func (ModelDeleteV2EntityProjectModelsObjectIdDeleteResponse) ContentType

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

func (ModelDeleteV2EntityProjectModelsObjectIdDeleteResponse) GetBody

GetBody returns the raw response body bytes

func (ModelDeleteV2EntityProjectModelsObjectIdDeleteResponse) GetJSON200

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

func (ModelDeleteV2EntityProjectModelsObjectIdDeleteResponse) GetJSON422

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

func (ModelDeleteV2EntityProjectModelsObjectIdDeleteResponse) Status

Status returns HTTPResponse.Status

func (ModelDeleteV2EntityProjectModelsObjectIdDeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ModelListV2EntityProjectModelsGetParams

type ModelListV2EntityProjectModelsGetParams struct {
	// Limit Maximum number of models to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of models to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ModelListV2EntityProjectModelsGetParams defines parameters for ModelListV2EntityProjectModelsGet.

type ModelListV2EntityProjectModelsGetResponse

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

func ParseModelListV2EntityProjectModelsGetResponse

func ParseModelListV2EntityProjectModelsGetResponse(rsp *http.Response) (*ModelListV2EntityProjectModelsGetResponse, error)

ParseModelListV2EntityProjectModelsGetResponse parses an HTTP response from a ModelListV2EntityProjectModelsGetWithResponse call

func (ModelListV2EntityProjectModelsGetResponse) ContentType

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

func (ModelListV2EntityProjectModelsGetResponse) GetBody

GetBody returns the raw response body bytes

func (ModelListV2EntityProjectModelsGetResponse) GetJSON422

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

func (ModelListV2EntityProjectModelsGetResponse) Status

Status returns HTTPResponse.Status

func (ModelListV2EntityProjectModelsGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ModelReadRes

type ModelReadRes struct {
	// Attributes Additional attributes stored with the model
	Attributes *map[string]interface{} `json:"attributes,omitempty"`

	// CreatedAt When the model was created
	CreatedAt time.Time `json:"created_at"`

	// Description Description of the model
	Description *string `json:"description,omitempty"`

	// Digest The digest of the model
	Digest string `json:"digest"`

	// Name The name of the model
	Name string `json:"name"`

	// ObjectId The model ID
	ObjectId string `json:"object_id"`

	// SourceCode The source code of the model
	SourceCode string `json:"source_code"`

	// VersionIndex The version index of the object
	VersionIndex int `json:"version_index"`
}

ModelReadRes defines model for ModelReadRes.

type ModelReadV2EntityProjectModelsObjectIdVersionsDigestGetResponse

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

func ParseModelReadV2EntityProjectModelsObjectIdVersionsDigestGetResponse

func ParseModelReadV2EntityProjectModelsObjectIdVersionsDigestGetResponse(rsp *http.Response) (*ModelReadV2EntityProjectModelsObjectIdVersionsDigestGetResponse, error)

ParseModelReadV2EntityProjectModelsObjectIdVersionsDigestGetResponse parses an HTTP response from a ModelReadV2EntityProjectModelsObjectIdVersionsDigestGetWithResponse call

func (ModelReadV2EntityProjectModelsObjectIdVersionsDigestGetResponse) ContentType

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

func (ModelReadV2EntityProjectModelsObjectIdVersionsDigestGetResponse) GetBody

GetBody returns the raw response body bytes

func (ModelReadV2EntityProjectModelsObjectIdVersionsDigestGetResponse) GetJSON200

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

func (ModelReadV2EntityProjectModelsObjectIdVersionsDigestGetResponse) GetJSON422

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

func (ModelReadV2EntityProjectModelsObjectIdVersionsDigestGetResponse) Status

Status returns HTTPResponse.Status

func (ModelReadV2EntityProjectModelsObjectIdVersionsDigestGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ModelsDevModel added in v0.2.0

type ModelsDevModel struct {
	// Attachment File attachment support.
	Attachment bool `json:"attachment"`

	// Cost Pricing information.
	Cost *Cost `json:"cost,omitempty"`

	// Description Human-readable description of the model.
	Description *string `json:"description,omitempty"`

	// Id Model identifier used by the AI SDK.
	Id string `json:"id"`

	// Interleaved Reasoning interleaving support.
	Interleaved *ModelsDevModel_Interleaved `json:"interleaved,omitempty"`

	// Knowledge Knowledge cutoff in YYYY-MM or YYYY-MM-DD format.
	Knowledge *string `json:"knowledge,omitempty"`

	// LastUpdated Most recent update date (YYYY-MM-DD).
	LastUpdated string `json:"last_updated"`

	// Limit Token limits.
	Limit *Limit `json:"limit,omitempty"`

	// Modalities Supported input and output modalities.
	Modalities *Modalities `json:"modalities,omitempty"`

	// Name Display name.
	Name string `json:"name"`

	// OpenWeights Public weights availability.
	OpenWeights bool `json:"open_weights"`

	// Reasoning Chain-of-thought reasoning support.
	Reasoning bool `json:"reasoning"`

	// ReasoningOptions How reasoning is controlled. Set (possibly to an empty list, meaning always-on) when reasoning is supported; omitted otherwise.
	ReasoningOptions *[]ModelsDevModel_ReasoningOptions_Item `json:"reasoning_options,omitempty"`

	// ReleaseDate First public release date (YYYY-MM-DD).
	ReleaseDate string `json:"release_date"`

	// Status Lifecycle status of the model.
	Status *ModelsDevModelStatus `json:"status,omitempty"`

	// StructuredOutput Dedicated structured output feature.
	StructuredOutput *bool `json:"structured_output,omitempty"`

	// Temperature Temperature control support.
	Temperature *bool `json:"temperature,omitempty"`

	// ToolCall Tool calling support.
	ToolCall bool `json:"tool_call"`
}

ModelsDevModel A single model entry in the models.dev schema.

type ModelsDevModelInterleaved0 added in v0.2.0

type ModelsDevModelInterleaved0 = bool

ModelsDevModelInterleaved0 defines model for ModelsDevModel.Interleaved.0.

type ModelsDevModelStatus added in v0.2.0

type ModelsDevModelStatus string

ModelsDevModelStatus defines model for ModelsDevModel.Status.

const (
	ModelsDevModelStatusAlpha      ModelsDevModelStatus = "alpha"
	ModelsDevModelStatusBeta       ModelsDevModelStatus = "beta"
	ModelsDevModelStatusDeprecated ModelsDevModelStatus = "deprecated"
)

Defines values for ModelsDevModelStatus.

func (ModelsDevModelStatus) Valid added in v0.2.0

func (e ModelsDevModelStatus) Valid() bool

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

type ModelsDevModel_Interleaved added in v0.2.0

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

ModelsDevModel_Interleaved Reasoning interleaving support.

func (ModelsDevModel_Interleaved) AsInterleaved added in v0.2.0

func (t ModelsDevModel_Interleaved) AsInterleaved() (Interleaved, error)

AsInterleaved returns the union data inside the ModelsDevModel_Interleaved as a Interleaved

func (ModelsDevModel_Interleaved) AsModelsDevModelInterleaved0 added in v0.2.0

func (t ModelsDevModel_Interleaved) AsModelsDevModelInterleaved0() (ModelsDevModelInterleaved0, error)

AsModelsDevModelInterleaved0 returns the union data inside the ModelsDevModel_Interleaved as a ModelsDevModelInterleaved0

func (*ModelsDevModel_Interleaved) FromInterleaved added in v0.2.0

func (t *ModelsDevModel_Interleaved) FromInterleaved(v Interleaved) error

FromInterleaved overwrites any union data inside the ModelsDevModel_Interleaved as the provided Interleaved

func (*ModelsDevModel_Interleaved) FromModelsDevModelInterleaved0 added in v0.2.0

func (t *ModelsDevModel_Interleaved) FromModelsDevModelInterleaved0(v ModelsDevModelInterleaved0) error

FromModelsDevModelInterleaved0 overwrites any union data inside the ModelsDevModel_Interleaved as the provided ModelsDevModelInterleaved0

func (ModelsDevModel_Interleaved) MarshalJSON added in v0.2.0

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

func (*ModelsDevModel_Interleaved) MergeInterleaved added in v0.2.0

func (t *ModelsDevModel_Interleaved) MergeInterleaved(v Interleaved) error

MergeInterleaved performs a merge with any union data inside the ModelsDevModel_Interleaved, using the provided Interleaved

func (*ModelsDevModel_Interleaved) MergeModelsDevModelInterleaved0 added in v0.2.0

func (t *ModelsDevModel_Interleaved) MergeModelsDevModelInterleaved0(v ModelsDevModelInterleaved0) error

MergeModelsDevModelInterleaved0 performs a merge with any union data inside the ModelsDevModel_Interleaved, using the provided ModelsDevModelInterleaved0

func (*ModelsDevModel_Interleaved) UnmarshalJSON added in v0.2.0

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

type ModelsDevModel_ReasoningOptions_Item added in v0.2.0

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

ModelsDevModel_ReasoningOptions_Item defines model for ModelsDevModel.reasoning_options.Item.

func (ModelsDevModel_ReasoningOptions_Item) AsReasoningBudgetTokens added in v0.2.0

func (t ModelsDevModel_ReasoningOptions_Item) AsReasoningBudgetTokens() (ReasoningBudgetTokens, error)

AsReasoningBudgetTokens returns the union data inside the ModelsDevModel_ReasoningOptions_Item as a ReasoningBudgetTokens

func (ModelsDevModel_ReasoningOptions_Item) AsReasoningEffortOption added in v0.2.0

func (t ModelsDevModel_ReasoningOptions_Item) AsReasoningEffortOption() (ReasoningEffortOption, error)

AsReasoningEffortOption returns the union data inside the ModelsDevModel_ReasoningOptions_Item as a ReasoningEffortOption

func (ModelsDevModel_ReasoningOptions_Item) AsReasoningToggle added in v0.2.0

AsReasoningToggle returns the union data inside the ModelsDevModel_ReasoningOptions_Item as a ReasoningToggle

func (*ModelsDevModel_ReasoningOptions_Item) FromReasoningBudgetTokens added in v0.2.0

func (t *ModelsDevModel_ReasoningOptions_Item) FromReasoningBudgetTokens(v ReasoningBudgetTokens) error

FromReasoningBudgetTokens overwrites any union data inside the ModelsDevModel_ReasoningOptions_Item as the provided ReasoningBudgetTokens

func (*ModelsDevModel_ReasoningOptions_Item) FromReasoningEffortOption added in v0.2.0

func (t *ModelsDevModel_ReasoningOptions_Item) FromReasoningEffortOption(v ReasoningEffortOption) error

FromReasoningEffortOption overwrites any union data inside the ModelsDevModel_ReasoningOptions_Item as the provided ReasoningEffortOption

func (*ModelsDevModel_ReasoningOptions_Item) FromReasoningToggle added in v0.2.0

FromReasoningToggle overwrites any union data inside the ModelsDevModel_ReasoningOptions_Item as the provided ReasoningToggle

func (ModelsDevModel_ReasoningOptions_Item) MarshalJSON added in v0.2.0

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

func (*ModelsDevModel_ReasoningOptions_Item) MergeReasoningBudgetTokens added in v0.2.0

func (t *ModelsDevModel_ReasoningOptions_Item) MergeReasoningBudgetTokens(v ReasoningBudgetTokens) error

MergeReasoningBudgetTokens performs a merge with any union data inside the ModelsDevModel_ReasoningOptions_Item, using the provided ReasoningBudgetTokens

func (*ModelsDevModel_ReasoningOptions_Item) MergeReasoningEffortOption added in v0.2.0

func (t *ModelsDevModel_ReasoningOptions_Item) MergeReasoningEffortOption(v ReasoningEffortOption) error

MergeReasoningEffortOption performs a merge with any union data inside the ModelsDevModel_ReasoningOptions_Item, using the provided ReasoningEffortOption

func (*ModelsDevModel_ReasoningOptions_Item) MergeReasoningToggle added in v0.2.0

func (t *ModelsDevModel_ReasoningOptions_Item) MergeReasoningToggle(v ReasoningToggle) error

MergeReasoningToggle performs a merge with any union data inside the ModelsDevModel_ReasoningOptions_Item, using the provided ReasoningToggle

func (*ModelsDevModel_ReasoningOptions_Item) UnmarshalJSON added in v0.2.0

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

type ModelsDevProvider added in v0.2.0

type ModelsDevProvider struct {
	// Api OpenAI-compatible API endpoint. Required only when using @ai-sdk/openai-compatible.
	Api *string `json:"api,omitempty"`

	// Doc Link to provider documentation.
	Doc string `json:"doc"`

	// Env Environment variable keys for authentication.
	Env []string `json:"env"`

	// Id Provider identifier, derived from the folder name.
	Id string `json:"id"`

	// Models Mapping of model id -> model.
	Models *map[string]ModelsDevModel `json:"models,omitempty"`

	// Name Display name of the provider.
	Name string `json:"name"`

	// Npm AI SDK package name.
	Npm string `json:"npm"`
}

ModelsDevProvider A provider entry in the models.dev schema.

type NormalizedMessage added in v0.2.0

type NormalizedMessage struct {
	Content      string `json:"content"`
	FinishReason string `json:"finish_reason"`
	Role         string `json:"role"`
}

NormalizedMessage A single message normalized from any provider format.

Maps to ClickHouse “Tuple(role String, content String, finish_reason String)“.

  • role: message role (user, assistant, tool, system)
  • content: plain text for simple messages, or JSON-serialized parts array for multimodal/structured messages
  • finish_reason: per-message finish reason (output messages only)

Serialization JSON Schema marks defaulted fields required. In the public OpenAPI document this class appears only as an AgentSpanSchema message element. Ingest validation is unchanged.

type NotOperation

type NotOperation struct {
	Not []interface{} `json:"$not"`
}

NotOperation Logical NOT. Inverts the condition.

Example:

```
{
    "$not": [
        {"$eq": [{"$getField": "op_name"}, {"$literal": "debug"}]}
    ]
}
```

type NvidiaHardwareInferenceNvidiaV2HardwareGetParams added in v0.2.0

type NvidiaHardwareInferenceNvidiaV2HardwareGetParams struct {
	// Model Model name without the publisher prefix
	Model string `form:"model" json:"model"`
}

NvidiaHardwareInferenceNvidiaV2HardwareGetParams defines parameters for NvidiaHardwareInferenceNvidiaV2HardwareGet.

type NvidiaHardwareInferenceNvidiaV2HardwareGetResponse added in v0.2.0

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

func ParseNvidiaHardwareInferenceNvidiaV2HardwareGetResponse added in v0.2.0

func ParseNvidiaHardwareInferenceNvidiaV2HardwareGetResponse(rsp *http.Response) (*NvidiaHardwareInferenceNvidiaV2HardwareGetResponse, error)

ParseNvidiaHardwareInferenceNvidiaV2HardwareGetResponse parses an HTTP response from a NvidiaHardwareInferenceNvidiaV2HardwareGetWithResponse call

func (NvidiaHardwareInferenceNvidiaV2HardwareGetResponse) ContentType added in v0.2.0

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

func (NvidiaHardwareInferenceNvidiaV2HardwareGetResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (NvidiaHardwareInferenceNvidiaV2HardwareGetResponse) GetJSON200 added in v0.2.0

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

func (NvidiaHardwareInferenceNvidiaV2HardwareGetResponse) GetJSON422 added in v0.2.0

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

func (NvidiaHardwareInferenceNvidiaV2HardwareGetResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (NvidiaHardwareInferenceNvidiaV2HardwareGetResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type NvidiaHardwareOption added in v0.2.0

type NvidiaHardwareOption struct {
	Id      string                  `json:"id"`
	Name    string                  `json:"name"`
	Pricing NvidiaServerlessPricing `json:"pricing"`
	Specs   *map[string]string      `json:"specs,omitempty"`
	Type    string                  `json:"type"`
}

NvidiaHardwareOption defines model for NvidiaHardwareOption.

type NvidiaHardwareRes added in v0.2.0

type NvidiaHardwareRes struct {
	Hardware []NvidiaHardwareOption `json:"hardware"`
}

NvidiaHardwareRes defines model for NvidiaHardwareRes.

type NvidiaServerlessPricing added in v0.2.0

type NvidiaServerlessPricing struct {
	CentsPerMillionInputTokens  float64 `json:"cents_per_million_input_tokens"`
	CentsPerMillionOutputTokens float64 `json:"cents_per_million_output_tokens"`
}

NvidiaServerlessPricing defines model for NvidiaServerlessPricing.

type ObjAddTagsObjsObjectIdVersionsDigestTagsPutJSONRequestBody added in v0.2.0

type ObjAddTagsObjsObjectIdVersionsDigestTagsPutJSONRequestBody = ObjTagsBody

ObjAddTagsObjsObjectIdVersionsDigestTagsPutJSONRequestBody defines body for ObjAddTagsObjsObjectIdVersionsDigestTagsPut for application/json ContentType.

type ObjAddTagsObjsObjectIdVersionsDigestTagsPutResponse added in v0.2.0

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

func ParseObjAddTagsObjsObjectIdVersionsDigestTagsPutResponse added in v0.2.0

func ParseObjAddTagsObjsObjectIdVersionsDigestTagsPutResponse(rsp *http.Response) (*ObjAddTagsObjsObjectIdVersionsDigestTagsPutResponse, error)

ParseObjAddTagsObjsObjectIdVersionsDigestTagsPutResponse parses an HTTP response from a ObjAddTagsObjsObjectIdVersionsDigestTagsPutWithResponse call

func (ObjAddTagsObjsObjectIdVersionsDigestTagsPutResponse) ContentType added in v0.2.0

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

func (ObjAddTagsObjsObjectIdVersionsDigestTagsPutResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (ObjAddTagsObjsObjectIdVersionsDigestTagsPutResponse) GetJSON200 added in v0.2.0

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

func (ObjAddTagsObjsObjectIdVersionsDigestTagsPutResponse) GetJSON422 added in v0.2.0

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

func (ObjAddTagsObjsObjectIdVersionsDigestTagsPutResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (ObjAddTagsObjsObjectIdVersionsDigestTagsPutResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type ObjAddTagsRes added in v0.2.0

type ObjAddTagsRes = map[string]interface{}

ObjAddTagsRes defines model for ObjAddTagsRes.

type ObjCreateObjCreatePostJSONRequestBody

type ObjCreateObjCreatePostJSONRequestBody = ObjCreateReq

ObjCreateObjCreatePostJSONRequestBody defines body for ObjCreateObjCreatePost for application/json ContentType.

type ObjCreateObjCreatePostResponse

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

func ParseObjCreateObjCreatePostResponse

func ParseObjCreateObjCreatePostResponse(rsp *http.Response) (*ObjCreateObjCreatePostResponse, error)

ParseObjCreateObjCreatePostResponse parses an HTTP response from a ObjCreateObjCreatePostWithResponse call

func (ObjCreateObjCreatePostResponse) ContentType

func (r ObjCreateObjCreatePostResponse) ContentType() string

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

func (ObjCreateObjCreatePostResponse) GetBody

func (r ObjCreateObjCreatePostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ObjCreateObjCreatePostResponse) GetJSON200

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

func (ObjCreateObjCreatePostResponse) GetJSON422

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

func (ObjCreateObjCreatePostResponse) Status

Status returns HTTPResponse.Status

func (ObjCreateObjCreatePostResponse) StatusCode

func (r ObjCreateObjCreatePostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ObjCreateReq

type ObjCreateReq struct {
	Obj ObjSchemaForInsert `json:"obj"`
}

ObjCreateReq defines model for ObjCreateReq.

type ObjCreateRes

type ObjCreateRes struct {
	Digest   string  `json:"digest"`
	ObjectId *string `json:"object_id,omitempty"`
}

ObjCreateRes defines model for ObjCreateRes.

type ObjDeleteObjDeletePostJSONRequestBody

type ObjDeleteObjDeletePostJSONRequestBody = ObjDeleteReq

ObjDeleteObjDeletePostJSONRequestBody defines body for ObjDeleteObjDeletePost for application/json ContentType.

type ObjDeleteObjDeletePostResponse

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

func ParseObjDeleteObjDeletePostResponse

func ParseObjDeleteObjDeletePostResponse(rsp *http.Response) (*ObjDeleteObjDeletePostResponse, error)

ParseObjDeleteObjDeletePostResponse parses an HTTP response from a ObjDeleteObjDeletePostWithResponse call

func (ObjDeleteObjDeletePostResponse) ContentType

func (r ObjDeleteObjDeletePostResponse) ContentType() string

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

func (ObjDeleteObjDeletePostResponse) GetBody

func (r ObjDeleteObjDeletePostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ObjDeleteObjDeletePostResponse) GetJSON200

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

func (ObjDeleteObjDeletePostResponse) GetJSON422

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

func (ObjDeleteObjDeletePostResponse) Status

Status returns HTTPResponse.Status

func (ObjDeleteObjDeletePostResponse) StatusCode

func (r ObjDeleteObjDeletePostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ObjDeleteReq

type ObjDeleteReq struct {
	// Digests List of digests to delete. If not provided, all digests for the object will be deleted.
	Digests   *[]string `json:"digests,omitempty"`
	ObjectId  string    `json:"object_id"`
	ProjectId string    `json:"project_id"`
}

ObjDeleteReq defines model for ObjDeleteReq.

type ObjDeleteRes

type ObjDeleteRes struct {
	// DeletedVersions Metadata for each deleted object version, with digest aliases resolved to content digests. None when the backing server does not report it.
	DeletedVersions *[]DeletedObjVersion `json:"deleted_versions,omitempty"`
	NumDeleted      int                  `json:"num_deleted"`
}

ObjDeleteRes defines model for ObjDeleteRes.

type ObjQueryReq

type ObjQueryReq struct {
	// Filter Filter criteria for the query. See `ObjectVersionFilter`
	//
	// Examples: {"latest_only":true,"object_ids":["my_favorite_model"]}
	Filter *ObjectVersionFilter `json:"filter,omitempty"`

	// IncludeStorageSize If true, the `size_bytes` column is returned.
	IncludeStorageSize *bool `json:"include_storage_size,omitempty"`

	// IncludeTagsAndAliases If true, tags and aliases are fetched and included in the response.
	IncludeTagsAndAliases *bool `json:"include_tags_and_aliases,omitempty"`

	// Limit Maximum number of results to return
	//
	// Examples: 100
	Limit *int `json:"limit,omitempty"`

	// MetadataOnly If true, the `val` column is not read from the database and is empty.All other fields are returned.
	MetadataOnly *bool `json:"metadata_only,omitempty"`

	// Offset Number of results to skip before returning
	//
	// Examples: 0
	Offset *int `json:"offset,omitempty"`

	// ProjectId The ID of the project to query
	//
	// Examples: user/project
	ProjectId string `json:"project_id"`

	// SortBy Sorting criteria for the query results. Currently only supports 'object_id' and 'created_at'.
	//
	// Examples: [{"direction":"desc","field":"created_at"}]
	SortBy *[]SortBy `json:"sort_by,omitempty"`
}

ObjQueryReq defines model for ObjQueryReq.

type ObjQueryRes

type ObjQueryRes struct {
	Objs []ObjSchema `json:"objs"`
}

ObjQueryRes defines model for ObjQueryRes.

type ObjReadObjReadPostJSONRequestBody

type ObjReadObjReadPostJSONRequestBody = ObjReadReq

ObjReadObjReadPostJSONRequestBody defines body for ObjReadObjReadPost for application/json ContentType.

type ObjReadObjReadPostResponse

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

func ParseObjReadObjReadPostResponse

func ParseObjReadObjReadPostResponse(rsp *http.Response) (*ObjReadObjReadPostResponse, error)

ParseObjReadObjReadPostResponse parses an HTTP response from a ObjReadObjReadPostWithResponse call

func (ObjReadObjReadPostResponse) ContentType

func (r ObjReadObjReadPostResponse) ContentType() string

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

func (ObjReadObjReadPostResponse) GetBody

func (r ObjReadObjReadPostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ObjReadObjReadPostResponse) GetJSON200

func (r ObjReadObjReadPostResponse) GetJSON200() *ObjReadRes

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

func (ObjReadObjReadPostResponse) GetJSON422

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

func (ObjReadObjReadPostResponse) Status

Status returns HTTPResponse.Status

func (ObjReadObjReadPostResponse) StatusCode

func (r ObjReadObjReadPostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ObjReadReq

type ObjReadReq struct {
	Digest string `json:"digest"`

	// IncludeTagsAndAliases If true, tags and aliases are fetched and included in the response.
	IncludeTagsAndAliases *bool `json:"include_tags_and_aliases,omitempty"`

	// MetadataOnly If true, the `val` column is not read from the database and is empty.All other fields are returned.
	MetadataOnly *bool  `json:"metadata_only,omitempty"`
	ObjectId     string `json:"object_id"`
	ProjectId    string `json:"project_id"`
}

ObjReadReq defines model for ObjReadReq.

type ObjReadRes

type ObjReadRes struct {
	Obj ObjSchema `json:"obj"`
}

ObjReadRes defines model for ObjReadRes.

type ObjRemoveAliasesBody added in v0.2.0

type ObjRemoveAliasesBody struct {
	// Aliases Examples: ["staging"]
	Aliases []string `json:"aliases"`

	// ProjectId Examples: entity/project
	ProjectId string `json:"project_id"`
}

ObjRemoveAliasesBody Request body for removing aliases (object_id comes from path).

type ObjRemoveAliasesObjsObjectIdAliasesRemovePostJSONRequestBody added in v0.2.0

type ObjRemoveAliasesObjsObjectIdAliasesRemovePostJSONRequestBody = ObjRemoveAliasesBody

ObjRemoveAliasesObjsObjectIdAliasesRemovePostJSONRequestBody defines body for ObjRemoveAliasesObjsObjectIdAliasesRemovePost for application/json ContentType.

type ObjRemoveAliasesObjsObjectIdAliasesRemovePostResponse added in v0.2.0

type ObjRemoveAliasesObjsObjectIdAliasesRemovePostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ObjRemoveAliasesRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseObjRemoveAliasesObjsObjectIdAliasesRemovePostResponse added in v0.2.0

func ParseObjRemoveAliasesObjsObjectIdAliasesRemovePostResponse(rsp *http.Response) (*ObjRemoveAliasesObjsObjectIdAliasesRemovePostResponse, error)

ParseObjRemoveAliasesObjsObjectIdAliasesRemovePostResponse parses an HTTP response from a ObjRemoveAliasesObjsObjectIdAliasesRemovePostWithResponse call

func (ObjRemoveAliasesObjsObjectIdAliasesRemovePostResponse) ContentType added in v0.2.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ObjRemoveAliasesObjsObjectIdAliasesRemovePostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (ObjRemoveAliasesObjsObjectIdAliasesRemovePostResponse) GetJSON200 added in v0.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ObjRemoveAliasesObjsObjectIdAliasesRemovePostResponse) GetJSON422 added in v0.2.0

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ObjRemoveAliasesObjsObjectIdAliasesRemovePostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (ObjRemoveAliasesObjsObjectIdAliasesRemovePostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type ObjRemoveAliasesRes added in v0.2.0

type ObjRemoveAliasesRes = map[string]interface{}

ObjRemoveAliasesRes defines model for ObjRemoveAliasesRes.

type ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostJSONRequestBody added in v0.2.0

type ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostJSONRequestBody = ObjTagsBody

ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostJSONRequestBody defines body for ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePost for application/json ContentType.

type ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostResponse added in v0.2.0

type ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ObjRemoveTagsRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostResponse added in v0.2.0

func ParseObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostResponse(rsp *http.Response) (*ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostResponse, error)

ParseObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostResponse parses an HTTP response from a ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostWithResponse call

func (ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostResponse) ContentType added in v0.2.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostResponse) GetJSON200 added in v0.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostResponse) GetJSON422 added in v0.2.0

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (ObjRemoveTagsObjsObjectIdVersionsDigestTagsRemovePostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type ObjRemoveTagsRes added in v0.2.0

type ObjRemoveTagsRes = map[string]interface{}

ObjRemoveTagsRes defines model for ObjRemoveTagsRes.

type ObjSchema

type ObjSchema struct {
	Aliases         *[]string   `json:"aliases,omitempty"`
	BaseObjectClass *string     `json:"base_object_class"`
	CreatedAt       time.Time   `json:"created_at"`
	DeletedAt       *time.Time  `json:"deleted_at,omitempty"`
	Digest          string      `json:"digest"`
	IsLatest        int         `json:"is_latest"`
	Kind            string      `json:"kind"`
	LeafObjectClass *string     `json:"leaf_object_class,omitempty"`
	ObjectId        string      `json:"object_id"`
	ProjectId       string      `json:"project_id"`
	SizeBytes       *int        `json:"size_bytes,omitempty"`
	Tags            *[]string   `json:"tags,omitempty"`
	Val             interface{} `json:"val"`
	VersionIndex    int         `json:"version_index"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`
}

ObjSchema defines model for ObjSchema.

type ObjSchemaForInsert

type ObjSchemaForInsert struct {
	BuiltinObjectClass *string `json:"builtin_object_class,omitempty"`

	// ExpectedDigest Client-computed digest for server-side validation. If provided, the server will verify it matches the server-computed digest.
	ExpectedDigest *string `json:"expected_digest,omitempty"`
	ObjectId       string  `json:"object_id"`
	ProjectId      string  `json:"project_id"`
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	SetBaseObjectClass *string     `json:"set_base_object_class,omitempty"`
	Val                interface{} `json:"val"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`
}

ObjSchemaForInsert defines model for ObjSchemaForInsert.

type ObjSetAliasesBody added in v0.2.0

type ObjSetAliasesBody struct {
	// Aliases Examples: ["staging","v1-candidate"]
	Aliases []string `json:"aliases"`

	// Digest Examples: abc123def
	Digest string `json:"digest"`

	// ProjectId Examples: entity/project
	ProjectId string `json:"project_id"`
}

ObjSetAliasesBody Request body for setting aliases (object_id comes from path).

type ObjSetAliasesObjsObjectIdAliasesPutJSONRequestBody added in v0.2.0

type ObjSetAliasesObjsObjectIdAliasesPutJSONRequestBody = ObjSetAliasesBody

ObjSetAliasesObjsObjectIdAliasesPutJSONRequestBody defines body for ObjSetAliasesObjsObjectIdAliasesPut for application/json ContentType.

type ObjSetAliasesObjsObjectIdAliasesPutResponse added in v0.2.0

type ObjSetAliasesObjsObjectIdAliasesPutResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ObjSetAliasesRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseObjSetAliasesObjsObjectIdAliasesPutResponse added in v0.2.0

func ParseObjSetAliasesObjsObjectIdAliasesPutResponse(rsp *http.Response) (*ObjSetAliasesObjsObjectIdAliasesPutResponse, error)

ParseObjSetAliasesObjsObjectIdAliasesPutResponse parses an HTTP response from a ObjSetAliasesObjsObjectIdAliasesPutWithResponse call

func (ObjSetAliasesObjsObjectIdAliasesPutResponse) ContentType added in v0.2.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ObjSetAliasesObjsObjectIdAliasesPutResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (ObjSetAliasesObjsObjectIdAliasesPutResponse) GetJSON200 added in v0.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ObjSetAliasesObjsObjectIdAliasesPutResponse) GetJSON422 added in v0.2.0

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ObjSetAliasesObjsObjectIdAliasesPutResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (ObjSetAliasesObjsObjectIdAliasesPutResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type ObjSetAliasesRes added in v0.2.0

type ObjSetAliasesRes = map[string]interface{}

ObjSetAliasesRes defines model for ObjSetAliasesRes.

type ObjTagsBody added in v0.2.0

type ObjTagsBody struct {
	// ProjectId Examples: entity/project
	ProjectId string `json:"project_id"`

	// Tags Examples: ["production","reviewed"]
	Tags []string `json:"tags"`
}

ObjTagsBody Request body for adding/removing tags (object_id and digest come from path).

type ObjectVersionFilter

type ObjectVersionFilter struct {
	// Aliases Filter objects that have any of the specified aliases
	Aliases *[]string `json:"aliases,omitempty"`

	// BaseObjectClasses Filter objects by their base classes
	//
	// Examples: ["Model"], ["Dataset"]
	BaseObjectClasses *[]string `json:"base_object_classes,omitempty"`

	// ExcludeBaseObjectClasses Exclude objects by their base classes
	//
	// Examples: ["Model"], ["Dataset"]
	ExcludeBaseObjectClasses *[]string `json:"exclude_base_object_classes,omitempty"`

	// IsOp Filter objects based on whether they are weave.ops or not. `True` will only return ops, `False` will return non-ops, and `None` will return all objects
	//
	// Examples: true, false, null
	IsOp *bool `json:"is_op,omitempty"`

	// LatestOnly If True, return only the latest version of each object. `False` and `None` will return all versions
	//
	// Examples: true, false
	LatestOnly *bool `json:"latest_only,omitempty"`

	// LeafObjectClasses Filter objects by their leaf classes
	//
	// Examples: ["Model"], ["Dataset"], ["LLMStructuredCompletionModel"]
	LeafObjectClasses *[]string `json:"leaf_object_classes,omitempty"`

	// ObjectIds Filter objects by their IDs
	//
	// Examples: my_favorite_model, my_favorite_dataset
	ObjectIds *[]string `json:"object_ids,omitempty"`

	// Tags Filter object versions that have any of the specified tags
	Tags *[]string `json:"tags,omitempty"`
}

ObjectVersionFilter defines model for ObjectVersionFilter.

type ObjsQueryObjsQueryPostJSONRequestBody

type ObjsQueryObjsQueryPostJSONRequestBody = ObjQueryReq

ObjsQueryObjsQueryPostJSONRequestBody defines body for ObjsQueryObjsQueryPost for application/json ContentType.

type ObjsQueryObjsQueryPostResponse

type ObjsQueryObjsQueryPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ObjQueryRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseObjsQueryObjsQueryPostResponse

func ParseObjsQueryObjsQueryPostResponse(rsp *http.Response) (*ObjsQueryObjsQueryPostResponse, error)

ParseObjsQueryObjsQueryPostResponse parses an HTTP response from a ObjsQueryObjsQueryPostWithResponse call

func (ObjsQueryObjsQueryPostResponse) ContentType

func (r ObjsQueryObjsQueryPostResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ObjsQueryObjsQueryPostResponse) GetBody

func (r ObjsQueryObjsQueryPostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ObjsQueryObjsQueryPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ObjsQueryObjsQueryPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ObjsQueryObjsQueryPostResponse) Status

Status returns HTTPResponse.Status

func (ObjsQueryObjsQueryPostResponse) StatusCode

func (r ObjsQueryObjsQueryPostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type OpCreateBody

type OpCreateBody struct {
	// Name The name of this op. Ops with the same name will be versioned together.
	Name *string `json:"name,omitempty"`

	// SourceCode Complete source code for this op, including imports
	SourceCode *string `json:"source_code,omitempty"`
}

OpCreateBody Request body for creating an Op object via REST API.

This model excludes project_id since it comes from the URL path in RESTful endpoints.

type OpCreateRes

type OpCreateRes struct {
	// Digest The digest of the created op
	Digest string `json:"digest"`

	// ObjectId The ID of the created op
	ObjectId string `json:"object_id"`

	// VersionIndex The version index of the created op
	VersionIndex int `json:"version_index"`
}

OpCreateRes Response model for creating an Op object.

type OpCreateV2EntityProjectOpsPostJSONRequestBody

type OpCreateV2EntityProjectOpsPostJSONRequestBody = OpCreateBody

OpCreateV2EntityProjectOpsPostJSONRequestBody defines body for OpCreateV2EntityProjectOpsPost for application/json ContentType.

type OpCreateV2EntityProjectOpsPostResponse

type OpCreateV2EntityProjectOpsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OpCreateRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseOpCreateV2EntityProjectOpsPostResponse

func ParseOpCreateV2EntityProjectOpsPostResponse(rsp *http.Response) (*OpCreateV2EntityProjectOpsPostResponse, error)

ParseOpCreateV2EntityProjectOpsPostResponse parses an HTTP response from a OpCreateV2EntityProjectOpsPostWithResponse call

func (OpCreateV2EntityProjectOpsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OpCreateV2EntityProjectOpsPostResponse) GetBody

GetBody returns the raw response body bytes

func (OpCreateV2EntityProjectOpsPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OpCreateV2EntityProjectOpsPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (OpCreateV2EntityProjectOpsPostResponse) Status

Status returns HTTPResponse.Status

func (OpCreateV2EntityProjectOpsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OpDeleteRes

type OpDeleteRes struct {
	// NumDeleted Number of op versions deleted from this op
	NumDeleted int `json:"num_deleted"`
}

OpDeleteRes defines model for OpDeleteRes.

type OpDeleteV2EntityProjectOpsObjectIdDeleteParams

type OpDeleteV2EntityProjectOpsObjectIdDeleteParams struct {
	// Digests List of digests to delete. If not provided, all digests for the op will be deleted.
	Digests *[]string `form:"digests,omitempty" json:"digests,omitempty"`
}

OpDeleteV2EntityProjectOpsObjectIdDeleteParams defines parameters for OpDeleteV2EntityProjectOpsObjectIdDelete.

type OpDeleteV2EntityProjectOpsObjectIdDeleteResponse

type OpDeleteV2EntityProjectOpsObjectIdDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OpDeleteRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseOpDeleteV2EntityProjectOpsObjectIdDeleteResponse

func ParseOpDeleteV2EntityProjectOpsObjectIdDeleteResponse(rsp *http.Response) (*OpDeleteV2EntityProjectOpsObjectIdDeleteResponse, error)

ParseOpDeleteV2EntityProjectOpsObjectIdDeleteResponse parses an HTTP response from a OpDeleteV2EntityProjectOpsObjectIdDeleteWithResponse call

func (OpDeleteV2EntityProjectOpsObjectIdDeleteResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OpDeleteV2EntityProjectOpsObjectIdDeleteResponse) GetBody

GetBody returns the raw response body bytes

func (OpDeleteV2EntityProjectOpsObjectIdDeleteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OpDeleteV2EntityProjectOpsObjectIdDeleteResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (OpDeleteV2EntityProjectOpsObjectIdDeleteResponse) Status

Status returns HTTPResponse.Status

func (OpDeleteV2EntityProjectOpsObjectIdDeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OpListV2EntityProjectOpsGetParams

type OpListV2EntityProjectOpsGetParams struct {
	// Limit Maximum number of ops to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of ops to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

OpListV2EntityProjectOpsGetParams defines parameters for OpListV2EntityProjectOpsGet.

type OpListV2EntityProjectOpsGetResponse

type OpListV2EntityProjectOpsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseOpListV2EntityProjectOpsGetResponse

func ParseOpListV2EntityProjectOpsGetResponse(rsp *http.Response) (*OpListV2EntityProjectOpsGetResponse, error)

ParseOpListV2EntityProjectOpsGetResponse parses an HTTP response from a OpListV2EntityProjectOpsGetWithResponse call

func (OpListV2EntityProjectOpsGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OpListV2EntityProjectOpsGetResponse) GetBody

GetBody returns the raw response body bytes

func (OpListV2EntityProjectOpsGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (OpListV2EntityProjectOpsGetResponse) Status

Status returns HTTPResponse.Status

func (OpListV2EntityProjectOpsGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OpReadRes

type OpReadRes struct {
	// Code The actual op source code
	Code string `json:"code"`

	// CreatedAt When this op was created
	CreatedAt time.Time `json:"created_at"`

	// Digest The digest of the op
	Digest string `json:"digest"`

	// ObjectId The op ID
	ObjectId string `json:"object_id"`

	// VersionIndex The version index of this op
	VersionIndex int `json:"version_index"`
}

OpReadRes Response model for reading an Op object.

The code field contains the actual source code of the op.

type OpReadV2EntityProjectOpsObjectIdVersionsDigestGetParams

type OpReadV2EntityProjectOpsObjectIdVersionsDigestGetParams struct {
	// Eager Whether to eagerly load the op code
	Eager *bool `form:"eager,omitempty" json:"eager,omitempty"`
}

OpReadV2EntityProjectOpsObjectIdVersionsDigestGetParams defines parameters for OpReadV2EntityProjectOpsObjectIdVersionsDigestGet.

type OpReadV2EntityProjectOpsObjectIdVersionsDigestGetResponse

type OpReadV2EntityProjectOpsObjectIdVersionsDigestGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *OpReadRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseOpReadV2EntityProjectOpsObjectIdVersionsDigestGetResponse

func ParseOpReadV2EntityProjectOpsObjectIdVersionsDigestGetResponse(rsp *http.Response) (*OpReadV2EntityProjectOpsObjectIdVersionsDigestGetResponse, error)

ParseOpReadV2EntityProjectOpsObjectIdVersionsDigestGetResponse parses an HTTP response from a OpReadV2EntityProjectOpsObjectIdVersionsDigestGetWithResponse call

func (OpReadV2EntityProjectOpsObjectIdVersionsDigestGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (OpReadV2EntityProjectOpsObjectIdVersionsDigestGetResponse) GetBody

GetBody returns the raw response body bytes

func (OpReadV2EntityProjectOpsObjectIdVersionsDigestGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (OpReadV2EntityProjectOpsObjectIdVersionsDigestGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (OpReadV2EntityProjectOpsObjectIdVersionsDigestGetResponse) Status

Status returns HTTPResponse.Status

func (OpReadV2EntityProjectOpsObjectIdVersionsDigestGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type OrOperation

type OrOperation struct {
	Or []OrOperation_Or_Item `json:"$or"`
}

OrOperation Logical OR. At least one condition must be true.

Example:

```
{
    "$or": [
        {"$eq": [{"$getField": "op_name"}, {"$literal": "a"}]},
        {"$eq": [{"$getField": "op_name"}, {"$literal": "b"}]}
    ]
}
```

type OrOperation_Or_Item added in v0.2.0

type OrOperation_Or_Item struct {
	// contains filtered or unexported fields
}

OrOperation_Or_Item defines model for OrOperation.$or.Item.

func (OrOperation_Or_Item) AsAndOperation added in v0.2.0

func (t OrOperation_Or_Item) AsAndOperation() (AndOperation, error)

AsAndOperation returns the union data inside the OrOperation_Or_Item as a AndOperation

func (OrOperation_Or_Item) AsContainsOperation added in v0.2.0

func (t OrOperation_Or_Item) AsContainsOperation() (ContainsOperation, error)

AsContainsOperation returns the union data inside the OrOperation_Or_Item as a ContainsOperation

func (OrOperation_Or_Item) AsConvertOperation added in v0.2.0

func (t OrOperation_Or_Item) AsConvertOperation() (ConvertOperation, error)

AsConvertOperation returns the union data inside the OrOperation_Or_Item as a ConvertOperation

func (OrOperation_Or_Item) AsEqOperation added in v0.2.0

func (t OrOperation_Or_Item) AsEqOperation() (EqOperation, error)

AsEqOperation returns the union data inside the OrOperation_Or_Item as a EqOperation

func (OrOperation_Or_Item) AsGetFieldOperator added in v0.2.0

func (t OrOperation_Or_Item) AsGetFieldOperator() (GetFieldOperator, error)

AsGetFieldOperator returns the union data inside the OrOperation_Or_Item as a GetFieldOperator

func (OrOperation_Or_Item) AsGtOperation added in v0.2.0

func (t OrOperation_Or_Item) AsGtOperation() (GtOperation, error)

AsGtOperation returns the union data inside the OrOperation_Or_Item as a GtOperation

func (OrOperation_Or_Item) AsGteOperation added in v0.2.0

func (t OrOperation_Or_Item) AsGteOperation() (GteOperation, error)

AsGteOperation returns the union data inside the OrOperation_Or_Item as a GteOperation

func (OrOperation_Or_Item) AsInOperation added in v0.2.0

func (t OrOperation_Or_Item) AsInOperation() (InOperation, error)

AsInOperation returns the union data inside the OrOperation_Or_Item as a InOperation

func (OrOperation_Or_Item) AsLiteralOperation added in v0.2.0

func (t OrOperation_Or_Item) AsLiteralOperation() (LiteralOperation, error)

AsLiteralOperation returns the union data inside the OrOperation_Or_Item as a LiteralOperation

func (OrOperation_Or_Item) AsLtOperation added in v0.2.0

func (t OrOperation_Or_Item) AsLtOperation() (LtOperation, error)

AsLtOperation returns the union data inside the OrOperation_Or_Item as a LtOperation

func (OrOperation_Or_Item) AsLteOperation added in v0.2.0

func (t OrOperation_Or_Item) AsLteOperation() (LteOperation, error)

AsLteOperation returns the union data inside the OrOperation_Or_Item as a LteOperation

func (OrOperation_Or_Item) AsNotOperation added in v0.2.0

func (t OrOperation_Or_Item) AsNotOperation() (NotOperation, error)

AsNotOperation returns the union data inside the OrOperation_Or_Item as a NotOperation

func (OrOperation_Or_Item) AsOrOperation added in v0.2.0

func (t OrOperation_Or_Item) AsOrOperation() (OrOperation, error)

AsOrOperation returns the union data inside the OrOperation_Or_Item as a OrOperation

func (OrOperation_Or_Item) AsSizeOperation added in v0.2.0

func (t OrOperation_Or_Item) AsSizeOperation() (SizeOperation, error)

AsSizeOperation returns the union data inside the OrOperation_Or_Item as a SizeOperation

func (*OrOperation_Or_Item) FromAndOperation added in v0.2.0

func (t *OrOperation_Or_Item) FromAndOperation(v AndOperation) error

FromAndOperation overwrites any union data inside the OrOperation_Or_Item as the provided AndOperation

func (*OrOperation_Or_Item) FromContainsOperation added in v0.2.0

func (t *OrOperation_Or_Item) FromContainsOperation(v ContainsOperation) error

FromContainsOperation overwrites any union data inside the OrOperation_Or_Item as the provided ContainsOperation

func (*OrOperation_Or_Item) FromConvertOperation added in v0.2.0

func (t *OrOperation_Or_Item) FromConvertOperation(v ConvertOperation) error

FromConvertOperation overwrites any union data inside the OrOperation_Or_Item as the provided ConvertOperation

func (*OrOperation_Or_Item) FromEqOperation added in v0.2.0

func (t *OrOperation_Or_Item) FromEqOperation(v EqOperation) error

FromEqOperation overwrites any union data inside the OrOperation_Or_Item as the provided EqOperation

func (*OrOperation_Or_Item) FromGetFieldOperator added in v0.2.0

func (t *OrOperation_Or_Item) FromGetFieldOperator(v GetFieldOperator) error

FromGetFieldOperator overwrites any union data inside the OrOperation_Or_Item as the provided GetFieldOperator

func (*OrOperation_Or_Item) FromGtOperation added in v0.2.0

func (t *OrOperation_Or_Item) FromGtOperation(v GtOperation) error

FromGtOperation overwrites any union data inside the OrOperation_Or_Item as the provided GtOperation

func (*OrOperation_Or_Item) FromGteOperation added in v0.2.0

func (t *OrOperation_Or_Item) FromGteOperation(v GteOperation) error

FromGteOperation overwrites any union data inside the OrOperation_Or_Item as the provided GteOperation

func (*OrOperation_Or_Item) FromInOperation added in v0.2.0

func (t *OrOperation_Or_Item) FromInOperation(v InOperation) error

FromInOperation overwrites any union data inside the OrOperation_Or_Item as the provided InOperation

func (*OrOperation_Or_Item) FromLiteralOperation added in v0.2.0

func (t *OrOperation_Or_Item) FromLiteralOperation(v LiteralOperation) error

FromLiteralOperation overwrites any union data inside the OrOperation_Or_Item as the provided LiteralOperation

func (*OrOperation_Or_Item) FromLtOperation added in v0.2.0

func (t *OrOperation_Or_Item) FromLtOperation(v LtOperation) error

FromLtOperation overwrites any union data inside the OrOperation_Or_Item as the provided LtOperation

func (*OrOperation_Or_Item) FromLteOperation added in v0.2.0

func (t *OrOperation_Or_Item) FromLteOperation(v LteOperation) error

FromLteOperation overwrites any union data inside the OrOperation_Or_Item as the provided LteOperation

func (*OrOperation_Or_Item) FromNotOperation added in v0.2.0

func (t *OrOperation_Or_Item) FromNotOperation(v NotOperation) error

FromNotOperation overwrites any union data inside the OrOperation_Or_Item as the provided NotOperation

func (*OrOperation_Or_Item) FromOrOperation added in v0.2.0

func (t *OrOperation_Or_Item) FromOrOperation(v OrOperation) error

FromOrOperation overwrites any union data inside the OrOperation_Or_Item as the provided OrOperation

func (*OrOperation_Or_Item) FromSizeOperation added in v0.2.0

func (t *OrOperation_Or_Item) FromSizeOperation(v SizeOperation) error

FromSizeOperation overwrites any union data inside the OrOperation_Or_Item as the provided SizeOperation

func (OrOperation_Or_Item) MarshalJSON added in v0.2.0

func (t OrOperation_Or_Item) MarshalJSON() ([]byte, error)

func (*OrOperation_Or_Item) MergeAndOperation added in v0.2.0

func (t *OrOperation_Or_Item) MergeAndOperation(v AndOperation) error

MergeAndOperation performs a merge with any union data inside the OrOperation_Or_Item, using the provided AndOperation

func (*OrOperation_Or_Item) MergeContainsOperation added in v0.2.0

func (t *OrOperation_Or_Item) MergeContainsOperation(v ContainsOperation) error

MergeContainsOperation performs a merge with any union data inside the OrOperation_Or_Item, using the provided ContainsOperation

func (*OrOperation_Or_Item) MergeConvertOperation added in v0.2.0

func (t *OrOperation_Or_Item) MergeConvertOperation(v ConvertOperation) error

MergeConvertOperation performs a merge with any union data inside the OrOperation_Or_Item, using the provided ConvertOperation

func (*OrOperation_Or_Item) MergeEqOperation added in v0.2.0

func (t *OrOperation_Or_Item) MergeEqOperation(v EqOperation) error

MergeEqOperation performs a merge with any union data inside the OrOperation_Or_Item, using the provided EqOperation

func (*OrOperation_Or_Item) MergeGetFieldOperator added in v0.2.0

func (t *OrOperation_Or_Item) MergeGetFieldOperator(v GetFieldOperator) error

MergeGetFieldOperator performs a merge with any union data inside the OrOperation_Or_Item, using the provided GetFieldOperator

func (*OrOperation_Or_Item) MergeGtOperation added in v0.2.0

func (t *OrOperation_Or_Item) MergeGtOperation(v GtOperation) error

MergeGtOperation performs a merge with any union data inside the OrOperation_Or_Item, using the provided GtOperation

func (*OrOperation_Or_Item) MergeGteOperation added in v0.2.0

func (t *OrOperation_Or_Item) MergeGteOperation(v GteOperation) error

MergeGteOperation performs a merge with any union data inside the OrOperation_Or_Item, using the provided GteOperation

func (*OrOperation_Or_Item) MergeInOperation added in v0.2.0

func (t *OrOperation_Or_Item) MergeInOperation(v InOperation) error

MergeInOperation performs a merge with any union data inside the OrOperation_Or_Item, using the provided InOperation

func (*OrOperation_Or_Item) MergeLiteralOperation added in v0.2.0

func (t *OrOperation_Or_Item) MergeLiteralOperation(v LiteralOperation) error

MergeLiteralOperation performs a merge with any union data inside the OrOperation_Or_Item, using the provided LiteralOperation

func (*OrOperation_Or_Item) MergeLtOperation added in v0.2.0

func (t *OrOperation_Or_Item) MergeLtOperation(v LtOperation) error

MergeLtOperation performs a merge with any union data inside the OrOperation_Or_Item, using the provided LtOperation

func (*OrOperation_Or_Item) MergeLteOperation added in v0.2.0

func (t *OrOperation_Or_Item) MergeLteOperation(v LteOperation) error

MergeLteOperation performs a merge with any union data inside the OrOperation_Or_Item, using the provided LteOperation

func (*OrOperation_Or_Item) MergeNotOperation added in v0.2.0

func (t *OrOperation_Or_Item) MergeNotOperation(v NotOperation) error

MergeNotOperation performs a merge with any union data inside the OrOperation_Or_Item, using the provided NotOperation

func (*OrOperation_Or_Item) MergeOrOperation added in v0.2.0

func (t *OrOperation_Or_Item) MergeOrOperation(v OrOperation) error

MergeOrOperation performs a merge with any union data inside the OrOperation_Or_Item, using the provided OrOperation

func (*OrOperation_Or_Item) MergeSizeOperation added in v0.2.0

func (t *OrOperation_Or_Item) MergeSizeOperation(v SizeOperation) error

MergeSizeOperation performs a merge with any union data inside the OrOperation_Or_Item, using the provided SizeOperation

func (*OrOperation_Or_Item) UnmarshalJSON added in v0.2.0

func (t *OrOperation_Or_Item) UnmarshalJSON(b []byte) error

type PredictionCreateBody

type PredictionCreateBody struct {
	// EvaluationRunId Optional evaluation run ID to link this prediction as a child call
	EvaluationRunId *string `json:"evaluation_run_id,omitempty"`

	// GenaiSpanRef Optional GenAI span reference(s) produced by this prediction.
	GenaiSpanRef *[]GenAISpanRef `json:"genai_span_ref,omitempty"`

	// Inputs The inputs to the prediction
	Inputs map[string]interface{} `json:"inputs"`

	// Model The model reference (weave:// URI)
	Model string `json:"model"`

	// Output The output of the prediction
	Output interface{} `json:"output"`
}

PredictionCreateBody Request body for creating a Prediction via REST API.

This model excludes project_id since it comes from the URL path in RESTful endpoints.

type PredictionCreateRes

type PredictionCreateRes struct {
	// PredictionId The prediction ID
	PredictionId string `json:"prediction_id"`
}

PredictionCreateRes defines model for PredictionCreateRes.

type PredictionCreateV2EntityProjectPredictionsPostJSONRequestBody

type PredictionCreateV2EntityProjectPredictionsPostJSONRequestBody = PredictionCreateBody

PredictionCreateV2EntityProjectPredictionsPostJSONRequestBody defines body for PredictionCreateV2EntityProjectPredictionsPost for application/json ContentType.

type PredictionCreateV2EntityProjectPredictionsPostResponse

type PredictionCreateV2EntityProjectPredictionsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PredictionCreateRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParsePredictionCreateV2EntityProjectPredictionsPostResponse

func ParsePredictionCreateV2EntityProjectPredictionsPostResponse(rsp *http.Response) (*PredictionCreateV2EntityProjectPredictionsPostResponse, error)

ParsePredictionCreateV2EntityProjectPredictionsPostResponse parses an HTTP response from a PredictionCreateV2EntityProjectPredictionsPostWithResponse call

func (PredictionCreateV2EntityProjectPredictionsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PredictionCreateV2EntityProjectPredictionsPostResponse) GetBody

GetBody returns the raw response body bytes

func (PredictionCreateV2EntityProjectPredictionsPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PredictionCreateV2EntityProjectPredictionsPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PredictionCreateV2EntityProjectPredictionsPostResponse) Status

Status returns HTTPResponse.Status

func (PredictionCreateV2EntityProjectPredictionsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PredictionDeleteRes

type PredictionDeleteRes struct {
	// NumDeleted Number of predictions deleted
	NumDeleted int `json:"num_deleted"`
}

PredictionDeleteRes defines model for PredictionDeleteRes.

type PredictionDeleteV2EntityProjectPredictionsDeleteParams

type PredictionDeleteV2EntityProjectPredictionsDeleteParams struct {
	// PredictionIds List of prediction IDs to delete
	PredictionIds []string `form:"prediction_ids" json:"prediction_ids"`
}

PredictionDeleteV2EntityProjectPredictionsDeleteParams defines parameters for PredictionDeleteV2EntityProjectPredictionsDelete.

type PredictionDeleteV2EntityProjectPredictionsDeleteResponse

type PredictionDeleteV2EntityProjectPredictionsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PredictionDeleteRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParsePredictionDeleteV2EntityProjectPredictionsDeleteResponse

func ParsePredictionDeleteV2EntityProjectPredictionsDeleteResponse(rsp *http.Response) (*PredictionDeleteV2EntityProjectPredictionsDeleteResponse, error)

ParsePredictionDeleteV2EntityProjectPredictionsDeleteResponse parses an HTTP response from a PredictionDeleteV2EntityProjectPredictionsDeleteWithResponse call

func (PredictionDeleteV2EntityProjectPredictionsDeleteResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PredictionDeleteV2EntityProjectPredictionsDeleteResponse) GetBody

GetBody returns the raw response body bytes

func (PredictionDeleteV2EntityProjectPredictionsDeleteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PredictionDeleteV2EntityProjectPredictionsDeleteResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PredictionDeleteV2EntityProjectPredictionsDeleteResponse) Status

Status returns HTTPResponse.Status

func (PredictionDeleteV2EntityProjectPredictionsDeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PredictionFinishRes

type PredictionFinishRes struct {
	// Success Whether the prediction was finished successfully
	Success bool `json:"success"`
}

PredictionFinishRes defines model for PredictionFinishRes.

type PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostResponse

type PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PredictionFinishRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParsePredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostResponse

func ParsePredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostResponse(rsp *http.Response) (*PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostResponse, error)

ParsePredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostResponse parses an HTTP response from a PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostWithResponse call

func (PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostResponse) GetBody

GetBody returns the raw response body bytes

func (PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostResponse) Status

Status returns HTTPResponse.Status

func (PredictionFinishV2EntityProjectPredictionsPredictionIdFinishPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PredictionListV2EntityProjectPredictionsGetParams

type PredictionListV2EntityProjectPredictionsGetParams struct {
	// EvaluationRunId Filter by evaluation run ID
	EvaluationRunId *string `form:"evaluation_run_id,omitempty" json:"evaluation_run_id,omitempty"`

	// Limit Maximum number of predictions to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of predictions to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

PredictionListV2EntityProjectPredictionsGetParams defines parameters for PredictionListV2EntityProjectPredictionsGet.

type PredictionListV2EntityProjectPredictionsGetResponse

type PredictionListV2EntityProjectPredictionsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParsePredictionListV2EntityProjectPredictionsGetResponse

func ParsePredictionListV2EntityProjectPredictionsGetResponse(rsp *http.Response) (*PredictionListV2EntityProjectPredictionsGetResponse, error)

ParsePredictionListV2EntityProjectPredictionsGetResponse parses an HTTP response from a PredictionListV2EntityProjectPredictionsGetWithResponse call

func (PredictionListV2EntityProjectPredictionsGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PredictionListV2EntityProjectPredictionsGetResponse) GetBody

GetBody returns the raw response body bytes

func (PredictionListV2EntityProjectPredictionsGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PredictionListV2EntityProjectPredictionsGetResponse) Status

Status returns HTTPResponse.Status

func (PredictionListV2EntityProjectPredictionsGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PredictionReadRes

type PredictionReadRes struct {
	// EvaluationRunId Evaluation run ID if this prediction is linked to one
	EvaluationRunId *string `json:"evaluation_run_id,omitempty"`

	// Inputs The inputs to the prediction
	Inputs map[string]interface{} `json:"inputs"`

	// Model The model reference (weave:// URI)
	Model string `json:"model"`

	// Output The output of the prediction
	Output interface{} `json:"output"`

	// PredictionId The prediction ID
	PredictionId string `json:"prediction_id"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`
}

PredictionReadRes defines model for PredictionReadRes.

type PredictionReadV2EntityProjectPredictionsPredictionIdGetResponse

type PredictionReadV2EntityProjectPredictionsPredictionIdGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *PredictionReadRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParsePredictionReadV2EntityProjectPredictionsPredictionIdGetResponse

func ParsePredictionReadV2EntityProjectPredictionsPredictionIdGetResponse(rsp *http.Response) (*PredictionReadV2EntityProjectPredictionsPredictionIdGetResponse, error)

ParsePredictionReadV2EntityProjectPredictionsPredictionIdGetResponse parses an HTTP response from a PredictionReadV2EntityProjectPredictionsPredictionIdGetWithResponse call

func (PredictionReadV2EntityProjectPredictionsPredictionIdGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (PredictionReadV2EntityProjectPredictionsPredictionIdGetResponse) GetBody

GetBody returns the raw response body bytes

func (PredictionReadV2EntityProjectPredictionsPredictionIdGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (PredictionReadV2EntityProjectPredictionsPredictionIdGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (PredictionReadV2EntityProjectPredictionsPredictionIdGetResponse) Status

Status returns HTTPResponse.Status

func (PredictionReadV2EntityProjectPredictionsPredictionIdGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type Pricing

type Pricing struct {
	Completion     string `json:"completion"`
	Image          string `json:"image"`
	InputCacheRead string `json:"input_cache_read"`
	Prompt         string `json:"prompt"`
	Request        string `json:"request"`
}

Pricing All pricing values are in USD per 1 token.

Pricing fields are in string format to avoid floating point precision issues.

type ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostJSONRequestBody added in v0.2.0

type ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostJSONRequestBody = ProjectIngestSamplingSettingsReadReq

ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostJSONRequestBody defines body for ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPost for application/json ContentType.

type ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostResponse added in v0.2.0

type ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ProjectIngestSamplingSettingsReadRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostResponse added in v0.2.0

func ParseProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostResponse(rsp *http.Response) (*ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostResponse, error)

ParseProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostResponse parses an HTTP response from a ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostWithResponse call

func (ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostResponse) ContentType added in v0.2.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostResponse) GetJSON200 added in v0.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostResponse) GetJSON422 added in v0.2.0

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (ProjectIngestSamplingSettingsReadProjectIngestSamplingSettingsReadPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type ProjectIngestSamplingSettingsReadReq added in v0.2.0

type ProjectIngestSamplingSettingsReadReq struct {
	ProjectId string `json:"project_id"`
}

ProjectIngestSamplingSettingsReadReq defines model for ProjectIngestSamplingSettingsReadReq.

type ProjectIngestSamplingSettingsReadRes added in v0.2.0

type ProjectIngestSamplingSettingsReadRes struct {
	DryRun     bool    `json:"dry_run"`
	SampleRate float64 `json:"sample_rate"`
}

ProjectIngestSamplingSettingsReadRes defines model for ProjectIngestSamplingSettingsReadRes.

type ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetParams added in v0.2.0

type ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetParams struct {
	ProjectId string `form:"project_id" json:"project_id"`
}

ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetParams defines parameters for ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGet.

type ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetResponse added in v0.2.0

type ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ProjectSensitiveDataSettingsReadRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetResponse added in v0.2.0

func ParseProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetResponse(rsp *http.Response) (*ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetResponse, error)

ParseProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetResponse parses an HTTP response from a ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetWithResponse call

func (ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetResponse) ContentType added in v0.2.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetResponse) GetJSON200 added in v0.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetResponse) GetJSON422 added in v0.2.0

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (ProjectSensitiveDataSettingsReadProjectSensitiveDataSettingsGetResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type ProjectSensitiveDataSettingsReadRes added in v0.2.0

type ProjectSensitiveDataSettingsReadRes struct {
	Policy SensitiveDataPolicy `json:"policy"`
}

ProjectSensitiveDataSettingsReadRes defines model for ProjectSensitiveDataSettingsReadRes.

type ProjectStatsProjectStatsPostJSONRequestBody added in v0.2.0

type ProjectStatsProjectStatsPostJSONRequestBody = ProjectStatsReq

ProjectStatsProjectStatsPostJSONRequestBody defines body for ProjectStatsProjectStatsPost for application/json ContentType.

type ProjectStatsProjectStatsPostResponse added in v0.2.0

type ProjectStatsProjectStatsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ProjectStatsRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseProjectStatsProjectStatsPostResponse added in v0.2.0

func ParseProjectStatsProjectStatsPostResponse(rsp *http.Response) (*ProjectStatsProjectStatsPostResponse, error)

ParseProjectStatsProjectStatsPostResponse parses an HTTP response from a ProjectStatsProjectStatsPostWithResponse call

func (ProjectStatsProjectStatsPostResponse) ContentType added in v0.2.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ProjectStatsProjectStatsPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (ProjectStatsProjectStatsPostResponse) GetJSON200 added in v0.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectStatsProjectStatsPostResponse) GetJSON422 added in v0.2.0

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ProjectStatsProjectStatsPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (ProjectStatsProjectStatsPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type ProjectStatsReq added in v0.2.0

type ProjectStatsReq struct {
	IncludeFileStorageSize   *bool  `json:"include_file_storage_size,omitempty"`
	IncludeObjectStorageSize *bool  `json:"include_object_storage_size,omitempty"`
	IncludeTableStorageSize  *bool  `json:"include_table_storage_size,omitempty"`
	IncludeTraceStorageSize  *bool  `json:"include_trace_storage_size,omitempty"`
	ProjectId                string `json:"project_id"`
}

ProjectStatsReq defines model for ProjectStatsReq.

type ProjectStatsRes added in v0.2.0

type ProjectStatsRes struct {
	FilesStorageSizeBytes   int  `json:"files_storage_size_bytes"`
	ObjectsStorageSizeBytes int  `json:"objects_storage_size_bytes"`
	SpansStorageSizeBytes   *int `json:"spans_storage_size_bytes,omitempty"`
	TablesStorageSizeBytes  int  `json:"tables_storage_size_bytes"`
	TraceStorageSizeBytes   int  `json:"trace_storage_size_bytes"`
}

ProjectStatsRes defines model for ProjectStatsRes.

type ProjectTTLSettingsReadReq added in v0.2.0

type ProjectTTLSettingsReadReq struct {
	ProjectId string `json:"project_id"`
}

ProjectTTLSettingsReadReq defines model for ProjectTTLSettingsReadReq.

type ProjectTTLSettingsReadRes added in v0.2.0

type ProjectTTLSettingsReadRes struct {
	// RetentionDays None = no TTL (infinite retention)
	RetentionDays *int `json:"retention_days"`
}

ProjectTTLSettingsReadRes defines model for ProjectTTLSettingsReadRes.

type ProjectTTLSettingsUpdateReq added in v0.2.0

type ProjectTTLSettingsUpdateReq struct {
	ProjectId string `json:"project_id"`

	// RetentionDays None disables TTL; must be None or >= 1
	RetentionDays *int    `json:"retention_days,omitempty"`
	WbUserId      *string `json:"wb_user_id,omitempty"`
}

ProjectTTLSettingsUpdateReq defines model for ProjectTTLSettingsUpdateReq.

type ProjectTTLSettingsUpdateRes added in v0.2.0

type ProjectTTLSettingsUpdateRes struct {
	RetentionDays *int `json:"retention_days"`
}

ProjectTTLSettingsUpdateRes defines model for ProjectTTLSettingsUpdateRes.

type ProjectTtlSettingsReadProjectTtlSettingsReadPostJSONRequestBody added in v0.2.0

type ProjectTtlSettingsReadProjectTtlSettingsReadPostJSONRequestBody = ProjectTTLSettingsReadReq

ProjectTtlSettingsReadProjectTtlSettingsReadPostJSONRequestBody defines body for ProjectTtlSettingsReadProjectTtlSettingsReadPost for application/json ContentType.

type ProjectTtlSettingsReadProjectTtlSettingsReadPostResponse added in v0.2.0

type ProjectTtlSettingsReadProjectTtlSettingsReadPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ProjectTTLSettingsReadRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseProjectTtlSettingsReadProjectTtlSettingsReadPostResponse added in v0.2.0

func ParseProjectTtlSettingsReadProjectTtlSettingsReadPostResponse(rsp *http.Response) (*ProjectTtlSettingsReadProjectTtlSettingsReadPostResponse, error)

ParseProjectTtlSettingsReadProjectTtlSettingsReadPostResponse parses an HTTP response from a ProjectTtlSettingsReadProjectTtlSettingsReadPostWithResponse call

func (ProjectTtlSettingsReadProjectTtlSettingsReadPostResponse) ContentType added in v0.2.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ProjectTtlSettingsReadProjectTtlSettingsReadPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (ProjectTtlSettingsReadProjectTtlSettingsReadPostResponse) GetJSON200 added in v0.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectTtlSettingsReadProjectTtlSettingsReadPostResponse) GetJSON422 added in v0.2.0

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ProjectTtlSettingsReadProjectTtlSettingsReadPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (ProjectTtlSettingsReadProjectTtlSettingsReadPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostJSONRequestBody added in v0.2.0

type ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostJSONRequestBody = ProjectTTLSettingsUpdateReq

ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostJSONRequestBody defines body for ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePost for application/json ContentType.

type ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostResponse added in v0.2.0

type ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ProjectTTLSettingsUpdateRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostResponse added in v0.2.0

func ParseProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostResponse(rsp *http.Response) (*ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostResponse, error)

ParseProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostResponse parses an HTTP response from a ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostWithResponse call

func (ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostResponse) ContentType added in v0.2.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostResponse) GetJSON200 added in v0.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostResponse) GetJSON422 added in v0.2.0

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (ProjectTtlSettingsUpdateProjectTtlSettingsUpdatePostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type ProjectsInfoReq added in v0.2.0

type ProjectsInfoReq struct {
	// ProjectIds External project IDs in 'entity/project' format.
	//
	// Examples: ["entity-a/project-a","entity-b/project-b"]
	ProjectIds []string `json:"project_ids"`
}

ProjectsInfoReq defines model for ProjectsInfoReq.

type ProjectsInfoRes added in v0.2.0

type ProjectsInfoRes struct {
	// ExternalProjectId External project ID in 'entity/project' format.
	ExternalProjectId string `json:"external_project_id"`

	// InternalProjectId Internal project ID.
	InternalProjectId string `json:"internal_project_id"`
}

ProjectsInfoRes defines model for ProjectsInfoRes.

type ProjectsInfoServiceProjectsInfoPostJSONRequestBody added in v0.2.0

type ProjectsInfoServiceProjectsInfoPostJSONRequestBody = ProjectsInfoReq

ProjectsInfoServiceProjectsInfoPostJSONRequestBody defines body for ProjectsInfoServiceProjectsInfoPost for application/json ContentType.

type ProjectsInfoServiceProjectsInfoPostResponse added in v0.2.0

type ProjectsInfoServiceProjectsInfoPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]ProjectsInfoRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseProjectsInfoServiceProjectsInfoPostResponse added in v0.2.0

func ParseProjectsInfoServiceProjectsInfoPostResponse(rsp *http.Response) (*ProjectsInfoServiceProjectsInfoPostResponse, error)

ParseProjectsInfoServiceProjectsInfoPostResponse parses an HTTP response from a ProjectsInfoServiceProjectsInfoPostWithResponse call

func (ProjectsInfoServiceProjectsInfoPostResponse) ContentType added in v0.2.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ProjectsInfoServiceProjectsInfoPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (ProjectsInfoServiceProjectsInfoPostResponse) GetJSON200 added in v0.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectsInfoServiceProjectsInfoPostResponse) GetJSON422 added in v0.2.0

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ProjectsInfoServiceProjectsInfoPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (ProjectsInfoServiceProjectsInfoPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type Query

type Query struct {
	Expr Query_Expr `json:"$expr"`
}

Query defines model for Query.

type Query_Expr added in v0.2.0

type Query_Expr struct {
	// contains filtered or unexported fields
}

Query_Expr defines model for Query.Expr.

func (Query_Expr) AsAndOperation added in v0.2.0

func (t Query_Expr) AsAndOperation() (AndOperation, error)

AsAndOperation returns the union data inside the Query_Expr as a AndOperation

func (Query_Expr) AsContainsOperation added in v0.2.0

func (t Query_Expr) AsContainsOperation() (ContainsOperation, error)

AsContainsOperation returns the union data inside the Query_Expr as a ContainsOperation

func (Query_Expr) AsEqOperation added in v0.2.0

func (t Query_Expr) AsEqOperation() (EqOperation, error)

AsEqOperation returns the union data inside the Query_Expr as a EqOperation

func (Query_Expr) AsGtOperation added in v0.2.0

func (t Query_Expr) AsGtOperation() (GtOperation, error)

AsGtOperation returns the union data inside the Query_Expr as a GtOperation

func (Query_Expr) AsGteOperation added in v0.2.0

func (t Query_Expr) AsGteOperation() (GteOperation, error)

AsGteOperation returns the union data inside the Query_Expr as a GteOperation

func (Query_Expr) AsInOperation added in v0.2.0

func (t Query_Expr) AsInOperation() (InOperation, error)

AsInOperation returns the union data inside the Query_Expr as a InOperation

func (Query_Expr) AsLtOperation added in v0.2.0

func (t Query_Expr) AsLtOperation() (LtOperation, error)

AsLtOperation returns the union data inside the Query_Expr as a LtOperation

func (Query_Expr) AsLteOperation added in v0.2.0

func (t Query_Expr) AsLteOperation() (LteOperation, error)

AsLteOperation returns the union data inside the Query_Expr as a LteOperation

func (Query_Expr) AsNotOperation added in v0.2.0

func (t Query_Expr) AsNotOperation() (NotOperation, error)

AsNotOperation returns the union data inside the Query_Expr as a NotOperation

func (Query_Expr) AsOrOperation added in v0.2.0

func (t Query_Expr) AsOrOperation() (OrOperation, error)

AsOrOperation returns the union data inside the Query_Expr as a OrOperation

func (*Query_Expr) FromAndOperation added in v0.2.0

func (t *Query_Expr) FromAndOperation(v AndOperation) error

FromAndOperation overwrites any union data inside the Query_Expr as the provided AndOperation

func (*Query_Expr) FromContainsOperation added in v0.2.0

func (t *Query_Expr) FromContainsOperation(v ContainsOperation) error

FromContainsOperation overwrites any union data inside the Query_Expr as the provided ContainsOperation

func (*Query_Expr) FromEqOperation added in v0.2.0

func (t *Query_Expr) FromEqOperation(v EqOperation) error

FromEqOperation overwrites any union data inside the Query_Expr as the provided EqOperation

func (*Query_Expr) FromGtOperation added in v0.2.0

func (t *Query_Expr) FromGtOperation(v GtOperation) error

FromGtOperation overwrites any union data inside the Query_Expr as the provided GtOperation

func (*Query_Expr) FromGteOperation added in v0.2.0

func (t *Query_Expr) FromGteOperation(v GteOperation) error

FromGteOperation overwrites any union data inside the Query_Expr as the provided GteOperation

func (*Query_Expr) FromInOperation added in v0.2.0

func (t *Query_Expr) FromInOperation(v InOperation) error

FromInOperation overwrites any union data inside the Query_Expr as the provided InOperation

func (*Query_Expr) FromLtOperation added in v0.2.0

func (t *Query_Expr) FromLtOperation(v LtOperation) error

FromLtOperation overwrites any union data inside the Query_Expr as the provided LtOperation

func (*Query_Expr) FromLteOperation added in v0.2.0

func (t *Query_Expr) FromLteOperation(v LteOperation) error

FromLteOperation overwrites any union data inside the Query_Expr as the provided LteOperation

func (*Query_Expr) FromNotOperation added in v0.2.0

func (t *Query_Expr) FromNotOperation(v NotOperation) error

FromNotOperation overwrites any union data inside the Query_Expr as the provided NotOperation

func (*Query_Expr) FromOrOperation added in v0.2.0

func (t *Query_Expr) FromOrOperation(v OrOperation) error

FromOrOperation overwrites any union data inside the Query_Expr as the provided OrOperation

func (Query_Expr) MarshalJSON added in v0.2.0

func (t Query_Expr) MarshalJSON() ([]byte, error)

func (*Query_Expr) MergeAndOperation added in v0.2.0

func (t *Query_Expr) MergeAndOperation(v AndOperation) error

MergeAndOperation performs a merge with any union data inside the Query_Expr, using the provided AndOperation

func (*Query_Expr) MergeContainsOperation added in v0.2.0

func (t *Query_Expr) MergeContainsOperation(v ContainsOperation) error

MergeContainsOperation performs a merge with any union data inside the Query_Expr, using the provided ContainsOperation

func (*Query_Expr) MergeEqOperation added in v0.2.0

func (t *Query_Expr) MergeEqOperation(v EqOperation) error

MergeEqOperation performs a merge with any union data inside the Query_Expr, using the provided EqOperation

func (*Query_Expr) MergeGtOperation added in v0.2.0

func (t *Query_Expr) MergeGtOperation(v GtOperation) error

MergeGtOperation performs a merge with any union data inside the Query_Expr, using the provided GtOperation

func (*Query_Expr) MergeGteOperation added in v0.2.0

func (t *Query_Expr) MergeGteOperation(v GteOperation) error

MergeGteOperation performs a merge with any union data inside the Query_Expr, using the provided GteOperation

func (*Query_Expr) MergeInOperation added in v0.2.0

func (t *Query_Expr) MergeInOperation(v InOperation) error

MergeInOperation performs a merge with any union data inside the Query_Expr, using the provided InOperation

func (*Query_Expr) MergeLtOperation added in v0.2.0

func (t *Query_Expr) MergeLtOperation(v LtOperation) error

MergeLtOperation performs a merge with any union data inside the Query_Expr, using the provided LtOperation

func (*Query_Expr) MergeLteOperation added in v0.2.0

func (t *Query_Expr) MergeLteOperation(v LteOperation) error

MergeLteOperation performs a merge with any union data inside the Query_Expr, using the provided LteOperation

func (*Query_Expr) MergeNotOperation added in v0.2.0

func (t *Query_Expr) MergeNotOperation(v NotOperation) error

MergeNotOperation performs a merge with any union data inside the Query_Expr, using the provided NotOperation

func (*Query_Expr) MergeOrOperation added in v0.2.0

func (t *Query_Expr) MergeOrOperation(v OrOperation) error

MergeOrOperation performs a merge with any union data inside the Query_Expr, using the provided OrOperation

func (*Query_Expr) UnmarshalJSON added in v0.2.0

func (t *Query_Expr) UnmarshalJSON(b []byte) error

type RatingCondition added in v0.2.0

type RatingCondition struct {
	Op        RatingConditionOp `json:"op"`
	ScorerKey string            `json:"scorer_key"`
	Value     float64           `json:"value"`
}

RatingCondition defines model for RatingCondition.

type RatingConditionOp added in v0.2.0

type RatingConditionOp string

RatingConditionOp defines model for RatingCondition.Op.

const (
	RatingConditionOpEq  RatingConditionOp = "eq"
	RatingConditionOpGt  RatingConditionOp = "gt"
	RatingConditionOpGte RatingConditionOp = "gte"
	RatingConditionOpLt  RatingConditionOp = "lt"
	RatingConditionOpLte RatingConditionOp = "lte"
)

Defines values for RatingConditionOp.

func (RatingConditionOp) Valid added in v0.2.0

func (e RatingConditionOp) Valid() bool

Valid indicates whether the value is a known member of the RatingConditionOp enum.

type ReadRootHealthGetResponse

type ReadRootHealthGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *interface{}
}

func ParseReadRootHealthGetResponse

func ParseReadRootHealthGetResponse(rsp *http.Response) (*ReadRootHealthGetResponse, error)

ParseReadRootHealthGetResponse parses an HTTP response from a ReadRootHealthGetWithResponse call

func (ReadRootHealthGetResponse) ContentType

func (r ReadRootHealthGetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ReadRootHealthGetResponse) GetBody

func (r ReadRootHealthGetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ReadRootHealthGetResponse) GetJSON200

func (r ReadRootHealthGetResponse) GetJSON200() *interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ReadRootHealthGetResponse) Status

func (r ReadRootHealthGetResponse) Status() string

Status returns HTTPResponse.Status

func (ReadRootHealthGetResponse) StatusCode

func (r ReadRootHealthGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReadVersionVersionGetResponse

type ReadVersionVersionGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *interface{}
}

func ParseReadVersionVersionGetResponse

func ParseReadVersionVersionGetResponse(rsp *http.Response) (*ReadVersionVersionGetResponse, error)

ParseReadVersionVersionGetResponse parses an HTTP response from a ReadVersionVersionGetWithResponse call

func (ReadVersionVersionGetResponse) ContentType

func (r ReadVersionVersionGetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ReadVersionVersionGetResponse) GetBody

func (r ReadVersionVersionGetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ReadVersionVersionGetResponse) GetJSON200

func (r ReadVersionVersionGetResponse) GetJSON200() *interface{}

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ReadVersionVersionGetResponse) Status

Status returns HTTPResponse.Status

func (ReadVersionVersionGetResponse) StatusCode

func (r ReadVersionVersionGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReasoningBudgetTokens added in v0.2.0

type ReasoningBudgetTokens struct {
	// Max Maximum reasoning budget.
	Max *int `json:"max,omitempty"`

	// Min Minimum reasoning budget.
	Min  *int                       `json:"min,omitempty"`
	Type *ReasoningBudgetTokensType `json:"type,omitempty"`
}

ReasoningBudgetTokens Reasoning is controlled via a token budget.

type ReasoningBudgetTokensType added in v0.2.0

type ReasoningBudgetTokensType string

ReasoningBudgetTokensType defines model for ReasoningBudgetTokens.Type.

const (
	ReasoningBudgetTokensTypeBudgetTokens ReasoningBudgetTokensType = "budget_tokens"
)

Defines values for ReasoningBudgetTokensType.

func (ReasoningBudgetTokensType) Valid added in v0.2.0

func (e ReasoningBudgetTokensType) Valid() bool

Valid indicates whether the value is a known member of the ReasoningBudgetTokensType enum.

type ReasoningEffortOption added in v0.2.0

type ReasoningEffortOption struct {
	Type *ReasoningEffortOptionType `json:"type,omitempty"`

	// Values Accepted effort levels (null denotes an implicit default).
	Values []*ReasoningEffortOptionValues `json:"values"`
}

ReasoningEffortOption Reasoning effort can be selected from a set of levels.

type ReasoningEffortOptionType added in v0.2.0

type ReasoningEffortOptionType string

ReasoningEffortOptionType defines model for ReasoningEffortOption.Type.

const (
	ReasoningEffortOptionTypeEffort ReasoningEffortOptionType = "effort"
)

Defines values for ReasoningEffortOptionType.

func (ReasoningEffortOptionType) Valid added in v0.2.0

func (e ReasoningEffortOptionType) Valid() bool

Valid indicates whether the value is a known member of the ReasoningEffortOptionType enum.

type ReasoningEffortOptionValues added in v0.2.0

type ReasoningEffortOptionValues string

ReasoningEffortOptionValues defines model for ReasoningEffortOption.Values.

const (
	ReasoningEffortOptionValuesDefault ReasoningEffortOptionValues = "default"
	ReasoningEffortOptionValuesHigh    ReasoningEffortOptionValues = "high"
	ReasoningEffortOptionValuesLow     ReasoningEffortOptionValues = "low"
	ReasoningEffortOptionValuesMax     ReasoningEffortOptionValues = "max"
	ReasoningEffortOptionValuesMedium  ReasoningEffortOptionValues = "medium"
	ReasoningEffortOptionValuesMinimal ReasoningEffortOptionValues = "minimal"
	ReasoningEffortOptionValuesNone    ReasoningEffortOptionValues = "none"
	ReasoningEffortOptionValuesXhigh   ReasoningEffortOptionValues = "xhigh"
)

Defines values for ReasoningEffortOptionValues.

func (ReasoningEffortOptionValues) Valid added in v0.2.0

Valid indicates whether the value is a known member of the ReasoningEffortOptionValues enum.

type ReasoningToggle added in v0.2.0

type ReasoningToggle struct {
	Type *ReasoningToggleType `json:"type,omitempty"`
}

ReasoningToggle Reasoning can be turned on or off.

type ReasoningToggleType added in v0.2.0

type ReasoningToggleType string

ReasoningToggleType defines model for ReasoningToggle.Type.

const (
	ReasoningToggleTypeToggle ReasoningToggleType = "toggle"
)

Defines values for ReasoningToggleType.

func (ReasoningToggleType) Valid added in v0.2.0

func (e ReasoningToggleType) Valid() bool

Valid indicates whether the value is a known member of the ReasoningToggleType enum.

type ReferenceResolveRes added in v0.2.0

type ReferenceResolveRes struct {
	DownloadUrls []string `json:"download_urls"`
	ExpiresAt    *string  `json:"expires_at"`
}

ReferenceResolveRes defines model for ReferenceResolveRes.

type RefsReadBatchRefsReadBatchPostJSONRequestBody

type RefsReadBatchRefsReadBatchPostJSONRequestBody = RefsReadBatchReq

RefsReadBatchRefsReadBatchPostJSONRequestBody defines body for RefsReadBatchRefsReadBatchPost for application/json ContentType.

type RefsReadBatchRefsReadBatchPostResponse

type RefsReadBatchRefsReadBatchPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RefsReadBatchRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseRefsReadBatchRefsReadBatchPostResponse

func ParseRefsReadBatchRefsReadBatchPostResponse(rsp *http.Response) (*RefsReadBatchRefsReadBatchPostResponse, error)

ParseRefsReadBatchRefsReadBatchPostResponse parses an HTTP response from a RefsReadBatchRefsReadBatchPostWithResponse call

func (RefsReadBatchRefsReadBatchPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RefsReadBatchRefsReadBatchPostResponse) GetBody

GetBody returns the raw response body bytes

func (RefsReadBatchRefsReadBatchPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RefsReadBatchRefsReadBatchPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (RefsReadBatchRefsReadBatchPostResponse) Status

Status returns HTTPResponse.Status

func (RefsReadBatchRefsReadBatchPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RefsReadBatchReq

type RefsReadBatchReq struct {
	Refs []string `json:"refs"`
}

RefsReadBatchReq defines model for RefsReadBatchReq.

type RefsReadBatchRes

type RefsReadBatchRes struct {
	Vals []interface{} `json:"vals"`
}

RefsReadBatchRes defines model for RefsReadBatchRes.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RescoreEvaluationEvaluationsRescorePostJSONRequestBody added in v0.2.0

type RescoreEvaluationEvaluationsRescorePostJSONRequestBody = RescoreReq

RescoreEvaluationEvaluationsRescorePostJSONRequestBody defines body for RescoreEvaluationEvaluationsRescorePost for application/json ContentType.

type RescoreEvaluationEvaluationsRescorePostResponse added in v0.2.0

type RescoreEvaluationEvaluationsRescorePostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *RescoreRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseRescoreEvaluationEvaluationsRescorePostResponse added in v0.2.0

func ParseRescoreEvaluationEvaluationsRescorePostResponse(rsp *http.Response) (*RescoreEvaluationEvaluationsRescorePostResponse, error)

ParseRescoreEvaluationEvaluationsRescorePostResponse parses an HTTP response from a RescoreEvaluationEvaluationsRescorePostWithResponse call

func (RescoreEvaluationEvaluationsRescorePostResponse) ContentType added in v0.2.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (RescoreEvaluationEvaluationsRescorePostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (RescoreEvaluationEvaluationsRescorePostResponse) GetJSON200 added in v0.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (RescoreEvaluationEvaluationsRescorePostResponse) GetJSON422 added in v0.2.0

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (RescoreEvaluationEvaluationsRescorePostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (RescoreEvaluationEvaluationsRescorePostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type RescoreReq added in v0.2.0

type RescoreReq struct {
	ProjectId string `json:"project_id"`

	// ScorerRefs Scorer references (weave:// URIs) to apply; must be non-empty
	ScorerRefs []string `json:"scorer_refs"`

	// SourceEvaluationRunId The evaluation run whose predictions will be rescored
	SourceEvaluationRunId string `json:"source_evaluation_run_id"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`
}

RescoreReq Full rescore request including server-set fields.

type RescoreRes added in v0.2.0

type RescoreRes struct {
	// CallId Call ID for /evaluations/status polling
	CallId string `json:"call_id"`

	// EvaluationRunId The newly created EvaluationRun ID
	EvaluationRunId string `json:"evaluation_run_id"`
}

RescoreRes Response for a rescore request.

type RouterOpenRouterModel

type RouterOpenRouterModel struct {
	ContextLength int          `json:"context_length"`
	Created       int          `json:"created"`
	Datacenters   []Datacenter `json:"datacenters"`

	// DeprecationDate Date when the model is deprecated (YYYY-MM-DD). Omitted from output if not set.
	DeprecationDate  *string  `json:"deprecation_date,omitempty"`
	HuggingFaceId    string   `json:"hugging_face_id"`
	Id               string   `json:"id"`
	InputModalities  []string `json:"input_modalities"`
	MaxOutputLength  int      `json:"max_output_length"`
	Name             string   `json:"name"`
	OutputModalities []string `json:"output_modalities"`

	// Pricing All pricing values are in USD per 1 token.
	//
	// Pricing fields are in string format to avoid floating point precision issues.
	Pricing                     Pricing                                            `json:"pricing"`
	Quantization                RouterOpenRouterModelQuantization                  `json:"quantization"`
	SupportedFeatures           []RouterOpenRouterModelSupportedFeatures           `json:"supported_features"`
	SupportedSamplingParameters []RouterOpenRouterModelSupportedSamplingParameters `json:"supported_sampling_parameters"`
}

RouterOpenRouterModel defines model for RouterOpenRouterModel.

type RouterOpenRouterModelQuantization

type RouterOpenRouterModelQuantization string

RouterOpenRouterModelQuantization defines model for RouterOpenRouterModel.Quantization.

const (
	RouterOpenRouterModelQuantizationBf16  RouterOpenRouterModelQuantization = "bf16"
	RouterOpenRouterModelQuantizationFp16  RouterOpenRouterModelQuantization = "fp16"
	RouterOpenRouterModelQuantizationFp32  RouterOpenRouterModelQuantization = "fp32"
	RouterOpenRouterModelQuantizationFp4   RouterOpenRouterModelQuantization = "fp4"
	RouterOpenRouterModelQuantizationFp6   RouterOpenRouterModelQuantization = "fp6"
	RouterOpenRouterModelQuantizationFp8   RouterOpenRouterModelQuantization = "fp8"
	RouterOpenRouterModelQuantizationInt4  RouterOpenRouterModelQuantization = "int4"
	RouterOpenRouterModelQuantizationInt8  RouterOpenRouterModelQuantization = "int8"
	RouterOpenRouterModelQuantizationNvfp4 RouterOpenRouterModelQuantization = "nvfp4"
)

Defines values for RouterOpenRouterModelQuantization.

func (RouterOpenRouterModelQuantization) Valid

Valid indicates whether the value is a known member of the RouterOpenRouterModelQuantization enum.

type RouterOpenRouterModelSupportedFeatures

type RouterOpenRouterModelSupportedFeatures string

RouterOpenRouterModelSupportedFeatures defines model for RouterOpenRouterModel.SupportedFeatures.

const (
	RouterOpenRouterModelSupportedFeaturesJsonMode          RouterOpenRouterModelSupportedFeatures = "json_mode"
	RouterOpenRouterModelSupportedFeaturesReasoning         RouterOpenRouterModelSupportedFeatures = "reasoning"
	RouterOpenRouterModelSupportedFeaturesStructuredOutputs RouterOpenRouterModelSupportedFeatures = "structured_outputs"
	RouterOpenRouterModelSupportedFeaturesTools             RouterOpenRouterModelSupportedFeatures = "tools"
	RouterOpenRouterModelSupportedFeaturesWebSearch         RouterOpenRouterModelSupportedFeatures = "web_search"
)

Defines values for RouterOpenRouterModelSupportedFeatures.

func (RouterOpenRouterModelSupportedFeatures) Valid

Valid indicates whether the value is a known member of the RouterOpenRouterModelSupportedFeatures enum.

type RouterOpenRouterModelSupportedSamplingParameters

type RouterOpenRouterModelSupportedSamplingParameters string

RouterOpenRouterModelSupportedSamplingParameters defines model for RouterOpenRouterModel.SupportedSamplingParameters.

const (
	RouterOpenRouterModelSupportedSamplingParametersFrequencyPenalty  RouterOpenRouterModelSupportedSamplingParameters = "frequency_penalty"
	RouterOpenRouterModelSupportedSamplingParametersPresencePenalty   RouterOpenRouterModelSupportedSamplingParameters = "presence_penalty"
	RouterOpenRouterModelSupportedSamplingParametersRepetitionPenalty RouterOpenRouterModelSupportedSamplingParameters = "repetition_penalty"
	RouterOpenRouterModelSupportedSamplingParametersSeed              RouterOpenRouterModelSupportedSamplingParameters = "seed"
	RouterOpenRouterModelSupportedSamplingParametersStop              RouterOpenRouterModelSupportedSamplingParameters = "stop"
	RouterOpenRouterModelSupportedSamplingParametersTemperature       RouterOpenRouterModelSupportedSamplingParameters = "temperature"
	RouterOpenRouterModelSupportedSamplingParametersTopK              RouterOpenRouterModelSupportedSamplingParameters = "top_k"
	RouterOpenRouterModelSupportedSamplingParametersTopP              RouterOpenRouterModelSupportedSamplingParameters = "top_p"
)

Defines values for RouterOpenRouterModelSupportedSamplingParameters.

func (RouterOpenRouterModelSupportedSamplingParameters) Valid

Valid indicates whether the value is a known member of the RouterOpenRouterModelSupportedSamplingParameters enum.

type RouterOpenRouterModelsRes

type RouterOpenRouterModelsRes struct {
	Data []RouterOpenRouterModel `json:"data"`
}

RouterOpenRouterModelsRes defines model for RouterOpenRouterModelsRes.

type ScoreCreateBody

type ScoreCreateBody struct {
	// EvaluationRunId Optional evaluation run ID to link this score as a child call
	EvaluationRunId *string `json:"evaluation_run_id,omitempty"`

	// PredictionId The prediction ID
	PredictionId string `json:"prediction_id"`

	// Scorer The scorer reference (weave:// URI)
	Scorer string `json:"scorer"`

	// Value The raw output of the scorer
	Value interface{} `json:"value"`
}

ScoreCreateBody Request body for creating a Score via REST API.

This model excludes project_id since it comes from the URL path in RESTful endpoints.

type ScoreCreateRes

type ScoreCreateRes struct {
	// ScoreId The score ID
	ScoreId string `json:"score_id"`
}

ScoreCreateRes defines model for ScoreCreateRes.

type ScoreCreateV2EntityProjectScoresPostJSONRequestBody

type ScoreCreateV2EntityProjectScoresPostJSONRequestBody = ScoreCreateBody

ScoreCreateV2EntityProjectScoresPostJSONRequestBody defines body for ScoreCreateV2EntityProjectScoresPost for application/json ContentType.

type ScoreCreateV2EntityProjectScoresPostResponse

type ScoreCreateV2EntityProjectScoresPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ScoreCreateRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseScoreCreateV2EntityProjectScoresPostResponse

func ParseScoreCreateV2EntityProjectScoresPostResponse(rsp *http.Response) (*ScoreCreateV2EntityProjectScoresPostResponse, error)

ParseScoreCreateV2EntityProjectScoresPostResponse parses an HTTP response from a ScoreCreateV2EntityProjectScoresPostWithResponse call

func (ScoreCreateV2EntityProjectScoresPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ScoreCreateV2EntityProjectScoresPostResponse) GetBody

GetBody returns the raw response body bytes

func (ScoreCreateV2EntityProjectScoresPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ScoreCreateV2EntityProjectScoresPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ScoreCreateV2EntityProjectScoresPostResponse) Status

Status returns HTTPResponse.Status

func (ScoreCreateV2EntityProjectScoresPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ScoreDeleteRes

type ScoreDeleteRes struct {
	// NumDeleted Number of scores deleted
	NumDeleted int `json:"num_deleted"`
}

ScoreDeleteRes defines model for ScoreDeleteRes.

type ScoreDeleteV2EntityProjectScoresDeleteParams

type ScoreDeleteV2EntityProjectScoresDeleteParams struct {
	// ScoreIds List of score IDs to delete
	ScoreIds []string `form:"score_ids" json:"score_ids"`
}

ScoreDeleteV2EntityProjectScoresDeleteParams defines parameters for ScoreDeleteV2EntityProjectScoresDelete.

type ScoreDeleteV2EntityProjectScoresDeleteResponse

type ScoreDeleteV2EntityProjectScoresDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ScoreDeleteRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseScoreDeleteV2EntityProjectScoresDeleteResponse

func ParseScoreDeleteV2EntityProjectScoresDeleteResponse(rsp *http.Response) (*ScoreDeleteV2EntityProjectScoresDeleteResponse, error)

ParseScoreDeleteV2EntityProjectScoresDeleteResponse parses an HTTP response from a ScoreDeleteV2EntityProjectScoresDeleteWithResponse call

func (ScoreDeleteV2EntityProjectScoresDeleteResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ScoreDeleteV2EntityProjectScoresDeleteResponse) GetBody

GetBody returns the raw response body bytes

func (ScoreDeleteV2EntityProjectScoresDeleteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ScoreDeleteV2EntityProjectScoresDeleteResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ScoreDeleteV2EntityProjectScoresDeleteResponse) Status

Status returns HTTPResponse.Status

func (ScoreDeleteV2EntityProjectScoresDeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ScoreListV2EntityProjectScoresGetParams

type ScoreListV2EntityProjectScoresGetParams struct {
	// EvaluationRunId Filter by evaluation run ID
	EvaluationRunId *string `form:"evaluation_run_id,omitempty" json:"evaluation_run_id,omitempty"`

	// Limit Maximum number of scores to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of scores to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ScoreListV2EntityProjectScoresGetParams defines parameters for ScoreListV2EntityProjectScoresGet.

type ScoreListV2EntityProjectScoresGetResponse

type ScoreListV2EntityProjectScoresGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseScoreListV2EntityProjectScoresGetResponse

func ParseScoreListV2EntityProjectScoresGetResponse(rsp *http.Response) (*ScoreListV2EntityProjectScoresGetResponse, error)

ParseScoreListV2EntityProjectScoresGetResponse parses an HTTP response from a ScoreListV2EntityProjectScoresGetWithResponse call

func (ScoreListV2EntityProjectScoresGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ScoreListV2EntityProjectScoresGetResponse) GetBody

GetBody returns the raw response body bytes

func (ScoreListV2EntityProjectScoresGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ScoreListV2EntityProjectScoresGetResponse) Status

Status returns HTTPResponse.Status

func (ScoreListV2EntityProjectScoresGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ScoreReadRes

type ScoreReadRes struct {
	// EvaluationRunId Evaluation run ID if this score is linked to one
	EvaluationRunId *string `json:"evaluation_run_id,omitempty"`

	// ScoreId The score ID
	ScoreId string `json:"score_id"`

	// Scorer The scorer reference (weave:// URI)
	Scorer string `json:"scorer"`

	// Value The raw output of the scorer
	Value interface{} `json:"value"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`
}

ScoreReadRes defines model for ScoreReadRes.

type ScoreReadV2EntityProjectScoresScoreIdGetResponse

type ScoreReadV2EntityProjectScoresScoreIdGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ScoreReadRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseScoreReadV2EntityProjectScoresScoreIdGetResponse

func ParseScoreReadV2EntityProjectScoresScoreIdGetResponse(rsp *http.Response) (*ScoreReadV2EntityProjectScoresScoreIdGetResponse, error)

ParseScoreReadV2EntityProjectScoresScoreIdGetResponse parses an HTTP response from a ScoreReadV2EntityProjectScoresScoreIdGetWithResponse call

func (ScoreReadV2EntityProjectScoresScoreIdGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ScoreReadV2EntityProjectScoresScoreIdGetResponse) GetBody

GetBody returns the raw response body bytes

func (ScoreReadV2EntityProjectScoresScoreIdGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ScoreReadV2EntityProjectScoresScoreIdGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ScoreReadV2EntityProjectScoresScoreIdGetResponse) Status

Status returns HTTPResponse.Status

func (ScoreReadV2EntityProjectScoresScoreIdGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ScorerCreateBody

type ScorerCreateBody struct {
	// Description A description of this scorer
	Description *string `json:"description,omitempty"`

	// Name The name of this scorer.  Scorers with the same name will be versioned together.
	Name string `json:"name"`

	// OpSourceCode Complete source code for the Scorer.score op including imports
	OpSourceCode string `json:"op_source_code"`
}

ScorerCreateBody defines model for ScorerCreateBody.

type ScorerCreateRes

type ScorerCreateRes struct {
	// Digest The digest of the created scorer
	Digest string `json:"digest"`

	// ObjectId The ID of the created scorer
	ObjectId string `json:"object_id"`

	// Scorer Full reference to the created scorer
	Scorer string `json:"scorer"`

	// VersionIndex The version index of the created scorer
	VersionIndex int `json:"version_index"`
}

ScorerCreateRes defines model for ScorerCreateRes.

type ScorerCreateV2EntityProjectScorersPostJSONRequestBody

type ScorerCreateV2EntityProjectScorersPostJSONRequestBody = ScorerCreateBody

ScorerCreateV2EntityProjectScorersPostJSONRequestBody defines body for ScorerCreateV2EntityProjectScorersPost for application/json ContentType.

type ScorerCreateV2EntityProjectScorersPostResponse

type ScorerCreateV2EntityProjectScorersPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ScorerCreateRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseScorerCreateV2EntityProjectScorersPostResponse

func ParseScorerCreateV2EntityProjectScorersPostResponse(rsp *http.Response) (*ScorerCreateV2EntityProjectScorersPostResponse, error)

ParseScorerCreateV2EntityProjectScorersPostResponse parses an HTTP response from a ScorerCreateV2EntityProjectScorersPostWithResponse call

func (ScorerCreateV2EntityProjectScorersPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ScorerCreateV2EntityProjectScorersPostResponse) GetBody

GetBody returns the raw response body bytes

func (ScorerCreateV2EntityProjectScorersPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ScorerCreateV2EntityProjectScorersPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ScorerCreateV2EntityProjectScorersPostResponse) Status

Status returns HTTPResponse.Status

func (ScorerCreateV2EntityProjectScorersPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ScorerDeleteRes

type ScorerDeleteRes struct {
	// NumDeleted Number of scorer versions deleted
	NumDeleted int `json:"num_deleted"`
}

ScorerDeleteRes defines model for ScorerDeleteRes.

type ScorerDeleteV2EntityProjectScorersObjectIdDeleteParams

type ScorerDeleteV2EntityProjectScorersObjectIdDeleteParams struct {
	// Digests List of digests to delete. If not provided, all digests for the scorer will be deleted.
	Digests *[]string `form:"digests,omitempty" json:"digests,omitempty"`
}

ScorerDeleteV2EntityProjectScorersObjectIdDeleteParams defines parameters for ScorerDeleteV2EntityProjectScorersObjectIdDelete.

type ScorerDeleteV2EntityProjectScorersObjectIdDeleteResponse

type ScorerDeleteV2EntityProjectScorersObjectIdDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ScorerDeleteRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseScorerDeleteV2EntityProjectScorersObjectIdDeleteResponse

func ParseScorerDeleteV2EntityProjectScorersObjectIdDeleteResponse(rsp *http.Response) (*ScorerDeleteV2EntityProjectScorersObjectIdDeleteResponse, error)

ParseScorerDeleteV2EntityProjectScorersObjectIdDeleteResponse parses an HTTP response from a ScorerDeleteV2EntityProjectScorersObjectIdDeleteWithResponse call

func (ScorerDeleteV2EntityProjectScorersObjectIdDeleteResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ScorerDeleteV2EntityProjectScorersObjectIdDeleteResponse) GetBody

GetBody returns the raw response body bytes

func (ScorerDeleteV2EntityProjectScorersObjectIdDeleteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ScorerDeleteV2EntityProjectScorersObjectIdDeleteResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ScorerDeleteV2EntityProjectScorersObjectIdDeleteResponse) Status

Status returns HTTPResponse.Status

func (ScorerDeleteV2EntityProjectScorersObjectIdDeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ScorerListV2EntityProjectScorersGetParams added in v0.2.0

type ScorerListV2EntityProjectScorersGetParams struct {
	// Limit Maximum number of scorers to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of scorers to skip
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}

ScorerListV2EntityProjectScorersGetParams defines parameters for ScorerListV2EntityProjectScorersGet.

type ScorerListV2EntityProjectScorersGetResponse

type ScorerListV2EntityProjectScorersGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseScorerListV2EntityProjectScorersGetResponse

func ParseScorerListV2EntityProjectScorersGetResponse(rsp *http.Response) (*ScorerListV2EntityProjectScorersGetResponse, error)

ParseScorerListV2EntityProjectScorersGetResponse parses an HTTP response from a ScorerListV2EntityProjectScorersGetWithResponse call

func (ScorerListV2EntityProjectScorersGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ScorerListV2EntityProjectScorersGetResponse) GetBody

GetBody returns the raw response body bytes

func (ScorerListV2EntityProjectScorersGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ScorerListV2EntityProjectScorersGetResponse) Status

Status returns HTTPResponse.Status

func (ScorerListV2EntityProjectScorersGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ScorerReadRes

type ScorerReadRes struct {
	// CreatedAt When the scorer was created
	CreatedAt time.Time `json:"created_at"`

	// Description Description of the scorer
	Description *string `json:"description,omitempty"`

	// Digest The digest of the scorer
	Digest string `json:"digest"`

	// Name The name of the scorer
	Name string `json:"name"`

	// ObjectId The scorer ID
	ObjectId string `json:"object_id"`

	// ScoreOp The Scorer.score op reference
	ScoreOp string `json:"score_op"`

	// VersionIndex The version index of the object
	VersionIndex int `json:"version_index"`
}

ScorerReadRes defines model for ScorerReadRes.

type ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetResponse

type ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ScorerReadRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetResponse

func ParseScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetResponse(rsp *http.Response) (*ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetResponse, error)

ParseScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetResponse parses an HTTP response from a ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetWithResponse call

func (ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetResponse) GetBody

GetBody returns the raw response body bytes

func (ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetResponse) Status

Status returns HTTPResponse.Status

func (ScorerReadV2EntityProjectScorersObjectIdVersionsDigestGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SensitiveDataPolicy added in v0.2.0

type SensitiveDataPolicy string

SensitiveDataPolicy defines model for SensitiveDataPolicy.

const (
	SensitiveDataPolicyOff   SensitiveDataPolicy = "off"
	SensitiveDataPolicyPiiV1 SensitiveDataPolicy = "pii-v1"
)

Defines values for SensitiveDataPolicy.

func (SensitiveDataPolicy) Valid added in v0.2.0

func (e SensitiveDataPolicy) Valid() bool

Valid indicates whether the value is a known member of the SensitiveDataPolicy enum.

type ServerInfoRes

type ServerInfoRes struct {
	MinRequiredWeavePythonVersion string `json:"min_required_weave_python_version"`
	TraceServerVersion            string `json:"trace_server_version"`
}

ServerInfoRes defines model for ServerInfoRes.

type ServerInfoServerInfoGetResponse

type ServerInfoServerInfoGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *ServerInfoRes
}

func ParseServerInfoServerInfoGetResponse

func ParseServerInfoServerInfoGetResponse(rsp *http.Response) (*ServerInfoServerInfoGetResponse, error)

ParseServerInfoServerInfoGetResponse parses an HTTP response from a ServerInfoServerInfoGetWithResponse call

func (ServerInfoServerInfoGetResponse) ContentType

func (r ServerInfoServerInfoGetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ServerInfoServerInfoGetResponse) GetBody

func (r ServerInfoServerInfoGetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ServerInfoServerInfoGetResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ServerInfoServerInfoGetResponse) Status

Status returns HTTPResponse.Status

func (ServerInfoServerInfoGetResponse) StatusCode

func (r ServerInfoServerInfoGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SizeOperation added in v0.2.0

type SizeOperation struct {
	Size SizeOperation_Size `json:"$size"`
}

SizeOperation Return the number of elements in a collection or characters in a string.

Example:

```
{"$size": {"$getField": "scorer_tags"}}
```

type SizeOperation_Size added in v0.2.0

type SizeOperation_Size struct {
	// contains filtered or unexported fields
}

SizeOperation_Size defines model for SizeOperation.Size.

func (SizeOperation_Size) AsAndOperation added in v0.2.0

func (t SizeOperation_Size) AsAndOperation() (AndOperation, error)

AsAndOperation returns the union data inside the SizeOperation_Size as a AndOperation

func (SizeOperation_Size) AsContainsOperation added in v0.2.0

func (t SizeOperation_Size) AsContainsOperation() (ContainsOperation, error)

AsContainsOperation returns the union data inside the SizeOperation_Size as a ContainsOperation

func (SizeOperation_Size) AsConvertOperation added in v0.2.0

func (t SizeOperation_Size) AsConvertOperation() (ConvertOperation, error)

AsConvertOperation returns the union data inside the SizeOperation_Size as a ConvertOperation

func (SizeOperation_Size) AsEqOperation added in v0.2.0

func (t SizeOperation_Size) AsEqOperation() (EqOperation, error)

AsEqOperation returns the union data inside the SizeOperation_Size as a EqOperation

func (SizeOperation_Size) AsGetFieldOperator added in v0.2.0

func (t SizeOperation_Size) AsGetFieldOperator() (GetFieldOperator, error)

AsGetFieldOperator returns the union data inside the SizeOperation_Size as a GetFieldOperator

func (SizeOperation_Size) AsGtOperation added in v0.2.0

func (t SizeOperation_Size) AsGtOperation() (GtOperation, error)

AsGtOperation returns the union data inside the SizeOperation_Size as a GtOperation

func (SizeOperation_Size) AsGteOperation added in v0.2.0

func (t SizeOperation_Size) AsGteOperation() (GteOperation, error)

AsGteOperation returns the union data inside the SizeOperation_Size as a GteOperation

func (SizeOperation_Size) AsInOperation added in v0.2.0

func (t SizeOperation_Size) AsInOperation() (InOperation, error)

AsInOperation returns the union data inside the SizeOperation_Size as a InOperation

func (SizeOperation_Size) AsLiteralOperation added in v0.2.0

func (t SizeOperation_Size) AsLiteralOperation() (LiteralOperation, error)

AsLiteralOperation returns the union data inside the SizeOperation_Size as a LiteralOperation

func (SizeOperation_Size) AsLtOperation added in v0.2.0

func (t SizeOperation_Size) AsLtOperation() (LtOperation, error)

AsLtOperation returns the union data inside the SizeOperation_Size as a LtOperation

func (SizeOperation_Size) AsLteOperation added in v0.2.0

func (t SizeOperation_Size) AsLteOperation() (LteOperation, error)

AsLteOperation returns the union data inside the SizeOperation_Size as a LteOperation

func (SizeOperation_Size) AsNotOperation added in v0.2.0

func (t SizeOperation_Size) AsNotOperation() (NotOperation, error)

AsNotOperation returns the union data inside the SizeOperation_Size as a NotOperation

func (SizeOperation_Size) AsOrOperation added in v0.2.0

func (t SizeOperation_Size) AsOrOperation() (OrOperation, error)

AsOrOperation returns the union data inside the SizeOperation_Size as a OrOperation

func (SizeOperation_Size) AsSizeOperation added in v0.2.0

func (t SizeOperation_Size) AsSizeOperation() (SizeOperation, error)

AsSizeOperation returns the union data inside the SizeOperation_Size as a SizeOperation

func (*SizeOperation_Size) FromAndOperation added in v0.2.0

func (t *SizeOperation_Size) FromAndOperation(v AndOperation) error

FromAndOperation overwrites any union data inside the SizeOperation_Size as the provided AndOperation

func (*SizeOperation_Size) FromContainsOperation added in v0.2.0

func (t *SizeOperation_Size) FromContainsOperation(v ContainsOperation) error

FromContainsOperation overwrites any union data inside the SizeOperation_Size as the provided ContainsOperation

func (*SizeOperation_Size) FromConvertOperation added in v0.2.0

func (t *SizeOperation_Size) FromConvertOperation(v ConvertOperation) error

FromConvertOperation overwrites any union data inside the SizeOperation_Size as the provided ConvertOperation

func (*SizeOperation_Size) FromEqOperation added in v0.2.0

func (t *SizeOperation_Size) FromEqOperation(v EqOperation) error

FromEqOperation overwrites any union data inside the SizeOperation_Size as the provided EqOperation

func (*SizeOperation_Size) FromGetFieldOperator added in v0.2.0

func (t *SizeOperation_Size) FromGetFieldOperator(v GetFieldOperator) error

FromGetFieldOperator overwrites any union data inside the SizeOperation_Size as the provided GetFieldOperator

func (*SizeOperation_Size) FromGtOperation added in v0.2.0

func (t *SizeOperation_Size) FromGtOperation(v GtOperation) error

FromGtOperation overwrites any union data inside the SizeOperation_Size as the provided GtOperation

func (*SizeOperation_Size) FromGteOperation added in v0.2.0

func (t *SizeOperation_Size) FromGteOperation(v GteOperation) error

FromGteOperation overwrites any union data inside the SizeOperation_Size as the provided GteOperation

func (*SizeOperation_Size) FromInOperation added in v0.2.0

func (t *SizeOperation_Size) FromInOperation(v InOperation) error

FromInOperation overwrites any union data inside the SizeOperation_Size as the provided InOperation

func (*SizeOperation_Size) FromLiteralOperation added in v0.2.0

func (t *SizeOperation_Size) FromLiteralOperation(v LiteralOperation) error

FromLiteralOperation overwrites any union data inside the SizeOperation_Size as the provided LiteralOperation

func (*SizeOperation_Size) FromLtOperation added in v0.2.0

func (t *SizeOperation_Size) FromLtOperation(v LtOperation) error

FromLtOperation overwrites any union data inside the SizeOperation_Size as the provided LtOperation

func (*SizeOperation_Size) FromLteOperation added in v0.2.0

func (t *SizeOperation_Size) FromLteOperation(v LteOperation) error

FromLteOperation overwrites any union data inside the SizeOperation_Size as the provided LteOperation

func (*SizeOperation_Size) FromNotOperation added in v0.2.0

func (t *SizeOperation_Size) FromNotOperation(v NotOperation) error

FromNotOperation overwrites any union data inside the SizeOperation_Size as the provided NotOperation

func (*SizeOperation_Size) FromOrOperation added in v0.2.0

func (t *SizeOperation_Size) FromOrOperation(v OrOperation) error

FromOrOperation overwrites any union data inside the SizeOperation_Size as the provided OrOperation

func (*SizeOperation_Size) FromSizeOperation added in v0.2.0

func (t *SizeOperation_Size) FromSizeOperation(v SizeOperation) error

FromSizeOperation overwrites any union data inside the SizeOperation_Size as the provided SizeOperation

func (SizeOperation_Size) MarshalJSON added in v0.2.0

func (t SizeOperation_Size) MarshalJSON() ([]byte, error)

func (*SizeOperation_Size) MergeAndOperation added in v0.2.0

func (t *SizeOperation_Size) MergeAndOperation(v AndOperation) error

MergeAndOperation performs a merge with any union data inside the SizeOperation_Size, using the provided AndOperation

func (*SizeOperation_Size) MergeContainsOperation added in v0.2.0

func (t *SizeOperation_Size) MergeContainsOperation(v ContainsOperation) error

MergeContainsOperation performs a merge with any union data inside the SizeOperation_Size, using the provided ContainsOperation

func (*SizeOperation_Size) MergeConvertOperation added in v0.2.0

func (t *SizeOperation_Size) MergeConvertOperation(v ConvertOperation) error

MergeConvertOperation performs a merge with any union data inside the SizeOperation_Size, using the provided ConvertOperation

func (*SizeOperation_Size) MergeEqOperation added in v0.2.0

func (t *SizeOperation_Size) MergeEqOperation(v EqOperation) error

MergeEqOperation performs a merge with any union data inside the SizeOperation_Size, using the provided EqOperation

func (*SizeOperation_Size) MergeGetFieldOperator added in v0.2.0

func (t *SizeOperation_Size) MergeGetFieldOperator(v GetFieldOperator) error

MergeGetFieldOperator performs a merge with any union data inside the SizeOperation_Size, using the provided GetFieldOperator

func (*SizeOperation_Size) MergeGtOperation added in v0.2.0

func (t *SizeOperation_Size) MergeGtOperation(v GtOperation) error

MergeGtOperation performs a merge with any union data inside the SizeOperation_Size, using the provided GtOperation

func (*SizeOperation_Size) MergeGteOperation added in v0.2.0

func (t *SizeOperation_Size) MergeGteOperation(v GteOperation) error

MergeGteOperation performs a merge with any union data inside the SizeOperation_Size, using the provided GteOperation

func (*SizeOperation_Size) MergeInOperation added in v0.2.0

func (t *SizeOperation_Size) MergeInOperation(v InOperation) error

MergeInOperation performs a merge with any union data inside the SizeOperation_Size, using the provided InOperation

func (*SizeOperation_Size) MergeLiteralOperation added in v0.2.0

func (t *SizeOperation_Size) MergeLiteralOperation(v LiteralOperation) error

MergeLiteralOperation performs a merge with any union data inside the SizeOperation_Size, using the provided LiteralOperation

func (*SizeOperation_Size) MergeLtOperation added in v0.2.0

func (t *SizeOperation_Size) MergeLtOperation(v LtOperation) error

MergeLtOperation performs a merge with any union data inside the SizeOperation_Size, using the provided LtOperation

func (*SizeOperation_Size) MergeLteOperation added in v0.2.0

func (t *SizeOperation_Size) MergeLteOperation(v LteOperation) error

MergeLteOperation performs a merge with any union data inside the SizeOperation_Size, using the provided LteOperation

func (*SizeOperation_Size) MergeNotOperation added in v0.2.0

func (t *SizeOperation_Size) MergeNotOperation(v NotOperation) error

MergeNotOperation performs a merge with any union data inside the SizeOperation_Size, using the provided NotOperation

func (*SizeOperation_Size) MergeOrOperation added in v0.2.0

func (t *SizeOperation_Size) MergeOrOperation(v OrOperation) error

MergeOrOperation performs a merge with any union data inside the SizeOperation_Size, using the provided OrOperation

func (*SizeOperation_Size) MergeSizeOperation added in v0.2.0

func (t *SizeOperation_Size) MergeSizeOperation(v SizeOperation) error

MergeSizeOperation performs a merge with any union data inside the SizeOperation_Size, using the provided SizeOperation

func (*SizeOperation_Size) UnmarshalJSON added in v0.2.0

func (t *SizeOperation_Size) UnmarshalJSON(b []byte) error

type SortBy

type SortBy struct {
	Direction SortByDirection `json:"direction"`
	Field     string          `json:"field"`
}

SortBy defines model for SortBy.

type SortByDirection

type SortByDirection string

SortByDirection defines model for SortBy.Direction.

const (
	SortByDirectionAsc  SortByDirection = "asc"
	SortByDirectionDesc SortByDirection = "desc"
)

Defines values for SortByDirection.

func (SortByDirection) Valid

func (e SortByDirection) Valid() bool

Valid indicates whether the value is a known member of the SortByDirection enum.

type SourceDatasetMembership added in v0.2.0

type SourceDatasetMembership struct {
	DatasetObjectId      string     `json:"dataset_object_id"`
	FirstSeenAt          time.Time  `json:"first_seen_at"`
	RowDigests           []string   `json:"row_digests"`
	RowDigestsTotalCount int        `json:"row_digests_total_count"`
	RowDigestsTruncated  bool       `json:"row_digests_truncated"`
	SourceId             string     `json:"source_id"`
	SourceKind           SourceKind `json:"source_kind"`
	SourceTraceId        string     `json:"source_trace_id"`
}

SourceDatasetMembership Membership of a single (source, dataset) pair in the reverse query.

type SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostJSONRequestBody added in v0.2.0

type SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostJSONRequestBody = SourceDatasetsQueryReq

SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostJSONRequestBody defines body for SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPost for application/json ContentType.

type SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostResponse added in v0.2.0

type SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *SourceDatasetsQueryRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseSourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostResponse added in v0.2.0

func ParseSourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostResponse(rsp *http.Response) (*SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostResponse, error)

ParseSourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostResponse parses an HTTP response from a SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostWithResponse call

func (SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostResponse) ContentType added in v0.2.0

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostResponse) GetBody added in v0.2.0

GetBody returns the raw response body bytes

func (SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostResponse) GetJSON200 added in v0.2.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostResponse) GetJSON422 added in v0.2.0

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostResponse) Status added in v0.2.0

Status returns HTTPResponse.Status

func (SourceDatasetsQueryDatasetSourcesSourceDatasetsQueryPostResponse) StatusCode added in v0.2.0

StatusCode returns HTTPResponse.StatusCode

type SourceDatasetsQueryReq added in v0.2.0

type SourceDatasetsQueryReq struct {
	IncludeDeleted *bool `json:"include_deleted,omitempty"`

	// ProjectId Examples: entity/project
	ProjectId string      `json:"project_id"`
	Sources   []SourceRef `json:"sources"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`
}

SourceDatasetsQueryReq Reverse query: sources -> datasets.

type SourceDatasetsQueryRes added in v0.2.0

type SourceDatasetsQueryRes struct {
	Memberships []SourceDatasetMembership `json:"memberships"`
}

SourceDatasetsQueryRes Response from the reverse sources -> datasets query.

type SourceKind added in v0.2.0

type SourceKind string

SourceKind defines model for SourceKind.

const (
	SourceKindCall         SourceKind = "call"
	SourceKindConversation SourceKind = "conversation"
	SourceKindSpan         SourceKind = "span"
)

Defines values for SourceKind.

func (SourceKind) Valid added in v0.2.0

func (e SourceKind) Valid() bool

Valid indicates whether the value is a known member of the SourceKind enum.

type SourceRef added in v0.2.0

type SourceRef struct {
	SourceId      string     `json:"source_id"`
	SourceKind    SourceKind `json:"source_kind"`
	SourceTraceId string     `json:"source_trace_id"`
}

SourceRef Reference to a provenance source (a call, an agent span, or a conversation).

type StartedCallSchemaForInsert

type StartedCallSchemaForInsert struct {
	Attributes  map[string]interface{}  `json:"attributes"`
	DisplayName *string                 `json:"display_name,omitempty"`
	Id          *string                 `json:"id,omitempty"`
	Inputs      map[string]interface{}  `json:"inputs"`
	OpName      string                  `json:"op_name"`
	OtelDump    *map[string]interface{} `json:"otel_dump,omitempty"`
	ParentId    *string                 `json:"parent_id,omitempty"`
	ProjectId   string                  `json:"project_id"`
	StartedAt   time.Time               `json:"started_at"`
	ThreadId    *string                 `json:"thread_id,omitempty"`
	TraceId     *string                 `json:"trace_id,omitempty"`
	TurnId      *string                 `json:"turn_id,omitempty"`
	WbRunId     *string                 `json:"wb_run_id,omitempty"`
	WbRunStep   *int                    `json:"wb_run_step,omitempty"`

	// WbUserId Do not set directly. Server will automatically populate this field.
	WbUserId *string `json:"wb_user_id,omitempty"`
}

StartedCallSchemaForInsert defines model for StartedCallSchemaForInsert.

type SummaryInsertMap

type SummaryInsertMap struct {
	StatusCounts         *map[string]int            `json:"status_counts,omitempty"`
	Usage                *map[string]LLMUsageSchema `json:"usage,omitempty"`
	AdditionalProperties map[string]interface{}     `json:"-"`
}

SummaryInsertMap defines model for SummaryInsertMap.

func (SummaryInsertMap) Get

func (a SummaryInsertMap) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for SummaryInsertMap. Returns the specified element and whether it was found

func (SummaryInsertMap) MarshalJSON

func (a SummaryInsertMap) MarshalJSON() ([]byte, error)

Override default JSON handling for SummaryInsertMap to handle AdditionalProperties

func (*SummaryInsertMap) Set

func (a *SummaryInsertMap) Set(fieldName string, value interface{})

Setter for additional properties for SummaryInsertMap

func (*SummaryInsertMap) UnmarshalJSON

func (a *SummaryInsertMap) UnmarshalJSON(b []byte) error

Override default JSON handling for SummaryInsertMap to handle AdditionalProperties

type TableAppendSpec

type TableAppendSpec struct {
	Append TableAppendSpecPayload `json:"append"`
}

TableAppendSpec defines model for TableAppendSpec.

type TableAppendSpecPayload

type TableAppendSpecPayload struct {
	Row map[string]interface{} `json:"row"`
}

TableAppendSpecPayload defines model for TableAppendSpecPayload.

type TableCreateFromDigestsReq

type TableCreateFromDigestsReq struct {
	// ExpectedDigest Client-computed table digest for server-side validation.
	ExpectedDigest *string  `json:"expected_digest,omitempty"`
	ProjectId      string   `json:"project_id"`
	RowDigests     []string `json:"row_digests"`
}

TableCreateFromDigestsReq defines model for TableCreateFromDigestsReq.

type TableCreateFromDigestsRes

type TableCreateFromDigestsRes struct {
	Digest string `json:"digest"`
}

TableCreateFromDigestsRes defines model for TableCreateFromDigestsRes.

type TableCreateFromDigestsTableCreateFromDigestsPostJSONRequestBody

type TableCreateFromDigestsTableCreateFromDigestsPostJSONRequestBody = TableCreateFromDigestsReq

TableCreateFromDigestsTableCreateFromDigestsPostJSONRequestBody defines body for TableCreateFromDigestsTableCreateFromDigestsPost for application/json ContentType.

type TableCreateFromDigestsTableCreateFromDigestsPostResponse

type TableCreateFromDigestsTableCreateFromDigestsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TableCreateFromDigestsRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseTableCreateFromDigestsTableCreateFromDigestsPostResponse

func ParseTableCreateFromDigestsTableCreateFromDigestsPostResponse(rsp *http.Response) (*TableCreateFromDigestsTableCreateFromDigestsPostResponse, error)

ParseTableCreateFromDigestsTableCreateFromDigestsPostResponse parses an HTTP response from a TableCreateFromDigestsTableCreateFromDigestsPostWithResponse call

func (TableCreateFromDigestsTableCreateFromDigestsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TableCreateFromDigestsTableCreateFromDigestsPostResponse) GetBody

GetBody returns the raw response body bytes

func (TableCreateFromDigestsTableCreateFromDigestsPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (TableCreateFromDigestsTableCreateFromDigestsPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (TableCreateFromDigestsTableCreateFromDigestsPostResponse) Status

Status returns HTTPResponse.Status

func (TableCreateFromDigestsTableCreateFromDigestsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type TableCreateReq

type TableCreateReq struct {
	Table TableSchemaForInsert `json:"table"`
}

TableCreateReq defines model for TableCreateReq.

type TableCreateRes

type TableCreateRes struct {
	Digest string `json:"digest"`

	// RowDigests The digests of the rows that were created
	RowDigests *[]string `json:"row_digests,omitempty"`
}

TableCreateRes defines model for TableCreateRes.

type TableCreateTableCreatePostJSONRequestBody

type TableCreateTableCreatePostJSONRequestBody = TableCreateReq

TableCreateTableCreatePostJSONRequestBody defines body for TableCreateTableCreatePost for application/json ContentType.

type TableCreateTableCreatePostResponse

type TableCreateTableCreatePostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TableCreateRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseTableCreateTableCreatePostResponse

func ParseTableCreateTableCreatePostResponse(rsp *http.Response) (*TableCreateTableCreatePostResponse, error)

ParseTableCreateTableCreatePostResponse parses an HTTP response from a TableCreateTableCreatePostWithResponse call

func (TableCreateTableCreatePostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TableCreateTableCreatePostResponse) GetBody

GetBody returns the raw response body bytes

func (TableCreateTableCreatePostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (TableCreateTableCreatePostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (TableCreateTableCreatePostResponse) Status

Status returns HTTPResponse.Status

func (TableCreateTableCreatePostResponse) StatusCode

func (r TableCreateTableCreatePostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TableInsertSpec

type TableInsertSpec struct {
	Insert TableInsertSpecPayload `json:"insert"`
}

TableInsertSpec defines model for TableInsertSpec.

type TableInsertSpecPayload

type TableInsertSpecPayload struct {
	Index int                    `json:"index"`
	Row   map[string]interface{} `json:"row"`
}

TableInsertSpecPayload defines model for TableInsertSpecPayload.

type TablePopSpec

type TablePopSpec struct {
	Pop TablePopSpecPayload `json:"pop"`
}

TablePopSpec defines model for TablePopSpec.

type TablePopSpecPayload

type TablePopSpecPayload struct {
	Index int `json:"index"`
}

TablePopSpecPayload defines model for TablePopSpecPayload.

type TableQueryReq

type TableQueryReq struct {
	// Digest The digest of the table to query
	//
	// Examples: aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims
	Digest string `json:"digest"`

	// Filter Optional filter to apply to the query. See `TableRowFilter` for more details.
	//
	// Examples: {"row_digests":["aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims","aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims"]}
	Filter *TableRowFilter `json:"filter,omitempty"`

	// Limit Maximum number of rows to return
	//
	// Examples: 100
	Limit *int `json:"limit,omitempty"`

	// Offset Number of rows to skip before starting to return rows
	//
	// Examples: 10
	Offset *int `json:"offset,omitempty"`

	// ProjectId The ID of the project
	//
	// Examples: my_entity/my_project
	ProjectId string `json:"project_id"`

	// SortBy List of fields to sort by. Fields can be dot-separated to access dictionary values. No sorting uses the default table order (insertion order).
	//
	// Examples: [{"field":"col_a.prop_b","order":"desc"}]
	SortBy *[]SortBy `json:"sort_by,omitempty"`
}

TableQueryReq defines model for TableQueryReq.

type TableQueryRes

type TableQueryRes struct {
	Rows []TableRowSchema `json:"rows"`
}

TableQueryRes defines model for TableQueryRes.

type TableQueryStatsBatchReq

type TableQueryStatsBatchReq struct {
	// Digests The digests of the tables to query
	//
	// Examples: aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims, smirva431etnsroatsratlrampgrmeangmpr5344aplatmipa31ltvsmiераnoa
	Digests *[]string `json:"digests,omitempty"`

	// IncludeStorageSize If true, the `storage_size_bytes` column is returned.
	IncludeStorageSize *bool `json:"include_storage_size,omitempty"`

	// ProjectId The ID of the project
	//
	// Examples: my_entity/my_project
	ProjectId string `json:"project_id"`
}

TableQueryStatsBatchReq defines model for TableQueryStatsBatchReq.

type TableQueryStatsBatchRes

type TableQueryStatsBatchRes struct {
	Tables []TableStatsRow `json:"tables"`
}

TableQueryStatsBatchRes defines model for TableQueryStatsBatchRes.

type TableQueryStatsBatchTableQueryStatsBatchPostJSONRequestBody

type TableQueryStatsBatchTableQueryStatsBatchPostJSONRequestBody = TableQueryStatsBatchReq

TableQueryStatsBatchTableQueryStatsBatchPostJSONRequestBody defines body for TableQueryStatsBatchTableQueryStatsBatchPost for application/json ContentType.

type TableQueryStatsBatchTableQueryStatsBatchPostResponse

type TableQueryStatsBatchTableQueryStatsBatchPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TableQueryStatsBatchRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseTableQueryStatsBatchTableQueryStatsBatchPostResponse

func ParseTableQueryStatsBatchTableQueryStatsBatchPostResponse(rsp *http.Response) (*TableQueryStatsBatchTableQueryStatsBatchPostResponse, error)

ParseTableQueryStatsBatchTableQueryStatsBatchPostResponse parses an HTTP response from a TableQueryStatsBatchTableQueryStatsBatchPostWithResponse call

func (TableQueryStatsBatchTableQueryStatsBatchPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TableQueryStatsBatchTableQueryStatsBatchPostResponse) GetBody

GetBody returns the raw response body bytes

func (TableQueryStatsBatchTableQueryStatsBatchPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (TableQueryStatsBatchTableQueryStatsBatchPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (TableQueryStatsBatchTableQueryStatsBatchPostResponse) Status

Status returns HTTPResponse.Status

func (TableQueryStatsBatchTableQueryStatsBatchPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type TableQueryStatsReq

type TableQueryStatsReq struct {
	// Digest The digest of the table to query
	Digest string `json:"digest"`

	// ProjectId The ID of the project
	//
	// Examples: my_entity/my_project
	ProjectId string `json:"project_id"`
}

TableQueryStatsReq defines model for TableQueryStatsReq.

type TableQueryStatsRes

type TableQueryStatsRes struct {
	Count int `json:"count"`
}

TableQueryStatsRes defines model for TableQueryStatsRes.

type TableQueryStatsTableQueryStatsPostJSONRequestBody

type TableQueryStatsTableQueryStatsPostJSONRequestBody = TableQueryStatsReq

TableQueryStatsTableQueryStatsPostJSONRequestBody defines body for TableQueryStatsTableQueryStatsPost for application/json ContentType.

type TableQueryStatsTableQueryStatsPostResponse

type TableQueryStatsTableQueryStatsPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TableQueryStatsRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseTableQueryStatsTableQueryStatsPostResponse

func ParseTableQueryStatsTableQueryStatsPostResponse(rsp *http.Response) (*TableQueryStatsTableQueryStatsPostResponse, error)

ParseTableQueryStatsTableQueryStatsPostResponse parses an HTTP response from a TableQueryStatsTableQueryStatsPostWithResponse call

func (TableQueryStatsTableQueryStatsPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TableQueryStatsTableQueryStatsPostResponse) GetBody

GetBody returns the raw response body bytes

func (TableQueryStatsTableQueryStatsPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (TableQueryStatsTableQueryStatsPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (TableQueryStatsTableQueryStatsPostResponse) Status

Status returns HTTPResponse.Status

func (TableQueryStatsTableQueryStatsPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type TableQueryTableQueryPostJSONRequestBody

type TableQueryTableQueryPostJSONRequestBody = TableQueryReq

TableQueryTableQueryPostJSONRequestBody defines body for TableQueryTableQueryPost for application/json ContentType.

type TableQueryTableQueryPostResponse

type TableQueryTableQueryPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TableQueryRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseTableQueryTableQueryPostResponse

func ParseTableQueryTableQueryPostResponse(rsp *http.Response) (*TableQueryTableQueryPostResponse, error)

ParseTableQueryTableQueryPostResponse parses an HTTP response from a TableQueryTableQueryPostWithResponse call

func (TableQueryTableQueryPostResponse) ContentType

func (r TableQueryTableQueryPostResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TableQueryTableQueryPostResponse) GetBody

func (r TableQueryTableQueryPostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (TableQueryTableQueryPostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (TableQueryTableQueryPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (TableQueryTableQueryPostResponse) Status

Status returns HTTPResponse.Status

func (TableQueryTableQueryPostResponse) StatusCode

func (r TableQueryTableQueryPostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TableRowFilter

type TableRowFilter struct {
	// RowDigests List of row digests to filter by
	//
	// Examples: ["aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims","aonareimsvtl13apimtalpa4435rpmgnaemrpgmarltarstaorsnte134avrims"]
	RowDigests *[]string `json:"row_digests,omitempty"`
}

TableRowFilter defines model for TableRowFilter.

type TableRowSchema

type TableRowSchema struct {
	Digest        string      `json:"digest"`
	OriginalIndex *int        `json:"original_index,omitempty"`
	Val           interface{} `json:"val"`
}

TableRowSchema defines model for TableRowSchema.

type TableSchemaForInsert

type TableSchemaForInsert struct {
	// ExpectedDigest Client-computed table digest for server-side validation.
	ExpectedDigest *string                  `json:"expected_digest,omitempty"`
	ProjectId      string                   `json:"project_id"`
	Rows           []map[string]interface{} `json:"rows"`
}

TableSchemaForInsert defines model for TableSchemaForInsert.

type TableStatsRow

type TableStatsRow struct {
	Count            int    `json:"count"`
	Digest           string `json:"digest"`
	StorageSizeBytes *int   `json:"storage_size_bytes,omitempty"`
}

TableStatsRow defines model for TableStatsRow.

type TableUpdateReq

type TableUpdateReq struct {
	BaseDigest string                        `json:"base_digest"`
	ProjectId  string                        `json:"project_id"`
	Updates    []TableUpdateReq_Updates_Item `json:"updates"`
}

TableUpdateReq defines model for TableUpdateReq.

type TableUpdateReq_Updates_Item

type TableUpdateReq_Updates_Item struct {
	// contains filtered or unexported fields
}

TableUpdateReq_Updates_Item defines model for TableUpdateReq.updates.Item.

func (TableUpdateReq_Updates_Item) AsTableAppendSpec

func (t TableUpdateReq_Updates_Item) AsTableAppendSpec() (TableAppendSpec, error)

AsTableAppendSpec returns the union data inside the TableUpdateReq_Updates_Item as a TableAppendSpec

func (TableUpdateReq_Updates_Item) AsTableInsertSpec

func (t TableUpdateReq_Updates_Item) AsTableInsertSpec() (TableInsertSpec, error)

AsTableInsertSpec returns the union data inside the TableUpdateReq_Updates_Item as a TableInsertSpec

func (TableUpdateReq_Updates_Item) AsTablePopSpec

func (t TableUpdateReq_Updates_Item) AsTablePopSpec() (TablePopSpec, error)

AsTablePopSpec returns the union data inside the TableUpdateReq_Updates_Item as a TablePopSpec

func (*TableUpdateReq_Updates_Item) FromTableAppendSpec

func (t *TableUpdateReq_Updates_Item) FromTableAppendSpec(v TableAppendSpec) error

FromTableAppendSpec overwrites any union data inside the TableUpdateReq_Updates_Item as the provided TableAppendSpec

func (*TableUpdateReq_Updates_Item) FromTableInsertSpec

func (t *TableUpdateReq_Updates_Item) FromTableInsertSpec(v TableInsertSpec) error

FromTableInsertSpec overwrites any union data inside the TableUpdateReq_Updates_Item as the provided TableInsertSpec

func (*TableUpdateReq_Updates_Item) FromTablePopSpec

func (t *TableUpdateReq_Updates_Item) FromTablePopSpec(v TablePopSpec) error

FromTablePopSpec overwrites any union data inside the TableUpdateReq_Updates_Item as the provided TablePopSpec

func (TableUpdateReq_Updates_Item) MarshalJSON

func (t TableUpdateReq_Updates_Item) MarshalJSON() ([]byte, error)

func (*TableUpdateReq_Updates_Item) MergeTableAppendSpec

func (t *TableUpdateReq_Updates_Item) MergeTableAppendSpec(v TableAppendSpec) error

MergeTableAppendSpec performs a merge with any union data inside the TableUpdateReq_Updates_Item, using the provided TableAppendSpec

func (*TableUpdateReq_Updates_Item) MergeTableInsertSpec

func (t *TableUpdateReq_Updates_Item) MergeTableInsertSpec(v TableInsertSpec) error

MergeTableInsertSpec performs a merge with any union data inside the TableUpdateReq_Updates_Item, using the provided TableInsertSpec

func (*TableUpdateReq_Updates_Item) MergeTablePopSpec

func (t *TableUpdateReq_Updates_Item) MergeTablePopSpec(v TablePopSpec) error

MergeTablePopSpec performs a merge with any union data inside the TableUpdateReq_Updates_Item, using the provided TablePopSpec

func (*TableUpdateReq_Updates_Item) UnmarshalJSON

func (t *TableUpdateReq_Updates_Item) UnmarshalJSON(b []byte) error

type TableUpdateRes

type TableUpdateRes struct {
	Digest string `json:"digest"`

	// UpdatedRowDigests The digests of the rows that were updated
	UpdatedRowDigests *[]string `json:"updated_row_digests,omitempty"`
}

TableUpdateRes defines model for TableUpdateRes.

type TableUpdateTableUpdatePostJSONRequestBody

type TableUpdateTableUpdatePostJSONRequestBody = TableUpdateReq

TableUpdateTableUpdatePostJSONRequestBody defines body for TableUpdateTableUpdatePost for application/json ContentType.

type TableUpdateTableUpdatePostResponse

type TableUpdateTableUpdatePostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TableUpdateRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseTableUpdateTableUpdatePostResponse

func ParseTableUpdateTableUpdatePostResponse(rsp *http.Response) (*TableUpdateTableUpdatePostResponse, error)

ParseTableUpdateTableUpdatePostResponse parses an HTTP response from a TableUpdateTableUpdatePostWithResponse call

func (TableUpdateTableUpdatePostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TableUpdateTableUpdatePostResponse) GetBody

GetBody returns the raw response body bytes

func (TableUpdateTableUpdatePostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (TableUpdateTableUpdatePostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (TableUpdateTableUpdatePostResponse) Status

Status returns HTTPResponse.Status

func (TableUpdateTableUpdatePostResponse) StatusCode

func (r TableUpdateTableUpdatePostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TagsListRes added in v0.2.0

type TagsListRes struct {
	Tags []string `json:"tags"`
}

TagsListRes defines model for TagsListRes.

type TagsListTagsGetParams added in v0.2.0

type TagsListTagsGetParams struct {
	ProjectId string `form:"project_id" json:"project_id"`
}

TagsListTagsGetParams defines parameters for TagsListTagsGet.

type TagsListTagsGetResponse added in v0.2.0

type TagsListTagsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TagsListRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseTagsListTagsGetResponse added in v0.2.0

func ParseTagsListTagsGetResponse(rsp *http.Response) (*TagsListTagsGetResponse, error)

ParseTagsListTagsGetResponse parses an HTTP response from a TagsListTagsGetWithResponse call

func (TagsListTagsGetResponse) ContentType added in v0.2.0

func (r TagsListTagsGetResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TagsListTagsGetResponse) GetBody added in v0.2.0

func (r TagsListTagsGetResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (TagsListTagsGetResponse) GetJSON200 added in v0.2.0

func (r TagsListTagsGetResponse) GetJSON200() *TagsListRes

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (TagsListTagsGetResponse) GetJSON422 added in v0.2.0

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (TagsListTagsGetResponse) Status added in v0.2.0

func (r TagsListTagsGetResponse) Status() string

Status returns HTTPResponse.Status

func (TagsListTagsGetResponse) StatusCode added in v0.2.0

func (r TagsListTagsGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ThreadSchema added in v0.2.0

type ThreadSchema struct {
	// FirstTurnId Turn ID of the first turn in this thread (earliest start_time)
	FirstTurnId *string `json:"first_turn_id"`

	// LastTurnId Turn ID of the latest turn in this thread (latest end_time)
	LastTurnId *string `json:"last_turn_id"`

	// LastUpdated Latest end time of turn calls in this thread
	LastUpdated time.Time `json:"last_updated"`

	// P50TurnDurationMs 50th percentile (median) of turn durations in milliseconds within this thread
	P50TurnDurationMs *float64 `json:"p50_turn_duration_ms"`

	// P99TurnDurationMs 99th percentile of turn durations in milliseconds within this thread
	P99TurnDurationMs *float64 `json:"p99_turn_duration_ms"`

	// StartTime Earliest start time of turn calls in this thread
	StartTime time.Time `json:"start_time"`
	ThreadId  string    `json:"thread_id"`

	// TurnCount Number of turn calls in this thread
	TurnCount int `json:"turn_count"`
}

ThreadSchema defines model for ThreadSchema.

type ThreadsQueryFilter

type ThreadsQueryFilter struct {
	// AfterDatetime Only include threads with start_time after this timestamp
	//
	// Examples: 2024-01-01T00:00:00Z
	AfterDatetime *time.Time `json:"after_datetime,omitempty"`

	// BeforeDatetime Only include threads with last_updated before this timestamp
	//
	// Examples: 2024-12-31T23:59:59Z
	BeforeDatetime *time.Time `json:"before_datetime,omitempty"`

	// ThreadIds Only include threads with thread_ids in this list
	//
	// Examples: ["thread_1","thread_2","my_thread_id"]
	ThreadIds *[]string `json:"thread_ids,omitempty"`
}

ThreadsQueryFilter defines model for ThreadsQueryFilter.

type ThreadsQueryReq

type ThreadsQueryReq struct {
	// Filter Filter criteria for the threads query
	Filter *ThreadsQueryFilter `json:"filter,omitempty"`

	// Limit Maximum number of threads to return
	Limit *int `json:"limit,omitempty"`

	// Offset Number of threads to skip
	Offset *int `json:"offset,omitempty"`

	// ProjectId The ID of the project
	//
	// Examples: my_entity/my_project
	ProjectId string `json:"project_id"`

	// SortBy Sorting criteria for the threads. Supported fields: 'thread_id', 'turn_count', 'start_time', 'last_updated', 'p50_turn_duration_ms', 'p99_turn_duration_ms'.
	//
	// Examples: [{"direction":"desc","field":"last_updated"}]
	SortBy *[]SortBy `json:"sort_by,omitempty"`
}

ThreadsQueryReq Query threads with aggregated statistics based on turn calls only.

Turn calls are the immediate children of thread contexts (where call.id == turn_id). This provides meaningful conversation-level statistics rather than including all nested implementation details.

type ThreadsQueryStreamThreadsStreamQueryPostJSONRequestBody

type ThreadsQueryStreamThreadsStreamQueryPostJSONRequestBody = ThreadsQueryReq

ThreadsQueryStreamThreadsStreamQueryPostJSONRequestBody defines body for ThreadsQueryStreamThreadsStreamQueryPost for application/json ContentType.

type ThreadsQueryStreamThreadsStreamQueryPostResponse

type ThreadsQueryStreamThreadsStreamQueryPostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseThreadsQueryStreamThreadsStreamQueryPostResponse

func ParseThreadsQueryStreamThreadsStreamQueryPostResponse(rsp *http.Response) (*ThreadsQueryStreamThreadsStreamQueryPostResponse, error)

ParseThreadsQueryStreamThreadsStreamQueryPostResponse parses an HTTP response from a ThreadsQueryStreamThreadsStreamQueryPostWithResponse call

func (ThreadsQueryStreamThreadsStreamQueryPostResponse) ContentType

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (ThreadsQueryStreamThreadsStreamQueryPostResponse) GetBody

GetBody returns the raw response body bytes

func (ThreadsQueryStreamThreadsStreamQueryPostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (ThreadsQueryStreamThreadsStreamQueryPostResponse) Status

Status returns HTTPResponse.Status

func (ThreadsQueryStreamThreadsStreamQueryPostResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type TraceUsageReq

type TraceUsageReq struct {
	// Filter Filter to select calls. Typically use trace_ids to get all calls in a trace.
	Filter *CallsFilter `json:"filter,omitempty"`

	// IncludeCosts If true, include cost calculations in the usage.
	IncludeCosts *bool `json:"include_costs,omitempty"`

	// Limit Maximum number of calls to process. Acts as a safety limit to prevent unbounded memory usage.
	Limit     *int   `json:"limit,omitempty"`
	ProjectId string `json:"project_id"`

	// Query Additional query conditions for filtering calls.
	Query *Query `json:"query,omitempty"`
}

TraceUsageReq Request to compute per-call usage for a trace, with descendant rollup.

This endpoint returns usage metrics for each call in the trace, where each call's metrics include the sum of its own usage plus all descendants' usage. Use this for trace view where you want to see rolled-up metrics per call.

Note: All matching calls are loaded into memory for aggregation. For very large result sets (>10k calls), consider using more specific filters or pagination at the application layer.

type TraceUsageRes

type TraceUsageRes struct {
	CallUsage         map[string]map[string]LLMAggregatedUsage `json:"call_usage"`
	UnfinishedCallIds []string                                 `json:"unfinished_call_ids"`
}

TraceUsageRes Response with per-call usage metrics (each includes descendant contributions).

type TraceUsageTraceUsagePostJSONRequestBody

type TraceUsageTraceUsagePostJSONRequestBody = TraceUsageReq

TraceUsageTraceUsagePostJSONRequestBody defines body for TraceUsageTraceUsagePost for application/json ContentType.

type TraceUsageTraceUsagePostResponse

type TraceUsageTraceUsagePostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *TraceUsageRes
	// JSON422 the response for an HTTP 422 `application/json` response
	JSON422 *HTTPValidationError
}

func ParseTraceUsageTraceUsagePostResponse

func ParseTraceUsageTraceUsagePostResponse(rsp *http.Response) (*TraceUsageTraceUsagePostResponse, error)

ParseTraceUsageTraceUsagePostResponse parses an HTTP response from a TraceUsageTraceUsagePostWithResponse call

func (TraceUsageTraceUsagePostResponse) ContentType

func (r TraceUsageTraceUsagePostResponse) ContentType() string

ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers

func (TraceUsageTraceUsagePostResponse) GetBody

func (r TraceUsageTraceUsagePostResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (TraceUsageTraceUsagePostResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (TraceUsageTraceUsagePostResponse) GetJSON422

GetJSON422 returns the response for an HTTP 422 `application/json` response

func (TraceUsageTraceUsagePostResponse) Status

Status returns HTTPResponse.Status

func (TraceUsageTraceUsagePostResponse) StatusCode

func (r TraceUsageTraceUsagePostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UsageMetricSpec

type UsageMetricSpec struct {
	// Aggregations Basic aggregation functions to apply
	Aggregations *[]AggregationType `json:"aggregations,omitempty"`

	// Metric Metric to aggregate. Token metrics are normalized across providers.
	Metric UsageMetricSpecMetric `json:"metric"`

	// Percentiles Percentile values to compute (0-100). E.g., [50, 95, 99] for p50, p95, p99
	Percentiles *[]float64 `json:"percentiles,omitempty"`
}

UsageMetricSpec Specification for a usage metric to aggregate (grouped by model).

type UsageMetricSpecMetric

type UsageMetricSpecMetric string

UsageMetricSpecMetric Metric to aggregate. Token metrics are normalized across providers.

const (
	UsageMetricSpecMetricCacheCreationInputTokens UsageMetricSpecMetric = "cache_creation_input_tokens"
	UsageMetricSpecMetricCacheReadInputTokens     UsageMetricSpecMetric = "cache_read_input_tokens"
	UsageMetricSpecMetricInputCost                UsageMetricSpecMetric = "input_cost"
	UsageMetricSpecMetricInputTokens              UsageMetricSpecMetric = "input_tokens"
	UsageMetricSpecMetricOutputCost               UsageMetricSpecMetric = "output_cost"
	UsageMetricSpecMetricOutputTokens             UsageMetricSpecMetric = "output_tokens"
	UsageMetricSpecMetricTotalCost                UsageMetricSpecMetric = "total_cost"
	UsageMetricSpecMetricTotalTokens              UsageMetricSpecMetric = "total_tokens"
)

Defines values for UsageMetricSpecMetric.

func (UsageMetricSpecMetric) Valid

func (e UsageMetricSpecMetric) Valid() bool

Valid indicates whether the value is a known member of the UsageMetricSpecMetric enum.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL