mem0

package module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 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-mem0

Go Reference CI version license imported by

Unofficial Go client for the Mem0 Platform API, generated with oapi-codegen from the OpenAPI document Mem0 publishes. I am not affiliated with Mem0.

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

Install

go get github.com/psyb0t/go-mem0

Usage

Every endpoint in the spec has a typed method on ClientWithResponses. Responses decode into JSON200 and the other status fields.

package main

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

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

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

			return nil
		},
	)

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

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

	_ = res.JSON200
}

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

The full API, with the spec's descriptions as doc comments, is in the Go reference and in go doc github.com/psyb0t/go-mem0.

Method names come from the spec's operation IDs. The client includes memory creation, retrieval, search, updates and deletion, entity management, exports, organizations, projects, webhooks, profiles and Dream operations. Deprecated endpoints are generated too.

Auth

Mem0 uses the spec's ApiKeyAuth scheme, an API key in the Authorization header with a Token prefix. The request editor above reads the key from MEM0_API_KEY and sets Authorization: Token <key>. Never log this header or put a key in source code.

The Platform API base URL is https://api.mem0.ai. Use WithHTTPClient to supply an HTTP client with your own timeout.

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://docs.mem0.ai/openapi.json to api/openapi.json.
  • oapi-codegen runs with config.yaml over the complete OpenAPI 3.0.1 document. No spec patch is needed.
  • The config maps unformatted number fields to float64. Fields explicitly formatted as float keep the generator's float32 type.

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

Agent integrations

The skill teaches a coding agent how to use go-mem0 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-mem0@psyb0t
Codex
codex plugin marketplace add psyb0t/agents
codex plugin add go-mem0@psyb0t

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

OpenClaw

The release workflow publishes the skill to ClawHub on tag pushes:

openclaw skills install @psyb0t/go-mem0

Development

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

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

License

MIT for the handwritten repository files. Mem0's source specification declares Apache 2.0; generated code derives from that specification. The downloaded specification is not redistributed here.

Documentation

Overview

Package mem0 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 mem0 is a Go client for the Mem0 Platform API, generated with oapi-codegen from the OpenAPI document Mem0 publishes.

Example
package main

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

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

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

			return nil
		},
	)

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

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

	_ = res.JSON200
}

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddOrganizationMemberRequest

func NewAddOrganizationMemberRequest(server string, orgId string, body AddOrganizationMemberJSONRequestBody) (*http.Request, error)

NewAddOrganizationMemberRequest calls the generic AddOrganizationMember builder with application/json body

func NewAddOrganizationMemberRequestWithBody

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

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

func NewAddProjectMemberRequest

func NewAddProjectMemberRequest(server string, orgId string, projectId string, body AddProjectMemberJSONRequestBody) (*http.Request, error)

NewAddProjectMemberRequest calls the generic AddProjectMember builder with application/json body

func NewAddProjectMemberRequestWithBody

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

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

func NewAgentsCreateRequest

func NewAgentsCreateRequest(server string, body AgentsCreateJSONRequestBody) (*http.Request, error)

NewAgentsCreateRequest calls the generic AgentsCreate builder with application/json body

func NewAgentsCreateRequestWithBody

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

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

func NewAppsCreateRequest

func NewAppsCreateRequest(server string, body AppsCreateJSONRequestBody) (*http.Request, error)

NewAppsCreateRequest calls the generic AppsCreate builder with application/json body

func NewAppsCreateRequestWithBody

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

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

func NewCreateOrganizationRequest

func NewCreateOrganizationRequest(server string, body CreateOrganizationJSONRequestBody) (*http.Request, error)

NewCreateOrganizationRequest calls the generic CreateOrganization builder with application/json body

func NewCreateOrganizationRequestWithBody

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

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

func NewCreateProjectRequest

func NewCreateProjectRequest(server string, orgId string, body CreateProjectJSONRequestBody) (*http.Request, error)

NewCreateProjectRequest calls the generic CreateProject builder with application/json body

func NewCreateProjectRequestWithBody

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

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

func NewCreateWebhookRequest

func NewCreateWebhookRequest(server string, projectId string, body CreateWebhookJSONRequestBody) (*http.Request, error)

NewCreateWebhookRequest calls the generic CreateWebhook builder with application/json body

func NewCreateWebhookRequestWithBody

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

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

func NewDeleteOrganizationRequest

func NewDeleteOrganizationRequest(server string, orgId string) (*http.Request, error)

NewDeleteOrganizationRequest constructs an http.Request for the DeleteOrganization method

func NewDeleteProjectMemberRequest

func NewDeleteProjectMemberRequest(server string, orgId string, projectId string, params *DeleteProjectMemberParams) (*http.Request, error)

NewDeleteProjectMemberRequest constructs an http.Request for the DeleteProjectMember method

func NewDeleteProjectRequest

func NewDeleteProjectRequest(server string, orgId string, projectId string) (*http.Request, error)

NewDeleteProjectRequest constructs an http.Request for the DeleteProject method

func NewDeleteWebhookRequest

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

NewDeleteWebhookRequest constructs an http.Request for the DeleteWebhook method

func NewDreamPreviewRequest

func NewDreamPreviewRequest(server string, orgId string, projectId string) (*http.Request, error)

NewDreamPreviewRequest constructs an http.Request for the DreamPreview method

func NewEntitiesDeleteRequest

func NewEntitiesDeleteRequest(server string, entityType EntitiesDeleteParamsEntityType, entityId string) (*http.Request, error)

NewEntitiesDeleteRequest constructs an http.Request for the EntitiesDelete method

func NewEntitiesDeleteV1Request

func NewEntitiesDeleteV1Request(server string, entityType EntitiesDeleteV1ParamsEntityType, entityId int) (*http.Request, error)

NewEntitiesDeleteV1Request constructs an http.Request for the EntitiesDeleteV1 method

func NewEntitiesFiltersListRequest

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

NewEntitiesFiltersListRequest constructs an http.Request for the EntitiesFiltersList method

func NewEntitiesListRequest

func NewEntitiesListRequest(server string, params *EntitiesListParams) (*http.Request, error)

NewEntitiesListRequest constructs an http.Request for the EntitiesList method

func NewEntitiesReadRequest

func NewEntitiesReadRequest(server string, entityType EntitiesReadParamsEntityType, entityId string) (*http.Request, error)

NewEntitiesReadRequest constructs an http.Request for the EntitiesRead method

func NewEventReadRequest

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

NewEventReadRequest constructs an http.Request for the EventRead method

func NewEventsListRequest

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

NewEventsListRequest constructs an http.Request for the EventsList method

func NewExportsCreateRequest

func NewExportsCreateRequest(server string, body ExportsCreateJSONRequestBody) (*http.Request, error)

NewExportsCreateRequest calls the generic ExportsCreate builder with application/json body

func NewExportsCreateRequestWithBody

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

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

func NewExportsListRequest

func NewExportsListRequest(server string, body ExportsListJSONRequestBody) (*http.Request, error)

NewExportsListRequest calls the generic ExportsList builder with application/json body

func NewExportsListRequestWithBody

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

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

func NewGetDreamActivityRequest

func NewGetDreamActivityRequest(server string, orgId string, projectId string, params *GetDreamActivityParams) (*http.Request, error)

NewGetDreamActivityRequest constructs an http.Request for the GetDreamActivity method

func NewGetDreamConfigRequest

func NewGetDreamConfigRequest(server string, orgId string, projectId string) (*http.Request, error)

NewGetDreamConfigRequest constructs an http.Request for the GetDreamConfig method

func NewGetDreamMemorySourcesRequest

func NewGetDreamMemorySourcesRequest(server string, orgId string, projectId string, memoryId string) (*http.Request, error)

NewGetDreamMemorySourcesRequest constructs an http.Request for the GetDreamMemorySources method

func NewGetDreamRunMemoriesRequest

func NewGetDreamRunMemoriesRequest(server string, orgId string, projectId string, runId string, params *GetDreamRunMemoriesParams) (*http.Request, error)

NewGetDreamRunMemoriesRequest constructs an http.Request for the GetDreamRunMemories method

func NewGetDreamRunsRequest

func NewGetDreamRunsRequest(server string, orgId string, projectId string, params *GetDreamRunsParams) (*http.Request, error)

NewGetDreamRunsRequest constructs an http.Request for the GetDreamRuns method

func NewGetDreamStatsRequest

func NewGetDreamStatsRequest(server string, orgId string, projectId string) (*http.Request, error)

NewGetDreamStatsRequest constructs an http.Request for the GetDreamStats method

func NewGetOrganizationMembersRequest

func NewGetOrganizationMembersRequest(server string, orgId string) (*http.Request, error)

NewGetOrganizationMembersRequest constructs an http.Request for the GetOrganizationMembers method

func NewGetOrganizationRequest

func NewGetOrganizationRequest(server string, orgId openapi_types.UUID) (*http.Request, error)

NewGetOrganizationRequest constructs an http.Request for the GetOrganization method

func NewGetProjectMembersRequest

func NewGetProjectMembersRequest(server string, orgId string, projectId string) (*http.Request, error)

NewGetProjectMembersRequest constructs an http.Request for the GetProjectMembers method

func NewGetProjectRequest

func NewGetProjectRequest(server string, orgId string, projectId string) (*http.Request, error)

NewGetProjectRequest constructs an http.Request for the GetProject method

func NewGetProjectWebhooksRequest

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

NewGetProjectWebhooksRequest constructs an http.Request for the GetProjectWebhooks method

func NewGetProjectsRequest

func NewGetProjectsRequest(server string, orgId string) (*http.Request, error)

NewGetProjectsRequest constructs an http.Request for the GetProjects method

func NewMemoriesAddV3Request

func NewMemoriesAddV3Request(server string, body MemoriesAddV3JSONRequestBody) (*http.Request, error)

NewMemoriesAddV3Request calls the generic MemoriesAddV3 builder with application/json body

func NewMemoriesAddV3RequestWithBody

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

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

func NewMemoriesBatchDeleteRequest

func NewMemoriesBatchDeleteRequest(server string, body MemoriesBatchDeleteJSONRequestBody) (*http.Request, error)

NewMemoriesBatchDeleteRequest calls the generic MemoriesBatchDelete builder with application/json body

func NewMemoriesBatchDeleteRequestWithBody

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

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

func NewMemoriesBatchUpdateRequest

func NewMemoriesBatchUpdateRequest(server string, body MemoriesBatchUpdateJSONRequestBody) (*http.Request, error)

NewMemoriesBatchUpdateRequest calls the generic MemoriesBatchUpdate builder with application/json body

func NewMemoriesBatchUpdateRequestWithBody

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

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

func NewMemoriesCreateRequest

func NewMemoriesCreateRequest(server string, body MemoriesCreateJSONRequestBody) (*http.Request, error)

NewMemoriesCreateRequest calls the generic MemoriesCreate builder with application/json body

func NewMemoriesCreateRequestWithBody

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

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

func NewMemoriesDeleteAllRequest

func NewMemoriesDeleteAllRequest(server string, params *MemoriesDeleteAllParams) (*http.Request, error)

NewMemoriesDeleteAllRequest constructs an http.Request for the MemoriesDeleteAll method

func NewMemoriesDeleteRequest

func NewMemoriesDeleteRequest(server string, memoryId openapi_types.UUID, params *MemoriesDeleteParams) (*http.Request, error)

NewMemoriesDeleteRequest constructs an http.Request for the MemoriesDelete method

func NewMemoriesEntityReadRequest

func NewMemoriesEntityReadRequest(server string, entityType MemoriesEntityReadParamsEntityType, entityId string, params *MemoriesEntityReadParams) (*http.Request, error)

NewMemoriesEntityReadRequest constructs an http.Request for the MemoriesEntityRead method

func NewMemoriesEventsListRequest

func NewMemoriesEventsListRequest(server string, params *MemoriesEventsListParams) (*http.Request, error)

NewMemoriesEventsListRequest constructs an http.Request for the MemoriesEventsList method

func NewMemoriesHistoryListRequest

func NewMemoriesHistoryListRequest(server string, memoryId openapi_types.UUID) (*http.Request, error)

NewMemoriesHistoryListRequest constructs an http.Request for the MemoriesHistoryList method

func NewMemoriesListRequest

func NewMemoriesListRequest(server string, params *MemoriesListParams) (*http.Request, error)

NewMemoriesListRequest constructs an http.Request for the MemoriesList method

func NewMemoriesListV2Request

func NewMemoriesListV2Request(server string, body MemoriesListV2JSONRequestBody) (*http.Request, error)

NewMemoriesListV2Request calls the generic MemoriesListV2 builder with application/json body

func NewMemoriesListV2RequestWithBody

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

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

func NewMemoriesListV3Request

func NewMemoriesListV3Request(server string, params *MemoriesListV3Params, body MemoriesListV3JSONRequestBody) (*http.Request, error)

NewMemoriesListV3Request calls the generic MemoriesListV3 builder with application/json body

func NewMemoriesListV3RequestWithBody

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

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

func NewMemoriesReadRequest

func NewMemoriesReadRequest(server string, memoryId openapi_types.UUID) (*http.Request, error)

NewMemoriesReadRequest constructs an http.Request for the MemoriesRead method

func NewMemoriesSearchCreateRequest

func NewMemoriesSearchCreateRequest(server string, body MemoriesSearchCreateJSONRequestBody) (*http.Request, error)

NewMemoriesSearchCreateRequest calls the generic MemoriesSearchCreate builder with application/json body

func NewMemoriesSearchCreateRequestWithBody

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

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

func NewMemoriesSearchV2Request

func NewMemoriesSearchV2Request(server string, body MemoriesSearchV2JSONRequestBody) (*http.Request, error)

NewMemoriesSearchV2Request calls the generic MemoriesSearchV2 builder with application/json body

func NewMemoriesSearchV2RequestWithBody

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

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

func NewMemoriesSearchV3Request

func NewMemoriesSearchV3Request(server string, body MemoriesSearchV3JSONRequestBody) (*http.Request, error)

NewMemoriesSearchV3Request calls the generic MemoriesSearchV3 builder with application/json body

func NewMemoriesSearchV3RequestWithBody

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

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

func NewMemoriesUpdateRequest

func NewMemoriesUpdateRequest(server string, memoryId openapi_types.UUID, body MemoriesUpdateJSONRequestBody) (*http.Request, error)

NewMemoriesUpdateRequest calls the generic MemoriesUpdate builder with application/json body

func NewMemoriesUpdateRequestWithBody

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

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

func NewOrganizationsReadRequest

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

NewOrganizationsReadRequest constructs an http.Request for the OrganizationsRead method

func NewPingReadRequest

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

NewPingReadRequest constructs an http.Request for the PingRead method

func NewProfilesCreateJobRequest

func NewProfilesCreateJobRequest(server string, params *ProfilesCreateJobParams, body ProfilesCreateJobJSONRequestBody) (*http.Request, error)

NewProfilesCreateJobRequest calls the generic ProfilesCreateJob builder with application/json body

func NewProfilesCreateJobRequestWithBody

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

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

func NewProfilesGetJobRequest

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

NewProfilesGetJobRequest constructs an http.Request for the ProfilesGetJob method

func NewProfilesReadRequest

func NewProfilesReadRequest(server string, entityType ProfilesReadParamsEntityType, entityId string) (*http.Request, error)

NewProfilesReadRequest constructs an http.Request for the ProfilesRead method

func NewProfilesSettingsReadRequest

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

NewProfilesSettingsReadRequest constructs an http.Request for the ProfilesSettingsRead method

func NewProfilesSettingsUpdateRequest

func NewProfilesSettingsUpdateRequest(server string, body ProfilesSettingsUpdateJSONRequestBody) (*http.Request, error)

NewProfilesSettingsUpdateRequest calls the generic ProfilesSettingsUpdate builder with application/json body

func NewProfilesSettingsUpdateRequestWithBody

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

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

func NewRemoveOrganizationMemberRequest

func NewRemoveOrganizationMemberRequest(server string, orgId string, body RemoveOrganizationMemberJSONRequestBody) (*http.Request, error)

NewRemoveOrganizationMemberRequest calls the generic RemoveOrganizationMember builder with application/json body

func NewRemoveOrganizationMemberRequestWithBody

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

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

func NewRunsCreateRequest

func NewRunsCreateRequest(server string, body RunsCreateJSONRequestBody) (*http.Request, error)

NewRunsCreateRequest calls the generic RunsCreate builder with application/json body

func NewRunsCreateRequestWithBody

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

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

func NewStatsListRequest

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

NewStatsListRequest constructs an http.Request for the StatsList method

func NewSubmitFeedbackRequest

func NewSubmitFeedbackRequest(server string, body SubmitFeedbackJSONRequestBody) (*http.Request, error)

NewSubmitFeedbackRequest calls the generic SubmitFeedback builder with application/json body

func NewSubmitFeedbackRequestWithBody

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

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

func NewSummaryCreateRequest

func NewSummaryCreateRequest(server string, body SummaryCreateJSONRequestBody) (*http.Request, error)

NewSummaryCreateRequest calls the generic SummaryCreate builder with application/json body

func NewSummaryCreateRequestWithBody

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

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

func NewUpdateDreamConfigRequest

func NewUpdateDreamConfigRequest(server string, orgId string, projectId string, body UpdateDreamConfigJSONRequestBody) (*http.Request, error)

NewUpdateDreamConfigRequest calls the generic UpdateDreamConfig builder with application/json body

func NewUpdateDreamConfigRequestWithBody

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

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

func NewUpdateOrganizationMemberRoleRequest

func NewUpdateOrganizationMemberRoleRequest(server string, orgId string, body UpdateOrganizationMemberRoleJSONRequestBody) (*http.Request, error)

NewUpdateOrganizationMemberRoleRequest calls the generic UpdateOrganizationMemberRole builder with application/json body

func NewUpdateOrganizationMemberRoleRequestWithBody

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

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

func NewUpdateProjectMemberRequest

func NewUpdateProjectMemberRequest(server string, orgId string, projectId string, body UpdateProjectMemberJSONRequestBody) (*http.Request, error)

NewUpdateProjectMemberRequest calls the generic UpdateProjectMember builder with application/json body

func NewUpdateProjectMemberRequestWithBody

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

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

func NewUpdateProjectRequest

func NewUpdateProjectRequest(server string, orgId string, projectId string, body UpdateProjectJSONRequestBody) (*http.Request, error)

NewUpdateProjectRequest calls the generic UpdateProject builder with application/json body

func NewUpdateProjectRequestWithBody

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

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

func NewUpdateWebhookRequest

func NewUpdateWebhookRequest(server string, webhookId string, body UpdateWebhookJSONRequestBody) (*http.Request, error)

NewUpdateWebhookRequest calls the generic UpdateWebhook builder with application/json body

func NewUpdateWebhookRequestWithBody

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

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

func NewUsersCreateRequest

func NewUsersCreateRequest(server string, body UsersCreateJSONRequestBody) (*http.Request, error)

NewUsersCreateRequest calls the generic UsersCreate builder with application/json body

func NewUsersCreateRequestWithBody

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

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

Types

type AddOrganizationMemberJSONBody

type AddOrganizationMemberJSONBody struct {
	// Email Email of the member to be added.
	Email string `json:"email"`

	// Role Role of the member in the organization.
	Role string `json:"role"`
}

AddOrganizationMemberJSONBody defines parameters for AddOrganizationMember.

type AddOrganizationMemberJSONRequestBody

type AddOrganizationMemberJSONRequestBody AddOrganizationMemberJSONBody

AddOrganizationMemberJSONRequestBody defines body for AddOrganizationMember for application/json ContentType.

type AddOrganizationMemberResponse

type AddOrganizationMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *struct {
		// Message Example: User added to the organization.
		Message *string `json:"message,omitempty"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		// Errors Errors found in the payload.
		Errors *map[string][]string `json:"errors,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Message Example: Organization not found
		Message *string `json:"message,omitempty"`
	}
}

func ParseAddOrganizationMemberResponse

func ParseAddOrganizationMemberResponse(rsp *http.Response) (*AddOrganizationMemberResponse, error)

ParseAddOrganizationMemberResponse parses an HTTP response from a AddOrganizationMemberWithResponse call

func (AddOrganizationMemberResponse) ContentType

func (r AddOrganizationMemberResponse) ContentType() string

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

func (AddOrganizationMemberResponse) GetBody

func (r AddOrganizationMemberResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AddOrganizationMemberResponse) GetJSON201

func (r AddOrganizationMemberResponse) GetJSON201() *struct {
	// Message Example: User added to the organization.
	Message *string `json:"message,omitempty"`
}

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (AddOrganizationMemberResponse) GetJSON400

func (r AddOrganizationMemberResponse) GetJSON400() *struct {
	// Errors Errors found in the payload.
	Errors *map[string][]string `json:"errors,omitempty"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (AddOrganizationMemberResponse) GetJSON404

func (r AddOrganizationMemberResponse) GetJSON404() *struct {
	// Message Example: Organization not found
	Message *string `json:"message,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AddOrganizationMemberResponse) Status

Status returns HTTPResponse.Status

func (AddOrganizationMemberResponse) StatusCode

func (r AddOrganizationMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AddProjectMemberJSONBody

type AddProjectMemberJSONBody struct {
	// Email Email of the member to be added.
	Email string `json:"email"`

	// Role Role of the member in the project.
	Role string `json:"role"`
}

AddProjectMemberJSONBody defines parameters for AddProjectMember.

type AddProjectMemberJSONRequestBody

type AddProjectMemberJSONRequestBody AddProjectMemberJSONBody

AddProjectMemberJSONRequestBody defines body for AddProjectMember for application/json ContentType.

type AddProjectMemberResponse

type AddProjectMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Message Example: User added to the project successfully.
		Message *string `json:"message,omitempty"`
	}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *struct {
		// Message Example: Unauthorized to modify project members.
		Message *string `json:"message,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Message Example: Organization or project not found
		Message *string `json:"message,omitempty"`
	}
}

func ParseAddProjectMemberResponse

func ParseAddProjectMemberResponse(rsp *http.Response) (*AddProjectMemberResponse, error)

ParseAddProjectMemberResponse parses an HTTP response from a AddProjectMemberWithResponse call

func (AddProjectMemberResponse) ContentType

func (r AddProjectMemberResponse) ContentType() string

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

func (AddProjectMemberResponse) GetBody

func (r AddProjectMemberResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AddProjectMemberResponse) GetJSON200

func (r AddProjectMemberResponse) GetJSON200() *struct {
	// Message Example: User added to the project successfully.
	Message *string `json:"message,omitempty"`
}

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

func (AddProjectMemberResponse) GetJSON403

func (r AddProjectMemberResponse) GetJSON403() *struct {
	// Message Example: Unauthorized to modify project members.
	Message *string `json:"message,omitempty"`
}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (AddProjectMemberResponse) GetJSON404

func (r AddProjectMemberResponse) GetJSON404() *struct {
	// Message Example: Organization or project not found
	Message *string `json:"message,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (AddProjectMemberResponse) Status

func (r AddProjectMemberResponse) Status() string

Status returns HTTPResponse.Status

func (AddProjectMemberResponse) StatusCode

func (r AddProjectMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AgentResponse

type AgentResponse struct {
	AgentId   *string    `json:"agent_id,omitempty"`
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// GraphEntities Graph entities linked to this record, if any.
	GraphEntities interface{} `json:"graph_entities,omitempty"`

	// Id Internal numeric identifier.
	Id        *int                    `json:"id,omitempty"`
	IsDeleted *bool                   `json:"is_deleted,omitempty"`
	Metadata  *map[string]interface{} `json:"metadata,omitempty"`
	Name      *string                 `json:"name,omitempty"`

	// Project Internal numeric identifier of the project this record belongs to.
	Project   *int       `json:"project,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

AgentResponse Response returned after creating an Agent.

type AgentsCreateJSONRequestBody

type AgentsCreateJSONRequestBody = CreateAgent

AgentsCreateJSONRequestBody defines body for AgentsCreate for application/json ContentType.

type AgentsCreateResponse

type AgentsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *AgentResponse
}

func ParseAgentsCreateResponse

func ParseAgentsCreateResponse(rsp *http.Response) (*AgentsCreateResponse, error)

ParseAgentsCreateResponse parses an HTTP response from a AgentsCreateWithResponse call

func (AgentsCreateResponse) ContentType

func (r AgentsCreateResponse) ContentType() string

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

func (AgentsCreateResponse) GetBody

func (r AgentsCreateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AgentsCreateResponse) GetJSON201

func (r AgentsCreateResponse) GetJSON201() *AgentResponse

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (AgentsCreateResponse) Status

func (r AgentsCreateResponse) Status() string

Status returns HTTPResponse.Status

func (AgentsCreateResponse) StatusCode

func (r AgentsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AppResponse

type AppResponse struct {
	AppId     *string    `json:"app_id,omitempty"`
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// GraphEntities Graph entities linked to this record, if any.
	GraphEntities interface{} `json:"graph_entities,omitempty"`

	// Id Internal numeric identifier.
	Id        *int                    `json:"id,omitempty"`
	IsDeleted *bool                   `json:"is_deleted,omitempty"`
	Metadata  *map[string]interface{} `json:"metadata,omitempty"`
	Name      *string                 `json:"name,omitempty"`

	// Project Internal numeric identifier of the project this record belongs to.
	Project   *int       `json:"project,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

AppResponse Response returned after creating an App.

type AppsCreateJSONRequestBody

type AppsCreateJSONRequestBody = CreateApp

AppsCreateJSONRequestBody defines body for AppsCreate for application/json ContentType.

type AppsCreateResponse

type AppsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *AppResponse
}

func ParseAppsCreateResponse

func ParseAppsCreateResponse(rsp *http.Response) (*AppsCreateResponse, error)

ParseAppsCreateResponse parses an HTTP response from a AppsCreateWithResponse call

func (AppsCreateResponse) ContentType

func (r AppsCreateResponse) ContentType() string

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

func (AppsCreateResponse) GetBody

func (r AppsCreateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (AppsCreateResponse) GetJSON201

func (r AppsCreateResponse) GetJSON201() *AppResponse

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (AppsCreateResponse) Status

func (r AppsCreateResponse) Status() string

Status returns HTTPResponse.Status

func (AppsCreateResponse) StatusCode

func (r AppsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Client

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

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

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

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

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

Creates a new Client, with reasonable defaults

func (*Client) AddOrganizationMember

func (c *Client) AddOrganizationMember(ctx context.Context, orgId string, body AddOrganizationMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AddOrganizationMember Add organization member

Add a new member to a specific organization.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/orgs/organizations/{org_id}/members/ (the `AddOrganizationMember` operationId).

func (*Client) AddOrganizationMemberWithBody

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

AddOrganizationMemberWithBody Add organization member

Add a new member to a specific organization.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/orgs/organizations/{org_id}/members/ (the `AddOrganizationMember` operationId).

func (*Client) AddProjectMember

func (c *Client) AddProjectMember(ctx context.Context, orgId string, projectId string, body AddProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

AddProjectMember Add member to project

Add a new member to a specific project within an organization.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `AddProjectMember` operationId).

func (*Client) AddProjectMemberWithBody

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

AddProjectMemberWithBody Add member to project

Add a new member to a specific project within an organization.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `AddProjectMember` operationId).

func (*Client) AgentsCreate

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

AgentsCreate performs a POST /v1/agents/ (the `AgentsCreate` operationId) request. Takes a body of the `application/json` content type.

Create a new Agent.

func (*Client) AgentsCreateWithBody

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

AgentsCreateWithBody performs a POST /v1/agents/ (the `AgentsCreate` operationId) request, with any type of body and a specified content type.

Create a new Agent.

func (*Client) AppsCreate

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

AppsCreate performs a POST /v1/apps/ (the `AppsCreate` operationId) request. Takes a body of the `application/json` content type.

Create a new App.

func (*Client) AppsCreateWithBody

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

AppsCreateWithBody performs a POST /v1/apps/ (the `AppsCreate` operationId) request, with any type of body and a specified content type.

Create a new App.

func (*Client) CreateOrganization

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

CreateOrganization performs a POST /api/v1/orgs/organizations/ (the `CreateOrganization` operationId) request. Takes a body of the `application/json` content type.

Create a new organization.

func (*Client) CreateOrganizationWithBody

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

CreateOrganizationWithBody performs a POST /api/v1/orgs/organizations/ (the `CreateOrganization` operationId) request, with any type of body and a specified content type.

Create a new organization.

func (*Client) CreateProject

func (c *Client) CreateProject(ctx context.Context, orgId string, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateProject Create project

Create a new project within an organization.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/ (the `CreateProject` operationId).

func (*Client) CreateProjectWithBody

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

CreateProjectWithBody Create project

Create a new project within an organization.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/ (the `CreateProject` operationId).

func (*Client) CreateWebhook

func (c *Client) CreateWebhook(ctx context.Context, projectId string, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

CreateWebhook Create Webhook

Create a new webhook for a specific project.

Takes a body of the `application/json` content type.

Corresponds with POST /api/v1/webhooks/projects/{project_id}/ (the `CreateWebhook` operationId).

func (*Client) CreateWebhookWithBody

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

CreateWebhookWithBody Create Webhook

Create a new webhook for a specific project.

Takes any type of body and a specified content type.

Corresponds with POST /api/v1/webhooks/projects/{project_id}/ (the `CreateWebhook` operationId).

func (*Client) DeleteOrganization

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

DeleteOrganization Delete an organization

Delete an organization by its ID.

Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/ (the `DeleteOrganization` operationId).

func (*Client) DeleteProject

func (c *Client) DeleteProject(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteProject Delete Project

Delete a specific project and its related data.

Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/projects/{project_id}/ (the `DeleteProject` operationId).

func (*Client) DeleteProjectMember

func (c *Client) DeleteProjectMember(ctx context.Context, orgId string, projectId string, params *DeleteProjectMemberParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DeleteProjectMember Delete Project Member

Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `DeleteProjectMember` operationId).

func (*Client) DeleteWebhook

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

DeleteWebhook Delete Webhook

Delete an existing webhook.

Corresponds with DELETE /api/v1/webhooks/{webhook_id}/ (the `DeleteWebhook` operationId).

func (*Client) DreamPreview

func (c *Client) DreamPreview(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DreamPreview Preview Dream scope

A no-write preview of the scope Dream synthesis would analyze for the project (a capped sample plus the count of users with enough memories to benefit). Never runs the LLM and never mutates anything.

Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/preview/ (the `DreamPreview` operationId).

func (*Client) EntitiesDelete

func (c *Client) EntitiesDelete(ctx context.Context, entityType EntitiesDeleteParamsEntityType, entityId string, reqEditors ...RequestEditorFn) (*http.Response, error)

EntitiesDelete performs a DELETE /v2/entities/{entity_type}/{entity_id}/ (the `EntitiesDelete` operationId) request.

func (*Client) EntitiesDeleteV1

func (c *Client) EntitiesDeleteV1(ctx context.Context, entityType EntitiesDeleteV1ParamsEntityType, entityId int, reqEditors ...RequestEditorFn) (*http.Response, error)

EntitiesDeleteV1 performs a DELETE /v1/entities/{entity_type}/{entity_id}/ (the `EntitiesDeleteV1` operationId) request.

Delete an entity by its numeric ID. Deprecated in favor of `DELETE /v2/entities/{entity_type}/{entity_id}/`, which takes the entity's string name instead of this numeric ID. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) EntitiesFiltersList

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

EntitiesFiltersList performs a GET /v1/entities/filters/ (the `EntitiesFiltersList` operationId) request.

func (*Client) EntitiesList

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

EntitiesList performs a GET /v1/entities/ (the `EntitiesList` operationId) request.

func (*Client) EntitiesRead

func (c *Client) EntitiesRead(ctx context.Context, entityType EntitiesReadParamsEntityType, entityId string, reqEditors ...RequestEditorFn) (*http.Response, error)

EntitiesRead performs a GET /v2/entities/{entity_type}/{entity_id}/ (the `EntitiesRead` operationId) request.

func (*Client) EventRead

func (c *Client) EventRead(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

EventRead Retrieve details of a specific event by its ID.

Corresponds with GET /v1/event/{event_id}/ (the `EventRead` operationId).

func (*Client) EventsList

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

EventsList Retrieve all events for current organization and project.

Corresponds with GET /v1/events/ (the `EventsList` operationId).

func (*Client) ExportsCreate

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

ExportsCreate Create an export job with schema

Create a structured export of memories based on a provided schema.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/exports/ (the `ExportsCreate` operationId).

func (*Client) ExportsCreateWithBody

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

ExportsCreateWithBody Create an export job with schema

Create a structured export of memories based on a provided schema.

Takes any type of body and a specified content type.

Corresponds with POST /v1/exports/ (the `ExportsCreate` operationId).

func (*Client) ExportsList

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

ExportsList Export data based on filters

Get the latest memory export.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/exports/get/ (the `ExportsList` operationId).

func (*Client) ExportsListWithBody

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

ExportsListWithBody Export data based on filters

Get the latest memory export.

Takes any type of body and a specified content type.

Corresponds with POST /v1/exports/get/ (the `ExportsList` operationId).

func (*Client) GetDreamActivity

func (c *Client) GetDreamActivity(ctx context.Context, orgId string, projectId string, params *GetDreamActivityParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDreamActivity Get Dream activity

Supersede/merge activity feed (newest first), keyset-paginated. Synthesis output is not included here — see the runs endpoint.

Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/activity/ (the `GetDreamActivity` operationId).

func (*Client) GetDreamConfig

func (c *Client) GetDreamConfig(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDreamConfig Get Dream configuration

Retrieve the project's Dream (memory synthesis) configuration together with the plan entitlement snapshot. Dream automatically supersedes/merges memories on the add path; **Synthesis** (reflection) is the opt-in part controlled by `reflection_enabled`.

Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/config/ (the `GetDreamConfig` operationId).

func (*Client) GetDreamMemorySources

func (c *Client) GetDreamMemorySources(ctx context.Context, orgId string, projectId string, memoryId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDreamMemorySources Get a synthesized memory's sources

The source memories a synthesized (pattern) memory was distilled from, for the memory drawer's provenance panel.

Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/memory/{memory_id}/sources/ (the `GetDreamMemorySources` operationId).

func (*Client) GetDreamRunMemories

func (c *Client) GetDreamRunMemories(ctx context.Context, orgId string, projectId string, runId string, params *GetDreamRunMemoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDreamRunMemories Get memories in a Dream run

Keyset page of the synthesized memories within a single run (for runs whose `has_more` is true).

Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/runs/{run_id}/memories/ (the `GetDreamRunMemories` operationId).

func (*Client) GetDreamRuns

func (c *Client) GetDreamRuns(ctx context.Context, orgId string, projectId string, params *GetDreamRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDreamRuns Get Dream synthesis runs

Synthesis activity grouped per run (newest first), keyset-paginated. Each run inlines its first page of synthesized memories with their sources; larger runs page the rest via the run-memories endpoint.

Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/runs/ (the `GetDreamRuns` operationId).

func (*Client) GetDreamStats

func (c *Client) GetDreamStats(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetDreamStats Get Dream stats

Lifecycle + synthesis counts for the project's Dream dashboard, plus reflection freshness. Requires a Pro or Enterprise (CUSTOM) plan.

Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/stats/ (the `GetDreamStats` operationId).

func (*Client) GetOrganization

func (c *Client) GetOrganization(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

GetOrganization performs a GET /api/v1/orgs/organizations/{org_id}/ (the `GetOrganization` operationId) request.

Get a organization.

func (*Client) GetOrganizationMembers

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

GetOrganizationMembers Get organization members

Retrieve a list of members for a specific organization.

Corresponds with GET /api/v1/orgs/organizations/{org_id}/members/ (the `GetOrganizationMembers` operationId).

func (*Client) GetProject

func (c *Client) GetProject(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetProject Get project details

Retrieve details of a specific project within an organization.

Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/ (the `GetProject` operationId).

func (*Client) GetProjectMembers

func (c *Client) GetProjectMembers(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

GetProjectMembers Get Project Members

Retrieve a list of members for a specific project.

Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `GetProjectMembers` operationId).

func (*Client) GetProjectWebhooks

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

GetProjectWebhooks Get Project Webhooks

Retrieve all webhooks for a specific project.

Corresponds with GET /api/v1/webhooks/projects/{project_id}/ (the `GetProjectWebhooks` operationId).

func (*Client) GetProjects

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

GetProjects Get projects

Retrieve a list of projects for a specific organization.

Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/ (the `GetProjects` operationId).

func (*Client) MemoriesAddV3

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

MemoriesAddV3 Add memories (V3)

Extract and store memories from a conversation using the V3 additive pipeline. Entity IDs (`user_id` / `agent_id` / `run_id`) are accepted at the top level. At least one entity ID is required so the memory is scoped to a session.

Takes a body of the `application/json` content type.

Corresponds with POST /v3/memories/add/ (the `MemoriesAddV3` operationId).

func (*Client) MemoriesAddV3WithBody

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

MemoriesAddV3WithBody Add memories (V3)

Extract and store memories from a conversation using the V3 additive pipeline. Entity IDs (`user_id` / `agent_id` / `run_id`) are accepted at the top level. At least one entity ID is required so the memory is scoped to a session.

Takes any type of body and a specified content type.

Corresponds with POST /v3/memories/add/ (the `MemoriesAddV3` operationId).

func (*Client) MemoriesBatchDelete

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

MemoriesBatchDelete performs a DELETE /v1/batch/ (the `MemoriesBatchDelete` operationId) request. Takes a body of the `application/json` content type.

Batch delete multiple memories (up to 1000) in a single API call.

func (*Client) MemoriesBatchDeleteWithBody

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

MemoriesBatchDeleteWithBody performs a DELETE /v1/batch/ (the `MemoriesBatchDelete` operationId) request, with any type of body and a specified content type.

Batch delete multiple memories (up to 1000) in a single API call.

func (*Client) MemoriesBatchUpdate

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

MemoriesBatchUpdate performs a PUT /v1/batch/ (the `MemoriesBatchUpdate` operationId) request. Takes a body of the `application/json` content type.

Batch update multiple memories (up to 1000) in a single API call.

func (*Client) MemoriesBatchUpdateWithBody

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

MemoriesBatchUpdateWithBody performs a PUT /v1/batch/ (the `MemoriesBatchUpdate` operationId) request, with any type of body and a specified content type.

Batch update multiple memories (up to 1000) in a single API call.

func (*Client) MemoriesCreate

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

MemoriesCreate performs a POST /v1/memories/ (the `MemoriesCreate` operationId) request. Takes a body of the `application/json` content type.

Add memories. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) MemoriesCreateWithBody

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

MemoriesCreateWithBody performs a POST /v1/memories/ (the `MemoriesCreate` operationId) request, with any type of body and a specified content type.

Add memories. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) MemoriesDelete

func (c *Client) MemoriesDelete(ctx context.Context, memoryId openapi_types.UUID, params *MemoriesDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

MemoriesDelete performs a DELETE /v1/memories/{memory_id}/ (the `MemoriesDelete` operationId) request.

Delete a memory.

func (*Client) MemoriesDeleteAll

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

MemoriesDeleteAll performs a DELETE /v1/memories/ (the `MemoriesDeleteAll` operationId) request.

Delete memories by filter. At least one filter is required. Previously, omitting all filters silently deleted everything; now it returns a validation error.

func (*Client) MemoriesEntityRead

func (c *Client) MemoriesEntityRead(ctx context.Context, entityType MemoriesEntityReadParamsEntityType, entityId string, params *MemoriesEntityReadParams, reqEditors ...RequestEditorFn) (*http.Response, error)

MemoriesEntityRead performs a GET /v1/memories/{entity_type}/{entity_id}/ (the `MemoriesEntityRead` operationId) request.

Returns a paginated list of memories belonging to the given entity.

func (*Client) MemoriesEventsList

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

MemoriesEventsList performs a GET /v1/memories/events/ (the `MemoriesEventsList` operationId) request.

Despite the endpoint name, this returns memory history entries (the same shape as `GET /v1/memories/{memory_id}/history/`), not event/ingestion-job records. For event/ingestion-job status, use `GET /v1/event/{event_id}/`.

func (*Client) MemoriesHistoryList

func (c *Client) MemoriesHistoryList(ctx context.Context, memoryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

MemoriesHistoryList performs a GET /v1/memories/{memory_id}/history/ (the `MemoriesHistoryList` operationId) request.

Retrieve the history of a memory.

func (*Client) MemoriesList

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

MemoriesList performs a GET /v1/memories/ (the `MemoriesList` operationId) request.

Get all memories. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) MemoriesListV2

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

MemoriesListV2 performs a POST /v2/memories/ (the `MemoriesListV2` operationId) request. Takes a body of the `application/json` content type.

Get all memories. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) MemoriesListV2WithBody

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

MemoriesListV2WithBody performs a POST /v2/memories/ (the `MemoriesListV2` operationId) request, with any type of body and a specified content type.

Get all memories. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) MemoriesListV3

func (c *Client) MemoriesListV3(ctx context.Context, params *MemoriesListV3Params, body MemoriesListV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

MemoriesListV3 Get all memories (V3, paginated)

List memories scoped by filters, paginated. Entity IDs **must** be passed inside the `filters` object. Top-level `user_id` / `agent_id` / `run_id` are rejected with 400. `filters` supports the same operator set as V2 search (`AND`, `OR`, `NOT`, `in`, `gte`, `lte`, etc.). Response is a paginated envelope; pass `page` and `page_size` as query parameters to step through results.

Takes a body of the `application/json` content type.

Corresponds with POST /v3/memories/ (the `MemoriesListV3` operationId).

func (*Client) MemoriesListV3WithBody

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

MemoriesListV3WithBody Get all memories (V3, paginated)

List memories scoped by filters, paginated. Entity IDs **must** be passed inside the `filters` object. Top-level `user_id` / `agent_id` / `run_id` are rejected with 400. `filters` supports the same operator set as V2 search (`AND`, `OR`, `NOT`, `in`, `gte`, `lte`, etc.). Response is a paginated envelope; pass `page` and `page_size` as query parameters to step through results.

Takes any type of body and a specified content type.

Corresponds with POST /v3/memories/ (the `MemoriesListV3` operationId).

func (*Client) MemoriesRead

func (c *Client) MemoriesRead(ctx context.Context, memoryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

MemoriesRead performs a GET /v1/memories/{memory_id}/ (the `MemoriesRead` operationId) request.

Get a memory.

func (*Client) MemoriesSearchCreate

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

MemoriesSearchCreate performs a POST /v1/memories/search/ (the `MemoriesSearchCreate` operationId) request. Takes a body of the `application/json` content type.

Perform a semantic search on memories. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) MemoriesSearchCreateWithBody

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

MemoriesSearchCreateWithBody performs a POST /v1/memories/search/ (the `MemoriesSearchCreate` operationId) request, with any type of body and a specified content type.

Perform a semantic search on memories. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) MemoriesSearchV2

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

MemoriesSearchV2 performs a POST /v2/memories/search/ (the `MemoriesSearchV2` operationId) request. Takes a body of the `application/json` content type.

Search memories based on a query and filters. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) MemoriesSearchV2WithBody

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

MemoriesSearchV2WithBody performs a POST /v2/memories/search/ (the `MemoriesSearchV2` operationId) request, with any type of body and a specified content type.

Search memories based on a query and filters. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*Client) MemoriesSearchV3

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

MemoriesSearchV3 Search memories (V3)

Relevance-ranked search across stored memories. V3 uses hybrid retrieval and can also apply temporal reasoning for time-aware queries. Entity IDs **must** be passed inside the `filters` object. Top-level `user_id` / `agent_id` / `run_id` are rejected with 400. At least one entity ID is required.

Takes a body of the `application/json` content type.

Corresponds with POST /v3/memories/search/ (the `MemoriesSearchV3` operationId).

func (*Client) MemoriesSearchV3WithBody

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

MemoriesSearchV3WithBody Search memories (V3)

Relevance-ranked search across stored memories. V3 uses hybrid retrieval and can also apply temporal reasoning for time-aware queries. Entity IDs **must** be passed inside the `filters` object. Top-level `user_id` / `agent_id` / `run_id` are rejected with 400. At least one entity ID is required.

Takes any type of body and a specified content type.

Corresponds with POST /v3/memories/search/ (the `MemoriesSearchV3` operationId).

func (*Client) MemoriesUpdate

func (c *Client) MemoriesUpdate(ctx context.Context, memoryId openapi_types.UUID, body MemoriesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

MemoriesUpdate performs a PUT /v1/memories/{memory_id}/ (the `MemoriesUpdate` operationId) request. Takes a body of the `application/json` content type.

Update a memory's text, metadata, or expiration date.

func (*Client) MemoriesUpdateWithBody

func (c *Client) MemoriesUpdateWithBody(ctx context.Context, memoryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

MemoriesUpdateWithBody performs a PUT /v1/memories/{memory_id}/ (the `MemoriesUpdate` operationId) request, with any type of body and a specified content type.

Update a memory's text, metadata, or expiration date.

func (*Client) OrganizationsRead

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

OrganizationsRead performs a GET /api/v1/orgs/organizations/ (the `OrganizationsRead` operationId) request.

func (*Client) PingRead

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

PingRead Check API key validity and resolve organization/project context.

Both the Python and TypeScript SDKs call this endpoint on client construction to validate the API key and resolve the default `org_id` and `project_id`.

Corresponds with GET /v1/ping/ (the `PingRead` operationId).

func (*Client) ProfilesCreateJob

func (c *Client) ProfilesCreateJob(ctx context.Context, params *ProfilesCreateJobParams, body ProfilesCreateJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ProfilesCreateJob Generate profiles

Start one generation. `operation` says what to build:

- `sample` — up to 10 real entities, so a schema can be judged before it is used widely. These are real profiles: they are saved to those entities and count toward usage. - `trigger` — one entity, named by `entity_id`.

Send an `Idempotency-Key` header. Replaying the same key returns the same job instead of charging twice. Poll `status_url` from the response until the status is terminal.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/profiles/jobs/ (the `ProfilesCreateJob` operationId).

func (*Client) ProfilesCreateJobWithBody

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

ProfilesCreateJobWithBody Generate profiles

Start one generation. `operation` says what to build:

- `sample` — up to 10 real entities, so a schema can be judged before it is used widely. These are real profiles: they are saved to those entities and count toward usage. - `trigger` — one entity, named by `entity_id`.

Send an `Idempotency-Key` header. Replaying the same key returns the same job instead of charging twice. Poll `status_url` from the response until the status is terminal.

Takes any type of body and a specified content type.

Corresponds with POST /v2/profiles/jobs/ (the `ProfilesCreateJob` operationId).

func (*Client) ProfilesGetJob

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

ProfilesGetJob Read a generation job

The job nests under `job`. `total` is null until `enumeration_complete`, and `completed` is `succeeded + failed + skipped`.

Corresponds with GET /v2/profiles/jobs/{job_id}/ (the `ProfilesGetJob` operationId).

func (*Client) ProfilesRead

func (c *Client) ProfilesRead(ctx context.Context, entityType ProfilesReadParamsEntityType, entityId string, reqEditors ...RequestEditorFn) (*http.Response, error)

ProfilesRead Get an entity's profile

Return the memory profile for one user.

Generation is asynchronous, so a known entity that has no profile yet is a normal 200 carrying a `status`. A 404 means only that no such entity exists.

Corresponds with GET /v2/entities/{entity_type}/{entity_id}/profile/ (the `ProfilesRead` operationId).

func (*Client) ProfilesSettingsRead

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

ProfilesSettingsRead Get profile settings

Return the profile settings for the project the API key is scoped to.

Corresponds with GET /v2/profiles/settings/ (the `ProfilesSettingsRead` operationId).

func (*Client) ProfilesSettingsUpdate

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

ProfilesSettingsUpdate Update profile settings

Update the project's profile settings. Only the fields present in the body are written, so one setting can change without re-sending the others.

Takes a body of the `application/json` content type.

Corresponds with POST /v2/profiles/settings/ (the `ProfilesSettingsUpdate` operationId).

func (*Client) ProfilesSettingsUpdateWithBody

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

ProfilesSettingsUpdateWithBody Update profile settings

Update the project's profile settings. Only the fields present in the body are written, so one setting can change without re-sending the others.

Takes any type of body and a specified content type.

Corresponds with POST /v2/profiles/settings/ (the `ProfilesSettingsUpdate` operationId).

func (*Client) RemoveOrganizationMember

func (c *Client) RemoveOrganizationMember(ctx context.Context, orgId string, body RemoveOrganizationMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

RemoveOrganizationMember Remove a member from the organization

Takes a body of the `application/json` content type.

Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/members/ (the `RemoveOrganizationMember` operationId).

func (*Client) RemoveOrganizationMemberWithBody

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

RemoveOrganizationMemberWithBody Remove a member from the organization

Takes any type of body and a specified content type.

Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/members/ (the `RemoveOrganizationMember` operationId).

func (*Client) RunsCreate

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

RunsCreate performs a POST /v1/runs/ (the `RunsCreate` operationId) request. Takes a body of the `application/json` content type.

Create a new Agent Run.

func (*Client) RunsCreateWithBody

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

RunsCreateWithBody performs a POST /v1/runs/ (the `RunsCreate` operationId) request, with any type of body and a specified content type.

Create a new Agent Run.

func (*Client) StatsList

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

StatsList Retrieve memory-related statistics for the authenticated user.

This endpoint returns the following statistics: - Total number of memories created - Total number of search events - Total number of add events

Corresponds with GET /v1/stats/ (the `StatsList` operationId).

func (*Client) SubmitFeedback

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

SubmitFeedback performs a POST /v1/feedback/ (the `SubmitFeedback` operationId) request. Takes a body of the `application/json` content type.

Submit feedback for a memory.

func (*Client) SubmitFeedbackWithBody

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

SubmitFeedbackWithBody performs a POST /v1/feedback/ (the `SubmitFeedback` operationId) request, with any type of body and a specified content type.

Submit feedback for a memory.

func (*Client) SummaryCreate

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

SummaryCreate Get a summary of memories matching the given filters.

Backs the Python SDK's `client.get_summary()`. Not currently exposed by the TypeScript SDK.

Takes a body of the `application/json` content type.

Corresponds with POST /v1/summary/ (the `SummaryCreate` operationId).

func (*Client) SummaryCreateWithBody

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

SummaryCreateWithBody Get a summary of memories matching the given filters.

Backs the Python SDK's `client.get_summary()`. Not currently exposed by the TypeScript SDK.

Takes any type of body and a specified content type.

Corresponds with POST /v1/summary/ (the `SummaryCreate` operationId).

func (*Client) UpdateDreamConfig

func (c *Client) UpdateDreamConfig(ctx context.Context, orgId string, projectId string, body UpdateDreamConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateDreamConfig Update Dream configuration

Enable or disable Synthesis (reflection) for the project, or change the reflection mode. Requires a Pro or Enterprise (CUSTOM) plan and organization-owner permission. Synthesis is forward-only: after enabling, it only synthesizes memories added from that point on.

Takes a body of the `application/json` content type.

Corresponds with PATCH /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/config/ (the `UpdateDreamConfig` operationId).

func (*Client) UpdateDreamConfigWithBody

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

UpdateDreamConfigWithBody Update Dream configuration

Enable or disable Synthesis (reflection) for the project, or change the reflection mode. Requires a Pro or Enterprise (CUSTOM) plan and organization-owner permission. Synthesis is forward-only: after enabling, it only synthesizes memories added from that point on.

Takes any type of body and a specified content type.

Corresponds with PATCH /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/config/ (the `UpdateDreamConfig` operationId).

func (*Client) UpdateOrganizationMemberRole

func (c *Client) UpdateOrganizationMemberRole(ctx context.Context, orgId string, body UpdateOrganizationMemberRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateOrganizationMemberRole Update organization member role

Update the role of an existing member in a specific organization.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/orgs/organizations/{org_id}/members/ (the `UpdateOrganizationMemberRole` operationId).

func (*Client) UpdateOrganizationMemberRoleWithBody

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

UpdateOrganizationMemberRoleWithBody Update organization member role

Update the role of an existing member in a specific organization.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/orgs/organizations/{org_id}/members/ (the `UpdateOrganizationMemberRole` operationId).

func (*Client) UpdateProject

func (c *Client) UpdateProject(ctx context.Context, orgId string, projectId string, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateProject Update Project

Update a specific project's settings.

Takes a body of the `application/json` content type.

Corresponds with PATCH /api/v1/orgs/organizations/{org_id}/projects/{project_id}/ (the `UpdateProject` operationId).

func (*Client) UpdateProjectMember

func (c *Client) UpdateProjectMember(ctx context.Context, orgId string, projectId string, body UpdateProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateProjectMember Update project member role

Update the role of a member in a specific project within an organization.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `UpdateProjectMember` operationId).

func (*Client) UpdateProjectMemberWithBody

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

UpdateProjectMemberWithBody Update project member role

Update the role of a member in a specific project within an organization.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `UpdateProjectMember` operationId).

func (*Client) UpdateProjectWithBody

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

UpdateProjectWithBody Update Project

Update a specific project's settings.

Takes any type of body and a specified content type.

Corresponds with PATCH /api/v1/orgs/organizations/{org_id}/projects/{project_id}/ (the `UpdateProject` operationId).

func (*Client) UpdateWebhook

func (c *Client) UpdateWebhook(ctx context.Context, webhookId string, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

UpdateWebhook Update Webhook

Update an existing webhook.

Takes a body of the `application/json` content type.

Corresponds with PUT /api/v1/webhooks/{webhook_id}/ (the `UpdateWebhook` operationId).

func (*Client) UpdateWebhookWithBody

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

UpdateWebhookWithBody Update Webhook

Update an existing webhook.

Takes any type of body and a specified content type.

Corresponds with PUT /api/v1/webhooks/{webhook_id}/ (the `UpdateWebhook` operationId).

func (*Client) UsersCreate

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

UsersCreate performs a POST /v1/users/ (the `UsersCreate` operationId) request. Takes a body of the `application/json` content type.

Create a new User.

func (*Client) UsersCreateWithBody

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

UsersCreateWithBody performs a POST /v1/users/ (the `UsersCreate` operationId) request, with any type of body and a specified content type.

Create a new User.

type ClientInterface

type ClientInterface interface {

	// OrganizationsRead performs a GET /api/v1/orgs/organizations/ (the `OrganizationsRead` operationId) request.
	OrganizationsRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrganizationWithBody performs a POST /api/v1/orgs/organizations/ (the `CreateOrganization` operationId) request,
	// with any type of body and a specified content type.
	//
	// Create a new organization.
	CreateOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrganization performs a POST /api/v1/orgs/organizations/ (the `CreateOrganization` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Create a new organization.
	CreateOrganization(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOrganization Delete an organization
	//
	// Delete an organization by its ID.
	//
	// Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/ (the `DeleteOrganization` operationId).
	DeleteOrganization(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrganization performs a GET /api/v1/orgs/organizations/{org_id}/ (the `GetOrganization` operationId) request.
	//
	// Get a organization.
	GetOrganization(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveOrganizationMemberWithBody Remove a member from the organization
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/members/ (the `RemoveOrganizationMember` operationId).
	RemoveOrganizationMemberWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveOrganizationMember Remove a member from the organization
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/members/ (the `RemoveOrganizationMember` operationId).
	RemoveOrganizationMember(ctx context.Context, orgId string, body RemoveOrganizationMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrganizationMembers Get organization members
	//
	// Retrieve a list of members for a specific organization.
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/members/ (the `GetOrganizationMembers` operationId).
	GetOrganizationMembers(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddOrganizationMemberWithBody Add organization member
	//
	// Add a new member to a specific organization.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/orgs/organizations/{org_id}/members/ (the `AddOrganizationMember` operationId).
	AddOrganizationMemberWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddOrganizationMember Add organization member
	//
	// Add a new member to a specific organization.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/orgs/organizations/{org_id}/members/ (the `AddOrganizationMember` operationId).
	AddOrganizationMember(ctx context.Context, orgId string, body AddOrganizationMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrganizationMemberRoleWithBody Update organization member role
	//
	// Update the role of an existing member in a specific organization.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/orgs/organizations/{org_id}/members/ (the `UpdateOrganizationMemberRole` operationId).
	UpdateOrganizationMemberRoleWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrganizationMemberRole Update organization member role
	//
	// Update the role of an existing member in a specific organization.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/orgs/organizations/{org_id}/members/ (the `UpdateOrganizationMemberRole` operationId).
	UpdateOrganizationMemberRole(ctx context.Context, orgId string, body UpdateOrganizationMemberRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjects Get projects
	//
	// Retrieve a list of projects for a specific organization.
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/ (the `GetProjects` operationId).
	GetProjects(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateProjectWithBody Create project
	//
	// Create a new project within an organization.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/ (the `CreateProject` operationId).
	CreateProjectWithBody(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateProject Create project
	//
	// Create a new project within an organization.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/ (the `CreateProject` operationId).
	CreateProject(ctx context.Context, orgId string, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteProject Delete Project
	//
	// Delete a specific project and its related data.
	//
	// Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/projects/{project_id}/ (the `DeleteProject` operationId).
	DeleteProject(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProject Get project details
	//
	// Retrieve details of a specific project within an organization.
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/ (the `GetProject` operationId).
	GetProject(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateProjectWithBody Update Project
	//
	// Update a specific project's settings.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api/v1/orgs/organizations/{org_id}/projects/{project_id}/ (the `UpdateProject` operationId).
	UpdateProjectWithBody(ctx context.Context, orgId string, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateProject Update Project
	//
	// Update a specific project's settings.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /api/v1/orgs/organizations/{org_id}/projects/{project_id}/ (the `UpdateProject` operationId).
	UpdateProject(ctx context.Context, orgId string, projectId string, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDreamActivity Get Dream activity
	//
	// Supersede/merge activity feed (newest first), keyset-paginated. Synthesis output is not included here — see the runs endpoint.
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/activity/ (the `GetDreamActivity` operationId).
	GetDreamActivity(ctx context.Context, orgId string, projectId string, params *GetDreamActivityParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDreamConfig Get Dream configuration
	//
	// Retrieve the project's Dream (memory synthesis) configuration together with the plan entitlement snapshot. Dream automatically supersedes/merges memories on the add path; **Synthesis** (reflection) is the opt-in part controlled by `reflection_enabled`.
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/config/ (the `GetDreamConfig` operationId).
	GetDreamConfig(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDreamConfigWithBody Update Dream configuration
	//
	// Enable or disable Synthesis (reflection) for the project, or change the reflection mode. Requires a Pro or Enterprise (CUSTOM) plan and organization-owner permission. Synthesis is forward-only: after enabling, it only synthesizes memories added from that point on.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/config/ (the `UpdateDreamConfig` operationId).
	UpdateDreamConfigWithBody(ctx context.Context, orgId string, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDreamConfig Update Dream configuration
	//
	// Enable or disable Synthesis (reflection) for the project, or change the reflection mode. Requires a Pro or Enterprise (CUSTOM) plan and organization-owner permission. Synthesis is forward-only: after enabling, it only synthesizes memories added from that point on.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/config/ (the `UpdateDreamConfig` operationId).
	UpdateDreamConfig(ctx context.Context, orgId string, projectId string, body UpdateDreamConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDreamMemorySources Get a synthesized memory's sources
	//
	// The source memories a synthesized (pattern) memory was distilled from, for the memory drawer's provenance panel.
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/memory/{memory_id}/sources/ (the `GetDreamMemorySources` operationId).
	GetDreamMemorySources(ctx context.Context, orgId string, projectId string, memoryId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DreamPreview Preview Dream scope
	//
	// A no-write preview of the scope Dream synthesis would analyze for the project (a capped sample plus the count of users with enough memories to benefit). Never runs the LLM and never mutates anything.
	//
	// Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/preview/ (the `DreamPreview` operationId).
	DreamPreview(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDreamRuns Get Dream synthesis runs
	//
	// Synthesis activity grouped per run (newest first), keyset-paginated. Each run inlines its first page of synthesized memories with their sources; larger runs page the rest via the run-memories endpoint.
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/runs/ (the `GetDreamRuns` operationId).
	GetDreamRuns(ctx context.Context, orgId string, projectId string, params *GetDreamRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDreamRunMemories Get memories in a Dream run
	//
	// Keyset page of the synthesized memories within a single run (for runs whose `has_more` is true).
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/runs/{run_id}/memories/ (the `GetDreamRunMemories` operationId).
	GetDreamRunMemories(ctx context.Context, orgId string, projectId string, runId string, params *GetDreamRunMemoriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDreamStats Get Dream stats
	//
	// Lifecycle + synthesis counts for the project's Dream dashboard, plus reflection freshness. Requires a Pro or Enterprise (CUSTOM) plan.
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/stats/ (the `GetDreamStats` operationId).
	GetDreamStats(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteProjectMember Delete Project Member
	//
	// Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `DeleteProjectMember` operationId).
	DeleteProjectMember(ctx context.Context, orgId string, projectId string, params *DeleteProjectMemberParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectMembers Get Project Members
	//
	// Retrieve a list of members for a specific project.
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `GetProjectMembers` operationId).
	GetProjectMembers(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddProjectMemberWithBody Add member to project
	//
	// Add a new member to a specific project within an organization.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `AddProjectMember` operationId).
	AddProjectMemberWithBody(ctx context.Context, orgId string, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AddProjectMember Add member to project
	//
	// Add a new member to a specific project within an organization.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `AddProjectMember` operationId).
	AddProjectMember(ctx context.Context, orgId string, projectId string, body AddProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateProjectMemberWithBody Update project member role
	//
	// Update the role of a member in a specific project within an organization.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `UpdateProjectMember` operationId).
	UpdateProjectMemberWithBody(ctx context.Context, orgId string, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateProjectMember Update project member role
	//
	// Update the role of a member in a specific project within an organization.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `UpdateProjectMember` operationId).
	UpdateProjectMember(ctx context.Context, orgId string, projectId string, body UpdateProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectWebhooks Get Project Webhooks
	//
	// Retrieve all webhooks for a specific project.
	//
	// Corresponds with GET /api/v1/webhooks/projects/{project_id}/ (the `GetProjectWebhooks` operationId).
	GetProjectWebhooks(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWebhookWithBody Create Webhook
	//
	// Create a new webhook for a specific project.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /api/v1/webhooks/projects/{project_id}/ (the `CreateWebhook` operationId).
	CreateWebhookWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWebhook Create Webhook
	//
	// Create a new webhook for a specific project.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /api/v1/webhooks/projects/{project_id}/ (the `CreateWebhook` operationId).
	CreateWebhook(ctx context.Context, projectId string, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteWebhook Delete Webhook
	//
	// Delete an existing webhook.
	//
	// Corresponds with DELETE /api/v1/webhooks/{webhook_id}/ (the `DeleteWebhook` operationId).
	DeleteWebhook(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateWebhookWithBody Update Webhook
	//
	// Update an existing webhook.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PUT /api/v1/webhooks/{webhook_id}/ (the `UpdateWebhook` operationId).
	UpdateWebhookWithBody(ctx context.Context, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateWebhook Update Webhook
	//
	// Update an existing webhook.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PUT /api/v1/webhooks/{webhook_id}/ (the `UpdateWebhook` operationId).
	UpdateWebhook(ctx context.Context, webhookId string, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsCreateWithBody performs a POST /v1/agents/ (the `AgentsCreate` operationId) request,
	// with any type of body and a specified content type.
	//
	// Create a new Agent.
	AgentsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AgentsCreate performs a POST /v1/agents/ (the `AgentsCreate` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Create a new Agent.
	AgentsCreate(ctx context.Context, body AgentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AppsCreateWithBody performs a POST /v1/apps/ (the `AppsCreate` operationId) request,
	// with any type of body and a specified content type.
	//
	// Create a new App.
	AppsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AppsCreate performs a POST /v1/apps/ (the `AppsCreate` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Create a new App.
	AppsCreate(ctx context.Context, body AppsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesBatchDeleteWithBody performs a DELETE /v1/batch/ (the `MemoriesBatchDelete` operationId) request,
	// with any type of body and a specified content type.
	//
	// Batch delete multiple memories (up to 1000) in a single API call.
	MemoriesBatchDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesBatchDelete performs a DELETE /v1/batch/ (the `MemoriesBatchDelete` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Batch delete multiple memories (up to 1000) in a single API call.
	MemoriesBatchDelete(ctx context.Context, body MemoriesBatchDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesBatchUpdateWithBody performs a PUT /v1/batch/ (the `MemoriesBatchUpdate` operationId) request,
	// with any type of body and a specified content type.
	//
	// Batch update multiple memories (up to 1000) in a single API call.
	MemoriesBatchUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesBatchUpdate performs a PUT /v1/batch/ (the `MemoriesBatchUpdate` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Batch update multiple memories (up to 1000) in a single API call.
	MemoriesBatchUpdate(ctx context.Context, body MemoriesBatchUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EntitiesList performs a GET /v1/entities/ (the `EntitiesList` operationId) request.
	EntitiesList(ctx context.Context, params *EntitiesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EntitiesFiltersList performs a GET /v1/entities/filters/ (the `EntitiesFiltersList` operationId) request.
	EntitiesFiltersList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EntitiesDeleteV1 performs a DELETE /v1/entities/{entity_type}/{entity_id}/ (the `EntitiesDeleteV1` operationId) request.
	//
	// Delete an entity by its numeric ID. Deprecated in favor of `DELETE /v2/entities/{entity_type}/{entity_id}/`, which takes the entity's string name instead of this numeric ID.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	EntitiesDeleteV1(ctx context.Context, entityType EntitiesDeleteV1ParamsEntityType, entityId int, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventRead Retrieve details of a specific event by its ID.
	//
	// Corresponds with GET /v1/event/{event_id}/ (the `EventRead` operationId).
	EventRead(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventsList Retrieve all events for current organization and project.
	//
	// Corresponds with GET /v1/events/ (the `EventsList` operationId).
	EventsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportsCreateWithBody Create an export job with schema
	//
	// Create a structured export of memories based on a provided schema.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/exports/ (the `ExportsCreate` operationId).
	ExportsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportsCreate Create an export job with schema
	//
	// Create a structured export of memories based on a provided schema.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/exports/ (the `ExportsCreate` operationId).
	ExportsCreate(ctx context.Context, body ExportsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportsListWithBody Export data based on filters
	//
	// Get the latest memory export.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/exports/get/ (the `ExportsList` operationId).
	ExportsListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ExportsList Export data based on filters
	//
	// Get the latest memory export.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/exports/get/ (the `ExportsList` operationId).
	ExportsList(ctx context.Context, body ExportsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SubmitFeedbackWithBody performs a POST /v1/feedback/ (the `SubmitFeedback` operationId) request,
	// with any type of body and a specified content type.
	//
	// Submit feedback for a memory.
	SubmitFeedbackWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SubmitFeedback performs a POST /v1/feedback/ (the `SubmitFeedback` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Submit feedback for a memory.
	SubmitFeedback(ctx context.Context, body SubmitFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesDeleteAll performs a DELETE /v1/memories/ (the `MemoriesDeleteAll` operationId) request.
	//
	// Delete memories by filter. At least one filter is required. Previously, omitting all filters silently deleted everything; now it returns a validation error.
	MemoriesDeleteAll(ctx context.Context, params *MemoriesDeleteAllParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesList performs a GET /v1/memories/ (the `MemoriesList` operationId) request.
	//
	// Get all memories.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MemoriesList(ctx context.Context, params *MemoriesListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesCreateWithBody performs a POST /v1/memories/ (the `MemoriesCreate` operationId) request,
	// with any type of body and a specified content type.
	//
	// Add memories.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MemoriesCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesCreate performs a POST /v1/memories/ (the `MemoriesCreate` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Add memories.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MemoriesCreate(ctx context.Context, body MemoriesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesEventsList performs a GET /v1/memories/events/ (the `MemoriesEventsList` operationId) request.
	//
	// Despite the endpoint name, this returns memory history entries (the same shape as `GET /v1/memories/{memory_id}/history/`), not event/ingestion-job records. For event/ingestion-job status, use `GET /v1/event/{event_id}/`.
	MemoriesEventsList(ctx context.Context, params *MemoriesEventsListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesSearchCreateWithBody performs a POST /v1/memories/search/ (the `MemoriesSearchCreate` operationId) request,
	// with any type of body and a specified content type.
	//
	// Perform a semantic search on memories.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MemoriesSearchCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesSearchCreate performs a POST /v1/memories/search/ (the `MemoriesSearchCreate` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Perform a semantic search on memories.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MemoriesSearchCreate(ctx context.Context, body MemoriesSearchCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesEntityRead performs a GET /v1/memories/{entity_type}/{entity_id}/ (the `MemoriesEntityRead` operationId) request.
	//
	// Returns a paginated list of memories belonging to the given entity.
	MemoriesEntityRead(ctx context.Context, entityType MemoriesEntityReadParamsEntityType, entityId string, params *MemoriesEntityReadParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesDelete performs a DELETE /v1/memories/{memory_id}/ (the `MemoriesDelete` operationId) request.
	//
	// Delete a memory.
	MemoriesDelete(ctx context.Context, memoryId openapi_types.UUID, params *MemoriesDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesRead performs a GET /v1/memories/{memory_id}/ (the `MemoriesRead` operationId) request.
	//
	// Get a memory.
	MemoriesRead(ctx context.Context, memoryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesUpdateWithBody performs a PUT /v1/memories/{memory_id}/ (the `MemoriesUpdate` operationId) request,
	// with any type of body and a specified content type.
	//
	// Update a memory's text, metadata, or expiration date.
	MemoriesUpdateWithBody(ctx context.Context, memoryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesUpdate performs a PUT /v1/memories/{memory_id}/ (the `MemoriesUpdate` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Update a memory's text, metadata, or expiration date.
	MemoriesUpdate(ctx context.Context, memoryId openapi_types.UUID, body MemoriesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesHistoryList performs a GET /v1/memories/{memory_id}/history/ (the `MemoriesHistoryList` operationId) request.
	//
	// Retrieve the history of a memory.
	MemoriesHistoryList(ctx context.Context, memoryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PingRead Check API key validity and resolve organization/project context.
	//
	// Both the Python and TypeScript SDKs call this endpoint on client construction to validate the API key and resolve the default `org_id` and `project_id`.
	//
	// Corresponds with GET /v1/ping/ (the `PingRead` operationId).
	PingRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RunsCreateWithBody performs a POST /v1/runs/ (the `RunsCreate` operationId) request,
	// with any type of body and a specified content type.
	//
	// Create a new Agent Run.
	RunsCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RunsCreate performs a POST /v1/runs/ (the `RunsCreate` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Create a new Agent Run.
	RunsCreate(ctx context.Context, body RunsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StatsList Retrieve memory-related statistics for the authenticated user.
	//
	// This endpoint returns the following statistics:
	// - Total number of memories created
	// - Total number of search events
	// - Total number of add events
	//
	// Corresponds with GET /v1/stats/ (the `StatsList` operationId).
	StatsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SummaryCreateWithBody Get a summary of memories matching the given filters.
	//
	// Backs the Python SDK's `client.get_summary()`. Not currently exposed by the TypeScript SDK.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v1/summary/ (the `SummaryCreate` operationId).
	SummaryCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SummaryCreate Get a summary of memories matching the given filters.
	//
	// Backs the Python SDK's `client.get_summary()`. Not currently exposed by the TypeScript SDK.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v1/summary/ (the `SummaryCreate` operationId).
	SummaryCreate(ctx context.Context, body SummaryCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UsersCreateWithBody performs a POST /v1/users/ (the `UsersCreate` operationId) request,
	// with any type of body and a specified content type.
	//
	// Create a new User.
	UsersCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UsersCreate performs a POST /v1/users/ (the `UsersCreate` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Create a new User.
	UsersCreate(ctx context.Context, body UsersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EntitiesDelete performs a DELETE /v2/entities/{entity_type}/{entity_id}/ (the `EntitiesDelete` operationId) request.
	EntitiesDelete(ctx context.Context, entityType EntitiesDeleteParamsEntityType, entityId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EntitiesRead performs a GET /v2/entities/{entity_type}/{entity_id}/ (the `EntitiesRead` operationId) request.
	EntitiesRead(ctx context.Context, entityType EntitiesReadParamsEntityType, entityId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProfilesRead Get an entity's profile
	//
	// Return the memory profile for one user.
	//
	// Generation is asynchronous, so a known entity that has no profile yet is a normal 200 carrying a `status`. A 404 means only that no such entity exists.
	//
	// Corresponds with GET /v2/entities/{entity_type}/{entity_id}/profile/ (the `ProfilesRead` operationId).
	ProfilesRead(ctx context.Context, entityType ProfilesReadParamsEntityType, entityId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesListV2WithBody performs a POST /v2/memories/ (the `MemoriesListV2` operationId) request,
	// with any type of body and a specified content type.
	//
	// Get all memories.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MemoriesListV2WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesListV2 performs a POST /v2/memories/ (the `MemoriesListV2` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Get all memories.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MemoriesListV2(ctx context.Context, body MemoriesListV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesSearchV2WithBody performs a POST /v2/memories/search/ (the `MemoriesSearchV2` operationId) request,
	// with any type of body and a specified content type.
	//
	// Search memories based on a query and filters.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MemoriesSearchV2WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesSearchV2 performs a POST /v2/memories/search/ (the `MemoriesSearchV2` operationId) request.
	// Takes a body of the `application/json` content type.
	//
	// Search memories based on a query and filters.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MemoriesSearchV2(ctx context.Context, body MemoriesSearchV2JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProfilesCreateJobWithBody Generate profiles
	//
	// Start one generation. `operation` says what to build:
	//
	// - `sample` — up to 10 real entities, so a schema can be judged before it is used widely. These are real profiles: they are saved to those entities and count toward usage.
	// - `trigger` — one entity, named by `entity_id`.
	//
	// Send an `Idempotency-Key` header. Replaying the same key returns the same job instead of charging twice. Poll `status_url` from the response until the status is terminal.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/profiles/jobs/ (the `ProfilesCreateJob` operationId).
	ProfilesCreateJobWithBody(ctx context.Context, params *ProfilesCreateJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProfilesCreateJob Generate profiles
	//
	// Start one generation. `operation` says what to build:
	//
	// - `sample` — up to 10 real entities, so a schema can be judged before it is used widely. These are real profiles: they are saved to those entities and count toward usage.
	// - `trigger` — one entity, named by `entity_id`.
	//
	// Send an `Idempotency-Key` header. Replaying the same key returns the same job instead of charging twice. Poll `status_url` from the response until the status is terminal.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/profiles/jobs/ (the `ProfilesCreateJob` operationId).
	ProfilesCreateJob(ctx context.Context, params *ProfilesCreateJobParams, body ProfilesCreateJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProfilesGetJob Read a generation job
	//
	// The job nests under `job`. `total` is null until `enumeration_complete`, and `completed` is `succeeded + failed + skipped`.
	//
	// Corresponds with GET /v2/profiles/jobs/{job_id}/ (the `ProfilesGetJob` operationId).
	ProfilesGetJob(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProfilesSettingsRead Get profile settings
	//
	// Return the profile settings for the project the API key is scoped to.
	//
	// Corresponds with GET /v2/profiles/settings/ (the `ProfilesSettingsRead` operationId).
	ProfilesSettingsRead(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProfilesSettingsUpdateWithBody Update profile settings
	//
	// Update the project's profile settings. Only the fields present in the body are written, so one setting can change without re-sending the others.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v2/profiles/settings/ (the `ProfilesSettingsUpdate` operationId).
	ProfilesSettingsUpdateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProfilesSettingsUpdate Update profile settings
	//
	// Update the project's profile settings. Only the fields present in the body are written, so one setting can change without re-sending the others.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v2/profiles/settings/ (the `ProfilesSettingsUpdate` operationId).
	ProfilesSettingsUpdate(ctx context.Context, body ProfilesSettingsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesListV3WithBody Get all memories (V3, paginated)
	//
	// List memories scoped by filters, paginated. Entity IDs **must** be passed inside the `filters` object. Top-level `user_id` / `agent_id` / `run_id` are rejected with 400. `filters` supports the same operator set as V2 search (`AND`, `OR`, `NOT`, `in`, `gte`, `lte`, etc.). Response is a paginated envelope; pass `page` and `page_size` as query parameters to step through results.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v3/memories/ (the `MemoriesListV3` operationId).
	MemoriesListV3WithBody(ctx context.Context, params *MemoriesListV3Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesListV3 Get all memories (V3, paginated)
	//
	// List memories scoped by filters, paginated. Entity IDs **must** be passed inside the `filters` object. Top-level `user_id` / `agent_id` / `run_id` are rejected with 400. `filters` supports the same operator set as V2 search (`AND`, `OR`, `NOT`, `in`, `gte`, `lte`, etc.). Response is a paginated envelope; pass `page` and `page_size` as query parameters to step through results.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v3/memories/ (the `MemoriesListV3` operationId).
	MemoriesListV3(ctx context.Context, params *MemoriesListV3Params, body MemoriesListV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesAddV3WithBody Add memories (V3)
	//
	// Extract and store memories from a conversation using the V3 additive pipeline. Entity IDs (`user_id` / `agent_id` / `run_id`) are accepted at the top level. At least one entity ID is required so the memory is scoped to a session.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v3/memories/add/ (the `MemoriesAddV3` operationId).
	MemoriesAddV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesAddV3 Add memories (V3)
	//
	// Extract and store memories from a conversation using the V3 additive pipeline. Entity IDs (`user_id` / `agent_id` / `run_id`) are accepted at the top level. At least one entity ID is required so the memory is scoped to a session.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v3/memories/add/ (the `MemoriesAddV3` operationId).
	MemoriesAddV3(ctx context.Context, body MemoriesAddV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesSearchV3WithBody Search memories (V3)
	//
	// Relevance-ranked search across stored memories. V3 uses hybrid retrieval and can also apply temporal reasoning for time-aware queries. Entity IDs **must** be passed inside the `filters` object. Top-level `user_id` / `agent_id` / `run_id` are rejected with 400. At least one entity ID is required.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v3/memories/search/ (the `MemoriesSearchV3` operationId).
	MemoriesSearchV3WithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MemoriesSearchV3 Search memories (V3)
	//
	// Relevance-ranked search across stored memories. V3 uses hybrid retrieval and can also apply temporal reasoning for time-aware queries. Entity IDs **must** be passed inside the `filters` object. Top-level `user_id` / `agent_id` / `run_id` are rejected with 400. At least one entity ID is required.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v3/memories/search/ (the `MemoriesSearchV3` operationId).
	MemoriesSearchV3(ctx context.Context, body MemoriesSearchV3JSONRequestBody, 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) AddOrganizationMemberWithBodyWithResponse

func (c *ClientWithResponses) AddOrganizationMemberWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddOrganizationMemberResponse, error)

AddOrganizationMemberWithBodyWithResponse Add organization member

Add a new member to a specific organization.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/orgs/organizations/{org_id}/members/ (the `AddOrganizationMember` operationId).

func (*ClientWithResponses) AddOrganizationMemberWithResponse

func (c *ClientWithResponses) AddOrganizationMemberWithResponse(ctx context.Context, orgId string, body AddOrganizationMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*AddOrganizationMemberResponse, error)

AddOrganizationMemberWithResponse Add organization member

Add a new member to a specific organization.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/orgs/organizations/{org_id}/members/ (the `AddOrganizationMember` operationId).

func (*ClientWithResponses) AddProjectMemberWithBodyWithResponse

func (c *ClientWithResponses) AddProjectMemberWithBodyWithResponse(ctx context.Context, orgId string, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddProjectMemberResponse, error)

AddProjectMemberWithBodyWithResponse Add member to project

Add a new member to a specific project within an organization.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `AddProjectMember` operationId).

func (*ClientWithResponses) AddProjectMemberWithResponse

func (c *ClientWithResponses) AddProjectMemberWithResponse(ctx context.Context, orgId string, projectId string, body AddProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*AddProjectMemberResponse, error)

AddProjectMemberWithResponse Add member to project

Add a new member to a specific project within an organization.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `AddProjectMember` operationId).

func (*ClientWithResponses) AgentsCreateWithBodyWithResponse

func (c *ClientWithResponses) AgentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsCreateResponse, error)

AgentsCreateWithBodyWithResponse performs a POST /v1/agents/ (the `AgentsCreate` operationId) request, with any type of body and a specified content type.

Create a new Agent.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) AgentsCreateWithResponse

func (c *ClientWithResponses) AgentsCreateWithResponse(ctx context.Context, body AgentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsCreateResponse, error)

AgentsCreateWithResponse performs a POST /v1/agents/ (the `AgentsCreate` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Create a new Agent.

func (*ClientWithResponses) AppsCreateWithBodyWithResponse

func (c *ClientWithResponses) AppsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppsCreateResponse, error)

AppsCreateWithBodyWithResponse performs a POST /v1/apps/ (the `AppsCreate` operationId) request, with any type of body and a specified content type.

Create a new App.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) AppsCreateWithResponse

func (c *ClientWithResponses) AppsCreateWithResponse(ctx context.Context, body AppsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AppsCreateResponse, error)

AppsCreateWithResponse performs a POST /v1/apps/ (the `AppsCreate` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Create a new App.

func (*ClientWithResponses) CreateOrganizationWithBodyWithResponse

func (c *ClientWithResponses) CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)

CreateOrganizationWithBodyWithResponse performs a POST /api/v1/orgs/organizations/ (the `CreateOrganization` operationId) request, with any type of body and a specified content type.

Create a new organization.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) CreateOrganizationWithResponse

func (c *ClientWithResponses) CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)

CreateOrganizationWithResponse performs a POST /api/v1/orgs/organizations/ (the `CreateOrganization` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Create a new organization.

func (*ClientWithResponses) CreateProjectWithBodyWithResponse

func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

CreateProjectWithBodyWithResponse Create project

Create a new project within an organization.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/ (the `CreateProject` operationId).

func (*ClientWithResponses) CreateProjectWithResponse

func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, orgId string, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

CreateProjectWithResponse Create project

Create a new project within an organization.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/ (the `CreateProject` operationId).

func (*ClientWithResponses) CreateWebhookWithBodyWithResponse

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

CreateWebhookWithBodyWithResponse Create Webhook

Create a new webhook for a specific project.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/webhooks/projects/{project_id}/ (the `CreateWebhook` operationId).

func (*ClientWithResponses) CreateWebhookWithResponse

func (c *ClientWithResponses) CreateWebhookWithResponse(ctx context.Context, projectId string, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)

CreateWebhookWithResponse Create Webhook

Create a new webhook for a specific project.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/webhooks/projects/{project_id}/ (the `CreateWebhook` operationId).

func (*ClientWithResponses) DeleteOrganizationWithResponse

func (c *ClientWithResponses) DeleteOrganizationWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationResponse, error)

DeleteOrganizationWithResponse Delete an organization

Delete an organization by its ID.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/ (the `DeleteOrganization` operationId).

func (*ClientWithResponses) DeleteProjectMemberWithResponse

func (c *ClientWithResponses) DeleteProjectMemberWithResponse(ctx context.Context, orgId string, projectId string, params *DeleteProjectMemberParams, reqEditors ...RequestEditorFn) (*DeleteProjectMemberResponse, error)

DeleteProjectMemberWithResponse Delete Project Member

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `DeleteProjectMember` operationId).

func (*ClientWithResponses) DeleteProjectWithResponse

func (c *ClientWithResponses) DeleteProjectWithResponse(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)

DeleteProjectWithResponse Delete Project

Delete a specific project and its related data.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/projects/{project_id}/ (the `DeleteProject` operationId).

func (*ClientWithResponses) DeleteWebhookWithResponse

func (c *ClientWithResponses) DeleteWebhookWithResponse(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)

DeleteWebhookWithResponse Delete Webhook

Delete an existing webhook.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/webhooks/{webhook_id}/ (the `DeleteWebhook` operationId).

func (*ClientWithResponses) DreamPreviewWithResponse

func (c *ClientWithResponses) DreamPreviewWithResponse(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*DreamPreviewResponse, error)

DreamPreviewWithResponse Preview Dream scope

A no-write preview of the scope Dream synthesis would analyze for the project (a capped sample plus the count of users with enough memories to benefit). Never runs the LLM and never mutates anything.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/preview/ (the `DreamPreview` operationId).

func (*ClientWithResponses) EntitiesDeleteV1WithResponse deprecated

func (c *ClientWithResponses) EntitiesDeleteV1WithResponse(ctx context.Context, entityType EntitiesDeleteV1ParamsEntityType, entityId int, reqEditors ...RequestEditorFn) (*EntitiesDeleteV1Response, error)

EntitiesDeleteV1WithResponse performs a DELETE /v1/entities/{entity_type}/{entity_id}/ (the `EntitiesDeleteV1` operationId) request.

Delete an entity by its numeric ID. Deprecated in favor of `DELETE /v2/entities/{entity_type}/{entity_id}/`, which takes the entity's string name instead of this numeric ID.

Returns a wrapper object for the known response body format(s).

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

func (*ClientWithResponses) EntitiesDeleteWithResponse

func (c *ClientWithResponses) EntitiesDeleteWithResponse(ctx context.Context, entityType EntitiesDeleteParamsEntityType, entityId string, reqEditors ...RequestEditorFn) (*EntitiesDeleteResponse, error)

EntitiesDeleteWithResponse performs a DELETE /v2/entities/{entity_type}/{entity_id}/ (the `EntitiesDelete` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) EntitiesFiltersListWithResponse

func (c *ClientWithResponses) EntitiesFiltersListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EntitiesFiltersListResponse, error)

EntitiesFiltersListWithResponse performs a GET /v1/entities/filters/ (the `EntitiesFiltersList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) EntitiesListWithResponse

func (c *ClientWithResponses) EntitiesListWithResponse(ctx context.Context, params *EntitiesListParams, reqEditors ...RequestEditorFn) (*EntitiesListResponse, error)

EntitiesListWithResponse performs a GET /v1/entities/ (the `EntitiesList` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) EntitiesReadWithResponse

func (c *ClientWithResponses) EntitiesReadWithResponse(ctx context.Context, entityType EntitiesReadParamsEntityType, entityId string, reqEditors ...RequestEditorFn) (*EntitiesReadResponse, error)

EntitiesReadWithResponse performs a GET /v2/entities/{entity_type}/{entity_id}/ (the `EntitiesRead` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) EventReadWithResponse

func (c *ClientWithResponses) EventReadWithResponse(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*EventReadResponse, error)

EventReadWithResponse Retrieve details of a specific event by its ID.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/event/{event_id}/ (the `EventRead` operationId).

func (*ClientWithResponses) EventsListWithResponse

func (c *ClientWithResponses) EventsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EventsListResponse, error)

EventsListWithResponse Retrieve all events for current organization and project.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/events/ (the `EventsList` operationId).

func (*ClientWithResponses) ExportsCreateWithBodyWithResponse

func (c *ClientWithResponses) ExportsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportsCreateResponse, error)

ExportsCreateWithBodyWithResponse Create an export job with schema

Create a structured export of memories based on a provided schema.

Takes 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/exports/ (the `ExportsCreate` operationId).

func (*ClientWithResponses) ExportsCreateWithResponse

func (c *ClientWithResponses) ExportsCreateWithResponse(ctx context.Context, body ExportsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportsCreateResponse, error)

ExportsCreateWithResponse Create an export job with schema

Create a structured export of memories based on a provided schema.

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/exports/ (the `ExportsCreate` operationId).

func (*ClientWithResponses) ExportsListWithBodyWithResponse

func (c *ClientWithResponses) ExportsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportsListResponse, error)

ExportsListWithBodyWithResponse Export data based on filters

Get the latest memory export.

Takes 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/exports/get/ (the `ExportsList` operationId).

func (*ClientWithResponses) ExportsListWithResponse

func (c *ClientWithResponses) ExportsListWithResponse(ctx context.Context, body ExportsListJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportsListResponse, error)

ExportsListWithResponse Export data based on filters

Get the latest memory export.

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/exports/get/ (the `ExportsList` operationId).

func (*ClientWithResponses) GetDreamActivityWithResponse

func (c *ClientWithResponses) GetDreamActivityWithResponse(ctx context.Context, orgId string, projectId string, params *GetDreamActivityParams, reqEditors ...RequestEditorFn) (*GetDreamActivityResponse, error)

GetDreamActivityWithResponse Get Dream activity

Supersede/merge activity feed (newest first), keyset-paginated. Synthesis output is not included here — see the runs endpoint.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/activity/ (the `GetDreamActivity` operationId).

func (*ClientWithResponses) GetDreamConfigWithResponse

func (c *ClientWithResponses) GetDreamConfigWithResponse(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*GetDreamConfigResponse, error)

GetDreamConfigWithResponse Get Dream configuration

Retrieve the project's Dream (memory synthesis) configuration together with the plan entitlement snapshot. Dream automatically supersedes/merges memories on the add path; **Synthesis** (reflection) is the opt-in part controlled by `reflection_enabled`.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/config/ (the `GetDreamConfig` operationId).

func (*ClientWithResponses) GetDreamMemorySourcesWithResponse

func (c *ClientWithResponses) GetDreamMemorySourcesWithResponse(ctx context.Context, orgId string, projectId string, memoryId string, reqEditors ...RequestEditorFn) (*GetDreamMemorySourcesResponse, error)

GetDreamMemorySourcesWithResponse Get a synthesized memory's sources

The source memories a synthesized (pattern) memory was distilled from, for the memory drawer's provenance panel.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/memory/{memory_id}/sources/ (the `GetDreamMemorySources` operationId).

func (*ClientWithResponses) GetDreamRunMemoriesWithResponse

func (c *ClientWithResponses) GetDreamRunMemoriesWithResponse(ctx context.Context, orgId string, projectId string, runId string, params *GetDreamRunMemoriesParams, reqEditors ...RequestEditorFn) (*GetDreamRunMemoriesResponse, error)

GetDreamRunMemoriesWithResponse Get memories in a Dream run

Keyset page of the synthesized memories within a single run (for runs whose `has_more` is true).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/runs/{run_id}/memories/ (the `GetDreamRunMemories` operationId).

func (*ClientWithResponses) GetDreamRunsWithResponse

func (c *ClientWithResponses) GetDreamRunsWithResponse(ctx context.Context, orgId string, projectId string, params *GetDreamRunsParams, reqEditors ...RequestEditorFn) (*GetDreamRunsResponse, error)

GetDreamRunsWithResponse Get Dream synthesis runs

Synthesis activity grouped per run (newest first), keyset-paginated. Each run inlines its first page of synthesized memories with their sources; larger runs page the rest via the run-memories endpoint.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/runs/ (the `GetDreamRuns` operationId).

func (*ClientWithResponses) GetDreamStatsWithResponse

func (c *ClientWithResponses) GetDreamStatsWithResponse(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*GetDreamStatsResponse, error)

GetDreamStatsWithResponse Get Dream stats

Lifecycle + synthesis counts for the project's Dream dashboard, plus reflection freshness. Requires a Pro or Enterprise (CUSTOM) plan.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/stats/ (the `GetDreamStats` operationId).

func (*ClientWithResponses) GetOrganizationMembersWithResponse

func (c *ClientWithResponses) GetOrganizationMembersWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrganizationMembersResponse, error)

GetOrganizationMembersWithResponse Get organization members

Retrieve a list of members for a specific organization.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/orgs/organizations/{org_id}/members/ (the `GetOrganizationMembers` operationId).

func (*ClientWithResponses) GetOrganizationWithResponse

func (c *ClientWithResponses) GetOrganizationWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetOrganizationResponse, error)

GetOrganizationWithResponse performs a GET /api/v1/orgs/organizations/{org_id}/ (the `GetOrganization` operationId) request.

Get a organization.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) GetProjectMembersWithResponse

func (c *ClientWithResponses) GetProjectMembersWithResponse(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*GetProjectMembersResponse, error)

GetProjectMembersWithResponse Get Project Members

Retrieve a list of members for a specific project.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `GetProjectMembers` operationId).

func (*ClientWithResponses) GetProjectWebhooksWithResponse

func (c *ClientWithResponses) GetProjectWebhooksWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*GetProjectWebhooksResponse, error)

GetProjectWebhooksWithResponse Get Project Webhooks

Retrieve all webhooks for a specific project.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/webhooks/projects/{project_id}/ (the `GetProjectWebhooks` operationId).

func (*ClientWithResponses) GetProjectWithResponse

func (c *ClientWithResponses) GetProjectWithResponse(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)

GetProjectWithResponse Get project details

Retrieve details of a specific project within an organization.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/ (the `GetProject` operationId).

func (*ClientWithResponses) GetProjectsWithResponse

func (c *ClientWithResponses) GetProjectsWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)

GetProjectsWithResponse Get projects

Retrieve a list of projects for a specific organization.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/ (the `GetProjects` operationId).

func (*ClientWithResponses) MemoriesAddV3WithBodyWithResponse

func (c *ClientWithResponses) MemoriesAddV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesAddV3Response, error)

MemoriesAddV3WithBodyWithResponse Add memories (V3)

Extract and store memories from a conversation using the V3 additive pipeline. Entity IDs (`user_id` / `agent_id` / `run_id`) are accepted at the top level. At least one entity ID is required so the memory is scoped to a session.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v3/memories/add/ (the `MemoriesAddV3` operationId).

func (*ClientWithResponses) MemoriesAddV3WithResponse

func (c *ClientWithResponses) MemoriesAddV3WithResponse(ctx context.Context, body MemoriesAddV3JSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesAddV3Response, error)

MemoriesAddV3WithResponse Add memories (V3)

Extract and store memories from a conversation using the V3 additive pipeline. Entity IDs (`user_id` / `agent_id` / `run_id`) are accepted at the top level. At least one entity ID is required so the memory is scoped to a session.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v3/memories/add/ (the `MemoriesAddV3` operationId).

func (*ClientWithResponses) MemoriesBatchDeleteWithBodyWithResponse

func (c *ClientWithResponses) MemoriesBatchDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesBatchDeleteResponse, error)

MemoriesBatchDeleteWithBodyWithResponse performs a DELETE /v1/batch/ (the `MemoriesBatchDelete` operationId) request, with any type of body and a specified content type.

Batch delete multiple memories (up to 1000) in a single API call.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) MemoriesBatchDeleteWithResponse

func (c *ClientWithResponses) MemoriesBatchDeleteWithResponse(ctx context.Context, body MemoriesBatchDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesBatchDeleteResponse, error)

MemoriesBatchDeleteWithResponse performs a DELETE /v1/batch/ (the `MemoriesBatchDelete` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Batch delete multiple memories (up to 1000) in a single API call.

func (*ClientWithResponses) MemoriesBatchUpdateWithBodyWithResponse

func (c *ClientWithResponses) MemoriesBatchUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesBatchUpdateResponse, error)

MemoriesBatchUpdateWithBodyWithResponse performs a PUT /v1/batch/ (the `MemoriesBatchUpdate` operationId) request, with any type of body and a specified content type.

Batch update multiple memories (up to 1000) in a single API call.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) MemoriesBatchUpdateWithResponse

func (c *ClientWithResponses) MemoriesBatchUpdateWithResponse(ctx context.Context, body MemoriesBatchUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesBatchUpdateResponse, error)

MemoriesBatchUpdateWithResponse performs a PUT /v1/batch/ (the `MemoriesBatchUpdate` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Batch update multiple memories (up to 1000) in a single API call.

func (*ClientWithResponses) MemoriesCreateWithBodyWithResponse deprecated

func (c *ClientWithResponses) MemoriesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesCreateResponse, error)

MemoriesCreateWithBodyWithResponse performs a POST /v1/memories/ (the `MemoriesCreate` operationId) request, with any type of body and a specified content type.

Add memories.

Returns a wrapper object for the known response body format(s).

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

func (*ClientWithResponses) MemoriesCreateWithResponse

func (c *ClientWithResponses) MemoriesCreateWithResponse(ctx context.Context, body MemoriesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesCreateResponse, error)

MemoriesCreateWithResponse performs a POST /v1/memories/ (the `MemoriesCreate` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Add memories. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) MemoriesDeleteAllWithResponse

func (c *ClientWithResponses) MemoriesDeleteAllWithResponse(ctx context.Context, params *MemoriesDeleteAllParams, reqEditors ...RequestEditorFn) (*MemoriesDeleteAllResponse, error)

MemoriesDeleteAllWithResponse performs a DELETE /v1/memories/ (the `MemoriesDeleteAll` operationId) request.

Delete memories by filter. At least one filter is required. Previously, omitting all filters silently deleted everything; now it returns a validation error.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) MemoriesDeleteWithResponse

func (c *ClientWithResponses) MemoriesDeleteWithResponse(ctx context.Context, memoryId openapi_types.UUID, params *MemoriesDeleteParams, reqEditors ...RequestEditorFn) (*MemoriesDeleteResponse, error)

MemoriesDeleteWithResponse performs a DELETE /v1/memories/{memory_id}/ (the `MemoriesDelete` operationId) request.

Delete a memory.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) MemoriesEntityReadWithResponse

func (c *ClientWithResponses) MemoriesEntityReadWithResponse(ctx context.Context, entityType MemoriesEntityReadParamsEntityType, entityId string, params *MemoriesEntityReadParams, reqEditors ...RequestEditorFn) (*MemoriesEntityReadResponse, error)

MemoriesEntityReadWithResponse performs a GET /v1/memories/{entity_type}/{entity_id}/ (the `MemoriesEntityRead` operationId) request.

Returns a paginated list of memories belonging to the given entity.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) MemoriesEventsListWithResponse

func (c *ClientWithResponses) MemoriesEventsListWithResponse(ctx context.Context, params *MemoriesEventsListParams, reqEditors ...RequestEditorFn) (*MemoriesEventsListResponse, error)

MemoriesEventsListWithResponse performs a GET /v1/memories/events/ (the `MemoriesEventsList` operationId) request.

Despite the endpoint name, this returns memory history entries (the same shape as `GET /v1/memories/{memory_id}/history/`), not event/ingestion-job records. For event/ingestion-job status, use `GET /v1/event/{event_id}/`.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) MemoriesHistoryListWithResponse

func (c *ClientWithResponses) MemoriesHistoryListWithResponse(ctx context.Context, memoryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*MemoriesHistoryListResponse, error)

MemoriesHistoryListWithResponse performs a GET /v1/memories/{memory_id}/history/ (the `MemoriesHistoryList` operationId) request.

Retrieve the history of a memory.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) MemoriesListV2WithBodyWithResponse deprecated

func (c *ClientWithResponses) MemoriesListV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesListV2Response, error)

MemoriesListV2WithBodyWithResponse performs a POST /v2/memories/ (the `MemoriesListV2` operationId) request, with any type of body and a specified content type.

Get all memories.

Returns a wrapper object for the known response body format(s).

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

func (*ClientWithResponses) MemoriesListV2WithResponse

func (c *ClientWithResponses) MemoriesListV2WithResponse(ctx context.Context, body MemoriesListV2JSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesListV2Response, error)

MemoriesListV2WithResponse performs a POST /v2/memories/ (the `MemoriesListV2` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Get all memories. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) MemoriesListV3WithBodyWithResponse

func (c *ClientWithResponses) MemoriesListV3WithBodyWithResponse(ctx context.Context, params *MemoriesListV3Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesListV3Response, error)

MemoriesListV3WithBodyWithResponse Get all memories (V3, paginated)

List memories scoped by filters, paginated. Entity IDs **must** be passed inside the `filters` object. Top-level `user_id` / `agent_id` / `run_id` are rejected with 400. `filters` supports the same operator set as V2 search (`AND`, `OR`, `NOT`, `in`, `gte`, `lte`, etc.). Response is a paginated envelope; pass `page` and `page_size` as query parameters to step through results.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v3/memories/ (the `MemoriesListV3` operationId).

func (*ClientWithResponses) MemoriesListV3WithResponse

func (c *ClientWithResponses) MemoriesListV3WithResponse(ctx context.Context, params *MemoriesListV3Params, body MemoriesListV3JSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesListV3Response, error)

MemoriesListV3WithResponse Get all memories (V3, paginated)

List memories scoped by filters, paginated. Entity IDs **must** be passed inside the `filters` object. Top-level `user_id` / `agent_id` / `run_id` are rejected with 400. `filters` supports the same operator set as V2 search (`AND`, `OR`, `NOT`, `in`, `gte`, `lte`, etc.). Response is a paginated envelope; pass `page` and `page_size` as query parameters to step through results.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v3/memories/ (the `MemoriesListV3` operationId).

func (*ClientWithResponses) MemoriesListWithResponse deprecated

func (c *ClientWithResponses) MemoriesListWithResponse(ctx context.Context, params *MemoriesListParams, reqEditors ...RequestEditorFn) (*MemoriesListResponse, error)

MemoriesListWithResponse performs a GET /v1/memories/ (the `MemoriesList` operationId) request.

Get all memories.

Returns a wrapper object for the known response body format(s).

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

func (*ClientWithResponses) MemoriesReadWithResponse

func (c *ClientWithResponses) MemoriesReadWithResponse(ctx context.Context, memoryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*MemoriesReadResponse, error)

MemoriesReadWithResponse performs a GET /v1/memories/{memory_id}/ (the `MemoriesRead` operationId) request.

Get a memory.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) MemoriesSearchCreateWithBodyWithResponse deprecated

func (c *ClientWithResponses) MemoriesSearchCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesSearchCreateResponse, error)

MemoriesSearchCreateWithBodyWithResponse performs a POST /v1/memories/search/ (the `MemoriesSearchCreate` operationId) request, with any type of body and a specified content type.

Perform a semantic search on memories.

Returns a wrapper object for the known response body format(s).

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

func (*ClientWithResponses) MemoriesSearchCreateWithResponse

func (c *ClientWithResponses) MemoriesSearchCreateWithResponse(ctx context.Context, body MemoriesSearchCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesSearchCreateResponse, error)

MemoriesSearchCreateWithResponse performs a POST /v1/memories/search/ (the `MemoriesSearchCreate` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Perform a semantic search on memories. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) MemoriesSearchV2WithBodyWithResponse deprecated

func (c *ClientWithResponses) MemoriesSearchV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesSearchV2Response, error)

MemoriesSearchV2WithBodyWithResponse performs a POST /v2/memories/search/ (the `MemoriesSearchV2` operationId) request, with any type of body and a specified content type.

Search memories based on a query and filters.

Returns a wrapper object for the known response body format(s).

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

func (*ClientWithResponses) MemoriesSearchV2WithResponse

func (c *ClientWithResponses) MemoriesSearchV2WithResponse(ctx context.Context, body MemoriesSearchV2JSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesSearchV2Response, error)

MemoriesSearchV2WithResponse performs a POST /v2/memories/search/ (the `MemoriesSearchV2` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Search memories based on a query and filters. Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set

func (*ClientWithResponses) MemoriesSearchV3WithBodyWithResponse

func (c *ClientWithResponses) MemoriesSearchV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesSearchV3Response, error)

MemoriesSearchV3WithBodyWithResponse Search memories (V3)

Relevance-ranked search across stored memories. V3 uses hybrid retrieval and can also apply temporal reasoning for time-aware queries. Entity IDs **must** be passed inside the `filters` object. Top-level `user_id` / `agent_id` / `run_id` are rejected with 400. At least one entity ID is required.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v3/memories/search/ (the `MemoriesSearchV3` operationId).

func (*ClientWithResponses) MemoriesSearchV3WithResponse

func (c *ClientWithResponses) MemoriesSearchV3WithResponse(ctx context.Context, body MemoriesSearchV3JSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesSearchV3Response, error)

MemoriesSearchV3WithResponse Search memories (V3)

Relevance-ranked search across stored memories. V3 uses hybrid retrieval and can also apply temporal reasoning for time-aware queries. Entity IDs **must** be passed inside the `filters` object. Top-level `user_id` / `agent_id` / `run_id` are rejected with 400. At least one entity ID is required.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v3/memories/search/ (the `MemoriesSearchV3` operationId).

func (*ClientWithResponses) MemoriesUpdateWithBodyWithResponse

func (c *ClientWithResponses) MemoriesUpdateWithBodyWithResponse(ctx context.Context, memoryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesUpdateResponse, error)

MemoriesUpdateWithBodyWithResponse performs a PUT /v1/memories/{memory_id}/ (the `MemoriesUpdate` operationId) request, with any type of body and a specified content type.

Update a memory's text, metadata, or expiration date.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) MemoriesUpdateWithResponse

func (c *ClientWithResponses) MemoriesUpdateWithResponse(ctx context.Context, memoryId openapi_types.UUID, body MemoriesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesUpdateResponse, error)

MemoriesUpdateWithResponse performs a PUT /v1/memories/{memory_id}/ (the `MemoriesUpdate` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Update a memory's text, metadata, or expiration date.

func (*ClientWithResponses) OrganizationsReadWithResponse

func (c *ClientWithResponses) OrganizationsReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OrganizationsReadResponse, error)

OrganizationsReadWithResponse performs a GET /api/v1/orgs/organizations/ (the `OrganizationsRead` operationId) request.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) PingReadWithResponse

func (c *ClientWithResponses) PingReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PingReadResponse, error)

PingReadWithResponse Check API key validity and resolve organization/project context.

Both the Python and TypeScript SDKs call this endpoint on client construction to validate the API key and resolve the default `org_id` and `project_id`.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/ping/ (the `PingRead` operationId).

func (*ClientWithResponses) ProfilesCreateJobWithBodyWithResponse

func (c *ClientWithResponses) ProfilesCreateJobWithBodyWithResponse(ctx context.Context, params *ProfilesCreateJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProfilesCreateJobResponse, error)

ProfilesCreateJobWithBodyWithResponse Generate profiles

Start one generation. `operation` says what to build:

- `sample` — up to 10 real entities, so a schema can be judged before it is used widely. These are real profiles: they are saved to those entities and count toward usage. - `trigger` — one entity, named by `entity_id`.

Send an `Idempotency-Key` header. Replaying the same key returns the same job instead of charging twice. Poll `status_url` from the response until the status is terminal.

Takes 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/profiles/jobs/ (the `ProfilesCreateJob` operationId).

func (*ClientWithResponses) ProfilesCreateJobWithResponse

ProfilesCreateJobWithResponse Generate profiles

Start one generation. `operation` says what to build:

- `sample` — up to 10 real entities, so a schema can be judged before it is used widely. These are real profiles: they are saved to those entities and count toward usage. - `trigger` — one entity, named by `entity_id`.

Send an `Idempotency-Key` header. Replaying the same key returns the same job instead of charging twice. Poll `status_url` from the response until the status is terminal.

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/profiles/jobs/ (the `ProfilesCreateJob` operationId).

func (*ClientWithResponses) ProfilesGetJobWithResponse

func (c *ClientWithResponses) ProfilesGetJobWithResponse(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*ProfilesGetJobResponse, error)

ProfilesGetJobWithResponse Read a generation job

The job nests under `job`. `total` is null until `enumeration_complete`, and `completed` is `succeeded + failed + skipped`.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/profiles/jobs/{job_id}/ (the `ProfilesGetJob` operationId).

func (*ClientWithResponses) ProfilesReadWithResponse

func (c *ClientWithResponses) ProfilesReadWithResponse(ctx context.Context, entityType ProfilesReadParamsEntityType, entityId string, reqEditors ...RequestEditorFn) (*ProfilesReadResponse, error)

ProfilesReadWithResponse Get an entity's profile

Return the memory profile for one user.

Generation is asynchronous, so a known entity that has no profile yet is a normal 200 carrying a `status`. A 404 means only that no such entity exists.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/entities/{entity_type}/{entity_id}/profile/ (the `ProfilesRead` operationId).

func (*ClientWithResponses) ProfilesSettingsReadWithResponse

func (c *ClientWithResponses) ProfilesSettingsReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ProfilesSettingsReadResponse, error)

ProfilesSettingsReadWithResponse Get profile settings

Return the profile settings for the project the API key is scoped to.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v2/profiles/settings/ (the `ProfilesSettingsRead` operationId).

func (*ClientWithResponses) ProfilesSettingsUpdateWithBodyWithResponse

func (c *ClientWithResponses) ProfilesSettingsUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProfilesSettingsUpdateResponse, error)

ProfilesSettingsUpdateWithBodyWithResponse Update profile settings

Update the project's profile settings. Only the fields present in the body are written, so one setting can change without re-sending the others.

Takes 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/profiles/settings/ (the `ProfilesSettingsUpdate` operationId).

func (*ClientWithResponses) ProfilesSettingsUpdateWithResponse

func (c *ClientWithResponses) ProfilesSettingsUpdateWithResponse(ctx context.Context, body ProfilesSettingsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ProfilesSettingsUpdateResponse, error)

ProfilesSettingsUpdateWithResponse Update profile settings

Update the project's profile settings. Only the fields present in the body are written, so one setting can change without re-sending the others.

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/profiles/settings/ (the `ProfilesSettingsUpdate` operationId).

func (*ClientWithResponses) RemoveOrganizationMemberWithBodyWithResponse

func (c *ClientWithResponses) RemoveOrganizationMemberWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveOrganizationMemberResponse, error)

RemoveOrganizationMemberWithBodyWithResponse Remove a member from the organization

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/members/ (the `RemoveOrganizationMember` operationId).

func (*ClientWithResponses) RemoveOrganizationMemberWithResponse

func (c *ClientWithResponses) RemoveOrganizationMemberWithResponse(ctx context.Context, orgId string, body RemoveOrganizationMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveOrganizationMemberResponse, error)

RemoveOrganizationMemberWithResponse Remove a member from the organization

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/members/ (the `RemoveOrganizationMember` operationId).

func (*ClientWithResponses) RunsCreateWithBodyWithResponse

func (c *ClientWithResponses) RunsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RunsCreateResponse, error)

RunsCreateWithBodyWithResponse performs a POST /v1/runs/ (the `RunsCreate` operationId) request, with any type of body and a specified content type.

Create a new Agent Run.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) RunsCreateWithResponse

func (c *ClientWithResponses) RunsCreateWithResponse(ctx context.Context, body RunsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*RunsCreateResponse, error)

RunsCreateWithResponse performs a POST /v1/runs/ (the `RunsCreate` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Create a new Agent Run.

func (*ClientWithResponses) StatsListWithResponse

func (c *ClientWithResponses) StatsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StatsListResponse, error)

StatsListWithResponse Retrieve memory-related statistics for the authenticated user.

This endpoint returns the following statistics: - Total number of memories created - Total number of search events - Total number of add events

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v1/stats/ (the `StatsList` operationId).

func (*ClientWithResponses) SubmitFeedbackWithBodyWithResponse

func (c *ClientWithResponses) SubmitFeedbackWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitFeedbackResponse, error)

SubmitFeedbackWithBodyWithResponse performs a POST /v1/feedback/ (the `SubmitFeedback` operationId) request, with any type of body and a specified content type.

Submit feedback for a memory.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) SubmitFeedbackWithResponse

func (c *ClientWithResponses) SubmitFeedbackWithResponse(ctx context.Context, body SubmitFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*SubmitFeedbackResponse, error)

SubmitFeedbackWithResponse performs a POST /v1/feedback/ (the `SubmitFeedback` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Submit feedback for a memory.

func (*ClientWithResponses) SummaryCreateWithBodyWithResponse

func (c *ClientWithResponses) SummaryCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SummaryCreateResponse, error)

SummaryCreateWithBodyWithResponse Get a summary of memories matching the given filters.

Backs the Python SDK's `client.get_summary()`. Not currently exposed by the TypeScript SDK.

Takes 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/summary/ (the `SummaryCreate` operationId).

func (*ClientWithResponses) SummaryCreateWithResponse

func (c *ClientWithResponses) SummaryCreateWithResponse(ctx context.Context, body SummaryCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SummaryCreateResponse, error)

SummaryCreateWithResponse Get a summary of memories matching the given filters.

Backs the Python SDK's `client.get_summary()`. Not currently exposed by the TypeScript SDK.

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/summary/ (the `SummaryCreate` operationId).

func (*ClientWithResponses) UpdateDreamConfigWithBodyWithResponse

func (c *ClientWithResponses) UpdateDreamConfigWithBodyWithResponse(ctx context.Context, orgId string, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDreamConfigResponse, error)

UpdateDreamConfigWithBodyWithResponse Update Dream configuration

Enable or disable Synthesis (reflection) for the project, or change the reflection mode. Requires a Pro or Enterprise (CUSTOM) plan and organization-owner permission. Synthesis is forward-only: after enabling, it only synthesizes memories added from that point on.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/config/ (the `UpdateDreamConfig` operationId).

func (*ClientWithResponses) UpdateDreamConfigWithResponse

func (c *ClientWithResponses) UpdateDreamConfigWithResponse(ctx context.Context, orgId string, projectId string, body UpdateDreamConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDreamConfigResponse, error)

UpdateDreamConfigWithResponse Update Dream configuration

Enable or disable Synthesis (reflection) for the project, or change the reflection mode. Requires a Pro or Enterprise (CUSTOM) plan and organization-owner permission. Synthesis is forward-only: after enabling, it only synthesizes memories added from that point on.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/config/ (the `UpdateDreamConfig` operationId).

func (*ClientWithResponses) UpdateOrganizationMemberRoleWithBodyWithResponse

func (c *ClientWithResponses) UpdateOrganizationMemberRoleWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationMemberRoleResponse, error)

UpdateOrganizationMemberRoleWithBodyWithResponse Update organization member role

Update the role of an existing member in a specific organization.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/orgs/organizations/{org_id}/members/ (the `UpdateOrganizationMemberRole` operationId).

func (*ClientWithResponses) UpdateOrganizationMemberRoleWithResponse

func (c *ClientWithResponses) UpdateOrganizationMemberRoleWithResponse(ctx context.Context, orgId string, body UpdateOrganizationMemberRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationMemberRoleResponse, error)

UpdateOrganizationMemberRoleWithResponse Update organization member role

Update the role of an existing member in a specific organization.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/orgs/organizations/{org_id}/members/ (the `UpdateOrganizationMemberRole` operationId).

func (*ClientWithResponses) UpdateProjectMemberWithBodyWithResponse

func (c *ClientWithResponses) UpdateProjectMemberWithBodyWithResponse(ctx context.Context, orgId string, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectMemberResponse, error)

UpdateProjectMemberWithBodyWithResponse Update project member role

Update the role of a member in a specific project within an organization.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `UpdateProjectMember` operationId).

func (*ClientWithResponses) UpdateProjectMemberWithResponse

func (c *ClientWithResponses) UpdateProjectMemberWithResponse(ctx context.Context, orgId string, projectId string, body UpdateProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectMemberResponse, error)

UpdateProjectMemberWithResponse Update project member role

Update the role of a member in a specific project within an organization.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `UpdateProjectMember` operationId).

func (*ClientWithResponses) UpdateProjectWithBodyWithResponse

func (c *ClientWithResponses) UpdateProjectWithBodyWithResponse(ctx context.Context, orgId string, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)

UpdateProjectWithBodyWithResponse Update Project

Update a specific project's settings.

Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v1/orgs/organizations/{org_id}/projects/{project_id}/ (the `UpdateProject` operationId).

func (*ClientWithResponses) UpdateProjectWithResponse

func (c *ClientWithResponses) UpdateProjectWithResponse(ctx context.Context, orgId string, projectId string, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)

UpdateProjectWithResponse Update Project

Update a specific project's settings.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /api/v1/orgs/organizations/{org_id}/projects/{project_id}/ (the `UpdateProject` operationId).

func (*ClientWithResponses) UpdateWebhookWithBodyWithResponse

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

UpdateWebhookWithBodyWithResponse Update Webhook

Update an existing webhook.

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 /api/v1/webhooks/{webhook_id}/ (the `UpdateWebhook` operationId).

func (*ClientWithResponses) UpdateWebhookWithResponse

func (c *ClientWithResponses) UpdateWebhookWithResponse(ctx context.Context, webhookId string, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

UpdateWebhookWithResponse Update Webhook

Update an existing webhook.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PUT /api/v1/webhooks/{webhook_id}/ (the `UpdateWebhook` operationId).

func (*ClientWithResponses) UsersCreateWithBodyWithResponse

func (c *ClientWithResponses) UsersCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersCreateResponse, error)

UsersCreateWithBodyWithResponse performs a POST /v1/users/ (the `UsersCreate` operationId) request, with any type of body and a specified content type.

Create a new User.

Returns a wrapper object for the known response body format(s).

func (*ClientWithResponses) UsersCreateWithResponse

func (c *ClientWithResponses) UsersCreateWithResponse(ctx context.Context, body UsersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersCreateResponse, error)

UsersCreateWithResponse performs a POST /v1/users/ (the `UsersCreate` operationId) request. Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Create a new User.

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// OrganizationsReadWithResponse performs a GET /api/v1/orgs/organizations/ (the `OrganizationsRead` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	OrganizationsReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*OrganizationsReadResponse, error)

	// CreateOrganizationWithBodyWithResponse performs a POST /api/v1/orgs/organizations/ (the `CreateOrganization` operationId) request,
	// with any type of body and a specified content type.
	//
	// Create a new organization.
	//
	// Returns a wrapper object for the known response body format(s).
	CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)

	// CreateOrganizationWithResponse performs a POST /api/v1/orgs/organizations/ (the `CreateOrganization` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Create a new organization.
	CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)

	// DeleteOrganizationWithResponse Delete an organization
	//
	// Delete an organization by its ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/ (the `DeleteOrganization` operationId).
	DeleteOrganizationWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationResponse, error)

	// GetOrganizationWithResponse performs a GET /api/v1/orgs/organizations/{org_id}/ (the `GetOrganization` operationId) request.
	//
	// Get a organization.
	//
	// Returns a wrapper object for the known response body format(s).
	GetOrganizationWithResponse(ctx context.Context, orgId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetOrganizationResponse, error)

	// RemoveOrganizationMemberWithBodyWithResponse Remove a member from the organization
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/members/ (the `RemoveOrganizationMember` operationId).
	RemoveOrganizationMemberWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveOrganizationMemberResponse, error)

	// RemoveOrganizationMemberWithResponse Remove a member from the organization
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/members/ (the `RemoveOrganizationMember` operationId).
	RemoveOrganizationMemberWithResponse(ctx context.Context, orgId string, body RemoveOrganizationMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveOrganizationMemberResponse, error)

	// GetOrganizationMembersWithResponse Get organization members
	//
	// Retrieve a list of members for a specific organization.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/members/ (the `GetOrganizationMembers` operationId).
	GetOrganizationMembersWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetOrganizationMembersResponse, error)

	// AddOrganizationMemberWithBodyWithResponse Add organization member
	//
	// Add a new member to a specific organization.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/orgs/organizations/{org_id}/members/ (the `AddOrganizationMember` operationId).
	AddOrganizationMemberWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddOrganizationMemberResponse, error)

	// AddOrganizationMemberWithResponse Add organization member
	//
	// Add a new member to a specific organization.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/orgs/organizations/{org_id}/members/ (the `AddOrganizationMember` operationId).
	AddOrganizationMemberWithResponse(ctx context.Context, orgId string, body AddOrganizationMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*AddOrganizationMemberResponse, error)

	// UpdateOrganizationMemberRoleWithBodyWithResponse Update organization member role
	//
	// Update the role of an existing member in a specific organization.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/orgs/organizations/{org_id}/members/ (the `UpdateOrganizationMemberRole` operationId).
	UpdateOrganizationMemberRoleWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationMemberRoleResponse, error)

	// UpdateOrganizationMemberRoleWithResponse Update organization member role
	//
	// Update the role of an existing member in a specific organization.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/orgs/organizations/{org_id}/members/ (the `UpdateOrganizationMemberRole` operationId).
	UpdateOrganizationMemberRoleWithResponse(ctx context.Context, orgId string, body UpdateOrganizationMemberRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationMemberRoleResponse, error)

	// GetProjectsWithResponse Get projects
	//
	// Retrieve a list of projects for a specific organization.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/ (the `GetProjects` operationId).
	GetProjectsWithResponse(ctx context.Context, orgId string, reqEditors ...RequestEditorFn) (*GetProjectsResponse, error)

	// CreateProjectWithBodyWithResponse Create project
	//
	// Create a new project within an organization.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/ (the `CreateProject` operationId).
	CreateProjectWithBodyWithResponse(ctx context.Context, orgId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

	// CreateProjectWithResponse Create project
	//
	// Create a new project within an organization.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/ (the `CreateProject` operationId).
	CreateProjectWithResponse(ctx context.Context, orgId string, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

	// DeleteProjectWithResponse Delete Project
	//
	// Delete a specific project and its related data.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/projects/{project_id}/ (the `DeleteProject` operationId).
	DeleteProjectWithResponse(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)

	// GetProjectWithResponse Get project details
	//
	// Retrieve details of a specific project within an organization.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/ (the `GetProject` operationId).
	GetProjectWithResponse(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)

	// UpdateProjectWithBodyWithResponse Update Project
	//
	// Update a specific project's settings.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v1/orgs/organizations/{org_id}/projects/{project_id}/ (the `UpdateProject` operationId).
	UpdateProjectWithBodyWithResponse(ctx context.Context, orgId string, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)

	// UpdateProjectWithResponse Update Project
	//
	// Update a specific project's settings.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v1/orgs/organizations/{org_id}/projects/{project_id}/ (the `UpdateProject` operationId).
	UpdateProjectWithResponse(ctx context.Context, orgId string, projectId string, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)

	// GetDreamActivityWithResponse Get Dream activity
	//
	// Supersede/merge activity feed (newest first), keyset-paginated. Synthesis output is not included here — see the runs endpoint.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/activity/ (the `GetDreamActivity` operationId).
	GetDreamActivityWithResponse(ctx context.Context, orgId string, projectId string, params *GetDreamActivityParams, reqEditors ...RequestEditorFn) (*GetDreamActivityResponse, error)

	// GetDreamConfigWithResponse Get Dream configuration
	//
	// Retrieve the project's Dream (memory synthesis) configuration together with the plan entitlement snapshot. Dream automatically supersedes/merges memories on the add path; **Synthesis** (reflection) is the opt-in part controlled by `reflection_enabled`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/config/ (the `GetDreamConfig` operationId).
	GetDreamConfigWithResponse(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*GetDreamConfigResponse, error)

	// UpdateDreamConfigWithBodyWithResponse Update Dream configuration
	//
	// Enable or disable Synthesis (reflection) for the project, or change the reflection mode. Requires a Pro or Enterprise (CUSTOM) plan and organization-owner permission. Synthesis is forward-only: after enabling, it only synthesizes memories added from that point on.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/config/ (the `UpdateDreamConfig` operationId).
	UpdateDreamConfigWithBodyWithResponse(ctx context.Context, orgId string, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDreamConfigResponse, error)

	// UpdateDreamConfigWithResponse Update Dream configuration
	//
	// Enable or disable Synthesis (reflection) for the project, or change the reflection mode. Requires a Pro or Enterprise (CUSTOM) plan and organization-owner permission. Synthesis is forward-only: after enabling, it only synthesizes memories added from that point on.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/config/ (the `UpdateDreamConfig` operationId).
	UpdateDreamConfigWithResponse(ctx context.Context, orgId string, projectId string, body UpdateDreamConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDreamConfigResponse, error)

	// GetDreamMemorySourcesWithResponse Get a synthesized memory's sources
	//
	// The source memories a synthesized (pattern) memory was distilled from, for the memory drawer's provenance panel.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/memory/{memory_id}/sources/ (the `GetDreamMemorySources` operationId).
	GetDreamMemorySourcesWithResponse(ctx context.Context, orgId string, projectId string, memoryId string, reqEditors ...RequestEditorFn) (*GetDreamMemorySourcesResponse, error)

	// DreamPreviewWithResponse Preview Dream scope
	//
	// A no-write preview of the scope Dream synthesis would analyze for the project (a capped sample plus the count of users with enough memories to benefit). Never runs the LLM and never mutates anything.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/preview/ (the `DreamPreview` operationId).
	DreamPreviewWithResponse(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*DreamPreviewResponse, error)

	// GetDreamRunsWithResponse Get Dream synthesis runs
	//
	// Synthesis activity grouped per run (newest first), keyset-paginated. Each run inlines its first page of synthesized memories with their sources; larger runs page the rest via the run-memories endpoint.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/runs/ (the `GetDreamRuns` operationId).
	GetDreamRunsWithResponse(ctx context.Context, orgId string, projectId string, params *GetDreamRunsParams, reqEditors ...RequestEditorFn) (*GetDreamRunsResponse, error)

	// GetDreamRunMemoriesWithResponse Get memories in a Dream run
	//
	// Keyset page of the synthesized memories within a single run (for runs whose `has_more` is true).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/runs/{run_id}/memories/ (the `GetDreamRunMemories` operationId).
	GetDreamRunMemoriesWithResponse(ctx context.Context, orgId string, projectId string, runId string, params *GetDreamRunMemoriesParams, reqEditors ...RequestEditorFn) (*GetDreamRunMemoriesResponse, error)

	// GetDreamStatsWithResponse Get Dream stats
	//
	// Lifecycle + synthesis counts for the project's Dream dashboard, plus reflection freshness. Requires a Pro or Enterprise (CUSTOM) plan.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/dream/stats/ (the `GetDreamStats` operationId).
	GetDreamStatsWithResponse(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*GetDreamStatsResponse, error)

	// DeleteProjectMemberWithResponse Delete Project Member
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `DeleteProjectMember` operationId).
	DeleteProjectMemberWithResponse(ctx context.Context, orgId string, projectId string, params *DeleteProjectMemberParams, reqEditors ...RequestEditorFn) (*DeleteProjectMemberResponse, error)

	// GetProjectMembersWithResponse Get Project Members
	//
	// Retrieve a list of members for a specific project.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `GetProjectMembers` operationId).
	GetProjectMembersWithResponse(ctx context.Context, orgId string, projectId string, reqEditors ...RequestEditorFn) (*GetProjectMembersResponse, error)

	// AddProjectMemberWithBodyWithResponse Add member to project
	//
	// Add a new member to a specific project within an organization.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `AddProjectMember` operationId).
	AddProjectMemberWithBodyWithResponse(ctx context.Context, orgId string, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddProjectMemberResponse, error)

	// AddProjectMemberWithResponse Add member to project
	//
	// Add a new member to a specific project within an organization.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `AddProjectMember` operationId).
	AddProjectMemberWithResponse(ctx context.Context, orgId string, projectId string, body AddProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*AddProjectMemberResponse, error)

	// UpdateProjectMemberWithBodyWithResponse Update project member role
	//
	// Update the role of a member in a specific project within an organization.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `UpdateProjectMember` operationId).
	UpdateProjectMemberWithBodyWithResponse(ctx context.Context, orgId string, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectMemberResponse, error)

	// UpdateProjectMemberWithResponse Update project member role
	//
	// Update the role of a member in a specific project within an organization.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/orgs/organizations/{org_id}/projects/{project_id}/members/ (the `UpdateProjectMember` operationId).
	UpdateProjectMemberWithResponse(ctx context.Context, orgId string, projectId string, body UpdateProjectMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectMemberResponse, error)

	// GetProjectWebhooksWithResponse Get Project Webhooks
	//
	// Retrieve all webhooks for a specific project.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /api/v1/webhooks/projects/{project_id}/ (the `GetProjectWebhooks` operationId).
	GetProjectWebhooksWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*GetProjectWebhooksResponse, error)

	// CreateWebhookWithBodyWithResponse Create Webhook
	//
	// Create a new webhook for a specific project.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/webhooks/projects/{project_id}/ (the `CreateWebhook` operationId).
	CreateWebhookWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)

	// CreateWebhookWithResponse Create Webhook
	//
	// Create a new webhook for a specific project.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /api/v1/webhooks/projects/{project_id}/ (the `CreateWebhook` operationId).
	CreateWebhookWithResponse(ctx context.Context, projectId string, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)

	// DeleteWebhookWithResponse Delete Webhook
	//
	// Delete an existing webhook.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /api/v1/webhooks/{webhook_id}/ (the `DeleteWebhook` operationId).
	DeleteWebhookWithResponse(ctx context.Context, webhookId string, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)

	// UpdateWebhookWithBodyWithResponse Update Webhook
	//
	// Update an existing webhook.
	//
	// 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 /api/v1/webhooks/{webhook_id}/ (the `UpdateWebhook` operationId).
	UpdateWebhookWithBodyWithResponse(ctx context.Context, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

	// UpdateWebhookWithResponse Update Webhook
	//
	// Update an existing webhook.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PUT /api/v1/webhooks/{webhook_id}/ (the `UpdateWebhook` operationId).
	UpdateWebhookWithResponse(ctx context.Context, webhookId string, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

	// AgentsCreateWithBodyWithResponse performs a POST /v1/agents/ (the `AgentsCreate` operationId) request,
	// with any type of body and a specified content type.
	//
	// Create a new Agent.
	//
	// Returns a wrapper object for the known response body format(s).
	AgentsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AgentsCreateResponse, error)

	// AgentsCreateWithResponse performs a POST /v1/agents/ (the `AgentsCreate` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Create a new Agent.
	AgentsCreateWithResponse(ctx context.Context, body AgentsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AgentsCreateResponse, error)

	// AppsCreateWithBodyWithResponse performs a POST /v1/apps/ (the `AppsCreate` operationId) request,
	// with any type of body and a specified content type.
	//
	// Create a new App.
	//
	// Returns a wrapper object for the known response body format(s).
	AppsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppsCreateResponse, error)

	// AppsCreateWithResponse performs a POST /v1/apps/ (the `AppsCreate` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Create a new App.
	AppsCreateWithResponse(ctx context.Context, body AppsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*AppsCreateResponse, error)

	// MemoriesBatchDeleteWithBodyWithResponse performs a DELETE /v1/batch/ (the `MemoriesBatchDelete` operationId) request,
	// with any type of body and a specified content type.
	//
	// Batch delete multiple memories (up to 1000) in a single API call.
	//
	// Returns a wrapper object for the known response body format(s).
	MemoriesBatchDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesBatchDeleteResponse, error)

	// MemoriesBatchDeleteWithResponse performs a DELETE /v1/batch/ (the `MemoriesBatchDelete` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Batch delete multiple memories (up to 1000) in a single API call.
	MemoriesBatchDeleteWithResponse(ctx context.Context, body MemoriesBatchDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesBatchDeleteResponse, error)

	// MemoriesBatchUpdateWithBodyWithResponse performs a PUT /v1/batch/ (the `MemoriesBatchUpdate` operationId) request,
	// with any type of body and a specified content type.
	//
	// Batch update multiple memories (up to 1000) in a single API call.
	//
	// Returns a wrapper object for the known response body format(s).
	MemoriesBatchUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesBatchUpdateResponse, error)

	// MemoriesBatchUpdateWithResponse performs a PUT /v1/batch/ (the `MemoriesBatchUpdate` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Batch update multiple memories (up to 1000) in a single API call.
	MemoriesBatchUpdateWithResponse(ctx context.Context, body MemoriesBatchUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesBatchUpdateResponse, error)

	// EntitiesListWithResponse performs a GET /v1/entities/ (the `EntitiesList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	EntitiesListWithResponse(ctx context.Context, params *EntitiesListParams, reqEditors ...RequestEditorFn) (*EntitiesListResponse, error)

	// EntitiesFiltersListWithResponse performs a GET /v1/entities/filters/ (the `EntitiesFiltersList` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	EntitiesFiltersListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EntitiesFiltersListResponse, error)

	// EntitiesDeleteV1WithResponse performs a DELETE /v1/entities/{entity_type}/{entity_id}/ (the `EntitiesDeleteV1` operationId) request.
	//
	// Delete an entity by its numeric ID. Deprecated in favor of `DELETE /v2/entities/{entity_type}/{entity_id}/`, which takes the entity's string name instead of this numeric ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	EntitiesDeleteV1WithResponse(ctx context.Context, entityType EntitiesDeleteV1ParamsEntityType, entityId int, reqEditors ...RequestEditorFn) (*EntitiesDeleteV1Response, error)

	// EventReadWithResponse Retrieve details of a specific event by its ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/event/{event_id}/ (the `EventRead` operationId).
	EventReadWithResponse(ctx context.Context, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*EventReadResponse, error)

	// EventsListWithResponse Retrieve all events for current organization and project.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/events/ (the `EventsList` operationId).
	EventsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EventsListResponse, error)

	// ExportsCreateWithBodyWithResponse Create an export job with schema
	//
	// Create a structured export of memories based on a provided schema.
	//
	// Takes 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/exports/ (the `ExportsCreate` operationId).
	ExportsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportsCreateResponse, error)

	// ExportsCreateWithResponse Create an export job with schema
	//
	// Create a structured export of memories based on a provided schema.
	//
	// 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/exports/ (the `ExportsCreate` operationId).
	ExportsCreateWithResponse(ctx context.Context, body ExportsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportsCreateResponse, error)

	// ExportsListWithBodyWithResponse Export data based on filters
	//
	// Get the latest memory export.
	//
	// Takes 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/exports/get/ (the `ExportsList` operationId).
	ExportsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExportsListResponse, error)

	// ExportsListWithResponse Export data based on filters
	//
	// Get the latest memory export.
	//
	// 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/exports/get/ (the `ExportsList` operationId).
	ExportsListWithResponse(ctx context.Context, body ExportsListJSONRequestBody, reqEditors ...RequestEditorFn) (*ExportsListResponse, error)

	// SubmitFeedbackWithBodyWithResponse performs a POST /v1/feedback/ (the `SubmitFeedback` operationId) request,
	// with any type of body and a specified content type.
	//
	// Submit feedback for a memory.
	//
	// Returns a wrapper object for the known response body format(s).
	SubmitFeedbackWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SubmitFeedbackResponse, error)

	// SubmitFeedbackWithResponse performs a POST /v1/feedback/ (the `SubmitFeedback` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Submit feedback for a memory.
	SubmitFeedbackWithResponse(ctx context.Context, body SubmitFeedbackJSONRequestBody, reqEditors ...RequestEditorFn) (*SubmitFeedbackResponse, error)

	// MemoriesDeleteAllWithResponse performs a DELETE /v1/memories/ (the `MemoriesDeleteAll` operationId) request.
	//
	// Delete memories by filter. At least one filter is required. Previously, omitting all filters silently deleted everything; now it returns a validation error.
	//
	// Returns a wrapper object for the known response body format(s).
	MemoriesDeleteAllWithResponse(ctx context.Context, params *MemoriesDeleteAllParams, reqEditors ...RequestEditorFn) (*MemoriesDeleteAllResponse, error)

	// MemoriesListWithResponse performs a GET /v1/memories/ (the `MemoriesList` operationId) request.
	//
	// Get all memories.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MemoriesListWithResponse(ctx context.Context, params *MemoriesListParams, reqEditors ...RequestEditorFn) (*MemoriesListResponse, error)

	// MemoriesCreateWithBodyWithResponse performs a POST /v1/memories/ (the `MemoriesCreate` operationId) request,
	// with any type of body and a specified content type.
	//
	// Add memories.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MemoriesCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesCreateResponse, error)

	// MemoriesCreateWithResponse performs a POST /v1/memories/ (the `MemoriesCreate` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Add memories.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MemoriesCreateWithResponse(ctx context.Context, body MemoriesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesCreateResponse, error)

	// MemoriesEventsListWithResponse performs a GET /v1/memories/events/ (the `MemoriesEventsList` operationId) request.
	//
	// Despite the endpoint name, this returns memory history entries (the same shape as `GET /v1/memories/{memory_id}/history/`), not event/ingestion-job records. For event/ingestion-job status, use `GET /v1/event/{event_id}/`.
	//
	// Returns a wrapper object for the known response body format(s).
	MemoriesEventsListWithResponse(ctx context.Context, params *MemoriesEventsListParams, reqEditors ...RequestEditorFn) (*MemoriesEventsListResponse, error)

	// MemoriesSearchCreateWithBodyWithResponse performs a POST /v1/memories/search/ (the `MemoriesSearchCreate` operationId) request,
	// with any type of body and a specified content type.
	//
	// Perform a semantic search on memories.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MemoriesSearchCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesSearchCreateResponse, error)

	// MemoriesSearchCreateWithResponse performs a POST /v1/memories/search/ (the `MemoriesSearchCreate` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Perform a semantic search on memories.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MemoriesSearchCreateWithResponse(ctx context.Context, body MemoriesSearchCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesSearchCreateResponse, error)

	// MemoriesEntityReadWithResponse performs a GET /v1/memories/{entity_type}/{entity_id}/ (the `MemoriesEntityRead` operationId) request.
	//
	// Returns a paginated list of memories belonging to the given entity.
	//
	// Returns a wrapper object for the known response body format(s).
	MemoriesEntityReadWithResponse(ctx context.Context, entityType MemoriesEntityReadParamsEntityType, entityId string, params *MemoriesEntityReadParams, reqEditors ...RequestEditorFn) (*MemoriesEntityReadResponse, error)

	// MemoriesDeleteWithResponse performs a DELETE /v1/memories/{memory_id}/ (the `MemoriesDelete` operationId) request.
	//
	// Delete a memory.
	//
	// Returns a wrapper object for the known response body format(s).
	MemoriesDeleteWithResponse(ctx context.Context, memoryId openapi_types.UUID, params *MemoriesDeleteParams, reqEditors ...RequestEditorFn) (*MemoriesDeleteResponse, error)

	// MemoriesReadWithResponse performs a GET /v1/memories/{memory_id}/ (the `MemoriesRead` operationId) request.
	//
	// Get a memory.
	//
	// Returns a wrapper object for the known response body format(s).
	MemoriesReadWithResponse(ctx context.Context, memoryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*MemoriesReadResponse, error)

	// MemoriesUpdateWithBodyWithResponse performs a PUT /v1/memories/{memory_id}/ (the `MemoriesUpdate` operationId) request,
	// with any type of body and a specified content type.
	//
	// Update a memory's text, metadata, or expiration date.
	//
	// Returns a wrapper object for the known response body format(s).
	MemoriesUpdateWithBodyWithResponse(ctx context.Context, memoryId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesUpdateResponse, error)

	// MemoriesUpdateWithResponse performs a PUT /v1/memories/{memory_id}/ (the `MemoriesUpdate` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Update a memory's text, metadata, or expiration date.
	MemoriesUpdateWithResponse(ctx context.Context, memoryId openapi_types.UUID, body MemoriesUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesUpdateResponse, error)

	// MemoriesHistoryListWithResponse performs a GET /v1/memories/{memory_id}/history/ (the `MemoriesHistoryList` operationId) request.
	//
	// Retrieve the history of a memory.
	//
	// Returns a wrapper object for the known response body format(s).
	MemoriesHistoryListWithResponse(ctx context.Context, memoryId openapi_types.UUID, reqEditors ...RequestEditorFn) (*MemoriesHistoryListResponse, error)

	// PingReadWithResponse Check API key validity and resolve organization/project context.
	//
	// Both the Python and TypeScript SDKs call this endpoint on client construction to validate the API key and resolve the default `org_id` and `project_id`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/ping/ (the `PingRead` operationId).
	PingReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PingReadResponse, error)

	// RunsCreateWithBodyWithResponse performs a POST /v1/runs/ (the `RunsCreate` operationId) request,
	// with any type of body and a specified content type.
	//
	// Create a new Agent Run.
	//
	// Returns a wrapper object for the known response body format(s).
	RunsCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RunsCreateResponse, error)

	// RunsCreateWithResponse performs a POST /v1/runs/ (the `RunsCreate` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Create a new Agent Run.
	RunsCreateWithResponse(ctx context.Context, body RunsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*RunsCreateResponse, error)

	// StatsListWithResponse Retrieve memory-related statistics for the authenticated user.
	//
	// This endpoint returns the following statistics:
	// - Total number of memories created
	// - Total number of search events
	// - Total number of add events
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v1/stats/ (the `StatsList` operationId).
	StatsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*StatsListResponse, error)

	// SummaryCreateWithBodyWithResponse Get a summary of memories matching the given filters.
	//
	// Backs the Python SDK's `client.get_summary()`. Not currently exposed by the TypeScript SDK.
	//
	// Takes 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/summary/ (the `SummaryCreate` operationId).
	SummaryCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SummaryCreateResponse, error)

	// SummaryCreateWithResponse Get a summary of memories matching the given filters.
	//
	// Backs the Python SDK's `client.get_summary()`. Not currently exposed by the TypeScript SDK.
	//
	// 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/summary/ (the `SummaryCreate` operationId).
	SummaryCreateWithResponse(ctx context.Context, body SummaryCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SummaryCreateResponse, error)

	// UsersCreateWithBodyWithResponse performs a POST /v1/users/ (the `UsersCreate` operationId) request,
	// with any type of body and a specified content type.
	//
	// Create a new User.
	//
	// Returns a wrapper object for the known response body format(s).
	UsersCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UsersCreateResponse, error)

	// UsersCreateWithResponse performs a POST /v1/users/ (the `UsersCreate` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Create a new User.
	UsersCreateWithResponse(ctx context.Context, body UsersCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UsersCreateResponse, error)

	// EntitiesDeleteWithResponse performs a DELETE /v2/entities/{entity_type}/{entity_id}/ (the `EntitiesDelete` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	EntitiesDeleteWithResponse(ctx context.Context, entityType EntitiesDeleteParamsEntityType, entityId string, reqEditors ...RequestEditorFn) (*EntitiesDeleteResponse, error)

	// EntitiesReadWithResponse performs a GET /v2/entities/{entity_type}/{entity_id}/ (the `EntitiesRead` operationId) request.
	//
	// Returns a wrapper object for the known response body format(s).
	EntitiesReadWithResponse(ctx context.Context, entityType EntitiesReadParamsEntityType, entityId string, reqEditors ...RequestEditorFn) (*EntitiesReadResponse, error)

	// ProfilesReadWithResponse Get an entity's profile
	//
	// Return the memory profile for one user.
	//
	// Generation is asynchronous, so a known entity that has no profile yet is a normal 200 carrying a `status`. A 404 means only that no such entity exists.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/entities/{entity_type}/{entity_id}/profile/ (the `ProfilesRead` operationId).
	ProfilesReadWithResponse(ctx context.Context, entityType ProfilesReadParamsEntityType, entityId string, reqEditors ...RequestEditorFn) (*ProfilesReadResponse, error)

	// MemoriesListV2WithBodyWithResponse performs a POST /v2/memories/ (the `MemoriesListV2` operationId) request,
	// with any type of body and a specified content type.
	//
	// Get all memories.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MemoriesListV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesListV2Response, error)

	// MemoriesListV2WithResponse performs a POST /v2/memories/ (the `MemoriesListV2` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Get all memories.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MemoriesListV2WithResponse(ctx context.Context, body MemoriesListV2JSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesListV2Response, error)

	// MemoriesSearchV2WithBodyWithResponse performs a POST /v2/memories/search/ (the `MemoriesSearchV2` operationId) request,
	// with any type of body and a specified content type.
	//
	// Search memories based on a query and filters.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MemoriesSearchV2WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesSearchV2Response, error)

	// MemoriesSearchV2WithResponse performs a POST /v2/memories/search/ (the `MemoriesSearchV2` operationId) request.
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Search memories based on a query and filters.
	//
	// Deprecated: this operation has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	MemoriesSearchV2WithResponse(ctx context.Context, body MemoriesSearchV2JSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesSearchV2Response, error)

	// ProfilesCreateJobWithBodyWithResponse Generate profiles
	//
	// Start one generation. `operation` says what to build:
	//
	// - `sample` — up to 10 real entities, so a schema can be judged before it is used widely. These are real profiles: they are saved to those entities and count toward usage.
	// - `trigger` — one entity, named by `entity_id`.
	//
	// Send an `Idempotency-Key` header. Replaying the same key returns the same job instead of charging twice. Poll `status_url` from the response until the status is terminal.
	//
	// Takes 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/profiles/jobs/ (the `ProfilesCreateJob` operationId).
	ProfilesCreateJobWithBodyWithResponse(ctx context.Context, params *ProfilesCreateJobParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProfilesCreateJobResponse, error)

	// ProfilesCreateJobWithResponse Generate profiles
	//
	// Start one generation. `operation` says what to build:
	//
	// - `sample` — up to 10 real entities, so a schema can be judged before it is used widely. These are real profiles: they are saved to those entities and count toward usage.
	// - `trigger` — one entity, named by `entity_id`.
	//
	// Send an `Idempotency-Key` header. Replaying the same key returns the same job instead of charging twice. Poll `status_url` from the response until the status is terminal.
	//
	// 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/profiles/jobs/ (the `ProfilesCreateJob` operationId).
	ProfilesCreateJobWithResponse(ctx context.Context, params *ProfilesCreateJobParams, body ProfilesCreateJobJSONRequestBody, reqEditors ...RequestEditorFn) (*ProfilesCreateJobResponse, error)

	// ProfilesGetJobWithResponse Read a generation job
	//
	// The job nests under `job`. `total` is null until `enumeration_complete`, and `completed` is `succeeded + failed + skipped`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/profiles/jobs/{job_id}/ (the `ProfilesGetJob` operationId).
	ProfilesGetJobWithResponse(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*ProfilesGetJobResponse, error)

	// ProfilesSettingsReadWithResponse Get profile settings
	//
	// Return the profile settings for the project the API key is scoped to.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v2/profiles/settings/ (the `ProfilesSettingsRead` operationId).
	ProfilesSettingsReadWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ProfilesSettingsReadResponse, error)

	// ProfilesSettingsUpdateWithBodyWithResponse Update profile settings
	//
	// Update the project's profile settings. Only the fields present in the body are written, so one setting can change without re-sending the others.
	//
	// Takes 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/profiles/settings/ (the `ProfilesSettingsUpdate` operationId).
	ProfilesSettingsUpdateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProfilesSettingsUpdateResponse, error)

	// ProfilesSettingsUpdateWithResponse Update profile settings
	//
	// Update the project's profile settings. Only the fields present in the body are written, so one setting can change without re-sending the others.
	//
	// 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/profiles/settings/ (the `ProfilesSettingsUpdate` operationId).
	ProfilesSettingsUpdateWithResponse(ctx context.Context, body ProfilesSettingsUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*ProfilesSettingsUpdateResponse, error)

	// MemoriesListV3WithBodyWithResponse Get all memories (V3, paginated)
	//
	// List memories scoped by filters, paginated. Entity IDs **must** be passed inside the `filters` object. Top-level `user_id` / `agent_id` / `run_id` are rejected with 400. `filters` supports the same operator set as V2 search (`AND`, `OR`, `NOT`, `in`, `gte`, `lte`, etc.). Response is a paginated envelope; pass `page` and `page_size` as query parameters to step through results.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v3/memories/ (the `MemoriesListV3` operationId).
	MemoriesListV3WithBodyWithResponse(ctx context.Context, params *MemoriesListV3Params, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesListV3Response, error)

	// MemoriesListV3WithResponse Get all memories (V3, paginated)
	//
	// List memories scoped by filters, paginated. Entity IDs **must** be passed inside the `filters` object. Top-level `user_id` / `agent_id` / `run_id` are rejected with 400. `filters` supports the same operator set as V2 search (`AND`, `OR`, `NOT`, `in`, `gte`, `lte`, etc.). Response is a paginated envelope; pass `page` and `page_size` as query parameters to step through results.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v3/memories/ (the `MemoriesListV3` operationId).
	MemoriesListV3WithResponse(ctx context.Context, params *MemoriesListV3Params, body MemoriesListV3JSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesListV3Response, error)

	// MemoriesAddV3WithBodyWithResponse Add memories (V3)
	//
	// Extract and store memories from a conversation using the V3 additive pipeline. Entity IDs (`user_id` / `agent_id` / `run_id`) are accepted at the top level. At least one entity ID is required so the memory is scoped to a session.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v3/memories/add/ (the `MemoriesAddV3` operationId).
	MemoriesAddV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesAddV3Response, error)

	// MemoriesAddV3WithResponse Add memories (V3)
	//
	// Extract and store memories from a conversation using the V3 additive pipeline. Entity IDs (`user_id` / `agent_id` / `run_id`) are accepted at the top level. At least one entity ID is required so the memory is scoped to a session.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v3/memories/add/ (the `MemoriesAddV3` operationId).
	MemoriesAddV3WithResponse(ctx context.Context, body MemoriesAddV3JSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesAddV3Response, error)

	// MemoriesSearchV3WithBodyWithResponse Search memories (V3)
	//
	// Relevance-ranked search across stored memories. V3 uses hybrid retrieval and can also apply temporal reasoning for time-aware queries. Entity IDs **must** be passed inside the `filters` object. Top-level `user_id` / `agent_id` / `run_id` are rejected with 400. At least one entity ID is required.
	//
	// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v3/memories/search/ (the `MemoriesSearchV3` operationId).
	MemoriesSearchV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MemoriesSearchV3Response, error)

	// MemoriesSearchV3WithResponse Search memories (V3)
	//
	// Relevance-ranked search across stored memories. V3 uses hybrid retrieval and can also apply temporal reasoning for time-aware queries. Entity IDs **must** be passed inside the `filters` object. Top-level `user_id` / `agent_id` / `run_id` are rejected with 400. At least one entity ID is required.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v3/memories/search/ (the `MemoriesSearchV3` operationId).
	MemoriesSearchV3WithResponse(ctx context.Context, body MemoriesSearchV3JSONRequestBody, reqEditors ...RequestEditorFn) (*MemoriesSearchV3Response, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateAgent

type CreateAgent struct {
	AgentId  string                  `json:"agent_id"`
	Metadata *map[string]interface{} `json:"metadata,omitempty"`
	Name     string                  `json:"name"`
}

CreateAgent defines model for CreateAgent.

type CreateApp

type CreateApp struct {
	AppId    string                  `json:"app_id"`
	Metadata *map[string]interface{} `json:"metadata,omitempty"`
	Name     string                  `json:"name"`
}

CreateApp defines model for CreateApp.

type CreateOrganizationJSONBody

type CreateOrganizationJSONBody struct {
	// Name Name of the new organization.
	Name string `json:"name"`
}

CreateOrganizationJSONBody defines parameters for CreateOrganization.

type CreateOrganizationJSONRequestBody

type CreateOrganizationJSONRequestBody CreateOrganizationJSONBody

CreateOrganizationJSONRequestBody defines body for CreateOrganization for application/json ContentType.

type CreateOrganizationResponse

type CreateOrganizationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *struct {
		// Message Example: Organization created successfully.
		Message *string `json:"message,omitempty"`

		// OrgId Unique identifier for the organization.
		OrgId *openapi_types.UUID `json:"org_id,omitempty"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		// Errors Errors found in the payload.
		Errors *map[string][]string `json:"errors,omitempty"`
	}
}

func ParseCreateOrganizationResponse

func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationResponse, error)

ParseCreateOrganizationResponse parses an HTTP response from a CreateOrganizationWithResponse call

func (CreateOrganizationResponse) ContentType

func (r CreateOrganizationResponse) ContentType() string

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

func (CreateOrganizationResponse) GetBody

func (r CreateOrganizationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateOrganizationResponse) GetJSON201

func (r CreateOrganizationResponse) GetJSON201() *struct {
	// Message Example: Organization created successfully.
	Message *string `json:"message,omitempty"`

	// OrgId Unique identifier for the organization.
	OrgId *openapi_types.UUID `json:"org_id,omitempty"`
}

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateOrganizationResponse) GetJSON400

func (r CreateOrganizationResponse) GetJSON400() *struct {
	// Errors Errors found in the payload.
	Errors *map[string][]string `json:"errors,omitempty"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateOrganizationResponse) Status

Status returns HTTPResponse.Status

func (CreateOrganizationResponse) StatusCode

func (r CreateOrganizationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateProjectJSONBody

type CreateProjectJSONBody struct {
	// Name Name of the project to be created
	Name string `json:"name"`
}

CreateProjectJSONBody defines parameters for CreateProject.

type CreateProjectJSONRequestBody

type CreateProjectJSONRequestBody CreateProjectJSONBody

CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.

type CreateProjectResponse

type CreateProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Message Example: Project created successfully.
		Message *string `json:"message,omitempty"`

		// ProjectId Unique identifier for the project.
		ProjectId *openapi_types.UUID `json:"project_id,omitempty"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		// Message Example: Project could not be created.
		Message *string `json:"message,omitempty"`
	}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *struct {
		// Message Example: Unauthorized to create projects in this organization.
		Message *string `json:"message,omitempty"`
	}
}

func ParseCreateProjectResponse

func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, error)

ParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call

func (CreateProjectResponse) ContentType

func (r CreateProjectResponse) ContentType() string

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

func (CreateProjectResponse) GetBody

func (r CreateProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateProjectResponse) GetJSON200

func (r CreateProjectResponse) GetJSON200() *struct {
	// Message Example: Project created successfully.
	Message *string `json:"message,omitempty"`

	// ProjectId Unique identifier for the project.
	ProjectId *openapi_types.UUID `json:"project_id,omitempty"`
}

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

func (CreateProjectResponse) GetJSON400

func (r CreateProjectResponse) GetJSON400() *struct {
	// Message Example: Project could not be created.
	Message *string `json:"message,omitempty"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateProjectResponse) GetJSON403

func (r CreateProjectResponse) GetJSON403() *struct {
	// Message Example: Unauthorized to create projects in this organization.
	Message *string `json:"message,omitempty"`
}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateProjectResponse) Status

func (r CreateProjectResponse) Status() string

Status returns HTTPResponse.Status

func (CreateProjectResponse) StatusCode

func (r CreateProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateRun

type CreateRun struct {
	Metadata *map[string]interface{} `json:"metadata,omitempty"`
	Name     string                  `json:"name"`
	RunId    string                  `json:"run_id"`
}

CreateRun defines model for CreateRun.

type CreateUser

type CreateUser struct {
	Metadata *map[string]interface{} `json:"metadata,omitempty"`
	UserId   string                  `json:"user_id"`
}

CreateUser defines model for CreateUser.

type CreateWebhookJSONBody

type CreateWebhookJSONBody struct {
	// EventTypes List of event types to subscribe to. Required: omitting this field does not fall back to a usable default.
	EventTypes []CreateWebhookJSONBodyEventTypes `json:"event_types"`

	// IsActive Whether the webhook is active
	IsActive *bool `json:"is_active,omitempty"`

	// Name Name of the webhook
	Name string `json:"name"`

	// ProjectId Unique identifier of the project.
	ProjectId *string `json:"project_id,omitempty"`

	// Url URL endpoint for the webhook.
	Url string `json:"url"`
}

CreateWebhookJSONBody defines parameters for CreateWebhook.

type CreateWebhookJSONBodyEventTypes

type CreateWebhookJSONBodyEventTypes string

CreateWebhookJSONBodyEventTypes defines parameters for CreateWebhook.

const (
	CreateWebhookJSONBodyEventTypesIngestJobCancelled          CreateWebhookJSONBodyEventTypes = "ingest_job_cancelled"
	CreateWebhookJSONBodyEventTypesIngestJobCompleted          CreateWebhookJSONBodyEventTypes = "ingest_job_completed"
	CreateWebhookJSONBodyEventTypesIngestJobFailed             CreateWebhookJSONBodyEventTypes = "ingest_job_failed"
	CreateWebhookJSONBodyEventTypesIngestJobPartiallyCompleted CreateWebhookJSONBodyEventTypes = "ingest_job_partially_completed"
	CreateWebhookJSONBodyEventTypesMemoryAdd                   CreateWebhookJSONBodyEventTypes = "memory_add"
	CreateWebhookJSONBodyEventTypesMemoryCategorize            CreateWebhookJSONBodyEventTypes = "memory_categorize"
	CreateWebhookJSONBodyEventTypesMemoryDelete                CreateWebhookJSONBodyEventTypes = "memory_delete"
	CreateWebhookJSONBodyEventTypesMemoryUpdate                CreateWebhookJSONBodyEventTypes = "memory_update"
)

Defines values for CreateWebhookJSONBodyEventTypes.

func (CreateWebhookJSONBodyEventTypes) Valid

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

type CreateWebhookJSONRequestBody

type CreateWebhookJSONRequestBody CreateWebhookJSONBody

CreateWebhookJSONRequestBody defines body for CreateWebhook for application/json ContentType.

type CreateWebhookResponse

type CreateWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *struct {
		CreatedAt  *time.Time `json:"created_at,omitempty"`
		EventTypes *[]string  `json:"event_types,omitempty"`
		IsActive   *bool      `json:"is_active,omitempty"`
		Name       *string    `json:"name,omitempty"`

		// Owner Username of the webhook's owner.
		Owner     *string    `json:"owner,omitempty"`
		Project   *string    `json:"project,omitempty"`
		UpdatedAt *time.Time `json:"updated_at,omitempty"`
		Url       *string    `json:"url,omitempty"`
		WebhookId *string    `json:"webhook_id,omitempty"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *map[string]interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *struct {
		// Error Example: You don't have access to this project
		Error *string `json:"error,omitempty"`
	}
}

func ParseCreateWebhookResponse

func ParseCreateWebhookResponse(rsp *http.Response) (*CreateWebhookResponse, error)

ParseCreateWebhookResponse parses an HTTP response from a CreateWebhookWithResponse call

func (CreateWebhookResponse) ContentType

func (r CreateWebhookResponse) ContentType() string

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

func (CreateWebhookResponse) GetBody

func (r CreateWebhookResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (CreateWebhookResponse) GetJSON201

func (r CreateWebhookResponse) GetJSON201() *struct {
	CreatedAt  *time.Time `json:"created_at,omitempty"`
	EventTypes *[]string  `json:"event_types,omitempty"`
	IsActive   *bool      `json:"is_active,omitempty"`
	Name       *string    `json:"name,omitempty"`

	// Owner Username of the webhook's owner.
	Owner     *string    `json:"owner,omitempty"`
	Project   *string    `json:"project,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	Url       *string    `json:"url,omitempty"`
	WebhookId *string    `json:"webhook_id,omitempty"`
}

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (CreateWebhookResponse) GetJSON400

func (r CreateWebhookResponse) GetJSON400() *map[string]interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (CreateWebhookResponse) GetJSON403

func (r CreateWebhookResponse) GetJSON403() *struct {
	// Error Example: You don't have access to this project
	Error *string `json:"error,omitempty"`
}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (CreateWebhookResponse) Status

func (r CreateWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (CreateWebhookResponse) StatusCode

func (r CreateWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOrganizationResponse

type DeleteOrganizationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Message Example: Organization deleted successfully!
		Message *string `json:"message,omitempty"`
	}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *struct {
		// Message Example: Unauthorized
		Message *string `json:"message,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Message Example: Organization not found
		Message *string `json:"message,omitempty"`
	}
}

func ParseDeleteOrganizationResponse

func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationResponse, error)

ParseDeleteOrganizationResponse parses an HTTP response from a DeleteOrganizationWithResponse call

func (DeleteOrganizationResponse) ContentType

func (r DeleteOrganizationResponse) ContentType() string

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

func (DeleteOrganizationResponse) GetBody

func (r DeleteOrganizationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteOrganizationResponse) GetJSON200

func (r DeleteOrganizationResponse) GetJSON200() *struct {
	// Message Example: Organization deleted successfully!
	Message *string `json:"message,omitempty"`
}

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

func (DeleteOrganizationResponse) GetJSON403

func (r DeleteOrganizationResponse) GetJSON403() *struct {
	// Message Example: Unauthorized
	Message *string `json:"message,omitempty"`
}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteOrganizationResponse) GetJSON404

func (r DeleteOrganizationResponse) GetJSON404() *struct {
	// Message Example: Organization not found
	Message *string `json:"message,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteOrganizationResponse) Status

Status returns HTTPResponse.Status

func (DeleteOrganizationResponse) StatusCode

func (r DeleteOrganizationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteProjectMemberParams

type DeleteProjectMemberParams struct {
	// Email Email of the member to be removed
	Email string `form:"email" json:"email"`
}

DeleteProjectMemberParams defines parameters for DeleteProjectMember.

type DeleteProjectMemberResponse

type DeleteProjectMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Message Example: Member removed from the project
		Message *string `json:"message,omitempty"`
	}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *struct {
		// Message Example: Unauthorized to modify project members.
		Message *string `json:"message,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Message Example: Organization or project not found
		Message *string `json:"message,omitempty"`
	}
}

func ParseDeleteProjectMemberResponse

func ParseDeleteProjectMemberResponse(rsp *http.Response) (*DeleteProjectMemberResponse, error)

ParseDeleteProjectMemberResponse parses an HTTP response from a DeleteProjectMemberWithResponse call

func (DeleteProjectMemberResponse) ContentType

func (r DeleteProjectMemberResponse) ContentType() string

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

func (DeleteProjectMemberResponse) GetBody

func (r DeleteProjectMemberResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteProjectMemberResponse) GetJSON200

func (r DeleteProjectMemberResponse) GetJSON200() *struct {
	// Message Example: Member removed from the project
	Message *string `json:"message,omitempty"`
}

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

func (DeleteProjectMemberResponse) GetJSON403

func (r DeleteProjectMemberResponse) GetJSON403() *struct {
	// Message Example: Unauthorized to modify project members.
	Message *string `json:"message,omitempty"`
}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteProjectMemberResponse) GetJSON404

func (r DeleteProjectMemberResponse) GetJSON404() *struct {
	// Message Example: Organization or project not found
	Message *string `json:"message,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteProjectMemberResponse) Status

Status returns HTTPResponse.Status

func (DeleteProjectMemberResponse) StatusCode

func (r DeleteProjectMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteProjectResponse

type DeleteProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Message Example: Project and related data deleted successfully.
		Message *string `json:"message,omitempty"`
	}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *struct {
		// Message Example: Unauthorized to modify this project.
		Message *string `json:"message,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Message Example: Organization or project not found
		Message *string `json:"message,omitempty"`
	}
}

func ParseDeleteProjectResponse

func ParseDeleteProjectResponse(rsp *http.Response) (*DeleteProjectResponse, error)

ParseDeleteProjectResponse parses an HTTP response from a DeleteProjectWithResponse call

func (DeleteProjectResponse) ContentType

func (r DeleteProjectResponse) ContentType() string

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

func (DeleteProjectResponse) GetBody

func (r DeleteProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteProjectResponse) GetJSON200

func (r DeleteProjectResponse) GetJSON200() *struct {
	// Message Example: Project and related data deleted successfully.
	Message *string `json:"message,omitempty"`
}

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

func (DeleteProjectResponse) GetJSON403

func (r DeleteProjectResponse) GetJSON403() *struct {
	// Message Example: Unauthorized to modify this project.
	Message *string `json:"message,omitempty"`
}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteProjectResponse) GetJSON404

func (r DeleteProjectResponse) GetJSON404() *struct {
	// Message Example: Organization or project not found
	Message *string `json:"message,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteProjectResponse) Status

func (r DeleteProjectResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteProjectResponse) StatusCode

func (r DeleteProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWebhookResponse

type DeleteWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Message Example: Webhook deleted successfully
		Message *string `json:"message,omitempty"`
	}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *struct {
		// Error Example: You don't have access to this webhook
		Error *string `json:"error,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Error Example: Webhook not found
		Error *string `json:"error,omitempty"`
	}
}

func ParseDeleteWebhookResponse

func ParseDeleteWebhookResponse(rsp *http.Response) (*DeleteWebhookResponse, error)

ParseDeleteWebhookResponse parses an HTTP response from a DeleteWebhookWithResponse call

func (DeleteWebhookResponse) ContentType

func (r DeleteWebhookResponse) ContentType() string

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

func (DeleteWebhookResponse) GetBody

func (r DeleteWebhookResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DeleteWebhookResponse) GetJSON200

func (r DeleteWebhookResponse) GetJSON200() *struct {
	// Message Example: Webhook deleted successfully
	Message *string `json:"message,omitempty"`
}

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

func (DeleteWebhookResponse) GetJSON403

func (r DeleteWebhookResponse) GetJSON403() *struct {
	// Error Example: You don't have access to this webhook
	Error *string `json:"error,omitempty"`
}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (DeleteWebhookResponse) GetJSON404

func (r DeleteWebhookResponse) GetJSON404() *struct {
	// Error Example: Webhook not found
	Error *string `json:"error,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (DeleteWebhookResponse) Status

func (r DeleteWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteWebhookResponse) StatusCode

func (r DeleteWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DreamPreviewResponse

type DreamPreviewResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// ActiveTotal Total active memories in the project.
		ActiveTotal *int `json:"active_total,omitempty"`

		// Cap The scan cap applied.
		Cap *int `json:"cap,omitempty"`

		// EligibleUsers Users with enough memories to benefit from synthesis.
		EligibleUsers *int `json:"eligible_users,omitempty"`

		// Note Human-readable note about the preview scope.
		Note *string `json:"note,omitempty"`

		// Scanned How many recent memories the preview aggregated over (capped).
		Scanned *int `json:"scanned,omitempty"`
	}
}

func ParseDreamPreviewResponse

func ParseDreamPreviewResponse(rsp *http.Response) (*DreamPreviewResponse, error)

ParseDreamPreviewResponse parses an HTTP response from a DreamPreviewWithResponse call

func (DreamPreviewResponse) ContentType

func (r DreamPreviewResponse) ContentType() string

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

func (DreamPreviewResponse) GetBody

func (r DreamPreviewResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (DreamPreviewResponse) GetJSON200

func (r DreamPreviewResponse) GetJSON200() *struct {
	// ActiveTotal Total active memories in the project.
	ActiveTotal *int `json:"active_total,omitempty"`

	// Cap The scan cap applied.
	Cap *int `json:"cap,omitempty"`

	// EligibleUsers Users with enough memories to benefit from synthesis.
	EligibleUsers *int `json:"eligible_users,omitempty"`

	// Note Human-readable note about the preview scope.
	Note *string `json:"note,omitempty"`

	// Scanned How many recent memories the preview aggregated over (capped).
	Scanned *int `json:"scanned,omitempty"`
}

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

func (DreamPreviewResponse) Status

func (r DreamPreviewResponse) Status() string

Status returns HTTPResponse.Status

func (DreamPreviewResponse) StatusCode

func (r DreamPreviewResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EntitiesDeleteParamsEntityType

type EntitiesDeleteParamsEntityType string

EntitiesDeleteParamsEntityType defines parameters for EntitiesDelete.

const (
	EntitiesDeleteParamsEntityTypeAgent EntitiesDeleteParamsEntityType = "agent"
	EntitiesDeleteParamsEntityTypeApp   EntitiesDeleteParamsEntityType = "app"
	EntitiesDeleteParamsEntityTypeRun   EntitiesDeleteParamsEntityType = "run"
	EntitiesDeleteParamsEntityTypeUser  EntitiesDeleteParamsEntityType = "user"
)

Defines values for EntitiesDeleteParamsEntityType.

func (EntitiesDeleteParamsEntityType) Valid

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

type EntitiesDeleteResponse

type EntitiesDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		EventId *openapi_types.UUID `json:"event_id,omitempty"`

		// Message Example: Delete in progress. This may take some time.
		Message *string `json:"message,omitempty"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		// Message Example: Invalid entity type
		Message *string `json:"message,omitempty"`
	}
}

func ParseEntitiesDeleteResponse

func ParseEntitiesDeleteResponse(rsp *http.Response) (*EntitiesDeleteResponse, error)

ParseEntitiesDeleteResponse parses an HTTP response from a EntitiesDeleteWithResponse call

func (EntitiesDeleteResponse) ContentType

func (r EntitiesDeleteResponse) ContentType() string

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

func (EntitiesDeleteResponse) GetBody

func (r EntitiesDeleteResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (EntitiesDeleteResponse) GetJSON200

func (r EntitiesDeleteResponse) GetJSON200() *struct {
	EventId *openapi_types.UUID `json:"event_id,omitempty"`

	// Message Example: Delete in progress. This may take some time.
	Message *string `json:"message,omitempty"`
}

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

func (EntitiesDeleteResponse) GetJSON400

func (r EntitiesDeleteResponse) GetJSON400() *struct {
	// Message Example: Invalid entity type
	Message *string `json:"message,omitempty"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (EntitiesDeleteResponse) Status

func (r EntitiesDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (EntitiesDeleteResponse) StatusCode

func (r EntitiesDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EntitiesDeleteV1ParamsEntityType

type EntitiesDeleteV1ParamsEntityType string

EntitiesDeleteV1ParamsEntityType defines parameters for EntitiesDeleteV1.

const (
	EntitiesDeleteV1ParamsEntityTypeAgent EntitiesDeleteV1ParamsEntityType = "agent"
	EntitiesDeleteV1ParamsEntityTypeApp   EntitiesDeleteV1ParamsEntityType = "app"
	EntitiesDeleteV1ParamsEntityTypeRun   EntitiesDeleteV1ParamsEntityType = "run"
	EntitiesDeleteV1ParamsEntityTypeUser  EntitiesDeleteV1ParamsEntityType = "user"
)

Defines values for EntitiesDeleteV1ParamsEntityType.

func (EntitiesDeleteV1ParamsEntityType) Valid

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

type EntitiesDeleteV1Response

type EntitiesDeleteV1Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		EventId *openapi_types.UUID `json:"event_id,omitempty"`

		// Message Example: Delete in progress. This may take some time.
		Message *string `json:"message,omitempty"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		// Error Example: Invalid entity ID. Must be an integer.
		Error *string `json:"error,omitempty"`
	}
}

func ParseEntitiesDeleteV1Response

func ParseEntitiesDeleteV1Response(rsp *http.Response) (*EntitiesDeleteV1Response, error)

ParseEntitiesDeleteV1Response parses an HTTP response from a EntitiesDeleteV1WithResponse call

func (EntitiesDeleteV1Response) ContentType

func (r EntitiesDeleteV1Response) ContentType() string

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

func (EntitiesDeleteV1Response) GetBody

func (r EntitiesDeleteV1Response) GetBody() []byte

GetBody returns the raw response body bytes

func (EntitiesDeleteV1Response) GetJSON200

func (r EntitiesDeleteV1Response) GetJSON200() *struct {
	EventId *openapi_types.UUID `json:"event_id,omitempty"`

	// Message Example: Delete in progress. This may take some time.
	Message *string `json:"message,omitempty"`
}

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

func (EntitiesDeleteV1Response) GetJSON400

func (r EntitiesDeleteV1Response) GetJSON400() *struct {
	// Error Example: Invalid entity ID. Must be an integer.
	Error *string `json:"error,omitempty"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (EntitiesDeleteV1Response) Status

func (r EntitiesDeleteV1Response) Status() string

Status returns HTTPResponse.Status

func (EntitiesDeleteV1Response) StatusCode

func (r EntitiesDeleteV1Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EntitiesFiltersListResponse

type EntitiesFiltersListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Categories Memory categories that can be filtered on.
		Categories *[]interface{} `json:"categories,omitempty"`

		// EventType Event types that can be filtered on.
		//
		// Example: ["ADD","UPDATE","DELETE","SEARCH","GET_ALL","GET","DELETE_ALL","DELETE_USER"]
		EventType *[]string `json:"event_type,omitempty"`

		// Parameters Filter UI field definitions used by the Mem0 dashboard.
		Parameters *[]struct {
			Label   *string `json:"label,omitempty"`
			Name    *string `json:"name,omitempty"`
			Options *[]struct {
				Label *string `json:"label,omitempty"`
				Value *string `json:"value,omitempty"`
			} `json:"options,omitempty"`
			Placeholder *string `json:"placeholder,omitempty"`
			Type        *string `json:"type,omitempty"`
		} `json:"parameters,omitempty"`

		// Users User IDs that can be filtered on.
		Users *[]string `json:"users,omitempty"`
	}
}

func ParseEntitiesFiltersListResponse

func ParseEntitiesFiltersListResponse(rsp *http.Response) (*EntitiesFiltersListResponse, error)

ParseEntitiesFiltersListResponse parses an HTTP response from a EntitiesFiltersListWithResponse call

func (EntitiesFiltersListResponse) ContentType

func (r EntitiesFiltersListResponse) ContentType() string

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

func (EntitiesFiltersListResponse) GetBody

func (r EntitiesFiltersListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (EntitiesFiltersListResponse) GetJSON200

func (r EntitiesFiltersListResponse) GetJSON200() *struct {
	// Categories Memory categories that can be filtered on.
	Categories *[]interface{} `json:"categories,omitempty"`

	// EventType Event types that can be filtered on.
	//
	// Example: ["ADD","UPDATE","DELETE","SEARCH","GET_ALL","GET","DELETE_ALL","DELETE_USER"]
	EventType *[]string `json:"event_type,omitempty"`

	// Parameters Filter UI field definitions used by the Mem0 dashboard.
	Parameters *[]struct {
		Label   *string `json:"label,omitempty"`
		Name    *string `json:"name,omitempty"`
		Options *[]struct {
			Label *string `json:"label,omitempty"`
			Value *string `json:"value,omitempty"`
		} `json:"options,omitempty"`
		Placeholder *string `json:"placeholder,omitempty"`
		Type        *string `json:"type,omitempty"`
	} `json:"parameters,omitempty"`

	// Users User IDs that can be filtered on.
	Users *[]string `json:"users,omitempty"`
}

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

func (EntitiesFiltersListResponse) Status

Status returns HTTPResponse.Status

func (EntitiesFiltersListResponse) StatusCode

func (r EntitiesFiltersListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EntitiesList200JSONResponseBodyResultsType

type EntitiesList200JSONResponseBodyResultsType string

EntitiesList200JSONResponseBodyResultsType defines parameters for EntitiesList.

const (
	EntitiesList200JSONResponseBodyResultsTypeAgent EntitiesList200JSONResponseBodyResultsType = "agent"
	EntitiesList200JSONResponseBodyResultsTypeApp   EntitiesList200JSONResponseBodyResultsType = "app"
	EntitiesList200JSONResponseBodyResultsTypeRun   EntitiesList200JSONResponseBodyResultsType = "run"
	EntitiesList200JSONResponseBodyResultsTypeUser  EntitiesList200JSONResponseBodyResultsType = "user"
)

Defines values for EntitiesList200JSONResponseBodyResultsType.

func (EntitiesList200JSONResponseBodyResultsType) Valid

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

type EntitiesListParams

type EntitiesListParams struct {
	// OrgId Filter entities by organization ID.
	OrgId *string `form:"org_id,omitempty" json:"org_id,omitempty"`

	// ProjectId Filter entities by project ID.
	ProjectId *string `form:"project_id,omitempty" json:"project_id,omitempty"`
}

EntitiesListParams defines parameters for EntitiesList.

type EntitiesListResponse

type EntitiesListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Count Total number of entities matching the filters.
		Count int `json:"count"`

		// Next URL of the next page of results, or null if this is the last page.
		Next *string `json:"next"`

		// Previous URL of the previous page of results, or null if this is the first page.
		Previous *string `json:"previous"`
		Results  []struct {
			// CreatedAt Timestamp of when the entity was created.
			CreatedAt time.Time `json:"created_at"`

			// Id Unique identifier for the entity.
			Id string `json:"id"`

			// Metadata Additional metadata associated with the entity.
			Metadata *map[string]interface{} `json:"metadata,omitempty"`

			// Name Name of the entity.
			Name string `json:"name"`

			// Owner Owner of the entity.
			Owner string                                     `json:"owner"`
			Type  EntitiesList200JSONResponseBodyResultsType `json:"type"`

			// UpdatedAt Timestamp of when the entity was last updated.
			UpdatedAt time.Time `json:"updated_at"`
		} `json:"results"`

		// TotalAgents Total number of agent entities in the project.
		TotalAgents *int `json:"total_agents,omitempty"`

		// TotalApps Total number of app entities in the project.
		TotalApps *int `json:"total_apps,omitempty"`

		// TotalRuns Total number of run entities in the project.
		TotalRuns *int `json:"total_runs,omitempty"`

		// TotalUsers Total number of user entities in the project.
		TotalUsers *int `json:"total_users,omitempty"`
	}
}

func ParseEntitiesListResponse

func ParseEntitiesListResponse(rsp *http.Response) (*EntitiesListResponse, error)

ParseEntitiesListResponse parses an HTTP response from a EntitiesListWithResponse call

func (EntitiesListResponse) ContentType

func (r EntitiesListResponse) ContentType() string

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

func (EntitiesListResponse) GetBody

func (r EntitiesListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (EntitiesListResponse) GetJSON200

func (r EntitiesListResponse) GetJSON200() *struct {
	// Count Total number of entities matching the filters.
	Count int `json:"count"`

	// Next URL of the next page of results, or null if this is the last page.
	Next *string `json:"next"`

	// Previous URL of the previous page of results, or null if this is the first page.
	Previous *string `json:"previous"`
	Results  []struct {
		// CreatedAt Timestamp of when the entity was created.
		CreatedAt time.Time `json:"created_at"`

		// Id Unique identifier for the entity.
		Id string `json:"id"`

		// Metadata Additional metadata associated with the entity.
		Metadata *map[string]interface{} `json:"metadata,omitempty"`

		// Name Name of the entity.
		Name string `json:"name"`

		// Owner Owner of the entity.
		Owner string                                     `json:"owner"`
		Type  EntitiesList200JSONResponseBodyResultsType `json:"type"`

		// UpdatedAt Timestamp of when the entity was last updated.
		UpdatedAt time.Time `json:"updated_at"`
	} `json:"results"`

	// TotalAgents Total number of agent entities in the project.
	TotalAgents *int `json:"total_agents,omitempty"`

	// TotalApps Total number of app entities in the project.
	TotalApps *int `json:"total_apps,omitempty"`

	// TotalRuns Total number of run entities in the project.
	TotalRuns *int `json:"total_runs,omitempty"`

	// TotalUsers Total number of user entities in the project.
	TotalUsers *int `json:"total_users,omitempty"`
}

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

func (EntitiesListResponse) Status

func (r EntitiesListResponse) Status() string

Status returns HTTPResponse.Status

func (EntitiesListResponse) StatusCode

func (r EntitiesListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EntitiesReadParamsEntityType

type EntitiesReadParamsEntityType string

EntitiesReadParamsEntityType defines parameters for EntitiesRead.

const (
	EntitiesReadParamsEntityTypeAgent EntitiesReadParamsEntityType = "agent"
	EntitiesReadParamsEntityTypeApp   EntitiesReadParamsEntityType = "app"
	EntitiesReadParamsEntityTypeRun   EntitiesReadParamsEntityType = "run"
	EntitiesReadParamsEntityTypeUser  EntitiesReadParamsEntityType = "user"
)

Defines values for EntitiesReadParamsEntityType.

func (EntitiesReadParamsEntityType) Valid

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

type EntitiesReadResponse

type EntitiesReadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]struct {
		CreatedAt *time.Time              `json:"created_at,omitempty"`
		Id        *string                 `json:"id,omitempty"`
		Metadata  *map[string]interface{} `json:"metadata,omitempty"`
		Name      *string                 `json:"name,omitempty"`
		Owner     *string                 `json:"owner,omitempty"`
		Type      *string                 `json:"type,omitempty"`
		UpdatedAt *time.Time              `json:"updated_at,omitempty"`
	}
}

func ParseEntitiesReadResponse

func ParseEntitiesReadResponse(rsp *http.Response) (*EntitiesReadResponse, error)

ParseEntitiesReadResponse parses an HTTP response from a EntitiesReadWithResponse call

func (EntitiesReadResponse) ContentType

func (r EntitiesReadResponse) ContentType() string

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

func (EntitiesReadResponse) GetBody

func (r EntitiesReadResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (EntitiesReadResponse) GetJSON200

func (r EntitiesReadResponse) GetJSON200() *[]struct {
	CreatedAt *time.Time              `json:"created_at,omitempty"`
	Id        *string                 `json:"id,omitempty"`
	Metadata  *map[string]interface{} `json:"metadata,omitempty"`
	Name      *string                 `json:"name,omitempty"`
	Owner     *string                 `json:"owner,omitempty"`
	Type      *string                 `json:"type,omitempty"`
	UpdatedAt *time.Time              `json:"updated_at,omitempty"`
}

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

func (EntitiesReadResponse) Status

func (r EntitiesReadResponse) Status() string

Status returns HTTPResponse.Status

func (EntitiesReadResponse) StatusCode

func (r EntitiesReadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EventRead200JSONResponseBodyStatus

type EventRead200JSONResponseBodyStatus string

EventRead200JSONResponseBodyStatus defines parameters for EventRead.

const (
	EventRead200JSONResponseBodyStatusFAILED    EventRead200JSONResponseBodyStatus = "FAILED"
	EventRead200JSONResponseBodyStatusPENDING   EventRead200JSONResponseBodyStatus = "PENDING"
	EventRead200JSONResponseBodyStatusRUNNING   EventRead200JSONResponseBodyStatus = "RUNNING"
	EventRead200JSONResponseBodyStatusSUCCEEDED EventRead200JSONResponseBodyStatus = "SUCCEEDED"
)

Defines values for EventRead200JSONResponseBodyStatus.

func (EventRead200JSONResponseBodyStatus) Valid

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

type EventReadResponse

type EventReadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// CompletedAt Timestamp when event processing completed.
		CompletedAt *time.Time `json:"completed_at,omitempty"`

		// CreatedAt Timestamp when the event was created.
		CreatedAt *time.Time `json:"created_at,omitempty"`

		// Error Error message if the event failed to process.
		Error *string `json:"error,omitempty"`

		// EventType The type of event (e.g., ADD, SEARCH).
		EventType *string `json:"event_type,omitempty"`

		// GraphStatus Status of graph memory processing for this event, if graph memory is enabled.
		GraphStatus *string `json:"graph_status,omitempty"`

		// Id The unique identifier of the event.
		Id *openapi_types.UUID `json:"id,omitempty"`

		// Latency Processing time in milliseconds.
		Latency *float64 `json:"latency,omitempty"`

		// Metadata Additional metadata associated with the event.
		Metadata *map[string]interface{} `json:"metadata,omitempty"`

		// Payload The original payload associated with the event.
		Payload *map[string]interface{} `json:"payload,omitempty"`

		// Results Array of results produced by the event.
		Results *[]interface{} `json:"results,omitempty"`

		// StartedAt Timestamp when event processing started.
		StartedAt *time.Time `json:"started_at,omitempty"`

		// Status The current status of the event.
		Status *EventRead200JSONResponseBodyStatus `json:"status,omitempty"`

		// UpdatedAt Timestamp when the event was last updated.
		UpdatedAt *time.Time `json:"updated_at,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Error Example: Event not found or you don't have permission to access it.
		Error *string `json:"error,omitempty"`
	}
}

func ParseEventReadResponse

func ParseEventReadResponse(rsp *http.Response) (*EventReadResponse, error)

ParseEventReadResponse parses an HTTP response from a EventReadWithResponse call

func (EventReadResponse) ContentType

func (r EventReadResponse) ContentType() string

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

func (EventReadResponse) GetBody

func (r EventReadResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (EventReadResponse) GetJSON200

func (r EventReadResponse) GetJSON200() *struct {
	// CompletedAt Timestamp when event processing completed.
	CompletedAt *time.Time `json:"completed_at,omitempty"`

	// CreatedAt Timestamp when the event was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Error Error message if the event failed to process.
	Error *string `json:"error,omitempty"`

	// EventType The type of event (e.g., ADD, SEARCH).
	EventType *string `json:"event_type,omitempty"`

	// GraphStatus Status of graph memory processing for this event, if graph memory is enabled.
	GraphStatus *string `json:"graph_status,omitempty"`

	// Id The unique identifier of the event.
	Id *openapi_types.UUID `json:"id,omitempty"`

	// Latency Processing time in milliseconds.
	Latency *float64 `json:"latency,omitempty"`

	// Metadata Additional metadata associated with the event.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Payload The original payload associated with the event.
	Payload *map[string]interface{} `json:"payload,omitempty"`

	// Results Array of results produced by the event.
	Results *[]interface{} `json:"results,omitempty"`

	// StartedAt Timestamp when event processing started.
	StartedAt *time.Time `json:"started_at,omitempty"`

	// Status The current status of the event.
	Status *EventRead200JSONResponseBodyStatus `json:"status,omitempty"`

	// UpdatedAt Timestamp when the event was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

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

func (EventReadResponse) GetJSON404

func (r EventReadResponse) GetJSON404() *struct {
	// Error Example: Event not found or you don't have permission to access it.
	Error *string `json:"error,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (EventReadResponse) Status

func (r EventReadResponse) Status() string

Status returns HTTPResponse.Status

func (EventReadResponse) StatusCode

func (r EventReadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EventsList200JSONResponseBodyResultsStatus

type EventsList200JSONResponseBodyResultsStatus string

EventsList200JSONResponseBodyResultsStatus defines parameters for EventsList.

const (
	EventsList200JSONResponseBodyResultsStatusFAILED    EventsList200JSONResponseBodyResultsStatus = "FAILED"
	EventsList200JSONResponseBodyResultsStatusPENDING   EventsList200JSONResponseBodyResultsStatus = "PENDING"
	EventsList200JSONResponseBodyResultsStatusRUNNING   EventsList200JSONResponseBodyResultsStatus = "RUNNING"
	EventsList200JSONResponseBodyResultsStatusSUCCEEDED EventsList200JSONResponseBodyResultsStatus = "SUCCEEDED"
)

Defines values for EventsList200JSONResponseBodyResultsStatus.

func (EventsList200JSONResponseBodyResultsStatus) Valid

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

type EventsListResponse

type EventsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Count Total number of events matching the filters.
		Count int `json:"count"`

		// Next URL for the next page of results.
		Next *string `json:"next,omitempty"`

		// Previous URL for the previous page of results.
		Previous *string `json:"previous,omitempty"`

		// Results Array of event objects.
		Results []struct {
			// CompletedAt Timestamp when event processing completed.
			CompletedAt *time.Time `json:"completed_at,omitempty"`

			// CreatedAt Timestamp when the event was created.
			CreatedAt *time.Time `json:"created_at,omitempty"`

			// EventType The type of event (e.g., ADD, SEARCH).
			EventType *string `json:"event_type,omitempty"`

			// Id The unique identifier of the event.
			Id *openapi_types.UUID `json:"id,omitempty"`

			// Latency Processing time in milliseconds.
			Latency *float64 `json:"latency,omitempty"`

			// Metadata Additional metadata associated with the event.
			Metadata *map[string]interface{} `json:"metadata,omitempty"`

			// Payload The original payload associated with the event.
			Payload *map[string]interface{} `json:"payload,omitempty"`

			// Results Array of results produced by the event. For add events, this confirms the write completed; temporal reasoning enrichment runs asynchronously by default.
			Results *[]interface{} `json:"results,omitempty"`

			// StartedAt Timestamp when event processing started.
			StartedAt *time.Time `json:"started_at,omitempty"`

			// Status The current status of the event.
			Status *EventsList200JSONResponseBodyResultsStatus `json:"status,omitempty"`

			// UpdatedAt Timestamp when the event was last updated.
			UpdatedAt *time.Time `json:"updated_at,omitempty"`
		} `json:"results"`
	}
}

func ParseEventsListResponse

func ParseEventsListResponse(rsp *http.Response) (*EventsListResponse, error)

ParseEventsListResponse parses an HTTP response from a EventsListWithResponse call

func (EventsListResponse) ContentType

func (r EventsListResponse) ContentType() string

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

func (EventsListResponse) GetBody

func (r EventsListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (EventsListResponse) GetJSON200

func (r EventsListResponse) GetJSON200() *struct {
	// Count Total number of events matching the filters.
	Count int `json:"count"`

	// Next URL for the next page of results.
	Next *string `json:"next,omitempty"`

	// Previous URL for the previous page of results.
	Previous *string `json:"previous,omitempty"`

	// Results Array of event objects.
	Results []struct {
		// CompletedAt Timestamp when event processing completed.
		CompletedAt *time.Time `json:"completed_at,omitempty"`

		// CreatedAt Timestamp when the event was created.
		CreatedAt *time.Time `json:"created_at,omitempty"`

		// EventType The type of event (e.g., ADD, SEARCH).
		EventType *string `json:"event_type,omitempty"`

		// Id The unique identifier of the event.
		Id *openapi_types.UUID `json:"id,omitempty"`

		// Latency Processing time in milliseconds.
		Latency *float64 `json:"latency,omitempty"`

		// Metadata Additional metadata associated with the event.
		Metadata *map[string]interface{} `json:"metadata,omitempty"`

		// Payload The original payload associated with the event.
		Payload *map[string]interface{} `json:"payload,omitempty"`

		// Results Array of results produced by the event. For add events, this confirms the write completed; temporal reasoning enrichment runs asynchronously by default.
		Results *[]interface{} `json:"results,omitempty"`

		// StartedAt Timestamp when event processing started.
		StartedAt *time.Time `json:"started_at,omitempty"`

		// Status The current status of the event.
		Status *EventsList200JSONResponseBodyResultsStatus `json:"status,omitempty"`

		// UpdatedAt Timestamp when the event was last updated.
		UpdatedAt *time.Time `json:"updated_at,omitempty"`
	} `json:"results"`
}

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

func (EventsListResponse) Status

func (r EventsListResponse) Status() string

Status returns HTTPResponse.Status

func (EventsListResponse) StatusCode

func (r EventsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportsCreate400JSONResponseBody

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

ExportsCreate400JSONResponseBody defines parameters for ExportsCreate.

func (ExportsCreate400JSONResponseBody) AsExportsCreate400JSONResponseBody0

func (t ExportsCreate400JSONResponseBody) AsExportsCreate400JSONResponseBody0() (ExportsCreate400JSONResponseBody0, error)

AsExportsCreate400JSONResponseBody0 returns the union data inside the ExportsCreate400JSONResponseBody as a ExportsCreate400JSONResponseBody0

func (ExportsCreate400JSONResponseBody) AsExportsCreate400JSONResponseBody1

func (t ExportsCreate400JSONResponseBody) AsExportsCreate400JSONResponseBody1() (ExportsCreate400JSONResponseBody1, error)

AsExportsCreate400JSONResponseBody1 returns the union data inside the ExportsCreate400JSONResponseBody as a ExportsCreate400JSONResponseBody1

func (*ExportsCreate400JSONResponseBody) FromExportsCreate400JSONResponseBody0

func (t *ExportsCreate400JSONResponseBody) FromExportsCreate400JSONResponseBody0(v ExportsCreate400JSONResponseBody0) error

FromExportsCreate400JSONResponseBody0 overwrites any union data inside the ExportsCreate400JSONResponseBody as the provided ExportsCreate400JSONResponseBody0

func (*ExportsCreate400JSONResponseBody) FromExportsCreate400JSONResponseBody1

func (t *ExportsCreate400JSONResponseBody) FromExportsCreate400JSONResponseBody1(v ExportsCreate400JSONResponseBody1) error

FromExportsCreate400JSONResponseBody1 overwrites any union data inside the ExportsCreate400JSONResponseBody as the provided ExportsCreate400JSONResponseBody1

func (ExportsCreate400JSONResponseBody) MarshalJSON

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

func (*ExportsCreate400JSONResponseBody) MergeExportsCreate400JSONResponseBody0

func (t *ExportsCreate400JSONResponseBody) MergeExportsCreate400JSONResponseBody0(v ExportsCreate400JSONResponseBody0) error

MergeExportsCreate400JSONResponseBody0 performs a merge with any union data inside the ExportsCreate400JSONResponseBody, using the provided ExportsCreate400JSONResponseBody0

func (*ExportsCreate400JSONResponseBody) MergeExportsCreate400JSONResponseBody1

func (t *ExportsCreate400JSONResponseBody) MergeExportsCreate400JSONResponseBody1(v ExportsCreate400JSONResponseBody1) error

MergeExportsCreate400JSONResponseBody1 performs a merge with any union data inside the ExportsCreate400JSONResponseBody, using the provided ExportsCreate400JSONResponseBody1

func (*ExportsCreate400JSONResponseBody) UnmarshalJSON

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

type ExportsCreate400JSONResponseBody0

type ExportsCreate400JSONResponseBody0 struct {
	// Message Example: Schema is required and must be a valid object
	Message *string `json:"message,omitempty"`
}

ExportsCreate400JSONResponseBody0 defines parameters for ExportsCreate.

type ExportsCreate400JSONResponseBody1

type ExportsCreate400JSONResponseBody1 struct {
	// Error Example: One of the filters: app_id, user_id, agent_id, run_id, memory_export_id is required!
	Error *string `json:"error,omitempty"`
}

ExportsCreate400JSONResponseBody1 defines parameters for ExportsCreate.

type ExportsCreateJSONBody

type ExportsCreateJSONBody struct {
	// Filters Filters to apply while exporting memories, using the structured AND/OR filter format (see `/v2/memories/search/`), e.g. `{"AND": [{"user_id": "<user_id>"}]}`. Available fields are: user_id, agent_id, app_id, run_id. Flat filter objects (e.g. `{"user_id": "<user_id>"}`) are rejected with a 400 error.
	Filters *map[string]interface{} `json:"filters,omitempty"`

	// OrgId Filter exports by organization ID.
	OrgId *string `json:"org_id,omitempty"`

	// ProjectId Filter exports by project ID.
	ProjectId *string `json:"project_id,omitempty"`

	// Schema Schema definition for the export
	Schema map[string]interface{} `json:"schema"`
}

ExportsCreateJSONBody defines parameters for ExportsCreate.

type ExportsCreateJSONRequestBody

type ExportsCreateJSONRequestBody ExportsCreateJSONBody

ExportsCreateJSONRequestBody defines body for ExportsCreate for application/json ContentType.

type ExportsCreateResponse

type ExportsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *struct {
		// Id Example: 550e8400-e29b-41d4-a716-446655440000
		Id openapi_types.UUID `json:"id"`

		// Message Example: Memory export request received. The export will be ready in a few seconds.
		Message string `json:"message"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *ExportsCreate400JSONResponseBody
}

func ParseExportsCreateResponse

func ParseExportsCreateResponse(rsp *http.Response) (*ExportsCreateResponse, error)

ParseExportsCreateResponse parses an HTTP response from a ExportsCreateWithResponse call

func (ExportsCreateResponse) ContentType

func (r ExportsCreateResponse) ContentType() string

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

func (ExportsCreateResponse) GetBody

func (r ExportsCreateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ExportsCreateResponse) GetJSON201

func (r ExportsCreateResponse) GetJSON201() *struct {
	// Id Example: 550e8400-e29b-41d4-a716-446655440000
	Id openapi_types.UUID `json:"id"`

	// Message Example: Memory export request received. The export will be ready in a few seconds.
	Message string `json:"message"`
}

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (ExportsCreateResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ExportsCreateResponse) Status

func (r ExportsCreateResponse) Status() string

Status returns HTTPResponse.Status

func (ExportsCreateResponse) StatusCode

func (r ExportsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ExportsListJSONBody

type ExportsListJSONBody struct {
	// Filters Filters to apply while exporting memories. Available fields are: user_id, agent_id, app_id, run_id, created_at, updated_at.
	Filters *struct {
		AgentId   *string `json:"agent_id,omitempty"`
		AppId     *string `json:"app_id,omitempty"`
		CreatedAt *string `json:"created_at,omitempty"`
		RunId     *string `json:"run_id,omitempty"`
		UpdatedAt *string `json:"updated_at,omitempty"`
		UserId    *string `json:"user_id,omitempty"`
	} `json:"filters,omitempty"`

	// MemoryExportId The unique identifier of the memory export.
	MemoryExportId *string `json:"memory_export_id,omitempty"`

	// OrgId Filter exports by organization ID.
	OrgId *string `json:"org_id,omitempty"`

	// ProjectId Filter exports by project ID.
	ProjectId *string `json:"project_id,omitempty"`
}

ExportsListJSONBody defines parameters for ExportsList.

type ExportsListJSONRequestBody

type ExportsListJSONRequestBody ExportsListJSONBody

ExportsListJSONRequestBody defines body for ExportsList for application/json ContentType.

type ExportsListResponse

type ExportsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *map[string]interface{}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		// Message Example: One of the filters: app_id, user_id, agent_id, run_id is required!
		Message *string `json:"message,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Error Example: No memory export request found
		Error *string `json:"error,omitempty"`
	}
}

func ParseExportsListResponse

func ParseExportsListResponse(rsp *http.Response) (*ExportsListResponse, error)

ParseExportsListResponse parses an HTTP response from a ExportsListWithResponse call

func (ExportsListResponse) ContentType

func (r ExportsListResponse) ContentType() string

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

func (ExportsListResponse) GetBody

func (r ExportsListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ExportsListResponse) GetJSON200

func (r ExportsListResponse) GetJSON200() *map[string]interface{}

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

func (ExportsListResponse) GetJSON400

func (r ExportsListResponse) GetJSON400() *struct {
	// Message Example: One of the filters: app_id, user_id, agent_id, run_id is required!
	Message *string `json:"message,omitempty"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (ExportsListResponse) GetJSON404

func (r ExportsListResponse) GetJSON404() *struct {
	// Error Example: No memory export request found
	Error *string `json:"error,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (ExportsListResponse) Status

func (r ExportsListResponse) Status() string

Status returns HTTPResponse.Status

func (ExportsListResponse) StatusCode

func (r ExportsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDreamActivity200JSONResponseBodyResultsTransition

type GetDreamActivity200JSONResponseBodyResultsTransition string

GetDreamActivity200JSONResponseBodyResultsTransition defines parameters for GetDreamActivity.

const (
	GetDreamActivity200JSONResponseBodyResultsTransitionMerged     GetDreamActivity200JSONResponseBodyResultsTransition = "merged"
	GetDreamActivity200JSONResponseBodyResultsTransitionSuperseded GetDreamActivity200JSONResponseBodyResultsTransition = "superseded"
)

Defines values for GetDreamActivity200JSONResponseBodyResultsTransition.

func (GetDreamActivity200JSONResponseBodyResultsTransition) Valid

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

type GetDreamActivityParams

type GetDreamActivityParams struct {
	// Limit Page size (default 50, max 200).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque keyset cursor from a previous page's `next_cursor`.
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}

GetDreamActivityParams defines parameters for GetDreamActivity.

type GetDreamActivityResponse

type GetDreamActivityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// NextCursor Cursor for the next page, or null when there are no more.
		NextCursor *string `json:"next_cursor,omitempty"`
		Results    *[]struct {
			// At When the transition happened.
			At *time.Time `json:"at,omitempty"`

			// MemoryId The superseded/merged memory's ID.
			MemoryId *string `json:"memory_id,omitempty"`

			// ReplacedBy The newer memory that replaced this one (null for a merge with no single replacement).
			ReplacedBy *struct {
				// Id ID of the newer memory.
				Id *string `json:"id,omitempty"`

				// Text Text of the newer memory (truncated).
				Text *string `json:"text,omitempty"`
			} `json:"replaced_by,omitempty"`

			// Sources Always null on this feed; synthesis provenance is shown on the runs feed.
			Sources *[]struct {
				// Id Source memory ID.
				Id *string `json:"id,omitempty"`

				// Text Source memory text (truncated).
				Text *string `json:"text,omitempty"`
			} `json:"sources,omitempty"`

			// Text The memory's text (truncated).
			Text *string `json:"text,omitempty"`

			// Transition Lifecycle transition.
			Transition *GetDreamActivity200JSONResponseBodyResultsTransition `json:"transition,omitempty"`
		} `json:"results,omitempty"`
	}
}

func ParseGetDreamActivityResponse

func ParseGetDreamActivityResponse(rsp *http.Response) (*GetDreamActivityResponse, error)

ParseGetDreamActivityResponse parses an HTTP response from a GetDreamActivityWithResponse call

func (GetDreamActivityResponse) ContentType

func (r GetDreamActivityResponse) ContentType() string

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

func (GetDreamActivityResponse) GetBody

func (r GetDreamActivityResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDreamActivityResponse) GetJSON200

func (r GetDreamActivityResponse) GetJSON200() *struct {
	// NextCursor Cursor for the next page, or null when there are no more.
	NextCursor *string `json:"next_cursor,omitempty"`
	Results    *[]struct {
		// At When the transition happened.
		At *time.Time `json:"at,omitempty"`

		// MemoryId The superseded/merged memory's ID.
		MemoryId *string `json:"memory_id,omitempty"`

		// ReplacedBy The newer memory that replaced this one (null for a merge with no single replacement).
		ReplacedBy *struct {
			// Id ID of the newer memory.
			Id *string `json:"id,omitempty"`

			// Text Text of the newer memory (truncated).
			Text *string `json:"text,omitempty"`
		} `json:"replaced_by,omitempty"`

		// Sources Always null on this feed; synthesis provenance is shown on the runs feed.
		Sources *[]struct {
			// Id Source memory ID.
			Id *string `json:"id,omitempty"`

			// Text Source memory text (truncated).
			Text *string `json:"text,omitempty"`
		} `json:"sources,omitempty"`

		// Text The memory's text (truncated).
		Text *string `json:"text,omitempty"`

		// Transition Lifecycle transition.
		Transition *GetDreamActivity200JSONResponseBodyResultsTransition `json:"transition,omitempty"`
	} `json:"results,omitempty"`
}

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

func (GetDreamActivityResponse) Status

func (r GetDreamActivityResponse) Status() string

Status returns HTTPResponse.Status

func (GetDreamActivityResponse) StatusCode

func (r GetDreamActivityResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDreamConfig200JSONResponseBodyConfigReflectionMode

type GetDreamConfig200JSONResponseBodyConfigReflectionMode string

GetDreamConfig200JSONResponseBodyConfigReflectionMode defines parameters for GetDreamConfig.

const (
	GetDreamConfig200JSONResponseBodyConfigReflectionModeBatch  GetDreamConfig200JSONResponseBodyConfigReflectionMode = "batch"
	GetDreamConfig200JSONResponseBodyConfigReflectionModeDirect GetDreamConfig200JSONResponseBodyConfigReflectionMode = "direct"
)

Defines values for GetDreamConfig200JSONResponseBodyConfigReflectionMode.

func (GetDreamConfig200JSONResponseBodyConfigReflectionMode) Valid

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

type GetDreamConfigResponse

type GetDreamConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Config *struct {
			// ReflectionEnabled Whether background synthesis (reflection) is enabled for the project.
			ReflectionEnabled *bool `json:"reflection_enabled,omitempty"`

			// ReflectionEnabledAt When synthesis was last enabled. Synthesis only considers memories created on or after this time (forward-only).
			ReflectionEnabledAt *time.Time `json:"reflection_enabled_at,omitempty"`

			// ReflectionMode Synthesis execution mode.
			ReflectionMode *GetDreamConfig200JSONResponseBodyConfigReflectionMode `json:"reflection_mode,omitempty"`
		} `json:"config,omitempty"`
		Entitlements *struct {
			// Features Per-feature entitlement snapshot, keyed by Dream feature (e.g. `dream_reflection`, `dream_tab`, `dream_preview`).
			Features *map[string]struct {
				// Enabled Effective state: entitled AND not killed AND turned on.
				Enabled *bool `json:"enabled,omitempty"`

				// Entitled Whether the plan is entitled to the feature.
				Entitled *bool `json:"entitled,omitempty"`

				// Killed Whether the feature is globally disabled by a kill switch.
				Killed *bool `json:"killed,omitempty"`
			} `json:"features,omitempty"`

			// Plan Resolved billing tier for the project (e.g. `free`, `pro`, `custom`).
			Plan *string `json:"plan,omitempty"`

			// ReflectionIntervalDays How often synthesis runs for this plan, in days (Pro weekly, Enterprise daily).
			ReflectionIntervalDays *int `json:"reflection_interval_days,omitempty"`
		} `json:"entitlements,omitempty"`
	}
}

func ParseGetDreamConfigResponse

func ParseGetDreamConfigResponse(rsp *http.Response) (*GetDreamConfigResponse, error)

ParseGetDreamConfigResponse parses an HTTP response from a GetDreamConfigWithResponse call

func (GetDreamConfigResponse) ContentType

func (r GetDreamConfigResponse) ContentType() string

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

func (GetDreamConfigResponse) GetBody

func (r GetDreamConfigResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDreamConfigResponse) GetJSON200

func (r GetDreamConfigResponse) GetJSON200() *struct {
	Config *struct {
		// ReflectionEnabled Whether background synthesis (reflection) is enabled for the project.
		ReflectionEnabled *bool `json:"reflection_enabled,omitempty"`

		// ReflectionEnabledAt When synthesis was last enabled. Synthesis only considers memories created on or after this time (forward-only).
		ReflectionEnabledAt *time.Time `json:"reflection_enabled_at,omitempty"`

		// ReflectionMode Synthesis execution mode.
		ReflectionMode *GetDreamConfig200JSONResponseBodyConfigReflectionMode `json:"reflection_mode,omitempty"`
	} `json:"config,omitempty"`
	Entitlements *struct {
		// Features Per-feature entitlement snapshot, keyed by Dream feature (e.g. `dream_reflection`, `dream_tab`, `dream_preview`).
		Features *map[string]struct {
			// Enabled Effective state: entitled AND not killed AND turned on.
			Enabled *bool `json:"enabled,omitempty"`

			// Entitled Whether the plan is entitled to the feature.
			Entitled *bool `json:"entitled,omitempty"`

			// Killed Whether the feature is globally disabled by a kill switch.
			Killed *bool `json:"killed,omitempty"`
		} `json:"features,omitempty"`

		// Plan Resolved billing tier for the project (e.g. `free`, `pro`, `custom`).
		Plan *string `json:"plan,omitempty"`

		// ReflectionIntervalDays How often synthesis runs for this plan, in days (Pro weekly, Enterprise daily).
		ReflectionIntervalDays *int `json:"reflection_interval_days,omitempty"`
	} `json:"entitlements,omitempty"`
}

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

func (GetDreamConfigResponse) Status

func (r GetDreamConfigResponse) Status() string

Status returns HTTPResponse.Status

func (GetDreamConfigResponse) StatusCode

func (r GetDreamConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDreamMemorySources200JSONResponseBodySourcesLifecycleState

type GetDreamMemorySources200JSONResponseBodySourcesLifecycleState string

GetDreamMemorySources200JSONResponseBodySourcesLifecycleState defines parameters for GetDreamMemorySources.

const (
	GetDreamMemorySources200JSONResponseBodySourcesLifecycleStateActive     GetDreamMemorySources200JSONResponseBodySourcesLifecycleState = "active"
	GetDreamMemorySources200JSONResponseBodySourcesLifecycleStateMerged     GetDreamMemorySources200JSONResponseBodySourcesLifecycleState = "merged"
	GetDreamMemorySources200JSONResponseBodySourcesLifecycleStateSuperseded GetDreamMemorySources200JSONResponseBodySourcesLifecycleState = "superseded"
)

Defines values for GetDreamMemorySources200JSONResponseBodySourcesLifecycleState.

func (GetDreamMemorySources200JSONResponseBodySourcesLifecycleState) Valid

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

type GetDreamMemorySourcesResponse

type GetDreamMemorySourcesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// MemoryId The memory's ID.
		MemoryId *string `json:"memory_id,omitempty"`
		Sources  *[]struct {
			// Id Source memory ID.
			Id *string `json:"id,omitempty"`

			// LifecycleState Source memory lifecycle state.
			LifecycleState *GetDreamMemorySources200JSONResponseBodySourcesLifecycleState `json:"lifecycle_state,omitempty"`

			// Text Source memory text.
			Text *string `json:"text,omitempty"`
		} `json:"sources,omitempty"`

		// Synthesized Whether this memory was produced by synthesis.
		Synthesized *bool `json:"synthesized,omitempty"`
	}
}

func ParseGetDreamMemorySourcesResponse

func ParseGetDreamMemorySourcesResponse(rsp *http.Response) (*GetDreamMemorySourcesResponse, error)

ParseGetDreamMemorySourcesResponse parses an HTTP response from a GetDreamMemorySourcesWithResponse call

func (GetDreamMemorySourcesResponse) ContentType

func (r GetDreamMemorySourcesResponse) ContentType() string

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

func (GetDreamMemorySourcesResponse) GetBody

func (r GetDreamMemorySourcesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDreamMemorySourcesResponse) GetJSON200

func (r GetDreamMemorySourcesResponse) GetJSON200() *struct {
	// MemoryId The memory's ID.
	MemoryId *string `json:"memory_id,omitempty"`
	Sources  *[]struct {
		// Id Source memory ID.
		Id *string `json:"id,omitempty"`

		// LifecycleState Source memory lifecycle state.
		LifecycleState *GetDreamMemorySources200JSONResponseBodySourcesLifecycleState `json:"lifecycle_state,omitempty"`

		// Text Source memory text.
		Text *string `json:"text,omitempty"`
	} `json:"sources,omitempty"`

	// Synthesized Whether this memory was produced by synthesis.
	Synthesized *bool `json:"synthesized,omitempty"`
}

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

func (GetDreamMemorySourcesResponse) Status

Status returns HTTPResponse.Status

func (GetDreamMemorySourcesResponse) StatusCode

func (r GetDreamMemorySourcesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDreamRunMemoriesParams

type GetDreamRunMemoriesParams struct {
	// Limit Page size (default 50, max 200).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque keyset cursor (use the run's `mem_cursor` or a previous `next_cursor`).
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}

GetDreamRunMemoriesParams defines parameters for GetDreamRunMemories.

type GetDreamRunMemoriesResponse

type GetDreamRunMemoriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// NextCursor Cursor for the next page, or null when there are no more.
		NextCursor *string `json:"next_cursor,omitempty"`
		Results    *[]struct {
			// Id Synthesized memory ID.
			Id *string `json:"id,omitempty"`

			// Sources Source memories this pattern was distilled from.
			Sources *[]struct {
				// Id Source memory ID.
				Id *string `json:"id,omitempty"`

				// Text Source memory text (truncated).
				Text *string `json:"text,omitempty"`
			} `json:"sources,omitempty"`

			// Text Synthesized (pattern) memory text.
			Text *string `json:"text,omitempty"`
		} `json:"results,omitempty"`
	}
}

func ParseGetDreamRunMemoriesResponse

func ParseGetDreamRunMemoriesResponse(rsp *http.Response) (*GetDreamRunMemoriesResponse, error)

ParseGetDreamRunMemoriesResponse parses an HTTP response from a GetDreamRunMemoriesWithResponse call

func (GetDreamRunMemoriesResponse) ContentType

func (r GetDreamRunMemoriesResponse) ContentType() string

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

func (GetDreamRunMemoriesResponse) GetBody

func (r GetDreamRunMemoriesResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDreamRunMemoriesResponse) GetJSON200

func (r GetDreamRunMemoriesResponse) GetJSON200() *struct {
	// NextCursor Cursor for the next page, or null when there are no more.
	NextCursor *string `json:"next_cursor,omitempty"`
	Results    *[]struct {
		// Id Synthesized memory ID.
		Id *string `json:"id,omitempty"`

		// Sources Source memories this pattern was distilled from.
		Sources *[]struct {
			// Id Source memory ID.
			Id *string `json:"id,omitempty"`

			// Text Source memory text (truncated).
			Text *string `json:"text,omitempty"`
		} `json:"sources,omitempty"`

		// Text Synthesized (pattern) memory text.
		Text *string `json:"text,omitempty"`
	} `json:"results,omitempty"`
}

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

func (GetDreamRunMemoriesResponse) Status

Status returns HTTPResponse.Status

func (GetDreamRunMemoriesResponse) StatusCode

func (r GetDreamRunMemoriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDreamRunsParams

type GetDreamRunsParams struct {
	// Limit Number of runs per page (default 20, max 100).
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Opaque keyset cursor from a previous page's `next_cursor`.
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}

GetDreamRunsParams defines parameters for GetDreamRuns.

type GetDreamRunsResponse

type GetDreamRunsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// NextCursor Cursor for the next page, or null when there are no more.
		NextCursor *string `json:"next_cursor,omitempty"`
		Results    *[]struct {
			// At When the run produced memories.
			At *time.Time `json:"at,omitempty"`

			// Count Total synthesized memories in this run.
			Count *int `json:"count,omitempty"`

			// HasMore Whether the run has more memories than are inlined here.
			HasMore *bool `json:"has_more,omitempty"`

			// MemCursor Cursor to page this run's remaining memories via the run-memories endpoint.
			MemCursor *string `json:"mem_cursor,omitempty"`

			// RunId Identifier of the synthesis run.
			RunId *string `json:"run_id,omitempty"`

			// Sources De-duplicated source memories across the inlined page.
			Sources *[]struct {
				// Id Source memory ID.
				Id *string `json:"id,omitempty"`

				// Text Source memory text (truncated).
				Text *string `json:"text,omitempty"`
			} `json:"sources,omitempty"`

			// Synthesized First page of synthesized memories (each with its sources).
			Synthesized *[]struct {
				// Id Synthesized memory ID.
				Id *string `json:"id,omitempty"`

				// Sources Source memories this pattern was distilled from.
				Sources *[]struct {
					// Id Source memory ID.
					Id *string `json:"id,omitempty"`

					// Text Source memory text (truncated).
					Text *string `json:"text,omitempty"`
				} `json:"sources,omitempty"`

				// Text Synthesized (pattern) memory text.
				Text *string `json:"text,omitempty"`
			} `json:"synthesized,omitempty"`
		} `json:"results,omitempty"`
	}
}

func ParseGetDreamRunsResponse

func ParseGetDreamRunsResponse(rsp *http.Response) (*GetDreamRunsResponse, error)

ParseGetDreamRunsResponse parses an HTTP response from a GetDreamRunsWithResponse call

func (GetDreamRunsResponse) ContentType

func (r GetDreamRunsResponse) ContentType() string

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

func (GetDreamRunsResponse) GetBody

func (r GetDreamRunsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDreamRunsResponse) GetJSON200

func (r GetDreamRunsResponse) GetJSON200() *struct {
	// NextCursor Cursor for the next page, or null when there are no more.
	NextCursor *string `json:"next_cursor,omitempty"`
	Results    *[]struct {
		// At When the run produced memories.
		At *time.Time `json:"at,omitempty"`

		// Count Total synthesized memories in this run.
		Count *int `json:"count,omitempty"`

		// HasMore Whether the run has more memories than are inlined here.
		HasMore *bool `json:"has_more,omitempty"`

		// MemCursor Cursor to page this run's remaining memories via the run-memories endpoint.
		MemCursor *string `json:"mem_cursor,omitempty"`

		// RunId Identifier of the synthesis run.
		RunId *string `json:"run_id,omitempty"`

		// Sources De-duplicated source memories across the inlined page.
		Sources *[]struct {
			// Id Source memory ID.
			Id *string `json:"id,omitempty"`

			// Text Source memory text (truncated).
			Text *string `json:"text,omitempty"`
		} `json:"sources,omitempty"`

		// Synthesized First page of synthesized memories (each with its sources).
		Synthesized *[]struct {
			// Id Synthesized memory ID.
			Id *string `json:"id,omitempty"`

			// Sources Source memories this pattern was distilled from.
			Sources *[]struct {
				// Id Source memory ID.
				Id *string `json:"id,omitempty"`

				// Text Source memory text (truncated).
				Text *string `json:"text,omitempty"`
			} `json:"sources,omitempty"`

			// Text Synthesized (pattern) memory text.
			Text *string `json:"text,omitempty"`
		} `json:"synthesized,omitempty"`
	} `json:"results,omitempty"`
}

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

func (GetDreamRunsResponse) Status

func (r GetDreamRunsResponse) Status() string

Status returns HTTPResponse.Status

func (GetDreamRunsResponse) StatusCode

func (r GetDreamRunsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDreamStatsResponse

type GetDreamStatsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Active Active (current) memory count.
		Active *int `json:"active,omitempty"`

		// LastRunAt When synthesis last completed.
		LastRunAt *time.Time `json:"last_run_at,omitempty"`

		// Merged Count of memories merged into a canonical one.
		Merged *int `json:"merged,omitempty"`

		// NextRunAt Projected next synthesis run.
		NextRunAt *time.Time `json:"next_run_at,omitempty"`

		// ProcessedThrough Timestamp of the newest source memory synthesis has processed.
		ProcessedThrough *time.Time `json:"processed_through,omitempty"`

		// Running Whether a synthesis run is currently in flight.
		Running *bool `json:"running,omitempty"`

		// Superseded Count of memories superseded by a newer one.
		Superseded *int `json:"superseded,omitempty"`

		// Synthesized Count of higher-order pattern memories created by synthesis.
		Synthesized *int `json:"synthesized,omitempty"`
	}
}

func ParseGetDreamStatsResponse

func ParseGetDreamStatsResponse(rsp *http.Response) (*GetDreamStatsResponse, error)

ParseGetDreamStatsResponse parses an HTTP response from a GetDreamStatsWithResponse call

func (GetDreamStatsResponse) ContentType

func (r GetDreamStatsResponse) ContentType() string

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

func (GetDreamStatsResponse) GetBody

func (r GetDreamStatsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetDreamStatsResponse) GetJSON200

func (r GetDreamStatsResponse) GetJSON200() *struct {
	// Active Active (current) memory count.
	Active *int `json:"active,omitempty"`

	// LastRunAt When synthesis last completed.
	LastRunAt *time.Time `json:"last_run_at,omitempty"`

	// Merged Count of memories merged into a canonical one.
	Merged *int `json:"merged,omitempty"`

	// NextRunAt Projected next synthesis run.
	NextRunAt *time.Time `json:"next_run_at,omitempty"`

	// ProcessedThrough Timestamp of the newest source memory synthesis has processed.
	ProcessedThrough *time.Time `json:"processed_through,omitempty"`

	// Running Whether a synthesis run is currently in flight.
	Running *bool `json:"running,omitempty"`

	// Superseded Count of memories superseded by a newer one.
	Superseded *int `json:"superseded,omitempty"`

	// Synthesized Count of higher-order pattern memories created by synthesis.
	Synthesized *int `json:"synthesized,omitempty"`
}

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

func (GetDreamStatsResponse) Status

func (r GetDreamStatsResponse) Status() string

Status returns HTTPResponse.Status

func (GetDreamStatsResponse) StatusCode

func (r GetDreamStatsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrganizationMembersResponse

type GetOrganizationMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Members List of members belonging to the organization.
		Members *[]struct {
			// Role Role of the member in the organization.
			Role *string `json:"role,omitempty"`

			// UserId Unique identifier of the member.
			UserId *string `json:"user_id,omitempty"`
		} `json:"members,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Message Example: Organization not found
		Message *string `json:"message,omitempty"`
	}
}

func ParseGetOrganizationMembersResponse

func ParseGetOrganizationMembersResponse(rsp *http.Response) (*GetOrganizationMembersResponse, error)

ParseGetOrganizationMembersResponse parses an HTTP response from a GetOrganizationMembersWithResponse call

func (GetOrganizationMembersResponse) ContentType

func (r GetOrganizationMembersResponse) ContentType() string

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

func (GetOrganizationMembersResponse) GetBody

func (r GetOrganizationMembersResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOrganizationMembersResponse) GetJSON200

func (r GetOrganizationMembersResponse) GetJSON200() *struct {
	// Members List of members belonging to the organization.
	Members *[]struct {
		// Role Role of the member in the organization.
		Role *string `json:"role,omitempty"`

		// UserId Unique identifier of the member.
		UserId *string `json:"user_id,omitempty"`
	} `json:"members,omitempty"`
}

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

func (GetOrganizationMembersResponse) GetJSON404

func (r GetOrganizationMembersResponse) GetJSON404() *struct {
	// Message Example: Organization not found
	Message *string `json:"message,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetOrganizationMembersResponse) Status

Status returns HTTPResponse.Status

func (GetOrganizationMembersResponse) StatusCode

func (r GetOrganizationMembersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrganizationResponse

type GetOrganizationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// ByokEnabled Whether bring-your-own-key is enabled for the organization.
		ByokEnabled *bool `json:"byok_enabled,omitempty"`

		// CreatedAt Timestamp of when the organization was created.
		CreatedAt *time.Time `json:"created_at,omitempty"`

		// Invitations Pending invitations for the organization.
		Invitations *[]interface{} `json:"invitations,omitempty"`

		// IsDefault Whether this is the caller's default organization.
		IsDefault *bool `json:"is_default,omitempty"`

		// IsOwner Whether the caller owns the organization.
		IsOwner *bool `json:"is_owner,omitempty"`

		// Members Members belonging to the organization.
		Members *[]struct {
			Email    *string `json:"email,omitempty"`
			Role     *string `json:"role,omitempty"`
			Username *string `json:"username,omitempty"`
		} `json:"members,omitempty"`

		// Name Name of the organization.
		Name *string `json:"name,omitempty"`

		// OrgId Organization's unique string identifier.
		OrgId *string `json:"org_id,omitempty"`

		// OwnerPricingPlan Pricing plan of the organization owner.
		OwnerPricingPlan *string `json:"owner_pricing_plan,omitempty"`

		// UpdatedAt Timestamp of when the organization was last updated.
		UpdatedAt *time.Time `json:"updated_at,omitempty"`

		// UserRole The caller's role within the organization.
		UserRole *string `json:"user_role,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Message Example: Organization not found
		Message *string `json:"message,omitempty"`
	}
}

func ParseGetOrganizationResponse

func ParseGetOrganizationResponse(rsp *http.Response) (*GetOrganizationResponse, error)

ParseGetOrganizationResponse parses an HTTP response from a GetOrganizationWithResponse call

func (GetOrganizationResponse) ContentType

func (r GetOrganizationResponse) ContentType() string

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

func (GetOrganizationResponse) GetBody

func (r GetOrganizationResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetOrganizationResponse) GetJSON200

func (r GetOrganizationResponse) GetJSON200() *struct {
	// ByokEnabled Whether bring-your-own-key is enabled for the organization.
	ByokEnabled *bool `json:"byok_enabled,omitempty"`

	// CreatedAt Timestamp of when the organization was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Invitations Pending invitations for the organization.
	Invitations *[]interface{} `json:"invitations,omitempty"`

	// IsDefault Whether this is the caller's default organization.
	IsDefault *bool `json:"is_default,omitempty"`

	// IsOwner Whether the caller owns the organization.
	IsOwner *bool `json:"is_owner,omitempty"`

	// Members Members belonging to the organization.
	Members *[]struct {
		Email    *string `json:"email,omitempty"`
		Role     *string `json:"role,omitempty"`
		Username *string `json:"username,omitempty"`
	} `json:"members,omitempty"`

	// Name Name of the organization.
	Name *string `json:"name,omitempty"`

	// OrgId Organization's unique string identifier.
	OrgId *string `json:"org_id,omitempty"`

	// OwnerPricingPlan Pricing plan of the organization owner.
	OwnerPricingPlan *string `json:"owner_pricing_plan,omitempty"`

	// UpdatedAt Timestamp of when the organization was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`

	// UserRole The caller's role within the organization.
	UserRole *string `json:"user_role,omitempty"`
}

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

func (GetOrganizationResponse) GetJSON404

func (r GetOrganizationResponse) GetJSON404() *struct {
	// Message Example: Organization not found
	Message *string `json:"message,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetOrganizationResponse) Status

func (r GetOrganizationResponse) Status() string

Status returns HTTPResponse.Status

func (GetOrganizationResponse) StatusCode

func (r GetOrganizationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectMembersResponse

type GetProjectMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Members *[]struct {
			Role     *string `json:"role,omitempty"`
			Username *string `json:"username,omitempty"`
		} `json:"members,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Message Example: Organization or project not found
		Message *string `json:"message,omitempty"`
	}
}

func ParseGetProjectMembersResponse

func ParseGetProjectMembersResponse(rsp *http.Response) (*GetProjectMembersResponse, error)

ParseGetProjectMembersResponse parses an HTTP response from a GetProjectMembersWithResponse call

func (GetProjectMembersResponse) ContentType

func (r GetProjectMembersResponse) ContentType() string

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

func (GetProjectMembersResponse) GetBody

func (r GetProjectMembersResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectMembersResponse) GetJSON200

func (r GetProjectMembersResponse) GetJSON200() *struct {
	Members *[]struct {
		Role     *string `json:"role,omitempty"`
		Username *string `json:"username,omitempty"`
	} `json:"members,omitempty"`
}

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

func (GetProjectMembersResponse) GetJSON404

func (r GetProjectMembersResponse) GetJSON404() *struct {
	// Message Example: Organization or project not found
	Message *string `json:"message,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetProjectMembersResponse) Status

func (r GetProjectMembersResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectMembersResponse) StatusCode

func (r GetProjectMembersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectResponse

type GetProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// ActivePromptProfile Identifier of the active prompt profile for this project.
		ActivePromptProfile *string `json:"active_prompt_profile,omitempty"`

		// CreatedAt Timestamp of when the project was created
		CreatedAt *time.Time `json:"created_at,omitempty"`

		// CustomCategories List of custom categories configured for memory categorization in this project.
		CustomCategories *[]map[string]interface{} `json:"custom_categories,omitempty"`

		// CustomInstructions Custom instructions for memory processing in this project.
		CustomInstructions *string `json:"custom_instructions,omitempty"`

		// Decay Whether memory decay is enabled for this project.
		Decay *bool `json:"decay,omitempty"`

		// Description Description of the project
		Description *string `json:"description,omitempty"`

		// EnableGraph Whether graph memory is enabled for this project.
		EnableGraph *bool `json:"enable_graph,omitempty"`

		// ExclusionPrompt Custom prompt describing what should be excluded when extracting memories.
		ExclusionPrompt *string `json:"exclusion_prompt,omitempty"`

		// ExpirationDate Default expiration date applied to memories created in this project.
		ExpirationDate *string `json:"expiration_date,omitempty"`

		// InclusionPrompt Custom prompt describing what should be included when extracting memories.
		InclusionPrompt *string `json:"inclusion_prompt,omitempty"`

		// IsDefault Whether this is the organization's default project.
		IsDefault *bool `json:"is_default,omitempty"`

		// Members List of members belonging to the project
		Members *[]struct {
			// Email Email address of the project member.
			Email *string `json:"email,omitempty"`

			// Role Role of the member in the project.
			Role *string `json:"role,omitempty"`

			// Username Username of the project member
			Username *string `json:"username,omitempty"`
		} `json:"members,omitempty"`

		// MemoryDepth Memory extraction depth setting for this project.
		MemoryDepth *string `json:"memory_depth,omitempty"`

		// Multilingual Whether to use the input language for memory storage and retrieval.
		Multilingual *bool `json:"multilingual,omitempty"`

		// Name Name of the project
		Name *string `json:"name,omitempty"`

		// ProjectId Unique string identifier of the project
		ProjectId *string `json:"project_id,omitempty"`

		// SummaryBatchSize Number of items processed per batch when generating summaries.
		SummaryBatchSize *int `json:"summary_batch_size,omitempty"`

		// SummaryCustomInstructions Custom instructions applied when generating summaries.
		SummaryCustomInstructions *string `json:"summary_custom_instructions,omitempty"`

		// SummaryMaxTokens Maximum tokens allowed in a generated summary.
		SummaryMaxTokens *int `json:"summary_max_tokens,omitempty"`

		// UpdateCustomInstructions Custom instructions applied when updating existing memories.
		UpdateCustomInstructions *string `json:"update_custom_instructions,omitempty"`

		// UpdatedAt Timestamp of when the project was last updated
		UpdatedAt *time.Time `json:"updated_at,omitempty"`

		// Usecase Configured use case for the project.
		Usecase *string `json:"usecase,omitempty"`

		// UserRole Role of the requesting user within this project.
		UserRole *string `json:"user_role,omitempty"`

		// Version API version used by this project.
		Version *string `json:"version,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Message Example: Organization or project not found
		Message *string `json:"message,omitempty"`
	}
}

func ParseGetProjectResponse

func ParseGetProjectResponse(rsp *http.Response) (*GetProjectResponse, error)

ParseGetProjectResponse parses an HTTP response from a GetProjectWithResponse call

func (GetProjectResponse) ContentType

func (r GetProjectResponse) ContentType() string

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

func (GetProjectResponse) GetBody

func (r GetProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectResponse) GetJSON200

func (r GetProjectResponse) GetJSON200() *struct {
	// ActivePromptProfile Identifier of the active prompt profile for this project.
	ActivePromptProfile *string `json:"active_prompt_profile,omitempty"`

	// CreatedAt Timestamp of when the project was created
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// CustomCategories List of custom categories configured for memory categorization in this project.
	CustomCategories *[]map[string]interface{} `json:"custom_categories,omitempty"`

	// CustomInstructions Custom instructions for memory processing in this project.
	CustomInstructions *string `json:"custom_instructions,omitempty"`

	// Decay Whether memory decay is enabled for this project.
	Decay *bool `json:"decay,omitempty"`

	// Description Description of the project
	Description *string `json:"description,omitempty"`

	// EnableGraph Whether graph memory is enabled for this project.
	EnableGraph *bool `json:"enable_graph,omitempty"`

	// ExclusionPrompt Custom prompt describing what should be excluded when extracting memories.
	ExclusionPrompt *string `json:"exclusion_prompt,omitempty"`

	// ExpirationDate Default expiration date applied to memories created in this project.
	ExpirationDate *string `json:"expiration_date,omitempty"`

	// InclusionPrompt Custom prompt describing what should be included when extracting memories.
	InclusionPrompt *string `json:"inclusion_prompt,omitempty"`

	// IsDefault Whether this is the organization's default project.
	IsDefault *bool `json:"is_default,omitempty"`

	// Members List of members belonging to the project
	Members *[]struct {
		// Email Email address of the project member.
		Email *string `json:"email,omitempty"`

		// Role Role of the member in the project.
		Role *string `json:"role,omitempty"`

		// Username Username of the project member
		Username *string `json:"username,omitempty"`
	} `json:"members,omitempty"`

	// MemoryDepth Memory extraction depth setting for this project.
	MemoryDepth *string `json:"memory_depth,omitempty"`

	// Multilingual Whether to use the input language for memory storage and retrieval.
	Multilingual *bool `json:"multilingual,omitempty"`

	// Name Name of the project
	Name *string `json:"name,omitempty"`

	// ProjectId Unique string identifier of the project
	ProjectId *string `json:"project_id,omitempty"`

	// SummaryBatchSize Number of items processed per batch when generating summaries.
	SummaryBatchSize *int `json:"summary_batch_size,omitempty"`

	// SummaryCustomInstructions Custom instructions applied when generating summaries.
	SummaryCustomInstructions *string `json:"summary_custom_instructions,omitempty"`

	// SummaryMaxTokens Maximum tokens allowed in a generated summary.
	SummaryMaxTokens *int `json:"summary_max_tokens,omitempty"`

	// UpdateCustomInstructions Custom instructions applied when updating existing memories.
	UpdateCustomInstructions *string `json:"update_custom_instructions,omitempty"`

	// UpdatedAt Timestamp of when the project was last updated
	UpdatedAt *time.Time `json:"updated_at,omitempty"`

	// Usecase Configured use case for the project.
	Usecase *string `json:"usecase,omitempty"`

	// UserRole Role of the requesting user within this project.
	UserRole *string `json:"user_role,omitempty"`

	// Version API version used by this project.
	Version *string `json:"version,omitempty"`
}

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

func (GetProjectResponse) GetJSON404

func (r GetProjectResponse) GetJSON404() *struct {
	// Message Example: Organization or project not found
	Message *string `json:"message,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (GetProjectResponse) Status

func (r GetProjectResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectResponse) StatusCode

func (r GetProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectWebhooksResponse

type GetProjectWebhooksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]struct {
		// CreatedAt Timestamp when the webhook was created
		CreatedAt *time.Time `json:"created_at,omitempty"`

		// EventTypes List of event types the webhook subscribes to.
		EventTypes *[]string `json:"event_types,omitempty"`

		// IsActive Whether the webhook is active
		IsActive *bool `json:"is_active,omitempty"`

		// Name Name of the webhook
		Name *string `json:"name,omitempty"`

		// Owner Username of the webhook's owner.
		Owner *string `json:"owner,omitempty"`

		// Project Name of the project the webhook is associated with
		Project *string `json:"project,omitempty"`

		// UpdatedAt Timestamp when the webhook was last updated
		UpdatedAt *time.Time `json:"updated_at,omitempty"`

		// Url URL endpoint for the webhook.
		Url *string `json:"url,omitempty"`

		// WebhookId Unique identifier of the webhook.
		WebhookId *string `json:"webhook_id,omitempty"`
	}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *struct {
		// Error Example: You don't have access to this project
		Error *string `json:"error,omitempty"`
	}
}

func ParseGetProjectWebhooksResponse

func ParseGetProjectWebhooksResponse(rsp *http.Response) (*GetProjectWebhooksResponse, error)

ParseGetProjectWebhooksResponse parses an HTTP response from a GetProjectWebhooksWithResponse call

func (GetProjectWebhooksResponse) ContentType

func (r GetProjectWebhooksResponse) ContentType() string

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

func (GetProjectWebhooksResponse) GetBody

func (r GetProjectWebhooksResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectWebhooksResponse) GetJSON200

func (r GetProjectWebhooksResponse) GetJSON200() *[]struct {
	// CreatedAt Timestamp when the webhook was created
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// EventTypes List of event types the webhook subscribes to.
	EventTypes *[]string `json:"event_types,omitempty"`

	// IsActive Whether the webhook is active
	IsActive *bool `json:"is_active,omitempty"`

	// Name Name of the webhook
	Name *string `json:"name,omitempty"`

	// Owner Username of the webhook's owner.
	Owner *string `json:"owner,omitempty"`

	// Project Name of the project the webhook is associated with
	Project *string `json:"project,omitempty"`

	// UpdatedAt Timestamp when the webhook was last updated
	UpdatedAt *time.Time `json:"updated_at,omitempty"`

	// Url URL endpoint for the webhook.
	Url *string `json:"url,omitempty"`

	// WebhookId Unique identifier of the webhook.
	WebhookId *string `json:"webhook_id,omitempty"`
}

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

func (GetProjectWebhooksResponse) GetJSON403

func (r GetProjectWebhooksResponse) GetJSON403() *struct {
	// Error Example: You don't have access to this project
	Error *string `json:"error,omitempty"`
}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (GetProjectWebhooksResponse) Status

Status returns HTTPResponse.Status

func (GetProjectWebhooksResponse) StatusCode

func (r GetProjectWebhooksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectsResponse

type GetProjectsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]struct {
		// ActivePromptProfile Identifier of the active prompt profile for this project.
		ActivePromptProfile *string `json:"active_prompt_profile,omitempty"`

		// CreatedAt Timestamp of when the project was created
		CreatedAt *time.Time `json:"created_at,omitempty"`

		// CustomCategories List of custom categories configured for memory categorization in this project.
		CustomCategories *[]map[string]interface{} `json:"custom_categories,omitempty"`

		// CustomInstructions Custom instructions for memory processing in this project.
		CustomInstructions *string `json:"custom_instructions,omitempty"`

		// Decay Whether memory decay is enabled for this project.
		Decay *bool `json:"decay,omitempty"`

		// Description Description of the project
		Description *string `json:"description,omitempty"`

		// EnableGraph Whether graph memory is enabled for this project.
		EnableGraph *bool `json:"enable_graph,omitempty"`

		// ExclusionPrompt Custom prompt describing what should be excluded when extracting memories.
		ExclusionPrompt *string `json:"exclusion_prompt,omitempty"`

		// ExpirationDate Default expiration date applied to memories created in this project.
		ExpirationDate *string `json:"expiration_date,omitempty"`

		// InclusionPrompt Custom prompt describing what should be included when extracting memories.
		InclusionPrompt *string `json:"inclusion_prompt,omitempty"`

		// IsDefault Whether this is the organization's default project.
		IsDefault *bool `json:"is_default,omitempty"`

		// Members List of members belonging to the project
		Members *[]struct {
			// Email Email address of the project member.
			Email *string `json:"email,omitempty"`

			// Role Role of the member in the project.
			Role *string `json:"role,omitempty"`

			// Username Username of the project member
			Username *string `json:"username,omitempty"`
		} `json:"members,omitempty"`

		// MemoryDepth Memory extraction depth setting for this project.
		MemoryDepth *string `json:"memory_depth,omitempty"`

		// Multilingual Whether to use the input language for memory storage and retrieval.
		Multilingual *bool `json:"multilingual,omitempty"`

		// Name Name of the project
		Name *string `json:"name,omitempty"`

		// ProjectId Unique string identifier of the project
		ProjectId *string `json:"project_id,omitempty"`

		// SummaryBatchSize Number of items processed per batch when generating summaries.
		SummaryBatchSize *int `json:"summary_batch_size,omitempty"`

		// SummaryCustomInstructions Custom instructions applied when generating summaries.
		SummaryCustomInstructions *string `json:"summary_custom_instructions,omitempty"`

		// SummaryMaxTokens Maximum tokens allowed in a generated summary.
		SummaryMaxTokens *int `json:"summary_max_tokens,omitempty"`

		// UpdateCustomInstructions Custom instructions applied when updating existing memories.
		UpdateCustomInstructions *string `json:"update_custom_instructions,omitempty"`

		// UpdatedAt Timestamp of when the project was last updated
		UpdatedAt *time.Time `json:"updated_at,omitempty"`

		// Usecase Configured use case for the project.
		Usecase *string `json:"usecase,omitempty"`

		// UserRole Role of the requesting user within this project.
		UserRole *string `json:"user_role,omitempty"`

		// Version API version used by this project.
		Version *string `json:"version,omitempty"`
	}
}

func ParseGetProjectsResponse

func ParseGetProjectsResponse(rsp *http.Response) (*GetProjectsResponse, error)

ParseGetProjectsResponse parses an HTTP response from a GetProjectsWithResponse call

func (GetProjectsResponse) ContentType

func (r GetProjectsResponse) ContentType() string

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

func (GetProjectsResponse) GetBody

func (r GetProjectsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (GetProjectsResponse) GetJSON200

func (r GetProjectsResponse) GetJSON200() *[]struct {
	// ActivePromptProfile Identifier of the active prompt profile for this project.
	ActivePromptProfile *string `json:"active_prompt_profile,omitempty"`

	// CreatedAt Timestamp of when the project was created
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// CustomCategories List of custom categories configured for memory categorization in this project.
	CustomCategories *[]map[string]interface{} `json:"custom_categories,omitempty"`

	// CustomInstructions Custom instructions for memory processing in this project.
	CustomInstructions *string `json:"custom_instructions,omitempty"`

	// Decay Whether memory decay is enabled for this project.
	Decay *bool `json:"decay,omitempty"`

	// Description Description of the project
	Description *string `json:"description,omitempty"`

	// EnableGraph Whether graph memory is enabled for this project.
	EnableGraph *bool `json:"enable_graph,omitempty"`

	// ExclusionPrompt Custom prompt describing what should be excluded when extracting memories.
	ExclusionPrompt *string `json:"exclusion_prompt,omitempty"`

	// ExpirationDate Default expiration date applied to memories created in this project.
	ExpirationDate *string `json:"expiration_date,omitempty"`

	// InclusionPrompt Custom prompt describing what should be included when extracting memories.
	InclusionPrompt *string `json:"inclusion_prompt,omitempty"`

	// IsDefault Whether this is the organization's default project.
	IsDefault *bool `json:"is_default,omitempty"`

	// Members List of members belonging to the project
	Members *[]struct {
		// Email Email address of the project member.
		Email *string `json:"email,omitempty"`

		// Role Role of the member in the project.
		Role *string `json:"role,omitempty"`

		// Username Username of the project member
		Username *string `json:"username,omitempty"`
	} `json:"members,omitempty"`

	// MemoryDepth Memory extraction depth setting for this project.
	MemoryDepth *string `json:"memory_depth,omitempty"`

	// Multilingual Whether to use the input language for memory storage and retrieval.
	Multilingual *bool `json:"multilingual,omitempty"`

	// Name Name of the project
	Name *string `json:"name,omitempty"`

	// ProjectId Unique string identifier of the project
	ProjectId *string `json:"project_id,omitempty"`

	// SummaryBatchSize Number of items processed per batch when generating summaries.
	SummaryBatchSize *int `json:"summary_batch_size,omitempty"`

	// SummaryCustomInstructions Custom instructions applied when generating summaries.
	SummaryCustomInstructions *string `json:"summary_custom_instructions,omitempty"`

	// SummaryMaxTokens Maximum tokens allowed in a generated summary.
	SummaryMaxTokens *int `json:"summary_max_tokens,omitempty"`

	// UpdateCustomInstructions Custom instructions applied when updating existing memories.
	UpdateCustomInstructions *string `json:"update_custom_instructions,omitempty"`

	// UpdatedAt Timestamp of when the project was last updated
	UpdatedAt *time.Time `json:"updated_at,omitempty"`

	// Usecase Configured use case for the project.
	Usecase *string `json:"usecase,omitempty"`

	// UserRole Role of the requesting user within this project.
	UserRole *string `json:"user_role,omitempty"`

	// Version API version used by this project.
	Version *string `json:"version,omitempty"`
}

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

func (GetProjectsResponse) Status

func (r GetProjectsResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectsResponse) StatusCode

func (r GetProjectsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type MemoriesAddV3JSONBody

type MemoriesAddV3JSONBody struct {
	// AgentCustomInstructions Extraction instructions for agent-scoped memories, overriding the project-level setting for this call. Applied when `agent_id` is sent without `user_id`; when both are sent it governs the assistant-attributed memories while `custom_instructions` governs the rest.
	AgentCustomInstructions *string `json:"agent_custom_instructions,omitempty"`

	// AgentId Scope memories to this agent.
	AgentId *string `json:"agent_id,omitempty"`

	// AppId Scope memories to this app.
	AppId *string `json:"app_id,omitempty"`

	// CustomCategories Category catalog for this call. Replaces the project-level list rather than merging with it. Omit to fall back to the project list, then the default catalog.
	CustomCategories *[]map[string]string `json:"custom_categories,omitempty"`

	// CustomInstructions Project-level instructions that guide extraction for this call.
	CustomInstructions *string `json:"custom_instructions,omitempty"`

	// EnableGraph Enable graph memory extraction for this call.
	EnableGraph *bool `json:"enable_graph,omitempty"`

	// Excludes Free-text hint of what to exclude during extraction, e.g. "politics".
	Excludes *string `json:"excludes,omitempty"`

	// ExpirationDate Optional expiration date in YYYY-MM-DD format. After this date, memories are hidden from search and get-all unless `show_expired` is true.
	ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`

	// Immutable Mark stored memories as immutable, excluding them from future update/consolidation.
	Immutable *bool `json:"immutable,omitempty"`

	// Includes Free-text hint of what to include during extraction, e.g. "vehicles".
	Includes *string `json:"includes,omitempty"`

	// Infer When `false`, stores each message verbatim without running the extraction LLM.
	Infer *bool `json:"infer,omitempty"`

	// Messages Conversation messages to extract memories from.
	Messages []struct {
		Content string                            `json:"content"`
		Role    MemoriesAddV3JSONBodyMessagesRole `json:"role"`
	} `json:"messages"`

	// Metadata User-supplied metadata to attach to each extracted memory.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// ObservationDate Date the conversation was observed (YYYY-MM-DD).
	ObservationDate *openapi_types.Date `json:"observation_date,omitempty"`

	// ObservationDatetime ISO 8601 datetime the conversation was observed.
	ObservationDatetime *time.Time `json:"observation_datetime,omitempty"`

	// OutputFormat Response envelope version, e.g. "v1.1". Full set of accepted values not confirmed.
	OutputFormat *string `json:"output_format,omitempty"`

	// PromptProfileId ID of a saved prompt profile to use for extraction.
	PromptProfileId *string `json:"prompt_profile_id,omitempty"`

	// RunId Scope memories to this session / run.
	RunId *string `json:"run_id,omitempty"`

	// StructuredDataSchema Optional schema constraining structured extraction. Exact shape not fully characterized; observed only as null in captured traffic.
	StructuredDataSchema *map[string]interface{} `json:"structured_data_schema,omitempty"`

	// TemporalReasoning Enable temporal reasoning during extraction.
	TemporalReasoning *bool `json:"temporal_reasoning,omitempty"`

	// Timestamp Unix epoch seconds used to backdate created_at on the stored memories. Not echoed back in the event payload but confirmed applied.
	Timestamp *int `json:"timestamp,omitempty"`

	// Timezone IANA timezone used to interpret observation_datetime and observation_date, e.g. "UTC".
	Timezone *string `json:"timezone,omitempty"`

	// UserId Scope memories to this user.
	UserId *string `json:"user_id,omitempty"`
}

MemoriesAddV3JSONBody defines parameters for MemoriesAddV3.

type MemoriesAddV3JSONBodyMessagesRole

type MemoriesAddV3JSONBodyMessagesRole string

MemoriesAddV3JSONBodyMessagesRole defines parameters for MemoriesAddV3.

const (
	MemoriesAddV3JSONBodyMessagesRoleAssistant MemoriesAddV3JSONBodyMessagesRole = "assistant"
	MemoriesAddV3JSONBodyMessagesRoleSystem    MemoriesAddV3JSONBodyMessagesRole = "system"
	MemoriesAddV3JSONBodyMessagesRoleUser      MemoriesAddV3JSONBodyMessagesRole = "user"
)

Defines values for MemoriesAddV3JSONBodyMessagesRole.

func (MemoriesAddV3JSONBodyMessagesRole) Valid

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

type MemoriesAddV3JSONRequestBody

type MemoriesAddV3JSONRequestBody MemoriesAddV3JSONBody

MemoriesAddV3JSONRequestBody defines body for MemoriesAddV3 for application/json ContentType.

type MemoriesAddV3Response

type MemoriesAddV3Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		EventId *openapi_types.UUID `json:"event_id,omitempty"`

		// Message Only present when `infer` is `false`, where processing is synchronous.
		Message *string `json:"message,omitempty"`

		// Results Only present when `infer` is `false`, where processing is synchronous and memories are stored verbatim without extraction.
		Results *[]struct {
			Data *struct {
				Memory *string `json:"memory,omitempty"`
			} `json:"data,omitempty"`

			// Event Example: ADD
			Event *string             `json:"event,omitempty"`
			Id    *openapi_types.UUID `json:"id,omitempty"`
		} `json:"results,omitempty"`
		Status *MemoriesAddV3200JSONResponseBodyStatus `json:"status,omitempty"`
	}
}

func ParseMemoriesAddV3Response

func ParseMemoriesAddV3Response(rsp *http.Response) (*MemoriesAddV3Response, error)

ParseMemoriesAddV3Response parses an HTTP response from a MemoriesAddV3WithResponse call

func (MemoriesAddV3Response) ContentType

func (r MemoriesAddV3Response) ContentType() string

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

func (MemoriesAddV3Response) GetBody

func (r MemoriesAddV3Response) GetBody() []byte

GetBody returns the raw response body bytes

func (MemoriesAddV3Response) GetJSON200

func (r MemoriesAddV3Response) GetJSON200() *struct {
	EventId *openapi_types.UUID `json:"event_id,omitempty"`

	// Message Only present when `infer` is `false`, where processing is synchronous.
	Message *string `json:"message,omitempty"`

	// Results Only present when `infer` is `false`, where processing is synchronous and memories are stored verbatim without extraction.
	Results *[]struct {
		Data *struct {
			Memory *string `json:"memory,omitempty"`
		} `json:"data,omitempty"`

		// Event Example: ADD
		Event *string             `json:"event,omitempty"`
		Id    *openapi_types.UUID `json:"id,omitempty"`
	} `json:"results,omitempty"`
	Status *MemoriesAddV3200JSONResponseBodyStatus `json:"status,omitempty"`
}

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

func (MemoriesAddV3Response) Status

func (r MemoriesAddV3Response) Status() string

Status returns HTTPResponse.Status

func (MemoriesAddV3Response) StatusCode

func (r MemoriesAddV3Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MemoriesAddV3200JSONResponseBodyStatus

type MemoriesAddV3200JSONResponseBodyStatus string

MemoriesAddV3200JSONResponseBodyStatus defines parameters for MemoriesAddV3.

const (
	MemoriesAddV3200JSONResponseBodyStatusFAILED    MemoriesAddV3200JSONResponseBodyStatus = "FAILED"
	MemoriesAddV3200JSONResponseBodyStatusPENDING   MemoriesAddV3200JSONResponseBodyStatus = "PENDING"
	MemoriesAddV3200JSONResponseBodyStatusSUCCEEDED MemoriesAddV3200JSONResponseBodyStatus = "SUCCEEDED"
)

Defines values for MemoriesAddV3200JSONResponseBodyStatus.

func (MemoriesAddV3200JSONResponseBodyStatus) Valid

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

type MemoriesBatchDeleteJSONBody

type MemoriesBatchDeleteJSONBody struct {
	// Memories Array of memory objects to delete.
	Memories []struct {
		// MemoryId The unique identifier of the memory to delete.
		MemoryId openapi_types.UUID `json:"memory_id"`
	} `json:"memories"`
}

MemoriesBatchDeleteJSONBody defines parameters for MemoriesBatchDelete.

type MemoriesBatchDeleteJSONRequestBody

type MemoriesBatchDeleteJSONRequestBody MemoriesBatchDeleteJSONBody

MemoriesBatchDeleteJSONRequestBody defines body for MemoriesBatchDelete for application/json ContentType.

type MemoriesBatchDeleteResponse

type MemoriesBatchDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Message Example: Successfully deleted 2 memories
		Message *string `json:"message,omitempty"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		// Error Example: Maximum of 1000 memories can be deleted in a single request
		Error *string `json:"error,omitempty"`
	}
}

func ParseMemoriesBatchDeleteResponse

func ParseMemoriesBatchDeleteResponse(rsp *http.Response) (*MemoriesBatchDeleteResponse, error)

ParseMemoriesBatchDeleteResponse parses an HTTP response from a MemoriesBatchDeleteWithResponse call

func (MemoriesBatchDeleteResponse) ContentType

func (r MemoriesBatchDeleteResponse) ContentType() string

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

func (MemoriesBatchDeleteResponse) GetBody

func (r MemoriesBatchDeleteResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (MemoriesBatchDeleteResponse) GetJSON200

func (r MemoriesBatchDeleteResponse) GetJSON200() *struct {
	// Message Example: Successfully deleted 2 memories
	Message *string `json:"message,omitempty"`
}

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

func (MemoriesBatchDeleteResponse) GetJSON400

func (r MemoriesBatchDeleteResponse) GetJSON400() *struct {
	// Error Example: Maximum of 1000 memories can be deleted in a single request
	Error *string `json:"error,omitempty"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (MemoriesBatchDeleteResponse) Status

Status returns HTTPResponse.Status

func (MemoriesBatchDeleteResponse) StatusCode

func (r MemoriesBatchDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MemoriesBatchUpdateJSONBody

type MemoriesBatchUpdateJSONBody struct {
	Memories []struct {
		// MemoryId The unique identifier of the memory to update
		MemoryId openapi_types.UUID `json:"memory_id"`

		// Metadata Updated metadata to associate with the memory.
		Metadata *map[string]interface{} `json:"metadata,omitempty"`

		// Text The new text content for the memory
		Text *string `json:"text,omitempty"`
	} `json:"memories"`
}

MemoriesBatchUpdateJSONBody defines parameters for MemoriesBatchUpdate.

type MemoriesBatchUpdateJSONRequestBody

type MemoriesBatchUpdateJSONRequestBody MemoriesBatchUpdateJSONBody

MemoriesBatchUpdateJSONRequestBody defines body for MemoriesBatchUpdate for application/json ContentType.

type MemoriesBatchUpdateResponse

type MemoriesBatchUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Message Example: Successfully updated 2 memories
		Message *string `json:"message,omitempty"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		// Error Example: Maximum of 1000 memories can be updated in a single request
		Error *string `json:"error,omitempty"`
	}
}

func ParseMemoriesBatchUpdateResponse

func ParseMemoriesBatchUpdateResponse(rsp *http.Response) (*MemoriesBatchUpdateResponse, error)

ParseMemoriesBatchUpdateResponse parses an HTTP response from a MemoriesBatchUpdateWithResponse call

func (MemoriesBatchUpdateResponse) ContentType

func (r MemoriesBatchUpdateResponse) ContentType() string

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

func (MemoriesBatchUpdateResponse) GetBody

func (r MemoriesBatchUpdateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (MemoriesBatchUpdateResponse) GetJSON200

func (r MemoriesBatchUpdateResponse) GetJSON200() *struct {
	// Message Example: Successfully updated 2 memories
	Message *string `json:"message,omitempty"`
}

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

func (MemoriesBatchUpdateResponse) GetJSON400

func (r MemoriesBatchUpdateResponse) GetJSON400() *struct {
	// Error Example: Maximum of 1000 memories can be updated in a single request
	Error *string `json:"error,omitempty"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (MemoriesBatchUpdateResponse) Status

Status returns HTTPResponse.Status

func (MemoriesBatchUpdateResponse) StatusCode

func (r MemoriesBatchUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MemoriesCreate200JSONResponseBody

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

MemoriesCreate200JSONResponseBody defines parameters for MemoriesCreate.

func (MemoriesCreate200JSONResponseBody) AsMemoriesCreate200JSONResponseBody0

func (t MemoriesCreate200JSONResponseBody) AsMemoriesCreate200JSONResponseBody0() (MemoriesCreate200JSONResponseBody0, error)

AsMemoriesCreate200JSONResponseBody0 returns the union data inside the MemoriesCreate200JSONResponseBody as a MemoriesCreate200JSONResponseBody0

func (MemoriesCreate200JSONResponseBody) AsMemoriesCreate200JSONResponseBody1

func (t MemoriesCreate200JSONResponseBody) AsMemoriesCreate200JSONResponseBody1() (MemoriesCreate200JSONResponseBody1, error)

AsMemoriesCreate200JSONResponseBody1 returns the union data inside the MemoriesCreate200JSONResponseBody as a MemoriesCreate200JSONResponseBody1

func (*MemoriesCreate200JSONResponseBody) FromMemoriesCreate200JSONResponseBody0

func (t *MemoriesCreate200JSONResponseBody) FromMemoriesCreate200JSONResponseBody0(v MemoriesCreate200JSONResponseBody0) error

FromMemoriesCreate200JSONResponseBody0 overwrites any union data inside the MemoriesCreate200JSONResponseBody as the provided MemoriesCreate200JSONResponseBody0

func (*MemoriesCreate200JSONResponseBody) FromMemoriesCreate200JSONResponseBody1

func (t *MemoriesCreate200JSONResponseBody) FromMemoriesCreate200JSONResponseBody1(v MemoriesCreate200JSONResponseBody1) error

FromMemoriesCreate200JSONResponseBody1 overwrites any union data inside the MemoriesCreate200JSONResponseBody as the provided MemoriesCreate200JSONResponseBody1

func (MemoriesCreate200JSONResponseBody) MarshalJSON

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

func (*MemoriesCreate200JSONResponseBody) MergeMemoriesCreate200JSONResponseBody0

func (t *MemoriesCreate200JSONResponseBody) MergeMemoriesCreate200JSONResponseBody0(v MemoriesCreate200JSONResponseBody0) error

MergeMemoriesCreate200JSONResponseBody0 performs a merge with any union data inside the MemoriesCreate200JSONResponseBody, using the provided MemoriesCreate200JSONResponseBody0

func (*MemoriesCreate200JSONResponseBody) MergeMemoriesCreate200JSONResponseBody1

func (t *MemoriesCreate200JSONResponseBody) MergeMemoriesCreate200JSONResponseBody1(v MemoriesCreate200JSONResponseBody1) error

MergeMemoriesCreate200JSONResponseBody1 performs a merge with any union data inside the MemoriesCreate200JSONResponseBody, using the provided MemoriesCreate200JSONResponseBody1

func (*MemoriesCreate200JSONResponseBody) UnmarshalJSON

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

type MemoriesCreate200JSONResponseBody0

type MemoriesCreate200JSONResponseBody0 = []struct {
	EventId openapi_types.UUID `json:"event_id"`

	// Message Example: Memory processing has been queued for background execution
	Message string `json:"message"`

	// Status Example: PENDING
	Status string `json:"status"`
}

MemoriesCreate200JSONResponseBody0 defines parameters for MemoriesCreate.

type MemoriesCreate200JSONResponseBody1

type MemoriesCreate200JSONResponseBody1 struct {
	Relations []interface{} `json:"relations"`
	Results   []struct {
		EventId openapi_types.UUID `json:"event_id"`

		// Message Example: Memory processing has been queued for background execution
		Message string `json:"message"`

		// Status Example: PENDING
		Status string `json:"status"`
	} `json:"results"`
}

MemoriesCreate200JSONResponseBody1 defines parameters for MemoriesCreate.

type MemoriesCreateJSONRequestBody deprecated

type MemoriesCreateJSONRequestBody = MemoryInput

MemoriesCreateJSONRequestBody defines body for MemoriesCreate for application/json ContentType.

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

type MemoriesCreateResponse

type MemoriesCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MemoriesCreate200JSONResponseBody
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *map[string]interface{}
}

func ParseMemoriesCreateResponse

func ParseMemoriesCreateResponse(rsp *http.Response) (*MemoriesCreateResponse, error)

ParseMemoriesCreateResponse parses an HTTP response from a MemoriesCreateWithResponse call

func (MemoriesCreateResponse) ContentType

func (r MemoriesCreateResponse) ContentType() string

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

func (MemoriesCreateResponse) GetBody

func (r MemoriesCreateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (MemoriesCreateResponse) GetJSON200

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

func (MemoriesCreateResponse) GetJSON400

func (r MemoriesCreateResponse) GetJSON400() *map[string]interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (MemoriesCreateResponse) Status

func (r MemoriesCreateResponse) Status() string

Status returns HTTPResponse.Status

func (MemoriesCreateResponse) StatusCode

func (r MemoriesCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MemoriesDeleteAllParams

type MemoriesDeleteAllParams struct {
	// UserId Filter by user ID. Pass `*` to delete memories for all users.
	UserId *string `form:"user_id,omitempty" json:"user_id,omitempty"`

	// AgentId Filter by agent ID. Pass `*` to delete memories for all agents.
	AgentId *string `form:"agent_id,omitempty" json:"agent_id,omitempty"`

	// AppId Filter by app ID. Pass `*` to delete memories for all apps.
	AppId *string `form:"app_id,omitempty" json:"app_id,omitempty"`

	// RunId Filter by run ID. Pass `*` to delete memories for all runs.
	RunId *string `form:"run_id,omitempty" json:"run_id,omitempty"`

	// Metadata Filter memories by metadata (JSON string).
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// OrgId Filter memories by organization ID.
	OrgId *string `form:"org_id,omitempty" json:"org_id,omitempty"`

	// ProjectId Filter memories by project ID.
	ProjectId *string `form:"project_id,omitempty" json:"project_id,omitempty"`
}

MemoriesDeleteAllParams defines parameters for MemoriesDeleteAll.

type MemoriesDeleteAllResponse

type MemoriesDeleteAllResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		EventId *openapi_types.UUID `json:"event_id,omitempty"`

		// Message Example: Delete in progress. This may take some time.
		Message *string `json:"message,omitempty"`
	}
}

func ParseMemoriesDeleteAllResponse

func ParseMemoriesDeleteAllResponse(rsp *http.Response) (*MemoriesDeleteAllResponse, error)

ParseMemoriesDeleteAllResponse parses an HTTP response from a MemoriesDeleteAllWithResponse call

func (MemoriesDeleteAllResponse) ContentType

func (r MemoriesDeleteAllResponse) ContentType() string

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

func (MemoriesDeleteAllResponse) GetBody

func (r MemoriesDeleteAllResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (MemoriesDeleteAllResponse) GetJSON200

func (r MemoriesDeleteAllResponse) GetJSON200() *struct {
	EventId *openapi_types.UUID `json:"event_id,omitempty"`

	// Message Example: Delete in progress. This may take some time.
	Message *string `json:"message,omitempty"`
}

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

func (MemoriesDeleteAllResponse) Status

func (r MemoriesDeleteAllResponse) Status() string

Status returns HTTPResponse.Status

func (MemoriesDeleteAllResponse) StatusCode

func (r MemoriesDeleteAllResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MemoriesDeleteParams

type MemoriesDeleteParams struct {
	// DeleteLinked If true, also delete memories linked to this one. The response then includes a `cascade_count` field with the number of linked memories deleted.
	DeleteLinked *bool `form:"delete_linked,omitempty" json:"delete_linked,omitempty"`
}

MemoriesDeleteParams defines parameters for MemoriesDelete.

type MemoriesDeleteResponse

type MemoriesDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// CascadeCount Number of linked memories also deleted. Only present when `delete_linked=true` was passed.
		CascadeCount *int `json:"cascade_count,omitempty"`

		// Message Example: Memory deleted successfully!
		Message *string `json:"message,omitempty"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		// Error Example: memory_id should be a valid UUID
		Error *string `json:"error,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Error Example: Memory not found!
		Error *string `json:"error,omitempty"`
	}
}

func ParseMemoriesDeleteResponse

func ParseMemoriesDeleteResponse(rsp *http.Response) (*MemoriesDeleteResponse, error)

ParseMemoriesDeleteResponse parses an HTTP response from a MemoriesDeleteWithResponse call

func (MemoriesDeleteResponse) ContentType

func (r MemoriesDeleteResponse) ContentType() string

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

func (MemoriesDeleteResponse) GetBody

func (r MemoriesDeleteResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (MemoriesDeleteResponse) GetJSON200

func (r MemoriesDeleteResponse) GetJSON200() *struct {
	// CascadeCount Number of linked memories also deleted. Only present when `delete_linked=true` was passed.
	CascadeCount *int `json:"cascade_count,omitempty"`

	// Message Example: Memory deleted successfully!
	Message *string `json:"message,omitempty"`
}

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

func (MemoriesDeleteResponse) GetJSON400

func (r MemoriesDeleteResponse) GetJSON400() *struct {
	// Error Example: memory_id should be a valid UUID
	Error *string `json:"error,omitempty"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (MemoriesDeleteResponse) GetJSON404

func (r MemoriesDeleteResponse) GetJSON404() *struct {
	// Error Example: Memory not found!
	Error *string `json:"error,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (MemoriesDeleteResponse) Status

func (r MemoriesDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (MemoriesDeleteResponse) StatusCode

func (r MemoriesDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MemoriesEntityReadParams

type MemoriesEntityReadParams struct {
	// Page Page number for pagination. Default: 1. Page size is fixed at 100 and is not client-configurable.
	Page *int `form:"page,omitempty" json:"page,omitempty"`
}

MemoriesEntityReadParams defines parameters for MemoriesEntityRead.

type MemoriesEntityReadParamsEntityType

type MemoriesEntityReadParamsEntityType string

MemoriesEntityReadParamsEntityType defines parameters for MemoriesEntityRead.

const (
	MemoriesEntityReadParamsEntityTypeAgent MemoriesEntityReadParamsEntityType = "agent"
	MemoriesEntityReadParamsEntityTypeApp   MemoriesEntityReadParamsEntityType = "app"
	MemoriesEntityReadParamsEntityTypeRun   MemoriesEntityReadParamsEntityType = "run"
	MemoriesEntityReadParamsEntityTypeUser  MemoriesEntityReadParamsEntityType = "user"
)

Defines values for MemoriesEntityReadParamsEntityType.

func (MemoriesEntityReadParamsEntityType) Valid

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

type MemoriesEntityReadResponse

type MemoriesEntityReadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Count    int     `json:"count"`
		Next     *string `json:"next"`
		Previous *string `json:"previous"`
		Results  []struct {
			Categories *[]string `json:"categories,omitempty"`
			CreatedAt  time.Time `json:"created_at"`
			Id         string    `json:"id"`

			// Input The conversation input that produced this memory.
			Input *[]struct {
				Content *string `json:"content,omitempty"`
				Role    *string `json:"role,omitempty"`
			} `json:"input,omitempty"`
			IsUpdated *bool                   `json:"is_updated,omitempty"`
			Memory    string                  `json:"memory"`
			Metadata  *map[string]interface{} `json:"metadata,omitempty"`
			UpdatedAt time.Time               `json:"updated_at"`
		} `json:"results"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		// Error Example: Invalid entity type
		Error *string `json:"error,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Detail Example: Invalid page.
		Detail *string `json:"detail,omitempty"`
	}
}

func ParseMemoriesEntityReadResponse

func ParseMemoriesEntityReadResponse(rsp *http.Response) (*MemoriesEntityReadResponse, error)

ParseMemoriesEntityReadResponse parses an HTTP response from a MemoriesEntityReadWithResponse call

func (MemoriesEntityReadResponse) ContentType

func (r MemoriesEntityReadResponse) ContentType() string

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

func (MemoriesEntityReadResponse) GetBody

func (r MemoriesEntityReadResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (MemoriesEntityReadResponse) GetJSON200

func (r MemoriesEntityReadResponse) GetJSON200() *struct {
	Count    int     `json:"count"`
	Next     *string `json:"next"`
	Previous *string `json:"previous"`
	Results  []struct {
		Categories *[]string `json:"categories,omitempty"`
		CreatedAt  time.Time `json:"created_at"`
		Id         string    `json:"id"`

		// Input The conversation input that produced this memory.
		Input *[]struct {
			Content *string `json:"content,omitempty"`
			Role    *string `json:"role,omitempty"`
		} `json:"input,omitempty"`
		IsUpdated *bool                   `json:"is_updated,omitempty"`
		Memory    string                  `json:"memory"`
		Metadata  *map[string]interface{} `json:"metadata,omitempty"`
		UpdatedAt time.Time               `json:"updated_at"`
	} `json:"results"`
}

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

func (MemoriesEntityReadResponse) GetJSON400

func (r MemoriesEntityReadResponse) GetJSON400() *struct {
	// Error Example: Invalid entity type
	Error *string `json:"error,omitempty"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (MemoriesEntityReadResponse) GetJSON404

func (r MemoriesEntityReadResponse) GetJSON404() *struct {
	// Detail Example: Invalid page.
	Detail *string `json:"detail,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (MemoriesEntityReadResponse) Status

Status returns HTTPResponse.Status

func (MemoriesEntityReadResponse) StatusCode

func (r MemoriesEntityReadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MemoriesEventsList200JSONResponseBodyResultsEvent

type MemoriesEventsList200JSONResponseBodyResultsEvent string

MemoriesEventsList200JSONResponseBodyResultsEvent defines parameters for MemoriesEventsList.

const (
	MemoriesEventsList200JSONResponseBodyResultsEventADD    MemoriesEventsList200JSONResponseBodyResultsEvent = "ADD"
	MemoriesEventsList200JSONResponseBodyResultsEventDELETE MemoriesEventsList200JSONResponseBodyResultsEvent = "DELETE"
	MemoriesEventsList200JSONResponseBodyResultsEventUPDATE MemoriesEventsList200JSONResponseBodyResultsEvent = "UPDATE"
)

Defines values for MemoriesEventsList200JSONResponseBodyResultsEvent.

func (MemoriesEventsList200JSONResponseBodyResultsEvent) Valid

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

type MemoriesEventsListParams

type MemoriesEventsListParams struct {
	// Page Page number for pagination. Default: 1. Default page size is 100.
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// Limit Number of items per page. Default: 100.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

MemoriesEventsListParams defines parameters for MemoriesEventsList.

type MemoriesEventsListResponse

type MemoriesEventsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Count    int     `json:"count"`
		Next     *string `json:"next"`
		Previous *string `json:"previous"`
		Results  []struct {
			// AgentId The identifier of the agent associated with this memory, if any.
			AgentId *string `json:"agent_id,omitempty"`

			// AppId The identifier of the app associated with this memory, if any.
			AppId *string `json:"app_id,omitempty"`

			// Categories Categories associated with the memory at this point in its history
			Categories *[]string `json:"categories,omitempty"`

			// CreatedAt The timestamp when this history entry was created.
			CreatedAt time.Time `json:"created_at"`

			// EmbeddingQwen Internal embedding representation (Qwen model), if available
			EmbeddingQwen *string `json:"embedding_qwen,omitempty"`

			// Event The type of event that occurred
			Event MemoriesEventsList200JSONResponseBodyResultsEvent `json:"event"`

			// Id Unique identifier for the history entry.
			Id openapi_types.UUID `json:"id"`

			// Input The conversation input that led to this memory change
			Input *[]struct {
				Content *string `json:"content,omitempty"`
				Role    *string `json:"role,omitempty"`
			} `json:"input,omitempty"`

			// MemoryId Unique identifier of the associated memory.
			MemoryId openapi_types.UUID `json:"memory_id"`

			// Metadata Additional metadata associated with the memory change
			Metadata *map[string]interface{} `json:"metadata,omitempty"`

			// NewMemory The new or updated state of the memory
			NewMemory string `json:"new_memory"`

			// OldMemory The previous state of the memory, if applicable
			OldMemory *string `json:"old_memory,omitempty"`

			// PreviousEmbeddingQwen Previous internal embedding representation (Qwen model), if applicable
			PreviousEmbeddingQwen *string `json:"previous_embedding_qwen,omitempty"`

			// SessionId The run identifier associated with this memory, returned as `session_id`.
			SessionId *string `json:"session_id,omitempty"`

			// UpdatedAt The timestamp when this history entry was last updated.
			UpdatedAt time.Time `json:"updated_at"`

			// UserId The identifier of the user associated with this memory
			UserId string `json:"user_id"`
		} `json:"results"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Detail Example: Invalid page.
		Detail *string `json:"detail,omitempty"`
	}
}

func ParseMemoriesEventsListResponse

func ParseMemoriesEventsListResponse(rsp *http.Response) (*MemoriesEventsListResponse, error)

ParseMemoriesEventsListResponse parses an HTTP response from a MemoriesEventsListWithResponse call

func (MemoriesEventsListResponse) ContentType

func (r MemoriesEventsListResponse) ContentType() string

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

func (MemoriesEventsListResponse) GetBody

func (r MemoriesEventsListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (MemoriesEventsListResponse) GetJSON200

func (r MemoriesEventsListResponse) GetJSON200() *struct {
	Count    int     `json:"count"`
	Next     *string `json:"next"`
	Previous *string `json:"previous"`
	Results  []struct {
		// AgentId The identifier of the agent associated with this memory, if any.
		AgentId *string `json:"agent_id,omitempty"`

		// AppId The identifier of the app associated with this memory, if any.
		AppId *string `json:"app_id,omitempty"`

		// Categories Categories associated with the memory at this point in its history
		Categories *[]string `json:"categories,omitempty"`

		// CreatedAt The timestamp when this history entry was created.
		CreatedAt time.Time `json:"created_at"`

		// EmbeddingQwen Internal embedding representation (Qwen model), if available
		EmbeddingQwen *string `json:"embedding_qwen,omitempty"`

		// Event The type of event that occurred
		Event MemoriesEventsList200JSONResponseBodyResultsEvent `json:"event"`

		// Id Unique identifier for the history entry.
		Id openapi_types.UUID `json:"id"`

		// Input The conversation input that led to this memory change
		Input *[]struct {
			Content *string `json:"content,omitempty"`
			Role    *string `json:"role,omitempty"`
		} `json:"input,omitempty"`

		// MemoryId Unique identifier of the associated memory.
		MemoryId openapi_types.UUID `json:"memory_id"`

		// Metadata Additional metadata associated with the memory change
		Metadata *map[string]interface{} `json:"metadata,omitempty"`

		// NewMemory The new or updated state of the memory
		NewMemory string `json:"new_memory"`

		// OldMemory The previous state of the memory, if applicable
		OldMemory *string `json:"old_memory,omitempty"`

		// PreviousEmbeddingQwen Previous internal embedding representation (Qwen model), if applicable
		PreviousEmbeddingQwen *string `json:"previous_embedding_qwen,omitempty"`

		// SessionId The run identifier associated with this memory, returned as `session_id`.
		SessionId *string `json:"session_id,omitempty"`

		// UpdatedAt The timestamp when this history entry was last updated.
		UpdatedAt time.Time `json:"updated_at"`

		// UserId The identifier of the user associated with this memory
		UserId string `json:"user_id"`
	} `json:"results"`
}

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

func (MemoriesEventsListResponse) GetJSON404

func (r MemoriesEventsListResponse) GetJSON404() *struct {
	// Detail Example: Invalid page.
	Detail *string `json:"detail,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (MemoriesEventsListResponse) Status

Status returns HTTPResponse.Status

func (MemoriesEventsListResponse) StatusCode

func (r MemoriesEventsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MemoriesHistoryList200JSONResponseBodyEvent

type MemoriesHistoryList200JSONResponseBodyEvent string

MemoriesHistoryList200JSONResponseBodyEvent defines parameters for MemoriesHistoryList.

const (
	MemoriesHistoryList200JSONResponseBodyEventADD    MemoriesHistoryList200JSONResponseBodyEvent = "ADD"
	MemoriesHistoryList200JSONResponseBodyEventDELETE MemoriesHistoryList200JSONResponseBodyEvent = "DELETE"
	MemoriesHistoryList200JSONResponseBodyEventUPDATE MemoriesHistoryList200JSONResponseBodyEvent = "UPDATE"
)

Defines values for MemoriesHistoryList200JSONResponseBodyEvent.

func (MemoriesHistoryList200JSONResponseBodyEvent) Valid

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

type MemoriesHistoryList200JSONResponseBodyInputRole

type MemoriesHistoryList200JSONResponseBodyInputRole string

MemoriesHistoryList200JSONResponseBodyInputRole defines parameters for MemoriesHistoryList.

const (
	MemoriesHistoryList200JSONResponseBodyInputRoleAssistant MemoriesHistoryList200JSONResponseBodyInputRole = "assistant"
	MemoriesHistoryList200JSONResponseBodyInputRoleUser      MemoriesHistoryList200JSONResponseBodyInputRole = "user"
)

Defines values for MemoriesHistoryList200JSONResponseBodyInputRole.

func (MemoriesHistoryList200JSONResponseBodyInputRole) Valid

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

type MemoriesHistoryListResponse

type MemoriesHistoryListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]struct {
		// AgentId The identifier of the agent associated with this memory, if any.
		AgentId *string `json:"agent_id,omitempty"`

		// AppId The identifier of the app associated with this memory, if any.
		AppId *string `json:"app_id,omitempty"`

		// Categories Categories associated with the memory at this point in its history
		Categories *[]string `json:"categories,omitempty"`

		// CreatedAt The timestamp when this history entry was created.
		CreatedAt time.Time `json:"created_at"`

		// EmbeddingQwen Internal embedding representation (Qwen model), if available
		EmbeddingQwen *string `json:"embedding_qwen,omitempty"`

		// Event The type of event that occurred
		Event MemoriesHistoryList200JSONResponseBodyEvent `json:"event"`

		// Id Unique identifier for the history entry.
		Id openapi_types.UUID `json:"id"`

		// Input The conversation input that led to this memory change
		Input []struct {
			// Content The content of the message
			Content string `json:"content"`

			// Role The role of the speaker in the conversation
			Role MemoriesHistoryList200JSONResponseBodyInputRole `json:"role"`
		} `json:"input"`

		// MemoryId Unique identifier of the associated memory.
		MemoryId openapi_types.UUID `json:"memory_id"`

		// Metadata Additional metadata associated with the memory change
		Metadata *map[string]interface{} `json:"metadata,omitempty"`

		// NewMemory The new or updated state of the memory
		NewMemory string `json:"new_memory"`

		// OldMemory The previous state of the memory, if applicable
		OldMemory *string `json:"old_memory,omitempty"`

		// PreviousEmbeddingQwen Previous internal embedding representation (Qwen model), if applicable
		PreviousEmbeddingQwen *string `json:"previous_embedding_qwen,omitempty"`

		// SessionId The run identifier associated with this memory, returned as `session_id`.
		SessionId *string `json:"session_id,omitempty"`

		// UpdatedAt The timestamp when this history entry was last updated.
		UpdatedAt time.Time `json:"updated_at"`

		// UserId The identifier of the user associated with this memory
		UserId string `json:"user_id"`
	}
}

func ParseMemoriesHistoryListResponse

func ParseMemoriesHistoryListResponse(rsp *http.Response) (*MemoriesHistoryListResponse, error)

ParseMemoriesHistoryListResponse parses an HTTP response from a MemoriesHistoryListWithResponse call

func (MemoriesHistoryListResponse) ContentType

func (r MemoriesHistoryListResponse) ContentType() string

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

func (MemoriesHistoryListResponse) GetBody

func (r MemoriesHistoryListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (MemoriesHistoryListResponse) GetJSON200

func (r MemoriesHistoryListResponse) GetJSON200() *[]struct {
	// AgentId The identifier of the agent associated with this memory, if any.
	AgentId *string `json:"agent_id,omitempty"`

	// AppId The identifier of the app associated with this memory, if any.
	AppId *string `json:"app_id,omitempty"`

	// Categories Categories associated with the memory at this point in its history
	Categories *[]string `json:"categories,omitempty"`

	// CreatedAt The timestamp when this history entry was created.
	CreatedAt time.Time `json:"created_at"`

	// EmbeddingQwen Internal embedding representation (Qwen model), if available
	EmbeddingQwen *string `json:"embedding_qwen,omitempty"`

	// Event The type of event that occurred
	Event MemoriesHistoryList200JSONResponseBodyEvent `json:"event"`

	// Id Unique identifier for the history entry.
	Id openapi_types.UUID `json:"id"`

	// Input The conversation input that led to this memory change
	Input []struct {
		// Content The content of the message
		Content string `json:"content"`

		// Role The role of the speaker in the conversation
		Role MemoriesHistoryList200JSONResponseBodyInputRole `json:"role"`
	} `json:"input"`

	// MemoryId Unique identifier of the associated memory.
	MemoryId openapi_types.UUID `json:"memory_id"`

	// Metadata Additional metadata associated with the memory change
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// NewMemory The new or updated state of the memory
	NewMemory string `json:"new_memory"`

	// OldMemory The previous state of the memory, if applicable
	OldMemory *string `json:"old_memory,omitempty"`

	// PreviousEmbeddingQwen Previous internal embedding representation (Qwen model), if applicable
	PreviousEmbeddingQwen *string `json:"previous_embedding_qwen,omitempty"`

	// SessionId The run identifier associated with this memory, returned as `session_id`.
	SessionId *string `json:"session_id,omitempty"`

	// UpdatedAt The timestamp when this history entry was last updated.
	UpdatedAt time.Time `json:"updated_at"`

	// UserId The identifier of the user associated with this memory
	UserId string `json:"user_id"`
}

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

func (MemoriesHistoryListResponse) Status

Status returns HTTPResponse.Status

func (MemoriesHistoryListResponse) StatusCode

func (r MemoriesHistoryListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MemoriesList200JSONResponseBody

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

MemoriesList200JSONResponseBody defines parameters for MemoriesList.

func (MemoriesList200JSONResponseBody) AsMemoriesList200JSONResponseBody0

func (t MemoriesList200JSONResponseBody) AsMemoriesList200JSONResponseBody0() (MemoriesList200JSONResponseBody0, error)

AsMemoriesList200JSONResponseBody0 returns the union data inside the MemoriesList200JSONResponseBody as a MemoriesList200JSONResponseBody0

func (MemoriesList200JSONResponseBody) AsMemoriesList200JSONResponseBody1

func (t MemoriesList200JSONResponseBody) AsMemoriesList200JSONResponseBody1() (MemoriesList200JSONResponseBody1, error)

AsMemoriesList200JSONResponseBody1 returns the union data inside the MemoriesList200JSONResponseBody as a MemoriesList200JSONResponseBody1

func (*MemoriesList200JSONResponseBody) FromMemoriesList200JSONResponseBody0

func (t *MemoriesList200JSONResponseBody) FromMemoriesList200JSONResponseBody0(v MemoriesList200JSONResponseBody0) error

FromMemoriesList200JSONResponseBody0 overwrites any union data inside the MemoriesList200JSONResponseBody as the provided MemoriesList200JSONResponseBody0

func (*MemoriesList200JSONResponseBody) FromMemoriesList200JSONResponseBody1

func (t *MemoriesList200JSONResponseBody) FromMemoriesList200JSONResponseBody1(v MemoriesList200JSONResponseBody1) error

FromMemoriesList200JSONResponseBody1 overwrites any union data inside the MemoriesList200JSONResponseBody as the provided MemoriesList200JSONResponseBody1

func (MemoriesList200JSONResponseBody) MarshalJSON

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

func (*MemoriesList200JSONResponseBody) MergeMemoriesList200JSONResponseBody0

func (t *MemoriesList200JSONResponseBody) MergeMemoriesList200JSONResponseBody0(v MemoriesList200JSONResponseBody0) error

MergeMemoriesList200JSONResponseBody0 performs a merge with any union data inside the MemoriesList200JSONResponseBody, using the provided MemoriesList200JSONResponseBody0

func (*MemoriesList200JSONResponseBody) MergeMemoriesList200JSONResponseBody1

func (t *MemoriesList200JSONResponseBody) MergeMemoriesList200JSONResponseBody1(v MemoriesList200JSONResponseBody1) error

MergeMemoriesList200JSONResponseBody1 performs a merge with any union data inside the MemoriesList200JSONResponseBody, using the provided MemoriesList200JSONResponseBody1

func (*MemoriesList200JSONResponseBody) UnmarshalJSON

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

type MemoriesList200JSONResponseBody0

type MemoriesList200JSONResponseBody0 = []struct {
	Categories *[]string `json:"categories,omitempty"`
	CreatedAt  time.Time `json:"created_at"`

	// ExpirationDate The date when the memory will expire. Format: YYYY-MM-DD.
	ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`
	Id             string              `json:"id"`

	// LifecycleState Lifecycle state of the memory.
	LifecycleState *string `json:"lifecycle_state,omitempty"`
	Memory         string  `json:"memory"`

	// Metadata User-supplied metadata attached to the memory.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// ReplacedBy ID of the memory that superseded this one, if any.
	ReplacedBy *string `json:"replaced_by,omitempty"`

	// StructuredAttributes System-derived temporal breakdown of the memory's creation time (e.g. year, month, day_of_week).
	StructuredAttributes *map[string]interface{} `json:"structured_attributes,omitempty"`

	// Synthesized Whether this memory was synthesized rather than directly extracted.
	Synthesized *bool     `json:"synthesized,omitempty"`
	UpdatedAt   time.Time `json:"updated_at"`

	// UserId ID of the user this memory belongs to, if scoped to a user.
	UserId *string `json:"user_id,omitempty"`
}

MemoriesList200JSONResponseBody0 defines parameters for MemoriesList.

type MemoriesList200JSONResponseBody1

type MemoriesList200JSONResponseBody1 struct {
	Count    int     `json:"count"`
	Next     *string `json:"next"`
	Previous *string `json:"previous"`
	Results  []struct {
		Categories *[]string `json:"categories,omitempty"`
		CreatedAt  time.Time `json:"created_at"`

		// ExpirationDate The date when the memory will expire. Format: YYYY-MM-DD.
		ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`
		Id             string              `json:"id"`

		// LifecycleState Lifecycle state of the memory.
		LifecycleState *string `json:"lifecycle_state,omitempty"`
		Memory         string  `json:"memory"`

		// Metadata User-supplied metadata attached to the memory.
		Metadata *map[string]interface{} `json:"metadata,omitempty"`

		// ReplacedBy ID of the memory that superseded this one, if any.
		ReplacedBy *string `json:"replaced_by,omitempty"`

		// StructuredAttributes System-derived temporal breakdown of the memory's creation time (e.g. year, month, day_of_week).
		StructuredAttributes *map[string]interface{} `json:"structured_attributes,omitempty"`

		// Synthesized Whether this memory was synthesized rather than directly extracted.
		Synthesized *bool     `json:"synthesized,omitempty"`
		UpdatedAt   time.Time `json:"updated_at"`

		// UserId ID of the user this memory belongs to, if scoped to a user.
		UserId *string `json:"user_id,omitempty"`
	} `json:"results"`
}

MemoriesList200JSONResponseBody1 defines parameters for MemoriesList.

type MemoriesList400JSONResponseBody

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

MemoriesList400JSONResponseBody defines parameters for MemoriesList.

func (MemoriesList400JSONResponseBody) AsMemoriesList400JSONResponseBody0

func (t MemoriesList400JSONResponseBody) AsMemoriesList400JSONResponseBody0() (MemoriesList400JSONResponseBody0, error)

AsMemoriesList400JSONResponseBody0 returns the union data inside the MemoriesList400JSONResponseBody as a MemoriesList400JSONResponseBody0

func (MemoriesList400JSONResponseBody) AsMemoriesList400JSONResponseBody1

func (t MemoriesList400JSONResponseBody) AsMemoriesList400JSONResponseBody1() (MemoriesList400JSONResponseBody1, error)

AsMemoriesList400JSONResponseBody1 returns the union data inside the MemoriesList400JSONResponseBody as a MemoriesList400JSONResponseBody1

func (*MemoriesList400JSONResponseBody) FromMemoriesList400JSONResponseBody0

func (t *MemoriesList400JSONResponseBody) FromMemoriesList400JSONResponseBody0(v MemoriesList400JSONResponseBody0) error

FromMemoriesList400JSONResponseBody0 overwrites any union data inside the MemoriesList400JSONResponseBody as the provided MemoriesList400JSONResponseBody0

func (*MemoriesList400JSONResponseBody) FromMemoriesList400JSONResponseBody1

func (t *MemoriesList400JSONResponseBody) FromMemoriesList400JSONResponseBody1(v MemoriesList400JSONResponseBody1) error

FromMemoriesList400JSONResponseBody1 overwrites any union data inside the MemoriesList400JSONResponseBody as the provided MemoriesList400JSONResponseBody1

func (MemoriesList400JSONResponseBody) MarshalJSON

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

func (*MemoriesList400JSONResponseBody) MergeMemoriesList400JSONResponseBody0

func (t *MemoriesList400JSONResponseBody) MergeMemoriesList400JSONResponseBody0(v MemoriesList400JSONResponseBody0) error

MergeMemoriesList400JSONResponseBody0 performs a merge with any union data inside the MemoriesList400JSONResponseBody, using the provided MemoriesList400JSONResponseBody0

func (*MemoriesList400JSONResponseBody) MergeMemoriesList400JSONResponseBody1

func (t *MemoriesList400JSONResponseBody) MergeMemoriesList400JSONResponseBody1(v MemoriesList400JSONResponseBody1) error

MergeMemoriesList400JSONResponseBody1 performs a merge with any union data inside the MemoriesList400JSONResponseBody, using the provided MemoriesList400JSONResponseBody1

func (*MemoriesList400JSONResponseBody) UnmarshalJSON

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

type MemoriesList400JSONResponseBody0

type MemoriesList400JSONResponseBody0 = []string

MemoriesList400JSONResponseBody0 defines parameters for MemoriesList.

type MemoriesList400JSONResponseBody1

type MemoriesList400JSONResponseBody1 struct {
	Error *string `json:"error,omitempty"`
}

MemoriesList400JSONResponseBody1 defines parameters for MemoriesList.

type MemoriesListParams

type MemoriesListParams struct {
	// UserId Filter memories by user ID.
	UserId *string `form:"user_id,omitempty" json:"user_id,omitempty"`

	// AgentId Filter memories by agent ID.
	AgentId *string `form:"agent_id,omitempty" json:"agent_id,omitempty"`

	// AppId Filter memories by app ID.
	AppId *string `form:"app_id,omitempty" json:"app_id,omitempty"`

	// RunId Filter memories by run ID.
	RunId *string `form:"run_id,omitempty" json:"run_id,omitempty"`

	// Metadata Filter memories by metadata (JSON string).
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Categories Filter memories by categories.
	Categories *[]string `form:"categories,omitempty" json:"categories,omitempty"`

	// OrgId Filter memories by organization ID.
	OrgId *string `form:"org_id,omitempty" json:"org_id,omitempty"`

	// ProjectId Filter memories by project ID.
	ProjectId *string `form:"project_id,omitempty" json:"project_id,omitempty"`

	// Fields Filter memories by fields.
	Fields *[]string `form:"fields,omitempty" json:"fields,omitempty"`

	// Keywords Filter memories by keywords.
	Keywords *string `form:"keywords,omitempty" json:"keywords,omitempty"`

	// Page Page number for pagination. Default: 1.
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Number of items per page. Default: 100.
	PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`

	// Limit Maximum number of memories to return. Maximum accepted value: 200. Ignored when both `page` and `page_size` are supplied.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// StartDate Filter memories by start date.
	StartDate *string `form:"start_date,omitempty" json:"start_date,omitempty"`

	// EndDate Filter memories by end date.
	EndDate *string `form:"end_date,omitempty" json:"end_date,omitempty"`
}

MemoriesListParams defines parameters for MemoriesList.

type MemoriesListResponse

type MemoriesListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MemoriesList200JSONResponseBody
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *MemoriesList400JSONResponseBody
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Detail Example: Invalid page.
		Detail *string `json:"detail,omitempty"`
	}
}

func ParseMemoriesListResponse

func ParseMemoriesListResponse(rsp *http.Response) (*MemoriesListResponse, error)

ParseMemoriesListResponse parses an HTTP response from a MemoriesListWithResponse call

func (MemoriesListResponse) ContentType

func (r MemoriesListResponse) ContentType() string

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

func (MemoriesListResponse) GetBody

func (r MemoriesListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (MemoriesListResponse) GetJSON200

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

func (MemoriesListResponse) GetJSON400

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (MemoriesListResponse) GetJSON404

func (r MemoriesListResponse) GetJSON404() *struct {
	// Detail Example: Invalid page.
	Detail *string `json:"detail,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (MemoriesListResponse) Status

func (r MemoriesListResponse) Status() string

Status returns HTTPResponse.Status

func (MemoriesListResponse) StatusCode

func (r MemoriesListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MemoriesListV2JSONRequestBody deprecated

type MemoriesListV2JSONRequestBody = MemoryGetInputV2

MemoriesListV2JSONRequestBody defines body for MemoriesListV2 for application/json ContentType.

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

type MemoriesListV2Response

type MemoriesListV2Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]struct {
		// AgentId Agent the memory is scoped to.
		AgentId *string `json:"agent_id,omitempty"`

		// AppId App the memory is scoped to.
		AppId      *string   `json:"app_id,omitempty"`
		Categories *[]string `json:"categories,omitempty"`

		// CreatedAt Timestamp of when the memory was created.
		CreatedAt time.Time `json:"created_at"`

		// ExpirationDate The date when the memory will expire. Format: YYYY-MM-DD.
		ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`

		// Id Unique memory identifier.
		Id openapi_types.UUID `json:"id"`

		// Memory The extracted memory fact.
		Memory string `json:"memory"`

		// Metadata Additional metadata associated with the memory
		Metadata *map[string]interface{} `json:"metadata,omitempty"`

		// ReplacedBy ID of the memory that superseded this one, if any.
		ReplacedBy *string `json:"replaced_by,omitempty"`

		// SessionId Run/session the memory is scoped to. Note: this endpoint returns this field as `session_id`, matching `POST /v3/memories/`.
		SessionId *string `json:"session_id,omitempty"`

		// StructuredAttributes System-derived temporal breakdown of the memory's creation time (e.g. year, month, day_of_week).
		StructuredAttributes *map[string]interface{} `json:"structured_attributes,omitempty"`

		// Synthesized Whether this memory was synthesized rather than directly extracted.
		Synthesized *bool `json:"synthesized,omitempty"`

		// UpdatedAt Timestamp of when the memory was last updated.
		UpdatedAt time.Time `json:"updated_at"`

		// UserId User the memory is scoped to.
		UserId *string `json:"user_id,omitempty"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		// Message Example: One of the filters: app_id, user_id, agent_id, run_id is required!
		Message *string `json:"message,omitempty"`
	}
}

func ParseMemoriesListV2Response

func ParseMemoriesListV2Response(rsp *http.Response) (*MemoriesListV2Response, error)

ParseMemoriesListV2Response parses an HTTP response from a MemoriesListV2WithResponse call

func (MemoriesListV2Response) ContentType

func (r MemoriesListV2Response) ContentType() string

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

func (MemoriesListV2Response) GetBody

func (r MemoriesListV2Response) GetBody() []byte

GetBody returns the raw response body bytes

func (MemoriesListV2Response) GetJSON200

func (r MemoriesListV2Response) GetJSON200() *[]struct {
	// AgentId Agent the memory is scoped to.
	AgentId *string `json:"agent_id,omitempty"`

	// AppId App the memory is scoped to.
	AppId      *string   `json:"app_id,omitempty"`
	Categories *[]string `json:"categories,omitempty"`

	// CreatedAt Timestamp of when the memory was created.
	CreatedAt time.Time `json:"created_at"`

	// ExpirationDate The date when the memory will expire. Format: YYYY-MM-DD.
	ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`

	// Id Unique memory identifier.
	Id openapi_types.UUID `json:"id"`

	// Memory The extracted memory fact.
	Memory string `json:"memory"`

	// Metadata Additional metadata associated with the memory
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// ReplacedBy ID of the memory that superseded this one, if any.
	ReplacedBy *string `json:"replaced_by,omitempty"`

	// SessionId Run/session the memory is scoped to. Note: this endpoint returns this field as `session_id`, matching `POST /v3/memories/`.
	SessionId *string `json:"session_id,omitempty"`

	// StructuredAttributes System-derived temporal breakdown of the memory's creation time (e.g. year, month, day_of_week).
	StructuredAttributes *map[string]interface{} `json:"structured_attributes,omitempty"`

	// Synthesized Whether this memory was synthesized rather than directly extracted.
	Synthesized *bool `json:"synthesized,omitempty"`

	// UpdatedAt Timestamp of when the memory was last updated.
	UpdatedAt time.Time `json:"updated_at"`

	// UserId User the memory is scoped to.
	UserId *string `json:"user_id,omitempty"`
}

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

func (MemoriesListV2Response) GetJSON400

func (r MemoriesListV2Response) GetJSON400() *struct {
	// Message Example: One of the filters: app_id, user_id, agent_id, run_id is required!
	Message *string `json:"message,omitempty"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (MemoriesListV2Response) Status

func (r MemoriesListV2Response) Status() string

Status returns HTTPResponse.Status

func (MemoriesListV2Response) StatusCode

func (r MemoriesListV2Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MemoriesListV3JSONBody

type MemoriesListV3JSONBody struct {
	// Categories Restrict results to memories tagged with any of these categories.
	Categories *[]string `json:"categories,omitempty"`

	// EndDate Only include memories created on or before this date (YYYY-MM-DD).
	EndDate *openapi_types.Date `json:"end_date,omitempty"`

	// Fields Restrict the fields returned per memory, e.g. ["id", "memory"].
	Fields *[]string `json:"fields,omitempty"`

	// Filters Entity and metadata filters. Must include at least one entity ID (`user_id`, `agent_id`, `app_id`, or `run_id`).
	Filters map[string]interface{} `json:"filters"`

	// Keywords Free-text keyword filter applied on top of filters.
	Keywords *string `json:"keywords,omitempty"`

	// Page 1-indexed page number. Also accepted here in the request body; the query parameter of the same name takes precedence.
	Page *int `json:"page,omitempty"`

	// PageSize Results per page. Also accepted here in the request body; the query parameter of the same name takes precedence.
	PageSize *int `json:"page_size,omitempty"`

	// ShowExpired When true, include memories whose `expiration_date` has passed. Expired memories are hidden by default.
	ShowExpired *bool `json:"show_expired,omitempty"`

	// StartDate Only include memories created on or after this date (YYYY-MM-DD).
	StartDate *openapi_types.Date `json:"start_date,omitempty"`
}

MemoriesListV3JSONBody defines parameters for MemoriesListV3.

type MemoriesListV3JSONRequestBody

type MemoriesListV3JSONRequestBody MemoriesListV3JSONBody

MemoriesListV3JSONRequestBody defines body for MemoriesListV3 for application/json ContentType.

type MemoriesListV3Params

type MemoriesListV3Params struct {
	// Page 1-indexed page number.
	Page *int `form:"page,omitempty" json:"page,omitempty"`

	// PageSize Results per page.
	PageSize *int `form:"page_size,omitempty" json:"page_size,omitempty"`
}

MemoriesListV3Params defines parameters for MemoriesListV3.

type MemoriesListV3Response

type MemoriesListV3Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Count Total number of memories matching the filters.
		Count int `json:"count"`

		// Next URL for the next page, or `null` if this is the last page.
		Next *string `json:"next"`

		// Previous URL for the previous page, or `null` if this is the first page.
		Previous *string `json:"previous"`
		Results  []struct {
			// AgentId Agent the memory is scoped to.
			AgentId *string `json:"agent_id,omitempty"`

			// AppId App the memory is scoped to.
			AppId      *string   `json:"app_id,omitempty"`
			Categories *[]string `json:"categories,omitempty"`
			CreatedAt  time.Time `json:"created_at"`

			// ExpirationDate Date after which the memory is hidden from search and get-all unless `show_expired` is true.
			ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`

			// Id Unique memory identifier.
			Id openapi_types.UUID `json:"id"`

			// Memory The extracted memory fact.
			Memory string `json:"memory"`

			// Metadata User-supplied metadata attached to the memory.
			Metadata *map[string]interface{} `json:"metadata,omitempty"`

			// ReplacedBy ID of the memory that superseded this one, if any.
			ReplacedBy *string `json:"replaced_by,omitempty"`

			// SessionId Run/session the memory is scoped to. Note: this endpoint returns this field as `session_id`, while `POST /v3/memories/search/` returns the same value as `run_id`.
			SessionId *string `json:"session_id,omitempty"`

			// StructuredAttributes System-derived temporal breakdown of the memory's creation time (e.g. year, month, day_of_week).
			StructuredAttributes *map[string]interface{} `json:"structured_attributes,omitempty"`

			// Synthesized Whether this memory was synthesized rather than directly extracted.
			Synthesized *bool      `json:"synthesized,omitempty"`
			UpdatedAt   *time.Time `json:"updated_at,omitempty"`

			// UserId User the memory is scoped to.
			UserId *string `json:"user_id,omitempty"`
		} `json:"results"`
	}
}

func ParseMemoriesListV3Response

func ParseMemoriesListV3Response(rsp *http.Response) (*MemoriesListV3Response, error)

ParseMemoriesListV3Response parses an HTTP response from a MemoriesListV3WithResponse call

func (MemoriesListV3Response) ContentType

func (r MemoriesListV3Response) ContentType() string

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

func (MemoriesListV3Response) GetBody

func (r MemoriesListV3Response) GetBody() []byte

GetBody returns the raw response body bytes

func (MemoriesListV3Response) GetJSON200

func (r MemoriesListV3Response) GetJSON200() *struct {
	// Count Total number of memories matching the filters.
	Count int `json:"count"`

	// Next URL for the next page, or `null` if this is the last page.
	Next *string `json:"next"`

	// Previous URL for the previous page, or `null` if this is the first page.
	Previous *string `json:"previous"`
	Results  []struct {
		// AgentId Agent the memory is scoped to.
		AgentId *string `json:"agent_id,omitempty"`

		// AppId App the memory is scoped to.
		AppId      *string   `json:"app_id,omitempty"`
		Categories *[]string `json:"categories,omitempty"`
		CreatedAt  time.Time `json:"created_at"`

		// ExpirationDate Date after which the memory is hidden from search and get-all unless `show_expired` is true.
		ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`

		// Id Unique memory identifier.
		Id openapi_types.UUID `json:"id"`

		// Memory The extracted memory fact.
		Memory string `json:"memory"`

		// Metadata User-supplied metadata attached to the memory.
		Metadata *map[string]interface{} `json:"metadata,omitempty"`

		// ReplacedBy ID of the memory that superseded this one, if any.
		ReplacedBy *string `json:"replaced_by,omitempty"`

		// SessionId Run/session the memory is scoped to. Note: this endpoint returns this field as `session_id`, while `POST /v3/memories/search/` returns the same value as `run_id`.
		SessionId *string `json:"session_id,omitempty"`

		// StructuredAttributes System-derived temporal breakdown of the memory's creation time (e.g. year, month, day_of_week).
		StructuredAttributes *map[string]interface{} `json:"structured_attributes,omitempty"`

		// Synthesized Whether this memory was synthesized rather than directly extracted.
		Synthesized *bool      `json:"synthesized,omitempty"`
		UpdatedAt   *time.Time `json:"updated_at,omitempty"`

		// UserId User the memory is scoped to.
		UserId *string `json:"user_id,omitempty"`
	} `json:"results"`
}

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

func (MemoriesListV3Response) Status

func (r MemoriesListV3Response) Status() string

Status returns HTTPResponse.Status

func (MemoriesListV3Response) StatusCode

func (r MemoriesListV3Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MemoriesReadResponse

type MemoriesReadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// AgentId The identifier of the agent associated with this memory, if any.
		AgentId *string `json:"agent_id,omitempty"`

		// AppId The identifier of the app associated with this memory, if any.
		AppId      *string   `json:"app_id,omitempty"`
		Categories *[]string `json:"categories,omitempty"`

		// CreatedAt Timestamp of when the memory was created.
		CreatedAt *time.Time `json:"created_at,omitempty"`

		// ExpirationDate The date when the memory will expire. Format: YYYY-MM-DD.
		ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`

		// Id Unique identifier for the memory.
		Id *openapi_types.UUID `json:"id,omitempty"`

		// LifecycleState Lifecycle state of the memory.
		LifecycleState *string `json:"lifecycle_state,omitempty"`

		// Memory The content of the memory
		Memory *string `json:"memory,omitempty"`

		// Metadata Additional metadata associated with the memory
		Metadata *map[string]interface{} `json:"metadata,omitempty"`

		// ReplacedBy ID of the memory that superseded this one, if any.
		ReplacedBy *string `json:"replaced_by,omitempty"`

		// SessionId The run identifier associated with this memory, returned as `session_id`.
		SessionId *string `json:"session_id,omitempty"`

		// StructuredAttributes System-derived temporal breakdown of the memory's creation time (e.g. year, month, day_of_week).
		StructuredAttributes *map[string]interface{} `json:"structured_attributes,omitempty"`

		// Synthesized Whether this memory was synthesized rather than directly extracted.
		Synthesized *bool `json:"synthesized,omitempty"`

		// UpdatedAt Timestamp of when the memory was last updated.
		UpdatedAt *time.Time `json:"updated_at,omitempty"`

		// UserId Identifier of the user associated with this memory
		UserId *string `json:"user_id,omitempty"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		// Error Example: memory_id should be a valid UUID
		Error *string `json:"error,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Error Example: Memory not found!
		Error *string `json:"error,omitempty"`
	}
}

func ParseMemoriesReadResponse

func ParseMemoriesReadResponse(rsp *http.Response) (*MemoriesReadResponse, error)

ParseMemoriesReadResponse parses an HTTP response from a MemoriesReadWithResponse call

func (MemoriesReadResponse) ContentType

func (r MemoriesReadResponse) ContentType() string

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

func (MemoriesReadResponse) GetBody

func (r MemoriesReadResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (MemoriesReadResponse) GetJSON200

func (r MemoriesReadResponse) GetJSON200() *struct {
	// AgentId The identifier of the agent associated with this memory, if any.
	AgentId *string `json:"agent_id,omitempty"`

	// AppId The identifier of the app associated with this memory, if any.
	AppId      *string   `json:"app_id,omitempty"`
	Categories *[]string `json:"categories,omitempty"`

	// CreatedAt Timestamp of when the memory was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// ExpirationDate The date when the memory will expire. Format: YYYY-MM-DD.
	ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`

	// Id Unique identifier for the memory.
	Id *openapi_types.UUID `json:"id,omitempty"`

	// LifecycleState Lifecycle state of the memory.
	LifecycleState *string `json:"lifecycle_state,omitempty"`

	// Memory The content of the memory
	Memory *string `json:"memory,omitempty"`

	// Metadata Additional metadata associated with the memory
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// ReplacedBy ID of the memory that superseded this one, if any.
	ReplacedBy *string `json:"replaced_by,omitempty"`

	// SessionId The run identifier associated with this memory, returned as `session_id`.
	SessionId *string `json:"session_id,omitempty"`

	// StructuredAttributes System-derived temporal breakdown of the memory's creation time (e.g. year, month, day_of_week).
	StructuredAttributes *map[string]interface{} `json:"structured_attributes,omitempty"`

	// Synthesized Whether this memory was synthesized rather than directly extracted.
	Synthesized *bool `json:"synthesized,omitempty"`

	// UpdatedAt Timestamp of when the memory was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`

	// UserId Identifier of the user associated with this memory
	UserId *string `json:"user_id,omitempty"`
}

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

func (MemoriesReadResponse) GetJSON400

func (r MemoriesReadResponse) GetJSON400() *struct {
	// Error Example: memory_id should be a valid UUID
	Error *string `json:"error,omitempty"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (MemoriesReadResponse) GetJSON404

func (r MemoriesReadResponse) GetJSON404() *struct {
	// Error Example: Memory not found!
	Error *string `json:"error,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (MemoriesReadResponse) Status

func (r MemoriesReadResponse) Status() string

Status returns HTTPResponse.Status

func (MemoriesReadResponse) StatusCode

func (r MemoriesReadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MemoriesSearchCreate200JSONResponseBody

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

MemoriesSearchCreate200JSONResponseBody defines parameters for MemoriesSearchCreate.

func (MemoriesSearchCreate200JSONResponseBody) AsMemoriesSearchCreate200JSONResponseBody0

func (t MemoriesSearchCreate200JSONResponseBody) AsMemoriesSearchCreate200JSONResponseBody0() (MemoriesSearchCreate200JSONResponseBody0, error)

AsMemoriesSearchCreate200JSONResponseBody0 returns the union data inside the MemoriesSearchCreate200JSONResponseBody as a MemoriesSearchCreate200JSONResponseBody0

func (MemoriesSearchCreate200JSONResponseBody) AsMemoriesSearchCreate200JSONResponseBody1

func (t MemoriesSearchCreate200JSONResponseBody) AsMemoriesSearchCreate200JSONResponseBody1() (MemoriesSearchCreate200JSONResponseBody1, error)

AsMemoriesSearchCreate200JSONResponseBody1 returns the union data inside the MemoriesSearchCreate200JSONResponseBody as a MemoriesSearchCreate200JSONResponseBody1

func (*MemoriesSearchCreate200JSONResponseBody) FromMemoriesSearchCreate200JSONResponseBody0

func (t *MemoriesSearchCreate200JSONResponseBody) FromMemoriesSearchCreate200JSONResponseBody0(v MemoriesSearchCreate200JSONResponseBody0) error

FromMemoriesSearchCreate200JSONResponseBody0 overwrites any union data inside the MemoriesSearchCreate200JSONResponseBody as the provided MemoriesSearchCreate200JSONResponseBody0

func (*MemoriesSearchCreate200JSONResponseBody) FromMemoriesSearchCreate200JSONResponseBody1

func (t *MemoriesSearchCreate200JSONResponseBody) FromMemoriesSearchCreate200JSONResponseBody1(v MemoriesSearchCreate200JSONResponseBody1) error

FromMemoriesSearchCreate200JSONResponseBody1 overwrites any union data inside the MemoriesSearchCreate200JSONResponseBody as the provided MemoriesSearchCreate200JSONResponseBody1

func (MemoriesSearchCreate200JSONResponseBody) MarshalJSON

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

func (*MemoriesSearchCreate200JSONResponseBody) MergeMemoriesSearchCreate200JSONResponseBody0

func (t *MemoriesSearchCreate200JSONResponseBody) MergeMemoriesSearchCreate200JSONResponseBody0(v MemoriesSearchCreate200JSONResponseBody0) error

MergeMemoriesSearchCreate200JSONResponseBody0 performs a merge with any union data inside the MemoriesSearchCreate200JSONResponseBody, using the provided MemoriesSearchCreate200JSONResponseBody0

func (*MemoriesSearchCreate200JSONResponseBody) MergeMemoriesSearchCreate200JSONResponseBody1

func (t *MemoriesSearchCreate200JSONResponseBody) MergeMemoriesSearchCreate200JSONResponseBody1(v MemoriesSearchCreate200JSONResponseBody1) error

MergeMemoriesSearchCreate200JSONResponseBody1 performs a merge with any union data inside the MemoriesSearchCreate200JSONResponseBody, using the provided MemoriesSearchCreate200JSONResponseBody1

func (*MemoriesSearchCreate200JSONResponseBody) UnmarshalJSON

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

type MemoriesSearchCreate200JSONResponseBody0

type MemoriesSearchCreate200JSONResponseBody0 = []struct {
	// Categories Categories associated with the memory
	Categories *[]string `json:"categories,omitempty"`

	// CreatedAt The timestamp when the memory was created.
	CreatedAt time.Time `json:"created_at"`

	// ExpirationDate The date when the memory will expire. Format: YYYY-MM-DD.
	ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`

	// Id Unique identifier for the memory.
	Id openapi_types.UUID `json:"id"`

	// Memory The content of the memory
	Memory string `json:"memory"`

	// Metadata Additional metadata associated with the memory
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Score Relevance score of the memory for the search query.
	Score *float64 `json:"score,omitempty"`

	// UpdatedAt The timestamp when the memory was last updated.
	UpdatedAt time.Time `json:"updated_at"`

	// UserId The identifier of the user associated with this memory
	UserId string `json:"user_id"`
}

MemoriesSearchCreate200JSONResponseBody0 defines parameters for MemoriesSearchCreate.

type MemoriesSearchCreate200JSONResponseBody1

type MemoriesSearchCreate200JSONResponseBody1 struct {
	Relations []interface{} `json:"relations"`
	Results   []struct {
		// Categories Categories associated with the memory
		Categories *[]string `json:"categories,omitempty"`

		// CreatedAt The timestamp when the memory was created.
		CreatedAt time.Time `json:"created_at"`

		// ExpirationDate The date when the memory will expire. Format: YYYY-MM-DD.
		ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`

		// Id Unique identifier for the memory.
		Id openapi_types.UUID `json:"id"`

		// Memory The content of the memory
		Memory string `json:"memory"`

		// Metadata Additional metadata associated with the memory
		Metadata *map[string]interface{} `json:"metadata,omitempty"`

		// Score Relevance score of the memory for the search query.
		Score *float64 `json:"score,omitempty"`

		// UpdatedAt The timestamp when the memory was last updated.
		UpdatedAt time.Time `json:"updated_at"`

		// UserId The identifier of the user associated with this memory
		UserId string `json:"user_id"`
	} `json:"results"`
}

MemoriesSearchCreate200JSONResponseBody1 defines parameters for MemoriesSearchCreate.

type MemoriesSearchCreateJSONRequestBody deprecated

type MemoriesSearchCreateJSONRequestBody = MemorySearchInput

MemoriesSearchCreateJSONRequestBody defines body for MemoriesSearchCreate for application/json ContentType.

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

type MemoriesSearchCreateResponse

type MemoriesSearchCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *MemoriesSearchCreate200JSONResponseBody
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		// Message Example: At least one of the filters: agent_id, user_id, app_id, run_id is required!
		Message *string `json:"message,omitempty"`
	}
}

func ParseMemoriesSearchCreateResponse

func ParseMemoriesSearchCreateResponse(rsp *http.Response) (*MemoriesSearchCreateResponse, error)

ParseMemoriesSearchCreateResponse parses an HTTP response from a MemoriesSearchCreateWithResponse call

func (MemoriesSearchCreateResponse) ContentType

func (r MemoriesSearchCreateResponse) ContentType() string

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

func (MemoriesSearchCreateResponse) GetBody

func (r MemoriesSearchCreateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (MemoriesSearchCreateResponse) GetJSON200

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

func (MemoriesSearchCreateResponse) GetJSON400

func (r MemoriesSearchCreateResponse) GetJSON400() *struct {
	// Message Example: At least one of the filters: agent_id, user_id, app_id, run_id is required!
	Message *string `json:"message,omitempty"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (MemoriesSearchCreateResponse) Status

Status returns HTTPResponse.Status

func (MemoriesSearchCreateResponse) StatusCode

func (r MemoriesSearchCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MemoriesSearchV2JSONRequestBody deprecated

type MemoriesSearchV2JSONRequestBody = MemorySearchInputV2

MemoriesSearchV2JSONRequestBody defines body for MemoriesSearchV2 for application/json ContentType.

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

type MemoriesSearchV2Response

type MemoriesSearchV2Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]struct {
		AgentId *string `json:"agent_id,omitempty"`
		AppId   *string `json:"app_id,omitempty"`

		// Categories Categories associated with the memory
		Categories *[]string `json:"categories,omitempty"`

		// CreatedAt The timestamp when the memory was created.
		CreatedAt time.Time `json:"created_at"`

		// ExpirationDate The date when the memory will expire. Format: YYYY-MM-DD.
		ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`

		// Id Unique identifier for the memory.
		Id openapi_types.UUID `json:"id"`

		// Memory The content of the memory
		Memory string `json:"memory"`

		// Metadata Additional metadata associated with the memory
		Metadata *map[string]interface{} `json:"metadata,omitempty"`

		// Score Combined multi-signal relevance score in [0, 1] (search responses only).
		Score *float32 `json:"score,omitempty"`

		// SessionId Run/session the memory is scoped to. Note: this endpoint returns this field as `session_id`, matching `POST /v3/memories/`.
		SessionId *string `json:"session_id,omitempty"`

		// UpdatedAt The timestamp when the memory was last updated.
		UpdatedAt time.Time `json:"updated_at"`

		// UserId The identifier of the user associated with this memory
		UserId string `json:"user_id"`
	}
}

func ParseMemoriesSearchV2Response

func ParseMemoriesSearchV2Response(rsp *http.Response) (*MemoriesSearchV2Response, error)

ParseMemoriesSearchV2Response parses an HTTP response from a MemoriesSearchV2WithResponse call

func (MemoriesSearchV2Response) ContentType

func (r MemoriesSearchV2Response) ContentType() string

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

func (MemoriesSearchV2Response) GetBody

func (r MemoriesSearchV2Response) GetBody() []byte

GetBody returns the raw response body bytes

func (MemoriesSearchV2Response) GetJSON200

func (r MemoriesSearchV2Response) GetJSON200() *[]struct {
	AgentId *string `json:"agent_id,omitempty"`
	AppId   *string `json:"app_id,omitempty"`

	// Categories Categories associated with the memory
	Categories *[]string `json:"categories,omitempty"`

	// CreatedAt The timestamp when the memory was created.
	CreatedAt time.Time `json:"created_at"`

	// ExpirationDate The date when the memory will expire. Format: YYYY-MM-DD.
	ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`

	// Id Unique identifier for the memory.
	Id openapi_types.UUID `json:"id"`

	// Memory The content of the memory
	Memory string `json:"memory"`

	// Metadata Additional metadata associated with the memory
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Score Combined multi-signal relevance score in [0, 1] (search responses only).
	Score *float32 `json:"score,omitempty"`

	// SessionId Run/session the memory is scoped to. Note: this endpoint returns this field as `session_id`, matching `POST /v3/memories/`.
	SessionId *string `json:"session_id,omitempty"`

	// UpdatedAt The timestamp when the memory was last updated.
	UpdatedAt time.Time `json:"updated_at"`

	// UserId The identifier of the user associated with this memory
	UserId string `json:"user_id"`
}

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

func (MemoriesSearchV2Response) Status

func (r MemoriesSearchV2Response) Status() string

Status returns HTTPResponse.Status

func (MemoriesSearchV2Response) StatusCode

func (r MemoriesSearchV2Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MemoriesSearchV3JSONBody

type MemoriesSearchV3JSONBody struct {
	// Categories Filter results to memories tagged with any of these categories.
	Categories *[]string `json:"categories,omitempty"`

	// Fields Restrict the fields returned per memory.
	Fields *[]string `json:"fields,omitempty"`

	// Filters Entity and metadata filters. Must include at least one entity ID (`user_id`, `agent_id`, `app_id`, or `run_id`). Supports `AND`, `OR`, `NOT`, and comparison operators (`in`, `gte`, `lte`, `gt`, `lt`, `contains`, `icontains`, `ne`).
	Filters map[string]interface{} `json:"filters"`

	// Metadata Filter results to memories matching this metadata.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Query Natural-language search query.
	Query string `json:"query"`

	// ReferenceDate Date and time to simulate the search from. Accepts a Unix epoch, YYYY-MM-DD, or ISO datetime.
	ReferenceDate *MemoriesSearchV3JSONBody_ReferenceDate `json:"reference_date,omitempty"`

	// Rerank Apply the managed reranker for better ordering (adds latency).
	Rerank *bool `json:"rerank,omitempty"`

	// ShowExpired When true, include memories whose `expiration_date` has passed. Expired memories are hidden by default.
	ShowExpired *bool `json:"show_expired,omitempty"`

	// Threshold Minimum semantic relevance score. Pass `0.0` to disable filtering.
	Threshold *float64 `json:"threshold,omitempty"`

	// TopK Number of results to return.
	TopK *int `json:"top_k,omitempty"`
}

MemoriesSearchV3JSONBody defines parameters for MemoriesSearchV3.

type MemoriesSearchV3JSONBodyReferenceDate0

type MemoriesSearchV3JSONBodyReferenceDate0 = int

MemoriesSearchV3JSONBodyReferenceDate0 defines parameters for MemoriesSearchV3.

type MemoriesSearchV3JSONBodyReferenceDate1

type MemoriesSearchV3JSONBodyReferenceDate1 = float64

MemoriesSearchV3JSONBodyReferenceDate1 defines parameters for MemoriesSearchV3.

type MemoriesSearchV3JSONBodyReferenceDate2

type MemoriesSearchV3JSONBodyReferenceDate2 = string

MemoriesSearchV3JSONBodyReferenceDate2 defines parameters for MemoriesSearchV3.

type MemoriesSearchV3JSONBody_ReferenceDate

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

MemoriesSearchV3JSONBody_ReferenceDate defines parameters for MemoriesSearchV3.

func (MemoriesSearchV3JSONBody_ReferenceDate) AsMemoriesSearchV3JSONBodyReferenceDate0

func (t MemoriesSearchV3JSONBody_ReferenceDate) AsMemoriesSearchV3JSONBodyReferenceDate0() (MemoriesSearchV3JSONBodyReferenceDate0, error)

AsMemoriesSearchV3JSONBodyReferenceDate0 returns the union data inside the MemoriesSearchV3JSONBody_ReferenceDate as a MemoriesSearchV3JSONBodyReferenceDate0

func (MemoriesSearchV3JSONBody_ReferenceDate) AsMemoriesSearchV3JSONBodyReferenceDate1

func (t MemoriesSearchV3JSONBody_ReferenceDate) AsMemoriesSearchV3JSONBodyReferenceDate1() (MemoriesSearchV3JSONBodyReferenceDate1, error)

AsMemoriesSearchV3JSONBodyReferenceDate1 returns the union data inside the MemoriesSearchV3JSONBody_ReferenceDate as a MemoriesSearchV3JSONBodyReferenceDate1

func (MemoriesSearchV3JSONBody_ReferenceDate) AsMemoriesSearchV3JSONBodyReferenceDate2

func (t MemoriesSearchV3JSONBody_ReferenceDate) AsMemoriesSearchV3JSONBodyReferenceDate2() (MemoriesSearchV3JSONBodyReferenceDate2, error)

AsMemoriesSearchV3JSONBodyReferenceDate2 returns the union data inside the MemoriesSearchV3JSONBody_ReferenceDate as a MemoriesSearchV3JSONBodyReferenceDate2

func (*MemoriesSearchV3JSONBody_ReferenceDate) FromMemoriesSearchV3JSONBodyReferenceDate0

func (t *MemoriesSearchV3JSONBody_ReferenceDate) FromMemoriesSearchV3JSONBodyReferenceDate0(v MemoriesSearchV3JSONBodyReferenceDate0) error

FromMemoriesSearchV3JSONBodyReferenceDate0 overwrites any union data inside the MemoriesSearchV3JSONBody_ReferenceDate as the provided MemoriesSearchV3JSONBodyReferenceDate0

func (*MemoriesSearchV3JSONBody_ReferenceDate) FromMemoriesSearchV3JSONBodyReferenceDate1

func (t *MemoriesSearchV3JSONBody_ReferenceDate) FromMemoriesSearchV3JSONBodyReferenceDate1(v MemoriesSearchV3JSONBodyReferenceDate1) error

FromMemoriesSearchV3JSONBodyReferenceDate1 overwrites any union data inside the MemoriesSearchV3JSONBody_ReferenceDate as the provided MemoriesSearchV3JSONBodyReferenceDate1

func (*MemoriesSearchV3JSONBody_ReferenceDate) FromMemoriesSearchV3JSONBodyReferenceDate2

func (t *MemoriesSearchV3JSONBody_ReferenceDate) FromMemoriesSearchV3JSONBodyReferenceDate2(v MemoriesSearchV3JSONBodyReferenceDate2) error

FromMemoriesSearchV3JSONBodyReferenceDate2 overwrites any union data inside the MemoriesSearchV3JSONBody_ReferenceDate as the provided MemoriesSearchV3JSONBodyReferenceDate2

func (MemoriesSearchV3JSONBody_ReferenceDate) MarshalJSON

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

func (*MemoriesSearchV3JSONBody_ReferenceDate) MergeMemoriesSearchV3JSONBodyReferenceDate0

func (t *MemoriesSearchV3JSONBody_ReferenceDate) MergeMemoriesSearchV3JSONBodyReferenceDate0(v MemoriesSearchV3JSONBodyReferenceDate0) error

MergeMemoriesSearchV3JSONBodyReferenceDate0 performs a merge with any union data inside the MemoriesSearchV3JSONBody_ReferenceDate, using the provided MemoriesSearchV3JSONBodyReferenceDate0

func (*MemoriesSearchV3JSONBody_ReferenceDate) MergeMemoriesSearchV3JSONBodyReferenceDate1

func (t *MemoriesSearchV3JSONBody_ReferenceDate) MergeMemoriesSearchV3JSONBodyReferenceDate1(v MemoriesSearchV3JSONBodyReferenceDate1) error

MergeMemoriesSearchV3JSONBodyReferenceDate1 performs a merge with any union data inside the MemoriesSearchV3JSONBody_ReferenceDate, using the provided MemoriesSearchV3JSONBodyReferenceDate1

func (*MemoriesSearchV3JSONBody_ReferenceDate) MergeMemoriesSearchV3JSONBodyReferenceDate2

func (t *MemoriesSearchV3JSONBody_ReferenceDate) MergeMemoriesSearchV3JSONBodyReferenceDate2(v MemoriesSearchV3JSONBodyReferenceDate2) error

MergeMemoriesSearchV3JSONBodyReferenceDate2 performs a merge with any union data inside the MemoriesSearchV3JSONBody_ReferenceDate, using the provided MemoriesSearchV3JSONBodyReferenceDate2

func (*MemoriesSearchV3JSONBody_ReferenceDate) UnmarshalJSON

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

type MemoriesSearchV3JSONRequestBody

type MemoriesSearchV3JSONRequestBody MemoriesSearchV3JSONBody

MemoriesSearchV3JSONRequestBody defines body for MemoriesSearchV3 for application/json ContentType.

type MemoriesSearchV3Response

type MemoriesSearchV3Response struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Results []struct {
			AgentId    *string   `json:"agent_id,omitempty"`
			AppId      *string   `json:"app_id,omitempty"`
			Categories *[]string `json:"categories,omitempty"`
			CreatedAt  time.Time `json:"created_at"`

			// ExpirationDate Date after which the memory is hidden from search unless `show_expired` is true.
			ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`

			// Id Unique memory identifier.
			Id openapi_types.UUID `json:"id"`

			// Memory The extracted memory fact.
			Memory string `json:"memory"`

			// Metadata User-supplied metadata attached to the memory.
			Metadata *map[string]interface{} `json:"metadata,omitempty"`

			// RunId Run/session the memory is scoped to. Note: this endpoint returns this field as `run_id`, while `POST /v3/memories/` returns the same value as `session_id`.
			RunId *string `json:"run_id,omitempty"`

			// Score Combined multi-signal relevance score in [0, 1] (search responses only).
			Score *float32 `json:"score,omitempty"`

			// ScoreBreakdown Per-signal breakdown of the relevance score.
			ScoreBreakdown *struct {
				Bm25     *float64 `json:"bm25,omitempty"`
				Entity   *float64 `json:"entity,omitempty"`
				Semantic *float64 `json:"semantic,omitempty"`
			} `json:"score_breakdown,omitempty"`
			UpdatedAt *time.Time `json:"updated_at,omitempty"`

			// UserId User the memory is scoped to.
			UserId *string `json:"user_id,omitempty"`
		} `json:"results"`
	}
}

func ParseMemoriesSearchV3Response

func ParseMemoriesSearchV3Response(rsp *http.Response) (*MemoriesSearchV3Response, error)

ParseMemoriesSearchV3Response parses an HTTP response from a MemoriesSearchV3WithResponse call

func (MemoriesSearchV3Response) ContentType

func (r MemoriesSearchV3Response) ContentType() string

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

func (MemoriesSearchV3Response) GetBody

func (r MemoriesSearchV3Response) GetBody() []byte

GetBody returns the raw response body bytes

func (MemoriesSearchV3Response) GetJSON200

func (r MemoriesSearchV3Response) GetJSON200() *struct {
	Results []struct {
		AgentId    *string   `json:"agent_id,omitempty"`
		AppId      *string   `json:"app_id,omitempty"`
		Categories *[]string `json:"categories,omitempty"`
		CreatedAt  time.Time `json:"created_at"`

		// ExpirationDate Date after which the memory is hidden from search unless `show_expired` is true.
		ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`

		// Id Unique memory identifier.
		Id openapi_types.UUID `json:"id"`

		// Memory The extracted memory fact.
		Memory string `json:"memory"`

		// Metadata User-supplied metadata attached to the memory.
		Metadata *map[string]interface{} `json:"metadata,omitempty"`

		// RunId Run/session the memory is scoped to. Note: this endpoint returns this field as `run_id`, while `POST /v3/memories/` returns the same value as `session_id`.
		RunId *string `json:"run_id,omitempty"`

		// Score Combined multi-signal relevance score in [0, 1] (search responses only).
		Score *float32 `json:"score,omitempty"`

		// ScoreBreakdown Per-signal breakdown of the relevance score.
		ScoreBreakdown *struct {
			Bm25     *float64 `json:"bm25,omitempty"`
			Entity   *float64 `json:"entity,omitempty"`
			Semantic *float64 `json:"semantic,omitempty"`
		} `json:"score_breakdown,omitempty"`
		UpdatedAt *time.Time `json:"updated_at,omitempty"`

		// UserId User the memory is scoped to.
		UserId *string `json:"user_id,omitempty"`
	} `json:"results"`
}

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

func (MemoriesSearchV3Response) Status

func (r MemoriesSearchV3Response) Status() string

Status returns HTTPResponse.Status

func (MemoriesSearchV3Response) StatusCode

func (r MemoriesSearchV3Response) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MemoriesUpdateJSONBody

type MemoriesUpdateJSONBody struct {
	// ExpirationDate Expiration date in YYYY-MM-DD format, or null to clear the expiration date.
	ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`

	// Metadata Additional metadata associated with the memory
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Text The updated text content of the memory
	Text *string `json:"text,omitempty"`
}

MemoriesUpdateJSONBody defines parameters for MemoriesUpdate.

type MemoriesUpdateJSONRequestBody

type MemoriesUpdateJSONRequestBody MemoriesUpdateJSONBody

MemoriesUpdateJSONRequestBody defines body for MemoriesUpdate for application/json ContentType.

type MemoriesUpdateResponse

type MemoriesUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// AgentId The identifier of the agent associated with this memory, if any.
		AgentId *string `json:"agent_id,omitempty"`

		// AppId The identifier of the app associated with this memory, if any.
		AppId      *string   `json:"app_id,omitempty"`
		Categories *[]string `json:"categories,omitempty"`

		// CreatedAt Timestamp of when the memory was created.
		CreatedAt *time.Time `json:"created_at,omitempty"`

		// ExpirationDate The date when the memory will expire. Format: YYYY-MM-DD.
		ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`

		// Id The unique identifier of the updated memory.
		Id *openapi_types.UUID `json:"id,omitempty"`

		// LifecycleState Lifecycle state of the memory.
		LifecycleState *string `json:"lifecycle_state,omitempty"`

		// Memory The updated content of the memory.
		Memory *string `json:"memory,omitempty"`

		// Metadata Additional metadata associated with the memory
		Metadata *map[string]interface{} `json:"metadata,omitempty"`

		// ReplacedBy ID of the memory that superseded this one, if any.
		ReplacedBy *string `json:"replaced_by,omitempty"`

		// SessionId The run identifier associated with this memory, returned as `session_id`.
		SessionId *string `json:"session_id,omitempty"`

		// StructuredAttributes System-derived temporal breakdown of the memory's creation time (e.g. year, month, day_of_week).
		StructuredAttributes *map[string]interface{} `json:"structured_attributes,omitempty"`

		// Synthesized Whether this memory was synthesized rather than directly extracted.
		Synthesized *bool `json:"synthesized,omitempty"`

		// UpdatedAt Timestamp of when the memory was last updated.
		UpdatedAt *time.Time `json:"updated_at,omitempty"`

		// UserId Identifier of the user associated with this memory
		UserId *string `json:"user_id,omitempty"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		// Error Example: memory_id should be a valid UUID
		Error *string `json:"error,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Error Example: Memory not found!
		Error *string `json:"error,omitempty"`
	}
}

func ParseMemoriesUpdateResponse

func ParseMemoriesUpdateResponse(rsp *http.Response) (*MemoriesUpdateResponse, error)

ParseMemoriesUpdateResponse parses an HTTP response from a MemoriesUpdateWithResponse call

func (MemoriesUpdateResponse) ContentType

func (r MemoriesUpdateResponse) ContentType() string

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

func (MemoriesUpdateResponse) GetBody

func (r MemoriesUpdateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (MemoriesUpdateResponse) GetJSON200

func (r MemoriesUpdateResponse) GetJSON200() *struct {
	// AgentId The identifier of the agent associated with this memory, if any.
	AgentId *string `json:"agent_id,omitempty"`

	// AppId The identifier of the app associated with this memory, if any.
	AppId      *string   `json:"app_id,omitempty"`
	Categories *[]string `json:"categories,omitempty"`

	// CreatedAt Timestamp of when the memory was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// ExpirationDate The date when the memory will expire. Format: YYYY-MM-DD.
	ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`

	// Id The unique identifier of the updated memory.
	Id *openapi_types.UUID `json:"id,omitempty"`

	// LifecycleState Lifecycle state of the memory.
	LifecycleState *string `json:"lifecycle_state,omitempty"`

	// Memory The updated content of the memory.
	Memory *string `json:"memory,omitempty"`

	// Metadata Additional metadata associated with the memory
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// ReplacedBy ID of the memory that superseded this one, if any.
	ReplacedBy *string `json:"replaced_by,omitempty"`

	// SessionId The run identifier associated with this memory, returned as `session_id`.
	SessionId *string `json:"session_id,omitempty"`

	// StructuredAttributes System-derived temporal breakdown of the memory's creation time (e.g. year, month, day_of_week).
	StructuredAttributes *map[string]interface{} `json:"structured_attributes,omitempty"`

	// Synthesized Whether this memory was synthesized rather than directly extracted.
	Synthesized *bool `json:"synthesized,omitempty"`

	// UpdatedAt Timestamp of when the memory was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`

	// UserId Identifier of the user associated with this memory
	UserId *string `json:"user_id,omitempty"`
}

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

func (MemoriesUpdateResponse) GetJSON400

func (r MemoriesUpdateResponse) GetJSON400() *struct {
	// Error Example: memory_id should be a valid UUID
	Error *string `json:"error,omitempty"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (MemoriesUpdateResponse) GetJSON404

func (r MemoriesUpdateResponse) GetJSON404() *struct {
	// Error Example: Memory not found!
	Error *string `json:"error,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (MemoriesUpdateResponse) Status

func (r MemoriesUpdateResponse) Status() string

Status returns HTTPResponse.Status

func (MemoriesUpdateResponse) StatusCode

func (r MemoriesUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MemoryGetInputV2

type MemoryGetInputV2 struct {
	// Fields A list of field names to include in the response. If not provided, all fields will be returned.
	Fields *[]string `json:"fields,omitempty"`

	// Filters A dictionary of filters to apply to retrieve memories. Available fields are: user_id, agent_id, app_id, run_id, created_at, updated_at, categories, keywords. Supports logical operators (AND, OR) and comparison operators (in, gte, lte, gt, lt, ne, contains, icontains, *). For categories field, use 'contains' for partial matching (e.g., {"categories": {"contains": "finance"}}) or 'in' for exact matching (e.g., {"categories": {"in": ["personal_information"]}}).
	Filters MemoryGetInputV2_Filters `json:"filters"`

	// OrgId The unique identifier of the organization associated with the memory.
	OrgId *string `json:"org_id,omitempty"`

	// Page Page number for pagination. Default: 1
	Page *int `json:"page,omitempty"`

	// PageSize Number of items per page. Default: 100
	PageSize *int `json:"page_size,omitempty"`

	// ProjectId The unique identifier of the project associated with the memory.
	ProjectId *string `json:"project_id,omitempty"`
}

MemoryGetInputV2 defines model for MemoryGetInputV2.

type MemoryGetInputV2_Filters

type MemoryGetInputV2_Filters struct {
	AgentId    *string `json:"agent_id,omitempty"`
	AppId      *string `json:"app_id,omitempty"`
	Categories *struct {
		In *[]string `json:"in,omitempty"`
	} `json:"categories,omitempty"`
	CreatedAt *time.Time `json:"created_at,omitempty"`
	Keywords  *struct {
		Contains  *string `json:"contains,omitempty"`
		Icontains *string `json:"icontains,omitempty"`
	} `json:"keywords,omitempty"`
	Metadata             *map[string]interface{} `json:"metadata,omitempty"`
	RunId                *string                 `json:"run_id,omitempty"`
	UpdatedAt            *time.Time              `json:"updated_at,omitempty"`
	UserId               *string                 `json:"user_id,omitempty"`
	AdditionalProperties map[string]struct {
		Contains  *string        `json:"contains,omitempty"`
		Gt        *string        `json:"gt,omitempty"`
		Gte       *string        `json:"gte,omitempty"`
		Icontains *string        `json:"icontains,omitempty"`
		In        *[]interface{} `json:"in,omitempty"`
		Lt        *string        `json:"lt,omitempty"`
		Lte       *string        `json:"lte,omitempty"`
		Ne        *string        `json:"ne,omitempty"`
	} `json:"-"`
}

MemoryGetInputV2_Filters A dictionary of filters to apply to retrieve memories. Available fields are: user_id, agent_id, app_id, run_id, created_at, updated_at, categories, keywords. Supports logical operators (AND, OR) and comparison operators (in, gte, lte, gt, lt, ne, contains, icontains, *). For categories field, use 'contains' for partial matching (e.g., {"categories": {"contains": "finance"}}) or 'in' for exact matching (e.g., {"categories": {"in": ["personal_information"]}}).

func (MemoryGetInputV2_Filters) Get

func (a MemoryGetInputV2_Filters) Get(fieldName string) (value struct {
	Contains  *string        `json:"contains,omitempty"`
	Gt        *string        `json:"gt,omitempty"`
	Gte       *string        `json:"gte,omitempty"`
	Icontains *string        `json:"icontains,omitempty"`
	In        *[]interface{} `json:"in,omitempty"`
	Lt        *string        `json:"lt,omitempty"`
	Lte       *string        `json:"lte,omitempty"`
	Ne        *string        `json:"ne,omitempty"`
}, found bool)

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

func (MemoryGetInputV2_Filters) MarshalJSON

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

Override default JSON handling for MemoryGetInputV2_Filters to handle AdditionalProperties

func (*MemoryGetInputV2_Filters) Set

func (a *MemoryGetInputV2_Filters) Set(fieldName string, value struct {
	Contains  *string        `json:"contains,omitempty"`
	Gt        *string        `json:"gt,omitempty"`
	Gte       *string        `json:"gte,omitempty"`
	Icontains *string        `json:"icontains,omitempty"`
	In        *[]interface{} `json:"in,omitempty"`
	Lt        *string        `json:"lt,omitempty"`
	Lte       *string        `json:"lte,omitempty"`
	Ne        *string        `json:"ne,omitempty"`
})

Setter for additional properties for MemoryGetInputV2_Filters

func (*MemoryGetInputV2_Filters) UnmarshalJSON

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

Override default JSON handling for MemoryGetInputV2_Filters to handle AdditionalProperties

type MemoryInput

type MemoryInput struct {
	// AgentCustomInstructions Extraction instructions that apply only to agent-scoped memories. Used when `agent_id` is sent without `user_id`; when both are sent it governs the assistant-attributed memories while `custom_instructions` governs the rest. Falls back to `custom_instructions` when unset.
	AgentCustomInstructions *string `json:"agent_custom_instructions,omitempty"`

	// AgentId The unique identifier of the agent associated with this memory.
	AgentId *string `json:"agent_id,omitempty"`

	// AppId The unique identifier of the application associated with this memory.
	AppId *string `json:"app_id,omitempty"`

	// AsyncMode Whether to add the memory completely asynchronously.
	AsyncMode *bool `json:"async_mode,omitempty"`

	// CustomCategories A list of categories with category name and its description.
	CustomCategories *map[string]interface{} `json:"custom_categories,omitempty"`

	// CustomInstructions Defines project-specific guidelines for handling and organizing memories. When set at the project level, they apply to all new memories in that project.
	CustomInstructions *string `json:"custom_instructions,omitempty"`

	// Excludes String to exclude the specific preferences in the memory.
	Excludes *string `json:"excludes,omitempty"`

	// ExpirationDate The date when the memory will expire. Format: YYYY-MM-DD
	ExpirationDate *openapi_types.Date `json:"expiration_date,omitempty"`

	// Immutable Whether the memory is immutable.
	Immutable *bool `json:"immutable,omitempty"`

	// Includes String to include the specific preferences in the memory.
	Includes *string `json:"includes,omitempty"`

	// Infer Whether to infer the memories or directly store the messages.
	Infer *bool `json:"infer,omitempty"`

	// Messages An array of message objects representing the content of the memory. Each message object typically contains 'role' and 'content' fields, where 'role' indicates the sender either 'user' or 'assistant' and 'content' contains the actual message text. This structure allows for the representation of conversations or multi-part memories.
	Messages *[]map[string]*string `json:"messages,omitempty"`

	// Metadata Additional metadata associated with the memory, which can be used to store any additional information or context about the memory. Best practice for incorporating additional information is through metadata (e.g. location, time, ids, etc.). During retrieval, you can either use these metadata alongside the query to fetch relevant memories or retrieve memories based on the query first and then refine the results using metadata during post-processing.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// OrgId The unique identifier of the organization associated with this memory.
	OrgId *string `json:"org_id,omitempty"`

	// OutputFormat Controls the response format structure. `v1.0` (default) returns a direct array of memory objects: `[{...}, {...}]`. `v1.1` returns an object with a 'results' key containing the array: `{"results": [...]}`.
	OutputFormat *string `json:"output_format,omitempty"`

	// ProjectId The unique identifier of the project associated with this memory.
	ProjectId *string `json:"project_id,omitempty"`

	// RunId The unique identifier of the run associated with this memory.
	RunId *string `json:"run_id,omitempty"`

	// Timestamp The timestamp of the memory. Format: Unix timestamp
	Timestamp *int `json:"timestamp,omitempty"`

	// UserId The unique identifier of the user associated with this memory.
	UserId *string `json:"user_id,omitempty"`

	// Version The version of the memory to use. The default version is v1, which is deprecated. We recommend using v2 for new applications.
	Version *string `json:"version,omitempty"`
}

MemoryInput defines model for MemoryInput.

type MemorySearchInput

type MemorySearchInput struct {
	// AgentId The agent ID associated with the memory.
	AgentId *string `json:"agent_id,omitempty"`

	// AppId The app ID associated with the memory.
	AppId *string `json:"app_id,omitempty"`

	// Categories A list of categories to filter the memories by.
	Categories *[]string `json:"categories,omitempty"`

	// Fields A list of field names to include in the response. If not provided, all fields will be returned.
	Fields *[]string `json:"fields,omitempty"`

	// FilterMemories Whether to properly filter the memories according to the input.
	FilterMemories *bool `json:"filter_memories,omitempty"`

	// KeywordSearch Whether to search for memories based on keywords.
	KeywordSearch *bool `json:"keyword_search,omitempty"`

	// Metadata Additional metadata associated with the memory.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// OnlyMetadataBasedSearch Whether to only search for memories based on metadata.
	OnlyMetadataBasedSearch *bool `json:"only_metadata_based_search,omitempty"`

	// OrgId The unique identifier of the organization associated with the memory.
	OrgId *string `json:"org_id,omitempty"`

	// OutputFormat The search method supports two output formats: `v1.0` (default) and `v1.1`. We recommend using `v1.1` as `v1.0` will be deprecated soon.
	OutputFormat *string `json:"output_format,omitempty"`

	// ProjectId The unique identifier of the project associated with the memory.
	ProjectId *string `json:"project_id,omitempty"`

	// Query The query to search for in the memory.
	Query string `json:"query"`

	// Rerank Whether to rerank the memories.
	Rerank *bool `json:"rerank,omitempty"`

	// RunId The run ID associated with the memory.
	RunId *string `json:"run_id,omitempty"`

	// TopK The number of top results to return.
	TopK *int `json:"top_k,omitempty"`

	// UserId The user ID associated with the memory.
	UserId *string `json:"user_id,omitempty"`
}

MemorySearchInput defines model for MemorySearchInput.

type MemorySearchInputV2

type MemorySearchInputV2 struct {
	// Fields A list of field names to include in the response. If not provided, all fields will be returned.
	Fields *[]string `json:"fields,omitempty"`

	// FilterMemories Whether to filter the memories.
	FilterMemories *bool `json:"filter_memories,omitempty"`

	// Filters A dictionary of filters to apply to the search. Available fields are: user_id, agent_id, app_id, run_id, created_at, updated_at, categories, keywords. Supports logical operators (AND, OR) and comparison operators (in, gte, lte, gt, lt, ne, contains, icontains). For categories field, use 'contains' for partial matching (e.g., {"categories": {"contains": "finance"}}) or 'in' for exact matching (e.g., {"categories": {"in": ["personal_information"]}}).
	Filters MemorySearchInputV2_Filters `json:"filters"`

	// KeywordSearch Whether to search for memories based on keywords.
	KeywordSearch *bool `json:"keyword_search,omitempty"`

	// OrgId The unique identifier of the organization associated with the memory.
	OrgId *string `json:"org_id,omitempty"`

	// ProjectId The unique identifier of the project associated with the memory.
	ProjectId *string `json:"project_id,omitempty"`

	// Query The query to search for in the memory.
	Query string `json:"query"`

	// Rerank Whether to rerank the memories.
	Rerank *bool `json:"rerank,omitempty"`

	// Threshold The minimum similarity threshold for returned results.
	Threshold *float64 `json:"threshold,omitempty"`

	// TopK The number of top results to return.
	TopK *int `json:"top_k,omitempty"`

	// Version The version of the memory to use. This should always be v2.
	Version *string `json:"version,omitempty"`
}

MemorySearchInputV2 defines model for MemorySearchInputV2.

type MemorySearchInputV2_Filters

type MemorySearchInputV2_Filters struct {
	AgentId    *string `json:"agent_id,omitempty"`
	AppId      *string `json:"app_id,omitempty"`
	Categories *struct {
		In *[]string `json:"in,omitempty"`
	} `json:"categories,omitempty"`
	CreatedAt *time.Time `json:"created_at,omitempty"`
	Keywords  *struct {
		Contains  *string `json:"contains,omitempty"`
		Icontains *string `json:"icontains,omitempty"`
	} `json:"keywords,omitempty"`
	Metadata             *map[string]interface{} `json:"metadata,omitempty"`
	RunId                *string                 `json:"run_id,omitempty"`
	UpdatedAt            *time.Time              `json:"updated_at,omitempty"`
	UserId               *string                 `json:"user_id,omitempty"`
	AdditionalProperties map[string]struct {
		Contains  *string        `json:"contains,omitempty"`
		Gt        *string        `json:"gt,omitempty"`
		Gte       *string        `json:"gte,omitempty"`
		Icontains *string        `json:"icontains,omitempty"`
		In        *[]interface{} `json:"in,omitempty"`
		Lt        *string        `json:"lt,omitempty"`
		Lte       *string        `json:"lte,omitempty"`
		Ne        *string        `json:"ne,omitempty"`
	} `json:"-"`
}

MemorySearchInputV2_Filters A dictionary of filters to apply to the search. Available fields are: user_id, agent_id, app_id, run_id, created_at, updated_at, categories, keywords. Supports logical operators (AND, OR) and comparison operators (in, gte, lte, gt, lt, ne, contains, icontains). For categories field, use 'contains' for partial matching (e.g., {"categories": {"contains": "finance"}}) or 'in' for exact matching (e.g., {"categories": {"in": ["personal_information"]}}).

func (MemorySearchInputV2_Filters) Get

func (a MemorySearchInputV2_Filters) Get(fieldName string) (value struct {
	Contains  *string        `json:"contains,omitempty"`
	Gt        *string        `json:"gt,omitempty"`
	Gte       *string        `json:"gte,omitempty"`
	Icontains *string        `json:"icontains,omitempty"`
	In        *[]interface{} `json:"in,omitempty"`
	Lt        *string        `json:"lt,omitempty"`
	Lte       *string        `json:"lte,omitempty"`
	Ne        *string        `json:"ne,omitempty"`
}, found bool)

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

func (MemorySearchInputV2_Filters) MarshalJSON

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

Override default JSON handling for MemorySearchInputV2_Filters to handle AdditionalProperties

func (*MemorySearchInputV2_Filters) Set

func (a *MemorySearchInputV2_Filters) Set(fieldName string, value struct {
	Contains  *string        `json:"contains,omitempty"`
	Gt        *string        `json:"gt,omitempty"`
	Gte       *string        `json:"gte,omitempty"`
	Icontains *string        `json:"icontains,omitempty"`
	In        *[]interface{} `json:"in,omitempty"`
	Lt        *string        `json:"lt,omitempty"`
	Lte       *string        `json:"lte,omitempty"`
	Ne        *string        `json:"ne,omitempty"`
})

Setter for additional properties for MemorySearchInputV2_Filters

func (*MemorySearchInputV2_Filters) UnmarshalJSON

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

Override default JSON handling for MemorySearchInputV2_Filters to handle AdditionalProperties

type OrganizationsReadResponse

type OrganizationsReadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *[]struct {
		// ByokEnabled Whether bring-your-own-key is enabled for the organization.
		ByokEnabled *bool `json:"byok_enabled,omitempty"`

		// CreatedAt Timestamp of when the organization was created.
		CreatedAt *time.Time `json:"created_at,omitempty"`

		// Invitations Pending invitations for the organization.
		Invitations *[]interface{} `json:"invitations,omitempty"`

		// IsDefault Whether this is the caller's default organization.
		IsDefault *bool `json:"is_default,omitempty"`

		// IsOwner Whether the caller owns the organization.
		IsOwner *bool `json:"is_owner,omitempty"`

		// Members Members belonging to the organization.
		Members *[]struct {
			Email    *string `json:"email,omitempty"`
			Role     *string `json:"role,omitempty"`
			Username *string `json:"username,omitempty"`
		} `json:"members,omitempty"`

		// Name Name of the organization.
		Name *string `json:"name,omitempty"`

		// OrgId Organization's unique string identifier.
		OrgId *string `json:"org_id,omitempty"`

		// OwnerPricingPlan Pricing plan of the organization owner.
		OwnerPricingPlan *string `json:"owner_pricing_plan,omitempty"`

		// UpdatedAt Timestamp of when the organization was last updated.
		UpdatedAt *time.Time `json:"updated_at,omitempty"`

		// UserRole The caller's role within the organization.
		UserRole *string `json:"user_role,omitempty"`
	}
}

func ParseOrganizationsReadResponse

func ParseOrganizationsReadResponse(rsp *http.Response) (*OrganizationsReadResponse, error)

ParseOrganizationsReadResponse parses an HTTP response from a OrganizationsReadWithResponse call

func (OrganizationsReadResponse) ContentType

func (r OrganizationsReadResponse) ContentType() string

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

func (OrganizationsReadResponse) GetBody

func (r OrganizationsReadResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (OrganizationsReadResponse) GetJSON200

func (r OrganizationsReadResponse) GetJSON200() *[]struct {
	// ByokEnabled Whether bring-your-own-key is enabled for the organization.
	ByokEnabled *bool `json:"byok_enabled,omitempty"`

	// CreatedAt Timestamp of when the organization was created.
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Invitations Pending invitations for the organization.
	Invitations *[]interface{} `json:"invitations,omitempty"`

	// IsDefault Whether this is the caller's default organization.
	IsDefault *bool `json:"is_default,omitempty"`

	// IsOwner Whether the caller owns the organization.
	IsOwner *bool `json:"is_owner,omitempty"`

	// Members Members belonging to the organization.
	Members *[]struct {
		Email    *string `json:"email,omitempty"`
		Role     *string `json:"role,omitempty"`
		Username *string `json:"username,omitempty"`
	} `json:"members,omitempty"`

	// Name Name of the organization.
	Name *string `json:"name,omitempty"`

	// OrgId Organization's unique string identifier.
	OrgId *string `json:"org_id,omitempty"`

	// OwnerPricingPlan Pricing plan of the organization owner.
	OwnerPricingPlan *string `json:"owner_pricing_plan,omitempty"`

	// UpdatedAt Timestamp of when the organization was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`

	// UserRole The caller's role within the organization.
	UserRole *string `json:"user_role,omitempty"`
}

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

func (OrganizationsReadResponse) Status

func (r OrganizationsReadResponse) Status() string

Status returns HTTPResponse.Status

func (OrganizationsReadResponse) StatusCode

func (r OrganizationsReadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PingReadResponse

type PingReadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		OrgId     *string `json:"org_id,omitempty"`
		ProjectId *string `json:"project_id,omitempty"`

		// Status Example: ok
		Status    *string              `json:"status,omitempty"`
		UserEmail *openapi_types.Email `json:"user_email,omitempty"`
	}
	// JSON401 the response for an HTTP 401 `application/json` response
	JSON401 *struct {
		// Detail Example: Invalid API key. You can find your API key on https://app.mem0.ai/dashboard/api-keys.
		Detail *string `json:"detail,omitempty"`
	}
}

func ParsePingReadResponse

func ParsePingReadResponse(rsp *http.Response) (*PingReadResponse, error)

ParsePingReadResponse parses an HTTP response from a PingReadWithResponse call

func (PingReadResponse) ContentType

func (r PingReadResponse) ContentType() string

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

func (PingReadResponse) GetBody

func (r PingReadResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (PingReadResponse) GetJSON200

func (r PingReadResponse) GetJSON200() *struct {
	OrgId     *string `json:"org_id,omitempty"`
	ProjectId *string `json:"project_id,omitempty"`

	// Status Example: ok
	Status    *string              `json:"status,omitempty"`
	UserEmail *openapi_types.Email `json:"user_email,omitempty"`
}

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

func (PingReadResponse) GetJSON401

func (r PingReadResponse) GetJSON401() *struct {
	// Detail Example: Invalid API key. You can find your API key on https://app.mem0.ai/dashboard/api-keys.
	Detail *string `json:"detail,omitempty"`
}

GetJSON401 returns the response for an HTTP 401 `application/json` response

func (PingReadResponse) Status

func (r PingReadResponse) Status() string

Status returns HTTPResponse.Status

func (PingReadResponse) StatusCode

func (r PingReadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProfilesCreateJobJSONBody

type ProfilesCreateJobJSONBody struct {
	// EntityId One entity, for `trigger`.
	EntityId   *string                             `json:"entity_id,omitempty"`
	EntityType ProfilesCreateJobJSONBodyEntityType `json:"entity_type"`

	// Limit How many entities to sample.
	Limit *int `json:"limit,omitempty"`

	// Operation What to generate. Optional only when `entity_id` is set, which means `trigger`.
	Operation ProfilesCreateJobJSONBodyOperation `json:"operation"`
}

ProfilesCreateJobJSONBody defines parameters for ProfilesCreateJob.

type ProfilesCreateJobJSONBodyEntityType

type ProfilesCreateJobJSONBodyEntityType string

ProfilesCreateJobJSONBodyEntityType defines parameters for ProfilesCreateJob.

const (
	ProfilesCreateJobJSONBodyEntityTypeUser ProfilesCreateJobJSONBodyEntityType = "user"
)

Defines values for ProfilesCreateJobJSONBodyEntityType.

func (ProfilesCreateJobJSONBodyEntityType) Valid

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

type ProfilesCreateJobJSONBodyOperation

type ProfilesCreateJobJSONBodyOperation string

ProfilesCreateJobJSONBodyOperation defines parameters for ProfilesCreateJob.

const (
	ProfilesCreateJobJSONBodyOperationSample  ProfilesCreateJobJSONBodyOperation = "sample"
	ProfilesCreateJobJSONBodyOperationTrigger ProfilesCreateJobJSONBodyOperation = "trigger"
)

Defines values for ProfilesCreateJobJSONBodyOperation.

func (ProfilesCreateJobJSONBodyOperation) Valid

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

type ProfilesCreateJobJSONRequestBody

type ProfilesCreateJobJSONRequestBody ProfilesCreateJobJSONBody

ProfilesCreateJobJSONRequestBody defines body for ProfilesCreateJob for application/json ContentType.

type ProfilesCreateJobParams

type ProfilesCreateJobParams struct {
	// IdempotencyKey Makes a retry safe: the same key returns the same job.
	IdempotencyKey string `json:"Idempotency-Key"`
}

ProfilesCreateJobParams defines parameters for ProfilesCreateJob.

type ProfilesCreateJobResponse

type ProfilesCreateJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON202 the response for an HTTP 202 `application/json` response
	JSON202 *struct {
		// EntityCountReserved Entities reserved against usage for this job.
		EntityCountReserved *int `json:"entity_count_reserved,omitempty"`

		// EntityIds `sample` only: the entity ids picked. Read each with `GET /v2/entities/user/{entity_id}/profile/`.
		EntityIds  *[]string `json:"entity_ids,omitempty"`
		EntityType *string   `json:"entity_type,omitempty"`
		EventId    *string   `json:"event_id,omitempty"`
		JobId      *string   `json:"job_id,omitempty"`
		Operation  *string   `json:"operation,omitempty"`

		// Replayed True when an Idempotency-Key returned an existing job.
		Replayed *bool `json:"replayed,omitempty"`

		// Sampled `sample` only.
		Sampled *int    `json:"sampled,omitempty"`
		Status  *string `json:"status,omitempty"`

		// StatusUrl Poll this. Building the path yourself breaks on a route change.
		StatusUrl *string `json:"status_url,omitempty"`
	}
}

func ParseProfilesCreateJobResponse

func ParseProfilesCreateJobResponse(rsp *http.Response) (*ProfilesCreateJobResponse, error)

ParseProfilesCreateJobResponse parses an HTTP response from a ProfilesCreateJobWithResponse call

func (ProfilesCreateJobResponse) ContentType

func (r ProfilesCreateJobResponse) ContentType() string

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

func (ProfilesCreateJobResponse) GetBody

func (r ProfilesCreateJobResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ProfilesCreateJobResponse) GetJSON202

func (r ProfilesCreateJobResponse) GetJSON202() *struct {
	// EntityCountReserved Entities reserved against usage for this job.
	EntityCountReserved *int `json:"entity_count_reserved,omitempty"`

	// EntityIds `sample` only: the entity ids picked. Read each with `GET /v2/entities/user/{entity_id}/profile/`.
	EntityIds  *[]string `json:"entity_ids,omitempty"`
	EntityType *string   `json:"entity_type,omitempty"`
	EventId    *string   `json:"event_id,omitempty"`
	JobId      *string   `json:"job_id,omitempty"`
	Operation  *string   `json:"operation,omitempty"`

	// Replayed True when an Idempotency-Key returned an existing job.
	Replayed *bool `json:"replayed,omitempty"`

	// Sampled `sample` only.
	Sampled *int    `json:"sampled,omitempty"`
	Status  *string `json:"status,omitempty"`

	// StatusUrl Poll this. Building the path yourself breaks on a route change.
	StatusUrl *string `json:"status_url,omitempty"`
}

GetJSON202 returns the response for an HTTP 202 `application/json` response

func (ProfilesCreateJobResponse) Status

func (r ProfilesCreateJobResponse) Status() string

Status returns HTTPResponse.Status

func (ProfilesCreateJobResponse) StatusCode

func (r ProfilesCreateJobResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProfilesGetJob200JSONResponseBodyJobStatus

type ProfilesGetJob200JSONResponseBodyJobStatus string

ProfilesGetJob200JSONResponseBodyJobStatus defines parameters for ProfilesGetJob.

const (
	ProfilesGetJob200JSONResponseBodyJobStatusCANCELLED          ProfilesGetJob200JSONResponseBodyJobStatus = "CANCELLED"
	ProfilesGetJob200JSONResponseBodyJobStatusFAILED             ProfilesGetJob200JSONResponseBodyJobStatus = "FAILED"
	ProfilesGetJob200JSONResponseBodyJobStatusPARTIALLYSUCCEEDED ProfilesGetJob200JSONResponseBodyJobStatus = "PARTIALLY_SUCCEEDED"
	ProfilesGetJob200JSONResponseBodyJobStatusQUEUED             ProfilesGetJob200JSONResponseBodyJobStatus = "QUEUED"
	ProfilesGetJob200JSONResponseBodyJobStatusRUNNING            ProfilesGetJob200JSONResponseBodyJobStatus = "RUNNING"
	ProfilesGetJob200JSONResponseBodyJobStatusSUCCEEDED          ProfilesGetJob200JSONResponseBodyJobStatus = "SUCCEEDED"
)

Defines values for ProfilesGetJob200JSONResponseBodyJobStatus.

func (ProfilesGetJob200JSONResponseBodyJobStatus) Valid

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

type ProfilesGetJobResponse

type ProfilesGetJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Job *struct {
			Completed           *int                                        `json:"completed,omitempty"`
			EntityType          *string                                     `json:"entity_type,omitempty"`
			EnumerationComplete *bool                                       `json:"enumeration_complete,omitempty"`
			Failed              *int                                        `json:"failed,omitempty"`
			Id                  *string                                     `json:"id,omitempty"`
			Operation           *string                                     `json:"operation,omitempty"`
			Skipped             *int                                        `json:"skipped,omitempty"`
			Status              *ProfilesGetJob200JSONResponseBodyJobStatus `json:"status,omitempty"`
			Succeeded           *int                                        `json:"succeeded,omitempty"`
			Total               *int                                        `json:"total,omitempty"`
		} `json:"job,omitempty"`
	}
}

func ParseProfilesGetJobResponse

func ParseProfilesGetJobResponse(rsp *http.Response) (*ProfilesGetJobResponse, error)

ParseProfilesGetJobResponse parses an HTTP response from a ProfilesGetJobWithResponse call

func (ProfilesGetJobResponse) ContentType

func (r ProfilesGetJobResponse) ContentType() string

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

func (ProfilesGetJobResponse) GetBody

func (r ProfilesGetJobResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ProfilesGetJobResponse) GetJSON200

func (r ProfilesGetJobResponse) GetJSON200() *struct {
	Job *struct {
		Completed           *int                                        `json:"completed,omitempty"`
		EntityType          *string                                     `json:"entity_type,omitempty"`
		EnumerationComplete *bool                                       `json:"enumeration_complete,omitempty"`
		Failed              *int                                        `json:"failed,omitempty"`
		Id                  *string                                     `json:"id,omitempty"`
		Operation           *string                                     `json:"operation,omitempty"`
		Skipped             *int                                        `json:"skipped,omitempty"`
		Status              *ProfilesGetJob200JSONResponseBodyJobStatus `json:"status,omitempty"`
		Succeeded           *int                                        `json:"succeeded,omitempty"`
		Total               *int                                        `json:"total,omitempty"`
	} `json:"job,omitempty"`
}

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

func (ProfilesGetJobResponse) Status

func (r ProfilesGetJobResponse) Status() string

Status returns HTTPResponse.Status

func (ProfilesGetJobResponse) StatusCode

func (r ProfilesGetJobResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProfilesRead200JSONResponseBodyEntityType

type ProfilesRead200JSONResponseBodyEntityType string

ProfilesRead200JSONResponseBodyEntityType defines parameters for ProfilesRead.

const (
	ProfilesRead200JSONResponseBodyEntityTypeUser ProfilesRead200JSONResponseBodyEntityType = "user"
)

Defines values for ProfilesRead200JSONResponseBodyEntityType.

func (ProfilesRead200JSONResponseBodyEntityType) Valid

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

type ProfilesRead200JSONResponseBodyStatus

type ProfilesRead200JSONResponseBodyStatus string

ProfilesRead200JSONResponseBodyStatus defines parameters for ProfilesRead.

const (
	ProfilesRead200JSONResponseBodyStatusFailed           ProfilesRead200JSONResponseBodyStatus = "failed"
	ProfilesRead200JSONResponseBodyStatusInsufficientData ProfilesRead200JSONResponseBodyStatus = "insufficient_data"
	ProfilesRead200JSONResponseBodyStatusNotEnabled       ProfilesRead200JSONResponseBodyStatus = "not_enabled"
	ProfilesRead200JSONResponseBodyStatusPending          ProfilesRead200JSONResponseBodyStatus = "pending"
	ProfilesRead200JSONResponseBodyStatusSucceeded        ProfilesRead200JSONResponseBodyStatus = "succeeded"
)

Defines values for ProfilesRead200JSONResponseBodyStatus.

func (ProfilesRead200JSONResponseBodyStatus) Valid

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

type ProfilesReadParamsEntityType

type ProfilesReadParamsEntityType string

ProfilesReadParamsEntityType defines parameters for ProfilesRead.

const (
	ProfilesReadParamsEntityTypeUser ProfilesReadParamsEntityType = "user"
)

Defines values for ProfilesReadParamsEntityType.

func (ProfilesReadParamsEntityType) Valid

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

type ProfilesReadResponse

type ProfilesReadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		EntityId        *string                                    `json:"entity_id,omitempty"`
		EntityType      *ProfilesRead200JSONResponseBodyEntityType `json:"entity_type,omitempty"`
		GenerationCount *int                                       `json:"generation_count,omitempty"`

		// Profile The generated profile, shaped by the project's schema. Empty unless status is succeeded.
		Profile *map[string]interface{} `json:"profile,omitempty"`

		// Status Generation state. Branch on this rather than on an empty profile.
		Status    *ProfilesRead200JSONResponseBodyStatus `json:"status,omitempty"`
		UpdatedAt *time.Time                             `json:"updated_at,omitempty"`
	}
}

func ParseProfilesReadResponse

func ParseProfilesReadResponse(rsp *http.Response) (*ProfilesReadResponse, error)

ParseProfilesReadResponse parses an HTTP response from a ProfilesReadWithResponse call

func (ProfilesReadResponse) ContentType

func (r ProfilesReadResponse) ContentType() string

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

func (ProfilesReadResponse) GetBody

func (r ProfilesReadResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ProfilesReadResponse) GetJSON200

func (r ProfilesReadResponse) GetJSON200() *struct {
	EntityId        *string                                    `json:"entity_id,omitempty"`
	EntityType      *ProfilesRead200JSONResponseBodyEntityType `json:"entity_type,omitempty"`
	GenerationCount *int                                       `json:"generation_count,omitempty"`

	// Profile The generated profile, shaped by the project's schema. Empty unless status is succeeded.
	Profile *map[string]interface{} `json:"profile,omitempty"`

	// Status Generation state. Branch on this rather than on an empty profile.
	Status    *ProfilesRead200JSONResponseBodyStatus `json:"status,omitempty"`
	UpdatedAt *time.Time                             `json:"updated_at,omitempty"`
}

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

func (ProfilesReadResponse) Status

func (r ProfilesReadResponse) Status() string

Status returns HTTPResponse.Status

func (ProfilesReadResponse) StatusCode

func (r ProfilesReadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProfilesSettingsReadResponse

type ProfilesSettingsReadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Capabilities *struct {
			Estimates *bool `json:"estimates,omitempty"`

			// FullRebuild Whether a project-wide rebuild (regenerate/backfill) is available. Currently false.
			FullRebuild *bool `json:"full_rebuild,omitempty"`
			Jobs        *bool `json:"jobs,omitempty"`
			Samples     *bool `json:"samples,omitempty"`
		} `json:"capabilities,omitempty"`

		// Enabled Whether profile generation runs for this project. Project-wide.
		Enabled *bool `json:"enabled,omitempty"`

		// Entities Settings for user profiles, under `user`.
		Entities *struct {
			User *struct {
				// CustomInstructions Extra guidance for the extraction step.
				CustomInstructions *string `json:"custom_instructions,omitempty"`

				// Schema JSON Schema describing the profile. Every property needs a description.
				Schema *map[string]interface{} `json:"schema,omitempty"`
			} `json:"user,omitempty"`
		} `json:"entities,omitempty"`
	}
}

func ParseProfilesSettingsReadResponse

func ParseProfilesSettingsReadResponse(rsp *http.Response) (*ProfilesSettingsReadResponse, error)

ParseProfilesSettingsReadResponse parses an HTTP response from a ProfilesSettingsReadWithResponse call

func (ProfilesSettingsReadResponse) ContentType

func (r ProfilesSettingsReadResponse) ContentType() string

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

func (ProfilesSettingsReadResponse) GetBody

func (r ProfilesSettingsReadResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ProfilesSettingsReadResponse) GetJSON200

func (r ProfilesSettingsReadResponse) GetJSON200() *struct {
	Capabilities *struct {
		Estimates *bool `json:"estimates,omitempty"`

		// FullRebuild Whether a project-wide rebuild (regenerate/backfill) is available. Currently false.
		FullRebuild *bool `json:"full_rebuild,omitempty"`
		Jobs        *bool `json:"jobs,omitempty"`
		Samples     *bool `json:"samples,omitempty"`
	} `json:"capabilities,omitempty"`

	// Enabled Whether profile generation runs for this project. Project-wide.
	Enabled *bool `json:"enabled,omitempty"`

	// Entities Settings for user profiles, under `user`.
	Entities *struct {
		User *struct {
			// CustomInstructions Extra guidance for the extraction step.
			CustomInstructions *string `json:"custom_instructions,omitempty"`

			// Schema JSON Schema describing the profile. Every property needs a description.
			Schema *map[string]interface{} `json:"schema,omitempty"`
		} `json:"user,omitempty"`
	} `json:"entities,omitempty"`
}

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

func (ProfilesSettingsReadResponse) Status

Status returns HTTPResponse.Status

func (ProfilesSettingsReadResponse) StatusCode

func (r ProfilesSettingsReadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProfilesSettingsUpdateJSONBody

type ProfilesSettingsUpdateJSONBody struct {
	// Enabled Whether profile generation runs for this project. Project-wide.
	Enabled *bool `json:"enabled,omitempty"`

	// Entities Settings for user profiles, under `user`.
	Entities *struct {
		User *struct {
			// CustomInstructions Extra guidance for the extraction step. Send null to clear it.
			CustomInstructions *string `json:"custom_instructions,omitempty"`

			// Schema JSON Schema describing the profile. Every property needs a description. Send null to clear it.
			Schema *map[string]interface{} `json:"schema,omitempty"`
		} `json:"user,omitempty"`
	} `json:"entities,omitempty"`
}

ProfilesSettingsUpdateJSONBody defines parameters for ProfilesSettingsUpdate.

type ProfilesSettingsUpdateJSONRequestBody

type ProfilesSettingsUpdateJSONRequestBody ProfilesSettingsUpdateJSONBody

ProfilesSettingsUpdateJSONRequestBody defines body for ProfilesSettingsUpdate for application/json ContentType.

type ProfilesSettingsUpdateResponse

type ProfilesSettingsUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Capabilities *struct {
			Estimates *bool `json:"estimates,omitempty"`

			// FullRebuild Whether a project-wide rebuild (regenerate/backfill) is available. Currently false.
			FullRebuild *bool `json:"full_rebuild,omitempty"`
			Jobs        *bool `json:"jobs,omitempty"`
			Samples     *bool `json:"samples,omitempty"`
		} `json:"capabilities,omitempty"`

		// Enabled Whether profile generation runs for this project. Project-wide.
		Enabled *bool `json:"enabled,omitempty"`

		// Entities Settings for user profiles, under `user`.
		Entities *struct {
			User *struct {
				// CustomInstructions Extra guidance for the extraction step.
				CustomInstructions *string `json:"custom_instructions,omitempty"`

				// Schema JSON Schema describing the profile. Every property needs a description.
				Schema *map[string]interface{} `json:"schema,omitempty"`
			} `json:"user,omitempty"`
		} `json:"entities,omitempty"`
	}
}

func ParseProfilesSettingsUpdateResponse

func ParseProfilesSettingsUpdateResponse(rsp *http.Response) (*ProfilesSettingsUpdateResponse, error)

ParseProfilesSettingsUpdateResponse parses an HTTP response from a ProfilesSettingsUpdateWithResponse call

func (ProfilesSettingsUpdateResponse) ContentType

func (r ProfilesSettingsUpdateResponse) ContentType() string

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

func (ProfilesSettingsUpdateResponse) GetBody

func (r ProfilesSettingsUpdateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ProfilesSettingsUpdateResponse) GetJSON200

func (r ProfilesSettingsUpdateResponse) GetJSON200() *struct {
	Capabilities *struct {
		Estimates *bool `json:"estimates,omitempty"`

		// FullRebuild Whether a project-wide rebuild (regenerate/backfill) is available. Currently false.
		FullRebuild *bool `json:"full_rebuild,omitempty"`
		Jobs        *bool `json:"jobs,omitempty"`
		Samples     *bool `json:"samples,omitempty"`
	} `json:"capabilities,omitempty"`

	// Enabled Whether profile generation runs for this project. Project-wide.
	Enabled *bool `json:"enabled,omitempty"`

	// Entities Settings for user profiles, under `user`.
	Entities *struct {
		User *struct {
			// CustomInstructions Extra guidance for the extraction step.
			CustomInstructions *string `json:"custom_instructions,omitempty"`

			// Schema JSON Schema describing the profile. Every property needs a description.
			Schema *map[string]interface{} `json:"schema,omitempty"`
		} `json:"user,omitempty"`
	} `json:"entities,omitempty"`
}

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

func (ProfilesSettingsUpdateResponse) Status

Status returns HTTPResponse.Status

func (ProfilesSettingsUpdateResponse) StatusCode

func (r ProfilesSettingsUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RemoveOrganizationMemberJSONBody

type RemoveOrganizationMemberJSONBody struct {
	// Email Email of the member to be removed.
	Email string `json:"email"`
}

RemoveOrganizationMemberJSONBody defines parameters for RemoveOrganizationMember.

type RemoveOrganizationMemberJSONRequestBody

type RemoveOrganizationMemberJSONRequestBody RemoveOrganizationMemberJSONBody

RemoveOrganizationMemberJSONRequestBody defines body for RemoveOrganizationMember for application/json ContentType.

type RemoveOrganizationMemberResponse

type RemoveOrganizationMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Message Example: User removed from organization.
		Message *string `json:"message,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Message Example: Organization not found
		Message *string `json:"message,omitempty"`
	}
}

func ParseRemoveOrganizationMemberResponse

func ParseRemoveOrganizationMemberResponse(rsp *http.Response) (*RemoveOrganizationMemberResponse, error)

ParseRemoveOrganizationMemberResponse parses an HTTP response from a RemoveOrganizationMemberWithResponse call

func (RemoveOrganizationMemberResponse) ContentType

func (r RemoveOrganizationMemberResponse) ContentType() string

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

func (RemoveOrganizationMemberResponse) GetBody

func (r RemoveOrganizationMemberResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RemoveOrganizationMemberResponse) GetJSON200

func (r RemoveOrganizationMemberResponse) GetJSON200() *struct {
	// Message Example: User removed from organization.
	Message *string `json:"message,omitempty"`
}

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

func (RemoveOrganizationMemberResponse) GetJSON404

func (r RemoveOrganizationMemberResponse) GetJSON404() *struct {
	// Message Example: Organization not found
	Message *string `json:"message,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (RemoveOrganizationMemberResponse) Status

Status returns HTTPResponse.Status

func (RemoveOrganizationMemberResponse) StatusCode

func (r RemoveOrganizationMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RunResponse

type RunResponse struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// GraphEntities Graph entities linked to this record, if any.
	GraphEntities interface{} `json:"graph_entities,omitempty"`

	// Id Internal numeric identifier.
	Id        *int                    `json:"id,omitempty"`
	IsDeleted *bool                   `json:"is_deleted,omitempty"`
	Metadata  *map[string]interface{} `json:"metadata,omitempty"`
	Name      *string                 `json:"name,omitempty"`

	// Project Internal numeric identifier of the project this record belongs to.
	Project   *int       `json:"project,omitempty"`
	RunId     *string    `json:"run_id,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

RunResponse Response returned after creating a Run.

type RunsCreateJSONRequestBody

type RunsCreateJSONRequestBody = CreateRun

RunsCreateJSONRequestBody defines body for RunsCreate for application/json ContentType.

type RunsCreateResponse

type RunsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *RunResponse
}

func ParseRunsCreateResponse

func ParseRunsCreateResponse(rsp *http.Response) (*RunsCreateResponse, error)

ParseRunsCreateResponse parses an HTTP response from a RunsCreateWithResponse call

func (RunsCreateResponse) ContentType

func (r RunsCreateResponse) ContentType() string

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

func (RunsCreateResponse) GetBody

func (r RunsCreateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (RunsCreateResponse) GetJSON201

func (r RunsCreateResponse) GetJSON201() *RunResponse

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (RunsCreateResponse) Status

func (r RunsCreateResponse) Status() string

Status returns HTTPResponse.Status

func (RunsCreateResponse) StatusCode

func (r RunsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StatsListResponse

type StatsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		MemoriesPerAgent          *int `json:"memories_per_agent,omitempty"`
		MemoriesPerRun            *int `json:"memories_per_run,omitempty"`
		MemoriesPerUser           *int `json:"memories_per_user,omitempty"`
		TotalAddEvents            *int `json:"total_add_events,omitempty"`
		TotalAgentsWithMemories   *int `json:"total_agents_with_memories,omitempty"`
		TotalApiRetrievalEvents   *int `json:"total_api_retrieval_events,omitempty"`
		TotalMemories             *int `json:"total_memories,omitempty"`
		TotalRetrievalEvents      *int `json:"total_retrieval_events,omitempty"`
		TotalRetrievalEventsLimit *int `json:"total_retrieval_events_limit,omitempty"`
		TotalRunsWithMemories     *int `json:"total_runs_with_memories,omitempty"`
		TotalUsersWithMemories    *int `json:"total_users_with_memories,omitempty"`
	}
}

func ParseStatsListResponse

func ParseStatsListResponse(rsp *http.Response) (*StatsListResponse, error)

ParseStatsListResponse parses an HTTP response from a StatsListWithResponse call

func (StatsListResponse) ContentType

func (r StatsListResponse) ContentType() string

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

func (StatsListResponse) GetBody

func (r StatsListResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (StatsListResponse) GetJSON200

func (r StatsListResponse) GetJSON200() *struct {
	MemoriesPerAgent          *int `json:"memories_per_agent,omitempty"`
	MemoriesPerRun            *int `json:"memories_per_run,omitempty"`
	MemoriesPerUser           *int `json:"memories_per_user,omitempty"`
	TotalAddEvents            *int `json:"total_add_events,omitempty"`
	TotalAgentsWithMemories   *int `json:"total_agents_with_memories,omitempty"`
	TotalApiRetrievalEvents   *int `json:"total_api_retrieval_events,omitempty"`
	TotalMemories             *int `json:"total_memories,omitempty"`
	TotalRetrievalEvents      *int `json:"total_retrieval_events,omitempty"`
	TotalRetrievalEventsLimit *int `json:"total_retrieval_events_limit,omitempty"`
	TotalRunsWithMemories     *int `json:"total_runs_with_memories,omitempty"`
	TotalUsersWithMemories    *int `json:"total_users_with_memories,omitempty"`
}

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

func (StatsListResponse) Status

func (r StatsListResponse) Status() string

Status returns HTTPResponse.Status

func (StatsListResponse) StatusCode

func (r StatsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SubmitFeedback200JSONResponseBodyFeedback

type SubmitFeedback200JSONResponseBodyFeedback string

SubmitFeedback200JSONResponseBodyFeedback defines parameters for SubmitFeedback.

const (
	SubmitFeedback200JSONResponseBodyFeedbackNEGATIVE     SubmitFeedback200JSONResponseBodyFeedback = "NEGATIVE"
	SubmitFeedback200JSONResponseBodyFeedbackPOSITIVE     SubmitFeedback200JSONResponseBodyFeedback = "POSITIVE"
	SubmitFeedback200JSONResponseBodyFeedbackVERYNEGATIVE SubmitFeedback200JSONResponseBodyFeedback = "VERY_NEGATIVE"
)

Defines values for SubmitFeedback200JSONResponseBodyFeedback.

func (SubmitFeedback200JSONResponseBodyFeedback) Valid

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

type SubmitFeedbackJSONBody

type SubmitFeedbackJSONBody struct {
	// Feedback Type of feedback
	Feedback *SubmitFeedbackJSONBodyFeedback `json:"feedback,omitempty"`

	// FeedbackReason Reason for the feedback
	FeedbackReason *string `json:"feedback_reason,omitempty"`

	// MemoryId ID of the memory to provide feedback for
	MemoryId string `json:"memory_id"`
}

SubmitFeedbackJSONBody defines parameters for SubmitFeedback.

type SubmitFeedbackJSONBodyFeedback

type SubmitFeedbackJSONBodyFeedback string

SubmitFeedbackJSONBodyFeedback defines parameters for SubmitFeedback.

const (
	SubmitFeedbackJSONBodyFeedbackNEGATIVE     SubmitFeedbackJSONBodyFeedback = "NEGATIVE"
	SubmitFeedbackJSONBodyFeedbackPOSITIVE     SubmitFeedbackJSONBodyFeedback = "POSITIVE"
	SubmitFeedbackJSONBodyFeedbackVERYNEGATIVE SubmitFeedbackJSONBodyFeedback = "VERY_NEGATIVE"
)

Defines values for SubmitFeedbackJSONBodyFeedback.

func (SubmitFeedbackJSONBodyFeedback) Valid

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

type SubmitFeedbackJSONRequestBody

type SubmitFeedbackJSONRequestBody SubmitFeedbackJSONBody

SubmitFeedbackJSONRequestBody defines body for SubmitFeedback for application/json ContentType.

type SubmitFeedbackResponse

type SubmitFeedbackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Feedback Type of feedback
		Feedback *SubmitFeedback200JSONResponseBodyFeedback `json:"feedback,omitempty"`

		// FeedbackReason Reason for the feedback
		FeedbackReason *string `json:"feedback_reason,omitempty"`

		// Id Feedback ID
		Id *openapi_types.UUID `json:"id,omitempty"`
	}
}

func ParseSubmitFeedbackResponse

func ParseSubmitFeedbackResponse(rsp *http.Response) (*SubmitFeedbackResponse, error)

ParseSubmitFeedbackResponse parses an HTTP response from a SubmitFeedbackWithResponse call

func (SubmitFeedbackResponse) ContentType

func (r SubmitFeedbackResponse) ContentType() string

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

func (SubmitFeedbackResponse) GetBody

func (r SubmitFeedbackResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SubmitFeedbackResponse) GetJSON200

func (r SubmitFeedbackResponse) GetJSON200() *struct {
	// Feedback Type of feedback
	Feedback *SubmitFeedback200JSONResponseBodyFeedback `json:"feedback,omitempty"`

	// FeedbackReason Reason for the feedback
	FeedbackReason *string `json:"feedback_reason,omitempty"`

	// Id Feedback ID
	Id *openapi_types.UUID `json:"id,omitempty"`
}

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

func (SubmitFeedbackResponse) Status

func (r SubmitFeedbackResponse) Status() string

Status returns HTTPResponse.Status

func (SubmitFeedbackResponse) StatusCode

func (r SubmitFeedbackResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SummaryCreateJSONBody

type SummaryCreateJSONBody struct {
	// Filters Either flat field:value pairs (e.g. `{"user_id": "<user_id>"}`) or the structured AND/OR filter format used by `/v2/memories/search/`.
	Filters map[string]interface{} `json:"filters"`
}

SummaryCreateJSONBody defines parameters for SummaryCreate.

type SummaryCreateJSONRequestBody

type SummaryCreateJSONRequestBody SummaryCreateJSONBody

SummaryCreateJSONRequestBody defines body for SummaryCreate for application/json ContentType.

type SummaryCreateResponse

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

func ParseSummaryCreateResponse

func ParseSummaryCreateResponse(rsp *http.Response) (*SummaryCreateResponse, error)

ParseSummaryCreateResponse parses an HTTP response from a SummaryCreateWithResponse call

func (SummaryCreateResponse) ContentType

func (r SummaryCreateResponse) ContentType() string

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

func (SummaryCreateResponse) GetBody

func (r SummaryCreateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (SummaryCreateResponse) GetJSON200

func (r SummaryCreateResponse) GetJSON200() *[]interface{}

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

func (SummaryCreateResponse) Status

func (r SummaryCreateResponse) Status() string

Status returns HTTPResponse.Status

func (SummaryCreateResponse) StatusCode

func (r SummaryCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateDreamConfig200JSONResponseBodyConfigReflectionMode

type UpdateDreamConfig200JSONResponseBodyConfigReflectionMode string

UpdateDreamConfig200JSONResponseBodyConfigReflectionMode defines parameters for UpdateDreamConfig.

const (
	UpdateDreamConfig200JSONResponseBodyConfigReflectionModeBatch  UpdateDreamConfig200JSONResponseBodyConfigReflectionMode = "batch"
	UpdateDreamConfig200JSONResponseBodyConfigReflectionModeDirect UpdateDreamConfig200JSONResponseBodyConfigReflectionMode = "direct"
)

Defines values for UpdateDreamConfig200JSONResponseBodyConfigReflectionMode.

func (UpdateDreamConfig200JSONResponseBodyConfigReflectionMode) Valid

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

type UpdateDreamConfigJSONBody

type UpdateDreamConfigJSONBody struct {
	// ReflectionEnabled Turn background synthesis on or off.
	ReflectionEnabled *bool `json:"reflection_enabled,omitempty"`

	// ReflectionMode Synthesis execution mode.
	ReflectionMode *UpdateDreamConfigJSONBodyReflectionMode `json:"reflection_mode,omitempty"`
}

UpdateDreamConfigJSONBody defines parameters for UpdateDreamConfig.

type UpdateDreamConfigJSONBodyReflectionMode

type UpdateDreamConfigJSONBodyReflectionMode string

UpdateDreamConfigJSONBodyReflectionMode defines parameters for UpdateDreamConfig.

const (
	UpdateDreamConfigJSONBodyReflectionModeBatch  UpdateDreamConfigJSONBodyReflectionMode = "batch"
	UpdateDreamConfigJSONBodyReflectionModeDirect UpdateDreamConfigJSONBodyReflectionMode = "direct"
)

Defines values for UpdateDreamConfigJSONBodyReflectionMode.

func (UpdateDreamConfigJSONBodyReflectionMode) Valid

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

type UpdateDreamConfigJSONRequestBody

type UpdateDreamConfigJSONRequestBody UpdateDreamConfigJSONBody

UpdateDreamConfigJSONRequestBody defines body for UpdateDreamConfig for application/json ContentType.

type UpdateDreamConfigResponse

type UpdateDreamConfigResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		Config *struct {
			// ReflectionEnabled Whether background synthesis (reflection) is enabled for the project.
			ReflectionEnabled *bool `json:"reflection_enabled,omitempty"`

			// ReflectionEnabledAt When synthesis was last enabled. Synthesis only considers memories created on or after this time (forward-only).
			ReflectionEnabledAt *time.Time `json:"reflection_enabled_at,omitempty"`

			// ReflectionMode Synthesis execution mode.
			ReflectionMode *UpdateDreamConfig200JSONResponseBodyConfigReflectionMode `json:"reflection_mode,omitempty"`
		} `json:"config,omitempty"`
		Entitlements *struct {
			// Features Per-feature entitlement snapshot, keyed by Dream feature (e.g. `dream_reflection`, `dream_tab`, `dream_preview`).
			Features *map[string]struct {
				// Enabled Effective state: entitled AND not killed AND turned on.
				Enabled *bool `json:"enabled,omitempty"`

				// Entitled Whether the plan is entitled to the feature.
				Entitled *bool `json:"entitled,omitempty"`

				// Killed Whether the feature is globally disabled by a kill switch.
				Killed *bool `json:"killed,omitempty"`
			} `json:"features,omitempty"`

			// Plan Resolved billing tier for the project (e.g. `free`, `pro`, `custom`).
			Plan *string `json:"plan,omitempty"`

			// ReflectionIntervalDays How often synthesis runs for this plan, in days (Pro weekly, Enterprise daily).
			ReflectionIntervalDays *int `json:"reflection_interval_days,omitempty"`
		} `json:"entitlements,omitempty"`
	}
}

func ParseUpdateDreamConfigResponse

func ParseUpdateDreamConfigResponse(rsp *http.Response) (*UpdateDreamConfigResponse, error)

ParseUpdateDreamConfigResponse parses an HTTP response from a UpdateDreamConfigWithResponse call

func (UpdateDreamConfigResponse) ContentType

func (r UpdateDreamConfigResponse) ContentType() string

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

func (UpdateDreamConfigResponse) GetBody

func (r UpdateDreamConfigResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateDreamConfigResponse) GetJSON200

func (r UpdateDreamConfigResponse) GetJSON200() *struct {
	Config *struct {
		// ReflectionEnabled Whether background synthesis (reflection) is enabled for the project.
		ReflectionEnabled *bool `json:"reflection_enabled,omitempty"`

		// ReflectionEnabledAt When synthesis was last enabled. Synthesis only considers memories created on or after this time (forward-only).
		ReflectionEnabledAt *time.Time `json:"reflection_enabled_at,omitempty"`

		// ReflectionMode Synthesis execution mode.
		ReflectionMode *UpdateDreamConfig200JSONResponseBodyConfigReflectionMode `json:"reflection_mode,omitempty"`
	} `json:"config,omitempty"`
	Entitlements *struct {
		// Features Per-feature entitlement snapshot, keyed by Dream feature (e.g. `dream_reflection`, `dream_tab`, `dream_preview`).
		Features *map[string]struct {
			// Enabled Effective state: entitled AND not killed AND turned on.
			Enabled *bool `json:"enabled,omitempty"`

			// Entitled Whether the plan is entitled to the feature.
			Entitled *bool `json:"entitled,omitempty"`

			// Killed Whether the feature is globally disabled by a kill switch.
			Killed *bool `json:"killed,omitempty"`
		} `json:"features,omitempty"`

		// Plan Resolved billing tier for the project (e.g. `free`, `pro`, `custom`).
		Plan *string `json:"plan,omitempty"`

		// ReflectionIntervalDays How often synthesis runs for this plan, in days (Pro weekly, Enterprise daily).
		ReflectionIntervalDays *int `json:"reflection_interval_days,omitempty"`
	} `json:"entitlements,omitempty"`
}

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

func (UpdateDreamConfigResponse) Status

func (r UpdateDreamConfigResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateDreamConfigResponse) StatusCode

func (r UpdateDreamConfigResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateOrganizationMemberRoleJSONBody

type UpdateOrganizationMemberRoleJSONBody struct {
	// Email Email of the member whose role is to be updated.
	Email string `json:"email"`

	// Role New role of the member in the organization
	Role string `json:"role"`
}

UpdateOrganizationMemberRoleJSONBody defines parameters for UpdateOrganizationMemberRole.

type UpdateOrganizationMemberRoleJSONRequestBody

type UpdateOrganizationMemberRoleJSONRequestBody UpdateOrganizationMemberRoleJSONBody

UpdateOrganizationMemberRoleJSONRequestBody defines body for UpdateOrganizationMemberRole for application/json ContentType.

type UpdateOrganizationMemberRoleResponse

type UpdateOrganizationMemberRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Message Example: User role updated successfully
		Message *string `json:"message,omitempty"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *struct {
		// Errors Errors found in the payload.
		Errors *map[string][]string `json:"errors,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Message Example: Organization not found
		Message *string `json:"message,omitempty"`
	}
}

func ParseUpdateOrganizationMemberRoleResponse

func ParseUpdateOrganizationMemberRoleResponse(rsp *http.Response) (*UpdateOrganizationMemberRoleResponse, error)

ParseUpdateOrganizationMemberRoleResponse parses an HTTP response from a UpdateOrganizationMemberRoleWithResponse call

func (UpdateOrganizationMemberRoleResponse) ContentType

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

func (UpdateOrganizationMemberRoleResponse) GetBody

GetBody returns the raw response body bytes

func (UpdateOrganizationMemberRoleResponse) GetJSON200

func (r UpdateOrganizationMemberRoleResponse) GetJSON200() *struct {
	// Message Example: User role updated successfully
	Message *string `json:"message,omitempty"`
}

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

func (UpdateOrganizationMemberRoleResponse) GetJSON400

func (r UpdateOrganizationMemberRoleResponse) GetJSON400() *struct {
	// Errors Errors found in the payload.
	Errors *map[string][]string `json:"errors,omitempty"`
}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateOrganizationMemberRoleResponse) GetJSON404

func (r UpdateOrganizationMemberRoleResponse) GetJSON404() *struct {
	// Message Example: Organization not found
	Message *string `json:"message,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateOrganizationMemberRoleResponse) Status

Status returns HTTPResponse.Status

func (UpdateOrganizationMemberRoleResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateProjectJSONBody

type UpdateProjectJSONBody struct {
	// AgentCustomInstructions Extraction instructions for agent-scoped memories. Falls back to `custom_instructions` when unset. Send an empty string to clear it.
	AgentCustomInstructions *string `json:"agent_custom_instructions,omitempty"`

	// CustomCategories List of custom categories to be used for memory categorization.
	CustomCategories *[]map[string]interface{} `json:"custom_categories,omitempty"`

	// CustomInstructions Custom instructions for memory processing in this project
	CustomInstructions *[]string `json:"custom_instructions,omitempty"`

	// Decay Whether memory decay is enabled for this project.
	Decay *bool `json:"decay,omitempty"`

	// Description Description of the project
	Description *string `json:"description,omitempty"`

	// EnableGraph Whether graph memory is enabled for this project.
	EnableGraph *bool `json:"enable_graph,omitempty"`

	// MemoryDepth Memory extraction depth setting for this project.
	MemoryDepth *string `json:"memory_depth,omitempty"`

	// Multilingual Whether to use the input language for memory storage and retrieval.
	Multilingual *bool `json:"multilingual,omitempty"`

	// Name Name of the project
	Name *string `json:"name,omitempty"`

	// Version API version used by this project.
	Version *string `json:"version,omitempty"`
}

UpdateProjectJSONBody defines parameters for UpdateProject.

type UpdateProjectJSONRequestBody

type UpdateProjectJSONRequestBody UpdateProjectJSONBody

UpdateProjectJSONRequestBody defines body for UpdateProject for application/json ContentType.

type UpdateProjectMemberJSONBody

type UpdateProjectMemberJSONBody struct {
	// Email Email of the member to be updated
	Email string `json:"email"`

	// Role New role of the member in the project
	Role string `json:"role"`
}

UpdateProjectMemberJSONBody defines parameters for UpdateProjectMember.

type UpdateProjectMemberJSONRequestBody

type UpdateProjectMemberJSONRequestBody UpdateProjectMemberJSONBody

UpdateProjectMemberJSONRequestBody defines body for UpdateProjectMember for application/json ContentType.

type UpdateProjectMemberResponse

type UpdateProjectMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Message Example: User role updated successfully.
		Message *string `json:"message,omitempty"`
	}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *struct {
		// Message Example: Unauthorized to modify project members.
		Message *string `json:"message,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Message Example: Organization or project not found
		Message *string `json:"message,omitempty"`
	}
}

func ParseUpdateProjectMemberResponse

func ParseUpdateProjectMemberResponse(rsp *http.Response) (*UpdateProjectMemberResponse, error)

ParseUpdateProjectMemberResponse parses an HTTP response from a UpdateProjectMemberWithResponse call

func (UpdateProjectMemberResponse) ContentType

func (r UpdateProjectMemberResponse) ContentType() string

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

func (UpdateProjectMemberResponse) GetBody

func (r UpdateProjectMemberResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateProjectMemberResponse) GetJSON200

func (r UpdateProjectMemberResponse) GetJSON200() *struct {
	// Message Example: User role updated successfully.
	Message *string `json:"message,omitempty"`
}

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

func (UpdateProjectMemberResponse) GetJSON403

func (r UpdateProjectMemberResponse) GetJSON403() *struct {
	// Message Example: Unauthorized to modify project members.
	Message *string `json:"message,omitempty"`
}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateProjectMemberResponse) GetJSON404

func (r UpdateProjectMemberResponse) GetJSON404() *struct {
	// Message Example: Organization or project not found
	Message *string `json:"message,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateProjectMemberResponse) Status

Status returns HTTPResponse.Status

func (UpdateProjectMemberResponse) StatusCode

func (r UpdateProjectMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateProjectResponse

type UpdateProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Message Example: Project updated successfully
		Message *string `json:"message,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Message Example: Organization or project not found
		Message *string `json:"message,omitempty"`
	}
}

func ParseUpdateProjectResponse

func ParseUpdateProjectResponse(rsp *http.Response) (*UpdateProjectResponse, error)

ParseUpdateProjectResponse parses an HTTP response from a UpdateProjectWithResponse call

func (UpdateProjectResponse) ContentType

func (r UpdateProjectResponse) ContentType() string

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

func (UpdateProjectResponse) GetBody

func (r UpdateProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateProjectResponse) GetJSON200

func (r UpdateProjectResponse) GetJSON200() *struct {
	// Message Example: Project updated successfully
	Message *string `json:"message,omitempty"`
}

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

func (UpdateProjectResponse) GetJSON404

func (r UpdateProjectResponse) GetJSON404() *struct {
	// Message Example: Organization or project not found
	Message *string `json:"message,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateProjectResponse) Status

func (r UpdateProjectResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateProjectResponse) StatusCode

func (r UpdateProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateWebhookJSONBody

type UpdateWebhookJSONBody struct {
	// EventTypes New list of event types to subscribe to
	EventTypes *[]UpdateWebhookJSONBodyEventTypes `json:"event_types,omitempty"`

	// Name New name for the webhook
	Name *string `json:"name,omitempty"`

	// Url New URL endpoint for the webhook
	Url *string `json:"url,omitempty"`
}

UpdateWebhookJSONBody defines parameters for UpdateWebhook.

type UpdateWebhookJSONBodyEventTypes

type UpdateWebhookJSONBodyEventTypes string

UpdateWebhookJSONBodyEventTypes defines parameters for UpdateWebhook.

const (
	UpdateWebhookJSONBodyEventTypesIngestJobCancelled          UpdateWebhookJSONBodyEventTypes = "ingest_job_cancelled"
	UpdateWebhookJSONBodyEventTypesIngestJobCompleted          UpdateWebhookJSONBodyEventTypes = "ingest_job_completed"
	UpdateWebhookJSONBodyEventTypesIngestJobFailed             UpdateWebhookJSONBodyEventTypes = "ingest_job_failed"
	UpdateWebhookJSONBodyEventTypesIngestJobPartiallyCompleted UpdateWebhookJSONBodyEventTypes = "ingest_job_partially_completed"
	UpdateWebhookJSONBodyEventTypesMemoryAdd                   UpdateWebhookJSONBodyEventTypes = "memory_add"
	UpdateWebhookJSONBodyEventTypesMemoryCategorize            UpdateWebhookJSONBodyEventTypes = "memory_categorize"
	UpdateWebhookJSONBodyEventTypesMemoryDelete                UpdateWebhookJSONBodyEventTypes = "memory_delete"
	UpdateWebhookJSONBodyEventTypesMemoryUpdate                UpdateWebhookJSONBodyEventTypes = "memory_update"
)

Defines values for UpdateWebhookJSONBodyEventTypes.

func (UpdateWebhookJSONBodyEventTypes) Valid

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

type UpdateWebhookJSONRequestBody

type UpdateWebhookJSONRequestBody UpdateWebhookJSONBody

UpdateWebhookJSONRequestBody defines body for UpdateWebhook for application/json ContentType.

type UpdateWebhookResponse

type UpdateWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *struct {
		// Message Example: Webhook updated successfully
		Message *string `json:"message,omitempty"`
	}
	// JSON400 the response for an HTTP 400 `application/json` response
	JSON400 *map[string]interface{}
	// JSON403 the response for an HTTP 403 `application/json` response
	JSON403 *struct {
		// Error Example: You don't have access to this webhook
		Error *string `json:"error,omitempty"`
	}
	// JSON404 the response for an HTTP 404 `application/json` response
	JSON404 *struct {
		// Error Example: Webhook not found
		Error *string `json:"error,omitempty"`
	}
}

func ParseUpdateWebhookResponse

func ParseUpdateWebhookResponse(rsp *http.Response) (*UpdateWebhookResponse, error)

ParseUpdateWebhookResponse parses an HTTP response from a UpdateWebhookWithResponse call

func (UpdateWebhookResponse) ContentType

func (r UpdateWebhookResponse) ContentType() string

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

func (UpdateWebhookResponse) GetBody

func (r UpdateWebhookResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UpdateWebhookResponse) GetJSON200

func (r UpdateWebhookResponse) GetJSON200() *struct {
	// Message Example: Webhook updated successfully
	Message *string `json:"message,omitempty"`
}

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

func (UpdateWebhookResponse) GetJSON400

func (r UpdateWebhookResponse) GetJSON400() *map[string]interface{}

GetJSON400 returns the response for an HTTP 400 `application/json` response

func (UpdateWebhookResponse) GetJSON403

func (r UpdateWebhookResponse) GetJSON403() *struct {
	// Error Example: You don't have access to this webhook
	Error *string `json:"error,omitempty"`
}

GetJSON403 returns the response for an HTTP 403 `application/json` response

func (UpdateWebhookResponse) GetJSON404

func (r UpdateWebhookResponse) GetJSON404() *struct {
	// Error Example: Webhook not found
	Error *string `json:"error,omitempty"`
}

GetJSON404 returns the response for an HTTP 404 `application/json` response

func (UpdateWebhookResponse) Status

func (r UpdateWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateWebhookResponse) StatusCode

func (r UpdateWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserResponse

type UserResponse struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// GraphEntities Graph entities linked to this record, if any.
	GraphEntities interface{} `json:"graph_entities,omitempty"`

	// Id Internal numeric identifier.
	Id        *int                    `json:"id,omitempty"`
	IsDeleted *bool                   `json:"is_deleted,omitempty"`
	Metadata  *map[string]interface{} `json:"metadata,omitempty"`

	// Project Internal numeric identifier of the project this record belongs to.
	Project   *int       `json:"project,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	UserId    *string    `json:"user_id,omitempty"`
}

UserResponse Response returned after creating a User.

type UsersCreateJSONRequestBody

type UsersCreateJSONRequestBody = CreateUser

UsersCreateJSONRequestBody defines body for UsersCreate for application/json ContentType.

type UsersCreateResponse

type UsersCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON201 the response for an HTTP 201 `application/json` response
	JSON201 *UserResponse
}

func ParseUsersCreateResponse

func ParseUsersCreateResponse(rsp *http.Response) (*UsersCreateResponse, error)

ParseUsersCreateResponse parses an HTTP response from a UsersCreateWithResponse call

func (UsersCreateResponse) ContentType

func (r UsersCreateResponse) ContentType() string

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

func (UsersCreateResponse) GetBody

func (r UsersCreateResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UsersCreateResponse) GetJSON201

func (r UsersCreateResponse) GetJSON201() *UserResponse

GetJSON201 returns the response for an HTTP 201 `application/json` response

func (UsersCreateResponse) Status

func (r UsersCreateResponse) Status() string

Status returns HTTPResponse.Status

func (UsersCreateResponse) StatusCode

func (r UsersCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL