Documentation
¶
Overview ¶
Package admin provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.1 DO NOT EDIT.
Index ¶
- func GetSpec() (swagger *openapi3.T, err error)
- func GetSpecJSON() ([]byte, error)
- func GetSwagger() (*openapi3.T, error)deprecated
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- func RegisterHandlers(router gin.IRouter, si ServerInterface)
- func RegisterHandlersWithOptions(router gin.IRouter, si ServerInterface, options GinServerOptions)
- type AccessLevel
- type AdminActionRequest
- type AdminArchivedTotalStats
- type AdminAttachment
- type AdminCancelMemoryKindMigration204Response
- type AdminCancelMemoryKindMigration404JSONResponse
- type AdminCancelMemoryKindMigrationParams
- type AdminCancelMemoryKindMigrationRequestObject
- type AdminCancelMemoryKindMigrationResponseObject
- type AdminCancelMemoryKindMigrationdefaultJSONResponse
- type AdminCheckpoint
- type AdminCheckpointPutRequest
- type AdminChildConversationSummary
- type AdminConversation
- type AdminConversationGroupStats
- type AdminConversationSummary
- type AdminCreateMemoryKindMigration200JSONResponse
- type AdminCreateMemoryKindMigration409JSONResponse
- type AdminCreateMemoryKindMigrationJSONRequestBody
- type AdminCreateMemoryKindMigrationParams
- type AdminCreateMemoryKindMigrationRequestObject
- type AdminCreateMemoryKindMigrationResponseObject
- type AdminCreateMemoryKindMigrationdefaultJSONResponse
- type AdminCreateMemoryKindVersion200JSONResponse
- type AdminCreateMemoryKindVersion409JSONResponse
- type AdminCreateMemoryKindVersionJSONRequestBody
- type AdminCreateMemoryKindVersionParams
- type AdminCreateMemoryKindVersionRequestObject
- type AdminCreateMemoryKindVersionResponseObject
- type AdminCreateMemoryKindVersiondefaultJSONResponse
- type AdminDeleteAttachment204Response
- type AdminDeleteAttachment404JSONResponse
- type AdminDeleteAttachmentJSONRequestBody
- type AdminDeleteAttachmentRequestObject
- type AdminDeleteAttachmentResponseObject
- type AdminDeleteAttachmentdefaultJSONResponse
- type AdminDeleteMemory204Response
- type AdminDeleteMemoryRequestObject
- type AdminDeleteMemoryResponseObject
- type AdminDeleteMemorydefaultJSONResponse
- type AdminDownloadUrlResponse
- type AdminEntry
- type AdminEvict200TexteventStreamResponse
- type AdminEvict204Response
- type AdminEvict400JSONResponse
- type AdminEvict501JSONResponse
- type AdminEvictJSONRequestBody
- type AdminEvictParams
- type AdminEvictRequestObject
- type AdminEvictResponseObject
- type AdminEvictdefaultJSONResponse
- type AdminGetAttachment200JSONResponse
- type AdminGetAttachment404JSONResponse
- type AdminGetAttachmentContent200ApplicationoctetStreamResponse
- type AdminGetAttachmentContent200ResponseHeaders
- type AdminGetAttachmentContent302Response
- type AdminGetAttachmentContent302ResponseHeaders
- type AdminGetAttachmentContent404JSONResponse
- type AdminGetAttachmentContentParams
- type AdminGetAttachmentContentParamsDisposition
- type AdminGetAttachmentContentRequestObject
- type AdminGetAttachmentContentResponseObject
- type AdminGetAttachmentContentdefaultJSONResponse
- type AdminGetAttachmentDownloadUrl200JSONResponse
- type AdminGetAttachmentDownloadUrl404JSONResponse
- type AdminGetAttachmentDownloadUrlParams
- type AdminGetAttachmentDownloadUrlParamsDisposition
- type AdminGetAttachmentDownloadUrlRequestObject
- type AdminGetAttachmentDownloadUrlResponseObject
- type AdminGetAttachmentDownloadUrldefaultJSONResponse
- type AdminGetAttachmentParams
- type AdminGetAttachmentRequestObject
- type AdminGetAttachmentResponseObject
- type AdminGetAttachmentdefaultJSONResponse
- type AdminGetCheckpoint200JSONResponse
- type AdminGetCheckpoint401Response
- type AdminGetCheckpoint403Response
- type AdminGetCheckpoint404JSONResponse
- type AdminGetCheckpointRequestObject
- type AdminGetCheckpointResponseObject
- type AdminGetConversation200JSONResponse
- type AdminGetConversation404JSONResponse
- type AdminGetConversationParams
- type AdminGetConversationRequestObject
- type AdminGetConversationResponseObject
- type AdminGetConversationdefaultJSONResponse
- type AdminGetEntries200JSONResponse
- type AdminGetEntries400JSONResponse
- type AdminGetEntries404JSONResponse
- type AdminGetEntriesParams
- type AdminGetEntriesParamsForks
- type AdminGetEntriesRequestObject
- type AdminGetEntriesResponseObject
- type AdminGetEntriesdefaultJSONResponse
- type AdminGetEntry200JSONResponse
- type AdminGetEntry404JSONResponse
- type AdminGetEntryParams
- type AdminGetEntryRequestObject
- type AdminGetEntryResponseObject
- type AdminGetEntrydefaultJSONResponse
- type AdminGetMemberships200JSONResponse
- type AdminGetMemberships404JSONResponse
- type AdminGetMembershipsParams
- type AdminGetMembershipsRequestObject
- type AdminGetMembershipsResponseObject
- type AdminGetMembershipsdefaultJSONResponse
- type AdminGetMemory200JSONResponse
- type AdminGetMemory404JSONResponse
- type AdminGetMemoryIndexStatus200JSONResponse
- type AdminGetMemoryIndexStatusRequestObject
- type AdminGetMemoryIndexStatusResponseObject
- type AdminGetMemoryIndexStatusdefaultJSONResponse
- type AdminGetMemoryKindMigration200JSONResponse
- type AdminGetMemoryKindMigrationParams
- type AdminGetMemoryKindMigrationRequestObject
- type AdminGetMemoryKindMigrationResponseObject
- type AdminGetMemoryKindMigrationdefaultJSONResponse
- type AdminGetMemoryKindVersion200JSONResponse
- type AdminGetMemoryKindVersionParams
- type AdminGetMemoryKindVersionRequestObject
- type AdminGetMemoryKindVersionResponseObject
- type AdminGetMemoryKindVersiondefaultJSONResponse
- type AdminGetMemoryParams
- type AdminGetMemoryRequestObject
- type AdminGetMemoryResponseObject
- type AdminGetMemoryUsage200JSONResponse
- type AdminGetMemoryUsage404JSONResponse
- type AdminGetMemoryUsageParams
- type AdminGetMemoryUsageRequestObject
- type AdminGetMemoryUsageResponseObject
- type AdminGetMemoryUsagedefaultJSONResponse
- type AdminGetMemorydefaultJSONResponse
- type AdminListAttachments200JSONResponse
- type AdminListAttachmentsParams
- type AdminListAttachmentsParamsStatus
- type AdminListAttachmentsRequestObject
- type AdminListAttachmentsResponseObject
- type AdminListAttachmentsdefaultJSONResponse
- type AdminListChildConversations200JSONResponse
- type AdminListChildConversationsParams
- type AdminListChildConversationsRequestObject
- type AdminListChildConversationsResponseObject
- type AdminListChildConversationsdefaultJSONResponse
- type AdminListConversations200JSONResponse
- type AdminListConversationsParams
- type AdminListConversationsParamsAncestry
- type AdminListConversationsParamsArchived
- type AdminListConversationsParamsDirection
- type AdminListConversationsParamsMode
- type AdminListConversationsParamsSort
- type AdminListConversationsRequestObject
- type AdminListConversationsResponseObject
- type AdminListConversationsdefaultJSONResponse
- type AdminListForks200JSONResponse
- type AdminListForks404JSONResponse
- type AdminListForksParams
- type AdminListForksRequestObject
- type AdminListForksResponseObject
- type AdminListForksdefaultJSONResponse
- type AdminListMemories200JSONResponse
- type AdminListMemoriesParams
- type AdminListMemoriesParamsArchived
- type AdminListMemoriesRequestObject
- type AdminListMemoriesResponse
- type AdminListMemoriesResponseObject
- type AdminListMemoriesdefaultJSONResponse
- type AdminListMemoryKindMigrations200JSONResponse
- type AdminListMemoryKindMigrationsParams
- type AdminListMemoryKindMigrationsRequestObject
- type AdminListMemoryKindMigrationsResponseObject
- type AdminListMemoryKindMigrationsdefaultJSONResponse
- type AdminListMemoryKindVersions200JSONResponse
- type AdminListMemoryKindVersionsParams
- type AdminListMemoryKindVersionsRequestObject
- type AdminListMemoryKindVersionsResponseObject
- type AdminListMemoryKindVersionsdefaultJSONResponse
- type AdminListMemoryNamespaces200JSONResponse
- type AdminListMemoryNamespacesParams
- type AdminListMemoryNamespacesParamsArchived
- type AdminListMemoryNamespacesRequestObject
- type AdminListMemoryNamespacesResponse
- type AdminListMemoryNamespacesResponseObject
- type AdminListMemoryNamespacesdefaultJSONResponse
- type AdminListTopMemoryUsage200JSONResponse
- type AdminListTopMemoryUsageParams
- type AdminListTopMemoryUsageParamsSort
- type AdminListTopMemoryUsageRequestObject
- type AdminListTopMemoryUsageResponseObject
- type AdminListTopMemoryUsagedefaultJSONResponse
- type AdminMemoryItem
- type AdminMemoryNamespace
- type AdminMemorySearchQuery
- type AdminOutboxStats
- type AdminPutCheckpoint200JSONResponse
- type AdminPutCheckpoint400JSONResponse
- type AdminPutCheckpoint401Response
- type AdminPutCheckpoint403Response
- type AdminPutCheckpoint409JSONResponse
- type AdminPutCheckpointJSONRequestBody
- type AdminPutCheckpointRequestObject
- type AdminPutCheckpointResponseObject
- type AdminPutMemory200JSONResponse
- type AdminPutMemory201JSONResponse
- type AdminPutMemory400JSONResponse
- type AdminPutMemory404JSONResponse
- type AdminPutMemory409JSONResponse
- type AdminPutMemoryJSONRequestBody
- type AdminPutMemoryParams
- type AdminPutMemoryRequestObject
- type AdminPutMemoryResponseObject
- type AdminPutMemorydefaultJSONResponse
- type AdminSearchConversations200JSONResponse
- type AdminSearchConversationsJSONRequestBody
- type AdminSearchConversationsParams
- type AdminSearchConversationsRequestObject
- type AdminSearchConversationsResponseObject
- type AdminSearchConversationsdefaultJSONResponse
- type AdminSearchEntriesRequest
- type AdminSearchMemories200JSONResponse
- type AdminSearchMemoriesJSONRequestBody
- type AdminSearchMemoriesRequest
- type AdminSearchMemoriesRequestArchived
- type AdminSearchMemoriesRequestObject
- type AdminSearchMemoriesResponse
- type AdminSearchMemoriesResponseObject
- type AdminSearchMemoriesdefaultJSONResponse
- type AdminStatsSummaryResponse
- type AdminSubscribeEvents200TexteventStreamResponse
- type AdminSubscribeEvents400Response
- type AdminSubscribeEvents401Response
- type AdminSubscribeEvents403Response
- type AdminSubscribeEvents501Response
- type AdminSubscribeEventsParams
- type AdminSubscribeEventsParamsDetail
- type AdminSubscribeEventsParamsInitialState
- type AdminSubscribeEventsRequestObject
- type AdminSubscribeEventsResponseObject
- type AdminTotalStats
- type AdminTriggerMemoryIndex200JSONResponse
- type AdminTriggerMemoryIndexRequestObject
- type AdminTriggerMemoryIndexResponseObject
- type AdminTriggerMemoryIndexdefaultJSONResponse
- type AdminUpdateConversation200JSONResponse
- type AdminUpdateConversation404JSONResponse
- type AdminUpdateConversationJSONRequestBody
- type AdminUpdateConversationRequest
- type AdminUpdateConversationRequestObject
- type AdminUpdateConversationResponseObject
- type AdminUpdateConversationdefaultJSONResponse
- type AdminUpdateMemory204Response
- type AdminUpdateMemory404JSONResponse
- type AdminUpdateMemoryJSONRequestBody
- type AdminUpdateMemoryParams
- type AdminUpdateMemoryRequestObject
- type AdminUpdateMemoryResponseObject
- type AdminUpdateMemorydefaultJSONResponse
- type BadRequest
- type BadRequestJSONResponse
- type Channel
- type ConversationEvictionFilter
- type ConversationEvictionFilterAgeBasis
- type ConversationEvictionFilterArchived
- type ConversationForkNavigation
- type ConversationForkOption
- type ConversationForkPoint
- type ConversationForkSummary
- type ConversationMembership
- type CreateMemoryKindMigrationRequest
- type CreateMemoryKindVersionRequest
- type Error
- type ErrorJSONResponse
- type ErrorResponse
- type EvictErrorEvent
- type EvictProgressEvent
- type EvictRequest
- type EvictRequestResourceTypes
- type GetCacheHitRate200JSONResponse
- type GetCacheHitRate501JSONResponse
- type GetCacheHitRate503JSONResponse
- type GetCacheHitRateParams
- type GetCacheHitRateRequestObject
- type GetCacheHitRateResponseObject
- type GetCacheHitRatedefaultJSONResponse
- type GetDbPoolUtilization200JSONResponse
- type GetDbPoolUtilization501JSONResponse
- type GetDbPoolUtilization503JSONResponse
- type GetDbPoolUtilizationParams
- type GetDbPoolUtilizationRequestObject
- type GetDbPoolUtilizationResponseObject
- type GetDbPoolUtilizationdefaultJSONResponse
- type GetErrorRate200JSONResponse
- type GetErrorRate501JSONResponse
- type GetErrorRate503JSONResponse
- type GetErrorRateParams
- type GetErrorRateRequestObject
- type GetErrorRateResponseObject
- type GetErrorRatedefaultJSONResponse
- type GetHealth200JSONResponse
- type GetHealthRequestObject
- type GetHealthResponseObject
- type GetHealthdefaultJSONResponse
- type GetLatencyP95Params
- type GetLatencyP95RequestObject
- type GetLatencyP95ResponseObject
- type GetLatencyP95defaultJSONResponse
- type GetLatencyP95200JSONResponse
- type GetLatencyP95501JSONResponse
- type GetLatencyP95503JSONResponse
- type GetRequestRate200JSONResponse
- type GetRequestRate501JSONResponse
- type GetRequestRate503JSONResponse
- type GetRequestRateParams
- type GetRequestRateRequestObject
- type GetRequestRateResponseObject
- type GetRequestRatedefaultJSONResponse
- type GetStatsSummary200JSONResponse
- type GetStatsSummary501JSONResponse
- type GetStatsSummaryRequestObject
- type GetStatsSummaryResponseObject
- type GetStatsSummarydefaultJSONResponse
- type GetStoreLatencyP95Params
- type GetStoreLatencyP95RequestObject
- type GetStoreLatencyP95ResponseObject
- type GetStoreLatencyP95defaultJSONResponse
- type GetStoreLatencyP95200JSONResponse
- type GetStoreLatencyP95501JSONResponse
- type GetStoreLatencyP95503JSONResponse
- type GetStoreThroughput200JSONResponse
- type GetStoreThroughput501JSONResponse
- type GetStoreThroughput503JSONResponse
- type GetStoreThroughputParams
- type GetStoreThroughputRequestObject
- type GetStoreThroughputResponseObject
- type GetStoreThroughputdefaultJSONResponse
- type GinServerOptions
- type LabeledTimeSeries
- type ListMemoryKindMigrationsResponse
- type ListMemoryKindVersionsResponse
- type ListTopMemoryUsageResponse
- type MemoryAttributeSort
- type MemoryAttributeSortDirection
- type MemoryIndexRunStats
- type MemoryIndexStatusResponse
- type MemoryIndexTriggerResponse
- type MemoryKindMigration
- type MemoryKindMigrationState
- type MemoryKindVersion
- type MemoryUsageResponse
- type MemoryWriteResult
- type MiddlewareFunc
- type MultiSeriesResponse
- type NotFound
- type NotFoundJSONResponse
- type PutMemoryRequest
- type SearchResult
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) AdminCancelMemoryKindMigration(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminCreateMemoryKindMigration(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminCreateMemoryKindVersion(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminDeleteAttachment(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminDeleteMemory(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminEvict(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminGetAttachment(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminGetAttachmentContent(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminGetAttachmentDownloadUrl(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminGetCheckpoint(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminGetConversation(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminGetEntries(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminGetEntry(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminGetMemberships(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminGetMemory(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminGetMemoryIndexStatus(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminGetMemoryKindMigration(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminGetMemoryKindVersion(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminGetMemoryUsage(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminListAttachments(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminListChildConversations(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminListConversations(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminListForks(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminListMemories(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminListMemoryKindMigrations(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminListMemoryKindVersions(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminListMemoryNamespaces(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminListTopMemoryUsage(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminPutCheckpoint(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminPutMemory(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminSearchConversations(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminSearchMemories(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminSubscribeEvents(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminTriggerMemoryIndex(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminUpdateConversation(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminUpdateMemory(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetCacheHitRate(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetDbPoolUtilization(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetErrorRate(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetHealth(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetLatencyP95(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetRequestRate(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetStatsSummary(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetStoreLatencyP95(c *gin.Context)
- func (siw *ServerInterfaceWrapper) GetStoreThroughput(c *gin.Context)
- type StatsEnd
- type StatsStart
- type StatsStep
- type StrictGinServerOptions
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type TimeSeriesDataPoint
- type TimeSeriesResponse
- type TopMemoryUsageItem
- type UpdateMemoryRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSpec ¶
GetSpec returns the OpenAPI specification corresponding to the generated code in this file. External references in the spec are resolved through PathToRawSpec; externally-referenced files must be embedded in their corresponding Go packages (via the import-mapping feature). URL-based external refs are not supported.
func GetSpecJSON ¶
GetSpecJSON returns the raw JSON bytes of the embedded OpenAPI specification: decompressed but not unmarshaled. External references are not resolved here; the bytes are the spec exactly as embedded by codegen. The result is cached at package init time, so repeated calls are cheap.
func GetSwagger
deprecated
func PathToRawSpec ¶
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
func RegisterHandlers ¶
func RegisterHandlers(router gin.IRouter, si ServerInterface)
RegisterHandlers creates http.Handler with routing matching OpenAPI spec.
func RegisterHandlersWithOptions ¶
func RegisterHandlersWithOptions(router gin.IRouter, si ServerInterface, options GinServerOptions)
RegisterHandlersWithOptions creates http.Handler with additional options
Types ¶
type AccessLevel ¶
type AccessLevel string
AccessLevel Access level of a user for a conversation.
const ( Manager AccessLevel = "manager" Owner AccessLevel = "owner" Reader AccessLevel = "reader" Writer AccessLevel = "writer" )
Defines values for AccessLevel.
func (AccessLevel) Valid ¶
func (e AccessLevel) Valid() bool
Valid indicates whether the value is a known member of the AccessLevel enum.
type AdminActionRequest ¶
type AdminActionRequest struct {
// Justification Reason for the admin action (for audit log).
Justification *string `json:"justification,omitempty"`
}
AdminActionRequest defines model for AdminActionRequest.
type AdminArchivedTotalStats ¶
type AdminArchivedTotalStats struct {
Archived int64 `json:"archived"`
// OldestArchivedAt Oldest archive timestamp for that resource type.
OldestArchivedAt *time.Time `json:"oldestArchivedAt,omitempty"`
Total int64 `json:"total"`
}
AdminArchivedTotalStats defines model for AdminArchivedTotalStats.
type AdminAttachment ¶
type AdminAttachment struct {
// Archived Synthetic archive flag derived from the internal archived timestamp.
Archived *bool `json:"archived,omitempty"`
ContentType *string `json:"contentType,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
EntryId *openapi_types.UUID `json:"entryId,omitempty"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
Filename *string `json:"filename,omitempty"`
Id *openapi_types.UUID `json:"id,omitempty"`
// RefCount Number of attachment records sharing the same storage blob.
RefCount *int `json:"refCount,omitempty"`
Sha256 *string `json:"sha256,omitempty"`
Size *int64 `json:"size,omitempty"`
StorageKey *string `json:"storageKey,omitempty"`
UserId *string `json:"userId,omitempty"`
}
AdminAttachment defines model for AdminAttachment.
type AdminCancelMemoryKindMigration204Response ¶ added in v0.2.0
type AdminCancelMemoryKindMigration204Response struct {
}
func (AdminCancelMemoryKindMigration204Response) VisitAdminCancelMemoryKindMigrationResponse ¶ added in v0.2.0
func (response AdminCancelMemoryKindMigration204Response) VisitAdminCancelMemoryKindMigrationResponse(w http.ResponseWriter) error
type AdminCancelMemoryKindMigration404JSONResponse ¶ added in v0.2.0
type AdminCancelMemoryKindMigration404JSONResponse struct{ NotFoundJSONResponse }
func (AdminCancelMemoryKindMigration404JSONResponse) VisitAdminCancelMemoryKindMigrationResponse ¶ added in v0.2.0
func (response AdminCancelMemoryKindMigration404JSONResponse) VisitAdminCancelMemoryKindMigrationResponse(w http.ResponseWriter) error
type AdminCancelMemoryKindMigrationParams ¶ added in v0.2.0
type AdminCancelMemoryKindMigrationParams struct {
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminCancelMemoryKindMigrationParams defines parameters for AdminCancelMemoryKindMigration.
type AdminCancelMemoryKindMigrationRequestObject ¶ added in v0.2.0
type AdminCancelMemoryKindMigrationRequestObject struct {
Id openapi_types.UUID `json:"id"`
Params AdminCancelMemoryKindMigrationParams
}
type AdminCancelMemoryKindMigrationResponseObject ¶ added in v0.2.0
type AdminCancelMemoryKindMigrationResponseObject interface {
VisitAdminCancelMemoryKindMigrationResponse(w http.ResponseWriter) error
}
type AdminCancelMemoryKindMigrationdefaultJSONResponse ¶ added in v0.2.0
type AdminCancelMemoryKindMigrationdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminCancelMemoryKindMigrationdefaultJSONResponse) VisitAdminCancelMemoryKindMigrationResponse ¶ added in v0.2.0
func (response AdminCancelMemoryKindMigrationdefaultJSONResponse) VisitAdminCancelMemoryKindMigrationResponse(w http.ResponseWriter) error
type AdminCheckpoint ¶
type AdminCheckpoint struct {
ClientId string `json:"clientId"`
ContentType string `json:"contentType"`
// Revision Opaque revision used for compare-and-swap updates through the gRPC checkpoint service.
Revision string `json:"revision"`
UpdatedAt time.Time `json:"updatedAt"`
// Value Processor-defined JSON payload for this client checkpoint. Stored encrypted at rest.
Value interface{} `json:"value"`
}
AdminCheckpoint defines model for AdminCheckpoint.
type AdminCheckpointPutRequest ¶
type AdminCheckpointPutRequest struct {
ContentType string `json:"contentType"`
// Value Processor-defined JSON payload to persist for this client checkpoint. Stored encrypted at rest.
Value interface{} `json:"value"`
}
AdminCheckpointPutRequest defines model for AdminCheckpointPutRequest.
type AdminChildConversationSummary ¶
type AdminChildConversationSummary struct {
AccessLevel *AccessLevel `json:"accessLevel,omitempty"`
AgentId *string `json:"agentId,omitempty"`
// Archived Synthetic archive flag derived from the internal archived timestamp.
Archived *bool `json:"archived,omitempty"`
ClientId *string `json:"clientId,omitempty"`
// ConversationGroupId Internal conversation group used for fork-tree routing and analytics joins.
ConversationGroupId *openapi_types.UUID `json:"conversationGroupId,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Id Unique identifier for the child conversation.
Id *string `json:"id,omitempty"`
LastMessagePreview *string `json:"lastMessagePreview,omitempty"`
OwnerUserId *string `json:"ownerUserId,omitempty"`
// StartedByConversationId Parent conversation that started this logical child conversation tree.
StartedByConversationId *string `json:"startedByConversationId,omitempty"`
// StartedByEntryId Parent entry that started this logical child conversation tree.
StartedByEntryId *openapi_types.UUID `json:"startedByEntryId,omitempty"`
Title *string `json:"title,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
AdminChildConversationSummary defines model for AdminChildConversationSummary.
type AdminConversation ¶
type AdminConversation struct {
AccessLevel *AccessLevel `json:"accessLevel,omitempty"`
AgentId *string `json:"agentId,omitempty"`
// Archived Synthetic archive flag derived from the internal archived timestamp.
Archived *bool `json:"archived,omitempty"`
ClientId *string `json:"clientId,omitempty"`
// ConversationGroupId Internal conversation group used for fork-tree routing and analytics joins.
ConversationGroupId *openapi_types.UUID `json:"conversationGroupId,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// ForkedAtConversationId Conversation ID from which this conversation was forked.
ForkedAtConversationId *string `json:"forkedAtConversationId,omitempty"`
// ForkedAtEntryId First parent entry excluded by this fork. Valid fork anchors are history entries and journal entries visible to the same authenticated client; context entries cannot be fork anchors. Null for root conversations and blank-slate forks that inherit no parent entries.
ForkedAtEntryId *openapi_types.UUID `json:"forkedAtEntryId,omitempty"`
// HasResponseInProgress True while the service is recording a resumable response for this conversation.
HasResponseInProgress *bool `json:"hasResponseInProgress,omitempty"`
// Id Unique identifier for the conversation.
Id *string `json:"id,omitempty"`
LastMessagePreview *string `json:"lastMessagePreview,omitempty"`
// Metadata Arbitrary key-value metadata stored on the conversation.
Metadata *map[string]interface{} `json:"metadata,omitempty"`
OwnerUserId *string `json:"ownerUserId,omitempty"`
// StartedByConversationId Parent conversation that started this logical conversation tree. Fork branches inherit this value.
StartedByConversationId *string `json:"startedByConversationId,omitempty"`
// StartedByEntryId Parent entry that started this logical conversation tree. Fork branches inherit this value.
StartedByEntryId *openapi_types.UUID `json:"startedByEntryId,omitempty"`
Title *string `json:"title,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
AdminConversation defines model for AdminConversation.
type AdminConversationGroupStats ¶
type AdminConversationGroupStats struct {
Archived int64 `json:"archived"`
// OldestArchivedAt Oldest `updatedAt` timestamp among archived conversations.
OldestArchivedAt *time.Time `json:"oldestArchivedAt,omitempty"`
Total int64 `json:"total"`
}
AdminConversationGroupStats defines model for AdminConversationGroupStats.
type AdminConversationSummary ¶
type AdminConversationSummary struct {
AccessLevel *AccessLevel `json:"accessLevel,omitempty"`
AgentId *string `json:"agentId,omitempty"`
// Archived Synthetic archive flag derived from the internal archived timestamp.
Archived *bool `json:"archived,omitempty"`
ClientId *string `json:"clientId,omitempty"`
// ConversationGroupId Internal conversation group used for fork-tree routing and analytics joins.
ConversationGroupId *openapi_types.UUID `json:"conversationGroupId,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Id Unique identifier for the conversation.
Id *string `json:"id,omitempty"`
LastMessagePreview *string `json:"lastMessagePreview,omitempty"`
// Metadata Arbitrary key-value metadata stored on the conversation.
Metadata *map[string]interface{} `json:"metadata,omitempty"`
OwnerUserId *string `json:"ownerUserId,omitempty"`
// StartedByConversationId Parent conversation that started this logical conversation tree. Fork branches inherit this value.
StartedByConversationId *string `json:"startedByConversationId,omitempty"`
// StartedByEntryId Parent entry that started this logical conversation tree. Fork branches inherit this value.
StartedByEntryId *openapi_types.UUID `json:"startedByEntryId,omitempty"`
Title *string `json:"title,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
AdminConversationSummary defines model for AdminConversationSummary.
type AdminCreateMemoryKindMigration200JSONResponse ¶ added in v0.2.0
type AdminCreateMemoryKindMigration200JSONResponse MemoryKindMigration
func (AdminCreateMemoryKindMigration200JSONResponse) VisitAdminCreateMemoryKindMigrationResponse ¶ added in v0.2.0
func (response AdminCreateMemoryKindMigration200JSONResponse) VisitAdminCreateMemoryKindMigrationResponse(w http.ResponseWriter) error
type AdminCreateMemoryKindMigration409JSONResponse ¶ added in v0.2.0
type AdminCreateMemoryKindMigration409JSONResponse struct{ ErrorJSONResponse }
func (AdminCreateMemoryKindMigration409JSONResponse) VisitAdminCreateMemoryKindMigrationResponse ¶ added in v0.2.0
func (response AdminCreateMemoryKindMigration409JSONResponse) VisitAdminCreateMemoryKindMigrationResponse(w http.ResponseWriter) error
type AdminCreateMemoryKindMigrationJSONRequestBody ¶ added in v0.2.0
type AdminCreateMemoryKindMigrationJSONRequestBody = CreateMemoryKindMigrationRequest
AdminCreateMemoryKindMigrationJSONRequestBody defines body for AdminCreateMemoryKindMigration for application/json ContentType.
type AdminCreateMemoryKindMigrationParams ¶ added in v0.2.0
type AdminCreateMemoryKindMigrationParams struct {
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminCreateMemoryKindMigrationParams defines parameters for AdminCreateMemoryKindMigration.
type AdminCreateMemoryKindMigrationRequestObject ¶ added in v0.2.0
type AdminCreateMemoryKindMigrationRequestObject struct {
Params AdminCreateMemoryKindMigrationParams
Body *AdminCreateMemoryKindMigrationJSONRequestBody
}
type AdminCreateMemoryKindMigrationResponseObject ¶ added in v0.2.0
type AdminCreateMemoryKindMigrationResponseObject interface {
VisitAdminCreateMemoryKindMigrationResponse(w http.ResponseWriter) error
}
type AdminCreateMemoryKindMigrationdefaultJSONResponse ¶ added in v0.2.0
type AdminCreateMemoryKindMigrationdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminCreateMemoryKindMigrationdefaultJSONResponse) VisitAdminCreateMemoryKindMigrationResponse ¶ added in v0.2.0
func (response AdminCreateMemoryKindMigrationdefaultJSONResponse) VisitAdminCreateMemoryKindMigrationResponse(w http.ResponseWriter) error
type AdminCreateMemoryKindVersion200JSONResponse ¶ added in v0.2.0
type AdminCreateMemoryKindVersion200JSONResponse MemoryKindVersion
func (AdminCreateMemoryKindVersion200JSONResponse) VisitAdminCreateMemoryKindVersionResponse ¶ added in v0.2.0
func (response AdminCreateMemoryKindVersion200JSONResponse) VisitAdminCreateMemoryKindVersionResponse(w http.ResponseWriter) error
type AdminCreateMemoryKindVersion409JSONResponse ¶ added in v0.2.0
type AdminCreateMemoryKindVersion409JSONResponse struct{ ErrorJSONResponse }
func (AdminCreateMemoryKindVersion409JSONResponse) VisitAdminCreateMemoryKindVersionResponse ¶ added in v0.2.0
func (response AdminCreateMemoryKindVersion409JSONResponse) VisitAdminCreateMemoryKindVersionResponse(w http.ResponseWriter) error
type AdminCreateMemoryKindVersionJSONRequestBody ¶ added in v0.2.0
type AdminCreateMemoryKindVersionJSONRequestBody = CreateMemoryKindVersionRequest
AdminCreateMemoryKindVersionJSONRequestBody defines body for AdminCreateMemoryKindVersion for application/json ContentType.
type AdminCreateMemoryKindVersionParams ¶ added in v0.2.0
type AdminCreateMemoryKindVersionParams struct {
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminCreateMemoryKindVersionParams defines parameters for AdminCreateMemoryKindVersion.
type AdminCreateMemoryKindVersionRequestObject ¶ added in v0.2.0
type AdminCreateMemoryKindVersionRequestObject struct {
Params AdminCreateMemoryKindVersionParams
Body *AdminCreateMemoryKindVersionJSONRequestBody
}
type AdminCreateMemoryKindVersionResponseObject ¶ added in v0.2.0
type AdminCreateMemoryKindVersionResponseObject interface {
VisitAdminCreateMemoryKindVersionResponse(w http.ResponseWriter) error
}
type AdminCreateMemoryKindVersiondefaultJSONResponse ¶ added in v0.2.0
type AdminCreateMemoryKindVersiondefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminCreateMemoryKindVersiondefaultJSONResponse) VisitAdminCreateMemoryKindVersionResponse ¶ added in v0.2.0
func (response AdminCreateMemoryKindVersiondefaultJSONResponse) VisitAdminCreateMemoryKindVersionResponse(w http.ResponseWriter) error
type AdminDeleteAttachment204Response ¶
type AdminDeleteAttachment204Response struct {
}
func (AdminDeleteAttachment204Response) VisitAdminDeleteAttachmentResponse ¶
func (response AdminDeleteAttachment204Response) VisitAdminDeleteAttachmentResponse(w http.ResponseWriter) error
type AdminDeleteAttachment404JSONResponse ¶
type AdminDeleteAttachment404JSONResponse struct{ NotFoundJSONResponse }
func (AdminDeleteAttachment404JSONResponse) VisitAdminDeleteAttachmentResponse ¶
func (response AdminDeleteAttachment404JSONResponse) VisitAdminDeleteAttachmentResponse(w http.ResponseWriter) error
type AdminDeleteAttachmentJSONRequestBody ¶
type AdminDeleteAttachmentJSONRequestBody = AdminActionRequest
AdminDeleteAttachmentJSONRequestBody defines body for AdminDeleteAttachment for application/json ContentType.
type AdminDeleteAttachmentRequestObject ¶
type AdminDeleteAttachmentRequestObject struct {
Id openapi_types.UUID `json:"id"`
Body *AdminDeleteAttachmentJSONRequestBody
}
type AdminDeleteAttachmentResponseObject ¶
type AdminDeleteAttachmentResponseObject interface {
VisitAdminDeleteAttachmentResponse(w http.ResponseWriter) error
}
type AdminDeleteAttachmentdefaultJSONResponse ¶
type AdminDeleteAttachmentdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminDeleteAttachmentdefaultJSONResponse) VisitAdminDeleteAttachmentResponse ¶
func (response AdminDeleteAttachmentdefaultJSONResponse) VisitAdminDeleteAttachmentResponse(w http.ResponseWriter) error
type AdminDeleteMemory204Response ¶
type AdminDeleteMemory204Response struct {
}
func (AdminDeleteMemory204Response) VisitAdminDeleteMemoryResponse ¶
func (response AdminDeleteMemory204Response) VisitAdminDeleteMemoryResponse(w http.ResponseWriter) error
type AdminDeleteMemoryRequestObject ¶
type AdminDeleteMemoryRequestObject struct {
Id openapi_types.UUID `json:"id"`
}
type AdminDeleteMemoryResponseObject ¶
type AdminDeleteMemoryResponseObject interface {
VisitAdminDeleteMemoryResponse(w http.ResponseWriter) error
}
type AdminDeleteMemorydefaultJSONResponse ¶
type AdminDeleteMemorydefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminDeleteMemorydefaultJSONResponse) VisitAdminDeleteMemoryResponse ¶
func (response AdminDeleteMemorydefaultJSONResponse) VisitAdminDeleteMemoryResponse(w http.ResponseWriter) error
type AdminDownloadUrlResponse ¶
type AdminDownloadUrlResponse struct {
// ExpiresIn URL validity duration in seconds.
ExpiresIn *int `json:"expiresIn,omitempty"`
// Url Time-limited signed URL for downloading the attachment.
Url *string `json:"url,omitempty"`
}
AdminDownloadUrlResponse defines model for AdminDownloadUrlResponse.
type AdminEntry ¶ added in v0.3.0
type AdminEntry struct {
AgentId *string `json:"agentId,omitempty"`
// Channel Logical channel of the entry within the conversation.
Channel Channel `json:"channel"`
ClientId *string `json:"clientId,omitempty"`
Content []interface{} `json:"content"`
// ContentType Describes the schema/format of the content array.
// Examples: "message", "LC4J", "SpringAI"
ContentType string `json:"contentType"`
// ConversationGroupId Internal conversation group used for fork-tree routing and analytics joins.
ConversationGroupId *openapi_types.UUID `json:"conversationGroupId,omitempty"`
// ConversationId Unique identifier for the conversation this entry belongs to.
ConversationId string `json:"conversationId"`
CreatedAt time.Time `json:"createdAt"`
Epoch *int64 `json:"epoch,omitempty"`
// Id Unique identifier for the entry.
Id openapi_types.UUID `json:"id"`
IndexedAt *time.Time `json:"indexedAt,omitempty"`
IndexedContent *string `json:"indexedContent,omitempty"`
// Seq Optional client-assigned sequence number, unique within the conversation.
Seq *int `json:"seq,omitempty"`
UserId *string `json:"userId,omitempty"`
}
AdminEntry defines model for AdminEntry.
type AdminEvict200TexteventStreamResponse ¶
func (AdminEvict200TexteventStreamResponse) VisitAdminEvictResponse ¶
func (response AdminEvict200TexteventStreamResponse) VisitAdminEvictResponse(w http.ResponseWriter) error
type AdminEvict204Response ¶
type AdminEvict204Response struct {
}
func (AdminEvict204Response) VisitAdminEvictResponse ¶
func (response AdminEvict204Response) VisitAdminEvictResponse(w http.ResponseWriter) error
type AdminEvict400JSONResponse ¶
type AdminEvict400JSONResponse ErrorResponse
func (AdminEvict400JSONResponse) VisitAdminEvictResponse ¶
func (response AdminEvict400JSONResponse) VisitAdminEvictResponse(w http.ResponseWriter) error
type AdminEvict501JSONResponse ¶ added in v0.5.0
type AdminEvict501JSONResponse ErrorResponse
func (AdminEvict501JSONResponse) VisitAdminEvictResponse ¶ added in v0.5.0
func (response AdminEvict501JSONResponse) VisitAdminEvictResponse(w http.ResponseWriter) error
type AdminEvictJSONRequestBody ¶
type AdminEvictJSONRequestBody = EvictRequest
AdminEvictJSONRequestBody defines body for AdminEvict for application/json ContentType.
type AdminEvictParams ¶
type AdminEvictParams struct {
// Async Stream progress updates via SSE instead of blocking until complete.
Async *bool `form:"async,omitempty" json:"async,omitempty"`
}
AdminEvictParams defines parameters for AdminEvict.
type AdminEvictRequestObject ¶
type AdminEvictRequestObject struct {
Params AdminEvictParams
Body *AdminEvictJSONRequestBody
}
type AdminEvictResponseObject ¶
type AdminEvictResponseObject interface {
VisitAdminEvictResponse(w http.ResponseWriter) error
}
type AdminEvictdefaultJSONResponse ¶
type AdminEvictdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminEvictdefaultJSONResponse) VisitAdminEvictResponse ¶
func (response AdminEvictdefaultJSONResponse) VisitAdminEvictResponse(w http.ResponseWriter) error
type AdminGetAttachment200JSONResponse ¶
type AdminGetAttachment200JSONResponse AdminAttachment
func (AdminGetAttachment200JSONResponse) VisitAdminGetAttachmentResponse ¶
func (response AdminGetAttachment200JSONResponse) VisitAdminGetAttachmentResponse(w http.ResponseWriter) error
type AdminGetAttachment404JSONResponse ¶
type AdminGetAttachment404JSONResponse struct{ NotFoundJSONResponse }
func (AdminGetAttachment404JSONResponse) VisitAdminGetAttachmentResponse ¶
func (response AdminGetAttachment404JSONResponse) VisitAdminGetAttachmentResponse(w http.ResponseWriter) error
type AdminGetAttachmentContent200ApplicationoctetStreamResponse ¶
type AdminGetAttachmentContent200ApplicationoctetStreamResponse struct {
Body io.Reader
Headers AdminGetAttachmentContent200ResponseHeaders
ContentLength int64
}
func (AdminGetAttachmentContent200ApplicationoctetStreamResponse) VisitAdminGetAttachmentContentResponse ¶
func (response AdminGetAttachmentContent200ApplicationoctetStreamResponse) VisitAdminGetAttachmentContentResponse(w http.ResponseWriter) error
type AdminGetAttachmentContent200ResponseHeaders ¶
type AdminGetAttachmentContent200ResponseHeaders struct {
CacheControl *string
}
type AdminGetAttachmentContent302Response ¶
type AdminGetAttachmentContent302Response struct {
Headers AdminGetAttachmentContent302ResponseHeaders
}
func (AdminGetAttachmentContent302Response) VisitAdminGetAttachmentContentResponse ¶
func (response AdminGetAttachmentContent302Response) VisitAdminGetAttachmentContentResponse(w http.ResponseWriter) error
type AdminGetAttachmentContent302ResponseHeaders ¶
type AdminGetAttachmentContent302ResponseHeaders struct {
CacheControl *string
}
type AdminGetAttachmentContent404JSONResponse ¶
type AdminGetAttachmentContent404JSONResponse struct{ NotFoundJSONResponse }
func (AdminGetAttachmentContent404JSONResponse) VisitAdminGetAttachmentContentResponse ¶
func (response AdminGetAttachmentContent404JSONResponse) VisitAdminGetAttachmentContentResponse(w http.ResponseWriter) error
type AdminGetAttachmentContentParams ¶
type AdminGetAttachmentContentParams struct {
// Justification Reason for this admin action (for audit log).
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
// Disposition Controls the Content-Disposition header. Use `inline` to display the attachment
// in the browser (e.g., images, PDFs), or `attachment` to force download.
// If not specified, the Content-Disposition header is not set, allowing the browser
// to use its default behavior based on content type.
Disposition *AdminGetAttachmentContentParamsDisposition `form:"disposition,omitempty" json:"disposition,omitempty"`
}
AdminGetAttachmentContentParams defines parameters for AdminGetAttachmentContent.
type AdminGetAttachmentContentParamsDisposition ¶ added in v0.0.2
type AdminGetAttachmentContentParamsDisposition string
AdminGetAttachmentContentParamsDisposition defines parameters for AdminGetAttachmentContent.
const ( AdminGetAttachmentContentParamsDispositionAttachment AdminGetAttachmentContentParamsDisposition = "attachment" AdminGetAttachmentContentParamsDispositionInline AdminGetAttachmentContentParamsDisposition = "inline" )
Defines values for AdminGetAttachmentContentParamsDisposition.
func (AdminGetAttachmentContentParamsDisposition) Valid ¶ added in v0.0.2
func (e AdminGetAttachmentContentParamsDisposition) Valid() bool
Valid indicates whether the value is a known member of the AdminGetAttachmentContentParamsDisposition enum.
type AdminGetAttachmentContentRequestObject ¶
type AdminGetAttachmentContentRequestObject struct {
Id openapi_types.UUID `json:"id"`
Params AdminGetAttachmentContentParams
}
type AdminGetAttachmentContentResponseObject ¶
type AdminGetAttachmentContentResponseObject interface {
VisitAdminGetAttachmentContentResponse(w http.ResponseWriter) error
}
type AdminGetAttachmentContentdefaultJSONResponse ¶
type AdminGetAttachmentContentdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminGetAttachmentContentdefaultJSONResponse) VisitAdminGetAttachmentContentResponse ¶
func (response AdminGetAttachmentContentdefaultJSONResponse) VisitAdminGetAttachmentContentResponse(w http.ResponseWriter) error
type AdminGetAttachmentDownloadUrl200JSONResponse ¶
type AdminGetAttachmentDownloadUrl200JSONResponse AdminDownloadUrlResponse
func (AdminGetAttachmentDownloadUrl200JSONResponse) VisitAdminGetAttachmentDownloadUrlResponse ¶
func (response AdminGetAttachmentDownloadUrl200JSONResponse) VisitAdminGetAttachmentDownloadUrlResponse(w http.ResponseWriter) error
type AdminGetAttachmentDownloadUrl404JSONResponse ¶
type AdminGetAttachmentDownloadUrl404JSONResponse struct{ NotFoundJSONResponse }
func (AdminGetAttachmentDownloadUrl404JSONResponse) VisitAdminGetAttachmentDownloadUrlResponse ¶
func (response AdminGetAttachmentDownloadUrl404JSONResponse) VisitAdminGetAttachmentDownloadUrlResponse(w http.ResponseWriter) error
type AdminGetAttachmentDownloadUrlParams ¶
type AdminGetAttachmentDownloadUrlParams struct {
// Justification Reason for this admin action (for audit log).
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
// Disposition Controls the Content-Disposition header on the returned download URL.
// Use `inline` to display the attachment in the browser (e.g., images, PDFs),
// or `attachment` to force download. If not specified, the
// Content-Disposition header is not set, allowing the browser to use its
// default behavior based on content type.
Disposition *AdminGetAttachmentDownloadUrlParamsDisposition `form:"disposition,omitempty" json:"disposition,omitempty"`
}
AdminGetAttachmentDownloadUrlParams defines parameters for AdminGetAttachmentDownloadUrl.
type AdminGetAttachmentDownloadUrlParamsDisposition ¶ added in v0.0.3
type AdminGetAttachmentDownloadUrlParamsDisposition string
AdminGetAttachmentDownloadUrlParamsDisposition defines parameters for AdminGetAttachmentDownloadUrl.
const ( AdminGetAttachmentDownloadUrlParamsDispositionAttachment AdminGetAttachmentDownloadUrlParamsDisposition = "attachment" AdminGetAttachmentDownloadUrlParamsDispositionInline AdminGetAttachmentDownloadUrlParamsDisposition = "inline" )
Defines values for AdminGetAttachmentDownloadUrlParamsDisposition.
func (AdminGetAttachmentDownloadUrlParamsDisposition) Valid ¶ added in v0.0.3
func (e AdminGetAttachmentDownloadUrlParamsDisposition) Valid() bool
Valid indicates whether the value is a known member of the AdminGetAttachmentDownloadUrlParamsDisposition enum.
type AdminGetAttachmentDownloadUrlRequestObject ¶
type AdminGetAttachmentDownloadUrlRequestObject struct {
Id openapi_types.UUID `json:"id"`
Params AdminGetAttachmentDownloadUrlParams
}
type AdminGetAttachmentDownloadUrlResponseObject ¶
type AdminGetAttachmentDownloadUrlResponseObject interface {
VisitAdminGetAttachmentDownloadUrlResponse(w http.ResponseWriter) error
}
type AdminGetAttachmentDownloadUrldefaultJSONResponse ¶
type AdminGetAttachmentDownloadUrldefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminGetAttachmentDownloadUrldefaultJSONResponse) VisitAdminGetAttachmentDownloadUrlResponse ¶
func (response AdminGetAttachmentDownloadUrldefaultJSONResponse) VisitAdminGetAttachmentDownloadUrlResponse(w http.ResponseWriter) error
type AdminGetAttachmentParams ¶
type AdminGetAttachmentParams struct {
// Justification Reason for this admin action (for audit log).
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminGetAttachmentParams defines parameters for AdminGetAttachment.
type AdminGetAttachmentRequestObject ¶
type AdminGetAttachmentRequestObject struct {
Id openapi_types.UUID `json:"id"`
Params AdminGetAttachmentParams
}
type AdminGetAttachmentResponseObject ¶
type AdminGetAttachmentResponseObject interface {
VisitAdminGetAttachmentResponse(w http.ResponseWriter) error
}
type AdminGetAttachmentdefaultJSONResponse ¶
type AdminGetAttachmentdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminGetAttachmentdefaultJSONResponse) VisitAdminGetAttachmentResponse ¶
func (response AdminGetAttachmentdefaultJSONResponse) VisitAdminGetAttachmentResponse(w http.ResponseWriter) error
type AdminGetCheckpoint200JSONResponse ¶
type AdminGetCheckpoint200JSONResponse AdminCheckpoint
func (AdminGetCheckpoint200JSONResponse) VisitAdminGetCheckpointResponse ¶
func (response AdminGetCheckpoint200JSONResponse) VisitAdminGetCheckpointResponse(w http.ResponseWriter) error
type AdminGetCheckpoint401Response ¶
type AdminGetCheckpoint401Response struct {
}
func (AdminGetCheckpoint401Response) VisitAdminGetCheckpointResponse ¶
func (response AdminGetCheckpoint401Response) VisitAdminGetCheckpointResponse(w http.ResponseWriter) error
type AdminGetCheckpoint403Response ¶
type AdminGetCheckpoint403Response struct {
}
func (AdminGetCheckpoint403Response) VisitAdminGetCheckpointResponse ¶
func (response AdminGetCheckpoint403Response) VisitAdminGetCheckpointResponse(w http.ResponseWriter) error
type AdminGetCheckpoint404JSONResponse ¶
type AdminGetCheckpoint404JSONResponse ErrorResponse
func (AdminGetCheckpoint404JSONResponse) VisitAdminGetCheckpointResponse ¶
func (response AdminGetCheckpoint404JSONResponse) VisitAdminGetCheckpointResponse(w http.ResponseWriter) error
type AdminGetCheckpointRequestObject ¶
type AdminGetCheckpointRequestObject struct {
ClientId string `json:"clientId"`
}
type AdminGetCheckpointResponseObject ¶
type AdminGetCheckpointResponseObject interface {
VisitAdminGetCheckpointResponse(w http.ResponseWriter) error
}
type AdminGetConversation200JSONResponse ¶
type AdminGetConversation200JSONResponse AdminConversation
func (AdminGetConversation200JSONResponse) VisitAdminGetConversationResponse ¶
func (response AdminGetConversation200JSONResponse) VisitAdminGetConversationResponse(w http.ResponseWriter) error
type AdminGetConversation404JSONResponse ¶
type AdminGetConversation404JSONResponse struct{ NotFoundJSONResponse }
func (AdminGetConversation404JSONResponse) VisitAdminGetConversationResponse ¶
func (response AdminGetConversation404JSONResponse) VisitAdminGetConversationResponse(w http.ResponseWriter) error
type AdminGetConversationParams ¶
type AdminGetConversationParams struct {
// Justification Reason for this admin action (for audit log).
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminGetConversationParams defines parameters for AdminGetConversation.
type AdminGetConversationRequestObject ¶
type AdminGetConversationRequestObject struct {
Id string `json:"id"`
Params AdminGetConversationParams
}
type AdminGetConversationResponseObject ¶
type AdminGetConversationResponseObject interface {
VisitAdminGetConversationResponse(w http.ResponseWriter) error
}
type AdminGetConversationdefaultJSONResponse ¶
type AdminGetConversationdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminGetConversationdefaultJSONResponse) VisitAdminGetConversationResponse ¶
func (response AdminGetConversationdefaultJSONResponse) VisitAdminGetConversationResponse(w http.ResponseWriter) error
type AdminGetEntries200JSONResponse ¶
type AdminGetEntries200JSONResponse struct {
// AfterCursor Pass as afterCursor to fetch the adjacent newer page. Null when no newer entries exist.
AfterCursor *openapi_types.UUID `json:"afterCursor,omitempty"`
// BeforeCursor Pass as beforeCursor to fetch the adjacent older page. Null when no older entries exist.
BeforeCursor *openapi_types.UUID `json:"beforeCursor,omitempty"`
Data *[]AdminEntry `json:"data,omitempty"`
}
func (AdminGetEntries200JSONResponse) VisitAdminGetEntriesResponse ¶
func (response AdminGetEntries200JSONResponse) VisitAdminGetEntriesResponse(w http.ResponseWriter) error
type AdminGetEntries400JSONResponse ¶ added in v0.0.4
type AdminGetEntries400JSONResponse struct{ BadRequestJSONResponse }
func (AdminGetEntries400JSONResponse) VisitAdminGetEntriesResponse ¶ added in v0.0.4
func (response AdminGetEntries400JSONResponse) VisitAdminGetEntriesResponse(w http.ResponseWriter) error
type AdminGetEntries404JSONResponse ¶
type AdminGetEntries404JSONResponse struct{ NotFoundJSONResponse }
func (AdminGetEntries404JSONResponse) VisitAdminGetEntriesResponse ¶
func (response AdminGetEntries404JSONResponse) VisitAdminGetEntriesResponse(w http.ResponseWriter) error
type AdminGetEntriesParams ¶
type AdminGetEntriesParams struct {
// AfterCursor Cursor for pagination (UUID format).
AfterCursor *openapi_types.UUID `form:"afterCursor,omitempty" json:"afterCursor,omitempty"`
// BeforeCursor Cursor for backward pagination; returns up to limit entries strictly before this entry in admin-visible order. Mutually exclusive with afterCursor and tail=true.
BeforeCursor *openapi_types.UUID `form:"beforeCursor,omitempty" json:"beforeCursor,omitempty"`
// Tail When true, returns the last limit entries (newest page). Mutually exclusive with afterCursor and beforeCursor.
Tail *bool `form:"tail,omitempty" json:"tail,omitempty"`
// Limit Maximum number of entries to return.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Channel Filter by entry channel.
Channel *Channel `form:"channel,omitempty" json:"channel,omitempty"`
// Epoch Optional epoch filter. Valid values are `latest`, `all`, or a numeric epoch identifier.
Epoch *string `form:"epoch,omitempty" json:"epoch,omitempty"`
// Justification Reason for this admin action (for audit log).
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
// Forks Controls which fork entries to include. `none` (default) follows
// the fork ancestry path. `all` returns entries from all forks.
Forks *AdminGetEntriesParamsForks `form:"forks,omitempty" json:"forks,omitempty"`
// FromSeq When set, return only entries with seq >= fromSeq, ordered by seq ASC.
// Entries without a seq value are excluded. When omitted, the default
// ordering is created_at ASC, seq ASC NULLS FIRST, then id ASC.
FromSeq *int `form:"fromSeq,omitempty" json:"fromSeq,omitempty"`
// CreatedAtAfter Return only entries with createdAt >= this value (RFC 3339).
CreatedAtAfter *time.Time `form:"createdAtAfter,omitempty" json:"createdAtAfter,omitempty"`
// CreatedAtBefore Return only entries with createdAt <= this value (RFC 3339).
CreatedAtBefore *time.Time `form:"createdAtBefore,omitempty" json:"createdAtBefore,omitempty"`
// CreatedAt Return only entries with createdAt equal to this value (RFC 3339).
// Mutually exclusive with createdAtAfter and createdAtBefore.
CreatedAt *time.Time `form:"createdAt,omitempty" json:"createdAt,omitempty"`
}
AdminGetEntriesParams defines parameters for AdminGetEntries.
type AdminGetEntriesParamsForks ¶
type AdminGetEntriesParamsForks string
AdminGetEntriesParamsForks defines parameters for AdminGetEntries.
const ( AdminGetEntriesParamsForksAll AdminGetEntriesParamsForks = "all" AdminGetEntriesParamsForksNone AdminGetEntriesParamsForks = "none" )
Defines values for AdminGetEntriesParamsForks.
func (AdminGetEntriesParamsForks) Valid ¶
func (e AdminGetEntriesParamsForks) Valid() bool
Valid indicates whether the value is a known member of the AdminGetEntriesParamsForks enum.
type AdminGetEntriesRequestObject ¶
type AdminGetEntriesRequestObject struct {
Id string `json:"id"`
Params AdminGetEntriesParams
}
type AdminGetEntriesResponseObject ¶
type AdminGetEntriesResponseObject interface {
VisitAdminGetEntriesResponse(w http.ResponseWriter) error
}
type AdminGetEntriesdefaultJSONResponse ¶
type AdminGetEntriesdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminGetEntriesdefaultJSONResponse) VisitAdminGetEntriesResponse ¶
func (response AdminGetEntriesdefaultJSONResponse) VisitAdminGetEntriesResponse(w http.ResponseWriter) error
type AdminGetEntry200JSONResponse ¶
type AdminGetEntry200JSONResponse AdminEntry
func (AdminGetEntry200JSONResponse) VisitAdminGetEntryResponse ¶
func (response AdminGetEntry200JSONResponse) VisitAdminGetEntryResponse(w http.ResponseWriter) error
type AdminGetEntry404JSONResponse ¶
type AdminGetEntry404JSONResponse struct{ NotFoundJSONResponse }
func (AdminGetEntry404JSONResponse) VisitAdminGetEntryResponse ¶
func (response AdminGetEntry404JSONResponse) VisitAdminGetEntryResponse(w http.ResponseWriter) error
type AdminGetEntryParams ¶
type AdminGetEntryParams struct {
// Justification Reason for this admin action (for audit log).
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminGetEntryParams defines parameters for AdminGetEntry.
type AdminGetEntryRequestObject ¶
type AdminGetEntryRequestObject struct {
Id openapi_types.UUID `json:"id"`
Params AdminGetEntryParams
}
type AdminGetEntryResponseObject ¶
type AdminGetEntryResponseObject interface {
VisitAdminGetEntryResponse(w http.ResponseWriter) error
}
type AdminGetEntrydefaultJSONResponse ¶
type AdminGetEntrydefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminGetEntrydefaultJSONResponse) VisitAdminGetEntryResponse ¶
func (response AdminGetEntrydefaultJSONResponse) VisitAdminGetEntryResponse(w http.ResponseWriter) error
type AdminGetMemberships200JSONResponse ¶
type AdminGetMemberships200JSONResponse struct {
AfterCursor *string `json:"afterCursor,omitempty"`
Data *[]ConversationMembership `json:"data,omitempty"`
}
func (AdminGetMemberships200JSONResponse) VisitAdminGetMembershipsResponse ¶
func (response AdminGetMemberships200JSONResponse) VisitAdminGetMembershipsResponse(w http.ResponseWriter) error
type AdminGetMemberships404JSONResponse ¶
type AdminGetMemberships404JSONResponse struct{ NotFoundJSONResponse }
func (AdminGetMemberships404JSONResponse) VisitAdminGetMembershipsResponse ¶
func (response AdminGetMemberships404JSONResponse) VisitAdminGetMembershipsResponse(w http.ResponseWriter) error
type AdminGetMembershipsParams ¶
type AdminGetMembershipsParams struct {
// AfterCursor Cursor for pagination; returns items after this user id.
AfterCursor *string `form:"afterCursor,omitempty" json:"afterCursor,omitempty"`
// Limit Maximum number of memberships to return.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Justification Reason for this admin action (for audit log).
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminGetMembershipsParams defines parameters for AdminGetMemberships.
type AdminGetMembershipsRequestObject ¶
type AdminGetMembershipsRequestObject struct {
Id string `json:"id"`
Params AdminGetMembershipsParams
}
type AdminGetMembershipsResponseObject ¶
type AdminGetMembershipsResponseObject interface {
VisitAdminGetMembershipsResponse(w http.ResponseWriter) error
}
type AdminGetMembershipsdefaultJSONResponse ¶
type AdminGetMembershipsdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminGetMembershipsdefaultJSONResponse) VisitAdminGetMembershipsResponse ¶
func (response AdminGetMembershipsdefaultJSONResponse) VisitAdminGetMembershipsResponse(w http.ResponseWriter) error
type AdminGetMemory200JSONResponse ¶
type AdminGetMemory200JSONResponse AdminMemoryItem
func (AdminGetMemory200JSONResponse) VisitAdminGetMemoryResponse ¶
func (response AdminGetMemory200JSONResponse) VisitAdminGetMemoryResponse(w http.ResponseWriter) error
type AdminGetMemory404JSONResponse ¶
type AdminGetMemory404JSONResponse struct{ NotFoundJSONResponse }
func (AdminGetMemory404JSONResponse) VisitAdminGetMemoryResponse ¶
func (response AdminGetMemory404JSONResponse) VisitAdminGetMemoryResponse(w http.ResponseWriter) error
type AdminGetMemoryIndexStatus200JSONResponse ¶
type AdminGetMemoryIndexStatus200JSONResponse MemoryIndexStatusResponse
func (AdminGetMemoryIndexStatus200JSONResponse) VisitAdminGetMemoryIndexStatusResponse ¶
func (response AdminGetMemoryIndexStatus200JSONResponse) VisitAdminGetMemoryIndexStatusResponse(w http.ResponseWriter) error
type AdminGetMemoryIndexStatusRequestObject ¶
type AdminGetMemoryIndexStatusRequestObject struct {
}
type AdminGetMemoryIndexStatusResponseObject ¶
type AdminGetMemoryIndexStatusResponseObject interface {
VisitAdminGetMemoryIndexStatusResponse(w http.ResponseWriter) error
}
type AdminGetMemoryIndexStatusdefaultJSONResponse ¶
type AdminGetMemoryIndexStatusdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminGetMemoryIndexStatusdefaultJSONResponse) VisitAdminGetMemoryIndexStatusResponse ¶
func (response AdminGetMemoryIndexStatusdefaultJSONResponse) VisitAdminGetMemoryIndexStatusResponse(w http.ResponseWriter) error
type AdminGetMemoryKindMigration200JSONResponse ¶ added in v0.2.0
type AdminGetMemoryKindMigration200JSONResponse MemoryKindMigration
func (AdminGetMemoryKindMigration200JSONResponse) VisitAdminGetMemoryKindMigrationResponse ¶ added in v0.2.0
func (response AdminGetMemoryKindMigration200JSONResponse) VisitAdminGetMemoryKindMigrationResponse(w http.ResponseWriter) error
type AdminGetMemoryKindMigrationParams ¶ added in v0.2.0
type AdminGetMemoryKindMigrationParams struct {
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminGetMemoryKindMigrationParams defines parameters for AdminGetMemoryKindMigration.
type AdminGetMemoryKindMigrationRequestObject ¶ added in v0.2.0
type AdminGetMemoryKindMigrationRequestObject struct {
Id openapi_types.UUID `json:"id"`
Params AdminGetMemoryKindMigrationParams
}
type AdminGetMemoryKindMigrationResponseObject ¶ added in v0.2.0
type AdminGetMemoryKindMigrationResponseObject interface {
VisitAdminGetMemoryKindMigrationResponse(w http.ResponseWriter) error
}
type AdminGetMemoryKindMigrationdefaultJSONResponse ¶ added in v0.2.0
type AdminGetMemoryKindMigrationdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminGetMemoryKindMigrationdefaultJSONResponse) VisitAdminGetMemoryKindMigrationResponse ¶ added in v0.2.0
func (response AdminGetMemoryKindMigrationdefaultJSONResponse) VisitAdminGetMemoryKindMigrationResponse(w http.ResponseWriter) error
type AdminGetMemoryKindVersion200JSONResponse ¶ added in v0.2.0
type AdminGetMemoryKindVersion200JSONResponse MemoryKindVersion
func (AdminGetMemoryKindVersion200JSONResponse) VisitAdminGetMemoryKindVersionResponse ¶ added in v0.2.0
func (response AdminGetMemoryKindVersion200JSONResponse) VisitAdminGetMemoryKindVersionResponse(w http.ResponseWriter) error
type AdminGetMemoryKindVersionParams ¶ added in v0.2.0
type AdminGetMemoryKindVersionParams struct {
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminGetMemoryKindVersionParams defines parameters for AdminGetMemoryKindVersion.
type AdminGetMemoryKindVersionRequestObject ¶ added in v0.2.0
type AdminGetMemoryKindVersionRequestObject struct {
Family string `json:"family"`
Version string `json:"version"`
Params AdminGetMemoryKindVersionParams
}
type AdminGetMemoryKindVersionResponseObject ¶ added in v0.2.0
type AdminGetMemoryKindVersionResponseObject interface {
VisitAdminGetMemoryKindVersionResponse(w http.ResponseWriter) error
}
type AdminGetMemoryKindVersiondefaultJSONResponse ¶ added in v0.2.0
type AdminGetMemoryKindVersiondefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminGetMemoryKindVersiondefaultJSONResponse) VisitAdminGetMemoryKindVersionResponse ¶ added in v0.2.0
func (response AdminGetMemoryKindVersiondefaultJSONResponse) VisitAdminGetMemoryKindVersionResponse(w http.ResponseWriter) error
type AdminGetMemoryParams ¶
type AdminGetMemoryParams struct {
IncludeUsage *bool `form:"includeUsage,omitempty" json:"includeUsage,omitempty"`
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminGetMemoryParams defines parameters for AdminGetMemory.
type AdminGetMemoryRequestObject ¶
type AdminGetMemoryRequestObject struct {
Id openapi_types.UUID `json:"id"`
Params AdminGetMemoryParams
}
type AdminGetMemoryResponseObject ¶
type AdminGetMemoryResponseObject interface {
VisitAdminGetMemoryResponse(w http.ResponseWriter) error
}
type AdminGetMemoryUsage200JSONResponse ¶
type AdminGetMemoryUsage200JSONResponse MemoryUsageResponse
func (AdminGetMemoryUsage200JSONResponse) VisitAdminGetMemoryUsageResponse ¶
func (response AdminGetMemoryUsage200JSONResponse) VisitAdminGetMemoryUsageResponse(w http.ResponseWriter) error
type AdminGetMemoryUsage404JSONResponse ¶
type AdminGetMemoryUsage404JSONResponse struct{ NotFoundJSONResponse }
func (AdminGetMemoryUsage404JSONResponse) VisitAdminGetMemoryUsageResponse ¶
func (response AdminGetMemoryUsage404JSONResponse) VisitAdminGetMemoryUsageResponse(w http.ResponseWriter) error
type AdminGetMemoryUsageParams ¶
type AdminGetMemoryUsageParams struct {
// Ns Namespace segments. Repeat once per segment.
Ns []string `form:"ns" json:"ns"`
Key string `form:"key" json:"key"`
}
AdminGetMemoryUsageParams defines parameters for AdminGetMemoryUsage.
type AdminGetMemoryUsageRequestObject ¶
type AdminGetMemoryUsageRequestObject struct {
Params AdminGetMemoryUsageParams
}
type AdminGetMemoryUsageResponseObject ¶
type AdminGetMemoryUsageResponseObject interface {
VisitAdminGetMemoryUsageResponse(w http.ResponseWriter) error
}
type AdminGetMemoryUsagedefaultJSONResponse ¶
type AdminGetMemoryUsagedefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminGetMemoryUsagedefaultJSONResponse) VisitAdminGetMemoryUsageResponse ¶
func (response AdminGetMemoryUsagedefaultJSONResponse) VisitAdminGetMemoryUsageResponse(w http.ResponseWriter) error
type AdminGetMemorydefaultJSONResponse ¶
type AdminGetMemorydefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminGetMemorydefaultJSONResponse) VisitAdminGetMemoryResponse ¶
func (response AdminGetMemorydefaultJSONResponse) VisitAdminGetMemoryResponse(w http.ResponseWriter) error
type AdminListAttachments200JSONResponse ¶
type AdminListAttachments200JSONResponse struct {
AfterCursor *string `json:"afterCursor,omitempty"`
Data *[]AdminAttachment `json:"data,omitempty"`
}
func (AdminListAttachments200JSONResponse) VisitAdminListAttachmentsResponse ¶
func (response AdminListAttachments200JSONResponse) VisitAdminListAttachmentsResponse(w http.ResponseWriter) error
type AdminListAttachmentsParams ¶
type AdminListAttachmentsParams struct {
// UserId Filter by uploader user ID.
UserId *string `form:"userId,omitempty" json:"userId,omitempty"`
// EntryId Filter by linked entry ID.
EntryId *openapi_types.UUID `form:"entryId,omitempty" json:"entryId,omitempty"`
// Status Filter by status: linked, unlinked, expired, or all.
Status *AdminListAttachmentsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
// AfterCursor Cursor for pagination (UUID of last item).
AfterCursor *openapi_types.UUID `form:"afterCursor,omitempty" json:"afterCursor,omitempty"`
// Limit Maximum number of attachments to return. The server may enforce a lower configured maximum.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Justification Reason for this admin action (for audit log).
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminListAttachmentsParams defines parameters for AdminListAttachments.
type AdminListAttachmentsParamsStatus ¶
type AdminListAttachmentsParamsStatus string
AdminListAttachmentsParamsStatus defines parameters for AdminListAttachments.
const ( AdminListAttachmentsParamsStatusAll AdminListAttachmentsParamsStatus = "all" AdminListAttachmentsParamsStatusExpired AdminListAttachmentsParamsStatus = "expired" AdminListAttachmentsParamsStatusLinked AdminListAttachmentsParamsStatus = "linked" AdminListAttachmentsParamsStatusUnlinked AdminListAttachmentsParamsStatus = "unlinked" )
Defines values for AdminListAttachmentsParamsStatus.
func (AdminListAttachmentsParamsStatus) Valid ¶
func (e AdminListAttachmentsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the AdminListAttachmentsParamsStatus enum.
type AdminListAttachmentsRequestObject ¶
type AdminListAttachmentsRequestObject struct {
Params AdminListAttachmentsParams
}
type AdminListAttachmentsResponseObject ¶
type AdminListAttachmentsResponseObject interface {
VisitAdminListAttachmentsResponse(w http.ResponseWriter) error
}
type AdminListAttachmentsdefaultJSONResponse ¶
type AdminListAttachmentsdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminListAttachmentsdefaultJSONResponse) VisitAdminListAttachmentsResponse ¶
func (response AdminListAttachmentsdefaultJSONResponse) VisitAdminListAttachmentsResponse(w http.ResponseWriter) error
type AdminListChildConversations200JSONResponse ¶
type AdminListChildConversations200JSONResponse struct {
AfterCursor *string `json:"afterCursor,omitempty"`
Data *[]AdminChildConversationSummary `json:"data,omitempty"`
}
func (AdminListChildConversations200JSONResponse) VisitAdminListChildConversationsResponse ¶
func (response AdminListChildConversations200JSONResponse) VisitAdminListChildConversationsResponse(w http.ResponseWriter) error
type AdminListChildConversationsParams ¶
type AdminListChildConversationsParams struct {
AfterCursor *string `form:"afterCursor,omitempty" json:"afterCursor,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
AdminListChildConversationsParams defines parameters for AdminListChildConversations.
type AdminListChildConversationsRequestObject ¶
type AdminListChildConversationsRequestObject struct {
Id string `json:"id"`
Params AdminListChildConversationsParams
}
type AdminListChildConversationsResponseObject ¶
type AdminListChildConversationsResponseObject interface {
VisitAdminListChildConversationsResponse(w http.ResponseWriter) error
}
type AdminListChildConversationsdefaultJSONResponse ¶
type AdminListChildConversationsdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminListChildConversationsdefaultJSONResponse) VisitAdminListChildConversationsResponse ¶
func (response AdminListChildConversationsdefaultJSONResponse) VisitAdminListChildConversationsResponse(w http.ResponseWriter) error
type AdminListConversations200JSONResponse ¶
type AdminListConversations200JSONResponse struct {
AfterCursor *string `json:"afterCursor,omitempty"`
Data *[]AdminConversationSummary `json:"data,omitempty"`
}
func (AdminListConversations200JSONResponse) VisitAdminListConversationsResponse ¶
func (response AdminListConversations200JSONResponse) VisitAdminListConversationsResponse(w http.ResponseWriter) error
type AdminListConversationsParams ¶
type AdminListConversationsParams struct {
// Mode Listing mode for conversations. Controls which conversations are returned
// from each fork tree (conversation group).
// - `all`: include all conversations (roots and forks).
// - `roots`: only include root conversations (conversations that are not forks).
// - `latest-fork`: include only the most recently updated conversation per fork tree.
// This is useful for showing a single representative conversation from each tree.
Mode *AdminListConversationsParamsMode `form:"mode,omitempty" json:"mode,omitempty"`
// Ancestry Started-conversation ancestry filter. `children` includes every fork branch
// whose logical conversation tree was started from another conversation.
Ancestry *AdminListConversationsParamsAncestry `form:"ancestry,omitempty" json:"ancestry,omitempty"`
// Sort Timestamp field used to order conversations.
Sort *AdminListConversationsParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
// Direction Sort direction. Conversation ID is used as a deterministic tie-breaker in the same direction.
Direction *AdminListConversationsParamsDirection `form:"direction,omitempty" json:"direction,omitempty"`
// UserId Filter conversations owned by this user.
UserId *string `form:"userId,omitempty" json:"userId,omitempty"`
// Archived Controls whether archived conversations are excluded, included, or returned exclusively.
Archived *AdminListConversationsParamsArchived `form:"archived,omitempty" json:"archived,omitempty"`
// ArchivedAfter Filter: archived at or after this time (ISO 8601).
ArchivedAfter *time.Time `form:"archivedAfter,omitempty" json:"archivedAfter,omitempty"`
// ArchivedBefore Filter: archived before this time (ISO 8601).
ArchivedBefore *time.Time `form:"archivedBefore,omitempty" json:"archivedBefore,omitempty"`
// AfterCursor Cursor for pagination. Treat this value as opaque and repeat the same sort and direction
// on subsequent requests. Legacy unsorted requests continue to use conversation IDs.
AfterCursor *string `form:"afterCursor,omitempty" json:"afterCursor,omitempty"`
// UpToEntryId Upper-bound entry id (UUID format). When set, only entries at or
// before this entry in the admin-visible conversation order are
// returned.
UpToEntryId *openapi_types.UUID `form:"upToEntryId,omitempty" json:"upToEntryId,omitempty"`
// Limit Maximum number of conversations to return.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Metadata Metadata filter expressions. The service combines multiple expressions with AND.
// A request may contain at most five expressions.
//
// Operators:
// = equal
// != not equal
Metadata *[]string `form:"metadata,omitempty" json:"metadata,omitempty"`
// Justification Reason for this admin action (for audit log).
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminListConversationsParams defines parameters for AdminListConversations.
type AdminListConversationsParamsAncestry ¶
type AdminListConversationsParamsAncestry string
AdminListConversationsParamsAncestry defines parameters for AdminListConversations.
const ( AdminListConversationsParamsAncestryAll AdminListConversationsParamsAncestry = "all" AdminListConversationsParamsAncestryChildren AdminListConversationsParamsAncestry = "children" AdminListConversationsParamsAncestryRoots AdminListConversationsParamsAncestry = "roots" )
Defines values for AdminListConversationsParamsAncestry.
func (AdminListConversationsParamsAncestry) Valid ¶
func (e AdminListConversationsParamsAncestry) Valid() bool
Valid indicates whether the value is a known member of the AdminListConversationsParamsAncestry enum.
type AdminListConversationsParamsArchived ¶
type AdminListConversationsParamsArchived string
AdminListConversationsParamsArchived defines parameters for AdminListConversations.
const ( AdminListConversationsParamsArchivedExclude AdminListConversationsParamsArchived = "exclude" AdminListConversationsParamsArchivedInclude AdminListConversationsParamsArchived = "include" AdminListConversationsParamsArchivedOnly AdminListConversationsParamsArchived = "only" )
Defines values for AdminListConversationsParamsArchived.
func (AdminListConversationsParamsArchived) Valid ¶
func (e AdminListConversationsParamsArchived) Valid() bool
Valid indicates whether the value is a known member of the AdminListConversationsParamsArchived enum.
type AdminListConversationsParamsDirection ¶ added in v0.2.3
type AdminListConversationsParamsDirection string
AdminListConversationsParamsDirection defines parameters for AdminListConversations.
const ( ConversationSortDirectionAsc AdminListConversationsParamsDirection = "asc" ConversationSortDirectionDesc AdminListConversationsParamsDirection = "desc" )
Defines values for AdminListConversationsParamsDirection.
func (AdminListConversationsParamsDirection) Valid ¶ added in v0.2.3
func (e AdminListConversationsParamsDirection) Valid() bool
Valid indicates whether the value is a known member of the AdminListConversationsParamsDirection enum.
type AdminListConversationsParamsMode ¶
type AdminListConversationsParamsMode string
AdminListConversationsParamsMode defines parameters for AdminListConversations.
const ( AdminListConversationsParamsModeAll AdminListConversationsParamsMode = "all" AdminListConversationsParamsModeLatestFork AdminListConversationsParamsMode = "latest-fork" AdminListConversationsParamsModeRoots AdminListConversationsParamsMode = "roots" )
Defines values for AdminListConversationsParamsMode.
func (AdminListConversationsParamsMode) Valid ¶
func (e AdminListConversationsParamsMode) Valid() bool
Valid indicates whether the value is a known member of the AdminListConversationsParamsMode enum.
type AdminListConversationsParamsSort ¶ added in v0.2.3
type AdminListConversationsParamsSort string
AdminListConversationsParamsSort defines parameters for AdminListConversations.
const ( ConversationSortCreatedAt AdminListConversationsParamsSort = "createdAt" ConversationSortUpdatedAt AdminListConversationsParamsSort = "updatedAt" )
Defines values for AdminListConversationsParamsSort.
func (AdminListConversationsParamsSort) Valid ¶ added in v0.2.3
func (e AdminListConversationsParamsSort) Valid() bool
Valid indicates whether the value is a known member of the AdminListConversationsParamsSort enum.
type AdminListConversationsRequestObject ¶
type AdminListConversationsRequestObject struct {
Params AdminListConversationsParams
}
type AdminListConversationsResponseObject ¶
type AdminListConversationsResponseObject interface {
VisitAdminListConversationsResponse(w http.ResponseWriter) error
}
type AdminListConversationsdefaultJSONResponse ¶
type AdminListConversationsdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminListConversationsdefaultJSONResponse) VisitAdminListConversationsResponse ¶
func (response AdminListConversationsdefaultJSONResponse) VisitAdminListConversationsResponse(w http.ResponseWriter) error
type AdminListForks200JSONResponse ¶
type AdminListForks200JSONResponse ConversationForkNavigation
func (AdminListForks200JSONResponse) VisitAdminListForksResponse ¶
func (response AdminListForks200JSONResponse) VisitAdminListForksResponse(w http.ResponseWriter) error
type AdminListForks404JSONResponse ¶
type AdminListForks404JSONResponse struct{ NotFoundJSONResponse }
func (AdminListForks404JSONResponse) VisitAdminListForksResponse ¶
func (response AdminListForks404JSONResponse) VisitAdminListForksResponse(w http.ResponseWriter) error
type AdminListForksParams ¶
type AdminListForksParams struct {
// Justification Reason for this admin action (for audit log).
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminListForksParams defines parameters for AdminListForks.
type AdminListForksRequestObject ¶
type AdminListForksRequestObject struct {
Id string `json:"id"`
Params AdminListForksParams
}
type AdminListForksResponseObject ¶
type AdminListForksResponseObject interface {
VisitAdminListForksResponse(w http.ResponseWriter) error
}
type AdminListForksdefaultJSONResponse ¶
type AdminListForksdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminListForksdefaultJSONResponse) VisitAdminListForksResponse ¶
func (response AdminListForksdefaultJSONResponse) VisitAdminListForksResponse(w http.ResponseWriter) error
type AdminListMemories200JSONResponse ¶
type AdminListMemories200JSONResponse AdminListMemoriesResponse
func (AdminListMemories200JSONResponse) VisitAdminListMemoriesResponse ¶
func (response AdminListMemories200JSONResponse) VisitAdminListMemoriesResponse(w http.ResponseWriter) error
type AdminListMemoriesParams ¶
type AdminListMemoriesParams struct {
// NamespacePrefix Namespace prefix segments. Repeat once per segment.
NamespacePrefix *[]string `form:"namespacePrefix,omitempty" json:"namespacePrefix,omitempty"`
KeyPrefix *string `form:"keyPrefix,omitempty" json:"keyPrefix,omitempty"`
Archived *AdminListMemoriesParamsArchived `form:"archived,omitempty" json:"archived,omitempty"`
CreatedAfter *time.Time `form:"createdAfter,omitempty" json:"createdAfter,omitempty"`
CreatedBefore *time.Time `form:"createdBefore,omitempty" json:"createdBefore,omitempty"`
ExpiresBefore *time.Time `form:"expiresBefore,omitempty" json:"expiresBefore,omitempty"`
IncludeUsage *bool `form:"includeUsage,omitempty" json:"includeUsage,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
AfterCursor *string `form:"afterCursor,omitempty" json:"afterCursor,omitempty"`
// Kind Optional memory kind selector. Exact canonical name (e.g. default/v1), family name (e.g. default), or omit for all kinds.
Kind *string `form:"kind,omitempty" json:"kind,omitempty"`
// Filter Optional JSON-encoded projected-attribute filter object (same format as AdminSearch filter body field).
Filter *string `form:"filter,omitempty" json:"filter,omitempty"`
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminListMemoriesParams defines parameters for AdminListMemories.
type AdminListMemoriesParamsArchived ¶
type AdminListMemoriesParamsArchived string
AdminListMemoriesParamsArchived defines parameters for AdminListMemories.
const ( AdminListMemoriesParamsArchivedExclude AdminListMemoriesParamsArchived = "exclude" AdminListMemoriesParamsArchivedInclude AdminListMemoriesParamsArchived = "include" AdminListMemoriesParamsArchivedOnly AdminListMemoriesParamsArchived = "only" )
Defines values for AdminListMemoriesParamsArchived.
func (AdminListMemoriesParamsArchived) Valid ¶
func (e AdminListMemoriesParamsArchived) Valid() bool
Valid indicates whether the value is a known member of the AdminListMemoriesParamsArchived enum.
type AdminListMemoriesRequestObject ¶
type AdminListMemoriesRequestObject struct {
Params AdminListMemoriesParams
}
type AdminListMemoriesResponse ¶
type AdminListMemoriesResponse struct {
AfterCursor *string `json:"afterCursor,omitempty"`
Items *[]AdminMemoryItem `json:"items,omitempty"`
}
AdminListMemoriesResponse defines model for AdminListMemoriesResponse.
type AdminListMemoriesResponseObject ¶
type AdminListMemoriesResponseObject interface {
VisitAdminListMemoriesResponse(w http.ResponseWriter) error
}
type AdminListMemoriesdefaultJSONResponse ¶
type AdminListMemoriesdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminListMemoriesdefaultJSONResponse) VisitAdminListMemoriesResponse ¶
func (response AdminListMemoriesdefaultJSONResponse) VisitAdminListMemoriesResponse(w http.ResponseWriter) error
type AdminListMemoryKindMigrations200JSONResponse ¶ added in v0.2.0
type AdminListMemoryKindMigrations200JSONResponse ListMemoryKindMigrationsResponse
func (AdminListMemoryKindMigrations200JSONResponse) VisitAdminListMemoryKindMigrationsResponse ¶ added in v0.2.0
func (response AdminListMemoryKindMigrations200JSONResponse) VisitAdminListMemoryKindMigrationsResponse(w http.ResponseWriter) error
type AdminListMemoryKindMigrationsParams ¶ added in v0.2.0
type AdminListMemoryKindMigrationsParams struct {
// State Filter by state (queued, running, canceling, succeeded, failed, canceled).
State *string `form:"state,omitempty" json:"state,omitempty"`
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminListMemoryKindMigrationsParams defines parameters for AdminListMemoryKindMigrations.
type AdminListMemoryKindMigrationsRequestObject ¶ added in v0.2.0
type AdminListMemoryKindMigrationsRequestObject struct {
Params AdminListMemoryKindMigrationsParams
}
type AdminListMemoryKindMigrationsResponseObject ¶ added in v0.2.0
type AdminListMemoryKindMigrationsResponseObject interface {
VisitAdminListMemoryKindMigrationsResponse(w http.ResponseWriter) error
}
type AdminListMemoryKindMigrationsdefaultJSONResponse ¶ added in v0.2.0
type AdminListMemoryKindMigrationsdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminListMemoryKindMigrationsdefaultJSONResponse) VisitAdminListMemoryKindMigrationsResponse ¶ added in v0.2.0
func (response AdminListMemoryKindMigrationsdefaultJSONResponse) VisitAdminListMemoryKindMigrationsResponse(w http.ResponseWriter) error
type AdminListMemoryKindVersions200JSONResponse ¶ added in v0.2.0
type AdminListMemoryKindVersions200JSONResponse ListMemoryKindVersionsResponse
func (AdminListMemoryKindVersions200JSONResponse) VisitAdminListMemoryKindVersionsResponse ¶ added in v0.2.0
func (response AdminListMemoryKindVersions200JSONResponse) VisitAdminListMemoryKindVersionsResponse(w http.ResponseWriter) error
type AdminListMemoryKindVersionsParams ¶ added in v0.2.0
type AdminListMemoryKindVersionsParams struct {
// Family Filter by schema family name.
Family *string `form:"family,omitempty" json:"family,omitempty"`
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminListMemoryKindVersionsParams defines parameters for AdminListMemoryKindVersions.
type AdminListMemoryKindVersionsRequestObject ¶ added in v0.2.0
type AdminListMemoryKindVersionsRequestObject struct {
Params AdminListMemoryKindVersionsParams
}
type AdminListMemoryKindVersionsResponseObject ¶ added in v0.2.0
type AdminListMemoryKindVersionsResponseObject interface {
VisitAdminListMemoryKindVersionsResponse(w http.ResponseWriter) error
}
type AdminListMemoryKindVersionsdefaultJSONResponse ¶ added in v0.2.0
type AdminListMemoryKindVersionsdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminListMemoryKindVersionsdefaultJSONResponse) VisitAdminListMemoryKindVersionsResponse ¶ added in v0.2.0
func (response AdminListMemoryKindVersionsdefaultJSONResponse) VisitAdminListMemoryKindVersionsResponse(w http.ResponseWriter) error
type AdminListMemoryNamespaces200JSONResponse ¶
type AdminListMemoryNamespaces200JSONResponse AdminListMemoryNamespacesResponse
func (AdminListMemoryNamespaces200JSONResponse) VisitAdminListMemoryNamespacesResponse ¶
func (response AdminListMemoryNamespaces200JSONResponse) VisitAdminListMemoryNamespacesResponse(w http.ResponseWriter) error
type AdminListMemoryNamespacesParams ¶
type AdminListMemoryNamespacesParams struct {
// NamespacePrefix Namespace prefix segments. Repeat once per segment.
NamespacePrefix *[]string `form:"namespacePrefix,omitempty" json:"namespacePrefix,omitempty"`
// Suffix Namespace suffix segments. Repeat once per segment.
Suffix *[]string `form:"suffix,omitempty" json:"suffix,omitempty"`
MaxDepth *int `form:"maxDepth,omitempty" json:"maxDepth,omitempty"`
Archived *AdminListMemoryNamespacesParamsArchived `form:"archived,omitempty" json:"archived,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
AfterCursor *string `form:"afterCursor,omitempty" json:"afterCursor,omitempty"`
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminListMemoryNamespacesParams defines parameters for AdminListMemoryNamespaces.
type AdminListMemoryNamespacesParamsArchived ¶
type AdminListMemoryNamespacesParamsArchived string
AdminListMemoryNamespacesParamsArchived defines parameters for AdminListMemoryNamespaces.
const ( AdminListMemoryNamespacesParamsArchivedExclude AdminListMemoryNamespacesParamsArchived = "exclude" AdminListMemoryNamespacesParamsArchivedInclude AdminListMemoryNamespacesParamsArchived = "include" AdminListMemoryNamespacesParamsArchivedOnly AdminListMemoryNamespacesParamsArchived = "only" )
Defines values for AdminListMemoryNamespacesParamsArchived.
func (AdminListMemoryNamespacesParamsArchived) Valid ¶
func (e AdminListMemoryNamespacesParamsArchived) Valid() bool
Valid indicates whether the value is a known member of the AdminListMemoryNamespacesParamsArchived enum.
type AdminListMemoryNamespacesRequestObject ¶
type AdminListMemoryNamespacesRequestObject struct {
Params AdminListMemoryNamespacesParams
}
type AdminListMemoryNamespacesResponse ¶
type AdminListMemoryNamespacesResponse struct {
AfterCursor *string `json:"afterCursor,omitempty"`
Namespaces *[]AdminMemoryNamespace `json:"namespaces,omitempty"`
}
AdminListMemoryNamespacesResponse defines model for AdminListMemoryNamespacesResponse.
type AdminListMemoryNamespacesResponseObject ¶
type AdminListMemoryNamespacesResponseObject interface {
VisitAdminListMemoryNamespacesResponse(w http.ResponseWriter) error
}
type AdminListMemoryNamespacesdefaultJSONResponse ¶
type AdminListMemoryNamespacesdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminListMemoryNamespacesdefaultJSONResponse) VisitAdminListMemoryNamespacesResponse ¶
func (response AdminListMemoryNamespacesdefaultJSONResponse) VisitAdminListMemoryNamespacesResponse(w http.ResponseWriter) error
type AdminListTopMemoryUsage200JSONResponse ¶
type AdminListTopMemoryUsage200JSONResponse ListTopMemoryUsageResponse
func (AdminListTopMemoryUsage200JSONResponse) VisitAdminListTopMemoryUsageResponse ¶
func (response AdminListTopMemoryUsage200JSONResponse) VisitAdminListTopMemoryUsageResponse(w http.ResponseWriter) error
type AdminListTopMemoryUsageParams ¶
type AdminListTopMemoryUsageParams struct {
// Prefix Namespace prefix segments. Repeat once per segment.
Prefix *[]string `form:"prefix,omitempty" json:"prefix,omitempty"`
Sort *AdminListTopMemoryUsageParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
AdminListTopMemoryUsageParams defines parameters for AdminListTopMemoryUsage.
type AdminListTopMemoryUsageParamsSort ¶
type AdminListTopMemoryUsageParamsSort string
AdminListTopMemoryUsageParamsSort defines parameters for AdminListTopMemoryUsage.
const ( FetchCount AdminListTopMemoryUsageParamsSort = "fetch_count" LastFetchedAt AdminListTopMemoryUsageParamsSort = "last_fetched_at" )
Defines values for AdminListTopMemoryUsageParamsSort.
func (AdminListTopMemoryUsageParamsSort) Valid ¶
func (e AdminListTopMemoryUsageParamsSort) Valid() bool
Valid indicates whether the value is a known member of the AdminListTopMemoryUsageParamsSort enum.
type AdminListTopMemoryUsageRequestObject ¶
type AdminListTopMemoryUsageRequestObject struct {
Params AdminListTopMemoryUsageParams
}
type AdminListTopMemoryUsageResponseObject ¶
type AdminListTopMemoryUsageResponseObject interface {
VisitAdminListTopMemoryUsageResponse(w http.ResponseWriter) error
}
type AdminListTopMemoryUsagedefaultJSONResponse ¶
type AdminListTopMemoryUsagedefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminListTopMemoryUsagedefaultJSONResponse) VisitAdminListTopMemoryUsageResponse ¶
func (response AdminListTopMemoryUsagedefaultJSONResponse) VisitAdminListTopMemoryUsageResponse(w http.ResponseWriter) error
type AdminMemoryItem ¶
type AdminMemoryItem struct {
Archived *bool `json:"archived,omitempty"`
ArchivedAt *time.Time `json:"archivedAt,omitempty"`
Attributes *map[string]interface{} `json:"attributes,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
Id *openapi_types.UUID `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
// Kind Canonical schema name for this memory row (e.g. "default/v1"). Always non-empty.
Kind string `json:"kind"`
// MatchedQueries Attribution — purposes (or texts) of all queries that matched this item. Present only in multi-query responses.
MatchedQueries *[]string `json:"matchedQueries,omitempty"`
Namespace *[]string `json:"namespace,omitempty"`
Revision *int64 `json:"revision,omitempty"`
Score *float64 `json:"score,omitempty"`
Usage *MemoryUsageResponse `json:"usage,omitempty"`
Value *map[string]interface{} `json:"value,omitempty"`
}
AdminMemoryItem defines model for AdminMemoryItem.
type AdminMemoryNamespace ¶
type AdminMemoryNamespace struct {
Segments *[]string `json:"segments,omitempty"`
}
AdminMemoryNamespace defines model for AdminMemoryNamespace.
type AdminMemorySearchQuery ¶ added in v0.0.3
type AdminMemorySearchQuery struct {
// Purpose Human-readable label used as attribution in matchedQueries. Defaults to text when absent.
Purpose *string `json:"purpose,omitempty"`
// Text The search string for this query. Must be non-empty.
Text string `json:"text"`
}
AdminMemorySearchQuery defines model for AdminMemorySearchQuery.
type AdminOutboxStats ¶
type AdminOutboxStats struct {
// OldestAt Oldest retained outbox event timestamp.
OldestAt time.Time `json:"oldestAt"`
Total int64 `json:"total"`
}
AdminOutboxStats defines model for AdminOutboxStats.
type AdminPutCheckpoint200JSONResponse ¶
type AdminPutCheckpoint200JSONResponse AdminCheckpoint
func (AdminPutCheckpoint200JSONResponse) VisitAdminPutCheckpointResponse ¶
func (response AdminPutCheckpoint200JSONResponse) VisitAdminPutCheckpointResponse(w http.ResponseWriter) error
type AdminPutCheckpoint400JSONResponse ¶
type AdminPutCheckpoint400JSONResponse ErrorResponse
func (AdminPutCheckpoint400JSONResponse) VisitAdminPutCheckpointResponse ¶
func (response AdminPutCheckpoint400JSONResponse) VisitAdminPutCheckpointResponse(w http.ResponseWriter) error
type AdminPutCheckpoint401Response ¶
type AdminPutCheckpoint401Response struct {
}
func (AdminPutCheckpoint401Response) VisitAdminPutCheckpointResponse ¶
func (response AdminPutCheckpoint401Response) VisitAdminPutCheckpointResponse(w http.ResponseWriter) error
type AdminPutCheckpoint403Response ¶
type AdminPutCheckpoint403Response struct {
}
func (AdminPutCheckpoint403Response) VisitAdminPutCheckpointResponse ¶
func (response AdminPutCheckpoint403Response) VisitAdminPutCheckpointResponse(w http.ResponseWriter) error
type AdminPutCheckpoint409JSONResponse ¶ added in v0.3.0
type AdminPutCheckpoint409JSONResponse ErrorResponse
func (AdminPutCheckpoint409JSONResponse) VisitAdminPutCheckpointResponse ¶ added in v0.3.0
func (response AdminPutCheckpoint409JSONResponse) VisitAdminPutCheckpointResponse(w http.ResponseWriter) error
type AdminPutCheckpointJSONRequestBody ¶
type AdminPutCheckpointJSONRequestBody = AdminCheckpointPutRequest
AdminPutCheckpointJSONRequestBody defines body for AdminPutCheckpoint for application/json ContentType.
type AdminPutCheckpointRequestObject ¶
type AdminPutCheckpointRequestObject struct {
ClientId string `json:"clientId"`
Body *AdminPutCheckpointJSONRequestBody
}
type AdminPutCheckpointResponseObject ¶
type AdminPutCheckpointResponseObject interface {
VisitAdminPutCheckpointResponse(w http.ResponseWriter) error
}
type AdminPutMemory200JSONResponse ¶ added in v0.0.3
type AdminPutMemory200JSONResponse MemoryWriteResult
func (AdminPutMemory200JSONResponse) VisitAdminPutMemoryResponse ¶ added in v0.0.3
func (response AdminPutMemory200JSONResponse) VisitAdminPutMemoryResponse(w http.ResponseWriter) error
type AdminPutMemory201JSONResponse ¶ added in v0.5.0
type AdminPutMemory201JSONResponse MemoryWriteResult
func (AdminPutMemory201JSONResponse) VisitAdminPutMemoryResponse ¶ added in v0.5.0
func (response AdminPutMemory201JSONResponse) VisitAdminPutMemoryResponse(w http.ResponseWriter) error
type AdminPutMemory400JSONResponse ¶ added in v0.5.0
type AdminPutMemory400JSONResponse ErrorResponse
func (AdminPutMemory400JSONResponse) VisitAdminPutMemoryResponse ¶ added in v0.5.0
func (response AdminPutMemory400JSONResponse) VisitAdminPutMemoryResponse(w http.ResponseWriter) error
type AdminPutMemory404JSONResponse ¶ added in v0.5.0
type AdminPutMemory404JSONResponse ErrorResponse
func (AdminPutMemory404JSONResponse) VisitAdminPutMemoryResponse ¶ added in v0.5.0
func (response AdminPutMemory404JSONResponse) VisitAdminPutMemoryResponse(w http.ResponseWriter) error
type AdminPutMemory409JSONResponse ¶ added in v0.5.0
type AdminPutMemory409JSONResponse ErrorResponse
func (AdminPutMemory409JSONResponse) VisitAdminPutMemoryResponse ¶ added in v0.5.0
func (response AdminPutMemory409JSONResponse) VisitAdminPutMemoryResponse(w http.ResponseWriter) error
type AdminPutMemoryJSONRequestBody ¶ added in v0.0.3
type AdminPutMemoryJSONRequestBody = PutMemoryRequest
AdminPutMemoryJSONRequestBody defines body for AdminPutMemory for application/json ContentType.
type AdminPutMemoryParams ¶ added in v0.0.3
type AdminPutMemoryParams struct {
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminPutMemoryParams defines parameters for AdminPutMemory.
type AdminPutMemoryRequestObject ¶ added in v0.0.3
type AdminPutMemoryRequestObject struct {
Params AdminPutMemoryParams
Body *AdminPutMemoryJSONRequestBody
}
type AdminPutMemoryResponseObject ¶ added in v0.0.3
type AdminPutMemoryResponseObject interface {
VisitAdminPutMemoryResponse(w http.ResponseWriter) error
}
type AdminPutMemorydefaultJSONResponse ¶ added in v0.0.3
type AdminPutMemorydefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminPutMemorydefaultJSONResponse) VisitAdminPutMemoryResponse ¶ added in v0.0.3
func (response AdminPutMemorydefaultJSONResponse) VisitAdminPutMemoryResponse(w http.ResponseWriter) error
type AdminSearchConversations200JSONResponse ¶
type AdminSearchConversations200JSONResponse struct {
AfterCursor *string `json:"afterCursor,omitempty"`
Data *[]SearchResult `json:"data,omitempty"`
}
func (AdminSearchConversations200JSONResponse) VisitAdminSearchConversationsResponse ¶
func (response AdminSearchConversations200JSONResponse) VisitAdminSearchConversationsResponse(w http.ResponseWriter) error
type AdminSearchConversationsJSONRequestBody ¶
type AdminSearchConversationsJSONRequestBody = AdminSearchEntriesRequest
AdminSearchConversationsJSONRequestBody defines body for AdminSearchConversations for application/json ContentType.
type AdminSearchConversationsParams ¶
type AdminSearchConversationsParams struct {
// Justification Reason for this admin action (for audit log).
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminSearchConversationsParams defines parameters for AdminSearchConversations.
type AdminSearchConversationsRequestObject ¶
type AdminSearchConversationsRequestObject struct {
Params AdminSearchConversationsParams
Body *AdminSearchConversationsJSONRequestBody
}
type AdminSearchConversationsResponseObject ¶
type AdminSearchConversationsResponseObject interface {
VisitAdminSearchConversationsResponse(w http.ResponseWriter) error
}
type AdminSearchConversationsdefaultJSONResponse ¶
type AdminSearchConversationsdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminSearchConversationsdefaultJSONResponse) VisitAdminSearchConversationsResponse ¶
func (response AdminSearchConversationsdefaultJSONResponse) VisitAdminSearchConversationsResponse(w http.ResponseWriter) error
type AdminSearchEntriesRequest ¶
type AdminSearchEntriesRequest struct {
// AfterCursor Cursor for pagination; returns items after this result.
AfterCursor *string `json:"afterCursor,omitempty"`
// IncludeArchived Include entries from archived conversations.
IncludeArchived *bool `json:"includeArchived,omitempty"`
// IncludeEntry Whether to include the full entry in results. Set to false to reduce response size when only metadata is needed.
IncludeEntry *bool `json:"includeEntry,omitempty"`
// Limit Maximum number of results to return. The server may enforce a lower configured maximum.
Limit *int `json:"limit,omitempty"`
// Query Natural language query.
Query string `json:"query"`
// UserId Filter search to conversations owned by this user.
UserId *string `json:"userId,omitempty"`
}
AdminSearchEntriesRequest defines model for AdminSearchEntriesRequest.
type AdminSearchMemories200JSONResponse ¶
type AdminSearchMemories200JSONResponse AdminSearchMemoriesResponse
func (AdminSearchMemories200JSONResponse) VisitAdminSearchMemoriesResponse ¶
func (response AdminSearchMemories200JSONResponse) VisitAdminSearchMemoriesResponse(w http.ResponseWriter) error
type AdminSearchMemoriesJSONRequestBody ¶
type AdminSearchMemoriesJSONRequestBody = AdminSearchMemoriesRequest
AdminSearchMemoriesJSONRequestBody defines body for AdminSearchMemories for application/json ContentType.
type AdminSearchMemoriesRequest ¶
type AdminSearchMemoriesRequest struct {
Archived *AdminSearchMemoriesRequestArchived `json:"archived,omitempty"`
AsUserId *string `json:"as_user_id,omitempty"`
Filter *map[string]interface{} `json:"filter,omitempty"`
IncludeUsage *bool `json:"include_usage,omitempty"`
Justification *string `json:"justification,omitempty"`
KeyPrefix *string `json:"key_prefix,omitempty"`
// Kind Optional schema selector. An exact canonical name searches that version only.
// A family name searches all versions in that family. Omission searches all schemas.
Kind *string `json:"kind,omitempty"`
// Limit Maximum number of results to return. The server may enforce a lower configured maximum.
Limit *int `json:"limit,omitempty"`
NamespacePrefix *[]string `json:"namespace_prefix,omitempty"`
// PerQueryLimit Per-query vector search budget. Defaults to limit when absent.
PerQueryLimit *int `json:"per_query_limit,omitempty"`
// Queries Batch of semantic search strings for multi-query retrieval. Mutually exclusive with query.
Queries *[]AdminMemorySearchQuery `json:"queries,omitempty"`
// Query Single semantic search string. Mutually exclusive with queries.
Query *string `json:"query,omitempty"`
// Sort One-field typed sort for attribute-only memory searches. Rejected when query or queries
// is present (semantic results are ordered by similarity score).
Sort *MemoryAttributeSort `json:"sort,omitempty"`
}
AdminSearchMemoriesRequest defines model for AdminSearchMemoriesRequest.
type AdminSearchMemoriesRequestArchived ¶
type AdminSearchMemoriesRequestArchived string
AdminSearchMemoriesRequestArchived defines model for AdminSearchMemoriesRequest.Archived.
const ( AdminSearchMemoriesRequestArchivedExclude AdminSearchMemoriesRequestArchived = "exclude" AdminSearchMemoriesRequestArchivedInclude AdminSearchMemoriesRequestArchived = "include" AdminSearchMemoriesRequestArchivedOnly AdminSearchMemoriesRequestArchived = "only" )
Defines values for AdminSearchMemoriesRequestArchived.
func (AdminSearchMemoriesRequestArchived) Valid ¶
func (e AdminSearchMemoriesRequestArchived) Valid() bool
Valid indicates whether the value is a known member of the AdminSearchMemoriesRequestArchived enum.
type AdminSearchMemoriesRequestObject ¶
type AdminSearchMemoriesRequestObject struct {
Body *AdminSearchMemoriesJSONRequestBody
}
type AdminSearchMemoriesResponse ¶
type AdminSearchMemoriesResponse struct {
Items *[]AdminMemoryItem `json:"items,omitempty"`
}
AdminSearchMemoriesResponse defines model for AdminSearchMemoriesResponse.
type AdminSearchMemoriesResponseObject ¶
type AdminSearchMemoriesResponseObject interface {
VisitAdminSearchMemoriesResponse(w http.ResponseWriter) error
}
type AdminSearchMemoriesdefaultJSONResponse ¶
type AdminSearchMemoriesdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminSearchMemoriesdefaultJSONResponse) VisitAdminSearchMemoriesResponse ¶
func (response AdminSearchMemoriesdefaultJSONResponse) VisitAdminSearchMemoriesResponse(w http.ResponseWriter) error
type AdminStatsSummaryResponse ¶
type AdminStatsSummaryResponse struct {
ConversationGroups AdminConversationGroupStats `json:"conversationGroups"`
Conversations AdminTotalStats `json:"conversations"`
Entries AdminTotalStats `json:"entries"`
Memories AdminArchivedTotalStats `json:"memories"`
OutboxEvents AdminOutboxStats `json:"outboxEvents"`
}
AdminStatsSummaryResponse defines model for AdminStatsSummaryResponse.
type AdminSubscribeEvents200TexteventStreamResponse ¶
func (AdminSubscribeEvents200TexteventStreamResponse) VisitAdminSubscribeEventsResponse ¶
func (response AdminSubscribeEvents200TexteventStreamResponse) VisitAdminSubscribeEventsResponse(w http.ResponseWriter) error
type AdminSubscribeEvents400Response ¶
type AdminSubscribeEvents400Response struct {
}
func (AdminSubscribeEvents400Response) VisitAdminSubscribeEventsResponse ¶
func (response AdminSubscribeEvents400Response) VisitAdminSubscribeEventsResponse(w http.ResponseWriter) error
type AdminSubscribeEvents401Response ¶
type AdminSubscribeEvents401Response struct {
}
func (AdminSubscribeEvents401Response) VisitAdminSubscribeEventsResponse ¶
func (response AdminSubscribeEvents401Response) VisitAdminSubscribeEventsResponse(w http.ResponseWriter) error
type AdminSubscribeEvents403Response ¶
type AdminSubscribeEvents403Response struct {
}
func (AdminSubscribeEvents403Response) VisitAdminSubscribeEventsResponse ¶
func (response AdminSubscribeEvents403Response) VisitAdminSubscribeEventsResponse(w http.ResponseWriter) error
type AdminSubscribeEvents501Response ¶
type AdminSubscribeEvents501Response struct {
}
func (AdminSubscribeEvents501Response) VisitAdminSubscribeEventsResponse ¶
func (response AdminSubscribeEvents501Response) VisitAdminSubscribeEventsResponse(w http.ResponseWriter) error
type AdminSubscribeEventsParams ¶
type AdminSubscribeEventsParams struct {
// Justification Optional reason for subscribing, logged for audit when present. Servers configured to require admin justifications reject requests without one.
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
// Kinds Comma-separated event kinds to filter.
Kinds *string `form:"kinds,omitempty" json:"kinds,omitempty"`
// After Replay events after the provided durable cursor. Requires the outbox feature to be enabled.
After *string `form:"after,omitempty" json:"after,omitempty"`
// Detail With `full`, data is the corresponding admin OpenAPI resource, including admin-only routing fields.
Detail *AdminSubscribeEventsParamsDetail `form:"detail,omitempty" json:"detail,omitempty"`
// InitialState With `current`, emits a snapshot phase containing the current full resources, then replays changes committed after the snapshot boundary and continues live. Requires `detail=full`, an enabled outbox, and no `after` cursor.
InitialState *AdminSubscribeEventsParamsInitialState `form:"initial_state,omitempty" json:"initial_state,omitempty"`
// EntryChannels Comma-separated entry channels to deliver for entry events. Defaults to history.
EntryChannels *string `form:"entry_channels,omitempty" json:"entry_channels,omitempty"`
// EntryContentTypes Comma-separated entry content types to deliver for entry events. Omit to allow any.
EntryContentTypes *string `form:"entry_content_types,omitempty" json:"entry_content_types,omitempty"`
// EntryRoles Comma-separated entry roles to deliver for entry events. Omit to allow any.
EntryRoles *string `form:"entry_roles,omitempty" json:"entry_roles,omitempty"`
}
AdminSubscribeEventsParams defines parameters for AdminSubscribeEvents.
type AdminSubscribeEventsParamsDetail ¶
type AdminSubscribeEventsParamsDetail string
AdminSubscribeEventsParamsDetail defines parameters for AdminSubscribeEvents.
const ( Full AdminSubscribeEventsParamsDetail = "full" Summary AdminSubscribeEventsParamsDetail = "summary" )
Defines values for AdminSubscribeEventsParamsDetail.
func (AdminSubscribeEventsParamsDetail) Valid ¶
func (e AdminSubscribeEventsParamsDetail) Valid() bool
Valid indicates whether the value is a known member of the AdminSubscribeEventsParamsDetail enum.
type AdminSubscribeEventsParamsInitialState ¶ added in v0.3.0
type AdminSubscribeEventsParamsInitialState string
AdminSubscribeEventsParamsInitialState defines parameters for AdminSubscribeEvents.
const ( AdminSubscribeEventsParamsInitialStateCurrent AdminSubscribeEventsParamsInitialState = "current" AdminSubscribeEventsParamsInitialStateNone AdminSubscribeEventsParamsInitialState = "none" )
Defines values for AdminSubscribeEventsParamsInitialState.
func (AdminSubscribeEventsParamsInitialState) Valid ¶ added in v0.3.0
func (e AdminSubscribeEventsParamsInitialState) Valid() bool
Valid indicates whether the value is a known member of the AdminSubscribeEventsParamsInitialState enum.
type AdminSubscribeEventsRequestObject ¶
type AdminSubscribeEventsRequestObject struct {
Params AdminSubscribeEventsParams
}
type AdminSubscribeEventsResponseObject ¶
type AdminSubscribeEventsResponseObject interface {
VisitAdminSubscribeEventsResponse(w http.ResponseWriter) error
}
type AdminTotalStats ¶
type AdminTotalStats struct {
Total int64 `json:"total"`
}
AdminTotalStats defines model for AdminTotalStats.
type AdminTriggerMemoryIndex200JSONResponse ¶
type AdminTriggerMemoryIndex200JSONResponse MemoryIndexTriggerResponse
func (AdminTriggerMemoryIndex200JSONResponse) VisitAdminTriggerMemoryIndexResponse ¶
func (response AdminTriggerMemoryIndex200JSONResponse) VisitAdminTriggerMemoryIndexResponse(w http.ResponseWriter) error
type AdminTriggerMemoryIndexRequestObject ¶
type AdminTriggerMemoryIndexRequestObject struct {
}
type AdminTriggerMemoryIndexResponseObject ¶
type AdminTriggerMemoryIndexResponseObject interface {
VisitAdminTriggerMemoryIndexResponse(w http.ResponseWriter) error
}
type AdminTriggerMemoryIndexdefaultJSONResponse ¶
type AdminTriggerMemoryIndexdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminTriggerMemoryIndexdefaultJSONResponse) VisitAdminTriggerMemoryIndexResponse ¶
func (response AdminTriggerMemoryIndexdefaultJSONResponse) VisitAdminTriggerMemoryIndexResponse(w http.ResponseWriter) error
type AdminUpdateConversation200JSONResponse ¶
type AdminUpdateConversation200JSONResponse AdminConversation
func (AdminUpdateConversation200JSONResponse) VisitAdminUpdateConversationResponse ¶
func (response AdminUpdateConversation200JSONResponse) VisitAdminUpdateConversationResponse(w http.ResponseWriter) error
type AdminUpdateConversation404JSONResponse ¶
type AdminUpdateConversation404JSONResponse struct{ NotFoundJSONResponse }
func (AdminUpdateConversation404JSONResponse) VisitAdminUpdateConversationResponse ¶
func (response AdminUpdateConversation404JSONResponse) VisitAdminUpdateConversationResponse(w http.ResponseWriter) error
type AdminUpdateConversationJSONRequestBody ¶
type AdminUpdateConversationJSONRequestBody = AdminUpdateConversationRequest
AdminUpdateConversationJSONRequestBody defines body for AdminUpdateConversation for application/json ContentType.
type AdminUpdateConversationRequest ¶
type AdminUpdateConversationRequest struct {
// Archived Set to `true` to archive or `false` to unarchive the conversation fork tree.
Archived *bool `json:"archived,omitempty"`
// Justification Reason for the admin action (for audit log).
Justification *string `json:"justification,omitempty"`
// Metadata Arbitrary key-value metadata merge-patch. Keys present are set, keys absent are left unchanged, and keys explicitly set to `null` are removed. A top-level `null` or empty object is a no-op.
Metadata *map[string]interface{} `json:"metadata,omitempty"`
// Title Optional new title for the conversation. Set to null to clear.
Title *string `json:"title,omitempty"`
}
AdminUpdateConversationRequest defines model for AdminUpdateConversationRequest.
type AdminUpdateConversationRequestObject ¶
type AdminUpdateConversationRequestObject struct {
Id string `json:"id"`
Body *AdminUpdateConversationJSONRequestBody
}
type AdminUpdateConversationResponseObject ¶
type AdminUpdateConversationResponseObject interface {
VisitAdminUpdateConversationResponse(w http.ResponseWriter) error
}
type AdminUpdateConversationdefaultJSONResponse ¶
type AdminUpdateConversationdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminUpdateConversationdefaultJSONResponse) VisitAdminUpdateConversationResponse ¶
func (response AdminUpdateConversationdefaultJSONResponse) VisitAdminUpdateConversationResponse(w http.ResponseWriter) error
type AdminUpdateMemory204Response ¶ added in v0.0.3
type AdminUpdateMemory204Response struct {
}
func (AdminUpdateMemory204Response) VisitAdminUpdateMemoryResponse ¶ added in v0.0.3
func (response AdminUpdateMemory204Response) VisitAdminUpdateMemoryResponse(w http.ResponseWriter) error
type AdminUpdateMemory404JSONResponse ¶ added in v0.0.3
type AdminUpdateMemory404JSONResponse struct{ NotFoundJSONResponse }
func (AdminUpdateMemory404JSONResponse) VisitAdminUpdateMemoryResponse ¶ added in v0.0.3
func (response AdminUpdateMemory404JSONResponse) VisitAdminUpdateMemoryResponse(w http.ResponseWriter) error
type AdminUpdateMemoryJSONRequestBody ¶ added in v0.0.3
type AdminUpdateMemoryJSONRequestBody = UpdateMemoryRequest
AdminUpdateMemoryJSONRequestBody defines body for AdminUpdateMemory for application/json ContentType.
type AdminUpdateMemoryParams ¶ added in v0.0.3
type AdminUpdateMemoryParams struct {
// Ns Namespace segments. Repeat once per segment.
Ns []string `form:"ns" json:"ns"`
Key string `form:"key" json:"key"`
Justification *string `form:"justification,omitempty" json:"justification,omitempty"`
}
AdminUpdateMemoryParams defines parameters for AdminUpdateMemory.
type AdminUpdateMemoryRequestObject ¶ added in v0.0.3
type AdminUpdateMemoryRequestObject struct {
Params AdminUpdateMemoryParams
Body *AdminUpdateMemoryJSONRequestBody
}
type AdminUpdateMemoryResponseObject ¶ added in v0.0.3
type AdminUpdateMemoryResponseObject interface {
VisitAdminUpdateMemoryResponse(w http.ResponseWriter) error
}
type AdminUpdateMemorydefaultJSONResponse ¶ added in v0.0.3
type AdminUpdateMemorydefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminUpdateMemorydefaultJSONResponse) VisitAdminUpdateMemoryResponse ¶ added in v0.0.3
func (response AdminUpdateMemorydefaultJSONResponse) VisitAdminUpdateMemoryResponse(w http.ResponseWriter) error
type BadRequest ¶ added in v0.0.4
type BadRequest = ErrorResponse
BadRequest defines model for BadRequest.
type BadRequestJSONResponse ¶ added in v0.0.4
type BadRequestJSONResponse ErrorResponse
type Channel ¶
type Channel string
Channel Logical channel of the entry within the conversation.
Defines values for Channel.
type ConversationEvictionFilter ¶ added in v0.5.0
type ConversationEvictionFilter struct {
// AgeBasis Clock compared with `retentionPeriod`. A group is selected when its
// clock is earlier than the current time minus the retention period.
// - archivedAt: when the group was archived. Requires `archived: only`.
// - lastActivity: the most recent conversation creation, conversation
// update, or entry append anywhere in the tree that would be
// deleted, including forks and descendant child groups. Activity
// committed before the deletion prevents it.
// - createdAt: when the group was created, regardless of later activity.
AgeBasis *ConversationEvictionFilterAgeBasis `json:"ageBasis,omitempty"`
// Archived Archive state of the candidate conversation groups.
// - only: archived groups.
// - exclude: unarchived groups.
// - include: archived and unarchived groups.
Archived *ConversationEvictionFilterArchived `json:"archived,omitempty"`
}
ConversationEvictionFilter Selects which conversation groups `conversations` eviction deletes. Valid only when `resourceTypes` includes `conversations`; it does not affect other resource types. Omitting the filter, or any of its properties, uses the defaults `archived: only` and `ageBasis: archivedAt`, which select groups archived longer than the retention period.
A selected group is deleted with its forks and every descendant child conversation group, regardless of their archive state or age.
type ConversationEvictionFilterAgeBasis ¶ added in v0.5.0
type ConversationEvictionFilterAgeBasis string
ConversationEvictionFilterAgeBasis Clock compared with `retentionPeriod`. A group is selected when its clock is earlier than the current time minus the retention period.
- archivedAt: when the group was archived. Requires `archived: only`.
- lastActivity: the most recent conversation creation, conversation update, or entry append anywhere in the tree that would be deleted, including forks and descendant child groups. Activity committed before the deletion prevents it.
- createdAt: when the group was created, regardless of later activity.
const ( ArchivedAt ConversationEvictionFilterAgeBasis = "archivedAt" CreatedAt ConversationEvictionFilterAgeBasis = "createdAt" LastActivity ConversationEvictionFilterAgeBasis = "lastActivity" )
Defines values for ConversationEvictionFilterAgeBasis.
func (ConversationEvictionFilterAgeBasis) Valid ¶ added in v0.5.0
func (e ConversationEvictionFilterAgeBasis) Valid() bool
Valid indicates whether the value is a known member of the ConversationEvictionFilterAgeBasis enum.
type ConversationEvictionFilterArchived ¶ added in v0.5.0
type ConversationEvictionFilterArchived string
ConversationEvictionFilterArchived Archive state of the candidate conversation groups. - only: archived groups. - exclude: unarchived groups. - include: archived and unarchived groups.
const ( ConversationEvictionFilterArchivedExclude ConversationEvictionFilterArchived = "exclude" ConversationEvictionFilterArchivedInclude ConversationEvictionFilterArchived = "include" ConversationEvictionFilterArchivedOnly ConversationEvictionFilterArchived = "only" )
Defines values for ConversationEvictionFilterArchived.
func (ConversationEvictionFilterArchived) Valid ¶ added in v0.5.0
func (e ConversationEvictionFilterArchived) Valid() bool
Valid indicates whether the value is a known member of the ConversationEvictionFilterArchived enum.
type ConversationForkNavigation ¶ added in v0.0.4
type ConversationForkNavigation struct {
}
ConversationForkNavigation defines model for ConversationForkNavigation.
type ConversationForkOption ¶ added in v0.0.4
type ConversationForkOption struct {
ConversationId string `json:"conversationId"`
CreatedAt time.Time `json:"createdAt"`
// EntryId Equivalent display entry for this continuation; null for an empty fork.
EntryId *openapi_types.UUID `json:"entryId,omitempty"`
Preview *string `json:"preview,omitempty"`
Title string `json:"title"`
}
ConversationForkOption defines model for ConversationForkOption.
type ConversationForkPoint ¶ added in v0.0.4
type ConversationForkPoint struct {
// EntryId Visible entry in the requested conversation where the fork selector is rendered.
EntryId openapi_types.UUID `json:"entryId"`
Options []ConversationForkOption `json:"options"`
}
ConversationForkPoint defines model for ConversationForkPoint.
type ConversationForkSummary ¶
type ConversationForkSummary struct {
// ConversationId Unique identifier for the forked conversation.
ConversationId *string `json:"conversationId,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// ForkedAtConversationId Conversation ID where the fork occurred.
ForkedAtConversationId *string `json:"forkedAtConversationId,omitempty"`
// ForkedAtEntryId First parent entry excluded by this fork. Valid fork anchors are history entries and journal entries visible to the same authenticated client; context entries cannot be fork anchors. Null for blank-slate forks that inherit no parent entries.
ForkedAtEntryId *openapi_types.UUID `json:"forkedAtEntryId,omitempty"`
Title *string `json:"title,omitempty"`
}
ConversationForkSummary Summary of a forked conversation originating at a given entry.
type ConversationMembership ¶
type ConversationMembership struct {
// AccessLevel Access level of a user for a conversation.
AccessLevel *AccessLevel `json:"accessLevel,omitempty"`
// ConversationId Unique identifier for the conversation.
ConversationId *string `json:"conversationId,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
UserId *string `json:"userId,omitempty"`
}
ConversationMembership defines model for ConversationMembership.
type CreateMemoryKindMigrationRequest ¶ added in v0.2.0
type CreateMemoryKindMigrationRequest struct {
// NamespacePrefix Optional namespace scope restriction.
NamespacePrefix *[]string `json:"namespace_prefix,omitempty"`
// Source Source schema version canonical name.
Source string `json:"source"`
// Target Target schema version canonical name.
Target string `json:"target"`
}
CreateMemoryKindMigrationRequest defines model for CreateMemoryKindMigrationRequest.
type CreateMemoryKindVersionRequest ¶ added in v0.2.0
type CreateMemoryKindVersionRequest struct {
Attributes map[string]string `json:"attributes"`
// Name Canonical schema name (family/version).
Name string `json:"name"`
// ProjectionRego OPA Rego source for `package memories.attributes`.
ProjectionRego string `json:"projectionRego"`
// Writable Whether new writes may use this immutable version. Defaults to true when omitted.
Writable *bool `json:"writable,omitempty"`
}
CreateMemoryKindVersionRequest defines model for CreateMemoryKindVersionRequest.
type ErrorJSONResponse ¶
type ErrorJSONResponse ErrorResponse
type ErrorResponse ¶
type ErrorResponse struct {
// Code Stable machine-readable error code.
Code string `json:"code"`
// Details Structured non-sensitive error details.
Details *map[string]interface{} `json:"details,omitempty"`
// Error Safe human-readable error message.
Error string `json:"error"`
// RequestId Request correlation identifier, also returned in the X-Request-ID header.
RequestId string `json:"requestId"`
}
ErrorResponse defines model for ErrorResponse.
type EvictErrorEvent ¶
type EvictErrorEvent struct {
// Error Error message describing what went wrong.
Error *string `json:"error,omitempty"`
}
EvictErrorEvent Error event sent via SSE if eviction fails.
type EvictProgressEvent ¶
type EvictProgressEvent struct {
// Progress Percentage of eviction completed (0-100).
Progress *int `json:"progress,omitempty"`
}
EvictProgressEvent Progress event sent via SSE during eviction.
type EvictRequest ¶
type EvictRequest struct {
// ConversationFilter Selects which conversation groups `conversations` eviction deletes.
// Valid only when `resourceTypes` includes `conversations`; it does not
// affect other resource types. Omitting the filter, or any of its
// properties, uses the defaults `archived: only` and
// `ageBasis: archivedAt`, which select groups archived longer than the
// retention period.
//
// A selected group is deleted with its forks and every descendant child
// conversation group, regardless of their archive state or age.
ConversationFilter *ConversationEvictionFilter `json:"conversationFilter,omitempty"`
// Justification Reason for the eviction (for audit log).
Justification *string `json:"justification,omitempty"`
// ResourceTypes Which resource types to evict.
// - conversations: Conversation groups selected by `conversationFilter`
// (archived groups past retention by default).
// - outbox_events: Durable event outbox records created longer ago
// than the retention period. Returns 501 when the configured
// datastore has no event outbox.
ResourceTypes []EvictRequestResourceTypes `json:"resourceTypes"`
// RetentionPeriod ISO 8601 duration. Resources older than this are hard-deleted. For
// conversations, `conversationFilter.ageBasis` selects which clock
// the duration is measured from.
// Examples: P90D (90 days), P1Y (1 year), PT24H (24 hours).
RetentionPeriod string `json:"retentionPeriod"`
}
EvictRequest defines model for EvictRequest.
type EvictRequestResourceTypes ¶
type EvictRequestResourceTypes string
EvictRequestResourceTypes defines model for EvictRequest.ResourceTypes.
const ( Conversations EvictRequestResourceTypes = "conversations" OutboxEvents EvictRequestResourceTypes = "outbox_events" )
Defines values for EvictRequestResourceTypes.
func (EvictRequestResourceTypes) Valid ¶
func (e EvictRequestResourceTypes) Valid() bool
Valid indicates whether the value is a known member of the EvictRequestResourceTypes enum.
type GetCacheHitRate200JSONResponse ¶
type GetCacheHitRate200JSONResponse TimeSeriesResponse
func (GetCacheHitRate200JSONResponse) VisitGetCacheHitRateResponse ¶
func (response GetCacheHitRate200JSONResponse) VisitGetCacheHitRateResponse(w http.ResponseWriter) error
type GetCacheHitRate501JSONResponse ¶
type GetCacheHitRate501JSONResponse ErrorResponse
func (GetCacheHitRate501JSONResponse) VisitGetCacheHitRateResponse ¶
func (response GetCacheHitRate501JSONResponse) VisitGetCacheHitRateResponse(w http.ResponseWriter) error
type GetCacheHitRate503JSONResponse ¶
type GetCacheHitRate503JSONResponse ErrorResponse
func (GetCacheHitRate503JSONResponse) VisitGetCacheHitRateResponse ¶
func (response GetCacheHitRate503JSONResponse) VisitGetCacheHitRateResponse(w http.ResponseWriter) error
type GetCacheHitRateParams ¶
type GetCacheHitRateParams struct {
// Start Start of time range (ISO 8601 timestamp). Defaults to 1 hour ago.
Start *StatsStart `form:"start,omitempty" json:"start,omitempty"`
// End End of time range (ISO 8601 timestamp). Defaults to now.
End *StatsEnd `form:"end,omitempty" json:"end,omitempty"`
// Step Resolution step for the time series (e.g., "60s", "5m"). Defaults to "60s".
Step *StatsStep `form:"step,omitempty" json:"step,omitempty"`
}
GetCacheHitRateParams defines parameters for GetCacheHitRate.
type GetCacheHitRateRequestObject ¶
type GetCacheHitRateRequestObject struct {
Params GetCacheHitRateParams
}
type GetCacheHitRateResponseObject ¶
type GetCacheHitRateResponseObject interface {
VisitGetCacheHitRateResponse(w http.ResponseWriter) error
}
type GetCacheHitRatedefaultJSONResponse ¶
type GetCacheHitRatedefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (GetCacheHitRatedefaultJSONResponse) VisitGetCacheHitRateResponse ¶
func (response GetCacheHitRatedefaultJSONResponse) VisitGetCacheHitRateResponse(w http.ResponseWriter) error
type GetDbPoolUtilization200JSONResponse ¶
type GetDbPoolUtilization200JSONResponse TimeSeriesResponse
func (GetDbPoolUtilization200JSONResponse) VisitGetDbPoolUtilizationResponse ¶
func (response GetDbPoolUtilization200JSONResponse) VisitGetDbPoolUtilizationResponse(w http.ResponseWriter) error
type GetDbPoolUtilization501JSONResponse ¶
type GetDbPoolUtilization501JSONResponse ErrorResponse
func (GetDbPoolUtilization501JSONResponse) VisitGetDbPoolUtilizationResponse ¶
func (response GetDbPoolUtilization501JSONResponse) VisitGetDbPoolUtilizationResponse(w http.ResponseWriter) error
type GetDbPoolUtilization503JSONResponse ¶
type GetDbPoolUtilization503JSONResponse ErrorResponse
func (GetDbPoolUtilization503JSONResponse) VisitGetDbPoolUtilizationResponse ¶
func (response GetDbPoolUtilization503JSONResponse) VisitGetDbPoolUtilizationResponse(w http.ResponseWriter) error
type GetDbPoolUtilizationParams ¶
type GetDbPoolUtilizationParams struct {
// Start Start of time range (ISO 8601 timestamp). Defaults to 1 hour ago.
Start *StatsStart `form:"start,omitempty" json:"start,omitempty"`
// End End of time range (ISO 8601 timestamp). Defaults to now.
End *StatsEnd `form:"end,omitempty" json:"end,omitempty"`
// Step Resolution step for the time series (e.g., "60s", "5m"). Defaults to "60s".
Step *StatsStep `form:"step,omitempty" json:"step,omitempty"`
}
GetDbPoolUtilizationParams defines parameters for GetDbPoolUtilization.
type GetDbPoolUtilizationRequestObject ¶
type GetDbPoolUtilizationRequestObject struct {
Params GetDbPoolUtilizationParams
}
type GetDbPoolUtilizationResponseObject ¶
type GetDbPoolUtilizationResponseObject interface {
VisitGetDbPoolUtilizationResponse(w http.ResponseWriter) error
}
type GetDbPoolUtilizationdefaultJSONResponse ¶
type GetDbPoolUtilizationdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (GetDbPoolUtilizationdefaultJSONResponse) VisitGetDbPoolUtilizationResponse ¶
func (response GetDbPoolUtilizationdefaultJSONResponse) VisitGetDbPoolUtilizationResponse(w http.ResponseWriter) error
type GetErrorRate200JSONResponse ¶
type GetErrorRate200JSONResponse TimeSeriesResponse
func (GetErrorRate200JSONResponse) VisitGetErrorRateResponse ¶
func (response GetErrorRate200JSONResponse) VisitGetErrorRateResponse(w http.ResponseWriter) error
type GetErrorRate501JSONResponse ¶
type GetErrorRate501JSONResponse ErrorResponse
func (GetErrorRate501JSONResponse) VisitGetErrorRateResponse ¶
func (response GetErrorRate501JSONResponse) VisitGetErrorRateResponse(w http.ResponseWriter) error
type GetErrorRate503JSONResponse ¶
type GetErrorRate503JSONResponse ErrorResponse
func (GetErrorRate503JSONResponse) VisitGetErrorRateResponse ¶
func (response GetErrorRate503JSONResponse) VisitGetErrorRateResponse(w http.ResponseWriter) error
type GetErrorRateParams ¶
type GetErrorRateParams struct {
// Start Start of time range (ISO 8601 timestamp). Defaults to 1 hour ago.
Start *StatsStart `form:"start,omitempty" json:"start,omitempty"`
// End End of time range (ISO 8601 timestamp). Defaults to now.
End *StatsEnd `form:"end,omitempty" json:"end,omitempty"`
// Step Resolution step for the time series (e.g., "60s", "5m"). Defaults to "60s".
Step *StatsStep `form:"step,omitempty" json:"step,omitempty"`
}
GetErrorRateParams defines parameters for GetErrorRate.
type GetErrorRateRequestObject ¶
type GetErrorRateRequestObject struct {
Params GetErrorRateParams
}
type GetErrorRateResponseObject ¶
type GetErrorRateResponseObject interface {
VisitGetErrorRateResponse(w http.ResponseWriter) error
}
type GetErrorRatedefaultJSONResponse ¶
type GetErrorRatedefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (GetErrorRatedefaultJSONResponse) VisitGetErrorRateResponse ¶
func (response GetErrorRatedefaultJSONResponse) VisitGetErrorRateResponse(w http.ResponseWriter) error
type GetHealth200JSONResponse ¶
type GetHealth200JSONResponse struct {
Status *string `json:"status,omitempty"`
}
func (GetHealth200JSONResponse) VisitGetHealthResponse ¶
func (response GetHealth200JSONResponse) VisitGetHealthResponse(w http.ResponseWriter) error
type GetHealthRequestObject ¶
type GetHealthRequestObject struct {
}
type GetHealthResponseObject ¶
type GetHealthResponseObject interface {
VisitGetHealthResponse(w http.ResponseWriter) error
}
type GetHealthdefaultJSONResponse ¶
type GetHealthdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (GetHealthdefaultJSONResponse) VisitGetHealthResponse ¶
func (response GetHealthdefaultJSONResponse) VisitGetHealthResponse(w http.ResponseWriter) error
type GetLatencyP95Params ¶
type GetLatencyP95Params struct {
// Start Start of time range (ISO 8601 timestamp). Defaults to 1 hour ago.
Start *StatsStart `form:"start,omitempty" json:"start,omitempty"`
// End End of time range (ISO 8601 timestamp). Defaults to now.
End *StatsEnd `form:"end,omitempty" json:"end,omitempty"`
// Step Resolution step for the time series (e.g., "60s", "5m"). Defaults to "60s".
Step *StatsStep `form:"step,omitempty" json:"step,omitempty"`
}
GetLatencyP95Params defines parameters for GetLatencyP95.
type GetLatencyP95RequestObject ¶
type GetLatencyP95RequestObject struct {
Params GetLatencyP95Params
}
type GetLatencyP95ResponseObject ¶
type GetLatencyP95ResponseObject interface {
VisitGetLatencyP95Response(w http.ResponseWriter) error
}
type GetLatencyP95defaultJSONResponse ¶
type GetLatencyP95defaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (GetLatencyP95defaultJSONResponse) VisitGetLatencyP95Response ¶
func (response GetLatencyP95defaultJSONResponse) VisitGetLatencyP95Response(w http.ResponseWriter) error
type GetLatencyP95200JSONResponse ¶
type GetLatencyP95200JSONResponse TimeSeriesResponse
func (GetLatencyP95200JSONResponse) VisitGetLatencyP95Response ¶
func (response GetLatencyP95200JSONResponse) VisitGetLatencyP95Response(w http.ResponseWriter) error
type GetLatencyP95501JSONResponse ¶
type GetLatencyP95501JSONResponse ErrorResponse
func (GetLatencyP95501JSONResponse) VisitGetLatencyP95Response ¶
func (response GetLatencyP95501JSONResponse) VisitGetLatencyP95Response(w http.ResponseWriter) error
type GetLatencyP95503JSONResponse ¶
type GetLatencyP95503JSONResponse ErrorResponse
func (GetLatencyP95503JSONResponse) VisitGetLatencyP95Response ¶
func (response GetLatencyP95503JSONResponse) VisitGetLatencyP95Response(w http.ResponseWriter) error
type GetRequestRate200JSONResponse ¶
type GetRequestRate200JSONResponse TimeSeriesResponse
func (GetRequestRate200JSONResponse) VisitGetRequestRateResponse ¶
func (response GetRequestRate200JSONResponse) VisitGetRequestRateResponse(w http.ResponseWriter) error
type GetRequestRate501JSONResponse ¶
type GetRequestRate501JSONResponse ErrorResponse
func (GetRequestRate501JSONResponse) VisitGetRequestRateResponse ¶
func (response GetRequestRate501JSONResponse) VisitGetRequestRateResponse(w http.ResponseWriter) error
type GetRequestRate503JSONResponse ¶
type GetRequestRate503JSONResponse ErrorResponse
func (GetRequestRate503JSONResponse) VisitGetRequestRateResponse ¶
func (response GetRequestRate503JSONResponse) VisitGetRequestRateResponse(w http.ResponseWriter) error
type GetRequestRateParams ¶
type GetRequestRateParams struct {
// Start Start of time range (ISO 8601 timestamp). Defaults to 1 hour ago.
Start *StatsStart `form:"start,omitempty" json:"start,omitempty"`
// End End of time range (ISO 8601 timestamp). Defaults to now.
End *StatsEnd `form:"end,omitempty" json:"end,omitempty"`
// Step Resolution step for the time series (e.g., "60s", "5m"). Defaults to "60s".
Step *StatsStep `form:"step,omitempty" json:"step,omitempty"`
}
GetRequestRateParams defines parameters for GetRequestRate.
type GetRequestRateRequestObject ¶
type GetRequestRateRequestObject struct {
Params GetRequestRateParams
}
type GetRequestRateResponseObject ¶
type GetRequestRateResponseObject interface {
VisitGetRequestRateResponse(w http.ResponseWriter) error
}
type GetRequestRatedefaultJSONResponse ¶
type GetRequestRatedefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (GetRequestRatedefaultJSONResponse) VisitGetRequestRateResponse ¶
func (response GetRequestRatedefaultJSONResponse) VisitGetRequestRateResponse(w http.ResponseWriter) error
type GetStatsSummary200JSONResponse ¶
type GetStatsSummary200JSONResponse AdminStatsSummaryResponse
func (GetStatsSummary200JSONResponse) VisitGetStatsSummaryResponse ¶
func (response GetStatsSummary200JSONResponse) VisitGetStatsSummaryResponse(w http.ResponseWriter) error
type GetStatsSummary501JSONResponse ¶
type GetStatsSummary501JSONResponse ErrorResponse
func (GetStatsSummary501JSONResponse) VisitGetStatsSummaryResponse ¶
func (response GetStatsSummary501JSONResponse) VisitGetStatsSummaryResponse(w http.ResponseWriter) error
type GetStatsSummaryRequestObject ¶
type GetStatsSummaryRequestObject struct {
}
type GetStatsSummaryResponseObject ¶
type GetStatsSummaryResponseObject interface {
VisitGetStatsSummaryResponse(w http.ResponseWriter) error
}
type GetStatsSummarydefaultJSONResponse ¶
type GetStatsSummarydefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (GetStatsSummarydefaultJSONResponse) VisitGetStatsSummaryResponse ¶
func (response GetStatsSummarydefaultJSONResponse) VisitGetStatsSummaryResponse(w http.ResponseWriter) error
type GetStoreLatencyP95Params ¶
type GetStoreLatencyP95Params struct {
// Start Start of time range (ISO 8601 timestamp). Defaults to 1 hour ago.
Start *StatsStart `form:"start,omitempty" json:"start,omitempty"`
// End End of time range (ISO 8601 timestamp). Defaults to now.
End *StatsEnd `form:"end,omitempty" json:"end,omitempty"`
// Step Resolution step for the time series (e.g., "60s", "5m"). Defaults to "60s".
Step *StatsStep `form:"step,omitempty" json:"step,omitempty"`
}
GetStoreLatencyP95Params defines parameters for GetStoreLatencyP95.
type GetStoreLatencyP95RequestObject ¶
type GetStoreLatencyP95RequestObject struct {
Params GetStoreLatencyP95Params
}
type GetStoreLatencyP95ResponseObject ¶
type GetStoreLatencyP95ResponseObject interface {
VisitGetStoreLatencyP95Response(w http.ResponseWriter) error
}
type GetStoreLatencyP95defaultJSONResponse ¶
type GetStoreLatencyP95defaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (GetStoreLatencyP95defaultJSONResponse) VisitGetStoreLatencyP95Response ¶
func (response GetStoreLatencyP95defaultJSONResponse) VisitGetStoreLatencyP95Response(w http.ResponseWriter) error
type GetStoreLatencyP95200JSONResponse ¶
type GetStoreLatencyP95200JSONResponse MultiSeriesResponse
func (GetStoreLatencyP95200JSONResponse) VisitGetStoreLatencyP95Response ¶
func (response GetStoreLatencyP95200JSONResponse) VisitGetStoreLatencyP95Response(w http.ResponseWriter) error
type GetStoreLatencyP95501JSONResponse ¶
type GetStoreLatencyP95501JSONResponse ErrorResponse
func (GetStoreLatencyP95501JSONResponse) VisitGetStoreLatencyP95Response ¶
func (response GetStoreLatencyP95501JSONResponse) VisitGetStoreLatencyP95Response(w http.ResponseWriter) error
type GetStoreLatencyP95503JSONResponse ¶
type GetStoreLatencyP95503JSONResponse ErrorResponse
func (GetStoreLatencyP95503JSONResponse) VisitGetStoreLatencyP95Response ¶
func (response GetStoreLatencyP95503JSONResponse) VisitGetStoreLatencyP95Response(w http.ResponseWriter) error
type GetStoreThroughput200JSONResponse ¶
type GetStoreThroughput200JSONResponse MultiSeriesResponse
func (GetStoreThroughput200JSONResponse) VisitGetStoreThroughputResponse ¶
func (response GetStoreThroughput200JSONResponse) VisitGetStoreThroughputResponse(w http.ResponseWriter) error
type GetStoreThroughput501JSONResponse ¶
type GetStoreThroughput501JSONResponse ErrorResponse
func (GetStoreThroughput501JSONResponse) VisitGetStoreThroughputResponse ¶
func (response GetStoreThroughput501JSONResponse) VisitGetStoreThroughputResponse(w http.ResponseWriter) error
type GetStoreThroughput503JSONResponse ¶
type GetStoreThroughput503JSONResponse ErrorResponse
func (GetStoreThroughput503JSONResponse) VisitGetStoreThroughputResponse ¶
func (response GetStoreThroughput503JSONResponse) VisitGetStoreThroughputResponse(w http.ResponseWriter) error
type GetStoreThroughputParams ¶
type GetStoreThroughputParams struct {
// Start Start of time range (ISO 8601 timestamp). Defaults to 1 hour ago.
Start *StatsStart `form:"start,omitempty" json:"start,omitempty"`
// End End of time range (ISO 8601 timestamp). Defaults to now.
End *StatsEnd `form:"end,omitempty" json:"end,omitempty"`
// Step Resolution step for the time series (e.g., "60s", "5m"). Defaults to "60s".
Step *StatsStep `form:"step,omitempty" json:"step,omitempty"`
}
GetStoreThroughputParams defines parameters for GetStoreThroughput.
type GetStoreThroughputRequestObject ¶
type GetStoreThroughputRequestObject struct {
Params GetStoreThroughputParams
}
type GetStoreThroughputResponseObject ¶
type GetStoreThroughputResponseObject interface {
VisitGetStoreThroughputResponse(w http.ResponseWriter) error
}
type GetStoreThroughputdefaultJSONResponse ¶
type GetStoreThroughputdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (GetStoreThroughputdefaultJSONResponse) VisitGetStoreThroughputResponse ¶
func (response GetStoreThroughputdefaultJSONResponse) VisitGetStoreThroughputResponse(w http.ResponseWriter) error
type GinServerOptions ¶
type GinServerOptions struct {
BaseURL string
Middlewares []MiddlewareFunc
ErrorHandler func(*gin.Context, error, int)
}
GinServerOptions provides options for the Gin server.
type LabeledTimeSeries ¶
type LabeledTimeSeries struct {
// Data Time series data points for this label.
Data []TimeSeriesDataPoint `json:"data"`
// Label Label identifying this series (e.g., operation name).
Label string `json:"label"`
}
LabeledTimeSeries A labeled time series within a multi-series response.
type ListMemoryKindMigrationsResponse ¶ added in v0.2.0
type ListMemoryKindMigrationsResponse struct {
Items *[]MemoryKindMigration `json:"items,omitempty"`
}
ListMemoryKindMigrationsResponse defines model for ListMemoryKindMigrationsResponse.
type ListMemoryKindVersionsResponse ¶ added in v0.2.0
type ListMemoryKindVersionsResponse struct {
Items *[]MemoryKindVersion `json:"items,omitempty"`
}
ListMemoryKindVersionsResponse defines model for ListMemoryKindVersionsResponse.
type ListTopMemoryUsageResponse ¶
type ListTopMemoryUsageResponse struct {
Items *[]TopMemoryUsageItem `json:"items,omitempty"`
}
ListTopMemoryUsageResponse defines model for ListTopMemoryUsageResponse.
type MemoryAttributeSort ¶ added in v0.2.0
type MemoryAttributeSort struct {
Direction *MemoryAttributeSortDirection `json:"direction,omitempty"`
// Field The attribute name to sort by. Must be declared in the selected schema(s).
Field string `json:"field"`
}
MemoryAttributeSort One-field typed sort for attribute-only memory searches. Rejected when query or queries is present (semantic results are ordered by similarity score).
type MemoryAttributeSortDirection ¶ added in v0.2.0
type MemoryAttributeSortDirection string
MemoryAttributeSortDirection defines model for MemoryAttributeSort.Direction.
const ( Asc MemoryAttributeSortDirection = "asc" Desc MemoryAttributeSortDirection = "desc" )
Defines values for MemoryAttributeSortDirection.
func (MemoryAttributeSortDirection) Valid ¶ added in v0.2.0
func (e MemoryAttributeSortDirection) Valid() bool
Valid indicates whether the value is a known member of the MemoryAttributeSortDirection enum.
type MemoryIndexRunStats ¶
type MemoryIndexRunStats struct {
Embedded *int `json:"embedded,omitempty"`
Failures *int `json:"failures,omitempty"`
Pending *int `json:"pending,omitempty"`
Processed *int `json:"processed,omitempty"`
SkippedNoEmbedding *int `json:"skipped_no_embedding,omitempty"`
VectorDeletes *int `json:"vector_deletes,omitempty"`
VectorUpserts *int `json:"vector_upserts,omitempty"`
}
MemoryIndexRunStats defines model for MemoryIndexRunStats.
type MemoryIndexStatusResponse ¶
type MemoryIndexStatusResponse struct {
// Pending Number of memories where `indexed_at` is null.
Pending *int64 `json:"pending,omitempty"`
}
MemoryIndexStatusResponse defines model for MemoryIndexStatusResponse.
type MemoryIndexTriggerResponse ¶
type MemoryIndexTriggerResponse struct {
Stats *MemoryIndexRunStats `json:"stats,omitempty"`
Triggered *bool `json:"triggered,omitempty"`
}
MemoryIndexTriggerResponse defines model for MemoryIndexTriggerResponse.
type MemoryKindMigration ¶ added in v0.2.0
type MemoryKindMigration struct {
CancelRequested *bool `json:"cancel_requested,omitempty"`
CompletedAt *time.Time `json:"completed_at,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Id *openapi_types.UUID `json:"id,omitempty"`
LastErrorCode *string `json:"last_error_code,omitempty"`
MigratedCount *int64 `json:"migrated_count,omitempty"`
// NamespacePrefix Optional namespace scope restriction.
NamespacePrefix *[]string `json:"namespace_prefix,omitempty"`
RetryCount *int `json:"retry_count,omitempty"`
SkippedTombstoneCount *int64 `json:"skipped_tombstone_count,omitempty"`
// Source Source schema version canonical name.
Source *string `json:"source,omitempty"`
StartedAt *time.Time `json:"started_at,omitempty"`
State *MemoryKindMigrationState `json:"state,omitempty"`
// Target Target schema version canonical name.
Target *string `json:"target,omitempty"`
VectorPendingCount *int64 `json:"vector_pending_count,omitempty"`
}
MemoryKindMigration defines model for MemoryKindMigration.
type MemoryKindMigrationState ¶ added in v0.2.0
type MemoryKindMigrationState string
MemoryKindMigrationState defines model for MemoryKindMigration.State.
const ( Canceled MemoryKindMigrationState = "canceled" Canceling MemoryKindMigrationState = "canceling" Failed MemoryKindMigrationState = "failed" Queued MemoryKindMigrationState = "queued" Running MemoryKindMigrationState = "running" Succeeded MemoryKindMigrationState = "succeeded" )
Defines values for MemoryKindMigrationState.
func (MemoryKindMigrationState) Valid ¶ added in v0.2.0
func (e MemoryKindMigrationState) Valid() bool
Valid indicates whether the value is a known member of the MemoryKindMigrationState enum.
type MemoryKindVersion ¶ added in v0.2.0
type MemoryKindVersion struct {
// Attributes Declared type for each attribute the Rego program may return. Allowed type values: string, number, boolean, timestamp, string[].
Attributes *map[string]string `json:"attributes,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Name Canonical schema name (family/version), e.g. "customer-profile/v2".
Name *string `json:"name,omitempty"`
// ProjectionRego OPA Rego source for `package memories.attributes`. Present on definition endpoints only.
ProjectionRego *string `json:"projectionRego,omitempty"`
// Writable When false the version is not writable (e.g. a deprecated version set to read-only).
Writable *bool `json:"writable,omitempty"`
}
MemoryKindVersion defines model for MemoryKindVersion.
type MemoryUsageResponse ¶
type MemoryUsageResponse struct {
FetchCount *int64 `json:"fetchCount,omitempty"`
LastFetchedAt *time.Time `json:"lastFetchedAt,omitempty"`
}
MemoryUsageResponse defines model for MemoryUsageResponse.
type MemoryWriteResult ¶ added in v0.0.3
type MemoryWriteResult struct {
Attributes *map[string]interface{} `json:"attributes,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
Id *openapi_types.UUID `json:"id,omitempty"`
Key *string `json:"key,omitempty"`
// Kind Exact canonical schema name used for this write (e.g. "default/v1").
Kind string `json:"kind"`
Namespace *[]string `json:"namespace,omitempty"`
Revision *int64 `json:"revision,omitempty"`
}
MemoryWriteResult defines model for MemoryWriteResult.
type MiddlewareFunc ¶
type MultiSeriesResponse ¶
type MultiSeriesResponse struct {
// Metric Metric identifier (e.g., "store_latency_p95", "store_throughput").
Metric string `json:"metric"`
// Series Multiple time series, each with a label identifying the group.
Series []LabeledTimeSeries `json:"series"`
// Unit Unit of measurement (e.g., "seconds", "operations/sec").
Unit string `json:"unit"`
}
MultiSeriesResponse Multi-series time series data for metrics grouped by a label (e.g., operation type).
type NotFoundJSONResponse ¶
type NotFoundJSONResponse ErrorResponse
type PutMemoryRequest ¶ added in v0.0.3
type PutMemoryRequest struct {
// ExpectedRevision Optional optimistic concurrency revision expected for the active memory.
ExpectedRevision *int64 `json:"expected_revision,omitempty"`
// ExpectedRevisionId UUID of the active revision the caller expects to replace. Requires `revision_id`.
// The server checks that the current active row's `id` equals this value before
// archiving it. A mismatch returns 409 `expected_active_revision_id_mismatch`.
ExpectedRevisionId *openapi_types.UUID `json:"expected_revision_id,omitempty"`
Index *map[string]string `json:"index,omitempty"`
Key string `json:"key"`
// Kind Optional exact canonical schema name ("profile/v2"). Omission always uses
// the fixed built-in "default/v1" kind.
Kind *string `json:"kind,omitempty"`
Namespace []string `json:"namespace"`
// Revision When set to `1`, declares this as a create-only write: the server rejects the
// write with 409 `revision_already_exists` if an active memory already exists for
// the given namespace and key. Requires `revision_id`. Only the value `1` is
// accepted; any other value returns 400. This is a request field and is distinct
// from the `revision` in the response.
Revision *int64 `json:"revision,omitempty"`
// RevisionId Optional caller-supplied UUID for the new revision. When supplied, the server
// looks up this ID before evaluating any create/update precondition. A recognized
// exact retry (same namespace, key, value, index, TTL, and kind) returns 200 with
// the stored result and produces no new row, archive, event, or outbox record.
// A 409 conflict response carries only the `code` and the `revision_id` the
// caller supplied; no stored namespace, key, value, kind, or timestamps from the
// existing row are included in the response.
// Idempotency is guaranteed while the original revision record is retained.
RevisionId *openapi_types.UUID `json:"revision_id,omitempty"`
TtlSeconds *int `json:"ttl_seconds,omitempty"`
Value map[string]interface{} `json:"value"`
}
PutMemoryRequest defines model for PutMemoryRequest.
type SearchResult ¶
type SearchResult struct {
// ConversationId Unique identifier of the conversation containing this entry.
ConversationId *string `json:"conversationId,omitempty"`
// ConversationTitle Title of the conversation containing this entry.
ConversationTitle *string `json:"conversationTitle,omitempty"`
// Entry The matched entry. Only included when includeEntry is true in the request.
Entry *AdminEntry `json:"entry,omitempty"`
// EntryId ID of the matched entry. Always present for deep-linking.
EntryId *openapi_types.UUID `json:"entryId,omitempty"`
Highlights *string `json:"highlights,omitempty"`
Score *float32 `json:"score,omitempty"`
}
SearchResult defines model for SearchResult.
type ServerInterface ¶
type ServerInterface interface {
// AdminListMemories List episodic memories across users
// (GET /admin/v1/memories)
AdminListMemories(c *gin.Context, params AdminListMemoriesParams)
// AdminUpdateMemory Update a memory item (admin)
// (PATCH /admin/v1/memories)
AdminUpdateMemory(c *gin.Context, params AdminUpdateMemoryParams)
// AdminPutMemory Upsert a memory item (admin)
// (PUT /admin/v1/memories)
AdminPutMemory(c *gin.Context, params AdminPutMemoryParams)
// AdminSearchMemories Search episodic memories across users
// (POST /admin/v1/memories/search)
AdminSearchMemories(c *gin.Context)
// AdminDeleteMemory Force-delete an episodic memory by ID
// (DELETE /admin/v1/memories/{id})
AdminDeleteMemory(c *gin.Context, id openapi_types.UUID)
// AdminGetMemory Get an episodic memory by ID
// (GET /admin/v1/memories/{id})
AdminGetMemory(c *gin.Context, id openapi_types.UUID, params AdminGetMemoryParams)
// AdminGetMemoryIndexStatus Get episodic memory indexing queue status
// (GET /admin/v1/memory-index/status)
AdminGetMemoryIndexStatus(c *gin.Context)
// AdminTriggerMemoryIndex Trigger one episodic memory indexing cycle
// (POST /admin/v1/memory-index/trigger)
AdminTriggerMemoryIndex(c *gin.Context)
// AdminListMemoryKindMigrations List memory schema migrations
// (GET /admin/v1/memory-kind-migrations)
AdminListMemoryKindMigrations(c *gin.Context, params AdminListMemoryKindMigrationsParams)
// AdminCreateMemoryKindMigration Create a memory schema migration
// (POST /admin/v1/memory-kind-migrations)
AdminCreateMemoryKindMigration(c *gin.Context, params AdminCreateMemoryKindMigrationParams)
// AdminCancelMemoryKindMigration Request cancellation of a migration
// (DELETE /admin/v1/memory-kind-migrations/{id})
AdminCancelMemoryKindMigration(c *gin.Context, id openapi_types.UUID, params AdminCancelMemoryKindMigrationParams)
// AdminGetMemoryKindMigration Get a memory schema migration
// (GET /admin/v1/memory-kind-migrations/{id})
AdminGetMemoryKindMigration(c *gin.Context, id openapi_types.UUID, params AdminGetMemoryKindMigrationParams)
// AdminListMemoryKindVersions List memory schema versions
// (GET /admin/v1/memory-kinds)
AdminListMemoryKindVersions(c *gin.Context, params AdminListMemoryKindVersionsParams)
// AdminCreateMemoryKindVersion Create an immutable memory schema version
// (POST /admin/v1/memory-kinds)
AdminCreateMemoryKindVersion(c *gin.Context, params AdminCreateMemoryKindVersionParams)
// AdminGetMemoryKindVersion Get a memory schema version
// (GET /admin/v1/memory-kinds/{family}/{version})
AdminGetMemoryKindVersion(c *gin.Context, family string, version string, params AdminGetMemoryKindVersionParams)
// AdminListMemoryNamespaces List episodic memory namespaces across users
// (GET /admin/v1/memory-namespaces)
AdminListMemoryNamespaces(c *gin.Context, params AdminListMemoryNamespacesParams)
// AdminGetMemoryUsage Get episodic memory usage for a single key
// (GET /admin/v1/memory-usage)
AdminGetMemoryUsage(c *gin.Context, params AdminGetMemoryUsageParams)
// AdminListTopMemoryUsage List top episodic memory usage rows under a namespace prefix
// (GET /admin/v1/memory-usage/top)
AdminListTopMemoryUsage(c *gin.Context, params AdminListTopMemoryUsageParams)
// AdminListAttachments List all attachments across users (admin/auditor)
// (GET /v1/admin/attachments)
AdminListAttachments(c *gin.Context, params AdminListAttachmentsParams)
// AdminDeleteAttachment Delete any attachment (admin only)
// (DELETE /v1/admin/attachments/{id})
AdminDeleteAttachment(c *gin.Context, id openapi_types.UUID)
// AdminGetAttachment Get attachment metadata (admin/auditor)
// (GET /v1/admin/attachments/{id})
AdminGetAttachment(c *gin.Context, id openapi_types.UUID, params AdminGetAttachmentParams)
// AdminGetAttachmentContent Download attachment content (admin/auditor)
// (GET /v1/admin/attachments/{id}/content)
AdminGetAttachmentContent(c *gin.Context, id openapi_types.UUID, params AdminGetAttachmentContentParams)
// AdminGetAttachmentDownloadUrl Get signed download URL for any attachment (admin/auditor)
// (GET /v1/admin/attachments/{id}/download-url)
AdminGetAttachmentDownloadUrl(c *gin.Context, id openapi_types.UUID, params AdminGetAttachmentDownloadUrlParams)
// AdminGetCheckpoint Get an admin client checkpoint
// (GET /v1/admin/checkpoints/{clientId})
AdminGetCheckpoint(c *gin.Context, clientId string)
// AdminPutCheckpoint Upsert an admin client checkpoint
// (PUT /v1/admin/checkpoints/{clientId})
AdminPutCheckpoint(c *gin.Context, clientId string)
// AdminListConversations List all conversations (admin/auditor)
// (GET /v1/admin/conversations)
AdminListConversations(c *gin.Context, params AdminListConversationsParams)
// AdminSearchConversations System-wide semantic search (admin/auditor)
// (POST /v1/admin/conversations/search)
AdminSearchConversations(c *gin.Context, params AdminSearchConversationsParams)
// AdminGetConversation Get any conversation (admin/auditor)
// (GET /v1/admin/conversations/{id})
AdminGetConversation(c *gin.Context, id string, params AdminGetConversationParams)
// AdminUpdateConversation Update any conversation (admin only)
// (PATCH /v1/admin/conversations/{id})
AdminUpdateConversation(c *gin.Context, id string)
// AdminListChildConversations List direct child conversations
// (GET /v1/admin/conversations/{id}/children)
AdminListChildConversations(c *gin.Context, id string, params AdminListChildConversationsParams)
// AdminGetEntries Get entries from any conversation (admin/auditor)
// (GET /v1/admin/conversations/{id}/entries)
AdminGetEntries(c *gin.Context, id string, params AdminGetEntriesParams)
// AdminListForks Get fork navigation for any conversation (admin/auditor)
// (GET /v1/admin/conversations/{id}/forks)
AdminListForks(c *gin.Context, id string, params AdminListForksParams)
// AdminGetMemberships Get memberships for any conversation (admin/auditor)
// (GET /v1/admin/conversations/{id}/memberships)
AdminGetMemberships(c *gin.Context, id string, params AdminGetMembershipsParams)
// AdminGetEntry Get any entry by ID (admin/auditor)
// (GET /v1/admin/entries/{id})
AdminGetEntry(c *gin.Context, id openapi_types.UUID, params AdminGetEntryParams)
// AdminSubscribeEvents Subscribe to all real-time events (admin SSE)
// (GET /v1/admin/events)
AdminSubscribeEvents(c *gin.Context, params AdminSubscribeEventsParams)
// AdminEvict Hard-delete resources past retention period
// (POST /v1/admin/evict)
AdminEvict(c *gin.Context, params AdminEvictParams)
// GetCacheHitRate Get cache hit rate percentage over time
// (GET /v1/admin/stats/cache-hit-rate)
GetCacheHitRate(c *gin.Context, params GetCacheHitRateParams)
// GetDbPoolUtilization Get database connection pool utilization over time
// (GET /v1/admin/stats/db-pool-utilization)
GetDbPoolUtilization(c *gin.Context, params GetDbPoolUtilizationParams)
// GetErrorRate Get 5xx error rate percentage over time
// (GET /v1/admin/stats/error-rate)
GetErrorRate(c *gin.Context, params GetErrorRateParams)
// GetLatencyP95 Get P95 response latency over time
// (GET /v1/admin/stats/latency-p95)
GetLatencyP95(c *gin.Context, params GetLatencyP95Params)
// GetRequestRate Get HTTP request rate over time
// (GET /v1/admin/stats/request-rate)
GetRequestRate(c *gin.Context, params GetRequestRateParams)
// GetStoreLatencyP95 Get P95 store operation latency by operation type
// (GET /v1/admin/stats/store-latency-p95)
GetStoreLatencyP95(c *gin.Context, params GetStoreLatencyP95Params)
// GetStoreThroughput Get store operation throughput by operation type
// (GET /v1/admin/stats/store-throughput)
GetStoreThroughput(c *gin.Context, params GetStoreThroughputParams)
// GetStatsSummary Get current datastore-backed admin inventory summary
// (GET /v1/admin/stats/summary)
GetStatsSummary(c *gin.Context)
// GetHealth Health check
// (GET /v1/health)
GetHealth(c *gin.Context)
}
ServerInterface represents all server handlers.
func NewStrictHandler ¶
func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface
func NewStrictHandlerWithOptions ¶
func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictGinServerOptions) ServerInterface
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
HandlerMiddlewares []MiddlewareFunc
ErrorHandler func(*gin.Context, error, int)
}
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) AdminCancelMemoryKindMigration ¶ added in v0.2.0
func (siw *ServerInterfaceWrapper) AdminCancelMemoryKindMigration(c *gin.Context)
AdminCancelMemoryKindMigration operation middleware
func (*ServerInterfaceWrapper) AdminCreateMemoryKindMigration ¶ added in v0.2.0
func (siw *ServerInterfaceWrapper) AdminCreateMemoryKindMigration(c *gin.Context)
AdminCreateMemoryKindMigration operation middleware
func (*ServerInterfaceWrapper) AdminCreateMemoryKindVersion ¶ added in v0.2.0
func (siw *ServerInterfaceWrapper) AdminCreateMemoryKindVersion(c *gin.Context)
AdminCreateMemoryKindVersion operation middleware
func (*ServerInterfaceWrapper) AdminDeleteAttachment ¶
func (siw *ServerInterfaceWrapper) AdminDeleteAttachment(c *gin.Context)
AdminDeleteAttachment operation middleware
func (*ServerInterfaceWrapper) AdminDeleteMemory ¶
func (siw *ServerInterfaceWrapper) AdminDeleteMemory(c *gin.Context)
AdminDeleteMemory operation middleware
func (*ServerInterfaceWrapper) AdminEvict ¶
func (siw *ServerInterfaceWrapper) AdminEvict(c *gin.Context)
AdminEvict operation middleware
func (*ServerInterfaceWrapper) AdminGetAttachment ¶
func (siw *ServerInterfaceWrapper) AdminGetAttachment(c *gin.Context)
AdminGetAttachment operation middleware
func (*ServerInterfaceWrapper) AdminGetAttachmentContent ¶
func (siw *ServerInterfaceWrapper) AdminGetAttachmentContent(c *gin.Context)
AdminGetAttachmentContent operation middleware
func (*ServerInterfaceWrapper) AdminGetAttachmentDownloadUrl ¶
func (siw *ServerInterfaceWrapper) AdminGetAttachmentDownloadUrl(c *gin.Context)
AdminGetAttachmentDownloadUrl operation middleware
func (*ServerInterfaceWrapper) AdminGetCheckpoint ¶
func (siw *ServerInterfaceWrapper) AdminGetCheckpoint(c *gin.Context)
AdminGetCheckpoint operation middleware
func (*ServerInterfaceWrapper) AdminGetConversation ¶
func (siw *ServerInterfaceWrapper) AdminGetConversation(c *gin.Context)
AdminGetConversation operation middleware
func (*ServerInterfaceWrapper) AdminGetEntries ¶
func (siw *ServerInterfaceWrapper) AdminGetEntries(c *gin.Context)
AdminGetEntries operation middleware
func (*ServerInterfaceWrapper) AdminGetEntry ¶
func (siw *ServerInterfaceWrapper) AdminGetEntry(c *gin.Context)
AdminGetEntry operation middleware
func (*ServerInterfaceWrapper) AdminGetMemberships ¶
func (siw *ServerInterfaceWrapper) AdminGetMemberships(c *gin.Context)
AdminGetMemberships operation middleware
func (*ServerInterfaceWrapper) AdminGetMemory ¶
func (siw *ServerInterfaceWrapper) AdminGetMemory(c *gin.Context)
AdminGetMemory operation middleware
func (*ServerInterfaceWrapper) AdminGetMemoryIndexStatus ¶
func (siw *ServerInterfaceWrapper) AdminGetMemoryIndexStatus(c *gin.Context)
AdminGetMemoryIndexStatus operation middleware
func (*ServerInterfaceWrapper) AdminGetMemoryKindMigration ¶ added in v0.2.0
func (siw *ServerInterfaceWrapper) AdminGetMemoryKindMigration(c *gin.Context)
AdminGetMemoryKindMigration operation middleware
func (*ServerInterfaceWrapper) AdminGetMemoryKindVersion ¶ added in v0.2.0
func (siw *ServerInterfaceWrapper) AdminGetMemoryKindVersion(c *gin.Context)
AdminGetMemoryKindVersion operation middleware
func (*ServerInterfaceWrapper) AdminGetMemoryUsage ¶
func (siw *ServerInterfaceWrapper) AdminGetMemoryUsage(c *gin.Context)
AdminGetMemoryUsage operation middleware
func (*ServerInterfaceWrapper) AdminListAttachments ¶
func (siw *ServerInterfaceWrapper) AdminListAttachments(c *gin.Context)
AdminListAttachments operation middleware
func (*ServerInterfaceWrapper) AdminListChildConversations ¶
func (siw *ServerInterfaceWrapper) AdminListChildConversations(c *gin.Context)
AdminListChildConversations operation middleware
func (*ServerInterfaceWrapper) AdminListConversations ¶
func (siw *ServerInterfaceWrapper) AdminListConversations(c *gin.Context)
AdminListConversations operation middleware
func (*ServerInterfaceWrapper) AdminListForks ¶
func (siw *ServerInterfaceWrapper) AdminListForks(c *gin.Context)
AdminListForks operation middleware
func (*ServerInterfaceWrapper) AdminListMemories ¶
func (siw *ServerInterfaceWrapper) AdminListMemories(c *gin.Context)
AdminListMemories operation middleware
func (*ServerInterfaceWrapper) AdminListMemoryKindMigrations ¶ added in v0.2.0
func (siw *ServerInterfaceWrapper) AdminListMemoryKindMigrations(c *gin.Context)
AdminListMemoryKindMigrations operation middleware
func (*ServerInterfaceWrapper) AdminListMemoryKindVersions ¶ added in v0.2.0
func (siw *ServerInterfaceWrapper) AdminListMemoryKindVersions(c *gin.Context)
AdminListMemoryKindVersions operation middleware
func (*ServerInterfaceWrapper) AdminListMemoryNamespaces ¶
func (siw *ServerInterfaceWrapper) AdminListMemoryNamespaces(c *gin.Context)
AdminListMemoryNamespaces operation middleware
func (*ServerInterfaceWrapper) AdminListTopMemoryUsage ¶
func (siw *ServerInterfaceWrapper) AdminListTopMemoryUsage(c *gin.Context)
AdminListTopMemoryUsage operation middleware
func (*ServerInterfaceWrapper) AdminPutCheckpoint ¶
func (siw *ServerInterfaceWrapper) AdminPutCheckpoint(c *gin.Context)
AdminPutCheckpoint operation middleware
func (*ServerInterfaceWrapper) AdminPutMemory ¶ added in v0.0.3
func (siw *ServerInterfaceWrapper) AdminPutMemory(c *gin.Context)
AdminPutMemory operation middleware
func (*ServerInterfaceWrapper) AdminSearchConversations ¶
func (siw *ServerInterfaceWrapper) AdminSearchConversations(c *gin.Context)
AdminSearchConversations operation middleware
func (*ServerInterfaceWrapper) AdminSearchMemories ¶
func (siw *ServerInterfaceWrapper) AdminSearchMemories(c *gin.Context)
AdminSearchMemories operation middleware
func (*ServerInterfaceWrapper) AdminSubscribeEvents ¶
func (siw *ServerInterfaceWrapper) AdminSubscribeEvents(c *gin.Context)
AdminSubscribeEvents operation middleware
func (*ServerInterfaceWrapper) AdminTriggerMemoryIndex ¶
func (siw *ServerInterfaceWrapper) AdminTriggerMemoryIndex(c *gin.Context)
AdminTriggerMemoryIndex operation middleware
func (*ServerInterfaceWrapper) AdminUpdateConversation ¶
func (siw *ServerInterfaceWrapper) AdminUpdateConversation(c *gin.Context)
AdminUpdateConversation operation middleware
func (*ServerInterfaceWrapper) AdminUpdateMemory ¶ added in v0.0.3
func (siw *ServerInterfaceWrapper) AdminUpdateMemory(c *gin.Context)
AdminUpdateMemory operation middleware
func (*ServerInterfaceWrapper) GetCacheHitRate ¶
func (siw *ServerInterfaceWrapper) GetCacheHitRate(c *gin.Context)
GetCacheHitRate operation middleware
func (*ServerInterfaceWrapper) GetDbPoolUtilization ¶
func (siw *ServerInterfaceWrapper) GetDbPoolUtilization(c *gin.Context)
GetDbPoolUtilization operation middleware
func (*ServerInterfaceWrapper) GetErrorRate ¶
func (siw *ServerInterfaceWrapper) GetErrorRate(c *gin.Context)
GetErrorRate operation middleware
func (*ServerInterfaceWrapper) GetHealth ¶
func (siw *ServerInterfaceWrapper) GetHealth(c *gin.Context)
GetHealth operation middleware
func (*ServerInterfaceWrapper) GetLatencyP95 ¶
func (siw *ServerInterfaceWrapper) GetLatencyP95(c *gin.Context)
GetLatencyP95 operation middleware
func (*ServerInterfaceWrapper) GetRequestRate ¶
func (siw *ServerInterfaceWrapper) GetRequestRate(c *gin.Context)
GetRequestRate operation middleware
func (*ServerInterfaceWrapper) GetStatsSummary ¶
func (siw *ServerInterfaceWrapper) GetStatsSummary(c *gin.Context)
GetStatsSummary operation middleware
func (*ServerInterfaceWrapper) GetStoreLatencyP95 ¶
func (siw *ServerInterfaceWrapper) GetStoreLatencyP95(c *gin.Context)
GetStoreLatencyP95 operation middleware
func (*ServerInterfaceWrapper) GetStoreThroughput ¶
func (siw *ServerInterfaceWrapper) GetStoreThroughput(c *gin.Context)
GetStoreThroughput operation middleware
type StrictGinServerOptions ¶
type StrictGinServerOptions struct {
// RequestErrorHandlerFunc is called when a request cannot be parsed or
// decoded. It is invoked for JSON bind failures, form parse/bind errors,
// multipart reader errors, media type parse errors, missing multipart
// boundaries, and request body read errors. The default returns 400.
RequestErrorHandlerFunc func(ctx *gin.Context, err error)
// HandlerErrorFunc is called when the application handler (or any
// middleware wrapping it) returns a non-nil error. The default returns 500.
HandlerErrorFunc func(ctx *gin.Context, err error)
// ResponseErrorHandlerFunc is called when the response object fails to
// serialize (Visit*Response returns an error) or when the handler returns
// an unexpected response type. The default returns 500.
ResponseErrorHandlerFunc func(ctx *gin.Context, err error)
}
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc
type StrictServerInterface ¶
type StrictServerInterface interface {
// AdminListMemories List episodic memories across users
// (GET /admin/v1/memories)
AdminListMemories(ctx context.Context, request AdminListMemoriesRequestObject) (AdminListMemoriesResponseObject, error)
// AdminUpdateMemory Update a memory item (admin)
// (PATCH /admin/v1/memories)
AdminUpdateMemory(ctx context.Context, request AdminUpdateMemoryRequestObject) (AdminUpdateMemoryResponseObject, error)
// AdminPutMemory Upsert a memory item (admin)
// (PUT /admin/v1/memories)
AdminPutMemory(ctx context.Context, request AdminPutMemoryRequestObject) (AdminPutMemoryResponseObject, error)
// AdminSearchMemories Search episodic memories across users
// (POST /admin/v1/memories/search)
AdminSearchMemories(ctx context.Context, request AdminSearchMemoriesRequestObject) (AdminSearchMemoriesResponseObject, error)
// AdminDeleteMemory Force-delete an episodic memory by ID
// (DELETE /admin/v1/memories/{id})
AdminDeleteMemory(ctx context.Context, request AdminDeleteMemoryRequestObject) (AdminDeleteMemoryResponseObject, error)
// AdminGetMemory Get an episodic memory by ID
// (GET /admin/v1/memories/{id})
AdminGetMemory(ctx context.Context, request AdminGetMemoryRequestObject) (AdminGetMemoryResponseObject, error)
// AdminGetMemoryIndexStatus Get episodic memory indexing queue status
// (GET /admin/v1/memory-index/status)
AdminGetMemoryIndexStatus(ctx context.Context, request AdminGetMemoryIndexStatusRequestObject) (AdminGetMemoryIndexStatusResponseObject, error)
// AdminTriggerMemoryIndex Trigger one episodic memory indexing cycle
// (POST /admin/v1/memory-index/trigger)
AdminTriggerMemoryIndex(ctx context.Context, request AdminTriggerMemoryIndexRequestObject) (AdminTriggerMemoryIndexResponseObject, error)
// AdminListMemoryKindMigrations List memory schema migrations
// (GET /admin/v1/memory-kind-migrations)
AdminListMemoryKindMigrations(ctx context.Context, request AdminListMemoryKindMigrationsRequestObject) (AdminListMemoryKindMigrationsResponseObject, error)
// AdminCreateMemoryKindMigration Create a memory schema migration
// (POST /admin/v1/memory-kind-migrations)
AdminCreateMemoryKindMigration(ctx context.Context, request AdminCreateMemoryKindMigrationRequestObject) (AdminCreateMemoryKindMigrationResponseObject, error)
// AdminCancelMemoryKindMigration Request cancellation of a migration
// (DELETE /admin/v1/memory-kind-migrations/{id})
AdminCancelMemoryKindMigration(ctx context.Context, request AdminCancelMemoryKindMigrationRequestObject) (AdminCancelMemoryKindMigrationResponseObject, error)
// AdminGetMemoryKindMigration Get a memory schema migration
// (GET /admin/v1/memory-kind-migrations/{id})
AdminGetMemoryKindMigration(ctx context.Context, request AdminGetMemoryKindMigrationRequestObject) (AdminGetMemoryKindMigrationResponseObject, error)
// AdminListMemoryKindVersions List memory schema versions
// (GET /admin/v1/memory-kinds)
AdminListMemoryKindVersions(ctx context.Context, request AdminListMemoryKindVersionsRequestObject) (AdminListMemoryKindVersionsResponseObject, error)
// AdminCreateMemoryKindVersion Create an immutable memory schema version
// (POST /admin/v1/memory-kinds)
AdminCreateMemoryKindVersion(ctx context.Context, request AdminCreateMemoryKindVersionRequestObject) (AdminCreateMemoryKindVersionResponseObject, error)
// AdminGetMemoryKindVersion Get a memory schema version
// (GET /admin/v1/memory-kinds/{family}/{version})
AdminGetMemoryKindVersion(ctx context.Context, request AdminGetMemoryKindVersionRequestObject) (AdminGetMemoryKindVersionResponseObject, error)
// AdminListMemoryNamespaces List episodic memory namespaces across users
// (GET /admin/v1/memory-namespaces)
AdminListMemoryNamespaces(ctx context.Context, request AdminListMemoryNamespacesRequestObject) (AdminListMemoryNamespacesResponseObject, error)
// AdminGetMemoryUsage Get episodic memory usage for a single key
// (GET /admin/v1/memory-usage)
AdminGetMemoryUsage(ctx context.Context, request AdminGetMemoryUsageRequestObject) (AdminGetMemoryUsageResponseObject, error)
// AdminListTopMemoryUsage List top episodic memory usage rows under a namespace prefix
// (GET /admin/v1/memory-usage/top)
AdminListTopMemoryUsage(ctx context.Context, request AdminListTopMemoryUsageRequestObject) (AdminListTopMemoryUsageResponseObject, error)
// AdminListAttachments List all attachments across users (admin/auditor)
// (GET /v1/admin/attachments)
AdminListAttachments(ctx context.Context, request AdminListAttachmentsRequestObject) (AdminListAttachmentsResponseObject, error)
// AdminDeleteAttachment Delete any attachment (admin only)
// (DELETE /v1/admin/attachments/{id})
AdminDeleteAttachment(ctx context.Context, request AdminDeleteAttachmentRequestObject) (AdminDeleteAttachmentResponseObject, error)
// AdminGetAttachment Get attachment metadata (admin/auditor)
// (GET /v1/admin/attachments/{id})
AdminGetAttachment(ctx context.Context, request AdminGetAttachmentRequestObject) (AdminGetAttachmentResponseObject, error)
// AdminGetAttachmentContent Download attachment content (admin/auditor)
// (GET /v1/admin/attachments/{id}/content)
AdminGetAttachmentContent(ctx context.Context, request AdminGetAttachmentContentRequestObject) (AdminGetAttachmentContentResponseObject, error)
// AdminGetAttachmentDownloadUrl Get signed download URL for any attachment (admin/auditor)
// (GET /v1/admin/attachments/{id}/download-url)
AdminGetAttachmentDownloadUrl(ctx context.Context, request AdminGetAttachmentDownloadUrlRequestObject) (AdminGetAttachmentDownloadUrlResponseObject, error)
// AdminGetCheckpoint Get an admin client checkpoint
// (GET /v1/admin/checkpoints/{clientId})
AdminGetCheckpoint(ctx context.Context, request AdminGetCheckpointRequestObject) (AdminGetCheckpointResponseObject, error)
// AdminPutCheckpoint Upsert an admin client checkpoint
// (PUT /v1/admin/checkpoints/{clientId})
AdminPutCheckpoint(ctx context.Context, request AdminPutCheckpointRequestObject) (AdminPutCheckpointResponseObject, error)
// AdminListConversations List all conversations (admin/auditor)
// (GET /v1/admin/conversations)
AdminListConversations(ctx context.Context, request AdminListConversationsRequestObject) (AdminListConversationsResponseObject, error)
// AdminSearchConversations System-wide semantic search (admin/auditor)
// (POST /v1/admin/conversations/search)
AdminSearchConversations(ctx context.Context, request AdminSearchConversationsRequestObject) (AdminSearchConversationsResponseObject, error)
// AdminGetConversation Get any conversation (admin/auditor)
// (GET /v1/admin/conversations/{id})
AdminGetConversation(ctx context.Context, request AdminGetConversationRequestObject) (AdminGetConversationResponseObject, error)
// AdminUpdateConversation Update any conversation (admin only)
// (PATCH /v1/admin/conversations/{id})
AdminUpdateConversation(ctx context.Context, request AdminUpdateConversationRequestObject) (AdminUpdateConversationResponseObject, error)
// AdminListChildConversations List direct child conversations
// (GET /v1/admin/conversations/{id}/children)
AdminListChildConversations(ctx context.Context, request AdminListChildConversationsRequestObject) (AdminListChildConversationsResponseObject, error)
// AdminGetEntries Get entries from any conversation (admin/auditor)
// (GET /v1/admin/conversations/{id}/entries)
AdminGetEntries(ctx context.Context, request AdminGetEntriesRequestObject) (AdminGetEntriesResponseObject, error)
// AdminListForks Get fork navigation for any conversation (admin/auditor)
// (GET /v1/admin/conversations/{id}/forks)
AdminListForks(ctx context.Context, request AdminListForksRequestObject) (AdminListForksResponseObject, error)
// AdminGetMemberships Get memberships for any conversation (admin/auditor)
// (GET /v1/admin/conversations/{id}/memberships)
AdminGetMemberships(ctx context.Context, request AdminGetMembershipsRequestObject) (AdminGetMembershipsResponseObject, error)
// AdminGetEntry Get any entry by ID (admin/auditor)
// (GET /v1/admin/entries/{id})
AdminGetEntry(ctx context.Context, request AdminGetEntryRequestObject) (AdminGetEntryResponseObject, error)
// AdminSubscribeEvents Subscribe to all real-time events (admin SSE)
// (GET /v1/admin/events)
AdminSubscribeEvents(ctx context.Context, request AdminSubscribeEventsRequestObject) (AdminSubscribeEventsResponseObject, error)
// AdminEvict Hard-delete resources past retention period
// (POST /v1/admin/evict)
AdminEvict(ctx context.Context, request AdminEvictRequestObject) (AdminEvictResponseObject, error)
// GetCacheHitRate Get cache hit rate percentage over time
// (GET /v1/admin/stats/cache-hit-rate)
GetCacheHitRate(ctx context.Context, request GetCacheHitRateRequestObject) (GetCacheHitRateResponseObject, error)
// GetDbPoolUtilization Get database connection pool utilization over time
// (GET /v1/admin/stats/db-pool-utilization)
GetDbPoolUtilization(ctx context.Context, request GetDbPoolUtilizationRequestObject) (GetDbPoolUtilizationResponseObject, error)
// GetErrorRate Get 5xx error rate percentage over time
// (GET /v1/admin/stats/error-rate)
GetErrorRate(ctx context.Context, request GetErrorRateRequestObject) (GetErrorRateResponseObject, error)
// GetLatencyP95 Get P95 response latency over time
// (GET /v1/admin/stats/latency-p95)
GetLatencyP95(ctx context.Context, request GetLatencyP95RequestObject) (GetLatencyP95ResponseObject, error)
// GetRequestRate Get HTTP request rate over time
// (GET /v1/admin/stats/request-rate)
GetRequestRate(ctx context.Context, request GetRequestRateRequestObject) (GetRequestRateResponseObject, error)
// GetStoreLatencyP95 Get P95 store operation latency by operation type
// (GET /v1/admin/stats/store-latency-p95)
GetStoreLatencyP95(ctx context.Context, request GetStoreLatencyP95RequestObject) (GetStoreLatencyP95ResponseObject, error)
// GetStoreThroughput Get store operation throughput by operation type
// (GET /v1/admin/stats/store-throughput)
GetStoreThroughput(ctx context.Context, request GetStoreThroughputRequestObject) (GetStoreThroughputResponseObject, error)
// GetStatsSummary Get current datastore-backed admin inventory summary
// (GET /v1/admin/stats/summary)
GetStatsSummary(ctx context.Context, request GetStatsSummaryRequestObject) (GetStatsSummaryResponseObject, error)
// GetHealth Health check
// (GET /v1/health)
GetHealth(ctx context.Context, request GetHealthRequestObject) (GetHealthResponseObject, error)
}
StrictServerInterface represents all server handlers.
type TimeSeriesDataPoint ¶
type TimeSeriesDataPoint struct {
// Timestamp Timestamp of the data point.
Timestamp time.Time `json:"timestamp"`
// Value Value at this timestamp.
Value float64 `json:"value"`
}
TimeSeriesDataPoint A single data point in a time series.
type TimeSeriesResponse ¶
type TimeSeriesResponse struct {
// Data Time series data points.
Data []TimeSeriesDataPoint `json:"data"`
// Metric Metric identifier (e.g., "request_rate", "error_rate").
Metric string `json:"metric"`
// Unit Unit of measurement (e.g., "requests/sec", "percent", "seconds").
Unit string `json:"unit"`
}
TimeSeriesResponse Time series data returned by admin stats endpoints.
type TopMemoryUsageItem ¶
type TopMemoryUsageItem struct {
Key *string `json:"key,omitempty"`
Namespace *[]string `json:"namespace,omitempty"`
Usage *MemoryUsageResponse `json:"usage,omitempty"`
}
TopMemoryUsageItem defines model for TopMemoryUsageItem.
type UpdateMemoryRequest ¶ added in v0.0.3
type UpdateMemoryRequest struct {
// Archived Set to `true` to archive the active memory item.
Archived *bool `json:"archived,omitempty"`
// ExpectedRevision Optional optimistic concurrency revision expected for the active memory.
ExpectedRevision *int64 `json:"expected_revision,omitempty"`
}
UpdateMemoryRequest defines model for UpdateMemoryRequest.