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.7.1 DO NOT EDIT.
Index ¶
- Constants
- 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 AdminCheckpoint
- type AdminCheckpointPutRequest
- type AdminChildConversationSummary
- type AdminConversation
- type AdminConversationGroupStats
- type AdminConversationSummary
- type AdminDeleteAttachment204Response
- type AdminDeleteAttachment404JSONResponse
- type AdminDeleteAttachmentJSONRequestBody
- type AdminDeleteAttachmentRequestObject
- type AdminDeleteAttachmentResponseObject
- type AdminDeleteAttachmentdefaultJSONResponse
- type AdminDeleteMemory204Response
- type AdminDeleteMemoryRequestObject
- type AdminDeleteMemoryResponseObject
- type AdminDeleteMemorydefaultJSONResponse
- type AdminDownloadUrlResponse
- type AdminEvict200TexteventStreamResponse
- type AdminEvict204Response
- type AdminEvict400JSONResponse
- 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 AdminGetAttachmentContentRequestObject
- type AdminGetAttachmentContentResponseObject
- type AdminGetAttachmentContentdefaultJSONResponse
- type AdminGetAttachmentDownloadUrl200JSONResponse
- type AdminGetAttachmentDownloadUrl404JSONResponse
- type AdminGetAttachmentDownloadUrlParams
- 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 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 AdminGetMemoryParams
- type AdminGetMemoryPolicies200JSONResponse
- type AdminGetMemoryPoliciesRequestObject
- type AdminGetMemoryPoliciesResponseObject
- type AdminGetMemoryPoliciesdefaultJSONResponse
- 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 AdminListConversationsParamsMode
- 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 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 AdminOutboxStats
- type AdminPutCheckpoint200JSONResponse
- type AdminPutCheckpoint400JSONResponse
- type AdminPutCheckpoint401Response
- type AdminPutCheckpoint403Response
- type AdminPutCheckpointJSONRequestBody
- type AdminPutCheckpointRequestObject
- type AdminPutCheckpointResponseObject
- type AdminPutMemoryPolicies204Response
- type AdminPutMemoryPoliciesJSONRequestBody
- type AdminPutMemoryPoliciesRequestObject
- type AdminPutMemoryPoliciesResponseObject
- type AdminPutMemoryPoliciesdefaultJSONResponse
- 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 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 Channel
- type ConversationForkSummary
- type ConversationMembership
- type Entry
- 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 ListTopMemoryUsageResponse
- type MemoryIndexRunStats
- type MemoryIndexStatusResponse
- type MemoryIndexTriggerResponse
- type MemoryPolicyBundle
- type MemoryUsageResponse
- type MiddlewareFunc
- type MultiSeriesResponse
- type NotFound
- type NotFoundJSONResponse
- type SearchResult
- type ServerInterface
- type ServerInterfaceWrapper
- 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) AdminGetMemoryPolicies(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) AdminListMemoryNamespaces(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminListTopMemoryUsage(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminPutCheckpoint(c *gin.Context)
- func (siw *ServerInterfaceWrapper) AdminPutMemoryPolicies(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) 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
Constants ¶
const (
BearerAuthScopes bearerAuthContextKey = "BearerAuth.Scopes"
)
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 AdminCheckpoint ¶
type AdminCheckpoint struct {
ClientId string `json:"clientId"`
ContentType string `json:"contentType"`
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 Access level of a user for a conversation.
AccessLevel *AccessLevel `json:"accessLevel,omitempty"`
// Archived Synthetic archive flag derived from the internal archived timestamp.
Archived *bool `json:"archived,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Id Unique identifier for the child conversation.
Id *openapi_types.UUID `json:"id,omitempty"`
LastMessagePreview *string `json:"lastMessagePreview,omitempty"`
OwnerUserId *string `json:"ownerUserId,omitempty"`
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 Access level of a user for a conversation.
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"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// ForkedAtConversationId Conversation ID from which this conversation was forked.
ForkedAtConversationId *openapi_types.UUID `json:"forkedAtConversationId,omitempty"`
// ForkedAtEntryId First parent entry excluded by this fork. Null for root conversations and blank-slate forks that inherit no parent entries.
ForkedAtEntryId *openapi_types.UUID `json:"forkedAtEntryId,omitempty"`
// Id Unique identifier for the conversation.
Id *openapi_types.UUID `json:"id,omitempty"`
LastMessagePreview *string `json:"lastMessagePreview,omitempty"`
OwnerUserId *string `json:"ownerUserId,omitempty"`
StartedByConversationId *openapi_types.UUID `json:"startedByConversationId,omitempty"`
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 Access level of a user for a conversation.
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"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Id Unique identifier for the conversation.
Id *openapi_types.UUID `json:"id,omitempty"`
LastMessagePreview *string `json:"lastMessagePreview,omitempty"`
OwnerUserId *string `json:"ownerUserId,omitempty"`
StartedByConversationId *openapi_types.UUID `json:"startedByConversationId,omitempty"`
StartedByEntryId *openapi_types.UUID `json:"startedByEntryId,omitempty"`
Title *string `json:"title,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
AdminConversationSummary defines model for AdminConversationSummary.
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 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 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"`
}
AdminGetAttachmentContentParams defines parameters for AdminGetAttachmentContent.
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"`
}
AdminGetAttachmentDownloadUrlParams defines parameters for AdminGetAttachmentDownloadUrl.
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 openapi_types.UUID `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 *string `json:"afterCursor,omitempty"`
Data *[]Entry `json:"data,omitempty"`
}
func (AdminGetEntries200JSONResponse) VisitAdminGetEntriesResponse ¶
func (response AdminGetEntries200JSONResponse) 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"`
// 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"`
}
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 openapi_types.UUID `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 Entry
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 openapi_types.UUID `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 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 AdminGetMemoryPolicies200JSONResponse ¶
type AdminGetMemoryPolicies200JSONResponse MemoryPolicyBundle
func (AdminGetMemoryPolicies200JSONResponse) VisitAdminGetMemoryPoliciesResponse ¶
func (response AdminGetMemoryPolicies200JSONResponse) VisitAdminGetMemoryPoliciesResponse(w http.ResponseWriter) error
type AdminGetMemoryPoliciesRequestObject ¶
type AdminGetMemoryPoliciesRequestObject struct {
}
type AdminGetMemoryPoliciesResponseObject ¶
type AdminGetMemoryPoliciesResponseObject interface {
VisitAdminGetMemoryPoliciesResponse(w http.ResponseWriter) error
}
type AdminGetMemoryPoliciesdefaultJSONResponse ¶
type AdminGetMemoryPoliciesdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminGetMemoryPoliciesdefaultJSONResponse) VisitAdminGetMemoryPoliciesResponse ¶
func (response AdminGetMemoryPoliciesdefaultJSONResponse) VisitAdminGetMemoryPoliciesResponse(w http.ResponseWriter) error
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 (max 200).
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 *openapi_types.UUID `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 openapi_types.UUID `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 *AdminListConversationsParamsAncestry `form:"ancestry,omitempty" json:"ancestry,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 (UUID format).
AfterCursor *openapi_types.UUID `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"`
// 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 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 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 struct {
AfterCursor *string `json:"afterCursor,omitempty"`
Data *[]ConversationForkSummary `json:"data,omitempty"`
}
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 {
// AfterCursor Cursor for pagination; returns items after this conversation id (UUID format).
AfterCursor *openapi_types.UUID `form:"afterCursor,omitempty" json:"afterCursor,omitempty"`
// Limit Maximum number of forks 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"`
}
AdminListForksParams defines parameters for AdminListForks.
type AdminListForksRequestObject ¶
type AdminListForksRequestObject struct {
Id openapi_types.UUID `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"`
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 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"`
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 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 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 AdminPutMemoryPolicies204Response ¶
type AdminPutMemoryPolicies204Response struct {
}
func (AdminPutMemoryPolicies204Response) VisitAdminPutMemoryPoliciesResponse ¶
func (response AdminPutMemoryPolicies204Response) VisitAdminPutMemoryPoliciesResponse(w http.ResponseWriter) error
type AdminPutMemoryPoliciesJSONRequestBody ¶
type AdminPutMemoryPoliciesJSONRequestBody = MemoryPolicyBundle
AdminPutMemoryPoliciesJSONRequestBody defines body for AdminPutMemoryPolicies for application/json ContentType.
type AdminPutMemoryPoliciesRequestObject ¶
type AdminPutMemoryPoliciesRequestObject struct {
Body *AdminPutMemoryPoliciesJSONRequestBody
}
type AdminPutMemoryPoliciesResponseObject ¶
type AdminPutMemoryPoliciesResponseObject interface {
VisitAdminPutMemoryPoliciesResponse(w http.ResponseWriter) error
}
type AdminPutMemoryPoliciesdefaultJSONResponse ¶
type AdminPutMemoryPoliciesdefaultJSONResponse struct {
Body ErrorResponse
StatusCode int
}
func (AdminPutMemoryPoliciesdefaultJSONResponse) VisitAdminPutMemoryPoliciesResponse ¶
func (response AdminPutMemoryPoliciesdefaultJSONResponse) VisitAdminPutMemoryPoliciesResponse(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.
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"`
Limit *int `json:"limit,omitempty"`
NamespacePrefix *[]string `json:"namespace_prefix,omitempty"`
Query *string `json:"query,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 Event payload detail level.
Detail *AdminSubscribeEventsParamsDetail `form:"detail,omitempty" json:"detail,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 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"`
}
AdminUpdateConversationRequest defines model for AdminUpdateConversationRequest.
type AdminUpdateConversationRequestObject ¶
type AdminUpdateConversationRequestObject struct {
Id openapi_types.UUID `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 ConversationForkSummary ¶
type ConversationForkSummary struct {
// ConversationId Unique identifier for the forked conversation.
ConversationId *openapi_types.UUID `json:"conversationId,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// ForkedAtConversationId Conversation ID where the fork occurred.
ForkedAtConversationId *openapi_types.UUID `json:"forkedAtConversationId,omitempty"`
// ForkedAtEntryId First parent entry excluded by this fork. 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 *openapi_types.UUID `json:"conversationId,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
UserId *string `json:"userId,omitempty"`
}
ConversationMembership defines model for ConversationMembership.
type Entry ¶
type Entry struct {
// Channel Logical channel of the entry within the conversation.
Channel Channel `json:"channel"`
Content []interface{} `json:"content"`
// ContentType Describes the schema/format of the content array.
// Examples: "message", "LC4J", "SpringAI"
ContentType string `json:"contentType"`
// ConversationId Unique identifier for the conversation this entry belongs to.
ConversationId openapi_types.UUID `json:"conversationId"`
CreatedAt time.Time `json:"createdAt"`
Epoch *int64 `json:"epoch,omitempty"`
// Id Unique identifier for the entry.
Id openapi_types.UUID `json:"id"`
UserId *string `json:"userId,omitempty"`
}
Entry defines model for Entry.
type ErrorJSONResponse ¶
type ErrorJSONResponse ErrorResponse
type ErrorResponse ¶
type ErrorResponse struct {
Code *string `json:"code,omitempty"`
Details *map[string]interface{} `json:"details,omitempty"`
Error *string `json:"error,omitempty"`
}
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 {
// Justification Reason for the eviction (for audit log).
Justification *string `json:"justification,omitempty"`
// ResourceTypes Which resource types to evict.
// - conversations: Archived conversations past retention.
ResourceTypes []EvictRequestResourceTypes `json:"resourceTypes"`
// RetentionPeriod ISO 8601 duration. Resources archived longer than this are hard-deleted.
// 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"
)
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 ListTopMemoryUsageResponse ¶
type ListTopMemoryUsageResponse struct {
Items *[]TopMemoryUsageItem `json:"items,omitempty"`
}
ListTopMemoryUsageResponse defines model for ListTopMemoryUsageResponse.
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 MemoryPolicyBundle ¶
type MemoryPolicyBundle struct {
// Attributes Rego source for `package memories.attributes`.
Attributes string `json:"attributes"`
// Authz Rego source for `package memories.authz`.
Authz string `json:"authz"`
// Filter Rego source for `package memories.filter`.
Filter string `json:"filter"`
}
MemoryPolicyBundle defines model for MemoryPolicyBundle.
type MemoryUsageResponse ¶
type MemoryUsageResponse struct {
FetchCount *int64 `json:"fetchCount,omitempty"`
LastFetchedAt *time.Time `json:"lastFetchedAt,omitempty"`
}
MemoryUsageResponse defines model for MemoryUsageResponse.
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 SearchResult ¶
type SearchResult struct {
// ConversationId Unique identifier of the conversation containing this entry.
ConversationId *openapi_types.UUID `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 *Entry `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 {
// List episodic memories across users
// (GET /admin/v1/memories)
AdminListMemories(c *gin.Context, params AdminListMemoriesParams)
// Search episodic memories across users
// (POST /admin/v1/memories/search)
AdminSearchMemories(c *gin.Context)
// Force-delete an episodic memory by ID
// (DELETE /admin/v1/memories/{id})
AdminDeleteMemory(c *gin.Context, id openapi_types.UUID)
// Get an episodic memory by ID
// (GET /admin/v1/memories/{id})
AdminGetMemory(c *gin.Context, id openapi_types.UUID, params AdminGetMemoryParams)
// Get episodic memory indexing queue status
// (GET /admin/v1/memory-index/status)
AdminGetMemoryIndexStatus(c *gin.Context)
// Trigger one episodic memory indexing cycle
// (POST /admin/v1/memory-index/trigger)
AdminTriggerMemoryIndex(c *gin.Context)
// List episodic memory namespaces across users
// (GET /admin/v1/memory-namespaces)
AdminListMemoryNamespaces(c *gin.Context, params AdminListMemoryNamespacesParams)
// Download active episodic memory policy bundle
// (GET /admin/v1/memory-policies)
AdminGetMemoryPolicies(c *gin.Context)
// Upload episodic memory policy bundle
// (PUT /admin/v1/memory-policies)
AdminPutMemoryPolicies(c *gin.Context)
// Get episodic memory usage for a single key
// (GET /admin/v1/memory-usage)
AdminGetMemoryUsage(c *gin.Context, params AdminGetMemoryUsageParams)
// List top episodic memory usage rows under a namespace prefix
// (GET /admin/v1/memory-usage/top)
AdminListTopMemoryUsage(c *gin.Context, params AdminListTopMemoryUsageParams)
// List all attachments across users (admin/auditor)
// (GET /v1/admin/attachments)
AdminListAttachments(c *gin.Context, params AdminListAttachmentsParams)
// Delete any attachment (admin only)
// (DELETE /v1/admin/attachments/{id})
AdminDeleteAttachment(c *gin.Context, id openapi_types.UUID)
// Get attachment metadata (admin/auditor)
// (GET /v1/admin/attachments/{id})
AdminGetAttachment(c *gin.Context, id openapi_types.UUID, params AdminGetAttachmentParams)
// Download attachment content (admin/auditor)
// (GET /v1/admin/attachments/{id}/content)
AdminGetAttachmentContent(c *gin.Context, id openapi_types.UUID, params AdminGetAttachmentContentParams)
// 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)
// Get an admin client checkpoint
// (GET /v1/admin/checkpoints/{clientId})
AdminGetCheckpoint(c *gin.Context, clientId string)
// Upsert an admin client checkpoint
// (PUT /v1/admin/checkpoints/{clientId})
AdminPutCheckpoint(c *gin.Context, clientId string)
// List all conversations (admin/auditor)
// (GET /v1/admin/conversations)
AdminListConversations(c *gin.Context, params AdminListConversationsParams)
// System-wide semantic search (admin/auditor)
// (POST /v1/admin/conversations/search)
AdminSearchConversations(c *gin.Context, params AdminSearchConversationsParams)
// Get any conversation (admin/auditor)
// (GET /v1/admin/conversations/{id})
AdminGetConversation(c *gin.Context, id openapi_types.UUID, params AdminGetConversationParams)
// Update any conversation (admin only)
// (PATCH /v1/admin/conversations/{id})
AdminUpdateConversation(c *gin.Context, id openapi_types.UUID)
// List direct child conversations
// (GET /v1/admin/conversations/{id}/children)
AdminListChildConversations(c *gin.Context, id openapi_types.UUID, params AdminListChildConversationsParams)
// Get entries from any conversation (admin/auditor)
// (GET /v1/admin/conversations/{id}/entries)
AdminGetEntries(c *gin.Context, id openapi_types.UUID, params AdminGetEntriesParams)
// List forks for any conversation (admin/auditor)
// (GET /v1/admin/conversations/{id}/forks)
AdminListForks(c *gin.Context, id openapi_types.UUID, params AdminListForksParams)
// Get memberships for any conversation (admin/auditor)
// (GET /v1/admin/conversations/{id}/memberships)
AdminGetMemberships(c *gin.Context, id openapi_types.UUID, params AdminGetMembershipsParams)
// Get any entry by ID (admin/auditor)
// (GET /v1/admin/entries/{id})
AdminGetEntry(c *gin.Context, id openapi_types.UUID, params AdminGetEntryParams)
// Subscribe to all real-time events (admin SSE)
// (GET /v1/admin/events)
AdminSubscribeEvents(c *gin.Context, params AdminSubscribeEventsParams)
// Hard-delete archived resources past retention period
// (POST /v1/admin/evict)
AdminEvict(c *gin.Context, params AdminEvictParams)
// Get cache hit rate percentage over time
// (GET /v1/admin/stats/cache-hit-rate)
GetCacheHitRate(c *gin.Context, params GetCacheHitRateParams)
// Get database connection pool utilization over time
// (GET /v1/admin/stats/db-pool-utilization)
GetDbPoolUtilization(c *gin.Context, params GetDbPoolUtilizationParams)
// Get 5xx error rate percentage over time
// (GET /v1/admin/stats/error-rate)
GetErrorRate(c *gin.Context, params GetErrorRateParams)
// Get P95 response latency over time
// (GET /v1/admin/stats/latency-p95)
GetLatencyP95(c *gin.Context, params GetLatencyP95Params)
// Get HTTP request rate over time
// (GET /v1/admin/stats/request-rate)
GetRequestRate(c *gin.Context, params GetRequestRateParams)
// Get P95 store operation latency by operation type
// (GET /v1/admin/stats/store-latency-p95)
GetStoreLatencyP95(c *gin.Context, params GetStoreLatencyP95Params)
// Get store operation throughput by operation type
// (GET /v1/admin/stats/store-throughput)
GetStoreThroughput(c *gin.Context, params GetStoreThroughputParams)
// Get current datastore-backed admin inventory summary
// (GET /v1/admin/stats/summary)
GetStatsSummary(c *gin.Context)
// 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) 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) AdminGetMemoryPolicies ¶
func (siw *ServerInterfaceWrapper) AdminGetMemoryPolicies(c *gin.Context)
AdminGetMemoryPolicies 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) 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) AdminPutMemoryPolicies ¶
func (siw *ServerInterfaceWrapper) AdminPutMemoryPolicies(c *gin.Context)
AdminPutMemoryPolicies 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) 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 {
// List episodic memories across users
// (GET /admin/v1/memories)
AdminListMemories(ctx context.Context, request AdminListMemoriesRequestObject) (AdminListMemoriesResponseObject, error)
// Search episodic memories across users
// (POST /admin/v1/memories/search)
AdminSearchMemories(ctx context.Context, request AdminSearchMemoriesRequestObject) (AdminSearchMemoriesResponseObject, error)
// Force-delete an episodic memory by ID
// (DELETE /admin/v1/memories/{id})
AdminDeleteMemory(ctx context.Context, request AdminDeleteMemoryRequestObject) (AdminDeleteMemoryResponseObject, error)
// Get an episodic memory by ID
// (GET /admin/v1/memories/{id})
AdminGetMemory(ctx context.Context, request AdminGetMemoryRequestObject) (AdminGetMemoryResponseObject, error)
// Get episodic memory indexing queue status
// (GET /admin/v1/memory-index/status)
AdminGetMemoryIndexStatus(ctx context.Context, request AdminGetMemoryIndexStatusRequestObject) (AdminGetMemoryIndexStatusResponseObject, error)
// Trigger one episodic memory indexing cycle
// (POST /admin/v1/memory-index/trigger)
AdminTriggerMemoryIndex(ctx context.Context, request AdminTriggerMemoryIndexRequestObject) (AdminTriggerMemoryIndexResponseObject, error)
// List episodic memory namespaces across users
// (GET /admin/v1/memory-namespaces)
AdminListMemoryNamespaces(ctx context.Context, request AdminListMemoryNamespacesRequestObject) (AdminListMemoryNamespacesResponseObject, error)
// Download active episodic memory policy bundle
// (GET /admin/v1/memory-policies)
AdminGetMemoryPolicies(ctx context.Context, request AdminGetMemoryPoliciesRequestObject) (AdminGetMemoryPoliciesResponseObject, error)
// Upload episodic memory policy bundle
// (PUT /admin/v1/memory-policies)
AdminPutMemoryPolicies(ctx context.Context, request AdminPutMemoryPoliciesRequestObject) (AdminPutMemoryPoliciesResponseObject, error)
// Get episodic memory usage for a single key
// (GET /admin/v1/memory-usage)
AdminGetMemoryUsage(ctx context.Context, request AdminGetMemoryUsageRequestObject) (AdminGetMemoryUsageResponseObject, error)
// List top episodic memory usage rows under a namespace prefix
// (GET /admin/v1/memory-usage/top)
AdminListTopMemoryUsage(ctx context.Context, request AdminListTopMemoryUsageRequestObject) (AdminListTopMemoryUsageResponseObject, error)
// List all attachments across users (admin/auditor)
// (GET /v1/admin/attachments)
AdminListAttachments(ctx context.Context, request AdminListAttachmentsRequestObject) (AdminListAttachmentsResponseObject, error)
// Delete any attachment (admin only)
// (DELETE /v1/admin/attachments/{id})
AdminDeleteAttachment(ctx context.Context, request AdminDeleteAttachmentRequestObject) (AdminDeleteAttachmentResponseObject, error)
// Get attachment metadata (admin/auditor)
// (GET /v1/admin/attachments/{id})
AdminGetAttachment(ctx context.Context, request AdminGetAttachmentRequestObject) (AdminGetAttachmentResponseObject, error)
// Download attachment content (admin/auditor)
// (GET /v1/admin/attachments/{id}/content)
AdminGetAttachmentContent(ctx context.Context, request AdminGetAttachmentContentRequestObject) (AdminGetAttachmentContentResponseObject, error)
// Get signed download URL for any attachment (admin/auditor)
// (GET /v1/admin/attachments/{id}/download-url)
AdminGetAttachmentDownloadUrl(ctx context.Context, request AdminGetAttachmentDownloadUrlRequestObject) (AdminGetAttachmentDownloadUrlResponseObject, error)
// Get an admin client checkpoint
// (GET /v1/admin/checkpoints/{clientId})
AdminGetCheckpoint(ctx context.Context, request AdminGetCheckpointRequestObject) (AdminGetCheckpointResponseObject, error)
// Upsert an admin client checkpoint
// (PUT /v1/admin/checkpoints/{clientId})
AdminPutCheckpoint(ctx context.Context, request AdminPutCheckpointRequestObject) (AdminPutCheckpointResponseObject, error)
// List all conversations (admin/auditor)
// (GET /v1/admin/conversations)
AdminListConversations(ctx context.Context, request AdminListConversationsRequestObject) (AdminListConversationsResponseObject, error)
// System-wide semantic search (admin/auditor)
// (POST /v1/admin/conversations/search)
AdminSearchConversations(ctx context.Context, request AdminSearchConversationsRequestObject) (AdminSearchConversationsResponseObject, error)
// Get any conversation (admin/auditor)
// (GET /v1/admin/conversations/{id})
AdminGetConversation(ctx context.Context, request AdminGetConversationRequestObject) (AdminGetConversationResponseObject, error)
// Update any conversation (admin only)
// (PATCH /v1/admin/conversations/{id})
AdminUpdateConversation(ctx context.Context, request AdminUpdateConversationRequestObject) (AdminUpdateConversationResponseObject, error)
// List direct child conversations
// (GET /v1/admin/conversations/{id}/children)
AdminListChildConversations(ctx context.Context, request AdminListChildConversationsRequestObject) (AdminListChildConversationsResponseObject, error)
// Get entries from any conversation (admin/auditor)
// (GET /v1/admin/conversations/{id}/entries)
AdminGetEntries(ctx context.Context, request AdminGetEntriesRequestObject) (AdminGetEntriesResponseObject, error)
// List forks for any conversation (admin/auditor)
// (GET /v1/admin/conversations/{id}/forks)
AdminListForks(ctx context.Context, request AdminListForksRequestObject) (AdminListForksResponseObject, error)
// Get memberships for any conversation (admin/auditor)
// (GET /v1/admin/conversations/{id}/memberships)
AdminGetMemberships(ctx context.Context, request AdminGetMembershipsRequestObject) (AdminGetMembershipsResponseObject, error)
// Get any entry by ID (admin/auditor)
// (GET /v1/admin/entries/{id})
AdminGetEntry(ctx context.Context, request AdminGetEntryRequestObject) (AdminGetEntryResponseObject, error)
// Subscribe to all real-time events (admin SSE)
// (GET /v1/admin/events)
AdminSubscribeEvents(ctx context.Context, request AdminSubscribeEventsRequestObject) (AdminSubscribeEventsResponseObject, error)
// Hard-delete archived resources past retention period
// (POST /v1/admin/evict)
AdminEvict(ctx context.Context, request AdminEvictRequestObject) (AdminEvictResponseObject, error)
// Get cache hit rate percentage over time
// (GET /v1/admin/stats/cache-hit-rate)
GetCacheHitRate(ctx context.Context, request GetCacheHitRateRequestObject) (GetCacheHitRateResponseObject, error)
// Get database connection pool utilization over time
// (GET /v1/admin/stats/db-pool-utilization)
GetDbPoolUtilization(ctx context.Context, request GetDbPoolUtilizationRequestObject) (GetDbPoolUtilizationResponseObject, error)
// Get 5xx error rate percentage over time
// (GET /v1/admin/stats/error-rate)
GetErrorRate(ctx context.Context, request GetErrorRateRequestObject) (GetErrorRateResponseObject, error)
// Get P95 response latency over time
// (GET /v1/admin/stats/latency-p95)
GetLatencyP95(ctx context.Context, request GetLatencyP95RequestObject) (GetLatencyP95ResponseObject, error)
// Get HTTP request rate over time
// (GET /v1/admin/stats/request-rate)
GetRequestRate(ctx context.Context, request GetRequestRateRequestObject) (GetRequestRateResponseObject, error)
// Get P95 store operation latency by operation type
// (GET /v1/admin/stats/store-latency-p95)
GetStoreLatencyP95(ctx context.Context, request GetStoreLatencyP95RequestObject) (GetStoreLatencyP95ResponseObject, error)
// Get store operation throughput by operation type
// (GET /v1/admin/stats/store-throughput)
GetStoreThroughput(ctx context.Context, request GetStoreThroughputRequestObject) (GetStoreThroughputResponseObject, error)
// Get current datastore-backed admin inventory summary
// (GET /v1/admin/stats/summary)
GetStatsSummary(ctx context.Context, request GetStatsSummaryRequestObject) (GetStatsSummaryResponseObject, error)
// 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.