Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OutcomeRowsFS embed.FS
View Source
var OutcomeRowsPathURI = "/v1/api/agently/toolapprovalqueue/outcome/outcome"
Functions ¶
Types ¶
type OutcomeRowView ¶
type OutcomeRowView struct {
Id string `sqlx:"id"`
UserId string `sqlx:"user_id"`
ConversationId *string `sqlx:"conversation_id"`
TurnId *string `sqlx:"turn_id"`
MessageId *string `sqlx:"message_id"`
ToolName string `sqlx:"tool_name"`
Title *string `sqlx:"title"`
Arguments []byte `sqlx:"arguments"`
Metadata *[]byte `sqlx:"metadata"`
Status string `sqlx:"status"`
Decision *string `sqlx:"decision"`
ExpiresAt *time.Time `sqlx:"expires_at"`
TimedOutAt *time.Time `sqlx:"timed_out_at"`
ApprovedByUserId *string `sqlx:"approved_by_user_id"`
ApprovedAt *time.Time `sqlx:"approved_at"`
ExecutedAt *time.Time `sqlx:"executed_at"`
ErrorMessage *string `sqlx:"error_message"`
CreatedAt time.Time `sqlx:"created_at"`
UpdatedAt *time.Time `sqlx:"updated_at"`
TransitionAt *string `sqlx:"transition_at"`
}
type OutcomeRowsInput ¶
type OutcomeRowsInput struct {
UserId string `parameter:",kind=query,in=userId" predicate:"equal,group=0,o,user_id"`
ConversationId string `parameter:",kind=query,in=conversationId" predicate:"equal,group=0,o,conversation_id"`
Since time.Time `parameter:",kind=query,in=since" predicate:"expr,group=0,o.transition_at > ?"`
Until time.Time `parameter:",kind=query,in=until" predicate:"expr,group=0,o.transition_at <= ?"`
Has *OutcomeRowsInputHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-"`
}
func (*OutcomeRowsInput) EmbedFS ¶
func (i *OutcomeRowsInput) EmbedFS() *embed.FS
type OutcomeRowsInputHas ¶
type OutcomeRowsOutput ¶
type OutcomeRowsOutput struct {
response.Status `parameter:",kind=output,in=apiStatus" json:",omitempty"`
Data []*OutcomeRowView `` /* 127-byte string literal not displayed */
Metrics response.Metrics `parameter:",kind=output,in=metrics"`
}
Click to show internal directories.
Click to hide internal directories.