api

package
v0.0.55 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package api provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.0 DO NOT EDIT.

Index

Constants

View Source
const (
	BearerAuthScopes bearerAuthContextKey = "BearerAuth.Scopes"
)

Variables

This section is empty.

Functions

func NewActivateOrganizationActionSecretVersionRequest added in v0.0.54

func NewActivateOrganizationActionSecretVersionRequest(server string, actionId string, secretVersion int64, body ActivateOrganizationActionSecretVersionJSONRequestBody) (*http.Request, error)

NewActivateOrganizationActionSecretVersionRequest calls the generic ActivateOrganizationActionSecretVersion builder with application/json body

func NewActivateOrganizationActionSecretVersionRequestWithBody added in v0.0.54

func NewActivateOrganizationActionSecretVersionRequestWithBody(server string, actionId string, secretVersion int64, contentType string, body io.Reader) (*http.Request, error)

NewActivateOrganizationActionSecretVersionRequestWithBody generates requests for ActivateOrganizationActionSecretVersion with any type of body

func NewAppendSessionMessagesRequest added in v0.0.22

func NewAppendSessionMessagesRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, body AppendSessionMessagesJSONRequestBody) (*http.Request, error)

NewAppendSessionMessagesRequest calls the generic AppendSessionMessages builder with application/json body

func NewAppendSessionMessagesRequestWithBody added in v0.0.22

func NewAppendSessionMessagesRequestWithBody(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader) (*http.Request, error)

NewAppendSessionMessagesRequestWithBody generates requests for AppendSessionMessages with any type of body

func NewApplyBlueprintRequest added in v0.0.31

func NewApplyBlueprintRequest(server string, projectHandle ProjectHandleParam, body ApplyBlueprintJSONRequestBody) (*http.Request, error)

NewApplyBlueprintRequest calls the generic ApplyBlueprint builder with application/json body

func NewApplyBlueprintRequestWithBody added in v0.0.31

func NewApplyBlueprintRequestWithBody(server string, projectHandle ProjectHandleParam, contentType string, body io.Reader) (*http.Request, error)

NewApplyBlueprintRequestWithBody generates requests for ApplyBlueprint with any type of body

func NewBulkCreateTableRowsRequest added in v0.0.25

func NewBulkCreateTableRowsRequest(server string, projectHandle ProjectHandleParam, tableId TableIDParam, body BulkCreateTableRowsJSONRequestBody) (*http.Request, error)

NewBulkCreateTableRowsRequest calls the generic BulkCreateTableRows builder with application/json body

func NewBulkCreateTableRowsRequestWithBody added in v0.0.25

func NewBulkCreateTableRowsRequestWithBody(server string, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader) (*http.Request, error)

NewBulkCreateTableRowsRequestWithBody generates requests for BulkCreateTableRows with any type of body

func NewCancelInteractionRequest added in v0.0.19

func NewCancelInteractionRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, body CancelInteractionJSONRequestBody) (*http.Request, error)

NewCancelInteractionRequest calls the generic CancelInteraction builder with application/json body

func NewCancelInteractionRequestWithBody added in v0.0.19

func NewCancelInteractionRequestWithBody(server string, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader) (*http.Request, error)

NewCancelInteractionRequestWithBody generates requests for CancelInteraction with any type of body

func NewCancelNudgeRequest added in v0.0.42

func NewCancelNudgeRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, nudgeId NudgeIdParam) (*http.Request, error)

NewCancelNudgeRequest generates requests for CancelNudge

func NewCancelRunRequest

func NewCancelRunRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, body CancelRunJSONRequestBody) (*http.Request, error)

NewCancelRunRequest calls the generic CancelRun builder with application/json body

func NewCancelRunRequestWithBody added in v0.0.23

func NewCancelRunRequestWithBody(server string, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader) (*http.Request, error)

NewCancelRunRequestWithBody generates requests for CancelRun with any type of body

func NewCancelSessionRequest added in v0.0.26

func NewCancelSessionRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *CancelSessionParams) (*http.Request, error)

NewCancelSessionRequest generates requests for CancelSession

func NewCancelTurnRequest added in v0.0.29

func NewCancelTurnRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, turnId TurnIdParam) (*http.Request, error)

NewCancelTurnRequest generates requests for CancelTurn

func NewCompactSessionRequest added in v0.0.29

func NewCompactSessionRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam) (*http.Request, error)

NewCompactSessionRequest generates requests for CompactSession

func NewCreateAPIKeyRequest

func NewCreateAPIKeyRequest(server string, projectHandle ProjectHandleParam, body CreateAPIKeyJSONRequestBody) (*http.Request, error)

NewCreateAPIKeyRequest calls the generic CreateAPIKey builder with application/json body

func NewCreateAPIKeyRequestWithBody

func NewCreateAPIKeyRequestWithBody(server string, projectHandle ProjectHandleParam, contentType string, body io.Reader) (*http.Request, error)

NewCreateAPIKeyRequestWithBody generates requests for CreateAPIKey with any type of body

func NewCreateActionRequest

func NewCreateActionRequest(server string, projectHandle ProjectHandleParam, body CreateActionJSONRequestBody) (*http.Request, error)

NewCreateActionRequest calls the generic CreateAction builder with application/json body

func NewCreateActionRequestWithBody

func NewCreateActionRequestWithBody(server string, projectHandle ProjectHandleParam, contentType string, body io.Reader) (*http.Request, error)

NewCreateActionRequestWithBody generates requests for CreateAction with any type of body

func NewCreateAgentRequest added in v0.0.3

func NewCreateAgentRequest(server string, projectHandle ProjectHandleParam, body CreateAgentJSONRequestBody) (*http.Request, error)

NewCreateAgentRequest calls the generic CreateAgent builder with application/json body

func NewCreateAgentRequestWithBody added in v0.0.3

func NewCreateAgentRequestWithBody(server string, projectHandle ProjectHandleParam, contentType string, body io.Reader) (*http.Request, error)

NewCreateAgentRequestWithBody generates requests for CreateAgent with any type of body

func NewCreateArtifactRequestWithBody added in v0.0.22

func NewCreateArtifactRequestWithBody(server string, projectHandle ProjectHandleParam, params *CreateArtifactParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateArtifactRequestWithBody generates requests for CreateArtifact with any type of body

func NewCreateArtifactSignedUrlRequest added in v0.0.22

func NewCreateArtifactSignedUrlRequest(server string, projectHandle ProjectHandleParam, artifactId ArtifactIdParam, params *CreateArtifactSignedUrlParams) (*http.Request, error)

NewCreateArtifactSignedUrlRequest generates requests for CreateArtifactSignedUrl

func NewCreateEnvironmentRequest added in v0.0.21

func NewCreateEnvironmentRequest(server string, projectHandle ProjectHandleParam, body CreateEnvironmentJSONRequestBody) (*http.Request, error)

NewCreateEnvironmentRequest calls the generic CreateEnvironment builder with application/json body

func NewCreateEnvironmentRequestWithBody added in v0.0.21

func NewCreateEnvironmentRequestWithBody(server string, projectHandle ProjectHandleParam, contentType string, body io.Reader) (*http.Request, error)

NewCreateEnvironmentRequestWithBody generates requests for CreateEnvironment with any type of body

func NewCreateInteractionRequest

func NewCreateInteractionRequest(server string, projectHandle ProjectHandleParam, body CreateInteractionJSONRequestBody) (*http.Request, error)

NewCreateInteractionRequest calls the generic CreateInteraction builder with application/json body

func NewCreateInteractionRequestWithBody

func NewCreateInteractionRequestWithBody(server string, projectHandle ProjectHandleParam, contentType string, body io.Reader) (*http.Request, error)

NewCreateInteractionRequestWithBody generates requests for CreateInteraction with any type of body

func NewCreateLoopRequest added in v0.0.24

func NewCreateLoopRequest(server string, projectHandle ProjectHandleParam, body CreateLoopJSONRequestBody) (*http.Request, error)

NewCreateLoopRequest calls the generic CreateLoop builder with application/json body

func NewCreateLoopRequestWithBody added in v0.0.24

func NewCreateLoopRequestWithBody(server string, projectHandle ProjectHandleParam, contentType string, body io.Reader) (*http.Request, error)

NewCreateLoopRequestWithBody generates requests for CreateLoop with any type of body

func NewCreateOrgAPIKeyRequest added in v0.0.36

func NewCreateOrgAPIKeyRequest(server string, body CreateOrgAPIKeyJSONRequestBody) (*http.Request, error)

NewCreateOrgAPIKeyRequest calls the generic CreateOrgAPIKey builder with application/json body

func NewCreateOrgAPIKeyRequestWithBody added in v0.0.36

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

NewCreateOrgAPIKeyRequestWithBody generates requests for CreateOrgAPIKey with any type of body

func NewCreateOrganizationActionRequest added in v0.0.54

func NewCreateOrganizationActionRequest(server string, body CreateOrganizationActionJSONRequestBody) (*http.Request, error)

NewCreateOrganizationActionRequest calls the generic CreateOrganizationAction builder with application/json body

func NewCreateOrganizationActionRequestWithBody added in v0.0.54

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

NewCreateOrganizationActionRequestWithBody generates requests for CreateOrganizationAction with any type of body

func NewCreateOrganizationSkillRequest added in v0.0.54

func NewCreateOrganizationSkillRequest(server string, body CreateOrganizationSkillJSONRequestBody) (*http.Request, error)

NewCreateOrganizationSkillRequest calls the generic CreateOrganizationSkill builder with application/json body

func NewCreateOrganizationSkillRequestWithBody added in v0.0.54

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

NewCreateOrganizationSkillRequestWithBody generates requests for CreateOrganizationSkill with any type of body

func NewCreatePrincipalRequest added in v0.0.22

func NewCreatePrincipalRequest(server string, projectHandle ProjectHandleParam, body CreatePrincipalJSONRequestBody) (*http.Request, error)

NewCreatePrincipalRequest calls the generic CreatePrincipal builder with application/json body

func NewCreatePrincipalRequestWithBody added in v0.0.22

func NewCreatePrincipalRequestWithBody(server string, projectHandle ProjectHandleParam, contentType string, body io.Reader) (*http.Request, error)

NewCreatePrincipalRequestWithBody generates requests for CreatePrincipal with any type of body

func NewCreateProjectRequest added in v0.0.3

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

NewCreateProjectRequest calls the generic CreateProject builder with application/json body

func NewCreateProjectRequestWithBody added in v0.0.3

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

NewCreateProjectRequestWithBody generates requests for CreateProject with any type of body

func NewCreateRoleAssignmentRequest

func NewCreateRoleAssignmentRequest(server string, projectHandle ProjectHandleParam, body CreateRoleAssignmentJSONRequestBody) (*http.Request, error)

NewCreateRoleAssignmentRequest calls the generic CreateRoleAssignment builder with application/json body

func NewCreateRoleAssignmentRequestWithBody

func NewCreateRoleAssignmentRequestWithBody(server string, projectHandle ProjectHandleParam, contentType string, body io.Reader) (*http.Request, error)

NewCreateRoleAssignmentRequestWithBody generates requests for CreateRoleAssignment with any type of body

func NewCreateRoleRequest

func NewCreateRoleRequest(server string, projectHandle ProjectHandleParam, body CreateRoleJSONRequestBody) (*http.Request, error)

NewCreateRoleRequest calls the generic CreateRole builder with application/json body

func NewCreateRoleRequestWithBody

func NewCreateRoleRequestWithBody(server string, projectHandle ProjectHandleParam, contentType string, body io.Reader) (*http.Request, error)

NewCreateRoleRequestWithBody generates requests for CreateRole with any type of body

func NewCreateSessionRequest added in v0.0.26

func NewCreateSessionRequest(server string, projectHandle ProjectHandleParam, body CreateSessionJSONRequestBody) (*http.Request, error)

NewCreateSessionRequest calls the generic CreateSession builder with application/json body

func NewCreateSessionRequestWithBody added in v0.0.26

func NewCreateSessionRequestWithBody(server string, projectHandle ProjectHandleParam, contentType string, body io.Reader) (*http.Request, error)

NewCreateSessionRequestWithBody generates requests for CreateSession with any type of body

func NewCreateSkillRequest added in v0.0.21

func NewCreateSkillRequest(server string, projectHandle ProjectHandleParam, body CreateSkillJSONRequestBody) (*http.Request, error)

NewCreateSkillRequest calls the generic CreateSkill builder with application/json body

func NewCreateSkillRequestWithBody added in v0.0.21

func NewCreateSkillRequestWithBody(server string, projectHandle ProjectHandleParam, contentType string, body io.Reader) (*http.Request, error)

NewCreateSkillRequestWithBody generates requests for CreateSkill with any type of body

func NewCreateTableRequest added in v0.0.20

func NewCreateTableRequest(server string, projectHandle ProjectHandleParam, body CreateTableJSONRequestBody) (*http.Request, error)

NewCreateTableRequest calls the generic CreateTable builder with application/json body

func NewCreateTableRequestWithBody added in v0.0.20

func NewCreateTableRequestWithBody(server string, projectHandle ProjectHandleParam, contentType string, body io.Reader) (*http.Request, error)

NewCreateTableRequestWithBody generates requests for CreateTable with any type of body

func NewCreateTableRowRequest added in v0.0.25

func NewCreateTableRowRequest(server string, projectHandle ProjectHandleParam, tableId TableIDParam, body CreateTableRowJSONRequestBody) (*http.Request, error)

NewCreateTableRowRequest calls the generic CreateTableRow builder with application/json body

func NewCreateTableRowRequestWithBody added in v0.0.25

func NewCreateTableRowRequestWithBody(server string, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader) (*http.Request, error)

NewCreateTableRowRequestWithBody generates requests for CreateTableRow with any type of body

func NewCreateToolkitRequest added in v0.0.21

func NewCreateToolkitRequest(server string, projectHandle ProjectHandleParam, body CreateToolkitJSONRequestBody) (*http.Request, error)

NewCreateToolkitRequest calls the generic CreateToolkit builder with application/json body

func NewCreateToolkitRequestWithBody added in v0.0.21

func NewCreateToolkitRequestWithBody(server string, projectHandle ProjectHandleParam, contentType string, body io.Reader) (*http.Request, error)

NewCreateToolkitRequestWithBody generates requests for CreateToolkit with any type of body

func NewCreateWebhookRequest

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

NewCreateWebhookRequest calls the generic CreateWebhook builder with application/json body

func NewCreateWebhookRequestWithBody

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

NewCreateWebhookRequestWithBody generates requests for CreateWebhook with any type of body

func NewDeleteAPIKeyRequest added in v0.0.25

func NewDeleteAPIKeyRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewDeleteAPIKeyRequest generates requests for DeleteAPIKey

func NewDeleteActionRequest

func NewDeleteActionRequest(server string, projectHandle ProjectHandleParam, actionName ActionNameParam) (*http.Request, error)

NewDeleteActionRequest generates requests for DeleteAction

func NewDeleteAgentMemoryEntryRequest added in v0.0.29

func NewDeleteAgentMemoryEntryRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, memoryKey MemoryKeyParam) (*http.Request, error)

NewDeleteAgentMemoryEntryRequest generates requests for DeleteAgentMemoryEntry

func NewDeleteAgentMessagingBindingRequest added in v0.0.22

func NewDeleteAgentMessagingBindingRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, bindingId string) (*http.Request, error)

NewDeleteAgentMessagingBindingRequest generates requests for DeleteAgentMessagingBinding

func NewDeleteAgentRequest added in v0.0.3

func NewDeleteAgentRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewDeleteAgentRequest generates requests for DeleteAgent

func NewDeleteArtifactRequest added in v0.0.19

func NewDeleteArtifactRequest(server string, projectHandle ProjectHandleParam, artifactId ArtifactIdParam) (*http.Request, error)

NewDeleteArtifactRequest generates requests for DeleteArtifact

func NewDeleteBlueprintRequest added in v0.0.42

func NewDeleteBlueprintRequest(server string, projectHandle ProjectHandleParam, blueprintKey string, params *DeleteBlueprintParams) (*http.Request, error)

NewDeleteBlueprintRequest generates requests for DeleteBlueprint

func NewDeleteInteractionRequest added in v0.0.21

func NewDeleteInteractionRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewDeleteInteractionRequest generates requests for DeleteInteraction

func NewDeleteLoopRequest added in v0.0.24

func NewDeleteLoopRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewDeleteLoopRequest generates requests for DeleteLoop

func NewDeleteOrgAPIKeyRequest added in v0.0.36

func NewDeleteOrgAPIKeyRequest(server string, resourceId IDParam) (*http.Request, error)

NewDeleteOrgAPIKeyRequest generates requests for DeleteOrgAPIKey

func NewDeleteOrganizationActionRequest added in v0.0.54

func NewDeleteOrganizationActionRequest(server string, actionId string) (*http.Request, error)

NewDeleteOrganizationActionRequest generates requests for DeleteOrganizationAction

func NewDeleteOrganizationSkillRequest added in v0.0.54

func NewDeleteOrganizationSkillRequest(server string, skillId string) (*http.Request, error)

NewDeleteOrganizationSkillRequest generates requests for DeleteOrganizationSkill

func NewDeletePrincipalRequest added in v0.0.22

func NewDeletePrincipalRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewDeletePrincipalRequest generates requests for DeletePrincipal

func NewDeleteProjectRequest added in v0.0.3

func NewDeleteProjectRequest(server string, projectHandle ProjectHandleParam) (*http.Request, error)

NewDeleteProjectRequest generates requests for DeleteProject

func NewDeleteRoleAssignmentRequest

func NewDeleteRoleAssignmentRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewDeleteRoleAssignmentRequest generates requests for DeleteRoleAssignment

func NewDeleteRoleRequest

func NewDeleteRoleRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewDeleteRoleRequest generates requests for DeleteRole

func NewDeleteSessionRequest added in v0.0.26

func NewDeleteSessionRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam) (*http.Request, error)

NewDeleteSessionRequest generates requests for DeleteSession

func NewDeleteSkillRequest added in v0.0.21

func NewDeleteSkillRequest(server string, projectHandle ProjectHandleParam, skillId string) (*http.Request, error)

NewDeleteSkillRequest generates requests for DeleteSkill

func NewDeleteTableRequest added in v0.0.20

func NewDeleteTableRequest(server string, projectHandle ProjectHandleParam, tableId TableIDParam) (*http.Request, error)

NewDeleteTableRequest generates requests for DeleteTable

func NewDeleteTableRowRequest added in v0.0.20

func NewDeleteTableRowRequest(server string, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string) (*http.Request, error)

NewDeleteTableRowRequest generates requests for DeleteTableRow

func NewDeleteToolkitRequest added in v0.0.21

func NewDeleteToolkitRequest(server string, projectHandle ProjectHandleParam, toolkitId string) (*http.Request, error)

NewDeleteToolkitRequest generates requests for DeleteToolkit

func NewDeleteWebhookRequest

func NewDeleteWebhookRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewDeleteWebhookRequest generates requests for DeleteWebhook

func NewDeliverHTTPTriggerRequest added in v0.0.22

func NewDeliverHTTPTriggerRequest(server string, httpHandle string, params *DeliverHTTPTriggerParams, body DeliverHTTPTriggerJSONRequestBody) (*http.Request, error)

NewDeliverHTTPTriggerRequest calls the generic DeliverHTTPTrigger builder with application/json body

func NewDeliverHTTPTriggerRequestWithBody added in v0.0.22

func NewDeliverHTTPTriggerRequestWithBody(server string, httpHandle string, params *DeliverHTTPTriggerParams, contentType string, body io.Reader) (*http.Request, error)

NewDeliverHTTPTriggerRequestWithBody generates requests for DeliverHTTPTrigger with any type of body

func NewDestroyEnvironmentRequest added in v0.0.21

func NewDestroyEnvironmentRequest(server string, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam) (*http.Request, error)

NewDestroyEnvironmentRequest generates requests for DestroyEnvironment

func NewGetAPIKeyRequest

func NewGetAPIKeyRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewGetAPIKeyRequest generates requests for GetAPIKey

func NewGetAgentMemoryRequest added in v0.0.29

func NewGetAgentMemoryRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewGetAgentMemoryRequest generates requests for GetAgentMemory

func NewGetAgentRequest added in v0.0.3

func NewGetAgentRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewGetAgentRequest generates requests for GetAgent

func NewGetAgentToolsRequest added in v0.0.23

func NewGetAgentToolsRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, params *GetAgentToolsParams) (*http.Request, error)

NewGetAgentToolsRequest generates requests for GetAgentTools

func NewGetArtifactContentRequest added in v0.0.19

func NewGetArtifactContentRequest(server string, projectHandle ProjectHandleParam, artifactId ArtifactIdParam) (*http.Request, error)

NewGetArtifactContentRequest generates requests for GetArtifactContent

func NewGetArtifactRequest added in v0.0.19

func NewGetArtifactRequest(server string, projectHandle ProjectHandleParam, artifactId ArtifactIdParam) (*http.Request, error)

NewGetArtifactRequest generates requests for GetArtifact

func NewGetArtifactStorageQuotaRequest added in v0.0.19

func NewGetArtifactStorageQuotaRequest(server string, projectHandle ProjectHandleParam) (*http.Request, error)

NewGetArtifactStorageQuotaRequest generates requests for GetArtifactStorageQuota

func NewGetCatalogActionRequest

func NewGetCatalogActionRequest(server string, projectHandle ProjectHandleParam, actionName ActionNameParam) (*http.Request, error)

NewGetCatalogActionRequest generates requests for GetCatalogAction

func NewGetDefinitionResolverRequest added in v0.0.38

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

NewGetDefinitionResolverRequest generates requests for GetDefinitionResolver

func NewGetEnvironmentRequest added in v0.0.21

func NewGetEnvironmentRequest(server string, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam) (*http.Request, error)

NewGetEnvironmentRequest generates requests for GetEnvironment

func NewGetInteractionRequest

func NewGetInteractionRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewGetInteractionRequest generates requests for GetInteraction

func NewGetLoopRequest added in v0.0.24

func NewGetLoopRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewGetLoopRequest generates requests for GetLoop

func NewGetOAuthReturnOriginsRequest added in v0.0.55

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

NewGetOAuthReturnOriginsRequest generates requests for GetOAuthReturnOrigins

func NewGetOrgAPIKeyRequest added in v0.0.36

func NewGetOrgAPIKeyRequest(server string, resourceId IDParam) (*http.Request, error)

NewGetOrgAPIKeyRequest generates requests for GetOrgAPIKey

func NewGetOrganizationActionRequest added in v0.0.54

func NewGetOrganizationActionRequest(server string, actionId string) (*http.Request, error)

NewGetOrganizationActionRequest generates requests for GetOrganizationAction

func NewGetOrganizationSkillRequest added in v0.0.54

func NewGetOrganizationSkillRequest(server string, skillId string) (*http.Request, error)

NewGetOrganizationSkillRequest generates requests for GetOrganizationSkill

func NewGetOrganizationSkillUsageRequest added in v0.0.54

func NewGetOrganizationSkillUsageRequest(server string, skillId string) (*http.Request, error)

NewGetOrganizationSkillUsageRequest generates requests for GetOrganizationSkillUsage

func NewGetPrincipalRequest added in v0.0.22

func NewGetPrincipalRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewGetPrincipalRequest generates requests for GetPrincipal

func NewGetProjectCapabilitiesRequest added in v0.0.37

func NewGetProjectCapabilitiesRequest(server string, projectHandle ProjectHandleParam) (*http.Request, error)

NewGetProjectCapabilitiesRequest generates requests for GetProjectCapabilities

func NewGetProjectRequest added in v0.0.3

func NewGetProjectRequest(server string, projectHandle ProjectHandleParam) (*http.Request, error)

NewGetProjectRequest generates requests for GetProject

func NewGetRoleRequest

func NewGetRoleRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewGetRoleRequest generates requests for GetRole

func NewGetRunRequest

func NewGetRunRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewGetRunRequest generates requests for GetRun

func NewGetSessionNudgeRequest added in v0.0.42

func NewGetSessionNudgeRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, nudgeId NudgeIdParam) (*http.Request, error)

NewGetSessionNudgeRequest generates requests for GetSessionNudge

func NewGetSessionRequest added in v0.0.26

func NewGetSessionRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam) (*http.Request, error)

NewGetSessionRequest generates requests for GetSession

func NewGetSessionTranscriptRequest added in v0.0.43

func NewGetSessionTranscriptRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *GetSessionTranscriptParams) (*http.Request, error)

NewGetSessionTranscriptRequest generates requests for GetSessionTranscript

func NewGetSessionTurnLiveRequest added in v0.0.29

func NewGetSessionTurnLiveRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, turnId TurnIdParam) (*http.Request, error)

NewGetSessionTurnLiveRequest generates requests for GetSessionTurnLive

func NewGetSessionTurnRequest added in v0.0.29

func NewGetSessionTurnRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, turnId TurnIdParam) (*http.Request, error)

NewGetSessionTurnRequest generates requests for GetSessionTurn

func NewGetSkillRequest added in v0.0.21

func NewGetSkillRequest(server string, projectHandle ProjectHandleParam, skillId string) (*http.Request, error)

NewGetSkillRequest generates requests for GetSkill

func NewGetTableRequest added in v0.0.20

func NewGetTableRequest(server string, projectHandle ProjectHandleParam, tableId TableIDParam) (*http.Request, error)

NewGetTableRequest generates requests for GetTable

func NewGetTableRowRequest added in v0.0.20

func NewGetTableRowRequest(server string, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string) (*http.Request, error)

NewGetTableRowRequest generates requests for GetTableRow

func NewGetTableStatsRequest added in v0.0.20

func NewGetTableStatsRequest(server string, projectHandle ProjectHandleParam, tableId TableIDParam) (*http.Request, error)

NewGetTableStatsRequest generates requests for GetTableStats

func NewGetToolkitRequest added in v0.0.21

func NewGetToolkitRequest(server string, projectHandle ProjectHandleParam, toolkitId string) (*http.Request, error)

NewGetToolkitRequest generates requests for GetToolkit

func NewGetWebhookRequest

func NewGetWebhookRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewGetWebhookRequest generates requests for GetWebhook

func NewImportOrganizationSkillRequest added in v0.0.54

func NewImportOrganizationSkillRequest(server string, body ImportOrganizationSkillJSONRequestBody) (*http.Request, error)

NewImportOrganizationSkillRequest calls the generic ImportOrganizationSkill builder with application/json body

func NewImportOrganizationSkillRequestWithBody added in v0.0.54

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

NewImportOrganizationSkillRequestWithBody generates requests for ImportOrganizationSkill with any type of body

func NewImportSkillRequest added in v0.0.21

func NewImportSkillRequest(server string, projectHandle ProjectHandleParam, body ImportSkillJSONRequestBody) (*http.Request, error)

NewImportSkillRequest calls the generic ImportSkill builder with application/json body

func NewImportSkillRequestWithBody added in v0.0.21

func NewImportSkillRequestWithBody(server string, projectHandle ProjectHandleParam, contentType string, body io.Reader) (*http.Request, error)

NewImportSkillRequestWithBody generates requests for ImportSkill with any type of body

func NewInvokeActionRequest added in v0.0.19

func NewInvokeActionRequest(server string, projectHandle ProjectHandleParam, actionName ActionNameParam, body InvokeActionJSONRequestBody) (*http.Request, error)

NewInvokeActionRequest calls the generic InvokeAction builder with application/json body

func NewInvokeActionRequestWithBody added in v0.0.19

func NewInvokeActionRequestWithBody(server string, projectHandle ProjectHandleParam, actionName ActionNameParam, contentType string, body io.Reader) (*http.Request, error)

NewInvokeActionRequestWithBody generates requests for InvokeAction with any type of body

func NewInvokeAgentRequest added in v0.0.29

func NewInvokeAgentRequest(server string, projectHandle ProjectHandleParam, body InvokeAgentJSONRequestBody) (*http.Request, error)

NewInvokeAgentRequest calls the generic InvokeAgent builder with application/json body

func NewInvokeAgentRequestWithBody added in v0.0.29

func NewInvokeAgentRequestWithBody(server string, projectHandle ProjectHandleParam, contentType string, body io.Reader) (*http.Request, error)

NewInvokeAgentRequestWithBody generates requests for InvokeAgent with any type of body

func NewListAPIKeysRequest

func NewListAPIKeysRequest(server string, projectHandle ProjectHandleParam, params *ListAPIKeysParams) (*http.Request, error)

NewListAPIKeysRequest generates requests for ListAPIKeys

func NewListActionInvocationsRequest added in v0.0.19

func NewListActionInvocationsRequest(server string, projectHandle ProjectHandleParam, params *ListActionInvocationsParams) (*http.Request, error)

NewListActionInvocationsRequest generates requests for ListActionInvocations

func NewListAgentMemoryChangesRequest added in v0.0.53

func NewListAgentMemoryChangesRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, params *ListAgentMemoryChangesParams) (*http.Request, error)

NewListAgentMemoryChangesRequest generates requests for ListAgentMemoryChanges

func NewListAgentMemoryEntriesRequest added in v0.0.29

func NewListAgentMemoryEntriesRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, params *ListAgentMemoryEntriesParams) (*http.Request, error)

NewListAgentMemoryEntriesRequest generates requests for ListAgentMemoryEntries

func NewListAgentMessagingBindingsRequest added in v0.0.22

func NewListAgentMessagingBindingsRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewListAgentMessagingBindingsRequest generates requests for ListAgentMessagingBindings

func NewListAgentSkillAssignmentsRequest added in v0.0.25

func NewListAgentSkillAssignmentsRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewListAgentSkillAssignmentsRequest generates requests for ListAgentSkillAssignments

func NewListAgentToolkitAssignmentsRequest added in v0.0.25

func NewListAgentToolkitAssignmentsRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewListAgentToolkitAssignmentsRequest generates requests for ListAgentToolkitAssignments

func NewListAgentsRequest added in v0.0.3

func NewListAgentsRequest(server string, projectHandle ProjectHandleParam, params *ListAgentsParams) (*http.Request, error)

NewListAgentsRequest generates requests for ListAgents

func NewListArtifactsRequest added in v0.0.22

func NewListArtifactsRequest(server string, projectHandle ProjectHandleParam, params *ListArtifactsParams) (*http.Request, error)

NewListArtifactsRequest generates requests for ListArtifacts

func NewListBlueprintBindingsRequest added in v0.0.31

func NewListBlueprintBindingsRequest(server string, projectHandle ProjectHandleParam, params *ListBlueprintBindingsParams) (*http.Request, error)

NewListBlueprintBindingsRequest generates requests for ListBlueprintBindings

func NewListCatalogActionsRequest

func NewListCatalogActionsRequest(server string, projectHandle ProjectHandleParam) (*http.Request, error)

NewListCatalogActionsRequest generates requests for ListCatalogActions

func NewListCatalogEventsRequest added in v0.0.22

func NewListCatalogEventsRequest(server string, projectHandle ProjectHandleParam) (*http.Request, error)

NewListCatalogEventsRequest generates requests for ListCatalogEvents

func NewListCatalogModelsRequest added in v0.0.23

func NewListCatalogModelsRequest(server string, projectHandle ProjectHandleParam) (*http.Request, error)

NewListCatalogModelsRequest generates requests for ListCatalogModels

func NewListCatalogWorkerModelsRequest added in v0.0.29

func NewListCatalogWorkerModelsRequest(server string, projectHandle ProjectHandleParam) (*http.Request, error)

NewListCatalogWorkerModelsRequest generates requests for ListCatalogWorkerModels

func NewListEnvironmentsRequest added in v0.0.21

func NewListEnvironmentsRequest(server string, projectHandle ProjectHandleParam, params *ListEnvironmentsParams) (*http.Request, error)

NewListEnvironmentsRequest generates requests for ListEnvironments

func NewListInteractionsRequest

func NewListInteractionsRequest(server string, projectHandle ProjectHandleParam, params *ListInteractionsParams) (*http.Request, error)

NewListInteractionsRequest generates requests for ListInteractions

func NewListLoopsRequest added in v0.0.24

func NewListLoopsRequest(server string, projectHandle ProjectHandleParam, params *ListLoopsParams) (*http.Request, error)

NewListLoopsRequest generates requests for ListLoops

func NewListOrgAPIKeysRequest added in v0.0.36

func NewListOrgAPIKeysRequest(server string, params *ListOrgAPIKeysParams) (*http.Request, error)

NewListOrgAPIKeysRequest generates requests for ListOrgAPIKeys

func NewListOrganizationActionsRequest added in v0.0.54

func NewListOrganizationActionsRequest(server string, params *ListOrganizationActionsParams) (*http.Request, error)

NewListOrganizationActionsRequest generates requests for ListOrganizationActions

func NewListOrganizationSkillsRequest added in v0.0.54

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

NewListOrganizationSkillsRequest generates requests for ListOrganizationSkills

func NewListPrincipalsRequest added in v0.0.22

func NewListPrincipalsRequest(server string, projectHandle ProjectHandleParam, params *ListPrincipalsParams) (*http.Request, error)

NewListPrincipalsRequest generates requests for ListPrincipals

func NewListProjectPermissionsRequest added in v0.0.21

func NewListProjectPermissionsRequest(server string, projectHandle ProjectHandleParam) (*http.Request, error)

NewListProjectPermissionsRequest generates requests for ListProjectPermissions

func NewListProjectsRequest added in v0.0.3

func NewListProjectsRequest(server string, params *ListProjectsParams) (*http.Request, error)

NewListProjectsRequest generates requests for ListProjects

func NewListRoleAssignmentsRequest

func NewListRoleAssignmentsRequest(server string, projectHandle ProjectHandleParam, params *ListRoleAssignmentsParams) (*http.Request, error)

NewListRoleAssignmentsRequest generates requests for ListRoleAssignments

func NewListRolesRequest

func NewListRolesRequest(server string, projectHandle ProjectHandleParam, params *ListRolesParams) (*http.Request, error)

NewListRolesRequest generates requests for ListRoles

func NewListRunEventsRequest added in v0.0.23

func NewListRunEventsRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, params *ListRunEventsParams) (*http.Request, error)

NewListRunEventsRequest generates requests for ListRunEvents

func NewListRunStepsRequest added in v0.0.15

func NewListRunStepsRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewListRunStepsRequest generates requests for ListRunSteps

func NewListRunsRequest

func NewListRunsRequest(server string, projectHandle ProjectHandleParam, params *ListRunsParams) (*http.Request, error)

NewListRunsRequest generates requests for ListRuns

func NewListSessionMessagesRequest added in v0.0.22

func NewListSessionMessagesRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *ListSessionMessagesParams) (*http.Request, error)

NewListSessionMessagesRequest generates requests for ListSessionMessages

func NewListSessionNudgesRequest added in v0.0.42

func NewListSessionNudgesRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *ListSessionNudgesParams) (*http.Request, error)

NewListSessionNudgesRequest generates requests for ListSessionNudges

func NewListSessionTurnsRequest added in v0.0.24

func NewListSessionTurnsRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *ListSessionTurnsParams) (*http.Request, error)

NewListSessionTurnsRequest generates requests for ListSessionTurns

func NewListSessionsRequest added in v0.0.26

func NewListSessionsRequest(server string, projectHandle ProjectHandleParam, params *ListSessionsParams) (*http.Request, error)

NewListSessionsRequest generates requests for ListSessions

func NewListSkillsRequest added in v0.0.21

func NewListSkillsRequest(server string, projectHandle ProjectHandleParam, params *ListSkillsParams) (*http.Request, error)

NewListSkillsRequest generates requests for ListSkills

func NewListTablesRequest added in v0.0.20

func NewListTablesRequest(server string, projectHandle ProjectHandleParam, params *ListTablesParams) (*http.Request, error)

NewListTablesRequest generates requests for ListTables

func NewListToolkitsRequest added in v0.0.21

func NewListToolkitsRequest(server string, projectHandle ProjectHandleParam, params *ListToolkitsParams) (*http.Request, error)

NewListToolkitsRequest generates requests for ListToolkits

func NewListTurnMessagesRequest added in v0.0.24

func NewListTurnMessagesRequest(server string, projectHandle ProjectHandleParam, turnId TurnIdParam, params *ListTurnMessagesParams) (*http.Request, error)

NewListTurnMessagesRequest generates requests for ListTurnMessages

func NewListWebhookDeliveriesRequest added in v0.0.3

func NewListWebhookDeliveriesRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, params *ListWebhookDeliveriesParams) (*http.Request, error)

NewListWebhookDeliveriesRequest generates requests for ListWebhookDeliveries

func NewListWebhooksRequest

func NewListWebhooksRequest(server string, projectHandle ProjectHandleParam, params *ListWebhooksParams) (*http.Request, error)

NewListWebhooksRequest generates requests for ListWebhooks

func NewNudgeSessionRequest added in v0.0.42

func NewNudgeSessionRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, body NudgeSessionJSONRequestBody) (*http.Request, error)

NewNudgeSessionRequest calls the generic NudgeSession builder with application/json body

func NewNudgeSessionRequestWithBody added in v0.0.42

func NewNudgeSessionRequestWithBody(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader) (*http.Request, error)

NewNudgeSessionRequestWithBody generates requests for NudgeSession with any type of body

func NewOpenWorkerSocketRequest added in v0.0.22

func NewOpenWorkerSocketRequest(server string, projectHandle ProjectHandleParam) (*http.Request, error)

NewOpenWorkerSocketRequest generates requests for OpenWorkerSocket

func NewPingWebhookRequest added in v0.0.6

func NewPingWebhookRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, body PingWebhookJSONRequestBody) (*http.Request, error)

NewPingWebhookRequest calls the generic PingWebhook builder with application/json body

func NewPingWebhookRequestWithBody added in v0.0.6

func NewPingWebhookRequestWithBody(server string, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader) (*http.Request, error)

NewPingWebhookRequestWithBody generates requests for PingWebhook with any type of body

func NewProvisionAgentInboxRequest added in v0.0.19

func NewProvisionAgentInboxRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewProvisionAgentInboxRequest generates requests for ProvisionAgentInbox

func NewQueryTableRowsRequest added in v0.0.20

func NewQueryTableRowsRequest(server string, projectHandle ProjectHandleParam, tableId TableIDParam, body QueryTableRowsJSONRequestBody) (*http.Request, error)

NewQueryTableRowsRequest calls the generic QueryTableRows builder with application/json body

func NewQueryTableRowsRequestWithBody added in v0.0.20

func NewQueryTableRowsRequestWithBody(server string, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader) (*http.Request, error)

NewQueryTableRowsRequestWithBody generates requests for QueryTableRows with any type of body

func NewReplaceAgentSkillAssignmentsRequest added in v0.0.25

func NewReplaceAgentSkillAssignmentsRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, body ReplaceAgentSkillAssignmentsJSONRequestBody) (*http.Request, error)

NewReplaceAgentSkillAssignmentsRequest calls the generic ReplaceAgentSkillAssignments builder with application/json body

func NewReplaceAgentSkillAssignmentsRequestWithBody added in v0.0.25

func NewReplaceAgentSkillAssignmentsRequestWithBody(server string, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader) (*http.Request, error)

NewReplaceAgentSkillAssignmentsRequestWithBody generates requests for ReplaceAgentSkillAssignments with any type of body

func NewReplaceAgentToolkitAssignmentsRequest added in v0.0.25

func NewReplaceAgentToolkitAssignmentsRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, body ReplaceAgentToolkitAssignmentsJSONRequestBody) (*http.Request, error)

NewReplaceAgentToolkitAssignmentsRequest calls the generic ReplaceAgentToolkitAssignments builder with application/json body

func NewReplaceAgentToolkitAssignmentsRequestWithBody added in v0.0.25

func NewReplaceAgentToolkitAssignmentsRequestWithBody(server string, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader) (*http.Request, error)

NewReplaceAgentToolkitAssignmentsRequestWithBody generates requests for ReplaceAgentToolkitAssignments with any type of body

func NewReplaceDefinitionResolverRequest added in v0.0.38

func NewReplaceDefinitionResolverRequest(server string, body ReplaceDefinitionResolverJSONRequestBody) (*http.Request, error)

NewReplaceDefinitionResolverRequest calls the generic ReplaceDefinitionResolver builder with application/json body

func NewReplaceDefinitionResolverRequestWithBody added in v0.0.38

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

NewReplaceDefinitionResolverRequestWithBody generates requests for ReplaceDefinitionResolver with any type of body

func NewReplaceOAuthReturnOriginsRequest added in v0.0.55

func NewReplaceOAuthReturnOriginsRequest(server string, body ReplaceOAuthReturnOriginsJSONRequestBody) (*http.Request, error)

NewReplaceOAuthReturnOriginsRequest calls the generic ReplaceOAuthReturnOrigins builder with application/json body

func NewReplaceOAuthReturnOriginsRequestWithBody added in v0.0.55

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

NewReplaceOAuthReturnOriginsRequestWithBody generates requests for ReplaceOAuthReturnOrigins with any type of body

func NewReplaceOrganizationSkillRequest added in v0.0.54

func NewReplaceOrganizationSkillRequest(server string, skillId string, body ReplaceOrganizationSkillJSONRequestBody) (*http.Request, error)

NewReplaceOrganizationSkillRequest calls the generic ReplaceOrganizationSkill builder with application/json body

func NewReplaceOrganizationSkillRequestWithBody added in v0.0.54

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

NewReplaceOrganizationSkillRequestWithBody generates requests for ReplaceOrganizationSkill with any type of body

func NewRespondToInteractionRequest

func NewRespondToInteractionRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, body RespondToInteractionJSONRequestBody) (*http.Request, error)

NewRespondToInteractionRequest calls the generic RespondToInteraction builder with application/json body

func NewRespondToInteractionRequestWithBody

func NewRespondToInteractionRequestWithBody(server string, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader) (*http.Request, error)

NewRespondToInteractionRequestWithBody generates requests for RespondToInteraction with any type of body

func NewResumeRunRequest

func NewResumeRunRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, body ResumeRunJSONRequestBody) (*http.Request, error)

NewResumeRunRequest calls the generic ResumeRun builder with application/json body

func NewResumeRunRequestWithBody added in v0.0.41

func NewResumeRunRequestWithBody(server string, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader) (*http.Request, error)

NewResumeRunRequestWithBody generates requests for ResumeRun with any type of body

func NewRetryRunRequest added in v0.0.41

func NewRetryRunRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, body RetryRunJSONRequestBody) (*http.Request, error)

NewRetryRunRequest calls the generic RetryRun builder with application/json body

func NewRetryRunRequestWithBody added in v0.0.41

func NewRetryRunRequestWithBody(server string, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader) (*http.Request, error)

NewRetryRunRequestWithBody generates requests for RetryRun with any type of body

func NewRevokeOrganizationActionSecretVersionRequest added in v0.0.54

func NewRevokeOrganizationActionSecretVersionRequest(server string, actionId string, secretVersion int64) (*http.Request, error)

NewRevokeOrganizationActionSecretVersionRequest generates requests for RevokeOrganizationActionSecretVersion

func NewRotateActionSecretRequest

func NewRotateActionSecretRequest(server string, projectHandle ProjectHandleParam, actionName ActionNameParam) (*http.Request, error)

NewRotateActionSecretRequest generates requests for RotateActionSecret

func NewRotateOrganizationActionSecretRequest added in v0.0.54

func NewRotateOrganizationActionSecretRequest(server string, actionId string) (*http.Request, error)

NewRotateOrganizationActionSecretRequest generates requests for RotateOrganizationActionSecret

func NewRotateWebhookSecretRequest added in v0.0.22

func NewRotateWebhookSecretRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam) (*http.Request, error)

NewRotateWebhookSecretRequest generates requests for RotateWebhookSecret

func NewSaveAgentMemoryEntryRequest added in v0.0.36

func NewSaveAgentMemoryEntryRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, memoryKey MemoryKeyParam, body SaveAgentMemoryEntryJSONRequestBody) (*http.Request, error)

NewSaveAgentMemoryEntryRequest calls the generic SaveAgentMemoryEntry builder with application/json body

func NewSaveAgentMemoryEntryRequestWithBody added in v0.0.36

func NewSaveAgentMemoryEntryRequestWithBody(server string, projectHandle ProjectHandleParam, resourceId IDParam, memoryKey MemoryKeyParam, contentType string, body io.Reader) (*http.Request, error)

NewSaveAgentMemoryEntryRequestWithBody generates requests for SaveAgentMemoryEntry with any type of body

func NewSaveAgentMessagingBindingRequest added in v0.0.22

func NewSaveAgentMessagingBindingRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, body SaveAgentMessagingBindingJSONRequestBody) (*http.Request, error)

NewSaveAgentMessagingBindingRequest calls the generic SaveAgentMessagingBinding builder with application/json body

func NewSaveAgentMessagingBindingRequestWithBody added in v0.0.22

func NewSaveAgentMessagingBindingRequestWithBody(server string, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader) (*http.Request, error)

NewSaveAgentMessagingBindingRequestWithBody generates requests for SaveAgentMessagingBinding with any type of body

func NewSearchTableRowsRequest added in v0.0.20

func NewSearchTableRowsRequest(server string, projectHandle ProjectHandleParam, tableId TableIDParam, body SearchTableRowsJSONRequestBody) (*http.Request, error)

NewSearchTableRowsRequest calls the generic SearchTableRows builder with application/json body

func NewSearchTableRowsRequestWithBody added in v0.0.20

func NewSearchTableRowsRequestWithBody(server string, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader) (*http.Request, error)

NewSearchTableRowsRequestWithBody generates requests for SearchTableRows with any type of body

func NewSetBlueprintProtectionRequest added in v0.0.42

func NewSetBlueprintProtectionRequest(server string, projectHandle ProjectHandleParam, blueprintKey string, params *SetBlueprintProtectionParams, body SetBlueprintProtectionJSONRequestBody) (*http.Request, error)

NewSetBlueprintProtectionRequest calls the generic SetBlueprintProtection builder with application/json body

func NewSetBlueprintProtectionRequestWithBody added in v0.0.42

func NewSetBlueprintProtectionRequestWithBody(server string, projectHandle ProjectHandleParam, blueprintKey string, params *SetBlueprintProtectionParams, contentType string, body io.Reader) (*http.Request, error)

NewSetBlueprintProtectionRequestWithBody generates requests for SetBlueprintProtection with any type of body

func NewSignalRunRequest added in v0.0.23

func NewSignalRunRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, body SignalRunJSONRequestBody) (*http.Request, error)

NewSignalRunRequest calls the generic SignalRun builder with application/json body

func NewSignalRunRequestWithBody added in v0.0.23

func NewSignalRunRequestWithBody(server string, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader) (*http.Request, error)

NewSignalRunRequestWithBody generates requests for SignalRun with any type of body

func NewStartRunRequest added in v0.0.3

func NewStartRunRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, body StartRunJSONRequestBody) (*http.Request, error)

NewStartRunRequest calls the generic StartRun builder with application/json body

func NewStartRunRequestWithBody added in v0.0.3

func NewStartRunRequestWithBody(server string, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader) (*http.Request, error)

NewStartRunRequestWithBody generates requests for StartRun with any type of body

func NewStartTurnRequest added in v0.0.29

func NewStartTurnRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, body StartTurnJSONRequestBody) (*http.Request, error)

NewStartTurnRequest calls the generic StartTurn builder with application/json body

func NewStartTurnRequestWithBody added in v0.0.29

func NewStartTurnRequestWithBody(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader) (*http.Request, error)

NewStartTurnRequestWithBody generates requests for StartTurn with any type of body

func NewStreamSessionRequest added in v0.0.29

func NewStreamSessionRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *StreamSessionParams) (*http.Request, error)

NewStreamSessionRequest generates requests for StreamSession

func NewStreamSessionTranscriptRequest added in v0.0.43

func NewStreamSessionTranscriptRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *StreamSessionTranscriptParams) (*http.Request, error)

NewStreamSessionTranscriptRequest generates requests for StreamSessionTranscript

func NewUpdateActionRequest

func NewUpdateActionRequest(server string, projectHandle ProjectHandleParam, actionName ActionNameParam, body UpdateActionJSONRequestBody) (*http.Request, error)

NewUpdateActionRequest calls the generic UpdateAction builder with application/json body

func NewUpdateActionRequestWithBody

func NewUpdateActionRequestWithBody(server string, projectHandle ProjectHandleParam, actionName ActionNameParam, contentType string, body io.Reader) (*http.Request, error)

NewUpdateActionRequestWithBody generates requests for UpdateAction with any type of body

func NewUpdateAgentRequest added in v0.0.3

func NewUpdateAgentRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateAgentJSONRequestBody) (*http.Request, error)

NewUpdateAgentRequest calls the generic UpdateAgent builder with application/json body

func NewUpdateAgentRequestWithBody added in v0.0.3

func NewUpdateAgentRequestWithBody(server string, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader) (*http.Request, error)

NewUpdateAgentRequestWithBody generates requests for UpdateAgent with any type of body

func NewUpdateEnvironmentRequest added in v0.0.21

func NewUpdateEnvironmentRequest(server string, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam, body UpdateEnvironmentJSONRequestBody) (*http.Request, error)

NewUpdateEnvironmentRequest calls the generic UpdateEnvironment builder with application/json body

func NewUpdateEnvironmentRequestWithBody added in v0.0.21

func NewUpdateEnvironmentRequestWithBody(server string, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam, contentType string, body io.Reader) (*http.Request, error)

NewUpdateEnvironmentRequestWithBody generates requests for UpdateEnvironment with any type of body

func NewUpdateLoopRequest added in v0.0.24

func NewUpdateLoopRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateLoopJSONRequestBody) (*http.Request, error)

NewUpdateLoopRequest calls the generic UpdateLoop builder with application/json body

func NewUpdateLoopRequestWithBody added in v0.0.24

func NewUpdateLoopRequestWithBody(server string, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader) (*http.Request, error)

NewUpdateLoopRequestWithBody generates requests for UpdateLoop with any type of body

func NewUpdateOrganizationActionRequest added in v0.0.54

func NewUpdateOrganizationActionRequest(server string, actionId string, body UpdateOrganizationActionJSONRequestBody) (*http.Request, error)

NewUpdateOrganizationActionRequest calls the generic UpdateOrganizationAction builder with application/json body

func NewUpdateOrganizationActionRequestWithBody added in v0.0.54

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

NewUpdateOrganizationActionRequestWithBody generates requests for UpdateOrganizationAction with any type of body

func NewUpdatePrincipalRequest added in v0.0.22

func NewUpdatePrincipalRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, body UpdatePrincipalJSONRequestBody) (*http.Request, error)

NewUpdatePrincipalRequest calls the generic UpdatePrincipal builder with application/json body

func NewUpdatePrincipalRequestWithBody added in v0.0.22

func NewUpdatePrincipalRequestWithBody(server string, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader) (*http.Request, error)

NewUpdatePrincipalRequestWithBody generates requests for UpdatePrincipal with any type of body

func NewUpdateProjectRequest added in v0.0.3

func NewUpdateProjectRequest(server string, projectHandle ProjectHandleParam, body UpdateProjectJSONRequestBody) (*http.Request, error)

NewUpdateProjectRequest calls the generic UpdateProject builder with application/json body

func NewUpdateProjectRequestWithBody added in v0.0.3

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

NewUpdateProjectRequestWithBody generates requests for UpdateProject with any type of body

func NewUpdateRoleRequest

func NewUpdateRoleRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateRoleJSONRequestBody) (*http.Request, error)

NewUpdateRoleRequest calls the generic UpdateRole builder with application/json body

func NewUpdateRoleRequestWithBody

func NewUpdateRoleRequestWithBody(server string, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader) (*http.Request, error)

NewUpdateRoleRequestWithBody generates requests for UpdateRole with any type of body

func NewUpdateSessionRequest added in v0.0.26

func NewUpdateSessionRequest(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, body UpdateSessionJSONRequestBody) (*http.Request, error)

NewUpdateSessionRequest calls the generic UpdateSession builder with application/json body

func NewUpdateSessionRequestWithBody added in v0.0.26

func NewUpdateSessionRequestWithBody(server string, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSessionRequestWithBody generates requests for UpdateSession with any type of body

func NewUpdateSkillRequest added in v0.0.21

func NewUpdateSkillRequest(server string, projectHandle ProjectHandleParam, skillId string, body UpdateSkillJSONRequestBody) (*http.Request, error)

NewUpdateSkillRequest calls the generic UpdateSkill builder with application/json body

func NewUpdateSkillRequestWithBody added in v0.0.21

func NewUpdateSkillRequestWithBody(server string, projectHandle ProjectHandleParam, skillId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSkillRequestWithBody generates requests for UpdateSkill with any type of body

func NewUpdateTableRequest added in v0.0.20

func NewUpdateTableRequest(server string, projectHandle ProjectHandleParam, tableId TableIDParam, body UpdateTableJSONRequestBody) (*http.Request, error)

NewUpdateTableRequest calls the generic UpdateTable builder with application/json body

func NewUpdateTableRequestWithBody added in v0.0.20

func NewUpdateTableRequestWithBody(server string, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader) (*http.Request, error)

NewUpdateTableRequestWithBody generates requests for UpdateTable with any type of body

func NewUpdateTableRowRequest added in v0.0.20

func NewUpdateTableRowRequest(server string, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string, body UpdateTableRowJSONRequestBody) (*http.Request, error)

NewUpdateTableRowRequest calls the generic UpdateTableRow builder with application/json body

func NewUpdateTableRowRequestWithBody added in v0.0.20

func NewUpdateTableRowRequestWithBody(server string, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateTableRowRequestWithBody generates requests for UpdateTableRow with any type of body

func NewUpdateToolkitRequest added in v0.0.21

func NewUpdateToolkitRequest(server string, projectHandle ProjectHandleParam, toolkitId string, body UpdateToolkitJSONRequestBody) (*http.Request, error)

NewUpdateToolkitRequest calls the generic UpdateToolkit builder with application/json body

func NewUpdateToolkitRequestWithBody added in v0.0.21

func NewUpdateToolkitRequestWithBody(server string, projectHandle ProjectHandleParam, toolkitId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateToolkitRequestWithBody generates requests for UpdateToolkit with any type of body

func NewUpdateWebhookRequest

func NewUpdateWebhookRequest(server string, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateWebhookJSONRequestBody) (*http.Request, error)

NewUpdateWebhookRequest calls the generic UpdateWebhook builder with application/json body

func NewUpdateWebhookRequestWithBody

func NewUpdateWebhookRequestWithBody(server string, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader) (*http.Request, error)

NewUpdateWebhookRequestWithBody generates requests for UpdateWebhook with any type of body

func NewUpsertTableRowRequest added in v0.0.20

func NewUpsertTableRowRequest(server string, projectHandle ProjectHandleParam, tableId TableIDParam, body UpsertTableRowJSONRequestBody) (*http.Request, error)

NewUpsertTableRowRequest calls the generic UpsertTableRow builder with application/json body

func NewUpsertTableRowRequestWithBody added in v0.0.20

func NewUpsertTableRowRequestWithBody(server string, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader) (*http.Request, error)

NewUpsertTableRowRequestWithBody generates requests for UpsertTableRow with any type of body

Types

type APIKey

type APIKey struct {
	// CreatedAt Timestamp when this key was created.
	CreatedAt time.Time `json:"created_at"`

	// ExpiresAt Hard expiry timestamp. Requests using an expired key receive 401.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`

	// Id Unique identifier for this API key.
	Id string `json:"id"`

	// KeyPrefix First 8 characters of the key, used to identify it without exposing the secret.
	KeyPrefix string `json:"key_prefix"`

	// LastUsedAt Timestamp of the most recent authenticated request using this key.
	LastUsedAt *time.Time `json:"last_used_at,omitempty"`

	// Name Human-readable label, unique within the project.
	Name string `json:"name"`

	// OrgRole For organization-level keys, the system role the key acts as org-wide (e.g. `Admin`). Absent for project-scoped keys.
	OrgRole *string `json:"org_role,omitempty"`

	// PrincipalId Principal this key authenticates as.
	PrincipalId string `json:"principal_id"`

	// ScopeRoleId Optional role whose permissions cap this key below its principal's full grants.
	ScopeRoleId *string `json:"scope_role_id,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// UpdatedAt Timestamp when this key was last updated.
	UpdatedAt time.Time `json:"updated_at"`
}

APIKey Stored API credential metadata for loop and service access. The raw secret is never returned here; use this object to list, audit, expire, or identify keys by prefix without exposing tokens.

type APIKeyCreateResult

type APIKeyCreateResult struct {
	// CreatedAt Timestamp when this key was created.
	CreatedAt time.Time `json:"created_at"`

	// ExpiresAt Timestamp when this key expires. Omitted if it does not expire.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`

	// Id Unique identifier for the created API key.
	Id string `json:"id"`

	// Key The raw API key. Returned only once at creation — store it securely immediately.
	Key string `json:"key"`

	// KeyPrefix First 8 characters of the key for identification.
	KeyPrefix string `json:"key_prefix"`

	// LastUsedAt Timestamp of the most recent authenticated request using this key.
	LastUsedAt *time.Time `json:"last_used_at,omitempty"`

	// Name Human-readable name for the key.
	Name string `json:"name"`

	// OrgRole For organization-level keys, the system role the key acts as org-wide (e.g. `Admin`). Absent for project-scoped keys.
	OrgRole *string `json:"org_role,omitempty"`

	// PrincipalId Principal this key authenticates as.
	PrincipalId string `json:"principal_id"`

	// ScopeRoleId Optional role whose permissions cap this key below its principal's full grants.
	ScopeRoleId *string `json:"scope_role_id,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// UpdatedAt Timestamp when this key was last updated.
	UpdatedAt time.Time `json:"updated_at"`
}

APIKeyCreateResult Returned only on key creation. Contains the raw `key` value which is not retrievable after this response.

type APIKeyListResponse

type APIKeyListResponse struct {
	// HasMore Whether additional pages are available.
	HasMore bool `json:"has_more"`

	// Items The list of results for this page.
	Items []APIKey `json:"items"`

	// NextCursor Opaque cursor to pass as `cursor` on the next request. Absent when `has_more` is false.
	NextCursor *string `json:"next_cursor,omitempty"`
}

APIKeyListResponse defines model for APIKeyListResponse.

type Action added in v0.0.3

type Action struct {
	// Annotations Response hints that describe the safe-use properties of the action. Response annotations are forward-compatible so the server can add response-only hints without breaking strict clients.
	Annotations *ActionAnnotations `json:"annotations,omitempty"`

	// CreatedAt Timestamp when this action was created.
	CreatedAt time.Time `json:"created_at"`

	// Description Markdown description of what the action does.
	Description *string `json:"description,omitempty"`

	// EndpointKind Backing kind of this project-owned action. `http` actions POST to an endpoint URL. `worker` actions are dispatched through jobs to connected workers that advertise this registered name.
	EndpointKind ActionEndpointKind `json:"endpoint_kind"`

	// EndpointUrl HTTP/HTTPS URL Mobius POSTs to when invoking this action. Populated for endpoint_kind: http only.
	EndpointUrl *string `json:"endpoint_url,omitempty"`

	// Id Unique identifier for this action.
	Id string `json:"id"`

	// InputSchema JSON Schema describing expected input parameters.
	InputSchema *map[string]interface{} `json:"input_schema,omitempty"`

	// InvocationFormat Outbound request-body contract for an HTTP action. `legacy` sends the unversioned `{run_id, step_key, parameters}` body. `signed_context_v1` sends a versioned envelope whose project, action, actor, and origin claims are derived by Mobius and covered by the existing HMAC signature. Worker-backed actions must use `legacy`.
	InvocationFormat ActionInvocationFormat `json:"invocation_format"`

	// Name Stable identifier used in loop definitions.
	Name string `json:"name"`

	// OutputSchema JSON Schema describing the expected output shape.
	OutputSchema *map[string]interface{} `json:"output_schema,omitempty"`

	// SigningSecret Base64-encoded 32-byte HMAC-SHA256 signing key. Only populated on create and rotate responses; absent on all other reads. Store this value securely on first receipt — it cannot be retrieved again.
	SigningSecret *string `json:"signing_secret,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// Title Human-readable display title for the action.
	Title *string `json:"title,omitempty"`

	// UpdatedAt Timestamp when this action was last updated.
	UpdatedAt time.Time `json:"updated_at"`
}

Action Project-owned custom action definition callable by loops and agents.

type ActionAnnotations added in v0.0.3

type ActionAnnotations struct {
	// Destructive The action has irreversible side effects (deletion, financial transactions, etc.). Surfaced as a warning in UI.
	Destructive *bool `json:"destructive,omitempty"`

	// Idempotent The action produces the same result when called with the same inputs; safe to retry automatically.
	Idempotent *bool `json:"idempotent,omitempty"`

	// ReadOnly The action has no side effects; safe to call in dry-run scenarios.
	ReadOnly             *bool                  `json:"read_only,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

ActionAnnotations Response hints that describe the safe-use properties of the action. Response annotations are forward-compatible so the server can add response-only hints without breaking strict clients.

func (ActionAnnotations) Get added in v0.0.25

func (a ActionAnnotations) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ActionAnnotations. Returns the specified element and whether it was found

func (ActionAnnotations) MarshalJSON added in v0.0.25

func (a ActionAnnotations) MarshalJSON() ([]byte, error)

Override default JSON handling for ActionAnnotations to handle AdditionalProperties

func (*ActionAnnotations) Set added in v0.0.25

func (a *ActionAnnotations) Set(fieldName string, value interface{})

Setter for additional properties for ActionAnnotations

func (*ActionAnnotations) UnmarshalJSON added in v0.0.25

func (a *ActionAnnotations) UnmarshalJSON(b []byte) error

Override default JSON handling for ActionAnnotations to handle AdditionalProperties

type ActionAnnotationsRequest added in v0.0.7

type ActionAnnotationsRequest struct {
	// Destructive The action has irreversible side effects (deletion, financial transactions, etc.). Surfaced as a warning in UI.
	Destructive *bool `json:"destructive,omitempty"`

	// Idempotent The action produces the same result when called with the same inputs; safe to retry automatically.
	Idempotent *bool `json:"idempotent,omitempty"`

	// ReadOnly The action has no side effects; safe to call in dry-run scenarios.
	ReadOnly *bool `json:"read_only,omitempty"`
}

ActionAnnotationsRequest Request hints that describe the safe-use properties of the action. Used by the engine and tooling to decide retry behavior, dry-run eligibility, etc. Unknown request properties are rejected.

type ActionCalledPayload added in v0.0.29

type ActionCalledPayload struct {
	Action               *string                 `json:"action,omitempty"`
	Parameters           *map[string]interface{} `json:"parameters,omitempty"`
	Step                 *string                 `json:"step,omitempty"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

ActionCalledPayload defines model for ActionCalledPayload.

func (ActionCalledPayload) Get added in v0.0.29

func (a ActionCalledPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ActionCalledPayload. Returns the specified element and whether it was found

func (ActionCalledPayload) MarshalJSON added in v0.0.29

func (a ActionCalledPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for ActionCalledPayload to handle AdditionalProperties

func (*ActionCalledPayload) Set added in v0.0.29

func (a *ActionCalledPayload) Set(fieldName string, value interface{})

Setter for additional properties for ActionCalledPayload

func (*ActionCalledPayload) UnmarshalJSON added in v0.0.29

func (a *ActionCalledPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for ActionCalledPayload to handle AdditionalProperties

type ActionCatalogEntry

type ActionCatalogEntry struct {
	// Annotations Response hints that describe the safe-use properties of the action. Response annotations are forward-compatible so the server can add response-only hints without breaking strict clients.
	Annotations ActionAnnotations `json:"annotations"`

	// DefinitionScope Scope that owns the selected definition. A project definition shadows an organization definition with the same canonical name; execution still occurs in the consuming project.
	DefinitionScope ActionCatalogEntryDefinitionScope `json:"definition_scope"`

	// Description Markdown description of what the action does.
	Description *string `json:"description,omitempty"`

	// EndpointKind Backing kind. "builtin" for Mobius platform actions implemented in Go (no DB row), "http" for project-owned or integration HTTP endpoints, and "worker" for project-owned custom actions dispatched to connected workers.
	EndpointKind ActionCatalogEntryEndpointKind `json:"endpoint_kind"`

	// EndpointUrl Endpoint URL (populated for endpoint_kind: http actions only).
	EndpointUrl *string `json:"endpoint_url,omitempty"`

	// Execution Execution-location metadata surfaced to loop authors and action pickers.
	Execution *ActionExecutionMetadata `json:"execution,omitempty"`

	// InputSchema JSON Schema describing expected input parameters.
	InputSchema *map[string]interface{} `json:"input_schema,omitempty"`

	// Integration Integration slug this action belongs to (e.g. "slack"), if platform-provided.
	Integration *string `json:"integration,omitempty"`

	// InvocationFormat Resolved request-body contract for a project-owned custom action.
	InvocationFormat *ActionInvocationFormat `json:"invocation_format,omitempty"`

	// Name Canonical dotted action name (e.g. `slack.post_message`). Translated to the provider-safe form (`slack_post_message`) only at the LLM boundary.
	Name string `json:"name"`

	// OutputSchema JSON Schema describing the expected output shape.
	OutputSchema *map[string]interface{} `json:"output_schema,omitempty"`

	// Readiness Whether a catalog capability — an action, an event source, or an integration provider — is usable right now. `ready` means it can be used as-is; `needs_setup` means it is known and supported but blocked by configuration, credentials, permissions, provider runtime availability, or implementation status. This is catalog *readiness*, and is deliberately separate from a resource's lifecycle state (such as integration `status` or artifact lifecycle).
	Readiness CapabilityReadiness `json:"readiness"`

	// ReadinessReason Why a capability is `needs_setup`. Present only when readiness is `needs_setup`. `not_configured` — no integration or credential is connected yet. `inactive` — the backing integration is manually disabled. `expired` — the backing credential has expired. `provider_unavailable` — the provider runtime is not currently available. `permission_missing` — the caller lacks permission to use it. `not_implemented` — a placeholder for a capability that is not yet available.
	ReadinessReason *CapabilityReadinessReason `json:"readiness_reason,omitempty"`

	// Risk Author-declared risk classification: `low`, `medium`, `high`, or `critical`. Used by toolkit-author UIs to surface warnings and by audit views to prioritize attention.
	Risk ActionCatalogEntryRisk `json:"risk"`

	// Source Origin of this action: "platform" for built-in or integration-backed actions provided by Mobius, "custom" for project- or organization-owned HTTP or worker-backed actions. The `integration` field carries the provider slug for integration-backed platform actions.
	Source ActionCatalogEntrySource `json:"source"`

	// Title Human-readable display title for the action.
	Title *string `json:"title,omitempty"`
}

ActionCatalogEntry One built-in, integration, or custom-backed action available to agents and loop authors.

type ActionCatalogEntryDefinitionScope added in v0.0.54

type ActionCatalogEntryDefinitionScope string

ActionCatalogEntryDefinitionScope Scope that owns the selected definition. A project definition shadows an organization definition with the same canonical name; execution still occurs in the consuming project.

const (
	ActionCatalogEntryDefinitionScopeOrganization ActionCatalogEntryDefinitionScope = "organization"
	ActionCatalogEntryDefinitionScopePlatform     ActionCatalogEntryDefinitionScope = "platform"
	ActionCatalogEntryDefinitionScopeProject      ActionCatalogEntryDefinitionScope = "project"
)

Defines values for ActionCatalogEntryDefinitionScope.

func (ActionCatalogEntryDefinitionScope) Valid added in v0.0.54

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

type ActionCatalogEntryEndpointKind added in v0.0.19

type ActionCatalogEntryEndpointKind string

ActionCatalogEntryEndpointKind Backing kind. "builtin" for Mobius platform actions implemented in Go (no DB row), "http" for project-owned or integration HTTP endpoints, and "worker" for project-owned custom actions dispatched to connected workers.

const (
	ActionCatalogEntryEndpointKindBuiltin ActionCatalogEntryEndpointKind = "builtin"
	ActionCatalogEntryEndpointKindHttp    ActionCatalogEntryEndpointKind = "http"
	ActionCatalogEntryEndpointKindWorker  ActionCatalogEntryEndpointKind = "worker"
)

Defines values for ActionCatalogEntryEndpointKind.

func (ActionCatalogEntryEndpointKind) Valid added in v0.0.19

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

type ActionCatalogEntryRisk added in v0.0.21

type ActionCatalogEntryRisk string

ActionCatalogEntryRisk Author-declared risk classification: `low`, `medium`, `high`, or `critical`. Used by toolkit-author UIs to surface warnings and by audit views to prioritize attention.

const (
	ActionCatalogEntryRiskCritical ActionCatalogEntryRisk = "critical"
	ActionCatalogEntryRiskHigh     ActionCatalogEntryRisk = "high"
	ActionCatalogEntryRiskLow      ActionCatalogEntryRisk = "low"
	ActionCatalogEntryRiskMedium   ActionCatalogEntryRisk = "medium"
)

Defines values for ActionCatalogEntryRisk.

func (ActionCatalogEntryRisk) Valid added in v0.0.21

func (e ActionCatalogEntryRisk) Valid() bool

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

type ActionCatalogEntrySource added in v0.0.19

type ActionCatalogEntrySource string

ActionCatalogEntrySource Origin of this action: "platform" for built-in or integration-backed actions provided by Mobius, "custom" for project- or organization-owned HTTP or worker-backed actions. The `integration` field carries the provider slug for integration-backed platform actions.

const (
	ActionCatalogEntrySourceCustom   ActionCatalogEntrySource = "custom"
	ActionCatalogEntrySourcePlatform ActionCatalogEntrySource = "platform"
)

Defines values for ActionCatalogEntrySource.

func (ActionCatalogEntrySource) Valid added in v0.0.19

func (e ActionCatalogEntrySource) Valid() bool

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

type ActionCatalogListResponse

type ActionCatalogListResponse struct {
	// Items The full list of catalog entries.
	Items []ActionCatalogEntry `json:"items"`
}

ActionCatalogListResponse Unpaginated project action catalog. This endpoint returns the complete set of available project and platform actions so clients can build pickers without paging across a small catalog.

type ActionCompletedPayload added in v0.0.29

type ActionCompletedPayload struct {
	Action               *string                 `json:"action,omitempty"`
	Result               *map[string]interface{} `json:"result,omitempty"`
	Step                 *string                 `json:"step,omitempty"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

ActionCompletedPayload defines model for ActionCompletedPayload.

func (ActionCompletedPayload) Get added in v0.0.29

func (a ActionCompletedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ActionCompletedPayload. Returns the specified element and whether it was found

func (ActionCompletedPayload) MarshalJSON added in v0.0.29

func (a ActionCompletedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for ActionCompletedPayload to handle AdditionalProperties

func (*ActionCompletedPayload) Set added in v0.0.29

func (a *ActionCompletedPayload) Set(fieldName string, value interface{})

Setter for additional properties for ActionCompletedPayload

func (*ActionCompletedPayload) UnmarshalJSON added in v0.0.29

func (a *ActionCompletedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for ActionCompletedPayload to handle AdditionalProperties

type ActionEndpointKind added in v0.0.19

type ActionEndpointKind string

ActionEndpointKind Backing kind for a project-owned custom action. `http` actions POST to a registered endpoint. `worker` actions dispatch jobs to connected workers that advertise the registered action name.

const (
	ActionEndpointKindHttp   ActionEndpointKind = "http"
	ActionEndpointKindWorker ActionEndpointKind = "worker"
)

Defines values for ActionEndpointKind.

func (ActionEndpointKind) Valid added in v0.0.19

func (e ActionEndpointKind) Valid() bool

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

type ActionExecutionMetadata added in v0.0.22

type ActionExecutionMetadata struct {
	// DefaultLocation Default execution location: `managed`, `worker`, or `environment`.
	DefaultLocation ActionExecutionMetadataDefaultLocation `json:"default_location"`

	// Queue Queue to use when dispatching this action to workers.
	Queue *string `json:"queue,omitempty"`

	// RequiredWorkerCapabilities Worker capability labels required when running this action on a customer worker.
	RequiredWorkerCapabilities *[]string `json:"required_worker_capabilities,omitempty"`

	// SupportedLocations Supported execution locations: `managed`, `worker`, or `environment`.
	SupportedLocations []ActionExecutionMetadataSupportedLocations `json:"supported_locations"`
}

ActionExecutionMetadata Execution-location metadata surfaced to loop authors and action pickers.

type ActionExecutionMetadataDefaultLocation added in v0.0.22

type ActionExecutionMetadataDefaultLocation string

ActionExecutionMetadataDefaultLocation Default execution location: `managed`, `worker`, or `environment`.

const (
	ActionExecutionMetadataDefaultLocationEnvironment ActionExecutionMetadataDefaultLocation = "environment"
	ActionExecutionMetadataDefaultLocationManaged     ActionExecutionMetadataDefaultLocation = "managed"
	ActionExecutionMetadataDefaultLocationWorker      ActionExecutionMetadataDefaultLocation = "worker"
)

Defines values for ActionExecutionMetadataDefaultLocation.

func (ActionExecutionMetadataDefaultLocation) Valid added in v0.0.22

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

type ActionExecutionMetadataSupportedLocations added in v0.0.22

type ActionExecutionMetadataSupportedLocations string

ActionExecutionMetadataSupportedLocations Execution location: `managed`, `worker`, or `environment`.

const (
	ActionExecutionMetadataSupportedLocationsEnvironment ActionExecutionMetadataSupportedLocations = "environment"
	ActionExecutionMetadataSupportedLocationsManaged     ActionExecutionMetadataSupportedLocations = "managed"
	ActionExecutionMetadataSupportedLocationsWorker      ActionExecutionMetadataSupportedLocations = "worker"
)

Defines values for ActionExecutionMetadataSupportedLocations.

func (ActionExecutionMetadataSupportedLocations) Valid added in v0.0.22

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

type ActionFailedPayload added in v0.0.29

type ActionFailedPayload struct {
	Action               *string                `json:"action,omitempty"`
	Error                *string                `json:"error,omitempty"`
	ErrorType            *string                `json:"error_type,omitempty"`
	Step                 *string                `json:"step,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

ActionFailedPayload defines model for ActionFailedPayload.

func (ActionFailedPayload) Get added in v0.0.29

func (a ActionFailedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ActionFailedPayload. Returns the specified element and whether it was found

func (ActionFailedPayload) MarshalJSON added in v0.0.29

func (a ActionFailedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for ActionFailedPayload to handle AdditionalProperties

func (*ActionFailedPayload) Set added in v0.0.29

func (a *ActionFailedPayload) Set(fieldName string, value interface{})

Setter for additional properties for ActionFailedPayload

func (*ActionFailedPayload) UnmarshalJSON added in v0.0.29

func (a *ActionFailedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for ActionFailedPayload to handle AdditionalProperties

type ActionInvocationEntry added in v0.0.19

type ActionInvocationEntry struct {
	// ActionId Immutable action definition ID used for this invocation.
	ActionId *string `json:"action_id,omitempty"`

	// ActionName Name of the action that was invoked.
	ActionName string `json:"action_name"`

	// ActorPrincipalId Immutable principal attributed as the executing actor.
	ActorPrincipalId *string `json:"actor_principal_id,omitempty"`

	// ActorPrincipalType Kind of principal attributed as the executing actor.
	ActorPrincipalType *ActionInvocationEntryActorPrincipalType `json:"actor_principal_type,omitempty"`

	// AgentId Agent resource ID when the actor was an agent.
	AgentId *string `json:"agent_id,omitempty"`

	// AgentTurnId Agent turn correlated with this invocation, when applicable.
	AgentTurnId *string `json:"agent_turn_id,omitempty"`

	// ChannelExchangeId Channel exchange correlated with this invocation, when applicable.
	ChannelExchangeId *string `json:"channel_exchange_id,omitempty"`

	// CorrelationId Request or dispatch identity that correlated the invocation.
	CorrelationId *string `json:"correlation_id,omitempty"`

	// DefinitionScope Scope that owned the selected action definition.
	DefinitionScope *ActionInvocationEntryDefinitionScope `json:"definition_scope,omitempty"`

	// DeliveryId Stable signed delivery and idempotency identity, when HTTP-backed.
	DeliveryId *string `json:"delivery_id,omitempty"`

	// EnvironmentId Environment that executed this invocation, if environment-backed.
	EnvironmentId *string `json:"environment_id,omitempty"`

	// ErrorMessage Human-readable error detail when status is "failed".
	ErrorMessage *string `json:"error_message,omitempty"`

	// ErrorType Machine-readable error classification when status is "failed".
	ErrorType *string `json:"error_type,omitempty"`

	// FinishedAt Timestamp when this invocation completed.
	FinishedAt time.Time `json:"finished_at"`

	// HttpStatus Receiver HTTP status for a completed delivery attempt.
	HttpStatus *int `json:"http_status,omitempty"`

	// Id Unique identifier for this invocation record.
	Id string `json:"id"`

	// InvocationFormat Outbound request-body contract for an HTTP action. `legacy` sends the unversioned `{run_id, step_key, parameters}` body. `signed_context_v1` sends a versioned envelope whose project, action, actor, and origin claims are derived by Mobius and covered by the existing HMAC signature. Worker-backed actions must use `legacy`.
	InvocationFormat *ActionInvocationFormat `json:"invocation_format,omitempty"`

	// JobId Job that triggered this invocation, if job-backed.
	JobId *string `json:"job_id,omitempty"`

	// LoopId Loop definition correlated with this invocation, when applicable.
	LoopId *string `json:"loop_id,omitempty"`

	// OutputSummary Truncated or summarized action output for audit purposes.
	OutputSummary *map[string]interface{} `json:"output_summary,omitempty"`

	// Parameters Input parameters passed to the action.
	Parameters *map[string]interface{} `json:"parameters,omitempty"`

	// RetryCount Number of retry attempts before this terminal status was reached.
	RetryCount int `json:"retry_count"`

	// RunId Loop run that triggered this invocation, if run-backed.
	RunId *string `json:"run_id,omitempty"`

	// SchemaVersion Signed request-envelope schema version, when applicable.
	SchemaVersion *int `json:"schema_version,omitempty"`

	// SecretVersion Signing-secret version used for the HTTP delivery.
	SecretVersion *int64 `json:"secret_version,omitempty"`

	// SessionId Agent session correlated with this invocation, when applicable.
	SessionId *string `json:"session_id,omitempty"`

	// Source Invocation source ("loop", "direct", etc.).
	Source string `json:"source"`

	// StartedAt Timestamp when this invocation started.
	StartedAt time.Time `json:"started_at"`

	// Status Terminal invocation status ("success", "failed", etc.).
	Status string `json:"status"`

	// StepName Loop step name that triggered this invocation.
	StepName *string `json:"step_name,omitempty"`

	// ToolCallId Provider tool-call ID correlated with this invocation, when applicable.
	ToolCallId *string `json:"tool_call_id,omitempty"`
}

ActionInvocationEntry Per-invocation telemetry record for one action execution.

type ActionInvocationEntryActorPrincipalType added in v0.0.52

type ActionInvocationEntryActorPrincipalType string

ActionInvocationEntryActorPrincipalType Kind of principal attributed as the executing actor.

const (
	ActionInvocationEntryActorPrincipalTypeAgent   ActionInvocationEntryActorPrincipalType = "agent"
	ActionInvocationEntryActorPrincipalTypeHuman   ActionInvocationEntryActorPrincipalType = "human"
	ActionInvocationEntryActorPrincipalTypeService ActionInvocationEntryActorPrincipalType = "service"
	ActionInvocationEntryActorPrincipalTypeSystem  ActionInvocationEntryActorPrincipalType = "system"
)

Defines values for ActionInvocationEntryActorPrincipalType.

func (ActionInvocationEntryActorPrincipalType) Valid added in v0.0.52

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

type ActionInvocationEntryDefinitionScope added in v0.0.54

type ActionInvocationEntryDefinitionScope string

ActionInvocationEntryDefinitionScope Scope that owned the selected action definition.

const (
	ActionInvocationEntryDefinitionScopeOrganization ActionInvocationEntryDefinitionScope = "organization"
	ActionInvocationEntryDefinitionScopePlatform     ActionInvocationEntryDefinitionScope = "platform"
	ActionInvocationEntryDefinitionScopeProject      ActionInvocationEntryDefinitionScope = "project"
)

Defines values for ActionInvocationEntryDefinitionScope.

func (ActionInvocationEntryDefinitionScope) Valid added in v0.0.54

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

type ActionInvocationFormat added in v0.0.52

type ActionInvocationFormat string

ActionInvocationFormat Outbound request-body contract for an HTTP action. `legacy` sends the unversioned `{run_id, step_key, parameters}` body. `signed_context_v1` sends a versioned envelope whose project, action, actor, and origin claims are derived by Mobius and covered by the existing HMAC signature. Worker-backed actions must use `legacy`.

const (
	ActionInvocationFormatLegacy          ActionInvocationFormat = "legacy"
	ActionInvocationFormatSignedContextV1 ActionInvocationFormat = "signed_context_v1"
)

Defines values for ActionInvocationFormat.

func (ActionInvocationFormat) Valid added in v0.0.52

func (e ActionInvocationFormat) Valid() bool

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

type ActionInvocationListResponse added in v0.0.19

type ActionInvocationListResponse struct {
	// HasMore Whether additional pages are available.
	HasMore bool `json:"has_more"`

	// Items The list of results for this page.
	Items []ActionInvocationEntry `json:"items"`

	// NextCursor Opaque cursor to pass as `cursor` on the next request. Absent when `has_more` is false.
	NextCursor *string `json:"next_cursor,omitempty"`
}

ActionInvocationListResponse Paginated list of action invocation telemetry records.

type ActionInvocationResult added in v0.0.19

type ActionInvocationResult struct {
	// Error Error message. Present when status is "failed".
	Error *string `json:"error,omitempty"`

	// JobId Job created for this direct invocation.
	JobId *string `json:"job_id,omitempty"`

	// Output Action output. Present when status is "completed".
	Output *map[string]interface{} `json:"output,omitempty"`

	// RunId Loop run ID. Present when an asynchronous run was created.
	RunId *string `json:"run_id,omitempty"`

	// Status Invocation status: `active`, `completed`, or `failed`.
	Status ActionInvocationResultStatus `json:"status"`
}

ActionInvocationResult Unified invocation result for any action kind.

type ActionInvocationResultStatus added in v0.0.19

type ActionInvocationResultStatus string

ActionInvocationResultStatus Invocation status: `active`, `completed`, or `failed`.

const (
	ActionInvocationResultStatusActive    ActionInvocationResultStatus = "active"
	ActionInvocationResultStatusCompleted ActionInvocationResultStatus = "completed"
	ActionInvocationResultStatusFailed    ActionInvocationResultStatus = "failed"
)

Defines values for ActionInvocationResultStatus.

func (ActionInvocationResultStatus) Valid added in v0.0.19

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

type ActionNameParam

type ActionNameParam = string

ActionNameParam defines model for ActionNameParam.

type ActionPermissionGroup added in v0.0.21

type ActionPermissionGroup struct {
	// Children Concrete action execution permission IDs included in this group.
	Children []string `json:"children"`

	// Id Wildcard permission ID, for example `actions.execute.slack.*`.
	Id     string                      `json:"id"`
	Label  string                      `json:"label"`
	Source ActionPermissionGroupSource `json:"source"`
}

ActionPermissionGroup defines model for ActionPermissionGroup.

type ActionPermissionGroupSource added in v0.0.21

type ActionPermissionGroupSource string

ActionPermissionGroupSource defines model for ActionPermissionGroup.Source.

const (
	ActionPermissionGroupSourceCustom      ActionPermissionGroupSource = "custom"
	ActionPermissionGroupSourceIntegration ActionPermissionGroupSource = "integration"
	ActionPermissionGroupSourcePlatform    ActionPermissionGroupSource = "platform"
)

Defines values for ActionPermissionGroupSource.

func (ActionPermissionGroupSource) Valid added in v0.0.21

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

type ActionResultPayload added in v0.0.29

type ActionResultPayload struct {
	Action               *string                 `json:"action,omitempty"`
	Result               *map[string]interface{} `json:"result,omitempty"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

ActionResultPayload defines model for ActionResultPayload.

func (ActionResultPayload) Get added in v0.0.29

func (a ActionResultPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ActionResultPayload. Returns the specified element and whether it was found

func (ActionResultPayload) MarshalJSON added in v0.0.29

func (a ActionResultPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for ActionResultPayload to handle AdditionalProperties

func (*ActionResultPayload) Set added in v0.0.29

func (a *ActionResultPayload) Set(fieldName string, value interface{})

Setter for additional properties for ActionResultPayload

func (*ActionResultPayload) UnmarshalJSON added in v0.0.29

func (a *ActionResultPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for ActionResultPayload to handle AdditionalProperties

type ActionRetriedPayload added in v0.0.29

type ActionRetriedPayload struct {
	Action               *string                `json:"action,omitempty"`
	Attempt              *int                   `json:"attempt,omitempty"`
	MaxAttempts          *int                   `json:"max_attempts,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

ActionRetriedPayload defines model for ActionRetriedPayload.

func (ActionRetriedPayload) Get added in v0.0.29

func (a ActionRetriedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ActionRetriedPayload. Returns the specified element and whether it was found

func (ActionRetriedPayload) MarshalJSON added in v0.0.29

func (a ActionRetriedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for ActionRetriedPayload to handle AdditionalProperties

func (*ActionRetriedPayload) Set added in v0.0.29

func (a *ActionRetriedPayload) Set(fieldName string, value interface{})

Setter for additional properties for ActionRetriedPayload

func (*ActionRetriedPayload) UnmarshalJSON added in v0.0.29

func (a *ActionRetriedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for ActionRetriedPayload to handle AdditionalProperties

type ActivateOrganizationActionSecretRequest added in v0.0.54

type ActivateOrganizationActionSecretRequest struct {
	// OverlapSeconds Verification overlap for the previous active version. Omit for 24 hours.
	OverlapSeconds *int `json:"overlap_seconds,omitempty"`
}

ActivateOrganizationActionSecretRequest defines model for ActivateOrganizationActionSecretRequest.

type ActivateOrganizationActionSecretVersionJSONRequestBody added in v0.0.54

type ActivateOrganizationActionSecretVersionJSONRequestBody = ActivateOrganizationActionSecretRequest

ActivateOrganizationActionSecretVersionJSONRequestBody defines body for ActivateOrganizationActionSecretVersion for application/json ContentType.

type ActivateOrganizationActionSecretVersionResponse added in v0.0.54

type ActivateOrganizationActionSecretVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OrganizationAction
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
}

func ParseActivateOrganizationActionSecretVersionResponse added in v0.0.54

func ParseActivateOrganizationActionSecretVersionResponse(rsp *http.Response) (*ActivateOrganizationActionSecretVersionResponse, error)

ParseActivateOrganizationActionSecretVersionResponse parses an HTTP response from a ActivateOrganizationActionSecretVersionWithResponse call

func (ActivateOrganizationActionSecretVersionResponse) ContentType added in v0.0.54

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

func (ActivateOrganizationActionSecretVersionResponse) Status added in v0.0.54

Status returns HTTPResponse.Status

func (ActivateOrganizationActionSecretVersionResponse) StatusCode added in v0.0.54

StatusCode returns HTTPResponse.StatusCode

type AfterSequenceParam added in v0.0.29

type AfterSequenceParam = int64

AfterSequenceParam defines model for AfterSequenceParam.

type Agent added in v0.0.3

type Agent struct {
	// Color Display color for this agent in UI surfaces. One of the Mantine color palette keys (e.g. `indigo`, `teal`, `grape`); empty string falls back to a hash-derived color.
	Color *string `json:"color,omitempty"`

	// CompactionPolicy Controls how a session's transcript is automatically summarized as it grows. On create the supplied fields are merged over the owning agent's default policy and the server defaults; on update they patch the session's current policy. Omitted fields keep their resolved values.
	CompactionPolicy *SessionCompactionPolicy `json:"compaction_policy,omitempty"`

	// CreatedAt Timestamp when this agent was created.
	CreatedAt time.Time `json:"created_at"`

	// CreatedBy ID of the principal who created this agent.
	CreatedBy *string `json:"created_by,omitempty"`

	// Description Optional human-readable description.
	Description *string `json:"description,omitempty"`

	// EmailAddress Inbox address provisioned via POST /v1/projects/{project_handle}/agents/{resource_id}/inbox (opt-in; not created automatically at agent creation). The field is populated only after a successful provisioning call. Use this address to add the agent as a member on external platforms (Linear, GitHub, Slack, etc.) so the platform can deliver notifications to the agent.
	EmailAddress *string `json:"email_address,omitempty"`

	// ExternalRef Client-owned durable identity key for this agent. Unique within the project when present, and assign-once: create requests may set it; update requests may set it only while the agent has no existing external_ref, or repeat the current value idempotently. When set, the organization definition resolver addresses this agent as `agent/<external_ref>` instead of `agent/<name>`, so the selector survives display-name changes.
	ExternalRef *string `json:"external_ref,omitempty"`

	// Id Unique identifier for this agent.
	Id string `json:"id"`

	// MemoryContext Automatic memory delivery policy. The JSON object requires `mode` (`index`, `full`, or `off`) and optionally accepts `max_bytes`, for example `{"mode":"full","max_bytes":131072}`.
	MemoryContext *MemoryContextPolicy `json:"memory_context,omitempty"`

	// Model Model identifier for agents. Accepts any id returned by `GET /v1/projects/{project_handle}/catalog/models` (including slash-bearing OpenRouter catalog ids), optionally `provider/`-prefixed (e.g. `xai/grok-4`); bare known ids (e.g. `claude-sonnet-4-6`) are auto-detected to their provider. Empty string falls back to the platform default.
	Model *string `json:"model,omitempty"`

	// ModelRoute Default model route used by built-in messaging and by loop agent steps that do not override the route.
	ModelRoute *AgentModelRoute `json:"model_route,omitempty"`

	// Name Mutable unique name within the project. Free-form human-readable label; use `id` for stable references and job targeting.
	Name string `json:"name"`

	// PrincipalId The machine principal (principals.id, kind `agent`) this agent IS. Created atomically with the agent and immutable. Used as the `owned_by` value when filtering or claiming resources owned by this agent.
	PrincipalId string `json:"principal_id"`

	// Status Administrative status. Inactive agents cannot claim new jobs. Deleted agents are excluded from normal reads.
	Status AgentStatus `json:"status"`

	// SystemPrompt Custom system prompt for agents. Empty string uses the generated default based on the agent name.
	SystemPrompt *string `json:"system_prompt,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// ThinkingEffort Reasoning-effort level for a turn, lowest (`low`) to highest (`max`). Higher effort spends more tokens on reasoning, improving quality on hard tasks at the cost of latency and credits. Levels above what the resolved model supports are clamped down. Set on an agent it is the default; set on a session or loop step it overrides the agent default. `inherit` (or omitting the field) defers to the layer below — the agent default for a session/step, or the provider's own default when nothing sets a level.
	ThinkingEffort *ThinkingEffort `json:"thinking_effort,omitempty"`

	// TimeoutSeconds Execution timeout, in seconds, for a single turn of this agent. `0` (or omitted) uses the platform default (600s / 10 minutes). A loop step's own timeout overrides this for that step.
	TimeoutSeconds *int64 `json:"timeout_seconds,omitempty"`

	// ToolPresentation Controls how granted actions are surfaced to the model in Mobius-hosted agent turns. `meta` (the default) groups related actions behind compact command routers, while `flat` exposes one tool per action.
	ToolPresentation *AgentToolPresentation `json:"tool_presentation,omitempty"`

	// UpdatedAt Timestamp when this agent was last updated.
	UpdatedAt time.Time `json:"updated_at"`

	// UpdatedBy ID of the principal who last updated this agent.
	UpdatedBy *string `json:"updated_by,omitempty"`
}

Agent AI actor identity. An agent IS a principal (its permissions are role grants on that principal); agents are useful when loops need a named actor with instructions, configuration, and session presence.

type AgentListResponse added in v0.0.3

type AgentListResponse struct {
	// Items The list of results for this page.
	Items []Agent `json:"items"`
}

AgentListResponse defines model for AgentListResponse.

type AgentManifestWarning added in v0.0.21

type AgentManifestWarning struct {
	// Action Action name the warning relates to, when applicable.
	Action *string `json:"action,omitempty"`

	// Code Machine-readable warning code.
	Code string `json:"code"`

	// Message Human-readable warning text.
	Message string `json:"message"`

	// SkillId Skill the warning relates to, when applicable.
	SkillId *string `json:"skill_id,omitempty"`

	// Tool Tool selector the warning relates to, when applicable.
	Tool *string `json:"tool,omitempty"`

	// ToolkitId Toolkit the warning relates to, when applicable.
	ToolkitId *string `json:"toolkit_id,omitempty"`
}

AgentManifestWarning Non-fatal warning produced while resolving an agent tool manifest.

type AgentMemory added in v0.0.29

type AgentMemory struct {
	// AgentId The agent that owns this memory.
	AgentId string `json:"agent_id"`

	// CountsByKind Entry counts keyed by memory kind.
	CountsByKind map[string]int `json:"counts_by_kind"`

	// EntryCount Number of entries currently held.
	EntryCount int `json:"entry_count"`

	// UpdatedAt When any entry was last changed, when there are entries.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

AgentMemory Summary of an agent's private memory: how many entries it holds, a breakdown by kind, and when it last changed.

type AgentMemoryChange added in v0.0.53

type AgentMemoryChange struct {
	ActorId       *string                    `json:"actor_id,omitempty"`
	AgentId       string                     `json:"agent_id"`
	CreatedAt     time.Time                  `json:"created_at"`
	Id            string                     `json:"id"`
	MemoryEntryId string                     `json:"memory_entry_id"`
	MemoryKey     string                     `json:"memory_key"`
	Operation     AgentMemoryChangeOperation `json:"operation"`
	Reason        AgentMemoryChangeReason    `json:"reason"`
	SourceRunId   *string                    `json:"source_run_id,omitempty"`

	// Version Entry version at the time of this mutation, matching `AgentMemoryEntry.version`.
	Version int `json:"version"`
}

AgentMemoryChange defines model for AgentMemoryChange.

type AgentMemoryChangeListResponse added in v0.0.53

type AgentMemoryChangeListResponse struct {
	HasMore bool                `json:"has_more"`
	Items   []AgentMemoryChange `json:"items"`

	// NextCursor Feed position after this page. Always present, including when `items` is empty; pass it back as `after` on the next request.
	NextCursor string `json:"next_cursor"`
}

AgentMemoryChangeListResponse defines model for AgentMemoryChangeListResponse.

type AgentMemoryChangeOperation added in v0.0.53

type AgentMemoryChangeOperation string

AgentMemoryChangeOperation defines model for AgentMemoryChangeOperation.

const (
	AgentMemoryChangeOperationCreated AgentMemoryChangeOperation = "created"
	AgentMemoryChangeOperationDeleted AgentMemoryChangeOperation = "deleted"
	AgentMemoryChangeOperationUpdated AgentMemoryChangeOperation = "updated"
)

Defines values for AgentMemoryChangeOperation.

func (AgentMemoryChangeOperation) Valid added in v0.0.53

func (e AgentMemoryChangeOperation) Valid() bool

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

type AgentMemoryChangeReason added in v0.0.53

type AgentMemoryChangeReason string

AgentMemoryChangeReason defines model for AgentMemoryChangeReason.

const (
	AgentMemoryChangeReasonApi        AgentMemoryChangeReason = "api"
	AgentMemoryChangeReasonRemembered AgentMemoryChangeReason = "remembered"
	AgentMemoryChangeReasonSoftCap    AgentMemoryChangeReason = "soft_cap"
)

Defines values for AgentMemoryChangeReason.

func (AgentMemoryChangeReason) Valid added in v0.0.53

func (e AgentMemoryChangeReason) Valid() bool

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

type AgentMemoryEntry added in v0.0.29

type AgentMemoryEntry struct {
	// Content The remembered content.
	Content *string `json:"content,omitempty"`

	// CreatedAt When the entry was first remembered.
	CreatedAt time.Time `json:"created_at"`

	// EntryId Identifier of this memory entry.
	EntryId string `json:"entry_id"`

	// Importance Rank from 0 to 100; higher ranks sooner in recall and is kept longer under the memory cap.
	Importance int `json:"importance"`

	// Key Stable identifier the agent chose for this memory.
	Key string `json:"key"`

	// Kind Classifies a memory entry. Kinds carry different retention and compaction semantics: facts and preferences are durable, episodes are the primary input to compaction, and a summary is the compacted product of other entries.
	Kind MemoryKind `json:"kind"`

	// Metadata Structured metadata stored alongside the memory (provenance, tags, …).
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Pinned Whether the entry is guaranteed in the memory index and exempt from the memory cap.
	Pinned bool `json:"pinned"`

	// SourceRunId Identifier of the loop run that last wrote this memory, when known.
	SourceRunId *string `json:"source_run_id,omitempty"`

	// Summary Short one-line summary shown in the agent's memory index.
	Summary *string `json:"summary,omitempty"`

	// UpdatedAt When the entry was last updated.
	UpdatedAt time.Time `json:"updated_at"`

	// Version Monotonic version, incremented on each update.
	Version int `json:"version"`
}

AgentMemoryEntry A single durable memory in an agent's private memory, identified by a stable key the agent chose.

type AgentMemoryEntryListResponse added in v0.0.29

type AgentMemoryEntryListResponse struct {
	// HasMore Whether more entries follow this page.
	HasMore bool `json:"has_more"`

	// Items Memory entries in the current page.
	Items []AgentMemoryEntry `json:"items"`

	// NextCursor Cursor to fetch the next page, when has_more is true.
	NextCursor     *string               `json:"next_cursor,omitempty"`
	SearchCoverage *MemorySearchCoverage `json:"search_coverage,omitempty"`
}

AgentMemoryEntryListResponse defines model for AgentMemoryEntryListResponse.

type AgentMessagePayload added in v0.0.29

type AgentMessagePayload struct {
	// Content The assistant message's full canonical content blocks (text, thinking, tool_use).
	Content []SessionContentBlock `json:"content"`

	// MessageId Id of the transcript message this event mirrors.
	MessageId string `json:"message_id"`

	// Role Always `assistant`.
	Role AgentMessagePayloadRole `json:"role"`

	// Sequence The mirrored message's per-session transcript sequence.
	Sequence int64 `json:"sequence"`

	// TurnId The agent turn that produced this message.
	TurnId               *string                `json:"turn_id,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

AgentMessagePayload Payload of an `agent.message` content event: the durable encoding of one assistant transcript message. Carries the message's full structured content (text, thinking, tool_use) plus the message identity (`message_id` + `sequence`). Replaying these events reconstructs the same view as reading the messages API.

func (AgentMessagePayload) Get added in v0.0.29

func (a AgentMessagePayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for AgentMessagePayload. Returns the specified element and whether it was found

func (AgentMessagePayload) MarshalJSON added in v0.0.29

func (a AgentMessagePayload) MarshalJSON() ([]byte, error)

Override default JSON handling for AgentMessagePayload to handle AdditionalProperties

func (*AgentMessagePayload) Set added in v0.0.29

func (a *AgentMessagePayload) Set(fieldName string, value interface{})

Setter for additional properties for AgentMessagePayload

func (*AgentMessagePayload) UnmarshalJSON added in v0.0.29

func (a *AgentMessagePayload) UnmarshalJSON(b []byte) error

Override default JSON handling for AgentMessagePayload to handle AdditionalProperties

type AgentMessagePayloadRole added in v0.0.29

type AgentMessagePayloadRole string

AgentMessagePayloadRole Always `assistant`.

const (
	AgentMessagePayloadRoleAssistant AgentMessagePayloadRole = "assistant"
)

Defines values for AgentMessagePayloadRole.

func (AgentMessagePayloadRole) Valid added in v0.0.29

func (e AgentMessagePayloadRole) Valid() bool

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

type AgentMessagingBinding added in v0.0.22

type AgentMessagingBinding struct {
	// AgentId Agent this binding belongs to.
	AgentId string `json:"agent_id"`

	// AllMessages Whether every message in the allowed conversations activates the agent.
	AllMessages bool `json:"all_messages"`

	// Channels Optional provider conversation allowlist. Empty means any conversation on the integration.
	Channels []string `json:"channels"`

	// CompactionPolicy Controls how a session's transcript is automatically summarized as it grows. On create the supplied fields are merged over the owning agent's default policy and the server defaults; on update they patch the session's current policy. Omitted fields keep their resolved values.
	CompactionPolicy *SessionCompactionPolicy `json:"compaction_policy,omitempty"`

	// CreatedAt Time the binding was created.
	CreatedAt time.Time `json:"created_at"`

	// DmPolicy Direct-message access policy: `open`, `allowlist`, or `disabled`.
	DmPolicy AgentMessagingDMPolicy `json:"dm_policy"`

	// Dms Whether direct messages are accepted.
	Dms bool `json:"dms"`

	// Enabled Whether the agent can currently answer on this account.
	Enabled bool `json:"enabled"`

	// Id Messaging binding identifier.
	Id string `json:"id"`

	// IntegrationId Connected integration account this binding applies to.
	IntegrationId string `json:"integration_id"`

	// Mentions Whether channel/group mentions activate the agent.
	Mentions bool `json:"mentions"`

	// ModelRoute Default model route used by built-in messaging and by loop agent steps that do not override the route.
	ModelRoute *AgentModelRoute `json:"model_route,omitempty"`

	// Provider Provider supported by built-in agent messaging: `slack`, `telegram`, or `linear` (Linear agent sessions).
	Provider AgentMessagingProvider `json:"provider"`

	// ReplyMode Reply mode for built-in messaging; currently `auto`.
	ReplyMode AgentMessagingReplyMode `json:"reply_mode"`

	// SenderAllow Optional provider sender allowlist. Empty means any sender.
	SenderAllow []string `json:"sender_allow"`

	// UpdatedAt Time the binding was last updated.
	UpdatedAt time.Time `json:"updated_at"`
}

AgentMessagingBinding Messaging provider account that an agent can answer from.

type AgentMessagingBindingListResponse added in v0.0.22

type AgentMessagingBindingListResponse struct {
	// Items Messaging bindings configured for this agent.
	Items []AgentMessagingBinding `json:"items"`
}

AgentMessagingBindingListResponse defines model for AgentMessagingBindingListResponse.

type AgentMessagingBindingRequest added in v0.0.22

type AgentMessagingBindingRequest struct {
	// AllMessages Respond to every message in bound channels, not just mentions.
	AllMessages *bool `json:"all_messages,omitempty"`

	// Channels Channel IDs the binding is scoped to (empty means all channels).
	Channels *[]string `json:"channels,omitempty"`

	// CompactionPolicy Controls how a session's transcript is automatically summarized as it grows. On create the supplied fields are merged over the owning agent's default policy and the server defaults; on update they patch the session's current policy. Omitted fields keep their resolved values.
	CompactionPolicy *SessionCompactionPolicy `json:"compaction_policy,omitempty"`

	// DmPolicy Direct-message access policy: `open`, `allowlist`, or `disabled`.
	DmPolicy *AgentMessagingDMPolicy `json:"dm_policy,omitempty"`

	// Dms Respond to direct messages.
	Dms *bool `json:"dms,omitempty"`

	// Enabled Whether the binding is active and the agent responds on this provider.
	Enabled *bool `json:"enabled,omitempty"`

	// IntegrationId ID of the connected integration that backs this binding.
	IntegrationId string `json:"integration_id"`

	// Mentions Respond when the agent is @-mentioned.
	Mentions *bool `json:"mentions,omitempty"`

	// ModelRoute Default model route used by built-in messaging and by loop agent steps that do not override the route.
	ModelRoute *AgentModelRoute `json:"model_route,omitempty"`

	// Provider Provider supported by built-in agent messaging: `slack`, `telegram`, or `linear` (Linear agent sessions).
	Provider AgentMessagingProvider `json:"provider"`

	// ReplaceExisting When enabling this binding, disable any other active agent binding for the same provider account.
	ReplaceExisting *bool `json:"replace_existing,omitempty"`

	// ReplyMode Reply mode for built-in messaging; currently `auto`.
	ReplyMode *AgentMessagingReplyMode `json:"reply_mode,omitempty"`

	// SenderAllow Sender IDs allowed to trigger the agent (empty means no allowlist).
	SenderAllow *[]string `json:"sender_allow,omitempty"`
}

AgentMessagingBindingRequest defines model for AgentMessagingBindingRequest.

type AgentMessagingDMPolicy added in v0.0.22

type AgentMessagingDMPolicy string

AgentMessagingDMPolicy Direct-message access policy: `open`, `allowlist`, or `disabled`.

const (
	AgentMessagingDMPolicyAllowlist AgentMessagingDMPolicy = "allowlist"
	AgentMessagingDMPolicyDisabled  AgentMessagingDMPolicy = "disabled"
	AgentMessagingDMPolicyOpen      AgentMessagingDMPolicy = "open"
)

Defines values for AgentMessagingDMPolicy.

func (AgentMessagingDMPolicy) Valid added in v0.0.22

func (e AgentMessagingDMPolicy) Valid() bool

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

type AgentMessagingProvider added in v0.0.22

type AgentMessagingProvider string

AgentMessagingProvider Provider supported by built-in agent messaging: `slack`, `telegram`, or `linear` (Linear agent sessions).

const (
	AgentMessagingProviderLinear   AgentMessagingProvider = "linear"
	AgentMessagingProviderSlack    AgentMessagingProvider = "slack"
	AgentMessagingProviderTelegram AgentMessagingProvider = "telegram"
)

Defines values for AgentMessagingProvider.

func (AgentMessagingProvider) Valid added in v0.0.22

func (e AgentMessagingProvider) Valid() bool

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

type AgentMessagingReplyMode added in v0.0.22

type AgentMessagingReplyMode string

AgentMessagingReplyMode Reply mode for built-in messaging; currently `auto`.

const (
	AgentMessagingReplyModeAuto AgentMessagingReplyMode = "auto"
)

Defines values for AgentMessagingReplyMode.

func (AgentMessagingReplyMode) Valid added in v0.0.22

func (e AgentMessagingReplyMode) Valid() bool

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

type AgentModelRoute added in v0.0.22

type AgentModelRoute struct {
	// EnvironmentId Environment to use for worker-backed model calls.
	EnvironmentId *string `json:"environment_id,omitempty"`

	// Mode Model-call route mode: `managed` or `worker`.
	Mode AgentModelRouteMode `json:"mode"`

	// Model Model identifier to use for this route.
	Model *string `json:"model,omitempty"`

	// Provider Provider id advertised by a local worker when `mode` is `worker`.
	Provider *string `json:"provider,omitempty"`
}

AgentModelRoute Default model route used by built-in messaging and by loop agent steps that do not override the route.

type AgentModelRouteMode added in v0.0.22

type AgentModelRouteMode string

AgentModelRouteMode Model-call route mode: `managed` or `worker`.

const (
	AgentModelRouteModeManaged AgentModelRouteMode = "managed"
	AgentModelRouteModeWorker  AgentModelRouteMode = "worker"
)

Defines values for AgentModelRouteMode.

func (AgentModelRouteMode) Valid added in v0.0.22

func (e AgentModelRouteMode) Valid() bool

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

type AgentRef added in v0.0.29

type AgentRef struct {
	// Id Agent identifier.
	Id *string `json:"id,omitempty"`

	// Name Project-unique agent name.
	Name *string `json:"name,omitempty"`
}

AgentRef Reference to an agent in this project. Supply exactly one of `id` (the agent identifier) or `name` (the project-unique agent name). A blueprint-binding reference form is reserved for a later release and is not resolvable yet.

type AgentStatus added in v0.0.3

type AgentStatus string

AgentStatus Administrative status. Inactive agents cannot claim new jobs. Deleted agents are excluded from normal reads.

const (
	AgentStatusActive   AgentStatus = "active"
	AgentStatusInactive AgentStatus = "inactive"
)

Defines values for AgentStatus.

func (AgentStatus) Valid added in v0.0.3

func (e AgentStatus) Valid() bool

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

type AgentToolConsumer added in v0.0.21

type AgentToolConsumer struct {
	InvocationId string `json:"invocation_id"`

	// SessionId Session whose turn raised this interaction, when session-scoped.
	SessionId  *string `json:"session_id,omitempty"`
	ToolCallId string  `json:"tool_call_id"`
}

AgentToolConsumer defines model for AgentToolConsumer.

type AgentToolManifest added in v0.0.21

type AgentToolManifest struct {
	// AgentId Agent this manifest was resolved for.
	AgentId string `json:"agent_id"`

	// GroupsResolved Audit trail of group selectors that contributed to the resolved tool set. Operators see groups; the LLM only sees the flat `tools` list.
	GroupsResolved *[]ResolvedActionGroup `json:"groups_resolved,omitempty"`

	// PolicyHash Stable hash over the resolved tool + skill set; bumps when assigned toolkits or skills change.
	PolicyHash string `json:"policy_hash"`

	// Skills Skills active for this agent in the resolved manifest.
	Skills []SkillManifestEntry `json:"skills"`

	// ToolkitIds Toolkit IDs that contributed to the resolved manifest.
	ToolkitIds []string `json:"toolkit_ids"`

	// Tools Catalog entries the agent can invoke. Each entry surfaces to the LLM as its own named tool. Built-in, integration, loop, and custom-HTTP actions are intermingled here.
	Tools []ActionCatalogEntry `json:"tools"`

	// Warnings Non-fatal issues encountered while resolving the manifest.
	Warnings []AgentManifestWarning `json:"warnings"`
}

AgentToolManifest The flat, resolved tool set visible to one agent. Replaces the prior Capability/Action split: every entry in `tools` is an action catalog entry the agent can invoke as its own named tool.

type AgentToolPresentation added in v0.0.22

type AgentToolPresentation string

AgentToolPresentation Controls how granted actions are surfaced to the model in Mobius-hosted agent turns. `meta` (the default) groups related actions behind compact command routers, while `flat` exposes one tool per action.

const (
	AgentToolPresentationFlat AgentToolPresentation = "flat"
	AgentToolPresentationMeta AgentToolPresentation = "meta"
)

Defines values for AgentToolPresentation.

func (AgentToolPresentation) Valid added in v0.0.22

func (e AgentToolPresentation) Valid() bool

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

type AgentTurn added in v0.0.24

type AgentTurn struct {
	// AgentId Agent that ran this turn.
	AgentId string `json:"agent_id"`

	// Attempt 1-based attempt number for this run-step; retries create new turns.
	Attempt int `json:"attempt"`

	// ChannelExchangeId Inbound channel exchange that triggered this turn. Absent for loop turns.
	ChannelExchangeId *string `json:"channel_exchange_id,omitempty"`

	// CompletedAt When the turn reached a terminal status.
	CompletedAt *time.Time `json:"completed_at,omitempty"`

	// CreatedAt Time the turn was created.
	CreatedAt time.Time `json:"created_at"`

	// EffectiveTimeoutSeconds Authoritative active-execution budget selected for the turn.
	EffectiveTimeoutSeconds *int64 `json:"effective_timeout_seconds,omitempty"`

	// ErrorMessage Human-readable failure detail when the turn failed.
	ErrorMessage *string `json:"error_message,omitempty"`

	// ErrorScope Present when the overall agent-turn budget was exhausted.
	ErrorScope *AgentTurnErrorScope `json:"error_scope,omitempty"`

	// ErrorType Machine-readable failure category when the turn failed.
	ErrorType *string `json:"error_type,omitempty"`

	// Id Stable turn identifier.
	Id string `json:"id"`

	// Output The validated structured output. Present only on a `completed` turn that declared an output schema. Read this instead of parsing the transcript.
	Output *map[string]interface{} `json:"output,omitempty"`

	// OutputSource Provenance of a completed turn's structured `output`: `tool` when the agent submitted it through the reserved `mobius_submit_output` tool, or `text` when Mobius accepted a schema-valid final message as a fallback.
	OutputSource *AgentTurnOutputSource `json:"output_source,omitempty"`

	// RunId Loop run that triggered this turn. Absent for messaging turns.
	RunId *string `json:"run_id,omitempty"`

	// Seq Per-session ordering hint (cosmetic; turns are ordered by creation time).
	Seq *int `json:"seq,omitempty"`

	// SessionId Session this turn's transcript was appended to.
	SessionId string `json:"session_id"`

	// Status Agent turn lifecycle status: `queued`, `running`, `waiting`, `completed`, `failed`, or `cancelled`.
	Status AgentTurnStatus `json:"status"`

	// StepKey Step key (matches LoopRunStep.step_key, not its id) of the loop step that triggered this turn. Absent for messaging turns.
	StepKey *string `json:"step_key,omitempty"`

	// UpdatedAt Time the turn was last updated.
	UpdatedAt time.Time `json:"updated_at"`
}

AgentTurn One attempt of an agent running the agent loop — the unit that produces a transcript. A turn is triggered by a direct send to the session, a loop step (run_id + step_key), or an inbound channel message (channel_exchange_id). Its messages are read via the turn's transcript endpoint.

type AgentTurnErrorScope added in v0.0.50

type AgentTurnErrorScope string

AgentTurnErrorScope Present when the overall agent-turn budget was exhausted.

const (
	AgentTurnErrorScopeAgentTurn AgentTurnErrorScope = "agent_turn"
)

Defines values for AgentTurnErrorScope.

func (AgentTurnErrorScope) Valid added in v0.0.50

func (e AgentTurnErrorScope) Valid() bool

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

type AgentTurnListResponse added in v0.0.24

type AgentTurnListResponse struct {
	// HasMore True when more turns exist past this page.
	HasMore *bool `json:"has_more,omitempty"`

	// Items Turns in this session, ordered by creation time.
	Items []AgentTurn `json:"items"`

	// NextCursor Opaque cursor to pass as `cursor` on the next request. Null when `has_more` is false.
	NextCursor *string `json:"next_cursor,omitempty"`
}

AgentTurnListResponse defines model for AgentTurnListResponse.

type AgentTurnOperationPolicy added in v0.0.50

type AgentTurnOperationPolicy struct {
	// TimeoutSeconds Overall active-execution budget for this logical turn.
	TimeoutSeconds *int64 `json:"timeout_seconds,omitempty"`
}

AgentTurnOperationPolicy Operational policy for this newly admitted turn only. Unlike `config`, this policy is not saved on the session. Its timeout takes precedence over the session's inline-definition timeout and remains constrained by any deployment timeout ceiling. `config.timeout_seconds` may be zero to use the platform default; this operation timeout must be at least one.

type AgentTurnOutputSource added in v0.0.51

type AgentTurnOutputSource string

AgentTurnOutputSource Provenance of a completed turn's structured `output`: `tool` when the agent submitted it through the reserved `mobius_submit_output` tool, or `text` when Mobius accepted a schema-valid final message as a fallback.

const (
	AgentTurnOutputSourceText AgentTurnOutputSource = "text"
	AgentTurnOutputSourceTool AgentTurnOutputSource = "tool"
)

Defines values for AgentTurnOutputSource.

func (AgentTurnOutputSource) Valid added in v0.0.51

func (e AgentTurnOutputSource) Valid() bool

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

type AgentTurnStatus added in v0.0.24

type AgentTurnStatus string

AgentTurnStatus Agent turn lifecycle status: `queued`, `running`, `waiting`, `completed`, `failed`, or `cancelled`.

const (
	AgentTurnStatusCancelled AgentTurnStatus = "cancelled"
	AgentTurnStatusCompleted AgentTurnStatus = "completed"
	AgentTurnStatusFailed    AgentTurnStatus = "failed"
	AgentTurnStatusQueued    AgentTurnStatus = "queued"
	AgentTurnStatusRunning   AgentTurnStatus = "running"
	AgentTurnStatusWaiting   AgentTurnStatus = "waiting"
)

Defines values for AgentTurnStatus.

func (AgentTurnStatus) Valid added in v0.0.24

func (e AgentTurnStatus) Valid() bool

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

type AppendSessionMessage added in v0.0.22

type AppendSessionMessage struct {
	// Content Ordered content blocks (text, tool calls, tool results, images). Blocks of type `reminder` are host-managed runtime context and are rejected on this surface.
	Content []map[string]interface{} `json:"content"`

	// CreatedAt Caller-supplied creation timestamp. The server assigns one if absent.
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// Metadata Free-form caller metadata for this message.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Role Message role: `system`, `user`, `assistant`, `tool`, or `compaction`.
	Role SessionMessageRole `json:"role"`
}

AppendSessionMessage Message payload to append to an existing durable session.

type AppendSessionMessagesJSONRequestBody added in v0.0.22

type AppendSessionMessagesJSONRequestBody = AppendSessionMessagesRequest

AppendSessionMessagesJSONRequestBody defines body for AppendSessionMessages for application/json ContentType.

type AppendSessionMessagesRequest added in v0.0.22

type AppendSessionMessagesRequest struct {
	// CacheCreationInputTotal Prompt-cache-write input tokens to add to this session's lifetime total.
	CacheCreationInputTotal *int `json:"cache_creation_input_total,omitempty"`

	// CacheReadInputTotal Prompt-cache-read input tokens to add to this session's lifetime total.
	CacheReadInputTotal *int `json:"cache_read_input_total,omitempty"`

	// Messages Messages to append to the session, in order.
	Messages []AppendSessionMessage `json:"messages"`

	// Model Model that produced these messages.
	Model *string `json:"model,omitempty"`

	// ModelProvider Provider for the supplied `model`.
	ModelProvider *string `json:"model_provider,omitempty"`

	// TokenInputTotal Fresh (uncached) input tokens to add to this session's lifetime total.
	TokenInputTotal *int `json:"token_input_total,omitempty"`

	// TokenOutputTotal Output tokens to add to this session's lifetime total.
	TokenOutputTotal *int `json:"token_output_total,omitempty"`
}

AppendSessionMessagesRequest defines model for AppendSessionMessagesRequest.

type AppendSessionMessagesResponse added in v0.0.22

type AppendSessionMessagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Session
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseAppendSessionMessagesResponse added in v0.0.22

func ParseAppendSessionMessagesResponse(rsp *http.Response) (*AppendSessionMessagesResponse, error)

ParseAppendSessionMessagesResponse parses an HTTP response from a AppendSessionMessagesWithResponse call

func (AppendSessionMessagesResponse) ContentType added in v0.0.22

func (r AppendSessionMessagesResponse) ContentType() string

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

func (AppendSessionMessagesResponse) Status added in v0.0.22

Status returns HTTPResponse.Status

func (AppendSessionMessagesResponse) StatusCode added in v0.0.22

func (r AppendSessionMessagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ApplyBlueprintJSONRequestBody added in v0.0.31

type ApplyBlueprintJSONRequestBody = ApplyBlueprintRequest

ApplyBlueprintJSONRequestBody defines body for ApplyBlueprint for application/json ContentType.

type ApplyBlueprintRequest added in v0.0.31

type ApplyBlueprintRequest struct {
	// BlueprintKey Optional blueprint identifier that forms part of the blueprint identity.
	BlueprintKey *string `json:"blueprint_key,omitempty"`

	// BlueprintVersion Optional blueprint version recorded as provenance.
	BlueprintVersion *string `json:"blueprint_version,omitempty"`

	// Mode `apply` performs the change; `preview` validates and returns a plan without mutating resources.
	Mode *BlueprintApplyMode `json:"mode,omitempty"`

	// Namespace Optional namespace that forms part of the blueprint identity.
	Namespace *string `json:"namespace,omitempty"`

	// ProtectResources When set, controls whether ordinary update and delete operations may change resources managed by this blueprint. Blueprint Apply and blueprint deletion remain allowed. Omit to preserve protection on existing bindings; new bindings default to unprotected.
	ProtectResources *bool `json:"protect_resources,omitempty"`

	// Resources The desired resources grouped by type. All groups are optional.
	Resources BlueprintResources `json:"resources"`
}

ApplyBlueprintRequest A desired blueprint plus the apply mode.

type ApplyBlueprintResponse added in v0.0.31

type ApplyBlueprintResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BlueprintApplyResult
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *ErrorResponse
	JSON409      *ErrorResponse
	JSON429      *TooManyRequests
}

func ParseApplyBlueprintResponse added in v0.0.31

func ParseApplyBlueprintResponse(rsp *http.Response) (*ApplyBlueprintResponse, error)

ParseApplyBlueprintResponse parses an HTTP response from a ApplyBlueprintWithResponse call

func (ApplyBlueprintResponse) ContentType added in v0.0.31

func (r ApplyBlueprintResponse) ContentType() string

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

func (ApplyBlueprintResponse) Status added in v0.0.31

func (r ApplyBlueprintResponse) Status() string

Status returns HTTPResponse.Status

func (ApplyBlueprintResponse) StatusCode added in v0.0.31

func (r ApplyBlueprintResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Artifact added in v0.0.19

type Artifact struct {
	// CreatedAt Time the artifact metadata was created.
	CreatedAt time.Time `json:"created_at"`

	// CreatedBy Principal ID of the actor who created this artifact. Empty for system-initiated writes.
	CreatedBy *string `json:"created_by,omitempty"`

	// Id Unique artifact identifier.
	Id string `json:"id"`

	// Metadata Caller-supplied artifact metadata. Mobius-owned storage metadata is not exposed.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// MimeType MIME type recorded for the artifact content.
	MimeType string `json:"mime_type"`

	// Name Display name or relative virtual path. Forward slash may be used to organize artifacts inside private or shared project space.
	Name string `json:"name"`

	// RunId Loop run that produced this artifact, derived from the trusted worker lease when present.
	RunId *string `json:"run_id,omitempty"`

	// Sha256 SHA-256 digest of the artifact content, when available.
	Sha256 *string `json:"sha256,omitempty"`

	// SizeBytes Artifact content size in bytes.
	SizeBytes int64 `json:"size_bytes"`

	// StepId Loop step that produced this artifact, derived from the trusted worker lease when present.
	StepId *string `json:"step_id,omitempty"`

	// UpdatedAt Time the artifact metadata was last updated.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`

	// UpdatedBy Principal ID of the actor who last updated this artifact. Empty for system-initiated writes.
	UpdatedBy *string `json:"updated_by,omitempty"`

	// Visibility Private artifacts are visible only to their owner user. Shared artifacts are visible to the project.
	Visibility ArtifactVisibility `json:"visibility"`
}

Artifact Stored file or generated artifact metadata.

type ArtifactCreatedPayload added in v0.0.29

type ArtifactCreatedPayload struct {
	ArtifactId           *string                `json:"artifact_id,omitempty"`
	ContentType          *string                `json:"content_type,omitempty"`
	Name                 *string                `json:"name,omitempty"`
	Step                 *string                `json:"step,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

ArtifactCreatedPayload defines model for ArtifactCreatedPayload.

func (ArtifactCreatedPayload) Get added in v0.0.29

func (a ArtifactCreatedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ArtifactCreatedPayload. Returns the specified element and whether it was found

func (ArtifactCreatedPayload) MarshalJSON added in v0.0.29

func (a ArtifactCreatedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for ArtifactCreatedPayload to handle AdditionalProperties

func (*ArtifactCreatedPayload) Set added in v0.0.29

func (a *ArtifactCreatedPayload) Set(fieldName string, value interface{})

Setter for additional properties for ArtifactCreatedPayload

func (*ArtifactCreatedPayload) UnmarshalJSON added in v0.0.29

func (a *ArtifactCreatedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for ArtifactCreatedPayload to handle AdditionalProperties

type ArtifactIdParam added in v0.0.19

type ArtifactIdParam = string

ArtifactIdParam defines model for ArtifactIdParam.

type ArtifactListResponse added in v0.0.19

type ArtifactListResponse struct {
	// HasMore Whether another page is available.
	HasMore bool `json:"has_more"`

	// Items Artifacts in the current page.
	Items []Artifact `json:"items"`

	// NextCursor Cursor to pass on the next request when `has_more` is true.
	NextCursor *string `json:"next_cursor,omitempty"`
}

ArtifactListResponse defines model for ArtifactListResponse.

type ArtifactQuotaUsage added in v0.0.19

type ArtifactQuotaUsage struct {
	// ArtifactCount Number of artifacts currently counted.
	ArtifactCount int64 `json:"artifact_count"`

	// GeneratedAt Time this quota snapshot was generated.
	GeneratedAt time.Time `json:"generated_at"`

	// LimitBytes Maximum bytes allowed for artifacts.
	LimitBytes int64 `json:"limit_bytes"`

	// PendingCount Number of artifacts waiting for content upload.
	PendingCount int64 `json:"pending_count"`

	// UsedBytes Bytes currently counted toward the artifact quota.
	UsedBytes int64 `json:"used_bytes"`
}

ArtifactQuotaUsage Current artifact storage usage and quota snapshot.

type ArtifactSignedUrl added in v0.0.22

type ArtifactSignedUrl struct {
	// ExpiresAt Time when the signed URL expires.
	ExpiresAt time.Time `json:"expires_at"`

	// Method HTTP method to use with `url`; currently `GET`.
	Method ArtifactSignedUrlMethod `json:"method"`

	// Url Signed URL to call before `expires_at`.
	Url string `json:"url"`
}

ArtifactSignedUrl Short-lived URL for downloading artifact content.

type ArtifactSignedUrlMethod added in v0.0.22

type ArtifactSignedUrlMethod string

ArtifactSignedUrlMethod HTTP method to use with `url`; currently `GET`.

const (
	ArtifactSignedUrlMethodGET ArtifactSignedUrlMethod = "GET"
)

Defines values for ArtifactSignedUrlMethod.

func (ArtifactSignedUrlMethod) Valid added in v0.0.22

func (e ArtifactSignedUrlMethod) Valid() bool

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

type ArtifactVisibility added in v0.0.22

type ArtifactVisibility string

ArtifactVisibility Private artifacts are visible only to their owner user. Shared artifacts are visible to the project.

const (
	ArtifactVisibilityPrivate ArtifactVisibility = "private"
	ArtifactVisibilityShared  ArtifactVisibility = "shared"
)

Defines values for ArtifactVisibility.

func (ArtifactVisibility) Valid added in v0.0.22

func (e ArtifactVisibility) Valid() bool

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

type BadRequest

type BadRequest = ErrorResponse

BadRequest Standard error envelope returned by API endpoints.

type BeforeSequenceParam added in v0.0.29

type BeforeSequenceParam = int64

BeforeSequenceParam defines model for BeforeSequenceParam.

type BlueprintActionAnnotations added in v0.0.31

type BlueprintActionAnnotations struct {
	Destructive *bool `json:"destructive,omitempty"`
	Idempotent  *bool `json:"idempotent,omitempty"`
	LongRunning *bool `json:"long_running,omitempty"`
	ReadOnly    *bool `json:"read_only,omitempty"`
}

BlueprintActionAnnotations Behavioral annotations describing how an action may be used.

type BlueprintActionInput added in v0.0.31

type BlueprintActionInput struct {
	// Annotations Behavioral annotations describing how an action may be used.
	Annotations *BlueprintActionAnnotations `json:"annotations,omitempty"`
	Description *string                     `json:"description,omitempty"`

	// Endpoint Endpoint URL for http actions.
	Endpoint    *string                 `json:"endpoint,omitempty"`
	InputSchema *map[string]interface{} `json:"input_schema,omitempty"`

	// Key Blueprint-defined handle other resources use to reference it.
	Key          string                  `json:"key"`
	Name         string                  `json:"name"`
	OutputSchema *map[string]interface{} `json:"output_schema,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags  *TagMap `json:"tags,omitempty"`
	Title *string `json:"title,omitempty"`

	// Type Endpoint kind. Defaults to `http`. Immutable after create.
	Type *BlueprintActionInputType `json:"type,omitempty"`
}

BlueprintActionInput A desired action. `name` is its immutable project-unique identity.

type BlueprintActionInputType added in v0.0.31

type BlueprintActionInputType string

BlueprintActionInputType Endpoint kind. Defaults to `http`. Immutable after create.

const (
	BlueprintActionInputTypeHttp   BlueprintActionInputType = "http"
	BlueprintActionInputTypeWorker BlueprintActionInputType = "worker"
)

Defines values for BlueprintActionInputType.

func (BlueprintActionInputType) Valid added in v0.0.31

func (e BlueprintActionInputType) Valid() bool

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

type BlueprintAgentInput added in v0.0.31

type BlueprintAgentInput struct {
	Color *string `json:"color,omitempty"`

	// CompactionPolicy Controls how a session's transcript is automatically summarized as it grows. On create the supplied fields are merged over the owning agent's default policy and the server defaults; on update they patch the session's current policy. Omitted fields keep their resolved values.
	CompactionPolicy *SessionCompactionPolicy `json:"compaction_policy,omitempty"`
	Description      *string                  `json:"description,omitempty"`
	Key              string                   `json:"key"`
	Model            *string                  `json:"model,omitempty"`

	// ModelRoute Default model route used by built-in messaging and by loop agent steps that do not override the route.
	ModelRoute *AgentModelRoute        `json:"model_route,omitempty"`
	Name       string                  `json:"name"`
	Skills     *[]BlueprintResourceRef `json:"skills,omitempty"`

	// Status Administrative status. Inactive agents cannot claim new jobs. Deleted agents are excluded from normal reads.
	Status       *AgentStatus `json:"status,omitempty"`
	SystemPrompt *string      `json:"system_prompt,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// ThinkingEffort Reasoning-effort level for a turn, lowest (`low`) to highest (`max`). Higher effort spends more tokens on reasoning, improving quality on hard tasks at the cost of latency and credits. Levels above what the resolved model supports are clamped down. Set on an agent it is the default; set on a session or loop step it overrides the agent default. `inherit` (or omitting the field) defers to the layer below — the agent default for a session/step, or the provider's own default when nothing sets a level.
	ThinkingEffort *ThinkingEffort `json:"thinking_effort,omitempty"`

	// TimeoutSeconds Per-turn execution timeout; `0` uses the platform default.
	TimeoutSeconds *int64 `json:"timeout_seconds,omitempty"`

	// ToolPresentation Controls how granted actions are surfaced to the model in Mobius-hosted agent turns. `meta` (the default) groups related actions behind compact command routers, while `flat` exposes one tool per action.
	ToolPresentation *AgentToolPresentation  `json:"tool_presentation,omitempty"`
	Toolkits         *[]BlueprintResourceRef `json:"toolkits,omitempty"`
}

BlueprintAgentInput A desired agent. `toolkits` and `skills`, when present, replace the agent's full assignment set; omit them to leave existing assignments untouched.

type BlueprintApplyMode added in v0.0.31

type BlueprintApplyMode string

BlueprintApplyMode `apply` performs the change; `preview` validates and returns a plan without mutating resources.

const (
	BlueprintApplyModeApply   BlueprintApplyMode = "apply"
	BlueprintApplyModePreview BlueprintApplyMode = "preview"
)

Defines values for BlueprintApplyMode.

func (BlueprintApplyMode) Valid added in v0.0.31

func (e BlueprintApplyMode) Valid() bool

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

type BlueprintApplyResult added in v0.0.31

type BlueprintApplyResult struct {
	Bindings         []BlueprintBinding `json:"bindings"`
	BlueprintKey     *string            `json:"blueprint_key,omitempty"`
	BlueprintVersion *string            `json:"blueprint_version,omitempty"`
	Changes          []BlueprintChange  `json:"changes"`
	Namespace        *string            `json:"namespace,omitempty"`

	// Status `applied` for a mutating apply, `previewed` for a preview.
	Status BlueprintApplyResultStatus `json:"status"`
}

BlueprintApplyResult The outcome of an apply or preview.

type BlueprintApplyResultStatus added in v0.0.31

type BlueprintApplyResultStatus string

BlueprintApplyResultStatus `applied` for a mutating apply, `previewed` for a preview.

const (
	BlueprintApplyResultStatusApplied   BlueprintApplyResultStatus = "applied"
	BlueprintApplyResultStatusPreviewed BlueprintApplyResultStatus = "previewed"
)

Defines values for BlueprintApplyResultStatus.

func (BlueprintApplyResultStatus) Valid added in v0.0.31

func (e BlueprintApplyResultStatus) Valid() bool

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

type BlueprintBinding added in v0.0.31

type BlueprintBinding struct {
	BlueprintKey     *string `json:"blueprint_key,omitempty"`
	BlueprintVersion *string `json:"blueprint_version,omitempty"`

	// DeleteOnDestroy Whether deleting the blueprint will delete this resource instead of retaining it.
	DeleteOnDestroy bool    `json:"delete_on_destroy"`
	Key             string  `json:"key"`
	Namespace       *string `json:"namespace,omitempty"`

	// Protected Whether ordinary definition mutations are blocked.
	Protected  bool   `json:"protected"`
	ResourceId string `json:"resource_id"`

	// ResourceType The kind of Mobius resource a binding or change refers to.
	ResourceType BlueprintResourceType `json:"resource_type"`
}

BlueprintBinding defines model for BlueprintBinding.

type BlueprintBindingListResponse added in v0.0.31

type BlueprintBindingListResponse struct {
	Items []BlueprintBinding `json:"items"`
}

BlueprintBindingListResponse defines model for BlueprintBindingListResponse.

type BlueprintChange added in v0.0.31

type BlueprintChange struct {
	// Action What apply did (or, in preview, would do): `created` a new resource, `updated` a managed one, `adopted` a matching unmanaged one, or left an `unchanged` resource untouched.
	Action BlueprintChangeAction `json:"action"`
	Key    string                `json:"key"`

	// ResourceId The provisioned resource id. Empty for would-create entries in a preview.
	ResourceId *string `json:"resource_id,omitempty"`

	// ResourceType The kind of Mobius resource a binding or change refers to.
	ResourceType BlueprintResourceType `json:"resource_type"`
}

BlueprintChange defines model for BlueprintChange.

type BlueprintChangeAction added in v0.0.31

type BlueprintChangeAction string

BlueprintChangeAction What apply did (or, in preview, would do): `created` a new resource, `updated` a managed one, `adopted` a matching unmanaged one, or left an `unchanged` resource untouched.

const (
	BlueprintChangeActionAdopted   BlueprintChangeAction = "adopted"
	BlueprintChangeActionCreated   BlueprintChangeAction = "created"
	BlueprintChangeActionUnchanged BlueprintChangeAction = "unchanged"
	BlueprintChangeActionUpdated   BlueprintChangeAction = "updated"
)

Defines values for BlueprintChangeAction.

func (BlueprintChangeAction) Valid added in v0.0.31

func (e BlueprintChangeAction) Valid() bool

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

type BlueprintDeleteResult added in v0.0.42

type BlueprintDeleteResult struct {
	BlueprintKey string `json:"blueprint_key"`

	// Deleted Resources deleted with the blueprint.
	Deleted   []BlueprintBinding `json:"deleted"`
	Namespace *string            `json:"namespace,omitempty"`

	// Retained Adopted or legacy resources retained after their bindings were removed.
	Retained []BlueprintBinding          `json:"retained"`
	Status   BlueprintDeleteResultStatus `json:"status"`
}

BlueprintDeleteResult defines model for BlueprintDeleteResult.

type BlueprintDeleteResultStatus added in v0.0.42

type BlueprintDeleteResultStatus string

BlueprintDeleteResultStatus defines model for BlueprintDeleteResult.Status.

const (
	BlueprintDeleteResultStatusDeleted BlueprintDeleteResultStatus = "deleted"
)

Defines values for BlueprintDeleteResultStatus.

func (BlueprintDeleteResultStatus) Valid added in v0.0.42

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

type BlueprintLoopInput added in v0.0.31

type BlueprintLoopInput struct {
	// Agent A reference to a Mobius resource by direct `id`, by blueprint `key` (resolved within this apply first, then against existing bindings), or by `blueprint_ref` (resolved by key; its namespace is recorded as provenance and is not used for reference resolution in this version).
	Agent *BlueprintResourceRef `json:"agent,omitempty"`

	// Cleanup Cleanup steps run at the end of the run (maps to the loop spec `cleanup`).
	Cleanup     *[]map[string]interface{} `json:"cleanup,omitempty"`
	Concurrency *string                   `json:"concurrency,omitempty"`
	Config      *map[string]interface{}   `json:"config,omitempty"`

	// DefaultConfig Default config values used when a run starts without overrides.
	DefaultConfig *map[string]interface{} `json:"default_config,omitempty"`
	Defaults      *map[string]interface{} `json:"defaults,omitempty"`
	Description   *string                 `json:"description,omitempty"`

	// Event Declared event input contract for the run (maps to the loop spec `event`).
	Event        *map[string]interface{}   `json:"event,omitempty"`
	Key          string                    `json:"key"`
	Limits       *map[string]interface{}   `json:"limits,omitempty"`
	Name         string                    `json:"name"`
	Output       *map[string]interface{}   `json:"output,omitempty"`
	Repositories *[]map[string]interface{} `json:"repositories,omitempty"`

	// RunName Templates for assigning an operator-facing title and optional description to each run. The object form leaves room for additional naming strategies without changing the loop spec shape.
	RunName *RunNameSpec `json:"run_name,omitempty"`

	// SchemaVersion Loop authoring schema version. Only version 1 is accepted.
	SchemaVersion *BlueprintLoopInputSchemaVersion `json:"schema_version,omitempty"`

	// Settings Free-form Loop-level settings consumed by the engine.
	Settings *map[string]interface{}   `json:"settings,omitempty"`
	Status   *BlueprintLoopInputStatus `json:"status,omitempty"`
	Steps    *[]map[string]interface{} `json:"steps,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags     *TagMap                   `json:"tags,omitempty"`
	Triggers *[]map[string]interface{} `json:"triggers,omitempty"`
}

BlueprintLoopInput A desired loop. The spec-bearing fields (`steps`, `triggers`, `event`, `config`, `limits`, `output`, `concurrency`, `repositories`, `cleanup`, `defaults`, `run_name`) mirror the loop authoring shape and are compiled by the loop engine. Applied loops default to `draft` unless `status` is set. `default_config`, `settings`, and `tags` configure Loop row state.

type BlueprintLoopInputSchemaVersion added in v0.0.42

type BlueprintLoopInputSchemaVersion string

BlueprintLoopInputSchemaVersion Loop authoring schema version. Only version 1 is accepted.

const (
	BlueprintLoopInputSchemaVersionN1 BlueprintLoopInputSchemaVersion = "1"
)

Defines values for BlueprintLoopInputSchemaVersion.

func (BlueprintLoopInputSchemaVersion) Valid added in v0.0.42

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

type BlueprintLoopInputStatus added in v0.0.31

type BlueprintLoopInputStatus string

BlueprintLoopInputStatus defines model for BlueprintLoopInput.Status.

const (
	BlueprintLoopInputStatusActive BlueprintLoopInputStatus = "active"
	BlueprintLoopInputStatusDraft  BlueprintLoopInputStatus = "draft"
	BlueprintLoopInputStatusPaused BlueprintLoopInputStatus = "paused"
)

Defines values for BlueprintLoopInputStatus.

func (BlueprintLoopInputStatus) Valid added in v0.0.31

func (e BlueprintLoopInputStatus) Valid() bool

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

type BlueprintRef added in v0.0.31

type BlueprintRef struct {
	Key       string  `json:"key"`
	Namespace *string `json:"namespace,omitempty"`
}

BlueprintRef A namespaced blueprint key reference.

type BlueprintResourceRef added in v0.0.31

type BlueprintResourceRef struct {
	// BlueprintRef A namespaced blueprint key reference.
	BlueprintRef *BlueprintRef `json:"blueprint_ref,omitempty"`

	// Id Direct resource id.
	Id *string `json:"id,omitempty"`

	// Key Blueprint-defined resource key.
	Key *string `json:"key,omitempty"`
}

BlueprintResourceRef A reference to a Mobius resource by direct `id`, by blueprint `key` (resolved within this apply first, then against existing bindings), or by `blueprint_ref` (resolved by key; its namespace is recorded as provenance and is not used for reference resolution in this version).

type BlueprintResourceType added in v0.0.31

type BlueprintResourceType string

BlueprintResourceType The kind of Mobius resource a binding or change refers to.

const (
	BlueprintResourceTypeAction  BlueprintResourceType = "action"
	BlueprintResourceTypeAgent   BlueprintResourceType = "agent"
	BlueprintResourceTypeLoop    BlueprintResourceType = "loop"
	BlueprintResourceTypeSkill   BlueprintResourceType = "skill"
	BlueprintResourceTypeTable   BlueprintResourceType = "table"
	BlueprintResourceTypeToolkit BlueprintResourceType = "toolkit"
)

Defines values for BlueprintResourceType.

func (BlueprintResourceType) Valid added in v0.0.31

func (e BlueprintResourceType) Valid() bool

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

type BlueprintResources added in v0.0.31

type BlueprintResources struct {
	Actions  *[]BlueprintActionInput  `json:"actions,omitempty"`
	Agents   *[]BlueprintAgentInput   `json:"agents,omitempty"`
	Loops    *[]BlueprintLoopInput    `json:"loops,omitempty"`
	Skills   *[]BlueprintSkillInput   `json:"skills,omitempty"`
	Tables   *[]BlueprintTableInput   `json:"tables,omitempty"`
	Toolkits *[]BlueprintToolkitInput `json:"toolkits,omitempty"`
}

BlueprintResources The desired resources grouped by type. All groups are optional.

type BlueprintSkillInput added in v0.0.31

type BlueprintSkillInput struct {
	// AllowedTools Tool selectors that narrow the agent's effective tool set while this skill is active.
	AllowedTools *[]string `json:"allowed_tools,omitempty"`
	Description  *string   `json:"description,omitempty"`
	Instructions *string   `json:"instructions,omitempty"`
	Key          string    `json:"key"`
	Name         string    `json:"name"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags  *TagMap `json:"tags,omitempty"`
	Title *string `json:"title,omitempty"`
}

BlueprintSkillInput A desired skill.

type BlueprintTableInput added in v0.0.31

type BlueprintTableInput struct {
	Description *string `json:"description,omitempty"`

	// Instructions Optional author guidance for how this table should be used (e.g. surfaced to agents).
	Instructions *string `json:"instructions,omitempty"`

	// Key Blueprint-defined handle other resources use to reference it.
	Key  string `json:"key"`
	Name string `json:"name"`

	// Schema Column definition for a virtual table. Each table has exactly one required string identity column and may nominate one optional string secondary key column.
	Schema TableSchema `json:"schema"`
}

BlueprintTableInput A desired table. `key` is its stable Blueprint handle; `name` is project-unique (lower snake_case) and may be changed after binding. `schema` carries the full column and identity definition and is validated on apply. The identity column and the required-ness of existing columns are immutable after create, so a re-apply that changes them is rejected.

type BlueprintToolkitActionGrant added in v0.0.31

type BlueprintToolkitActionGrant struct {
	// ActionName Legacy alias for an exact action-name selector.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ActionName *string `json:"action_name,omitempty"`

	// Selector Canonical selector value, such as `github.*` or `*`.
	Selector *string `json:"selector,omitempty"`

	// SelectorType Selector type used to resolve matching actions.
	SelectorType *BlueprintToolkitActionGrantSelectorType `json:"selector_type,omitempty"`
}

BlueprintToolkitActionGrant Grants actions into a toolkit using the canonical Toolkit selector vocabulary. Supply `selector`; `selector_type` defaults to `exact`. `action_name` is a backwards-compatible alias for an exact selector and cannot be combined with `selector`.

type BlueprintToolkitActionGrantSelectorType added in v0.0.42

type BlueprintToolkitActionGrantSelectorType string

BlueprintToolkitActionGrantSelectorType Selector type used to resolve matching actions.

const (
	BlueprintToolkitActionGrantSelectorTypeCustom   BlueprintToolkitActionGrantSelectorType = "custom"
	BlueprintToolkitActionGrantSelectorTypeExact    BlueprintToolkitActionGrantSelectorType = "exact"
	BlueprintToolkitActionGrantSelectorTypeGroup    BlueprintToolkitActionGrantSelectorType = "group"
	BlueprintToolkitActionGrantSelectorTypePlatform BlueprintToolkitActionGrantSelectorType = "platform"
	BlueprintToolkitActionGrantSelectorTypeWildcard BlueprintToolkitActionGrantSelectorType = "wildcard"
)

Defines values for BlueprintToolkitActionGrantSelectorType.

func (BlueprintToolkitActionGrantSelectorType) Valid added in v0.0.42

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

type BlueprintToolkitInput added in v0.0.31

type BlueprintToolkitInput struct {
	// Actions Actions granted into the toolkit by canonical selector or legacy exact action name.
	Actions     *[]BlueprintToolkitActionGrant `json:"actions,omitempty"`
	Description *string                        `json:"description,omitempty"`
	Key         string                         `json:"key"`
	Metadata    *map[string]interface{}        `json:"metadata,omitempty"`
	Name        string                         `json:"name"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`
}

BlueprintToolkitInput A desired toolkit. Resolved only through its binding (toolkits have no unique name).

type BudgetExceededPayload added in v0.0.29

type BudgetExceededPayload struct {
	CreditBudget         *float32               `json:"credit_budget,omitempty"`
	CreditSpent          *float32               `json:"credit_spent,omitempty"`
	PercentUsed          *int                   `json:"percent_used,omitempty"`
	Step                 *string                `json:"step,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

BudgetExceededPayload defines model for BudgetExceededPayload.

func (BudgetExceededPayload) Get added in v0.0.29

func (a BudgetExceededPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for BudgetExceededPayload. Returns the specified element and whether it was found

func (BudgetExceededPayload) MarshalJSON added in v0.0.29

func (a BudgetExceededPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for BudgetExceededPayload to handle AdditionalProperties

func (*BudgetExceededPayload) Set added in v0.0.29

func (a *BudgetExceededPayload) Set(fieldName string, value interface{})

Setter for additional properties for BudgetExceededPayload

func (*BudgetExceededPayload) UnmarshalJSON added in v0.0.29

func (a *BudgetExceededPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for BudgetExceededPayload to handle AdditionalProperties

type BulkCreateTableRowsJSONRequestBody added in v0.0.25

type BulkCreateTableRowsJSONRequestBody = BulkInsertRowsRequest

BulkCreateTableRowsJSONRequestBody defines body for BulkCreateTableRows for application/json ContentType.

type BulkCreateTableRowsResponse added in v0.0.25

type BulkCreateTableRowsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *BulkInsertRowsResult
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseBulkCreateTableRowsResponse added in v0.0.25

func ParseBulkCreateTableRowsResponse(rsp *http.Response) (*BulkCreateTableRowsResponse, error)

ParseBulkCreateTableRowsResponse parses an HTTP response from a BulkCreateTableRowsWithResponse call

func (BulkCreateTableRowsResponse) ContentType added in v0.0.25

func (r BulkCreateTableRowsResponse) ContentType() string

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

func (BulkCreateTableRowsResponse) Status added in v0.0.25

Status returns HTTPResponse.Status

func (BulkCreateTableRowsResponse) StatusCode added in v0.0.25

func (r BulkCreateTableRowsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BulkInsertRowsRequest added in v0.0.19

type BulkInsertRowsRequest struct {
	// Rows Row data objects to validate and insert.
	Rows []map[string]interface{} `json:"rows"`
}

BulkInsertRowsRequest defines model for BulkInsertRowsRequest.

type BulkInsertRowsResult added in v0.0.25

type BulkInsertRowsResult struct {
	// Inserted Number of rows inserted.
	Inserted int `json:"inserted"`

	// Items Inserted rows in request order.
	Items []TableRow `json:"items"`
}

BulkInsertRowsResult Result of a successful bulk row insert.

type CancelInteractionJSONRequestBody added in v0.0.19

type CancelInteractionJSONRequestBody = CancelInteractionRequest

CancelInteractionJSONRequestBody defines body for CancelInteraction for application/json ContentType.

type CancelInteractionRequest added in v0.0.19

type CancelInteractionRequest struct {
	// Reason Free-text reason recorded on the interaction.
	Reason *string `json:"reason,omitempty"`
}

CancelInteractionRequest Optional payload accompanying a cancel request. The reason is recorded on the interaction and forwarded in the cancellation signal so loops can route to a fallback.

type CancelInteractionResponse added in v0.0.19

type CancelInteractionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Interaction
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseCancelInteractionResponse added in v0.0.19

func ParseCancelInteractionResponse(rsp *http.Response) (*CancelInteractionResponse, error)

ParseCancelInteractionResponse parses an HTTP response from a CancelInteractionWithResponse call

func (CancelInteractionResponse) ContentType added in v0.0.21

func (r CancelInteractionResponse) ContentType() string

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

func (CancelInteractionResponse) Status added in v0.0.19

func (r CancelInteractionResponse) Status() string

Status returns HTTPResponse.Status

func (CancelInteractionResponse) StatusCode added in v0.0.19

func (r CancelInteractionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CancelLoopRunRequest added in v0.0.24

type CancelLoopRunRequest struct {
	// Reason Human-readable cancellation reason recorded on the run.
	Reason *string `json:"reason,omitempty"`
}

CancelLoopRunRequest Body for the cancellation endpoint. All fields optional.

type CancelNudgeResponse added in v0.0.42

type CancelNudgeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SessionNudge
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
}

func ParseCancelNudgeResponse added in v0.0.42

func ParseCancelNudgeResponse(rsp *http.Response) (*CancelNudgeResponse, error)

ParseCancelNudgeResponse parses an HTTP response from a CancelNudgeWithResponse call

func (CancelNudgeResponse) ContentType added in v0.0.42

func (r CancelNudgeResponse) ContentType() string

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

func (CancelNudgeResponse) Status added in v0.0.42

func (r CancelNudgeResponse) Status() string

Status returns HTTPResponse.Status

func (CancelNudgeResponse) StatusCode added in v0.0.42

func (r CancelNudgeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CancelRunJSONRequestBody added in v0.0.23

type CancelRunJSONRequestBody = CancelLoopRunRequest

CancelRunJSONRequestBody defines body for CancelRun for application/json ContentType.

type CancelRunResponse

type CancelRunResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LoopRun
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseCancelRunResponse

func ParseCancelRunResponse(rsp *http.Response) (*CancelRunResponse, error)

ParseCancelRunResponse parses an HTTP response from a CancelRunWithResponse call

func (CancelRunResponse) ContentType added in v0.0.21

func (r CancelRunResponse) ContentType() string

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

func (CancelRunResponse) Status

func (r CancelRunResponse) Status() string

Status returns HTTPResponse.Status

func (CancelRunResponse) StatusCode

func (r CancelRunResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CancelSessionParams added in v0.0.41

type CancelSessionParams struct {
	// Force When true, also cancel loop-owned turns to unlock a wedged session. Use only for recovery; the owning run may be left inconsistent.
	Force *bool `form:"force,omitempty" json:"force,omitempty"`
}

CancelSessionParams defines parameters for CancelSession.

type CancelSessionResponse added in v0.0.26

type CancelSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Session
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseCancelSessionResponse added in v0.0.26

func ParseCancelSessionResponse(rsp *http.Response) (*CancelSessionResponse, error)

ParseCancelSessionResponse parses an HTTP response from a CancelSessionWithResponse call

func (CancelSessionResponse) ContentType added in v0.0.26

func (r CancelSessionResponse) ContentType() string

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

func (CancelSessionResponse) Status added in v0.0.26

func (r CancelSessionResponse) Status() string

Status returns HTTPResponse.Status

func (CancelSessionResponse) StatusCode added in v0.0.26

func (r CancelSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CancelTurnResponse added in v0.0.29

type CancelTurnResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AgentTurn
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *ErrorResponse
}

func ParseCancelTurnResponse added in v0.0.29

func ParseCancelTurnResponse(rsp *http.Response) (*CancelTurnResponse, error)

ParseCancelTurnResponse parses an HTTP response from a CancelTurnWithResponse call

func (CancelTurnResponse) ContentType added in v0.0.29

func (r CancelTurnResponse) ContentType() string

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

func (CancelTurnResponse) Status added in v0.0.29

func (r CancelTurnResponse) Status() string

Status returns HTTPResponse.Status

func (CancelTurnResponse) StatusCode added in v0.0.29

func (r CancelTurnResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CapabilityReadiness added in v0.0.22

type CapabilityReadiness string

CapabilityReadiness Whether a catalog capability — an action, an event source, or an integration provider — is usable right now. `ready` means it can be used as-is; `needs_setup` means it is known and supported but blocked by configuration, credentials, permissions, provider runtime availability, or implementation status. This is catalog *readiness*, and is deliberately separate from a resource's lifecycle state (such as integration `status` or artifact lifecycle).

const (
	CapabilityReadinessNeedsSetup CapabilityReadiness = "needs_setup"
	CapabilityReadinessReady      CapabilityReadiness = "ready"
)

Defines values for CapabilityReadiness.

func (CapabilityReadiness) Valid added in v0.0.22

func (e CapabilityReadiness) Valid() bool

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

type CapabilityReadinessReason added in v0.0.22

type CapabilityReadinessReason string

CapabilityReadinessReason Why a capability is `needs_setup`. Present only when readiness is `needs_setup`. `not_configured` — no integration or credential is connected yet. `inactive` — the backing integration is manually disabled. `expired` — the backing credential has expired. `provider_unavailable` — the provider runtime is not currently available. `permission_missing` — the caller lacks permission to use it. `not_implemented` — a placeholder for a capability that is not yet available.

const (
	CapabilityReadinessReasonExpired             CapabilityReadinessReason = "expired"
	CapabilityReadinessReasonInactive            CapabilityReadinessReason = "inactive"
	CapabilityReadinessReasonNotConfigured       CapabilityReadinessReason = "not_configured"
	CapabilityReadinessReasonNotImplemented      CapabilityReadinessReason = "not_implemented"
	CapabilityReadinessReasonPermissionMissing   CapabilityReadinessReason = "permission_missing"
	CapabilityReadinessReasonProviderUnavailable CapabilityReadinessReason = "provider_unavailable"
)

Defines values for CapabilityReadinessReason.

func (CapabilityReadinessReason) Valid added in v0.0.22

func (e CapabilityReadinessReason) Valid() bool

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

type ChannelContext added in v0.0.29

type ChannelContext struct {
	// ChannelId Provider channel or chat identifier.
	ChannelId *string `json:"channel_id,omitempty"`

	// Provider Messaging provider, e.g. `slack` or `telegram`.
	Provider *string `json:"provider,omitempty"`

	// ThreadId Provider thread identifier within the channel.
	ThreadId *string `json:"thread_id,omitempty"`

	// WorkspaceId Provider workspace/team identifier.
	WorkspaceId *string `json:"workspace_id,omitempty"`
}

ChannelContext Optional messaging provider/channel routing context (Slack, Telegram, …). Persisted on the started turn's input-message metadata under a `channel_context` key so chat history and support views can trace a turn back to the provider thread it came from.

type CheckVerdictPayload added in v0.0.29

type CheckVerdictPayload struct {
	Failed               *[]string              `json:"failed,omitempty"`
	OnFail               *string                `json:"on_fail,omitempty"`
	Step                 *string                `json:"step,omitempty"`
	Verdict              *string                `json:"verdict,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

CheckVerdictPayload defines model for CheckVerdictPayload.

func (CheckVerdictPayload) Get added in v0.0.29

func (a CheckVerdictPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for CheckVerdictPayload. Returns the specified element and whether it was found

func (CheckVerdictPayload) MarshalJSON added in v0.0.29

func (a CheckVerdictPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for CheckVerdictPayload to handle AdditionalProperties

func (*CheckVerdictPayload) Set added in v0.0.29

func (a *CheckVerdictPayload) Set(fieldName string, value interface{})

Setter for additional properties for CheckVerdictPayload

func (*CheckVerdictPayload) UnmarshalJSON added in v0.0.29

func (a *CheckVerdictPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for CheckVerdictPayload to handle AdditionalProperties

type Client

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

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

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

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

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

Creates a new Client, with reasonable defaults

func (*Client) ActivateOrganizationActionSecretVersion added in v0.0.54

func (c *Client) ActivateOrganizationActionSecretVersion(ctx context.Context, actionId string, secretVersion int64, body ActivateOrganizationActionSecretVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ActivateOrganizationActionSecretVersionWithBody added in v0.0.54

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

func (*Client) AppendSessionMessages added in v0.0.22

func (c *Client) AppendSessionMessages(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, body AppendSessionMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) AppendSessionMessagesWithBody added in v0.0.22

func (c *Client) AppendSessionMessagesWithBody(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ApplyBlueprint added in v0.0.31

func (c *Client) ApplyBlueprint(ctx context.Context, projectHandle ProjectHandleParam, body ApplyBlueprintJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ApplyBlueprintWithBody added in v0.0.31

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

func (*Client) BulkCreateTableRows added in v0.0.25

func (c *Client) BulkCreateTableRows(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body BulkCreateTableRowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BulkCreateTableRowsWithBody added in v0.0.25

func (c *Client) BulkCreateTableRowsWithBody(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CancelInteraction added in v0.0.19

func (c *Client) CancelInteraction(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body CancelInteractionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CancelInteractionWithBody added in v0.0.19

func (c *Client) CancelInteractionWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CancelNudge added in v0.0.42

func (c *Client) CancelNudge(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, nudgeId NudgeIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CancelRun

func (c *Client) CancelRun(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body CancelRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CancelRunWithBody added in v0.0.23

func (c *Client) CancelRunWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CancelSession added in v0.0.26

func (c *Client) CancelSession(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *CancelSessionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CancelTurn added in v0.0.29

func (c *Client) CancelTurn(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, turnId TurnIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CompactSession added in v0.0.29

func (c *Client) CompactSession(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAPIKey

func (c *Client) CreateAPIKey(ctx context.Context, projectHandle ProjectHandleParam, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAPIKeyWithBody

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

func (*Client) CreateAction

func (c *Client) CreateAction(ctx context.Context, projectHandle ProjectHandleParam, body CreateActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateActionWithBody

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

func (*Client) CreateAgent added in v0.0.3

func (c *Client) CreateAgent(ctx context.Context, projectHandle ProjectHandleParam, body CreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAgentWithBody added in v0.0.3

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

func (*Client) CreateArtifactSignedUrl added in v0.0.22

func (c *Client) CreateArtifactSignedUrl(ctx context.Context, projectHandle ProjectHandleParam, artifactId ArtifactIdParam, params *CreateArtifactSignedUrlParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateArtifactWithBody added in v0.0.22

func (c *Client) CreateArtifactWithBody(ctx context.Context, projectHandle ProjectHandleParam, params *CreateArtifactParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateEnvironment added in v0.0.21

func (c *Client) CreateEnvironment(ctx context.Context, projectHandle ProjectHandleParam, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateEnvironmentWithBody added in v0.0.21

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

func (*Client) CreateInteraction

func (c *Client) CreateInteraction(ctx context.Context, projectHandle ProjectHandleParam, body CreateInteractionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateInteractionWithBody

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

func (*Client) CreateLoop added in v0.0.24

func (c *Client) CreateLoop(ctx context.Context, projectHandle ProjectHandleParam, body CreateLoopJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateLoopWithBody added in v0.0.24

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

func (*Client) CreateOrgAPIKey added in v0.0.36

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

func (*Client) CreateOrgAPIKeyWithBody added in v0.0.36

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

func (*Client) CreateOrganizationAction added in v0.0.54

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

func (*Client) CreateOrganizationActionWithBody added in v0.0.54

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

func (*Client) CreateOrganizationSkill added in v0.0.54

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

func (*Client) CreateOrganizationSkillWithBody added in v0.0.54

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

func (*Client) CreatePrincipal added in v0.0.22

func (c *Client) CreatePrincipal(ctx context.Context, projectHandle ProjectHandleParam, body CreatePrincipalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePrincipalWithBody added in v0.0.22

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

func (*Client) CreateProject added in v0.0.3

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

func (*Client) CreateProjectWithBody added in v0.0.3

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

func (*Client) CreateRole

func (c *Client) CreateRole(ctx context.Context, projectHandle ProjectHandleParam, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateRoleAssignment

func (c *Client) CreateRoleAssignment(ctx context.Context, projectHandle ProjectHandleParam, body CreateRoleAssignmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateRoleAssignmentWithBody

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

func (*Client) CreateRoleWithBody

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

func (*Client) CreateSession added in v0.0.26

func (c *Client) CreateSession(ctx context.Context, projectHandle ProjectHandleParam, body CreateSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSessionWithBody added in v0.0.26

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

func (*Client) CreateSkill added in v0.0.21

func (c *Client) CreateSkill(ctx context.Context, projectHandle ProjectHandleParam, body CreateSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSkillWithBody added in v0.0.21

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

func (*Client) CreateTable added in v0.0.20

func (c *Client) CreateTable(ctx context.Context, projectHandle ProjectHandleParam, body CreateTableJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateTableRow added in v0.0.25

func (c *Client) CreateTableRow(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body CreateTableRowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateTableRowWithBody added in v0.0.25

func (c *Client) CreateTableRowWithBody(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateTableWithBody added in v0.0.20

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

func (*Client) CreateToolkit added in v0.0.21

func (c *Client) CreateToolkit(ctx context.Context, projectHandle ProjectHandleParam, body CreateToolkitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateToolkitWithBody added in v0.0.21

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

func (*Client) CreateWebhook

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

func (*Client) CreateWebhookWithBody

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

func (*Client) DeleteAPIKey added in v0.0.25

func (c *Client) DeleteAPIKey(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAction

func (c *Client) DeleteAction(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAgent added in v0.0.3

func (c *Client) DeleteAgent(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAgentMemoryEntry added in v0.0.29

func (c *Client) DeleteAgentMemoryEntry(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, memoryKey MemoryKeyParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAgentMessagingBinding added in v0.0.22

func (c *Client) DeleteAgentMessagingBinding(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, bindingId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteArtifact added in v0.0.19

func (c *Client) DeleteArtifact(ctx context.Context, projectHandle ProjectHandleParam, artifactId ArtifactIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteBlueprint added in v0.0.42

func (c *Client) DeleteBlueprint(ctx context.Context, projectHandle ProjectHandleParam, blueprintKey string, params *DeleteBlueprintParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteInteraction added in v0.0.21

func (c *Client) DeleteInteraction(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteLoop added in v0.0.24

func (c *Client) DeleteLoop(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteOrgAPIKey added in v0.0.36

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

func (*Client) DeleteOrganizationAction added in v0.0.54

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

func (*Client) DeleteOrganizationSkill added in v0.0.54

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

func (*Client) DeletePrincipal added in v0.0.22

func (c *Client) DeletePrincipal(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteProject added in v0.0.3

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

func (*Client) DeleteRole

func (c *Client) DeleteRole(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteRoleAssignment

func (c *Client) DeleteRoleAssignment(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteSession added in v0.0.26

func (c *Client) DeleteSession(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteSkill added in v0.0.21

func (c *Client) DeleteSkill(ctx context.Context, projectHandle ProjectHandleParam, skillId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteTable added in v0.0.20

func (c *Client) DeleteTable(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteTableRow added in v0.0.20

func (c *Client) DeleteTableRow(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteToolkit added in v0.0.21

func (c *Client) DeleteToolkit(ctx context.Context, projectHandle ProjectHandleParam, toolkitId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteWebhook

func (c *Client) DeleteWebhook(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeliverHTTPTrigger added in v0.0.22

func (c *Client) DeliverHTTPTrigger(ctx context.Context, httpHandle string, params *DeliverHTTPTriggerParams, body DeliverHTTPTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeliverHTTPTriggerWithBody added in v0.0.22

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

func (*Client) DestroyEnvironment added in v0.0.21

func (c *Client) DestroyEnvironment(ctx context.Context, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAPIKey

func (c *Client) GetAPIKey(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAgent added in v0.0.3

func (c *Client) GetAgent(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAgentMemory added in v0.0.29

func (c *Client) GetAgentMemory(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAgentTools added in v0.0.23

func (c *Client) GetAgentTools(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *GetAgentToolsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetArtifact added in v0.0.19

func (c *Client) GetArtifact(ctx context.Context, projectHandle ProjectHandleParam, artifactId ArtifactIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetArtifactContent added in v0.0.19

func (c *Client) GetArtifactContent(ctx context.Context, projectHandle ProjectHandleParam, artifactId ArtifactIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetArtifactStorageQuota added in v0.0.19

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

func (*Client) GetCatalogAction

func (c *Client) GetCatalogAction(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDefinitionResolver added in v0.0.38

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

func (*Client) GetEnvironment added in v0.0.21

func (c *Client) GetEnvironment(ctx context.Context, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetInteraction

func (c *Client) GetInteraction(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLoop added in v0.0.24

func (c *Client) GetLoop(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetOAuthReturnOrigins added in v0.0.55

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

func (*Client) GetOrgAPIKey added in v0.0.36

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

func (*Client) GetOrganizationAction added in v0.0.54

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

func (*Client) GetOrganizationSkill added in v0.0.54

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

func (*Client) GetOrganizationSkillUsage added in v0.0.54

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

func (*Client) GetPrincipal added in v0.0.22

func (c *Client) GetPrincipal(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetProject added in v0.0.3

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

func (*Client) GetProjectCapabilities added in v0.0.37

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

func (*Client) GetRole

func (c *Client) GetRole(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetRun

func (c *Client) GetRun(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSession added in v0.0.26

func (c *Client) GetSession(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSessionNudge added in v0.0.42

func (c *Client) GetSessionNudge(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, nudgeId NudgeIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSessionTranscript added in v0.0.43

func (c *Client) GetSessionTranscript(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *GetSessionTranscriptParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSessionTurn added in v0.0.29

func (c *Client) GetSessionTurn(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, turnId TurnIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSessionTurnLive added in v0.0.29

func (c *Client) GetSessionTurnLive(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, turnId TurnIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetSkill added in v0.0.21

func (c *Client) GetSkill(ctx context.Context, projectHandle ProjectHandleParam, skillId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTable added in v0.0.20

func (c *Client) GetTable(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTableRow added in v0.0.20

func (c *Client) GetTableRow(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTableStats added in v0.0.20

func (c *Client) GetTableStats(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetToolkit added in v0.0.21

func (c *Client) GetToolkit(ctx context.Context, projectHandle ProjectHandleParam, toolkitId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWebhook

func (c *Client) GetWebhook(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ImportOrganizationSkill added in v0.0.54

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

func (*Client) ImportOrganizationSkillWithBody added in v0.0.54

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

func (*Client) ImportSkill added in v0.0.21

func (c *Client) ImportSkill(ctx context.Context, projectHandle ProjectHandleParam, body ImportSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ImportSkillWithBody added in v0.0.21

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

func (*Client) InvokeAction added in v0.0.19

func (c *Client) InvokeAction(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, body InvokeActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) InvokeActionWithBody added in v0.0.19

func (c *Client) InvokeActionWithBody(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) InvokeAgent added in v0.0.29

func (c *Client) InvokeAgent(ctx context.Context, projectHandle ProjectHandleParam, body InvokeAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) InvokeAgentWithBody added in v0.0.29

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

func (*Client) ListAPIKeys

func (c *Client) ListAPIKeys(ctx context.Context, projectHandle ProjectHandleParam, params *ListAPIKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListActionInvocations added in v0.0.19

func (c *Client) ListActionInvocations(ctx context.Context, projectHandle ProjectHandleParam, params *ListActionInvocationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListAgentMemoryChanges added in v0.0.53

func (c *Client) ListAgentMemoryChanges(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *ListAgentMemoryChangesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListAgentMemoryEntries added in v0.0.29

func (c *Client) ListAgentMemoryEntries(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *ListAgentMemoryEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListAgentMessagingBindings added in v0.0.22

func (c *Client) ListAgentMessagingBindings(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListAgentSkillAssignments added in v0.0.25

func (c *Client) ListAgentSkillAssignments(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListAgentToolkitAssignments added in v0.0.25

func (c *Client) ListAgentToolkitAssignments(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListAgents added in v0.0.3

func (c *Client) ListAgents(ctx context.Context, projectHandle ProjectHandleParam, params *ListAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListArtifacts added in v0.0.22

func (c *Client) ListArtifacts(ctx context.Context, projectHandle ProjectHandleParam, params *ListArtifactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListBlueprintBindings added in v0.0.31

func (c *Client) ListBlueprintBindings(ctx context.Context, projectHandle ProjectHandleParam, params *ListBlueprintBindingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListCatalogActions

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

func (*Client) ListCatalogEvents added in v0.0.22

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

func (*Client) ListCatalogModels added in v0.0.23

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

func (*Client) ListCatalogWorkerModels added in v0.0.29

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

func (*Client) ListEnvironments added in v0.0.21

func (c *Client) ListEnvironments(ctx context.Context, projectHandle ProjectHandleParam, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListInteractions

func (c *Client) ListInteractions(ctx context.Context, projectHandle ProjectHandleParam, params *ListInteractionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListLoops added in v0.0.24

func (c *Client) ListLoops(ctx context.Context, projectHandle ProjectHandleParam, params *ListLoopsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListOrgAPIKeys added in v0.0.36

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

func (*Client) ListOrganizationActions added in v0.0.54

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

func (*Client) ListOrganizationSkills added in v0.0.54

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

func (*Client) ListPrincipals added in v0.0.22

func (c *Client) ListPrincipals(ctx context.Context, projectHandle ProjectHandleParam, params *ListPrincipalsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListProjectPermissions added in v0.0.21

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

func (*Client) ListProjects added in v0.0.3

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

func (*Client) ListRoleAssignments

func (c *Client) ListRoleAssignments(ctx context.Context, projectHandle ProjectHandleParam, params *ListRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListRoles

func (c *Client) ListRoles(ctx context.Context, projectHandle ProjectHandleParam, params *ListRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListRunEvents added in v0.0.23

func (c *Client) ListRunEvents(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *ListRunEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListRunSteps added in v0.0.15

func (c *Client) ListRunSteps(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListRuns

func (c *Client) ListRuns(ctx context.Context, projectHandle ProjectHandleParam, params *ListRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSessionMessages added in v0.0.22

func (c *Client) ListSessionMessages(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *ListSessionMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSessionNudges added in v0.0.42

func (c *Client) ListSessionNudges(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *ListSessionNudgesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSessionTurns added in v0.0.24

func (c *Client) ListSessionTurns(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *ListSessionTurnsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSessions added in v0.0.26

func (c *Client) ListSessions(ctx context.Context, projectHandle ProjectHandleParam, params *ListSessionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSkills added in v0.0.21

func (c *Client) ListSkills(ctx context.Context, projectHandle ProjectHandleParam, params *ListSkillsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListTables added in v0.0.20

func (c *Client) ListTables(ctx context.Context, projectHandle ProjectHandleParam, params *ListTablesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListToolkits added in v0.0.21

func (c *Client) ListToolkits(ctx context.Context, projectHandle ProjectHandleParam, params *ListToolkitsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListTurnMessages added in v0.0.24

func (c *Client) ListTurnMessages(ctx context.Context, projectHandle ProjectHandleParam, turnId TurnIdParam, params *ListTurnMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListWebhookDeliveries added in v0.0.3

func (c *Client) ListWebhookDeliveries(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *ListWebhookDeliveriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListWebhooks

func (c *Client) ListWebhooks(ctx context.Context, projectHandle ProjectHandleParam, params *ListWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) NudgeSession added in v0.0.42

func (c *Client) NudgeSession(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, body NudgeSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) NudgeSessionWithBody added in v0.0.42

func (c *Client) NudgeSessionWithBody(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) OpenWorkerSocket added in v0.0.22

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

func (*Client) PingWebhook added in v0.0.6

func (c *Client) PingWebhook(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body PingWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PingWebhookWithBody added in v0.0.6

func (c *Client) PingWebhookWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProvisionAgentInbox added in v0.0.19

func (c *Client) ProvisionAgentInbox(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) QueryTableRows added in v0.0.20

func (c *Client) QueryTableRows(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body QueryTableRowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) QueryTableRowsWithBody added in v0.0.20

func (c *Client) QueryTableRowsWithBody(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceAgentSkillAssignments added in v0.0.25

func (c *Client) ReplaceAgentSkillAssignments(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body ReplaceAgentSkillAssignmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceAgentSkillAssignmentsWithBody added in v0.0.25

func (c *Client) ReplaceAgentSkillAssignmentsWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceAgentToolkitAssignments added in v0.0.25

func (c *Client) ReplaceAgentToolkitAssignments(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body ReplaceAgentToolkitAssignmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceAgentToolkitAssignmentsWithBody added in v0.0.25

func (c *Client) ReplaceAgentToolkitAssignmentsWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceDefinitionResolver added in v0.0.38

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

func (*Client) ReplaceDefinitionResolverWithBody added in v0.0.38

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

func (*Client) ReplaceOAuthReturnOrigins added in v0.0.55

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

func (*Client) ReplaceOAuthReturnOriginsWithBody added in v0.0.55

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

func (*Client) ReplaceOrganizationSkill added in v0.0.54

func (c *Client) ReplaceOrganizationSkill(ctx context.Context, skillId string, body ReplaceOrganizationSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplaceOrganizationSkillWithBody added in v0.0.54

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

func (*Client) RespondToInteraction

func (c *Client) RespondToInteraction(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body RespondToInteractionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RespondToInteractionWithBody

func (c *Client) RespondToInteractionWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ResumeRun

func (c *Client) ResumeRun(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body ResumeRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ResumeRunWithBody added in v0.0.41

func (c *Client) ResumeRunWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RetryRun added in v0.0.41

func (c *Client) RetryRun(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body RetryRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RetryRunWithBody added in v0.0.41

func (c *Client) RetryRunWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RevokeOrganizationActionSecretVersion added in v0.0.54

func (c *Client) RevokeOrganizationActionSecretVersion(ctx context.Context, actionId string, secretVersion int64, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RotateActionSecret

func (c *Client) RotateActionSecret(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RotateOrganizationActionSecret added in v0.0.54

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

func (*Client) RotateWebhookSecret added in v0.0.22

func (c *Client) RotateWebhookSecret(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SaveAgentMemoryEntry added in v0.0.36

func (c *Client) SaveAgentMemoryEntry(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, memoryKey MemoryKeyParam, body SaveAgentMemoryEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SaveAgentMemoryEntryWithBody added in v0.0.36

func (c *Client) SaveAgentMemoryEntryWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, memoryKey MemoryKeyParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SaveAgentMessagingBinding added in v0.0.22

func (c *Client) SaveAgentMessagingBinding(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body SaveAgentMessagingBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SaveAgentMessagingBindingWithBody added in v0.0.22

func (c *Client) SaveAgentMessagingBindingWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SearchTableRows added in v0.0.20

func (c *Client) SearchTableRows(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body SearchTableRowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SearchTableRowsWithBody added in v0.0.20

func (c *Client) SearchTableRowsWithBody(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetBlueprintProtection added in v0.0.42

func (c *Client) SetBlueprintProtection(ctx context.Context, projectHandle ProjectHandleParam, blueprintKey string, params *SetBlueprintProtectionParams, body SetBlueprintProtectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetBlueprintProtectionWithBody added in v0.0.42

func (c *Client) SetBlueprintProtectionWithBody(ctx context.Context, projectHandle ProjectHandleParam, blueprintKey string, params *SetBlueprintProtectionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SignalRun added in v0.0.23

func (c *Client) SignalRun(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body SignalRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SignalRunWithBody added in v0.0.23

func (c *Client) SignalRunWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StartRun added in v0.0.3

func (c *Client) StartRun(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body StartRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StartRunWithBody added in v0.0.3

func (c *Client) StartRunWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StartTurn added in v0.0.29

func (c *Client) StartTurn(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, body StartTurnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StartTurnWithBody added in v0.0.29

func (c *Client) StartTurnWithBody(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StreamSession added in v0.0.29

func (c *Client) StreamSession(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *StreamSessionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StreamSessionTranscript added in v0.0.43

func (c *Client) StreamSessionTranscript(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *StreamSessionTranscriptParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateAction

func (c *Client) UpdateAction(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, body UpdateActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateActionWithBody

func (c *Client) UpdateActionWithBody(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateAgent added in v0.0.3

func (c *Client) UpdateAgent(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateAgentWithBody added in v0.0.3

func (c *Client) UpdateAgentWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateEnvironment added in v0.0.21

func (c *Client) UpdateEnvironment(ctx context.Context, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam, body UpdateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateEnvironmentWithBody added in v0.0.21

func (c *Client) UpdateEnvironmentWithBody(ctx context.Context, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateLoop added in v0.0.24

func (c *Client) UpdateLoop(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateLoopJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateLoopWithBody added in v0.0.24

func (c *Client) UpdateLoopWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateOrganizationAction added in v0.0.54

func (c *Client) UpdateOrganizationAction(ctx context.Context, actionId string, body UpdateOrganizationActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateOrganizationActionWithBody added in v0.0.54

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

func (*Client) UpdatePrincipal added in v0.0.22

func (c *Client) UpdatePrincipal(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdatePrincipalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePrincipalWithBody added in v0.0.22

func (c *Client) UpdatePrincipalWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateProject added in v0.0.3

func (c *Client) UpdateProject(ctx context.Context, projectHandle ProjectHandleParam, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateProjectWithBody added in v0.0.3

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

func (*Client) UpdateRole

func (c *Client) UpdateRole(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateRoleWithBody

func (c *Client) UpdateRoleWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSession added in v0.0.26

func (c *Client) UpdateSession(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, body UpdateSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSessionWithBody added in v0.0.26

func (c *Client) UpdateSessionWithBody(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSkill added in v0.0.21

func (c *Client) UpdateSkill(ctx context.Context, projectHandle ProjectHandleParam, skillId string, body UpdateSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSkillWithBody added in v0.0.21

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

func (*Client) UpdateTable added in v0.0.20

func (c *Client) UpdateTable(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body UpdateTableJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTableRow added in v0.0.20

func (c *Client) UpdateTableRow(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string, body UpdateTableRowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTableRowWithBody added in v0.0.20

func (c *Client) UpdateTableRowWithBody(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTableWithBody added in v0.0.20

func (c *Client) UpdateTableWithBody(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateToolkit added in v0.0.21

func (c *Client) UpdateToolkit(ctx context.Context, projectHandle ProjectHandleParam, toolkitId string, body UpdateToolkitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateToolkitWithBody added in v0.0.21

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

func (*Client) UpdateWebhook

func (c *Client) UpdateWebhook(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWebhookWithBody

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

func (*Client) UpsertTableRow added in v0.0.20

func (c *Client) UpsertTableRow(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body UpsertTableRowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpsertTableRowWithBody added in v0.0.20

func (c *Client) UpsertTableRowWithBody(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// ListOrgAPIKeys request
	ListOrgAPIKeys(ctx context.Context, params *ListOrgAPIKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrgAPIKeyWithBody request with any body
	CreateOrgAPIKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateOrgAPIKey(ctx context.Context, body CreateOrgAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOrgAPIKey request
	DeleteOrgAPIKey(ctx context.Context, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrgAPIKey request
	GetOrgAPIKey(ctx context.Context, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListOrganizationActions request
	ListOrganizationActions(ctx context.Context, params *ListOrganizationActionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrganizationActionWithBody request with any body
	CreateOrganizationActionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateOrganizationAction(ctx context.Context, body CreateOrganizationActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOrganizationAction request
	DeleteOrganizationAction(ctx context.Context, actionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrganizationAction request
	GetOrganizationAction(ctx context.Context, actionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateOrganizationActionWithBody request with any body
	UpdateOrganizationActionWithBody(ctx context.Context, actionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateOrganizationAction(ctx context.Context, actionId string, body UpdateOrganizationActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RotateOrganizationActionSecret request
	RotateOrganizationActionSecret(ctx context.Context, actionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ActivateOrganizationActionSecretVersionWithBody request with any body
	ActivateOrganizationActionSecretVersionWithBody(ctx context.Context, actionId string, secretVersion int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ActivateOrganizationActionSecretVersion(ctx context.Context, actionId string, secretVersion int64, body ActivateOrganizationActionSecretVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RevokeOrganizationActionSecretVersion request
	RevokeOrganizationActionSecretVersion(ctx context.Context, actionId string, secretVersion int64, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDefinitionResolver request
	GetDefinitionResolver(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReplaceDefinitionResolverWithBody request with any body
	ReplaceDefinitionResolverWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ReplaceDefinitionResolver(ctx context.Context, body ReplaceDefinitionResolverJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOAuthReturnOrigins request
	GetOAuthReturnOrigins(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReplaceOAuthReturnOriginsWithBody request with any body
	ReplaceOAuthReturnOriginsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ReplaceOAuthReturnOrigins(ctx context.Context, body ReplaceOAuthReturnOriginsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListOrganizationSkills request
	ListOrganizationSkills(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateOrganizationSkillWithBody request with any body
	CreateOrganizationSkillWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateOrganizationSkill(ctx context.Context, body CreateOrganizationSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ImportOrganizationSkillWithBody request with any body
	ImportOrganizationSkillWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ImportOrganizationSkill(ctx context.Context, body ImportOrganizationSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteOrganizationSkill request
	DeleteOrganizationSkill(ctx context.Context, skillId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrganizationSkill request
	GetOrganizationSkill(ctx context.Context, skillId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReplaceOrganizationSkillWithBody request with any body
	ReplaceOrganizationSkillWithBody(ctx context.Context, skillId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ReplaceOrganizationSkill(ctx context.Context, skillId string, body ReplaceOrganizationSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetOrganizationSkillUsage request
	GetOrganizationSkillUsage(ctx context.Context, skillId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListProjects request
	ListProjects(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateProjectWithBody request with any body
	CreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateProject(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteProject request
	DeleteProject(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProject request
	GetProject(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateProjectWithBody request with any body
	UpdateProjectWithBody(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateProject(ctx context.Context, projectHandle ProjectHandleParam, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListActionInvocations request
	ListActionInvocations(ctx context.Context, projectHandle ProjectHandleParam, params *ListActionInvocationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateActionWithBody request with any body
	CreateActionWithBody(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateAction(ctx context.Context, projectHandle ProjectHandleParam, body CreateActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAction request
	DeleteAction(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateActionWithBody request with any body
	UpdateActionWithBody(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateAction(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, body UpdateActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// InvokeActionWithBody request with any body
	InvokeActionWithBody(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	InvokeAction(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, body InvokeActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RotateActionSecret request
	RotateActionSecret(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAgents request
	ListAgents(ctx context.Context, projectHandle ProjectHandleParam, params *ListAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAgentWithBody request with any body
	CreateAgentWithBody(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateAgent(ctx context.Context, projectHandle ProjectHandleParam, body CreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// InvokeAgentWithBody request with any body
	InvokeAgentWithBody(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	InvokeAgent(ctx context.Context, projectHandle ProjectHandleParam, body InvokeAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAgent request
	DeleteAgent(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAgent request
	GetAgent(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateAgentWithBody request with any body
	UpdateAgentWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateAgent(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProvisionAgentInbox request
	ProvisionAgentInbox(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAgentMemory request
	GetAgentMemory(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAgentMemoryChanges request
	ListAgentMemoryChanges(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *ListAgentMemoryChangesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAgentMemoryEntries request
	ListAgentMemoryEntries(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *ListAgentMemoryEntriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAgentMemoryEntry request
	DeleteAgentMemoryEntry(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, memoryKey MemoryKeyParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SaveAgentMemoryEntryWithBody request with any body
	SaveAgentMemoryEntryWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, memoryKey MemoryKeyParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SaveAgentMemoryEntry(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, memoryKey MemoryKeyParam, body SaveAgentMemoryEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAgentMessagingBindings request
	ListAgentMessagingBindings(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SaveAgentMessagingBindingWithBody request with any body
	SaveAgentMessagingBindingWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SaveAgentMessagingBinding(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body SaveAgentMessagingBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAgentMessagingBinding request
	DeleteAgentMessagingBinding(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, bindingId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAgentSkillAssignments request
	ListAgentSkillAssignments(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReplaceAgentSkillAssignmentsWithBody request with any body
	ReplaceAgentSkillAssignmentsWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ReplaceAgentSkillAssignments(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body ReplaceAgentSkillAssignmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAgentToolkitAssignments request
	ListAgentToolkitAssignments(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReplaceAgentToolkitAssignmentsWithBody request with any body
	ReplaceAgentToolkitAssignmentsWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ReplaceAgentToolkitAssignments(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body ReplaceAgentToolkitAssignmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAgentTools request
	GetAgentTools(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *GetAgentToolsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAPIKeys request
	ListAPIKeys(ctx context.Context, projectHandle ProjectHandleParam, params *ListAPIKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateAPIKeyWithBody request with any body
	CreateAPIKeyWithBody(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateAPIKey(ctx context.Context, projectHandle ProjectHandleParam, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAPIKey request
	DeleteAPIKey(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAPIKey request
	GetAPIKey(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListArtifacts request
	ListArtifacts(ctx context.Context, projectHandle ProjectHandleParam, params *ListArtifactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateArtifactWithBody request with any body
	CreateArtifactWithBody(ctx context.Context, projectHandle ProjectHandleParam, params *CreateArtifactParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteArtifact request
	DeleteArtifact(ctx context.Context, projectHandle ProjectHandleParam, artifactId ArtifactIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetArtifact request
	GetArtifact(ctx context.Context, projectHandle ProjectHandleParam, artifactId ArtifactIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetArtifactContent request
	GetArtifactContent(ctx context.Context, projectHandle ProjectHandleParam, artifactId ArtifactIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateArtifactSignedUrl request
	CreateArtifactSignedUrl(ctx context.Context, projectHandle ProjectHandleParam, artifactId ArtifactIdParam, params *CreateArtifactSignedUrlParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ApplyBlueprintWithBody request with any body
	ApplyBlueprintWithBody(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ApplyBlueprint(ctx context.Context, projectHandle ProjectHandleParam, body ApplyBlueprintJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListBlueprintBindings request
	ListBlueprintBindings(ctx context.Context, projectHandle ProjectHandleParam, params *ListBlueprintBindingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteBlueprint request
	DeleteBlueprint(ctx context.Context, projectHandle ProjectHandleParam, blueprintKey string, params *DeleteBlueprintParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SetBlueprintProtectionWithBody request with any body
	SetBlueprintProtectionWithBody(ctx context.Context, projectHandle ProjectHandleParam, blueprintKey string, params *SetBlueprintProtectionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SetBlueprintProtection(ctx context.Context, projectHandle ProjectHandleParam, blueprintKey string, params *SetBlueprintProtectionParams, body SetBlueprintProtectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetProjectCapabilities request
	GetProjectCapabilities(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCatalogActions request
	ListCatalogActions(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCatalogAction request
	GetCatalogAction(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCatalogEvents request
	ListCatalogEvents(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCatalogModels request
	ListCatalogModels(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCatalogWorkerModels request
	ListCatalogWorkerModels(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListEnvironments request
	ListEnvironments(ctx context.Context, projectHandle ProjectHandleParam, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateEnvironmentWithBody request with any body
	CreateEnvironmentWithBody(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateEnvironment(ctx context.Context, projectHandle ProjectHandleParam, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DestroyEnvironment request
	DestroyEnvironment(ctx context.Context, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEnvironment request
	GetEnvironment(ctx context.Context, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateEnvironmentWithBody request with any body
	UpdateEnvironmentWithBody(ctx context.Context, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateEnvironment(ctx context.Context, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam, body UpdateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListInteractions request
	ListInteractions(ctx context.Context, projectHandle ProjectHandleParam, params *ListInteractionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateInteractionWithBody request with any body
	CreateInteractionWithBody(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateInteraction(ctx context.Context, projectHandle ProjectHandleParam, body CreateInteractionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteInteraction request
	DeleteInteraction(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetInteraction request
	GetInteraction(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CancelInteractionWithBody request with any body
	CancelInteractionWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CancelInteraction(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body CancelInteractionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RespondToInteractionWithBody request with any body
	RespondToInteractionWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RespondToInteraction(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body RespondToInteractionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListLoops request
	ListLoops(ctx context.Context, projectHandle ProjectHandleParam, params *ListLoopsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateLoopWithBody request with any body
	CreateLoopWithBody(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateLoop(ctx context.Context, projectHandle ProjectHandleParam, body CreateLoopJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteLoop request
	DeleteLoop(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLoop request
	GetLoop(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateLoopWithBody request with any body
	UpdateLoopWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateLoop(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateLoopJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StartRunWithBody request with any body
	StartRunWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	StartRun(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body StartRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListProjectPermissions request
	ListProjectPermissions(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPrincipals request
	ListPrincipals(ctx context.Context, projectHandle ProjectHandleParam, params *ListPrincipalsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePrincipalWithBody request with any body
	CreatePrincipalWithBody(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreatePrincipal(ctx context.Context, projectHandle ProjectHandleParam, body CreatePrincipalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePrincipal request
	DeletePrincipal(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPrincipal request
	GetPrincipal(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePrincipalWithBody request with any body
	UpdatePrincipalWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdatePrincipal(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdatePrincipalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListRoleAssignments request
	ListRoleAssignments(ctx context.Context, projectHandle ProjectHandleParam, params *ListRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateRoleAssignmentWithBody request with any body
	CreateRoleAssignmentWithBody(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateRoleAssignment(ctx context.Context, projectHandle ProjectHandleParam, body CreateRoleAssignmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteRoleAssignment request
	DeleteRoleAssignment(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListRoles request
	ListRoles(ctx context.Context, projectHandle ProjectHandleParam, params *ListRolesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateRoleWithBody request with any body
	CreateRoleWithBody(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateRole(ctx context.Context, projectHandle ProjectHandleParam, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteRole request
	DeleteRole(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRole request
	GetRole(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateRoleWithBody request with any body
	UpdateRoleWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateRole(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListRuns request
	ListRuns(ctx context.Context, projectHandle ProjectHandleParam, params *ListRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRun request
	GetRun(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CancelRunWithBody request with any body
	CancelRunWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CancelRun(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body CancelRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListRunEvents request
	ListRunEvents(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *ListRunEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ResumeRunWithBody request with any body
	ResumeRunWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ResumeRun(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body ResumeRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RetryRunWithBody request with any body
	RetryRunWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RetryRun(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body RetryRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SignalRunWithBody request with any body
	SignalRunWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SignalRun(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body SignalRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListRunSteps request
	ListRunSteps(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSessions request
	ListSessions(ctx context.Context, projectHandle ProjectHandleParam, params *ListSessionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSessionWithBody request with any body
	CreateSessionWithBody(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateSession(ctx context.Context, projectHandle ProjectHandleParam, body CreateSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSession request
	DeleteSession(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSession request
	GetSession(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSessionWithBody request with any body
	UpdateSessionWithBody(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateSession(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, body UpdateSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CancelSession request
	CancelSession(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *CancelSessionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CompactSession request
	CompactSession(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSessionMessages request
	ListSessionMessages(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *ListSessionMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AppendSessionMessagesWithBody request with any body
	AppendSessionMessagesWithBody(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	AppendSessionMessages(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, body AppendSessionMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSessionNudges request
	ListSessionNudges(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *ListSessionNudgesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// NudgeSessionWithBody request with any body
	NudgeSessionWithBody(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	NudgeSession(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, body NudgeSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSessionNudge request
	GetSessionNudge(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, nudgeId NudgeIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CancelNudge request
	CancelNudge(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, nudgeId NudgeIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StreamSession request
	StreamSession(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *StreamSessionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSessionTranscript request
	GetSessionTranscript(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *GetSessionTranscriptParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StreamSessionTranscript request
	StreamSessionTranscript(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *StreamSessionTranscriptParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSessionTurns request
	ListSessionTurns(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *ListSessionTurnsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StartTurnWithBody request with any body
	StartTurnWithBody(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	StartTurn(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, body StartTurnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSessionTurn request
	GetSessionTurn(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, turnId TurnIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CancelTurn request
	CancelTurn(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, turnId TurnIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSessionTurnLive request
	GetSessionTurnLive(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, turnId TurnIdParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetArtifactStorageQuota request
	GetArtifactStorageQuota(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSkills request
	ListSkills(ctx context.Context, projectHandle ProjectHandleParam, params *ListSkillsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateSkillWithBody request with any body
	CreateSkillWithBody(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateSkill(ctx context.Context, projectHandle ProjectHandleParam, body CreateSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ImportSkillWithBody request with any body
	ImportSkillWithBody(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ImportSkill(ctx context.Context, projectHandle ProjectHandleParam, body ImportSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSkill request
	DeleteSkill(ctx context.Context, projectHandle ProjectHandleParam, skillId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSkill request
	GetSkill(ctx context.Context, projectHandle ProjectHandleParam, skillId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateSkillWithBody request with any body
	UpdateSkillWithBody(ctx context.Context, projectHandle ProjectHandleParam, skillId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateSkill(ctx context.Context, projectHandle ProjectHandleParam, skillId string, body UpdateSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTables request
	ListTables(ctx context.Context, projectHandle ProjectHandleParam, params *ListTablesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTableWithBody request with any body
	CreateTableWithBody(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateTable(ctx context.Context, projectHandle ProjectHandleParam, body CreateTableJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTable request
	DeleteTable(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTable request
	GetTable(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateTableWithBody request with any body
	UpdateTableWithBody(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateTable(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body UpdateTableJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BulkCreateTableRowsWithBody request with any body
	BulkCreateTableRowsWithBody(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	BulkCreateTableRows(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body BulkCreateTableRowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// QueryTableRowsWithBody request with any body
	QueryTableRowsWithBody(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	QueryTableRows(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body QueryTableRowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTableRowWithBody request with any body
	CreateTableRowWithBody(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateTableRow(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body CreateTableRowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTableRow request
	DeleteTableRow(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTableRow request
	GetTableRow(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateTableRowWithBody request with any body
	UpdateTableRowWithBody(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateTableRow(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string, body UpdateTableRowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SearchTableRowsWithBody request with any body
	SearchTableRowsWithBody(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SearchTableRows(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body SearchTableRowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTableStats request
	GetTableStats(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpsertTableRowWithBody request with any body
	UpsertTableRowWithBody(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpsertTableRow(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body UpsertTableRowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListToolkits request
	ListToolkits(ctx context.Context, projectHandle ProjectHandleParam, params *ListToolkitsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateToolkitWithBody request with any body
	CreateToolkitWithBody(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateToolkit(ctx context.Context, projectHandle ProjectHandleParam, body CreateToolkitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteToolkit request
	DeleteToolkit(ctx context.Context, projectHandle ProjectHandleParam, toolkitId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetToolkit request
	GetToolkit(ctx context.Context, projectHandle ProjectHandleParam, toolkitId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateToolkitWithBody request with any body
	UpdateToolkitWithBody(ctx context.Context, projectHandle ProjectHandleParam, toolkitId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateToolkit(ctx context.Context, projectHandle ProjectHandleParam, toolkitId string, body UpdateToolkitJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTurnMessages request
	ListTurnMessages(ctx context.Context, projectHandle ProjectHandleParam, turnId TurnIdParam, params *ListTurnMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListWebhooks request
	ListWebhooks(ctx context.Context, projectHandle ProjectHandleParam, params *ListWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWebhookWithBody request with any body
	CreateWebhookWithBody(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateWebhook(ctx context.Context, projectHandle ProjectHandleParam, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteWebhook request
	DeleteWebhook(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWebhook request
	GetWebhook(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateWebhookWithBody request with any body
	UpdateWebhookWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateWebhook(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListWebhookDeliveries request
	ListWebhookDeliveries(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *ListWebhookDeliveriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PingWebhookWithBody request with any body
	PingWebhookWithBody(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PingWebhook(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body PingWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RotateWebhookSecret request
	RotateWebhookSecret(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// OpenWorkerSocket request
	OpenWorkerSocket(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeliverHTTPTriggerWithBody request with any body
	DeliverHTTPTriggerWithBody(ctx context.Context, httpHandle string, params *DeliverHTTPTriggerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeliverHTTPTrigger(ctx context.Context, httpHandle string, params *DeliverHTTPTriggerParams, body DeliverHTTPTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) ActivateOrganizationActionSecretVersionWithBodyWithResponse added in v0.0.54

func (c *ClientWithResponses) ActivateOrganizationActionSecretVersionWithBodyWithResponse(ctx context.Context, actionId string, secretVersion int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActivateOrganizationActionSecretVersionResponse, error)

ActivateOrganizationActionSecretVersionWithBodyWithResponse request with arbitrary body returning *ActivateOrganizationActionSecretVersionResponse

func (*ClientWithResponses) ActivateOrganizationActionSecretVersionWithResponse added in v0.0.54

func (c *ClientWithResponses) ActivateOrganizationActionSecretVersionWithResponse(ctx context.Context, actionId string, secretVersion int64, body ActivateOrganizationActionSecretVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*ActivateOrganizationActionSecretVersionResponse, error)

func (*ClientWithResponses) AppendSessionMessagesWithBodyWithResponse added in v0.0.22

func (c *ClientWithResponses) AppendSessionMessagesWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppendSessionMessagesResponse, error)

AppendSessionMessagesWithBodyWithResponse request with arbitrary body returning *AppendSessionMessagesResponse

func (*ClientWithResponses) AppendSessionMessagesWithResponse added in v0.0.22

func (c *ClientWithResponses) AppendSessionMessagesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, body AppendSessionMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*AppendSessionMessagesResponse, error)

func (*ClientWithResponses) ApplyBlueprintWithBodyWithResponse added in v0.0.31

func (c *ClientWithResponses) ApplyBlueprintWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplyBlueprintResponse, error)

ApplyBlueprintWithBodyWithResponse request with arbitrary body returning *ApplyBlueprintResponse

func (*ClientWithResponses) ApplyBlueprintWithResponse added in v0.0.31

func (c *ClientWithResponses) ApplyBlueprintWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body ApplyBlueprintJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplyBlueprintResponse, error)

func (*ClientWithResponses) BulkCreateTableRowsWithBodyWithResponse added in v0.0.25

func (c *ClientWithResponses) BulkCreateTableRowsWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkCreateTableRowsResponse, error)

BulkCreateTableRowsWithBodyWithResponse request with arbitrary body returning *BulkCreateTableRowsResponse

func (*ClientWithResponses) BulkCreateTableRowsWithResponse added in v0.0.25

func (c *ClientWithResponses) BulkCreateTableRowsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body BulkCreateTableRowsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkCreateTableRowsResponse, error)

func (*ClientWithResponses) CancelInteractionWithBodyWithResponse added in v0.0.19

func (c *ClientWithResponses) CancelInteractionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelInteractionResponse, error)

CancelInteractionWithBodyWithResponse request with arbitrary body returning *CancelInteractionResponse

func (*ClientWithResponses) CancelInteractionWithResponse added in v0.0.19

func (c *ClientWithResponses) CancelInteractionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body CancelInteractionJSONRequestBody, reqEditors ...RequestEditorFn) (*CancelInteractionResponse, error)

func (*ClientWithResponses) CancelNudgeWithResponse added in v0.0.42

func (c *ClientWithResponses) CancelNudgeWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, nudgeId NudgeIdParam, reqEditors ...RequestEditorFn) (*CancelNudgeResponse, error)

CancelNudgeWithResponse request returning *CancelNudgeResponse

func (*ClientWithResponses) CancelRunWithBodyWithResponse added in v0.0.23

func (c *ClientWithResponses) CancelRunWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelRunResponse, error)

CancelRunWithBodyWithResponse request with arbitrary body returning *CancelRunResponse

func (*ClientWithResponses) CancelRunWithResponse

func (c *ClientWithResponses) CancelRunWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body CancelRunJSONRequestBody, reqEditors ...RequestEditorFn) (*CancelRunResponse, error)

func (*ClientWithResponses) CancelSessionWithResponse added in v0.0.26

func (c *ClientWithResponses) CancelSessionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *CancelSessionParams, reqEditors ...RequestEditorFn) (*CancelSessionResponse, error)

CancelSessionWithResponse request returning *CancelSessionResponse

func (*ClientWithResponses) CancelTurnWithResponse added in v0.0.29

func (c *ClientWithResponses) CancelTurnWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, turnId TurnIdParam, reqEditors ...RequestEditorFn) (*CancelTurnResponse, error)

CancelTurnWithResponse request returning *CancelTurnResponse

func (*ClientWithResponses) CompactSessionWithResponse added in v0.0.29

func (c *ClientWithResponses) CompactSessionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, reqEditors ...RequestEditorFn) (*CompactSessionResponse, error)

CompactSessionWithResponse request returning *CompactSessionResponse

func (*ClientWithResponses) CreateAPIKeyWithBodyWithResponse

func (c *ClientWithResponses) CreateAPIKeyWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)

CreateAPIKeyWithBodyWithResponse request with arbitrary body returning *CreateAPIKeyResponse

func (*ClientWithResponses) CreateAPIKeyWithResponse

func (c *ClientWithResponses) CreateAPIKeyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)

func (*ClientWithResponses) CreateActionWithBodyWithResponse

func (c *ClientWithResponses) CreateActionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateActionResponse, error)

CreateActionWithBodyWithResponse request with arbitrary body returning *CreateActionResponse

func (*ClientWithResponses) CreateActionWithResponse

func (c *ClientWithResponses) CreateActionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateActionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateActionResponse, error)

func (*ClientWithResponses) CreateAgentWithBodyWithResponse added in v0.0.3

func (c *ClientWithResponses) CreateAgentWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAgentResponse, error)

CreateAgentWithBodyWithResponse request with arbitrary body returning *CreateAgentResponse

func (*ClientWithResponses) CreateAgentWithResponse added in v0.0.3

func (c *ClientWithResponses) CreateAgentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAgentResponse, error)

func (*ClientWithResponses) CreateArtifactSignedUrlWithResponse added in v0.0.22

func (c *ClientWithResponses) CreateArtifactSignedUrlWithResponse(ctx context.Context, projectHandle ProjectHandleParam, artifactId ArtifactIdParam, params *CreateArtifactSignedUrlParams, reqEditors ...RequestEditorFn) (*CreateArtifactSignedUrlResponse, error)

CreateArtifactSignedUrlWithResponse request returning *CreateArtifactSignedUrlResponse

func (*ClientWithResponses) CreateArtifactWithBodyWithResponse added in v0.0.22

func (c *ClientWithResponses) CreateArtifactWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *CreateArtifactParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateArtifactResponse, error)

CreateArtifactWithBodyWithResponse request with arbitrary body returning *CreateArtifactResponse

func (*ClientWithResponses) CreateEnvironmentWithBodyWithResponse added in v0.0.21

func (c *ClientWithResponses) CreateEnvironmentWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)

CreateEnvironmentWithBodyWithResponse request with arbitrary body returning *CreateEnvironmentResponse

func (*ClientWithResponses) CreateEnvironmentWithResponse added in v0.0.21

func (c *ClientWithResponses) CreateEnvironmentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)

func (*ClientWithResponses) CreateInteractionWithBodyWithResponse

func (c *ClientWithResponses) CreateInteractionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInteractionResponse, error)

CreateInteractionWithBodyWithResponse request with arbitrary body returning *CreateInteractionResponse

func (*ClientWithResponses) CreateInteractionWithResponse

func (c *ClientWithResponses) CreateInteractionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateInteractionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInteractionResponse, error)

func (*ClientWithResponses) CreateLoopWithBodyWithResponse added in v0.0.24

func (c *ClientWithResponses) CreateLoopWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLoopResponse, error)

CreateLoopWithBodyWithResponse request with arbitrary body returning *CreateLoopResponse

func (*ClientWithResponses) CreateLoopWithResponse added in v0.0.24

func (c *ClientWithResponses) CreateLoopWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateLoopJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLoopResponse, error)

func (*ClientWithResponses) CreateOrgAPIKeyWithBodyWithResponse added in v0.0.36

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

CreateOrgAPIKeyWithBodyWithResponse request with arbitrary body returning *CreateOrgAPIKeyResponse

func (*ClientWithResponses) CreateOrgAPIKeyWithResponse added in v0.0.36

func (c *ClientWithResponses) CreateOrgAPIKeyWithResponse(ctx context.Context, body CreateOrgAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrgAPIKeyResponse, error)

func (*ClientWithResponses) CreateOrganizationActionWithBodyWithResponse added in v0.0.54

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

CreateOrganizationActionWithBodyWithResponse request with arbitrary body returning *CreateOrganizationActionResponse

func (*ClientWithResponses) CreateOrganizationActionWithResponse added in v0.0.54

func (c *ClientWithResponses) CreateOrganizationActionWithResponse(ctx context.Context, body CreateOrganizationActionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationActionResponse, error)

func (*ClientWithResponses) CreateOrganizationSkillWithBodyWithResponse added in v0.0.54

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

CreateOrganizationSkillWithBodyWithResponse request with arbitrary body returning *CreateOrganizationSkillResponse

func (*ClientWithResponses) CreateOrganizationSkillWithResponse added in v0.0.54

func (c *ClientWithResponses) CreateOrganizationSkillWithResponse(ctx context.Context, body CreateOrganizationSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationSkillResponse, error)

func (*ClientWithResponses) CreatePrincipalWithBodyWithResponse added in v0.0.22

func (c *ClientWithResponses) CreatePrincipalWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePrincipalResponse, error)

CreatePrincipalWithBodyWithResponse request with arbitrary body returning *CreatePrincipalResponse

func (*ClientWithResponses) CreatePrincipalWithResponse added in v0.0.22

func (c *ClientWithResponses) CreatePrincipalWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreatePrincipalJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePrincipalResponse, error)

func (*ClientWithResponses) CreateProjectWithBodyWithResponse added in v0.0.3

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

CreateProjectWithBodyWithResponse request with arbitrary body returning *CreateProjectResponse

func (*ClientWithResponses) CreateProjectWithResponse added in v0.0.3

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

func (*ClientWithResponses) CreateRoleAssignmentWithBodyWithResponse

func (c *ClientWithResponses) CreateRoleAssignmentWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRoleAssignmentResponse, error)

CreateRoleAssignmentWithBodyWithResponse request with arbitrary body returning *CreateRoleAssignmentResponse

func (*ClientWithResponses) CreateRoleAssignmentWithResponse

func (c *ClientWithResponses) CreateRoleAssignmentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateRoleAssignmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRoleAssignmentResponse, error)

func (*ClientWithResponses) CreateRoleWithBodyWithResponse

func (c *ClientWithResponses) CreateRoleWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRoleResponse, error)

CreateRoleWithBodyWithResponse request with arbitrary body returning *CreateRoleResponse

func (*ClientWithResponses) CreateRoleWithResponse

func (c *ClientWithResponses) CreateRoleWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRoleResponse, error)

func (*ClientWithResponses) CreateSessionWithBodyWithResponse added in v0.0.26

func (c *ClientWithResponses) CreateSessionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSessionResponse, error)

CreateSessionWithBodyWithResponse request with arbitrary body returning *CreateSessionResponse

func (*ClientWithResponses) CreateSessionWithResponse added in v0.0.26

func (c *ClientWithResponses) CreateSessionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSessionResponse, error)

func (*ClientWithResponses) CreateSkillWithBodyWithResponse added in v0.0.21

func (c *ClientWithResponses) CreateSkillWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSkillResponse, error)

CreateSkillWithBodyWithResponse request with arbitrary body returning *CreateSkillResponse

func (*ClientWithResponses) CreateSkillWithResponse added in v0.0.21

func (c *ClientWithResponses) CreateSkillWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSkillResponse, error)

func (*ClientWithResponses) CreateTableRowWithBodyWithResponse added in v0.0.25

func (c *ClientWithResponses) CreateTableRowWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTableRowResponse, error)

CreateTableRowWithBodyWithResponse request with arbitrary body returning *CreateTableRowResponse

func (*ClientWithResponses) CreateTableRowWithResponse added in v0.0.25

func (c *ClientWithResponses) CreateTableRowWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body CreateTableRowJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTableRowResponse, error)

func (*ClientWithResponses) CreateTableWithBodyWithResponse added in v0.0.20

func (c *ClientWithResponses) CreateTableWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTableResponse, error)

CreateTableWithBodyWithResponse request with arbitrary body returning *CreateTableResponse

func (*ClientWithResponses) CreateTableWithResponse added in v0.0.20

func (c *ClientWithResponses) CreateTableWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateTableJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTableResponse, error)

func (*ClientWithResponses) CreateToolkitWithBodyWithResponse added in v0.0.21

func (c *ClientWithResponses) CreateToolkitWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateToolkitResponse, error)

CreateToolkitWithBodyWithResponse request with arbitrary body returning *CreateToolkitResponse

func (*ClientWithResponses) CreateToolkitWithResponse added in v0.0.21

func (c *ClientWithResponses) CreateToolkitWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateToolkitJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateToolkitResponse, error)

func (*ClientWithResponses) CreateWebhookWithBodyWithResponse

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

CreateWebhookWithBodyWithResponse request with arbitrary body returning *CreateWebhookResponse

func (*ClientWithResponses) CreateWebhookWithResponse

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

func (*ClientWithResponses) DeleteAPIKeyWithResponse added in v0.0.25

func (c *ClientWithResponses) DeleteAPIKeyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*DeleteAPIKeyResponse, error)

DeleteAPIKeyWithResponse request returning *DeleteAPIKeyResponse

func (*ClientWithResponses) DeleteActionWithResponse

func (c *ClientWithResponses) DeleteActionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, reqEditors ...RequestEditorFn) (*DeleteActionResponse, error)

DeleteActionWithResponse request returning *DeleteActionResponse

func (*ClientWithResponses) DeleteAgentMemoryEntryWithResponse added in v0.0.29

func (c *ClientWithResponses) DeleteAgentMemoryEntryWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, memoryKey MemoryKeyParam, reqEditors ...RequestEditorFn) (*DeleteAgentMemoryEntryResponse, error)

DeleteAgentMemoryEntryWithResponse request returning *DeleteAgentMemoryEntryResponse

func (*ClientWithResponses) DeleteAgentMessagingBindingWithResponse added in v0.0.22

func (c *ClientWithResponses) DeleteAgentMessagingBindingWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, bindingId string, reqEditors ...RequestEditorFn) (*DeleteAgentMessagingBindingResponse, error)

DeleteAgentMessagingBindingWithResponse request returning *DeleteAgentMessagingBindingResponse

func (*ClientWithResponses) DeleteAgentWithResponse added in v0.0.3

func (c *ClientWithResponses) DeleteAgentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*DeleteAgentResponse, error)

DeleteAgentWithResponse request returning *DeleteAgentResponse

func (*ClientWithResponses) DeleteArtifactWithResponse added in v0.0.19

func (c *ClientWithResponses) DeleteArtifactWithResponse(ctx context.Context, projectHandle ProjectHandleParam, artifactId ArtifactIdParam, reqEditors ...RequestEditorFn) (*DeleteArtifactResponse, error)

DeleteArtifactWithResponse request returning *DeleteArtifactResponse

func (*ClientWithResponses) DeleteBlueprintWithResponse added in v0.0.42

func (c *ClientWithResponses) DeleteBlueprintWithResponse(ctx context.Context, projectHandle ProjectHandleParam, blueprintKey string, params *DeleteBlueprintParams, reqEditors ...RequestEditorFn) (*DeleteBlueprintResponse, error)

DeleteBlueprintWithResponse request returning *DeleteBlueprintResponse

func (*ClientWithResponses) DeleteInteractionWithResponse added in v0.0.21

func (c *ClientWithResponses) DeleteInteractionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*DeleteInteractionResponse, error)

DeleteInteractionWithResponse request returning *DeleteInteractionResponse

func (*ClientWithResponses) DeleteLoopWithResponse added in v0.0.24

func (c *ClientWithResponses) DeleteLoopWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*DeleteLoopResponse, error)

DeleteLoopWithResponse request returning *DeleteLoopResponse

func (*ClientWithResponses) DeleteOrgAPIKeyWithResponse added in v0.0.36

func (c *ClientWithResponses) DeleteOrgAPIKeyWithResponse(ctx context.Context, resourceId IDParam, reqEditors ...RequestEditorFn) (*DeleteOrgAPIKeyResponse, error)

DeleteOrgAPIKeyWithResponse request returning *DeleteOrgAPIKeyResponse

func (*ClientWithResponses) DeleteOrganizationActionWithResponse added in v0.0.54

func (c *ClientWithResponses) DeleteOrganizationActionWithResponse(ctx context.Context, actionId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationActionResponse, error)

DeleteOrganizationActionWithResponse request returning *DeleteOrganizationActionResponse

func (*ClientWithResponses) DeleteOrganizationSkillWithResponse added in v0.0.54

func (c *ClientWithResponses) DeleteOrganizationSkillWithResponse(ctx context.Context, skillId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationSkillResponse, error)

DeleteOrganizationSkillWithResponse request returning *DeleteOrganizationSkillResponse

func (*ClientWithResponses) DeletePrincipalWithResponse added in v0.0.22

func (c *ClientWithResponses) DeletePrincipalWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*DeletePrincipalResponse, error)

DeletePrincipalWithResponse request returning *DeletePrincipalResponse

func (*ClientWithResponses) DeleteProjectWithResponse added in v0.0.3

func (c *ClientWithResponses) DeleteProjectWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)

DeleteProjectWithResponse request returning *DeleteProjectResponse

func (*ClientWithResponses) DeleteRoleAssignmentWithResponse

func (c *ClientWithResponses) DeleteRoleAssignmentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*DeleteRoleAssignmentResponse, error)

DeleteRoleAssignmentWithResponse request returning *DeleteRoleAssignmentResponse

func (*ClientWithResponses) DeleteRoleWithResponse

func (c *ClientWithResponses) DeleteRoleWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*DeleteRoleResponse, error)

DeleteRoleWithResponse request returning *DeleteRoleResponse

func (*ClientWithResponses) DeleteSessionWithResponse added in v0.0.26

func (c *ClientWithResponses) DeleteSessionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, reqEditors ...RequestEditorFn) (*DeleteSessionResponse, error)

DeleteSessionWithResponse request returning *DeleteSessionResponse

func (*ClientWithResponses) DeleteSkillWithResponse added in v0.0.21

func (c *ClientWithResponses) DeleteSkillWithResponse(ctx context.Context, projectHandle ProjectHandleParam, skillId string, reqEditors ...RequestEditorFn) (*DeleteSkillResponse, error)

DeleteSkillWithResponse request returning *DeleteSkillResponse

func (*ClientWithResponses) DeleteTableRowWithResponse added in v0.0.20

func (c *ClientWithResponses) DeleteTableRowWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string, reqEditors ...RequestEditorFn) (*DeleteTableRowResponse, error)

DeleteTableRowWithResponse request returning *DeleteTableRowResponse

func (*ClientWithResponses) DeleteTableWithResponse added in v0.0.20

func (c *ClientWithResponses) DeleteTableWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, reqEditors ...RequestEditorFn) (*DeleteTableResponse, error)

DeleteTableWithResponse request returning *DeleteTableResponse

func (*ClientWithResponses) DeleteToolkitWithResponse added in v0.0.21

func (c *ClientWithResponses) DeleteToolkitWithResponse(ctx context.Context, projectHandle ProjectHandleParam, toolkitId string, reqEditors ...RequestEditorFn) (*DeleteToolkitResponse, error)

DeleteToolkitWithResponse request returning *DeleteToolkitResponse

func (*ClientWithResponses) DeleteWebhookWithResponse

func (c *ClientWithResponses) DeleteWebhookWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)

DeleteWebhookWithResponse request returning *DeleteWebhookResponse

func (*ClientWithResponses) DeliverHTTPTriggerWithBodyWithResponse added in v0.0.22

func (c *ClientWithResponses) DeliverHTTPTriggerWithBodyWithResponse(ctx context.Context, httpHandle string, params *DeliverHTTPTriggerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeliverHTTPTriggerResponse, error)

DeliverHTTPTriggerWithBodyWithResponse request with arbitrary body returning *DeliverHTTPTriggerResponse

func (*ClientWithResponses) DeliverHTTPTriggerWithResponse added in v0.0.22

func (c *ClientWithResponses) DeliverHTTPTriggerWithResponse(ctx context.Context, httpHandle string, params *DeliverHTTPTriggerParams, body DeliverHTTPTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*DeliverHTTPTriggerResponse, error)

func (*ClientWithResponses) DestroyEnvironmentWithResponse added in v0.0.21

func (c *ClientWithResponses) DestroyEnvironmentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam, reqEditors ...RequestEditorFn) (*DestroyEnvironmentResponse, error)

DestroyEnvironmentWithResponse request returning *DestroyEnvironmentResponse

func (*ClientWithResponses) GetAPIKeyWithResponse

func (c *ClientWithResponses) GetAPIKeyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetAPIKeyResponse, error)

GetAPIKeyWithResponse request returning *GetAPIKeyResponse

func (*ClientWithResponses) GetAgentMemoryWithResponse added in v0.0.29

func (c *ClientWithResponses) GetAgentMemoryWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetAgentMemoryResponse, error)

GetAgentMemoryWithResponse request returning *GetAgentMemoryResponse

func (*ClientWithResponses) GetAgentToolsWithResponse added in v0.0.23

func (c *ClientWithResponses) GetAgentToolsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *GetAgentToolsParams, reqEditors ...RequestEditorFn) (*GetAgentToolsResponse, error)

GetAgentToolsWithResponse request returning *GetAgentToolsResponse

func (*ClientWithResponses) GetAgentWithResponse added in v0.0.3

func (c *ClientWithResponses) GetAgentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetAgentResponse, error)

GetAgentWithResponse request returning *GetAgentResponse

func (*ClientWithResponses) GetArtifactContentWithResponse added in v0.0.19

func (c *ClientWithResponses) GetArtifactContentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, artifactId ArtifactIdParam, reqEditors ...RequestEditorFn) (*GetArtifactContentResponse, error)

GetArtifactContentWithResponse request returning *GetArtifactContentResponse

func (*ClientWithResponses) GetArtifactStorageQuotaWithResponse added in v0.0.19

func (c *ClientWithResponses) GetArtifactStorageQuotaWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*GetArtifactStorageQuotaResponse, error)

GetArtifactStorageQuotaWithResponse request returning *GetArtifactStorageQuotaResponse

func (*ClientWithResponses) GetArtifactWithResponse added in v0.0.19

func (c *ClientWithResponses) GetArtifactWithResponse(ctx context.Context, projectHandle ProjectHandleParam, artifactId ArtifactIdParam, reqEditors ...RequestEditorFn) (*GetArtifactResponse, error)

GetArtifactWithResponse request returning *GetArtifactResponse

func (*ClientWithResponses) GetCatalogActionWithResponse

func (c *ClientWithResponses) GetCatalogActionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, reqEditors ...RequestEditorFn) (*GetCatalogActionResponse, error)

GetCatalogActionWithResponse request returning *GetCatalogActionResponse

func (*ClientWithResponses) GetDefinitionResolverWithResponse added in v0.0.38

func (c *ClientWithResponses) GetDefinitionResolverWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDefinitionResolverResponse, error)

GetDefinitionResolverWithResponse request returning *GetDefinitionResolverResponse

func (*ClientWithResponses) GetEnvironmentWithResponse added in v0.0.21

func (c *ClientWithResponses) GetEnvironmentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)

GetEnvironmentWithResponse request returning *GetEnvironmentResponse

func (*ClientWithResponses) GetInteractionWithResponse

func (c *ClientWithResponses) GetInteractionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetInteractionResponse, error)

GetInteractionWithResponse request returning *GetInteractionResponse

func (*ClientWithResponses) GetLoopWithResponse added in v0.0.24

func (c *ClientWithResponses) GetLoopWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetLoopResponse, error)

GetLoopWithResponse request returning *GetLoopResponse

func (*ClientWithResponses) GetOAuthReturnOriginsWithResponse added in v0.0.55

func (c *ClientWithResponses) GetOAuthReturnOriginsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOAuthReturnOriginsResponse, error)

GetOAuthReturnOriginsWithResponse request returning *GetOAuthReturnOriginsResponse

func (*ClientWithResponses) GetOrgAPIKeyWithResponse added in v0.0.36

func (c *ClientWithResponses) GetOrgAPIKeyWithResponse(ctx context.Context, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetOrgAPIKeyResponse, error)

GetOrgAPIKeyWithResponse request returning *GetOrgAPIKeyResponse

func (*ClientWithResponses) GetOrganizationActionWithResponse added in v0.0.54

func (c *ClientWithResponses) GetOrganizationActionWithResponse(ctx context.Context, actionId string, reqEditors ...RequestEditorFn) (*GetOrganizationActionResponse, error)

GetOrganizationActionWithResponse request returning *GetOrganizationActionResponse

func (*ClientWithResponses) GetOrganizationSkillUsageWithResponse added in v0.0.54

func (c *ClientWithResponses) GetOrganizationSkillUsageWithResponse(ctx context.Context, skillId string, reqEditors ...RequestEditorFn) (*GetOrganizationSkillUsageResponse, error)

GetOrganizationSkillUsageWithResponse request returning *GetOrganizationSkillUsageResponse

func (*ClientWithResponses) GetOrganizationSkillWithResponse added in v0.0.54

func (c *ClientWithResponses) GetOrganizationSkillWithResponse(ctx context.Context, skillId string, reqEditors ...RequestEditorFn) (*GetOrganizationSkillResponse, error)

GetOrganizationSkillWithResponse request returning *GetOrganizationSkillResponse

func (*ClientWithResponses) GetPrincipalWithResponse added in v0.0.22

func (c *ClientWithResponses) GetPrincipalWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetPrincipalResponse, error)

GetPrincipalWithResponse request returning *GetPrincipalResponse

func (*ClientWithResponses) GetProjectCapabilitiesWithResponse added in v0.0.37

func (c *ClientWithResponses) GetProjectCapabilitiesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*GetProjectCapabilitiesResponse, error)

GetProjectCapabilitiesWithResponse request returning *GetProjectCapabilitiesResponse

func (*ClientWithResponses) GetProjectWithResponse added in v0.0.3

func (c *ClientWithResponses) GetProjectWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)

GetProjectWithResponse request returning *GetProjectResponse

func (*ClientWithResponses) GetRoleWithResponse

func (c *ClientWithResponses) GetRoleWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetRoleResponse, error)

GetRoleWithResponse request returning *GetRoleResponse

func (*ClientWithResponses) GetRunWithResponse

func (c *ClientWithResponses) GetRunWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetRunResponse, error)

GetRunWithResponse request returning *GetRunResponse

func (*ClientWithResponses) GetSessionNudgeWithResponse added in v0.0.42

func (c *ClientWithResponses) GetSessionNudgeWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, nudgeId NudgeIdParam, reqEditors ...RequestEditorFn) (*GetSessionNudgeResponse, error)

GetSessionNudgeWithResponse request returning *GetSessionNudgeResponse

func (*ClientWithResponses) GetSessionTranscriptWithResponse added in v0.0.43

func (c *ClientWithResponses) GetSessionTranscriptWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *GetSessionTranscriptParams, reqEditors ...RequestEditorFn) (*GetSessionTranscriptResponse, error)

GetSessionTranscriptWithResponse request returning *GetSessionTranscriptResponse

func (*ClientWithResponses) GetSessionTurnLiveWithResponse added in v0.0.29

func (c *ClientWithResponses) GetSessionTurnLiveWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, turnId TurnIdParam, reqEditors ...RequestEditorFn) (*GetSessionTurnLiveResponse, error)

GetSessionTurnLiveWithResponse request returning *GetSessionTurnLiveResponse

func (*ClientWithResponses) GetSessionTurnWithResponse added in v0.0.29

func (c *ClientWithResponses) GetSessionTurnWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, turnId TurnIdParam, reqEditors ...RequestEditorFn) (*GetSessionTurnResponse, error)

GetSessionTurnWithResponse request returning *GetSessionTurnResponse

func (*ClientWithResponses) GetSessionWithResponse added in v0.0.26

func (c *ClientWithResponses) GetSessionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, reqEditors ...RequestEditorFn) (*GetSessionResponse, error)

GetSessionWithResponse request returning *GetSessionResponse

func (*ClientWithResponses) GetSkillWithResponse added in v0.0.21

func (c *ClientWithResponses) GetSkillWithResponse(ctx context.Context, projectHandle ProjectHandleParam, skillId string, reqEditors ...RequestEditorFn) (*GetSkillResponse, error)

GetSkillWithResponse request returning *GetSkillResponse

func (*ClientWithResponses) GetTableRowWithResponse added in v0.0.20

func (c *ClientWithResponses) GetTableRowWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string, reqEditors ...RequestEditorFn) (*GetTableRowResponse, error)

GetTableRowWithResponse request returning *GetTableRowResponse

func (*ClientWithResponses) GetTableStatsWithResponse added in v0.0.20

func (c *ClientWithResponses) GetTableStatsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, reqEditors ...RequestEditorFn) (*GetTableStatsResponse, error)

GetTableStatsWithResponse request returning *GetTableStatsResponse

func (*ClientWithResponses) GetTableWithResponse added in v0.0.20

func (c *ClientWithResponses) GetTableWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, reqEditors ...RequestEditorFn) (*GetTableResponse, error)

GetTableWithResponse request returning *GetTableResponse

func (*ClientWithResponses) GetToolkitWithResponse added in v0.0.21

func (c *ClientWithResponses) GetToolkitWithResponse(ctx context.Context, projectHandle ProjectHandleParam, toolkitId string, reqEditors ...RequestEditorFn) (*GetToolkitResponse, error)

GetToolkitWithResponse request returning *GetToolkitResponse

func (*ClientWithResponses) GetWebhookWithResponse

func (c *ClientWithResponses) GetWebhookWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetWebhookResponse, error)

GetWebhookWithResponse request returning *GetWebhookResponse

func (*ClientWithResponses) ImportOrganizationSkillWithBodyWithResponse added in v0.0.54

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

ImportOrganizationSkillWithBodyWithResponse request with arbitrary body returning *ImportOrganizationSkillResponse

func (*ClientWithResponses) ImportOrganizationSkillWithResponse added in v0.0.54

func (c *ClientWithResponses) ImportOrganizationSkillWithResponse(ctx context.Context, body ImportOrganizationSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportOrganizationSkillResponse, error)

func (*ClientWithResponses) ImportSkillWithBodyWithResponse added in v0.0.21

func (c *ClientWithResponses) ImportSkillWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportSkillResponse, error)

ImportSkillWithBodyWithResponse request with arbitrary body returning *ImportSkillResponse

func (*ClientWithResponses) ImportSkillWithResponse added in v0.0.21

func (c *ClientWithResponses) ImportSkillWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body ImportSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportSkillResponse, error)

func (*ClientWithResponses) InvokeActionWithBodyWithResponse added in v0.0.19

func (c *ClientWithResponses) InvokeActionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InvokeActionResponse, error)

InvokeActionWithBodyWithResponse request with arbitrary body returning *InvokeActionResponse

func (*ClientWithResponses) InvokeActionWithResponse added in v0.0.19

func (c *ClientWithResponses) InvokeActionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, body InvokeActionJSONRequestBody, reqEditors ...RequestEditorFn) (*InvokeActionResponse, error)

func (*ClientWithResponses) InvokeAgentWithBodyWithResponse added in v0.0.29

func (c *ClientWithResponses) InvokeAgentWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InvokeAgentResponse, error)

InvokeAgentWithBodyWithResponse request with arbitrary body returning *InvokeAgentResponse

func (*ClientWithResponses) InvokeAgentWithResponse added in v0.0.29

func (c *ClientWithResponses) InvokeAgentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body InvokeAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*InvokeAgentResponse, error)

func (*ClientWithResponses) ListAPIKeysWithResponse

func (c *ClientWithResponses) ListAPIKeysWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListAPIKeysParams, reqEditors ...RequestEditorFn) (*ListAPIKeysResponse, error)

ListAPIKeysWithResponse request returning *ListAPIKeysResponse

func (*ClientWithResponses) ListActionInvocationsWithResponse added in v0.0.19

func (c *ClientWithResponses) ListActionInvocationsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListActionInvocationsParams, reqEditors ...RequestEditorFn) (*ListActionInvocationsResponse, error)

ListActionInvocationsWithResponse request returning *ListActionInvocationsResponse

func (*ClientWithResponses) ListAgentMemoryChangesWithResponse added in v0.0.53

func (c *ClientWithResponses) ListAgentMemoryChangesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *ListAgentMemoryChangesParams, reqEditors ...RequestEditorFn) (*ListAgentMemoryChangesResponse, error)

ListAgentMemoryChangesWithResponse request returning *ListAgentMemoryChangesResponse

func (*ClientWithResponses) ListAgentMemoryEntriesWithResponse added in v0.0.29

func (c *ClientWithResponses) ListAgentMemoryEntriesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *ListAgentMemoryEntriesParams, reqEditors ...RequestEditorFn) (*ListAgentMemoryEntriesResponse, error)

ListAgentMemoryEntriesWithResponse request returning *ListAgentMemoryEntriesResponse

func (*ClientWithResponses) ListAgentMessagingBindingsWithResponse added in v0.0.22

func (c *ClientWithResponses) ListAgentMessagingBindingsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*ListAgentMessagingBindingsResponse, error)

ListAgentMessagingBindingsWithResponse request returning *ListAgentMessagingBindingsResponse

func (*ClientWithResponses) ListAgentSkillAssignmentsWithResponse added in v0.0.25

func (c *ClientWithResponses) ListAgentSkillAssignmentsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*ListAgentSkillAssignmentsResponse, error)

ListAgentSkillAssignmentsWithResponse request returning *ListAgentSkillAssignmentsResponse

func (*ClientWithResponses) ListAgentToolkitAssignmentsWithResponse added in v0.0.25

func (c *ClientWithResponses) ListAgentToolkitAssignmentsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*ListAgentToolkitAssignmentsResponse, error)

ListAgentToolkitAssignmentsWithResponse request returning *ListAgentToolkitAssignmentsResponse

func (*ClientWithResponses) ListAgentsWithResponse added in v0.0.3

func (c *ClientWithResponses) ListAgentsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListAgentsParams, reqEditors ...RequestEditorFn) (*ListAgentsResponse, error)

ListAgentsWithResponse request returning *ListAgentsResponse

func (*ClientWithResponses) ListArtifactsWithResponse added in v0.0.22

func (c *ClientWithResponses) ListArtifactsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListArtifactsParams, reqEditors ...RequestEditorFn) (*ListArtifactsResponse, error)

ListArtifactsWithResponse request returning *ListArtifactsResponse

func (*ClientWithResponses) ListBlueprintBindingsWithResponse added in v0.0.31

func (c *ClientWithResponses) ListBlueprintBindingsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListBlueprintBindingsParams, reqEditors ...RequestEditorFn) (*ListBlueprintBindingsResponse, error)

ListBlueprintBindingsWithResponse request returning *ListBlueprintBindingsResponse

func (*ClientWithResponses) ListCatalogActionsWithResponse

func (c *ClientWithResponses) ListCatalogActionsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*ListCatalogActionsResponse, error)

ListCatalogActionsWithResponse request returning *ListCatalogActionsResponse

func (*ClientWithResponses) ListCatalogEventsWithResponse added in v0.0.22

func (c *ClientWithResponses) ListCatalogEventsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*ListCatalogEventsResponse, error)

ListCatalogEventsWithResponse request returning *ListCatalogEventsResponse

func (*ClientWithResponses) ListCatalogModelsWithResponse added in v0.0.23

func (c *ClientWithResponses) ListCatalogModelsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*ListCatalogModelsResponse, error)

ListCatalogModelsWithResponse request returning *ListCatalogModelsResponse

func (*ClientWithResponses) ListCatalogWorkerModelsWithResponse added in v0.0.29

func (c *ClientWithResponses) ListCatalogWorkerModelsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*ListCatalogWorkerModelsResponse, error)

ListCatalogWorkerModelsWithResponse request returning *ListCatalogWorkerModelsResponse

func (*ClientWithResponses) ListEnvironmentsWithResponse added in v0.0.21

func (c *ClientWithResponses) ListEnvironmentsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*ListEnvironmentsResponse, error)

ListEnvironmentsWithResponse request returning *ListEnvironmentsResponse

func (*ClientWithResponses) ListInteractionsWithResponse

func (c *ClientWithResponses) ListInteractionsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListInteractionsParams, reqEditors ...RequestEditorFn) (*ListInteractionsResponse, error)

ListInteractionsWithResponse request returning *ListInteractionsResponse

func (*ClientWithResponses) ListLoopsWithResponse added in v0.0.24

func (c *ClientWithResponses) ListLoopsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListLoopsParams, reqEditors ...RequestEditorFn) (*ListLoopsResponse, error)

ListLoopsWithResponse request returning *ListLoopsResponse

func (*ClientWithResponses) ListOrgAPIKeysWithResponse added in v0.0.36

func (c *ClientWithResponses) ListOrgAPIKeysWithResponse(ctx context.Context, params *ListOrgAPIKeysParams, reqEditors ...RequestEditorFn) (*ListOrgAPIKeysResponse, error)

ListOrgAPIKeysWithResponse request returning *ListOrgAPIKeysResponse

func (*ClientWithResponses) ListOrganizationActionsWithResponse added in v0.0.54

func (c *ClientWithResponses) ListOrganizationActionsWithResponse(ctx context.Context, params *ListOrganizationActionsParams, reqEditors ...RequestEditorFn) (*ListOrganizationActionsResponse, error)

ListOrganizationActionsWithResponse request returning *ListOrganizationActionsResponse

func (*ClientWithResponses) ListOrganizationSkillsWithResponse added in v0.0.54

func (c *ClientWithResponses) ListOrganizationSkillsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOrganizationSkillsResponse, error)

ListOrganizationSkillsWithResponse request returning *ListOrganizationSkillsResponse

func (*ClientWithResponses) ListPrincipalsWithResponse added in v0.0.22

func (c *ClientWithResponses) ListPrincipalsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListPrincipalsParams, reqEditors ...RequestEditorFn) (*ListPrincipalsResponse, error)

ListPrincipalsWithResponse request returning *ListPrincipalsResponse

func (*ClientWithResponses) ListProjectPermissionsWithResponse added in v0.0.21

func (c *ClientWithResponses) ListProjectPermissionsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*ListProjectPermissionsResponse, error)

ListProjectPermissionsWithResponse request returning *ListProjectPermissionsResponse

func (*ClientWithResponses) ListProjectsWithResponse added in v0.0.3

func (c *ClientWithResponses) ListProjectsWithResponse(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*ListProjectsResponse, error)

ListProjectsWithResponse request returning *ListProjectsResponse

func (*ClientWithResponses) ListRoleAssignmentsWithResponse

func (c *ClientWithResponses) ListRoleAssignmentsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*ListRoleAssignmentsResponse, error)

ListRoleAssignmentsWithResponse request returning *ListRoleAssignmentsResponse

func (*ClientWithResponses) ListRolesWithResponse

func (c *ClientWithResponses) ListRolesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListRolesParams, reqEditors ...RequestEditorFn) (*ListRolesResponse, error)

ListRolesWithResponse request returning *ListRolesResponse

func (*ClientWithResponses) ListRunEventsWithResponse added in v0.0.23

func (c *ClientWithResponses) ListRunEventsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *ListRunEventsParams, reqEditors ...RequestEditorFn) (*ListRunEventsResponse, error)

ListRunEventsWithResponse request returning *ListRunEventsResponse

func (*ClientWithResponses) ListRunStepsWithResponse added in v0.0.15

func (c *ClientWithResponses) ListRunStepsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*ListRunStepsResponse, error)

ListRunStepsWithResponse request returning *ListRunStepsResponse

func (*ClientWithResponses) ListRunsWithResponse

func (c *ClientWithResponses) ListRunsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListRunsParams, reqEditors ...RequestEditorFn) (*ListRunsResponse, error)

ListRunsWithResponse request returning *ListRunsResponse

func (*ClientWithResponses) ListSessionMessagesWithResponse added in v0.0.22

func (c *ClientWithResponses) ListSessionMessagesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *ListSessionMessagesParams, reqEditors ...RequestEditorFn) (*ListSessionMessagesResponse, error)

ListSessionMessagesWithResponse request returning *ListSessionMessagesResponse

func (*ClientWithResponses) ListSessionNudgesWithResponse added in v0.0.42

func (c *ClientWithResponses) ListSessionNudgesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *ListSessionNudgesParams, reqEditors ...RequestEditorFn) (*ListSessionNudgesResponse, error)

ListSessionNudgesWithResponse request returning *ListSessionNudgesResponse

func (*ClientWithResponses) ListSessionTurnsWithResponse added in v0.0.24

func (c *ClientWithResponses) ListSessionTurnsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *ListSessionTurnsParams, reqEditors ...RequestEditorFn) (*ListSessionTurnsResponse, error)

ListSessionTurnsWithResponse request returning *ListSessionTurnsResponse

func (*ClientWithResponses) ListSessionsWithResponse added in v0.0.26

func (c *ClientWithResponses) ListSessionsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListSessionsParams, reqEditors ...RequestEditorFn) (*ListSessionsResponse, error)

ListSessionsWithResponse request returning *ListSessionsResponse

func (*ClientWithResponses) ListSkillsWithResponse added in v0.0.21

func (c *ClientWithResponses) ListSkillsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListSkillsParams, reqEditors ...RequestEditorFn) (*ListSkillsResponse, error)

ListSkillsWithResponse request returning *ListSkillsResponse

func (*ClientWithResponses) ListTablesWithResponse added in v0.0.20

func (c *ClientWithResponses) ListTablesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListTablesParams, reqEditors ...RequestEditorFn) (*ListTablesResponse, error)

ListTablesWithResponse request returning *ListTablesResponse

func (*ClientWithResponses) ListToolkitsWithResponse added in v0.0.21

func (c *ClientWithResponses) ListToolkitsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListToolkitsParams, reqEditors ...RequestEditorFn) (*ListToolkitsResponse, error)

ListToolkitsWithResponse request returning *ListToolkitsResponse

func (*ClientWithResponses) ListTurnMessagesWithResponse added in v0.0.24

func (c *ClientWithResponses) ListTurnMessagesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, turnId TurnIdParam, params *ListTurnMessagesParams, reqEditors ...RequestEditorFn) (*ListTurnMessagesResponse, error)

ListTurnMessagesWithResponse request returning *ListTurnMessagesResponse

func (*ClientWithResponses) ListWebhookDeliveriesWithResponse added in v0.0.3

func (c *ClientWithResponses) ListWebhookDeliveriesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *ListWebhookDeliveriesParams, reqEditors ...RequestEditorFn) (*ListWebhookDeliveriesResponse, error)

ListWebhookDeliveriesWithResponse request returning *ListWebhookDeliveriesResponse

func (*ClientWithResponses) ListWebhooksWithResponse

func (c *ClientWithResponses) ListWebhooksWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListWebhooksParams, reqEditors ...RequestEditorFn) (*ListWebhooksResponse, error)

ListWebhooksWithResponse request returning *ListWebhooksResponse

func (*ClientWithResponses) NudgeSessionWithBodyWithResponse added in v0.0.42

func (c *ClientWithResponses) NudgeSessionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*NudgeSessionResponse, error)

NudgeSessionWithBodyWithResponse request with arbitrary body returning *NudgeSessionResponse

func (*ClientWithResponses) NudgeSessionWithResponse added in v0.0.42

func (c *ClientWithResponses) NudgeSessionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, body NudgeSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*NudgeSessionResponse, error)

func (*ClientWithResponses) OpenWorkerSocketWithResponse added in v0.0.22

func (c *ClientWithResponses) OpenWorkerSocketWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*OpenWorkerSocketResponse, error)

OpenWorkerSocketWithResponse request returning *OpenWorkerSocketResponse

func (*ClientWithResponses) PingWebhookWithBodyWithResponse added in v0.0.6

func (c *ClientWithResponses) PingWebhookWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PingWebhookResponse, error)

PingWebhookWithBodyWithResponse request with arbitrary body returning *PingWebhookResponse

func (*ClientWithResponses) PingWebhookWithResponse added in v0.0.6

func (c *ClientWithResponses) PingWebhookWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body PingWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*PingWebhookResponse, error)

func (*ClientWithResponses) ProvisionAgentInboxWithResponse added in v0.0.19

func (c *ClientWithResponses) ProvisionAgentInboxWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*ProvisionAgentInboxResponse, error)

ProvisionAgentInboxWithResponse request returning *ProvisionAgentInboxResponse

func (*ClientWithResponses) QueryTableRowsWithBodyWithResponse added in v0.0.20

func (c *ClientWithResponses) QueryTableRowsWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*QueryTableRowsResponse, error)

QueryTableRowsWithBodyWithResponse request with arbitrary body returning *QueryTableRowsResponse

func (*ClientWithResponses) QueryTableRowsWithResponse added in v0.0.20

func (c *ClientWithResponses) QueryTableRowsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body QueryTableRowsJSONRequestBody, reqEditors ...RequestEditorFn) (*QueryTableRowsResponse, error)

func (*ClientWithResponses) ReplaceAgentSkillAssignmentsWithBodyWithResponse added in v0.0.25

func (c *ClientWithResponses) ReplaceAgentSkillAssignmentsWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceAgentSkillAssignmentsResponse, error)

ReplaceAgentSkillAssignmentsWithBodyWithResponse request with arbitrary body returning *ReplaceAgentSkillAssignmentsResponse

func (*ClientWithResponses) ReplaceAgentSkillAssignmentsWithResponse added in v0.0.25

func (c *ClientWithResponses) ReplaceAgentSkillAssignmentsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body ReplaceAgentSkillAssignmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceAgentSkillAssignmentsResponse, error)

func (*ClientWithResponses) ReplaceAgentToolkitAssignmentsWithBodyWithResponse added in v0.0.25

func (c *ClientWithResponses) ReplaceAgentToolkitAssignmentsWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceAgentToolkitAssignmentsResponse, error)

ReplaceAgentToolkitAssignmentsWithBodyWithResponse request with arbitrary body returning *ReplaceAgentToolkitAssignmentsResponse

func (*ClientWithResponses) ReplaceAgentToolkitAssignmentsWithResponse added in v0.0.25

func (c *ClientWithResponses) ReplaceAgentToolkitAssignmentsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body ReplaceAgentToolkitAssignmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceAgentToolkitAssignmentsResponse, error)

func (*ClientWithResponses) ReplaceDefinitionResolverWithBodyWithResponse added in v0.0.38

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

ReplaceDefinitionResolverWithBodyWithResponse request with arbitrary body returning *ReplaceDefinitionResolverResponse

func (*ClientWithResponses) ReplaceDefinitionResolverWithResponse added in v0.0.38

func (c *ClientWithResponses) ReplaceDefinitionResolverWithResponse(ctx context.Context, body ReplaceDefinitionResolverJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceDefinitionResolverResponse, error)

func (*ClientWithResponses) ReplaceOAuthReturnOriginsWithBodyWithResponse added in v0.0.55

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

ReplaceOAuthReturnOriginsWithBodyWithResponse request with arbitrary body returning *ReplaceOAuthReturnOriginsResponse

func (*ClientWithResponses) ReplaceOAuthReturnOriginsWithResponse added in v0.0.55

func (c *ClientWithResponses) ReplaceOAuthReturnOriginsWithResponse(ctx context.Context, body ReplaceOAuthReturnOriginsJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceOAuthReturnOriginsResponse, error)

func (*ClientWithResponses) ReplaceOrganizationSkillWithBodyWithResponse added in v0.0.54

func (c *ClientWithResponses) ReplaceOrganizationSkillWithBodyWithResponse(ctx context.Context, skillId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceOrganizationSkillResponse, error)

ReplaceOrganizationSkillWithBodyWithResponse request with arbitrary body returning *ReplaceOrganizationSkillResponse

func (*ClientWithResponses) ReplaceOrganizationSkillWithResponse added in v0.0.54

func (c *ClientWithResponses) ReplaceOrganizationSkillWithResponse(ctx context.Context, skillId string, body ReplaceOrganizationSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceOrganizationSkillResponse, error)

func (*ClientWithResponses) RespondToInteractionWithBodyWithResponse

func (c *ClientWithResponses) RespondToInteractionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RespondToInteractionResponse, error)

RespondToInteractionWithBodyWithResponse request with arbitrary body returning *RespondToInteractionResponse

func (*ClientWithResponses) RespondToInteractionWithResponse

func (c *ClientWithResponses) RespondToInteractionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body RespondToInteractionJSONRequestBody, reqEditors ...RequestEditorFn) (*RespondToInteractionResponse, error)

func (*ClientWithResponses) ResumeRunWithBodyWithResponse added in v0.0.41

func (c *ClientWithResponses) ResumeRunWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResumeRunResponse, error)

ResumeRunWithBodyWithResponse request with arbitrary body returning *ResumeRunResponse

func (*ClientWithResponses) ResumeRunWithResponse

func (c *ClientWithResponses) ResumeRunWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body ResumeRunJSONRequestBody, reqEditors ...RequestEditorFn) (*ResumeRunResponse, error)

func (*ClientWithResponses) RetryRunWithBodyWithResponse added in v0.0.41

func (c *ClientWithResponses) RetryRunWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RetryRunResponse, error)

RetryRunWithBodyWithResponse request with arbitrary body returning *RetryRunResponse

func (*ClientWithResponses) RetryRunWithResponse added in v0.0.41

func (c *ClientWithResponses) RetryRunWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body RetryRunJSONRequestBody, reqEditors ...RequestEditorFn) (*RetryRunResponse, error)

func (*ClientWithResponses) RevokeOrganizationActionSecretVersionWithResponse added in v0.0.54

func (c *ClientWithResponses) RevokeOrganizationActionSecretVersionWithResponse(ctx context.Context, actionId string, secretVersion int64, reqEditors ...RequestEditorFn) (*RevokeOrganizationActionSecretVersionResponse, error)

RevokeOrganizationActionSecretVersionWithResponse request returning *RevokeOrganizationActionSecretVersionResponse

func (*ClientWithResponses) RotateActionSecretWithResponse

func (c *ClientWithResponses) RotateActionSecretWithResponse(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, reqEditors ...RequestEditorFn) (*RotateActionSecretResponse, error)

RotateActionSecretWithResponse request returning *RotateActionSecretResponse

func (*ClientWithResponses) RotateOrganizationActionSecretWithResponse added in v0.0.54

func (c *ClientWithResponses) RotateOrganizationActionSecretWithResponse(ctx context.Context, actionId string, reqEditors ...RequestEditorFn) (*RotateOrganizationActionSecretResponse, error)

RotateOrganizationActionSecretWithResponse request returning *RotateOrganizationActionSecretResponse

func (*ClientWithResponses) RotateWebhookSecretWithResponse added in v0.0.22

func (c *ClientWithResponses) RotateWebhookSecretWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*RotateWebhookSecretResponse, error)

RotateWebhookSecretWithResponse request returning *RotateWebhookSecretResponse

func (*ClientWithResponses) SaveAgentMemoryEntryWithBodyWithResponse added in v0.0.36

func (c *ClientWithResponses) SaveAgentMemoryEntryWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, memoryKey MemoryKeyParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SaveAgentMemoryEntryResponse, error)

SaveAgentMemoryEntryWithBodyWithResponse request with arbitrary body returning *SaveAgentMemoryEntryResponse

func (*ClientWithResponses) SaveAgentMemoryEntryWithResponse added in v0.0.36

func (c *ClientWithResponses) SaveAgentMemoryEntryWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, memoryKey MemoryKeyParam, body SaveAgentMemoryEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*SaveAgentMemoryEntryResponse, error)

func (*ClientWithResponses) SaveAgentMessagingBindingWithBodyWithResponse added in v0.0.22

func (c *ClientWithResponses) SaveAgentMessagingBindingWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SaveAgentMessagingBindingResponse, error)

SaveAgentMessagingBindingWithBodyWithResponse request with arbitrary body returning *SaveAgentMessagingBindingResponse

func (*ClientWithResponses) SaveAgentMessagingBindingWithResponse added in v0.0.22

func (c *ClientWithResponses) SaveAgentMessagingBindingWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body SaveAgentMessagingBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*SaveAgentMessagingBindingResponse, error)

func (*ClientWithResponses) SearchTableRowsWithBodyWithResponse added in v0.0.20

func (c *ClientWithResponses) SearchTableRowsWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchTableRowsResponse, error)

SearchTableRowsWithBodyWithResponse request with arbitrary body returning *SearchTableRowsResponse

func (*ClientWithResponses) SearchTableRowsWithResponse added in v0.0.20

func (c *ClientWithResponses) SearchTableRowsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body SearchTableRowsJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchTableRowsResponse, error)

func (*ClientWithResponses) SetBlueprintProtectionWithBodyWithResponse added in v0.0.42

func (c *ClientWithResponses) SetBlueprintProtectionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, blueprintKey string, params *SetBlueprintProtectionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetBlueprintProtectionResponse, error)

SetBlueprintProtectionWithBodyWithResponse request with arbitrary body returning *SetBlueprintProtectionResponse

func (*ClientWithResponses) SetBlueprintProtectionWithResponse added in v0.0.42

func (c *ClientWithResponses) SetBlueprintProtectionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, blueprintKey string, params *SetBlueprintProtectionParams, body SetBlueprintProtectionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetBlueprintProtectionResponse, error)

func (*ClientWithResponses) SignalRunWithBodyWithResponse added in v0.0.23

func (c *ClientWithResponses) SignalRunWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SignalRunResponse, error)

SignalRunWithBodyWithResponse request with arbitrary body returning *SignalRunResponse

func (*ClientWithResponses) SignalRunWithResponse added in v0.0.23

func (c *ClientWithResponses) SignalRunWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body SignalRunJSONRequestBody, reqEditors ...RequestEditorFn) (*SignalRunResponse, error)

func (*ClientWithResponses) StartRunWithBodyWithResponse added in v0.0.3

func (c *ClientWithResponses) StartRunWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartRunResponse, error)

StartRunWithBodyWithResponse request with arbitrary body returning *StartRunResponse

func (*ClientWithResponses) StartRunWithResponse added in v0.0.3

func (c *ClientWithResponses) StartRunWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body StartRunJSONRequestBody, reqEditors ...RequestEditorFn) (*StartRunResponse, error)

func (*ClientWithResponses) StartTurnWithBodyWithResponse added in v0.0.29

func (c *ClientWithResponses) StartTurnWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartTurnResponse, error)

StartTurnWithBodyWithResponse request with arbitrary body returning *StartTurnResponse

func (*ClientWithResponses) StartTurnWithResponse added in v0.0.29

func (c *ClientWithResponses) StartTurnWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, body StartTurnJSONRequestBody, reqEditors ...RequestEditorFn) (*StartTurnResponse, error)

func (*ClientWithResponses) StreamSessionTranscriptWithResponse added in v0.0.43

func (c *ClientWithResponses) StreamSessionTranscriptWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *StreamSessionTranscriptParams, reqEditors ...RequestEditorFn) (*StreamSessionTranscriptResponse, error)

StreamSessionTranscriptWithResponse request returning *StreamSessionTranscriptResponse

func (*ClientWithResponses) StreamSessionWithResponse added in v0.0.29

func (c *ClientWithResponses) StreamSessionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *StreamSessionParams, reqEditors ...RequestEditorFn) (*StreamSessionResponse, error)

StreamSessionWithResponse request returning *StreamSessionResponse

func (*ClientWithResponses) UpdateActionWithBodyWithResponse

func (c *ClientWithResponses) UpdateActionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateActionResponse, error)

UpdateActionWithBodyWithResponse request with arbitrary body returning *UpdateActionResponse

func (*ClientWithResponses) UpdateActionWithResponse

func (c *ClientWithResponses) UpdateActionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, body UpdateActionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateActionResponse, error)

func (*ClientWithResponses) UpdateAgentWithBodyWithResponse added in v0.0.3

func (c *ClientWithResponses) UpdateAgentWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAgentResponse, error)

UpdateAgentWithBodyWithResponse request with arbitrary body returning *UpdateAgentResponse

func (*ClientWithResponses) UpdateAgentWithResponse added in v0.0.3

func (c *ClientWithResponses) UpdateAgentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAgentResponse, error)

func (*ClientWithResponses) UpdateEnvironmentWithBodyWithResponse added in v0.0.21

func (c *ClientWithResponses) UpdateEnvironmentWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error)

UpdateEnvironmentWithBodyWithResponse request with arbitrary body returning *UpdateEnvironmentResponse

func (*ClientWithResponses) UpdateEnvironmentWithResponse added in v0.0.21

func (c *ClientWithResponses) UpdateEnvironmentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam, body UpdateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error)

func (*ClientWithResponses) UpdateLoopWithBodyWithResponse added in v0.0.24

func (c *ClientWithResponses) UpdateLoopWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLoopResponse, error)

UpdateLoopWithBodyWithResponse request with arbitrary body returning *UpdateLoopResponse

func (*ClientWithResponses) UpdateLoopWithResponse added in v0.0.24

func (c *ClientWithResponses) UpdateLoopWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateLoopJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLoopResponse, error)

func (*ClientWithResponses) UpdateOrganizationActionWithBodyWithResponse added in v0.0.54

func (c *ClientWithResponses) UpdateOrganizationActionWithBodyWithResponse(ctx context.Context, actionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationActionResponse, error)

UpdateOrganizationActionWithBodyWithResponse request with arbitrary body returning *UpdateOrganizationActionResponse

func (*ClientWithResponses) UpdateOrganizationActionWithResponse added in v0.0.54

func (c *ClientWithResponses) UpdateOrganizationActionWithResponse(ctx context.Context, actionId string, body UpdateOrganizationActionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationActionResponse, error)

func (*ClientWithResponses) UpdatePrincipalWithBodyWithResponse added in v0.0.22

func (c *ClientWithResponses) UpdatePrincipalWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePrincipalResponse, error)

UpdatePrincipalWithBodyWithResponse request with arbitrary body returning *UpdatePrincipalResponse

func (*ClientWithResponses) UpdatePrincipalWithResponse added in v0.0.22

func (c *ClientWithResponses) UpdatePrincipalWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdatePrincipalJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePrincipalResponse, error)

func (*ClientWithResponses) UpdateProjectWithBodyWithResponse added in v0.0.3

func (c *ClientWithResponses) UpdateProjectWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)

UpdateProjectWithBodyWithResponse request with arbitrary body returning *UpdateProjectResponse

func (*ClientWithResponses) UpdateProjectWithResponse added in v0.0.3

func (c *ClientWithResponses) UpdateProjectWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)

func (*ClientWithResponses) UpdateRoleWithBodyWithResponse

func (c *ClientWithResponses) UpdateRoleWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRoleResponse, error)

UpdateRoleWithBodyWithResponse request with arbitrary body returning *UpdateRoleResponse

func (*ClientWithResponses) UpdateRoleWithResponse

func (c *ClientWithResponses) UpdateRoleWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRoleResponse, error)

func (*ClientWithResponses) UpdateSessionWithBodyWithResponse added in v0.0.26

func (c *ClientWithResponses) UpdateSessionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSessionResponse, error)

UpdateSessionWithBodyWithResponse request with arbitrary body returning *UpdateSessionResponse

func (*ClientWithResponses) UpdateSessionWithResponse added in v0.0.26

func (c *ClientWithResponses) UpdateSessionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, body UpdateSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSessionResponse, error)

func (*ClientWithResponses) UpdateSkillWithBodyWithResponse added in v0.0.21

func (c *ClientWithResponses) UpdateSkillWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, skillId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSkillResponse, error)

UpdateSkillWithBodyWithResponse request with arbitrary body returning *UpdateSkillResponse

func (*ClientWithResponses) UpdateSkillWithResponse added in v0.0.21

func (c *ClientWithResponses) UpdateSkillWithResponse(ctx context.Context, projectHandle ProjectHandleParam, skillId string, body UpdateSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSkillResponse, error)

func (*ClientWithResponses) UpdateTableRowWithBodyWithResponse added in v0.0.20

func (c *ClientWithResponses) UpdateTableRowWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTableRowResponse, error)

UpdateTableRowWithBodyWithResponse request with arbitrary body returning *UpdateTableRowResponse

func (*ClientWithResponses) UpdateTableRowWithResponse added in v0.0.20

func (c *ClientWithResponses) UpdateTableRowWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string, body UpdateTableRowJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTableRowResponse, error)

func (*ClientWithResponses) UpdateTableWithBodyWithResponse added in v0.0.20

func (c *ClientWithResponses) UpdateTableWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTableResponse, error)

UpdateTableWithBodyWithResponse request with arbitrary body returning *UpdateTableResponse

func (*ClientWithResponses) UpdateTableWithResponse added in v0.0.20

func (c *ClientWithResponses) UpdateTableWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body UpdateTableJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTableResponse, error)

func (*ClientWithResponses) UpdateToolkitWithBodyWithResponse added in v0.0.21

func (c *ClientWithResponses) UpdateToolkitWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, toolkitId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateToolkitResponse, error)

UpdateToolkitWithBodyWithResponse request with arbitrary body returning *UpdateToolkitResponse

func (*ClientWithResponses) UpdateToolkitWithResponse added in v0.0.21

func (c *ClientWithResponses) UpdateToolkitWithResponse(ctx context.Context, projectHandle ProjectHandleParam, toolkitId string, body UpdateToolkitJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateToolkitResponse, error)

func (*ClientWithResponses) UpdateWebhookWithBodyWithResponse

func (c *ClientWithResponses) UpdateWebhookWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

UpdateWebhookWithBodyWithResponse request with arbitrary body returning *UpdateWebhookResponse

func (*ClientWithResponses) UpdateWebhookWithResponse

func (c *ClientWithResponses) UpdateWebhookWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

func (*ClientWithResponses) UpsertTableRowWithBodyWithResponse added in v0.0.20

func (c *ClientWithResponses) UpsertTableRowWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertTableRowResponse, error)

UpsertTableRowWithBodyWithResponse request with arbitrary body returning *UpsertTableRowResponse

func (*ClientWithResponses) UpsertTableRowWithResponse added in v0.0.20

func (c *ClientWithResponses) UpsertTableRowWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body UpsertTableRowJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertTableRowResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// ListOrgAPIKeysWithResponse request
	ListOrgAPIKeysWithResponse(ctx context.Context, params *ListOrgAPIKeysParams, reqEditors ...RequestEditorFn) (*ListOrgAPIKeysResponse, error)

	// CreateOrgAPIKeyWithBodyWithResponse request with any body
	CreateOrgAPIKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrgAPIKeyResponse, error)

	CreateOrgAPIKeyWithResponse(ctx context.Context, body CreateOrgAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrgAPIKeyResponse, error)

	// DeleteOrgAPIKeyWithResponse request
	DeleteOrgAPIKeyWithResponse(ctx context.Context, resourceId IDParam, reqEditors ...RequestEditorFn) (*DeleteOrgAPIKeyResponse, error)

	// GetOrgAPIKeyWithResponse request
	GetOrgAPIKeyWithResponse(ctx context.Context, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetOrgAPIKeyResponse, error)

	// ListOrganizationActionsWithResponse request
	ListOrganizationActionsWithResponse(ctx context.Context, params *ListOrganizationActionsParams, reqEditors ...RequestEditorFn) (*ListOrganizationActionsResponse, error)

	// CreateOrganizationActionWithBodyWithResponse request with any body
	CreateOrganizationActionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationActionResponse, error)

	CreateOrganizationActionWithResponse(ctx context.Context, body CreateOrganizationActionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationActionResponse, error)

	// DeleteOrganizationActionWithResponse request
	DeleteOrganizationActionWithResponse(ctx context.Context, actionId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationActionResponse, error)

	// GetOrganizationActionWithResponse request
	GetOrganizationActionWithResponse(ctx context.Context, actionId string, reqEditors ...RequestEditorFn) (*GetOrganizationActionResponse, error)

	// UpdateOrganizationActionWithBodyWithResponse request with any body
	UpdateOrganizationActionWithBodyWithResponse(ctx context.Context, actionId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateOrganizationActionResponse, error)

	UpdateOrganizationActionWithResponse(ctx context.Context, actionId string, body UpdateOrganizationActionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateOrganizationActionResponse, error)

	// RotateOrganizationActionSecretWithResponse request
	RotateOrganizationActionSecretWithResponse(ctx context.Context, actionId string, reqEditors ...RequestEditorFn) (*RotateOrganizationActionSecretResponse, error)

	// ActivateOrganizationActionSecretVersionWithBodyWithResponse request with any body
	ActivateOrganizationActionSecretVersionWithBodyWithResponse(ctx context.Context, actionId string, secretVersion int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ActivateOrganizationActionSecretVersionResponse, error)

	ActivateOrganizationActionSecretVersionWithResponse(ctx context.Context, actionId string, secretVersion int64, body ActivateOrganizationActionSecretVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*ActivateOrganizationActionSecretVersionResponse, error)

	// RevokeOrganizationActionSecretVersionWithResponse request
	RevokeOrganizationActionSecretVersionWithResponse(ctx context.Context, actionId string, secretVersion int64, reqEditors ...RequestEditorFn) (*RevokeOrganizationActionSecretVersionResponse, error)

	// GetDefinitionResolverWithResponse request
	GetDefinitionResolverWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetDefinitionResolverResponse, error)

	// ReplaceDefinitionResolverWithBodyWithResponse request with any body
	ReplaceDefinitionResolverWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceDefinitionResolverResponse, error)

	ReplaceDefinitionResolverWithResponse(ctx context.Context, body ReplaceDefinitionResolverJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceDefinitionResolverResponse, error)

	// GetOAuthReturnOriginsWithResponse request
	GetOAuthReturnOriginsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetOAuthReturnOriginsResponse, error)

	// ReplaceOAuthReturnOriginsWithBodyWithResponse request with any body
	ReplaceOAuthReturnOriginsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceOAuthReturnOriginsResponse, error)

	ReplaceOAuthReturnOriginsWithResponse(ctx context.Context, body ReplaceOAuthReturnOriginsJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceOAuthReturnOriginsResponse, error)

	// ListOrganizationSkillsWithResponse request
	ListOrganizationSkillsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListOrganizationSkillsResponse, error)

	// CreateOrganizationSkillWithBodyWithResponse request with any body
	CreateOrganizationSkillWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationSkillResponse, error)

	CreateOrganizationSkillWithResponse(ctx context.Context, body CreateOrganizationSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationSkillResponse, error)

	// ImportOrganizationSkillWithBodyWithResponse request with any body
	ImportOrganizationSkillWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportOrganizationSkillResponse, error)

	ImportOrganizationSkillWithResponse(ctx context.Context, body ImportOrganizationSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportOrganizationSkillResponse, error)

	// DeleteOrganizationSkillWithResponse request
	DeleteOrganizationSkillWithResponse(ctx context.Context, skillId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationSkillResponse, error)

	// GetOrganizationSkillWithResponse request
	GetOrganizationSkillWithResponse(ctx context.Context, skillId string, reqEditors ...RequestEditorFn) (*GetOrganizationSkillResponse, error)

	// ReplaceOrganizationSkillWithBodyWithResponse request with any body
	ReplaceOrganizationSkillWithBodyWithResponse(ctx context.Context, skillId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceOrganizationSkillResponse, error)

	ReplaceOrganizationSkillWithResponse(ctx context.Context, skillId string, body ReplaceOrganizationSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceOrganizationSkillResponse, error)

	// GetOrganizationSkillUsageWithResponse request
	GetOrganizationSkillUsageWithResponse(ctx context.Context, skillId string, reqEditors ...RequestEditorFn) (*GetOrganizationSkillUsageResponse, error)

	// ListProjectsWithResponse request
	ListProjectsWithResponse(ctx context.Context, params *ListProjectsParams, reqEditors ...RequestEditorFn) (*ListProjectsResponse, error)

	// CreateProjectWithBodyWithResponse request with any body
	CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

	CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)

	// DeleteProjectWithResponse request
	DeleteProjectWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*DeleteProjectResponse, error)

	// GetProjectWithResponse request
	GetProjectWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*GetProjectResponse, error)

	// UpdateProjectWithBodyWithResponse request with any body
	UpdateProjectWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)

	UpdateProjectWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body UpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProjectResponse, error)

	// ListActionInvocationsWithResponse request
	ListActionInvocationsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListActionInvocationsParams, reqEditors ...RequestEditorFn) (*ListActionInvocationsResponse, error)

	// CreateActionWithBodyWithResponse request with any body
	CreateActionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateActionResponse, error)

	CreateActionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateActionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateActionResponse, error)

	// DeleteActionWithResponse request
	DeleteActionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, reqEditors ...RequestEditorFn) (*DeleteActionResponse, error)

	// UpdateActionWithBodyWithResponse request with any body
	UpdateActionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateActionResponse, error)

	UpdateActionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, body UpdateActionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateActionResponse, error)

	// InvokeActionWithBodyWithResponse request with any body
	InvokeActionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InvokeActionResponse, error)

	InvokeActionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, body InvokeActionJSONRequestBody, reqEditors ...RequestEditorFn) (*InvokeActionResponse, error)

	// RotateActionSecretWithResponse request
	RotateActionSecretWithResponse(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, reqEditors ...RequestEditorFn) (*RotateActionSecretResponse, error)

	// ListAgentsWithResponse request
	ListAgentsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListAgentsParams, reqEditors ...RequestEditorFn) (*ListAgentsResponse, error)

	// CreateAgentWithBodyWithResponse request with any body
	CreateAgentWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAgentResponse, error)

	CreateAgentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAgentResponse, error)

	// InvokeAgentWithBodyWithResponse request with any body
	InvokeAgentWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InvokeAgentResponse, error)

	InvokeAgentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body InvokeAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*InvokeAgentResponse, error)

	// DeleteAgentWithResponse request
	DeleteAgentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*DeleteAgentResponse, error)

	// GetAgentWithResponse request
	GetAgentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetAgentResponse, error)

	// UpdateAgentWithBodyWithResponse request with any body
	UpdateAgentWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAgentResponse, error)

	UpdateAgentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAgentResponse, error)

	// ProvisionAgentInboxWithResponse request
	ProvisionAgentInboxWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*ProvisionAgentInboxResponse, error)

	// GetAgentMemoryWithResponse request
	GetAgentMemoryWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetAgentMemoryResponse, error)

	// ListAgentMemoryChangesWithResponse request
	ListAgentMemoryChangesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *ListAgentMemoryChangesParams, reqEditors ...RequestEditorFn) (*ListAgentMemoryChangesResponse, error)

	// ListAgentMemoryEntriesWithResponse request
	ListAgentMemoryEntriesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *ListAgentMemoryEntriesParams, reqEditors ...RequestEditorFn) (*ListAgentMemoryEntriesResponse, error)

	// DeleteAgentMemoryEntryWithResponse request
	DeleteAgentMemoryEntryWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, memoryKey MemoryKeyParam, reqEditors ...RequestEditorFn) (*DeleteAgentMemoryEntryResponse, error)

	// SaveAgentMemoryEntryWithBodyWithResponse request with any body
	SaveAgentMemoryEntryWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, memoryKey MemoryKeyParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SaveAgentMemoryEntryResponse, error)

	SaveAgentMemoryEntryWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, memoryKey MemoryKeyParam, body SaveAgentMemoryEntryJSONRequestBody, reqEditors ...RequestEditorFn) (*SaveAgentMemoryEntryResponse, error)

	// ListAgentMessagingBindingsWithResponse request
	ListAgentMessagingBindingsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*ListAgentMessagingBindingsResponse, error)

	// SaveAgentMessagingBindingWithBodyWithResponse request with any body
	SaveAgentMessagingBindingWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SaveAgentMessagingBindingResponse, error)

	SaveAgentMessagingBindingWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body SaveAgentMessagingBindingJSONRequestBody, reqEditors ...RequestEditorFn) (*SaveAgentMessagingBindingResponse, error)

	// DeleteAgentMessagingBindingWithResponse request
	DeleteAgentMessagingBindingWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, bindingId string, reqEditors ...RequestEditorFn) (*DeleteAgentMessagingBindingResponse, error)

	// ListAgentSkillAssignmentsWithResponse request
	ListAgentSkillAssignmentsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*ListAgentSkillAssignmentsResponse, error)

	// ReplaceAgentSkillAssignmentsWithBodyWithResponse request with any body
	ReplaceAgentSkillAssignmentsWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceAgentSkillAssignmentsResponse, error)

	ReplaceAgentSkillAssignmentsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body ReplaceAgentSkillAssignmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceAgentSkillAssignmentsResponse, error)

	// ListAgentToolkitAssignmentsWithResponse request
	ListAgentToolkitAssignmentsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*ListAgentToolkitAssignmentsResponse, error)

	// ReplaceAgentToolkitAssignmentsWithBodyWithResponse request with any body
	ReplaceAgentToolkitAssignmentsWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceAgentToolkitAssignmentsResponse, error)

	ReplaceAgentToolkitAssignmentsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body ReplaceAgentToolkitAssignmentsJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceAgentToolkitAssignmentsResponse, error)

	// GetAgentToolsWithResponse request
	GetAgentToolsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *GetAgentToolsParams, reqEditors ...RequestEditorFn) (*GetAgentToolsResponse, error)

	// ListAPIKeysWithResponse request
	ListAPIKeysWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListAPIKeysParams, reqEditors ...RequestEditorFn) (*ListAPIKeysResponse, error)

	// CreateAPIKeyWithBodyWithResponse request with any body
	CreateAPIKeyWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)

	CreateAPIKeyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAPIKeyResponse, error)

	// DeleteAPIKeyWithResponse request
	DeleteAPIKeyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*DeleteAPIKeyResponse, error)

	// GetAPIKeyWithResponse request
	GetAPIKeyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetAPIKeyResponse, error)

	// ListArtifactsWithResponse request
	ListArtifactsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListArtifactsParams, reqEditors ...RequestEditorFn) (*ListArtifactsResponse, error)

	// CreateArtifactWithBodyWithResponse request with any body
	CreateArtifactWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *CreateArtifactParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateArtifactResponse, error)

	// DeleteArtifactWithResponse request
	DeleteArtifactWithResponse(ctx context.Context, projectHandle ProjectHandleParam, artifactId ArtifactIdParam, reqEditors ...RequestEditorFn) (*DeleteArtifactResponse, error)

	// GetArtifactWithResponse request
	GetArtifactWithResponse(ctx context.Context, projectHandle ProjectHandleParam, artifactId ArtifactIdParam, reqEditors ...RequestEditorFn) (*GetArtifactResponse, error)

	// GetArtifactContentWithResponse request
	GetArtifactContentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, artifactId ArtifactIdParam, reqEditors ...RequestEditorFn) (*GetArtifactContentResponse, error)

	// CreateArtifactSignedUrlWithResponse request
	CreateArtifactSignedUrlWithResponse(ctx context.Context, projectHandle ProjectHandleParam, artifactId ArtifactIdParam, params *CreateArtifactSignedUrlParams, reqEditors ...RequestEditorFn) (*CreateArtifactSignedUrlResponse, error)

	// ApplyBlueprintWithBodyWithResponse request with any body
	ApplyBlueprintWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplyBlueprintResponse, error)

	ApplyBlueprintWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body ApplyBlueprintJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplyBlueprintResponse, error)

	// ListBlueprintBindingsWithResponse request
	ListBlueprintBindingsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListBlueprintBindingsParams, reqEditors ...RequestEditorFn) (*ListBlueprintBindingsResponse, error)

	// DeleteBlueprintWithResponse request
	DeleteBlueprintWithResponse(ctx context.Context, projectHandle ProjectHandleParam, blueprintKey string, params *DeleteBlueprintParams, reqEditors ...RequestEditorFn) (*DeleteBlueprintResponse, error)

	// SetBlueprintProtectionWithBodyWithResponse request with any body
	SetBlueprintProtectionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, blueprintKey string, params *SetBlueprintProtectionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetBlueprintProtectionResponse, error)

	SetBlueprintProtectionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, blueprintKey string, params *SetBlueprintProtectionParams, body SetBlueprintProtectionJSONRequestBody, reqEditors ...RequestEditorFn) (*SetBlueprintProtectionResponse, error)

	// GetProjectCapabilitiesWithResponse request
	GetProjectCapabilitiesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*GetProjectCapabilitiesResponse, error)

	// ListCatalogActionsWithResponse request
	ListCatalogActionsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*ListCatalogActionsResponse, error)

	// GetCatalogActionWithResponse request
	GetCatalogActionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, actionName ActionNameParam, reqEditors ...RequestEditorFn) (*GetCatalogActionResponse, error)

	// ListCatalogEventsWithResponse request
	ListCatalogEventsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*ListCatalogEventsResponse, error)

	// ListCatalogModelsWithResponse request
	ListCatalogModelsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*ListCatalogModelsResponse, error)

	// ListCatalogWorkerModelsWithResponse request
	ListCatalogWorkerModelsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*ListCatalogWorkerModelsResponse, error)

	// ListEnvironmentsWithResponse request
	ListEnvironmentsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListEnvironmentsParams, reqEditors ...RequestEditorFn) (*ListEnvironmentsResponse, error)

	// CreateEnvironmentWithBodyWithResponse request with any body
	CreateEnvironmentWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)

	CreateEnvironmentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)

	// DestroyEnvironmentWithResponse request
	DestroyEnvironmentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam, reqEditors ...RequestEditorFn) (*DestroyEnvironmentResponse, error)

	// GetEnvironmentWithResponse request
	GetEnvironmentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)

	// UpdateEnvironmentWithBodyWithResponse request with any body
	UpdateEnvironmentWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error)

	UpdateEnvironmentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, environmentId EnvironmentIDParam, body UpdateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error)

	// ListInteractionsWithResponse request
	ListInteractionsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListInteractionsParams, reqEditors ...RequestEditorFn) (*ListInteractionsResponse, error)

	// CreateInteractionWithBodyWithResponse request with any body
	CreateInteractionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInteractionResponse, error)

	CreateInteractionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateInteractionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInteractionResponse, error)

	// DeleteInteractionWithResponse request
	DeleteInteractionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*DeleteInteractionResponse, error)

	// GetInteractionWithResponse request
	GetInteractionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetInteractionResponse, error)

	// CancelInteractionWithBodyWithResponse request with any body
	CancelInteractionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelInteractionResponse, error)

	CancelInteractionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body CancelInteractionJSONRequestBody, reqEditors ...RequestEditorFn) (*CancelInteractionResponse, error)

	// RespondToInteractionWithBodyWithResponse request with any body
	RespondToInteractionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RespondToInteractionResponse, error)

	RespondToInteractionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body RespondToInteractionJSONRequestBody, reqEditors ...RequestEditorFn) (*RespondToInteractionResponse, error)

	// ListLoopsWithResponse request
	ListLoopsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListLoopsParams, reqEditors ...RequestEditorFn) (*ListLoopsResponse, error)

	// CreateLoopWithBodyWithResponse request with any body
	CreateLoopWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateLoopResponse, error)

	CreateLoopWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateLoopJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateLoopResponse, error)

	// DeleteLoopWithResponse request
	DeleteLoopWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*DeleteLoopResponse, error)

	// GetLoopWithResponse request
	GetLoopWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetLoopResponse, error)

	// UpdateLoopWithBodyWithResponse request with any body
	UpdateLoopWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLoopResponse, error)

	UpdateLoopWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateLoopJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLoopResponse, error)

	// StartRunWithBodyWithResponse request with any body
	StartRunWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartRunResponse, error)

	StartRunWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body StartRunJSONRequestBody, reqEditors ...RequestEditorFn) (*StartRunResponse, error)

	// ListProjectPermissionsWithResponse request
	ListProjectPermissionsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*ListProjectPermissionsResponse, error)

	// ListPrincipalsWithResponse request
	ListPrincipalsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListPrincipalsParams, reqEditors ...RequestEditorFn) (*ListPrincipalsResponse, error)

	// CreatePrincipalWithBodyWithResponse request with any body
	CreatePrincipalWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePrincipalResponse, error)

	CreatePrincipalWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreatePrincipalJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePrincipalResponse, error)

	// DeletePrincipalWithResponse request
	DeletePrincipalWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*DeletePrincipalResponse, error)

	// GetPrincipalWithResponse request
	GetPrincipalWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetPrincipalResponse, error)

	// UpdatePrincipalWithBodyWithResponse request with any body
	UpdatePrincipalWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePrincipalResponse, error)

	UpdatePrincipalWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdatePrincipalJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePrincipalResponse, error)

	// ListRoleAssignmentsWithResponse request
	ListRoleAssignmentsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListRoleAssignmentsParams, reqEditors ...RequestEditorFn) (*ListRoleAssignmentsResponse, error)

	// CreateRoleAssignmentWithBodyWithResponse request with any body
	CreateRoleAssignmentWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRoleAssignmentResponse, error)

	CreateRoleAssignmentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateRoleAssignmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRoleAssignmentResponse, error)

	// DeleteRoleAssignmentWithResponse request
	DeleteRoleAssignmentWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*DeleteRoleAssignmentResponse, error)

	// ListRolesWithResponse request
	ListRolesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListRolesParams, reqEditors ...RequestEditorFn) (*ListRolesResponse, error)

	// CreateRoleWithBodyWithResponse request with any body
	CreateRoleWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRoleResponse, error)

	CreateRoleWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRoleResponse, error)

	// DeleteRoleWithResponse request
	DeleteRoleWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*DeleteRoleResponse, error)

	// GetRoleWithResponse request
	GetRoleWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetRoleResponse, error)

	// UpdateRoleWithBodyWithResponse request with any body
	UpdateRoleWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRoleResponse, error)

	UpdateRoleWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRoleResponse, error)

	// ListRunsWithResponse request
	ListRunsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListRunsParams, reqEditors ...RequestEditorFn) (*ListRunsResponse, error)

	// GetRunWithResponse request
	GetRunWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetRunResponse, error)

	// CancelRunWithBodyWithResponse request with any body
	CancelRunWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CancelRunResponse, error)

	CancelRunWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body CancelRunJSONRequestBody, reqEditors ...RequestEditorFn) (*CancelRunResponse, error)

	// ListRunEventsWithResponse request
	ListRunEventsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *ListRunEventsParams, reqEditors ...RequestEditorFn) (*ListRunEventsResponse, error)

	// ResumeRunWithBodyWithResponse request with any body
	ResumeRunWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResumeRunResponse, error)

	ResumeRunWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body ResumeRunJSONRequestBody, reqEditors ...RequestEditorFn) (*ResumeRunResponse, error)

	// RetryRunWithBodyWithResponse request with any body
	RetryRunWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RetryRunResponse, error)

	RetryRunWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body RetryRunJSONRequestBody, reqEditors ...RequestEditorFn) (*RetryRunResponse, error)

	// SignalRunWithBodyWithResponse request with any body
	SignalRunWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SignalRunResponse, error)

	SignalRunWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body SignalRunJSONRequestBody, reqEditors ...RequestEditorFn) (*SignalRunResponse, error)

	// ListRunStepsWithResponse request
	ListRunStepsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*ListRunStepsResponse, error)

	// ListSessionsWithResponse request
	ListSessionsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListSessionsParams, reqEditors ...RequestEditorFn) (*ListSessionsResponse, error)

	// CreateSessionWithBodyWithResponse request with any body
	CreateSessionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSessionResponse, error)

	CreateSessionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSessionResponse, error)

	// DeleteSessionWithResponse request
	DeleteSessionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, reqEditors ...RequestEditorFn) (*DeleteSessionResponse, error)

	// GetSessionWithResponse request
	GetSessionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, reqEditors ...RequestEditorFn) (*GetSessionResponse, error)

	// UpdateSessionWithBodyWithResponse request with any body
	UpdateSessionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSessionResponse, error)

	UpdateSessionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, body UpdateSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSessionResponse, error)

	// CancelSessionWithResponse request
	CancelSessionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *CancelSessionParams, reqEditors ...RequestEditorFn) (*CancelSessionResponse, error)

	// CompactSessionWithResponse request
	CompactSessionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, reqEditors ...RequestEditorFn) (*CompactSessionResponse, error)

	// ListSessionMessagesWithResponse request
	ListSessionMessagesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *ListSessionMessagesParams, reqEditors ...RequestEditorFn) (*ListSessionMessagesResponse, error)

	// AppendSessionMessagesWithBodyWithResponse request with any body
	AppendSessionMessagesWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AppendSessionMessagesResponse, error)

	AppendSessionMessagesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, body AppendSessionMessagesJSONRequestBody, reqEditors ...RequestEditorFn) (*AppendSessionMessagesResponse, error)

	// ListSessionNudgesWithResponse request
	ListSessionNudgesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *ListSessionNudgesParams, reqEditors ...RequestEditorFn) (*ListSessionNudgesResponse, error)

	// NudgeSessionWithBodyWithResponse request with any body
	NudgeSessionWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*NudgeSessionResponse, error)

	NudgeSessionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, body NudgeSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*NudgeSessionResponse, error)

	// GetSessionNudgeWithResponse request
	GetSessionNudgeWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, nudgeId NudgeIdParam, reqEditors ...RequestEditorFn) (*GetSessionNudgeResponse, error)

	// CancelNudgeWithResponse request
	CancelNudgeWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, nudgeId NudgeIdParam, reqEditors ...RequestEditorFn) (*CancelNudgeResponse, error)

	// StreamSessionWithResponse request
	StreamSessionWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *StreamSessionParams, reqEditors ...RequestEditorFn) (*StreamSessionResponse, error)

	// GetSessionTranscriptWithResponse request
	GetSessionTranscriptWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *GetSessionTranscriptParams, reqEditors ...RequestEditorFn) (*GetSessionTranscriptResponse, error)

	// StreamSessionTranscriptWithResponse request
	StreamSessionTranscriptWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *StreamSessionTranscriptParams, reqEditors ...RequestEditorFn) (*StreamSessionTranscriptResponse, error)

	// ListSessionTurnsWithResponse request
	ListSessionTurnsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, params *ListSessionTurnsParams, reqEditors ...RequestEditorFn) (*ListSessionTurnsResponse, error)

	// StartTurnWithBodyWithResponse request with any body
	StartTurnWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartTurnResponse, error)

	StartTurnWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, body StartTurnJSONRequestBody, reqEditors ...RequestEditorFn) (*StartTurnResponse, error)

	// GetSessionTurnWithResponse request
	GetSessionTurnWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, turnId TurnIdParam, reqEditors ...RequestEditorFn) (*GetSessionTurnResponse, error)

	// CancelTurnWithResponse request
	CancelTurnWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, turnId TurnIdParam, reqEditors ...RequestEditorFn) (*CancelTurnResponse, error)

	// GetSessionTurnLiveWithResponse request
	GetSessionTurnLiveWithResponse(ctx context.Context, projectHandle ProjectHandleParam, sessionId SessionIdParam, turnId TurnIdParam, reqEditors ...RequestEditorFn) (*GetSessionTurnLiveResponse, error)

	// GetArtifactStorageQuotaWithResponse request
	GetArtifactStorageQuotaWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*GetArtifactStorageQuotaResponse, error)

	// ListSkillsWithResponse request
	ListSkillsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListSkillsParams, reqEditors ...RequestEditorFn) (*ListSkillsResponse, error)

	// CreateSkillWithBodyWithResponse request with any body
	CreateSkillWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSkillResponse, error)

	CreateSkillWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSkillResponse, error)

	// ImportSkillWithBodyWithResponse request with any body
	ImportSkillWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportSkillResponse, error)

	ImportSkillWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body ImportSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportSkillResponse, error)

	// DeleteSkillWithResponse request
	DeleteSkillWithResponse(ctx context.Context, projectHandle ProjectHandleParam, skillId string, reqEditors ...RequestEditorFn) (*DeleteSkillResponse, error)

	// GetSkillWithResponse request
	GetSkillWithResponse(ctx context.Context, projectHandle ProjectHandleParam, skillId string, reqEditors ...RequestEditorFn) (*GetSkillResponse, error)

	// UpdateSkillWithBodyWithResponse request with any body
	UpdateSkillWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, skillId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSkillResponse, error)

	UpdateSkillWithResponse(ctx context.Context, projectHandle ProjectHandleParam, skillId string, body UpdateSkillJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSkillResponse, error)

	// ListTablesWithResponse request
	ListTablesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListTablesParams, reqEditors ...RequestEditorFn) (*ListTablesResponse, error)

	// CreateTableWithBodyWithResponse request with any body
	CreateTableWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTableResponse, error)

	CreateTableWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateTableJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTableResponse, error)

	// DeleteTableWithResponse request
	DeleteTableWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, reqEditors ...RequestEditorFn) (*DeleteTableResponse, error)

	// GetTableWithResponse request
	GetTableWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, reqEditors ...RequestEditorFn) (*GetTableResponse, error)

	// UpdateTableWithBodyWithResponse request with any body
	UpdateTableWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTableResponse, error)

	UpdateTableWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body UpdateTableJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTableResponse, error)

	// BulkCreateTableRowsWithBodyWithResponse request with any body
	BulkCreateTableRowsWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkCreateTableRowsResponse, error)

	BulkCreateTableRowsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body BulkCreateTableRowsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkCreateTableRowsResponse, error)

	// QueryTableRowsWithBodyWithResponse request with any body
	QueryTableRowsWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*QueryTableRowsResponse, error)

	QueryTableRowsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body QueryTableRowsJSONRequestBody, reqEditors ...RequestEditorFn) (*QueryTableRowsResponse, error)

	// CreateTableRowWithBodyWithResponse request with any body
	CreateTableRowWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTableRowResponse, error)

	CreateTableRowWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body CreateTableRowJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTableRowResponse, error)

	// DeleteTableRowWithResponse request
	DeleteTableRowWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string, reqEditors ...RequestEditorFn) (*DeleteTableRowResponse, error)

	// GetTableRowWithResponse request
	GetTableRowWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string, reqEditors ...RequestEditorFn) (*GetTableRowResponse, error)

	// UpdateTableRowWithBodyWithResponse request with any body
	UpdateTableRowWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTableRowResponse, error)

	UpdateTableRowWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, rowId string, body UpdateTableRowJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTableRowResponse, error)

	// SearchTableRowsWithBodyWithResponse request with any body
	SearchTableRowsWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SearchTableRowsResponse, error)

	SearchTableRowsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body SearchTableRowsJSONRequestBody, reqEditors ...RequestEditorFn) (*SearchTableRowsResponse, error)

	// GetTableStatsWithResponse request
	GetTableStatsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, reqEditors ...RequestEditorFn) (*GetTableStatsResponse, error)

	// UpsertTableRowWithBodyWithResponse request with any body
	UpsertTableRowWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpsertTableRowResponse, error)

	UpsertTableRowWithResponse(ctx context.Context, projectHandle ProjectHandleParam, tableId TableIDParam, body UpsertTableRowJSONRequestBody, reqEditors ...RequestEditorFn) (*UpsertTableRowResponse, error)

	// ListToolkitsWithResponse request
	ListToolkitsWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListToolkitsParams, reqEditors ...RequestEditorFn) (*ListToolkitsResponse, error)

	// CreateToolkitWithBodyWithResponse request with any body
	CreateToolkitWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateToolkitResponse, error)

	CreateToolkitWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateToolkitJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateToolkitResponse, error)

	// DeleteToolkitWithResponse request
	DeleteToolkitWithResponse(ctx context.Context, projectHandle ProjectHandleParam, toolkitId string, reqEditors ...RequestEditorFn) (*DeleteToolkitResponse, error)

	// GetToolkitWithResponse request
	GetToolkitWithResponse(ctx context.Context, projectHandle ProjectHandleParam, toolkitId string, reqEditors ...RequestEditorFn) (*GetToolkitResponse, error)

	// UpdateToolkitWithBodyWithResponse request with any body
	UpdateToolkitWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, toolkitId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateToolkitResponse, error)

	UpdateToolkitWithResponse(ctx context.Context, projectHandle ProjectHandleParam, toolkitId string, body UpdateToolkitJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateToolkitResponse, error)

	// ListTurnMessagesWithResponse request
	ListTurnMessagesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, turnId TurnIdParam, params *ListTurnMessagesParams, reqEditors ...RequestEditorFn) (*ListTurnMessagesResponse, error)

	// ListWebhooksWithResponse request
	ListWebhooksWithResponse(ctx context.Context, projectHandle ProjectHandleParam, params *ListWebhooksParams, reqEditors ...RequestEditorFn) (*ListWebhooksResponse, error)

	// CreateWebhookWithBodyWithResponse request with any body
	CreateWebhookWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)

	CreateWebhookWithResponse(ctx context.Context, projectHandle ProjectHandleParam, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookResponse, error)

	// DeleteWebhookWithResponse request
	DeleteWebhookWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*DeleteWebhookResponse, error)

	// GetWebhookWithResponse request
	GetWebhookWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*GetWebhookResponse, error)

	// UpdateWebhookWithBodyWithResponse request with any body
	UpdateWebhookWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

	UpdateWebhookWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookResponse, error)

	// ListWebhookDeliveriesWithResponse request
	ListWebhookDeliveriesWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, params *ListWebhookDeliveriesParams, reqEditors ...RequestEditorFn) (*ListWebhookDeliveriesResponse, error)

	// PingWebhookWithBodyWithResponse request with any body
	PingWebhookWithBodyWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PingWebhookResponse, error)

	PingWebhookWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, body PingWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*PingWebhookResponse, error)

	// RotateWebhookSecretWithResponse request
	RotateWebhookSecretWithResponse(ctx context.Context, projectHandle ProjectHandleParam, resourceId IDParam, reqEditors ...RequestEditorFn) (*RotateWebhookSecretResponse, error)

	// OpenWorkerSocketWithResponse request
	OpenWorkerSocketWithResponse(ctx context.Context, projectHandle ProjectHandleParam, reqEditors ...RequestEditorFn) (*OpenWorkerSocketResponse, error)

	// DeliverHTTPTriggerWithBodyWithResponse request with any body
	DeliverHTTPTriggerWithBodyWithResponse(ctx context.Context, httpHandle string, params *DeliverHTTPTriggerParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeliverHTTPTriggerResponse, error)

	DeliverHTTPTriggerWithResponse(ctx context.Context, httpHandle string, params *DeliverHTTPTriggerParams, body DeliverHTTPTriggerJSONRequestBody, reqEditors ...RequestEditorFn) (*DeliverHTTPTriggerResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ColumnDef added in v0.0.19

type ColumnDef struct {
	// Default Default value applied when column is absent on insert
	Default interface{} `json:"default,omitempty"`

	// Deprecated Whether authors should avoid using this column in new rows.
	Deprecated *bool `json:"deprecated,omitempty"`

	// Description Human-readable explanation of the column's purpose.
	Description *string `json:"description,omitempty"`

	// Indexed Compatibility hint retained for older schemas. It does not create a physical database index.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Indexed *bool `json:"indexed,omitempty"`

	// Name Column name used as the key inside row `data`.
	Name string `json:"name"`

	// Required Whether inserts must include a non-null value for this column.
	Required *bool `json:"required,omitempty"`

	// Type Column value type: `string`, `number`, `boolean`, `date`, `object`, `array`, or `any`.
	Type ColumnType `json:"type"`
}

ColumnDef One typed column in a table schema.

type ColumnType added in v0.0.19

type ColumnType string

ColumnType Column value type: `string`, `number`, `boolean`, `date`, `object`, `array`, or `any`.

const (
	ColumnTypeAny     ColumnType = "any"
	ColumnTypeArray   ColumnType = "array"
	ColumnTypeBoolean ColumnType = "boolean"
	ColumnTypeDate    ColumnType = "date"
	ColumnTypeNumber  ColumnType = "number"
	ColumnTypeObject  ColumnType = "object"
	ColumnTypeString  ColumnType = "string"
)

Defines values for ColumnType.

func (ColumnType) Valid added in v0.0.19

func (e ColumnType) Valid() bool

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

type CompactSessionResponse added in v0.0.29

type CompactSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Session
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseCompactSessionResponse added in v0.0.29

func ParseCompactSessionResponse(rsp *http.Response) (*CompactSessionResponse, error)

ParseCompactSessionResponse parses an HTTP response from a CompactSessionWithResponse call

func (CompactSessionResponse) ContentType added in v0.0.29

func (r CompactSessionResponse) ContentType() string

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

func (CompactSessionResponse) Status added in v0.0.29

func (r CompactSessionResponse) Status() string

Status returns HTTPResponse.Status

func (CompactSessionResponse) StatusCode added in v0.0.29

func (r CompactSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CompactionCreatedPayload added in v0.0.29

type CompactionCreatedPayload struct {
	// Content The summary's full canonical content blocks, so replaying the stream reconstructs the compaction entry exactly.
	Content *[]SessionContentBlock `json:"content,omitempty"`

	// CoversThroughSequence Highest message sequence the new summary covers — the before/after boundary.
	CoversThroughSequence *int `json:"covers_through_sequence,omitempty"`

	// MessageCount Number of transcript messages folded into this summary.
	MessageCount *int `json:"message_count,omitempty"`

	// MessageId Id of the compaction summary message appended to the transcript.
	MessageId *string `json:"message_id,omitempty"`

	// Role Transcript role of the summary entry.
	Role *string `json:"role,omitempty"`

	// Sequence The summary message's per-session transcript sequence.
	Sequence *int64 `json:"sequence,omitempty"`

	// SummaryModel Model that produced the summary.
	SummaryModel         *string                `json:"summary_model,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

CompactionCreatedPayload Payload of a `compaction.created` event, emitted when the session transcript is summarized. The event is non-terminal: it never closes the session stream, so a live consumer observes a compaction landing inline.

func (CompactionCreatedPayload) Get added in v0.0.29

func (a CompactionCreatedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for CompactionCreatedPayload. Returns the specified element and whether it was found

func (CompactionCreatedPayload) MarshalJSON added in v0.0.29

func (a CompactionCreatedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for CompactionCreatedPayload to handle AdditionalProperties

func (*CompactionCreatedPayload) Set added in v0.0.29

func (a *CompactionCreatedPayload) Set(fieldName string, value interface{})

Setter for additional properties for CompactionCreatedPayload

func (*CompactionCreatedPayload) UnmarshalJSON added in v0.0.29

func (a *CompactionCreatedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for CompactionCreatedPayload to handle AdditionalProperties

type Conflict

type Conflict = ErrorResponse

Conflict Standard error envelope returned by API endpoints.

type Consumer added in v0.0.21

type Consumer struct {
	// AgentTool Agent tool continuation target when `kind=agent_tool`; null for other consumer kinds.
	AgentTool *AgentToolConsumer `json:"agent_tool,omitempty"`

	// HttpSubscriber HTTP callback target when `kind=http_subscriber`; null for other consumer kinds.
	HttpSubscriber *HttpSubscriberConsumer `json:"http_subscriber,omitempty"`
	Kind           ConsumerKind            `json:"kind"`

	// Run Run resume target when `kind=run`; null for other consumer kinds.
	Run *RunConsumer `json:"run,omitempty"`
}

Consumer Polymorphic identifier of what is waiting on this interaction's resolution. Replaces the previously special-cased `run_id` + `signal_name` pair. When `kind=run`, the legacy fields are also populated for compatibility. `http_subscriber` requires `secret_ref` and enqueues a durable callback dispatch to `callback_url` when the interaction resolves; the canonical string `v1.{delivery_id}.{unix_timestamp}.{raw_body}` is signed with HMAC-SHA256 against the resolved project signing key and the signed dispatch carries `X-Mobius-Signature`, `X-Mobius-Secret-Ref`, `X-Mobius-Secret-Version`, and `X-Mobius-Timestamp`. Signed dispatches also carry `X-Mobius-Signature-Version: v1`. Every durable dispatch also carries the stable outbox row id in `X-Mobius-Delivery-Id` and `Idempotency-Key`; retries reuse the same value. Verifiers should recompute the signature over the exact raw body, reject stale timestamps (for example, older than five minutes), deduplicate by delivery id, and check the signing headers.

type ConsumerKind added in v0.0.21

type ConsumerKind string

ConsumerKind defines model for Consumer.Kind.

const (
	ConsumerKindAgentTool      ConsumerKind = "agent_tool"
	ConsumerKindHttpSubscriber ConsumerKind = "http_subscriber"
	ConsumerKindNone           ConsumerKind = "none"
	ConsumerKindRun            ConsumerKind = "run"
)

Defines values for ConsumerKind.

func (ConsumerKind) Valid added in v0.0.21

func (e ConsumerKind) Valid() bool

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

type ContextIncludeParam added in v0.0.48

type ContextIncludeParam string

ContextIncludeParam defines model for ContextIncludeParam.

const (
	ContextIncludeParamContext ContextIncludeParam = "context"
)

Defines values for ContextIncludeParam.

func (ContextIncludeParam) Valid added in v0.0.48

func (e ContextIncludeParam) Valid() bool

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

type CreateAPIKeyJSONRequestBody

type CreateAPIKeyJSONRequestBody = CreateAPIKeyRequest

CreateAPIKeyJSONRequestBody defines body for CreateAPIKey for application/json ContentType.

type CreateAPIKeyRequest

type CreateAPIKeyRequest struct {
	// AllowUnassignedPrincipal Allow minting a key for a principal with no project role assignments. The resulting key cannot access project resources until a role is assigned. Omit this for normal onboarding so a missing assignment fails with `principal_has_no_roles`.
	AllowUnassignedPrincipal *bool `json:"allow_unassigned_principal,omitempty"`

	// ExpiresAt Optional hard expiry. Omit for a non-expiring key.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`

	// Name Human-readable label, unique within the project.
	Name string `json:"name"`

	// PrincipalId Principal this key authenticates as.
	PrincipalId string `json:"principal_id"`

	// ScopeRoleId Optional role whose permissions cap this key below its principal's full grants.
	ScopeRoleId *string `json:"scope_role_id,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`
}

CreateAPIKeyRequest Request shape for creating a project API key bound to a machine principal. The key authenticates as that principal; permissions are managed by assigning roles to the principal, not by granting permissions to the key.

type CreateAPIKeyResponse

type CreateAPIKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *APIKeyCreateResult
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseCreateAPIKeyResponse

func ParseCreateAPIKeyResponse(rsp *http.Response) (*CreateAPIKeyResponse, error)

ParseCreateAPIKeyResponse parses an HTTP response from a CreateAPIKeyWithResponse call

func (CreateAPIKeyResponse) ContentType added in v0.0.21

func (r CreateAPIKeyResponse) ContentType() string

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

func (CreateAPIKeyResponse) Status

func (r CreateAPIKeyResponse) Status() string

Status returns HTTPResponse.Status

func (CreateAPIKeyResponse) StatusCode

func (r CreateAPIKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateActionJSONRequestBody

type CreateActionJSONRequestBody = CreateActionRequest

CreateActionJSONRequestBody defines body for CreateAction for application/json ContentType.

type CreateActionRequest added in v0.0.3

type CreateActionRequest struct {
	// Annotations Request hints that describe the safe-use properties of the action. Used by the engine and tooling to decide retry behavior, dry-run eligibility, etc. Unknown request properties are rejected.
	Annotations *ActionAnnotationsRequest `json:"annotations,omitempty"`

	// Description Markdown-safe description of what the action does.
	Description *string `json:"description,omitempty"`

	// EndpointKind Backing kind for the action. `http` actions POST to `endpoint_url` with a Mobius signature. `worker` actions are dispatched through jobs to connected workers that advertise this registered name.
	EndpointKind *ActionEndpointKind `json:"endpoint_kind,omitempty"`

	// EndpointUrl Required when endpoint_kind is `http`; omitted for worker actions.
	EndpointUrl *string `json:"endpoint_url,omitempty"`

	// InputSchema JSON Schema describing the expected input parameters.
	InputSchema *map[string]interface{} `json:"input_schema,omitempty"`

	// InvocationFormat Request-body contract for HTTP invocations. Omit to preserve the legacy body. `signed_context_v1` is valid only with `endpoint_kind: http`.
	InvocationFormat *ActionInvocationFormat `json:"invocation_format,omitempty"`

	// Name Identifier used in loop step definitions. Lowercase alphanumeric + hyphens, e.g. "send-email". Must be unique within the project. Cannot start with "mobius." (reserved prefix).
	Name string `json:"name"`

	// OutputSchema JSON Schema describing the expected output shape.
	OutputSchema *map[string]interface{} `json:"output_schema,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// Title Human-readable display name shown in the UI and catalog.
	Title *string `json:"title,omitempty"`
}

CreateActionRequest Registers a project-owned custom action callable from loops and agents.

type CreateActionResponse

type CreateActionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Action
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseCreateActionResponse

func ParseCreateActionResponse(rsp *http.Response) (*CreateActionResponse, error)

ParseCreateActionResponse parses an HTTP response from a CreateActionWithResponse call

func (CreateActionResponse) ContentType added in v0.0.21

func (r CreateActionResponse) ContentType() string

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

func (CreateActionResponse) Status

func (r CreateActionResponse) Status() string

Status returns HTTPResponse.Status

func (CreateActionResponse) StatusCode

func (r CreateActionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateAgentJSONRequestBody added in v0.0.3

type CreateAgentJSONRequestBody = CreateAgentRequest

CreateAgentJSONRequestBody defines body for CreateAgent for application/json ContentType.

type CreateAgentRequest added in v0.0.3

type CreateAgentRequest struct {
	// Color Display color for this agent (Mantine palette key, e.g. `indigo`). Optional; empty falls back to a hash-derived color.
	Color *string `json:"color,omitempty"`

	// CompactionPolicy Controls how a session's transcript is automatically summarized as it grows. On create the supplied fields are merged over the owning agent's default policy and the server defaults; on update they patch the session's current policy. Omitted fields keep their resolved values.
	CompactionPolicy *SessionCompactionPolicy `json:"compaction_policy,omitempty"`

	// Description Optional human-readable description.
	Description *string `json:"description,omitempty"`

	// ExternalRef Client-owned durable identity key. Unique within the project when present. Treat this as assign-once: create requests may set it; update requests may set it only while the agent has no existing external_ref, or repeat the current value idempotently. When set, the organization definition resolver addresses this agent as `agent/<external_ref>`. Required when `if_exists` is `adopt`.
	ExternalRef *string `json:"external_ref,omitempty"`

	// IfExists Create-or-adopt behavior when a request's `external_ref` matches an existing resource. `error` (the default) rejects the request with 409. `adopt` returns the existing resource unchanged instead — mutable fields in the request are ignored, since no write happens — and requires `external_ref` to be set; omitting it returns 400.
	IfExists *IfExists `json:"if_exists,omitempty"`

	// MemoryContext Automatic memory delivery policy. The JSON object requires `mode` (`index`, `full`, or `off`) and optionally accepts `max_bytes`, for example `{"mode":"full","max_bytes":131072}`.
	MemoryContext *MemoryContextPolicy `json:"memory_context,omitempty"`

	// Model Model identifier for agents. Any id from `GET /v1/projects/{project_handle}/catalog/models`, including slash-bearing OpenRouter catalog ids, or an optionally `provider/`-prefixed id (e.g. `xai/grok-4`); bare known ids (e.g. `claude-sonnet-4-6`) are auto-detected. Empty falls back to the platform default.
	Model *string `json:"model,omitempty"`

	// ModelRoute Default model route used by built-in messaging and by loop agent steps that do not override the route.
	ModelRoute *AgentModelRoute `json:"model_route,omitempty"`

	// Name Unique name for this agent. Free-form human-readable label, 1-63 characters.
	Name string `json:"name"`

	// SystemPrompt Custom system prompt for agents. Empty uses the generated default.
	SystemPrompt *string `json:"system_prompt,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// ThinkingEffort Reasoning-effort level for a turn, lowest (`low`) to highest (`max`). Higher effort spends more tokens on reasoning, improving quality on hard tasks at the cost of latency and credits. Levels above what the resolved model supports are clamped down. Set on an agent it is the default; set on a session or loop step it overrides the agent default. `inherit` (or omitting the field) defers to the layer below — the agent default for a session/step, or the provider's own default when nothing sets a level.
	ThinkingEffort *ThinkingEffort `json:"thinking_effort,omitempty"`

	// TimeoutSeconds Per-turn execution timeout in seconds for this agent. Omit or `0` to use the platform default (600s / 10 minutes); a loop step's own timeout overrides it for that step.
	TimeoutSeconds *int64 `json:"timeout_seconds,omitempty"`

	// ToolPresentation Controls how granted actions are surfaced to the model in Mobius-hosted agent turns. `meta` (the default) groups related actions behind compact command routers, while `flat` exposes one tool per action.
	ToolPresentation *AgentToolPresentation `json:"tool_presentation,omitempty"`
}

CreateAgentRequest defines model for CreateAgentRequest.

type CreateAgentResponse added in v0.0.3

type CreateAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Agent
	JSON201      *Agent
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseCreateAgentResponse added in v0.0.3

func ParseCreateAgentResponse(rsp *http.Response) (*CreateAgentResponse, error)

ParseCreateAgentResponse parses an HTTP response from a CreateAgentWithResponse call

func (CreateAgentResponse) ContentType added in v0.0.21

func (r CreateAgentResponse) ContentType() string

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

func (CreateAgentResponse) Status added in v0.0.3

func (r CreateAgentResponse) Status() string

Status returns HTTPResponse.Status

func (CreateAgentResponse) StatusCode added in v0.0.3

func (r CreateAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateArtifactMultipartRequestBody added in v0.0.22

type CreateArtifactMultipartRequestBody = CreateArtifactRequest

CreateArtifactMultipartRequestBody defines body for CreateArtifact for multipart/form-data ContentType.

type CreateArtifactParams added in v0.0.22

type CreateArtifactParams struct {
	// XMobiusLeaseToken Active job lease token for worker-produced artifacts.
	XMobiusLeaseToken *string `json:"X-Mobius-Lease-Token,omitempty"`

	// IdempotencyKey Optional durable retry key, unique within the authenticated principal's project scope.
	IdempotencyKey *string `json:"Idempotency-Key,omitempty"`
}

CreateArtifactParams defines parameters for CreateArtifact.

type CreateArtifactRequest added in v0.0.22

type CreateArtifactRequest struct {
	// File File bytes to upload into artifact storage. Multipart parts may be sent in any order; Mobius reads metadata fields and temporarily spools the file part when needed before streaming bytes to artifact storage.
	File openapi_types.File `json:"file"`

	// Metadata Optional caller metadata JSON object. Encoded as JSON in the multipart field and limited to 64 KiB.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Mime Optional MIME type override. Defaults to the uploaded file part content type, then `application/octet-stream`.
	Mime *string `json:"mime,omitempty"`

	// Name Display name or relative virtual path. Forward slash may be used to organize artifacts inside private or shared project space.
	Name string `json:"name"`

	// SizeBytes Optional declared file size. When supplied, Mobius verifies the streamed byte count exactly matches this value.
	SizeBytes *int64 `json:"size_bytes,omitempty"`
}

CreateArtifactRequest defines model for CreateArtifactRequest.

type CreateArtifactResponse added in v0.0.22

type CreateArtifactResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Artifact
	JSON201      *Artifact
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON409      *Conflict
}

func ParseCreateArtifactResponse added in v0.0.22

func ParseCreateArtifactResponse(rsp *http.Response) (*CreateArtifactResponse, error)

ParseCreateArtifactResponse parses an HTTP response from a CreateArtifactWithResponse call

func (CreateArtifactResponse) ContentType added in v0.0.22

func (r CreateArtifactResponse) ContentType() string

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

func (CreateArtifactResponse) Status added in v0.0.22

func (r CreateArtifactResponse) Status() string

Status returns HTTPResponse.Status

func (CreateArtifactResponse) StatusCode added in v0.0.22

func (r CreateArtifactResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateArtifactSignedUrlParams added in v0.0.22

type CreateArtifactSignedUrlParams struct {
	// TtlSeconds Requested signed URL TTL. The server caps this at the maximum supported artifact download TTL.
	TtlSeconds *int64 `form:"ttl_seconds,omitempty" json:"ttl_seconds,omitempty"`
}

CreateArtifactSignedUrlParams defines parameters for CreateArtifactSignedUrl.

type CreateArtifactSignedUrlResponse added in v0.0.22

type CreateArtifactSignedUrlResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ArtifactSignedUrl
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseCreateArtifactSignedUrlResponse added in v0.0.22

func ParseCreateArtifactSignedUrlResponse(rsp *http.Response) (*CreateArtifactSignedUrlResponse, error)

ParseCreateArtifactSignedUrlResponse parses an HTTP response from a CreateArtifactSignedUrlWithResponse call

func (CreateArtifactSignedUrlResponse) ContentType added in v0.0.22

func (r CreateArtifactSignedUrlResponse) ContentType() string

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

func (CreateArtifactSignedUrlResponse) Status added in v0.0.22

Status returns HTTPResponse.Status

func (CreateArtifactSignedUrlResponse) StatusCode added in v0.0.22

func (r CreateArtifactSignedUrlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateEnvironmentJSONRequestBody added in v0.0.21

type CreateEnvironmentJSONRequestBody = CreateEnvironmentRequest

CreateEnvironmentJSONRequestBody defines body for CreateEnvironment for application/json ContentType.

type CreateEnvironmentRequest added in v0.0.21

type CreateEnvironmentRequest struct {
	// Name Human-readable environment name.
	Name *string `json:"name,omitempty"`

	// OwnedBy Canonical user owner ID. Defaults to the authenticated user.
	OwnedBy *string `json:"owned_by,omitempty"`

	// Provider Providers the control plane can provision on demand. Worker-provided environments are registered out-of-band via the attach endpoint and are never provisioned through create/acquire.
	Provider *ProvisionEnvironmentProvider `json:"provider,omitempty"`

	// Scope Optional namespace for named runtime resources. Omitted/null means the project/default scope; `owner` means names are unique within `(project, owned_by)`.
	Scope *ResourceScope `json:"scope,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// TemplateId V1 supports only coding-default.
	TemplateId *CreateEnvironmentRequestTemplateId `json:"template_id,omitempty"`
}

CreateEnvironmentRequest Request body for creating a managed environment.

type CreateEnvironmentRequestTemplateId added in v0.0.21

type CreateEnvironmentRequestTemplateId string

CreateEnvironmentRequestTemplateId V1 supports only coding-default.

const (
	CreateEnvironmentRequestTemplateIdCodingDefault CreateEnvironmentRequestTemplateId = "coding-default"
)

Defines values for CreateEnvironmentRequestTemplateId.

func (CreateEnvironmentRequestTemplateId) Valid added in v0.0.21

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

type CreateEnvironmentResponse added in v0.0.21

type CreateEnvironmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Environment
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseCreateEnvironmentResponse added in v0.0.21

func ParseCreateEnvironmentResponse(rsp *http.Response) (*CreateEnvironmentResponse, error)

ParseCreateEnvironmentResponse parses an HTTP response from a CreateEnvironmentWithResponse call

func (CreateEnvironmentResponse) ContentType added in v0.0.21

func (r CreateEnvironmentResponse) ContentType() string

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

func (CreateEnvironmentResponse) Status added in v0.0.21

func (r CreateEnvironmentResponse) Status() string

Status returns HTTPResponse.Status

func (CreateEnvironmentResponse) StatusCode added in v0.0.21

func (r CreateEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateInteractionJSONRequestBody

type CreateInteractionJSONRequestBody = CreateInteractionRequest

CreateInteractionJSONRequestBody defines body for CreateInteraction for application/json ContentType.

type CreateInteractionRequest

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

CreateInteractionRequest Creates an interaction directly. Use the standalone variant with no loop-run side effect, or the run-backed variant that requires both `run_id` and `signal_name` so completion can resume the run. For worker/job usage, prefer the job-scoped route so the server can derive the owning run from the claimed job context.

func (CreateInteractionRequest) AsCreateRunBackedInteractionRequest added in v0.0.7

func (t CreateInteractionRequest) AsCreateRunBackedInteractionRequest() (CreateRunBackedInteractionRequest, error)

AsCreateRunBackedInteractionRequest returns the union data inside the CreateInteractionRequest as a CreateRunBackedInteractionRequest

func (CreateInteractionRequest) AsCreateStandaloneInteractionRequest added in v0.0.7

func (t CreateInteractionRequest) AsCreateStandaloneInteractionRequest() (CreateStandaloneInteractionRequest, error)

AsCreateStandaloneInteractionRequest returns the union data inside the CreateInteractionRequest as a CreateStandaloneInteractionRequest

func (*CreateInteractionRequest) FromCreateRunBackedInteractionRequest added in v0.0.7

func (t *CreateInteractionRequest) FromCreateRunBackedInteractionRequest(v CreateRunBackedInteractionRequest) error

FromCreateRunBackedInteractionRequest overwrites any union data inside the CreateInteractionRequest as the provided CreateRunBackedInteractionRequest

func (*CreateInteractionRequest) FromCreateStandaloneInteractionRequest added in v0.0.7

func (t *CreateInteractionRequest) FromCreateStandaloneInteractionRequest(v CreateStandaloneInteractionRequest) error

FromCreateStandaloneInteractionRequest overwrites any union data inside the CreateInteractionRequest as the provided CreateStandaloneInteractionRequest

func (CreateInteractionRequest) MarshalJSON added in v0.0.7

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

func (*CreateInteractionRequest) MergeCreateRunBackedInteractionRequest added in v0.0.7

func (t *CreateInteractionRequest) MergeCreateRunBackedInteractionRequest(v CreateRunBackedInteractionRequest) error

MergeCreateRunBackedInteractionRequest performs a merge with any union data inside the CreateInteractionRequest, using the provided CreateRunBackedInteractionRequest

func (*CreateInteractionRequest) MergeCreateStandaloneInteractionRequest added in v0.0.7

func (t *CreateInteractionRequest) MergeCreateStandaloneInteractionRequest(v CreateStandaloneInteractionRequest) error

MergeCreateStandaloneInteractionRequest performs a merge with any union data inside the CreateInteractionRequest, using the provided CreateStandaloneInteractionRequest

func (*CreateInteractionRequest) UnmarshalJSON added in v0.0.7

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

type CreateInteractionResponse

type CreateInteractionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Interaction
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseCreateInteractionResponse

func ParseCreateInteractionResponse(rsp *http.Response) (*CreateInteractionResponse, error)

ParseCreateInteractionResponse parses an HTTP response from a CreateInteractionWithResponse call

func (CreateInteractionResponse) ContentType added in v0.0.21

func (r CreateInteractionResponse) ContentType() string

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

func (CreateInteractionResponse) Status

func (r CreateInteractionResponse) Status() string

Status returns HTTPResponse.Status

func (CreateInteractionResponse) StatusCode

func (r CreateInteractionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateLoopJSONRequestBody added in v0.0.24

type CreateLoopJSONRequestBody = CreateLoopRequest

CreateLoopJSONRequestBody defines body for CreateLoop for application/json ContentType.

type CreateLoopRequest added in v0.0.24

type CreateLoopRequest struct {
	// AgentId Agent associated with this loop. Agent steps use it when they do not pin `config.agent_id`.
	AgentId *string `json:"agent_id,omitempty"`

	// Cleanup Cleanup steps or policies evaluated after normal step execution.
	Cleanup *[]map[string]interface{} `json:"cleanup,omitempty"`

	// Concurrency Concurrency behavior: `allow`, `queue`, `skip`, or `replace`.
	Concurrency *CreateLoopRequestConcurrency `json:"concurrency,omitempty"`

	// Config Declared run config fields for this loop.
	Config *map[string]LoopSpecInput `json:"config,omitempty"`

	// DefaultConfig Default config values used when a run is started without overrides.
	DefaultConfig *map[string]interface{} `json:"default_config,omitempty"`

	// Defaults Run-level defaults inside the loop spec. Lives at `spec.defaults` in the JSON the engine compiles. The run wall-clock limit moved to `limits.wall_clock_timeout`.
	Defaults *LoopSpecDefaults `json:"defaults,omitempty"`

	// Description Markdown description of the loop's purpose.
	Description *string `json:"description,omitempty"`

	// Event Declared event fields for this loop.
	Event *map[string]LoopSpecInput `json:"event,omitempty"`

	// Limits Run guardrails. Lives at `spec.limits` in the JSON the engine compiles. Every limit is optional; absent or zero means unbounded (plan-level org caps still apply), with one exception — trial-plan runs default to a 100-credit ($1) budget when no budget is set here or on the start request. Paid plans default to unbounded.
	Limits *LoopSpecLimits `json:"limits,omitempty"`

	// Name Human-readable display name.
	Name string `json:"name"`

	// Output Declared run result contract.
	Output *map[string]interface{} `json:"output,omitempty"`

	// Repositories Source repositories the loop targets.
	Repositories *[]LoopSpecRepository `json:"repositories,omitempty"`

	// RunName Templates for assigning an operator-facing title and optional description to each run. The object form leaves room for additional naming strategies without changing the loop spec shape.
	RunName *RunNameSpec `json:"run_name,omitempty"`

	// SchemaVersion Loop authoring schema version. Only schema version 1 is accepted.
	SchemaVersion *CreateLoopRequestSchemaVersion `json:"schema_version,omitempty"`

	// Settings Free-form loop-level settings consumed by the engine.
	Settings *map[string]interface{} `json:"settings,omitempty"`

	// Steps Ordered user-authored steps to execute for each run. When present, the definition is runnable immediately.
	Steps *[]LoopStep `json:"steps,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// Triggers Authored trigger declarations for this loop.
	Triggers *[]LoopSpecTrigger `json:"triggers,omitempty"`
}

CreateLoopRequest defines model for CreateLoopRequest.

type CreateLoopRequestConcurrency added in v0.0.25

type CreateLoopRequestConcurrency string

CreateLoopRequestConcurrency Concurrency behavior: `allow`, `queue`, `skip`, or `replace`.

const (
	CreateLoopRequestConcurrencyAllow   CreateLoopRequestConcurrency = "allow"
	CreateLoopRequestConcurrencyQueue   CreateLoopRequestConcurrency = "queue"
	CreateLoopRequestConcurrencyReplace CreateLoopRequestConcurrency = "replace"
	CreateLoopRequestConcurrencySkip    CreateLoopRequestConcurrency = "skip"
)

Defines values for CreateLoopRequestConcurrency.

func (CreateLoopRequestConcurrency) Valid added in v0.0.25

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

type CreateLoopRequestSchemaVersion added in v0.0.25

type CreateLoopRequestSchemaVersion string

CreateLoopRequestSchemaVersion Loop authoring schema version. Only schema version 1 is accepted.

const (
	CreateLoopRequestSchemaVersionN1 CreateLoopRequestSchemaVersion = "1"
)

Defines values for CreateLoopRequestSchemaVersion.

func (CreateLoopRequestSchemaVersion) Valid added in v0.0.25

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

type CreateLoopResponse added in v0.0.24

type CreateLoopResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Loop
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseCreateLoopResponse added in v0.0.24

func ParseCreateLoopResponse(rsp *http.Response) (*CreateLoopResponse, error)

ParseCreateLoopResponse parses an HTTP response from a CreateLoopWithResponse call

func (CreateLoopResponse) ContentType added in v0.0.24

func (r CreateLoopResponse) ContentType() string

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

func (CreateLoopResponse) Status added in v0.0.24

func (r CreateLoopResponse) Status() string

Status returns HTTPResponse.Status

func (CreateLoopResponse) StatusCode added in v0.0.24

func (r CreateLoopResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateOrgAPIKeyJSONRequestBody added in v0.0.36

type CreateOrgAPIKeyJSONRequestBody = CreateOrgAPIKeyRequest

CreateOrgAPIKeyJSONRequestBody defines body for CreateOrgAPIKey for application/json ContentType.

type CreateOrgAPIKeyRequest added in v0.0.36

type CreateOrgAPIKeyRequest struct {
	// ExpiresAt Optional hard expiry. Omit for a non-expiring key.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`

	// Name Human-readable label, unique among organization API keys.
	Name string `json:"name"`

	// Role System role the key acts as, applied org-wide across every project. Defaults to `Admin`. `Owner` grants full control (including billing and org deletion); `Admin` covers org and project administration without billing; lower roles narrow to build/run, run-only, or read-only.
	Role *CreateOrgAPIKeyRequestRole `json:"role,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`
}

CreateOrgAPIKeyRequest Request shape for creating an organization-level API key. The key authenticates as the organization's system principal and acts with the chosen `role` applied org-wide across every project.

type CreateOrgAPIKeyRequestRole added in v0.0.36

type CreateOrgAPIKeyRequestRole string

CreateOrgAPIKeyRequestRole System role the key acts as, applied org-wide across every project. Defaults to `Admin`. `Owner` grants full control (including billing and org deletion); `Admin` covers org and project administration without billing; lower roles narrow to build/run, run-only, or read-only.

const (
	CreateOrgAPIKeyRequestRoleAdmin    CreateOrgAPIKeyRequestRole = "Admin"
	CreateOrgAPIKeyRequestRoleEditor   CreateOrgAPIKeyRequestRole = "Editor"
	CreateOrgAPIKeyRequestRoleOperator CreateOrgAPIKeyRequestRole = "Operator"
	CreateOrgAPIKeyRequestRoleOwner    CreateOrgAPIKeyRequestRole = "Owner"
	CreateOrgAPIKeyRequestRoleViewer   CreateOrgAPIKeyRequestRole = "Viewer"
)

Defines values for CreateOrgAPIKeyRequestRole.

func (CreateOrgAPIKeyRequestRole) Valid added in v0.0.36

func (e CreateOrgAPIKeyRequestRole) Valid() bool

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

type CreateOrgAPIKeyResponse added in v0.0.36

type CreateOrgAPIKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *APIKeyCreateResult
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseCreateOrgAPIKeyResponse added in v0.0.36

func ParseCreateOrgAPIKeyResponse(rsp *http.Response) (*CreateOrgAPIKeyResponse, error)

ParseCreateOrgAPIKeyResponse parses an HTTP response from a CreateOrgAPIKeyWithResponse call

func (CreateOrgAPIKeyResponse) ContentType added in v0.0.36

func (r CreateOrgAPIKeyResponse) ContentType() string

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

func (CreateOrgAPIKeyResponse) Status added in v0.0.36

func (r CreateOrgAPIKeyResponse) Status() string

Status returns HTTPResponse.Status

func (CreateOrgAPIKeyResponse) StatusCode added in v0.0.36

func (r CreateOrgAPIKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateOrganizationActionJSONRequestBody added in v0.0.54

type CreateOrganizationActionJSONRequestBody = CreateOrganizationActionRequest

CreateOrganizationActionJSONRequestBody defines body for CreateOrganizationAction for application/json ContentType.

type CreateOrganizationActionRequest added in v0.0.54

type CreateOrganizationActionRequest struct {
	// Annotations Request hints that describe the safe-use properties of the action. Used by the engine and tooling to decide retry behavior, dry-run eligibility, etc. Unknown request properties are rejected.
	Annotations *ActionAnnotationsRequest `json:"annotations,omitempty"`
	Description *string                   `json:"description,omitempty"`
	Enabled     *bool                     `json:"enabled,omitempty"`

	// EndpointUrl Public HTTPS endpoint. Private, loopback, link-local, and redirect targets are rejected.
	EndpointUrl      string                                           `json:"endpoint_url"`
	InputSchema      *map[string]interface{}                          `json:"input_schema,omitempty"`
	InvocationFormat *CreateOrganizationActionRequestInvocationFormat `json:"invocation_format,omitempty"`

	// Name Canonical dotted name selected by project toolkits.
	Name         string                  `json:"name"`
	OutputSchema *map[string]interface{} `json:"output_schema,omitempty"`
	Title        *string                 `json:"title,omitempty"`
}

CreateOrganizationActionRequest defines model for CreateOrganizationActionRequest.

type CreateOrganizationActionRequestInvocationFormat added in v0.0.54

type CreateOrganizationActionRequestInvocationFormat string

CreateOrganizationActionRequestInvocationFormat defines model for CreateOrganizationActionRequest.InvocationFormat.

const (
	CreateOrganizationActionRequestInvocationFormatSignedContextV1 CreateOrganizationActionRequestInvocationFormat = "signed_context_v1"
)

Defines values for CreateOrganizationActionRequestInvocationFormat.

func (CreateOrganizationActionRequestInvocationFormat) Valid added in v0.0.54

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

type CreateOrganizationActionResponse added in v0.0.54

type CreateOrganizationActionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *OrganizationAction
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON409      *Conflict
}

func ParseCreateOrganizationActionResponse added in v0.0.54

func ParseCreateOrganizationActionResponse(rsp *http.Response) (*CreateOrganizationActionResponse, error)

ParseCreateOrganizationActionResponse parses an HTTP response from a CreateOrganizationActionWithResponse call

func (CreateOrganizationActionResponse) ContentType added in v0.0.54

func (r CreateOrganizationActionResponse) ContentType() string

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

func (CreateOrganizationActionResponse) Status added in v0.0.54

Status returns HTTPResponse.Status

func (CreateOrganizationActionResponse) StatusCode added in v0.0.54

func (r CreateOrganizationActionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateOrganizationSkillJSONRequestBody added in v0.0.54

type CreateOrganizationSkillJSONRequestBody = SkillRequest

CreateOrganizationSkillJSONRequestBody defines body for CreateOrganizationSkill for application/json ContentType.

type CreateOrganizationSkillResponse added in v0.0.54

type CreateOrganizationSkillResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Skill
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseCreateOrganizationSkillResponse added in v0.0.54

func ParseCreateOrganizationSkillResponse(rsp *http.Response) (*CreateOrganizationSkillResponse, error)

ParseCreateOrganizationSkillResponse parses an HTTP response from a CreateOrganizationSkillWithResponse call

func (CreateOrganizationSkillResponse) ContentType added in v0.0.54

func (r CreateOrganizationSkillResponse) ContentType() string

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

func (CreateOrganizationSkillResponse) Status added in v0.0.54

Status returns HTTPResponse.Status

func (CreateOrganizationSkillResponse) StatusCode added in v0.0.54

func (r CreateOrganizationSkillResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePrincipalJSONRequestBody added in v0.0.22

type CreatePrincipalJSONRequestBody = CreatePrincipalRequest

CreatePrincipalJSONRequestBody defines body for CreatePrincipal for application/json ContentType.

type CreatePrincipalRequest added in v0.0.22

type CreatePrincipalRequest struct {
	// Description Optional human-readable description.
	Description *string `json:"description,omitempty"`

	// Metadata Arbitrary metadata to attach to the principal.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Name Human-readable name for this principal. Immutable after creation.
	Name string `json:"name"`

	// OwnerId Human principal accountable for this service principal.
	OwnerId *string `json:"owner_id,omitempty"`

	// RoleIds One or more role IDs to assign at creation time. All assignments are created atomically with the principal. Requires `mobius.project.admin`. Each role must belong to this project or be system-defined.
	RoleIds *[]string `json:"role_ids,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`
}

CreatePrincipalRequest defines model for CreatePrincipalRequest.

type CreatePrincipalResponse added in v0.0.22

type CreatePrincipalResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Principal
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
}

func ParseCreatePrincipalResponse added in v0.0.22

func ParseCreatePrincipalResponse(rsp *http.Response) (*CreatePrincipalResponse, error)

ParseCreatePrincipalResponse parses an HTTP response from a CreatePrincipalWithResponse call

func (CreatePrincipalResponse) ContentType added in v0.0.22

func (r CreatePrincipalResponse) ContentType() string

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

func (CreatePrincipalResponse) Status added in v0.0.22

func (r CreatePrincipalResponse) Status() string

Status returns HTTPResponse.Status

func (CreatePrincipalResponse) StatusCode added in v0.0.22

func (r CreatePrincipalResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateProjectJSONRequestBody added in v0.0.3

type CreateProjectJSONRequestBody = CreateProjectRequest

CreateProjectJSONRequestBody defines body for CreateProject for application/json ContentType.

type CreateProjectRequest added in v0.0.3

type CreateProjectRequest struct {
	// AccessMode `open`: every org member can see and use the project, subject to role assignments. `restricted`: only listed project members (and org owners/admins) can see or use the project.
	AccessMode *ProjectAccessMode `json:"access_mode,omitempty"`

	// Description Optional human-readable description.
	Description *string `json:"description,omitempty"`

	// ExternalRef Client-owned tenant/workspace correlation key. Unique within the org when present. Treat this as assign-once: create requests may set it; update requests may set it only while the project has no existing external_ref. Required when `if_exists` is `adopt`.
	ExternalRef *string `json:"external_ref,omitempty"`

	// Handle URL-safe slug for API routes. Auto-derived from name if omitted. Must be unique within the org. Cannot be changed after creation.
	Handle *string `json:"handle,omitempty"`

	// IfExists Create-or-adopt behavior when a request's `external_ref` matches an existing resource. `error` (the default) rejects the request with 409. `adopt` returns the existing resource unchanged instead — mutable fields in the request are ignored, since no write happens — and requires `external_ref` to be set; omitting it returns 400.
	IfExists *IfExists `json:"if_exists,omitempty"`

	// Name Human-readable project name.
	Name string `json:"name"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`
}

CreateProjectRequest defines model for CreateProjectRequest.

type CreateProjectResponse added in v0.0.3

type CreateProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Project
	JSON201      *Project
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseCreateProjectResponse added in v0.0.3

func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, error)

ParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call

func (CreateProjectResponse) ContentType added in v0.0.21

func (r CreateProjectResponse) ContentType() string

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

func (CreateProjectResponse) Status added in v0.0.3

func (r CreateProjectResponse) Status() string

Status returns HTTPResponse.Status

func (CreateProjectResponse) StatusCode added in v0.0.3

func (r CreateProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateRoleAssignmentJSONRequestBody

type CreateRoleAssignmentJSONRequestBody = CreateRoleAssignmentRequest

CreateRoleAssignmentJSONRequestBody defines body for CreateRoleAssignment for application/json ContentType.

type CreateRoleAssignmentRequest

type CreateRoleAssignmentRequest struct {
	// PrincipalId Principal ID to assign the role to (human or machine).
	PrincipalId string `json:"principal_id"`

	// RoleId Mutually exclusive with `role_name`.
	RoleId *string `json:"role_id,omitempty"`

	// RoleName Resolved to a role ID server-side. Mutually exclusive with `role_id`.
	RoleName *string `json:"role_name,omitempty"`
	// contains filtered or unexported fields
}

CreateRoleAssignmentRequest defines model for CreateRoleAssignmentRequest.

func (CreateRoleAssignmentRequest) AsCreateRoleAssignmentRequest0 added in v0.0.21

func (t CreateRoleAssignmentRequest) AsCreateRoleAssignmentRequest0() (CreateRoleAssignmentRequest0, error)

AsCreateRoleAssignmentRequest0 returns the union data inside the CreateRoleAssignmentRequest as a CreateRoleAssignmentRequest0

func (CreateRoleAssignmentRequest) AsCreateRoleAssignmentRequest1 added in v0.0.21

func (t CreateRoleAssignmentRequest) AsCreateRoleAssignmentRequest1() (CreateRoleAssignmentRequest1, error)

AsCreateRoleAssignmentRequest1 returns the union data inside the CreateRoleAssignmentRequest as a CreateRoleAssignmentRequest1

func (*CreateRoleAssignmentRequest) FromCreateRoleAssignmentRequest0 added in v0.0.21

func (t *CreateRoleAssignmentRequest) FromCreateRoleAssignmentRequest0(v CreateRoleAssignmentRequest0) error

FromCreateRoleAssignmentRequest0 overwrites any union data inside the CreateRoleAssignmentRequest as the provided CreateRoleAssignmentRequest0

func (*CreateRoleAssignmentRequest) FromCreateRoleAssignmentRequest1 added in v0.0.21

func (t *CreateRoleAssignmentRequest) FromCreateRoleAssignmentRequest1(v CreateRoleAssignmentRequest1) error

FromCreateRoleAssignmentRequest1 overwrites any union data inside the CreateRoleAssignmentRequest as the provided CreateRoleAssignmentRequest1

func (CreateRoleAssignmentRequest) MarshalJSON added in v0.0.21

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

func (*CreateRoleAssignmentRequest) MergeCreateRoleAssignmentRequest0 added in v0.0.21

func (t *CreateRoleAssignmentRequest) MergeCreateRoleAssignmentRequest0(v CreateRoleAssignmentRequest0) error

MergeCreateRoleAssignmentRequest0 performs a merge with any union data inside the CreateRoleAssignmentRequest, using the provided CreateRoleAssignmentRequest0

func (*CreateRoleAssignmentRequest) MergeCreateRoleAssignmentRequest1 added in v0.0.21

func (t *CreateRoleAssignmentRequest) MergeCreateRoleAssignmentRequest1(v CreateRoleAssignmentRequest1) error

MergeCreateRoleAssignmentRequest1 performs a merge with any union data inside the CreateRoleAssignmentRequest, using the provided CreateRoleAssignmentRequest1

func (*CreateRoleAssignmentRequest) UnmarshalJSON added in v0.0.21

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

type CreateRoleAssignmentRequest0 added in v0.0.21

type CreateRoleAssignmentRequest0 = interface{}

CreateRoleAssignmentRequest0 defines model for .

type CreateRoleAssignmentRequest1 added in v0.0.21

type CreateRoleAssignmentRequest1 = interface{}

CreateRoleAssignmentRequest1 defines model for .

type CreateRoleAssignmentResponse

type CreateRoleAssignmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *RoleAssignment
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
}

func ParseCreateRoleAssignmentResponse

func ParseCreateRoleAssignmentResponse(rsp *http.Response) (*CreateRoleAssignmentResponse, error)

ParseCreateRoleAssignmentResponse parses an HTTP response from a CreateRoleAssignmentWithResponse call

func (CreateRoleAssignmentResponse) ContentType added in v0.0.21

func (r CreateRoleAssignmentResponse) ContentType() string

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

func (CreateRoleAssignmentResponse) Status

Status returns HTTPResponse.Status

func (CreateRoleAssignmentResponse) StatusCode

func (r CreateRoleAssignmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateRoleJSONRequestBody

type CreateRoleJSONRequestBody = CreateRoleRequest

CreateRoleJSONRequestBody defines body for CreateRole for application/json ContentType.

type CreateRoleRequest

type CreateRoleRequest struct {
	// Description Optional human-readable description of what this role grants.
	Description *string `json:"description,omitempty"`

	// Name Unique name within the project.
	Name string `json:"name"`

	// Permissions Permission strings to include. Source allowed values from `GET /v1/projects/{project_handle}/permissions`; legacy IDs or values not present in that catalog are rejected.
	Permissions []string `json:"permissions"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`
}

CreateRoleRequest defines model for CreateRoleRequest.

type CreateRoleResponse

type CreateRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Role
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON409      *Conflict
}

func ParseCreateRoleResponse

func ParseCreateRoleResponse(rsp *http.Response) (*CreateRoleResponse, error)

ParseCreateRoleResponse parses an HTTP response from a CreateRoleWithResponse call

func (CreateRoleResponse) ContentType added in v0.0.21

func (r CreateRoleResponse) ContentType() string

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

func (CreateRoleResponse) Status

func (r CreateRoleResponse) Status() string

Status returns HTTPResponse.Status

func (CreateRoleResponse) StatusCode

func (r CreateRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateRunBackedInteractionRequest added in v0.0.7

type CreateRunBackedInteractionRequest struct {
	// Consumer Polymorphic identifier of what is waiting on this interaction's resolution. Replaces the previously special-cased `run_id` + `signal_name` pair. When `kind=run`, the legacy fields are also populated for compatibility. `http_subscriber` requires `secret_ref` and enqueues a durable callback dispatch to `callback_url` when the interaction resolves; the canonical string `v1.{delivery_id}.{unix_timestamp}.{raw_body}` is signed with HMAC-SHA256 against the resolved project signing key and the signed dispatch carries `X-Mobius-Signature`, `X-Mobius-Secret-Ref`, `X-Mobius-Secret-Version`, and `X-Mobius-Timestamp`. Signed dispatches also carry `X-Mobius-Signature-Version: v1`. Every durable dispatch also carries the stable outbox row id in `X-Mobius-Delivery-Id` and `Idempotency-Key`; retries reuse the same value. Verifiers should recompute the signature over the exact raw body, reject stale timestamps (for example, older than five minutes), deduplicate by delivery id, and check the signing headers.
	Consumer *Consumer `json:"consumer,omitempty"`

	// Context Additional key-value context surfaced in the UI alongside the title and description.
	Context *map[string]interface{} `json:"context,omitempty"`

	// Delivery Optional per-interaction delivery override. When absent, each participant is notified via the app inbox only.
	Delivery *Delivery `json:"delivery,omitempty"`

	// Description Optional longer responder-facing detail or instructions.
	Description *string `json:"description,omitempty"`

	// ExpiresAt Timestamp after which this interaction expires if not responded to.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`

	// Kind Protocol kind of the interaction. Launch keeps this intentionally
	// small:
	// * `request_information` — a data-collection protocol with structured
	// or free-form input
	// * `request_approval` — a decision protocol (yes/no, optionally
	// yes/no/defer)
	// * `request_review` — a judgment protocol that evaluates supplied
	// material
	Kind InteractionKind `json:"kind"`

	// Properties Free-form structured metadata to attach to the interaction.
	Properties *map[string]interface{} `json:"properties,omitempty"`

	// References Supporting links and related entities.
	References *[]InteractionReference `json:"references,omitempty"`

	// RequireAll When true, all target users must respond before the interaction is considered complete. Defaults to false when omitted. Mutually exclusive with `resolution_policy`; prefer the policy form for new code.
	RequireAll *bool `json:"require_all,omitempty"`

	// ResolutionPolicy Declarative resolution rule attached to an Interaction. Determines how participant responses become a final outcome.
	ResolutionPolicy *ResolutionPolicy `json:"resolution_policy,omitempty"`

	// RunId ID of the loop run associated with this interaction.
	RunId string `json:"run_id"`

	// SignalName Legacy signal name recorded with the run association.
	SignalName string `json:"signal_name"`

	// Spec Declarative dialog contract for rendering and validating an interaction. Used at both authoring time (inside a loop definition) and runtime (persisted on an interaction). Protocol kind is decoupled from input shape: each kind declares which spec modes are *allowed*, not which is *implied*. An approval may now legitimately use `select` mode (approve/deny/defer), for example.
	//
	// Allowed combinations:
	// * `request_approval` → `confirm`, `select`
	// * `request_review` → `select`, `input`
	// * `request_information` → `select`, `multi_select`, `input`
	Spec *InteractionSpec `json:"spec,omitempty"`

	// Subject Pointer to the work item, artifact, external ticket, or Mobius entity this interaction is about.
	Subject *InteractionReference `json:"subject,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// TargetUserIds Resolved user IDs to target directly. At least one target is required. Agents use their agent principal IDs.
	TargetUserIds []string `json:"target_user_ids"`

	// Title Short non-empty title shown to the responder.
	Title string `json:"title"`
}

CreateRunBackedInteractionRequest Creates an interaction linked to a loop run for audit. The server derives a `kind=run` consumer from `run_id` and `signal_name`.

This is an audit-only link: creating an interaction here does not suspend the run, and resolving it does not by itself resume a run. A run only blocks on, and resumes from, human input when the loop definition declares an interaction step — that step creates the interaction and registers the matching wait atomically. Use this endpoint to record a human decision against a run, not to drive run control flow.

type CreateSessionJSONRequestBody added in v0.0.26

type CreateSessionJSONRequestBody = CreateSessionRequest

CreateSessionJSONRequestBody defines body for CreateSession for application/json ContentType.

type CreateSessionRequest added in v0.0.26

type CreateSessionRequest struct {
	// AgentId Agent that owns the session.
	AgentId string `json:"agent_id"`

	// CompactionPolicy Controls how a session's transcript is automatically summarized as it grows. On create the supplied fields are merged over the owning agent's default policy and the server defaults; on update they patch the session's current policy. Omitted fields keep their resolved values.
	CompactionPolicy *SessionCompactionPolicy `json:"compaction_policy,omitempty"`

	// Metadata Free-form caller metadata for the session.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Mode `continue_or_create` (default) resolves an existing session for the `session_key` or creates one; `new` always creates a fresh session; `continue` resolves an existing session and fails if none exists.
	Mode *CreateSessionRequestMode `json:"mode,omitempty"`

	// Model Model to record on the session.
	Model *string `json:"model,omitempty"`

	// Retention Controls how long a session is retained. Applied only when the session is first created (like `compaction_policy`); ignored when an existing session is resolved. `standard` is the default and keeps the session forever. `bounded` expires the session — pruning its transcript from every read path — once it has been idle past `ttl_seconds`. Kept for audit after expiry: a tombstone session row with its token totals, and the turn rows with their status, error, usage, and timings.
	//
	// `ttl_seconds` is required when `mode` is `bounded` and ignored for `standard`; the server validates this (a `oneOf` encoding was dropped because it only produced untyped union codegen without adding runtime enforcement in the generated Go/TypeScript clients).
	Retention *SessionRetentionPolicy `json:"retention,omitempty"`

	// SessionKey Stable key identifying the conversation within the agent.
	SessionKey *string `json:"session_key,omitempty"`

	// ThinkingEffort Reasoning-effort level for a turn, lowest (`low`) to highest (`max`). Higher effort spends more tokens on reasoning, improving quality on hard tasks at the cost of latency and credits. Levels above what the resolved model supports are clamped down. Set on an agent it is the default; set on a session or loop step it overrides the agent default. `inherit` (or omitting the field) defers to the layer below — the agent default for a session/step, or the provider's own default when nothing sets a level.
	ThinkingEffort *ThinkingEffort `json:"thinking_effort,omitempty"`

	// Title Human-friendly session title.
	Title *string `json:"title,omitempty"`

	// Visibility Visibility of the session in project surfaces: `project` or `private`.
	Visibility *SessionVisibility `json:"visibility,omitempty"`
}

CreateSessionRequest Resolve-or-create policy for a session.

type CreateSessionRequestMode added in v0.0.26

type CreateSessionRequestMode string

CreateSessionRequestMode `continue_or_create` (default) resolves an existing session for the `session_key` or creates one; `new` always creates a fresh session; `continue` resolves an existing session and fails if none exists.

const (
	CreateSessionRequestModeContinue         CreateSessionRequestMode = "continue"
	CreateSessionRequestModeContinueOrCreate CreateSessionRequestMode = "continue_or_create"
	CreateSessionRequestModeNew              CreateSessionRequestMode = "new"
)

Defines values for CreateSessionRequestMode.

func (CreateSessionRequestMode) Valid added in v0.0.26

func (e CreateSessionRequestMode) Valid() bool

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

type CreateSessionResponse added in v0.0.26

type CreateSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Session
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseCreateSessionResponse added in v0.0.26

func ParseCreateSessionResponse(rsp *http.Response) (*CreateSessionResponse, error)

ParseCreateSessionResponse parses an HTTP response from a CreateSessionWithResponse call

func (CreateSessionResponse) ContentType added in v0.0.26

func (r CreateSessionResponse) ContentType() string

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

func (CreateSessionResponse) Status added in v0.0.26

func (r CreateSessionResponse) Status() string

Status returns HTTPResponse.Status

func (CreateSessionResponse) StatusCode added in v0.0.26

func (r CreateSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSkillJSONRequestBody added in v0.0.21

type CreateSkillJSONRequestBody = SkillRequest

CreateSkillJSONRequestBody defines body for CreateSkill for application/json ContentType.

type CreateSkillResponse added in v0.0.21

type CreateSkillResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Skill
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseCreateSkillResponse added in v0.0.21

func ParseCreateSkillResponse(rsp *http.Response) (*CreateSkillResponse, error)

ParseCreateSkillResponse parses an HTTP response from a CreateSkillWithResponse call

func (CreateSkillResponse) ContentType added in v0.0.21

func (r CreateSkillResponse) ContentType() string

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

func (CreateSkillResponse) Status added in v0.0.21

func (r CreateSkillResponse) Status() string

Status returns HTTPResponse.Status

func (CreateSkillResponse) StatusCode added in v0.0.21

func (r CreateSkillResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateStandaloneInteractionRequest added in v0.0.7

type CreateStandaloneInteractionRequest struct {
	// Consumer Polymorphic identifier of what is waiting on this interaction's resolution. Replaces the previously special-cased `run_id` + `signal_name` pair. When `kind=run`, the legacy fields are also populated for compatibility. `http_subscriber` requires `secret_ref` and enqueues a durable callback dispatch to `callback_url` when the interaction resolves; the canonical string `v1.{delivery_id}.{unix_timestamp}.{raw_body}` is signed with HMAC-SHA256 against the resolved project signing key and the signed dispatch carries `X-Mobius-Signature`, `X-Mobius-Secret-Ref`, `X-Mobius-Secret-Version`, and `X-Mobius-Timestamp`. Signed dispatches also carry `X-Mobius-Signature-Version: v1`. Every durable dispatch also carries the stable outbox row id in `X-Mobius-Delivery-Id` and `Idempotency-Key`; retries reuse the same value. Verifiers should recompute the signature over the exact raw body, reject stale timestamps (for example, older than five minutes), deduplicate by delivery id, and check the signing headers.
	Consumer *Consumer `json:"consumer,omitempty"`

	// Context Additional key-value context surfaced in the UI alongside the title and description.
	Context *map[string]interface{} `json:"context,omitempty"`

	// Delivery Optional per-interaction delivery override. When absent, each participant is notified via the app inbox only.
	Delivery *Delivery `json:"delivery,omitempty"`

	// Description Optional longer responder-facing detail or instructions.
	Description *string `json:"description,omitempty"`

	// ExpiresAt Timestamp after which this interaction expires if not responded to.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`

	// Kind Protocol kind of the interaction. Launch keeps this intentionally
	// small:
	// * `request_information` — a data-collection protocol with structured
	// or free-form input
	// * `request_approval` — a decision protocol (yes/no, optionally
	// yes/no/defer)
	// * `request_review` — a judgment protocol that evaluates supplied
	// material
	Kind InteractionKind `json:"kind"`

	// Properties Free-form structured metadata to attach to the interaction.
	Properties *map[string]interface{} `json:"properties,omitempty"`

	// References Supporting links and related entities.
	References *[]InteractionReference `json:"references,omitempty"`

	// RequireAll When true, all target users must respond before the interaction is considered complete. Defaults to false when omitted. Mutually exclusive with `resolution_policy`; prefer the policy form for new code.
	RequireAll *bool `json:"require_all,omitempty"`

	// ResolutionPolicy Declarative resolution rule attached to an Interaction. Determines how participant responses become a final outcome.
	ResolutionPolicy *ResolutionPolicy `json:"resolution_policy,omitempty"`

	// Spec Declarative dialog contract for rendering and validating an interaction. Used at both authoring time (inside a loop definition) and runtime (persisted on an interaction). Protocol kind is decoupled from input shape: each kind declares which spec modes are *allowed*, not which is *implied*. An approval may now legitimately use `select` mode (approve/deny/defer), for example.
	//
	// Allowed combinations:
	// * `request_approval` → `confirm`, `select`
	// * `request_review` → `select`, `input`
	// * `request_information` → `select`, `multi_select`, `input`
	Spec *InteractionSpec `json:"spec,omitempty"`

	// Subject Pointer to the work item, artifact, external ticket, or Mobius entity this interaction is about.
	Subject *InteractionReference `json:"subject,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// TargetUserIds Resolved user IDs to target directly. At least one target is required — every interaction needs someone who can answer it, even when a machine consumer is waiting on the outcome. Agents use their agent principal IDs.
	TargetUserIds []string `json:"target_user_ids"`

	// Title Short non-empty title shown to the responder.
	Title string `json:"title"`
}

CreateStandaloneInteractionRequest Creates a standalone interaction. Completion records the response but does not deliver a loop signal.

type CreateTableJSONRequestBody added in v0.0.20

type CreateTableJSONRequestBody = CreateTableRequest

CreateTableJSONRequestBody defines body for CreateTable for application/json ContentType.

type CreateTableRequest added in v0.0.20

type CreateTableRequest struct {
	// Description Optional human-readable description of the table.
	Description *string `json:"description,omitempty"`

	// Instructions Optional author guidance for how this table should be used (e.g. surfaced to agents).
	Instructions *string `json:"instructions,omitempty"`

	// Name Table name (lowercase, snake_case); unique within the project.
	Name string `json:"name"`

	// Schema Column definition for a virtual table. Each table has exactly one required string identity column and may nominate one optional string secondary key column.
	Schema TableSchema `json:"schema"`
}

CreateTableRequest defines model for CreateTableRequest.

type CreateTableResponse added in v0.0.20

type CreateTableResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Table
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseCreateTableResponse added in v0.0.20

func ParseCreateTableResponse(rsp *http.Response) (*CreateTableResponse, error)

ParseCreateTableResponse parses an HTTP response from a CreateTableWithResponse call

func (CreateTableResponse) ContentType added in v0.0.21

func (r CreateTableResponse) ContentType() string

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

func (CreateTableResponse) Status added in v0.0.20

func (r CreateTableResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTableResponse) StatusCode added in v0.0.20

func (r CreateTableResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTableRowJSONRequestBody added in v0.0.25

type CreateTableRowJSONRequestBody = InsertRowRequest

CreateTableRowJSONRequestBody defines body for CreateTableRow for application/json ContentType.

type CreateTableRowResponse added in v0.0.25

type CreateTableRowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TableRow
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseCreateTableRowResponse added in v0.0.25

func ParseCreateTableRowResponse(rsp *http.Response) (*CreateTableRowResponse, error)

ParseCreateTableRowResponse parses an HTTP response from a CreateTableRowWithResponse call

func (CreateTableRowResponse) ContentType added in v0.0.25

func (r CreateTableRowResponse) ContentType() string

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

func (CreateTableRowResponse) Status added in v0.0.25

func (r CreateTableRowResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTableRowResponse) StatusCode added in v0.0.25

func (r CreateTableRowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateToolkitJSONRequestBody added in v0.0.21

type CreateToolkitJSONRequestBody = ToolkitRequest

CreateToolkitJSONRequestBody defines body for CreateToolkit for application/json ContentType.

type CreateToolkitResponse added in v0.0.21

type CreateToolkitResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Toolkit
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseCreateToolkitResponse added in v0.0.21

func ParseCreateToolkitResponse(rsp *http.Response) (*CreateToolkitResponse, error)

ParseCreateToolkitResponse parses an HTTP response from a CreateToolkitWithResponse call

func (CreateToolkitResponse) ContentType added in v0.0.21

func (r CreateToolkitResponse) ContentType() string

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

func (CreateToolkitResponse) Status added in v0.0.21

func (r CreateToolkitResponse) Status() string

Status returns HTTPResponse.Status

func (CreateToolkitResponse) StatusCode added in v0.0.21

func (r CreateToolkitResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateWebhookJSONRequestBody

type CreateWebhookJSONRequestBody = CreateWebhookRequest

CreateWebhookJSONRequestBody defines body for CreateWebhook for application/json ContentType.

type CreateWebhookRequest

type CreateWebhookRequest struct {
	// Enabled Whether the webhook starts enabled. Defaults to true when omitted.
	Enabled *bool `json:"enabled,omitempty"`

	// Events Event types to subscribe to. Use wildcards for broad subscriptions, e.g. `["run.*"]` for all run events. Omit this field or send an empty list to subscribe to all event types.
	Events *[]string `json:"events,omitempty"`

	// Name Human-readable name, unique within the project.
	Name string `json:"name"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// Url The endpoint Mobius will POST event payloads to. May be left empty at creation time so a candidate URL can be tested via the ping endpoint before it is saved; events do not fire for webhooks with an empty URL.
	Url *string `json:"url,omitempty"`
}

CreateWebhookRequest defines model for CreateWebhookRequest.

type CreateWebhookResponse

type CreateWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Webhook
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseCreateWebhookResponse

func ParseCreateWebhookResponse(rsp *http.Response) (*CreateWebhookResponse, error)

ParseCreateWebhookResponse parses an HTTP response from a CreateWebhookWithResponse call

func (CreateWebhookResponse) ContentType added in v0.0.21

func (r CreateWebhookResponse) ContentType() string

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

func (CreateWebhookResponse) Status

func (r CreateWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (CreateWebhookResponse) StatusCode

func (r CreateWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CursorParam

type CursorParam = string

CursorParam defines model for CursorParam.

type DefinitionResolverAuth added in v0.0.38

type DefinitionResolverAuth struct {
	// Mode Auth mode. Only `bearer` is supported today.
	Mode *DefinitionResolverAuthMode `json:"mode,omitempty"`

	// Token Bearer token Mobius sends to the resolver. Write-only; never returned.
	Token *string `json:"token,omitempty"`
}

DefinitionResolverAuth Shared-secret auth for the client resolver. The token is write-only: supply it to set or rotate, send an empty string to clear.

type DefinitionResolverAuthMode added in v0.0.38

type DefinitionResolverAuthMode string

DefinitionResolverAuthMode Auth mode. Only `bearer` is supported today.

const (
	DefinitionResolverAuthModeBearer DefinitionResolverAuthMode = "bearer"
)

Defines values for DefinitionResolverAuthMode.

func (DefinitionResolverAuthMode) Valid added in v0.0.38

func (e DefinitionResolverAuthMode) Valid() bool

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

type DefinitionResolverConfig added in v0.0.38

type DefinitionResolverConfig struct {
	// AuthConfigured Whether a shared bearer token is currently set for the resolver.
	AuthConfigured bool `json:"auth_configured"`

	// EndpointUrl HTTPS endpoint Mobius posts resolve requests to (client_resolver only).
	EndpointUrl *string `json:"endpoint_url,omitempty"`

	// LastGoodAt Deprecated compatibility field. Resolver results are scoped by project and agent, so Mobius no longer populates an org-wide timestamp.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	LastGoodAt *time.Time `json:"last_good_at,omitempty"`

	// LastGoodDigest Deprecated compatibility field. Resolver results are scoped by project and agent, so Mobius no longer populates an org-wide digest.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	LastGoodDigest *string `json:"last_good_digest,omitempty"`

	// OnUnavailable Behavior when the resolver endpoint is unreachable.
	OnUnavailable DefinitionResolverConfigOnUnavailable `json:"on_unavailable"`

	// ProtocolVersion The resolve wire-protocol version Mobius speaks.
	ProtocolVersion *int `json:"protocol_version,omitempty"`

	// RevalidateAfterS Skip the network when the cached bundle is younger than this (seconds).
	RevalidateAfterS *int `json:"revalidate_after_s,omitempty"`

	// Source Where the org's definitions resolve from by default.
	Source DefinitionResolverConfigSource `json:"source"`

	// StaleMaxAgeS Hard ceiling on serving last-known-good (seconds); 0 is unbounded.
	StaleMaxAgeS *int `json:"stale_max_age_s,omitempty"`

	// TimeoutMs Per-request resolve timeout in milliseconds.
	TimeoutMs *int `json:"timeout_ms,omitempty"`

	// UpdatedAt When the config was last updated.
	UpdatedAt time.Time `json:"updated_at"`
}

DefinitionResolverConfig The org's pluggable definition-source configuration (redacted view). The bearer token is never included; `auth_configured` reports its presence.

type DefinitionResolverConfigOnUnavailable added in v0.0.38

type DefinitionResolverConfigOnUnavailable string

DefinitionResolverConfigOnUnavailable Behavior when the resolver endpoint is unreachable.

const (
	DefinitionResolverConfigOnUnavailableFail          DefinitionResolverConfigOnUnavailable = "fail"
	DefinitionResolverConfigOnUnavailableLastKnownGood DefinitionResolverConfigOnUnavailable = "last_known_good"
)

Defines values for DefinitionResolverConfigOnUnavailable.

func (DefinitionResolverConfigOnUnavailable) Valid added in v0.0.38

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

type DefinitionResolverConfigSource added in v0.0.38

type DefinitionResolverConfigSource string

DefinitionResolverConfigSource Where the org's definitions resolve from by default.

const (
	DefinitionResolverConfigSourceClientResolver DefinitionResolverConfigSource = "client_resolver"
	DefinitionResolverConfigSourceMobiusStored   DefinitionResolverConfigSource = "mobius_stored"
)

Defines values for DefinitionResolverConfigSource.

func (DefinitionResolverConfigSource) Valid added in v0.0.38

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

type DeleteAPIKeyResponse added in v0.0.25

type DeleteAPIKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseDeleteAPIKeyResponse added in v0.0.25

func ParseDeleteAPIKeyResponse(rsp *http.Response) (*DeleteAPIKeyResponse, error)

ParseDeleteAPIKeyResponse parses an HTTP response from a DeleteAPIKeyWithResponse call

func (DeleteAPIKeyResponse) ContentType added in v0.0.25

func (r DeleteAPIKeyResponse) ContentType() string

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

func (DeleteAPIKeyResponse) Status added in v0.0.25

func (r DeleteAPIKeyResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAPIKeyResponse) StatusCode added in v0.0.25

func (r DeleteAPIKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteActionResponse

type DeleteActionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseDeleteActionResponse

func ParseDeleteActionResponse(rsp *http.Response) (*DeleteActionResponse, error)

ParseDeleteActionResponse parses an HTTP response from a DeleteActionWithResponse call

func (DeleteActionResponse) ContentType added in v0.0.21

func (r DeleteActionResponse) ContentType() string

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

func (DeleteActionResponse) Status

func (r DeleteActionResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteActionResponse) StatusCode

func (r DeleteActionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAgentMemoryEntryResponse added in v0.0.29

type DeleteAgentMemoryEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseDeleteAgentMemoryEntryResponse added in v0.0.29

func ParseDeleteAgentMemoryEntryResponse(rsp *http.Response) (*DeleteAgentMemoryEntryResponse, error)

ParseDeleteAgentMemoryEntryResponse parses an HTTP response from a DeleteAgentMemoryEntryWithResponse call

func (DeleteAgentMemoryEntryResponse) ContentType added in v0.0.29

func (r DeleteAgentMemoryEntryResponse) ContentType() string

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

func (DeleteAgentMemoryEntryResponse) Status added in v0.0.29

Status returns HTTPResponse.Status

func (DeleteAgentMemoryEntryResponse) StatusCode added in v0.0.29

func (r DeleteAgentMemoryEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAgentMessagingBindingResponse added in v0.0.22

type DeleteAgentMessagingBindingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseDeleteAgentMessagingBindingResponse added in v0.0.22

func ParseDeleteAgentMessagingBindingResponse(rsp *http.Response) (*DeleteAgentMessagingBindingResponse, error)

ParseDeleteAgentMessagingBindingResponse parses an HTTP response from a DeleteAgentMessagingBindingWithResponse call

func (DeleteAgentMessagingBindingResponse) ContentType added in v0.0.22

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

func (DeleteAgentMessagingBindingResponse) Status added in v0.0.22

Status returns HTTPResponse.Status

func (DeleteAgentMessagingBindingResponse) StatusCode added in v0.0.22

StatusCode returns HTTPResponse.StatusCode

type DeleteAgentResponse added in v0.0.3

type DeleteAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseDeleteAgentResponse added in v0.0.3

func ParseDeleteAgentResponse(rsp *http.Response) (*DeleteAgentResponse, error)

ParseDeleteAgentResponse parses an HTTP response from a DeleteAgentWithResponse call

func (DeleteAgentResponse) ContentType added in v0.0.21

func (r DeleteAgentResponse) ContentType() string

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

func (DeleteAgentResponse) Status added in v0.0.3

func (r DeleteAgentResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAgentResponse) StatusCode added in v0.0.3

func (r DeleteAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteArtifactResponse added in v0.0.19

type DeleteArtifactResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseDeleteArtifactResponse added in v0.0.19

func ParseDeleteArtifactResponse(rsp *http.Response) (*DeleteArtifactResponse, error)

ParseDeleteArtifactResponse parses an HTTP response from a DeleteArtifactWithResponse call

func (DeleteArtifactResponse) ContentType added in v0.0.22

func (r DeleteArtifactResponse) ContentType() string

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

func (DeleteArtifactResponse) Status added in v0.0.19

func (r DeleteArtifactResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteArtifactResponse) StatusCode added in v0.0.19

func (r DeleteArtifactResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteBlueprintParams added in v0.0.42

type DeleteBlueprintParams struct {
	// Namespace Blueprint namespace. Omit for an unnamespaced blueprint.
	Namespace *string `form:"namespace,omitempty" json:"namespace,omitempty"`

	// DeleteRetained Also delete adopted resources and legacy bindings whose ownership is unknown. Defaults to false. Use only after inspecting the blueprint bindings because these resources may contain customer-authored data.
	DeleteRetained *bool `form:"delete_retained,omitempty" json:"delete_retained,omitempty"`
}

DeleteBlueprintParams defines parameters for DeleteBlueprint.

type DeleteBlueprintResponse added in v0.0.42

type DeleteBlueprintResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BlueprintDeleteResult
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseDeleteBlueprintResponse added in v0.0.42

func ParseDeleteBlueprintResponse(rsp *http.Response) (*DeleteBlueprintResponse, error)

ParseDeleteBlueprintResponse parses an HTTP response from a DeleteBlueprintWithResponse call

func (DeleteBlueprintResponse) ContentType added in v0.0.42

func (r DeleteBlueprintResponse) ContentType() string

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

func (DeleteBlueprintResponse) Status added in v0.0.42

func (r DeleteBlueprintResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteBlueprintResponse) StatusCode added in v0.0.42

func (r DeleteBlueprintResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteInteractionResponse added in v0.0.21

type DeleteInteractionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseDeleteInteractionResponse added in v0.0.21

func ParseDeleteInteractionResponse(rsp *http.Response) (*DeleteInteractionResponse, error)

ParseDeleteInteractionResponse parses an HTTP response from a DeleteInteractionWithResponse call

func (DeleteInteractionResponse) ContentType added in v0.0.21

func (r DeleteInteractionResponse) ContentType() string

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

func (DeleteInteractionResponse) Status added in v0.0.21

func (r DeleteInteractionResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteInteractionResponse) StatusCode added in v0.0.21

func (r DeleteInteractionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteLoopResponse added in v0.0.24

type DeleteLoopResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseDeleteLoopResponse added in v0.0.24

func ParseDeleteLoopResponse(rsp *http.Response) (*DeleteLoopResponse, error)

ParseDeleteLoopResponse parses an HTTP response from a DeleteLoopWithResponse call

func (DeleteLoopResponse) ContentType added in v0.0.24

func (r DeleteLoopResponse) ContentType() string

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

func (DeleteLoopResponse) Status added in v0.0.24

func (r DeleteLoopResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteLoopResponse) StatusCode added in v0.0.24

func (r DeleteLoopResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOrgAPIKeyResponse added in v0.0.36

type DeleteOrgAPIKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseDeleteOrgAPIKeyResponse added in v0.0.36

func ParseDeleteOrgAPIKeyResponse(rsp *http.Response) (*DeleteOrgAPIKeyResponse, error)

ParseDeleteOrgAPIKeyResponse parses an HTTP response from a DeleteOrgAPIKeyWithResponse call

func (DeleteOrgAPIKeyResponse) ContentType added in v0.0.36

func (r DeleteOrgAPIKeyResponse) ContentType() string

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

func (DeleteOrgAPIKeyResponse) Status added in v0.0.36

func (r DeleteOrgAPIKeyResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteOrgAPIKeyResponse) StatusCode added in v0.0.36

func (r DeleteOrgAPIKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOrganizationActionResponse added in v0.0.54

type DeleteOrganizationActionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseDeleteOrganizationActionResponse added in v0.0.54

func ParseDeleteOrganizationActionResponse(rsp *http.Response) (*DeleteOrganizationActionResponse, error)

ParseDeleteOrganizationActionResponse parses an HTTP response from a DeleteOrganizationActionWithResponse call

func (DeleteOrganizationActionResponse) ContentType added in v0.0.54

func (r DeleteOrganizationActionResponse) ContentType() string

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

func (DeleteOrganizationActionResponse) Status added in v0.0.54

Status returns HTTPResponse.Status

func (DeleteOrganizationActionResponse) StatusCode added in v0.0.54

func (r DeleteOrganizationActionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteOrganizationSkillResponse added in v0.0.54

type DeleteOrganizationSkillResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseDeleteOrganizationSkillResponse added in v0.0.54

func ParseDeleteOrganizationSkillResponse(rsp *http.Response) (*DeleteOrganizationSkillResponse, error)

ParseDeleteOrganizationSkillResponse parses an HTTP response from a DeleteOrganizationSkillWithResponse call

func (DeleteOrganizationSkillResponse) ContentType added in v0.0.54

func (r DeleteOrganizationSkillResponse) ContentType() string

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

func (DeleteOrganizationSkillResponse) Status added in v0.0.54

Status returns HTTPResponse.Status

func (DeleteOrganizationSkillResponse) StatusCode added in v0.0.54

func (r DeleteOrganizationSkillResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePrincipalResponse added in v0.0.22

type DeletePrincipalResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
}

func ParseDeletePrincipalResponse added in v0.0.22

func ParseDeletePrincipalResponse(rsp *http.Response) (*DeletePrincipalResponse, error)

ParseDeletePrincipalResponse parses an HTTP response from a DeletePrincipalWithResponse call

func (DeletePrincipalResponse) ContentType added in v0.0.22

func (r DeletePrincipalResponse) ContentType() string

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

func (DeletePrincipalResponse) Status added in v0.0.22

func (r DeletePrincipalResponse) Status() string

Status returns HTTPResponse.Status

func (DeletePrincipalResponse) StatusCode added in v0.0.22

func (r DeletePrincipalResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteProjectResponse added in v0.0.3

type DeleteProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseDeleteProjectResponse added in v0.0.3

func ParseDeleteProjectResponse(rsp *http.Response) (*DeleteProjectResponse, error)

ParseDeleteProjectResponse parses an HTTP response from a DeleteProjectWithResponse call

func (DeleteProjectResponse) ContentType added in v0.0.21

func (r DeleteProjectResponse) ContentType() string

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

func (DeleteProjectResponse) Status added in v0.0.3

func (r DeleteProjectResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteProjectResponse) StatusCode added in v0.0.3

func (r DeleteProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteRoleAssignmentResponse

type DeleteRoleAssignmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseDeleteRoleAssignmentResponse

func ParseDeleteRoleAssignmentResponse(rsp *http.Response) (*DeleteRoleAssignmentResponse, error)

ParseDeleteRoleAssignmentResponse parses an HTTP response from a DeleteRoleAssignmentWithResponse call

func (DeleteRoleAssignmentResponse) ContentType added in v0.0.21

func (r DeleteRoleAssignmentResponse) ContentType() string

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

func (DeleteRoleAssignmentResponse) Status

Status returns HTTPResponse.Status

func (DeleteRoleAssignmentResponse) StatusCode

func (r DeleteRoleAssignmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteRoleResponse

type DeleteRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseDeleteRoleResponse

func ParseDeleteRoleResponse(rsp *http.Response) (*DeleteRoleResponse, error)

ParseDeleteRoleResponse parses an HTTP response from a DeleteRoleWithResponse call

func (DeleteRoleResponse) ContentType added in v0.0.21

func (r DeleteRoleResponse) ContentType() string

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

func (DeleteRoleResponse) Status

func (r DeleteRoleResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteRoleResponse) StatusCode

func (r DeleteRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSessionResponse added in v0.0.26

type DeleteSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseDeleteSessionResponse added in v0.0.26

func ParseDeleteSessionResponse(rsp *http.Response) (*DeleteSessionResponse, error)

ParseDeleteSessionResponse parses an HTTP response from a DeleteSessionWithResponse call

func (DeleteSessionResponse) ContentType added in v0.0.26

func (r DeleteSessionResponse) ContentType() string

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

func (DeleteSessionResponse) Status added in v0.0.26

func (r DeleteSessionResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteSessionResponse) StatusCode added in v0.0.26

func (r DeleteSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSkillResponse added in v0.0.21

type DeleteSkillResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseDeleteSkillResponse added in v0.0.21

func ParseDeleteSkillResponse(rsp *http.Response) (*DeleteSkillResponse, error)

ParseDeleteSkillResponse parses an HTTP response from a DeleteSkillWithResponse call

func (DeleteSkillResponse) ContentType added in v0.0.21

func (r DeleteSkillResponse) ContentType() string

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

func (DeleteSkillResponse) Status added in v0.0.21

func (r DeleteSkillResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteSkillResponse) StatusCode added in v0.0.21

func (r DeleteSkillResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTableResponse added in v0.0.20

type DeleteTableResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseDeleteTableResponse added in v0.0.20

func ParseDeleteTableResponse(rsp *http.Response) (*DeleteTableResponse, error)

ParseDeleteTableResponse parses an HTTP response from a DeleteTableWithResponse call

func (DeleteTableResponse) ContentType added in v0.0.21

func (r DeleteTableResponse) ContentType() string

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

func (DeleteTableResponse) Status added in v0.0.20

func (r DeleteTableResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTableResponse) StatusCode added in v0.0.20

func (r DeleteTableResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTableRowResponse added in v0.0.20

type DeleteTableRowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseDeleteTableRowResponse added in v0.0.20

func ParseDeleteTableRowResponse(rsp *http.Response) (*DeleteTableRowResponse, error)

ParseDeleteTableRowResponse parses an HTTP response from a DeleteTableRowWithResponse call

func (DeleteTableRowResponse) ContentType added in v0.0.21

func (r DeleteTableRowResponse) ContentType() string

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

func (DeleteTableRowResponse) Status added in v0.0.20

func (r DeleteTableRowResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTableRowResponse) StatusCode added in v0.0.20

func (r DeleteTableRowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteToolkitResponse added in v0.0.21

type DeleteToolkitResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseDeleteToolkitResponse added in v0.0.21

func ParseDeleteToolkitResponse(rsp *http.Response) (*DeleteToolkitResponse, error)

ParseDeleteToolkitResponse parses an HTTP response from a DeleteToolkitWithResponse call

func (DeleteToolkitResponse) ContentType added in v0.0.21

func (r DeleteToolkitResponse) ContentType() string

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

func (DeleteToolkitResponse) Status added in v0.0.21

func (r DeleteToolkitResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteToolkitResponse) StatusCode added in v0.0.21

func (r DeleteToolkitResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWebhookResponse

type DeleteWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseDeleteWebhookResponse

func ParseDeleteWebhookResponse(rsp *http.Response) (*DeleteWebhookResponse, error)

ParseDeleteWebhookResponse parses an HTTP response from a DeleteWebhookWithResponse call

func (DeleteWebhookResponse) ContentType added in v0.0.21

func (r DeleteWebhookResponse) ContentType() string

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

func (DeleteWebhookResponse) Status

func (r DeleteWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteWebhookResponse) StatusCode

func (r DeleteWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeliverHTTPTriggerJSONRequestBody added in v0.0.22

type DeliverHTTPTriggerJSONRequestBody = HTTPTriggerDeliveryRequest

DeliverHTTPTriggerJSONRequestBody defines body for DeliverHTTPTrigger for application/json ContentType.

type DeliverHTTPTriggerParams added in v0.0.22

type DeliverHTTPTriggerParams struct {
	// IdempotencyKey Optional idempotency key (also accepted via the X-Idempotency-Key header).
	IdempotencyKey *string `form:"idempotency_key,omitempty" json:"idempotency_key,omitempty"`

	// XIdempotencyKey Alternative to the `idempotency_key` query parameter. When both are present the query parameter wins. Repeats with the same key return the same `source_event_id` (resolve the run via `source_event_id`) without enqueuing a duplicate.
	XIdempotencyKey *string `json:"X-Idempotency-Key,omitempty"`

	// XMobiusSignature HMAC-SHA256 signature of the raw request body under the trigger's signing secret, formatted as `sha256=<hex>`. Required only when the HTTP trigger has a signing secret configured; unsigned deliveries are accepted for triggers without one.
	XMobiusSignature *string `json:"X-Mobius-Signature,omitempty"`
}

DeliverHTTPTriggerParams defines parameters for DeliverHTTPTrigger.

type DeliverHTTPTriggerResponse added in v0.0.22

type DeliverHTTPTriggerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *HTTPTriggerDeliveryResult
	JSON400      *BadRequest
	JSON401      *ErrorResponse
	JSON404      *NotFound
	JSON409      *Conflict
	JSON413      *ErrorResponse
}

func ParseDeliverHTTPTriggerResponse added in v0.0.22

func ParseDeliverHTTPTriggerResponse(rsp *http.Response) (*DeliverHTTPTriggerResponse, error)

ParseDeliverHTTPTriggerResponse parses an HTTP response from a DeliverHTTPTriggerWithResponse call

func (DeliverHTTPTriggerResponse) ContentType added in v0.0.22

func (r DeliverHTTPTriggerResponse) ContentType() string

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

func (DeliverHTTPTriggerResponse) Status added in v0.0.22

Status returns HTTPResponse.Status

func (DeliverHTTPTriggerResponse) StatusCode added in v0.0.22

func (r DeliverHTTPTriggerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Delivery added in v0.0.21

type Delivery struct {
	Channels []DeliveryChannel `json:"channels"`
}

Delivery Optional per-interaction delivery override. When absent, each participant is notified via the app inbox only.

type DeliveryChannel added in v0.0.21

type DeliveryChannel struct {
	// Email Email delivery payload when `kind=email`; null for inbox-only delivery.
	Email *EmailDelivery      `json:"email,omitempty"`
	Kind  DeliveryChannelKind `json:"kind"`
}

DeliveryChannel A single delivery destination. `inbox_only` carries no payload; `email` requires the `email` variant.

type DeliveryChannelKind added in v0.0.21

type DeliveryChannelKind string

DeliveryChannelKind defines model for DeliveryChannel.Kind.

const (
	DeliveryChannelKindEmail     DeliveryChannelKind = "email"
	DeliveryChannelKindInboxOnly DeliveryChannelKind = "inbox_only"
)

Defines values for DeliveryChannelKind.

func (DeliveryChannelKind) Valid added in v0.0.21

func (e DeliveryChannelKind) Valid() bool

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

type DestroyEnvironmentResponse added in v0.0.21

type DestroyEnvironmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Environment
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseDestroyEnvironmentResponse added in v0.0.21

func ParseDestroyEnvironmentResponse(rsp *http.Response) (*DestroyEnvironmentResponse, error)

ParseDestroyEnvironmentResponse parses an HTTP response from a DestroyEnvironmentWithResponse call

func (DestroyEnvironmentResponse) ContentType added in v0.0.21

func (r DestroyEnvironmentResponse) ContentType() string

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

func (DestroyEnvironmentResponse) Status added in v0.0.21

Status returns HTTPResponse.Status

func (DestroyEnvironmentResponse) StatusCode added in v0.0.21

func (r DestroyEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EmailDelivery added in v0.0.21

type EmailDelivery struct {
	To []openapi_types.Email `json:"to"`
}

EmailDelivery defines model for EmailDelivery.

type Environment added in v0.0.21

type Environment struct {
	// CleanupStatus Cleanup outcome: `none`, `pending`, `succeeded`, `failed`, or `skipped`.
	CleanupStatus EnvironmentCleanupStatus `json:"cleanup_status"`

	// CreatedAt Time the environment record was created.
	CreatedAt time.Time `json:"created_at"`

	// CurrentWorkerSessionId Worker session currently attached to this environment, when any.
	CurrentWorkerSessionId *string `json:"current_worker_session_id,omitempty"`

	// Id Unique environment identifier.
	Id string `json:"id"`

	// LastSeenAt Last time the provider or worker reported the environment.
	LastSeenAt *time.Time `json:"last_seen_at,omitempty"`

	// Lifetime Lifecycle owner for automatic cleanup. `run` environments are destroyed during their owning run's Finalize phase; `lease` environments are reaped after lease expiry; `explicit` environments require an explicit destroy call.
	Lifetime EnvironmentLifetime `json:"lifetime"`

	// Name Human-readable environment name.
	Name string `json:"name"`

	// OwnedBy Principal owner ID. For agent-started work, this is the agent's principal ID.
	OwnedBy *string `json:"owned_by,omitempty"`

	// Provider Backing provider: `sprites`, `cloudflare_containers`, or `worker`.
	Provider EnvironmentProvider `json:"provider"`

	// RetentionPolicy Retention behavior: `manual`, `destroy_on_success`, `retain_on_failure`, or `retain_always`.
	RetentionPolicy EnvironmentRetentionPolicy `json:"retention_policy"`

	// Scope Optional namespace for named runtime resources. Omitted/null means the project/default scope; `owner` means names are unique within `(project, owned_by)`.
	Scope *ResourceScope `json:"scope,omitempty"`

	// Status Lifecycle status: `provisioning`, `ready`, `running`, `retained`, `destroying`, `destroyed`, `failed`, or `orphaned`.
	Status EnvironmentStatus `json:"status"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// UpdatedAt Time the environment record was last updated.
	UpdatedAt time.Time `json:"updated_at"`
}

Environment Durable execution environment summary.

type EnvironmentCleanupStatus added in v0.0.21

type EnvironmentCleanupStatus string

EnvironmentCleanupStatus Cleanup outcome: `none`, `pending`, `succeeded`, `failed`, or `skipped`.

const (
	EnvironmentCleanupStatusFailed    EnvironmentCleanupStatus = "failed"
	EnvironmentCleanupStatusNone      EnvironmentCleanupStatus = "none"
	EnvironmentCleanupStatusPending   EnvironmentCleanupStatus = "pending"
	EnvironmentCleanupStatusSkipped   EnvironmentCleanupStatus = "skipped"
	EnvironmentCleanupStatusSucceeded EnvironmentCleanupStatus = "succeeded"
)

Defines values for EnvironmentCleanupStatus.

func (EnvironmentCleanupStatus) Valid added in v0.0.21

func (e EnvironmentCleanupStatus) Valid() bool

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

type EnvironmentIDParam added in v0.0.21

type EnvironmentIDParam = string

EnvironmentIDParam defines model for EnvironmentIDParam.

type EnvironmentLifetime added in v0.0.21

type EnvironmentLifetime string

EnvironmentLifetime Lifecycle owner for automatic cleanup. `run` environments are destroyed during their owning run's Finalize phase; `lease` environments are reaped after lease expiry; `explicit` environments require an explicit destroy call.

const (
	EnvironmentLifetimeExplicit EnvironmentLifetime = "explicit"
	EnvironmentLifetimeLease    EnvironmentLifetime = "lease"
	EnvironmentLifetimeRun      EnvironmentLifetime = "run"
)

Defines values for EnvironmentLifetime.

func (EnvironmentLifetime) Valid added in v0.0.21

func (e EnvironmentLifetime) Valid() bool

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

type EnvironmentListResponse added in v0.0.21

type EnvironmentListResponse struct {
	// HasMore Whether another page is available.
	HasMore bool `json:"has_more"`

	// Items Environments in the current page.
	Items []Environment `json:"items"`

	// NextCursor Cursor to pass on the next request when `has_more` is true.
	NextCursor *string `json:"next_cursor,omitempty"`
}

EnvironmentListResponse Cursor-paginated list of environments.

type EnvironmentMode added in v0.0.22

type EnvironmentMode string

EnvironmentMode High-level ownership policy for how Mobius plans to use the environment. `run` is one-shot and auto-cleaned with a run; `agent` and `loop` are persistent environment policies; `manual` is operator controlled.

const (
	EnvironmentModeAgent  EnvironmentMode = "agent"
	EnvironmentModeLoop   EnvironmentMode = "loop"
	EnvironmentModeManual EnvironmentMode = "manual"
	EnvironmentModeRun    EnvironmentMode = "run"
)

Defines values for EnvironmentMode.

func (EnvironmentMode) Valid added in v0.0.22

func (e EnvironmentMode) Valid() bool

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

type EnvironmentProvider added in v0.0.21

type EnvironmentProvider string

EnvironmentProvider Backing provider: `sprites`, `cloudflare_containers`, or `worker`.

const (
	EnvironmentProviderCloudflareContainers EnvironmentProvider = "cloudflare_containers"
	EnvironmentProviderSprites              EnvironmentProvider = "sprites"
	EnvironmentProviderWorker               EnvironmentProvider = "worker"
)

Defines values for EnvironmentProvider.

func (EnvironmentProvider) Valid added in v0.0.21

func (e EnvironmentProvider) Valid() bool

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

type EnvironmentRetentionPolicy added in v0.0.21

type EnvironmentRetentionPolicy string

EnvironmentRetentionPolicy Retention behavior: `manual`, `destroy_on_success`, `retain_on_failure`, or `retain_always`.

const (
	EnvironmentRetentionPolicyDestroyOnSuccess EnvironmentRetentionPolicy = "destroy_on_success"
	EnvironmentRetentionPolicyManual           EnvironmentRetentionPolicy = "manual"
	EnvironmentRetentionPolicyRetainAlways     EnvironmentRetentionPolicy = "retain_always"
	EnvironmentRetentionPolicyRetainOnFailure  EnvironmentRetentionPolicy = "retain_on_failure"
)

Defines values for EnvironmentRetentionPolicy.

func (EnvironmentRetentionPolicy) Valid added in v0.0.21

func (e EnvironmentRetentionPolicy) Valid() bool

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

type EnvironmentStatus added in v0.0.21

type EnvironmentStatus string

EnvironmentStatus Lifecycle status: `provisioning`, `ready`, `running`, `retained`, `destroying`, `destroyed`, `failed`, or `orphaned`.

const (
	EnvironmentStatusDestroyed    EnvironmentStatus = "destroyed"
	EnvironmentStatusDestroying   EnvironmentStatus = "destroying"
	EnvironmentStatusFailed       EnvironmentStatus = "failed"
	EnvironmentStatusOrphaned     EnvironmentStatus = "orphaned"
	EnvironmentStatusProvisioning EnvironmentStatus = "provisioning"
	EnvironmentStatusReady        EnvironmentStatus = "ready"
	EnvironmentStatusRetained     EnvironmentStatus = "retained"
	EnvironmentStatusRunning      EnvironmentStatus = "running"
)

Defines values for EnvironmentStatus.

func (EnvironmentStatus) Valid added in v0.0.21

func (e EnvironmentStatus) Valid() bool

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

type ErrorResponse

type ErrorResponse struct {
	// Error Error detail.
	Error struct {
		// Code Stable, machine-readable error code in lower_snake_case. The cross-cutting codes clients can rely on across endpoints are: `bad_request` (malformed input / failed validation), `unauthorized`, `permission_denied`, `forbidden`, `not_found`, `conflict` / `already_exists`, `rate_limit_exceeded`, and `service_unavailable`. Direct session invocation conflicts use `session_turn_active` with the blocking `turn_id` and `status` in `details`. Session-key lookups without an agent scope use `session_key_scope_required`; supplying both agent ID and name uses `session_agent_ref_conflict`. Project API-key creation for a principal with no role assignments uses `principal_has_no_roles`. Authenticated callers missing a permission receive `permission_denied` with the required permission in `details`. Endpoint-specific codes (e.g. `loop_paused`, `invalid_signature`) extend this set; an unrecognized code should be handled by its HTTP status family.
		Code string `json:"code"`

		// Details Optional structured details specific to a `code`. Endpoints that set this document the per-code shape inline. Absent for codes whose `code` + `message` are sufficient.
		Details *map[string]interface{} `json:"details,omitempty"`

		// Message Human-readable error message
		Message string `json:"message"`
	} `json:"error"`
}

ErrorResponse Standard error envelope returned by API endpoints.

type EventCatalogEventType added in v0.0.22

type EventCatalogEventType struct {
	// Description Human-readable explanation of when this event fires.
	Description *string `json:"description,omitempty"`

	// EventSchema JSON Schema for the normalized event data available to event-trigger runs at `${{ event.* }}` and to event conditions/mappings at `event.*`. Absent only when the event payload is intentionally open-ended and the provider has not registered an authoring schema.
	EventSchema *map[string]interface{} `json:"event_schema,omitempty"`

	// MetaSchema JSON Schema for normalized routing metadata available to event-trigger runs at `${{ meta.* }}` and to event conditions/mappings at `meta.*`.
	MetaSchema *map[string]interface{} `json:"meta_schema,omitempty"`

	// Name Dotted event-type identifier (`table.row.inserted`, `github.pull_request.opened`).
	Name string `json:"name"`
}

EventCatalogEventType One concrete event type exposed by an event catalog source.

type EventCatalogReservedPrefix added in v0.0.22

type EventCatalogReservedPrefix struct {
	// Kind Whether the prefix names a platform capability or an authoring utility namespace.
	Kind EventCatalogReservedPrefixKind `json:"kind"`

	// Prefix Reserved top-level event prefix.
	Prefix string `json:"prefix"`
}

EventCatalogReservedPrefix A recognized event namespace that is not itself triggerable.

type EventCatalogReservedPrefixKind added in v0.0.22

type EventCatalogReservedPrefixKind string

EventCatalogReservedPrefixKind Whether the prefix names a platform capability or an authoring utility namespace.

const (
	EventCatalogReservedPrefixKindCapability EventCatalogReservedPrefixKind = "capability"
	EventCatalogReservedPrefixKindUtility    EventCatalogReservedPrefixKind = "utility"
)

Defines values for EventCatalogReservedPrefixKind.

func (EventCatalogReservedPrefixKind) Valid added in v0.0.22

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

type EventCatalogResponse added in v0.0.22

type EventCatalogResponse struct {
	// Items Event sources available for authoring triggers.
	Items []EventCatalogSource `json:"items"`

	// ReservedPrefixes Platform namespaces that are recognized but are not triggerable event sources. Authoring UIs use these to distinguish a recognized-but-unsupported matcher prefix from a wholly unknown one.
	ReservedPrefixes []EventCatalogReservedPrefix `json:"reserved_prefixes"`
}

EventCatalogResponse The triggerable event catalog available to a project.

type EventCatalogSource added in v0.0.22

type EventCatalogSource struct {
	// Description Short explanation of what emits events under this prefix.
	Description *string `json:"description,omitempty"`

	// DisplayName Human-readable source name for UI pickers.
	DisplayName string `json:"display_name"`

	// EventTypes Concrete event types currently documented for this source.
	EventTypes []EventCatalogEventType `json:"event_types"`

	// Kind `integration` for provider event sources; `capability` for built-in Mobius platform event sources.
	Kind EventCatalogSourceKind `json:"kind"`

	// Prefix Top-level dotted segment that names the source (`table`, `github`).
	Prefix string `json:"prefix"`

	// Readiness Whether a catalog capability — an action, an event source, or an integration provider — is usable right now. `ready` means it can be used as-is; `needs_setup` means it is known and supported but blocked by configuration, credentials, permissions, provider runtime availability, or implementation status. This is catalog *readiness*, and is deliberately separate from a resource's lifecycle state (such as integration `status` or artifact lifecycle).
	Readiness CapabilityReadiness `json:"readiness"`

	// ReadinessReason Why a capability is `needs_setup`. Present only when readiness is `needs_setup`. `not_configured` — no integration or credential is connected yet. `inactive` — the backing integration is manually disabled. `expired` — the backing credential has expired. `provider_unavailable` — the provider runtime is not currently available. `permission_missing` — the caller lacks permission to use it. `not_implemented` — a placeholder for a capability that is not yet available.
	ReadinessReason *CapabilityReadinessReason `json:"readiness_reason,omitempty"`
}

EventCatalogSource One event source rooted at a top-level dotted prefix. Integration sources are open-set (any `<prefix>.<resource>.<event>` matches); `event_types` lists the currently-active, documented members.

type EventCatalogSourceKind added in v0.0.22

type EventCatalogSourceKind string

EventCatalogSourceKind `integration` for provider event sources; `capability` for built-in Mobius platform event sources.

const (
	EventCatalogSourceKindCapability  EventCatalogSourceKind = "capability"
	EventCatalogSourceKindIntegration EventCatalogSourceKind = "integration"
)

Defines values for EventCatalogSourceKind.

func (EventCatalogSourceKind) Valid added in v0.0.22

func (e EventCatalogSourceKind) Valid() bool

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

type EventTriggerConfig added in v0.0.24

type EventTriggerConfig struct {
	// Condition Optional expr predicate evaluated against the public `{ event, meta }` envelope.
	Condition *string `json:"condition,omitempty"`

	// EventType Source-event type or catalog pattern this trigger subscribes to.
	EventType string `json:"event_type"`

	// SourceId Optional source identifier used to scope event matching.
	SourceId *string `json:"source_id,omitempty"`
}

EventTriggerConfig Configuration for `LoopSpec.triggers[]` entries with `kind` set to `event`.

type Forbidden added in v0.0.3

type Forbidden = ErrorResponse

Forbidden Standard error envelope returned by API endpoints.

type GenerationDeltaFrame added in v0.0.29

type GenerationDeltaFrame struct {
	// Delta Token preview payload. Normal answer text arrives as `{ "text": "..." }`; summarized reasoning/thinking arrives as `{ "type": "thinking", "thinking": "..." }`.
	Delta map[string]interface{} `json:"delta"`

	// DeltaSequence Publisher-local ordering hint for deltas within a turn, not a replay cursor.
	DeltaSequence *int64 `json:"delta_sequence,omitempty"`

	// EmittedAt Server timestamp when this live preview frame was emitted.
	EmittedAt *time.Time                    `json:"emitted_at,omitempty"`
	EventType GenerationDeltaFrameEventType `json:"event_type"`
	JobId     *string                       `json:"job_id,omitempty"`

	// LiveSequence Monotonic per-turn sequence across all live-only session frames; use to detect dropped live frames.
	LiveSequence *int64 `json:"live_sequence,omitempty"`

	// Model Model producing the generation, e.g. `claude-sonnet-4-6`.
	Model                *string                `json:"model,omitempty"`
	RunId                *string                `json:"run_id,omitempty"`
	SessionId            *string                `json:"session_id,omitempty"`
	ToolCallId           *string                `json:"tool_call_id,omitempty"`
	TurnId               *string                `json:"turn_id,omitempty"`
	WorkerId             *string                `json:"worker_id,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

GenerationDeltaFrame Live-only token preview frame that can appear on run and session SSE streams. It is not persisted, does not carry an SSE `id:`, and cannot be replayed with `after_sequence` or `Last-Event-ID`.

func (GenerationDeltaFrame) Get added in v0.0.29

func (a GenerationDeltaFrame) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for GenerationDeltaFrame. Returns the specified element and whether it was found

func (GenerationDeltaFrame) MarshalJSON added in v0.0.29

func (a GenerationDeltaFrame) MarshalJSON() ([]byte, error)

Override default JSON handling for GenerationDeltaFrame to handle AdditionalProperties

func (*GenerationDeltaFrame) Set added in v0.0.29

func (a *GenerationDeltaFrame) Set(fieldName string, value interface{})

Setter for additional properties for GenerationDeltaFrame

func (*GenerationDeltaFrame) UnmarshalJSON added in v0.0.29

func (a *GenerationDeltaFrame) UnmarshalJSON(b []byte) error

Override default JSON handling for GenerationDeltaFrame to handle AdditionalProperties

type GenerationDeltaFrameEventType added in v0.0.29

type GenerationDeltaFrameEventType string

GenerationDeltaFrameEventType defines model for GenerationDeltaFrame.EventType.

const (
	GenerationDeltaFrameEventTypeGenerationDelta GenerationDeltaFrameEventType = "generation.delta"
)

Defines values for GenerationDeltaFrameEventType.

func (GenerationDeltaFrameEventType) Valid added in v0.0.29

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

type GenericEventPayload added in v0.0.29

type GenericEventPayload map[string]interface{}

GenericEventPayload Event-type-specific payload for less common event types.

type GetAPIKeyResponse

type GetAPIKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *APIKey
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetAPIKeyResponse

func ParseGetAPIKeyResponse(rsp *http.Response) (*GetAPIKeyResponse, error)

ParseGetAPIKeyResponse parses an HTTP response from a GetAPIKeyWithResponse call

func (GetAPIKeyResponse) ContentType added in v0.0.21

func (r GetAPIKeyResponse) ContentType() string

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

func (GetAPIKeyResponse) Status

func (r GetAPIKeyResponse) Status() string

Status returns HTTPResponse.Status

func (GetAPIKeyResponse) StatusCode

func (r GetAPIKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAgentMemoryResponse added in v0.0.29

type GetAgentMemoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AgentMemory
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetAgentMemoryResponse added in v0.0.29

func ParseGetAgentMemoryResponse(rsp *http.Response) (*GetAgentMemoryResponse, error)

ParseGetAgentMemoryResponse parses an HTTP response from a GetAgentMemoryWithResponse call

func (GetAgentMemoryResponse) ContentType added in v0.0.29

func (r GetAgentMemoryResponse) ContentType() string

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

func (GetAgentMemoryResponse) Status added in v0.0.29

func (r GetAgentMemoryResponse) Status() string

Status returns HTTPResponse.Status

func (GetAgentMemoryResponse) StatusCode added in v0.0.29

func (r GetAgentMemoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAgentResponse added in v0.0.3

type GetAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Agent
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetAgentResponse added in v0.0.3

func ParseGetAgentResponse(rsp *http.Response) (*GetAgentResponse, error)

ParseGetAgentResponse parses an HTTP response from a GetAgentWithResponse call

func (GetAgentResponse) ContentType added in v0.0.21

func (r GetAgentResponse) ContentType() string

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

func (GetAgentResponse) Status added in v0.0.3

func (r GetAgentResponse) Status() string

Status returns HTTPResponse.Status

func (GetAgentResponse) StatusCode added in v0.0.3

func (r GetAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAgentToolsParams added in v0.0.23

type GetAgentToolsParams struct {
	// ToolkitIds Optional comma-separated toolkit subset to apply.
	ToolkitIds *string `form:"toolkit_ids,omitempty" json:"toolkit_ids,omitempty"`

	// SkillName Optional assigned skill name to preselect as active.
	SkillName *string `form:"skill_name,omitempty" json:"skill_name,omitempty"`

	// AllowedTools Optional comma-separated canonical action names, wildcard selectors, or group references to apply as a per-invocation filter against the resolved tool set.
	AllowedTools *string `form:"allowed_tools,omitempty" json:"allowed_tools,omitempty"`
}

GetAgentToolsParams defines parameters for GetAgentTools.

type GetAgentToolsResponse added in v0.0.23

type GetAgentToolsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AgentToolManifest
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetAgentToolsResponse added in v0.0.23

func ParseGetAgentToolsResponse(rsp *http.Response) (*GetAgentToolsResponse, error)

ParseGetAgentToolsResponse parses an HTTP response from a GetAgentToolsWithResponse call

func (GetAgentToolsResponse) ContentType added in v0.0.23

func (r GetAgentToolsResponse) ContentType() string

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

func (GetAgentToolsResponse) Status added in v0.0.23

func (r GetAgentToolsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAgentToolsResponse) StatusCode added in v0.0.23

func (r GetAgentToolsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetArtifactContentResponse added in v0.0.19

type GetArtifactContentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
}

func ParseGetArtifactContentResponse added in v0.0.19

func ParseGetArtifactContentResponse(rsp *http.Response) (*GetArtifactContentResponse, error)

ParseGetArtifactContentResponse parses an HTTP response from a GetArtifactContentWithResponse call

func (GetArtifactContentResponse) ContentType added in v0.0.22

func (r GetArtifactContentResponse) ContentType() string

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

func (GetArtifactContentResponse) Status added in v0.0.19

Status returns HTTPResponse.Status

func (GetArtifactContentResponse) StatusCode added in v0.0.19

func (r GetArtifactContentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetArtifactResponse added in v0.0.19

type GetArtifactResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Artifact
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetArtifactResponse added in v0.0.19

func ParseGetArtifactResponse(rsp *http.Response) (*GetArtifactResponse, error)

ParseGetArtifactResponse parses an HTTP response from a GetArtifactWithResponse call

func (GetArtifactResponse) ContentType added in v0.0.22

func (r GetArtifactResponse) ContentType() string

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

func (GetArtifactResponse) Status added in v0.0.19

func (r GetArtifactResponse) Status() string

Status returns HTTPResponse.Status

func (GetArtifactResponse) StatusCode added in v0.0.19

func (r GetArtifactResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetArtifactStorageQuotaResponse added in v0.0.19

type GetArtifactStorageQuotaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ArtifactQuotaUsage
	JSON401      *Unauthorized
	JSON403      *Forbidden
}

func ParseGetArtifactStorageQuotaResponse added in v0.0.19

func ParseGetArtifactStorageQuotaResponse(rsp *http.Response) (*GetArtifactStorageQuotaResponse, error)

ParseGetArtifactStorageQuotaResponse parses an HTTP response from a GetArtifactStorageQuotaWithResponse call

func (GetArtifactStorageQuotaResponse) ContentType added in v0.0.22

func (r GetArtifactStorageQuotaResponse) ContentType() string

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

func (GetArtifactStorageQuotaResponse) Status added in v0.0.19

Status returns HTTPResponse.Status

func (GetArtifactStorageQuotaResponse) StatusCode added in v0.0.19

func (r GetArtifactStorageQuotaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCatalogActionResponse

type GetCatalogActionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ActionCatalogEntry
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetCatalogActionResponse

func ParseGetCatalogActionResponse(rsp *http.Response) (*GetCatalogActionResponse, error)

ParseGetCatalogActionResponse parses an HTTP response from a GetCatalogActionWithResponse call

func (GetCatalogActionResponse) ContentType added in v0.0.21

func (r GetCatalogActionResponse) ContentType() string

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

func (GetCatalogActionResponse) Status

func (r GetCatalogActionResponse) Status() string

Status returns HTTPResponse.Status

func (GetCatalogActionResponse) StatusCode

func (r GetCatalogActionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDefinitionResolverResponse added in v0.0.38

type GetDefinitionResolverResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DefinitionResolverConfig
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetDefinitionResolverResponse added in v0.0.38

func ParseGetDefinitionResolverResponse(rsp *http.Response) (*GetDefinitionResolverResponse, error)

ParseGetDefinitionResolverResponse parses an HTTP response from a GetDefinitionResolverWithResponse call

func (GetDefinitionResolverResponse) ContentType added in v0.0.38

func (r GetDefinitionResolverResponse) ContentType() string

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

func (GetDefinitionResolverResponse) Status added in v0.0.38

Status returns HTTPResponse.Status

func (GetDefinitionResolverResponse) StatusCode added in v0.0.38

func (r GetDefinitionResolverResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEnvironmentResponse added in v0.0.21

type GetEnvironmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Environment
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetEnvironmentResponse added in v0.0.21

func ParseGetEnvironmentResponse(rsp *http.Response) (*GetEnvironmentResponse, error)

ParseGetEnvironmentResponse parses an HTTP response from a GetEnvironmentWithResponse call

func (GetEnvironmentResponse) ContentType added in v0.0.21

func (r GetEnvironmentResponse) ContentType() string

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

func (GetEnvironmentResponse) Status added in v0.0.21

func (r GetEnvironmentResponse) Status() string

Status returns HTTPResponse.Status

func (GetEnvironmentResponse) StatusCode added in v0.0.21

func (r GetEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInteractionResponse

type GetInteractionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Interaction
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetInteractionResponse

func ParseGetInteractionResponse(rsp *http.Response) (*GetInteractionResponse, error)

ParseGetInteractionResponse parses an HTTP response from a GetInteractionWithResponse call

func (GetInteractionResponse) ContentType added in v0.0.21

func (r GetInteractionResponse) ContentType() string

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

func (GetInteractionResponse) Status

func (r GetInteractionResponse) Status() string

Status returns HTTPResponse.Status

func (GetInteractionResponse) StatusCode

func (r GetInteractionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLoopResponse added in v0.0.24

type GetLoopResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Loop
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetLoopResponse added in v0.0.24

func ParseGetLoopResponse(rsp *http.Response) (*GetLoopResponse, error)

ParseGetLoopResponse parses an HTTP response from a GetLoopWithResponse call

func (GetLoopResponse) ContentType added in v0.0.24

func (r GetLoopResponse) ContentType() string

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

func (GetLoopResponse) Status added in v0.0.24

func (r GetLoopResponse) Status() string

Status returns HTTPResponse.Status

func (GetLoopResponse) StatusCode added in v0.0.24

func (r GetLoopResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOAuthReturnOriginsResponse added in v0.0.55

type GetOAuthReturnOriginsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OAuthReturnOrigins
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetOAuthReturnOriginsResponse added in v0.0.55

func ParseGetOAuthReturnOriginsResponse(rsp *http.Response) (*GetOAuthReturnOriginsResponse, error)

ParseGetOAuthReturnOriginsResponse parses an HTTP response from a GetOAuthReturnOriginsWithResponse call

func (GetOAuthReturnOriginsResponse) ContentType added in v0.0.55

func (r GetOAuthReturnOriginsResponse) ContentType() string

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

func (GetOAuthReturnOriginsResponse) Status added in v0.0.55

Status returns HTTPResponse.Status

func (GetOAuthReturnOriginsResponse) StatusCode added in v0.0.55

func (r GetOAuthReturnOriginsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrgAPIKeyResponse added in v0.0.36

type GetOrgAPIKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *APIKey
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetOrgAPIKeyResponse added in v0.0.36

func ParseGetOrgAPIKeyResponse(rsp *http.Response) (*GetOrgAPIKeyResponse, error)

ParseGetOrgAPIKeyResponse parses an HTTP response from a GetOrgAPIKeyWithResponse call

func (GetOrgAPIKeyResponse) ContentType added in v0.0.36

func (r GetOrgAPIKeyResponse) ContentType() string

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

func (GetOrgAPIKeyResponse) Status added in v0.0.36

func (r GetOrgAPIKeyResponse) Status() string

Status returns HTTPResponse.Status

func (GetOrgAPIKeyResponse) StatusCode added in v0.0.36

func (r GetOrgAPIKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrganizationActionResponse added in v0.0.54

type GetOrganizationActionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OrganizationAction
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetOrganizationActionResponse added in v0.0.54

func ParseGetOrganizationActionResponse(rsp *http.Response) (*GetOrganizationActionResponse, error)

ParseGetOrganizationActionResponse parses an HTTP response from a GetOrganizationActionWithResponse call

func (GetOrganizationActionResponse) ContentType added in v0.0.54

func (r GetOrganizationActionResponse) ContentType() string

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

func (GetOrganizationActionResponse) Status added in v0.0.54

Status returns HTTPResponse.Status

func (GetOrganizationActionResponse) StatusCode added in v0.0.54

func (r GetOrganizationActionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrganizationSkillResponse added in v0.0.54

type GetOrganizationSkillResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Skill
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetOrganizationSkillResponse added in v0.0.54

func ParseGetOrganizationSkillResponse(rsp *http.Response) (*GetOrganizationSkillResponse, error)

ParseGetOrganizationSkillResponse parses an HTTP response from a GetOrganizationSkillWithResponse call

func (GetOrganizationSkillResponse) ContentType added in v0.0.54

func (r GetOrganizationSkillResponse) ContentType() string

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

func (GetOrganizationSkillResponse) Status added in v0.0.54

Status returns HTTPResponse.Status

func (GetOrganizationSkillResponse) StatusCode added in v0.0.54

func (r GetOrganizationSkillResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetOrganizationSkillUsageResponse added in v0.0.54

type GetOrganizationSkillUsageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OrganizationSkillUsage
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetOrganizationSkillUsageResponse added in v0.0.54

func ParseGetOrganizationSkillUsageResponse(rsp *http.Response) (*GetOrganizationSkillUsageResponse, error)

ParseGetOrganizationSkillUsageResponse parses an HTTP response from a GetOrganizationSkillUsageWithResponse call

func (GetOrganizationSkillUsageResponse) ContentType added in v0.0.54

func (r GetOrganizationSkillUsageResponse) ContentType() string

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

func (GetOrganizationSkillUsageResponse) Status added in v0.0.54

Status returns HTTPResponse.Status

func (GetOrganizationSkillUsageResponse) StatusCode added in v0.0.54

func (r GetOrganizationSkillUsageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPrincipalResponse added in v0.0.22

type GetPrincipalResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Principal
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetPrincipalResponse added in v0.0.22

func ParseGetPrincipalResponse(rsp *http.Response) (*GetPrincipalResponse, error)

ParseGetPrincipalResponse parses an HTTP response from a GetPrincipalWithResponse call

func (GetPrincipalResponse) ContentType added in v0.0.22

func (r GetPrincipalResponse) ContentType() string

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

func (GetPrincipalResponse) Status added in v0.0.22

func (r GetPrincipalResponse) Status() string

Status returns HTTPResponse.Status

func (GetPrincipalResponse) StatusCode added in v0.0.22

func (r GetPrincipalResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectCapabilitiesResponse added in v0.0.37

type GetProjectCapabilitiesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProjectCapabilities
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetProjectCapabilitiesResponse added in v0.0.37

func ParseGetProjectCapabilitiesResponse(rsp *http.Response) (*GetProjectCapabilitiesResponse, error)

ParseGetProjectCapabilitiesResponse parses an HTTP response from a GetProjectCapabilitiesWithResponse call

func (GetProjectCapabilitiesResponse) ContentType added in v0.0.37

func (r GetProjectCapabilitiesResponse) ContentType() string

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

func (GetProjectCapabilitiesResponse) Status added in v0.0.37

Status returns HTTPResponse.Status

func (GetProjectCapabilitiesResponse) StatusCode added in v0.0.37

func (r GetProjectCapabilitiesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetProjectResponse added in v0.0.3

type GetProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Project
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetProjectResponse added in v0.0.3

func ParseGetProjectResponse(rsp *http.Response) (*GetProjectResponse, error)

ParseGetProjectResponse parses an HTTP response from a GetProjectWithResponse call

func (GetProjectResponse) ContentType added in v0.0.21

func (r GetProjectResponse) ContentType() string

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

func (GetProjectResponse) Status added in v0.0.3

func (r GetProjectResponse) Status() string

Status returns HTTPResponse.Status

func (GetProjectResponse) StatusCode added in v0.0.3

func (r GetProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRoleResponse

type GetRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Role
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetRoleResponse

func ParseGetRoleResponse(rsp *http.Response) (*GetRoleResponse, error)

ParseGetRoleResponse parses an HTTP response from a GetRoleWithResponse call

func (GetRoleResponse) ContentType added in v0.0.21

func (r GetRoleResponse) ContentType() string

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

func (GetRoleResponse) Status

func (r GetRoleResponse) Status() string

Status returns HTTPResponse.Status

func (GetRoleResponse) StatusCode

func (r GetRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRunResponse

type GetRunResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LoopRun
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetRunResponse

func ParseGetRunResponse(rsp *http.Response) (*GetRunResponse, error)

ParseGetRunResponse parses an HTTP response from a GetRunWithResponse call

func (GetRunResponse) ContentType added in v0.0.21

func (r GetRunResponse) ContentType() string

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

func (GetRunResponse) Status

func (r GetRunResponse) Status() string

Status returns HTTPResponse.Status

func (GetRunResponse) StatusCode

func (r GetRunResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSessionNudgeResponse added in v0.0.42

type GetSessionNudgeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SessionNudge
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetSessionNudgeResponse added in v0.0.42

func ParseGetSessionNudgeResponse(rsp *http.Response) (*GetSessionNudgeResponse, error)

ParseGetSessionNudgeResponse parses an HTTP response from a GetSessionNudgeWithResponse call

func (GetSessionNudgeResponse) ContentType added in v0.0.42

func (r GetSessionNudgeResponse) ContentType() string

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

func (GetSessionNudgeResponse) Status added in v0.0.42

func (r GetSessionNudgeResponse) Status() string

Status returns HTTPResponse.Status

func (GetSessionNudgeResponse) StatusCode added in v0.0.42

func (r GetSessionNudgeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSessionResponse added in v0.0.26

type GetSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Session
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetSessionResponse added in v0.0.26

func ParseGetSessionResponse(rsp *http.Response) (*GetSessionResponse, error)

ParseGetSessionResponse parses an HTTP response from a GetSessionWithResponse call

func (GetSessionResponse) ContentType added in v0.0.26

func (r GetSessionResponse) ContentType() string

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

func (GetSessionResponse) Status added in v0.0.26

func (r GetSessionResponse) Status() string

Status returns HTTPResponse.Status

func (GetSessionResponse) StatusCode added in v0.0.26

func (r GetSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSessionTranscriptParams added in v0.0.43

type GetSessionTranscriptParams struct {
	// Cursor Opaque resume_cursor from a prior snapshot or stream.
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`

	// PageToken Opaque fixed-cut continuation returned as next_page_token.
	PageToken *string `form:"page_token,omitempty" json:"page_token,omitempty"`

	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

GetSessionTranscriptParams defines parameters for GetSessionTranscript.

type GetSessionTranscriptResponse added in v0.0.43

type GetSessionTranscriptResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SessionTranscriptSnapshot
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetSessionTranscriptResponse added in v0.0.43

func ParseGetSessionTranscriptResponse(rsp *http.Response) (*GetSessionTranscriptResponse, error)

ParseGetSessionTranscriptResponse parses an HTTP response from a GetSessionTranscriptWithResponse call

func (GetSessionTranscriptResponse) ContentType added in v0.0.43

func (r GetSessionTranscriptResponse) ContentType() string

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

func (GetSessionTranscriptResponse) Status added in v0.0.43

Status returns HTTPResponse.Status

func (GetSessionTranscriptResponse) StatusCode added in v0.0.43

func (r GetSessionTranscriptResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSessionTurnLiveResponse added in v0.0.29

type GetSessionTurnLiveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SessionLiveSnapshot
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetSessionTurnLiveResponse added in v0.0.29

func ParseGetSessionTurnLiveResponse(rsp *http.Response) (*GetSessionTurnLiveResponse, error)

ParseGetSessionTurnLiveResponse parses an HTTP response from a GetSessionTurnLiveWithResponse call

func (GetSessionTurnLiveResponse) ContentType added in v0.0.29

func (r GetSessionTurnLiveResponse) ContentType() string

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

func (GetSessionTurnLiveResponse) Status added in v0.0.29

Status returns HTTPResponse.Status

func (GetSessionTurnLiveResponse) StatusCode added in v0.0.29

func (r GetSessionTurnLiveResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSessionTurnResponse added in v0.0.29

type GetSessionTurnResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AgentTurn
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetSessionTurnResponse added in v0.0.29

func ParseGetSessionTurnResponse(rsp *http.Response) (*GetSessionTurnResponse, error)

ParseGetSessionTurnResponse parses an HTTP response from a GetSessionTurnWithResponse call

func (GetSessionTurnResponse) ContentType added in v0.0.29

func (r GetSessionTurnResponse) ContentType() string

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

func (GetSessionTurnResponse) Status added in v0.0.29

func (r GetSessionTurnResponse) Status() string

Status returns HTTPResponse.Status

func (GetSessionTurnResponse) StatusCode added in v0.0.29

func (r GetSessionTurnResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSkillResponse added in v0.0.21

type GetSkillResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Skill
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetSkillResponse added in v0.0.21

func ParseGetSkillResponse(rsp *http.Response) (*GetSkillResponse, error)

ParseGetSkillResponse parses an HTTP response from a GetSkillWithResponse call

func (GetSkillResponse) ContentType added in v0.0.21

func (r GetSkillResponse) ContentType() string

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

func (GetSkillResponse) Status added in v0.0.21

func (r GetSkillResponse) Status() string

Status returns HTTPResponse.Status

func (GetSkillResponse) StatusCode added in v0.0.21

func (r GetSkillResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTableResponse added in v0.0.20

type GetTableResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Table
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetTableResponse added in v0.0.20

func ParseGetTableResponse(rsp *http.Response) (*GetTableResponse, error)

ParseGetTableResponse parses an HTTP response from a GetTableWithResponse call

func (GetTableResponse) ContentType added in v0.0.21

func (r GetTableResponse) ContentType() string

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

func (GetTableResponse) Status added in v0.0.20

func (r GetTableResponse) Status() string

Status returns HTTPResponse.Status

func (GetTableResponse) StatusCode added in v0.0.20

func (r GetTableResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTableRowResponse added in v0.0.20

type GetTableRowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TableRow
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetTableRowResponse added in v0.0.20

func ParseGetTableRowResponse(rsp *http.Response) (*GetTableRowResponse, error)

ParseGetTableRowResponse parses an HTTP response from a GetTableRowWithResponse call

func (GetTableRowResponse) ContentType added in v0.0.21

func (r GetTableRowResponse) ContentType() string

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

func (GetTableRowResponse) Status added in v0.0.20

func (r GetTableRowResponse) Status() string

Status returns HTTPResponse.Status

func (GetTableRowResponse) StatusCode added in v0.0.20

func (r GetTableRowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTableStatsResponse added in v0.0.20

type GetTableStatsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TableStats
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetTableStatsResponse added in v0.0.20

func ParseGetTableStatsResponse(rsp *http.Response) (*GetTableStatsResponse, error)

ParseGetTableStatsResponse parses an HTTP response from a GetTableStatsWithResponse call

func (GetTableStatsResponse) ContentType added in v0.0.21

func (r GetTableStatsResponse) ContentType() string

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

func (GetTableStatsResponse) Status added in v0.0.20

func (r GetTableStatsResponse) Status() string

Status returns HTTPResponse.Status

func (GetTableStatsResponse) StatusCode added in v0.0.20

func (r GetTableStatsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetToolkitResponse added in v0.0.21

type GetToolkitResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Toolkit
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetToolkitResponse added in v0.0.21

func ParseGetToolkitResponse(rsp *http.Response) (*GetToolkitResponse, error)

ParseGetToolkitResponse parses an HTTP response from a GetToolkitWithResponse call

func (GetToolkitResponse) ContentType added in v0.0.21

func (r GetToolkitResponse) ContentType() string

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

func (GetToolkitResponse) Status added in v0.0.21

func (r GetToolkitResponse) Status() string

Status returns HTTPResponse.Status

func (GetToolkitResponse) StatusCode added in v0.0.21

func (r GetToolkitResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWebhookResponse

type GetWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Webhook
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseGetWebhookResponse

func ParseGetWebhookResponse(rsp *http.Response) (*GetWebhookResponse, error)

ParseGetWebhookResponse parses an HTTP response from a GetWebhookWithResponse call

func (GetWebhookResponse) ContentType added in v0.0.21

func (r GetWebhookResponse) ContentType() string

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

func (GetWebhookResponse) Status

func (r GetWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (GetWebhookResponse) StatusCode

func (r GetWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HTTPTriggerConfig added in v0.0.24

type HTTPTriggerConfig struct {
	// HttpHandle Optional public delivery handle for `POST /v1/triggers/http/{http_handle}`. Omit to let Mobius use the materialized trigger id as the unguessable handle.
	HttpHandle *string `json:"http_handle,omitempty"`
}

HTTPTriggerConfig Configuration for `LoopSpec.triggers[]` entries with `kind` set to `http`.

type HTTPTriggerDeliveryRequest added in v0.0.24

type HTTPTriggerDeliveryRequest map[string]interface{}

HTTPTriggerDeliveryRequest Free-form JSON object delivered to the HTTP trigger. The payload is recorded on the source event and forwarded to the run as the event.

type HTTPTriggerDeliveryResult added in v0.0.25

type HTTPTriggerDeliveryResult struct {
	// Deduped True when an existing source-event row was returned for the same idempotency key.
	Deduped *bool `json:"deduped,omitempty"`

	// SourceEventId Durable source-event id (also the `dedup_key` seed). Stable across retries with the same `Idempotency-Key`.
	SourceEventId string `json:"source_event_id"`

	// Status Acceptance status of the source-event row. The only synchronous success value is `accepted`; processing happens asynchronously after the source event is durable.
	Status HTTPTriggerDeliveryResultStatus `json:"status"`
}

HTTPTriggerDeliveryResult Synchronous receipt for an inbound HTTP-trigger delivery. The trigger dispatch and run start happen asynchronously after this response. Clients can poll via `GET /v1/projects/{project_handle}/runs?source_event_id=<source_event_id>` to discover the run once the source-event processor reserves it.

type HTTPTriggerDeliveryResultStatus added in v0.0.25

type HTTPTriggerDeliveryResultStatus string

HTTPTriggerDeliveryResultStatus Acceptance status of the source-event row. The only synchronous success value is `accepted`; processing happens asynchronously after the source event is durable.

const (
	HTTPTriggerDeliveryResultStatusAccepted HTTPTriggerDeliveryResultStatus = "accepted"
)

Defines values for HTTPTriggerDeliveryResultStatus.

func (HTTPTriggerDeliveryResultStatus) Valid added in v0.0.25

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

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type HttpSubscriberConsumer added in v0.0.21

type HttpSubscriberConsumer struct {
	// CallbackUrl Absolute http(s) URL the server POSTs to when the interaction resolves. The body is a JSON object with the interaction id, kind, status, outcome value, comment, responder, and `resolved_by`. Delivery is enqueued as a `source_events` dispatch so the worker can retry failed attempts instead of dropping them inline with interaction resolution.
	CallbackUrl string `json:"callback_url"`

	// SecretRef Required reference to a project secret used to sign deliveries with HMAC-SHA256 over the canonical string `v1.{delivery_id}.{unix_timestamp}.{raw_body}`, where `delivery_id` is the value in `X-Mobius-Delivery-Id` and `raw_body` is the exact callback request body bytes. Accepts `<name>` for the latest enabled version or `<name>:<version>` to pin a specific positive-integer version. The plaintext signing bytes are taken from the secret's `signing_key_b64` key, which must base64-decode to exactly 32 bytes. The hex signature is forwarded as `X-Mobius-Signature: sha256=<hex>` alongside `X-Mobius-Secret-Ref`, `X-Mobius-Secret-Version`, `X-Mobius-Signature-Version: v1`, and a unix `X-Mobius-Timestamp`. Consumers should reject stale timestamps (for example, older than five minutes). When `secret_ref` resolution fails the dispatch is retried by the event processor rather than sent unsigned.
	SecretRef string `json:"secret_ref"`
}

HttpSubscriberConsumer defines model for HttpSubscriberConsumer.

type IDParam

type IDParam = string

IDParam defines model for IDParam.

type IfExists added in v0.0.55

type IfExists string

IfExists Create-or-adopt behavior when a request's `external_ref` matches an existing resource. `error` (the default) rejects the request with 409. `adopt` returns the existing resource unchanged instead — mutable fields in the request are ignored, since no write happens — and requires `external_ref` to be set; omitting it returns 400.

const (
	IfExistsAdopt IfExists = "adopt"
	IfExistsError IfExists = "error"
)

Defines values for IfExists.

func (IfExists) Valid added in v0.0.55

func (e IfExists) Valid() bool

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

type ImportOrganizationSkillJSONRequestBody added in v0.0.54

type ImportOrganizationSkillJSONRequestBody = ImportSkillRequest

ImportOrganizationSkillJSONRequestBody defines body for ImportOrganizationSkill for application/json ContentType.

type ImportOrganizationSkillResponse added in v0.0.54

type ImportOrganizationSkillResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Skill
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseImportOrganizationSkillResponse added in v0.0.54

func ParseImportOrganizationSkillResponse(rsp *http.Response) (*ImportOrganizationSkillResponse, error)

ParseImportOrganizationSkillResponse parses an HTTP response from a ImportOrganizationSkillWithResponse call

func (ImportOrganizationSkillResponse) ContentType added in v0.0.54

func (r ImportOrganizationSkillResponse) ContentType() string

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

func (ImportOrganizationSkillResponse) Status added in v0.0.54

Status returns HTTPResponse.Status

func (ImportOrganizationSkillResponse) StatusCode added in v0.0.54

func (r ImportOrganizationSkillResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ImportSkillJSONRequestBody added in v0.0.21

type ImportSkillJSONRequestBody = ImportSkillRequest

ImportSkillJSONRequestBody defines body for ImportSkill for application/json ContentType.

type ImportSkillRequest added in v0.0.21

type ImportSkillRequest struct {
	// Content Full skill document, optionally with YAML frontmatter.
	Content string `json:"content"`

	// Name Optional name override.
	Name *string `json:"name,omitempty"`
}

ImportSkillRequest defines model for ImportSkillRequest.

type ImportSkillResponse added in v0.0.21

type ImportSkillResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Skill
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseImportSkillResponse added in v0.0.21

func ParseImportSkillResponse(rsp *http.Response) (*ImportSkillResponse, error)

ParseImportSkillResponse parses an HTTP response from a ImportSkillWithResponse call

func (ImportSkillResponse) ContentType added in v0.0.21

func (r ImportSkillResponse) ContentType() string

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

func (ImportSkillResponse) Status added in v0.0.21

func (r ImportSkillResponse) Status() string

Status returns HTTPResponse.Status

func (ImportSkillResponse) StatusCode added in v0.0.21

func (r ImportSkillResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type IndexDef added in v0.0.19

type IndexDef struct {
	// Columns Column names included in the index, in order.
	Columns []string `json:"columns"`

	// Name Stable index name unique within the table schema.
	Name string `json:"name"`
}

IndexDef Compatibility metadata for older table schemas. Declared indexes do not create physical database indexes.

type InlineAgentConfig added in v0.0.37

type InlineAgentConfig struct {
	// Effort Reasoning-effort level for a turn, lowest (`low`) to highest (`max`). Higher effort spends more tokens on reasoning, improving quality on hard tasks at the cost of latency and credits. Levels above what the resolved model supports are clamped down. Set on an agent it is the default; set on a session or loop step it overrides the agent default. `inherit` (or omitting the field) defers to the layer below — the agent default for a session/step, or the provider's own default when nothing sets a level.
	Effort *ThinkingEffort `json:"effort,omitempty"`

	// Instructions System-prompt instructions for the agent. Replaces the agent's configured system prompt for this session. Empty falls back to the generated default.
	Instructions *string `json:"instructions,omitempty"`

	// MemoryContext Automatic memory delivery policy. The JSON object requires `mode` (`index`, `full`, or `off`) and optionally accepts `max_bytes`, for example `{"mode":"full","max_bytes":131072}`.
	MemoryContext *MemoryContextPolicy `json:"memory_context,omitempty"`

	// Model LLM model identifier. Resolves through the same model routing and allow rules as a stored agent's model.
	Model *string `json:"model,omitempty"`

	// Skills Skills that replace the agent's skill assignments for this session. Each carries its full instruction body, lazy-loaded via the invoke_skill tool. Replaces wholesale.
	Skills *[]InlineSkill `json:"skills,omitempty"`

	// TimeoutSeconds Per-turn execution timeout in seconds. Zero uses the platform default. A loop step's own timeout still overrides this.
	TimeoutSeconds *int64 `json:"timeout_seconds,omitempty"`

	// Toolkits Toolkit selections that replace the agent's toolkit assignments for this session. Each names the actions (from this project's action catalog) the agent may call. Replaces wholesale — an omitted `toolkits` inherits the agent's assignments.
	Toolkits *[]InlineToolkit `json:"toolkits,omitempty"`
}

InlineAgentConfig An agent definition sent with the invocation instead of one stored in Mobius ahead of time. Send it on the call that creates the session and it becomes that session's definition; send it again on a later turn to replace it; leave it out and the session keeps the definition it already has.

A session holds one config at a time. If two calls share a session and both send `config`, the last one Mobius saves wins, so give each definition you want to run at the same time its own session.

Every field is optional. A field you set replaces the agent's value; a field you leave out keeps the agent's value. The `toolkits` and `skills` lists replace the agent's lists entirely — they are not merged item by item. If your organization sets limits on the model, effort, or timeout, those limits still apply, so a value here can never exceed them. Use `config` for one-off invocations only: loops and schedules must point to a stored agent, so creating or updating one with `config` is rejected.

type InlineSkill added in v0.0.37

type InlineSkill struct {
	// Body The skill's full instructions, loaded on demand.
	Body *string `json:"body,omitempty"`

	// Description One-line summary shown in the agent's skills list.
	Description *string `json:"description,omitempty"`

	// Name Skill name, referenced by the invoke_skill tool.
	Name string `json:"name"`
}

InlineSkill A skill definition carried in an inline agent config.

type InlineToolkit added in v0.0.37

type InlineToolkit struct {
	// Actions Action names (from the project catalog) this toolkit grants.
	Actions *[]string `json:"actions,omitempty"`

	// Name Toolkit name.
	Name string `json:"name"`
}

InlineToolkit A toolkit selection carried in an inline agent config.

type InsertRowRequest added in v0.0.19

type InsertRowRequest struct {
	// Data JSON object keyed by table column name.
	Data map[string]interface{} `json:"data"`
}

InsertRowRequest defines model for InsertRowRequest.

type Interaction

type Interaction struct {
	// CancelReason Reason recorded when the interaction was cancelled.
	CancelReason *string `json:"cancel_reason,omitempty"`

	// CompletedAt Timestamp when the interaction received a terminal response.
	CompletedAt *time.Time `json:"completed_at,omitempty"`

	// Consumer Polymorphic identifier of what is waiting on this interaction's resolution. Replaces the special-cased `run_id`/`signal_name` pair; the latter remain populated when `consumer.kind=run`.
	Consumer *Consumer `json:"consumer,omitempty"`

	// Context Additional key-value context surfaced in the UI alongside the title and description when supplied.
	Context *map[string]interface{} `json:"context,omitempty"`

	// CreatedAt Timestamp when this interaction was created.
	CreatedAt time.Time `json:"created_at"`

	// CreatedBy Canonical principal ID of the human or agent that created the interaction; null for legacy/system-created rows.
	CreatedBy *string `json:"created_by,omitempty"`

	// Delivery Optional per-interaction delivery override. When absent, the dispatcher delivers to the app inbox only.
	Delivery *Delivery `json:"delivery,omitempty"`

	// Description Optional longer responder-facing detail or instructions.
	Description *string `json:"description,omitempty"`

	// ExpiresAt Timestamp when this interaction expires if not responded to.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`

	// Id Unique identifier for this interaction.
	Id string `json:"id"`

	// Kind Protocol kind of the interaction. Launch keeps this intentionally
	// small:
	// * `request_information` — a data-collection protocol with structured
	// or free-form input
	// * `request_approval` — a decision protocol (yes/no, optionally
	// yes/no/defer)
	// * `request_review` — a judgment protocol that evaluates supplied
	// material
	Kind InteractionKind `json:"kind"`

	// Outcome Free-form JSON payload. Used both for responder-supplied values and for policy-derived values (e.g. `Interaction.outcome`, `ResolutionPolicy.proposal`); each consumer documents which.
	Outcome *InteractionValue `json:"outcome,omitempty"`

	// Properties Free-form structured metadata attached to the interaction; null when no metadata is attached.
	Properties *map[string]interface{} `json:"properties,omitempty"`

	// References Supporting links and related entities.
	References *[]InteractionReference `json:"references,omitempty"`

	// RequireAll When true, all target users must respond before completion.
	RequireAll *bool `json:"require_all,omitempty"`

	// ResolutionPolicy Declarative resolution rule attached at creation time. Legacy `require_all` inputs are synthesized into an equivalent policy at create time when present. Newer rows typically include this field; nullability covers historical rows and callers that omit it.
	ResolutionPolicy *ResolutionPolicy `json:"resolution_policy,omitempty"`

	// ResolvedBy Short audit string identifying which policy rule fired. Null until the interaction reaches a resolved state.
	ResolvedBy *string `json:"resolved_by,omitempty"`

	// ResolvingResponseId ID of the response that triggered resolution. Null while the interaction is pending, cancelled, or expired. Look up the response in `responses` for the full payload.
	ResolvingResponseId *string `json:"resolving_response_id,omitempty"`

	// Responder User or agent that completed the interaction; null until completion.
	Responder *InteractionResponder `json:"responder,omitempty"`

	// Responses All response artifacts recorded against this interaction in arrival order.
	Responses *[]InteractionResponse `json:"responses,omitempty"`

	// RunId Originating loop run when the interaction is run-backed.
	RunId *string `json:"run_id,omitempty"`

	// SignalName Signal name used to resume the originating run when run-backed.
	SignalName *string `json:"signal_name,omitempty"`

	// Spec Declarative dialog contract for rendering and validating an interaction. Used at both authoring time (inside a loop definition) and runtime (persisted on an interaction). Protocol kind is decoupled from input shape: each kind declares which spec modes are *allowed*, not which is *implied*. An approval may now legitimately use `select` mode (approve/deny/defer), for example.
	//
	// Allowed combinations:
	// * `request_approval` → `confirm`, `select`
	// * `request_review` → `select`, `input`
	// * `request_information` → `select`, `multi_select`, `input`
	Spec *InteractionSpec `json:"spec,omitempty"`

	// Status Current status of the interaction: pending, completed, expired, or cancelled.
	Status InteractionStatus `json:"status"`

	// Subject Primary work item or artifact the interaction is about; null when no subject was supplied.
	Subject *InteractionReference `json:"subject,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// TargetUserIds Resolved user IDs targeted by the interaction.
	TargetUserIds []string `json:"target_user_ids"`

	// Title Short non-empty title shown to the responder.
	Title string `json:"title"`

	// UpdatedAt Timestamp when this interaction was last updated.
	UpdatedAt time.Time `json:"updated_at"`
}

Interaction Human or agent interaction request and its current response state.

type InteractionKind added in v0.0.21

type InteractionKind string

InteractionKind Protocol kind of the interaction. Launch keeps this intentionally small: * `request_information` — a data-collection protocol with structured or free-form input * `request_approval` — a decision protocol (yes/no, optionally yes/no/defer) * `request_review` — a judgment protocol that evaluates supplied material

const (
	InteractionKindRequestApproval    InteractionKind = "request_approval"
	InteractionKindRequestInformation InteractionKind = "request_information"
	InteractionKindRequestReview      InteractionKind = "request_review"
)

Defines values for InteractionKind.

func (InteractionKind) Valid added in v0.0.21

func (e InteractionKind) Valid() bool

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

type InteractionListResponse

type InteractionListResponse struct {
	// HasMore Whether additional pages are available.
	HasMore *bool `json:"has_more,omitempty"`

	// Items The list of results for this page.
	Items []Interaction `json:"items"`

	// NextCursor Opaque cursor to pass as `cursor` on the next request. Absent when `has_more` is false.
	NextCursor *string `json:"next_cursor,omitempty"`
}

InteractionListResponse defines model for InteractionListResponse.

type InteractionMode added in v0.0.7

type InteractionMode string

InteractionMode Declarative UI/input primitive for collecting the response. This is a portable rendering contract, not executable code. Values are `confirm`, `select`, `multi_select`, and `input`.

const (
	InteractionModeConfirm     InteractionMode = "confirm"
	InteractionModeInput       InteractionMode = "input"
	InteractionModeMultiSelect InteractionMode = "multi_select"
	InteractionModeSelect      InteractionMode = "select"
)

Defines values for InteractionMode.

func (InteractionMode) Valid added in v0.0.7

func (e InteractionMode) Valid() bool

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

type InteractionOption

type InteractionOption struct {
	// Description Optional additional context shown beneath the label.
	Description *string `json:"description,omitempty"`

	// Label Human-readable label displayed for this option.
	Label string `json:"label"`

	// Value Machine-readable value submitted when this option is chosen.
	Value string `json:"value"`
}

InteractionOption Selectable option for `select` and `multi_select` modes.

type InteractionReference added in v0.0.21

type InteractionReference struct {
	// EntityId Required when kind is `mobius_entity`.
	EntityId *string `json:"entity_id,omitempty"`

	// EntityType Required when kind is `mobius_entity`.
	EntityType *string                  `json:"entity_type,omitempty"`
	Kind       InteractionReferenceKind `json:"kind"`

	// Label User-facing label for display.
	Label *string `json:"label,omitempty"`

	// Relation Relationship such as `subject`, `evidence`, or `related`.
	Relation *string `json:"relation,omitempty"`

	// Url Required when kind is `external_url`.
	Url *string `json:"url,omitempty"`
}

InteractionReference Pointer to the work item, artifact, external ticket, or Mobius entity this interaction is about.

type InteractionReferenceKind added in v0.0.21

type InteractionReferenceKind string

InteractionReferenceKind defines model for InteractionReference.Kind.

const (
	InteractionReferenceKindExternalUrl  InteractionReferenceKind = "external_url"
	InteractionReferenceKindMobiusEntity InteractionReferenceKind = "mobius_entity"
)

Defines values for InteractionReferenceKind.

func (InteractionReferenceKind) Valid added in v0.0.21

func (e InteractionReferenceKind) Valid() bool

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

type InteractionRespondedPayload added in v0.0.29

type InteractionRespondedPayload struct {
	InteractionId        *string                 `json:"interaction_id,omitempty"`
	Responder            *map[string]interface{} `json:"responder,omitempty"`
	Response             *map[string]interface{} `json:"response,omitempty"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

InteractionRespondedPayload defines model for InteractionRespondedPayload.

func (InteractionRespondedPayload) Get added in v0.0.29

func (a InteractionRespondedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for InteractionRespondedPayload. Returns the specified element and whether it was found

func (InteractionRespondedPayload) MarshalJSON added in v0.0.29

func (a InteractionRespondedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for InteractionRespondedPayload to handle AdditionalProperties

func (*InteractionRespondedPayload) Set added in v0.0.29

func (a *InteractionRespondedPayload) Set(fieldName string, value interface{})

Setter for additional properties for InteractionRespondedPayload

func (*InteractionRespondedPayload) UnmarshalJSON added in v0.0.29

func (a *InteractionRespondedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for InteractionRespondedPayload to handle AdditionalProperties

type InteractionResponder added in v0.0.7

type InteractionResponder struct {
	// UserId Responder user ID.
	UserId string `json:"user_id"`
}

InteractionResponder Identifies the principal who answered an interaction. Agents answer through their agent principal ID.

type InteractionResponse

type InteractionResponse struct {
	// Attempt Reserved for future retry-aware response flows; null until attempts are tracked.
	Attempt *int `json:"attempt,omitempty"`

	// Comment Optional free-text comment from this responder.
	Comment   *string   `json:"comment,omitempty"`
	CreatedAt time.Time `json:"created_at"`

	// Id Unique identifier for this response.
	Id string `json:"id"`

	// InteractionId ID of the interaction this response belongs to.
	InteractionId string `json:"interaction_id"`

	// RespondedAt Timestamp when this response was submitted.
	RespondedAt time.Time `json:"responded_at"`

	// ResponderUserId User ID that submitted this response.
	ResponderUserId string `json:"responder_user_id"`

	// ResponseKind Answer response.
	ResponseKind InteractionResponseResponseKind `json:"response_kind"`

	// State Lifecycle state for this response row.
	State     InteractionResponseState `json:"state"`
	UpdatedAt time.Time                `json:"updated_at"`

	// Value Free-form JSON payload. Used both for responder-supplied values and for policy-derived values (e.g. `Interaction.outcome`, `ResolutionPolicy.proposal`); each consumer documents which.
	Value InteractionValue `json:"value"`
}

InteractionResponse One persisted answer artifact for an interaction. The response that triggered resolution is referenced from `Interaction.resolving_response_id`.

type InteractionResponseResponseKind added in v0.0.21

type InteractionResponseResponseKind string

InteractionResponseResponseKind Answer response.

const (
	InteractionResponseResponseKindResponse InteractionResponseResponseKind = "response"
)

Defines values for InteractionResponseResponseKind.

func (InteractionResponseResponseKind) Valid added in v0.0.21

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

type InteractionResponseState added in v0.0.21

type InteractionResponseState string

InteractionResponseState Lifecycle state for this response row.

const (
	InteractionResponseStateSubmitted InteractionResponseState = "submitted"
)

Defines values for InteractionResponseState.

func (InteractionResponseState) Valid added in v0.0.21

func (e InteractionResponseState) Valid() bool

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

type InteractionSpec

type InteractionSpec struct {
	// DefaultConfirmed Initial yes/no value for `confirm` mode.
	DefaultConfirmed *bool `json:"default_confirmed,omitempty"`

	// DefaultText Initial text value for `input` mode.
	DefaultText *string `json:"default_text,omitempty"`

	// DefaultValue Default selected option for `select` mode.
	DefaultValue *string `json:"default_value,omitempty"`

	// DefaultValues Default selected options for `multi_select` mode.
	DefaultValues *[]string `json:"default_values,omitempty"`

	// Mode Declarative UI/input primitive for collecting the response. This is a portable rendering contract, not executable code. Values are `confirm`, `select`, `multi_select`, and `input`.
	Mode InteractionMode `json:"mode"`

	// Multiline When true, render `input` mode as a multiline text area.
	Multiline *bool `json:"multiline,omitempty"`

	// Options Required for `select` and `multi_select` modes.
	Options *[]InteractionOption `json:"options,omitempty"`

	// Placeholder Hint text shown for `input` mode.
	Placeholder *string `json:"placeholder,omitempty"`
}

InteractionSpec Declarative dialog contract for rendering and validating an interaction. Used at both authoring time (inside a loop definition) and runtime (persisted on an interaction). Protocol kind is decoupled from input shape: each kind declares which spec modes are *allowed*, not which is *implied*. An approval may now legitimately use `select` mode (approve/deny/defer), for example.

Allowed combinations: * `request_approval` → `confirm`, `select` * `request_review` → `select`, `input` * `request_information` → `select`, `multi_select`, `input`

type InteractionStatus

type InteractionStatus string

InteractionStatus Current status of the interaction: pending, completed, expired, or cancelled.

const (
	InteractionStatusCancelled InteractionStatus = "cancelled"
	InteractionStatusCompleted InteractionStatus = "completed"
	InteractionStatusExpired   InteractionStatus = "expired"
	InteractionStatusPending   InteractionStatus = "pending"
)

Defines values for InteractionStatus.

func (InteractionStatus) Valid

func (e InteractionStatus) Valid() bool

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

type InteractionUpsertFrame added in v0.0.50

type InteractionUpsertFrame struct {
	// CancelReason Reason recorded when the interaction was cancelled.
	CancelReason *string `json:"cancel_reason,omitempty"`

	// CompletedAt Timestamp when the interaction received a terminal response.
	CompletedAt *time.Time `json:"completed_at,omitempty"`

	// Consumer Polymorphic identifier of what is waiting on this interaction's resolution. Replaces the special-cased `run_id`/`signal_name` pair; the latter remain populated when `consumer.kind=run`.
	Consumer *Consumer `json:"consumer,omitempty"`

	// Context Additional key-value context surfaced in the UI alongside the title and description when supplied.
	Context *map[string]interface{} `json:"context,omitempty"`

	// CreatedAt Timestamp when this interaction was created.
	CreatedAt time.Time `json:"created_at"`

	// CreatedBy Canonical principal ID of the human or agent that created the interaction; null for legacy/system-created rows.
	CreatedBy *string `json:"created_by,omitempty"`

	// Delivery Optional per-interaction delivery override. When absent, the dispatcher delivers to the app inbox only.
	Delivery *Delivery `json:"delivery,omitempty"`

	// Description Optional longer responder-facing detail or instructions.
	Description *string                         `json:"description,omitempty"`
	EventType   InteractionUpsertFrameEventType `json:"event_type"`

	// ExpiresAt Timestamp when this interaction expires if not responded to.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`

	// Id Unique identifier for this interaction.
	Id string `json:"id"`

	// Kind Protocol kind of the interaction. Launch keeps this intentionally
	// small:
	// * `request_information` — a data-collection protocol with structured
	// or free-form input
	// * `request_approval` — a decision protocol (yes/no, optionally
	// yes/no/defer)
	// * `request_review` — a judgment protocol that evaluates supplied
	// material
	Kind InteractionKind `json:"kind"`

	// Outcome Free-form JSON payload. Used both for responder-supplied values and for policy-derived values (e.g. `Interaction.outcome`, `ResolutionPolicy.proposal`); each consumer documents which.
	Outcome *InteractionValue `json:"outcome,omitempty"`

	// Properties Free-form structured metadata attached to the interaction; null when no metadata is attached.
	Properties *map[string]interface{} `json:"properties,omitempty"`

	// References Supporting links and related entities.
	References *[]InteractionReference `json:"references,omitempty"`

	// RequireAll When true, all target users must respond before completion.
	RequireAll *bool `json:"require_all,omitempty"`

	// ResolutionPolicy Declarative resolution rule attached at creation time. Legacy `require_all` inputs are synthesized into an equivalent policy at create time when present. Newer rows typically include this field; nullability covers historical rows and callers that omit it.
	ResolutionPolicy *ResolutionPolicy `json:"resolution_policy,omitempty"`

	// ResolvedBy Short audit string identifying which policy rule fired. Null until the interaction reaches a resolved state.
	ResolvedBy *string `json:"resolved_by,omitempty"`

	// ResolvingResponseId ID of the response that triggered resolution. Null while the interaction is pending, cancelled, or expired. Look up the response in `responses` for the full payload.
	ResolvingResponseId *string `json:"resolving_response_id,omitempty"`

	// Responder User or agent that completed the interaction; null until completion.
	Responder *InteractionResponder `json:"responder,omitempty"`

	// Responses All response artifacts recorded against this interaction in arrival order.
	Responses *[]InteractionResponse `json:"responses,omitempty"`

	// RunId Originating loop run when the interaction is run-backed.
	RunId *string `json:"run_id,omitempty"`

	// SignalName Signal name used to resume the originating run when run-backed.
	SignalName *string `json:"signal_name,omitempty"`

	// Spec Declarative dialog contract for rendering and validating an interaction. Used at both authoring time (inside a loop definition) and runtime (persisted on an interaction). Protocol kind is decoupled from input shape: each kind declares which spec modes are *allowed*, not which is *implied*. An approval may now legitimately use `select` mode (approve/deny/defer), for example.
	//
	// Allowed combinations:
	// * `request_approval` → `confirm`, `select`
	// * `request_review` → `select`, `input`
	// * `request_information` → `select`, `multi_select`, `input`
	Spec *InteractionSpec `json:"spec,omitempty"`

	// Status Current status of the interaction: pending, completed, expired, or cancelled.
	Status InteractionUpsertFrameStatus `json:"status"`

	// Subject Primary work item or artifact the interaction is about; null when no subject was supplied.
	Subject *InteractionReference `json:"subject,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// TargetUserIds Resolved user IDs targeted by the interaction.
	TargetUserIds []string `json:"target_user_ids"`

	// Title Short non-empty title shown to the responder.
	Title string `json:"title"`

	// UpdatedAt Timestamp when this interaction was last updated.
	UpdatedAt time.Time `json:"updated_at"`
}

InteractionUpsertFrame defines model for InteractionUpsertFrame.

type InteractionUpsertFrameEventType added in v0.0.50

type InteractionUpsertFrameEventType string

InteractionUpsertFrameEventType defines model for InteractionUpsertFrame.EventType.

const (
	InteractionUpsertFrameEventTypeInteractionUpsert InteractionUpsertFrameEventType = "interaction.upsert"
)

Defines values for InteractionUpsertFrameEventType.

func (InteractionUpsertFrameEventType) Valid added in v0.0.50

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

type InteractionUpsertFrameStatus added in v0.0.50

type InteractionUpsertFrameStatus string

InteractionUpsertFrameStatus Current status of the interaction: pending, completed, expired, or cancelled.

const (
	InteractionUpsertFrameStatusCancelled InteractionUpsertFrameStatus = "cancelled"
	InteractionUpsertFrameStatusCompleted InteractionUpsertFrameStatus = "completed"
	InteractionUpsertFrameStatusExpired   InteractionUpsertFrameStatus = "expired"
	InteractionUpsertFrameStatusPending   InteractionUpsertFrameStatus = "pending"
)

Defines values for InteractionUpsertFrameStatus.

func (InteractionUpsertFrameStatus) Valid added in v0.0.50

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

type InteractionValue

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

InteractionValue Free-form JSON payload. Used both for responder-supplied values and for policy-derived values (e.g. `Interaction.outcome`, `ResolutionPolicy.proposal`); each consumer documents which.

func (InteractionValue) AsInteractionValue0

func (t InteractionValue) AsInteractionValue0() (InteractionValue0, error)

AsInteractionValue0 returns the union data inside the InteractionValue as a InteractionValue0

func (InteractionValue) AsInteractionValue1

func (t InteractionValue) AsInteractionValue1() (InteractionValue1, error)

AsInteractionValue1 returns the union data inside the InteractionValue as a InteractionValue1

func (InteractionValue) AsInteractionValue2

func (t InteractionValue) AsInteractionValue2() (InteractionValue2, error)

AsInteractionValue2 returns the union data inside the InteractionValue as a InteractionValue2

func (InteractionValue) AsInteractionValue3

func (t InteractionValue) AsInteractionValue3() (InteractionValue3, error)

AsInteractionValue3 returns the union data inside the InteractionValue as a InteractionValue3

func (InteractionValue) AsInteractionValue4

func (t InteractionValue) AsInteractionValue4() (InteractionValue4, error)

AsInteractionValue4 returns the union data inside the InteractionValue as a InteractionValue4

func (*InteractionValue) FromInteractionValue0

func (t *InteractionValue) FromInteractionValue0(v InteractionValue0) error

FromInteractionValue0 overwrites any union data inside the InteractionValue as the provided InteractionValue0

func (*InteractionValue) FromInteractionValue1

func (t *InteractionValue) FromInteractionValue1(v InteractionValue1) error

FromInteractionValue1 overwrites any union data inside the InteractionValue as the provided InteractionValue1

func (*InteractionValue) FromInteractionValue2

func (t *InteractionValue) FromInteractionValue2(v InteractionValue2) error

FromInteractionValue2 overwrites any union data inside the InteractionValue as the provided InteractionValue2

func (*InteractionValue) FromInteractionValue3

func (t *InteractionValue) FromInteractionValue3(v InteractionValue3) error

FromInteractionValue3 overwrites any union data inside the InteractionValue as the provided InteractionValue3

func (*InteractionValue) FromInteractionValue4

func (t *InteractionValue) FromInteractionValue4(v InteractionValue4) error

FromInteractionValue4 overwrites any union data inside the InteractionValue as the provided InteractionValue4

func (InteractionValue) MarshalJSON

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

func (*InteractionValue) MergeInteractionValue0

func (t *InteractionValue) MergeInteractionValue0(v InteractionValue0) error

MergeInteractionValue0 performs a merge with any union data inside the InteractionValue, using the provided InteractionValue0

func (*InteractionValue) MergeInteractionValue1

func (t *InteractionValue) MergeInteractionValue1(v InteractionValue1) error

MergeInteractionValue1 performs a merge with any union data inside the InteractionValue, using the provided InteractionValue1

func (*InteractionValue) MergeInteractionValue2

func (t *InteractionValue) MergeInteractionValue2(v InteractionValue2) error

MergeInteractionValue2 performs a merge with any union data inside the InteractionValue, using the provided InteractionValue2

func (*InteractionValue) MergeInteractionValue3

func (t *InteractionValue) MergeInteractionValue3(v InteractionValue3) error

MergeInteractionValue3 performs a merge with any union data inside the InteractionValue, using the provided InteractionValue3

func (*InteractionValue) MergeInteractionValue4

func (t *InteractionValue) MergeInteractionValue4(v InteractionValue4) error

MergeInteractionValue4 performs a merge with any union data inside the InteractionValue, using the provided InteractionValue4

func (*InteractionValue) UnmarshalJSON

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

type InteractionValue0

type InteractionValue0 map[string]interface{}

InteractionValue0 Null when no interaction value has been supplied yet.

type InteractionValue1

type InteractionValue1 = []interface{}

InteractionValue1 defines model for .

type InteractionValue2

type InteractionValue2 = string

InteractionValue2 defines model for .

type InteractionValue3

type InteractionValue3 = float32

InteractionValue3 defines model for .

type InteractionValue4

type InteractionValue4 = bool

InteractionValue4 defines model for .

type InvokeActionJSONRequestBody added in v0.0.19

type InvokeActionJSONRequestBody = InvokeActionRequest

InvokeActionJSONRequestBody defines body for InvokeAction for application/json ContentType.

type InvokeActionRequest added in v0.0.22

type InvokeActionRequest struct {
	// DryRun When true, validates the input but does not execute. Applies to read-only actions only.
	DryRun *bool `json:"dry_run,omitempty"`

	// Input Input values matching the action's input_schema.
	Input *map[string]interface{} `json:"input,omitempty"`

	// TimeoutSeconds How long (in seconds) to wait for synchronous completion. Default 30, max 120.
	TimeoutSeconds *int `json:"timeout_seconds,omitempty"`
}

InvokeActionRequest Request body for user-driven action invocation.

type InvokeActionResponse added in v0.0.19

type InvokeActionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ActionInvocationResult
	JSON202      *ActionInvocationResult
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseInvokeActionResponse added in v0.0.19

func ParseInvokeActionResponse(rsp *http.Response) (*InvokeActionResponse, error)

ParseInvokeActionResponse parses an HTTP response from a InvokeActionWithResponse call

func (InvokeActionResponse) ContentType added in v0.0.21

func (r InvokeActionResponse) ContentType() string

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

func (InvokeActionResponse) Status added in v0.0.19

func (r InvokeActionResponse) Status() string

Status returns HTTPResponse.Status

func (InvokeActionResponse) StatusCode added in v0.0.19

func (r InvokeActionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type InvokeAgentJSONRequestBody added in v0.0.29

type InvokeAgentJSONRequestBody = InvokeAgentRequest

InvokeAgentJSONRequestBody defines body for InvokeAgent for application/json ContentType.

type InvokeAgentRequest added in v0.0.29

type InvokeAgentRequest struct {
	// AgentRef Reference to an agent in this project. Supply exactly one of `id` (the agent identifier) or `name` (the project-unique agent name). A blueprint-binding reference form is reserved for a later release and is not resolvable yet.
	AgentRef AgentRef `json:"agent_ref"`

	// ChannelContext Optional messaging provider/channel routing context (Slack, Telegram, …). Persisted on the started turn's input-message metadata under a `channel_context` key so chat history and support views can trace a turn back to the provider thread it came from.
	ChannelContext *ChannelContext `json:"channel_context,omitempty"`

	// Config An agent definition sent with the invocation instead of one stored in Mobius ahead of time. Send it on the call that creates the session and it becomes that session's definition; send it again on a later turn to replace it; leave it out and the session keeps the definition it already has.
	//
	// A session holds one config at a time. If two calls share a session and both send `config`, the last one Mobius saves wins, so give each definition you want to run at the same time its own session.
	//
	// Every field is optional. A field you set replaces the agent's value; a field you leave out keeps the agent's value. The `toolkits` and `skills` lists replace the agent's lists entirely — they are not merged item by item. If your organization sets limits on the model, effort, or timeout, those limits still apply, so a value here can never exceed them. Use `config` for one-off invocations only: loops and schedules must point to a stored agent, so creating or updating one with `config` is rejected.
	Config *InlineAgentConfig `json:"config,omitempty"`

	// Input The caller input message that starts the agent turn.
	Input InvokeInput `json:"input"`

	// Operation Operational policy for this newly admitted turn only. Unlike `config`, this policy is not saved on the session. Its timeout takes precedence over the session's inline-definition timeout and remains constrained by any deployment timeout ceiling. `config.timeout_seconds` may be zero to use the platform default; this operation timeout must be at least one.
	Operation *AgentTurnOperationPolicy `json:"operation,omitempty"`

	// Output Attaches a structured-output contract to a turn. When present, Mobius exposes a reserved submit tool whose input schema is the schema below, validates the submission server-side, and a turn that never produces a schema-valid object fails with `error_type: output_schema_unsatisfied` instead of completing. Read the validated value from the completed turn's `output`. This is a per-turn contract, not agent identity, so it works with stored agents and may differ between turns of one session.
	Output *TurnOutputSpec `json:"output,omitempty"`

	// Session How to resolve or create the session this invocation runs in. Mirrors the create-session policy: `mode` + `session_key` resolve a durable conversation for the agent, and the remaining fields seed a session that does not already exist (they are ignored when an existing session is resolved). Omit the whole object to use a single default session per agent in `continue_or_create` mode.
	Session *InvokeSessionSpec `json:"session,omitempty"`
}

InvokeAgentRequest A single compound invocation: which agent to run, how to resolve the session, the caller's input message, and optional channel routing context. `config.timeout_seconds` may be zero to use the platform default; `operation.timeout_seconds` must be at least one and takes precedence for this admitted turn.

type InvokeAgentResponse added in v0.0.29

type InvokeAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *TurnAck
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *ErrorResponse
	JSON429      *TooManyRequests
}

func ParseInvokeAgentResponse added in v0.0.29

func ParseInvokeAgentResponse(rsp *http.Response) (*InvokeAgentResponse, error)

ParseInvokeAgentResponse parses an HTTP response from a InvokeAgentWithResponse call

func (InvokeAgentResponse) ContentType added in v0.0.29

func (r InvokeAgentResponse) ContentType() string

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

func (InvokeAgentResponse) Status added in v0.0.29

func (r InvokeAgentResponse) Status() string

Status returns HTTPResponse.Status

func (InvokeAgentResponse) StatusCode added in v0.0.29

func (r InvokeAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type InvokeInput added in v0.0.29

type InvokeInput struct {
	// Content Ordered content blocks (text, images) for the input message.
	Content []map[string]interface{} `json:"content"`

	// Context Ordered application-owned runtime context for this turn. Send the full current value for each named item. Mobius records an item only on first use, material change, or after compaction removes its prior value from the active model window. Omitting a name leaves its last value standing; send an explicit value such as `none` to clear application state. Names must be unique within the request. Content is limited to 8,192 UTF-8 bytes per item and 16,384 bytes total.
	//
	// Context remains at contextual authority and cannot grant permissions. A retry using the same `idempotency_key` returns the original turn and ignores any newly supplied context.
	Context *RuntimeContext `json:"context,omitempty"`

	// IdempotencyKey Dedup key scoped to the resolved session. A repeat call with the same key returns the existing invocation and writes nothing new; it never restarts a terminal turn. Derive it from the provider event id for Slack/Telegram webhook retries. Omitting it or sending a blank value disables retry deduplication.
	IdempotencyKey *string `json:"idempotency_key,omitempty"`

	// Metadata Free-form caller metadata attached to the input message.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`
}

InvokeInput The caller input message that starts the agent turn.

type InvokeSessionSpec added in v0.0.29

type InvokeSessionSpec struct {
	// CompactionPolicy Controls how a session's transcript is automatically summarized as it grows. On create the supplied fields are merged over the owning agent's default policy and the server defaults; on update they patch the session's current policy. Omitted fields keep their resolved values.
	CompactionPolicy *SessionCompactionPolicy `json:"compaction_policy,omitempty"`

	// Metadata Free-form caller metadata stored on a newly created session.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Mode `continue_or_create` (default) resolves an existing session for the `session_key` or creates one; `new` always creates a fresh session; `continue` resolves an existing session and fails if none exists.
	Mode *InvokeSessionSpecMode `json:"mode,omitempty"`

	// Retention Controls how long a session is retained. Applied only when the session is first created (like `compaction_policy`); ignored when an existing session is resolved. `standard` is the default and keeps the session forever. `bounded` expires the session — pruning its transcript from every read path — once it has been idle past `ttl_seconds`. Kept for audit after expiry: a tombstone session row with its token totals, and the turn rows with their status, error, usage, and timings.
	//
	// `ttl_seconds` is required when `mode` is `bounded` and ignored for `standard`; the server validates this (a `oneOf` encoding was dropped because it only produced untyped union codegen without adding runtime enforcement in the generated Go/TypeScript clients).
	Retention *SessionRetentionPolicy `json:"retention,omitempty"`

	// SessionKey Stable key identifying the conversation within the agent.
	SessionKey *string `json:"session_key,omitempty"`

	// ThinkingEffort Reasoning-effort level for a turn, lowest (`low`) to highest (`max`). Higher effort spends more tokens on reasoning, improving quality on hard tasks at the cost of latency and credits. Levels above what the resolved model supports are clamped down. Set on an agent it is the default; set on a session or loop step it overrides the agent default. `inherit` (or omitting the field) defers to the layer below — the agent default for a session/step, or the provider's own default when nothing sets a level.
	ThinkingEffort *ThinkingEffort `json:"thinking_effort,omitempty"`

	// Title Human-friendly title for a newly created session.
	Title *string `json:"title,omitempty"`

	// Visibility Visibility of the session in project surfaces: `project` or `private`.
	Visibility *SessionVisibility `json:"visibility,omitempty"`
}

InvokeSessionSpec How to resolve or create the session this invocation runs in. Mirrors the create-session policy: `mode` + `session_key` resolve a durable conversation for the agent, and the remaining fields seed a session that does not already exist (they are ignored when an existing session is resolved). Omit the whole object to use a single default session per agent in `continue_or_create` mode.

type InvokeSessionSpecMode added in v0.0.29

type InvokeSessionSpecMode string

InvokeSessionSpecMode `continue_or_create` (default) resolves an existing session for the `session_key` or creates one; `new` always creates a fresh session; `continue` resolves an existing session and fails if none exists.

const (
	InvokeSessionSpecModeContinue         InvokeSessionSpecMode = "continue"
	InvokeSessionSpecModeContinueOrCreate InvokeSessionSpecMode = "continue_or_create"
	InvokeSessionSpecModeNew              InvokeSessionSpecMode = "new"
)

Defines values for InvokeSessionSpecMode.

func (InvokeSessionSpecMode) Valid added in v0.0.29

func (e InvokeSessionSpecMode) Valid() bool

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

type LastEventIDParam added in v0.0.29

type LastEventIDParam = int64

LastEventIDParam defines model for LastEventIDParam.

type LimitParam

type LimitParam = int

LimitParam defines model for LimitParam.

type LimitReachedPayload added in v0.0.29

type LimitReachedPayload struct {
	Limit                *int                   `json:"limit,omitempty"`
	LimitKind            *string                `json:"limit_kind,omitempty"`
	Step                 *string                `json:"step,omitempty"`
	Used                 *int                   `json:"used,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

LimitReachedPayload defines model for LimitReachedPayload.

func (LimitReachedPayload) Get added in v0.0.29

func (a LimitReachedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for LimitReachedPayload. Returns the specified element and whether it was found

func (LimitReachedPayload) MarshalJSON added in v0.0.29

func (a LimitReachedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for LimitReachedPayload to handle AdditionalProperties

func (*LimitReachedPayload) Set added in v0.0.29

func (a *LimitReachedPayload) Set(fieldName string, value interface{})

Setter for additional properties for LimitReachedPayload

func (*LimitReachedPayload) UnmarshalJSON added in v0.0.29

func (a *LimitReachedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for LimitReachedPayload to handle AdditionalProperties

type ListAPIKeysParams added in v0.0.3

type ListAPIKeysParams struct {
	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Cursor for pagination (opaque string from previous response)
	Cursor *CursorParam `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListAPIKeysParams defines parameters for ListAPIKeys.

type ListAPIKeysResponse

type ListAPIKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *APIKeyListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListAPIKeysResponse

func ParseListAPIKeysResponse(rsp *http.Response) (*ListAPIKeysResponse, error)

ParseListAPIKeysResponse parses an HTTP response from a ListAPIKeysWithResponse call

func (ListAPIKeysResponse) ContentType added in v0.0.21

func (r ListAPIKeysResponse) ContentType() string

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

func (ListAPIKeysResponse) Status

func (r ListAPIKeysResponse) Status() string

Status returns HTTPResponse.Status

func (ListAPIKeysResponse) StatusCode

func (r ListAPIKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListActionInvocationsParams added in v0.0.19

type ListActionInvocationsParams struct {
	// Cursor Cursor for pagination (opaque string from previous response)
	Cursor *CursorParam `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// RunId Filter to invocations from a specific loop run.
	RunId *string `form:"run_id,omitempty" json:"run_id,omitempty"`

	// JobId Filter to invocations from a specific job.
	JobId *string `form:"job_id,omitempty" json:"job_id,omitempty"`

	// EnvironmentId Filter to invocations executed in a specific environment.
	EnvironmentId *string `form:"environment_id,omitempty" json:"environment_id,omitempty"`

	// ActionName Filter to invocations of a specific action.
	ActionName *string `form:"action_name,omitempty" json:"action_name,omitempty"`

	// ActionId Filter to an immutable project or organization Action ID.
	ActionId *string `form:"action_id,omitempty" json:"action_id,omitempty"`

	// DefinitionScope Filter by the scope that owned the selected definition.
	DefinitionScope *ListActionInvocationsParamsDefinitionScope `form:"definition_scope,omitempty" json:"definition_scope,omitempty"`

	// SecretVersion Filter to deliveries signed with a specific secret version.
	SecretVersion *int64 `form:"secret_version,omitempty" json:"secret_version,omitempty"`

	// DeliveryId Filter to a signed delivery identity.
	DeliveryId *string `form:"delivery_id,omitempty" json:"delivery_id,omitempty"`

	// CorrelationId Filter to the request or dispatch correlation identity.
	CorrelationId *string `form:"correlation_id,omitempty" json:"correlation_id,omitempty"`

	// Status Filter by terminal status (e.g. "success", "failed").
	Status *string `form:"status,omitempty" json:"status,omitempty"`
}

ListActionInvocationsParams defines parameters for ListActionInvocations.

type ListActionInvocationsParamsDefinitionScope added in v0.0.54

type ListActionInvocationsParamsDefinitionScope string

ListActionInvocationsParamsDefinitionScope defines parameters for ListActionInvocations.

const (
	ListActionInvocationsParamsDefinitionScopeOrganization ListActionInvocationsParamsDefinitionScope = "organization"
	ListActionInvocationsParamsDefinitionScopePlatform     ListActionInvocationsParamsDefinitionScope = "platform"
	ListActionInvocationsParamsDefinitionScopeProject      ListActionInvocationsParamsDefinitionScope = "project"
)

Defines values for ListActionInvocationsParamsDefinitionScope.

func (ListActionInvocationsParamsDefinitionScope) Valid added in v0.0.54

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

type ListActionInvocationsResponse added in v0.0.19

type ListActionInvocationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ActionInvocationListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
}

func ParseListActionInvocationsResponse added in v0.0.19

func ParseListActionInvocationsResponse(rsp *http.Response) (*ListActionInvocationsResponse, error)

ParseListActionInvocationsResponse parses an HTTP response from a ListActionInvocationsWithResponse call

func (ListActionInvocationsResponse) ContentType added in v0.0.21

func (r ListActionInvocationsResponse) ContentType() string

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

func (ListActionInvocationsResponse) Status added in v0.0.19

Status returns HTTPResponse.Status

func (ListActionInvocationsResponse) StatusCode added in v0.0.19

func (r ListActionInvocationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAgentMemoryChangesParams added in v0.0.53

type ListAgentMemoryChangesParams struct {
	// After Opaque cursor returned as `next_cursor` by the previous response. Omit on the first request to read retained changes oldest-first. When no retained changes exist, the empty response still returns a stable bootstrap cursor that observes future mutations.
	After *string `form:"after,omitempty" json:"after,omitempty"`

	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListAgentMemoryChangesParams defines parameters for ListAgentMemoryChanges.

type ListAgentMemoryChangesResponse added in v0.0.53

type ListAgentMemoryChangesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AgentMemoryChangeListResponse
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON410      *ErrorResponse
}

func ParseListAgentMemoryChangesResponse added in v0.0.53

func ParseListAgentMemoryChangesResponse(rsp *http.Response) (*ListAgentMemoryChangesResponse, error)

ParseListAgentMemoryChangesResponse parses an HTTP response from a ListAgentMemoryChangesWithResponse call

func (ListAgentMemoryChangesResponse) ContentType added in v0.0.53

func (r ListAgentMemoryChangesResponse) ContentType() string

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

func (ListAgentMemoryChangesResponse) Status added in v0.0.53

Status returns HTTPResponse.Status

func (ListAgentMemoryChangesResponse) StatusCode added in v0.0.53

func (r ListAgentMemoryChangesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAgentMemoryEntriesParams added in v0.0.29

type ListAgentMemoryEntriesParams struct {
	// Query Optional search over entry keys, kinds, summaries, and content. Omit to list.
	Query *string `form:"query,omitempty" json:"query,omitempty"`

	// SearchMode Search ranking mode for a non-blank `query`. Omit for backwards-compatible keyword search. Semantic and hybrid search can return `503 memory_semantic_search_unavailable` when the embedding or search-index service is unavailable; callers may retry or fall back to `keyword`.
	SearchMode *MemorySearchMode `form:"search_mode,omitempty" json:"search_mode,omitempty"`

	// Kind Optional filter to a single memory kind.
	Kind *MemoryKind `form:"kind,omitempty" json:"kind,omitempty"`

	// Cursor Cursor for pagination (opaque string from previous response)
	Cursor *CursorParam `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListAgentMemoryEntriesParams defines parameters for ListAgentMemoryEntries.

type ListAgentMemoryEntriesResponse added in v0.0.29

type ListAgentMemoryEntriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AgentMemoryEntryListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON503      *ServiceUnavailable
}

func ParseListAgentMemoryEntriesResponse added in v0.0.29

func ParseListAgentMemoryEntriesResponse(rsp *http.Response) (*ListAgentMemoryEntriesResponse, error)

ParseListAgentMemoryEntriesResponse parses an HTTP response from a ListAgentMemoryEntriesWithResponse call

func (ListAgentMemoryEntriesResponse) ContentType added in v0.0.29

func (r ListAgentMemoryEntriesResponse) ContentType() string

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

func (ListAgentMemoryEntriesResponse) Status added in v0.0.29

Status returns HTTPResponse.Status

func (ListAgentMemoryEntriesResponse) StatusCode added in v0.0.29

func (r ListAgentMemoryEntriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAgentMessagingBindingsResponse added in v0.0.22

type ListAgentMessagingBindingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AgentMessagingBindingListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListAgentMessagingBindingsResponse added in v0.0.22

func ParseListAgentMessagingBindingsResponse(rsp *http.Response) (*ListAgentMessagingBindingsResponse, error)

ParseListAgentMessagingBindingsResponse parses an HTTP response from a ListAgentMessagingBindingsWithResponse call

func (ListAgentMessagingBindingsResponse) ContentType added in v0.0.22

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

func (ListAgentMessagingBindingsResponse) Status added in v0.0.22

Status returns HTTPResponse.Status

func (ListAgentMessagingBindingsResponse) StatusCode added in v0.0.22

func (r ListAgentMessagingBindingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAgentSkillAssignmentsResponse added in v0.0.25

type ListAgentSkillAssignmentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SkillAssignmentListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListAgentSkillAssignmentsResponse added in v0.0.25

func ParseListAgentSkillAssignmentsResponse(rsp *http.Response) (*ListAgentSkillAssignmentsResponse, error)

ParseListAgentSkillAssignmentsResponse parses an HTTP response from a ListAgentSkillAssignmentsWithResponse call

func (ListAgentSkillAssignmentsResponse) ContentType added in v0.0.25

func (r ListAgentSkillAssignmentsResponse) ContentType() string

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

func (ListAgentSkillAssignmentsResponse) Status added in v0.0.25

Status returns HTTPResponse.Status

func (ListAgentSkillAssignmentsResponse) StatusCode added in v0.0.25

func (r ListAgentSkillAssignmentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAgentToolkitAssignmentsResponse added in v0.0.25

type ListAgentToolkitAssignmentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ToolkitAssignmentListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListAgentToolkitAssignmentsResponse added in v0.0.25

func ParseListAgentToolkitAssignmentsResponse(rsp *http.Response) (*ListAgentToolkitAssignmentsResponse, error)

ParseListAgentToolkitAssignmentsResponse parses an HTTP response from a ListAgentToolkitAssignmentsWithResponse call

func (ListAgentToolkitAssignmentsResponse) ContentType added in v0.0.25

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

func (ListAgentToolkitAssignmentsResponse) Status added in v0.0.25

Status returns HTTPResponse.Status

func (ListAgentToolkitAssignmentsResponse) StatusCode added in v0.0.25

StatusCode returns HTTPResponse.StatusCode

type ListAgentsParams added in v0.0.3

type ListAgentsParams struct {
	// Name Filter to the project-unique agent with this exact name.
	Name *string `form:"name,omitempty" json:"name,omitempty"`

	// PrincipalId Filter to the agent backed by this principal.
	PrincipalId *string `form:"principal_id,omitempty" json:"principal_id,omitempty"`

	// Status Filter by administrative status (active/inactive), independent of presence.
	Status *AgentStatus `form:"status,omitempty" json:"status,omitempty"`

	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListAgentsParams defines parameters for ListAgents.

type ListAgentsResponse added in v0.0.3

type ListAgentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AgentListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListAgentsResponse added in v0.0.3

func ParseListAgentsResponse(rsp *http.Response) (*ListAgentsResponse, error)

ParseListAgentsResponse parses an HTTP response from a ListAgentsWithResponse call

func (ListAgentsResponse) ContentType added in v0.0.21

func (r ListAgentsResponse) ContentType() string

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

func (ListAgentsResponse) Status added in v0.0.3

func (r ListAgentsResponse) Status() string

Status returns HTTPResponse.Status

func (ListAgentsResponse) StatusCode added in v0.0.3

func (r ListAgentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListArtifactsParams added in v0.0.22

type ListArtifactsParams struct {
	// RunId Filter to artifacts produced by this loop run.
	RunId *string `form:"run_id,omitempty" json:"run_id,omitempty"`

	// StepId Filter to artifacts produced by this run step.
	StepId *string `form:"step_id,omitempty" json:"step_id,omitempty"`

	// Mime Mime prefix filter (e.g. `image/`)
	Mime *string `form:"mime,omitempty" json:"mime,omitempty"`

	// Cursor Cursor for pagination (opaque string from previous response)
	Cursor *CursorParam `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListArtifactsParams defines parameters for ListArtifacts.

type ListArtifactsResponse added in v0.0.22

type ListArtifactsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ArtifactListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
}

func ParseListArtifactsResponse added in v0.0.22

func ParseListArtifactsResponse(rsp *http.Response) (*ListArtifactsResponse, error)

ParseListArtifactsResponse parses an HTTP response from a ListArtifactsWithResponse call

func (ListArtifactsResponse) ContentType added in v0.0.22

func (r ListArtifactsResponse) ContentType() string

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

func (ListArtifactsResponse) Status added in v0.0.22

func (r ListArtifactsResponse) Status() string

Status returns HTTPResponse.Status

func (ListArtifactsResponse) StatusCode added in v0.0.22

func (r ListArtifactsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListBlueprintBindingsParams added in v0.0.31

type ListBlueprintBindingsParams struct {
	// Namespace Optional namespace filter for the owning blueprint identity.
	Namespace *string `form:"namespace,omitempty" json:"namespace,omitempty"`

	// BlueprintKey Optional blueprint identifier filter.
	BlueprintKey *string `form:"blueprint_key,omitempty" json:"blueprint_key,omitempty"`
}

ListBlueprintBindingsParams defines parameters for ListBlueprintBindings.

type ListBlueprintBindingsResponse added in v0.0.31

type ListBlueprintBindingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BlueprintBindingListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseListBlueprintBindingsResponse added in v0.0.31

func ParseListBlueprintBindingsResponse(rsp *http.Response) (*ListBlueprintBindingsResponse, error)

ParseListBlueprintBindingsResponse parses an HTTP response from a ListBlueprintBindingsWithResponse call

func (ListBlueprintBindingsResponse) ContentType added in v0.0.31

func (r ListBlueprintBindingsResponse) ContentType() string

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

func (ListBlueprintBindingsResponse) Status added in v0.0.31

Status returns HTTPResponse.Status

func (ListBlueprintBindingsResponse) StatusCode added in v0.0.31

func (r ListBlueprintBindingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCatalogActionsResponse

type ListCatalogActionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ActionCatalogListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
}

func ParseListCatalogActionsResponse

func ParseListCatalogActionsResponse(rsp *http.Response) (*ListCatalogActionsResponse, error)

ParseListCatalogActionsResponse parses an HTTP response from a ListCatalogActionsWithResponse call

func (ListCatalogActionsResponse) ContentType added in v0.0.21

func (r ListCatalogActionsResponse) ContentType() string

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

func (ListCatalogActionsResponse) Status

Status returns HTTPResponse.Status

func (ListCatalogActionsResponse) StatusCode

func (r ListCatalogActionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCatalogEventsResponse added in v0.0.22

type ListCatalogEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EventCatalogResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
}

func ParseListCatalogEventsResponse added in v0.0.22

func ParseListCatalogEventsResponse(rsp *http.Response) (*ListCatalogEventsResponse, error)

ParseListCatalogEventsResponse parses an HTTP response from a ListCatalogEventsWithResponse call

func (ListCatalogEventsResponse) ContentType added in v0.0.22

func (r ListCatalogEventsResponse) ContentType() string

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

func (ListCatalogEventsResponse) Status added in v0.0.22

func (r ListCatalogEventsResponse) Status() string

Status returns HTTPResponse.Status

func (ListCatalogEventsResponse) StatusCode added in v0.0.22

func (r ListCatalogEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCatalogModelsResponse added in v0.0.23

type ListCatalogModelsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ModelCatalogResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListCatalogModelsResponse added in v0.0.23

func ParseListCatalogModelsResponse(rsp *http.Response) (*ListCatalogModelsResponse, error)

ParseListCatalogModelsResponse parses an HTTP response from a ListCatalogModelsWithResponse call

func (ListCatalogModelsResponse) ContentType added in v0.0.23

func (r ListCatalogModelsResponse) ContentType() string

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

func (ListCatalogModelsResponse) Status added in v0.0.23

func (r ListCatalogModelsResponse) Status() string

Status returns HTTPResponse.Status

func (ListCatalogModelsResponse) StatusCode added in v0.0.23

func (r ListCatalogModelsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListCatalogWorkerModelsResponse added in v0.0.29

type ListCatalogWorkerModelsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkerModelCatalogListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListCatalogWorkerModelsResponse added in v0.0.29

func ParseListCatalogWorkerModelsResponse(rsp *http.Response) (*ListCatalogWorkerModelsResponse, error)

ParseListCatalogWorkerModelsResponse parses an HTTP response from a ListCatalogWorkerModelsWithResponse call

func (ListCatalogWorkerModelsResponse) ContentType added in v0.0.29

func (r ListCatalogWorkerModelsResponse) ContentType() string

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

func (ListCatalogWorkerModelsResponse) Status added in v0.0.29

Status returns HTTPResponse.Status

func (ListCatalogWorkerModelsResponse) StatusCode added in v0.0.29

func (r ListCatalogWorkerModelsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListEnvironmentsParams added in v0.0.21

type ListEnvironmentsParams struct {
	// Cursor Cursor for pagination (opaque string from previous response)
	Cursor *CursorParam `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Status Filter by environment lifecycle status.
	Status *EnvironmentStatus `form:"status,omitempty" json:"status,omitempty"`

	// RunId Filter to environments created for the given run.
	RunId *string `form:"run_id,omitempty" json:"run_id,omitempty"`

	// IncludeDestroyed Include destroyed environments in the result. By default destroyed rows are excluded; set this to true (or pass status=destroyed) to see them.
	IncludeDestroyed *bool `form:"include_destroyed,omitempty" json:"include_destroyed,omitempty"`

	// DestroyedSince Narrow destroyed rows to those torn down at or after this timestamp. Composes with `status=destroyed` to fetch a "recently destroyed" tombstone window (e.g. last hour). Non-destroyed rows are unaffected when this is combined with the default (no-status) view.
	DestroyedSince *time.Time `form:"destroyed_since,omitempty" json:"destroyed_since,omitempty"`
}

ListEnvironmentsParams defines parameters for ListEnvironments.

type ListEnvironmentsResponse added in v0.0.21

type ListEnvironmentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EnvironmentListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
}

func ParseListEnvironmentsResponse added in v0.0.21

func ParseListEnvironmentsResponse(rsp *http.Response) (*ListEnvironmentsResponse, error)

ParseListEnvironmentsResponse parses an HTTP response from a ListEnvironmentsWithResponse call

func (ListEnvironmentsResponse) ContentType added in v0.0.21

func (r ListEnvironmentsResponse) ContentType() string

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

func (ListEnvironmentsResponse) Status added in v0.0.21

func (r ListEnvironmentsResponse) Status() string

Status returns HTTPResponse.Status

func (ListEnvironmentsResponse) StatusCode added in v0.0.21

func (r ListEnvironmentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListInteractionsParams

type ListInteractionsParams struct {
	// Status Filter by status
	Status *ListInteractionsParamsStatus `form:"status,omitempty" json:"status,omitempty"`

	// Kind Filter by interaction protocol kind
	Kind *InteractionKind `form:"kind,omitempty" json:"kind,omitempty"`

	// RunId Filter by originating run ID
	RunId *string `form:"run_id,omitempty" json:"run_id,omitempty"`

	// SessionId Filter to interactions raised by an agent tool call (`consumer.kind=agent_tool`) whose invocation is a turn of the given chat session. Lets a chat surface the pending interactions opened by its own agent tool calls.
	SessionId *string `form:"session_id,omitempty" json:"session_id,omitempty"`

	// TargetUserId Filter by resolved target user ID.
	TargetUserId *string `form:"target_user_id,omitempty" json:"target_user_id,omitempty"`

	// Inbox When true, returns only interactions visible to the authenticated user.
	Inbox *bool `form:"inbox,omitempty" json:"inbox,omitempty"`

	// Cursor Cursor for pagination (opaque string from previous response)
	Cursor *CursorParam `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListInteractionsParams defines parameters for ListInteractions.

type ListInteractionsParamsStatus

type ListInteractionsParamsStatus string

ListInteractionsParamsStatus defines parameters for ListInteractions.

const (
	ListInteractionsParamsStatusCancelled ListInteractionsParamsStatus = "cancelled"
	ListInteractionsParamsStatusCompleted ListInteractionsParamsStatus = "completed"
	ListInteractionsParamsStatusExpired   ListInteractionsParamsStatus = "expired"
	ListInteractionsParamsStatusPending   ListInteractionsParamsStatus = "pending"
)

Defines values for ListInteractionsParamsStatus.

func (ListInteractionsParamsStatus) Valid

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

type ListInteractionsResponse

type ListInteractionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InteractionListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
}

func ParseListInteractionsResponse

func ParseListInteractionsResponse(rsp *http.Response) (*ListInteractionsResponse, error)

ParseListInteractionsResponse parses an HTTP response from a ListInteractionsWithResponse call

func (ListInteractionsResponse) ContentType added in v0.0.21

func (r ListInteractionsResponse) ContentType() string

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

func (ListInteractionsResponse) Status

func (r ListInteractionsResponse) Status() string

Status returns HTTPResponse.Status

func (ListInteractionsResponse) StatusCode

func (r ListInteractionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLoopsParams added in v0.0.24

type ListLoopsParams struct {
	// Status Filter by lifecycle status. Omit to return the normal loop list, or pass a visible status to filter to it exactly.
	Status *ListLoopsParamsStatus `form:"status,omitempty" json:"status,omitempty"`

	// AgentId Return only loops associated with this agent.
	AgentId *string `form:"agent_id,omitempty" json:"agent_id,omitempty"`

	// Cursor Opaque pagination cursor from a prior response.
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of items to return.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListLoopsParams defines parameters for ListLoops.

type ListLoopsParamsStatus added in v0.0.24

type ListLoopsParamsStatus string

ListLoopsParamsStatus defines parameters for ListLoops.

const (
	ListLoopsParamsStatusActive ListLoopsParamsStatus = "active"
	ListLoopsParamsStatusDraft  ListLoopsParamsStatus = "draft"
	ListLoopsParamsStatusPaused ListLoopsParamsStatus = "paused"
)

Defines values for ListLoopsParamsStatus.

func (ListLoopsParamsStatus) Valid added in v0.0.24

func (e ListLoopsParamsStatus) Valid() bool

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

type ListLoopsResponse added in v0.0.24

type ListLoopsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LoopListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
}

func ParseListLoopsResponse added in v0.0.24

func ParseListLoopsResponse(rsp *http.Response) (*ListLoopsResponse, error)

ParseListLoopsResponse parses an HTTP response from a ListLoopsWithResponse call

func (ListLoopsResponse) ContentType added in v0.0.24

func (r ListLoopsResponse) ContentType() string

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

func (ListLoopsResponse) Status added in v0.0.24

func (r ListLoopsResponse) Status() string

Status returns HTTPResponse.Status

func (ListLoopsResponse) StatusCode added in v0.0.24

func (r ListLoopsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOrgAPIKeysParams added in v0.0.36

type ListOrgAPIKeysParams struct {
	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Cursor for pagination (opaque string from previous response)
	Cursor *CursorParam `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListOrgAPIKeysParams defines parameters for ListOrgAPIKeys.

type ListOrgAPIKeysResponse added in v0.0.36

type ListOrgAPIKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *APIKeyListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
}

func ParseListOrgAPIKeysResponse added in v0.0.36

func ParseListOrgAPIKeysResponse(rsp *http.Response) (*ListOrgAPIKeysResponse, error)

ParseListOrgAPIKeysResponse parses an HTTP response from a ListOrgAPIKeysWithResponse call

func (ListOrgAPIKeysResponse) ContentType added in v0.0.36

func (r ListOrgAPIKeysResponse) ContentType() string

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

func (ListOrgAPIKeysResponse) Status added in v0.0.36

func (r ListOrgAPIKeysResponse) Status() string

Status returns HTTPResponse.Status

func (ListOrgAPIKeysResponse) StatusCode added in v0.0.36

func (r ListOrgAPIKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOrganizationActionsParams added in v0.0.54

type ListOrganizationActionsParams struct {
	// Cursor Cursor for pagination (opaque string from previous response)
	Cursor *CursorParam `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListOrganizationActionsParams defines parameters for ListOrganizationActions.

type ListOrganizationActionsResponse added in v0.0.54

type ListOrganizationActionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OrganizationActionListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
}

func ParseListOrganizationActionsResponse added in v0.0.54

func ParseListOrganizationActionsResponse(rsp *http.Response) (*ListOrganizationActionsResponse, error)

ParseListOrganizationActionsResponse parses an HTTP response from a ListOrganizationActionsWithResponse call

func (ListOrganizationActionsResponse) ContentType added in v0.0.54

func (r ListOrganizationActionsResponse) ContentType() string

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

func (ListOrganizationActionsResponse) Status added in v0.0.54

Status returns HTTPResponse.Status

func (ListOrganizationActionsResponse) StatusCode added in v0.0.54

func (r ListOrganizationActionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListOrganizationSkillsResponse added in v0.0.54

type ListOrganizationSkillsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SkillListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
}

func ParseListOrganizationSkillsResponse added in v0.0.54

func ParseListOrganizationSkillsResponse(rsp *http.Response) (*ListOrganizationSkillsResponse, error)

ParseListOrganizationSkillsResponse parses an HTTP response from a ListOrganizationSkillsWithResponse call

func (ListOrganizationSkillsResponse) ContentType added in v0.0.54

func (r ListOrganizationSkillsResponse) ContentType() string

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

func (ListOrganizationSkillsResponse) Status added in v0.0.54

Status returns HTTPResponse.Status

func (ListOrganizationSkillsResponse) StatusCode added in v0.0.54

func (r ListOrganizationSkillsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPrincipalsParams added in v0.0.22

type ListPrincipalsParams struct {
	// Kind Filter principals by kind.
	Kind *PrincipalKind `form:"kind,omitempty" json:"kind,omitempty"`

	// IncludeDisabled Include disabled principals. By default only active ones are returned.
	IncludeDisabled *bool `form:"include_disabled,omitempty" json:"include_disabled,omitempty"`

	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListPrincipalsParams defines parameters for ListPrincipals.

type ListPrincipalsResponse added in v0.0.22

type ListPrincipalsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PrincipalListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListPrincipalsResponse added in v0.0.22

func ParseListPrincipalsResponse(rsp *http.Response) (*ListPrincipalsResponse, error)

ParseListPrincipalsResponse parses an HTTP response from a ListPrincipalsWithResponse call

func (ListPrincipalsResponse) ContentType added in v0.0.22

func (r ListPrincipalsResponse) ContentType() string

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

func (ListPrincipalsResponse) Status added in v0.0.22

func (r ListPrincipalsResponse) Status() string

Status returns HTTPResponse.Status

func (ListPrincipalsResponse) StatusCode added in v0.0.22

func (r ListPrincipalsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListProjectPermissionsResponse added in v0.0.21

type ListProjectPermissionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PermissionCatalogResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListProjectPermissionsResponse added in v0.0.21

func ParseListProjectPermissionsResponse(rsp *http.Response) (*ListProjectPermissionsResponse, error)

ParseListProjectPermissionsResponse parses an HTTP response from a ListProjectPermissionsWithResponse call

func (ListProjectPermissionsResponse) ContentType added in v0.0.21

func (r ListProjectPermissionsResponse) ContentType() string

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

func (ListProjectPermissionsResponse) Status added in v0.0.21

Status returns HTTPResponse.Status

func (ListProjectPermissionsResponse) StatusCode added in v0.0.21

func (r ListProjectPermissionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListProjectsParams added in v0.0.3

type ListProjectsParams struct {
	// Search Case-insensitive substring filter applied to project name, handle, and description.
	Search *string `form:"search,omitempty" json:"search,omitempty"`

	// Tag Filter to projects carrying the given tags. Each value is either a bare key (matches any project that has the key) or `key:value` (matches the exact key/value pair). Comma-separate to require several tags; a project must match every one.
	Tag *[]string `form:"tag,omitempty" json:"tag,omitempty"`

	// Cursor Cursor for pagination (opaque string from previous response)
	Cursor *CursorParam `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListProjectsParams defines parameters for ListProjects.

type ListProjectsResponse added in v0.0.3

type ListProjectsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ProjectListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
}

func ParseListProjectsResponse added in v0.0.3

func ParseListProjectsResponse(rsp *http.Response) (*ListProjectsResponse, error)

ParseListProjectsResponse parses an HTTP response from a ListProjectsWithResponse call

func (ListProjectsResponse) ContentType added in v0.0.21

func (r ListProjectsResponse) ContentType() string

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

func (ListProjectsResponse) Status added in v0.0.3

func (r ListProjectsResponse) Status() string

Status returns HTTPResponse.Status

func (ListProjectsResponse) StatusCode added in v0.0.3

func (r ListProjectsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListRoleAssignmentsParams

type ListRoleAssignmentsParams struct {
	// PrincipalId Filter to assignments for a specific principal.
	PrincipalId *string `form:"principal_id,omitempty" json:"principal_id,omitempty"`

	// RoleId Filter to assignments for a specific role.
	RoleId *string `form:"role_id,omitempty" json:"role_id,omitempty"`
}

ListRoleAssignmentsParams defines parameters for ListRoleAssignments.

type ListRoleAssignmentsResponse

type ListRoleAssignmentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RoleAssignmentListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
}

func ParseListRoleAssignmentsResponse

func ParseListRoleAssignmentsResponse(rsp *http.Response) (*ListRoleAssignmentsResponse, error)

ParseListRoleAssignmentsResponse parses an HTTP response from a ListRoleAssignmentsWithResponse call

func (ListRoleAssignmentsResponse) ContentType added in v0.0.21

func (r ListRoleAssignmentsResponse) ContentType() string

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

func (ListRoleAssignmentsResponse) Status

Status returns HTTPResponse.Status

func (ListRoleAssignmentsResponse) StatusCode

func (r ListRoleAssignmentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListRolesParams

type ListRolesParams struct {
	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Cursor Cursor for pagination (opaque string from previous response)
	Cursor *CursorParam `form:"cursor,omitempty" json:"cursor,omitempty"`
}

ListRolesParams defines parameters for ListRoles.

type ListRolesResponse

type ListRolesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RoleListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
}

func ParseListRolesResponse

func ParseListRolesResponse(rsp *http.Response) (*ListRolesResponse, error)

ParseListRolesResponse parses an HTTP response from a ListRolesWithResponse call

func (ListRolesResponse) ContentType added in v0.0.21

func (r ListRolesResponse) ContentType() string

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

func (ListRolesResponse) Status

func (r ListRolesResponse) Status() string

Status returns HTTPResponse.Status

func (ListRolesResponse) StatusCode

func (r ListRolesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListRunEventsParams added in v0.0.23

type ListRunEventsParams struct {
	// AfterSequence Return events with sequence > after_sequence.
	AfterSequence *int64 `form:"after_sequence,omitempty" json:"after_sequence,omitempty"`

	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// LastEventID SSE reconnect cursor. The browser EventSource API replays the last event's `id` in this header on automatic reconnect; the server resumes the stream after that sequence number. When both this header and the `after_sequence` query parameter are supplied, the larger sequence wins, so an explicit `after_sequence` never rewinds a live reconnect. Ignored for non-streaming (JSON) requests.
	LastEventID *LastEventIDParam `json:"Last-Event-ID,omitempty"`
}

ListRunEventsParams defines parameters for ListRunEvents.

type ListRunEventsResponse added in v0.0.23

type ListRunEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LoopRunEventListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListRunEventsResponse added in v0.0.23

func ParseListRunEventsResponse(rsp *http.Response) (*ListRunEventsResponse, error)

ParseListRunEventsResponse parses an HTTP response from a ListRunEventsWithResponse call

func (ListRunEventsResponse) ContentType added in v0.0.23

func (r ListRunEventsResponse) ContentType() string

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

func (ListRunEventsResponse) Status added in v0.0.23

func (r ListRunEventsResponse) Status() string

Status returns HTTPResponse.Status

func (ListRunEventsResponse) StatusCode added in v0.0.23

func (r ListRunEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListRunStepsResponse added in v0.0.15

type ListRunStepsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LoopRunStepListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListRunStepsResponse added in v0.0.15

func ParseListRunStepsResponse(rsp *http.Response) (*ListRunStepsResponse, error)

ParseListRunStepsResponse parses an HTTP response from a ListRunStepsWithResponse call

func (ListRunStepsResponse) ContentType added in v0.0.21

func (r ListRunStepsResponse) ContentType() string

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

func (ListRunStepsResponse) Status added in v0.0.15

func (r ListRunStepsResponse) Status() string

Status returns HTTPResponse.Status

func (ListRunStepsResponse) StatusCode added in v0.0.15

func (r ListRunStepsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListRunsParams

type ListRunsParams struct {
	// Status Filter to one status.
	Status *LoopRunStatus `form:"status,omitempty" json:"status,omitempty"`

	// LoopId Filter to one loop's runs.
	LoopId *string `form:"loop_id,omitempty" json:"loop_id,omitempty"`

	// SourceEventId Filter to runs originating from a single source event. Pass the `source_event_id` returned by the HTTP-trigger delivery endpoint to discover the run it started.
	SourceEventId *string `form:"source_event_id,omitempty" json:"source_event_id,omitempty"`

	// Cursor Opaque pagination cursor from a prior response.
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of items to return.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListRunsParams defines parameters for ListRuns.

type ListRunsResponse

type ListRunsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LoopRunListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
}

func ParseListRunsResponse

func ParseListRunsResponse(rsp *http.Response) (*ListRunsResponse, error)

ParseListRunsResponse parses an HTTP response from a ListRunsWithResponse call

func (ListRunsResponse) ContentType added in v0.0.21

func (r ListRunsResponse) ContentType() string

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

func (ListRunsResponse) Status

func (r ListRunsResponse) Status() string

Status returns HTTPResponse.Status

func (ListRunsResponse) StatusCode

func (r ListRunsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSessionMessagesParams added in v0.0.22

type ListSessionMessagesParams struct {
	// AfterSequence Continuation cursor for sequence-ordered lists. Only include rows whose monotonic per-resource sequence is strictly greater than this value. Pass the `next_sequence` from the previous response to fetch the next page.
	AfterSequence *AfterSequenceParam `form:"after_sequence,omitempty" json:"after_sequence,omitempty"`

	// BeforeSequence Backward continuation cursor for sequence-ordered lists. Only include rows whose monotonic per-resource sequence is strictly less than this value. Combine with `order=desc` to page toward older rows from a known position; pass the `prev_sequence` from the previous response to fetch the next older page.
	BeforeSequence *BeforeSequenceParam `form:"before_sequence,omitempty" json:"before_sequence,omitempty"`

	// Order Scan direction for the page. `asc` (the default) returns oldest-first; `desc` returns newest-first — the way to fetch the latest rows of a long list (the tail) in a single request. Items in the response are always ordered ascending regardless of this value; `order` only selects which end of the list the page is taken from.
	Order *ListSessionMessagesParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Include Set to `context` to include caller-supplied runtime context rows whose model-visible names begin with `app-`. Platform-owned runtime context remains hidden.
	Include *ContextIncludeParam `form:"include,omitempty" json:"include,omitempty"`
}

ListSessionMessagesParams defines parameters for ListSessionMessages.

type ListSessionMessagesParamsOrder added in v0.0.29

type ListSessionMessagesParamsOrder string

ListSessionMessagesParamsOrder defines parameters for ListSessionMessages.

const (
	ListSessionMessagesParamsOrderAsc  ListSessionMessagesParamsOrder = "asc"
	ListSessionMessagesParamsOrderDesc ListSessionMessagesParamsOrder = "desc"
)

Defines values for ListSessionMessagesParamsOrder.

func (ListSessionMessagesParamsOrder) Valid added in v0.0.29

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

type ListSessionMessagesResponse added in v0.0.22

type ListSessionMessagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SessionMessageListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListSessionMessagesResponse added in v0.0.22

func ParseListSessionMessagesResponse(rsp *http.Response) (*ListSessionMessagesResponse, error)

ParseListSessionMessagesResponse parses an HTTP response from a ListSessionMessagesWithResponse call

func (ListSessionMessagesResponse) ContentType added in v0.0.22

func (r ListSessionMessagesResponse) ContentType() string

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

func (ListSessionMessagesResponse) Status added in v0.0.22

Status returns HTTPResponse.Status

func (ListSessionMessagesResponse) StatusCode added in v0.0.22

func (r ListSessionMessagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSessionNudgesParams added in v0.0.42

type ListSessionNudgesParams struct {
	// Status Filter by one or more nudge statuses.
	Status *[]SessionNudgeStatus `form:"status,omitempty" json:"status,omitempty"`

	// Order Scan direction for the page. `asc` (the default) returns oldest-first; `desc` returns newest-first — the way to fetch the latest rows of a long list (the tail) in a single request. Items in the response are always ordered ascending regardless of this value; `order` only selects which end of the list the page is taken from.
	Order *ListSessionNudgesParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Cursor Cursor for pagination (opaque string from previous response)
	Cursor *CursorParam `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListSessionNudgesParams defines parameters for ListSessionNudges.

type ListSessionNudgesParamsOrder added in v0.0.42

type ListSessionNudgesParamsOrder string

ListSessionNudgesParamsOrder defines parameters for ListSessionNudges.

const (
	ListSessionNudgesParamsOrderAsc  ListSessionNudgesParamsOrder = "asc"
	ListSessionNudgesParamsOrderDesc ListSessionNudgesParamsOrder = "desc"
)

Defines values for ListSessionNudgesParamsOrder.

func (ListSessionNudgesParamsOrder) Valid added in v0.0.42

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

type ListSessionNudgesResponse added in v0.0.42

type ListSessionNudgesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SessionNudgeListResponse
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListSessionNudgesResponse added in v0.0.42

func ParseListSessionNudgesResponse(rsp *http.Response) (*ListSessionNudgesResponse, error)

ParseListSessionNudgesResponse parses an HTTP response from a ListSessionNudgesWithResponse call

func (ListSessionNudgesResponse) ContentType added in v0.0.42

func (r ListSessionNudgesResponse) ContentType() string

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

func (ListSessionNudgesResponse) Status added in v0.0.42

func (r ListSessionNudgesResponse) Status() string

Status returns HTTPResponse.Status

func (ListSessionNudgesResponse) StatusCode added in v0.0.42

func (r ListSessionNudgesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSessionTurnsParams added in v0.0.29

type ListSessionTurnsParams struct {
	// Ids Return exactly the turns with these ids (the transcript-join primitive). When set, pagination and ordering are ignored and the named turns are returned in chronological order.
	Ids *[]string `form:"ids,omitempty" json:"ids,omitempty"`

	// Order Scan direction for the page. `asc` (the default) returns oldest-first; `desc` returns newest-first — the way to fetch the latest rows of a long list (the tail) in a single request. Items in the response are always ordered ascending regardless of this value; `order` only selects which end of the list the page is taken from.
	Order *ListSessionTurnsParamsOrder `form:"order,omitempty" json:"order,omitempty"`

	// Cursor Cursor for pagination (opaque string from previous response)
	Cursor *CursorParam `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListSessionTurnsParams defines parameters for ListSessionTurns.

type ListSessionTurnsParamsOrder added in v0.0.29

type ListSessionTurnsParamsOrder string

ListSessionTurnsParamsOrder defines parameters for ListSessionTurns.

const (
	ListSessionTurnsParamsOrderAsc  ListSessionTurnsParamsOrder = "asc"
	ListSessionTurnsParamsOrderDesc ListSessionTurnsParamsOrder = "desc"
)

Defines values for ListSessionTurnsParamsOrder.

func (ListSessionTurnsParamsOrder) Valid added in v0.0.29

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

type ListSessionTurnsResponse added in v0.0.24

type ListSessionTurnsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AgentTurnListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListSessionTurnsResponse added in v0.0.24

func ParseListSessionTurnsResponse(rsp *http.Response) (*ListSessionTurnsResponse, error)

ParseListSessionTurnsResponse parses an HTTP response from a ListSessionTurnsWithResponse call

func (ListSessionTurnsResponse) ContentType added in v0.0.24

func (r ListSessionTurnsResponse) ContentType() string

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

func (ListSessionTurnsResponse) Status added in v0.0.24

func (r ListSessionTurnsResponse) Status() string

Status returns HTTPResponse.Status

func (ListSessionTurnsResponse) StatusCode added in v0.0.24

func (r ListSessionTurnsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSessionsParams added in v0.0.26

type ListSessionsParams struct {
	// AgentId Filter to sessions owned by this agent.
	AgentId *string `form:"agent_id,omitempty" json:"agent_id,omitempty"`

	// AgentName Filter to sessions owned by the project-unique agent with this exact name. Mutually exclusive with `agent_id`.
	AgentName *string `form:"agent_name,omitempty" json:"agent_name,omitempty"`

	// SessionKey Look up the session with this exact routing key — a read-only deterministic lookup that avoids a create-or-resolve round trip, returning the one matching session or an empty list. Requires exactly one of `agent_id` or `agent_name`, since session keys are scoped to an agent.
	SessionKey *string `form:"session_key,omitempty" json:"session_key,omitempty"`

	// Status Filter by session status.
	Status *SessionStatus `form:"status,omitempty" json:"status,omitempty"`

	// Scope Filter by session scope.
	Scope *SessionScope `form:"scope,omitempty" json:"scope,omitempty"`

	// Provider Filter messaging sessions by provider metadata, e.g. `slack` or `telegram`.
	Provider *string `form:"provider,omitempty" json:"provider,omitempty"`

	// IntegrationId Filter to sessions created by this integration, e.g. agent sessions started from a connected provider.
	IntegrationId *string `form:"integration_id,omitempty" json:"integration_id,omitempty"`

	// Since Only include sessions with activity after this timestamp.
	Since *time.Time `form:"since,omitempty" json:"since,omitempty"`

	// Cursor Cursor for pagination (opaque string from previous response)
	Cursor *CursorParam `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
}

ListSessionsParams defines parameters for ListSessions.

type ListSessionsResponse added in v0.0.26

type ListSessionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SessionListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListSessionsResponse added in v0.0.26

func ParseListSessionsResponse(rsp *http.Response) (*ListSessionsResponse, error)

ParseListSessionsResponse parses an HTTP response from a ListSessionsWithResponse call

func (ListSessionsResponse) ContentType added in v0.0.26

func (r ListSessionsResponse) ContentType() string

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

func (ListSessionsResponse) Status added in v0.0.26

func (r ListSessionsResponse) Status() string

Status returns HTTPResponse.Status

func (ListSessionsResponse) StatusCode added in v0.0.26

func (r ListSessionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSkillsParams added in v0.0.21

type ListSkillsParams struct {
	// IncludeSystem Include read-only system skill templates.
	IncludeSystem *bool `form:"include_system,omitempty" json:"include_system,omitempty"`
}

ListSkillsParams defines parameters for ListSkills.

type ListSkillsResponse added in v0.0.21

type ListSkillsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SkillListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListSkillsResponse added in v0.0.21

func ParseListSkillsResponse(rsp *http.Response) (*ListSkillsResponse, error)

ParseListSkillsResponse parses an HTTP response from a ListSkillsWithResponse call

func (ListSkillsResponse) ContentType added in v0.0.21

func (r ListSkillsResponse) ContentType() string

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

func (ListSkillsResponse) Status added in v0.0.21

func (r ListSkillsResponse) Status() string

Status returns HTTPResponse.Status

func (ListSkillsResponse) StatusCode added in v0.0.21

func (r ListSkillsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTablesParams added in v0.0.20

type ListTablesParams struct {
	// Cursor Cursor for pagination (opaque string from previous response)
	Cursor *CursorParam `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Name Filter tables by name. Table names are unique within a project; use this as a discovery filter and use the returned table `id` for follow-up operations.
	Name *TableNameQueryParam `form:"name,omitempty" json:"name,omitempty"`
}

ListTablesParams defines parameters for ListTables.

type ListTablesResponse added in v0.0.20

type ListTablesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TableListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
}

func ParseListTablesResponse added in v0.0.20

func ParseListTablesResponse(rsp *http.Response) (*ListTablesResponse, error)

ParseListTablesResponse parses an HTTP response from a ListTablesWithResponse call

func (ListTablesResponse) ContentType added in v0.0.21

func (r ListTablesResponse) ContentType() string

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

func (ListTablesResponse) Status added in v0.0.20

func (r ListTablesResponse) Status() string

Status returns HTTPResponse.Status

func (ListTablesResponse) StatusCode added in v0.0.20

func (r ListTablesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListToolkitsParams added in v0.0.21

type ListToolkitsParams struct {
	// IncludeSystem Include read-only system templates.
	IncludeSystem *bool `form:"include_system,omitempty" json:"include_system,omitempty"`
}

ListToolkitsParams defines parameters for ListToolkits.

type ListToolkitsResponse added in v0.0.21

type ListToolkitsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ToolkitListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListToolkitsResponse added in v0.0.21

func ParseListToolkitsResponse(rsp *http.Response) (*ListToolkitsResponse, error)

ParseListToolkitsResponse parses an HTTP response from a ListToolkitsWithResponse call

func (ListToolkitsResponse) ContentType added in v0.0.21

func (r ListToolkitsResponse) ContentType() string

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

func (ListToolkitsResponse) Status added in v0.0.21

func (r ListToolkitsResponse) Status() string

Status returns HTTPResponse.Status

func (ListToolkitsResponse) StatusCode added in v0.0.21

func (r ListToolkitsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTurnMessagesParams added in v0.0.24

type ListTurnMessagesParams struct {
	// AfterSequence Continuation cursor for sequence-ordered lists. Only include rows whose monotonic per-resource sequence is strictly greater than this value. Pass the `next_sequence` from the previous response to fetch the next page.
	AfterSequence *AfterSequenceParam `form:"after_sequence,omitempty" json:"after_sequence,omitempty"`

	// Limit Maximum number of items to return
	Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`

	// Include Set to `context` to include caller-supplied runtime context rows whose model-visible names begin with `app-`. Platform-owned runtime context remains hidden.
	Include *ContextIncludeParam `form:"include,omitempty" json:"include,omitempty"`
}

ListTurnMessagesParams defines parameters for ListTurnMessages.

type ListTurnMessagesResponse added in v0.0.24

type ListTurnMessagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SessionMessageListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListTurnMessagesResponse added in v0.0.24

func ParseListTurnMessagesResponse(rsp *http.Response) (*ListTurnMessagesResponse, error)

ParseListTurnMessagesResponse parses an HTTP response from a ListTurnMessagesWithResponse call

func (ListTurnMessagesResponse) ContentType added in v0.0.24

func (r ListTurnMessagesResponse) ContentType() string

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

func (ListTurnMessagesResponse) Status added in v0.0.24

func (r ListTurnMessagesResponse) Status() string

Status returns HTTPResponse.Status

func (ListTurnMessagesResponse) StatusCode added in v0.0.24

func (r ListTurnMessagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWebhookDeliveriesParams added in v0.0.3

type ListWebhookDeliveriesParams struct {
	// Cursor Opaque pagination cursor returned from the previous response.
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of results to return per page.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListWebhookDeliveriesParams defines parameters for ListWebhookDeliveries.

type ListWebhookDeliveriesResponse added in v0.0.3

type ListWebhookDeliveriesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WebhookDeliveryListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListWebhookDeliveriesResponse added in v0.0.3

func ParseListWebhookDeliveriesResponse(rsp *http.Response) (*ListWebhookDeliveriesResponse, error)

ParseListWebhookDeliveriesResponse parses an HTTP response from a ListWebhookDeliveriesWithResponse call

func (ListWebhookDeliveriesResponse) ContentType added in v0.0.21

func (r ListWebhookDeliveriesResponse) ContentType() string

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

func (ListWebhookDeliveriesResponse) Status added in v0.0.3

Status returns HTTPResponse.Status

func (ListWebhookDeliveriesResponse) StatusCode added in v0.0.3

func (r ListWebhookDeliveriesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWebhooksParams

type ListWebhooksParams struct {
	// Enabled Filter by enabled/disabled state.
	Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"`

	// Cursor Opaque pagination cursor returned from the previous response.
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`

	// Limit Maximum number of results to return per page.
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListWebhooksParams defines parameters for ListWebhooks.

type ListWebhooksResponse

type ListWebhooksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WebhookListResponse
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseListWebhooksResponse

func ParseListWebhooksResponse(rsp *http.Response) (*ListWebhooksResponse, error)

ParseListWebhooksResponse parses an HTTP response from a ListWebhooksWithResponse call

func (ListWebhooksResponse) ContentType added in v0.0.21

func (r ListWebhooksResponse) ContentType() string

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

func (ListWebhooksResponse) Status

func (r ListWebhooksResponse) Status() string

Status returns HTTPResponse.Status

func (ListWebhooksResponse) StatusCode

func (r ListWebhooksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Loop added in v0.0.24

type Loop struct {
	// AgentId Agent associated with this loop. Agent steps use it when they do not pin `config.agent_id`.
	AgentId *string `json:"agent_id,omitempty"`

	// Cleanup Cleanup steps or policies evaluated after normal step execution.
	Cleanup *[]map[string]interface{} `json:"cleanup,omitempty"`

	// Concurrency Concurrency behavior: `allow`, `queue`, `skip`, or `replace`.
	Concurrency *LoopConcurrency `json:"concurrency,omitempty"`

	// Config Declared run config fields for this loop.
	Config *map[string]LoopSpecInput `json:"config,omitempty"`

	// CreatedAt Record creation timestamp.
	CreatedAt time.Time `json:"created_at"`

	// DefaultConfig Default config values used when a run is started without overrides.
	DefaultConfig *map[string]interface{} `json:"default_config,omitempty"`

	// Defaults Run-level defaults inside the loop spec. Lives at `spec.defaults` in the JSON the engine compiles. The run wall-clock limit moved to `limits.wall_clock_timeout`.
	Defaults *LoopSpecDefaults `json:"defaults,omitempty"`

	// Description Markdown description of the loop's purpose.
	Description *string `json:"description,omitempty"`

	// Event Declared event fields for this loop.
	Event *map[string]LoopSpecInput `json:"event,omitempty"`

	// Id Stable loop identifier.
	Id string `json:"id"`

	// LastRunAt Timestamp of the most recent run start, if any.
	LastRunAt *time.Time `json:"last_run_at,omitempty"`

	// Limits Run guardrails. Lives at `spec.limits` in the JSON the engine compiles. Every limit is optional; absent or zero means unbounded (plan-level org caps still apply), with one exception — trial-plan runs default to a 100-credit ($1) budget when no budget is set here or on the start request. Paid plans default to unbounded.
	Limits *LoopSpecLimits `json:"limits,omitempty"`

	// Name Human-readable display name.
	Name string `json:"name"`

	// Output Declared run result contract.
	Output *map[string]interface{} `json:"output,omitempty"`

	// Owner User who created or currently owns this loop.
	Owner *string `json:"owner,omitempty"`

	// Repositories Source repositories the loop targets.
	Repositories *[]LoopSpecRepository `json:"repositories,omitempty"`

	// RunName Templates for assigning an operator-facing title and optional description to each run. The object form leaves room for additional naming strategies without changing the loop spec shape.
	RunName *RunNameSpec `json:"run_name,omitempty"`

	// SchemaVersion Loop authoring schema version. Only schema version 1 is accepted.
	SchemaVersion *LoopSchemaVersion `json:"schema_version,omitempty"`

	// Settings Free-form loop-level settings consumed by the engine.
	Settings *map[string]interface{} `json:"settings,omitempty"`

	// Status Loop lifecycle status: `draft`, `active`, `paused`, or `deleted`.
	Status LoopStatus `json:"status"`

	// Steps Ordered user-authored steps to execute for each run.
	Steps *[]LoopStep `json:"steps,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// Triggers Authored trigger declarations for this loop.
	Triggers *[]LoopSpecTrigger `json:"triggers,omitempty"`

	// UpdatedAt Last update timestamp.
	UpdatedAt time.Time `json:"updated_at"`
}

Loop A loop and its current authored definition. Updating any authoring field creates an internal revision and makes it runnable immediately.

type LoopActionStep added in v0.0.24

type LoopActionStep struct {
	// ActionName Catalog action name to invoke.
	ActionName string `json:"action_name"`

	// EnvironmentId Managed environment to route this worker-backed action to. When omitted for `execution_location: environment`, Mobius resolves one from `spec.defaults.environment`.
	EnvironmentId *string `json:"environment_id,omitempty"`

	// ExecutionLocation Execution location: `managed`, `worker`, or `environment`.
	ExecutionLocation *LoopActionStepExecutionLocation `json:"execution_location,omitempty"`

	// Parameters Action parameters, after template rendering.
	Parameters *map[string]interface{} `json:"parameters,omitempty"`
}

LoopActionStep Action step configuration recognised inside `LoopSpec.steps[].config`.

type LoopActionStepExecutionLocation added in v0.0.24

type LoopActionStepExecutionLocation string

LoopActionStepExecutionLocation Execution location: `managed`, `worker`, or `environment`.

const (
	LoopActionStepExecutionLocationEnvironment LoopActionStepExecutionLocation = "environment"
	LoopActionStepExecutionLocationManaged     LoopActionStepExecutionLocation = "managed"
	LoopActionStepExecutionLocationWorker      LoopActionStepExecutionLocation = "worker"
)

Defines values for LoopActionStepExecutionLocation.

func (LoopActionStepExecutionLocation) Valid added in v0.0.24

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

type LoopActionStepSpec added in v0.0.24

type LoopActionStepSpec struct {
	// Config Action step configuration recognised inside `LoopSpec.steps[].config`.
	Config LoopActionStep `json:"config"`

	// Id Optional stable step id within the spec. If omitted, the compiler uses the step index as a string, such as `"0"`.
	Id *string `json:"id,omitempty"`

	// If Bare expr predicate evaluated before the step runs; false skips the step.
	If *string `json:"if,omitempty"`

	// Kind Step discriminator value; always `action`.
	Kind LoopActionStepSpecKind `json:"kind"`

	// Name Human-readable step name.
	Name *string `json:"name,omitempty"`

	// Retry Retry policy for a step. `max_attempts` is the total number of attempts (1 = no retry); it bounds both worker-reported failures and lease-loss recovery for worker-executed action steps. A worker that reports a failure with attempts remaining re-queues for another attempt rather than failing the run; the run fails once attempts are exhausted. The attempt count is visible on the run timeline (`action.retried`, `action.failed`) and on the executing job (`claim_attempt` / `max_attempts`). Cancellation is always terminal. Capped server-side at 10 attempts.
	Retry *LoopRetryPolicy `json:"retry,omitempty"`

	// Timeout Timeout behavior for one loop step.
	Timeout *LoopTimeoutPolicy `json:"timeout,omitempty"`
}

LoopActionStepSpec Action step entry inside `LoopSpec.steps`.

type LoopActionStepSpecKind added in v0.0.24

type LoopActionStepSpecKind string

LoopActionStepSpecKind Step discriminator value; always `action`.

const (
	LoopActionStepSpecKindAction LoopActionStepSpecKind = "action"
)

Defines values for LoopActionStepSpecKind.

func (LoopActionStepSpecKind) Valid added in v0.0.24

func (e LoopActionStepSpecKind) Valid() bool

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

type LoopAgentSessionPolicy added in v0.0.24

type LoopAgentSessionPolicy struct {
	// CompactionPolicy Controls how a session's transcript is automatically summarized as it grows. On create the supplied fields are merged over the owning agent's default policy and the server defaults; on update they patch the session's current policy. Omitted fields keep their resolved values.
	CompactionPolicy *SessionCompactionPolicy `json:"compaction_policy,omitempty"`

	// Name Optional Go-template string rendered against `event`, `meta`, `config`, `context`, `agent`, `loop`, `run`, `source`, and `step`. When omitted, Mobius derives a stable name from the event payload, falling back to the trigger or `default`.
	Name *string `json:"name,omitempty"`

	// Scope Named-session boundary. `auto` and omitted use `loop`. `agent` intentionally shares the named session across loops using the same agent.
	Scope *LoopAgentSessionPolicyScope `json:"scope,omitempty"`

	// ThinkingEffort Reasoning-effort level for a turn, lowest (`low`) to highest (`max`). Higher effort spends more tokens on reasoning, improving quality on hard tasks at the cost of latency and credits. Levels above what the resolved model supports are clamped down. Set on an agent it is the default; set on a session or loop step it overrides the agent default. `inherit` (or omitting the field) defers to the layer below — the agent default for a session/step, or the provider's own default when nothing sets a level.
	ThinkingEffort *ThinkingEffort `json:"thinking_effort,omitempty"`

	// Title Optional Go-template string for the session display title.
	Title *string `json:"title,omitempty"`

	// Visibility Visibility of the session in project surfaces: `project` or `private`.
	Visibility *SessionVisibility `json:"visibility,omitempty"`
}

LoopAgentSessionPolicy Durable conversation-session policy for loop agent steps. Omit to enable the product default: loop-scoped sessions keyed from the triggering conversation when Mobius can identify one, such as a Telegram chat ID.

type LoopAgentSessionPolicyScope added in v0.0.24

type LoopAgentSessionPolicyScope string

LoopAgentSessionPolicyScope Named-session boundary. `auto` and omitted use `loop`. `agent` intentionally shares the named session across loops using the same agent.

const (
	LoopAgentSessionPolicyScopeAgent LoopAgentSessionPolicyScope = "agent"
	LoopAgentSessionPolicyScopeAuto  LoopAgentSessionPolicyScope = "auto"
	LoopAgentSessionPolicyScopeLoop  LoopAgentSessionPolicyScope = "loop"
)

Defines values for LoopAgentSessionPolicyScope.

func (LoopAgentSessionPolicyScope) Valid added in v0.0.24

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

type LoopAgentStep added in v0.0.24

type LoopAgentStep struct {
	// AgentId Agent to run for this step. Omit to use the loop's top-level `agent_id`.
	AgentId *string `json:"agent_id,omitempty"`

	// DisableTools Set true to disable granted action and memory tools for this step. When false or omitted, granted tools are available unless `tool_names` narrows the allow-list. Reserved runtime tools such as `invoke_skill` and structured-output submission may still be present when applicable.
	DisableTools *bool `json:"disable_tools,omitempty"`

	// Instructions Prompt or task instructions rendered before the agent turn starts.
	Instructions string `json:"instructions"`

	// MaxTurns Maximum tool iterations allowed within this agent turn.
	MaxTurns *int `json:"max_turns,omitempty"`

	// ModelRoute Model-routing override for an agent step.
	ModelRoute *LoopModelRoute `json:"model_route,omitempty"`

	// OutputSchema JSON Schema the agent should satisfy when returning structured output.
	OutputSchema *map[string]interface{} `json:"output_schema,omitempty"`

	// Session Durable conversation-session policy for loop agent steps. Omit to enable the product default: loop-scoped sessions keyed from the triggering conversation when Mobius can identify one, such as a Telegram chat ID.
	Session *LoopAgentSessionPolicy `json:"session,omitempty"`

	// ToolNames Optional per-step tool allow-list. When omitted and `disable_tools` is not true, the agent's full granted tool set is available. Send an empty array to allow no tools.
	ToolNames *[]string `json:"tool_names,omitempty"`
}

LoopAgentStep Agent step configuration recognised inside `LoopSpec.steps[].config`.

type LoopAgentStepSpec added in v0.0.24

type LoopAgentStepSpec struct {
	// Config Agent step configuration recognised inside `LoopSpec.steps[].config`.
	Config LoopAgentStep `json:"config"`

	// Id Optional stable step id within the spec. If omitted, the compiler uses the step index as a string, such as `"0"`.
	Id *string `json:"id,omitempty"`

	// If Bare expr predicate evaluated before the step runs; false skips the step.
	If *string `json:"if,omitempty"`

	// Kind Step discriminator value; always `agent`.
	Kind LoopAgentStepSpecKind `json:"kind"`

	// Name Human-readable step name.
	Name *string `json:"name,omitempty"`

	// Retry Retry policy for a step. `max_attempts` is the total number of attempts (1 = no retry); it bounds both worker-reported failures and lease-loss recovery for worker-executed action steps. A worker that reports a failure with attempts remaining re-queues for another attempt rather than failing the run; the run fails once attempts are exhausted. The attempt count is visible on the run timeline (`action.retried`, `action.failed`) and on the executing job (`claim_attempt` / `max_attempts`). Cancellation is always terminal. Capped server-side at 10 attempts.
	Retry *LoopRetryPolicy `json:"retry,omitempty"`

	// Timeout Timeout behavior for one loop step.
	Timeout *LoopTimeoutPolicy `json:"timeout,omitempty"`
}

LoopAgentStepSpec Agent step entry inside `LoopSpec.steps`.

type LoopAgentStepSpecKind added in v0.0.24

type LoopAgentStepSpecKind string

LoopAgentStepSpecKind Step discriminator value; always `agent`.

const (
	LoopAgentStepSpecKindAgent LoopAgentStepSpecKind = "agent"
)

Defines values for LoopAgentStepSpecKind.

func (LoopAgentStepSpecKind) Valid added in v0.0.24

func (e LoopAgentStepSpecKind) Valid() bool

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

type LoopCheckAssertion added in v0.0.24

type LoopCheckAssertion struct {
	// Agent Judge agent id for `kind: agent`. Omit to use the built-in platform reviewer `mobius-reviewer`. The judge should be a different agent than the one that produced the evidence; the compiler warns when a judge grades its own work.
	Agent *string `json:"agent,omitempty"`

	// Evidence Step ids whose saved outputs this assertion judges. Each must reference an earlier step. Cited outputs are shown to agent judges and recorded on the verdict.
	Evidence *[]string `json:"evidence,omitempty"`

	// Expr Predicate for `kind: expr`, evaluated against the run's template environment (`event`, `meta`, `config`, `steps.<id>.output`, and `steps[0].output`). Required for expr assertions.
	Expr *string `json:"expr,omitempty"`

	// Kind `expr` evaluates a deterministic predicate with the same language as step conditions and event waits. `agent` runs a bounded judge turn returning a strict `{pass, reason}` verdict; its spend counts against the run budget and it consumes one run agent turn.
	Kind LoopCheckAssertionKind `json:"kind"`

	// Name Unique assertion name shown on the timeline proof row.
	Name string `json:"name"`

	// Prompt Judge instruction for `kind: agent`, rendered with `${{ ... }}` expr interpolation before the cited evidence is appended. Required for agent assertions.
	Prompt *string `json:"prompt,omitempty"`
}

LoopCheckAssertion One assertion evaluated by a check step.

type LoopCheckAssertionKind added in v0.0.24

type LoopCheckAssertionKind string

LoopCheckAssertionKind `expr` evaluates a deterministic predicate with the same language as step conditions and event waits. `agent` runs a bounded judge turn returning a strict `{pass, reason}` verdict; its spend counts against the run budget and it consumes one run agent turn.

const (
	LoopCheckAssertionKindAgent LoopCheckAssertionKind = "agent"
	LoopCheckAssertionKindExpr  LoopCheckAssertionKind = "expr"
)

Defines values for LoopCheckAssertionKind.

func (LoopCheckAssertionKind) Valid added in v0.0.24

func (e LoopCheckAssertionKind) Valid() bool

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

type LoopCheckGate added in v0.0.24

type LoopCheckGate struct {
	// Prompt Prompt shown to reviewers. Defaults to a generated summary of the failed assertions.
	Prompt *string `json:"prompt,omitempty"`

	// Targets Principals who must respond. String entries may contain template actions resolved against the run.
	Targets []string `json:"targets"`
}

LoopCheckGate Approval gate opened when `on_fail: gate` trips.

type LoopCheckStep added in v0.0.24

type LoopCheckStep struct {
	// Checks Assertions evaluated in order; names must be unique.
	Checks []LoopCheckAssertion `json:"checks"`

	// Gate Approval gate opened when `on_fail: gate` trips.
	Gate *LoopCheckGate `json:"gate,omitempty"`

	// OnFail Routing when any assertion fails. `fail` stops the run with stop reason `check_failed`. `continue` proceeds with the red verdict recorded. `gate` opens a `request_approval` interaction carrying the failed assertions and evidence; approval resumes the run with the verdict recorded as overridden, rejection stops it with `gate_rejected`.
	OnFail *LoopCheckStepOnFail `json:"on_fail,omitempty"`
}

LoopCheckStep Check step configuration recognised inside `LoopSpec.steps[].config`. A check step evaluates typed assertions over the run's template `event`, `meta`, `config`, `steps.<id>.output`, and `steps[0].output`) — deterministic `expr` predicates, or `agent` judges for everything that isn't deterministic — records a per-assertion verdict with cited evidence, and routes on failure: fail the run (stop reason `check_failed`), continue with the red verdict on the record, or open an approval gate carrying the evidence (rejection stops the run with `gate_rejected`). All assertions are evaluated; there is no short-circuit. An assertion that errors (bad expr, judge model failure, unparseable verdict) fails closed — never a silent pass.

type LoopCheckStepOnFail added in v0.0.24

type LoopCheckStepOnFail string

LoopCheckStepOnFail Routing when any assertion fails. `fail` stops the run with stop reason `check_failed`. `continue` proceeds with the red verdict recorded. `gate` opens a `request_approval` interaction carrying the failed assertions and evidence; approval resumes the run with the verdict recorded as overridden, rejection stops it with `gate_rejected`.

const (
	LoopCheckStepOnFailContinue LoopCheckStepOnFail = "continue"
	LoopCheckStepOnFailFail     LoopCheckStepOnFail = "fail"
	LoopCheckStepOnFailGate     LoopCheckStepOnFail = "gate"
)

Defines values for LoopCheckStepOnFail.

func (LoopCheckStepOnFail) Valid added in v0.0.24

func (e LoopCheckStepOnFail) Valid() bool

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

type LoopCheckStepSpec added in v0.0.24

type LoopCheckStepSpec struct {
	// Config Check step configuration recognised inside `LoopSpec.steps[].config`. A check step evaluates typed assertions over the run's template `event`, `meta`, `config`, `steps.<id>.output`, and `steps[0].output`) — deterministic `expr` predicates, or `agent` judges for everything that isn't deterministic — records a per-assertion verdict with cited evidence, and routes on failure: fail the run (stop reason `check_failed`), continue with the red verdict on the record, or open an approval gate carrying the evidence (rejection stops the run with `gate_rejected`). All assertions are evaluated; there is no short-circuit. An assertion that errors (bad expr, judge model failure, unparseable verdict) fails closed — never a silent pass.
	Config LoopCheckStep `json:"config"`

	// Id Optional stable step id within the spec. If omitted, the compiler uses the step index as a string, such as `"0"`.
	Id *string `json:"id,omitempty"`

	// If Bare expr predicate evaluated before the step runs; false skips the step.
	If *string `json:"if,omitempty"`

	// Kind Step discriminator value; always `check`.
	Kind LoopCheckStepSpecKind `json:"kind"`

	// Name Human-readable step name.
	Name *string `json:"name,omitempty"`

	// Retry Retry policy for a step. `max_attempts` is the total number of attempts (1 = no retry); it bounds both worker-reported failures and lease-loss recovery for worker-executed action steps. A worker that reports a failure with attempts remaining re-queues for another attempt rather than failing the run; the run fails once attempts are exhausted. The attempt count is visible on the run timeline (`action.retried`, `action.failed`) and on the executing job (`claim_attempt` / `max_attempts`). Cancellation is always terminal. Capped server-side at 10 attempts.
	Retry *LoopRetryPolicy `json:"retry,omitempty"`

	// Timeout Timeout behavior for one loop step.
	Timeout *LoopTimeoutPolicy `json:"timeout,omitempty"`
}

LoopCheckStepSpec Check step entry inside `LoopSpec.steps`.

type LoopCheckStepSpecKind added in v0.0.24

type LoopCheckStepSpecKind string

LoopCheckStepSpecKind Step discriminator value; always `check`.

const (
	LoopCheckStepSpecKindCheck LoopCheckStepSpecKind = "check"
)

Defines values for LoopCheckStepSpecKind.

func (LoopCheckStepSpecKind) Valid added in v0.0.24

func (e LoopCheckStepSpecKind) Valid() bool

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

type LoopConcurrency added in v0.0.25

type LoopConcurrency string

LoopConcurrency Concurrency behavior: `allow`, `queue`, `skip`, or `replace`.

const (
	LoopConcurrencyAllow   LoopConcurrency = "allow"
	LoopConcurrencyQueue   LoopConcurrency = "queue"
	LoopConcurrencyReplace LoopConcurrency = "replace"
	LoopConcurrencySkip    LoopConcurrency = "skip"
)

Defines values for LoopConcurrency.

func (LoopConcurrency) Valid added in v0.0.25

func (e LoopConcurrency) Valid() bool

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

type LoopEnvironmentPolicy added in v0.0.24

type LoopEnvironmentPolicy struct {
	// AutoStartWorker Whether Mobius should start the managed worker automatically.
	AutoStartWorker *bool `json:"auto_start_worker,omitempty"`

	// Disabled Disable automatic environment allocation.
	Disabled *bool `json:"disabled,omitempty"`

	// EnvironmentId Existing dedicated environment to use for this loop.
	EnvironmentId *string `json:"environment_id,omitempty"`

	// Mode High-level ownership policy for how Mobius plans to use the environment. `run` is one-shot and auto-cleaned with a run; `agent` and `loop` are persistent environment policies; `manual` is operator controlled.
	Mode *EnvironmentMode `json:"mode,omitempty"`

	// Provider Backing provider: `sprites`, `cloudflare_containers`, or `worker`.
	Provider *EnvironmentProvider `json:"provider,omitempty"`

	// RetentionPolicy Retention behavior: `manual`, `destroy_on_success`, `retain_on_failure`, or `retain_always`.
	RetentionPolicy *EnvironmentRetentionPolicy `json:"retention_policy,omitempty"`

	// RuntimeVersion Mobius worker runtime version to install when starting the worker.
	RuntimeVersion *string `json:"runtime_version,omitempty"`

	// TemplateId Environment template to use when Mobius creates one.
	TemplateId *string `json:"template_id,omitempty"`
}

LoopEnvironmentPolicy Automatic managed-environment policy for loop execution. Omit to use the product default: each agent gets a persistent agent-bound environment, while direct environment actions get a run-bound environment. Set `disabled: true` to opt out.

type LoopListResponse added in v0.0.24

type LoopListResponse struct {
	// HasMore True when more items exist after this page.
	HasMore *bool `json:"has_more,omitempty"`

	// Items The list of results for this page.
	Items []Loop `json:"items"`

	// NextCursor Opaque cursor for the next page; absent when no more results.
	NextCursor *string `json:"next_cursor,omitempty"`
}

LoopListResponse defines model for LoopListResponse.

type LoopModelRoute added in v0.0.24

type LoopModelRoute struct {
	// EnvironmentId Managed environment to route worker-backed model calls to.
	EnvironmentId *string `json:"environment_id,omitempty"`

	// Mode Model route mode: `managed` or `worker`.
	Mode LoopModelRouteMode `json:"mode"`

	// Model Model identifier for this route.
	Model *string `json:"model,omitempty"`

	// Provider Provider id advertised by a local worker when `mode` is `worker`.
	Provider *string `json:"provider,omitempty"`
}

LoopModelRoute Model-routing override for an agent step.

type LoopModelRouteMode added in v0.0.24

type LoopModelRouteMode string

LoopModelRouteMode Model route mode: `managed` or `worker`.

const (
	LoopModelRouteModeManaged LoopModelRouteMode = "managed"
	LoopModelRouteModeWorker  LoopModelRouteMode = "worker"
)

Defines values for LoopModelRouteMode.

func (LoopModelRouteMode) Valid added in v0.0.24

func (e LoopModelRouteMode) Valid() bool

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

type LoopRetryPolicy added in v0.0.24

type LoopRetryPolicy struct {
	// Delay Go duration string such as `30s`, `5m`, or `2h`. Applied between attempts for in-process (synchronous) action retries; worker-executed actions re-queue immediately for the next attempt.
	Delay *string `json:"delay,omitempty"`

	// MaxAttempts Total attempts allowed for the step, including the first attempt.
	MaxAttempts *int `json:"max_attempts,omitempty"`
}

LoopRetryPolicy Retry policy for a step. `max_attempts` is the total number of attempts (1 = no retry); it bounds both worker-reported failures and lease-loss recovery for worker-executed action steps. A worker that reports a failure with attempts remaining re-queues for another attempt rather than failing the run; the run fails once attempts are exhausted. The attempt count is visible on the run timeline (`action.retried`, `action.failed`) and on the executing job (`claim_attempt` / `max_attempts`). Cancellation is always terminal. Capped server-side at 10 attempts.

type LoopRun added in v0.0.24

type LoopRun struct {
	// AgentTurnsUsed Number of agent turns started for this run so far. Compared against `max_agent_turns` when that cap is set.
	AgentTurnsUsed *int `json:"agent_turns_used,omitempty"`

	// Attempt One-based execution attempt for this run. The original run starts at 1 and increments each time the run is resumed or retried in place.
	Attempt *int `json:"attempt,omitempty"`

	// CompletedAt Time the run reached a terminal status.
	CompletedAt *time.Time `json:"completed_at,omitempty"`

	// Config Optional static or caller-provided configuration resolved when the run started, reachable in templates at `config.*`.
	Config *map[string]interface{} `json:"config,omitempty"`

	// CreatedAt Record creation timestamp.
	CreatedAt time.Time `json:"created_at"`

	// CreditBudget The run's budget ceiling in credits (1 credit = $0.01), with up to 3 decimal places. Resolved at run start from the StartRun override, the loop spec's `limits` block, or the trial-plan default, in that order. Absent when the run is unbounded.
	CreditBudget *float64 `json:"credit_budget,omitempty"`

	// CreditSpent Metered spend attributed to this run so far, in credits (up to 3 decimal places). Incremented atomically with each usage-ledger insert that carries this run's id. Counts all metered work regardless of credential source (BYOK calls count at their rate-card equivalent even though they bill zero credits).
	CreditSpent *float64 `json:"credit_spent,omitempty"`

	// Description Optional secondary description for this run.
	Description *string `json:"description,omitempty"`

	// ErrorMessage Human-readable failure summary; populated on `failed` runs.
	ErrorMessage *string `json:"error_message,omitempty"`

	// ErrorType Machine-readable failure classification when available.
	ErrorType *string `json:"error_type,omitempty"`

	// Event Exact safe/canonical event object that started the run, reachable in templates at `event.*`.
	Event *map[string]interface{} `json:"event,omitempty"`

	// Id Stable run identifier.
	Id string `json:"id"`

	// LoopId Loop this run belongs to.
	LoopId string `json:"loop_id"`

	// LoopName Human-readable name of the loop this run belongs to.
	LoopName *string `json:"loop_name,omitempty"`

	// LoopVersion Version number of the LoopVersion this run is executing.
	LoopVersion int `json:"loop_version"`

	// LoopVersionId LoopVersion record this run is executing.
	LoopVersionId string `json:"loop_version_id"`

	// MaxAgentTurns Run-wide cap on agent turns across all steps, from the loop spec's `limits.max_agent_turns`. Absent when unbounded.
	MaxAgentTurns *int `json:"max_agent_turns,omitempty"`

	// Meta Run and trigger metadata envelope, reachable in templates at `${{ meta.* }}`: `run_id`, `loop_id`, `source`, `trigger`, plus trigger-supplied facts such as `event_type`, `source_event_id`, and `scheduled_at`.
	Meta *map[string]interface{} `json:"meta,omitempty"`

	// Name Human-readable title for this run.
	Name *string `json:"name,omitempty"`

	// ParentLoopId Loop that triggered this run via an `loop` step. Present only on child runs.
	ParentLoopId *string `json:"parent_loop_id,omitempty"`

	// ParentRunId Run that triggered this run via an `loop` step. Present only on child runs; absent for top-level runs.
	ParentRunId *string `json:"parent_run_id,omitempty"`

	// ParentStepKey Step key within the parent run's loop that triggered this run. Present only on child runs.
	ParentStepKey *string `json:"parent_step_key,omitempty"`

	// PlanConcurrencyLimit Org-wide concurrent-run ceiling stamped at run start. Present when the run was evaluated against a plan concurrency limit.
	PlanConcurrencyLimit *int `json:"plan_concurrency_limit,omitempty"`

	// QueueReason Why a run is waiting in the queue. `plan_concurrency` means the organization's current plan has no active-run capacity available. `loop_policy` and `trigger_concurrency` mean authored concurrency policy deferred the run.
	QueueReason *LoopRunQueueReason `json:"queue_reason,omitempty"`

	// Result Final result payload. When the loop declares an `output:` block this is that block rendered at completion; otherwise it is the run's accumulated step outputs, keyed by step id. Absent until the run terminates successfully.
	Result *map[string]interface{} `json:"result,omitempty"`

	// Source Optional attribution for the call that started this run. Triggers and HTTP trigger dispatch populate `trigger_id` and `trigger_fire_id`. API callers usually only set `type` and `id`.
	Source *LoopRunSource `json:"source,omitempty"`

	// StartedAt Time the engine moved the run to `running`.
	StartedAt *time.Time `json:"started_at,omitempty"`

	// Status Run lifecycle state: `queued`, `running`, `suspended`, `completed`, `failed`, or `cancelled`.
	Status LoopRunStatus `json:"status"`

	// StopReason Why a run stopped. Set exactly once when the run reaches a terminal status; absent on non-terminal runs. `status` carries the lifecycle state and `error_type` classifies the error when one occurred; `stop_reason` classifies the stop itself.
	//
	// Grouping: `completed` is the success terminal. `step_failed`, `check_failed`, and `gate_rejected` mean the work failed (an error, a failed verification, or a human rejection at a gate). `budget_exceeded`, `turn_limit_reached`, `wall_clock_exceeded`, `step_limit_reached`, and `progress_stalled` mean a configured guardrail halted the run — the limit worked; the loop did not break. `cancelled` and `replaced` mean somebody (or a concurrency policy) chose to stop it.
	StopReason *LoopRunStopReason `json:"stop_reason,omitempty"`

	// UpdatedAt Last update timestamp.
	UpdatedAt time.Time `json:"updated_at"`

	// WakeAt Scheduled wake time for a suspended run.
	WakeAt *time.Time `json:"wake_at,omitempty"`

	// WallClockDeadlineAt Deadline after which the loop reaper fails the run.
	WallClockDeadlineAt *time.Time `json:"wall_clock_deadline_at,omitempty"`
}

LoopRun One loop run record.

type LoopRunEvent added in v0.0.24

type LoopRunEvent struct {
	// CreatedAt Server timestamp when the event was recorded.
	CreatedAt time.Time `json:"created_at"`

	// EventType Event type from the run-stream taxonomy (e.g. `run.started`, `step.completed`, `wait.opened`, `action.called`, `action.completed`, `action.failed`, `artifact.created`, `limit.reached`).
	//
	// Guardrail events: `run.budget_exceeded` fires when the budget halts the run at a checkpoint (payload: `credit_budget`, `credit_spent`, `percent_used`, plus the `step` it halted before). Metered spend is recorded in the billing ledger and denormalized onto the run's `credit_spent`; it is not represented as a timeline event.
	EventType string `json:"event_type"`

	// Id Stable event identifier.
	Id string `json:"id"`

	// Payload Typed payloads for common durable run event types. The containing `LoopRunEvent.event_type` selects the payload shape; payload objects do not duplicate that discriminator because some payloads use fields such as `event_type` for their own lifecycle data (for example, the external matcher recorded by `wait.opened`).
	Payload *RunEventPayload `json:"payload,omitempty"`

	// RunId Run this event belongs to.
	RunId string `json:"run_id"`

	// Sequence Monotonic per-run sequence number used for ordering and resume.
	Sequence int64 `json:"sequence"`

	// StepId ID of the step this event belongs to, when applicable.
	StepId *string `json:"step_id,omitempty"`

	// StepKey Legacy alias for the loop step ID this event belongs to, when applicable.
	StepKey *string `json:"step_key,omitempty"`
}

LoopRunEvent One durable event emitted while a loop run progresses.

type LoopRunEventListResponse added in v0.0.24

type LoopRunEventListResponse struct {
	// HasMore True when more events exist after the returned page.
	HasMore *bool `json:"has_more,omitempty"`

	// Items Run events in this page, ordered by `sequence` ascending.
	Items []LoopRunEvent `json:"items"`

	// NextSequence Sequence number of the most recent event in `items`; clients can pass this back as `after_sequence` on the next poll.
	NextSequence *int64 `json:"next_sequence,omitempty"`
}

LoopRunEventListResponse defines model for LoopRunEventListResponse.

type LoopRunLifecycleFrame added in v0.0.29

type LoopRunLifecycleFrame = LoopRunEvent

LoopRunLifecycleFrame One durable event emitted while a loop run progresses.

type LoopRunListResponse added in v0.0.24

type LoopRunListResponse struct {
	// HasMore True when more items exist after this page.
	HasMore *bool `json:"has_more,omitempty"`

	// Items The list of results for this page.
	Items []LoopRun `json:"items"`

	// NextCursor Opaque cursor for the next page; absent when no more results.
	NextCursor *string `json:"next_cursor,omitempty"`
}

LoopRunListResponse defines model for LoopRunListResponse.

type LoopRunQueueReason added in v0.0.29

type LoopRunQueueReason string

LoopRunQueueReason Why a run is waiting in the queue. `plan_concurrency` means the organization's current plan has no active-run capacity available. `loop_policy` and `trigger_concurrency` mean authored concurrency policy deferred the run.

const (
	LoopRunQueueReasonLoopPolicy         LoopRunQueueReason = "loop_policy"
	LoopRunQueueReasonPlanConcurrency    LoopRunQueueReason = "plan_concurrency"
	LoopRunQueueReasonTriggerConcurrency LoopRunQueueReason = "trigger_concurrency"
)

Defines values for LoopRunQueueReason.

func (LoopRunQueueReason) Valid added in v0.0.29

func (e LoopRunQueueReason) Valid() bool

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

type LoopRunSource added in v0.0.24

type LoopRunSource struct {
	// Id Identifier within the source type's namespace.
	Id *string `json:"id,omitempty"`

	// Label Display label.
	Label *string `json:"label,omitempty"`

	// TriggerId Trigger that fired this run, if any.
	TriggerId *string `json:"trigger_id,omitempty"`

	// Type Source category for the run start: `api`, `trigger`, `manual`, or `signal`.
	Type *LoopRunSourceType `json:"type,omitempty"`
}

LoopRunSource Optional attribution for the call that started this run. Triggers and HTTP trigger dispatch populate `trigger_id` and `trigger_fire_id`. API callers usually only set `type` and `id`.

type LoopRunSourceType added in v0.0.24

type LoopRunSourceType string

LoopRunSourceType Source category for the run start: `api`, `trigger`, `manual`, or `signal`.

const (
	LoopRunSourceTypeApi     LoopRunSourceType = "api"
	LoopRunSourceTypeManual  LoopRunSourceType = "manual"
	LoopRunSourceTypeSignal  LoopRunSourceType = "signal"
	LoopRunSourceTypeTrigger LoopRunSourceType = "trigger"
)

Defines values for LoopRunSourceType.

func (LoopRunSourceType) Valid added in v0.0.24

func (e LoopRunSourceType) Valid() bool

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

type LoopRunStatus added in v0.0.24

type LoopRunStatus string

LoopRunStatus Run lifecycle state: `queued`, `running`, `suspended`, `completed`, `failed`, or `cancelled`.

const (
	LoopRunStatusCancelled LoopRunStatus = "cancelled"
	LoopRunStatusCompleted LoopRunStatus = "completed"
	LoopRunStatusFailed    LoopRunStatus = "failed"
	LoopRunStatusQueued    LoopRunStatus = "queued"
	LoopRunStatusRunning   LoopRunStatus = "running"
	LoopRunStatusSuspended LoopRunStatus = "suspended"
)

Defines values for LoopRunStatus.

func (LoopRunStatus) Valid added in v0.0.24

func (e LoopRunStatus) Valid() bool

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

type LoopRunStep added in v0.0.24

type LoopRunStep struct {
	// AgentId Agent that executed this step, for `agent`-kind steps.
	AgentId *string `json:"agent_id,omitempty"`

	// AgentTurnId Most recent AgentTurn this step ran (its latest attempt), for `agent`-kind steps. Resolves to the step's messages within the session via their `turn_id`.
	AgentTurnId *string `json:"agent_turn_id,omitempty"`

	// Attempt Number of times this step has been attempted.
	Attempt int `json:"attempt"`

	// CompletedAt Time the step reached a terminal status; null until the step completes.
	CompletedAt *time.Time `json:"completed_at,omitempty"`

	// CreatedAt Record creation timestamp.
	CreatedAt time.Time `json:"created_at"`

	// ErrorMessage Human-readable error message populated on failure.
	ErrorMessage *string `json:"error_message,omitempty"`

	// ErrorType Machine-readable error code populated on failure.
	ErrorType *string `json:"error_type,omitempty"`

	// Id Stable step identifier.
	Id string `json:"id"`

	// Inputs Resolved inputs passed into the step, after template rendering.
	Inputs *map[string]interface{} `json:"inputs,omitempty"`

	// JobId Worker job that executed this step, when applicable.
	JobId *string `json:"job_id,omitempty"`

	// Kind Step type: `agent`, `action`, `sleep`, `wait_for_event`, `interaction`, `loop`, `check`, or system-materialized `cleanup`. `cleanup` appears in run step listings for terminal cleanup work but cannot be authored in a `LoopSpec`.
	Kind LoopRunStepKind `json:"kind"`

	// Parameters Authored step parameters, before template rendering.
	Parameters *map[string]interface{} `json:"parameters,omitempty"`

	// Result Step output (shape varies by kind); absent until completion. Downstream step templates reach this value at `${{ steps.<id>.output }}` or `${{ steps[0].output }}`.
	Result interface{} `json:"result,omitempty"`

	// RunId Run this step belongs to.
	RunId string `json:"run_id"`

	// Seq Zero-indexed ordinal of this step within its run.
	Seq int64 `json:"seq"`

	// SessionId Session the agent ran in, for `agent`-kind steps. Present once the step has started a turn; links the step to its conversation so the UI can open the transcript with this step's messages highlighted.
	SessionId *string `json:"session_id,omitempty"`

	// StartedAt Time the step entered `running`; null until the step starts.
	StartedAt *time.Time `json:"started_at,omitempty"`

	// Status Step lifecycle state: `pending`, `running`, `suspended`, `completed`, `failed`, `skipped`, or `cancelled`.
	Status LoopRunStepStatus `json:"status"`

	// StepKey Stable key for this step within its loop version.
	StepKey string `json:"step_key"`

	// StepName Display name from the authored spec, when present.
	StepName *string `json:"step_name,omitempty"`

	// UpdatedAt Last update timestamp.
	UpdatedAt time.Time `json:"updated_at"`

	// Verdict Check outcome for `check`-kind steps: `pass` or `fail`; absent on every other kind. A failed check routed `on_fail: continue` completes the step with `verdict: fail` — status and verdict are separate axes (the step did its job: it checked).
	Verdict *LoopRunStepVerdict `json:"verdict,omitempty"`

	// VerdictDetail Verdict document for `check`-kind steps: `verdict`, `on_fail`, `checks` (per-assertion results — name, kind, pass, expr or judge reason, judge identity, evidence refs), `failed` (red assertion names), and `overridden_by` / `gate` records when an approval gate resolved the verdict.
	VerdictDetail *map[string]interface{} `json:"verdict_detail,omitempty"`

	// WaitId Wait record this step is suspended on, when applicable.
	WaitId *string `json:"wait_id,omitempty"`
}

LoopRunStep One execution step inside a loop run.

type LoopRunStepKind added in v0.0.24

type LoopRunStepKind string

LoopRunStepKind Step type: `agent`, `action`, `sleep`, `wait_for_event`, `interaction`, `loop`, `check`, or system-materialized `cleanup`. `cleanup` appears in run step listings for terminal cleanup work but cannot be authored in a `LoopSpec`.

const (
	LoopRunStepKindAction       LoopRunStepKind = "action"
	LoopRunStepKindAgent        LoopRunStepKind = "agent"
	LoopRunStepKindCheck        LoopRunStepKind = "check"
	LoopRunStepKindCleanup      LoopRunStepKind = "cleanup"
	LoopRunStepKindInteraction  LoopRunStepKind = "interaction"
	LoopRunStepKindLoop         LoopRunStepKind = "loop"
	LoopRunStepKindSleep        LoopRunStepKind = "sleep"
	LoopRunStepKindWaitForEvent LoopRunStepKind = "wait_for_event"
)

Defines values for LoopRunStepKind.

func (LoopRunStepKind) Valid added in v0.0.24

func (e LoopRunStepKind) Valid() bool

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

type LoopRunStepListResponse added in v0.0.24

type LoopRunStepListResponse struct {
	// Items Steps for this run in `seq` order.
	Items []LoopRunStep `json:"items"`
}

LoopRunStepListResponse defines model for LoopRunStepListResponse.

type LoopRunStepStatus added in v0.0.24

type LoopRunStepStatus string

LoopRunStepStatus Step lifecycle state: `pending`, `running`, `suspended`, `completed`, `failed`, `skipped`, or `cancelled`.

const (
	LoopRunStepStatusCancelled LoopRunStepStatus = "cancelled"
	LoopRunStepStatusCompleted LoopRunStepStatus = "completed"
	LoopRunStepStatusFailed    LoopRunStepStatus = "failed"
	LoopRunStepStatusPending   LoopRunStepStatus = "pending"
	LoopRunStepStatusRunning   LoopRunStepStatus = "running"
	LoopRunStepStatusSkipped   LoopRunStepStatus = "skipped"
	LoopRunStepStatusSuspended LoopRunStepStatus = "suspended"
)

Defines values for LoopRunStepStatus.

func (LoopRunStepStatus) Valid added in v0.0.24

func (e LoopRunStepStatus) Valid() bool

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

type LoopRunStepVerdict added in v0.0.24

type LoopRunStepVerdict string

LoopRunStepVerdict Check outcome for `check`-kind steps: `pass` or `fail`; absent on every other kind. A failed check routed `on_fail: continue` completes the step with `verdict: fail` — status and verdict are separate axes (the step did its job: it checked).

const (
	LoopRunStepVerdictFail LoopRunStepVerdict = "fail"
	LoopRunStepVerdictPass LoopRunStepVerdict = "pass"
)

Defines values for LoopRunStepVerdict.

func (LoopRunStepVerdict) Valid added in v0.0.24

func (e LoopRunStepVerdict) Valid() bool

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

type LoopRunStopReason added in v0.0.24

type LoopRunStopReason string

LoopRunStopReason Why a run stopped. Set exactly once when the run reaches a terminal status; absent on non-terminal runs. `status` carries the lifecycle state and `error_type` classifies the error when one occurred; `stop_reason` classifies the stop itself.

Grouping: `completed` is the success terminal. `step_failed`, `check_failed`, and `gate_rejected` mean the work failed (an error, a failed verification, or a human rejection at a gate). `budget_exceeded`, `turn_limit_reached`, `wall_clock_exceeded`, `step_limit_reached`, and `progress_stalled` mean a configured guardrail halted the run — the limit worked; the loop did not break. `cancelled` and `replaced` mean somebody (or a concurrency policy) chose to stop it.

const (
	LoopRunStopReasonBudgetExceeded    LoopRunStopReason = "budget_exceeded"
	LoopRunStopReasonCancelled         LoopRunStopReason = "cancelled"
	LoopRunStopReasonCheckFailed       LoopRunStopReason = "check_failed"
	LoopRunStopReasonCompleted         LoopRunStopReason = "completed"
	LoopRunStopReasonGateRejected      LoopRunStopReason = "gate_rejected"
	LoopRunStopReasonProgressStalled   LoopRunStopReason = "progress_stalled"
	LoopRunStopReasonReplaced          LoopRunStopReason = "replaced"
	LoopRunStopReasonStepFailed        LoopRunStopReason = "step_failed"
	LoopRunStopReasonStepLimitReached  LoopRunStopReason = "step_limit_reached"
	LoopRunStopReasonTurnLimitReached  LoopRunStopReason = "turn_limit_reached"
	LoopRunStopReasonWallClockExceeded LoopRunStopReason = "wall_clock_exceeded"
)

Defines values for LoopRunStopReason.

func (LoopRunStopReason) Valid added in v0.0.24

func (e LoopRunStopReason) Valid() bool

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

type LoopRunStreamFrame added in v0.0.29

type LoopRunStreamFrame = LoopRunLifecycleFrame

LoopRunStreamFrame Durable run lifecycle frame. SSE messages carrying this shape include `id: <sequence>`, and that value is the only cursor clients should persist for `after_sequence` or `Last-Event-ID` resume.

type LoopSchemaVersion added in v0.0.25

type LoopSchemaVersion string

LoopSchemaVersion Loop authoring schema version. Only schema version 1 is accepted.

const (
	LoopSchemaVersionN1 LoopSchemaVersion = "1"
)

Defines values for LoopSchemaVersion.

func (LoopSchemaVersion) Valid added in v0.0.25

func (e LoopSchemaVersion) Valid() bool

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

type LoopSleepStep added in v0.0.24

type LoopSleepStep struct {
	// Duration Go duration string such as `30s`, `5m`, or `2h`.
	Duration *string `json:"duration,omitempty"`

	// Until Absolute time to resume the run.
	Until *time.Time `json:"until,omitempty"`
}

LoopSleepStep Sleep step configuration recognised inside `LoopSpec.steps[].config`.

type LoopSleepStepSpec added in v0.0.24

type LoopSleepStepSpec struct {
	// Config Sleep step configuration recognised inside `LoopSpec.steps[].config`.
	Config LoopSleepStep `json:"config"`

	// Id Optional stable step id within the spec. If omitted, the compiler uses the step index as a string, such as `"0"`.
	Id *string `json:"id,omitempty"`

	// If Bare expr predicate evaluated before the step runs; false skips the step.
	If *string `json:"if,omitempty"`

	// Kind Step discriminator value; always `sleep`.
	Kind LoopSleepStepSpecKind `json:"kind"`

	// Name Human-readable step name.
	Name *string `json:"name,omitempty"`

	// Retry Retry policy for a step. `max_attempts` is the total number of attempts (1 = no retry); it bounds both worker-reported failures and lease-loss recovery for worker-executed action steps. A worker that reports a failure with attempts remaining re-queues for another attempt rather than failing the run; the run fails once attempts are exhausted. The attempt count is visible on the run timeline (`action.retried`, `action.failed`) and on the executing job (`claim_attempt` / `max_attempts`). Cancellation is always terminal. Capped server-side at 10 attempts.
	Retry *LoopRetryPolicy `json:"retry,omitempty"`

	// Timeout Timeout behavior for one loop step.
	Timeout *LoopTimeoutPolicy `json:"timeout,omitempty"`
}

LoopSleepStepSpec Sleep step entry inside `LoopSpec.steps`.

type LoopSleepStepSpecKind added in v0.0.24

type LoopSleepStepSpecKind string

LoopSleepStepSpecKind Step discriminator value; always `sleep`.

const (
	LoopSleepStepSpecKindSleep LoopSleepStepSpecKind = "sleep"
)

Defines values for LoopSleepStepSpecKind.

func (LoopSleepStepSpecKind) Valid added in v0.0.24

func (e LoopSleepStepSpecKind) Valid() bool

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

type LoopSpecDefaults added in v0.0.24

type LoopSpecDefaults struct {
	// AgentSession Durable conversation-session policy for loop agent steps. Omit to enable the product default: loop-scoped sessions keyed from the triggering conversation when Mobius can identify one, such as a Telegram chat ID.
	AgentSession *LoopAgentSessionPolicy `json:"agent_session,omitempty"`

	// Environment Automatic managed-environment policy for loop execution. Omit to use the product default: each agent gets a persistent agent-bound environment, while direct environment actions get a run-bound environment. Set `disabled: true` to opt out.
	Environment *LoopEnvironmentPolicy `json:"environment,omitempty"`
}

LoopSpecDefaults Run-level defaults inside the loop spec. Lives at `spec.defaults` in the JSON the engine compiles. The run wall-clock limit moved to `limits.wall_clock_timeout`.

type LoopSpecInput added in v0.0.24

type LoopSpecInput struct {
	// Default Optional default value for this input. May be any JSON value.
	Default interface{} `json:"default,omitempty"`

	// Description Human guidance shown when collecting the input value.
	Description *string `json:"description,omitempty"`

	// Required Whether callers must provide this input when starting the loop.
	Required *bool `json:"required,omitempty"`

	// Type JSON-compatible input type expected by authoring tools.
	Type *string `json:"type,omitempty"`
}

LoopSpecInput One named input accepted by a loop spec.

type LoopSpecLimits added in v0.0.24

type LoopSpecLimits struct {
	// BudgetUsd Run budget in US dollars (1 credit = $0.01). The budget is a hard limit: the run halts with stop reason `budget_exceeded` at the next checkpoint (step boundary or agent tool iteration) once its metered spend reaches the ceiling. Enforcement granularity is one model call or metered action — a run can overshoot by at most the call in flight. Mutually exclusive with `credit_budget`; values finer than 0.001 credit ($0.00001) are rejected at compile.
	BudgetUsd *float64 `json:"budget_usd,omitempty"`

	// CreditBudget Run budget in whole credits (1 credit = $0.01). Same ceiling semantics as `budget_usd`; set exactly one.
	CreditBudget *int64 `json:"credit_budget,omitempty"`

	// DailyBudgetUsd Rolling-24h spend ceiling in US dollars across ALL runs of this loop (the fleet-level counterpart of `budget_usd`). Enforced at run start (new runs are refused while the window is exhausted) and at the platform funding gate (an in-flight run halts at its next platform-funded call with stop reason `budget_exceeded`). Counts platform-billed spend; mutually exclusive with `daily_credit_budget`.
	DailyBudgetUsd *float64 `json:"daily_budget_usd,omitempty"`

	// DailyCreditBudget Rolling-24h loop spend ceiling in whole credits. Same semantics as `daily_budget_usd`; set exactly one.
	DailyCreditBudget *int64 `json:"daily_credit_budget,omitempty"`

	// MaxAgentTurns Run-wide cap on agent turns across all steps. Each agent step execution (including retries and resumed turns) consumes one turn. Breach halts the run with stop reason `turn_limit_reached`. Distinct from a step's `max_turns`, which bounds tool iterations within a single turn.
	MaxAgentTurns *int `json:"max_agent_turns,omitempty"`

	// MaxDuplicateToolCalls How many identical tool calls (same tool name and canonicalized arguments) one agent turn tolerates before the turn halts with a `progress_stalled` error — the duplicate-tool-call breaker. The step's retry policy applies; if the run fails from it the stop reason is `progress_stalled` and a `run.progress_stalled` event is emitted on each trip. Omit for the platform default (3).
	MaxDuplicateToolCalls *int `json:"max_duplicate_tool_calls,omitempty"`

	// PauseAfterConsecutiveFailures Loop circuit breaker. After this many consecutive failed runs the loop auto-pauses (status `paused`) and emits a `loop.auto_paused` event, so a bad deploy cannot burn all night at one run per trigger fire. Completed runs reset the streak; cancelled runs are neutral. Omit to disable.
	PauseAfterConsecutiveFailures *int `json:"pause_after_consecutive_failures,omitempty"`

	// WallClockTimeout Run wall-clock limit as a Go duration string (e.g. `30m`, `2h`, `90s`). When set, the engine stamps `wall_clock_deadline_at = run.started_at + wall_clock_timeout` and the reaper fails the run (stop reason `wall_clock_exceeded`) after that instant even if a step executor is still grinding. Omit or set to `0` to disable.
	WallClockTimeout *string `json:"wall_clock_timeout,omitempty"`
}

LoopSpecLimits Run guardrails. Lives at `spec.limits` in the JSON the engine compiles. Every limit is optional; absent or zero means unbounded (plan-level org caps still apply), with one exception — trial-plan runs default to a 100-credit ($1) budget when no budget is set here or on the start request. Paid plans default to unbounded.

type LoopSpecRepository added in v0.0.24

type LoopSpecRepository struct {
	// FullName Provider repository full name, e.g. `owner/repo`. Required when `source` is `static`.
	FullName *string `json:"full_name,omitempty"`

	// Id Provider-specific repository id.
	Id *LoopSpecRepository_Id `json:"id,omitempty"`

	// Private Whether the provider reports this repository as private.
	Private *bool `json:"private,omitempty"`

	// Provider Repository provider. GitHub is the only supported provider today.
	Provider *LoopSpecRepositoryProvider `json:"provider,omitempty"`

	// Push Authorize the loop's managed environment to push to this repository. Defaults to `false`: the repository is cloned read-only and a `git push` from inside the environment fails with a permission error. Set `true` to let the environment obtain a write-scoped credential for this repository. Opt in per repository so environments are never write-capable by default.
	Push *bool `json:"push,omitempty"`

	// Ref Optional branch, tag, or ref to check out. For `static` repositories it pins the checkout; for `match` repositories it overrides the ref derived from the event. Omitted uses the provider default branch.
	Ref *string `json:"ref,omitempty"`

	// Source How the repository target is resolved. `static` clones `full_name`; `match` clones the repository the trigger event concerns.
	Source *LoopSpecRepositorySource `json:"source,omitempty"`
}

LoopSpecRepository Source repository target attached to a loop spec. A `static` repository clones the named `full_name`. A `match` repository resolves the repository from the run's trigger event (for example the base repository of an opened GitHub pull request) and requires the loop to have an event trigger; pull requests opened from a fork are never cloned. `full_name` is required for `static` repositories and ignored for `match` repositories.

type LoopSpecRepositoryId0 added in v0.0.24

type LoopSpecRepositoryId0 = int64

LoopSpecRepositoryId0 defines model for .

type LoopSpecRepositoryId1 added in v0.0.24

type LoopSpecRepositoryId1 = string

LoopSpecRepositoryId1 defines model for .

type LoopSpecRepositoryProvider added in v0.0.24

type LoopSpecRepositoryProvider string

LoopSpecRepositoryProvider Repository provider. GitHub is the only supported provider today.

const (
	LoopSpecRepositoryProviderGithub LoopSpecRepositoryProvider = "github"
)

Defines values for LoopSpecRepositoryProvider.

func (LoopSpecRepositoryProvider) Valid added in v0.0.24

func (e LoopSpecRepositoryProvider) Valid() bool

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

type LoopSpecRepositorySource added in v0.0.26

type LoopSpecRepositorySource string

LoopSpecRepositorySource How the repository target is resolved. `static` clones `full_name`; `match` clones the repository the trigger event concerns.

const (
	LoopSpecRepositorySourceMatch  LoopSpecRepositorySource = "match"
	LoopSpecRepositorySourceStatic LoopSpecRepositorySource = "static"
)

Defines values for LoopSpecRepositorySource.

func (LoopSpecRepositorySource) Valid added in v0.0.26

func (e LoopSpecRepositorySource) Valid() bool

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

type LoopSpecRepository_Id added in v0.0.24

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

LoopSpecRepository_Id Provider-specific repository id.

func (LoopSpecRepository_Id) AsLoopSpecRepositoryId0 added in v0.0.24

func (t LoopSpecRepository_Id) AsLoopSpecRepositoryId0() (LoopSpecRepositoryId0, error)

AsLoopSpecRepositoryId0 returns the union data inside the LoopSpecRepository_Id as a LoopSpecRepositoryId0

func (LoopSpecRepository_Id) AsLoopSpecRepositoryId1 added in v0.0.24

func (t LoopSpecRepository_Id) AsLoopSpecRepositoryId1() (LoopSpecRepositoryId1, error)

AsLoopSpecRepositoryId1 returns the union data inside the LoopSpecRepository_Id as a LoopSpecRepositoryId1

func (*LoopSpecRepository_Id) FromLoopSpecRepositoryId0 added in v0.0.24

func (t *LoopSpecRepository_Id) FromLoopSpecRepositoryId0(v LoopSpecRepositoryId0) error

FromLoopSpecRepositoryId0 overwrites any union data inside the LoopSpecRepository_Id as the provided LoopSpecRepositoryId0

func (*LoopSpecRepository_Id) FromLoopSpecRepositoryId1 added in v0.0.24

func (t *LoopSpecRepository_Id) FromLoopSpecRepositoryId1(v LoopSpecRepositoryId1) error

FromLoopSpecRepositoryId1 overwrites any union data inside the LoopSpecRepository_Id as the provided LoopSpecRepositoryId1

func (LoopSpecRepository_Id) MarshalJSON added in v0.0.24

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

func (*LoopSpecRepository_Id) MergeLoopSpecRepositoryId0 added in v0.0.24

func (t *LoopSpecRepository_Id) MergeLoopSpecRepositoryId0(v LoopSpecRepositoryId0) error

MergeLoopSpecRepositoryId0 performs a merge with any union data inside the LoopSpecRepository_Id, using the provided LoopSpecRepositoryId0

func (*LoopSpecRepository_Id) MergeLoopSpecRepositoryId1 added in v0.0.24

func (t *LoopSpecRepository_Id) MergeLoopSpecRepositoryId1(v LoopSpecRepositoryId1) error

MergeLoopSpecRepositoryId1 performs a merge with any union data inside the LoopSpecRepository_Id, using the provided LoopSpecRepositoryId1

func (*LoopSpecRepository_Id) UnmarshalJSON added in v0.0.24

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

type LoopSpecTrigger added in v0.0.24

type LoopSpecTrigger struct {
	// ConcurrencyPolicy Trigger concurrency behavior: `allow`, `queue`, `skip`, or `replace`.
	ConcurrencyPolicy *LoopSpecTriggerConcurrencyPolicy `json:"concurrency_policy,omitempty"`

	// Config Kind-specific trigger configuration. Use `HTTPTriggerConfig` for `kind: http`, `ScheduleTriggerConfig` for `kind: schedule`, and `EventTriggerConfig` for `kind: event`. Omit for manual triggers.
	Config *LoopSpecTrigger_Config `json:"config,omitempty"`

	// Enabled Whether this trigger should be materialized for the current runnable definition.
	Enabled *bool `json:"enabled,omitempty"`

	// Key Stable user-authored trigger key within the spec.
	Key *string `json:"key,omitempty"`

	// Kind Trigger mechanism: `http`, `schedule`, `event`, or `manual`.
	Kind LoopSpecTriggerKind `json:"kind"`

	// MaxConcurrentRuns Maximum number of concurrently active runs for this trigger.
	MaxConcurrentRuns *int `json:"max_concurrent_runs,omitempty"`

	// Name Human-readable trigger name.
	Name *string `json:"name,omitempty"`
}

LoopSpecTrigger One trigger declaration inside a loop spec.

type LoopSpecTriggerConcurrencyPolicy added in v0.0.24

type LoopSpecTriggerConcurrencyPolicy string

LoopSpecTriggerConcurrencyPolicy Trigger concurrency behavior: `allow`, `queue`, `skip`, or `replace`.

const (
	LoopSpecTriggerConcurrencyPolicyAllow   LoopSpecTriggerConcurrencyPolicy = "allow"
	LoopSpecTriggerConcurrencyPolicyQueue   LoopSpecTriggerConcurrencyPolicy = "queue"
	LoopSpecTriggerConcurrencyPolicyReplace LoopSpecTriggerConcurrencyPolicy = "replace"
	LoopSpecTriggerConcurrencyPolicySkip    LoopSpecTriggerConcurrencyPolicy = "skip"
)

Defines values for LoopSpecTriggerConcurrencyPolicy.

func (LoopSpecTriggerConcurrencyPolicy) Valid added in v0.0.24

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

type LoopSpecTriggerKind added in v0.0.24

type LoopSpecTriggerKind string

LoopSpecTriggerKind Trigger mechanism: `http`, `schedule`, `event`, or `manual`.

const (
	LoopSpecTriggerKindEvent    LoopSpecTriggerKind = "event"
	LoopSpecTriggerKindHttp     LoopSpecTriggerKind = "http"
	LoopSpecTriggerKindManual   LoopSpecTriggerKind = "manual"
	LoopSpecTriggerKindSchedule LoopSpecTriggerKind = "schedule"
)

Defines values for LoopSpecTriggerKind.

func (LoopSpecTriggerKind) Valid added in v0.0.24

func (e LoopSpecTriggerKind) Valid() bool

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

type LoopSpecTrigger_Config added in v0.0.24

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

LoopSpecTrigger_Config Kind-specific trigger configuration. Use `HTTPTriggerConfig` for `kind: http`, `ScheduleTriggerConfig` for `kind: schedule`, and `EventTriggerConfig` for `kind: event`. Omit for manual triggers.

func (LoopSpecTrigger_Config) AsEventTriggerConfig added in v0.0.24

func (t LoopSpecTrigger_Config) AsEventTriggerConfig() (EventTriggerConfig, error)

AsEventTriggerConfig returns the union data inside the LoopSpecTrigger_Config as a EventTriggerConfig

func (LoopSpecTrigger_Config) AsHTTPTriggerConfig added in v0.0.24

func (t LoopSpecTrigger_Config) AsHTTPTriggerConfig() (HTTPTriggerConfig, error)

AsHTTPTriggerConfig returns the union data inside the LoopSpecTrigger_Config as a HTTPTriggerConfig

func (LoopSpecTrigger_Config) AsScheduleTriggerConfig added in v0.0.24

func (t LoopSpecTrigger_Config) AsScheduleTriggerConfig() (ScheduleTriggerConfig, error)

AsScheduleTriggerConfig returns the union data inside the LoopSpecTrigger_Config as a ScheduleTriggerConfig

func (*LoopSpecTrigger_Config) FromEventTriggerConfig added in v0.0.24

func (t *LoopSpecTrigger_Config) FromEventTriggerConfig(v EventTriggerConfig) error

FromEventTriggerConfig overwrites any union data inside the LoopSpecTrigger_Config as the provided EventTriggerConfig

func (*LoopSpecTrigger_Config) FromHTTPTriggerConfig added in v0.0.24

func (t *LoopSpecTrigger_Config) FromHTTPTriggerConfig(v HTTPTriggerConfig) error

FromHTTPTriggerConfig overwrites any union data inside the LoopSpecTrigger_Config as the provided HTTPTriggerConfig

func (*LoopSpecTrigger_Config) FromScheduleTriggerConfig added in v0.0.24

func (t *LoopSpecTrigger_Config) FromScheduleTriggerConfig(v ScheduleTriggerConfig) error

FromScheduleTriggerConfig overwrites any union data inside the LoopSpecTrigger_Config as the provided ScheduleTriggerConfig

func (LoopSpecTrigger_Config) MarshalJSON added in v0.0.24

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

func (*LoopSpecTrigger_Config) MergeEventTriggerConfig added in v0.0.24

func (t *LoopSpecTrigger_Config) MergeEventTriggerConfig(v EventTriggerConfig) error

MergeEventTriggerConfig performs a merge with any union data inside the LoopSpecTrigger_Config, using the provided EventTriggerConfig

func (*LoopSpecTrigger_Config) MergeHTTPTriggerConfig added in v0.0.24

func (t *LoopSpecTrigger_Config) MergeHTTPTriggerConfig(v HTTPTriggerConfig) error

MergeHTTPTriggerConfig performs a merge with any union data inside the LoopSpecTrigger_Config, using the provided HTTPTriggerConfig

func (*LoopSpecTrigger_Config) MergeScheduleTriggerConfig added in v0.0.24

func (t *LoopSpecTrigger_Config) MergeScheduleTriggerConfig(v ScheduleTriggerConfig) error

MergeScheduleTriggerConfig performs a merge with any union data inside the LoopSpecTrigger_Config, using the provided ScheduleTriggerConfig

func (*LoopSpecTrigger_Config) UnmarshalJSON added in v0.0.24

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

type LoopStatus added in v0.0.24

type LoopStatus string

LoopStatus Loop lifecycle status: `draft`, `active`, `paused`, or `deleted`.

const (
	LoopStatusActive  LoopStatus = "active"
	LoopStatusDeleted LoopStatus = "deleted"
	LoopStatusDraft   LoopStatus = "draft"
	LoopStatusPaused  LoopStatus = "paused"
)

Defines values for LoopStatus.

func (LoopStatus) Valid added in v0.0.24

func (e LoopStatus) Valid() bool

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

type LoopStep added in v0.0.24

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

LoopStep User-authored loop step, discriminated by `kind`.

func (LoopStep) AsLoopActionStepSpec added in v0.0.24

func (t LoopStep) AsLoopActionStepSpec() (LoopActionStepSpec, error)

AsLoopActionStepSpec returns the union data inside the LoopStep as a LoopActionStepSpec

func (LoopStep) AsLoopAgentStepSpec added in v0.0.24

func (t LoopStep) AsLoopAgentStepSpec() (LoopAgentStepSpec, error)

AsLoopAgentStepSpec returns the union data inside the LoopStep as a LoopAgentStepSpec

func (LoopStep) AsLoopCheckStepSpec added in v0.0.24

func (t LoopStep) AsLoopCheckStepSpec() (LoopCheckStepSpec, error)

AsLoopCheckStepSpec returns the union data inside the LoopStep as a LoopCheckStepSpec

func (LoopStep) AsLoopSleepStepSpec added in v0.0.24

func (t LoopStep) AsLoopSleepStepSpec() (LoopSleepStepSpec, error)

AsLoopSleepStepSpec returns the union data inside the LoopStep as a LoopSleepStepSpec

func (LoopStep) AsLoopSubLoopStepSpec added in v0.0.24

func (t LoopStep) AsLoopSubLoopStepSpec() (LoopSubLoopStepSpec, error)

AsLoopSubLoopStepSpec returns the union data inside the LoopStep as a LoopSubLoopStepSpec

func (LoopStep) AsLoopWaitForEventStepSpec added in v0.0.24

func (t LoopStep) AsLoopWaitForEventStepSpec() (LoopWaitForEventStepSpec, error)

AsLoopWaitForEventStepSpec returns the union data inside the LoopStep as a LoopWaitForEventStepSpec

func (LoopStep) Discriminator added in v0.0.24

func (t LoopStep) Discriminator() (string, error)

func (*LoopStep) FromLoopActionStepSpec added in v0.0.24

func (t *LoopStep) FromLoopActionStepSpec(v LoopActionStepSpec) error

FromLoopActionStepSpec overwrites any union data inside the LoopStep as the provided LoopActionStepSpec

func (*LoopStep) FromLoopAgentStepSpec added in v0.0.24

func (t *LoopStep) FromLoopAgentStepSpec(v LoopAgentStepSpec) error

FromLoopAgentStepSpec overwrites any union data inside the LoopStep as the provided LoopAgentStepSpec

func (*LoopStep) FromLoopCheckStepSpec added in v0.0.24

func (t *LoopStep) FromLoopCheckStepSpec(v LoopCheckStepSpec) error

FromLoopCheckStepSpec overwrites any union data inside the LoopStep as the provided LoopCheckStepSpec

func (*LoopStep) FromLoopSleepStepSpec added in v0.0.24

func (t *LoopStep) FromLoopSleepStepSpec(v LoopSleepStepSpec) error

FromLoopSleepStepSpec overwrites any union data inside the LoopStep as the provided LoopSleepStepSpec

func (*LoopStep) FromLoopSubLoopStepSpec added in v0.0.24

func (t *LoopStep) FromLoopSubLoopStepSpec(v LoopSubLoopStepSpec) error

FromLoopSubLoopStepSpec overwrites any union data inside the LoopStep as the provided LoopSubLoopStepSpec

func (*LoopStep) FromLoopWaitForEventStepSpec added in v0.0.24

func (t *LoopStep) FromLoopWaitForEventStepSpec(v LoopWaitForEventStepSpec) error

FromLoopWaitForEventStepSpec overwrites any union data inside the LoopStep as the provided LoopWaitForEventStepSpec

func (LoopStep) MarshalJSON added in v0.0.24

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

func (*LoopStep) MergeLoopActionStepSpec added in v0.0.24

func (t *LoopStep) MergeLoopActionStepSpec(v LoopActionStepSpec) error

MergeLoopActionStepSpec performs a merge with any union data inside the LoopStep, using the provided LoopActionStepSpec

func (*LoopStep) MergeLoopAgentStepSpec added in v0.0.24

func (t *LoopStep) MergeLoopAgentStepSpec(v LoopAgentStepSpec) error

MergeLoopAgentStepSpec performs a merge with any union data inside the LoopStep, using the provided LoopAgentStepSpec

func (*LoopStep) MergeLoopCheckStepSpec added in v0.0.24

func (t *LoopStep) MergeLoopCheckStepSpec(v LoopCheckStepSpec) error

MergeLoopCheckStepSpec performs a merge with any union data inside the LoopStep, using the provided LoopCheckStepSpec

func (*LoopStep) MergeLoopSleepStepSpec added in v0.0.24

func (t *LoopStep) MergeLoopSleepStepSpec(v LoopSleepStepSpec) error

MergeLoopSleepStepSpec performs a merge with any union data inside the LoopStep, using the provided LoopSleepStepSpec

func (*LoopStep) MergeLoopSubLoopStepSpec added in v0.0.24

func (t *LoopStep) MergeLoopSubLoopStepSpec(v LoopSubLoopStepSpec) error

MergeLoopSubLoopStepSpec performs a merge with any union data inside the LoopStep, using the provided LoopSubLoopStepSpec

func (*LoopStep) MergeLoopWaitForEventStepSpec added in v0.0.24

func (t *LoopStep) MergeLoopWaitForEventStepSpec(v LoopWaitForEventStepSpec) error

MergeLoopWaitForEventStepSpec performs a merge with any union data inside the LoopStep, using the provided LoopWaitForEventStepSpec

func (*LoopStep) UnmarshalJSON added in v0.0.24

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

func (LoopStep) ValueByDiscriminator added in v0.0.24

func (t LoopStep) ValueByDiscriminator() (interface{}, error)

type LoopSubLoopStep added in v0.0.24

type LoopSubLoopStep struct {
	// Condition Removed legacy field. Use the step-level `if` field for child-loop conditions.
	Condition *string `json:"condition,omitempty"`

	// Config Optional config object handed to the child run.
	Config *map[string]interface{} `json:"config,omitempty"`

	// Event Event object handed to the child run. String leaves render against the parent run before the child starts using `${{ ... }}` expr interpolations over `event`, `meta`, `config`, `steps.<id>.output`, or `steps[0].output`. When omitted the parent's resolved event payload is forwarded.
	Event *map[string]interface{} `json:"event,omitempty"`

	// LoopId ID of the loop to trigger, scoped to the same project as the parent loop.
	LoopId string `json:"loop_id"`
}

LoopSubLoopStep Loop-trigger step configuration recognised inside `LoopSpec.steps[].config`. Triggers another loop in the same project as an independent child run (fire-and-forget). The child run records `parent_run_id`, `parent_loop_id`, and `parent_step_key` so the lineage is visible from the child.

type LoopSubLoopStepSpec added in v0.0.24

type LoopSubLoopStepSpec struct {
	// Config Loop-trigger step configuration recognised inside `LoopSpec.steps[].config`. Triggers another loop in the same project as an independent child run (fire-and-forget). The child run records `parent_run_id`, `parent_loop_id`, and `parent_step_key` so the lineage is visible from the child.
	Config LoopSubLoopStep `json:"config"`

	// Id Optional stable step id within the spec. If omitted, the compiler uses the step index as a string, such as `"0"`.
	Id *string `json:"id,omitempty"`

	// If Bare expr predicate evaluated before the step runs; false skips the step.
	If *string `json:"if,omitempty"`

	// Kind Step discriminator value; always `loop`.
	Kind LoopSubLoopStepSpecKind `json:"kind"`

	// Name Human-readable step name.
	Name *string `json:"name,omitempty"`

	// Retry Retry policy for a step. `max_attempts` is the total number of attempts (1 = no retry); it bounds both worker-reported failures and lease-loss recovery for worker-executed action steps. A worker that reports a failure with attempts remaining re-queues for another attempt rather than failing the run; the run fails once attempts are exhausted. The attempt count is visible on the run timeline (`action.retried`, `action.failed`) and on the executing job (`claim_attempt` / `max_attempts`). Cancellation is always terminal. Capped server-side at 10 attempts.
	Retry *LoopRetryPolicy `json:"retry,omitempty"`

	// Timeout Timeout behavior for one loop step.
	Timeout *LoopTimeoutPolicy `json:"timeout,omitempty"`
}

LoopSubLoopStepSpec Child-loop step entry inside `LoopSpec.steps`.

type LoopSubLoopStepSpecKind added in v0.0.24

type LoopSubLoopStepSpecKind string

LoopSubLoopStepSpecKind Step discriminator value; always `loop`.

const (
	LoopSubLoopStepSpecKindLoop LoopSubLoopStepSpecKind = "loop"
)

Defines values for LoopSubLoopStepSpecKind.

func (LoopSubLoopStepSpecKind) Valid added in v0.0.24

func (e LoopSubLoopStepSpecKind) Valid() bool

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

type LoopTimeoutPolicy added in v0.0.24

type LoopTimeoutPolicy struct {
	// Duration Go duration string such as `30s`, `5m`, or `2h`.
	Duration *string `json:"duration,omitempty"`

	// OnTimeout Timeout behavior; currently only `fail`.
	OnTimeout *LoopTimeoutPolicyOnTimeout `json:"on_timeout,omitempty"`
}

LoopTimeoutPolicy Timeout behavior for one loop step.

type LoopTimeoutPolicyOnTimeout added in v0.0.24

type LoopTimeoutPolicyOnTimeout string

LoopTimeoutPolicyOnTimeout Timeout behavior; currently only `fail`.

const (
	LoopTimeoutPolicyOnTimeoutFail LoopTimeoutPolicyOnTimeout = "fail"
)

Defines values for LoopTimeoutPolicyOnTimeout.

func (LoopTimeoutPolicyOnTimeout) Valid added in v0.0.24

func (e LoopTimeoutPolicyOnTimeout) Valid() bool

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

type LoopWaitForEventStep added in v0.0.24

type LoopWaitForEventStep struct {
	// EventType Event type or pattern that resumes the waiting step.
	EventType string `json:"event_type"`

	// Match Structured field match applied to incoming event payloads.
	Match *map[string]interface{} `json:"match,omitempty"`

	// PayloadMapping Optional output mapping evaluated against `{ event, meta }`.
	PayloadMapping *map[string]string `json:"payload_mapping,omitempty"`

	// SourceId Optional source identifier used to scope event matching.
	SourceId *string `json:"source_id,omitempty"`
}

LoopWaitForEventStep Wait-for-event step configuration recognised inside `LoopSpec.steps[].config`.

type LoopWaitForEventStepSpec added in v0.0.24

type LoopWaitForEventStepSpec struct {
	// Config Wait-for-event step configuration recognised inside `LoopSpec.steps[].config`.
	Config LoopWaitForEventStep `json:"config"`

	// Id Optional stable step id within the spec. If omitted, the compiler uses the step index as a string, such as `"0"`.
	Id *string `json:"id,omitempty"`

	// If Bare expr predicate evaluated before the step runs; false skips the step.
	If *string `json:"if,omitempty"`

	// Kind Step discriminator value; always `wait_for_event`.
	Kind LoopWaitForEventStepSpecKind `json:"kind"`

	// Name Human-readable step name.
	Name *string `json:"name,omitempty"`

	// Retry Retry policy for a step. `max_attempts` is the total number of attempts (1 = no retry); it bounds both worker-reported failures and lease-loss recovery for worker-executed action steps. A worker that reports a failure with attempts remaining re-queues for another attempt rather than failing the run; the run fails once attempts are exhausted. The attempt count is visible on the run timeline (`action.retried`, `action.failed`) and on the executing job (`claim_attempt` / `max_attempts`). Cancellation is always terminal. Capped server-side at 10 attempts.
	Retry *LoopRetryPolicy `json:"retry,omitempty"`

	// Timeout Timeout behavior for one loop step.
	Timeout *LoopTimeoutPolicy `json:"timeout,omitempty"`
}

LoopWaitForEventStepSpec Wait-for-event step entry inside `LoopSpec.steps`.

type LoopWaitForEventStepSpecKind added in v0.0.24

type LoopWaitForEventStepSpecKind string

LoopWaitForEventStepSpecKind Step discriminator value; always `wait_for_event`.

const (
	LoopWaitForEventStepSpecKindWaitForEvent LoopWaitForEventStepSpecKind = "wait_for_event"
)

Defines values for LoopWaitForEventStepSpecKind.

func (LoopWaitForEventStepSpecKind) Valid added in v0.0.24

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

type MemoryContextMode added in v0.0.53

type MemoryContextMode string

MemoryContextMode Automatic memory delivery mode for agent turns.

const (
	MemoryContextModeFull  MemoryContextMode = "full"
	MemoryContextModeIndex MemoryContextMode = "index"
	MemoryContextModeOff   MemoryContextMode = "off"
)

Defines values for MemoryContextMode.

func (MemoryContextMode) Valid added in v0.0.53

func (e MemoryContextMode) Valid() bool

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

type MemoryContextPolicy added in v0.0.53

type MemoryContextPolicy struct {
	// MaxBytes UTF-8 byte budget for the rendered memory reminder. Omit for the mode default (1536 bytes for index, 131072 bytes for full); `0` also selects that default. Full mode fails the turn rather than truncating when the snapshot does not fit. Off mode ignores this field and injects no automatic memory context.
	MaxBytes *int `json:"max_bytes,omitempty"`

	// Mode Automatic memory delivery mode for agent turns.
	Mode MemoryContextMode `json:"mode"`
}

MemoryContextPolicy Automatic memory delivery policy. The JSON object requires `mode` (`index`, `full`, or `off`) and optionally accepts `max_bytes`, for example `{"mode":"full","max_bytes":131072}`.

type MemoryKeyParam added in v0.0.29

type MemoryKeyParam = string

MemoryKeyParam defines model for MemoryKeyParam.

type MemoryKind added in v0.0.29

type MemoryKind string

MemoryKind Classifies a memory entry. Kinds carry different retention and compaction semantics: facts and preferences are durable, episodes are the primary input to compaction, and a summary is the compacted product of other entries.

const (
	MemoryKindEpisode    MemoryKind = "episode"
	MemoryKindFact       MemoryKind = "fact"
	MemoryKindPreference MemoryKind = "preference"
	MemoryKindSummary    MemoryKind = "summary"
)

Defines values for MemoryKind.

func (MemoryKind) Valid added in v0.0.29

func (e MemoryKind) Valid() bool

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

type MemorySearchCoverage added in v0.0.53

type MemorySearchCoverage struct {
	// Complete Whether every current entry has a ready projection. When false, semantic and hybrid results rank only the indexed subset.
	Complete bool `json:"complete"`

	// IndexedEntries Number of this agent's current entries with a ready semantic search projection, before any `kind` filter.
	IndexedEntries int `json:"indexed_entries"`

	// TotalEntries Number of this agent's current entries, before any `kind` filter.
	TotalEntries int `json:"total_entries"`
}

MemorySearchCoverage defines model for MemorySearchCoverage.

type MemorySearchMode added in v0.0.53

type MemorySearchMode string

MemorySearchMode Memory search ranking mode.

const (
	MemorySearchModeHybrid   MemorySearchMode = "hybrid"
	MemorySearchModeKeyword  MemorySearchMode = "keyword"
	MemorySearchModeSemantic MemorySearchMode = "semantic"
)

Defines values for MemorySearchMode.

func (MemorySearchMode) Valid added in v0.0.53

func (e MemorySearchMode) Valid() bool

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

type MessageBlockFrame added in v0.0.43

type MessageBlockFrame struct {
	// Block One content block in a session transcript message — the canonical, frozen JSON shape Mobius persists and replays, discriminated by `type`. The variants are `text`, `thinking`, `tool_use`, `tool_result`, and `image`, plus host-managed `reminder` blocks when caller runtime context is explicitly included. Each variant permits provider-specific extra fields (citations, signatures, cache hints, and the like), and unknown fields are preserved rather than rejected, so the transcript round-trips losslessly across providers.
	Block        SessionContentBlock        `json:"block"`
	ContentIndex int                        `json:"content_index"`
	EventType    MessageBlockFrameEventType `json:"event_type"`
	MessageId    string                     `json:"message_id"`
	SessionId    string                     `json:"session_id"`
}

MessageBlockFrame defines model for MessageBlockFrame.

type MessageBlockFrameEventType added in v0.0.43

type MessageBlockFrameEventType string

MessageBlockFrameEventType defines model for MessageBlockFrame.EventType.

const (
	MessageBlockFrameEventTypeMessageBlock MessageBlockFrameEventType = "message.block"
)

Defines values for MessageBlockFrameEventType.

func (MessageBlockFrameEventType) Valid added in v0.0.43

func (e MessageBlockFrameEventType) Valid() bool

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

type MessageBlockPatchFrame added in v0.0.43

type MessageBlockPatchFrame struct {
	ContentIndex int                             `json:"content_index"`
	EventType    MessageBlockPatchFrameEventType `json:"event_type"`
	MessageId    string                          `json:"message_id"`
	Progress     *map[string]interface{}         `json:"progress,omitempty"`

	// ResolvedAction Canonical project action resolved by a catalog tool dispatch.
	ResolvedAction *SessionResolvedAction `json:"resolved_action,omitempty"`
	SessionId      string                 `json:"session_id"`

	// Status Known values are pending, running, ok, error, and cancelled.
	Status *string `json:"status,omitempty"`
}

MessageBlockPatchFrame defines model for MessageBlockPatchFrame.

type MessageBlockPatchFrameEventType added in v0.0.43

type MessageBlockPatchFrameEventType string

MessageBlockPatchFrameEventType defines model for MessageBlockPatchFrame.EventType.

const (
	MessageBlockPatchFrameEventTypeMessageBlockPatch MessageBlockPatchFrameEventType = "message.block.patch"
)

Defines values for MessageBlockPatchFrameEventType.

func (MessageBlockPatchFrameEventType) Valid added in v0.0.43

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

type MessageDeltaFrame added in v0.0.43

type MessageDeltaFrame struct {
	ContentIndex int                        `json:"content_index"`
	EventType    MessageDeltaFrameEventType `json:"event_type"`
	MessageId    string                     `json:"message_id"`
	SessionId    string                     `json:"session_id"`
	Text         *string                    `json:"text,omitempty"`
	Thinking     *string                    `json:"thinking,omitempty"`
}

MessageDeltaFrame defines model for MessageDeltaFrame.

type MessageDeltaFrameEventType added in v0.0.43

type MessageDeltaFrameEventType string

MessageDeltaFrameEventType defines model for MessageDeltaFrame.EventType.

const (
	MessageDeltaFrameEventTypeMessageDelta MessageDeltaFrameEventType = "message.delta"
)

Defines values for MessageDeltaFrameEventType.

func (MessageDeltaFrameEventType) Valid added in v0.0.43

func (e MessageDeltaFrameEventType) Valid() bool

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

type MessageUpsertFrame added in v0.0.43

type MessageUpsertFrame struct {
	AgentId               string                `json:"agent_id"`
	Content               []SessionContentBlock `json:"content"`
	CoversThroughSequence *int                  `json:"covers_through_sequence,omitempty"`
	CreatedAt             time.Time             `json:"created_at"`

	// EntryType Known values include message and compaction; unknown values must be preserved.
	EntryType string                      `json:"entry_type"`
	EventType MessageUpsertFrameEventType `json:"event_type"`
	Id        string                      `json:"id"`
	Metadata  *map[string]interface{}     `json:"metadata,omitempty"`

	// Role Message role: `system`, `user`, `assistant`, `tool`, or `compaction`.
	Role      SessionMessageRole `json:"role"`
	Sequence  *int               `json:"sequence"`
	SessionId string             `json:"session_id"`

	// Status Known values are streaming and final; unknown values must be preserved.
	Status    string  `json:"status"`
	TurnId    *string `json:"turn_id,omitempty"`
	TurnIndex *int    `json:"turn_index"`
}

MessageUpsertFrame defines model for MessageUpsertFrame.

type MessageUpsertFrameEventType added in v0.0.43

type MessageUpsertFrameEventType string

MessageUpsertFrameEventType defines model for MessageUpsertFrame.EventType.

const (
	MessageUpsertFrameEventTypeMessageUpsert MessageUpsertFrameEventType = "message.upsert"
)

Defines values for MessageUpsertFrameEventType.

func (MessageUpsertFrameEventType) Valid added in v0.0.43

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

type ModelCatalogResponse added in v0.0.23

type ModelCatalogResponse struct {
	// DefaultModel Model id assigned when an agent specifies no model.
	DefaultModel string `json:"default_model"`

	// Items Available providers in display order. Providers with no configured credentials are omitted.
	Items []ModelProviderGroup `json:"items"`

	// Reason Present when `items` is empty because the request was denied rather than because no catalog exists. `platform_funding_denied` means Mobius-managed provider credentials are gated by billing or plan state; `credentials_unavailable` means no usable provider credentials were available.
	Reason *ModelCatalogResponseReason `json:"reason,omitempty"`
}

ModelCatalogResponse Models a platform agent can be assigned in this project, grouped by available provider.

type ModelCatalogResponseReason added in v0.0.24

type ModelCatalogResponseReason string

ModelCatalogResponseReason Present when `items` is empty because the request was denied rather than because no catalog exists. `platform_funding_denied` means Mobius-managed provider credentials are gated by billing or plan state; `credentials_unavailable` means no usable provider credentials were available.

const (
	ModelCatalogResponseReasonCredentialsUnavailable ModelCatalogResponseReason = "credentials_unavailable"
	ModelCatalogResponseReasonPlatformFundingDenied  ModelCatalogResponseReason = "platform_funding_denied"
)

Defines values for ModelCatalogResponseReason.

func (ModelCatalogResponseReason) Valid added in v0.0.24

func (e ModelCatalogResponseReason) Valid() bool

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

type ModelOption added in v0.0.22

type ModelOption struct {
	// ContextWindowTokens Maximum input context used to resolve model-relative compaction presets.
	ContextWindowTokens int64 `json:"context_window_tokens"`

	// Description Short guidance about when to use this model.
	Description *string `json:"description,omitempty"`

	// Id Model id assigned to an agent's `model` field. Some catalog ids, such as OpenRouter slugs, include `/`.
	Id string `json:"id"`

	// Label Human-readable model label for UI.
	Label string `json:"label"`

	// Provider Canonical provider id this model belongs to.
	Provider string `json:"provider"`

	// Recommended Whether this is the suggested default for its provider.
	Recommended *bool `json:"recommended,omitempty"`
}

ModelOption One selectable LLM model in the project model catalog.

type ModelProviderGroup added in v0.0.22

type ModelProviderGroup struct {
	// DisplayName Human-readable provider label.
	DisplayName string `json:"display_name"`

	// Models Models offered by this provider in display order.
	Models []ModelOption `json:"models"`

	// Provider Canonical provider id (`anthropic`, `openai`, `openrouter`, `gemini`, `xai`).
	Provider string `json:"provider"`

	// Source Where credentials come from — a project integration (`byok`) or a platform-managed key (`platform`).
	Source ModelProviderGroupSource `json:"source"`
}

ModelProviderGroup Available model choices for one provider.

type ModelProviderGroupSource added in v0.0.22

type ModelProviderGroupSource string

ModelProviderGroupSource Where credentials come from — a project integration (`byok`) or a platform-managed key (`platform`).

const (
	ModelProviderGroupSourceByok     ModelProviderGroupSource = "byok"
	ModelProviderGroupSourcePlatform ModelProviderGroupSource = "platform"
)

Defines values for ModelProviderGroupSource.

func (ModelProviderGroupSource) Valid added in v0.0.22

func (e ModelProviderGroupSource) Valid() bool

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

type NotFound

type NotFound = ErrorResponse

NotFound Standard error envelope returned by API endpoints.

type NudgeEventPayload added in v0.0.42

type NudgeEventPayload struct {
	// Delivery `current_turn` means the input targets an in-flight turn; `new_turn` means Mobius queued a direct-session turn because none was nudgeable.
	Delivery SessionNudgeDelivery `json:"delivery"`
	NudgeId  string               `json:"nudge_id"`

	// Status Durable nudge queue lifecycle status.
	Status               SessionNudgeStatus     `json:"status"`
	TurnId               string                 `json:"turn_id"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

NudgeEventPayload Live reconciliation hint emitted for `nudge.queued`, `nudge.delivered`, and `nudge.cancelled`. Re-read the queue resource after receiving it; this pulse is not durable replay state.

func (NudgeEventPayload) Get added in v0.0.42

func (a NudgeEventPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for NudgeEventPayload. Returns the specified element and whether it was found

func (NudgeEventPayload) MarshalJSON added in v0.0.42

func (a NudgeEventPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for NudgeEventPayload to handle AdditionalProperties

func (*NudgeEventPayload) Set added in v0.0.42

func (a *NudgeEventPayload) Set(fieldName string, value interface{})

Setter for additional properties for NudgeEventPayload

func (*NudgeEventPayload) UnmarshalJSON added in v0.0.42

func (a *NudgeEventPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for NudgeEventPayload to handle AdditionalProperties

type NudgeIdParam added in v0.0.42

type NudgeIdParam = string

NudgeIdParam defines model for NudgeIdParam.

type NudgeSessionJSONRequestBody added in v0.0.42

type NudgeSessionJSONRequestBody = NudgeSessionRequest

NudgeSessionJSONRequestBody defines body for NudgeSession for application/json ContentType.

type NudgeSessionRequest added in v0.0.42

type NudgeSessionRequest struct {
	// Content User direction to deliver at the next iteration boundary.
	Content string `json:"content"`

	// IdempotencyKey Dedup key scoped to the session. Reusing the key with identical content returns the original nudge request; different content conflicts.
	IdempotencyKey *string `json:"idempotency_key,omitempty"`

	// Metadata Free-form caller metadata retained with the nudge request.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Wake When true and the target turn is waiting on an interruptible agent tool, resolve that tool call with `{ "interrupted": true, "reason": "user_direction" }` and resume the same turn. Running and newly queued turns ignore this field.
	Wake *bool `json:"wake,omitempty"`
}

NudgeSessionRequest defines model for NudgeSessionRequest.

type NudgeSessionResponse added in v0.0.42

type NudgeSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *SessionNudgeAck
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseNudgeSessionResponse added in v0.0.42

func ParseNudgeSessionResponse(rsp *http.Response) (*NudgeSessionResponse, error)

ParseNudgeSessionResponse parses an HTTP response from a NudgeSessionWithResponse call

func (NudgeSessionResponse) ContentType added in v0.0.42

func (r NudgeSessionResponse) ContentType() string

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

func (NudgeSessionResponse) Status added in v0.0.42

func (r NudgeSessionResponse) Status() string

Status returns HTTPResponse.Status

func (NudgeSessionResponse) StatusCode added in v0.0.42

func (r NudgeSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type OAuthReturnOrigins added in v0.0.55

type OAuthReturnOrigins struct {
	// Origins Normalized exact HTTPS return origins (for example `https://app.partner.example`).
	Origins []string `json:"origins"`
}

OAuthReturnOrigins The organization's allowlist of exact HTTPS origins an embedded partner may name as an OAuth connect `return_url`. Origins are stored normalized (lowercase host, default ports stripped). An empty list disables embedded return for the organization.

type OpenWorkerSocketResponse added in v0.0.22

type OpenWorkerSocketResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkerSocketFrame
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseOpenWorkerSocketResponse added in v0.0.22

func ParseOpenWorkerSocketResponse(rsp *http.Response) (*OpenWorkerSocketResponse, error)

ParseOpenWorkerSocketResponse parses an HTTP response from a OpenWorkerSocketWithResponse call

func (OpenWorkerSocketResponse) ContentType added in v0.0.22

func (r OpenWorkerSocketResponse) ContentType() string

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

func (OpenWorkerSocketResponse) Status added in v0.0.22

func (r OpenWorkerSocketResponse) Status() string

Status returns HTTPResponse.Status

func (OpenWorkerSocketResponse) StatusCode added in v0.0.22

func (r OpenWorkerSocketResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type OrderParam added in v0.0.29

type OrderParam string

OrderParam defines model for OrderParam.

const (
	OrderParamAsc  OrderParam = "asc"
	OrderParamDesc OrderParam = "desc"
)

Defines values for OrderParam.

func (OrderParam) Valid added in v0.0.29

func (e OrderParam) Valid() bool

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

type OrganizationAction added in v0.0.54

type OrganizationAction struct {
	// ActiveSigningVersion Current signing-key version. Omitted when the disabled action has no active version.
	ActiveSigningVersion *int64 `json:"active_signing_version,omitempty"`

	// Annotations Response hints that describe the safe-use properties of the action. Response annotations are forward-compatible so the server can add response-only hints without breaking strict clients.
	Annotations *ActionAnnotations `json:"annotations,omitempty"`
	CreatedAt   time.Time          `json:"created_at"`
	Description *string            `json:"description,omitempty"`
	Enabled     bool               `json:"enabled"`

	// EndpointUrl Public HTTPS endpoint. Private, loopback, link-local, and redirect targets are rejected.
	EndpointUrl      string                             `json:"endpoint_url"`
	Id               string                             `json:"id"`
	InputSchema      *map[string]interface{}            `json:"input_schema,omitempty"`
	InvocationFormat OrganizationActionInvocationFormat `json:"invocation_format"`
	Name             string                             `json:"name"`
	OutputSchema     *map[string]interface{}            `json:"output_schema,omitempty"`
	SecretRef        string                             `json:"secret_ref"`
	SecretVersions   []OrganizationActionSecretVersion  `json:"secret_versions"`

	// SigningSecret Base64-encoded signing key returned only on create and rotate.
	SigningSecret *string   `json:"signing_secret,omitempty"`
	Title         *string   `json:"title,omitempty"`
	UpdatedAt     time.Time `json:"updated_at"`
}

OrganizationAction defines model for OrganizationAction.

type OrganizationActionInvocationFormat added in v0.0.54

type OrganizationActionInvocationFormat string

OrganizationActionInvocationFormat defines model for OrganizationAction.InvocationFormat.

const (
	OrganizationActionInvocationFormatSignedContextV1 OrganizationActionInvocationFormat = "signed_context_v1"
)

Defines values for OrganizationActionInvocationFormat.

func (OrganizationActionInvocationFormat) Valid added in v0.0.54

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

type OrganizationActionListResponse added in v0.0.54

type OrganizationActionListResponse struct {
	HasMore    bool                 `json:"has_more"`
	Items      []OrganizationAction `json:"items"`
	NextCursor *string              `json:"next_cursor,omitempty"`
}

OrganizationActionListResponse defines model for OrganizationActionListResponse.

type OrganizationActionSecretVersion added in v0.0.54

type OrganizationActionSecretVersion struct {
	AcceptUntil *time.Time                            `json:"accept_until,omitempty"`
	ActivatedAt *time.Time                            `json:"activated_at,omitempty"`
	CreatedAt   time.Time                             `json:"created_at"`
	RetiredAt   *time.Time                            `json:"retired_at,omitempty"`
	RevokedAt   *time.Time                            `json:"revoked_at,omitempty"`
	Status      OrganizationActionSecretVersionStatus `json:"status"`
	Version     int64                                 `json:"version"`
}

OrganizationActionSecretVersion defines model for OrganizationActionSecretVersion.

type OrganizationActionSecretVersionStatus added in v0.0.54

type OrganizationActionSecretVersionStatus string

OrganizationActionSecretVersionStatus defines model for OrganizationActionSecretVersion.Status.

const (
	OrganizationActionSecretVersionStatusActive   OrganizationActionSecretVersionStatus = "active"
	OrganizationActionSecretVersionStatusPending  OrganizationActionSecretVersionStatus = "pending"
	OrganizationActionSecretVersionStatusRetired  OrganizationActionSecretVersionStatus = "retired"
	OrganizationActionSecretVersionStatusRetiring OrganizationActionSecretVersionStatus = "retiring"
	OrganizationActionSecretVersionStatusRevoked  OrganizationActionSecretVersionStatus = "revoked"
)

Defines values for OrganizationActionSecretVersionStatus.

func (OrganizationActionSecretVersionStatus) Valid added in v0.0.54

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

type OrganizationSkillProjectUsage added in v0.0.54

type OrganizationSkillProjectUsage struct {
	// AgentCount Number of agents assigned the Skill in this project.
	AgentCount int `json:"agent_count"`

	// ProjectId Consuming project ID.
	ProjectId string `json:"project_id"`
}

OrganizationSkillProjectUsage defines model for OrganizationSkillProjectUsage.

type OrganizationSkillUsage added in v0.0.54

type OrganizationSkillUsage struct {
	// AssignmentCount Number of agents assigned this Skill.
	AssignmentCount int `json:"assignment_count"`

	// ProjectCount Number of projects containing an assignment.
	ProjectCount int `json:"project_count"`

	// Projects Assignment counts grouped by consuming project.
	Projects []OrganizationSkillProjectUsage `json:"projects"`

	// SkillId Organization Skill ID.
	SkillId string `json:"skill_id"`
}

OrganizationSkillUsage Assignment impact for one organization Skill.

type PermissionCatalogResponse added in v0.0.21

type PermissionCatalogResponse struct {
	ActionGroups []ActionPermissionGroup `json:"action_groups"`
	Items        []PermissionDefinition  `json:"items"`
	Presets      []PermissionPreset      `json:"presets"`
}

PermissionCatalogResponse defines model for PermissionCatalogResponse.

type PermissionDefinition added in v0.0.21

type PermissionDefinition struct {
	// Assignable Whether this permission should be selectable in the current project role builder.
	Assignable bool                         `json:"assignable"`
	Category   PermissionDefinitionCategory `json:"category"`

	// Description Short explanation of what the permission grants.
	Description string `json:"description"`

	// Id Stable permission ID stored on roles.
	Id string `json:"id"`

	// Label Human-readable label for product UI.
	Label string                    `json:"label"`
	Risk  PermissionDefinitionRisk  `json:"risk"`
	Scope PermissionDefinitionScope `json:"scope"`

	// UserKinds User kinds this permission is intended for.
	UserKinds []PermissionDefinitionUserKinds `json:"user_kinds"`
}

PermissionDefinition defines model for PermissionDefinition.

type PermissionDefinitionCategory added in v0.0.21

type PermissionDefinitionCategory string

PermissionDefinitionCategory defines model for PermissionDefinition.Category.

const (
	PermissionDefinitionCategoryAccess       PermissionDefinitionCategory = "access"
	PermissionDefinitionCategoryActions      PermissionDefinitionCategory = "actions"
	PermissionDefinitionCategoryAudit        PermissionDefinitionCategory = "audit"
	PermissionDefinitionCategoryBilling      PermissionDefinitionCategory = "billing"
	PermissionDefinitionCategoryIntegrations PermissionDefinitionCategory = "integrations"
	PermissionDefinitionCategoryLoops        PermissionDefinitionCategory = "loops"
	PermissionDefinitionCategoryPlatform     PermissionDefinitionCategory = "platform"
	PermissionDefinitionCategoryProject      PermissionDefinitionCategory = "project"
	PermissionDefinitionCategoryRuns         PermissionDefinitionCategory = "runs"
	PermissionDefinitionCategoryWork         PermissionDefinitionCategory = "work"
)

Defines values for PermissionDefinitionCategory.

func (PermissionDefinitionCategory) Valid added in v0.0.21

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

type PermissionDefinitionRisk added in v0.0.21

type PermissionDefinitionRisk string

PermissionDefinitionRisk defines model for PermissionDefinition.Risk.

const (
	PermissionDefinitionRiskCritical PermissionDefinitionRisk = "critical"
	PermissionDefinitionRiskHigh     PermissionDefinitionRisk = "high"
	PermissionDefinitionRiskLow      PermissionDefinitionRisk = "low"
	PermissionDefinitionRiskMedium   PermissionDefinitionRisk = "medium"
)

Defines values for PermissionDefinitionRisk.

func (PermissionDefinitionRisk) Valid added in v0.0.21

func (e PermissionDefinitionRisk) Valid() bool

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

type PermissionDefinitionScope added in v0.0.21

type PermissionDefinitionScope string

PermissionDefinitionScope defines model for PermissionDefinition.Scope.

const (
	PermissionDefinitionScopeAction   PermissionDefinitionScope = "action"
	PermissionDefinitionScopeOrg      PermissionDefinitionScope = "org"
	PermissionDefinitionScopePlatform PermissionDefinitionScope = "platform"
	PermissionDefinitionScopeProject  PermissionDefinitionScope = "project"
)

Defines values for PermissionDefinitionScope.

func (PermissionDefinitionScope) Valid added in v0.0.21

func (e PermissionDefinitionScope) Valid() bool

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

type PermissionDefinitionUserKinds added in v0.0.21

type PermissionDefinitionUserKinds string

PermissionDefinitionUserKinds defines model for PermissionDefinition.UserKinds.

const (
	PermissionDefinitionUserKindsAgent   PermissionDefinitionUserKinds = "agent"
	PermissionDefinitionUserKindsHuman   PermissionDefinitionUserKinds = "human"
	PermissionDefinitionUserKindsService PermissionDefinitionUserKinds = "service"
	PermissionDefinitionUserKindsSystem  PermissionDefinitionUserKinds = "system"
)

Defines values for PermissionDefinitionUserKinds.

func (PermissionDefinitionUserKinds) Valid added in v0.0.21

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

type PermissionPreset added in v0.0.21

type PermissionPreset struct {
	Description string                `json:"description"`
	Id          string                `json:"id"`
	Label       string                `json:"label"`
	Permissions []string              `json:"permissions"`
	Scope       PermissionPresetScope `json:"scope"`
}

PermissionPreset defines model for PermissionPreset.

type PermissionPresetScope added in v0.0.21

type PermissionPresetScope string

PermissionPresetScope defines model for PermissionPreset.Scope.

const (
	PermissionPresetScopeAction   PermissionPresetScope = "action"
	PermissionPresetScopeOrg      PermissionPresetScope = "org"
	PermissionPresetScopePlatform PermissionPresetScope = "platform"
	PermissionPresetScopeProject  PermissionPresetScope = "project"
)

Defines values for PermissionPresetScope.

func (PermissionPresetScope) Valid added in v0.0.21

func (e PermissionPresetScope) Valid() bool

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

type PingWebhookJSONRequestBody added in v0.0.6

type PingWebhookJSONRequestBody = PingWebhookRequest

PingWebhookJSONRequestBody defines body for PingWebhook for application/json ContentType.

type PingWebhookRequest added in v0.0.6

type PingWebhookRequest struct {
	// Url URL to test. When supplied, the ping is sent to this URL instead of the webhook's saved URL — use this to validate a candidate URL before saving it. When omitted, the webhook's current saved URL is used.
	Url *string `json:"url,omitempty"`
}

PingWebhookRequest defines model for PingWebhookRequest.

type PingWebhookResponse added in v0.0.6

type PingWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PingWebhookResult
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParsePingWebhookResponse added in v0.0.6

func ParsePingWebhookResponse(rsp *http.Response) (*PingWebhookResponse, error)

ParsePingWebhookResponse parses an HTTP response from a PingWebhookWithResponse call

func (PingWebhookResponse) ContentType added in v0.0.21

func (r PingWebhookResponse) ContentType() string

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

func (PingWebhookResponse) Status added in v0.0.6

func (r PingWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (PingWebhookResponse) StatusCode added in v0.0.6

func (r PingWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PingWebhookResult added in v0.0.6

type PingWebhookResult struct {
	// Error Error message if the request could not be completed.
	Error *string `json:"error,omitempty"`

	// LatencyMs Round-trip latency in milliseconds.
	LatencyMs *int `json:"latency_ms,omitempty"`

	// StatusCode HTTP status code returned by the target. Absent on network error.
	StatusCode *int `json:"status_code,omitempty"`

	// Success True if the target responded with a 2xx status code.
	Success bool `json:"success"`
}

PingWebhookResult defines model for PingWebhookResult.

type Principal added in v0.0.22

type Principal struct {
	// CreatedAt Timestamp when this principal was created.
	CreatedAt time.Time `json:"created_at"`

	// Description Optional human-readable description.
	Description *string `json:"description,omitempty"`

	// Handle Typed, human-readable stable reference for this machine principal (`svc:acme-ci`, `agent:harry`, `system`). Replaces the synthetic email for non-humans (PRD 2026-06-04 FR-3).
	Handle *string `json:"handle,omitempty"`

	// Id Unique identifier for this principal.
	Id string `json:"id"`

	// Kind Machine principal kind. `service` is the standalone user-facing API client identity. `agent` and `system` are internal backing identities for agent execution and platform-internal work. (Human principals are managed as organization members, not on this surface.)
	Kind PrincipalKind `json:"kind"`

	// Metadata Arbitrary key-value metadata. Subject to size and nesting depth limits.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Name Human-readable name for this principal. Immutable after creation.
	Name string `json:"name"`

	// OwnerId Optional human principal accountable for this machine principal.
	OwnerId *string `json:"owner_id,omitempty"`

	// RoleIds Role IDs currently assigned to this principal in the project.
	RoleIds *[]string `json:"role_ids,omitempty"`

	// State Canonical business-lifecycle state. `active` allows authentication and job claims; `disabled` is a reversible kill switch that blocks them but preserves the record and its assignments; `deleted` is the retained archived state used for audit, attribution, and history.
	State PrincipalState `json:"state"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// UpdatedAt Timestamp when this principal was last updated.
	UpdatedAt time.Time `json:"updated_at"`
}

Principal Non-human identity used by loop, agents, and API keys. A principal makes ownership, permissions, and credential rotation explicit without tying machine access to a human user. The `id` is the principal id used as the `owned_by` value when filtering or claiming resources.

type PrincipalKind added in v0.0.22

type PrincipalKind string

PrincipalKind Machine principal kind. `service` is the standalone user-facing API client identity. `agent` and `system` are internal backing identities for agent execution and platform-internal work. (Human principals are managed as organization members, not on this surface.)

const (
	PrincipalKindAgent   PrincipalKind = "agent"
	PrincipalKindService PrincipalKind = "service"
	PrincipalKindSystem  PrincipalKind = "system"
)

Defines values for PrincipalKind.

func (PrincipalKind) Valid added in v0.0.22

func (e PrincipalKind) Valid() bool

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

type PrincipalListResponse added in v0.0.22

type PrincipalListResponse struct {
	// Items The list of results for this page.
	Items []Principal `json:"items"`
}

PrincipalListResponse defines model for PrincipalListResponse.

type PrincipalState added in v0.0.22

type PrincipalState string

PrincipalState Canonical business-lifecycle state. `active` allows authentication and job claims; `disabled` is a reversible kill switch that blocks them but preserves the record and its assignments; `deleted` is the retained archived state used for audit, attribution, and history.

const (
	PrincipalStateActive   PrincipalState = "active"
	PrincipalStateDeleted  PrincipalState = "deleted"
	PrincipalStateDisabled PrincipalState = "disabled"
)

Defines values for PrincipalState.

func (PrincipalState) Valid added in v0.0.22

func (e PrincipalState) Valid() bool

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

type ProgressStalledPayload added in v0.0.29

type ProgressStalledPayload struct {
	DuplicateCalls       *int                   `json:"duplicate_calls,omitempty"`
	Limit                *int                   `json:"limit,omitempty"`
	Step                 *string                `json:"step,omitempty"`
	Tool                 *string                `json:"tool,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

ProgressStalledPayload defines model for ProgressStalledPayload.

func (ProgressStalledPayload) Get added in v0.0.29

func (a ProgressStalledPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ProgressStalledPayload. Returns the specified element and whether it was found

func (ProgressStalledPayload) MarshalJSON added in v0.0.29

func (a ProgressStalledPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for ProgressStalledPayload to handle AdditionalProperties

func (*ProgressStalledPayload) Set added in v0.0.29

func (a *ProgressStalledPayload) Set(fieldName string, value interface{})

Setter for additional properties for ProgressStalledPayload

func (*ProgressStalledPayload) UnmarshalJSON added in v0.0.29

func (a *ProgressStalledPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for ProgressStalledPayload to handle AdditionalProperties

type Project added in v0.0.3

type Project struct {
	// AccessMode `open`: every org member can see and use the project, subject to role assignments. `restricted`: only listed project members (and org owners/admins) can see or use the project.
	AccessMode ProjectAccessMode `json:"access_mode"`

	// CreatedAt Timestamp when this project was created.
	CreatedAt time.Time `json:"created_at"`

	// CreatedBy Principal ID of whoever created this project.
	CreatedBy *string `json:"created_by,omitempty"`

	// Description Optional human-readable description.
	Description *string `json:"description,omitempty"`

	// ExternalRef Client-owned tenant/workspace correlation key. Unique within the org when present. Set this when provisioning one Mobius project per external workspace so client-resolver callbacks can map scheduled runs back to the owning tenant.
	ExternalRef *string `json:"external_ref,omitempty"`

	// Handle URL-safe slug used as a path segment in project API routes. Unique within the org. Immutable after creation.
	Handle string `json:"handle"`

	// Id Unique identifier for this project.
	Id string `json:"id"`

	// Name Human-readable project name.
	Name string `json:"name"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// UpdatedAt Timestamp when this project was last updated.
	UpdatedAt time.Time `json:"updated_at"`
}

Project Workspace boundary for loops, actions, credentials, agents, and runtime activity. Most operational APIs live under a project, so this object tells clients which handle to use and who can see the project.

type ProjectAccessMode added in v0.0.6

type ProjectAccessMode string

ProjectAccessMode `open`: every org member can see and use the project, subject to role assignments. `restricted`: only listed project members (and org owners/admins) can see or use the project.

const (
	ProjectAccessModeOpen       ProjectAccessMode = "open"
	ProjectAccessModeRestricted ProjectAccessMode = "restricted"
)

Defines values for ProjectAccessMode.

func (ProjectAccessMode) Valid added in v0.0.6

func (e ProjectAccessMode) Valid() bool

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

type ProjectCapabilities added in v0.0.37

type ProjectCapabilities struct {
	// CanManageAccess True when the caller can manage project members, roles, and machine identities.
	CanManageAccess bool `json:"can_manage_access"`

	// CanManageProject True when the caller can update or archive this project.
	CanManageProject bool `json:"can_manage_project"`
}

ProjectCapabilities Project-scoped capabilities for the current caller. These booleans are resolved inside the project authorization context and can differ from coarse organization role flags.

type ProjectHandleParam added in v0.0.3

type ProjectHandleParam = string

ProjectHandleParam defines model for ProjectHandleParam.

type ProjectListResponse added in v0.0.3

type ProjectListResponse struct {
	// HasMore Whether more results are available beyond this page.
	HasMore bool `json:"has_more"`

	// Items The list of results for this page.
	Items []Project `json:"items"`

	// NextCursor Opaque cursor to pass as `cursor` on the next request. Absent when `has_more` is false.
	NextCursor *string `json:"next_cursor,omitempty"`
}

ProjectListResponse defines model for ProjectListResponse.

type ProvisionAgentInboxResponse added in v0.0.19

type ProvisionAgentInboxResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Agent
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseProvisionAgentInboxResponse added in v0.0.19

func ParseProvisionAgentInboxResponse(rsp *http.Response) (*ProvisionAgentInboxResponse, error)

ParseProvisionAgentInboxResponse parses an HTTP response from a ProvisionAgentInboxWithResponse call

func (ProvisionAgentInboxResponse) ContentType added in v0.0.21

func (r ProvisionAgentInboxResponse) ContentType() string

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

func (ProvisionAgentInboxResponse) Status added in v0.0.19

Status returns HTTPResponse.Status

func (ProvisionAgentInboxResponse) StatusCode added in v0.0.19

func (r ProvisionAgentInboxResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProvisionEnvironmentProvider added in v0.0.22

type ProvisionEnvironmentProvider string

ProvisionEnvironmentProvider Providers the control plane can provision on demand. Worker-provided environments are registered out-of-band via the attach endpoint and are never provisioned through create/acquire.

const (
	ProvisionEnvironmentProviderSprites ProvisionEnvironmentProvider = "sprites"
)

Defines values for ProvisionEnvironmentProvider.

func (ProvisionEnvironmentProvider) Valid added in v0.0.22

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

type PutDefinitionResolverRequest added in v0.0.38

type PutDefinitionResolverRequest struct {
	// Auth Shared-secret auth for the client resolver. The token is write-only: supply it to set or rotate, send an empty string to clear.
	Auth *DefinitionResolverAuth `json:"auth,omitempty"`

	// EndpointUrl HTTPS endpoint Mobius posts resolve requests to. Required for client_resolver.
	EndpointUrl *string `json:"endpoint_url,omitempty"`

	// OnUnavailable Behavior when the resolver endpoint is unreachable. Defaults to last_known_good.
	OnUnavailable *PutDefinitionResolverRequestOnUnavailable `json:"on_unavailable,omitempty"`

	// ProtocolVersion The resolve wire-protocol version Mobius speaks. Defaults to 1.
	ProtocolVersion *int `json:"protocol_version,omitempty"`

	// RevalidateAfterS Skip the network when the cached bundle is younger than this (seconds).
	RevalidateAfterS *int `json:"revalidate_after_s,omitempty"`

	// Source Where the org's definitions resolve from by default.
	Source PutDefinitionResolverRequestSource `json:"source"`

	// StaleMaxAgeS Hard ceiling on serving last-known-good (seconds); 0 is unbounded.
	StaleMaxAgeS *int `json:"stale_max_age_s,omitempty"`

	// TimeoutMs Per-request resolve timeout in milliseconds. Defaults to 2000 when omitted or non-positive.
	TimeoutMs *int `json:"timeout_ms,omitempty"`
}

PutDefinitionResolverRequest Full-replace body for the org's definition-resolver config.

type PutDefinitionResolverRequestOnUnavailable added in v0.0.38

type PutDefinitionResolverRequestOnUnavailable string

PutDefinitionResolverRequestOnUnavailable Behavior when the resolver endpoint is unreachable. Defaults to last_known_good.

const (
	PutDefinitionResolverRequestOnUnavailableFail          PutDefinitionResolverRequestOnUnavailable = "fail"
	PutDefinitionResolverRequestOnUnavailableLastKnownGood PutDefinitionResolverRequestOnUnavailable = "last_known_good"
)

Defines values for PutDefinitionResolverRequestOnUnavailable.

func (PutDefinitionResolverRequestOnUnavailable) Valid added in v0.0.38

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

type PutDefinitionResolverRequestSource added in v0.0.38

type PutDefinitionResolverRequestSource string

PutDefinitionResolverRequestSource Where the org's definitions resolve from by default.

const (
	PutDefinitionResolverRequestSourceClientResolver PutDefinitionResolverRequestSource = "client_resolver"
	PutDefinitionResolverRequestSourceMobiusStored   PutDefinitionResolverRequestSource = "mobius_stored"
)

Defines values for PutDefinitionResolverRequestSource.

func (PutDefinitionResolverRequestSource) Valid added in v0.0.38

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

type PutOAuthReturnOriginsRequest added in v0.0.55

type PutOAuthReturnOriginsRequest struct {
	// Origins Exact HTTPS return origins to allow. An empty array disables embedded return.
	Origins []string `json:"origins"`
}

PutOAuthReturnOriginsRequest Full-replace body for the organization's OAuth return-origin allowlist. Each entry must be an exact HTTPS origin; entries are normalized and de-duplicated. At most 20 origins are accepted.

type QueryRowsRequest added in v0.0.19

type QueryRowsRequest struct {
	// Cursor Opaque cursor from a prior response.
	Cursor *string `json:"cursor,omitempty"`

	// Filter Column equality or operator filter
	Filter *map[string]interface{} `json:"filter,omitempty"`

	// Limit Maximum number of rows to return (1–100, default 20).
	Limit *int `json:"limit,omitempty"`

	// Sort Sort clauses applied after filtering.
	Sort *[]struct {
		// Field Column name to sort by.
		Field string `json:"field"`

		// Order Sort direction for this field: `asc` or `desc`.
		Order *QueryRowsRequestSortOrder `json:"order,omitempty"`
	} `json:"sort,omitempty"`
}

QueryRowsRequest defines model for QueryRowsRequest.

type QueryRowsRequestSortOrder added in v0.0.19

type QueryRowsRequestSortOrder string

QueryRowsRequestSortOrder Sort direction for this field: `asc` or `desc`.

const (
	QueryRowsRequestSortOrderAsc  QueryRowsRequestSortOrder = "asc"
	QueryRowsRequestSortOrderDesc QueryRowsRequestSortOrder = "desc"
)

Defines values for QueryRowsRequestSortOrder.

func (QueryRowsRequestSortOrder) Valid added in v0.0.19

func (e QueryRowsRequestSortOrder) Valid() bool

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

type QueryTableRowsJSONRequestBody added in v0.0.20

type QueryTableRowsJSONRequestBody = QueryRowsRequest

QueryTableRowsJSONRequestBody defines body for QueryTableRows for application/json ContentType.

type QueryTableRowsResponse added in v0.0.20

type QueryTableRowsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TableRowQueryListResponse
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseQueryTableRowsResponse added in v0.0.20

func ParseQueryTableRowsResponse(rsp *http.Response) (*QueryTableRowsResponse, error)

ParseQueryTableRowsResponse parses an HTTP response from a QueryTableRowsWithResponse call

func (QueryTableRowsResponse) ContentType added in v0.0.21

func (r QueryTableRowsResponse) ContentType() string

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

func (QueryTableRowsResponse) Status added in v0.0.20

func (r QueryTableRowsResponse) Status() string

Status returns HTTPResponse.Status

func (QueryTableRowsResponse) StatusCode added in v0.0.20

func (r QueryTableRowsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RecoverLoopRunRequest added in v0.0.41

type RecoverLoopRunRequest struct {
	// BudgetUsd Replacement run budget in US dollars (1 credit = $0.01). Mutually exclusive with `credit_budget`; setting both is a `400`.
	BudgetUsd *float64 `json:"budget_usd,omitempty"`

	// CreditBudget Replacement run budget in whole credits (1 credit = $0.01). Must be greater than `credit_spent`.
	CreditBudget *int64 `json:"credit_budget,omitempty"`

	// MaxAgentTurns Replacement run-wide agent turn cap. Must be greater than `agent_turns_used`.
	MaxAgentTurns *int `json:"max_agent_turns,omitempty"`

	// Reason Human-readable recovery reason recorded on the run event log.
	Reason *string `json:"reason,omitempty"`

	// WallClockExtendSeconds Additional wall-clock time, in seconds, granted from the recovery request time. Required when the run stopped on `wall_clock_exceeded`.
	WallClockExtendSeconds *int `json:"wall_clock_extend_seconds,omitempty"`
}

RecoverLoopRunRequest Body for resuming or retrying a failed loop run in place. Limit fields are optional unless the prior failure was caused by that guardrail; in that case the replacement limit must be greater than the amount already consumed by the run.

type ReplaceAgentSkillAssignmentsJSONRequestBody added in v0.0.25

type ReplaceAgentSkillAssignmentsJSONRequestBody = ReplaceSkillsRequest

ReplaceAgentSkillAssignmentsJSONRequestBody defines body for ReplaceAgentSkillAssignments for application/json ContentType.

type ReplaceAgentSkillAssignmentsResponse added in v0.0.25

type ReplaceAgentSkillAssignmentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SkillAssignmentListResponse
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseReplaceAgentSkillAssignmentsResponse added in v0.0.25

func ParseReplaceAgentSkillAssignmentsResponse(rsp *http.Response) (*ReplaceAgentSkillAssignmentsResponse, error)

ParseReplaceAgentSkillAssignmentsResponse parses an HTTP response from a ReplaceAgentSkillAssignmentsWithResponse call

func (ReplaceAgentSkillAssignmentsResponse) ContentType added in v0.0.25

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

func (ReplaceAgentSkillAssignmentsResponse) Status added in v0.0.25

Status returns HTTPResponse.Status

func (ReplaceAgentSkillAssignmentsResponse) StatusCode added in v0.0.25

StatusCode returns HTTPResponse.StatusCode

type ReplaceAgentToolkitAssignmentsJSONRequestBody added in v0.0.25

type ReplaceAgentToolkitAssignmentsJSONRequestBody = ReplaceToolkitsRequest

ReplaceAgentToolkitAssignmentsJSONRequestBody defines body for ReplaceAgentToolkitAssignments for application/json ContentType.

type ReplaceAgentToolkitAssignmentsResponse added in v0.0.25

type ReplaceAgentToolkitAssignmentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ToolkitAssignmentListResponse
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseReplaceAgentToolkitAssignmentsResponse added in v0.0.25

func ParseReplaceAgentToolkitAssignmentsResponse(rsp *http.Response) (*ReplaceAgentToolkitAssignmentsResponse, error)

ParseReplaceAgentToolkitAssignmentsResponse parses an HTTP response from a ReplaceAgentToolkitAssignmentsWithResponse call

func (ReplaceAgentToolkitAssignmentsResponse) ContentType added in v0.0.25

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

func (ReplaceAgentToolkitAssignmentsResponse) Status added in v0.0.25

Status returns HTTPResponse.Status

func (ReplaceAgentToolkitAssignmentsResponse) StatusCode added in v0.0.25

StatusCode returns HTTPResponse.StatusCode

type ReplaceDefinitionResolverJSONRequestBody added in v0.0.38

type ReplaceDefinitionResolverJSONRequestBody = PutDefinitionResolverRequest

ReplaceDefinitionResolverJSONRequestBody defines body for ReplaceDefinitionResolver for application/json ContentType.

type ReplaceDefinitionResolverResponse added in v0.0.38

type ReplaceDefinitionResolverResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DefinitionResolverConfig
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseReplaceDefinitionResolverResponse added in v0.0.38

func ParseReplaceDefinitionResolverResponse(rsp *http.Response) (*ReplaceDefinitionResolverResponse, error)

ParseReplaceDefinitionResolverResponse parses an HTTP response from a ReplaceDefinitionResolverWithResponse call

func (ReplaceDefinitionResolverResponse) ContentType added in v0.0.38

func (r ReplaceDefinitionResolverResponse) ContentType() string

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

func (ReplaceDefinitionResolverResponse) Status added in v0.0.38

Status returns HTTPResponse.Status

func (ReplaceDefinitionResolverResponse) StatusCode added in v0.0.38

func (r ReplaceDefinitionResolverResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReplaceOAuthReturnOriginsJSONRequestBody added in v0.0.55

type ReplaceOAuthReturnOriginsJSONRequestBody = PutOAuthReturnOriginsRequest

ReplaceOAuthReturnOriginsJSONRequestBody defines body for ReplaceOAuthReturnOrigins for application/json ContentType.

type ReplaceOAuthReturnOriginsResponse added in v0.0.55

type ReplaceOAuthReturnOriginsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OAuthReturnOrigins
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseReplaceOAuthReturnOriginsResponse added in v0.0.55

func ParseReplaceOAuthReturnOriginsResponse(rsp *http.Response) (*ReplaceOAuthReturnOriginsResponse, error)

ParseReplaceOAuthReturnOriginsResponse parses an HTTP response from a ReplaceOAuthReturnOriginsWithResponse call

func (ReplaceOAuthReturnOriginsResponse) ContentType added in v0.0.55

func (r ReplaceOAuthReturnOriginsResponse) ContentType() string

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

func (ReplaceOAuthReturnOriginsResponse) Status added in v0.0.55

Status returns HTTPResponse.Status

func (ReplaceOAuthReturnOriginsResponse) StatusCode added in v0.0.55

func (r ReplaceOAuthReturnOriginsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReplaceOrganizationSkillJSONRequestBody added in v0.0.54

type ReplaceOrganizationSkillJSONRequestBody = SkillRequest

ReplaceOrganizationSkillJSONRequestBody defines body for ReplaceOrganizationSkill for application/json ContentType.

type ReplaceOrganizationSkillResponse added in v0.0.54

type ReplaceOrganizationSkillResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Skill
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseReplaceOrganizationSkillResponse added in v0.0.54

func ParseReplaceOrganizationSkillResponse(rsp *http.Response) (*ReplaceOrganizationSkillResponse, error)

ParseReplaceOrganizationSkillResponse parses an HTTP response from a ReplaceOrganizationSkillWithResponse call

func (ReplaceOrganizationSkillResponse) ContentType added in v0.0.54

func (r ReplaceOrganizationSkillResponse) ContentType() string

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

func (ReplaceOrganizationSkillResponse) Status added in v0.0.54

Status returns HTTPResponse.Status

func (ReplaceOrganizationSkillResponse) StatusCode added in v0.0.54

func (r ReplaceOrganizationSkillResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReplaceSkillsRequest added in v0.0.21

type ReplaceSkillsRequest struct {
	// SkillIds Full replace-set of skill IDs to assign to the agent, in desired order.
	SkillIds []string `json:"skill_ids"`
}

ReplaceSkillsRequest defines model for ReplaceSkillsRequest.

type ReplaceToolkitsRequest added in v0.0.21

type ReplaceToolkitsRequest struct {
	// ToolkitIds Full replace-set of toolkit IDs to assign to the agent, in desired order.
	ToolkitIds []string `json:"toolkit_ids"`
}

ReplaceToolkitsRequest defines model for ReplaceToolkitsRequest.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ResolutionPolicy added in v0.0.19

type ResolutionPolicy struct {
	// Threshold Required when `type` is `quorum`. Number of distinct eligible participants that must respond before the interaction resolves. Must be `>= 1` and `<=` the participant count.
	Threshold *int `json:"threshold,omitempty"`

	// Type Resolution rule. `any_of` resolves on the first acceptable response. `all_of` waits for every assigned participant. `quorum` resolves once `threshold` distinct participants respond.
	Type ResolutionPolicyType `json:"type"`
}

ResolutionPolicy Declarative resolution rule attached to an Interaction. Determines how participant responses become a final outcome.

type ResolutionPolicyType added in v0.0.19

type ResolutionPolicyType string

ResolutionPolicyType Resolution rule. `any_of` resolves on the first acceptable response. `all_of` waits for every assigned participant. `quorum` resolves once `threshold` distinct participants respond.

const (
	ResolutionPolicyTypeAllOf  ResolutionPolicyType = "all_of"
	ResolutionPolicyTypeAnyOf  ResolutionPolicyType = "any_of"
	ResolutionPolicyTypeQuorum ResolutionPolicyType = "quorum"
)

Defines values for ResolutionPolicyType.

func (ResolutionPolicyType) Valid added in v0.0.19

func (e ResolutionPolicyType) Valid() bool

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

type ResolvedActionGroup added in v0.0.21

type ResolvedActionGroup struct {
	// Members Action names the group expanded to during this resolution.
	Members []string `json:"members"`

	// Name Canonical group name (e.g. `mobius.table.read`).
	Name string `json:"name"`
}

ResolvedActionGroup Action group expanded during manifest resolution.

type ResourceScope added in v0.0.21

type ResourceScope string

ResourceScope Optional namespace for named runtime resources. Omitted/null means the project/default scope; `owner` means names are unique within `(project, owned_by)`.

const (
	ResourceScopeOwner ResourceScope = "owner"
)

Defines values for ResourceScope.

func (ResourceScope) Valid added in v0.0.21

func (e ResourceScope) Valid() bool

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

type RespondToInteractionJSONRequestBody

type RespondToInteractionJSONRequestBody = RespondToInteractionRequest

RespondToInteractionJSONRequestBody defines body for RespondToInteraction for application/json ContentType.

type RespondToInteractionRequest

type RespondToInteractionRequest struct {
	// Action Operation to perform through the canonical response endpoint. `submit` answers the interaction.
	Action *RespondToInteractionRequestAction `json:"action,omitempty"`

	// Comment Optional free-text comment accompanying the action. Available on every interaction kind and never gated by the spec; the responder may always attach reasoning, caveats, or follow-up notes alongside `value`.
	Comment *string `json:"comment,omitempty"`

	// Value Free-form JSON payload. Used both for responder-supplied values and for policy-derived values (e.g. `Interaction.outcome`, `ResolutionPolicy.proposal`); each consumer documents which.
	Value *InteractionValue `json:"value,omitempty"`
}

RespondToInteractionRequest defines model for RespondToInteractionRequest.

type RespondToInteractionRequestAction added in v0.0.21

type RespondToInteractionRequestAction string

RespondToInteractionRequestAction Operation to perform through the canonical response endpoint. `submit` answers the interaction.

const (
	RespondToInteractionRequestActionSubmit RespondToInteractionRequestAction = "submit"
)

Defines values for RespondToInteractionRequestAction.

func (RespondToInteractionRequestAction) Valid added in v0.0.21

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

type RespondToInteractionResponse

type RespondToInteractionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Interaction
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
}

func ParseRespondToInteractionResponse

func ParseRespondToInteractionResponse(rsp *http.Response) (*RespondToInteractionResponse, error)

ParseRespondToInteractionResponse parses an HTTP response from a RespondToInteractionWithResponse call

func (RespondToInteractionResponse) ContentType added in v0.0.21

func (r RespondToInteractionResponse) ContentType() string

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

func (RespondToInteractionResponse) Status

Status returns HTTPResponse.Status

func (RespondToInteractionResponse) StatusCode

func (r RespondToInteractionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ResumeRunJSONRequestBody added in v0.0.41

type ResumeRunJSONRequestBody = RecoverLoopRunRequest

ResumeRunJSONRequestBody defines body for ResumeRun for application/json ContentType.

type ResumeRunResponse

type ResumeRunResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *LoopRun
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseResumeRunResponse

func ParseResumeRunResponse(rsp *http.Response) (*ResumeRunResponse, error)

ParseResumeRunResponse parses an HTTP response from a ResumeRunWithResponse call

func (ResumeRunResponse) ContentType added in v0.0.21

func (r ResumeRunResponse) ContentType() string

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

func (ResumeRunResponse) Status

func (r ResumeRunResponse) Status() string

Status returns HTTPResponse.Status

func (ResumeRunResponse) StatusCode

func (r ResumeRunResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RetryRunJSONRequestBody added in v0.0.41

type RetryRunJSONRequestBody = RecoverLoopRunRequest

RetryRunJSONRequestBody defines body for RetryRun for application/json ContentType.

type RetryRunResponse added in v0.0.41

type RetryRunResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *LoopRun
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseRetryRunResponse added in v0.0.41

func ParseRetryRunResponse(rsp *http.Response) (*RetryRunResponse, error)

ParseRetryRunResponse parses an HTTP response from a RetryRunWithResponse call

func (RetryRunResponse) ContentType added in v0.0.41

func (r RetryRunResponse) ContentType() string

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

func (RetryRunResponse) Status added in v0.0.41

func (r RetryRunResponse) Status() string

Status returns HTTPResponse.Status

func (RetryRunResponse) StatusCode added in v0.0.41

func (r RetryRunResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RevokeOrganizationActionSecretVersionResponse added in v0.0.54

type RevokeOrganizationActionSecretVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OrganizationAction
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
}

func ParseRevokeOrganizationActionSecretVersionResponse added in v0.0.54

func ParseRevokeOrganizationActionSecretVersionResponse(rsp *http.Response) (*RevokeOrganizationActionSecretVersionResponse, error)

ParseRevokeOrganizationActionSecretVersionResponse parses an HTTP response from a RevokeOrganizationActionSecretVersionWithResponse call

func (RevokeOrganizationActionSecretVersionResponse) ContentType added in v0.0.54

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

func (RevokeOrganizationActionSecretVersionResponse) Status added in v0.0.54

Status returns HTTPResponse.Status

func (RevokeOrganizationActionSecretVersionResponse) StatusCode added in v0.0.54

StatusCode returns HTTPResponse.StatusCode

type Role

type Role struct {
	// CreatedAt Timestamp when this role was created.
	CreatedAt time.Time `json:"created_at"`

	// Description Optional human-readable description of what this role grants.
	Description *string `json:"description,omitempty"`

	// Id Unique identifier for this role.
	Id string `json:"id"`

	// Name Human-readable role name, unique within org+project scope.
	Name string `json:"name"`

	// Permissions Permission strings granted by this role. Source allowed values from `GET /v1/projects/{project_handle}/permissions`; legacy IDs or values not present in that catalog are rejected.
	Permissions []string `json:"permissions"`

	// ProjectId Scoping project. Empty for system-defined roles.
	ProjectId *string `json:"project_id,omitempty"`

	// SystemDefined True for built-in platform roles that cannot be modified or deleted.
	SystemDefined bool `json:"system_defined"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// UpdatedAt Timestamp when this role was last updated.
	UpdatedAt time.Time `json:"updated_at"`
}

Role Named bundle of permissions assignable to human or machine principals. Roles let admins grant loop, project, and integration capabilities consistently without editing every user individually.

type RoleAssignment

type RoleAssignment struct {
	// CreatedAt Timestamp when this assignment was created.
	CreatedAt time.Time `json:"created_at"`

	// GrantedBy Principal ID of the caller who created this assignment.
	GrantedBy *string `json:"granted_by,omitempty"`

	// Id Unique identifier for this role assignment.
	Id string `json:"id"`

	// PrincipalId Principal ID receiving the role.
	PrincipalId string `json:"principal_id"`

	// RoleId ID of the assigned role.
	RoleId string `json:"role_id"`

	// RoleName Name of the assigned role.
	RoleName string `json:"role_name"`
}

RoleAssignment Binding between a principal and a role in one project. Use assignments to explain why a principal (human or machine) has access and to audit who granted it.

type RoleAssignmentListResponse

type RoleAssignmentListResponse struct {
	// Items The list of results for this page.
	Items []RoleAssignment `json:"items"`
}

RoleAssignmentListResponse defines model for RoleAssignmentListResponse.

type RoleListResponse

type RoleListResponse struct {
	// HasMore Whether additional pages are available.
	HasMore bool `json:"has_more"`

	// Items The list of results for this page.
	Items []Role `json:"items"`

	// NextCursor Opaque cursor to pass as `cursor` on the next request. Absent when `has_more` is false.
	NextCursor *string `json:"next_cursor,omitempty"`
}

RoleListResponse defines model for RoleListResponse.

type RotateActionSecretResponse

type RotateActionSecretResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RotateSecretResult
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseRotateActionSecretResponse

func ParseRotateActionSecretResponse(rsp *http.Response) (*RotateActionSecretResponse, error)

ParseRotateActionSecretResponse parses an HTTP response from a RotateActionSecretWithResponse call

func (RotateActionSecretResponse) ContentType added in v0.0.21

func (r RotateActionSecretResponse) ContentType() string

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

func (RotateActionSecretResponse) Status

Status returns HTTPResponse.Status

func (RotateActionSecretResponse) StatusCode

func (r RotateActionSecretResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RotateOrganizationActionSecretResponse added in v0.0.54

type RotateOrganizationActionSecretResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OrganizationAction
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
}

func ParseRotateOrganizationActionSecretResponse added in v0.0.54

func ParseRotateOrganizationActionSecretResponse(rsp *http.Response) (*RotateOrganizationActionSecretResponse, error)

ParseRotateOrganizationActionSecretResponse parses an HTTP response from a RotateOrganizationActionSecretWithResponse call

func (RotateOrganizationActionSecretResponse) ContentType added in v0.0.54

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

func (RotateOrganizationActionSecretResponse) Status added in v0.0.54

Status returns HTTPResponse.Status

func (RotateOrganizationActionSecretResponse) StatusCode added in v0.0.54

StatusCode returns HTTPResponse.StatusCode

type RotateSecretResult

type RotateSecretResult struct {
	// SecretRef Project secret reference that now stores the action signing key.
	SecretRef string `json:"secret_ref"`

	// SecretVersion New project-secret version number.
	SecretVersion int64 `json:"secret_version"`

	// SigningSecret Base64-encoded 32-byte signing key. Store it immediately — this is the only time it is returned.
	SigningSecret string `json:"signing_secret"`
}

RotateSecretResult New signing key material returned after rotating a signing secret.

type RotateWebhookSecretResponse added in v0.0.22

type RotateWebhookSecretResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RotateSecretResult
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseRotateWebhookSecretResponse added in v0.0.22

func ParseRotateWebhookSecretResponse(rsp *http.Response) (*RotateWebhookSecretResponse, error)

ParseRotateWebhookSecretResponse parses an HTTP response from a RotateWebhookSecretWithResponse call

func (RotateWebhookSecretResponse) ContentType added in v0.0.22

func (r RotateWebhookSecretResponse) ContentType() string

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

func (RotateWebhookSecretResponse) Status added in v0.0.22

Status returns HTTPResponse.Status

func (RotateWebhookSecretResponse) StatusCode added in v0.0.22

func (r RotateWebhookSecretResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RunCancelledPayload added in v0.0.29

type RunCancelledPayload struct {
	Reason               *string                `json:"reason,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

RunCancelledPayload defines model for RunCancelledPayload.

func (RunCancelledPayload) Get added in v0.0.29

func (a RunCancelledPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for RunCancelledPayload. Returns the specified element and whether it was found

func (RunCancelledPayload) MarshalJSON added in v0.0.29

func (a RunCancelledPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for RunCancelledPayload to handle AdditionalProperties

func (*RunCancelledPayload) Set added in v0.0.29

func (a *RunCancelledPayload) Set(fieldName string, value interface{})

Setter for additional properties for RunCancelledPayload

func (*RunCancelledPayload) UnmarshalJSON added in v0.0.29

func (a *RunCancelledPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for RunCancelledPayload to handle AdditionalProperties

type RunCompletedPayload added in v0.0.29

type RunCompletedPayload struct {
	Output               *map[string]interface{} `json:"output,omitempty"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

RunCompletedPayload defines model for RunCompletedPayload.

func (RunCompletedPayload) Get added in v0.0.29

func (a RunCompletedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for RunCompletedPayload. Returns the specified element and whether it was found

func (RunCompletedPayload) MarshalJSON added in v0.0.29

func (a RunCompletedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for RunCompletedPayload to handle AdditionalProperties

func (*RunCompletedPayload) Set added in v0.0.29

func (a *RunCompletedPayload) Set(fieldName string, value interface{})

Setter for additional properties for RunCompletedPayload

func (*RunCompletedPayload) UnmarshalJSON added in v0.0.29

func (a *RunCompletedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for RunCompletedPayload to handle AdditionalProperties

type RunConsumer added in v0.0.21

type RunConsumer struct {
	RunId      string `json:"run_id"`
	SignalName string `json:"signal_name"`
}

RunConsumer defines model for RunConsumer.

type RunEventPayload added in v0.0.29

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

RunEventPayload Typed payloads for common durable run event types. The containing `LoopRunEvent.event_type` selects the payload shape; payload objects do not duplicate that discriminator because some payloads use fields such as `event_type` for their own lifecycle data (for example, the external matcher recorded by `wait.opened`).

func (RunEventPayload) AsActionCalledPayload added in v0.0.29

func (t RunEventPayload) AsActionCalledPayload() (ActionCalledPayload, error)

AsActionCalledPayload returns the union data inside the RunEventPayload as a ActionCalledPayload

func (RunEventPayload) AsActionCompletedPayload added in v0.0.29

func (t RunEventPayload) AsActionCompletedPayload() (ActionCompletedPayload, error)

AsActionCompletedPayload returns the union data inside the RunEventPayload as a ActionCompletedPayload

func (RunEventPayload) AsActionFailedPayload added in v0.0.29

func (t RunEventPayload) AsActionFailedPayload() (ActionFailedPayload, error)

AsActionFailedPayload returns the union data inside the RunEventPayload as a ActionFailedPayload

func (RunEventPayload) AsActionResultPayload added in v0.0.29

func (t RunEventPayload) AsActionResultPayload() (ActionResultPayload, error)

AsActionResultPayload returns the union data inside the RunEventPayload as a ActionResultPayload

func (RunEventPayload) AsActionRetriedPayload added in v0.0.29

func (t RunEventPayload) AsActionRetriedPayload() (ActionRetriedPayload, error)

AsActionRetriedPayload returns the union data inside the RunEventPayload as a ActionRetriedPayload

func (RunEventPayload) AsArtifactCreatedPayload added in v0.0.29

func (t RunEventPayload) AsArtifactCreatedPayload() (ArtifactCreatedPayload, error)

AsArtifactCreatedPayload returns the union data inside the RunEventPayload as a ArtifactCreatedPayload

func (RunEventPayload) AsBudgetExceededPayload added in v0.0.29

func (t RunEventPayload) AsBudgetExceededPayload() (BudgetExceededPayload, error)

AsBudgetExceededPayload returns the union data inside the RunEventPayload as a BudgetExceededPayload

func (RunEventPayload) AsCheckVerdictPayload added in v0.0.29

func (t RunEventPayload) AsCheckVerdictPayload() (CheckVerdictPayload, error)

AsCheckVerdictPayload returns the union data inside the RunEventPayload as a CheckVerdictPayload

func (RunEventPayload) AsGenericEventPayload added in v0.0.29

func (t RunEventPayload) AsGenericEventPayload() (GenericEventPayload, error)

AsGenericEventPayload returns the union data inside the RunEventPayload as a GenericEventPayload

func (RunEventPayload) AsInteractionRespondedPayload added in v0.0.29

func (t RunEventPayload) AsInteractionRespondedPayload() (InteractionRespondedPayload, error)

AsInteractionRespondedPayload returns the union data inside the RunEventPayload as a InteractionRespondedPayload

func (RunEventPayload) AsLimitReachedPayload added in v0.0.29

func (t RunEventPayload) AsLimitReachedPayload() (LimitReachedPayload, error)

AsLimitReachedPayload returns the union data inside the RunEventPayload as a LimitReachedPayload

func (RunEventPayload) AsProgressStalledPayload added in v0.0.29

func (t RunEventPayload) AsProgressStalledPayload() (ProgressStalledPayload, error)

AsProgressStalledPayload returns the union data inside the RunEventPayload as a ProgressStalledPayload

func (RunEventPayload) AsRunCancelledPayload added in v0.0.29

func (t RunEventPayload) AsRunCancelledPayload() (RunCancelledPayload, error)

AsRunCancelledPayload returns the union data inside the RunEventPayload as a RunCancelledPayload

func (RunEventPayload) AsRunCompletedPayload added in v0.0.29

func (t RunEventPayload) AsRunCompletedPayload() (RunCompletedPayload, error)

AsRunCompletedPayload returns the union data inside the RunEventPayload as a RunCompletedPayload

func (RunEventPayload) AsRunFailedPayload added in v0.0.29

func (t RunEventPayload) AsRunFailedPayload() (RunFailedPayload, error)

AsRunFailedPayload returns the union data inside the RunEventPayload as a RunFailedPayload

func (RunEventPayload) AsRunResumedPayload added in v0.0.29

func (t RunEventPayload) AsRunResumedPayload() (RunResumedPayload, error)

AsRunResumedPayload returns the union data inside the RunEventPayload as a RunResumedPayload

func (RunEventPayload) AsRunStartedPayload added in v0.0.29

func (t RunEventPayload) AsRunStartedPayload() (RunStartedPayload, error)

AsRunStartedPayload returns the union data inside the RunEventPayload as a RunStartedPayload

func (RunEventPayload) AsStepCompletedPayload added in v0.0.29

func (t RunEventPayload) AsStepCompletedPayload() (StepCompletedPayload, error)

AsStepCompletedPayload returns the union data inside the RunEventPayload as a StepCompletedPayload

func (RunEventPayload) AsStepFailedPayload added in v0.0.29

func (t RunEventPayload) AsStepFailedPayload() (StepFailedPayload, error)

AsStepFailedPayload returns the union data inside the RunEventPayload as a StepFailedPayload

func (RunEventPayload) AsStepResumedPayload added in v0.0.29

func (t RunEventPayload) AsStepResumedPayload() (StepResumedPayload, error)

AsStepResumedPayload returns the union data inside the RunEventPayload as a StepResumedPayload

func (RunEventPayload) AsStepRetriedPayload added in v0.0.29

func (t RunEventPayload) AsStepRetriedPayload() (StepRetriedPayload, error)

AsStepRetriedPayload returns the union data inside the RunEventPayload as a StepRetriedPayload

func (RunEventPayload) AsStepSkippedPayload added in v0.0.29

func (t RunEventPayload) AsStepSkippedPayload() (StepSkippedPayload, error)

AsStepSkippedPayload returns the union data inside the RunEventPayload as a StepSkippedPayload

func (RunEventPayload) AsStepStartedPayload added in v0.0.29

func (t RunEventPayload) AsStepStartedPayload() (StepStartedPayload, error)

AsStepStartedPayload returns the union data inside the RunEventPayload as a StepStartedPayload

func (RunEventPayload) AsWaitPayload added in v0.0.29

func (t RunEventPayload) AsWaitPayload() (WaitPayload, error)

AsWaitPayload returns the union data inside the RunEventPayload as a WaitPayload

func (RunEventPayload) AsWaitResumedPayload added in v0.0.29

func (t RunEventPayload) AsWaitResumedPayload() (WaitResumedPayload, error)

AsWaitResumedPayload returns the union data inside the RunEventPayload as a WaitResumedPayload

func (RunEventPayload) AsWaitTimedOutPayload added in v0.0.29

func (t RunEventPayload) AsWaitTimedOutPayload() (WaitTimedOutPayload, error)

AsWaitTimedOutPayload returns the union data inside the RunEventPayload as a WaitTimedOutPayload

func (*RunEventPayload) FromActionCalledPayload added in v0.0.29

func (t *RunEventPayload) FromActionCalledPayload(v ActionCalledPayload) error

FromActionCalledPayload overwrites any union data inside the RunEventPayload as the provided ActionCalledPayload

func (*RunEventPayload) FromActionCompletedPayload added in v0.0.29

func (t *RunEventPayload) FromActionCompletedPayload(v ActionCompletedPayload) error

FromActionCompletedPayload overwrites any union data inside the RunEventPayload as the provided ActionCompletedPayload

func (*RunEventPayload) FromActionFailedPayload added in v0.0.29

func (t *RunEventPayload) FromActionFailedPayload(v ActionFailedPayload) error

FromActionFailedPayload overwrites any union data inside the RunEventPayload as the provided ActionFailedPayload

func (*RunEventPayload) FromActionResultPayload added in v0.0.29

func (t *RunEventPayload) FromActionResultPayload(v ActionResultPayload) error

FromActionResultPayload overwrites any union data inside the RunEventPayload as the provided ActionResultPayload

func (*RunEventPayload) FromActionRetriedPayload added in v0.0.29

func (t *RunEventPayload) FromActionRetriedPayload(v ActionRetriedPayload) error

FromActionRetriedPayload overwrites any union data inside the RunEventPayload as the provided ActionRetriedPayload

func (*RunEventPayload) FromArtifactCreatedPayload added in v0.0.29

func (t *RunEventPayload) FromArtifactCreatedPayload(v ArtifactCreatedPayload) error

FromArtifactCreatedPayload overwrites any union data inside the RunEventPayload as the provided ArtifactCreatedPayload

func (*RunEventPayload) FromBudgetExceededPayload added in v0.0.29

func (t *RunEventPayload) FromBudgetExceededPayload(v BudgetExceededPayload) error

FromBudgetExceededPayload overwrites any union data inside the RunEventPayload as the provided BudgetExceededPayload

func (*RunEventPayload) FromCheckVerdictPayload added in v0.0.29

func (t *RunEventPayload) FromCheckVerdictPayload(v CheckVerdictPayload) error

FromCheckVerdictPayload overwrites any union data inside the RunEventPayload as the provided CheckVerdictPayload

func (*RunEventPayload) FromGenericEventPayload added in v0.0.29

func (t *RunEventPayload) FromGenericEventPayload(v GenericEventPayload) error

FromGenericEventPayload overwrites any union data inside the RunEventPayload as the provided GenericEventPayload

func (*RunEventPayload) FromInteractionRespondedPayload added in v0.0.29

func (t *RunEventPayload) FromInteractionRespondedPayload(v InteractionRespondedPayload) error

FromInteractionRespondedPayload overwrites any union data inside the RunEventPayload as the provided InteractionRespondedPayload

func (*RunEventPayload) FromLimitReachedPayload added in v0.0.29

func (t *RunEventPayload) FromLimitReachedPayload(v LimitReachedPayload) error

FromLimitReachedPayload overwrites any union data inside the RunEventPayload as the provided LimitReachedPayload

func (*RunEventPayload) FromProgressStalledPayload added in v0.0.29

func (t *RunEventPayload) FromProgressStalledPayload(v ProgressStalledPayload) error

FromProgressStalledPayload overwrites any union data inside the RunEventPayload as the provided ProgressStalledPayload

func (*RunEventPayload) FromRunCancelledPayload added in v0.0.29

func (t *RunEventPayload) FromRunCancelledPayload(v RunCancelledPayload) error

FromRunCancelledPayload overwrites any union data inside the RunEventPayload as the provided RunCancelledPayload

func (*RunEventPayload) FromRunCompletedPayload added in v0.0.29

func (t *RunEventPayload) FromRunCompletedPayload(v RunCompletedPayload) error

FromRunCompletedPayload overwrites any union data inside the RunEventPayload as the provided RunCompletedPayload

func (*RunEventPayload) FromRunFailedPayload added in v0.0.29

func (t *RunEventPayload) FromRunFailedPayload(v RunFailedPayload) error

FromRunFailedPayload overwrites any union data inside the RunEventPayload as the provided RunFailedPayload

func (*RunEventPayload) FromRunResumedPayload added in v0.0.29

func (t *RunEventPayload) FromRunResumedPayload(v RunResumedPayload) error

FromRunResumedPayload overwrites any union data inside the RunEventPayload as the provided RunResumedPayload

func (*RunEventPayload) FromRunStartedPayload added in v0.0.29

func (t *RunEventPayload) FromRunStartedPayload(v RunStartedPayload) error

FromRunStartedPayload overwrites any union data inside the RunEventPayload as the provided RunStartedPayload

func (*RunEventPayload) FromStepCompletedPayload added in v0.0.29

func (t *RunEventPayload) FromStepCompletedPayload(v StepCompletedPayload) error

FromStepCompletedPayload overwrites any union data inside the RunEventPayload as the provided StepCompletedPayload

func (*RunEventPayload) FromStepFailedPayload added in v0.0.29

func (t *RunEventPayload) FromStepFailedPayload(v StepFailedPayload) error

FromStepFailedPayload overwrites any union data inside the RunEventPayload as the provided StepFailedPayload

func (*RunEventPayload) FromStepResumedPayload added in v0.0.29

func (t *RunEventPayload) FromStepResumedPayload(v StepResumedPayload) error

FromStepResumedPayload overwrites any union data inside the RunEventPayload as the provided StepResumedPayload

func (*RunEventPayload) FromStepRetriedPayload added in v0.0.29

func (t *RunEventPayload) FromStepRetriedPayload(v StepRetriedPayload) error

FromStepRetriedPayload overwrites any union data inside the RunEventPayload as the provided StepRetriedPayload

func (*RunEventPayload) FromStepSkippedPayload added in v0.0.29

func (t *RunEventPayload) FromStepSkippedPayload(v StepSkippedPayload) error

FromStepSkippedPayload overwrites any union data inside the RunEventPayload as the provided StepSkippedPayload

func (*RunEventPayload) FromStepStartedPayload added in v0.0.29

func (t *RunEventPayload) FromStepStartedPayload(v StepStartedPayload) error

FromStepStartedPayload overwrites any union data inside the RunEventPayload as the provided StepStartedPayload

func (*RunEventPayload) FromWaitPayload added in v0.0.29

func (t *RunEventPayload) FromWaitPayload(v WaitPayload) error

FromWaitPayload overwrites any union data inside the RunEventPayload as the provided WaitPayload

func (*RunEventPayload) FromWaitResumedPayload added in v0.0.29

func (t *RunEventPayload) FromWaitResumedPayload(v WaitResumedPayload) error

FromWaitResumedPayload overwrites any union data inside the RunEventPayload as the provided WaitResumedPayload

func (*RunEventPayload) FromWaitTimedOutPayload added in v0.0.29

func (t *RunEventPayload) FromWaitTimedOutPayload(v WaitTimedOutPayload) error

FromWaitTimedOutPayload overwrites any union data inside the RunEventPayload as the provided WaitTimedOutPayload

func (RunEventPayload) MarshalJSON added in v0.0.29

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

func (*RunEventPayload) MergeActionCalledPayload added in v0.0.29

func (t *RunEventPayload) MergeActionCalledPayload(v ActionCalledPayload) error

MergeActionCalledPayload performs a merge with any union data inside the RunEventPayload, using the provided ActionCalledPayload

func (*RunEventPayload) MergeActionCompletedPayload added in v0.0.29

func (t *RunEventPayload) MergeActionCompletedPayload(v ActionCompletedPayload) error

MergeActionCompletedPayload performs a merge with any union data inside the RunEventPayload, using the provided ActionCompletedPayload

func (*RunEventPayload) MergeActionFailedPayload added in v0.0.29

func (t *RunEventPayload) MergeActionFailedPayload(v ActionFailedPayload) error

MergeActionFailedPayload performs a merge with any union data inside the RunEventPayload, using the provided ActionFailedPayload

func (*RunEventPayload) MergeActionResultPayload added in v0.0.29

func (t *RunEventPayload) MergeActionResultPayload(v ActionResultPayload) error

MergeActionResultPayload performs a merge with any union data inside the RunEventPayload, using the provided ActionResultPayload

func (*RunEventPayload) MergeActionRetriedPayload added in v0.0.29

func (t *RunEventPayload) MergeActionRetriedPayload(v ActionRetriedPayload) error

MergeActionRetriedPayload performs a merge with any union data inside the RunEventPayload, using the provided ActionRetriedPayload

func (*RunEventPayload) MergeArtifactCreatedPayload added in v0.0.29

func (t *RunEventPayload) MergeArtifactCreatedPayload(v ArtifactCreatedPayload) error

MergeArtifactCreatedPayload performs a merge with any union data inside the RunEventPayload, using the provided ArtifactCreatedPayload

func (*RunEventPayload) MergeBudgetExceededPayload added in v0.0.29

func (t *RunEventPayload) MergeBudgetExceededPayload(v BudgetExceededPayload) error

MergeBudgetExceededPayload performs a merge with any union data inside the RunEventPayload, using the provided BudgetExceededPayload

func (*RunEventPayload) MergeCheckVerdictPayload added in v0.0.29

func (t *RunEventPayload) MergeCheckVerdictPayload(v CheckVerdictPayload) error

MergeCheckVerdictPayload performs a merge with any union data inside the RunEventPayload, using the provided CheckVerdictPayload

func (*RunEventPayload) MergeGenericEventPayload added in v0.0.29

func (t *RunEventPayload) MergeGenericEventPayload(v GenericEventPayload) error

MergeGenericEventPayload performs a merge with any union data inside the RunEventPayload, using the provided GenericEventPayload

func (*RunEventPayload) MergeInteractionRespondedPayload added in v0.0.29

func (t *RunEventPayload) MergeInteractionRespondedPayload(v InteractionRespondedPayload) error

MergeInteractionRespondedPayload performs a merge with any union data inside the RunEventPayload, using the provided InteractionRespondedPayload

func (*RunEventPayload) MergeLimitReachedPayload added in v0.0.29

func (t *RunEventPayload) MergeLimitReachedPayload(v LimitReachedPayload) error

MergeLimitReachedPayload performs a merge with any union data inside the RunEventPayload, using the provided LimitReachedPayload

func (*RunEventPayload) MergeProgressStalledPayload added in v0.0.29

func (t *RunEventPayload) MergeProgressStalledPayload(v ProgressStalledPayload) error

MergeProgressStalledPayload performs a merge with any union data inside the RunEventPayload, using the provided ProgressStalledPayload

func (*RunEventPayload) MergeRunCancelledPayload added in v0.0.29

func (t *RunEventPayload) MergeRunCancelledPayload(v RunCancelledPayload) error

MergeRunCancelledPayload performs a merge with any union data inside the RunEventPayload, using the provided RunCancelledPayload

func (*RunEventPayload) MergeRunCompletedPayload added in v0.0.29

func (t *RunEventPayload) MergeRunCompletedPayload(v RunCompletedPayload) error

MergeRunCompletedPayload performs a merge with any union data inside the RunEventPayload, using the provided RunCompletedPayload

func (*RunEventPayload) MergeRunFailedPayload added in v0.0.29

func (t *RunEventPayload) MergeRunFailedPayload(v RunFailedPayload) error

MergeRunFailedPayload performs a merge with any union data inside the RunEventPayload, using the provided RunFailedPayload

func (*RunEventPayload) MergeRunResumedPayload added in v0.0.29

func (t *RunEventPayload) MergeRunResumedPayload(v RunResumedPayload) error

MergeRunResumedPayload performs a merge with any union data inside the RunEventPayload, using the provided RunResumedPayload

func (*RunEventPayload) MergeRunStartedPayload added in v0.0.29

func (t *RunEventPayload) MergeRunStartedPayload(v RunStartedPayload) error

MergeRunStartedPayload performs a merge with any union data inside the RunEventPayload, using the provided RunStartedPayload

func (*RunEventPayload) MergeStepCompletedPayload added in v0.0.29

func (t *RunEventPayload) MergeStepCompletedPayload(v StepCompletedPayload) error

MergeStepCompletedPayload performs a merge with any union data inside the RunEventPayload, using the provided StepCompletedPayload

func (*RunEventPayload) MergeStepFailedPayload added in v0.0.29

func (t *RunEventPayload) MergeStepFailedPayload(v StepFailedPayload) error

MergeStepFailedPayload performs a merge with any union data inside the RunEventPayload, using the provided StepFailedPayload

func (*RunEventPayload) MergeStepResumedPayload added in v0.0.29

func (t *RunEventPayload) MergeStepResumedPayload(v StepResumedPayload) error

MergeStepResumedPayload performs a merge with any union data inside the RunEventPayload, using the provided StepResumedPayload

func (*RunEventPayload) MergeStepRetriedPayload added in v0.0.29

func (t *RunEventPayload) MergeStepRetriedPayload(v StepRetriedPayload) error

MergeStepRetriedPayload performs a merge with any union data inside the RunEventPayload, using the provided StepRetriedPayload

func (*RunEventPayload) MergeStepSkippedPayload added in v0.0.29

func (t *RunEventPayload) MergeStepSkippedPayload(v StepSkippedPayload) error

MergeStepSkippedPayload performs a merge with any union data inside the RunEventPayload, using the provided StepSkippedPayload

func (*RunEventPayload) MergeStepStartedPayload added in v0.0.29

func (t *RunEventPayload) MergeStepStartedPayload(v StepStartedPayload) error

MergeStepStartedPayload performs a merge with any union data inside the RunEventPayload, using the provided StepStartedPayload

func (*RunEventPayload) MergeWaitPayload added in v0.0.29

func (t *RunEventPayload) MergeWaitPayload(v WaitPayload) error

MergeWaitPayload performs a merge with any union data inside the RunEventPayload, using the provided WaitPayload

func (*RunEventPayload) MergeWaitResumedPayload added in v0.0.29

func (t *RunEventPayload) MergeWaitResumedPayload(v WaitResumedPayload) error

MergeWaitResumedPayload performs a merge with any union data inside the RunEventPayload, using the provided WaitResumedPayload

func (*RunEventPayload) MergeWaitTimedOutPayload added in v0.0.29

func (t *RunEventPayload) MergeWaitTimedOutPayload(v WaitTimedOutPayload) error

MergeWaitTimedOutPayload performs a merge with any union data inside the RunEventPayload, using the provided WaitTimedOutPayload

func (*RunEventPayload) UnmarshalJSON added in v0.0.29

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

type RunFailedPayload added in v0.0.29

type RunFailedPayload struct {
	Error                *string                `json:"error,omitempty"`
	ErrorType            *string                `json:"error_type,omitempty"`
	Step                 *string                `json:"step,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

RunFailedPayload defines model for RunFailedPayload.

func (RunFailedPayload) Get added in v0.0.29

func (a RunFailedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for RunFailedPayload. Returns the specified element and whether it was found

func (RunFailedPayload) MarshalJSON added in v0.0.29

func (a RunFailedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for RunFailedPayload to handle AdditionalProperties

func (*RunFailedPayload) Set added in v0.0.29

func (a *RunFailedPayload) Set(fieldName string, value interface{})

Setter for additional properties for RunFailedPayload

func (*RunFailedPayload) UnmarshalJSON added in v0.0.29

func (a *RunFailedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for RunFailedPayload to handle AdditionalProperties

type RunNameSpec added in v0.0.42

type RunNameSpec struct {
	// DescriptionTemplate Optional `${{ event.* }}`, `${{ meta.* }}`, and `${{ config.* }}` template rendered as secondary descriptive text when the run is created.
	DescriptionTemplate *string `json:"description_template,omitempty"`

	// Template `${{ event.* }}`, `${{ meta.* }}`, and `${{ config.* }}` template rendered as the run title when the run is created. When blank, the run title falls back to the loop name. This property remains required for compatibility, but may be blank when only description_template is configured. Send empty title and description templates in an update to clear the run display configuration.
	Template string `json:"template"`
}

RunNameSpec Templates for assigning an operator-facing title and optional description to each run. The object form leaves room for additional naming strategies without changing the loop spec shape.

type RunResumedPayload added in v0.0.29

type RunResumedPayload struct {
	Attempt              *int                             `json:"attempt,omitempty"`
	Reason               *string                          `json:"reason,omitempty"`
	RecoveryAction       *RunResumedPayloadRecoveryAction `json:"recovery_action,omitempty"`
	Step                 *string                          `json:"step,omitempty"`
	AdditionalProperties map[string]interface{}           `json:"-"`
}

RunResumedPayload defines model for RunResumedPayload.

func (RunResumedPayload) Get added in v0.0.29

func (a RunResumedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for RunResumedPayload. Returns the specified element and whether it was found

func (RunResumedPayload) MarshalJSON added in v0.0.29

func (a RunResumedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for RunResumedPayload to handle AdditionalProperties

func (*RunResumedPayload) Set added in v0.0.29

func (a *RunResumedPayload) Set(fieldName string, value interface{})

Setter for additional properties for RunResumedPayload

func (*RunResumedPayload) UnmarshalJSON added in v0.0.29

func (a *RunResumedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for RunResumedPayload to handle AdditionalProperties

type RunResumedPayloadRecoveryAction added in v0.0.41

type RunResumedPayloadRecoveryAction string

RunResumedPayloadRecoveryAction defines model for RunResumedPayload.RecoveryAction.

const (
	RunResumedPayloadRecoveryActionResume RunResumedPayloadRecoveryAction = "resume"
	RunResumedPayloadRecoveryActionRetry  RunResumedPayloadRecoveryAction = "retry"
)

Defines values for RunResumedPayloadRecoveryAction.

func (RunResumedPayloadRecoveryAction) Valid added in v0.0.41

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

type RunStartedPayload added in v0.0.29

type RunStartedPayload struct {
	LoopId               *string                `json:"loop_id,omitempty"`
	LoopVersionId        *string                `json:"loop_version_id,omitempty"`
	SourceEventId        *string                `json:"source_event_id,omitempty"`
	TriggerId            *string                `json:"trigger_id,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

RunStartedPayload defines model for RunStartedPayload.

func (RunStartedPayload) Get added in v0.0.29

func (a RunStartedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for RunStartedPayload. Returns the specified element and whether it was found

func (RunStartedPayload) MarshalJSON added in v0.0.29

func (a RunStartedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for RunStartedPayload to handle AdditionalProperties

func (*RunStartedPayload) Set added in v0.0.29

func (a *RunStartedPayload) Set(fieldName string, value interface{})

Setter for additional properties for RunStartedPayload

func (*RunStartedPayload) UnmarshalJSON added in v0.0.29

func (a *RunStartedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for RunStartedPayload to handle AdditionalProperties

type RuntimeContext added in v0.0.48

type RuntimeContext = []RuntimeContextItem

RuntimeContext Ordered application-owned runtime context for this turn. Send the full current value for each named item. Mobius records an item only on first use, material change, or after compaction removes its prior value from the active model window. Omitting a name leaves its last value standing; send an explicit value such as `none` to clear application state. Names must be unique within the request. Content is limited to 8,192 UTF-8 bytes per item and 16,384 bytes total.

Context remains at contextual authority and cannot grant permissions. A retry using the same `idempotency_key` returns the original turn and ignores any newly supplied context.

type RuntimeContextItem added in v0.0.48

type RuntimeContextItem struct {
	// Content Current value of this context, rendered verbatim to the model. OpenAPI `maxLength` counts Unicode code points; Mobius separately enforces an 8,192-byte UTF-8 limit server-side.
	Content string `json:"content"`

	// Name Stable application-defined context name. Delivered to the model namespaced as `app-<name>`. Supply the application name without that namespace; for example, `app-board` is delivered as `app-app-board`.
	Name string `json:"name"`
}

RuntimeContextItem defines model for RuntimeContextItem.

type SaveAgentMemoryEntryJSONRequestBody added in v0.0.36

type SaveAgentMemoryEntryJSONRequestBody = SaveAgentMemoryEntryRequest

SaveAgentMemoryEntryJSONRequestBody defines body for SaveAgentMemoryEntry for application/json ContentType.

type SaveAgentMemoryEntryRequest added in v0.0.36

type SaveAgentMemoryEntryRequest struct {
	// Content The content to remember.
	Content string `json:"content"`

	// Importance Optional importance from 0 to 100; higher is kept longer during compaction.
	Importance *int `json:"importance,omitempty"`

	// Kind Classifies a memory entry. Kinds carry different retention and compaction semantics: facts and preferences are durable, episodes are the primary input to compaction, and a summary is the compacted product of other entries.
	Kind *MemoryKind `json:"kind,omitempty"`

	// Metadata Optional structured metadata to store alongside the memory.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Pinned Pin to exempt this memory from compaction.
	Pinned *bool `json:"pinned,omitempty"`

	// Summary Optional short one-line summary (≤140 chars) shown in the memory index.
	Summary *string `json:"summary,omitempty"`
}

SaveAgentMemoryEntryRequest Content for a memory entry. The key comes from the path.

type SaveAgentMemoryEntryResponse added in v0.0.36

type SaveAgentMemoryEntryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AgentMemoryEntry
	JSON201      *AgentMemoryEntry
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseSaveAgentMemoryEntryResponse added in v0.0.36

func ParseSaveAgentMemoryEntryResponse(rsp *http.Response) (*SaveAgentMemoryEntryResponse, error)

ParseSaveAgentMemoryEntryResponse parses an HTTP response from a SaveAgentMemoryEntryWithResponse call

func (SaveAgentMemoryEntryResponse) ContentType added in v0.0.36

func (r SaveAgentMemoryEntryResponse) ContentType() string

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

func (SaveAgentMemoryEntryResponse) Status added in v0.0.36

Status returns HTTPResponse.Status

func (SaveAgentMemoryEntryResponse) StatusCode added in v0.0.36

func (r SaveAgentMemoryEntryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SaveAgentMessagingBindingJSONRequestBody added in v0.0.22

type SaveAgentMessagingBindingJSONRequestBody = AgentMessagingBindingRequest

SaveAgentMessagingBindingJSONRequestBody defines body for SaveAgentMessagingBinding for application/json ContentType.

type SaveAgentMessagingBindingResponse added in v0.0.22

type SaveAgentMessagingBindingResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *AgentMessagingBinding
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseSaveAgentMessagingBindingResponse added in v0.0.22

func ParseSaveAgentMessagingBindingResponse(rsp *http.Response) (*SaveAgentMessagingBindingResponse, error)

ParseSaveAgentMessagingBindingResponse parses an HTTP response from a SaveAgentMessagingBindingWithResponse call

func (SaveAgentMessagingBindingResponse) ContentType added in v0.0.22

func (r SaveAgentMessagingBindingResponse) ContentType() string

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

func (SaveAgentMessagingBindingResponse) Status added in v0.0.22

Status returns HTTPResponse.Status

func (SaveAgentMessagingBindingResponse) StatusCode added in v0.0.22

func (r SaveAgentMessagingBindingResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ScheduleTriggerConfig added in v0.0.24

type ScheduleTriggerConfig struct {
	// Cron Standard five-field cron expression or descriptor such as `@hourly`.
	Cron *string `json:"cron,omitempty"`

	// Interval Go duration string such as `5m`, `1h`, or `24h`.
	Interval *string `json:"interval,omitempty"`

	// Timezone IANA time zone for cron schedules, such as `America/New_York`.
	Timezone *string `json:"timezone,omitempty"`
}

ScheduleTriggerConfig Configuration for `LoopSpec.triggers[]` entries with `kind` set to `schedule`. Provide exactly one of `cron` or `interval`; the compiler rejects configs that omit both or set both.

type SearchRowsRequest added in v0.0.19

type SearchRowsRequest struct {
	// Cursor Opaque cursor from a prior search response.
	Cursor *string `json:"cursor,omitempty"`

	// Filter Optional column equality or operator filter applied before search.
	Filter *map[string]interface{} `json:"filter,omitempty"`

	// Limit Maximum number of rows to return (1–100, default 20).
	Limit *int `json:"limit,omitempty"`

	// Mode Search mode. `keyword` uses token-prefix matching, `semantic` uses similarity over indexed row text, and `hybrid` combines both.
	Mode *SearchRowsRequestMode `json:"mode,omitempty"`

	// Query Search query. Hyphens and other punctuation split terms for keyword matching.
	Query string `json:"query"`
}

SearchRowsRequest defines model for SearchRowsRequest.

type SearchRowsRequestMode added in v0.0.29

type SearchRowsRequestMode string

SearchRowsRequestMode Search mode. `keyword` uses token-prefix matching, `semantic` uses similarity over indexed row text, and `hybrid` combines both.

const (
	SearchRowsRequestModeHybrid   SearchRowsRequestMode = "hybrid"
	SearchRowsRequestModeKeyword  SearchRowsRequestMode = "keyword"
	SearchRowsRequestModeSemantic SearchRowsRequestMode = "semantic"
)

Defines values for SearchRowsRequestMode.

func (SearchRowsRequestMode) Valid added in v0.0.29

func (e SearchRowsRequestMode) Valid() bool

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

type SearchTableRowsJSONRequestBody added in v0.0.20

type SearchTableRowsJSONRequestBody = SearchRowsRequest

SearchTableRowsJSONRequestBody defines body for SearchTableRows for application/json ContentType.

type SearchTableRowsResponse added in v0.0.20

type SearchTableRowsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TableRowSearchListResponse
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseSearchTableRowsResponse added in v0.0.20

func ParseSearchTableRowsResponse(rsp *http.Response) (*SearchTableRowsResponse, error)

ParseSearchTableRowsResponse parses an HTTP response from a SearchTableRowsWithResponse call

func (SearchTableRowsResponse) ContentType added in v0.0.21

func (r SearchTableRowsResponse) ContentType() string

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

func (SearchTableRowsResponse) Status added in v0.0.20

func (r SearchTableRowsResponse) Status() string

Status returns HTTPResponse.Status

func (SearchTableRowsResponse) StatusCode added in v0.0.20

func (r SearchTableRowsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ServiceUnavailable added in v0.0.19

type ServiceUnavailable = ErrorResponse

ServiceUnavailable Standard error envelope returned by API endpoints.

type Session added in v0.0.22

type Session struct {
	// AgentId Agent that owns this session.
	AgentId string `json:"agent_id"`

	// CacheCreationInputTotal Lifetime prompt-cache-write (cache creation) input-token total for this session.
	CacheCreationInputTotal int `json:"cache_creation_input_total"`

	// CacheReadInputTotal Lifetime prompt-cache-read input-token total for this session.
	CacheReadInputTotal int `json:"cache_read_input_total"`

	// CompactionPolicy Controls how a session's transcript is automatically summarized as it grows. On create the supplied fields are merged over the owning agent's default policy and the server defaults; on update they patch the session's current policy. Omitted fields keep their resolved values.
	CompactionPolicy *SessionCompactionPolicy `json:"compaction_policy,omitempty"`

	// CreatedAt Record creation timestamp.
	CreatedAt time.Time `json:"created_at"`

	// CreatedBy User who created this session, if attribution was captured.
	CreatedBy *string `json:"created_by,omitempty"`

	// ExpiresAt When a `bounded` session will expire if it stays idle, computed from its last message activity (`last_message_at`) and the retention TTL. Null for `standard` sessions and for bounded sessions with no activity yet. After this time the transcript is pruned and the session reads as deleted.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`

	// ForkedFromSequence Sequence number in the source session at which the fork was taken.
	ForkedFromSequence *int `json:"forked_from_sequence,omitempty"`

	// ForkedFromSessionId Source session this one was forked from, if any.
	ForkedFromSessionId *string `json:"forked_from_session_id,omitempty"`

	// Id Stable session identifier.
	Id string `json:"id"`

	// LastMessageAt Timestamp of the most recent message append; null before any messages are stored.
	LastMessageAt *time.Time `json:"last_message_at,omitempty"`

	// LatestCompaction Pointer to the latest compaction marker in a session's transcript. The marker is itself a transcript message (role `compaction`); everything at or below `covers_through_sequence` is summarized history.
	LatestCompaction *SessionCompactionBoundary `json:"latest_compaction,omitempty"`

	// MessageCount Total messages currently in the session, including compaction summaries.
	MessageCount int `json:"message_count"`

	// Metadata Free-form caller metadata.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Model Model the session most recently exchanged tokens with.
	Model *string `json:"model,omitempty"`

	// ModelProvider Provider for the recorded `model`.
	ModelProvider *string `json:"model_provider,omitempty"`

	// Origin Surface that created the session: `manual`, `api`, `loop`, or `interaction`.
	Origin SessionOrigin `json:"origin"`

	// Retention Controls how long a session is retained. Applied only when the session is first created (like `compaction_policy`); ignored when an existing session is resolved. `standard` is the default and keeps the session forever. `bounded` expires the session — pruning its transcript from every read path — once it has been idle past `ttl_seconds`. Kept for audit after expiry: a tombstone session row with its token totals, and the turn rows with their status, error, usage, and timings.
	//
	// `ttl_seconds` is required when `mode` is `bounded` and ignored for `standard`; the server validates this (a `oneOf` encoding was dropped because it only produced untyped union codegen without adding runtime enforcement in the generated Go/TypeScript clients).
	Retention *SessionRetentionPolicy `json:"retention,omitempty"`

	// Scope Boundary used to resolve named sessions: `agent` or `loop`.
	Scope SessionScope `json:"scope"`

	// ScopeName Deprecated legacy alias of `session_key`. Kept for compatibility while clients migrate to the canonical conversation-key field.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	ScopeName string `json:"scope_name"`

	// ScopeRefId Advanced provenance identifying the resource that owns the session namespace. Mobius derives this from `agent_id` for normal agent sessions.
	ScopeRefId string `json:"scope_ref_id"`

	// SessionKey Stable caller-assigned conversation key, unique within one agent.
	SessionKey string `json:"session_key"`

	// Status Durable conversation session status: `active`, `archived`, or `deleted`.
	Status SessionStatus `json:"status"`

	// ThinkingEffort Reasoning-effort level for a turn, lowest (`low`) to highest (`max`). Higher effort spends more tokens on reasoning, improving quality on hard tasks at the cost of latency and credits. Levels above what the resolved model supports are clamped down. Set on an agent it is the default; set on a session or loop step it overrides the agent default. `inherit` (or omitting the field) defers to the layer below — the agent default for a session/step, or the provider's own default when nothing sets a level.
	ThinkingEffort *ThinkingEffort `json:"thinking_effort,omitempty"`

	// Title Human-readable session title.
	Title string `json:"title"`

	// TokenInputTotal Lifetime fresh (uncached) input-token total for this session. Prompt-cache tokens are reported separately in `cache_read_input_total` and `cache_creation_input_total`.
	TokenInputTotal int `json:"token_input_total"`

	// TokenOutputTotal Lifetime output-token total reported for this session.
	TokenOutputTotal int `json:"token_output_total"`

	// UpdatedAt Last update timestamp.
	UpdatedAt time.Time `json:"updated_at"`

	// Version Optimistic-concurrency version. Increments on every mutation.
	Version int `json:"version"`

	// Visibility Visibility of the session in project surfaces: `project` or `private`.
	Visibility SessionVisibility `json:"visibility"`
}

Session Durable conversation transcript owned by an agent.

type SessionCompactionBoundary added in v0.0.29

type SessionCompactionBoundary struct {
	// CoversThroughSequence Highest message sequence this summary covers — the before/after boundary.
	CoversThroughSequence int `json:"covers_through_sequence"`

	// MessageId Id of the compaction summary message in the transcript.
	MessageId string `json:"message_id"`

	// Sequence Transcript sequence of the compaction marker itself.
	Sequence int `json:"sequence"`
}

SessionCompactionBoundary Pointer to the latest compaction marker in a session's transcript. The marker is itself a transcript message (role `compaction`); everything at or below `covers_through_sequence` is summarized history.

type SessionCompactionPolicy added in v0.0.29

type SessionCompactionPolicy struct {
	// Strategy `auto` (default) compacts automatically when the transcript crosses the model-relative `threshold` or exact `threshold_tokens` trigger. `manual` only compacts on an explicit compact request. `disabled` (alias `none`) never compacts.
	Strategy *SessionCompactionPolicyStrategy `json:"strategy,omitempty"`

	// SummaryModel Model used to produce compaction summaries.
	SummaryModel *string `json:"summary_model,omitempty"`

	// Threshold T-shirt size selecting when `auto` compaction triggers as a percentage of the session model's input context window: `xs` 10%, `sm` 20%, `md` 40%, `lg` 60%, and `xl` 80%. Unknown/custom models use a conservative 200k-token context window. `sm` is the default.
	Threshold *SessionCompactionThreshold `json:"threshold,omitempty"`

	// ThresholdTokens Exact estimated-token count at which `auto` compacts. Use this for advanced workloads that need a specific threshold rather than a model-relative preset. Mutually exclusive with `threshold`.
	ThresholdTokens *int64 `json:"threshold_tokens,omitempty"`
}

SessionCompactionPolicy Controls how a session's transcript is automatically summarized as it grows. On create the supplied fields are merged over the owning agent's default policy and the server defaults; on update they patch the session's current policy. Omitted fields keep their resolved values.

type SessionCompactionPolicyStrategy added in v0.0.29

type SessionCompactionPolicyStrategy string

SessionCompactionPolicyStrategy `auto` (default) compacts automatically when the transcript crosses the model-relative `threshold` or exact `threshold_tokens` trigger. `manual` only compacts on an explicit compact request. `disabled` (alias `none`) never compacts.

const (
	SessionCompactionPolicyStrategyAuto     SessionCompactionPolicyStrategy = "auto"
	SessionCompactionPolicyStrategyDisabled SessionCompactionPolicyStrategy = "disabled"
	SessionCompactionPolicyStrategyManual   SessionCompactionPolicyStrategy = "manual"
	SessionCompactionPolicyStrategyNone     SessionCompactionPolicyStrategy = "none"
)

Defines values for SessionCompactionPolicyStrategy.

func (SessionCompactionPolicyStrategy) Valid added in v0.0.29

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

type SessionCompactionThreshold added in v0.0.29

type SessionCompactionThreshold string

SessionCompactionThreshold T-shirt size selecting when `auto` compaction triggers as a percentage of the session model's input context window: `xs` 10%, `sm` 20%, `md` 40%, `lg` 60%, and `xl` 80%. Unknown/custom models use a conservative 200k-token context window. `sm` is the default.

const (
	SessionCompactionThresholdLg SessionCompactionThreshold = "lg"
	SessionCompactionThresholdMd SessionCompactionThreshold = "md"
	SessionCompactionThresholdSm SessionCompactionThreshold = "sm"
	SessionCompactionThresholdXl SessionCompactionThreshold = "xl"
	SessionCompactionThresholdXs SessionCompactionThreshold = "xs"
)

Defines values for SessionCompactionThreshold.

func (SessionCompactionThreshold) Valid added in v0.0.29

func (e SessionCompactionThreshold) Valid() bool

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

type SessionContentBlock added in v0.0.29

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

SessionContentBlock One content block in a session transcript message — the canonical, frozen JSON shape Mobius persists and replays, discriminated by `type`. The variants are `text`, `thinking`, `tool_use`, `tool_result`, and `image`, plus host-managed `reminder` blocks when caller runtime context is explicitly included. Each variant permits provider-specific extra fields (citations, signatures, cache hints, and the like), and unknown fields are preserved rather than rejected, so the transcript round-trips losslessly across providers.

func (SessionContentBlock) AsSessionImageBlock added in v0.0.29

func (t SessionContentBlock) AsSessionImageBlock() (SessionImageBlock, error)

AsSessionImageBlock returns the union data inside the SessionContentBlock as a SessionImageBlock

func (SessionContentBlock) AsSessionReminderBlock added in v0.0.48

func (t SessionContentBlock) AsSessionReminderBlock() (SessionReminderBlock, error)

AsSessionReminderBlock returns the union data inside the SessionContentBlock as a SessionReminderBlock

func (SessionContentBlock) AsSessionTextBlock added in v0.0.29

func (t SessionContentBlock) AsSessionTextBlock() (SessionTextBlock, error)

AsSessionTextBlock returns the union data inside the SessionContentBlock as a SessionTextBlock

func (SessionContentBlock) AsSessionThinkingBlock added in v0.0.29

func (t SessionContentBlock) AsSessionThinkingBlock() (SessionThinkingBlock, error)

AsSessionThinkingBlock returns the union data inside the SessionContentBlock as a SessionThinkingBlock

func (SessionContentBlock) AsSessionToolResultBlock added in v0.0.29

func (t SessionContentBlock) AsSessionToolResultBlock() (SessionToolResultBlock, error)

AsSessionToolResultBlock returns the union data inside the SessionContentBlock as a SessionToolResultBlock

func (SessionContentBlock) AsSessionToolUseBlock added in v0.0.29

func (t SessionContentBlock) AsSessionToolUseBlock() (SessionToolUseBlock, error)

AsSessionToolUseBlock returns the union data inside the SessionContentBlock as a SessionToolUseBlock

func (*SessionContentBlock) FromSessionImageBlock added in v0.0.29

func (t *SessionContentBlock) FromSessionImageBlock(v SessionImageBlock) error

FromSessionImageBlock overwrites any union data inside the SessionContentBlock as the provided SessionImageBlock

func (*SessionContentBlock) FromSessionReminderBlock added in v0.0.48

func (t *SessionContentBlock) FromSessionReminderBlock(v SessionReminderBlock) error

FromSessionReminderBlock overwrites any union data inside the SessionContentBlock as the provided SessionReminderBlock

func (*SessionContentBlock) FromSessionTextBlock added in v0.0.29

func (t *SessionContentBlock) FromSessionTextBlock(v SessionTextBlock) error

FromSessionTextBlock overwrites any union data inside the SessionContentBlock as the provided SessionTextBlock

func (*SessionContentBlock) FromSessionThinkingBlock added in v0.0.29

func (t *SessionContentBlock) FromSessionThinkingBlock(v SessionThinkingBlock) error

FromSessionThinkingBlock overwrites any union data inside the SessionContentBlock as the provided SessionThinkingBlock

func (*SessionContentBlock) FromSessionToolResultBlock added in v0.0.29

func (t *SessionContentBlock) FromSessionToolResultBlock(v SessionToolResultBlock) error

FromSessionToolResultBlock overwrites any union data inside the SessionContentBlock as the provided SessionToolResultBlock

func (*SessionContentBlock) FromSessionToolUseBlock added in v0.0.29

func (t *SessionContentBlock) FromSessionToolUseBlock(v SessionToolUseBlock) error

FromSessionToolUseBlock overwrites any union data inside the SessionContentBlock as the provided SessionToolUseBlock

func (SessionContentBlock) MarshalJSON added in v0.0.29

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

func (*SessionContentBlock) MergeSessionImageBlock added in v0.0.29

func (t *SessionContentBlock) MergeSessionImageBlock(v SessionImageBlock) error

MergeSessionImageBlock performs a merge with any union data inside the SessionContentBlock, using the provided SessionImageBlock

func (*SessionContentBlock) MergeSessionReminderBlock added in v0.0.48

func (t *SessionContentBlock) MergeSessionReminderBlock(v SessionReminderBlock) error

MergeSessionReminderBlock performs a merge with any union data inside the SessionContentBlock, using the provided SessionReminderBlock

func (*SessionContentBlock) MergeSessionTextBlock added in v0.0.29

func (t *SessionContentBlock) MergeSessionTextBlock(v SessionTextBlock) error

MergeSessionTextBlock performs a merge with any union data inside the SessionContentBlock, using the provided SessionTextBlock

func (*SessionContentBlock) MergeSessionThinkingBlock added in v0.0.29

func (t *SessionContentBlock) MergeSessionThinkingBlock(v SessionThinkingBlock) error

MergeSessionThinkingBlock performs a merge with any union data inside the SessionContentBlock, using the provided SessionThinkingBlock

func (*SessionContentBlock) MergeSessionToolResultBlock added in v0.0.29

func (t *SessionContentBlock) MergeSessionToolResultBlock(v SessionToolResultBlock) error

MergeSessionToolResultBlock performs a merge with any union data inside the SessionContentBlock, using the provided SessionToolResultBlock

func (*SessionContentBlock) MergeSessionToolUseBlock added in v0.0.29

func (t *SessionContentBlock) MergeSessionToolUseBlock(v SessionToolUseBlock) error

MergeSessionToolUseBlock performs a merge with any union data inside the SessionContentBlock, using the provided SessionToolUseBlock

func (*SessionContentBlock) UnmarshalJSON added in v0.0.29

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

type SessionIdParam added in v0.0.29

type SessionIdParam = string

SessionIdParam defines model for SessionIdParam.

type SessionImageBlock added in v0.0.29

type SessionImageBlock struct {
	// Source Provider-specific image source descriptor.
	Source               *map[string]interface{} `json:"source,omitempty"`
	Type                 SessionImageBlockType   `json:"type"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

SessionImageBlock An image block, e.g. multimodal caller input.

func (SessionImageBlock) Get added in v0.0.29

func (a SessionImageBlock) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for SessionImageBlock. Returns the specified element and whether it was found

func (SessionImageBlock) MarshalJSON added in v0.0.29

func (a SessionImageBlock) MarshalJSON() ([]byte, error)

Override default JSON handling for SessionImageBlock to handle AdditionalProperties

func (*SessionImageBlock) Set added in v0.0.29

func (a *SessionImageBlock) Set(fieldName string, value interface{})

Setter for additional properties for SessionImageBlock

func (*SessionImageBlock) UnmarshalJSON added in v0.0.29

func (a *SessionImageBlock) UnmarshalJSON(b []byte) error

Override default JSON handling for SessionImageBlock to handle AdditionalProperties

type SessionImageBlockType added in v0.0.29

type SessionImageBlockType string

SessionImageBlockType defines model for SessionImageBlock.Type.

const (
	SessionImageBlockTypeImage SessionImageBlockType = "image"
)

Defines values for SessionImageBlockType.

func (SessionImageBlockType) Valid added in v0.0.29

func (e SessionImageBlockType) Valid() bool

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

type SessionListResponse added in v0.0.22

type SessionListResponse struct {
	// HasMore True when more sessions exist past this page.
	HasMore *bool `json:"has_more,omitempty"`

	// Items The list of results for this page.
	Items []Session `json:"items"`

	// NextCursor Opaque cursor for the next page — pass back as `cursor`. Null when `has_more` is false.
	NextCursor *string `json:"next_cursor,omitempty"`
}

SessionListResponse defines model for SessionListResponse.

type SessionLiveSnapshot added in v0.0.29

type SessionLiveSnapshot struct {
	// Frames Live-only frame payloads in live_sequence order. Each item has the same shape as its SSE `data:` payload.
	Frames []map[string]interface{} `json:"frames"`

	// LastLiveSequence Highest live_sequence included in `frames`, or 0 when no live frames are available.
	LastLiveSequence int64  `json:"last_live_sequence"`
	SessionId        string `json:"session_id"`
	TurnId           string `json:"turn_id"`

	// UpdatedAt Server timestamp when the snapshot was last updated.
	UpdatedAt time.Time `json:"updated_at"`
}

SessionLiveSnapshot Ephemeral live transcript snapshot for an in-flight turn. Deployments with shared cache support make it available across backend replicas.

type SessionMessage added in v0.0.22

type SessionMessage struct {
	// AgentId Agent that owns the parent session.
	AgentId string `json:"agent_id"`

	// Content Ordered canonical content blocks (text, thinking, tool_use, tool_result, image).
	Content []SessionContentBlock `json:"content"`

	// CoversThroughSequence For `compaction` messages, the highest sequence number this summary covers.
	CoversThroughSequence *int `json:"covers_through_sequence,omitempty"`

	// CreatedAt Server timestamp when the message was appended.
	CreatedAt time.Time `json:"created_at"`

	// EntryType Transcript entry type: `message` or `compaction`.
	EntryType SessionMessageEntryType `json:"entry_type"`

	// Id Stable message identifier.
	Id string `json:"id"`

	// Metadata Free-form caller metadata for this message.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Role Message role: `system`, `user`, `assistant`, `tool`, or `compaction`.
	Role SessionMessageRole `json:"role"`

	// Sequence Monotonic per-session sequence number assigned at append time.
	Sequence int `json:"sequence"`

	// SessionId Session this message belongs to.
	SessionId string `json:"session_id"`

	// TurnId AgentTurn that produced this message. Run, step, and channel identity for the message are read from this turn. Absent for compaction summaries and messages not tied to a turn.
	TurnId *string `json:"turn_id,omitempty"`
}

SessionMessage One persisted message or compaction entry in a session transcript.

type SessionMessageEntryType added in v0.0.22

type SessionMessageEntryType string

SessionMessageEntryType Transcript entry type: `message` or `compaction`.

const (
	SessionMessageEntryTypeCompaction SessionMessageEntryType = "compaction"
	SessionMessageEntryTypeMessage    SessionMessageEntryType = "message"
)

Defines values for SessionMessageEntryType.

func (SessionMessageEntryType) Valid added in v0.0.22

func (e SessionMessageEntryType) Valid() bool

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

type SessionMessageListResponse added in v0.0.22

type SessionMessageListResponse struct {
	// HasMore True when more messages exist past this page in the query's scan direction.
	HasMore *bool `json:"has_more,omitempty"`

	// Items Messages in this page, ordered by `sequence` ascending.
	Items []SessionMessage `json:"items"`

	// NextSequence Sequence of the last (highest) item — pass back as `after_sequence` to page forward (newer).
	NextSequence *int64 `json:"next_sequence,omitempty"`

	// PrevSequence Sequence of the first (lowest) item — pass back as `before_sequence` with `order=desc` to page backward (older). After paginating history, open the stream with `after_sequence=next_sequence` to receive the in-flight turn and everything after it — the stream and the messages API share one `sequence` cursor, so there is no overlap and no gap.
	PrevSequence *int64 `json:"prev_sequence,omitempty"`
}

SessionMessageListResponse defines model for SessionMessageListResponse.

type SessionMessagePreviewFrame added in v0.0.29

type SessionMessagePreviewFrame struct {
	// AgentId Agent that owns the parent session, when known.
	AgentId *string `json:"agent_id,omitempty"`

	// Content Ordered content blocks using the same canonical block shape as SessionMessage.
	Content []SessionContentBlock `json:"content"`

	// EmittedAt Server timestamp when this live preview frame was emitted.
	EmittedAt *time.Time `json:"emitted_at,omitempty"`

	// EntryType Transcript entry type: `message` or `compaction`.
	EntryType SessionMessageEntryType             `json:"entry_type"`
	EventType SessionMessagePreviewFrameEventType `json:"event_type"`

	// Id Provisional live id. Do not persist or use as the durable message id.
	Id string `json:"id"`

	// LiveSequence Monotonic per-turn sequence across all live-only session frames; use to detect dropped live frames.
	LiveSequence *int64 `json:"live_sequence,omitempty"`

	// Metadata Must include `response_message_index`, the handoff key shared with the durable transcript row.
	Metadata map[string]interface{} `json:"metadata"`

	// Role Message role: `system`, `user`, `assistant`, `tool`, or `compaction`.
	Role SessionMessageRole `json:"role"`

	// RunId Loop run that produced the preview, when applicable.
	RunId *string `json:"run_id,omitempty"`

	// SessionId Session this preview belongs to.
	SessionId string `json:"session_id"`

	// TurnId Agent turn that produced the preview.
	TurnId               string                 `json:"turn_id"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

SessionMessagePreviewFrame Live-only, SessionMessage-compatible transcript preview for an in-flight agent response segment. It carries no durable `seq`, transcript `sequence`, or stable `message_id`; the committed row later replaces it by `turn_id` plus `metadata.response_message_index`.

func (SessionMessagePreviewFrame) Get added in v0.0.29

func (a SessionMessagePreviewFrame) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for SessionMessagePreviewFrame. Returns the specified element and whether it was found

func (SessionMessagePreviewFrame) MarshalJSON added in v0.0.29

func (a SessionMessagePreviewFrame) MarshalJSON() ([]byte, error)

Override default JSON handling for SessionMessagePreviewFrame to handle AdditionalProperties

func (*SessionMessagePreviewFrame) Set added in v0.0.29

func (a *SessionMessagePreviewFrame) Set(fieldName string, value interface{})

Setter for additional properties for SessionMessagePreviewFrame

func (*SessionMessagePreviewFrame) UnmarshalJSON added in v0.0.29

func (a *SessionMessagePreviewFrame) UnmarshalJSON(b []byte) error

Override default JSON handling for SessionMessagePreviewFrame to handle AdditionalProperties

type SessionMessagePreviewFrameEventType added in v0.0.29

type SessionMessagePreviewFrameEventType string

SessionMessagePreviewFrameEventType defines model for SessionMessagePreviewFrame.EventType.

const (
	SessionMessagePreviewFrameEventTypeSessionMessagePreview SessionMessagePreviewFrameEventType = "session.message.preview"
)

Defines values for SessionMessagePreviewFrameEventType.

func (SessionMessagePreviewFrameEventType) Valid added in v0.0.29

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

type SessionMessageRole added in v0.0.22

type SessionMessageRole string

SessionMessageRole Message role: `system`, `user`, `assistant`, `tool`, or `compaction`.

const (
	SessionMessageRoleAssistant  SessionMessageRole = "assistant"
	SessionMessageRoleCompaction SessionMessageRole = "compaction"
	SessionMessageRoleSystem     SessionMessageRole = "system"
	SessionMessageRoleTool       SessionMessageRole = "tool"
	SessionMessageRoleUser       SessionMessageRole = "user"
)

Defines values for SessionMessageRole.

func (SessionMessageRole) Valid added in v0.0.22

func (e SessionMessageRole) Valid() bool

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

type SessionNudge added in v0.0.42

type SessionNudge struct {
	CancelledAt *time.Time `json:"cancelled_at,omitempty"`

	// Content Exact user direction supplied when the nudge was queued.
	Content     string     `json:"content"`
	CreatedAt   time.Time  `json:"created_at"`
	DeliveredAt *time.Time `json:"delivered_at,omitempty"`

	// Delivery `current_turn` means the input targets an in-flight turn; `new_turn` means Mobius queued a direct-session turn because none was nudgeable.
	Delivery SessionNudgeDelivery `json:"delivery"`

	// Id Stable nudge identifier.
	Id string `json:"id"`

	// SenderPrincipalId Principal that queued the nudge.
	SenderPrincipalId string `json:"sender_principal_id"`

	// Status Durable nudge queue lifecycle status.
	Status SessionNudgeStatus `json:"status"`
	Turn   SessionNudgeTurn   `json:"turn"`
}

SessionNudge defines model for SessionNudge.

type SessionNudgeAck added in v0.0.42

type SessionNudgeAck struct {
	// AfterSequence Current transcript sequence cursor for following the target turn.
	AfterSequence int64 `json:"after_sequence"`

	// Deduped True when an existing idempotent nudge request was returned.
	Deduped bool `json:"deduped"`

	// Delivery `current_turn` means the input targets an in-flight turn; `new_turn` means Mobius queued a direct-session turn because none was nudgeable.
	Delivery SessionNudgeDelivery `json:"delivery"`

	// NudgeId Stable id of the durable nudge mailbox row.
	NudgeId string `json:"nudge_id"`

	// Session Durable conversation transcript owned by an agent.
	Session Session `json:"session"`

	// Turn One attempt of an agent running the agent loop — the unit that produces a transcript. A turn is triggered by a direct send to the session, a loop step (run_id + step_key), or an inbound channel message (channel_exchange_id). Its messages are read via the turn's transcript endpoint.
	Turn AgentTurn `json:"turn"`

	// WokeTurn True when wake interrupted a waiting tool and requeued this turn.
	WokeTurn bool `json:"woke_turn"`
}

SessionNudgeAck defines model for SessionNudgeAck.

type SessionNudgeDelivery added in v0.0.42

type SessionNudgeDelivery string

SessionNudgeDelivery `current_turn` means the input targets an in-flight turn; `new_turn` means Mobius queued a direct-session turn because none was nudgeable.

const (
	SessionNudgeDeliveryCurrentTurn SessionNudgeDelivery = "current_turn"
	SessionNudgeDeliveryNewTurn     SessionNudgeDelivery = "new_turn"
)

Defines values for SessionNudgeDelivery.

func (SessionNudgeDelivery) Valid added in v0.0.42

func (e SessionNudgeDelivery) Valid() bool

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

type SessionNudgeListResponse added in v0.0.42

type SessionNudgeListResponse struct {
	HasMore bool           `json:"has_more"`
	Items   []SessionNudge `json:"items"`

	// NextCursor Opaque continuation cursor, or null at the end.
	NextCursor *string `json:"next_cursor,omitempty"`
}

SessionNudgeListResponse defines model for SessionNudgeListResponse.

type SessionNudgeStatus added in v0.0.42

type SessionNudgeStatus string

SessionNudgeStatus Durable nudge queue lifecycle status.

const (
	SessionNudgeStatusCancelled SessionNudgeStatus = "cancelled"
	SessionNudgeStatusDelivered SessionNudgeStatus = "delivered"
	SessionNudgeStatusPending   SessionNudgeStatus = "pending"
)

Defines values for SessionNudgeStatus.

func (SessionNudgeStatus) Valid added in v0.0.42

func (e SessionNudgeStatus) Valid() bool

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

type SessionNudgeTurn added in v0.0.42

type SessionNudgeTurn struct {
	Id string `json:"id"`

	// Status Agent turn lifecycle status: `queued`, `running`, `waiting`, `completed`, `failed`, or `cancelled`.
	Status AgentTurnStatus `json:"status"`
}

SessionNudgeTurn defines model for SessionNudgeTurn.

type SessionOrigin added in v0.0.22

type SessionOrigin string

SessionOrigin Surface that created the session: `manual`, `api`, `loop`, or `interaction`.

const (
	SessionOriginApi         SessionOrigin = "api"
	SessionOriginInteraction SessionOrigin = "interaction"
	SessionOriginLoop        SessionOrigin = "loop"
	SessionOriginManual      SessionOrigin = "manual"
)

Defines values for SessionOrigin.

func (SessionOrigin) Valid added in v0.0.22

func (e SessionOrigin) Valid() bool

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

type SessionReminderBlock added in v0.0.48

type SessionReminderBlock struct {
	// Content Reminder content rendered to the model.
	Content string `json:"content"`

	// Name Model-visible reminder name, including the `app-` namespace.
	Name string `json:"name"`

	// Tier Reminder authority tier.
	Tier                 SessionReminderBlockTier `json:"tier"`
	Type                 SessionReminderBlockType `json:"type"`
	AdditionalProperties map[string]interface{}   `json:"-"`
}

SessionReminderBlock Host-managed runtime context returned only when the request explicitly includes caller-supplied context.

func (SessionReminderBlock) Get added in v0.0.48

func (a SessionReminderBlock) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for SessionReminderBlock. Returns the specified element and whether it was found

func (SessionReminderBlock) MarshalJSON added in v0.0.48

func (a SessionReminderBlock) MarshalJSON() ([]byte, error)

Override default JSON handling for SessionReminderBlock to handle AdditionalProperties

func (*SessionReminderBlock) Set added in v0.0.48

func (a *SessionReminderBlock) Set(fieldName string, value interface{})

Setter for additional properties for SessionReminderBlock

func (*SessionReminderBlock) UnmarshalJSON added in v0.0.48

func (a *SessionReminderBlock) UnmarshalJSON(b []byte) error

Override default JSON handling for SessionReminderBlock to handle AdditionalProperties

type SessionReminderBlockTier added in v0.0.48

type SessionReminderBlockTier string

SessionReminderBlockTier Reminder authority tier.

const (
	SessionReminderBlockTierContextual SessionReminderBlockTier = "contextual"
	SessionReminderBlockTierOperator   SessionReminderBlockTier = "operator"
)

Defines values for SessionReminderBlockTier.

func (SessionReminderBlockTier) Valid added in v0.0.48

func (e SessionReminderBlockTier) Valid() bool

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

type SessionReminderBlockType added in v0.0.48

type SessionReminderBlockType string

SessionReminderBlockType defines model for SessionReminderBlock.Type.

const (
	SessionReminderBlockTypeReminder SessionReminderBlockType = "reminder"
)

Defines values for SessionReminderBlockType.

func (SessionReminderBlockType) Valid added in v0.0.48

func (e SessionReminderBlockType) Valid() bool

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

type SessionResolvedAction added in v0.0.45

type SessionResolvedAction struct {
	// Input Resolved action arguments. Meta-router command wrappers are removed.
	Input map[string]interface{} `json:"input"`

	// Name Canonical project action name, before provider-safe wire-name mangling.
	Name string `json:"name"`
}

SessionResolvedAction Canonical project action resolved by a catalog tool dispatch.

type SessionResyncFrame added in v0.0.29

type SessionResyncFrame struct {
	EventType SessionResyncFrameEventType `json:"event_type"`

	// Reason Machine-readable resync reason, e.g. `subscriber_overflow`.
	Reason    string `json:"reason"`
	SessionId string `json:"session_id"`
}

SessionResyncFrame Live-only marker asking the client to reconcile the active turn from the live snapshot endpoint.

type SessionResyncFrameEventType added in v0.0.29

type SessionResyncFrameEventType string

SessionResyncFrameEventType defines model for SessionResyncFrame.EventType.

const (
	SessionResyncFrameEventTypeSessionResync SessionResyncFrameEventType = "session.resync"
)

Defines values for SessionResyncFrameEventType.

func (SessionResyncFrameEventType) Valid added in v0.0.29

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

type SessionRetentionPolicy added in v0.0.51

type SessionRetentionPolicy struct {
	// Mode `standard` (default) retains the session indefinitely. `bounded` expires the session after it has been idle for `ttl_seconds`.
	Mode SessionRetentionPolicyMode `json:"mode"`

	// TtlSeconds Idle lifetime in seconds; required when `mode` is `bounded` and ignored otherwise. Measured from the last message activity (`last_message_at`), not session creation — continuing the session before it expires simply extends its life. Minimum 1 hour, maximum 30 days. The 1-hour floor keeps a caller's idempotency window comfortably inside the retention window: after expiry a retried idempotency key mints a fresh session rather than deduplicating against a pruned one.
	TtlSeconds *int64 `json:"ttl_seconds,omitempty"`
}

SessionRetentionPolicy Controls how long a session is retained. Applied only when the session is first created (like `compaction_policy`); ignored when an existing session is resolved. `standard` is the default and keeps the session forever. `bounded` expires the session — pruning its transcript from every read path — once it has been idle past `ttl_seconds`. Kept for audit after expiry: a tombstone session row with its token totals, and the turn rows with their status, error, usage, and timings.

`ttl_seconds` is required when `mode` is `bounded` and ignored for `standard`; the server validates this (a `oneOf` encoding was dropped because it only produced untyped union codegen without adding runtime enforcement in the generated Go/TypeScript clients).

type SessionRetentionPolicyMode added in v0.0.51

type SessionRetentionPolicyMode string

SessionRetentionPolicyMode `standard` (default) retains the session indefinitely. `bounded` expires the session after it has been idle for `ttl_seconds`.

const (
	SessionRetentionPolicyModeBounded  SessionRetentionPolicyMode = "bounded"
	SessionRetentionPolicyModeStandard SessionRetentionPolicyMode = "standard"
)

Defines values for SessionRetentionPolicyMode.

func (SessionRetentionPolicyMode) Valid added in v0.0.51

func (e SessionRetentionPolicyMode) Valid() bool

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

type SessionScope added in v0.0.22

type SessionScope string

SessionScope Boundary used to resolve named sessions: `agent` or `loop`.

const (
	SessionScopeAgent SessionScope = "agent"
	SessionScopeLoop  SessionScope = "loop"
)

Defines values for SessionScope.

func (SessionScope) Valid added in v0.0.22

func (e SessionScope) Valid() bool

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

type SessionStatus added in v0.0.22

type SessionStatus string

SessionStatus Durable conversation session status: `active`, `archived`, or `deleted`.

const (
	SessionStatusActive   SessionStatus = "active"
	SessionStatusArchived SessionStatus = "archived"
	SessionStatusDeleted  SessionStatus = "deleted"
)

Defines values for SessionStatus.

func (SessionStatus) Valid added in v0.0.22

func (e SessionStatus) Valid() bool

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

type SessionStreamFrame added in v0.0.29

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

SessionStreamFrame JSON payload of a single `data:` line on the session SSE stream, paired with an `event: <event type>` line.

The `event:` line is the authoritative frame selector. This union is reference-only: several payloads are structurally identical (e.g. `user.message` and `agent.message`) or permissive open objects, so the `data:` body alone cannot be shape-matched to a single variant. Consumers MUST dispatch on the `event:` name and decode the body as the corresponding payload — never validate the bare body against the union.

Durable message frames (`user.message`, `agent.message`, `compaction.created`) are replayed from the transcript and carry an SSE `id: <sequence>` — that `sequence` is the only cursor a client persists for `after_sequence` / `Last-Event-ID` resume. Terminal `turn.*` frames mark the active turn settling. `session.message.preview`, `session.resync`, `nudge.queued`, `nudge.delivered`, `nudge.cancelled`, `tool.call`, `tool.result`, and `generation.delta` frames are live-only and carry no `id:`. `stream.end` is the final envelope on every deliberate server-side close and also carries no `id:`.

func (SessionStreamFrame) AsAgentMessagePayload added in v0.0.29

func (t SessionStreamFrame) AsAgentMessagePayload() (AgentMessagePayload, error)

AsAgentMessagePayload returns the union data inside the SessionStreamFrame as a AgentMessagePayload

func (SessionStreamFrame) AsCompactionCreatedPayload added in v0.0.29

func (t SessionStreamFrame) AsCompactionCreatedPayload() (CompactionCreatedPayload, error)

AsCompactionCreatedPayload returns the union data inside the SessionStreamFrame as a CompactionCreatedPayload

func (SessionStreamFrame) AsGenerationDeltaFrame added in v0.0.29

func (t SessionStreamFrame) AsGenerationDeltaFrame() (GenerationDeltaFrame, error)

AsGenerationDeltaFrame returns the union data inside the SessionStreamFrame as a GenerationDeltaFrame

func (SessionStreamFrame) AsNudgeEventPayload added in v0.0.42

func (t SessionStreamFrame) AsNudgeEventPayload() (NudgeEventPayload, error)

AsNudgeEventPayload returns the union data inside the SessionStreamFrame as a NudgeEventPayload

func (SessionStreamFrame) AsSessionMessagePreviewFrame added in v0.0.29

func (t SessionStreamFrame) AsSessionMessagePreviewFrame() (SessionMessagePreviewFrame, error)

AsSessionMessagePreviewFrame returns the union data inside the SessionStreamFrame as a SessionMessagePreviewFrame

func (SessionStreamFrame) AsSessionResyncFrame added in v0.0.29

func (t SessionStreamFrame) AsSessionResyncFrame() (SessionResyncFrame, error)

AsSessionResyncFrame returns the union data inside the SessionStreamFrame as a SessionResyncFrame

func (SessionStreamFrame) AsSessionUserMessagePayload added in v0.0.29

func (t SessionStreamFrame) AsSessionUserMessagePayload() (SessionUserMessagePayload, error)

AsSessionUserMessagePayload returns the union data inside the SessionStreamFrame as a SessionUserMessagePayload

func (SessionStreamFrame) AsStreamEndFrame added in v0.0.43

func (t SessionStreamFrame) AsStreamEndFrame() (StreamEndFrame, error)

AsStreamEndFrame returns the union data inside the SessionStreamFrame as a StreamEndFrame

func (SessionStreamFrame) AsToolCallPayload added in v0.0.29

func (t SessionStreamFrame) AsToolCallPayload() (ToolCallPayload, error)

AsToolCallPayload returns the union data inside the SessionStreamFrame as a ToolCallPayload

func (SessionStreamFrame) AsToolResultPayload added in v0.0.29

func (t SessionStreamFrame) AsToolResultPayload() (ToolResultPayload, error)

AsToolResultPayload returns the union data inside the SessionStreamFrame as a ToolResultPayload

func (SessionStreamFrame) AsTurnCancelledPayload added in v0.0.29

func (t SessionStreamFrame) AsTurnCancelledPayload() (TurnCancelledPayload, error)

AsTurnCancelledPayload returns the union data inside the SessionStreamFrame as a TurnCancelledPayload

func (SessionStreamFrame) AsTurnCompletedPayload added in v0.0.29

func (t SessionStreamFrame) AsTurnCompletedPayload() (TurnCompletedPayload, error)

AsTurnCompletedPayload returns the union data inside the SessionStreamFrame as a TurnCompletedPayload

func (SessionStreamFrame) AsTurnFailedPayload added in v0.0.29

func (t SessionStreamFrame) AsTurnFailedPayload() (TurnFailedPayload, error)

AsTurnFailedPayload returns the union data inside the SessionStreamFrame as a TurnFailedPayload

func (SessionStreamFrame) AsTurnStartedPayload added in v0.0.29

func (t SessionStreamFrame) AsTurnStartedPayload() (TurnStartedPayload, error)

AsTurnStartedPayload returns the union data inside the SessionStreamFrame as a TurnStartedPayload

func (SessionStreamFrame) AsTurnWaitingPayload added in v0.0.29

func (t SessionStreamFrame) AsTurnWaitingPayload() (TurnWaitingPayload, error)

AsTurnWaitingPayload returns the union data inside the SessionStreamFrame as a TurnWaitingPayload

func (*SessionStreamFrame) FromAgentMessagePayload added in v0.0.29

func (t *SessionStreamFrame) FromAgentMessagePayload(v AgentMessagePayload) error

FromAgentMessagePayload overwrites any union data inside the SessionStreamFrame as the provided AgentMessagePayload

func (*SessionStreamFrame) FromCompactionCreatedPayload added in v0.0.29

func (t *SessionStreamFrame) FromCompactionCreatedPayload(v CompactionCreatedPayload) error

FromCompactionCreatedPayload overwrites any union data inside the SessionStreamFrame as the provided CompactionCreatedPayload

func (*SessionStreamFrame) FromGenerationDeltaFrame added in v0.0.29

func (t *SessionStreamFrame) FromGenerationDeltaFrame(v GenerationDeltaFrame) error

FromGenerationDeltaFrame overwrites any union data inside the SessionStreamFrame as the provided GenerationDeltaFrame

func (*SessionStreamFrame) FromNudgeEventPayload added in v0.0.42

func (t *SessionStreamFrame) FromNudgeEventPayload(v NudgeEventPayload) error

FromNudgeEventPayload overwrites any union data inside the SessionStreamFrame as the provided NudgeEventPayload

func (*SessionStreamFrame) FromSessionMessagePreviewFrame added in v0.0.29

func (t *SessionStreamFrame) FromSessionMessagePreviewFrame(v SessionMessagePreviewFrame) error

FromSessionMessagePreviewFrame overwrites any union data inside the SessionStreamFrame as the provided SessionMessagePreviewFrame

func (*SessionStreamFrame) FromSessionResyncFrame added in v0.0.29

func (t *SessionStreamFrame) FromSessionResyncFrame(v SessionResyncFrame) error

FromSessionResyncFrame overwrites any union data inside the SessionStreamFrame as the provided SessionResyncFrame

func (*SessionStreamFrame) FromSessionUserMessagePayload added in v0.0.29

func (t *SessionStreamFrame) FromSessionUserMessagePayload(v SessionUserMessagePayload) error

FromSessionUserMessagePayload overwrites any union data inside the SessionStreamFrame as the provided SessionUserMessagePayload

func (*SessionStreamFrame) FromStreamEndFrame added in v0.0.43

func (t *SessionStreamFrame) FromStreamEndFrame(v StreamEndFrame) error

FromStreamEndFrame overwrites any union data inside the SessionStreamFrame as the provided StreamEndFrame

func (*SessionStreamFrame) FromToolCallPayload added in v0.0.29

func (t *SessionStreamFrame) FromToolCallPayload(v ToolCallPayload) error

FromToolCallPayload overwrites any union data inside the SessionStreamFrame as the provided ToolCallPayload

func (*SessionStreamFrame) FromToolResultPayload added in v0.0.29

func (t *SessionStreamFrame) FromToolResultPayload(v ToolResultPayload) error

FromToolResultPayload overwrites any union data inside the SessionStreamFrame as the provided ToolResultPayload

func (*SessionStreamFrame) FromTurnCancelledPayload added in v0.0.29

func (t *SessionStreamFrame) FromTurnCancelledPayload(v TurnCancelledPayload) error

FromTurnCancelledPayload overwrites any union data inside the SessionStreamFrame as the provided TurnCancelledPayload

func (*SessionStreamFrame) FromTurnCompletedPayload added in v0.0.29

func (t *SessionStreamFrame) FromTurnCompletedPayload(v TurnCompletedPayload) error

FromTurnCompletedPayload overwrites any union data inside the SessionStreamFrame as the provided TurnCompletedPayload

func (*SessionStreamFrame) FromTurnFailedPayload added in v0.0.29

func (t *SessionStreamFrame) FromTurnFailedPayload(v TurnFailedPayload) error

FromTurnFailedPayload overwrites any union data inside the SessionStreamFrame as the provided TurnFailedPayload

func (*SessionStreamFrame) FromTurnStartedPayload added in v0.0.29

func (t *SessionStreamFrame) FromTurnStartedPayload(v TurnStartedPayload) error

FromTurnStartedPayload overwrites any union data inside the SessionStreamFrame as the provided TurnStartedPayload

func (*SessionStreamFrame) FromTurnWaitingPayload added in v0.0.29

func (t *SessionStreamFrame) FromTurnWaitingPayload(v TurnWaitingPayload) error

FromTurnWaitingPayload overwrites any union data inside the SessionStreamFrame as the provided TurnWaitingPayload

func (SessionStreamFrame) MarshalJSON added in v0.0.29

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

func (*SessionStreamFrame) MergeAgentMessagePayload added in v0.0.29

func (t *SessionStreamFrame) MergeAgentMessagePayload(v AgentMessagePayload) error

MergeAgentMessagePayload performs a merge with any union data inside the SessionStreamFrame, using the provided AgentMessagePayload

func (*SessionStreamFrame) MergeCompactionCreatedPayload added in v0.0.29

func (t *SessionStreamFrame) MergeCompactionCreatedPayload(v CompactionCreatedPayload) error

MergeCompactionCreatedPayload performs a merge with any union data inside the SessionStreamFrame, using the provided CompactionCreatedPayload

func (*SessionStreamFrame) MergeGenerationDeltaFrame added in v0.0.29

func (t *SessionStreamFrame) MergeGenerationDeltaFrame(v GenerationDeltaFrame) error

MergeGenerationDeltaFrame performs a merge with any union data inside the SessionStreamFrame, using the provided GenerationDeltaFrame

func (*SessionStreamFrame) MergeNudgeEventPayload added in v0.0.42

func (t *SessionStreamFrame) MergeNudgeEventPayload(v NudgeEventPayload) error

MergeNudgeEventPayload performs a merge with any union data inside the SessionStreamFrame, using the provided NudgeEventPayload

func (*SessionStreamFrame) MergeSessionMessagePreviewFrame added in v0.0.29

func (t *SessionStreamFrame) MergeSessionMessagePreviewFrame(v SessionMessagePreviewFrame) error

MergeSessionMessagePreviewFrame performs a merge with any union data inside the SessionStreamFrame, using the provided SessionMessagePreviewFrame

func (*SessionStreamFrame) MergeSessionResyncFrame added in v0.0.29

func (t *SessionStreamFrame) MergeSessionResyncFrame(v SessionResyncFrame) error

MergeSessionResyncFrame performs a merge with any union data inside the SessionStreamFrame, using the provided SessionResyncFrame

func (*SessionStreamFrame) MergeSessionUserMessagePayload added in v0.0.29

func (t *SessionStreamFrame) MergeSessionUserMessagePayload(v SessionUserMessagePayload) error

MergeSessionUserMessagePayload performs a merge with any union data inside the SessionStreamFrame, using the provided SessionUserMessagePayload

func (*SessionStreamFrame) MergeStreamEndFrame added in v0.0.43

func (t *SessionStreamFrame) MergeStreamEndFrame(v StreamEndFrame) error

MergeStreamEndFrame performs a merge with any union data inside the SessionStreamFrame, using the provided StreamEndFrame

func (*SessionStreamFrame) MergeToolCallPayload added in v0.0.29

func (t *SessionStreamFrame) MergeToolCallPayload(v ToolCallPayload) error

MergeToolCallPayload performs a merge with any union data inside the SessionStreamFrame, using the provided ToolCallPayload

func (*SessionStreamFrame) MergeToolResultPayload added in v0.0.29

func (t *SessionStreamFrame) MergeToolResultPayload(v ToolResultPayload) error

MergeToolResultPayload performs a merge with any union data inside the SessionStreamFrame, using the provided ToolResultPayload

func (*SessionStreamFrame) MergeTurnCancelledPayload added in v0.0.29

func (t *SessionStreamFrame) MergeTurnCancelledPayload(v TurnCancelledPayload) error

MergeTurnCancelledPayload performs a merge with any union data inside the SessionStreamFrame, using the provided TurnCancelledPayload

func (*SessionStreamFrame) MergeTurnCompletedPayload added in v0.0.29

func (t *SessionStreamFrame) MergeTurnCompletedPayload(v TurnCompletedPayload) error

MergeTurnCompletedPayload performs a merge with any union data inside the SessionStreamFrame, using the provided TurnCompletedPayload

func (*SessionStreamFrame) MergeTurnFailedPayload added in v0.0.29

func (t *SessionStreamFrame) MergeTurnFailedPayload(v TurnFailedPayload) error

MergeTurnFailedPayload performs a merge with any union data inside the SessionStreamFrame, using the provided TurnFailedPayload

func (*SessionStreamFrame) MergeTurnStartedPayload added in v0.0.29

func (t *SessionStreamFrame) MergeTurnStartedPayload(v TurnStartedPayload) error

MergeTurnStartedPayload performs a merge with any union data inside the SessionStreamFrame, using the provided TurnStartedPayload

func (*SessionStreamFrame) MergeTurnWaitingPayload added in v0.0.29

func (t *SessionStreamFrame) MergeTurnWaitingPayload(v TurnWaitingPayload) error

MergeTurnWaitingPayload performs a merge with any union data inside the SessionStreamFrame, using the provided TurnWaitingPayload

func (*SessionStreamFrame) UnmarshalJSON added in v0.0.29

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

type SessionTextBlock added in v0.0.29

type SessionTextBlock struct {
	// Text The text content.
	Text                 string                 `json:"text"`
	Type                 SessionTextBlockType   `json:"type"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

SessionTextBlock Assistant or caller text.

func (SessionTextBlock) Get added in v0.0.29

func (a SessionTextBlock) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for SessionTextBlock. Returns the specified element and whether it was found

func (SessionTextBlock) MarshalJSON added in v0.0.29

func (a SessionTextBlock) MarshalJSON() ([]byte, error)

Override default JSON handling for SessionTextBlock to handle AdditionalProperties

func (*SessionTextBlock) Set added in v0.0.29

func (a *SessionTextBlock) Set(fieldName string, value interface{})

Setter for additional properties for SessionTextBlock

func (*SessionTextBlock) UnmarshalJSON added in v0.0.29

func (a *SessionTextBlock) UnmarshalJSON(b []byte) error

Override default JSON handling for SessionTextBlock to handle AdditionalProperties

type SessionTextBlockType added in v0.0.29

type SessionTextBlockType string

SessionTextBlockType defines model for SessionTextBlock.Type.

const (
	SessionTextBlockTypeText SessionTextBlockType = "text"
)

Defines values for SessionTextBlockType.

func (SessionTextBlockType) Valid added in v0.0.29

func (e SessionTextBlockType) Valid() bool

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

type SessionThinkingBlock added in v0.0.29

type SessionThinkingBlock struct {
	// Signature Provider signature for the reasoning block, when present.
	Signature *string `json:"signature,omitempty"`

	// Thinking The reasoning text.
	Thinking             string                   `json:"thinking"`
	Type                 SessionThinkingBlockType `json:"type"`
	AdditionalProperties map[string]interface{}   `json:"-"`
}

SessionThinkingBlock An extended-reasoning block produced by a reasoning model.

func (SessionThinkingBlock) Get added in v0.0.29

func (a SessionThinkingBlock) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for SessionThinkingBlock. Returns the specified element and whether it was found

func (SessionThinkingBlock) MarshalJSON added in v0.0.29

func (a SessionThinkingBlock) MarshalJSON() ([]byte, error)

Override default JSON handling for SessionThinkingBlock to handle AdditionalProperties

func (*SessionThinkingBlock) Set added in v0.0.29

func (a *SessionThinkingBlock) Set(fieldName string, value interface{})

Setter for additional properties for SessionThinkingBlock

func (*SessionThinkingBlock) UnmarshalJSON added in v0.0.29

func (a *SessionThinkingBlock) UnmarshalJSON(b []byte) error

Override default JSON handling for SessionThinkingBlock to handle AdditionalProperties

type SessionThinkingBlockType added in v0.0.29

type SessionThinkingBlockType string

SessionThinkingBlockType defines model for SessionThinkingBlock.Type.

const (
	SessionThinkingBlockTypeThinking SessionThinkingBlockType = "thinking"
)

Defines values for SessionThinkingBlockType.

func (SessionThinkingBlockType) Valid added in v0.0.29

func (e SessionThinkingBlockType) Valid() bool

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

type SessionToolResultBlock added in v0.0.29

type SessionToolResultBlock struct {
	// Content Result payload — a string, or an array of typed sub-blocks using the same canonical block shape as a transcript message.
	Content *SessionToolResultBlock_Content `json:"content,omitempty"`

	// IsError True when the tool reported a failure.
	IsError *bool `json:"is_error,omitempty"`

	// ToolUseId The tool_use id this result answers.
	ToolUseId            string                     `json:"tool_use_id"`
	Type                 SessionToolResultBlockType `json:"type"`
	AdditionalProperties map[string]interface{}     `json:"-"`
}

SessionToolResultBlock The result of a tool call.

func (SessionToolResultBlock) Get added in v0.0.29

func (a SessionToolResultBlock) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for SessionToolResultBlock. Returns the specified element and whether it was found

func (SessionToolResultBlock) MarshalJSON added in v0.0.29

func (a SessionToolResultBlock) MarshalJSON() ([]byte, error)

Override default JSON handling for SessionToolResultBlock to handle AdditionalProperties

func (*SessionToolResultBlock) Set added in v0.0.29

func (a *SessionToolResultBlock) Set(fieldName string, value interface{})

Setter for additional properties for SessionToolResultBlock

func (*SessionToolResultBlock) UnmarshalJSON added in v0.0.29

func (a *SessionToolResultBlock) UnmarshalJSON(b []byte) error

Override default JSON handling for SessionToolResultBlock to handle AdditionalProperties

type SessionToolResultBlockContent0 added in v0.0.29

type SessionToolResultBlockContent0 = string

SessionToolResultBlockContent0 defines model for .

type SessionToolResultBlockContent1 added in v0.0.29

type SessionToolResultBlockContent1 = []SessionContentBlock

SessionToolResultBlockContent1 defines model for .

type SessionToolResultBlockType added in v0.0.29

type SessionToolResultBlockType string

SessionToolResultBlockType defines model for SessionToolResultBlock.Type.

const (
	SessionToolResultBlockTypeToolResult SessionToolResultBlockType = "tool_result"
)

Defines values for SessionToolResultBlockType.

func (SessionToolResultBlockType) Valid added in v0.0.29

func (e SessionToolResultBlockType) Valid() bool

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

type SessionToolResultBlock_Content added in v0.0.29

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

SessionToolResultBlock_Content Result payload — a string, or an array of typed sub-blocks using the same canonical block shape as a transcript message.

func (SessionToolResultBlock_Content) AsSessionToolResultBlockContent0 added in v0.0.29

func (t SessionToolResultBlock_Content) AsSessionToolResultBlockContent0() (SessionToolResultBlockContent0, error)

AsSessionToolResultBlockContent0 returns the union data inside the SessionToolResultBlock_Content as a SessionToolResultBlockContent0

func (SessionToolResultBlock_Content) AsSessionToolResultBlockContent1 added in v0.0.29

func (t SessionToolResultBlock_Content) AsSessionToolResultBlockContent1() (SessionToolResultBlockContent1, error)

AsSessionToolResultBlockContent1 returns the union data inside the SessionToolResultBlock_Content as a SessionToolResultBlockContent1

func (*SessionToolResultBlock_Content) FromSessionToolResultBlockContent0 added in v0.0.29

func (t *SessionToolResultBlock_Content) FromSessionToolResultBlockContent0(v SessionToolResultBlockContent0) error

FromSessionToolResultBlockContent0 overwrites any union data inside the SessionToolResultBlock_Content as the provided SessionToolResultBlockContent0

func (*SessionToolResultBlock_Content) FromSessionToolResultBlockContent1 added in v0.0.29

func (t *SessionToolResultBlock_Content) FromSessionToolResultBlockContent1(v SessionToolResultBlockContent1) error

FromSessionToolResultBlockContent1 overwrites any union data inside the SessionToolResultBlock_Content as the provided SessionToolResultBlockContent1

func (SessionToolResultBlock_Content) MarshalJSON added in v0.0.29

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

func (*SessionToolResultBlock_Content) MergeSessionToolResultBlockContent0 added in v0.0.29

func (t *SessionToolResultBlock_Content) MergeSessionToolResultBlockContent0(v SessionToolResultBlockContent0) error

MergeSessionToolResultBlockContent0 performs a merge with any union data inside the SessionToolResultBlock_Content, using the provided SessionToolResultBlockContent0

func (*SessionToolResultBlock_Content) MergeSessionToolResultBlockContent1 added in v0.0.29

func (t *SessionToolResultBlock_Content) MergeSessionToolResultBlockContent1(v SessionToolResultBlockContent1) error

MergeSessionToolResultBlockContent1 performs a merge with any union data inside the SessionToolResultBlock_Content, using the provided SessionToolResultBlockContent1

func (*SessionToolResultBlock_Content) UnmarshalJSON added in v0.0.29

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

type SessionToolUseBlock added in v0.0.29

type SessionToolUseBlock struct {
	// Id Tool-call id; the matching tool_result references it.
	Id string `json:"id"`

	// Input Tool input arguments.
	Input map[string]interface{} `json:"input"`

	// Name Tool name.
	Name string `json:"name"`

	// Progress Latest in-flight progress snapshot. Absent on final transcript rows.
	Progress *map[string]interface{} `json:"progress,omitempty"`

	// ResolvedAction Canonical project action resolved by a catalog tool dispatch.
	ResolvedAction *SessionResolvedAction `json:"resolved_action,omitempty"`

	// Status Known values are pending, running, ok, error, and cancelled; unknown values must be preserved.
	Status               *string                 `json:"status,omitempty"`
	Type                 SessionToolUseBlockType `json:"type"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

SessionToolUseBlock A tool call the agent issued.

func (SessionToolUseBlock) Get added in v0.0.29

func (a SessionToolUseBlock) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for SessionToolUseBlock. Returns the specified element and whether it was found

func (SessionToolUseBlock) MarshalJSON added in v0.0.29

func (a SessionToolUseBlock) MarshalJSON() ([]byte, error)

Override default JSON handling for SessionToolUseBlock to handle AdditionalProperties

func (*SessionToolUseBlock) Set added in v0.0.29

func (a *SessionToolUseBlock) Set(fieldName string, value interface{})

Setter for additional properties for SessionToolUseBlock

func (*SessionToolUseBlock) UnmarshalJSON added in v0.0.29

func (a *SessionToolUseBlock) UnmarshalJSON(b []byte) error

Override default JSON handling for SessionToolUseBlock to handle AdditionalProperties

type SessionToolUseBlockType added in v0.0.29

type SessionToolUseBlockType string

SessionToolUseBlockType defines model for SessionToolUseBlock.Type.

const (
	SessionToolUseBlockTypeToolUse SessionToolUseBlockType = "tool_use"
)

Defines values for SessionToolUseBlockType.

func (SessionToolUseBlockType) Valid added in v0.0.29

func (e SessionToolUseBlockType) Valid() bool

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

type SessionTranscriptFrame added in v0.0.43

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

SessionTranscriptFrame defines model for SessionTranscriptFrame.

func (SessionTranscriptFrame) AsInteractionUpsertFrame added in v0.0.50

func (t SessionTranscriptFrame) AsInteractionUpsertFrame() (InteractionUpsertFrame, error)

AsInteractionUpsertFrame returns the union data inside the SessionTranscriptFrame as a InteractionUpsertFrame

func (SessionTranscriptFrame) AsMessageBlockFrame added in v0.0.43

func (t SessionTranscriptFrame) AsMessageBlockFrame() (MessageBlockFrame, error)

AsMessageBlockFrame returns the union data inside the SessionTranscriptFrame as a MessageBlockFrame

func (SessionTranscriptFrame) AsMessageBlockPatchFrame added in v0.0.43

func (t SessionTranscriptFrame) AsMessageBlockPatchFrame() (MessageBlockPatchFrame, error)

AsMessageBlockPatchFrame returns the union data inside the SessionTranscriptFrame as a MessageBlockPatchFrame

func (SessionTranscriptFrame) AsMessageDeltaFrame added in v0.0.43

func (t SessionTranscriptFrame) AsMessageDeltaFrame() (MessageDeltaFrame, error)

AsMessageDeltaFrame returns the union data inside the SessionTranscriptFrame as a MessageDeltaFrame

func (SessionTranscriptFrame) AsMessageUpsertFrame added in v0.0.43

func (t SessionTranscriptFrame) AsMessageUpsertFrame() (MessageUpsertFrame, error)

AsMessageUpsertFrame returns the union data inside the SessionTranscriptFrame as a MessageUpsertFrame

func (SessionTranscriptFrame) AsStreamEndFrame added in v0.0.43

func (t SessionTranscriptFrame) AsStreamEndFrame() (StreamEndFrame, error)

AsStreamEndFrame returns the union data inside the SessionTranscriptFrame as a StreamEndFrame

func (SessionTranscriptFrame) AsStreamReadyFrame added in v0.0.43

func (t SessionTranscriptFrame) AsStreamReadyFrame() (StreamReadyFrame, error)

AsStreamReadyFrame returns the union data inside the SessionTranscriptFrame as a StreamReadyFrame

func (SessionTranscriptFrame) AsTurnUpsertFrame added in v0.0.43

func (t SessionTranscriptFrame) AsTurnUpsertFrame() (TurnUpsertFrame, error)

AsTurnUpsertFrame returns the union data inside the SessionTranscriptFrame as a TurnUpsertFrame

func (SessionTranscriptFrame) Discriminator added in v0.0.43

func (t SessionTranscriptFrame) Discriminator() (string, error)

func (*SessionTranscriptFrame) FromInteractionUpsertFrame added in v0.0.50

func (t *SessionTranscriptFrame) FromInteractionUpsertFrame(v InteractionUpsertFrame) error

FromInteractionUpsertFrame overwrites any union data inside the SessionTranscriptFrame as the provided InteractionUpsertFrame

func (*SessionTranscriptFrame) FromMessageBlockFrame added in v0.0.43

func (t *SessionTranscriptFrame) FromMessageBlockFrame(v MessageBlockFrame) error

FromMessageBlockFrame overwrites any union data inside the SessionTranscriptFrame as the provided MessageBlockFrame

func (*SessionTranscriptFrame) FromMessageBlockPatchFrame added in v0.0.43

func (t *SessionTranscriptFrame) FromMessageBlockPatchFrame(v MessageBlockPatchFrame) error

FromMessageBlockPatchFrame overwrites any union data inside the SessionTranscriptFrame as the provided MessageBlockPatchFrame

func (*SessionTranscriptFrame) FromMessageDeltaFrame added in v0.0.43

func (t *SessionTranscriptFrame) FromMessageDeltaFrame(v MessageDeltaFrame) error

FromMessageDeltaFrame overwrites any union data inside the SessionTranscriptFrame as the provided MessageDeltaFrame

func (*SessionTranscriptFrame) FromMessageUpsertFrame added in v0.0.43

func (t *SessionTranscriptFrame) FromMessageUpsertFrame(v MessageUpsertFrame) error

FromMessageUpsertFrame overwrites any union data inside the SessionTranscriptFrame as the provided MessageUpsertFrame

func (*SessionTranscriptFrame) FromStreamEndFrame added in v0.0.43

func (t *SessionTranscriptFrame) FromStreamEndFrame(v StreamEndFrame) error

FromStreamEndFrame overwrites any union data inside the SessionTranscriptFrame as the provided StreamEndFrame

func (*SessionTranscriptFrame) FromStreamReadyFrame added in v0.0.43

func (t *SessionTranscriptFrame) FromStreamReadyFrame(v StreamReadyFrame) error

FromStreamReadyFrame overwrites any union data inside the SessionTranscriptFrame as the provided StreamReadyFrame

func (*SessionTranscriptFrame) FromTurnUpsertFrame added in v0.0.43

func (t *SessionTranscriptFrame) FromTurnUpsertFrame(v TurnUpsertFrame) error

FromTurnUpsertFrame overwrites any union data inside the SessionTranscriptFrame as the provided TurnUpsertFrame

func (SessionTranscriptFrame) MarshalJSON added in v0.0.43

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

func (*SessionTranscriptFrame) MergeInteractionUpsertFrame added in v0.0.50

func (t *SessionTranscriptFrame) MergeInteractionUpsertFrame(v InteractionUpsertFrame) error

MergeInteractionUpsertFrame performs a merge with any union data inside the SessionTranscriptFrame, using the provided InteractionUpsertFrame

func (*SessionTranscriptFrame) MergeMessageBlockFrame added in v0.0.43

func (t *SessionTranscriptFrame) MergeMessageBlockFrame(v MessageBlockFrame) error

MergeMessageBlockFrame performs a merge with any union data inside the SessionTranscriptFrame, using the provided MessageBlockFrame

func (*SessionTranscriptFrame) MergeMessageBlockPatchFrame added in v0.0.43

func (t *SessionTranscriptFrame) MergeMessageBlockPatchFrame(v MessageBlockPatchFrame) error

MergeMessageBlockPatchFrame performs a merge with any union data inside the SessionTranscriptFrame, using the provided MessageBlockPatchFrame

func (*SessionTranscriptFrame) MergeMessageDeltaFrame added in v0.0.43

func (t *SessionTranscriptFrame) MergeMessageDeltaFrame(v MessageDeltaFrame) error

MergeMessageDeltaFrame performs a merge with any union data inside the SessionTranscriptFrame, using the provided MessageDeltaFrame

func (*SessionTranscriptFrame) MergeMessageUpsertFrame added in v0.0.43

func (t *SessionTranscriptFrame) MergeMessageUpsertFrame(v MessageUpsertFrame) error

MergeMessageUpsertFrame performs a merge with any union data inside the SessionTranscriptFrame, using the provided MessageUpsertFrame

func (*SessionTranscriptFrame) MergeStreamEndFrame added in v0.0.43

func (t *SessionTranscriptFrame) MergeStreamEndFrame(v StreamEndFrame) error

MergeStreamEndFrame performs a merge with any union data inside the SessionTranscriptFrame, using the provided StreamEndFrame

func (*SessionTranscriptFrame) MergeStreamReadyFrame added in v0.0.43

func (t *SessionTranscriptFrame) MergeStreamReadyFrame(v StreamReadyFrame) error

MergeStreamReadyFrame performs a merge with any union data inside the SessionTranscriptFrame, using the provided StreamReadyFrame

func (*SessionTranscriptFrame) MergeTurnUpsertFrame added in v0.0.43

func (t *SessionTranscriptFrame) MergeTurnUpsertFrame(v TurnUpsertFrame) error

MergeTurnUpsertFrame performs a merge with any union data inside the SessionTranscriptFrame, using the provided TurnUpsertFrame

func (*SessionTranscriptFrame) UnmarshalJSON added in v0.0.43

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

func (SessionTranscriptFrame) ValueByDiscriminator added in v0.0.43

func (t SessionTranscriptFrame) ValueByDiscriminator() (interface{}, error)

type SessionTranscriptMessage added in v0.0.43

type SessionTranscriptMessage struct {
	AgentId               string                `json:"agent_id"`
	Content               []SessionContentBlock `json:"content"`
	CoversThroughSequence *int                  `json:"covers_through_sequence,omitempty"`
	CreatedAt             time.Time             `json:"created_at"`

	// EntryType Known values include message and compaction; unknown values must be preserved.
	EntryType string                  `json:"entry_type"`
	Id        string                  `json:"id"`
	Metadata  *map[string]interface{} `json:"metadata,omitempty"`

	// Role Message role: `system`, `user`, `assistant`, `tool`, or `compaction`.
	Role      SessionMessageRole `json:"role"`
	Sequence  *int               `json:"sequence"`
	SessionId string             `json:"session_id"`

	// Status Known values are streaming and final; unknown values must be preserved.
	Status    string  `json:"status"`
	TurnId    *string `json:"turn_id,omitempty"`
	TurnIndex *int    `json:"turn_index"`
}

SessionTranscriptMessage defines model for SessionTranscriptMessage.

type SessionTranscriptSnapshot added in v0.0.43

type SessionTranscriptSnapshot struct {
	HasMore bool `json:"has_more"`

	// Interactions Pending interactions raised by agent tool calls in this session.
	Interactions  []Interaction              `json:"interactions"`
	Messages      []SessionTranscriptMessage `json:"messages"`
	NextPageToken *string                    `json:"next_page_token,omitempty"`
	ResumeCursor  string                     `json:"resume_cursor"`
	Turns         []SessionTranscriptTurn    `json:"turns"`
}

SessionTranscriptSnapshot defines model for SessionTranscriptSnapshot.

type SessionTranscriptTurn added in v0.0.43

type SessionTranscriptTurn struct {
	AgentId           string     `json:"agent_id"`
	Attempt           int        `json:"attempt"`
	ChannelExchangeId *string    `json:"channel_exchange_id,omitempty"`
	CompletedAt       *time.Time `json:"completed_at,omitempty"`
	CreatedAt         time.Time  `json:"created_at"`
	ErrorMessage      *string    `json:"error_message,omitempty"`
	ErrorType         *string    `json:"error_type,omitempty"`
	Id                string     `json:"id"`

	// Output The validated structured output, delivered on the terminal `turn.upsert` frame. Present only on a `completed` turn that declared an output schema.
	Output *map[string]interface{} `json:"output,omitempty"`

	// OutputSource Provenance of a completed turn's structured `output`: `tool` when the agent submitted it through the reserved `mobius_submit_output` tool, or `text` when Mobius accepted a schema-valid final message as a fallback.
	OutputSource *AgentTurnOutputSource `json:"output_source,omitempty"`
	RunId        *string                `json:"run_id,omitempty"`
	Seq          *int                   `json:"seq,omitempty"`
	SessionId    string                 `json:"session_id"`

	// Status Known AgentTurn status; unknown values must be preserved.
	Status    string    `json:"status"`
	StepKey   *string   `json:"step_key,omitempty"`
	UpdatedAt time.Time `json:"updated_at"`

	// Usage Token usage recorded when the turn terminalized, when available.
	Usage *map[string]interface{} `json:"usage,omitempty"`
	Wait  *SessionTranscriptWait  `json:"wait,omitempty"`
}

SessionTranscriptTurn defines model for SessionTranscriptTurn.

type SessionTranscriptWait added in v0.0.50

type SessionTranscriptWait struct {
	ExpiresAt     *time.Time                `json:"expires_at,omitempty"`
	InteractionId string                    `json:"interaction_id"`
	Kind          SessionTranscriptWaitKind `json:"kind"`
	ToolCallId    string                    `json:"tool_call_id"`
}

SessionTranscriptWait defines model for SessionTranscriptWait.

type SessionTranscriptWaitKind added in v0.0.50

type SessionTranscriptWaitKind string

SessionTranscriptWaitKind defines model for SessionTranscriptWait.Kind.

const (
	SessionTranscriptWaitKindInteraction SessionTranscriptWaitKind = "interaction"
)

Defines values for SessionTranscriptWaitKind.

func (SessionTranscriptWaitKind) Valid added in v0.0.50

func (e SessionTranscriptWaitKind) Valid() bool

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

type SessionUserMessagePayload added in v0.0.29

type SessionUserMessagePayload struct {
	// Content The message's full canonical content blocks (text, tool_result, …).
	Content []SessionContentBlock `json:"content"`

	// MessageId Id of the transcript message this event mirrors.
	MessageId string `json:"message_id"`

	// Role Message role: `system`, `user`, `assistant`, `tool`, or `compaction`.
	Role SessionMessageRole `json:"role"`

	// Sequence The mirrored message's per-session transcript sequence.
	Sequence int64 `json:"sequence"`

	// TurnId The agent turn that produced this message, when applicable.
	TurnId               *string                `json:"turn_id,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

SessionUserMessagePayload Payload of a `user.message` content event: the durable encoding of one non-assistant transcript message — caller input, or a user-role message carrying tool results. It mirrors the transcript row exactly, carrying the message identity (`message_id` + `sequence`) and full content. Replaying these events reconstructs the same view as reading the messages API.

func (SessionUserMessagePayload) Get added in v0.0.29

func (a SessionUserMessagePayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for SessionUserMessagePayload. Returns the specified element and whether it was found

func (SessionUserMessagePayload) MarshalJSON added in v0.0.29

func (a SessionUserMessagePayload) MarshalJSON() ([]byte, error)

Override default JSON handling for SessionUserMessagePayload to handle AdditionalProperties

func (*SessionUserMessagePayload) Set added in v0.0.29

func (a *SessionUserMessagePayload) Set(fieldName string, value interface{})

Setter for additional properties for SessionUserMessagePayload

func (*SessionUserMessagePayload) UnmarshalJSON added in v0.0.29

func (a *SessionUserMessagePayload) UnmarshalJSON(b []byte) error

Override default JSON handling for SessionUserMessagePayload to handle AdditionalProperties

type SessionVisibility added in v0.0.22

type SessionVisibility string

SessionVisibility Visibility of the session in project surfaces: `project` or `private`.

const (
	SessionVisibilityPrivate SessionVisibility = "private"
	SessionVisibilityProject SessionVisibility = "project"
)

Defines values for SessionVisibility.

func (SessionVisibility) Valid added in v0.0.22

func (e SessionVisibility) Valid() bool

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

type SetBlueprintProtectionJSONRequestBody added in v0.0.42

type SetBlueprintProtectionJSONRequestBody = SetBlueprintProtectionRequest

SetBlueprintProtectionJSONRequestBody defines body for SetBlueprintProtection for application/json ContentType.

type SetBlueprintProtectionParams added in v0.0.42

type SetBlueprintProtectionParams struct {
	// Namespace Blueprint namespace. Omit for an unnamespaced blueprint.
	Namespace *string `form:"namespace,omitempty" json:"namespace,omitempty"`
}

SetBlueprintProtectionParams defines parameters for SetBlueprintProtection.

type SetBlueprintProtectionRequest added in v0.0.42

type SetBlueprintProtectionRequest struct {
	Protected bool `json:"protected"`
}

SetBlueprintProtectionRequest defines model for SetBlueprintProtectionRequest.

type SetBlueprintProtectionResponse added in v0.0.42

type SetBlueprintProtectionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BlueprintBindingListResponse
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseSetBlueprintProtectionResponse added in v0.0.42

func ParseSetBlueprintProtectionResponse(rsp *http.Response) (*SetBlueprintProtectionResponse, error)

ParseSetBlueprintProtectionResponse parses an HTTP response from a SetBlueprintProtectionWithResponse call

func (SetBlueprintProtectionResponse) ContentType added in v0.0.42

func (r SetBlueprintProtectionResponse) ContentType() string

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

func (SetBlueprintProtectionResponse) Status added in v0.0.42

Status returns HTTPResponse.Status

func (SetBlueprintProtectionResponse) StatusCode added in v0.0.42

func (r SetBlueprintProtectionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SignalLoopRunRequest added in v0.0.24

type SignalLoopRunRequest struct {
	// Result Free-form payload saved as the resumed step's output.
	Result *map[string]interface{} `json:"result,omitempty"`

	// StepKey Step key currently in `suspended` state that should resume. Must match a step declared in the run's loop version spec.
	StepKey string `json:"step_key"`
}

SignalLoopRunRequest Body for resuming a suspended loop step.

type SignalRunJSONRequestBody added in v0.0.23

type SignalRunJSONRequestBody = SignalLoopRunRequest

SignalRunJSONRequestBody defines body for SignalRun for application/json ContentType.

type SignalRunResponse added in v0.0.23

type SignalRunResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LoopRun
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseSignalRunResponse added in v0.0.23

func ParseSignalRunResponse(rsp *http.Response) (*SignalRunResponse, error)

ParseSignalRunResponse parses an HTTP response from a SignalRunWithResponse call

func (SignalRunResponse) ContentType added in v0.0.23

func (r SignalRunResponse) ContentType() string

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

func (SignalRunResponse) Status added in v0.0.23

func (r SignalRunResponse) Status() string

Status returns HTTPResponse.Status

func (SignalRunResponse) StatusCode added in v0.0.23

func (r SignalRunResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Skill added in v0.0.21

type Skill struct {
	// AllowedTools Canonical action names, wildcard selectors, or group references that narrow the agent's effective tool set while this skill is active. Uses the same selector vocabulary as toolkit grants.
	AllowedTools *[]string `json:"allowed_tools,omitempty"`

	// CreatedAt Record creation timestamp.
	CreatedAt time.Time `json:"created_at"`

	// CreatedBy ID of the principal who created this skill.
	CreatedBy *string `json:"created_by,omitempty"`

	// Description Markdown description of the skill's purpose.
	Description *string `json:"description,omitempty"`

	// Id Skill ID.
	Id string `json:"id"`

	// Instructions Markdown instructions loaded when the skill is active.
	Instructions string `json:"instructions"`

	// Name Human-readable skill name.
	Name string `json:"name"`

	// Source Ownership and mutability of the Skill. `system` is built-in, `organization` is shared, and `project` is project-local.
	Source SkillSource `json:"source"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// UpdatedAt Last update timestamp.
	UpdatedAt time.Time `json:"updated_at"`

	// UpdatedBy ID of the principal who last updated this skill.
	UpdatedBy *string `json:"updated_by,omitempty"`
}

Skill Reusable instruction bundle assignable to agents.

type SkillAssignment added in v0.0.21

type SkillAssignment struct {
	// AgentId Agent the skill is assigned to.
	AgentId string `json:"agent_id"`

	// CreatedAt Record creation timestamp.
	CreatedAt time.Time `json:"created_at"`

	// Enabled Whether the assignment is currently active.
	Enabled bool `json:"enabled"`

	// Position Ordering position of this assignment in the agent's skill list.
	Position int `json:"position"`

	// Skill Reusable instruction bundle assignable to agents.
	Skill *Skill `json:"skill,omitempty"`

	// SkillId Skill assigned to the agent.
	SkillId string `json:"skill_id"`
}

SkillAssignment Assignment linking a skill to an agent.

type SkillAssignmentListResponse added in v0.0.21

type SkillAssignmentListResponse struct {
	// Items Skill assignments for this agent, in position order.
	Items []SkillAssignment `json:"items"`
}

SkillAssignmentListResponse defines model for SkillAssignmentListResponse.

type SkillListResponse added in v0.0.21

type SkillListResponse struct {
	// Items The list of results for this page.
	Items []Skill `json:"items"`
}

SkillListResponse defines model for SkillListResponse.

type SkillManifestEntry added in v0.0.21

type SkillManifestEntry struct {
	// Active Whether this skill is currently active in the resolved manifest.
	Active bool `json:"active"`

	// Description Markdown description of the skill's purpose.
	Description *string `json:"description,omitempty"`

	// Id Skill ID this manifest entry resolved to.
	Id string `json:"id"`

	// MissingRecommended Tool selectors the skill recommends but that are not available to the agent.
	MissingRecommended *[]string `json:"missing_recommended,omitempty"`

	// MissingRequired Tool selectors the skill requires but that are not available to the agent.
	MissingRequired *[]string `json:"missing_required,omitempty"`

	// Name Display name of the skill.
	Name string `json:"name"`
}

SkillManifestEntry Skill metadata included in a resolved agent tool manifest. Full instructions are loaded at runtime through the invoke_skill tool.

type SkillRequest added in v0.0.21

type SkillRequest struct {
	// AllowedTools Tool selectors that narrow the agent's effective tool set while this skill is active.
	AllowedTools *[]string `json:"allowed_tools,omitempty"`

	// Description Markdown description of the skill's purpose.
	Description *string `json:"description,omitempty"`

	// Instructions Markdown instructions loaded when the skill is active.
	Instructions string `json:"instructions"`

	// Name Human-readable skill name.
	Name string `json:"name"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`
}

SkillRequest defines model for SkillRequest.

type SkillSource added in v0.0.21

type SkillSource string

SkillSource Ownership and mutability of the Skill. `system` is built-in, `organization` is shared, and `project` is project-local.

const (
	SkillSourceOrganization SkillSource = "organization"
	SkillSourceProject      SkillSource = "project"
	SkillSourceSystem       SkillSource = "system"
)

Defines values for SkillSource.

func (SkillSource) Valid added in v0.0.21

func (e SkillSource) Valid() bool

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

type StartLoopRunRequest added in v0.0.24

type StartLoopRunRequest struct {
	// BudgetUsd Per-run budget override in US dollars (1 credit = $0.01). Overrides the loop spec's `limits` budget for this run only. Mutually exclusive with `credit_budget` — setting both is a `400`. Values finer than 0.001 credit ($0.00001) are rejected. The run halts at the next checkpoint (step boundary or agent tool iteration) once spend reaches the budget; enforcement granularity is one model call or metered action.
	BudgetUsd *float64 `json:"budget_usd,omitempty"`

	// Config Optional static or caller-provided configuration for handling the event. Templates reference it via `config.*`.
	Config *map[string]interface{} `json:"config,omitempty"`

	// CreditBudget Per-run budget override in whole credits (1 credit = $0.01). Same ceiling semantics as `budget_usd`; set exactly one.
	CreditBudget *int64 `json:"credit_budget,omitempty"`

	// Event Exact event object that starts the run. Manual/API starts use this object the same way integration, HTTP, and schedule triggers do. Templates reference it via `${{ event.<key> }}`.
	Event *map[string]interface{} `json:"event,omitempty"`

	// IdempotencyKey Caller-supplied idempotency key, scoped to (org, project). Repeat calls with the same `idempotency_key` while the prior run is still non-terminal return the existing run (same `id`). A repeat after the prior run terminated returns `409 Conflict` with code `idempotency_key_conflict` and details containing the existing run id and its terminal status.
	IdempotencyKey *string `json:"idempotency_key,omitempty"`

	// Meta Optional event metadata supplied by the caller. Mobius also adds provenance such as run, loop, source, trigger, and source-event ids.
	Meta *map[string]interface{} `json:"meta,omitempty"`

	// Source Optional attribution for the call that started this run. Triggers and HTTP trigger dispatch populate `trigger_id` and `trigger_fire_id`. API callers usually only set `type` and `id`.
	Source *LoopRunSource `json:"source,omitempty"`
}

StartLoopRunRequest Body for `POST /v1/projects/{project_handle}/loops/{resource_id}/runs`. All fields are optional; an empty body starts a run with an empty event/config envelope and no attribution.

type StartRunJSONRequestBody added in v0.0.3

type StartRunJSONRequestBody = StartLoopRunRequest

StartRunJSONRequestBody defines body for StartRun for application/json ContentType.

type StartRunResponse added in v0.0.3

type StartRunResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *LoopRun
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseStartRunResponse added in v0.0.3

func ParseStartRunResponse(rsp *http.Response) (*StartRunResponse, error)

ParseStartRunResponse parses an HTTP response from a StartRunWithResponse call

func (StartRunResponse) ContentType added in v0.0.21

func (r StartRunResponse) ContentType() string

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

func (StartRunResponse) Status added in v0.0.3

func (r StartRunResponse) Status() string

Status returns HTTPResponse.Status

func (StartRunResponse) StatusCode added in v0.0.3

func (r StartRunResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StartTurnJSONRequestBody added in v0.0.29

type StartTurnJSONRequestBody = StartTurnRequest

StartTurnJSONRequestBody defines body for StartTurn for application/json ContentType.

type StartTurnRequest added in v0.0.29

type StartTurnRequest struct {
	// Content Ordered content blocks (text, images) for the input message.
	Content []map[string]interface{} `json:"content"`

	// Context Ordered application-owned runtime context for this turn. Send the full current value for each named item. Mobius records an item only on first use, material change, or after compaction removes its prior value from the active model window. Omitting a name leaves its last value standing; send an explicit value such as `none` to clear application state. Names must be unique within the request. Content is limited to 8,192 UTF-8 bytes per item and 16,384 bytes total.
	//
	// Context remains at contextual authority and cannot grant permissions. A retry using the same `idempotency_key` returns the original turn and ignores any newly supplied context.
	Context *RuntimeContext `json:"context,omitempty"`

	// IdempotencyKey Dedup key scoped to the session. A repeat call with the same key returns the existing invocation and writes nothing new; it never restarts a terminal turn. Omitting it or sending a blank value disables retry deduplication.
	IdempotencyKey *string `json:"idempotency_key,omitempty"`

	// Metadata Free-form caller metadata attached to the input message.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// Operation Operational policy for this newly admitted turn only. Unlike `config`, this policy is not saved on the session. Its timeout takes precedence over the session's inline-definition timeout and remains constrained by any deployment timeout ceiling. `config.timeout_seconds` may be zero to use the platform default; this operation timeout must be at least one.
	Operation *AgentTurnOperationPolicy `json:"operation,omitempty"`

	// Output Attaches a structured-output contract to a turn. When present, Mobius exposes a reserved submit tool whose input schema is the schema below, validates the submission server-side, and a turn that never produces a schema-valid object fails with `error_type: output_schema_unsatisfied` instead of completing. Read the validated value from the completed turn's `output`. This is a per-turn contract, not agent identity, so it works with stored agents and may differ between turns of one session.
	Output *TurnOutputSpec `json:"output,omitempty"`

	// Role Role of the input message. A turn carries caller input, so only `user` is accepted; defaults to `user` when omitted.
	Role *StartTurnRequestRole `json:"role,omitempty"`
}

StartTurnRequest Caller input that starts an agent turn in a session. The session definition's `config.timeout_seconds` may be zero to use the platform default; `operation.timeout_seconds` must be at least one and takes precedence for this admitted turn.

type StartTurnRequestRole added in v0.0.29

type StartTurnRequestRole string

StartTurnRequestRole Role of the input message. A turn carries caller input, so only `user` is accepted; defaults to `user` when omitted.

const (
	StartTurnRequestRoleUser StartTurnRequestRole = "user"
)

Defines values for StartTurnRequestRole.

func (StartTurnRequestRole) Valid added in v0.0.29

func (e StartTurnRequestRole) Valid() bool

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

type StartTurnResponse added in v0.0.29

type StartTurnResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON202      *TurnAck
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *ErrorResponse
	JSON429      *TooManyRequests
}

func ParseStartTurnResponse added in v0.0.29

func ParseStartTurnResponse(rsp *http.Response) (*StartTurnResponse, error)

ParseStartTurnResponse parses an HTTP response from a StartTurnWithResponse call

func (StartTurnResponse) ContentType added in v0.0.29

func (r StartTurnResponse) ContentType() string

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

func (StartTurnResponse) Status added in v0.0.29

func (r StartTurnResponse) Status() string

Status returns HTTPResponse.Status

func (StartTurnResponse) StatusCode added in v0.0.29

func (r StartTurnResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StepCompletedPayload added in v0.0.29

type StepCompletedPayload struct {
	Output               *map[string]interface{} `json:"output,omitempty"`
	Step                 *string                 `json:"step,omitempty"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

StepCompletedPayload defines model for StepCompletedPayload.

func (StepCompletedPayload) Get added in v0.0.29

func (a StepCompletedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for StepCompletedPayload. Returns the specified element and whether it was found

func (StepCompletedPayload) MarshalJSON added in v0.0.29

func (a StepCompletedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for StepCompletedPayload to handle AdditionalProperties

func (*StepCompletedPayload) Set added in v0.0.29

func (a *StepCompletedPayload) Set(fieldName string, value interface{})

Setter for additional properties for StepCompletedPayload

func (*StepCompletedPayload) UnmarshalJSON added in v0.0.29

func (a *StepCompletedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for StepCompletedPayload to handle AdditionalProperties

type StepFailedPayload added in v0.0.29

type StepFailedPayload struct {
	Error                *string                `json:"error,omitempty"`
	ErrorType            *string                `json:"error_type,omitempty"`
	Step                 *string                `json:"step,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

StepFailedPayload defines model for StepFailedPayload.

func (StepFailedPayload) Get added in v0.0.29

func (a StepFailedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for StepFailedPayload. Returns the specified element and whether it was found

func (StepFailedPayload) MarshalJSON added in v0.0.29

func (a StepFailedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for StepFailedPayload to handle AdditionalProperties

func (*StepFailedPayload) Set added in v0.0.29

func (a *StepFailedPayload) Set(fieldName string, value interface{})

Setter for additional properties for StepFailedPayload

func (*StepFailedPayload) UnmarshalJSON added in v0.0.29

func (a *StepFailedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for StepFailedPayload to handle AdditionalProperties

type StepResumedPayload added in v0.0.29

type StepResumedPayload struct {
	Kind                 *string                `json:"kind,omitempty"`
	Step                 *string                `json:"step,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

StepResumedPayload defines model for StepResumedPayload.

func (StepResumedPayload) Get added in v0.0.29

func (a StepResumedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for StepResumedPayload. Returns the specified element and whether it was found

func (StepResumedPayload) MarshalJSON added in v0.0.29

func (a StepResumedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for StepResumedPayload to handle AdditionalProperties

func (*StepResumedPayload) Set added in v0.0.29

func (a *StepResumedPayload) Set(fieldName string, value interface{})

Setter for additional properties for StepResumedPayload

func (*StepResumedPayload) UnmarshalJSON added in v0.0.29

func (a *StepResumedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for StepResumedPayload to handle AdditionalProperties

type StepRetriedPayload added in v0.0.29

type StepRetriedPayload struct {
	Attempt     *int    `json:"attempt,omitempty"`
	Error       *string `json:"error,omitempty"`
	ErrorType   *string `json:"error_type,omitempty"`
	Kind        *string `json:"kind,omitempty"`
	MaxAttempts *int    `json:"max_attempts,omitempty"`

	// RecoveryAction Operator intent for a `run_recovery` retry. Named consistently with `RunResumedPayload.recovery_action`.
	RecoveryAction *StepRetriedPayloadRecoveryAction `json:"recovery_action,omitempty"`

	// RetryScope Retry source. `step_policy` means the authored step retry policy was consumed, `transient` means Mobius retried a transient provider failure before spending step retry budget, and `run_recovery` means an operator resumed or retried a failed run in place.
	RetryScope           *StepRetriedPayloadRetryScope `json:"retry_scope,omitempty"`
	Step                 *string                       `json:"step,omitempty"`
	AdditionalProperties map[string]interface{}        `json:"-"`
}

StepRetriedPayload defines model for StepRetriedPayload.

func (StepRetriedPayload) Get added in v0.0.29

func (a StepRetriedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for StepRetriedPayload. Returns the specified element and whether it was found

func (StepRetriedPayload) MarshalJSON added in v0.0.29

func (a StepRetriedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for StepRetriedPayload to handle AdditionalProperties

func (*StepRetriedPayload) Set added in v0.0.29

func (a *StepRetriedPayload) Set(fieldName string, value interface{})

Setter for additional properties for StepRetriedPayload

func (*StepRetriedPayload) UnmarshalJSON added in v0.0.29

func (a *StepRetriedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for StepRetriedPayload to handle AdditionalProperties

type StepRetriedPayloadRecoveryAction added in v0.0.41

type StepRetriedPayloadRecoveryAction string

StepRetriedPayloadRecoveryAction Operator intent for a `run_recovery` retry. Named consistently with `RunResumedPayload.recovery_action`.

const (
	StepRetriedPayloadRecoveryActionResume StepRetriedPayloadRecoveryAction = "resume"
	StepRetriedPayloadRecoveryActionRetry  StepRetriedPayloadRecoveryAction = "retry"
)

Defines values for StepRetriedPayloadRecoveryAction.

func (StepRetriedPayloadRecoveryAction) Valid added in v0.0.41

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

type StepRetriedPayloadRetryScope added in v0.0.41

type StepRetriedPayloadRetryScope string

StepRetriedPayloadRetryScope Retry source. `step_policy` means the authored step retry policy was consumed, `transient` means Mobius retried a transient provider failure before spending step retry budget, and `run_recovery` means an operator resumed or retried a failed run in place.

const (
	StepRetriedPayloadRetryScopeRunRecovery StepRetriedPayloadRetryScope = "run_recovery"
	StepRetriedPayloadRetryScopeStepPolicy  StepRetriedPayloadRetryScope = "step_policy"
	StepRetriedPayloadRetryScopeTransient   StepRetriedPayloadRetryScope = "transient"
)

Defines values for StepRetriedPayloadRetryScope.

func (StepRetriedPayloadRetryScope) Valid added in v0.0.41

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

type StepSkippedPayload added in v0.0.29

type StepSkippedPayload struct {
	Kind                 *string                `json:"kind,omitempty"`
	Reason               *string                `json:"reason,omitempty"`
	Step                 *string                `json:"step,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

StepSkippedPayload defines model for StepSkippedPayload.

func (StepSkippedPayload) Get added in v0.0.29

func (a StepSkippedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for StepSkippedPayload. Returns the specified element and whether it was found

func (StepSkippedPayload) MarshalJSON added in v0.0.29

func (a StepSkippedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for StepSkippedPayload to handle AdditionalProperties

func (*StepSkippedPayload) Set added in v0.0.29

func (a *StepSkippedPayload) Set(fieldName string, value interface{})

Setter for additional properties for StepSkippedPayload

func (*StepSkippedPayload) UnmarshalJSON added in v0.0.29

func (a *StepSkippedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for StepSkippedPayload to handle AdditionalProperties

type StepStartedPayload added in v0.0.29

type StepStartedPayload struct {
	AgentId              *string                `json:"agent_id,omitempty"`
	Kind                 *string                `json:"kind,omitempty"`
	Step                 *string                `json:"step,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

StepStartedPayload defines model for StepStartedPayload.

func (StepStartedPayload) Get added in v0.0.29

func (a StepStartedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for StepStartedPayload. Returns the specified element and whether it was found

func (StepStartedPayload) MarshalJSON added in v0.0.29

func (a StepStartedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for StepStartedPayload to handle AdditionalProperties

func (*StepStartedPayload) Set added in v0.0.29

func (a *StepStartedPayload) Set(fieldName string, value interface{})

Setter for additional properties for StepStartedPayload

func (*StepStartedPayload) UnmarshalJSON added in v0.0.29

func (a *StepStartedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for StepStartedPayload to handle AdditionalProperties

type StreamEndFrame added in v0.0.43

type StreamEndFrame struct {
	EventType StreamEndFrameEventType `json:"event_type"`
	Reason    StreamEndFrameReason    `json:"reason"`
	SessionId string                  `json:"session_id"`
}

StreamEndFrame Final envelope on a deliberate session-stream close. An idle close means no non-terminal turn remains; a rotate close asks the client to reconnect immediately with the same durable transcript cursor.

type StreamEndFrameEventType added in v0.0.43

type StreamEndFrameEventType string

StreamEndFrameEventType defines model for StreamEndFrame.EventType.

const (
	StreamEndFrameEventTypeStreamEnd StreamEndFrameEventType = "stream.end"
)

Defines values for StreamEndFrameEventType.

func (StreamEndFrameEventType) Valid added in v0.0.43

func (e StreamEndFrameEventType) Valid() bool

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

type StreamEndFrameReason added in v0.0.43

type StreamEndFrameReason string

StreamEndFrameReason defines model for StreamEndFrame.Reason.

const (
	StreamEndFrameReasonIdle   StreamEndFrameReason = "idle"
	StreamEndFrameReasonRotate StreamEndFrameReason = "rotate"
)

Defines values for StreamEndFrameReason.

func (StreamEndFrameReason) Valid added in v0.0.43

func (e StreamEndFrameReason) Valid() bool

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

type StreamReadyFrame added in v0.0.43

type StreamReadyFrame struct {
	EventType    StreamReadyFrameEventType `json:"event_type"`
	ResumeCursor string                    `json:"resume_cursor"`
	SessionId    string                    `json:"session_id"`
}

StreamReadyFrame defines model for StreamReadyFrame.

type StreamReadyFrameEventType added in v0.0.43

type StreamReadyFrameEventType string

StreamReadyFrameEventType defines model for StreamReadyFrame.EventType.

const (
	StreamReadyFrameEventTypeStreamReady StreamReadyFrameEventType = "stream.ready"
)

Defines values for StreamReadyFrameEventType.

func (StreamReadyFrameEventType) Valid added in v0.0.43

func (e StreamReadyFrameEventType) Valid() bool

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

type StreamSessionParams added in v0.0.29

type StreamSessionParams struct {
	// AfterSequence Continuation cursor for sequence-ordered lists. Only include rows whose monotonic per-resource sequence is strictly greater than this value. Pass the `next_sequence` from the previous response to fetch the next page.
	AfterSequence *AfterSequenceParam `form:"after_sequence,omitempty" json:"after_sequence,omitempty"`

	// LastEventID SSE reconnect cursor. The browser EventSource API replays the last event's `id` in this header on automatic reconnect; the server resumes the stream after that sequence number. When both this header and the `after_sequence` query parameter are supplied, the larger sequence wins, so an explicit `after_sequence` never rewinds a live reconnect. Ignored for non-streaming (JSON) requests.
	LastEventID *LastEventIDParam `json:"Last-Event-ID,omitempty"`
}

StreamSessionParams defines parameters for StreamSession.

type StreamSessionResponse added in v0.0.29

type StreamSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseStreamSessionResponse added in v0.0.29

func ParseStreamSessionResponse(rsp *http.Response) (*StreamSessionResponse, error)

ParseStreamSessionResponse parses an HTTP response from a StreamSessionWithResponse call

func (StreamSessionResponse) ContentType added in v0.0.29

func (r StreamSessionResponse) ContentType() string

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

func (StreamSessionResponse) Status added in v0.0.29

func (r StreamSessionResponse) Status() string

Status returns HTTPResponse.Status

func (StreamSessionResponse) StatusCode added in v0.0.29

func (r StreamSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StreamSessionTranscriptParams added in v0.0.43

type StreamSessionTranscriptParams struct {
	// Cursor Opaque resume cursor.
	Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`

	// LastEventID Opaque resume cursor from the last delivered state frame.
	LastEventID *string `json:"Last-Event-ID,omitempty"`
}

StreamSessionTranscriptParams defines parameters for StreamSessionTranscript.

type StreamSessionTranscriptResponse added in v0.0.43

type StreamSessionTranscriptResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseStreamSessionTranscriptResponse added in v0.0.43

func ParseStreamSessionTranscriptResponse(rsp *http.Response) (*StreamSessionTranscriptResponse, error)

ParseStreamSessionTranscriptResponse parses an HTTP response from a StreamSessionTranscriptWithResponse call

func (StreamSessionTranscriptResponse) ContentType added in v0.0.43

func (r StreamSessionTranscriptResponse) ContentType() string

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

func (StreamSessionTranscriptResponse) Status added in v0.0.43

Status returns HTTPResponse.Status

func (StreamSessionTranscriptResponse) StatusCode added in v0.0.43

func (r StreamSessionTranscriptResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Table added in v0.0.20

type Table struct {
	// CreatedAt Time the table was created.
	CreatedAt time.Time `json:"created_at"`

	// CreatedBy User ID of the principal who created this table.
	CreatedBy *string `json:"created_by,omitempty"`

	// Description Human-readable table description.
	Description *string `json:"description,omitempty"`

	// Id Unique table identifier.
	Id string `json:"id"`

	// Instructions Optional author guidance for how this table should be used (e.g. surfaced to agents).
	Instructions *string `json:"instructions,omitempty"`

	// Name Lowercase snake_case table name, unique within the project.
	Name string `json:"name"`

	// Schema Column and index schema enforced for table rows.
	Schema TableSchema `json:"schema"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// UpdatedAt Time the table metadata or schema was last updated.
	UpdatedAt time.Time `json:"updated_at"`

	// UpdatedBy User ID of the principal who last updated this table.
	UpdatedBy *string `json:"updated_by,omitempty"`
}

Table Project table metadata and schema.

type TableIDParam added in v0.0.23

type TableIDParam = string

TableIDParam defines model for TableIDParam.

type TableListResponse added in v0.0.20

type TableListResponse struct {
	// HasMore Whether another page is available.
	HasMore bool `json:"has_more"`

	// Items Tables in the current page.
	Items []Table `json:"items"`

	// NextCursor Cursor to pass on the next request when `has_more` is true.
	NextCursor *string `json:"next_cursor,omitempty"`
}

TableListResponse Cursor-paginated list of tables.

type TableNameQueryParam added in v0.0.23

type TableNameQueryParam = string

TableNameQueryParam defines model for TableNameQueryParam.

type TableRow added in v0.0.20

type TableRow struct {
	// CreatedAt Time the row was inserted.
	CreatedAt time.Time `json:"created_at"`

	// Data JSON object keyed by table column name.
	Data map[string]interface{} `json:"data"`

	// Id Unique row identifier.
	Id string `json:"id"`

	// TableId Table this row belongs to.
	TableId string `json:"table_id"`

	// UpdatedAt Time the row was last updated.
	UpdatedAt time.Time `json:"updated_at"`

	// Version Optimistic-lock version incremented on each update.
	Version int `json:"version"`
}

TableRow One stored row in a project table.

type TableRowQueryListResponse added in v0.0.25

type TableRowQueryListResponse struct {
	// HasMore Whether another result page is available.
	HasMore bool `json:"has_more"`

	// Items Rows in the current page.
	Items []TableRow `json:"items"`

	// Limit Page size used for this response.
	Limit *int `json:"limit,omitempty"`

	// NextCursor Cursor to pass on the next query when `has_more` is true.
	NextCursor *string `json:"next_cursor,omitempty"`
}

TableRowQueryListResponse Cursor-paginated table row query result.

type TableRowSearchListResponse added in v0.0.25

type TableRowSearchListResponse struct {
	// HasMore Whether another result page is available.
	HasMore bool `json:"has_more"`

	// Items Rows matching the search query and filters.
	Items []TableRow `json:"items"`

	// Limit Page size used for this response.
	Limit *int `json:"limit,omitempty"`

	// NextCursor Cursor to pass on the next search when `has_more` is true.
	NextCursor *string `json:"next_cursor,omitempty"`
}

TableRowSearchListResponse Cursor-paginated table row search result.

type TableSchema added in v0.0.20

type TableSchema struct {
	// Columns Ordered list of columns accepted in row data.
	Columns []ColumnDef `json:"columns"`

	// IdentityColumn Name of the required string column that uniquely identifies one row in this table.
	IdentityColumn string `json:"identity_column"`

	// Indexes Compatibility metadata retained for older schemas. Index declarations do not create physical database indexes.
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Indexes *[]IndexDef `json:"indexes,omitempty"`

	// Open Allows rows to include undeclared keys while declared columns continue to be validated.
	Open *bool `json:"open,omitempty"`

	// SecondaryKeyColumn Optional string column optimized for secondary lookups. It cannot be changed after creation.
	SecondaryKeyColumn *string `json:"secondary_key_column,omitempty"`
}

TableSchema Column definition for a virtual table. Each table has exactly one required string identity column and may nominate one optional string secondary key column.

type TableStats added in v0.0.20

type TableStats struct {
	// ApproxDataBytes Approximate bytes used by table data.
	ApproxDataBytes int64 `json:"approx_data_bytes"`

	// ApproxIndexBytes Approximate bytes used by secondary lookup indexes.
	ApproxIndexBytes int64 `json:"approx_index_bytes"`

	// DeclaredIndexCount Number of compatibility index declarations stored in the table schema.
	DeclaredIndexCount int `json:"declared_index_count"`

	// GeneratedAt Time this statistics snapshot was generated.
	GeneratedAt time.Time `json:"generated_at"`

	// IndexedColumnCount Number of schema columns optimized for secondary lookup.
	IndexedColumnCount int `json:"indexed_column_count"`

	// NewestRowUpdatedAt Update time of the newest changed row, when the table has rows.
	NewestRowUpdatedAt *time.Time `json:"newest_row_updated_at,omitempty"`

	// OldestRowCreatedAt Creation time of the oldest row, when the table has rows.
	OldestRowCreatedAt *time.Time `json:"oldest_row_created_at,omitempty"`

	// RowCount Approximate number of rows in the table.
	RowCount int64 `json:"row_count"`

	// SearchIndexPresent Whether the fixed shared full-text search index is present.
	SearchIndexPresent bool `json:"search_index_present"`

	// TableId Table these statistics describe.
	TableId string `json:"table_id"`
}

TableStats Point-in-time storage and indexing statistics for one table.

type TagMap added in v0.0.8

type TagMap map[string]string

TagMap Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.

type ThinkingEffort added in v0.0.37

type ThinkingEffort string

ThinkingEffort Reasoning-effort level for a turn, lowest (`low`) to highest (`max`). Higher effort spends more tokens on reasoning, improving quality on hard tasks at the cost of latency and credits. Levels above what the resolved model supports are clamped down. Set on an agent it is the default; set on a session or loop step it overrides the agent default. `inherit` (or omitting the field) defers to the layer below — the agent default for a session/step, or the provider's own default when nothing sets a level.

const (
	ThinkingEffortHigh    ThinkingEffort = "high"
	ThinkingEffortInherit ThinkingEffort = "inherit"
	ThinkingEffortLow     ThinkingEffort = "low"
	ThinkingEffortMax     ThinkingEffort = "max"
	ThinkingEffortMedium  ThinkingEffort = "medium"
	ThinkingEffortXhigh   ThinkingEffort = "xhigh"
)

Defines values for ThinkingEffort.

func (ThinkingEffort) Valid added in v0.0.37

func (e ThinkingEffort) Valid() bool

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

type TooManyRequests added in v0.0.3

type TooManyRequests = ErrorResponse

TooManyRequests Standard error envelope returned by API endpoints.

type ToolCallPayload added in v0.0.29

type ToolCallPayload struct {
	// EmittedAt Server timestamp when this live preview frame was emitted.
	EmittedAt *time.Time              `json:"emitted_at,omitempty"`
	Input     *map[string]interface{} `json:"input,omitempty"`

	// LiveSequence Monotonic per-turn sequence across all live-only session frames; use to detect dropped live frames.
	LiveSequence         *int64                 `json:"live_sequence,omitempty"`
	ToolCallId           *string                `json:"tool_call_id,omitempty"`
	ToolName             *string                `json:"tool_name,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

ToolCallPayload Payload of a live-only `tool.call` frame — an in-flight preview that a tool was invoked during the active turn. Never persisted and carries no sequence: the durable record of the call is the `tool_use` content block of the assistant message, delivered as an `agent.message` event when the turn commits.

func (ToolCallPayload) Get added in v0.0.29

func (a ToolCallPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ToolCallPayload. Returns the specified element and whether it was found

func (ToolCallPayload) MarshalJSON added in v0.0.29

func (a ToolCallPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for ToolCallPayload to handle AdditionalProperties

func (*ToolCallPayload) Set added in v0.0.29

func (a *ToolCallPayload) Set(fieldName string, value interface{})

Setter for additional properties for ToolCallPayload

func (*ToolCallPayload) UnmarshalJSON added in v0.0.29

func (a *ToolCallPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for ToolCallPayload to handle AdditionalProperties

type ToolResultPayload added in v0.0.29

type ToolResultPayload struct {
	// Content The tool result as canonical content blocks (e.g. `[{ "type": "text", "text": "…" }]`), the same `SessionContentBlock` shape as the `tool_result` content of the durable transcript message — so the live preview and the committed record read identically. In practice the server collapses the result to a single `text` block.
	Content *[]SessionContentBlock `json:"content,omitempty"`
	Display *string                `json:"display,omitempty"`

	// EmittedAt Server timestamp when this live preview frame was emitted.
	EmittedAt *time.Time `json:"emitted_at,omitempty"`
	Error     *string    `json:"error,omitempty"`
	IsError   *bool      `json:"is_error,omitempty"`

	// LiveSequence Monotonic per-turn sequence across all live-only session frames; use to detect dropped live frames.
	LiveSequence         *int64                 `json:"live_sequence,omitempty"`
	ToolCallId           *string                `json:"tool_call_id,omitempty"`
	ToolName             *string                `json:"tool_name,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

ToolResultPayload Payload of a live-only `tool.result` frame — an in-flight preview that a tool returned during the active turn. Never persisted and carries no sequence: the durable record is the `tool_result` content block of the following transcript message, delivered as a `user.message` event when the turn commits.

func (ToolResultPayload) Get added in v0.0.29

func (a ToolResultPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for ToolResultPayload. Returns the specified element and whether it was found

func (ToolResultPayload) MarshalJSON added in v0.0.29

func (a ToolResultPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for ToolResultPayload to handle AdditionalProperties

func (*ToolResultPayload) Set added in v0.0.29

func (a *ToolResultPayload) Set(fieldName string, value interface{})

Setter for additional properties for ToolResultPayload

func (*ToolResultPayload) UnmarshalJSON added in v0.0.29

func (a *ToolResultPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for ToolResultPayload to handle AdditionalProperties

type Toolkit added in v0.0.21

type Toolkit struct {
	// Actions Action selectors provided by this toolkit. Each entry is matched against the unified action catalog at manifest-resolution time.
	Actions []ToolkitAction `json:"actions"`

	// CreatedAt Record creation timestamp.
	CreatedAt time.Time `json:"created_at"`

	// CreatedBy ID of the principal who created this toolkit.
	CreatedBy *string `json:"created_by,omitempty"`

	// Description Markdown description of the toolkit's purpose.
	Description *string `json:"description,omitempty"`

	// Id Toolkit ID.
	Id string `json:"id"`

	// Name Human-readable toolkit name.
	Name string `json:"name"`

	// Source Provenance of this toolkit. `system` toolkits are built-in; `project` toolkits are user-authored.
	Source ToolkitSource `json:"source"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// UpdatedAt Last update timestamp.
	UpdatedAt time.Time `json:"updated_at"`

	// UpdatedBy ID of the principal who last updated this toolkit.
	UpdatedBy *string `json:"updated_by,omitempty"`
}

Toolkit Reusable bundle of action selectors assignable to agents.

type ToolkitAction added in v0.0.25

type ToolkitAction struct {
	// Selector Selector value. Examples: `github.list_issues`, `github.*`, `platform.github.*`, `custom.*`, or `*`.
	Selector string `json:"selector"`

	// SelectorType Selector type: `exact`, `group`, `platform`, `custom`, or `wildcard`.
	SelectorType ToolkitActionSelectorType `json:"selector_type"`
}

ToolkitAction Action selector included in a toolkit.

type ToolkitActionSelectorType added in v0.0.25

type ToolkitActionSelectorType string

ToolkitActionSelectorType Selector type: `exact`, `group`, `platform`, `custom`, or `wildcard`.

const (
	ToolkitActionSelectorTypeCustom   ToolkitActionSelectorType = "custom"
	ToolkitActionSelectorTypeExact    ToolkitActionSelectorType = "exact"
	ToolkitActionSelectorTypeGroup    ToolkitActionSelectorType = "group"
	ToolkitActionSelectorTypePlatform ToolkitActionSelectorType = "platform"
	ToolkitActionSelectorTypeWildcard ToolkitActionSelectorType = "wildcard"
)

Defines values for ToolkitActionSelectorType.

func (ToolkitActionSelectorType) Valid added in v0.0.25

func (e ToolkitActionSelectorType) Valid() bool

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

type ToolkitAssignment added in v0.0.21

type ToolkitAssignment struct {
	// AgentId Agent the toolkit is assigned to.
	AgentId string `json:"agent_id"`

	// CreatedAt Record creation timestamp.
	CreatedAt time.Time `json:"created_at"`

	// Position Ordering position of this assignment in the agent's toolkit list.
	Position int `json:"position"`

	// Toolkit Reusable bundle of action selectors assignable to agents.
	Toolkit *Toolkit `json:"toolkit,omitempty"`

	// ToolkitId Toolkit assigned to the agent.
	ToolkitId string `json:"toolkit_id"`
}

ToolkitAssignment Assignment linking a toolkit to an agent.

type ToolkitAssignmentListResponse added in v0.0.21

type ToolkitAssignmentListResponse struct {
	// Items Toolkit assignments for this agent, in position order.
	Items []ToolkitAssignment `json:"items"`
}

ToolkitAssignmentListResponse defines model for ToolkitAssignmentListResponse.

type ToolkitListResponse added in v0.0.21

type ToolkitListResponse struct {
	// Items The list of results for this page.
	Items []Toolkit `json:"items"`
}

ToolkitListResponse defines model for ToolkitListResponse.

type ToolkitRequest added in v0.0.21

type ToolkitRequest struct {
	// Actions Action selectors provided by this toolkit.
	Actions *[]ToolkitAction `json:"actions,omitempty"`

	// Description Markdown description of the toolkit's purpose.
	Description *string `json:"description,omitempty"`

	// Name Human-readable toolkit name.
	Name string `json:"name"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`
}

ToolkitRequest defines model for ToolkitRequest.

type ToolkitSource added in v0.0.21

type ToolkitSource string

ToolkitSource Provenance of this toolkit. `system` toolkits are built-in; `project` toolkits are user-authored.

const (
	ToolkitSourceProject ToolkitSource = "project"
	ToolkitSourceSystem  ToolkitSource = "system"
)

Defines values for ToolkitSource.

func (ToolkitSource) Valid added in v0.0.21

func (e ToolkitSource) Valid() bool

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

type TurnAck added in v0.0.29

type TurnAck struct {
	// AfterSequence The transcript message `sequence` cursor to stream from. Pass it as `after_sequence` to `GET .../stream` to follow this turn.
	AfterSequence int64 `json:"after_sequence"`

	// Deduped True when a repeated idempotency key returned an existing turn without restarting it.
	Deduped *bool `json:"deduped,omitempty"`

	// ResumeCursor Opaque stable v2 lower boundary for streaming and terminal settlement. It precedes every durable message owned by the returned turn and is safe for both fresh and deduplicated invocations. A deduplicated retry may replay already-observed frames.
	ResumeCursor string `json:"resume_cursor"`

	// Session Durable conversation transcript owned by an agent.
	Session Session `json:"session"`

	// Turn One attempt of an agent running the agent loop — the unit that produces a transcript. A turn is triggered by a direct send to the session, a loop step (run_id + step_key), or an inbound channel message (channel_exchange_id). Its messages are read via the turn's transcript endpoint.
	Turn        AgentTurn                 `json:"turn"`
	UserMessage *SessionTranscriptMessage `json:"user_message,omitempty"`
}

TurnAck Acknowledgement that a turn started, with a stream cursor.

type TurnCancelledPayload added in v0.0.29

type TurnCancelledPayload struct {
	Reason               *string                `json:"reason,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

TurnCancelledPayload defines model for TurnCancelledPayload.

func (TurnCancelledPayload) Get added in v0.0.29

func (a TurnCancelledPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for TurnCancelledPayload. Returns the specified element and whether it was found

func (TurnCancelledPayload) MarshalJSON added in v0.0.29

func (a TurnCancelledPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for TurnCancelledPayload to handle AdditionalProperties

func (*TurnCancelledPayload) Set added in v0.0.29

func (a *TurnCancelledPayload) Set(fieldName string, value interface{})

Setter for additional properties for TurnCancelledPayload

func (*TurnCancelledPayload) UnmarshalJSON added in v0.0.29

func (a *TurnCancelledPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for TurnCancelledPayload to handle AdditionalProperties

type TurnCompletedPayload added in v0.0.29

type TurnCompletedPayload struct {
	Usage                *map[string]interface{} `json:"usage,omitempty"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

TurnCompletedPayload Payload of a `turn.completed` event — the terminal idle marker carrying token usage. The assistant output is not duplicated here; it is delivered as `agent.message` content events when the transcript commits.

func (TurnCompletedPayload) Get added in v0.0.29

func (a TurnCompletedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for TurnCompletedPayload. Returns the specified element and whether it was found

func (TurnCompletedPayload) MarshalJSON added in v0.0.29

func (a TurnCompletedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for TurnCompletedPayload to handle AdditionalProperties

func (*TurnCompletedPayload) Set added in v0.0.29

func (a *TurnCompletedPayload) Set(fieldName string, value interface{})

Setter for additional properties for TurnCompletedPayload

func (*TurnCompletedPayload) UnmarshalJSON added in v0.0.29

func (a *TurnCompletedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for TurnCompletedPayload to handle AdditionalProperties

type TurnFailedPayload added in v0.0.29

type TurnFailedPayload struct {
	Error                *string                `json:"error,omitempty"`
	ErrorType            *string                `json:"error_type,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

TurnFailedPayload defines model for TurnFailedPayload.

func (TurnFailedPayload) Get added in v0.0.29

func (a TurnFailedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for TurnFailedPayload. Returns the specified element and whether it was found

func (TurnFailedPayload) MarshalJSON added in v0.0.29

func (a TurnFailedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for TurnFailedPayload to handle AdditionalProperties

func (*TurnFailedPayload) Set added in v0.0.29

func (a *TurnFailedPayload) Set(fieldName string, value interface{})

Setter for additional properties for TurnFailedPayload

func (*TurnFailedPayload) UnmarshalJSON added in v0.0.29

func (a *TurnFailedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for TurnFailedPayload to handle AdditionalProperties

type TurnIdParam added in v0.0.29

type TurnIdParam = string

TurnIdParam defines model for TurnIdParam.

type TurnOutputSpec added in v0.0.51

type TurnOutputSpec struct {
	// Schema JSON Schema the turn's final output must satisfy. The root must be `type: object` and self-contained (no `$ref`); the serialized schema must not exceed 32 KiB. Mobius enforces the OpenAPI 3.0 subset: `required`, `enum`, `additionalProperties`, `minItems`/`maxItems`, `minLength`/`maxLength`, `pattern`, numeric bounds, nested objects/arrays, `oneOf`/`anyOf`/`allOf`, and `nullable`. Not supported: `$ref`/`$defs`, `if`/`then`/`else`, `const` (use a one-value `enum`), `patternProperties`, and `prefixItems`.
	Schema map[string]interface{} `json:"schema"`
}

TurnOutputSpec Attaches a structured-output contract to a turn. When present, Mobius exposes a reserved submit tool whose input schema is the schema below, validates the submission server-side, and a turn that never produces a schema-valid object fails with `error_type: output_schema_unsatisfied` instead of completing. Read the validated value from the completed turn's `output`. This is a per-turn contract, not agent identity, so it works with stored agents and may differ between turns of one session.

type TurnStartedPayload added in v0.0.29

type TurnStartedPayload map[string]interface{}

TurnStartedPayload Payload of a `turn.started` event. Empty: the turn is identified by the envelope `turn_id`, so nothing is duplicated in the payload.

type TurnUpsertFrame added in v0.0.43

type TurnUpsertFrame struct {
	AgentId           string                   `json:"agent_id"`
	Attempt           int                      `json:"attempt"`
	ChannelExchangeId *string                  `json:"channel_exchange_id,omitempty"`
	CompletedAt       *time.Time               `json:"completed_at,omitempty"`
	CreatedAt         time.Time                `json:"created_at"`
	ErrorMessage      *string                  `json:"error_message,omitempty"`
	ErrorType         *string                  `json:"error_type,omitempty"`
	EventType         TurnUpsertFrameEventType `json:"event_type"`
	Id                string                   `json:"id"`

	// Output The validated structured output, delivered on the terminal `turn.upsert` frame. Present only on a `completed` turn that declared an output schema.
	Output *map[string]interface{} `json:"output,omitempty"`

	// OutputSource Provenance of a completed turn's structured `output`: `tool` when the agent submitted it through the reserved `mobius_submit_output` tool, or `text` when Mobius accepted a schema-valid final message as a fallback.
	OutputSource *AgentTurnOutputSource `json:"output_source,omitempty"`
	RunId        *string                `json:"run_id,omitempty"`
	Seq          *int                   `json:"seq,omitempty"`
	SessionId    string                 `json:"session_id"`

	// Status Known AgentTurn status; unknown values must be preserved.
	Status    string    `json:"status"`
	StepKey   *string   `json:"step_key,omitempty"`
	UpdatedAt time.Time `json:"updated_at"`

	// Usage Token usage recorded when the turn terminalized, when available.
	Usage *map[string]interface{} `json:"usage,omitempty"`
	Wait  *SessionTranscriptWait  `json:"wait,omitempty"`
}

TurnUpsertFrame defines model for TurnUpsertFrame.

type TurnUpsertFrameEventType added in v0.0.43

type TurnUpsertFrameEventType string

TurnUpsertFrameEventType defines model for TurnUpsertFrame.EventType.

const (
	TurnUpsertFrameEventTypeTurnUpsert TurnUpsertFrameEventType = "turn.upsert"
)

Defines values for TurnUpsertFrameEventType.

func (TurnUpsertFrameEventType) Valid added in v0.0.43

func (e TurnUpsertFrameEventType) Valid() bool

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

type TurnWaitingPayload added in v0.0.29

type TurnWaitingPayload struct {
	Reason               *string                `json:"reason,omitempty"`
	TurnId               *string                `json:"turn_id,omitempty"`
	Wait                 *SessionTranscriptWait `json:"wait,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

TurnWaitingPayload defines model for TurnWaitingPayload.

func (TurnWaitingPayload) Get added in v0.0.29

func (a TurnWaitingPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for TurnWaitingPayload. Returns the specified element and whether it was found

func (TurnWaitingPayload) MarshalJSON added in v0.0.29

func (a TurnWaitingPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for TurnWaitingPayload to handle AdditionalProperties

func (*TurnWaitingPayload) Set added in v0.0.29

func (a *TurnWaitingPayload) Set(fieldName string, value interface{})

Setter for additional properties for TurnWaitingPayload

func (*TurnWaitingPayload) UnmarshalJSON added in v0.0.29

func (a *TurnWaitingPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for TurnWaitingPayload to handle AdditionalProperties

type Unauthorized

type Unauthorized = ErrorResponse

Unauthorized Standard error envelope returned by API endpoints.

type UpdateActionJSONRequestBody

type UpdateActionJSONRequestBody = UpdateActionRequest

UpdateActionJSONRequestBody defines body for UpdateAction for application/json ContentType.

type UpdateActionRequest added in v0.0.3

type UpdateActionRequest struct {
	// Annotations Pass null to clear all annotation flags.
	Annotations *ActionAnnotationsRequest `json:"annotations,omitempty"`

	// Description Replacement Markdown description.
	Description *string `json:"description,omitempty"`

	// EndpointUrl Replacement endpoint URL. Valid for HTTP actions only.
	EndpointUrl *string `json:"endpoint_url,omitempty"`

	// InputSchema Replacement JSON Schema for inputs. Replaces the existing schema.
	InputSchema *map[string]interface{} `json:"input_schema,omitempty"`

	// InvocationFormat Replacement HTTP request-body contract. `signed_context_v1` is valid only for HTTP-backed actions.
	InvocationFormat *ActionInvocationFormat `json:"invocation_format,omitempty"`

	// OutputSchema Replacement JSON Schema for outputs. Replaces the existing schema.
	OutputSchema *map[string]interface{} `json:"output_schema,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// Title Replacement display title.
	Title *string `json:"title,omitempty"`
}

UpdateActionRequest Updates action metadata, endpoint, schemas, or safe-use hints.

type UpdateActionResponse

type UpdateActionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Action
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseUpdateActionResponse

func ParseUpdateActionResponse(rsp *http.Response) (*UpdateActionResponse, error)

ParseUpdateActionResponse parses an HTTP response from a UpdateActionWithResponse call

func (UpdateActionResponse) ContentType added in v0.0.21

func (r UpdateActionResponse) ContentType() string

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

func (UpdateActionResponse) Status

func (r UpdateActionResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateActionResponse) StatusCode

func (r UpdateActionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateAgentJSONRequestBody added in v0.0.3

type UpdateAgentJSONRequestBody = UpdateAgentRequest

UpdateAgentJSONRequestBody defines body for UpdateAgent for application/json ContentType.

type UpdateAgentRequest added in v0.0.3

type UpdateAgentRequest struct {
	// Color Replacement display color (Mantine palette key, e.g. `indigo`). Pass empty string to clear and fall back to a hash-derived color.
	Color *string `json:"color,omitempty"`

	// CompactionPolicy Controls how a session's transcript is automatically summarized as it grows. On create the supplied fields are merged over the owning agent's default policy and the server defaults; on update they patch the session's current policy. Omitted fields keep their resolved values.
	CompactionPolicy *SessionCompactionPolicy `json:"compaction_policy,omitempty"`

	// Description Replacement description.
	Description *string `json:"description,omitempty"`

	// ExternalRef Assign-once client identity key, unique within the project. Accepted when the agent has no external_ref, or when it repeats the current value idempotently. Changing an already-set value returns 409. When set, the organization definition resolver addresses this agent as `agent/<external_ref>`.
	ExternalRef *string `json:"external_ref,omitempty"`

	// MemoryContext Replacement automatic memory delivery policy. Send an empty object to clear the stored override and restore the bounded index default. Otherwise `mode` is required (`index`, `full`, or `off`) and `max_bytes` is optional.
	MemoryContext *UpdateMemoryContextPolicy `json:"memory_context,omitempty"`

	// Model Replacement model identifier for agents (any id from `GET /v1/projects/{project_handle}/catalog/models`, including slash-bearing OpenRouter catalog ids, or an optionally `provider/`-prefixed id).
	Model *string `json:"model,omitempty"`

	// ModelRoute Default model route used by built-in messaging and by loop agent steps that do not override the route.
	ModelRoute *AgentModelRoute `json:"model_route,omitempty"`

	// Name Free-form human-readable label, 1-63 characters; must be unique within the project.
	Name *string `json:"name,omitempty"`

	// Status Replacement agent status: `active` or `inactive`. Use DELETE to delete the agent.
	Status *UpdateAgentRequestStatus `json:"status,omitempty"`

	// SystemPrompt Replacement system prompt for agents.
	SystemPrompt *string `json:"system_prompt,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// ThinkingEffort Reasoning-effort level for a turn, lowest (`low`) to highest (`max`). Higher effort spends more tokens on reasoning, improving quality on hard tasks at the cost of latency and credits. Levels above what the resolved model supports are clamped down. Set on an agent it is the default; set on a session or loop step it overrides the agent default. `inherit` (or omitting the field) defers to the layer below — the agent default for a session/step, or the provider's own default when nothing sets a level.
	ThinkingEffort *ThinkingEffort `json:"thinking_effort,omitempty"`

	// TimeoutSeconds Replacement per-turn execution timeout in seconds for this agent. `0` resets to the platform default (600s / 10 minutes); a loop step's own timeout overrides it for that step.
	TimeoutSeconds *int64 `json:"timeout_seconds,omitempty"`

	// ToolPresentation Controls how granted actions are surfaced to the model in Mobius-hosted agent turns. `meta` (the default) groups related actions behind compact command routers, while `flat` exposes one tool per action.
	ToolPresentation *AgentToolPresentation `json:"tool_presentation,omitempty"`
}

UpdateAgentRequest Mutable agent fields. The agent's backing identity (`principal_id`, the machine principal created atomically with the agent) is intentionally absent: it is immutable. Reassigning identity is delete-and-recreate.

type UpdateAgentRequestStatus added in v0.0.21

type UpdateAgentRequestStatus string

UpdateAgentRequestStatus Replacement agent status: `active` or `inactive`. Use DELETE to delete the agent.

const (
	UpdateAgentRequestStatusActive   UpdateAgentRequestStatus = "active"
	UpdateAgentRequestStatusInactive UpdateAgentRequestStatus = "inactive"
)

Defines values for UpdateAgentRequestStatus.

func (UpdateAgentRequestStatus) Valid added in v0.0.21

func (e UpdateAgentRequestStatus) Valid() bool

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

type UpdateAgentResponse added in v0.0.3

type UpdateAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Agent
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseUpdateAgentResponse added in v0.0.3

func ParseUpdateAgentResponse(rsp *http.Response) (*UpdateAgentResponse, error)

ParseUpdateAgentResponse parses an HTTP response from a UpdateAgentWithResponse call

func (UpdateAgentResponse) ContentType added in v0.0.21

func (r UpdateAgentResponse) ContentType() string

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

func (UpdateAgentResponse) Status added in v0.0.3

func (r UpdateAgentResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateAgentResponse) StatusCode added in v0.0.3

func (r UpdateAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateEnvironmentJSONRequestBody added in v0.0.21

type UpdateEnvironmentJSONRequestBody = UpdateEnvironmentRequest

UpdateEnvironmentJSONRequestBody defines body for UpdateEnvironment for application/json ContentType.

type UpdateEnvironmentRequest added in v0.0.21

type UpdateEnvironmentRequest struct {
	// OwnedBy Canonical user owner ID. Send null to clear ownership.
	OwnedBy *string `json:"owned_by,omitempty"`

	// Scope Resource scope; send null to return to the project/default scope.
	Scope *ResourceScope `json:"scope,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`
}

UpdateEnvironmentRequest defines model for UpdateEnvironmentRequest.

type UpdateEnvironmentResponse added in v0.0.21

type UpdateEnvironmentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Environment
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON429      *TooManyRequests
}

func ParseUpdateEnvironmentResponse added in v0.0.21

func ParseUpdateEnvironmentResponse(rsp *http.Response) (*UpdateEnvironmentResponse, error)

ParseUpdateEnvironmentResponse parses an HTTP response from a UpdateEnvironmentWithResponse call

func (UpdateEnvironmentResponse) ContentType added in v0.0.21

func (r UpdateEnvironmentResponse) ContentType() string

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

func (UpdateEnvironmentResponse) Status added in v0.0.21

func (r UpdateEnvironmentResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateEnvironmentResponse) StatusCode added in v0.0.21

func (r UpdateEnvironmentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateLoopJSONRequestBody added in v0.0.24

type UpdateLoopJSONRequestBody = UpdateLoopRequest

UpdateLoopJSONRequestBody defines body for UpdateLoop for application/json ContentType.

type UpdateLoopRequest added in v0.0.24

type UpdateLoopRequest struct {
	// AgentId Agent associated with this loop. Agent steps use it when they do not pin `config.agent_id`.
	AgentId *string `json:"agent_id,omitempty"`

	// Cleanup Replacement cleanup steps or policies.
	Cleanup *[]map[string]interface{} `json:"cleanup,omitempty"`

	// Concurrency Concurrency behavior: `allow`, `queue`, `skip`, or `replace`.
	Concurrency *UpdateLoopRequestConcurrency `json:"concurrency,omitempty"`

	// Config Declared run config fields for this loop.
	Config *map[string]LoopSpecInput `json:"config,omitempty"`

	// DefaultConfig Default config values used when a run is started without overrides.
	DefaultConfig *map[string]interface{} `json:"default_config,omitempty"`

	// Defaults Run-level defaults inside the loop spec. Lives at `spec.defaults` in the JSON the engine compiles. The run wall-clock limit moved to `limits.wall_clock_timeout`.
	Defaults *LoopSpecDefaults `json:"defaults,omitempty"`

	// Description Markdown description of the loop's purpose.
	Description *string `json:"description,omitempty"`

	// Event Declared event fields for this loop.
	Event *map[string]LoopSpecInput `json:"event,omitempty"`

	// Limits Run guardrails. Lives at `spec.limits` in the JSON the engine compiles. Every limit is optional; absent or zero means unbounded (plan-level org caps still apply), with one exception — trial-plan runs default to a 100-credit ($1) budget when no budget is set here or on the start request. Paid plans default to unbounded.
	Limits *LoopSpecLimits `json:"limits,omitempty"`

	// Name Human-readable display name.
	Name *string `json:"name,omitempty"`

	// Output Replacement run result contract.
	Output *map[string]interface{} `json:"output,omitempty"`

	// Repositories Replacement source repositories the loop targets.
	Repositories *[]LoopSpecRepository `json:"repositories,omitempty"`

	// RunName Templates for assigning an operator-facing title and optional description to each run. The object form leaves room for additional naming strategies without changing the loop spec shape.
	RunName *RunNameSpec `json:"run_name,omitempty"`

	// SchemaVersion Loop authoring schema version. Only schema version 1 is accepted.
	SchemaVersion *UpdateLoopRequestSchemaVersion `json:"schema_version,omitempty"`

	// Settings Free-form loop-level settings consumed by the engine.
	Settings *map[string]interface{} `json:"settings,omitempty"`

	// Status Loop lifecycle status: `draft`, `active`, `paused`, or `deleted`.
	Status *LoopStatus `json:"status,omitempty"`

	// Steps Replacement ordered user-authored steps.
	Steps *[]LoopStep `json:"steps,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// Triggers Replacement authored trigger declarations.
	Triggers *[]LoopSpecTrigger `json:"triggers,omitempty"`
}

UpdateLoopRequest Partial update of loop metadata and/or authoring fields. Authoring changes become runnable immediately.

type UpdateLoopRequestConcurrency added in v0.0.25

type UpdateLoopRequestConcurrency string

UpdateLoopRequestConcurrency Concurrency behavior: `allow`, `queue`, `skip`, or `replace`.

const (
	UpdateLoopRequestConcurrencyAllow   UpdateLoopRequestConcurrency = "allow"
	UpdateLoopRequestConcurrencyQueue   UpdateLoopRequestConcurrency = "queue"
	UpdateLoopRequestConcurrencyReplace UpdateLoopRequestConcurrency = "replace"
	UpdateLoopRequestConcurrencySkip    UpdateLoopRequestConcurrency = "skip"
)

Defines values for UpdateLoopRequestConcurrency.

func (UpdateLoopRequestConcurrency) Valid added in v0.0.25

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

type UpdateLoopRequestSchemaVersion added in v0.0.25

type UpdateLoopRequestSchemaVersion string

UpdateLoopRequestSchemaVersion Loop authoring schema version. Only schema version 1 is accepted.

const (
	UpdateLoopRequestSchemaVersionN1 UpdateLoopRequestSchemaVersion = "1"
)

Defines values for UpdateLoopRequestSchemaVersion.

func (UpdateLoopRequestSchemaVersion) Valid added in v0.0.25

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

type UpdateLoopResponse added in v0.0.24

type UpdateLoopResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Loop
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseUpdateLoopResponse added in v0.0.24

func ParseUpdateLoopResponse(rsp *http.Response) (*UpdateLoopResponse, error)

ParseUpdateLoopResponse parses an HTTP response from a UpdateLoopWithResponse call

func (UpdateLoopResponse) ContentType added in v0.0.24

func (r UpdateLoopResponse) ContentType() string

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

func (UpdateLoopResponse) Status added in v0.0.24

func (r UpdateLoopResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateLoopResponse) StatusCode added in v0.0.24

func (r UpdateLoopResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateMemoryContextPolicy added in v0.0.53

type UpdateMemoryContextPolicy struct {
	// MaxBytes UTF-8 byte budget. Omit or send `0` for the selected mode's default. Off mode ignores this field.
	MaxBytes *int `json:"max_bytes,omitempty"`

	// Mode Automatic memory delivery mode for agent turns.
	Mode *MemoryContextMode `json:"mode,omitempty"`
}

UpdateMemoryContextPolicy Replacement automatic memory delivery policy. Send an empty object to clear the stored override and restore the bounded index default. Otherwise `mode` is required (`index`, `full`, or `off`) and `max_bytes` is optional.

type UpdateOrganizationActionJSONRequestBody added in v0.0.54

type UpdateOrganizationActionJSONRequestBody = UpdateOrganizationActionRequest

UpdateOrganizationActionJSONRequestBody defines body for UpdateOrganizationAction for application/json ContentType.

type UpdateOrganizationActionRequest added in v0.0.54

type UpdateOrganizationActionRequest struct {
	Annotations *ActionAnnotationsRequest `json:"annotations,omitempty"`
	Description *string                   `json:"description,omitempty"`
	Enabled     *bool                     `json:"enabled,omitempty"`

	// EndpointUrl Public HTTPS endpoint. Private, loopback, link-local, and redirect targets are rejected.
	EndpointUrl  *string                 `json:"endpoint_url,omitempty"`
	InputSchema  *map[string]interface{} `json:"input_schema,omitempty"`
	Name         *string                 `json:"name,omitempty"`
	OutputSchema *map[string]interface{} `json:"output_schema,omitempty"`
	Title        *string                 `json:"title,omitempty"`
}

UpdateOrganizationActionRequest defines model for UpdateOrganizationActionRequest.

type UpdateOrganizationActionResponse added in v0.0.54

type UpdateOrganizationActionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OrganizationAction
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
}

func ParseUpdateOrganizationActionResponse added in v0.0.54

func ParseUpdateOrganizationActionResponse(rsp *http.Response) (*UpdateOrganizationActionResponse, error)

ParseUpdateOrganizationActionResponse parses an HTTP response from a UpdateOrganizationActionWithResponse call

func (UpdateOrganizationActionResponse) ContentType added in v0.0.54

func (r UpdateOrganizationActionResponse) ContentType() string

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

func (UpdateOrganizationActionResponse) Status added in v0.0.54

Status returns HTTPResponse.Status

func (UpdateOrganizationActionResponse) StatusCode added in v0.0.54

func (r UpdateOrganizationActionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePrincipalJSONRequestBody added in v0.0.22

type UpdatePrincipalJSONRequestBody = UpdatePrincipalRequest

UpdatePrincipalJSONRequestBody defines body for UpdatePrincipal for application/json ContentType.

type UpdatePrincipalRequest added in v0.0.22

type UpdatePrincipalRequest struct {
	// Description Replacement description.
	Description *string `json:"description,omitempty"`

	// Metadata Replacement metadata.
	Metadata *map[string]interface{} `json:"metadata,omitempty"`

	// OwnerId Human principal accountable for this principal.
	OwnerId *string `json:"owner_id,omitempty"`

	// RoleIds Replacement role IDs for this principal in the project. Send an empty array to remove all project role assignments. Requires `mobius.project.admin`.
	RoleIds *[]string `json:"role_ids,omitempty"`

	// State Canonical business-lifecycle state. `active` allows authentication and job claims; `disabled` is a reversible kill switch that blocks them but preserves the record and its assignments; `deleted` is the retained archived state used for audit, attribution, and history.
	State *PrincipalState `json:"state,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`
}

UpdatePrincipalRequest defines model for UpdatePrincipalRequest.

type UpdatePrincipalResponse added in v0.0.22

type UpdatePrincipalResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Principal
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
}

func ParseUpdatePrincipalResponse added in v0.0.22

func ParseUpdatePrincipalResponse(rsp *http.Response) (*UpdatePrincipalResponse, error)

ParseUpdatePrincipalResponse parses an HTTP response from a UpdatePrincipalWithResponse call

func (UpdatePrincipalResponse) ContentType added in v0.0.22

func (r UpdatePrincipalResponse) ContentType() string

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

func (UpdatePrincipalResponse) Status added in v0.0.22

func (r UpdatePrincipalResponse) Status() string

Status returns HTTPResponse.Status

func (UpdatePrincipalResponse) StatusCode added in v0.0.22

func (r UpdatePrincipalResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateProjectJSONRequestBody added in v0.0.3

type UpdateProjectJSONRequestBody = UpdateProjectRequest

UpdateProjectJSONRequestBody defines body for UpdateProject for application/json ContentType.

type UpdateProjectRequest added in v0.0.3

type UpdateProjectRequest struct {
	// AccessMode `open`: every org member can see and use the project, subject to role assignments. `restricted`: only listed project members (and org owners/admins) can see or use the project.
	AccessMode *ProjectAccessMode `json:"access_mode,omitempty"`

	// Description Replacement description.
	Description *string `json:"description,omitempty"`

	// ExternalRef Assign-once client tenant/workspace correlation key. Accepted when the current project has no external_ref, or when it repeats the current value. Changing an already-set value returns 409.
	ExternalRef *string `json:"external_ref,omitempty"`

	// Name Replacement human-readable name.
	Name *string `json:"name,omitempty"`

	// SeedExistingMembers When transitioning from `open` to `restricted`, set true to insert all current org members as project members so nobody loses visibility on the flip. Ignored on other transitions.
	SeedExistingMembers *bool `json:"seed_existing_members,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`
}

UpdateProjectRequest defines model for UpdateProjectRequest.

type UpdateProjectResponse added in v0.0.3

type UpdateProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Project
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseUpdateProjectResponse added in v0.0.3

func ParseUpdateProjectResponse(rsp *http.Response) (*UpdateProjectResponse, error)

ParseUpdateProjectResponse parses an HTTP response from a UpdateProjectWithResponse call

func (UpdateProjectResponse) ContentType added in v0.0.21

func (r UpdateProjectResponse) ContentType() string

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

func (UpdateProjectResponse) Status added in v0.0.3

func (r UpdateProjectResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateProjectResponse) StatusCode added in v0.0.3

func (r UpdateProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateRoleJSONRequestBody

type UpdateRoleJSONRequestBody = UpdateRoleRequest

UpdateRoleJSONRequestBody defines body for UpdateRole for application/json ContentType.

type UpdateRoleRequest

type UpdateRoleRequest struct {
	// Description Replacement description.
	Description *string `json:"description,omitempty"`

	// Permissions Replaces the existing permissions array entirely. Source allowed values from `GET /v1/projects/{project_handle}/permissions`; legacy IDs or values not present in that catalog are rejected.
	Permissions *[]string `json:"permissions,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`
}

UpdateRoleRequest defines model for UpdateRoleRequest.

type UpdateRoleResponse

type UpdateRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Role
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
}

func ParseUpdateRoleResponse

func ParseUpdateRoleResponse(rsp *http.Response) (*UpdateRoleResponse, error)

ParseUpdateRoleResponse parses an HTTP response from a UpdateRoleWithResponse call

func (UpdateRoleResponse) ContentType added in v0.0.21

func (r UpdateRoleResponse) ContentType() string

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

func (UpdateRoleResponse) Status

func (r UpdateRoleResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateRoleResponse) StatusCode

func (r UpdateRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateRowRequest added in v0.0.19

type UpdateRowRequest struct {
	// Data Fields to merge into the existing row, keyed by table column name.
	Data map[string]interface{} `json:"data"`

	// Version Expected version for optimistic locking. Omit or 0 to skip the check.
	Version *int `json:"version,omitempty"`
}

UpdateRowRequest defines model for UpdateRowRequest.

type UpdateSessionJSONRequestBody added in v0.0.26

type UpdateSessionJSONRequestBody = UpdateSessionRequest

UpdateSessionJSONRequestBody defines body for UpdateSession for application/json ContentType.

type UpdateSessionRequest added in v0.0.26

type UpdateSessionRequest struct {
	// CompactionPolicy Controls how a session's transcript is automatically summarized as it grows. On create the supplied fields are merged over the owning agent's default policy and the server defaults; on update they patch the session's current policy. Omitted fields keep their resolved values.
	CompactionPolicy *SessionCompactionPolicy `json:"compaction_policy,omitempty"`

	// Status Durable conversation session status: `active`, `archived`, or `deleted`.
	Status *SessionStatus `json:"status,omitempty"`

	// ThinkingEffort Reasoning-effort level for a turn, lowest (`low`) to highest (`max`). Higher effort spends more tokens on reasoning, improving quality on hard tasks at the cost of latency and credits. Levels above what the resolved model supports are clamped down. Set on an agent it is the default; set on a session or loop step it overrides the agent default. `inherit` (or omitting the field) defers to the layer below — the agent default for a session/step, or the provider's own default when nothing sets a level.
	ThinkingEffort *ThinkingEffort `json:"thinking_effort,omitempty"`

	// Title Human-readable session title.
	Title *string `json:"title,omitempty"`
}

UpdateSessionRequest Mutable display and lifecycle fields for a session.

type UpdateSessionResponse added in v0.0.26

type UpdateSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Session
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseUpdateSessionResponse added in v0.0.26

func ParseUpdateSessionResponse(rsp *http.Response) (*UpdateSessionResponse, error)

ParseUpdateSessionResponse parses an HTTP response from a UpdateSessionWithResponse call

func (UpdateSessionResponse) ContentType added in v0.0.26

func (r UpdateSessionResponse) ContentType() string

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

func (UpdateSessionResponse) Status added in v0.0.26

func (r UpdateSessionResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateSessionResponse) StatusCode added in v0.0.26

func (r UpdateSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSkillJSONRequestBody added in v0.0.21

type UpdateSkillJSONRequestBody = SkillRequest

UpdateSkillJSONRequestBody defines body for UpdateSkill for application/json ContentType.

type UpdateSkillResponse added in v0.0.21

type UpdateSkillResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Skill
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseUpdateSkillResponse added in v0.0.21

func ParseUpdateSkillResponse(rsp *http.Response) (*UpdateSkillResponse, error)

ParseUpdateSkillResponse parses an HTTP response from a UpdateSkillWithResponse call

func (UpdateSkillResponse) ContentType added in v0.0.21

func (r UpdateSkillResponse) ContentType() string

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

func (UpdateSkillResponse) Status added in v0.0.21

func (r UpdateSkillResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateSkillResponse) StatusCode added in v0.0.21

func (r UpdateSkillResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateTableJSONRequestBody added in v0.0.20

type UpdateTableJSONRequestBody = UpdateTableRequest

UpdateTableJSONRequestBody defines body for UpdateTable for application/json ContentType.

type UpdateTableRequest added in v0.0.20

type UpdateTableRequest struct {
	// Description Optional human-readable description of the table.
	Description *string `json:"description,omitempty"`

	// Instructions Optional author guidance for how this table should be used (e.g. surfaced to agents).
	Instructions *string `json:"instructions,omitempty"`

	// Name Table name (lowercase, snake_case); unique within the project.
	Name *string `json:"name,omitempty"`

	// Schema Column definition for a virtual table. Each table has exactly one required string identity column and may nominate one optional string secondary key column.
	Schema *TableSchema `json:"schema,omitempty"`
}

UpdateTableRequest defines model for UpdateTableRequest.

type UpdateTableResponse added in v0.0.20

type UpdateTableResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Table
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseUpdateTableResponse added in v0.0.20

func ParseUpdateTableResponse(rsp *http.Response) (*UpdateTableResponse, error)

ParseUpdateTableResponse parses an HTTP response from a UpdateTableWithResponse call

func (UpdateTableResponse) ContentType added in v0.0.21

func (r UpdateTableResponse) ContentType() string

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

func (UpdateTableResponse) Status added in v0.0.20

func (r UpdateTableResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateTableResponse) StatusCode added in v0.0.20

func (r UpdateTableResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateTableRowJSONRequestBody added in v0.0.20

type UpdateTableRowJSONRequestBody = UpdateRowRequest

UpdateTableRowJSONRequestBody defines body for UpdateTableRow for application/json ContentType.

type UpdateTableRowResponse added in v0.0.20

type UpdateTableRowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TableRow
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseUpdateTableRowResponse added in v0.0.20

func ParseUpdateTableRowResponse(rsp *http.Response) (*UpdateTableRowResponse, error)

ParseUpdateTableRowResponse parses an HTTP response from a UpdateTableRowWithResponse call

func (UpdateTableRowResponse) ContentType added in v0.0.21

func (r UpdateTableRowResponse) ContentType() string

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

func (UpdateTableRowResponse) Status added in v0.0.20

func (r UpdateTableRowResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateTableRowResponse) StatusCode added in v0.0.20

func (r UpdateTableRowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateToolkitJSONRequestBody added in v0.0.21

type UpdateToolkitJSONRequestBody = ToolkitRequest

UpdateToolkitJSONRequestBody defines body for UpdateToolkit for application/json ContentType.

type UpdateToolkitResponse added in v0.0.21

type UpdateToolkitResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Toolkit
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseUpdateToolkitResponse added in v0.0.21

func ParseUpdateToolkitResponse(rsp *http.Response) (*UpdateToolkitResponse, error)

ParseUpdateToolkitResponse parses an HTTP response from a UpdateToolkitWithResponse call

func (UpdateToolkitResponse) ContentType added in v0.0.21

func (r UpdateToolkitResponse) ContentType() string

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

func (UpdateToolkitResponse) Status added in v0.0.21

func (r UpdateToolkitResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateToolkitResponse) StatusCode added in v0.0.21

func (r UpdateToolkitResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateWebhookJSONRequestBody

type UpdateWebhookJSONRequestBody = UpdateWebhookRequest

UpdateWebhookJSONRequestBody defines body for UpdateWebhook for application/json ContentType.

type UpdateWebhookRequest

type UpdateWebhookRequest struct {
	// Enabled Set to false to disable delivery without deleting the webhook.
	Enabled *bool `json:"enabled,omitempty"`

	// Events Replacement event subscriptions. Replaces the entire current list; an empty list subscribes to all event types.
	Events *[]string `json:"events,omitempty"`

	// Name Replacement human-readable name.
	Name *string `json:"name,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// Url Replacement endpoint URL.
	Url *string `json:"url,omitempty"`
}

UpdateWebhookRequest defines model for UpdateWebhookRequest.

type UpdateWebhookResponse

type UpdateWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Webhook
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseUpdateWebhookResponse

func ParseUpdateWebhookResponse(rsp *http.Response) (*UpdateWebhookResponse, error)

ParseUpdateWebhookResponse parses an HTTP response from a UpdateWebhookWithResponse call

func (UpdateWebhookResponse) ContentType added in v0.0.21

func (r UpdateWebhookResponse) ContentType() string

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

func (UpdateWebhookResponse) Status

func (r UpdateWebhookResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateWebhookResponse) StatusCode

func (r UpdateWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpsertRowRequest added in v0.0.19

type UpsertRowRequest struct {
	// Data Fields to create or merge into the row. Must include the table's identity column.
	Data map[string]interface{} `json:"data"`
}

UpsertRowRequest defines model for UpsertRowRequest.

type UpsertRowResult added in v0.0.25

type UpsertRowResult struct {
	// Created True when a new row was inserted; false when an existing row was updated.
	Created bool `json:"created"`

	// Row One stored row in a project table.
	Row TableRow `json:"row"`
}

UpsertRowResult Result of inserting or updating a row by the table's identity column.

type UpsertTableRowJSONRequestBody added in v0.0.20

type UpsertTableRowJSONRequestBody = UpsertRowRequest

UpsertTableRowJSONRequestBody defines body for UpsertTableRow for application/json ContentType.

type UpsertTableRowResponse added in v0.0.20

type UpsertTableRowResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UpsertRowResult
	JSON201      *UpsertRowResult
	JSON400      *BadRequest
	JSON401      *Unauthorized
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON409      *Conflict
	JSON429      *TooManyRequests
}

func ParseUpsertTableRowResponse added in v0.0.20

func ParseUpsertTableRowResponse(rsp *http.Response) (*UpsertTableRowResponse, error)

ParseUpsertTableRowResponse parses an HTTP response from a UpsertTableRowWithResponse call

func (UpsertTableRowResponse) ContentType added in v0.0.21

func (r UpsertTableRowResponse) ContentType() string

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

func (UpsertTableRowResponse) Status added in v0.0.20

func (r UpsertTableRowResponse) Status() string

Status returns HTTPResponse.Status

func (UpsertTableRowResponse) StatusCode added in v0.0.20

func (r UpsertTableRowResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WaitPayload added in v0.0.29

type WaitPayload struct {
	Deadline *time.Time `json:"deadline,omitempty"`

	// EventType Source event type or pattern this wait is listening for.
	EventType *string `json:"event_type,omitempty"`

	// ExpiresAt Wall-clock expiry for the wait, when bounded.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`

	// Match Optional matcher fields required on the source event.
	Match *map[string]interface{} `json:"match,omitempty"`

	// SourceId Optional source identifier that scopes event matching.
	SourceId             *string                 `json:"source_id,omitempty"`
	Step                 *string                 `json:"step,omitempty"`
	Subject              *map[string]interface{} `json:"subject,omitempty"`
	WaitId               *string                 `json:"wait_id,omitempty"`
	WaitKind             *string                 `json:"wait_kind,omitempty"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

WaitPayload defines model for WaitPayload.

func (WaitPayload) Get added in v0.0.29

func (a WaitPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for WaitPayload. Returns the specified element and whether it was found

func (WaitPayload) MarshalJSON added in v0.0.29

func (a WaitPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for WaitPayload to handle AdditionalProperties

func (*WaitPayload) Set added in v0.0.29

func (a *WaitPayload) Set(fieldName string, value interface{})

Setter for additional properties for WaitPayload

func (*WaitPayload) UnmarshalJSON added in v0.0.29

func (a *WaitPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for WaitPayload to handle AdditionalProperties

type WaitResumedPayload added in v0.0.29

type WaitResumedPayload struct {
	Payload              *map[string]interface{} `json:"payload,omitempty"`
	Step                 *string                 `json:"step,omitempty"`
	WaitId               *string                 `json:"wait_id,omitempty"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

WaitResumedPayload defines model for WaitResumedPayload.

func (WaitResumedPayload) Get added in v0.0.29

func (a WaitResumedPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for WaitResumedPayload. Returns the specified element and whether it was found

func (WaitResumedPayload) MarshalJSON added in v0.0.29

func (a WaitResumedPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for WaitResumedPayload to handle AdditionalProperties

func (*WaitResumedPayload) Set added in v0.0.29

func (a *WaitResumedPayload) Set(fieldName string, value interface{})

Setter for additional properties for WaitResumedPayload

func (*WaitResumedPayload) UnmarshalJSON added in v0.0.29

func (a *WaitResumedPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for WaitResumedPayload to handle AdditionalProperties

type WaitTimedOutPayload added in v0.0.29

type WaitTimedOutPayload struct {
	Reason               *string                `json:"reason,omitempty"`
	Step                 *string                `json:"step,omitempty"`
	WaitId               *string                `json:"wait_id,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

WaitTimedOutPayload defines model for WaitTimedOutPayload.

func (WaitTimedOutPayload) Get added in v0.0.29

func (a WaitTimedOutPayload) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for WaitTimedOutPayload. Returns the specified element and whether it was found

func (WaitTimedOutPayload) MarshalJSON added in v0.0.29

func (a WaitTimedOutPayload) MarshalJSON() ([]byte, error)

Override default JSON handling for WaitTimedOutPayload to handle AdditionalProperties

func (*WaitTimedOutPayload) Set added in v0.0.29

func (a *WaitTimedOutPayload) Set(fieldName string, value interface{})

Setter for additional properties for WaitTimedOutPayload

func (*WaitTimedOutPayload) UnmarshalJSON added in v0.0.29

func (a *WaitTimedOutPayload) UnmarshalJSON(b []byte) error

Override default JSON handling for WaitTimedOutPayload to handle AdditionalProperties

type Webhook

type Webhook struct {
	// CreatedAt Timestamp when this webhook was created.
	CreatedAt time.Time `json:"created_at"`

	// CreatedBy User ID of the principal who created this webhook.
	CreatedBy *string `json:"created_by,omitempty"`

	// Enabled When false, matching events are not delivered.
	Enabled bool `json:"enabled"`

	// Events Subscribed event types. Use dot notation (`run.completed`, `run.failed`) or wildcards (`run.*` for all run events). An empty list subscribes to all event types.
	Events []string `json:"events"`

	// Id Unique identifier for this webhook.
	Id string `json:"id"`

	// Name Human-readable name, unique within the project.
	Name string `json:"name"`

	// SecretRef Project secret reference that stores this webhook's signing key.
	SecretRef *string `json:"secret_ref,omitempty"`

	// SecretVersion Version of `secret_ref` created by this response. Only populated on create and rotate responses.
	SecretVersion *int64 `json:"secret_version,omitempty"`

	// SigningSecret Base64-encoded 32-byte HMAC-SHA256 signing key. Only populated on create and rotate responses; absent on all other reads. Store this value securely on first receipt — it cannot be retrieved again.
	SigningSecret *string `json:"signing_secret,omitempty"`

	// Tags Key/value tags for organizing and filtering resources. Up to 8 per resource; keys 1–128 characters, values up to 256. Keys prefixed `mobius:` are system-managed and cannot be set by callers.
	Tags *TagMap `json:"tags,omitempty"`

	// UpdatedAt Timestamp when this webhook was last updated.
	UpdatedAt time.Time `json:"updated_at"`

	// UpdatedBy User ID of the principal who last updated this webhook.
	UpdatedBy *string `json:"updated_by,omitempty"`

	// Url The customer endpoint Mobius POSTs event payloads to.
	Url string `json:"url"`
}

Webhook A project-level outgoing webhook subscription. When a subscribed event fires, Mobius POSTs the event payload to `url`.

type WebhookDeliveryListResponse added in v0.0.3

type WebhookDeliveryListResponse struct {
	// HasMore Whether additional pages are available.
	HasMore bool `json:"has_more"`

	// Items The list of results for this page.
	Items []WebhookDeliveryRecord `json:"items"`

	// NextCursor Opaque cursor to pass as `cursor` on the next request. Absent when `has_more` is false.
	NextCursor *string `json:"next_cursor,omitempty"`
}

WebhookDeliveryListResponse defines model for WebhookDeliveryListResponse.

type WebhookDeliveryRecord added in v0.0.22

type WebhookDeliveryRecord struct {
	// Attempts Number of delivery attempts made so far. Max 10.
	Attempts int `json:"attempts"`

	// CreatedAt Timestamp when this delivery was first attempted.
	CreatedAt time.Time `json:"created_at"`

	// DeliveredAt Timestamp of the successful delivery. Absent until delivered.
	DeliveredAt *time.Time `json:"delivered_at,omitempty"`

	// EventType The event type that triggered this delivery (e.g. `run.completed`).
	EventType string `json:"event_type"`

	// Id Unique identifier for this delivery record.
	Id string `json:"id"`

	// LastError Error message from the most recent failed attempt.
	LastError *string `json:"last_error,omitempty"`

	// RunId Run that triggered the event, when applicable.
	RunId *string `json:"run_id,omitempty"`

	// Status `pending` — queued, not yet attempted. `processing` — currently being delivered. `delivered` — recipient returned 2xx. `failed` — all retry attempts exhausted.
	Status WebhookDeliveryStatus `json:"status"`

	// WebhookId ID of the webhook this delivery belongs to.
	WebhookId string `json:"webhook_id"`
}

WebhookDeliveryRecord One delivery record for a webhook event. The daemon claims pending rows, POSTs the payload, and transitions to `delivered` or retries on failure. A delivery reaches `failed` only after exhausting all 10 retry attempts.

type WebhookDeliveryStatus added in v0.0.3

type WebhookDeliveryStatus string

WebhookDeliveryStatus `pending` — queued, not yet attempted. `processing` — currently being delivered. `delivered` — recipient returned 2xx. `failed` — all retry attempts exhausted.

const (
	WebhookDeliveryStatusDelivered  WebhookDeliveryStatus = "delivered"
	WebhookDeliveryStatusFailed     WebhookDeliveryStatus = "failed"
	WebhookDeliveryStatusPending    WebhookDeliveryStatus = "pending"
	WebhookDeliveryStatusProcessing WebhookDeliveryStatus = "processing"
)

Defines values for WebhookDeliveryStatus.

func (WebhookDeliveryStatus) Valid added in v0.0.3

func (e WebhookDeliveryStatus) Valid() bool

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

type WebhookListResponse

type WebhookListResponse struct {
	// HasMore Whether additional pages are available.
	HasMore bool `json:"has_more"`

	// Items The list of results for this page.
	Items []Webhook `json:"items"`

	// NextCursor Opaque cursor to pass as `cursor` on the next request. Absent when `has_more` is false.
	NextCursor *string `json:"next_cursor,omitempty"`
}

WebhookListResponse defines model for WebhookListResponse.

type WorkerModelCatalogItem added in v0.0.29

type WorkerModelCatalogItem struct {
	// Model Worker-advertised model id, matched exactly by `model_route.model`.
	Model string `json:"model"`

	// Provider Worker-advertised provider id, matched exactly by `model_route.provider`.
	Provider string `json:"provider"`

	// Route Assign this route to use a local worker model.
	Route WorkerModelRoute `json:"route"`

	// WorkerCount Number of online workers currently advertising this exact provider/model pair.
	WorkerCount int `json:"worker_count"`
}

WorkerModelCatalogItem One exact local model route available through online workers.

type WorkerModelCatalogListResponse added in v0.0.36

type WorkerModelCatalogListResponse struct {
	Items []WorkerModelCatalogItem `json:"items"`
}

WorkerModelCatalogListResponse Local LLM models advertised by online project workers.

type WorkerModelRoute added in v0.0.29

type WorkerModelRoute struct {
	// Mode Model route mode. Worker catalog routes always use `worker`.
	Mode WorkerModelRouteMode `json:"mode"`

	// Model Model identifier advertised by the local worker.
	Model string `json:"model"`

	// Provider Provider id advertised by the local worker.
	Provider string `json:"provider"`
}

WorkerModelRoute Assign this route to use a local worker model.

type WorkerModelRouteMode added in v0.0.29

type WorkerModelRouteMode string

WorkerModelRouteMode Model route mode. Worker catalog routes always use `worker`.

const (
	WorkerModelRouteModeWorker WorkerModelRouteMode = "worker"
)

Defines values for WorkerModelRouteMode.

func (WorkerModelRouteMode) Valid added in v0.0.29

func (e WorkerModelRouteMode) Valid() bool

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

type WorkerSocketCancelDirective added in v0.0.22

type WorkerSocketCancelDirective struct {
	JobId       string     `json:"job_id"`
	Reason      *string    `json:"reason,omitempty"`
	RequestedAt *time.Time `json:"requested_at,omitempty"`
}

WorkerSocketCancelDirective defines model for WorkerSocketCancelDirective.

type WorkerSocketClaimedJob added in v0.0.22

type WorkerSocketClaimedJob struct {
	// ActionName Present for `action_execution` jobs.
	ActionName   *string `json:"action_name,omitempty"`
	AgentTurnId  *string `json:"agent_turn_id,omitempty"`
	ClaimAttempt int     `json:"claim_attempt"`

	// EnvironmentId Present when the job is pinned to a managed environment worker.
	EnvironmentId           *string                            `json:"environment_id,omitempty"`
	ExecutorKind            WorkerSocketClaimedJobExecutorKind `json:"executor_kind"`
	HeartbeatCadenceSeconds int                                `json:"heartbeat_cadence_seconds"`

	// Id Job ID.
	Id                   string                     `json:"id"`
	Kind                 WorkerSocketClaimedJobKind `json:"kind"`
	LeaseDurationSeconds int                        `json:"lease_duration_seconds"`

	// LeaseToken Opaque per-job lease fence returned by claim.
	LeaseToken string `json:"lease_token"`

	// Model Present for `llm_generation` jobs.
	Model  *string                      `json:"model,omitempty"`
	Origin WorkerSocketClaimedJobOrigin `json:"origin"`

	// Provider Present for `llm_generation` jobs.
	Provider  *string `json:"provider,omitempty"`
	Queue     string  `json:"queue"`
	RunId     *string `json:"run_id,omitempty"`
	SessionId *string `json:"session_id,omitempty"`

	// Spec Worker-specific action or generation payload. For `kind=llm_generation`, this object follows `WorkerSocketLLMGenerationSpec`.
	Spec       map[string]interface{} `json:"spec"`
	StepId     *string                `json:"step_id,omitempty"`
	ToolCallId *string                `json:"tool_call_id,omitempty"`
}

WorkerSocketClaimedJob defines model for WorkerSocketClaimedJob.

type WorkerSocketClaimedJobExecutorKind added in v0.0.22

type WorkerSocketClaimedJobExecutorKind string

WorkerSocketClaimedJobExecutorKind defines model for WorkerSocketClaimedJob.ExecutorKind.

const (
	WorkerSocketClaimedJobExecutorKindCustomerWorker WorkerSocketClaimedJobExecutorKind = "customer_worker"
	WorkerSocketClaimedJobExecutorKindServerWorker   WorkerSocketClaimedJobExecutorKind = "server_worker"
)

Defines values for WorkerSocketClaimedJobExecutorKind.

func (WorkerSocketClaimedJobExecutorKind) Valid added in v0.0.22

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

type WorkerSocketClaimedJobKind added in v0.0.22

type WorkerSocketClaimedJobKind string

WorkerSocketClaimedJobKind defines model for WorkerSocketClaimedJob.Kind.

const (
	WorkerSocketClaimedJobKindActionExecution WorkerSocketClaimedJobKind = "action_execution"
	WorkerSocketClaimedJobKindLlmGeneration   WorkerSocketClaimedJobKind = "llm_generation"
)

Defines values for WorkerSocketClaimedJobKind.

func (WorkerSocketClaimedJobKind) Valid added in v0.0.22

func (e WorkerSocketClaimedJobKind) Valid() bool

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

type WorkerSocketClaimedJobOrigin added in v0.0.22

type WorkerSocketClaimedJobOrigin string

WorkerSocketClaimedJobOrigin defines model for WorkerSocketClaimedJob.Origin.

const (
	WorkerSocketClaimedJobOriginAgentLlmCall         WorkerSocketClaimedJobOrigin = "agent_llm_call"
	WorkerSocketClaimedJobOriginAgentToolCall        WorkerSocketClaimedJobOrigin = "agent_tool_call"
	WorkerSocketClaimedJobOriginConversationLlmCall  WorkerSocketClaimedJobOrigin = "conversation_llm_call"
	WorkerSocketClaimedJobOriginConversationToolCall WorkerSocketClaimedJobOrigin = "conversation_tool_call"
	WorkerSocketClaimedJobOriginDirectActionInvoke   WorkerSocketClaimedJobOrigin = "direct_action_invoke"
	WorkerSocketClaimedJobOriginLoopActionStep       WorkerSocketClaimedJobOrigin = "loop_action_step"
	WorkerSocketClaimedJobOriginServerInternal       WorkerSocketClaimedJobOrigin = "server_internal"
)

Defines values for WorkerSocketClaimedJobOrigin.

func (WorkerSocketClaimedJobOrigin) Valid added in v0.0.22

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

type WorkerSocketErrorFrame added in v0.0.22

type WorkerSocketErrorFrame struct {
	Error WorkerSocketProtocolError `json:"error"`

	// MessageId Client-supplied correlation and short-window deduplication key. When present on a client frame, the server echoes it on the response frame.
	MessageId *WorkerSocketMessageID     `json:"message_id,omitempty"`
	Type      WorkerSocketErrorFrameType `json:"type"`
}

WorkerSocketErrorFrame defines model for WorkerSocketErrorFrame.

type WorkerSocketErrorFrameType added in v0.0.22

type WorkerSocketErrorFrameType string

WorkerSocketErrorFrameType defines model for WorkerSocketErrorFrame.Type.

const (
	WorkerSocketErrorFrameTypeError WorkerSocketErrorFrameType = "error"
)

Defines values for WorkerSocketErrorFrameType.

func (WorkerSocketErrorFrameType) Valid added in v0.0.22

func (e WorkerSocketErrorFrameType) Valid() bool

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

type WorkerSocketFrame added in v0.0.22

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

WorkerSocketFrame Typed JSON frame exchanged over `/workers/socket`. WebSocket traffic is not ordinary request/response HTTP, but the frame schemas are included in the public OpenAPI contract so SDKs can share a wire format.

func (WorkerSocketFrame) AsWorkerSocketErrorFrame added in v0.0.22

func (t WorkerSocketFrame) AsWorkerSocketErrorFrame() (WorkerSocketErrorFrame, error)

AsWorkerSocketErrorFrame returns the union data inside the WorkerSocketFrame as a WorkerSocketErrorFrame

func (WorkerSocketFrame) AsWorkerSocketGenerationDeltaAckFrame added in v0.0.22

func (t WorkerSocketFrame) AsWorkerSocketGenerationDeltaAckFrame() (WorkerSocketGenerationDeltaAckFrame, error)

AsWorkerSocketGenerationDeltaAckFrame returns the union data inside the WorkerSocketFrame as a WorkerSocketGenerationDeltaAckFrame

func (WorkerSocketFrame) AsWorkerSocketGenerationDeltaFrame added in v0.0.22

func (t WorkerSocketFrame) AsWorkerSocketGenerationDeltaFrame() (WorkerSocketGenerationDeltaFrame, error)

AsWorkerSocketGenerationDeltaFrame returns the union data inside the WorkerSocketFrame as a WorkerSocketGenerationDeltaFrame

func (WorkerSocketFrame) AsWorkerSocketJobCancelFrame added in v0.0.22

func (t WorkerSocketFrame) AsWorkerSocketJobCancelFrame() (WorkerSocketJobCancelFrame, error)

AsWorkerSocketJobCancelFrame returns the union data inside the WorkerSocketFrame as a WorkerSocketJobCancelFrame

func (WorkerSocketFrame) AsWorkerSocketJobHeartbeatAckFrame added in v0.0.22

func (t WorkerSocketFrame) AsWorkerSocketJobHeartbeatAckFrame() (WorkerSocketJobHeartbeatAckFrame, error)

AsWorkerSocketJobHeartbeatAckFrame returns the union data inside the WorkerSocketFrame as a WorkerSocketJobHeartbeatAckFrame

func (WorkerSocketFrame) AsWorkerSocketJobHeartbeatFrame added in v0.0.22

func (t WorkerSocketFrame) AsWorkerSocketJobHeartbeatFrame() (WorkerSocketJobHeartbeatFrame, error)

AsWorkerSocketJobHeartbeatFrame returns the union data inside the WorkerSocketFrame as a WorkerSocketJobHeartbeatFrame

func (WorkerSocketFrame) AsWorkerSocketJobReportAckFrame added in v0.0.22

func (t WorkerSocketFrame) AsWorkerSocketJobReportAckFrame() (WorkerSocketJobReportAckFrame, error)

AsWorkerSocketJobReportAckFrame returns the union data inside the WorkerSocketFrame as a WorkerSocketJobReportAckFrame

func (WorkerSocketFrame) AsWorkerSocketJobReportFrame added in v0.0.22

func (t WorkerSocketFrame) AsWorkerSocketJobReportFrame() (WorkerSocketJobReportFrame, error)

AsWorkerSocketJobReportFrame returns the union data inside the WorkerSocketFrame as a WorkerSocketJobReportFrame

func (WorkerSocketFrame) AsWorkerSocketJobsClaimFrame added in v0.0.22

func (t WorkerSocketFrame) AsWorkerSocketJobsClaimFrame() (WorkerSocketJobsClaimFrame, error)

AsWorkerSocketJobsClaimFrame returns the union data inside the WorkerSocketFrame as a WorkerSocketJobsClaimFrame

func (WorkerSocketFrame) AsWorkerSocketJobsClaimedFrame added in v0.0.22

func (t WorkerSocketFrame) AsWorkerSocketJobsClaimedFrame() (WorkerSocketJobsClaimedFrame, error)

AsWorkerSocketJobsClaimedFrame returns the union data inside the WorkerSocketFrame as a WorkerSocketJobsClaimedFrame

func (WorkerSocketFrame) AsWorkerSocketKeepaliveFrame added in v0.0.22

func (t WorkerSocketFrame) AsWorkerSocketKeepaliveFrame() (WorkerSocketKeepaliveFrame, error)

AsWorkerSocketKeepaliveFrame returns the union data inside the WorkerSocketFrame as a WorkerSocketKeepaliveFrame

func (WorkerSocketFrame) AsWorkerSocketReadyFrame added in v0.0.22

func (t WorkerSocketFrame) AsWorkerSocketReadyFrame() (WorkerSocketReadyFrame, error)

AsWorkerSocketReadyFrame returns the union data inside the WorkerSocketFrame as a WorkerSocketReadyFrame

func (WorkerSocketFrame) AsWorkerSocketRegisterFrame added in v0.0.22

func (t WorkerSocketFrame) AsWorkerSocketRegisterFrame() (WorkerSocketRegisterFrame, error)

AsWorkerSocketRegisterFrame returns the union data inside the WorkerSocketFrame as a WorkerSocketRegisterFrame

func (WorkerSocketFrame) AsWorkerSocketRegisteredFrame added in v0.0.22

func (t WorkerSocketFrame) AsWorkerSocketRegisteredFrame() (WorkerSocketRegisteredFrame, error)

AsWorkerSocketRegisteredFrame returns the union data inside the WorkerSocketFrame as a WorkerSocketRegisteredFrame

func (WorkerSocketFrame) AsWorkerSocketWorkAvailableFrame added in v0.0.22

func (t WorkerSocketFrame) AsWorkerSocketWorkAvailableFrame() (WorkerSocketWorkAvailableFrame, error)

AsWorkerSocketWorkAvailableFrame returns the union data inside the WorkerSocketFrame as a WorkerSocketWorkAvailableFrame

func (WorkerSocketFrame) AsWorkerSocketWorkerDrainFrame added in v0.0.22

func (t WorkerSocketFrame) AsWorkerSocketWorkerDrainFrame() (WorkerSocketWorkerDrainFrame, error)

AsWorkerSocketWorkerDrainFrame returns the union data inside the WorkerSocketFrame as a WorkerSocketWorkerDrainFrame

func (WorkerSocketFrame) AsWorkerSocketWorkerDrainingAckFrame added in v0.0.22

func (t WorkerSocketFrame) AsWorkerSocketWorkerDrainingAckFrame() (WorkerSocketWorkerDrainingAckFrame, error)

AsWorkerSocketWorkerDrainingAckFrame returns the union data inside the WorkerSocketFrame as a WorkerSocketWorkerDrainingAckFrame

func (WorkerSocketFrame) AsWorkerSocketWorkerDrainingFrame added in v0.0.22

func (t WorkerSocketFrame) AsWorkerSocketWorkerDrainingFrame() (WorkerSocketWorkerDrainingFrame, error)

AsWorkerSocketWorkerDrainingFrame returns the union data inside the WorkerSocketFrame as a WorkerSocketWorkerDrainingFrame

func (*WorkerSocketFrame) FromWorkerSocketErrorFrame added in v0.0.22

func (t *WorkerSocketFrame) FromWorkerSocketErrorFrame(v WorkerSocketErrorFrame) error

FromWorkerSocketErrorFrame overwrites any union data inside the WorkerSocketFrame as the provided WorkerSocketErrorFrame

func (*WorkerSocketFrame) FromWorkerSocketGenerationDeltaAckFrame added in v0.0.22

func (t *WorkerSocketFrame) FromWorkerSocketGenerationDeltaAckFrame(v WorkerSocketGenerationDeltaAckFrame) error

FromWorkerSocketGenerationDeltaAckFrame overwrites any union data inside the WorkerSocketFrame as the provided WorkerSocketGenerationDeltaAckFrame

func (*WorkerSocketFrame) FromWorkerSocketGenerationDeltaFrame added in v0.0.22

func (t *WorkerSocketFrame) FromWorkerSocketGenerationDeltaFrame(v WorkerSocketGenerationDeltaFrame) error

FromWorkerSocketGenerationDeltaFrame overwrites any union data inside the WorkerSocketFrame as the provided WorkerSocketGenerationDeltaFrame

func (*WorkerSocketFrame) FromWorkerSocketJobCancelFrame added in v0.0.22

func (t *WorkerSocketFrame) FromWorkerSocketJobCancelFrame(v WorkerSocketJobCancelFrame) error

FromWorkerSocketJobCancelFrame overwrites any union data inside the WorkerSocketFrame as the provided WorkerSocketJobCancelFrame

func (*WorkerSocketFrame) FromWorkerSocketJobHeartbeatAckFrame added in v0.0.22

func (t *WorkerSocketFrame) FromWorkerSocketJobHeartbeatAckFrame(v WorkerSocketJobHeartbeatAckFrame) error

FromWorkerSocketJobHeartbeatAckFrame overwrites any union data inside the WorkerSocketFrame as the provided WorkerSocketJobHeartbeatAckFrame

func (*WorkerSocketFrame) FromWorkerSocketJobHeartbeatFrame added in v0.0.22

func (t *WorkerSocketFrame) FromWorkerSocketJobHeartbeatFrame(v WorkerSocketJobHeartbeatFrame) error

FromWorkerSocketJobHeartbeatFrame overwrites any union data inside the WorkerSocketFrame as the provided WorkerSocketJobHeartbeatFrame

func (*WorkerSocketFrame) FromWorkerSocketJobReportAckFrame added in v0.0.22

func (t *WorkerSocketFrame) FromWorkerSocketJobReportAckFrame(v WorkerSocketJobReportAckFrame) error

FromWorkerSocketJobReportAckFrame overwrites any union data inside the WorkerSocketFrame as the provided WorkerSocketJobReportAckFrame

func (*WorkerSocketFrame) FromWorkerSocketJobReportFrame added in v0.0.22

func (t *WorkerSocketFrame) FromWorkerSocketJobReportFrame(v WorkerSocketJobReportFrame) error

FromWorkerSocketJobReportFrame overwrites any union data inside the WorkerSocketFrame as the provided WorkerSocketJobReportFrame

func (*WorkerSocketFrame) FromWorkerSocketJobsClaimFrame added in v0.0.22

func (t *WorkerSocketFrame) FromWorkerSocketJobsClaimFrame(v WorkerSocketJobsClaimFrame) error

FromWorkerSocketJobsClaimFrame overwrites any union data inside the WorkerSocketFrame as the provided WorkerSocketJobsClaimFrame

func (*WorkerSocketFrame) FromWorkerSocketJobsClaimedFrame added in v0.0.22

func (t *WorkerSocketFrame) FromWorkerSocketJobsClaimedFrame(v WorkerSocketJobsClaimedFrame) error

FromWorkerSocketJobsClaimedFrame overwrites any union data inside the WorkerSocketFrame as the provided WorkerSocketJobsClaimedFrame

func (*WorkerSocketFrame) FromWorkerSocketKeepaliveFrame added in v0.0.22

func (t *WorkerSocketFrame) FromWorkerSocketKeepaliveFrame(v WorkerSocketKeepaliveFrame) error

FromWorkerSocketKeepaliveFrame overwrites any union data inside the WorkerSocketFrame as the provided WorkerSocketKeepaliveFrame

func (*WorkerSocketFrame) FromWorkerSocketReadyFrame added in v0.0.22

func (t *WorkerSocketFrame) FromWorkerSocketReadyFrame(v WorkerSocketReadyFrame) error

FromWorkerSocketReadyFrame overwrites any union data inside the WorkerSocketFrame as the provided WorkerSocketReadyFrame

func (*WorkerSocketFrame) FromWorkerSocketRegisterFrame added in v0.0.22

func (t *WorkerSocketFrame) FromWorkerSocketRegisterFrame(v WorkerSocketRegisterFrame) error

FromWorkerSocketRegisterFrame overwrites any union data inside the WorkerSocketFrame as the provided WorkerSocketRegisterFrame

func (*WorkerSocketFrame) FromWorkerSocketRegisteredFrame added in v0.0.22

func (t *WorkerSocketFrame) FromWorkerSocketRegisteredFrame(v WorkerSocketRegisteredFrame) error

FromWorkerSocketRegisteredFrame overwrites any union data inside the WorkerSocketFrame as the provided WorkerSocketRegisteredFrame

func (*WorkerSocketFrame) FromWorkerSocketWorkAvailableFrame added in v0.0.22

func (t *WorkerSocketFrame) FromWorkerSocketWorkAvailableFrame(v WorkerSocketWorkAvailableFrame) error

FromWorkerSocketWorkAvailableFrame overwrites any union data inside the WorkerSocketFrame as the provided WorkerSocketWorkAvailableFrame

func (*WorkerSocketFrame) FromWorkerSocketWorkerDrainFrame added in v0.0.22

func (t *WorkerSocketFrame) FromWorkerSocketWorkerDrainFrame(v WorkerSocketWorkerDrainFrame) error

FromWorkerSocketWorkerDrainFrame overwrites any union data inside the WorkerSocketFrame as the provided WorkerSocketWorkerDrainFrame

func (*WorkerSocketFrame) FromWorkerSocketWorkerDrainingAckFrame added in v0.0.22

func (t *WorkerSocketFrame) FromWorkerSocketWorkerDrainingAckFrame(v WorkerSocketWorkerDrainingAckFrame) error

FromWorkerSocketWorkerDrainingAckFrame overwrites any union data inside the WorkerSocketFrame as the provided WorkerSocketWorkerDrainingAckFrame

func (*WorkerSocketFrame) FromWorkerSocketWorkerDrainingFrame added in v0.0.22

func (t *WorkerSocketFrame) FromWorkerSocketWorkerDrainingFrame(v WorkerSocketWorkerDrainingFrame) error

FromWorkerSocketWorkerDrainingFrame overwrites any union data inside the WorkerSocketFrame as the provided WorkerSocketWorkerDrainingFrame

func (WorkerSocketFrame) MarshalJSON added in v0.0.22

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

func (*WorkerSocketFrame) MergeWorkerSocketErrorFrame added in v0.0.22

func (t *WorkerSocketFrame) MergeWorkerSocketErrorFrame(v WorkerSocketErrorFrame) error

MergeWorkerSocketErrorFrame performs a merge with any union data inside the WorkerSocketFrame, using the provided WorkerSocketErrorFrame

func (*WorkerSocketFrame) MergeWorkerSocketGenerationDeltaAckFrame added in v0.0.22

func (t *WorkerSocketFrame) MergeWorkerSocketGenerationDeltaAckFrame(v WorkerSocketGenerationDeltaAckFrame) error

MergeWorkerSocketGenerationDeltaAckFrame performs a merge with any union data inside the WorkerSocketFrame, using the provided WorkerSocketGenerationDeltaAckFrame

func (*WorkerSocketFrame) MergeWorkerSocketGenerationDeltaFrame added in v0.0.22

func (t *WorkerSocketFrame) MergeWorkerSocketGenerationDeltaFrame(v WorkerSocketGenerationDeltaFrame) error

MergeWorkerSocketGenerationDeltaFrame performs a merge with any union data inside the WorkerSocketFrame, using the provided WorkerSocketGenerationDeltaFrame

func (*WorkerSocketFrame) MergeWorkerSocketJobCancelFrame added in v0.0.22

func (t *WorkerSocketFrame) MergeWorkerSocketJobCancelFrame(v WorkerSocketJobCancelFrame) error

MergeWorkerSocketJobCancelFrame performs a merge with any union data inside the WorkerSocketFrame, using the provided WorkerSocketJobCancelFrame

func (*WorkerSocketFrame) MergeWorkerSocketJobHeartbeatAckFrame added in v0.0.22

func (t *WorkerSocketFrame) MergeWorkerSocketJobHeartbeatAckFrame(v WorkerSocketJobHeartbeatAckFrame) error

MergeWorkerSocketJobHeartbeatAckFrame performs a merge with any union data inside the WorkerSocketFrame, using the provided WorkerSocketJobHeartbeatAckFrame

func (*WorkerSocketFrame) MergeWorkerSocketJobHeartbeatFrame added in v0.0.22

func (t *WorkerSocketFrame) MergeWorkerSocketJobHeartbeatFrame(v WorkerSocketJobHeartbeatFrame) error

MergeWorkerSocketJobHeartbeatFrame performs a merge with any union data inside the WorkerSocketFrame, using the provided WorkerSocketJobHeartbeatFrame

func (*WorkerSocketFrame) MergeWorkerSocketJobReportAckFrame added in v0.0.22

func (t *WorkerSocketFrame) MergeWorkerSocketJobReportAckFrame(v WorkerSocketJobReportAckFrame) error

MergeWorkerSocketJobReportAckFrame performs a merge with any union data inside the WorkerSocketFrame, using the provided WorkerSocketJobReportAckFrame

func (*WorkerSocketFrame) MergeWorkerSocketJobReportFrame added in v0.0.22

func (t *WorkerSocketFrame) MergeWorkerSocketJobReportFrame(v WorkerSocketJobReportFrame) error

MergeWorkerSocketJobReportFrame performs a merge with any union data inside the WorkerSocketFrame, using the provided WorkerSocketJobReportFrame

func (*WorkerSocketFrame) MergeWorkerSocketJobsClaimFrame added in v0.0.22

func (t *WorkerSocketFrame) MergeWorkerSocketJobsClaimFrame(v WorkerSocketJobsClaimFrame) error

MergeWorkerSocketJobsClaimFrame performs a merge with any union data inside the WorkerSocketFrame, using the provided WorkerSocketJobsClaimFrame

func (*WorkerSocketFrame) MergeWorkerSocketJobsClaimedFrame added in v0.0.22

func (t *WorkerSocketFrame) MergeWorkerSocketJobsClaimedFrame(v WorkerSocketJobsClaimedFrame) error

MergeWorkerSocketJobsClaimedFrame performs a merge with any union data inside the WorkerSocketFrame, using the provided WorkerSocketJobsClaimedFrame

func (*WorkerSocketFrame) MergeWorkerSocketKeepaliveFrame added in v0.0.22

func (t *WorkerSocketFrame) MergeWorkerSocketKeepaliveFrame(v WorkerSocketKeepaliveFrame) error

MergeWorkerSocketKeepaliveFrame performs a merge with any union data inside the WorkerSocketFrame, using the provided WorkerSocketKeepaliveFrame

func (*WorkerSocketFrame) MergeWorkerSocketReadyFrame added in v0.0.22

func (t *WorkerSocketFrame) MergeWorkerSocketReadyFrame(v WorkerSocketReadyFrame) error

MergeWorkerSocketReadyFrame performs a merge with any union data inside the WorkerSocketFrame, using the provided WorkerSocketReadyFrame

func (*WorkerSocketFrame) MergeWorkerSocketRegisterFrame added in v0.0.22

func (t *WorkerSocketFrame) MergeWorkerSocketRegisterFrame(v WorkerSocketRegisterFrame) error

MergeWorkerSocketRegisterFrame performs a merge with any union data inside the WorkerSocketFrame, using the provided WorkerSocketRegisterFrame

func (*WorkerSocketFrame) MergeWorkerSocketRegisteredFrame added in v0.0.22

func (t *WorkerSocketFrame) MergeWorkerSocketRegisteredFrame(v WorkerSocketRegisteredFrame) error

MergeWorkerSocketRegisteredFrame performs a merge with any union data inside the WorkerSocketFrame, using the provided WorkerSocketRegisteredFrame

func (*WorkerSocketFrame) MergeWorkerSocketWorkAvailableFrame added in v0.0.22

func (t *WorkerSocketFrame) MergeWorkerSocketWorkAvailableFrame(v WorkerSocketWorkAvailableFrame) error

MergeWorkerSocketWorkAvailableFrame performs a merge with any union data inside the WorkerSocketFrame, using the provided WorkerSocketWorkAvailableFrame

func (*WorkerSocketFrame) MergeWorkerSocketWorkerDrainFrame added in v0.0.22

func (t *WorkerSocketFrame) MergeWorkerSocketWorkerDrainFrame(v WorkerSocketWorkerDrainFrame) error

MergeWorkerSocketWorkerDrainFrame performs a merge with any union data inside the WorkerSocketFrame, using the provided WorkerSocketWorkerDrainFrame

func (*WorkerSocketFrame) MergeWorkerSocketWorkerDrainingAckFrame added in v0.0.22

func (t *WorkerSocketFrame) MergeWorkerSocketWorkerDrainingAckFrame(v WorkerSocketWorkerDrainingAckFrame) error

MergeWorkerSocketWorkerDrainingAckFrame performs a merge with any union data inside the WorkerSocketFrame, using the provided WorkerSocketWorkerDrainingAckFrame

func (*WorkerSocketFrame) MergeWorkerSocketWorkerDrainingFrame added in v0.0.22

func (t *WorkerSocketFrame) MergeWorkerSocketWorkerDrainingFrame(v WorkerSocketWorkerDrainingFrame) error

MergeWorkerSocketWorkerDrainingFrame performs a merge with any union data inside the WorkerSocketFrame, using the provided WorkerSocketWorkerDrainingFrame

func (*WorkerSocketFrame) UnmarshalJSON added in v0.0.22

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

type WorkerSocketGenerationDeltaAckFrame added in v0.0.22

type WorkerSocketGenerationDeltaAckFrame struct {
	JobId string `json:"job_id"`

	// MessageId Client-supplied correlation and short-window deduplication key. When present on a client frame, the server echoes it on the response frame.
	MessageId        *WorkerSocketMessageID                  `json:"message_id,omitempty"`
	ReceivedSequence int64                                   `json:"received_sequence"`
	Type             WorkerSocketGenerationDeltaAckFrameType `json:"type"`
}

WorkerSocketGenerationDeltaAckFrame defines model for WorkerSocketGenerationDeltaAckFrame.

type WorkerSocketGenerationDeltaAckFrameType added in v0.0.22

type WorkerSocketGenerationDeltaAckFrameType string

WorkerSocketGenerationDeltaAckFrameType defines model for WorkerSocketGenerationDeltaAckFrame.Type.

const (
	WorkerSocketGenerationDeltaAckFrameTypeGenerationDeltaAck WorkerSocketGenerationDeltaAckFrameType = "generation.delta.ack"
)

Defines values for WorkerSocketGenerationDeltaAckFrameType.

func (WorkerSocketGenerationDeltaAckFrameType) Valid added in v0.0.22

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

type WorkerSocketGenerationDeltaFrame added in v0.0.22

type WorkerSocketGenerationDeltaFrame struct {
	// Delta Provider-neutral streaming delta payload.
	Delta map[string]interface{} `json:"delta"`
	JobId string                 `json:"job_id"`

	// LeaseToken Opaque per-job lease fence returned by claim.
	LeaseToken string `json:"lease_token"`

	// MessageId Client-supplied correlation and short-window deduplication key. When present on a client frame, the server echoes it on the response frame.
	MessageId *WorkerSocketMessageID `json:"message_id,omitempty"`

	// Sequence Worker-local monotonically increasing sequence for this generation.
	Sequence int64                                `json:"sequence"`
	Type     WorkerSocketGenerationDeltaFrameType `json:"type"`
}

WorkerSocketGenerationDeltaFrame defines model for WorkerSocketGenerationDeltaFrame.

type WorkerSocketGenerationDeltaFrameType added in v0.0.22

type WorkerSocketGenerationDeltaFrameType string

WorkerSocketGenerationDeltaFrameType defines model for WorkerSocketGenerationDeltaFrame.Type.

const (
	WorkerSocketGenerationDeltaFrameTypeGenerationDelta WorkerSocketGenerationDeltaFrameType = "generation.delta"
)

Defines values for WorkerSocketGenerationDeltaFrameType.

func (WorkerSocketGenerationDeltaFrameType) Valid added in v0.0.22

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

type WorkerSocketJobCancelFrame added in v0.0.22

type WorkerSocketJobCancelFrame struct {
	JobId string `json:"job_id"`

	// MessageId Client-supplied correlation and short-window deduplication key. When present on a client frame, the server echoes it on the response frame.
	MessageId   *WorkerSocketMessageID         `json:"message_id,omitempty"`
	Reason      *string                        `json:"reason,omitempty"`
	RequestedAt *time.Time                     `json:"requested_at,omitempty"`
	Type        WorkerSocketJobCancelFrameType `json:"type"`
}

WorkerSocketJobCancelFrame defines model for WorkerSocketJobCancelFrame.

type WorkerSocketJobCancelFrameType added in v0.0.22

type WorkerSocketJobCancelFrameType string

WorkerSocketJobCancelFrameType defines model for WorkerSocketJobCancelFrame.Type.

const (
	WorkerSocketJobCancelFrameTypeJobCancel WorkerSocketJobCancelFrameType = "job.cancel"
)

Defines values for WorkerSocketJobCancelFrameType.

func (WorkerSocketJobCancelFrameType) Valid added in v0.0.22

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

type WorkerSocketJobHeartbeatAckFrame added in v0.0.22

type WorkerSocketJobHeartbeatAckFrame struct {
	Cancel *WorkerSocketCancelDirective `json:"cancel,omitempty"`
	JobId  string                       `json:"job_id"`

	// MessageId Client-supplied correlation and short-window deduplication key. When present on a client frame, the server echoes it on the response frame.
	MessageId *WorkerSocketMessageID               `json:"message_id,omitempty"`
	Type      WorkerSocketJobHeartbeatAckFrameType `json:"type"`
}

WorkerSocketJobHeartbeatAckFrame defines model for WorkerSocketJobHeartbeatAckFrame.

type WorkerSocketJobHeartbeatAckFrameType added in v0.0.22

type WorkerSocketJobHeartbeatAckFrameType string

WorkerSocketJobHeartbeatAckFrameType defines model for WorkerSocketJobHeartbeatAckFrame.Type.

const (
	WorkerSocketJobHeartbeatAckFrameTypeJobHeartbeatAck WorkerSocketJobHeartbeatAckFrameType = "job.heartbeat.ack"
)

Defines values for WorkerSocketJobHeartbeatAckFrameType.

func (WorkerSocketJobHeartbeatAckFrameType) Valid added in v0.0.22

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

type WorkerSocketJobHeartbeatFrame added in v0.0.22

type WorkerSocketJobHeartbeatFrame struct {
	JobId string `json:"job_id"`

	// LeaseToken Opaque per-job lease fence returned by claim.
	LeaseToken string `json:"lease_token"`

	// MessageId Client-supplied correlation and short-window deduplication key. When present on a client frame, the server echoes it on the response frame.
	MessageId *WorkerSocketMessageID            `json:"message_id,omitempty"`
	Type      WorkerSocketJobHeartbeatFrameType `json:"type"`
}

WorkerSocketJobHeartbeatFrame defines model for WorkerSocketJobHeartbeatFrame.

type WorkerSocketJobHeartbeatFrameType added in v0.0.22

type WorkerSocketJobHeartbeatFrameType string

WorkerSocketJobHeartbeatFrameType defines model for WorkerSocketJobHeartbeatFrame.Type.

const (
	WorkerSocketJobHeartbeatFrameTypeJobHeartbeat WorkerSocketJobHeartbeatFrameType = "job.heartbeat"
)

Defines values for WorkerSocketJobHeartbeatFrameType.

func (WorkerSocketJobHeartbeatFrameType) Valid added in v0.0.22

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

type WorkerSocketJobReportAckFrame added in v0.0.22

type WorkerSocketJobReportAckFrame struct {
	// Duplicate True when an identical terminal report was already accepted for this lease.
	Duplicate *bool  `json:"duplicate,omitempty"`
	JobId     string `json:"job_id"`

	// MessageId Client-supplied correlation and short-window deduplication key. When present on a client frame, the server echoes it on the response frame.
	MessageId *WorkerSocketMessageID            `json:"message_id,omitempty"`
	Type      WorkerSocketJobReportAckFrameType `json:"type"`
}

WorkerSocketJobReportAckFrame defines model for WorkerSocketJobReportAckFrame.

type WorkerSocketJobReportAckFrameType added in v0.0.22

type WorkerSocketJobReportAckFrameType string

WorkerSocketJobReportAckFrameType defines model for WorkerSocketJobReportAckFrame.Type.

const (
	WorkerSocketJobReportAckFrameTypeJobReportAck WorkerSocketJobReportAckFrameType = "job.report.ack"
)

Defines values for WorkerSocketJobReportAckFrameType.

func (WorkerSocketJobReportAckFrameType) Valid added in v0.0.22

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

type WorkerSocketJobReportFrame added in v0.0.22

type WorkerSocketJobReportFrame struct {
	ErrorMessage *string `json:"error_message,omitempty"`
	ErrorType    *string `json:"error_type,omitempty"`
	JobId        string  `json:"job_id"`

	// LeaseToken Opaque per-job lease fence returned by claim.
	LeaseToken string `json:"lease_token"`

	// MessageId Client-supplied correlation and short-window deduplication key. When present on a client frame, the server echoes it on the response frame.
	MessageId *WorkerSocketMessageID `json:"message_id,omitempty"`

	// Result Terminal result payload. For `llm_generation` jobs, this object must follow `WorkerSocketLLMGenerationResult`; plain text fallback results are not accepted.
	Result *map[string]interface{}           `json:"result,omitempty"`
	Status *WorkerSocketJobReportFrameStatus `json:"status,omitempty"`
	Type   WorkerSocketJobReportFrameType    `json:"type"`
}

WorkerSocketJobReportFrame defines model for WorkerSocketJobReportFrame.

type WorkerSocketJobReportFrameStatus added in v0.0.22

type WorkerSocketJobReportFrameStatus string

WorkerSocketJobReportFrameStatus defines model for WorkerSocketJobReportFrame.Status.

const (
	WorkerSocketJobReportFrameStatusCancelled WorkerSocketJobReportFrameStatus = "cancelled"
	WorkerSocketJobReportFrameStatusCompleted WorkerSocketJobReportFrameStatus = "completed"
	WorkerSocketJobReportFrameStatusFailed    WorkerSocketJobReportFrameStatus = "failed"
)

Defines values for WorkerSocketJobReportFrameStatus.

func (WorkerSocketJobReportFrameStatus) Valid added in v0.0.22

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

type WorkerSocketJobReportFrameType added in v0.0.22

type WorkerSocketJobReportFrameType string

WorkerSocketJobReportFrameType defines model for WorkerSocketJobReportFrame.Type.

const (
	WorkerSocketJobReportFrameTypeJobReport WorkerSocketJobReportFrameType = "job.report"
)

Defines values for WorkerSocketJobReportFrameType.

func (WorkerSocketJobReportFrameType) Valid added in v0.0.22

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

type WorkerSocketJobsClaimFrame added in v0.0.22

type WorkerSocketJobsClaimFrame struct {
	ActionNames    *[]string `json:"action_names,omitempty"`
	AvailableSlots *int      `json:"available_slots,omitempty"`

	// MessageId Client-supplied correlation and short-window deduplication key. When present on a client frame, the server echoes it on the response frame.
	MessageId *WorkerSocketMessageID         `json:"message_id,omitempty"`
	Models    *[]WorkerSocketModelCapability `json:"models,omitempty"`
	Queues    *[]string                      `json:"queues,omitempty"`
	Type      WorkerSocketJobsClaimFrameType `json:"type"`
}

WorkerSocketJobsClaimFrame defines model for WorkerSocketJobsClaimFrame.

type WorkerSocketJobsClaimFrameType added in v0.0.22

type WorkerSocketJobsClaimFrameType string

WorkerSocketJobsClaimFrameType defines model for WorkerSocketJobsClaimFrame.Type.

const (
	WorkerSocketJobsClaimFrameTypeJobsClaim WorkerSocketJobsClaimFrameType = "jobs.claim"
)

Defines values for WorkerSocketJobsClaimFrameType.

func (WorkerSocketJobsClaimFrameType) Valid added in v0.0.22

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

type WorkerSocketJobsClaimedFrame added in v0.0.22

type WorkerSocketJobsClaimedFrame struct {
	Jobs []WorkerSocketClaimedJob `json:"jobs"`

	// MessageId Client-supplied correlation and short-window deduplication key. When present on a client frame, the server echoes it on the response frame.
	MessageId *WorkerSocketMessageID           `json:"message_id,omitempty"`
	Type      WorkerSocketJobsClaimedFrameType `json:"type"`
}

WorkerSocketJobsClaimedFrame defines model for WorkerSocketJobsClaimedFrame.

type WorkerSocketJobsClaimedFrameType added in v0.0.22

type WorkerSocketJobsClaimedFrameType string

WorkerSocketJobsClaimedFrameType defines model for WorkerSocketJobsClaimedFrame.Type.

const (
	WorkerSocketJobsClaimedFrameTypeJobsClaimed WorkerSocketJobsClaimedFrameType = "jobs.claimed"
)

Defines values for WorkerSocketJobsClaimedFrameType.

func (WorkerSocketJobsClaimedFrameType) Valid added in v0.0.22

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

type WorkerSocketKeepaliveFrame added in v0.0.22

type WorkerSocketKeepaliveFrame struct {
	// MessageId Client-supplied correlation and short-window deduplication key. When present on a client frame, the server echoes it on the response frame.
	MessageId *WorkerSocketMessageID         `json:"message_id,omitempty"`
	Type      WorkerSocketKeepaliveFrameType `json:"type"`
}

WorkerSocketKeepaliveFrame defines model for WorkerSocketKeepaliveFrame.

type WorkerSocketKeepaliveFrameType added in v0.0.22

type WorkerSocketKeepaliveFrameType string

WorkerSocketKeepaliveFrameType defines model for WorkerSocketKeepaliveFrame.Type.

const (
	WorkerSocketKeepaliveFrameTypeKeepalive WorkerSocketKeepaliveFrameType = "keepalive"
)

Defines values for WorkerSocketKeepaliveFrameType.

func (WorkerSocketKeepaliveFrameType) Valid added in v0.0.22

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

type WorkerSocketLeaseConfig added in v0.0.22

type WorkerSocketLeaseConfig struct {
	// HeartbeatCadenceSeconds Recommended heartbeat cadence while a job is running.
	HeartbeatCadenceSeconds int `json:"heartbeat_cadence_seconds"`

	// LeaseDurationSeconds Per-job lease duration stamped on claims.
	LeaseDurationSeconds int `json:"lease_duration_seconds"`
}

WorkerSocketLeaseConfig defines model for WorkerSocketLeaseConfig.

type WorkerSocketMessageID added in v0.0.22

type WorkerSocketMessageID = string

WorkerSocketMessageID Client-supplied correlation and short-window deduplication key. When present on a client frame, the server echoes it on the response frame.

type WorkerSocketModelCapability added in v0.0.22

type WorkerSocketModelCapability struct {
	// Model Provider-local model name.
	Model string `json:"model"`

	// Provider LLM provider identifier, such as `ollama`.
	Provider string `json:"provider"`
}

WorkerSocketModelCapability defines model for WorkerSocketModelCapability.

type WorkerSocketProtocolError added in v0.0.22

type WorkerSocketProtocolError struct {
	// Code Stable protocol error code. `worker_instance_conflict` is emitted when a duplicate live `worker_instance_id` registers and should be treated as a terminal worker startup failure.
	Code    string `json:"code"`
	Message string `json:"message"`
}

WorkerSocketProtocolError defines model for WorkerSocketProtocolError.

type WorkerSocketReadyFrame added in v0.0.22

type WorkerSocketReadyFrame struct {
	ActionNames    *[]string `json:"action_names,omitempty"`
	AvailableSlots *int      `json:"available_slots,omitempty"`

	// MessageId Client-supplied correlation and short-window deduplication key. When present on a client frame, the server echoes it on the response frame.
	MessageId *WorkerSocketMessageID         `json:"message_id,omitempty"`
	Models    *[]WorkerSocketModelCapability `json:"models,omitempty"`
	Queues    *[]string                      `json:"queues,omitempty"`
	Type      WorkerSocketReadyFrameType     `json:"type"`
}

WorkerSocketReadyFrame defines model for WorkerSocketReadyFrame.

type WorkerSocketReadyFrameType added in v0.0.22

type WorkerSocketReadyFrameType string

WorkerSocketReadyFrameType defines model for WorkerSocketReadyFrame.Type.

const (
	WorkerSocketReadyFrameTypeWorkerReady WorkerSocketReadyFrameType = "worker.ready"
)

Defines values for WorkerSocketReadyFrameType.

func (WorkerSocketReadyFrameType) Valid added in v0.0.22

func (e WorkerSocketReadyFrameType) Valid() bool

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

type WorkerSocketRegisterFrame added in v0.0.22

type WorkerSocketRegisterFrame struct {
	// ActionNames Action names this worker can execute. Empty means every locally registered action.
	ActionNames *[]string `json:"action_names,omitempty"`

	// AvailableSlots Currently available capacity. Defaults to `concurrency_limit`.
	AvailableSlots *int `json:"available_slots,omitempty"`

	// Capabilities Coarse capability labels reserved for future routing.
	Capabilities *[]string `json:"capabilities,omitempty"`

	// ConcurrencyLimit Maximum jobs this worker process will hold concurrently.
	ConcurrencyLimit *int `json:"concurrency_limit,omitempty"`

	// EnvironmentId Environment this worker is running inside, when the worker was started by Mobius in a Sprite or other managed environment.
	EnvironmentId *string `json:"environment_id,omitempty"`

	// MessageId Client-supplied correlation and short-window deduplication key. When present on a client frame, the server echoes it on the response frame.
	MessageId *WorkerSocketMessageID `json:"message_id,omitempty"`

	// Models Provider/model pairs this worker can generate with.
	Models *[]WorkerSocketModelCapability `json:"models,omitempty"`
	Name   *string                        `json:"name,omitempty"`

	// Queues Queue names this worker can claim. Empty means all project queues.
	Queues  *[]string                     `json:"queues,omitempty"`
	Type    WorkerSocketRegisterFrameType `json:"type"`
	Version *string                       `json:"version,omitempty"`

	// WorkerInstanceId Stable process identity reported by the worker SDK.
	WorkerInstanceId string `json:"worker_instance_id"`

	// WorkerSessionToken Previously issued session token used on reconnect; omitted on first register.
	WorkerSessionToken *string `json:"worker_session_token,omitempty"`
}

WorkerSocketRegisterFrame defines model for WorkerSocketRegisterFrame.

type WorkerSocketRegisterFrameType added in v0.0.22

type WorkerSocketRegisterFrameType string

WorkerSocketRegisterFrameType defines model for WorkerSocketRegisterFrame.Type.

const (
	WorkerSocketRegisterFrameTypeWorkerRegister WorkerSocketRegisterFrameType = "worker.register"
)

Defines values for WorkerSocketRegisterFrameType.

func (WorkerSocketRegisterFrameType) Valid added in v0.0.22

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

type WorkerSocketRegisteredFrame added in v0.0.22

type WorkerSocketRegisteredFrame struct {
	Lease WorkerSocketLeaseConfig `json:"lease"`

	// MessageId Client-supplied correlation and short-window deduplication key. When present on a client frame, the server echoes it on the response frame.
	MessageId *WorkerSocketMessageID          `json:"message_id,omitempty"`
	Type      WorkerSocketRegisteredFrameType `json:"type"`

	// WorkerSessionToken Server-issued per-session token to reuse after reconnects.
	WorkerSessionToken string `json:"worker_session_token"`
}

WorkerSocketRegisteredFrame defines model for WorkerSocketRegisteredFrame.

type WorkerSocketRegisteredFrameType added in v0.0.22

type WorkerSocketRegisteredFrameType string

WorkerSocketRegisteredFrameType defines model for WorkerSocketRegisteredFrame.Type.

const (
	WorkerSocketRegisteredFrameTypeWorkerRegistered WorkerSocketRegisteredFrameType = "worker.registered"
)

Defines values for WorkerSocketRegisteredFrameType.

func (WorkerSocketRegisteredFrameType) Valid added in v0.0.22

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

type WorkerSocketWorkAvailableFrame added in v0.0.22

type WorkerSocketWorkAvailableFrame struct {
	Type WorkerSocketWorkAvailableFrameType `json:"type"`
}

WorkerSocketWorkAvailableFrame defines model for WorkerSocketWorkAvailableFrame.

type WorkerSocketWorkAvailableFrameType added in v0.0.22

type WorkerSocketWorkAvailableFrameType string

WorkerSocketWorkAvailableFrameType defines model for WorkerSocketWorkAvailableFrame.Type.

const (
	WorkerSocketWorkAvailableFrameTypeWorkAvailable WorkerSocketWorkAvailableFrameType = "work.available"
)

Defines values for WorkerSocketWorkAvailableFrameType.

func (WorkerSocketWorkAvailableFrameType) Valid added in v0.0.22

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

type WorkerSocketWorkerDrainFrame added in v0.0.22

type WorkerSocketWorkerDrainFrame struct {
	// MessageId Client-supplied correlation and short-window deduplication key. When present on a client frame, the server echoes it on the response frame.
	MessageId *WorkerSocketMessageID           `json:"message_id,omitempty"`
	Type      WorkerSocketWorkerDrainFrameType `json:"type"`
}

WorkerSocketWorkerDrainFrame defines model for WorkerSocketWorkerDrainFrame.

type WorkerSocketWorkerDrainFrameType added in v0.0.22

type WorkerSocketWorkerDrainFrameType string

WorkerSocketWorkerDrainFrameType defines model for WorkerSocketWorkerDrainFrame.Type.

const (
	WorkerSocketWorkerDrainFrameTypeWorkerDrain WorkerSocketWorkerDrainFrameType = "worker.drain"
)

Defines values for WorkerSocketWorkerDrainFrameType.

func (WorkerSocketWorkerDrainFrameType) Valid added in v0.0.22

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

type WorkerSocketWorkerDrainingAckFrame added in v0.0.22

type WorkerSocketWorkerDrainingAckFrame struct {
	// MessageId Client-supplied correlation and short-window deduplication key. When present on a client frame, the server echoes it on the response frame.
	MessageId *WorkerSocketMessageID                 `json:"message_id,omitempty"`
	Type      WorkerSocketWorkerDrainingAckFrameType `json:"type"`
}

WorkerSocketWorkerDrainingAckFrame defines model for WorkerSocketWorkerDrainingAckFrame.

type WorkerSocketWorkerDrainingAckFrameType added in v0.0.22

type WorkerSocketWorkerDrainingAckFrameType string

WorkerSocketWorkerDrainingAckFrameType defines model for WorkerSocketWorkerDrainingAckFrame.Type.

const (
	WorkerSocketWorkerDrainingAckFrameTypeWorkerDrainingAck WorkerSocketWorkerDrainingAckFrameType = "worker.draining.ack"
)

Defines values for WorkerSocketWorkerDrainingAckFrameType.

func (WorkerSocketWorkerDrainingAckFrameType) Valid added in v0.0.22

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

type WorkerSocketWorkerDrainingFrame added in v0.0.22

type WorkerSocketWorkerDrainingFrame struct {
	// MessageId Client-supplied correlation and short-window deduplication key. When present on a client frame, the server echoes it on the response frame.
	MessageId *WorkerSocketMessageID              `json:"message_id,omitempty"`
	Type      WorkerSocketWorkerDrainingFrameType `json:"type"`
}

WorkerSocketWorkerDrainingFrame defines model for WorkerSocketWorkerDrainingFrame.

type WorkerSocketWorkerDrainingFrameType added in v0.0.22

type WorkerSocketWorkerDrainingFrameType string

WorkerSocketWorkerDrainingFrameType defines model for WorkerSocketWorkerDrainingFrame.Type.

const (
	WorkerSocketWorkerDrainingFrameTypeWorkerDraining WorkerSocketWorkerDrainingFrameType = "worker.draining"
)

Defines values for WorkerSocketWorkerDrainingFrameType.

func (WorkerSocketWorkerDrainingFrameType) Valid added in v0.0.22

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL