Documentation
¶
Overview ¶
Package browseruse provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Package browseruse is an unofficial Go client for the Browser Use Cloud API.
Example ¶
This README example requires a real API key, so it only compiles in tests.
package main
import (
"context"
"net/http"
"os"
browseruse "github.com/psyb0t/go-browser-use"
)
func main() {
auth := browseruse.WithRequestEditorFn(
func(_ context.Context, req *http.Request) error {
req.Header.Set(
"X-Browser-Use-API-Key",
os.Getenv("BROWSER_USE_API_KEY"),
)
return nil
},
)
client, err := browseruse.NewClientWithResponses(
"https://api.browser-use.com/api/v4",
auth,
)
if err != nil {
panic(err)
}
res, err := client.ListRunsRunsGetWithResponse(
context.Background(),
&browseruse.ListRunsRunsGetParams{},
)
if err != nil {
panic(err)
}
if res.JSON200 == nil {
panic(res.Status())
}
_ = res.JSON200.Runs
}
Output:
Index ¶
- func NewAuthorizeIntegrationIntegrationsProviderAuthorizePostRequest(server string, provider string) (*http.Request, error)
- func NewCancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteRequest(server string, sessionId openapi_types.UUID, messageId int) (*http.Request, error)
- func NewCancelRunRunsRunIdCancelPostRequest(server string, runId openapi_types.UUID) (*http.Request, error)
- func NewCompactSessionSessionsSessionIdCompactPostRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
- func NewCreateBrowserSessionBrowsersPostRequest(server string, body CreateBrowserSessionBrowsersPostJSONRequestBody) (*http.Request, error)
- func NewCreateBrowserSessionBrowsersPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateNetworkPolicyNetworkPoliciesPostRequest(server string, body CreateNetworkPolicyNetworkPoliciesPostJSONRequestBody) (*http.Request, error)
- func NewCreateNetworkPolicyNetworkPoliciesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateProfileProfilesPostRequest(server string, body CreateProfileProfilesPostJSONRequestBody) (*http.Request, error)
- func NewCreateProfileProfilesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateRunRunsPostRequest(server string, body CreateRunRunsPostJSONRequestBody) (*http.Request, error)
- func NewCreateRunRunsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSessionShareSessionsSessionIdSharePostRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
- func NewCreateWorkspaceWorkspacesPostRequest(server string, body CreateWorkspaceWorkspacesPostJSONRequestBody) (*http.Request, error)
- func NewCreateWorkspaceWorkspacesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteBrowserProfileProfilesProfileIdDeleteRequest(server string, profileId openapi_types.UUID) (*http.Request, error)
- func NewDeleteExtensionExtensionsExtensionIdDeleteRequest(server string, extensionId openapi_types.UUID) (*http.Request, error)
- func NewDeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteRequest(server string, policyId openapi_types.UUID) (*http.Request, error)
- func NewDeleteSessionSessionsSessionIdDeleteRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
- func NewDeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteRequest(server string, workspaceId openapi_types.UUID, ...) (*http.Request, error)
- func NewDeleteWorkspaceWorkspacesWorkspaceIdDeleteRequest(server string, workspaceId openapi_types.UUID) (*http.Request, error)
- func NewDisconnectIntegrationIntegrationsProviderDeleteRequest(server string, provider string) (*http.Request, error)
- func NewGetBrowserSessionBrowsersSessionIdGetRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
- func NewGetBrowserSessionProxyBrowsersSessionIdProxyGetRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
- func NewGetConnectionStatusIntegrationsProviderStatusGetRequest(server string, provider string) (*http.Request, error)
- func NewGetExtensionExtensionsExtensionIdGetRequest(server string, extensionId openapi_types.UUID) (*http.Request, error)
- func NewGetNetworkPolicyNetworkPoliciesPolicyIdGetRequest(server string, policyId openapi_types.UUID) (*http.Request, error)
- func NewGetProfileProfilesProfileIdGetRequest(server string, profileId openapi_types.UUID) (*http.Request, error)
- func NewGetRunEventsRunsRunIdEventsGetRequest(server string, runId openapi_types.UUID, ...) (*http.Request, error)
- func NewGetRunRunsRunIdGetRequest(server string, runId openapi_types.UUID) (*http.Request, error)
- func NewGetRunStatusRunsRunIdStatusGetRequest(server string, runId openapi_types.UUID) (*http.Request, error)
- func NewGetSessionCostCapSessionsSessionIdCostCapGetRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
- func NewGetSessionCostSessionsSessionIdCostGetRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
- func NewGetSessionQueueMessageSessionsSessionIdQueueMessageIdGetRequest(server string, sessionId openapi_types.UUID, messageId int) (*http.Request, error)
- func NewGetSessionSessionsSessionIdGetRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
- func NewGetSessionShareSessionsSessionIdShareGetRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
- func NewGetStripeLinkStatusStripeLinkGetRequest(server string) (*http.Request, error)
- func NewGetWorkspaceSizeWorkspacesWorkspaceIdSizeGetRequest(server string, workspaceId openapi_types.UUID) (*http.Request, error)
- func NewGetWorkspaceWorkspacesWorkspaceIdGetRequest(server string, workspaceId openapi_types.UUID) (*http.Request, error)
- func NewListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetRequest(server string, sessionId openapi_types.UUID, ...) (*http.Request, error)
- func NewListBrowserSessionsBrowsersGetRequest(server string, params *ListBrowserSessionsBrowsersGetParams) (*http.Request, error)
- func NewListCategoriesIntegrationsCategoriesGetRequest(server string) (*http.Request, error)
- func NewListExtensionsExtensionsGetRequest(server string, params *ListExtensionsExtensionsGetParams) (*http.Request, error)
- func NewListIntegrationsIntegrationsGetRequest(server string, params *ListIntegrationsIntegrationsGetParams) (*http.Request, error)
- func NewListNetworkPoliciesNetworkPoliciesGetRequest(server string, params *ListNetworkPoliciesNetworkPoliciesGetParams) (*http.Request, error)
- func NewListProfilesProfilesGetRequest(server string, params *ListProfilesProfilesGetParams) (*http.Request, error)
- func NewListRunAttachmentsRunsRunIdAttachmentsGetRequest(server string, runId openapi_types.UUID) (*http.Request, error)
- func NewListRunsRunsGetRequest(server string, params *ListRunsRunsGetParams) (*http.Request, error)
- func NewListSessionQueueSessionsSessionIdQueueGetRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
- func NewListSessionsSessionsGetRequest(server string, params *ListSessionsSessionsGetParams) (*http.Request, error)
- func NewListWorkspaceFilesWorkspacesWorkspaceIdFilesGetRequest(server string, workspaceId openapi_types.UUID, ...) (*http.Request, error)
- func NewPurgeSessionSessionsSessionIdPurgePostRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
- func NewQueueSessionMessageSessionsSessionIdQueuePostRequest(server string, sessionId openapi_types.UUID, ...) (*http.Request, error)
- func NewQueueSessionMessageSessionsSessionIdQueuePostRequestWithBody(server string, sessionId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateBrowserSessionBrowsersSessionIdPatchRequest(server string, sessionId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateBrowserSessionBrowsersSessionIdPatchRequestWithBody(server string, sessionId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewUpdateBrowserSessionProxyBrowsersSessionIdProxyPatchRequest(server string, sessionId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateBrowserSessionProxyBrowsersSessionIdProxyPatchRequestWithBody(server string, sessionId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewUpdateNetworkPolicyNetworkPoliciesPolicyIdPatchRequest(server string, policyId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateNetworkPolicyNetworkPoliciesPolicyIdPatchRequestWithBody(server string, policyId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateProfileProfilesProfileIdPatchRequest(server string, profileId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateProfileProfilesProfileIdPatchRequestWithBody(server string, profileId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewUpdateSessionCostCapSessionsSessionIdCostCapPatchRequest(server string, sessionId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateSessionCostCapSessionsSessionIdCostCapPatchRequestWithBody(server string, sessionId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewUpdateSessionSessionsSessionIdPatchRequest(server string, sessionId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateSessionSessionsSessionIdPatchRequestWithBody(server string, sessionId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewUpdateSessionShareSessionsSessionIdSharePutRequest(server string, sessionId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateSessionShareSessionsSessionIdSharePutRequestWithBody(server string, sessionId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewUpdateWorkspaceWorkspacesWorkspaceIdPatchRequest(server string, workspaceId openapi_types.UUID, ...) (*http.Request, error)
- func NewUpdateWorkspaceWorkspacesWorkspaceIdPatchRequestWithBody(server string, workspaceId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewUploadExtensionExtensionsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostRequest(server string, workspaceId openapi_types.UUID, ...) (*http.Request, error)
- func NewUploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostRequestWithBody(server string, workspaceId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- type APIKeySpendLimitDetail
- type APIKeySpendLimitError
- type APIKeySpendLimitErrorDetail0
- type APIKeySpendLimitError_Detail
- func (t APIKeySpendLimitError_Detail) AsAPIKeySpendLimitDetail() (APIKeySpendLimitDetail, error)
- func (t APIKeySpendLimitError_Detail) AsAPIKeySpendLimitErrorDetail0() (APIKeySpendLimitErrorDetail0, error)
- func (t *APIKeySpendLimitError_Detail) FromAPIKeySpendLimitDetail(v APIKeySpendLimitDetail) error
- func (t *APIKeySpendLimitError_Detail) FromAPIKeySpendLimitErrorDetail0(v APIKeySpendLimitErrorDetail0) error
- func (t APIKeySpendLimitError_Detail) MarshalJSON() ([]byte, error)
- func (t *APIKeySpendLimitError_Detail) MergeAPIKeySpendLimitDetail(v APIKeySpendLimitDetail) error
- func (t *APIKeySpendLimitError_Detail) MergeAPIKeySpendLimitErrorDetail0(v APIKeySpendLimitErrorDetail0) error
- func (t *APIKeySpendLimitError_Detail) UnmarshalJSON(b []byte) error
- type AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse
- func (r AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse) ContentType() string
- func (r AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse) GetBody() []byte
- func (r AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse) GetJSON200() *AuthorizeResponse
- func (r AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse) GetJSON422() *HTTPValidationError
- func (r AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse) Status() string
- func (r AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse) StatusCode() int
- type AuthorizeResponse
- type BrowserDownloadFile
- type BrowserDownloadListResponse
- type BrowserExtensionView
- type BrowserProxyUpdateRequest
- type BrowserProxyUpdateRequestMode
- type BrowserProxyView
- type BrowserProxyViewMode
- type BrowserSessionItemView
- type BrowserSessionListResponse
- type BrowserSessionStatus
- type BrowserSessionUpdateAction
- type BrowserSessionView
- type CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse
- func (r CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse) ContentType() string
- func (r CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse) GetBody() []byte
- func (r CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse) GetJSON200() *QueuedMessage
- func (r CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse) GetJSON422() *HTTPValidationError
- func (r CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse) Status() string
- func (r CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse) StatusCode() int
- type CancelRunRunsRunIdCancelPostResponse
- func (r CancelRunRunsRunIdCancelPostResponse) ContentType() string
- func (r CancelRunRunsRunIdCancelPostResponse) GetBody() []byte
- func (r CancelRunRunsRunIdCancelPostResponse) GetJSON200() *RunSummary
- func (r CancelRunRunsRunIdCancelPostResponse) GetJSON422() *HTTPValidationError
- func (r CancelRunRunsRunIdCancelPostResponse) Status() string
- func (r CancelRunRunsRunIdCancelPostResponse) StatusCode() int
- type Client
- func (c *Client) AuthorizeIntegrationIntegrationsProviderAuthorizePost(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CancelQueuedMessageSessionsSessionIdQueueMessageIdDelete(ctx context.Context, sessionId openapi_types.UUID, messageId int, ...) (*http.Response, error)
- func (c *Client) CancelRunRunsRunIdCancelPost(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CompactSessionSessionsSessionIdCompactPost(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateBrowserSessionBrowsersPost(ctx context.Context, body CreateBrowserSessionBrowsersPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateBrowserSessionBrowsersPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateNetworkPolicyNetworkPoliciesPost(ctx context.Context, ...) (*http.Response, error)
- func (c *Client) CreateNetworkPolicyNetworkPoliciesPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateProfileProfilesPost(ctx context.Context, body CreateProfileProfilesPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateProfileProfilesPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateRunRunsPost(ctx context.Context, body CreateRunRunsPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateRunRunsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSessionShareSessionsSessionIdSharePost(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateWorkspaceWorkspacesPost(ctx context.Context, body CreateWorkspaceWorkspacesPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateWorkspaceWorkspacesPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteBrowserProfileProfilesProfileIdDelete(ctx context.Context, profileId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteExtensionExtensionsExtensionIdDelete(ctx context.Context, extensionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteNetworkPolicyNetworkPoliciesPolicyIdDelete(ctx context.Context, policyId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteSessionSessionsSessionIdDelete(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDelete(ctx context.Context, workspaceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DeleteWorkspaceWorkspacesWorkspaceIdDelete(ctx context.Context, workspaceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) DisconnectIntegrationIntegrationsProviderDelete(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBrowserSessionBrowsersSessionIdGet(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetBrowserSessionProxyBrowsersSessionIdProxyGet(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetConnectionStatusIntegrationsProviderStatusGet(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetExtensionExtensionsExtensionIdGet(ctx context.Context, extensionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetNetworkPolicyNetworkPoliciesPolicyIdGet(ctx context.Context, policyId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetProfileProfilesProfileIdGet(ctx context.Context, profileId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetRunEventsRunsRunIdEventsGet(ctx context.Context, runId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetRunRunsRunIdGet(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRunStatusRunsRunIdStatusGet(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSessionCostCapSessionsSessionIdCostCapGet(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetSessionCostSessionsSessionIdCostGet(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetSessionQueueMessageSessionsSessionIdQueueMessageIdGet(ctx context.Context, sessionId openapi_types.UUID, messageId int, ...) (*http.Response, error)
- func (c *Client) GetSessionSessionsSessionIdGet(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetSessionShareSessionsSessionIdShareGet(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetStripeLinkStatusStripeLinkGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWorkspaceSizeWorkspacesWorkspaceIdSizeGet(ctx context.Context, workspaceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetWorkspaceWorkspacesWorkspaceIdGet(ctx context.Context, workspaceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGet(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListBrowserSessionsBrowsersGet(ctx context.Context, params *ListBrowserSessionsBrowsersGetParams, ...) (*http.Response, error)
- func (c *Client) ListCategoriesIntegrationsCategoriesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListExtensionsExtensionsGet(ctx context.Context, params *ListExtensionsExtensionsGetParams, ...) (*http.Response, error)
- func (c *Client) ListIntegrationsIntegrationsGet(ctx context.Context, params *ListIntegrationsIntegrationsGetParams, ...) (*http.Response, error)
- func (c *Client) ListNetworkPoliciesNetworkPoliciesGet(ctx context.Context, params *ListNetworkPoliciesNetworkPoliciesGetParams, ...) (*http.Response, error)
- func (c *Client) ListProfilesProfilesGet(ctx context.Context, params *ListProfilesProfilesGetParams, ...) (*http.Response, error)
- func (c *Client) ListRunAttachmentsRunsRunIdAttachmentsGet(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListRunsRunsGet(ctx context.Context, params *ListRunsRunsGetParams, ...) (*http.Response, error)
- func (c *Client) ListSessionQueueSessionsSessionIdQueueGet(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ListSessionsSessionsGet(ctx context.Context, params *ListSessionsSessionsGetParams, ...) (*http.Response, error)
- func (c *Client) ListWorkspaceFilesWorkspacesWorkspaceIdFilesGet(ctx context.Context, workspaceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PurgeSessionSessionsSessionIdPurgePost(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) QueueSessionMessageSessionsSessionIdQueuePost(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) QueueSessionMessageSessionsSessionIdQueuePostWithBody(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateBrowserSessionBrowsersSessionIdPatch(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateBrowserSessionBrowsersSessionIdPatchWithBody(ctx context.Context, sessionId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateBrowserSessionProxyBrowsersSessionIdProxyPatch(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithBody(ctx context.Context, sessionId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateNetworkPolicyNetworkPoliciesPolicyIdPatch(ctx context.Context, policyId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithBody(ctx context.Context, policyId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateProfileProfilesProfileIdPatch(ctx context.Context, profileId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateProfileProfilesProfileIdPatchWithBody(ctx context.Context, profileId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateSessionCostCapSessionsSessionIdCostCapPatch(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateSessionCostCapSessionsSessionIdCostCapPatchWithBody(ctx context.Context, sessionId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateSessionSessionsSessionIdPatch(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateSessionSessionsSessionIdPatchWithBody(ctx context.Context, sessionId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateSessionShareSessionsSessionIdSharePut(ctx context.Context, sessionId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateSessionShareSessionsSessionIdSharePutWithBody(ctx context.Context, sessionId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateWorkspaceWorkspacesWorkspaceIdPatch(ctx context.Context, workspaceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateWorkspaceWorkspacesWorkspaceIdPatchWithBody(ctx context.Context, workspaceId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) UploadExtensionExtensionsPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPost(ctx context.Context, workspaceId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithBody(ctx context.Context, workspaceId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AuthorizeIntegrationIntegrationsProviderAuthorizePostWithResponse(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse, error)
- func (c *ClientWithResponses) CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteWithResponse(ctx context.Context, sessionId openapi_types.UUID, messageId int, ...) (*CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse, error)
- func (c *ClientWithResponses) CancelRunRunsRunIdCancelPostWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelRunRunsRunIdCancelPostResponse, error)
- func (c *ClientWithResponses) CompactSessionSessionsSessionIdCompactPostWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*CompactSessionSessionsSessionIdCompactPostResponse, error)
- func (c *ClientWithResponses) CreateBrowserSessionBrowsersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateBrowserSessionBrowsersPostResponse, error)
- func (c *ClientWithResponses) CreateBrowserSessionBrowsersPostWithResponse(ctx context.Context, body CreateBrowserSessionBrowsersPostJSONRequestBody, ...) (*CreateBrowserSessionBrowsersPostResponse, error)
- func (c *ClientWithResponses) CreateNetworkPolicyNetworkPoliciesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateNetworkPolicyNetworkPoliciesPostResponse, error)
- func (c *ClientWithResponses) CreateNetworkPolicyNetworkPoliciesPostWithResponse(ctx context.Context, ...) (*CreateNetworkPolicyNetworkPoliciesPostResponse, error)
- func (c *ClientWithResponses) CreateProfileProfilesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateProfileProfilesPostResponse, error)
- func (c *ClientWithResponses) CreateProfileProfilesPostWithResponse(ctx context.Context, body CreateProfileProfilesPostJSONRequestBody, ...) (*CreateProfileProfilesPostResponse, error)
- func (c *ClientWithResponses) CreateRunRunsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateRunRunsPostResponse, error)
- func (c *ClientWithResponses) CreateRunRunsPostWithResponse(ctx context.Context, body CreateRunRunsPostJSONRequestBody, ...) (*CreateRunRunsPostResponse, error)
- func (c *ClientWithResponses) CreateSessionShareSessionsSessionIdSharePostWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*CreateSessionShareSessionsSessionIdSharePostResponse, error)
- func (c *ClientWithResponses) CreateWorkspaceWorkspacesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateWorkspaceWorkspacesPostResponse, error)
- func (c *ClientWithResponses) CreateWorkspaceWorkspacesPostWithResponse(ctx context.Context, body CreateWorkspaceWorkspacesPostJSONRequestBody, ...) (*CreateWorkspaceWorkspacesPostResponse, error)
- func (c *ClientWithResponses) DeleteBrowserProfileProfilesProfileIdDeleteWithResponse(ctx context.Context, profileId openapi_types.UUID, ...) (*DeleteBrowserProfileProfilesProfileIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteExtensionExtensionsExtensionIdDeleteWithResponse(ctx context.Context, extensionId openapi_types.UUID, ...) (*DeleteExtensionExtensionsExtensionIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteWithResponse(ctx context.Context, policyId openapi_types.UUID, ...) (*DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteSessionSessionsSessionIdDeleteWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*DeleteSessionSessionsSessionIdDeleteResponse, error)
- func (c *ClientWithResponses) DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteWithResponse(ctx context.Context, workspaceId openapi_types.UUID, ...) (*DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse, error)
- func (c *ClientWithResponses) DeleteWorkspaceWorkspacesWorkspaceIdDeleteWithResponse(ctx context.Context, workspaceId openapi_types.UUID, ...) (*DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse, error)
- func (c *ClientWithResponses) DisconnectIntegrationIntegrationsProviderDeleteWithResponse(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*DisconnectIntegrationIntegrationsProviderDeleteResponse, error)
- func (c *ClientWithResponses) GetBrowserSessionBrowsersSessionIdGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*GetBrowserSessionBrowsersSessionIdGetResponse, error)
- func (c *ClientWithResponses) GetBrowserSessionProxyBrowsersSessionIdProxyGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse, error)
- func (c *ClientWithResponses) GetConnectionStatusIntegrationsProviderStatusGetWithResponse(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*GetConnectionStatusIntegrationsProviderStatusGetResponse, error)
- func (c *ClientWithResponses) GetExtensionExtensionsExtensionIdGetWithResponse(ctx context.Context, extensionId openapi_types.UUID, ...) (*GetExtensionExtensionsExtensionIdGetResponse, error)
- func (c *ClientWithResponses) GetNetworkPolicyNetworkPoliciesPolicyIdGetWithResponse(ctx context.Context, policyId openapi_types.UUID, ...) (*GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse, error)
- func (c *ClientWithResponses) GetProfileProfilesProfileIdGetWithResponse(ctx context.Context, profileId openapi_types.UUID, ...) (*GetProfileProfilesProfileIdGetResponse, error)
- func (c *ClientWithResponses) GetRunEventsRunsRunIdEventsGetWithResponse(ctx context.Context, runId openapi_types.UUID, ...) (*GetRunEventsRunsRunIdEventsGetResponse, error)
- func (c *ClientWithResponses) GetRunRunsRunIdGetWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRunRunsRunIdGetResponse, error)
- func (c *ClientWithResponses) GetRunStatusRunsRunIdStatusGetWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRunStatusRunsRunIdStatusGetResponse, error)
- func (c *ClientWithResponses) GetSessionCostCapSessionsSessionIdCostCapGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*GetSessionCostCapSessionsSessionIdCostCapGetResponse, error)
- func (c *ClientWithResponses) GetSessionCostSessionsSessionIdCostGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*GetSessionCostSessionsSessionIdCostGetResponse, error)
- func (c *ClientWithResponses) GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, messageId int, ...) (*GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse, error)
- func (c *ClientWithResponses) GetSessionSessionsSessionIdGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*GetSessionSessionsSessionIdGetResponse, error)
- func (c *ClientWithResponses) GetSessionShareSessionsSessionIdShareGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*GetSessionShareSessionsSessionIdShareGetResponse, error)
- func (c *ClientWithResponses) GetStripeLinkStatusStripeLinkGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStripeLinkStatusStripeLinkGetResponse, error)
- func (c *ClientWithResponses) GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetWithResponse(ctx context.Context, workspaceId openapi_types.UUID, ...) (*GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse, error)
- func (c *ClientWithResponses) GetWorkspaceWorkspacesWorkspaceIdGetWithResponse(ctx context.Context, workspaceId openapi_types.UUID, ...) (*GetWorkspaceWorkspacesWorkspaceIdGetResponse, error)
- func (c *ClientWithResponses) ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse, error)
- func (c *ClientWithResponses) ListBrowserSessionsBrowsersGetWithResponse(ctx context.Context, params *ListBrowserSessionsBrowsersGetParams, ...) (*ListBrowserSessionsBrowsersGetResponse, error)
- func (c *ClientWithResponses) ListCategoriesIntegrationsCategoriesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCategoriesIntegrationsCategoriesGetResponse, error)
- func (c *ClientWithResponses) ListExtensionsExtensionsGetWithResponse(ctx context.Context, params *ListExtensionsExtensionsGetParams, ...) (*ListExtensionsExtensionsGetResponse, error)
- func (c *ClientWithResponses) ListIntegrationsIntegrationsGetWithResponse(ctx context.Context, params *ListIntegrationsIntegrationsGetParams, ...) (*ListIntegrationsIntegrationsGetResponse, error)
- func (c *ClientWithResponses) ListNetworkPoliciesNetworkPoliciesGetWithResponse(ctx context.Context, params *ListNetworkPoliciesNetworkPoliciesGetParams, ...) (*ListNetworkPoliciesNetworkPoliciesGetResponse, error)
- func (c *ClientWithResponses) ListProfilesProfilesGetWithResponse(ctx context.Context, params *ListProfilesProfilesGetParams, ...) (*ListProfilesProfilesGetResponse, error)
- func (c *ClientWithResponses) ListRunAttachmentsRunsRunIdAttachmentsGetWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListRunAttachmentsRunsRunIdAttachmentsGetResponse, error)
- func (c *ClientWithResponses) ListRunsRunsGetWithResponse(ctx context.Context, params *ListRunsRunsGetParams, ...) (*ListRunsRunsGetResponse, error)
- func (c *ClientWithResponses) ListSessionQueueSessionsSessionIdQueueGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*ListSessionQueueSessionsSessionIdQueueGetResponse, error)
- func (c *ClientWithResponses) ListSessionsSessionsGetWithResponse(ctx context.Context, params *ListSessionsSessionsGetParams, ...) (*ListSessionsSessionsGetResponse, error)
- func (c *ClientWithResponses) ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetWithResponse(ctx context.Context, workspaceId openapi_types.UUID, ...) (*ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse, error)
- func (c *ClientWithResponses) PurgeSessionSessionsSessionIdPurgePostWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*PurgeSessionSessionsSessionIdPurgePostResponse, error)
- func (c *ClientWithResponses) QueueSessionMessageSessionsSessionIdQueuePostWithBodyWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*QueueSessionMessageSessionsSessionIdQueuePostResponse, error)
- func (c *ClientWithResponses) QueueSessionMessageSessionsSessionIdQueuePostWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*QueueSessionMessageSessionsSessionIdQueuePostResponse, error)
- func (c *ClientWithResponses) UpdateBrowserSessionBrowsersSessionIdPatchWithBodyWithResponse(ctx context.Context, sessionId openapi_types.UUID, contentType string, ...) (*UpdateBrowserSessionBrowsersSessionIdPatchResponse, error)
- func (c *ClientWithResponses) UpdateBrowserSessionBrowsersSessionIdPatchWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*UpdateBrowserSessionBrowsersSessionIdPatchResponse, error)
- func (c *ClientWithResponses) UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithBodyWithResponse(ctx context.Context, sessionId openapi_types.UUID, contentType string, ...) (*UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse, error)
- func (c *ClientWithResponses) UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse, error)
- func (c *ClientWithResponses) UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, contentType string, ...) (*UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse, error)
- func (c *ClientWithResponses) UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithResponse(ctx context.Context, policyId openapi_types.UUID, ...) (*UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse, error)
- func (c *ClientWithResponses) UpdateProfileProfilesProfileIdPatchWithBodyWithResponse(ctx context.Context, profileId openapi_types.UUID, contentType string, ...) (*UpdateProfileProfilesProfileIdPatchResponse, error)
- func (c *ClientWithResponses) UpdateProfileProfilesProfileIdPatchWithResponse(ctx context.Context, profileId openapi_types.UUID, ...) (*UpdateProfileProfilesProfileIdPatchResponse, error)
- func (c *ClientWithResponses) UpdateSessionCostCapSessionsSessionIdCostCapPatchWithBodyWithResponse(ctx context.Context, sessionId openapi_types.UUID, contentType string, ...) (*UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse, error)
- func (c *ClientWithResponses) UpdateSessionCostCapSessionsSessionIdCostCapPatchWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse, error)
- func (c *ClientWithResponses) UpdateSessionSessionsSessionIdPatchWithBodyWithResponse(ctx context.Context, sessionId openapi_types.UUID, contentType string, ...) (*UpdateSessionSessionsSessionIdPatchResponse, error)
- func (c *ClientWithResponses) UpdateSessionSessionsSessionIdPatchWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*UpdateSessionSessionsSessionIdPatchResponse, error)
- func (c *ClientWithResponses) UpdateSessionShareSessionsSessionIdSharePutWithBodyWithResponse(ctx context.Context, sessionId openapi_types.UUID, contentType string, ...) (*UpdateSessionShareSessionsSessionIdSharePutResponse, error)
- func (c *ClientWithResponses) UpdateSessionShareSessionsSessionIdSharePutWithResponse(ctx context.Context, sessionId openapi_types.UUID, ...) (*UpdateSessionShareSessionsSessionIdSharePutResponse, error)
- func (c *ClientWithResponses) UpdateWorkspaceWorkspacesWorkspaceIdPatchWithBodyWithResponse(ctx context.Context, workspaceId openapi_types.UUID, contentType string, ...) (*UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse, error)
- func (c *ClientWithResponses) UpdateWorkspaceWorkspacesWorkspaceIdPatchWithResponse(ctx context.Context, workspaceId openapi_types.UUID, ...) (*UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse, error)
- func (c *ClientWithResponses) UploadExtensionExtensionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UploadExtensionExtensionsPostResponse, error)
- func (c *ClientWithResponses) UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithBodyWithResponse(ctx context.Context, workspaceId openapi_types.UUID, contentType string, ...) (*UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse, error)
- func (c *ClientWithResponses) UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithResponse(ctx context.Context, workspaceId openapi_types.UUID, ...) (*UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse, error)
- type ClientWithResponsesInterface
- type CompactSessionSessionsSessionIdCompactPostResponse
- func (r CompactSessionSessionsSessionIdCompactPostResponse) ContentType() string
- func (r CompactSessionSessionsSessionIdCompactPostResponse) GetBody() []byte
- func (r CompactSessionSessionsSessionIdCompactPostResponse) GetJSON200() *SessionCompactResponse
- func (r CompactSessionSessionsSessionIdCompactPostResponse) GetJSON422() *HTTPValidationError
- func (r CompactSessionSessionsSessionIdCompactPostResponse) Status() string
- func (r CompactSessionSessionsSessionIdCompactPostResponse) StatusCode() int
- type ConnectionStatusResponse
- type CreateBrowserSessionBrowsersPostJSONRequestBody
- type CreateBrowserSessionBrowsersPostResponse
- func (r CreateBrowserSessionBrowsersPostResponse) ContentType() string
- func (r CreateBrowserSessionBrowsersPostResponse) GetBody() []byte
- func (r CreateBrowserSessionBrowsersPostResponse) GetJSON201() *BrowserSessionItemView
- func (r CreateBrowserSessionBrowsersPostResponse) GetJSON402() *APIKeySpendLimitError
- func (r CreateBrowserSessionBrowsersPostResponse) GetJSON403() *SessionTimeoutLimitExceededError
- func (r CreateBrowserSessionBrowsersPostResponse) GetJSON404() *ProfileNotFoundError
- func (r CreateBrowserSessionBrowsersPostResponse) GetJSON422() *ValidationError
- func (r CreateBrowserSessionBrowsersPostResponse) GetJSON429() *TooManyConcurrentActiveSessionsError
- func (r CreateBrowserSessionBrowsersPostResponse) Status() string
- func (r CreateBrowserSessionBrowsersPostResponse) StatusCode() int
- type CreateBrowserSessionRequest
- type CreateNetworkPolicyNetworkPoliciesPostJSONRequestBody
- type CreateNetworkPolicyNetworkPoliciesPostResponse
- func (r CreateNetworkPolicyNetworkPoliciesPostResponse) ContentType() string
- func (r CreateNetworkPolicyNetworkPoliciesPostResponse) GetBody() []byte
- func (r CreateNetworkPolicyNetworkPoliciesPostResponse) GetJSON201() *NetworkPolicyView
- func (r CreateNetworkPolicyNetworkPoliciesPostResponse) GetJSON422() *HTTPValidationError
- func (r CreateNetworkPolicyNetworkPoliciesPostResponse) Status() string
- func (r CreateNetworkPolicyNetworkPoliciesPostResponse) StatusCode() int
- type CreateProfileProfilesPostJSONRequestBody
- type CreateProfileProfilesPostResponse
- func (r CreateProfileProfilesPostResponse) ContentType() string
- func (r CreateProfileProfilesPostResponse) GetBody() []byte
- func (r CreateProfileProfilesPostResponse) GetJSON201() *ProfileView
- func (r CreateProfileProfilesPostResponse) GetJSON402() *InsufficientCreditsError
- func (r CreateProfileProfilesPostResponse) GetJSON422() *ValidationError
- func (r CreateProfileProfilesPostResponse) Status() string
- func (r CreateProfileProfilesPostResponse) StatusCode() int
- type CreateRunRunsPostJSONRequestBody
- type CreateRunRunsPostResponse
- func (r CreateRunRunsPostResponse) ContentType() string
- func (r CreateRunRunsPostResponse) GetBody() []byte
- func (r CreateRunRunsPostResponse) GetJSON200() *RunCreateResponse
- func (r CreateRunRunsPostResponse) GetJSON402() *APIKeySpendLimitError
- func (r CreateRunRunsPostResponse) GetJSON422() *RunCreateValidationError
- func (r CreateRunRunsPostResponse) Status() string
- func (r CreateRunRunsPostResponse) StatusCode() int
- type CreateSessionShareSessionsSessionIdSharePostResponse
- func (r CreateSessionShareSessionsSessionIdSharePostResponse) ContentType() string
- func (r CreateSessionShareSessionsSessionIdSharePostResponse) GetBody() []byte
- func (r CreateSessionShareSessionsSessionIdSharePostResponse) GetJSON200() *SessionShareInfo
- func (r CreateSessionShareSessionsSessionIdSharePostResponse) GetJSON422() *HTTPValidationError
- func (r CreateSessionShareSessionsSessionIdSharePostResponse) Status() string
- func (r CreateSessionShareSessionsSessionIdSharePostResponse) StatusCode() int
- type CreateWorkspaceWorkspacesPostJSONRequestBody
- type CreateWorkspaceWorkspacesPostResponse
- func (r CreateWorkspaceWorkspacesPostResponse) ContentType() string
- func (r CreateWorkspaceWorkspacesPostResponse) GetBody() []byte
- func (r CreateWorkspaceWorkspacesPostResponse) GetJSON200() *WorkspaceInfo
- func (r CreateWorkspaceWorkspacesPostResponse) GetJSON422() *HTTPValidationError
- func (r CreateWorkspaceWorkspacesPostResponse) Status() string
- func (r CreateWorkspaceWorkspacesPostResponse) StatusCode() int
- type CustomProxy
- type CustomProxyProtocol
- type DeleteBrowserProfileProfilesProfileIdDeleteResponse
- func (r DeleteBrowserProfileProfilesProfileIdDeleteResponse) ContentType() string
- func (r DeleteBrowserProfileProfilesProfileIdDeleteResponse) GetBody() []byte
- func (r DeleteBrowserProfileProfilesProfileIdDeleteResponse) GetJSON422() *HTTPValidationError
- func (r DeleteBrowserProfileProfilesProfileIdDeleteResponse) Status() string
- func (r DeleteBrowserProfileProfilesProfileIdDeleteResponse) StatusCode() int
- type DeleteExtensionExtensionsExtensionIdDeleteResponse
- func (r DeleteExtensionExtensionsExtensionIdDeleteResponse) ContentType() string
- func (r DeleteExtensionExtensionsExtensionIdDeleteResponse) GetBody() []byte
- func (r DeleteExtensionExtensionsExtensionIdDeleteResponse) GetJSON422() *HTTPValidationError
- func (r DeleteExtensionExtensionsExtensionIdDeleteResponse) Status() string
- func (r DeleteExtensionExtensionsExtensionIdDeleteResponse) StatusCode() int
- type DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse
- func (r DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse) ContentType() string
- func (r DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse) GetBody() []byte
- func (r DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse) GetJSON422() *HTTPValidationError
- func (r DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse) Status() string
- func (r DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse) StatusCode() int
- type DeleteSessionSessionsSessionIdDeleteResponse
- func (r DeleteSessionSessionsSessionIdDeleteResponse) ContentType() string
- func (r DeleteSessionSessionsSessionIdDeleteResponse) GetBody() []byte
- func (r DeleteSessionSessionsSessionIdDeleteResponse) GetJSON422() *HTTPValidationError
- func (r DeleteSessionSessionsSessionIdDeleteResponse) Status() string
- func (r DeleteSessionSessionsSessionIdDeleteResponse) StatusCode() int
- type DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteParams
- type DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse
- func (r DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse) ContentType() string
- func (r DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse) GetBody() []byte
- func (r DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse) GetJSON422() *HTTPValidationError
- func (r DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse) Status() string
- func (r DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse) StatusCode() int
- type DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse
- func (r DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse) ContentType() string
- func (r DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse) GetBody() []byte
- func (r DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse) GetJSON422() *HTTPValidationError
- func (r DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse) Status() string
- func (r DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse) StatusCode() int
- type DisconnectIntegrationIntegrationsProviderDeleteResponse
- func (r DisconnectIntegrationIntegrationsProviderDeleteResponse) ContentType() string
- func (r DisconnectIntegrationIntegrationsProviderDeleteResponse) GetBody() []byte
- func (r DisconnectIntegrationIntegrationsProviderDeleteResponse) GetJSON200() *DisconnectResponse
- func (r DisconnectIntegrationIntegrationsProviderDeleteResponse) GetJSON422() *HTTPValidationError
- func (r DisconnectIntegrationIntegrationsProviderDeleteResponse) Status() string
- func (r DisconnectIntegrationIntegrationsProviderDeleteResponse) StatusCode() int
- type DisconnectResponse
- type ExtensionListResponse
- type ExtensionView
- type GetBrowserSessionBrowsersSessionIdGetResponse
- func (r GetBrowserSessionBrowsersSessionIdGetResponse) ContentType() string
- func (r GetBrowserSessionBrowsersSessionIdGetResponse) GetBody() []byte
- func (r GetBrowserSessionBrowsersSessionIdGetResponse) GetJSON200() *BrowserSessionView
- func (r GetBrowserSessionBrowsersSessionIdGetResponse) GetJSON404() *SessionNotFoundError
- func (r GetBrowserSessionBrowsersSessionIdGetResponse) GetJSON422() *HTTPValidationError
- func (r GetBrowserSessionBrowsersSessionIdGetResponse) Status() string
- func (r GetBrowserSessionBrowsersSessionIdGetResponse) StatusCode() int
- type GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse
- func (r GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse) ContentType() string
- func (r GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse) GetBody() []byte
- func (r GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse) GetJSON200() *BrowserProxyView
- func (r GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse) Status() string
- func (r GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse) StatusCode() int
- type GetConnectionStatusIntegrationsProviderStatusGetResponse
- func (r GetConnectionStatusIntegrationsProviderStatusGetResponse) ContentType() string
- func (r GetConnectionStatusIntegrationsProviderStatusGetResponse) GetBody() []byte
- func (r GetConnectionStatusIntegrationsProviderStatusGetResponse) GetJSON200() *ConnectionStatusResponse
- func (r GetConnectionStatusIntegrationsProviderStatusGetResponse) GetJSON422() *HTTPValidationError
- func (r GetConnectionStatusIntegrationsProviderStatusGetResponse) Status() string
- func (r GetConnectionStatusIntegrationsProviderStatusGetResponse) StatusCode() int
- type GetExtensionExtensionsExtensionIdGetResponse
- func (r GetExtensionExtensionsExtensionIdGetResponse) ContentType() string
- func (r GetExtensionExtensionsExtensionIdGetResponse) GetBody() []byte
- func (r GetExtensionExtensionsExtensionIdGetResponse) GetJSON200() *ExtensionView
- func (r GetExtensionExtensionsExtensionIdGetResponse) GetJSON422() *HTTPValidationError
- func (r GetExtensionExtensionsExtensionIdGetResponse) Status() string
- func (r GetExtensionExtensionsExtensionIdGetResponse) StatusCode() int
- type GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse
- func (r GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) ContentType() string
- func (r GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) GetBody() []byte
- func (r GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) GetJSON200() *NetworkPolicyView
- func (r GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) GetJSON404() *NetworkPolicyNotFoundError
- func (r GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) GetJSON422() *HTTPValidationError
- func (r GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) Status() string
- func (r GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) StatusCode() int
- type GetProfileProfilesProfileIdGetResponse
- func (r GetProfileProfilesProfileIdGetResponse) ContentType() string
- func (r GetProfileProfilesProfileIdGetResponse) GetBody() []byte
- func (r GetProfileProfilesProfileIdGetResponse) GetJSON200() *ProfileView
- func (r GetProfileProfilesProfileIdGetResponse) GetJSON404() *ProfileNotFoundError
- func (r GetProfileProfilesProfileIdGetResponse) GetJSON422() *HTTPValidationError
- func (r GetProfileProfilesProfileIdGetResponse) Status() string
- func (r GetProfileProfilesProfileIdGetResponse) StatusCode() int
- type GetRunEventsRunsRunIdEventsGetParams
- type GetRunEventsRunsRunIdEventsGetResponse
- func (r GetRunEventsRunsRunIdEventsGetResponse) ContentType() string
- func (r GetRunEventsRunsRunIdEventsGetResponse) GetBody() []byte
- func (r GetRunEventsRunsRunIdEventsGetResponse) GetJSON200() *RunEventsResponse
- func (r GetRunEventsRunsRunIdEventsGetResponse) GetJSON422() *HTTPValidationError
- func (r GetRunEventsRunsRunIdEventsGetResponse) Status() string
- func (r GetRunEventsRunsRunIdEventsGetResponse) StatusCode() int
- type GetRunRunsRunIdGetResponse
- func (r GetRunRunsRunIdGetResponse) ContentType() string
- func (r GetRunRunsRunIdGetResponse) GetBody() []byte
- func (r GetRunRunsRunIdGetResponse) GetJSON200() *RunSummary
- func (r GetRunRunsRunIdGetResponse) GetJSON422() *HTTPValidationError
- func (r GetRunRunsRunIdGetResponse) Status() string
- func (r GetRunRunsRunIdGetResponse) StatusCode() int
- type GetRunStatusRunsRunIdStatusGetResponse
- func (r GetRunStatusRunsRunIdStatusGetResponse) ContentType() string
- func (r GetRunStatusRunsRunIdStatusGetResponse) GetBody() []byte
- func (r GetRunStatusRunsRunIdStatusGetResponse) GetJSON200() *RunStatusResponse
- func (r GetRunStatusRunsRunIdStatusGetResponse) GetJSON422() *HTTPValidationError
- func (r GetRunStatusRunsRunIdStatusGetResponse) Status() string
- func (r GetRunStatusRunsRunIdStatusGetResponse) StatusCode() int
- type GetSessionCostCapSessionsSessionIdCostCapGetResponse
- func (r GetSessionCostCapSessionsSessionIdCostCapGetResponse) ContentType() string
- func (r GetSessionCostCapSessionsSessionIdCostCapGetResponse) GetBody() []byte
- func (r GetSessionCostCapSessionsSessionIdCostCapGetResponse) GetJSON200() *SessionBudgetResponse
- func (r GetSessionCostCapSessionsSessionIdCostCapGetResponse) GetJSON422() *HTTPValidationError
- func (r GetSessionCostCapSessionsSessionIdCostCapGetResponse) Status() string
- func (r GetSessionCostCapSessionsSessionIdCostCapGetResponse) StatusCode() int
- type GetSessionCostSessionsSessionIdCostGetResponse
- func (r GetSessionCostSessionsSessionIdCostGetResponse) ContentType() string
- func (r GetSessionCostSessionsSessionIdCostGetResponse) GetBody() []byte
- func (r GetSessionCostSessionsSessionIdCostGetResponse) GetJSON200() *SessionCostResponse
- func (r GetSessionCostSessionsSessionIdCostGetResponse) GetJSON422() *HTTPValidationError
- func (r GetSessionCostSessionsSessionIdCostGetResponse) Status() string
- func (r GetSessionCostSessionsSessionIdCostGetResponse) StatusCode() int
- type GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse
- func (r GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse) ContentType() string
- func (r GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse) GetBody() []byte
- func (r GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse) GetJSON200() *QueuedMessage
- func (r GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse) GetJSON422() *HTTPValidationError
- func (r GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse) Status() string
- func (r GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse) StatusCode() int
- type GetSessionSessionsSessionIdGetResponse
- func (r GetSessionSessionsSessionIdGetResponse) ContentType() string
- func (r GetSessionSessionsSessionIdGetResponse) GetBody() []byte
- func (r GetSessionSessionsSessionIdGetResponse) GetJSON200() *SessionInfo
- func (r GetSessionSessionsSessionIdGetResponse) GetJSON422() *HTTPValidationError
- func (r GetSessionSessionsSessionIdGetResponse) Status() string
- func (r GetSessionSessionsSessionIdGetResponse) StatusCode() int
- type GetSessionShareSessionsSessionIdShareGetResponse
- func (r GetSessionShareSessionsSessionIdShareGetResponse) ContentType() string
- func (r GetSessionShareSessionsSessionIdShareGetResponse) GetBody() []byte
- func (r GetSessionShareSessionsSessionIdShareGetResponse) GetJSON200() *SessionShareInfo
- func (r GetSessionShareSessionsSessionIdShareGetResponse) GetJSON422() *HTTPValidationError
- func (r GetSessionShareSessionsSessionIdShareGetResponse) Status() string
- func (r GetSessionShareSessionsSessionIdShareGetResponse) StatusCode() int
- type GetStripeLinkStatusStripeLinkGetResponse
- func (r GetStripeLinkStatusStripeLinkGetResponse) ContentType() string
- func (r GetStripeLinkStatusStripeLinkGetResponse) GetBody() []byte
- func (r GetStripeLinkStatusStripeLinkGetResponse) GetJSON200() *StripeLinkStatusResponse
- func (r GetStripeLinkStatusStripeLinkGetResponse) GetJSON422() *HTTPValidationError
- func (r GetStripeLinkStatusStripeLinkGetResponse) Status() string
- func (r GetStripeLinkStatusStripeLinkGetResponse) StatusCode() int
- type GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse
- func (r GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse) ContentType() string
- func (r GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse) GetBody() []byte
- func (r GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse) GetJSON200() *WorkspaceSizeInfo
- func (r GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse) GetJSON422() *HTTPValidationError
- func (r GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse) Status() string
- func (r GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse) StatusCode() int
- type GetWorkspaceWorkspacesWorkspaceIdGetResponse
- func (r GetWorkspaceWorkspacesWorkspaceIdGetResponse) ContentType() string
- func (r GetWorkspaceWorkspacesWorkspaceIdGetResponse) GetBody() []byte
- func (r GetWorkspaceWorkspacesWorkspaceIdGetResponse) GetJSON200() *WorkspaceInfo
- func (r GetWorkspaceWorkspacesWorkspaceIdGetResponse) GetJSON422() *HTTPValidationError
- func (r GetWorkspaceWorkspacesWorkspaceIdGetResponse) Status() string
- func (r GetWorkspaceWorkspacesWorkspaceIdGetResponse) StatusCode() int
- type HTTPValidationError
- type HttpRequestDoer
- type InlineSecretSource
- type InlineSecretSourceType
- type InsufficientCreditsError
- type IntegrationCategoryResponse
- type IntegrationListResponse
- type IntegrationResponse
- type ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetParams
- type ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse
- func (r ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) ContentType() string
- func (r ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) GetBody() []byte
- func (r ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) GetJSON200() *BrowserDownloadListResponse
- func (r ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) GetJSON404() *SessionNotFoundError
- func (r ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) GetJSON422() *HTTPValidationError
- func (r ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) Status() string
- func (r ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) StatusCode() int
- type ListBrowserSessionsBrowsersGetParams
- type ListBrowserSessionsBrowsersGetResponse
- func (r ListBrowserSessionsBrowsersGetResponse) ContentType() string
- func (r ListBrowserSessionsBrowsersGetResponse) GetBody() []byte
- func (r ListBrowserSessionsBrowsersGetResponse) GetJSON200() *BrowserSessionListResponse
- func (r ListBrowserSessionsBrowsersGetResponse) GetJSON422() *HTTPValidationError
- func (r ListBrowserSessionsBrowsersGetResponse) Status() string
- func (r ListBrowserSessionsBrowsersGetResponse) StatusCode() int
- type ListCategoriesIntegrationsCategoriesGetResponse
- func (r ListCategoriesIntegrationsCategoriesGetResponse) ContentType() string
- func (r ListCategoriesIntegrationsCategoriesGetResponse) GetBody() []byte
- func (r ListCategoriesIntegrationsCategoriesGetResponse) GetJSON200() *IntegrationCategoryResponse
- func (r ListCategoriesIntegrationsCategoriesGetResponse) GetJSON422() *HTTPValidationError
- func (r ListCategoriesIntegrationsCategoriesGetResponse) Status() string
- func (r ListCategoriesIntegrationsCategoriesGetResponse) StatusCode() int
- type ListExtensionsExtensionsGetParams
- type ListExtensionsExtensionsGetResponse
- func (r ListExtensionsExtensionsGetResponse) ContentType() string
- func (r ListExtensionsExtensionsGetResponse) GetBody() []byte
- func (r ListExtensionsExtensionsGetResponse) GetJSON200() *ExtensionListResponse
- func (r ListExtensionsExtensionsGetResponse) GetJSON422() *HTTPValidationError
- func (r ListExtensionsExtensionsGetResponse) Status() string
- func (r ListExtensionsExtensionsGetResponse) StatusCode() int
- type ListIntegrationsIntegrationsGetParams
- type ListIntegrationsIntegrationsGetResponse
- func (r ListIntegrationsIntegrationsGetResponse) ContentType() string
- func (r ListIntegrationsIntegrationsGetResponse) GetBody() []byte
- func (r ListIntegrationsIntegrationsGetResponse) GetJSON200() *IntegrationListResponse
- func (r ListIntegrationsIntegrationsGetResponse) GetJSON422() *HTTPValidationError
- func (r ListIntegrationsIntegrationsGetResponse) Status() string
- func (r ListIntegrationsIntegrationsGetResponse) StatusCode() int
- type ListNetworkPoliciesNetworkPoliciesGetParams
- type ListNetworkPoliciesNetworkPoliciesGetResponse
- func (r ListNetworkPoliciesNetworkPoliciesGetResponse) ContentType() string
- func (r ListNetworkPoliciesNetworkPoliciesGetResponse) GetBody() []byte
- func (r ListNetworkPoliciesNetworkPoliciesGetResponse) GetJSON200() *NetworkPolicyListResponse
- func (r ListNetworkPoliciesNetworkPoliciesGetResponse) GetJSON422() *HTTPValidationError
- func (r ListNetworkPoliciesNetworkPoliciesGetResponse) Status() string
- func (r ListNetworkPoliciesNetworkPoliciesGetResponse) StatusCode() int
- type ListProfilesProfilesGetParams
- type ListProfilesProfilesGetResponse
- func (r ListProfilesProfilesGetResponse) ContentType() string
- func (r ListProfilesProfilesGetResponse) GetBody() []byte
- func (r ListProfilesProfilesGetResponse) GetJSON200() *ProfileListResponse
- func (r ListProfilesProfilesGetResponse) GetJSON422() *HTTPValidationError
- func (r ListProfilesProfilesGetResponse) Status() string
- func (r ListProfilesProfilesGetResponse) StatusCode() int
- type ListRunAttachmentsRunsRunIdAttachmentsGetResponse
- func (r ListRunAttachmentsRunsRunIdAttachmentsGetResponse) ContentType() string
- func (r ListRunAttachmentsRunsRunIdAttachmentsGetResponse) GetBody() []byte
- func (r ListRunAttachmentsRunsRunIdAttachmentsGetResponse) GetJSON200() *RunAttachmentsResponse
- func (r ListRunAttachmentsRunsRunIdAttachmentsGetResponse) GetJSON422() *HTTPValidationError
- func (r ListRunAttachmentsRunsRunIdAttachmentsGetResponse) Status() string
- func (r ListRunAttachmentsRunsRunIdAttachmentsGetResponse) StatusCode() int
- type ListRunsRunsGetParams
- type ListRunsRunsGetResponse
- func (r ListRunsRunsGetResponse) ContentType() string
- func (r ListRunsRunsGetResponse) GetBody() []byte
- func (r ListRunsRunsGetResponse) GetJSON200() *RunListResponse
- func (r ListRunsRunsGetResponse) GetJSON422() *HTTPValidationError
- func (r ListRunsRunsGetResponse) Status() string
- func (r ListRunsRunsGetResponse) StatusCode() int
- type ListSessionQueueSessionsSessionIdQueueGetResponse
- func (r ListSessionQueueSessionsSessionIdQueueGetResponse) ContentType() string
- func (r ListSessionQueueSessionsSessionIdQueueGetResponse) GetBody() []byte
- func (r ListSessionQueueSessionsSessionIdQueueGetResponse) GetJSON200() *QueueListResponse
- func (r ListSessionQueueSessionsSessionIdQueueGetResponse) GetJSON422() *HTTPValidationError
- func (r ListSessionQueueSessionsSessionIdQueueGetResponse) Status() string
- func (r ListSessionQueueSessionsSessionIdQueueGetResponse) StatusCode() int
- type ListSessionsSessionsGetParams
- type ListSessionsSessionsGetResponse
- func (r ListSessionsSessionsGetResponse) ContentType() string
- func (r ListSessionsSessionsGetResponse) GetBody() []byte
- func (r ListSessionsSessionsGetResponse) GetJSON200() *SessionListResponse
- func (r ListSessionsSessionsGetResponse) GetJSON422() *HTTPValidationError
- func (r ListSessionsSessionsGetResponse) Status() string
- func (r ListSessionsSessionsGetResponse) StatusCode() int
- type ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetParams
- type ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetParamsContentDisposition
- type ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse
- func (r ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse) ContentType() string
- func (r ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse) GetBody() []byte
- func (r ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse) GetJSON200() *WorkspaceFileListResponse
- func (r ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse) GetJSON422() *HTTPValidationError
- func (r ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse) Status() string
- func (r ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse) StatusCode() int
- type NetworkPolicyCreateRequest
- type NetworkPolicyCreateRequestDefaultAction
- type NetworkPolicyDomainList
- type NetworkPolicyListResponse
- type NetworkPolicyNotFoundError
- type NetworkPolicyUpdateRequest
- type NetworkPolicyUpdateRequestDefaultAction
- type NetworkPolicyView
- type NetworkPolicyViewDefaultAction
- type OnePasswordSecretSource
- type OnePasswordSecretSourceType
- type ProfileCreateRequest
- type ProfileListResponse
- type ProfileNotFoundError
- type ProfileUpdateRequest
- type ProfileView
- type ProxyCountryCode
- type PurgeSessionSessionsSessionIdPurgePostResponse
- func (r PurgeSessionSessionsSessionIdPurgePostResponse) ContentType() string
- func (r PurgeSessionSessionsSessionIdPurgePostResponse) GetBody() []byte
- func (r PurgeSessionSessionsSessionIdPurgePostResponse) GetJSON422() *HTTPValidationError
- func (r PurgeSessionSessionsSessionIdPurgePostResponse) Status() string
- func (r PurgeSessionSessionsSessionIdPurgePostResponse) StatusCode() int
- type QueueListResponse
- type QueueMessageRequest
- func (t QueueMessageRequest) AsQueueMessageRequest0() (QueueMessageRequest0, error)
- func (t QueueMessageRequest) AsQueueMessageRequest1() (QueueMessageRequest1, error)
- func (t *QueueMessageRequest) FromQueueMessageRequest0(v QueueMessageRequest0) error
- func (t *QueueMessageRequest) FromQueueMessageRequest1(v QueueMessageRequest1) error
- func (t QueueMessageRequest) MarshalJSON() ([]byte, error)
- func (t *QueueMessageRequest) MergeQueueMessageRequest0(v QueueMessageRequest0) error
- func (t *QueueMessageRequest) MergeQueueMessageRequest1(v QueueMessageRequest1) error
- func (t *QueueMessageRequest) UnmarshalJSON(b []byte) error
- type QueueMessageRequest0
- type QueueMessageRequest1
- type QueueSessionMessageSessionsSessionIdQueuePostJSONRequestBody
- type QueueSessionMessageSessionsSessionIdQueuePostParams
- type QueueSessionMessageSessionsSessionIdQueuePostResponse
- func (r QueueSessionMessageSessionsSessionIdQueuePostResponse) ContentType() string
- func (r QueueSessionMessageSessionsSessionIdQueuePostResponse) GetBody() []byte
- func (r QueueSessionMessageSessionsSessionIdQueuePostResponse) GetJSON200() *QueuedMessage
- func (r QueueSessionMessageSessionsSessionIdQueuePostResponse) GetJSON402() *APIKeySpendLimitError
- func (r QueueSessionMessageSessionsSessionIdQueuePostResponse) GetJSON422() *HTTPValidationError
- func (r QueueSessionMessageSessionsSessionIdQueuePostResponse) Status() string
- func (r QueueSessionMessageSessionsSessionIdQueuePostResponse) StatusCode() int
- type QueuedMessage
- type QueuedMessageMode
- type QueuedMessageStatus
- type RequestEditorFn
- type RunAttachment
- type RunAttachmentStatus
- type RunAttachmentsResponse
- type RunBrowserSettings
- type RunCreateRequest
- type RunCreateRequestMaxCostUsd0
- type RunCreateRequestMaxCostUsd1
- type RunCreateRequestModel
- type RunCreateRequest_MaxCostUsd
- func (t RunCreateRequest_MaxCostUsd) AsRunCreateRequestMaxCostUsd0() (RunCreateRequestMaxCostUsd0, error)
- func (t RunCreateRequest_MaxCostUsd) AsRunCreateRequestMaxCostUsd1() (RunCreateRequestMaxCostUsd1, error)
- func (t *RunCreateRequest_MaxCostUsd) FromRunCreateRequestMaxCostUsd0(v RunCreateRequestMaxCostUsd0) error
- func (t *RunCreateRequest_MaxCostUsd) FromRunCreateRequestMaxCostUsd1(v RunCreateRequestMaxCostUsd1) error
- func (t RunCreateRequest_MaxCostUsd) MarshalJSON() ([]byte, error)
- func (t *RunCreateRequest_MaxCostUsd) MergeRunCreateRequestMaxCostUsd0(v RunCreateRequestMaxCostUsd0) error
- func (t *RunCreateRequest_MaxCostUsd) MergeRunCreateRequestMaxCostUsd1(v RunCreateRequestMaxCostUsd1) error
- func (t *RunCreateRequest_MaxCostUsd) UnmarshalJSON(b []byte) error
- type RunCreateResponse
- type RunCreateResponseStatus
- type RunCreateValidationError
- type RunCreateValidationErrorDetail0
- type RunCreateValidationErrorDetail1
- type RunCreateValidationError_Detail
- func (t RunCreateValidationError_Detail) AsRunCreateValidationErrorDetail0() (RunCreateValidationErrorDetail0, error)
- func (t RunCreateValidationError_Detail) AsRunCreateValidationErrorDetail1() (RunCreateValidationErrorDetail1, error)
- func (t *RunCreateValidationError_Detail) FromRunCreateValidationErrorDetail0(v RunCreateValidationErrorDetail0) error
- func (t *RunCreateValidationError_Detail) FromRunCreateValidationErrorDetail1(v RunCreateValidationErrorDetail1) error
- func (t RunCreateValidationError_Detail) MarshalJSON() ([]byte, error)
- func (t *RunCreateValidationError_Detail) MergeRunCreateValidationErrorDetail0(v RunCreateValidationErrorDetail0) error
- func (t *RunCreateValidationError_Detail) MergeRunCreateValidationErrorDetail1(v RunCreateValidationErrorDetail1) error
- func (t *RunCreateValidationError_Detail) UnmarshalJSON(b []byte) error
- type RunEvent
- type RunEventsResponse
- type RunJudgeSettings
- type RunJudgeSettingsModel
- type RunListResponse
- type RunStatusResponse
- type RunStatusResponseStatus
- type RunSummary
- type RunSummaryStatus
- type SecretBinding
- type SecretBinding_Source
- func (t SecretBinding_Source) AsInlineSecretSource() (InlineSecretSource, error)
- func (t SecretBinding_Source) AsOnePasswordSecretSource() (OnePasswordSecretSource, error)
- func (t SecretBinding_Source) Discriminator() (string, error)
- func (t *SecretBinding_Source) FromInlineSecretSource(v InlineSecretSource) error
- func (t *SecretBinding_Source) FromOnePasswordSecretSource(v OnePasswordSecretSource) error
- func (t SecretBinding_Source) MarshalJSON() ([]byte, error)
- func (t *SecretBinding_Source) MergeInlineSecretSource(v InlineSecretSource) error
- func (t *SecretBinding_Source) MergeOnePasswordSecretSource(v OnePasswordSecretSource) error
- func (t *SecretBinding_Source) UnmarshalJSON(b []byte) error
- func (t SecretBinding_Source) ValueByDiscriminator() (interface{}, error)
- type SessionBudgetResponse
- type SessionBudgetResponseBudgetScope
- type SessionCompactResponse
- type SessionCostCapRequest
- type SessionCostCapRequestMaxCostUsd0
- type SessionCostCapRequestMaxCostUsd1
- type SessionCostCapRequest_MaxCostUsd
- func (t SessionCostCapRequest_MaxCostUsd) AsSessionCostCapRequestMaxCostUsd0() (SessionCostCapRequestMaxCostUsd0, error)
- func (t SessionCostCapRequest_MaxCostUsd) AsSessionCostCapRequestMaxCostUsd1() (SessionCostCapRequestMaxCostUsd1, error)
- func (t *SessionCostCapRequest_MaxCostUsd) FromSessionCostCapRequestMaxCostUsd0(v SessionCostCapRequestMaxCostUsd0) error
- func (t *SessionCostCapRequest_MaxCostUsd) FromSessionCostCapRequestMaxCostUsd1(v SessionCostCapRequestMaxCostUsd1) error
- func (t SessionCostCapRequest_MaxCostUsd) MarshalJSON() ([]byte, error)
- func (t *SessionCostCapRequest_MaxCostUsd) MergeSessionCostCapRequestMaxCostUsd0(v SessionCostCapRequestMaxCostUsd0) error
- func (t *SessionCostCapRequest_MaxCostUsd) MergeSessionCostCapRequestMaxCostUsd1(v SessionCostCapRequestMaxCostUsd1) error
- func (t *SessionCostCapRequest_MaxCostUsd) UnmarshalJSON(b []byte) error
- type SessionCostCapResponse
- type SessionCostResponse
- type SessionInfo
- type SessionInfoStatus
- type SessionListResponse
- type SessionNotFoundError
- type SessionShareInfo
- type SessionShareUpdateRequest
- type SessionTimeoutLimitExceededError
- type SessionUpdateRequest
- type SteeringCutoff
- type StripeLinkStatusResponse
- type StripeLinkStatusResponseMode
- type TooManyConcurrentActiveSessionsError
- type UpdateBrowserSessionBrowsersSessionIdPatchJSONRequestBody
- type UpdateBrowserSessionBrowsersSessionIdPatchResponse
- func (r UpdateBrowserSessionBrowsersSessionIdPatchResponse) ContentType() string
- func (r UpdateBrowserSessionBrowsersSessionIdPatchResponse) GetBody() []byte
- func (r UpdateBrowserSessionBrowsersSessionIdPatchResponse) GetJSON200() *BrowserSessionView
- func (r UpdateBrowserSessionBrowsersSessionIdPatchResponse) GetJSON404() *SessionNotFoundError
- func (r UpdateBrowserSessionBrowsersSessionIdPatchResponse) GetJSON422() *ValidationError
- func (r UpdateBrowserSessionBrowsersSessionIdPatchResponse) Status() string
- func (r UpdateBrowserSessionBrowsersSessionIdPatchResponse) StatusCode() int
- type UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchJSONRequestBody
- type UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse
- func (r UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse) ContentType() string
- func (r UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse) GetBody() []byte
- func (r UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse) GetJSON200() *BrowserProxyView
- func (r UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse) Status() string
- func (r UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse) StatusCode() int
- type UpdateBrowserSessionRequest
- type UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchJSONRequestBody
- type UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse
- func (r UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) ContentType() string
- func (r UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) GetBody() []byte
- func (r UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) GetJSON200() *NetworkPolicyView
- func (r UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) GetJSON404() *NetworkPolicyNotFoundError
- func (r UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) GetJSON422() *HTTPValidationError
- func (r UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) Status() string
- func (r UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) StatusCode() int
- type UpdateProfileProfilesProfileIdPatchJSONRequestBody
- type UpdateProfileProfilesProfileIdPatchResponse
- func (r UpdateProfileProfilesProfileIdPatchResponse) ContentType() string
- func (r UpdateProfileProfilesProfileIdPatchResponse) GetBody() []byte
- func (r UpdateProfileProfilesProfileIdPatchResponse) GetJSON200() *ProfileView
- func (r UpdateProfileProfilesProfileIdPatchResponse) GetJSON404() *ProfileNotFoundError
- func (r UpdateProfileProfilesProfileIdPatchResponse) GetJSON422() *HTTPValidationError
- func (r UpdateProfileProfilesProfileIdPatchResponse) Status() string
- func (r UpdateProfileProfilesProfileIdPatchResponse) StatusCode() int
- type UpdateSessionCostCapSessionsSessionIdCostCapPatchJSONRequestBody
- type UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse
- func (r UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse) ContentType() string
- func (r UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse) GetBody() []byte
- func (r UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse) GetJSON200() *SessionCostCapResponse
- func (r UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse) GetJSON422() *HTTPValidationError
- func (r UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse) Status() string
- func (r UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse) StatusCode() int
- type UpdateSessionSessionsSessionIdPatchJSONRequestBody
- type UpdateSessionSessionsSessionIdPatchResponse
- func (r UpdateSessionSessionsSessionIdPatchResponse) ContentType() string
- func (r UpdateSessionSessionsSessionIdPatchResponse) GetBody() []byte
- func (r UpdateSessionSessionsSessionIdPatchResponse) GetJSON200() *SessionInfo
- func (r UpdateSessionSessionsSessionIdPatchResponse) GetJSON422() *HTTPValidationError
- func (r UpdateSessionSessionsSessionIdPatchResponse) Status() string
- func (r UpdateSessionSessionsSessionIdPatchResponse) StatusCode() int
- type UpdateSessionShareSessionsSessionIdSharePutJSONRequestBody
- type UpdateSessionShareSessionsSessionIdSharePutResponse
- func (r UpdateSessionShareSessionsSessionIdSharePutResponse) ContentType() string
- func (r UpdateSessionShareSessionsSessionIdSharePutResponse) GetBody() []byte
- func (r UpdateSessionShareSessionsSessionIdSharePutResponse) GetJSON200() *SessionShareInfo
- func (r UpdateSessionShareSessionsSessionIdSharePutResponse) GetJSON422() *HTTPValidationError
- func (r UpdateSessionShareSessionsSessionIdSharePutResponse) Status() string
- func (r UpdateSessionShareSessionsSessionIdSharePutResponse) StatusCode() int
- type UpdateWorkspaceWorkspacesWorkspaceIdPatchJSONRequestBody
- type UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse
- func (r UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse) ContentType() string
- func (r UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse) GetBody() []byte
- func (r UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse) GetJSON200() *WorkspaceInfo
- func (r UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse) GetJSON422() *HTTPValidationError
- func (r UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse) Status() string
- func (r UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse) StatusCode() int
- type UploadExtensionExtensionsPostMultipartBody
- type UploadExtensionExtensionsPostMultipartRequestBody
- type UploadExtensionExtensionsPostResponse
- func (r UploadExtensionExtensionsPostResponse) ContentType() string
- func (r UploadExtensionExtensionsPostResponse) GetBody() []byte
- func (r UploadExtensionExtensionsPostResponse) GetJSON201() *ExtensionView
- func (r UploadExtensionExtensionsPostResponse) Status() string
- func (r UploadExtensionExtensionsPostResponse) StatusCode() int
- type UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostJSONRequestBody
- type UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse
- func (r UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse) ContentType() string
- func (r UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse) GetBody() []byte
- func (r UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse) GetJSON200() *WorkspaceFileUploadResponse
- func (r UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse) GetJSON422() *HTTPValidationError
- func (r UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse) Status() string
- func (r UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse) StatusCode() int
- type ValidationError
- type ValidationErrorLoc0
- type ValidationErrorLoc1
- type ValidationError_Loc_Item
- func (t ValidationError_Loc_Item) AsValidationErrorLoc0() (ValidationErrorLoc0, error)
- func (t ValidationError_Loc_Item) AsValidationErrorLoc1() (ValidationErrorLoc1, error)
- func (t *ValidationError_Loc_Item) FromValidationErrorLoc0(v ValidationErrorLoc0) error
- func (t *ValidationError_Loc_Item) FromValidationErrorLoc1(v ValidationErrorLoc1) error
- func (t ValidationError_Loc_Item) MarshalJSON() ([]byte, error)
- func (t *ValidationError_Loc_Item) MergeValidationErrorLoc0(v ValidationErrorLoc0) error
- func (t *ValidationError_Loc_Item) MergeValidationErrorLoc1(v ValidationErrorLoc1) error
- func (t *ValidationError_Loc_Item) UnmarshalJSON(b []byte) error
- type WorkspaceCreateRequest
- type WorkspaceFileInfo
- type WorkspaceFileListResponse
- type WorkspaceFileUploadItem
- type WorkspaceFileUploadRequest
- type WorkspaceFileUploadResponse
- type WorkspaceFileUploadResponseItem
- type WorkspaceInfo
- type WorkspaceSizeInfo
- type WorkspaceUpdateRequest
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthorizeIntegrationIntegrationsProviderAuthorizePostRequest ¶
func NewAuthorizeIntegrationIntegrationsProviderAuthorizePostRequest(server string, provider string) (*http.Request, error)
NewAuthorizeIntegrationIntegrationsProviderAuthorizePostRequest constructs an http.Request for the AuthorizeIntegrationIntegrationsProviderAuthorizePost method
func NewCancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteRequest ¶
func NewCancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteRequest(server string, sessionId openapi_types.UUID, messageId int) (*http.Request, error)
NewCancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteRequest constructs an http.Request for the CancelQueuedMessageSessionsSessionIdQueueMessageIdDelete method
func NewCancelRunRunsRunIdCancelPostRequest ¶
func NewCancelRunRunsRunIdCancelPostRequest(server string, runId openapi_types.UUID) (*http.Request, error)
NewCancelRunRunsRunIdCancelPostRequest constructs an http.Request for the CancelRunRunsRunIdCancelPost method
func NewCompactSessionSessionsSessionIdCompactPostRequest ¶ added in v0.2.0
func NewCompactSessionSessionsSessionIdCompactPostRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
NewCompactSessionSessionsSessionIdCompactPostRequest constructs an http.Request for the CompactSessionSessionsSessionIdCompactPost method
func NewCreateBrowserSessionBrowsersPostRequest ¶
func NewCreateBrowserSessionBrowsersPostRequest(server string, body CreateBrowserSessionBrowsersPostJSONRequestBody) (*http.Request, error)
NewCreateBrowserSessionBrowsersPostRequest calls the generic CreateBrowserSessionBrowsersPost builder with application/json body
func NewCreateBrowserSessionBrowsersPostRequestWithBody ¶
func NewCreateBrowserSessionBrowsersPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateBrowserSessionBrowsersPostRequestWithBody constructs an http.Request for the CreateBrowserSessionBrowsersPost method, with any body, and a specified content type
func NewCreateNetworkPolicyNetworkPoliciesPostRequest ¶ added in v0.2.0
func NewCreateNetworkPolicyNetworkPoliciesPostRequest(server string, body CreateNetworkPolicyNetworkPoliciesPostJSONRequestBody) (*http.Request, error)
NewCreateNetworkPolicyNetworkPoliciesPostRequest calls the generic CreateNetworkPolicyNetworkPoliciesPost builder with application/json body
func NewCreateNetworkPolicyNetworkPoliciesPostRequestWithBody ¶ added in v0.2.0
func NewCreateNetworkPolicyNetworkPoliciesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateNetworkPolicyNetworkPoliciesPostRequestWithBody constructs an http.Request for the CreateNetworkPolicyNetworkPoliciesPost method, with any body, and a specified content type
func NewCreateProfileProfilesPostRequest ¶
func NewCreateProfileProfilesPostRequest(server string, body CreateProfileProfilesPostJSONRequestBody) (*http.Request, error)
NewCreateProfileProfilesPostRequest calls the generic CreateProfileProfilesPost builder with application/json body
func NewCreateProfileProfilesPostRequestWithBody ¶
func NewCreateProfileProfilesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateProfileProfilesPostRequestWithBody constructs an http.Request for the CreateProfileProfilesPost method, with any body, and a specified content type
func NewCreateRunRunsPostRequest ¶
func NewCreateRunRunsPostRequest(server string, body CreateRunRunsPostJSONRequestBody) (*http.Request, error)
NewCreateRunRunsPostRequest calls the generic CreateRunRunsPost builder with application/json body
func NewCreateRunRunsPostRequestWithBody ¶
func NewCreateRunRunsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateRunRunsPostRequestWithBody constructs an http.Request for the CreateRunRunsPost method, with any body, and a specified content type
func NewCreateSessionShareSessionsSessionIdSharePostRequest ¶
func NewCreateSessionShareSessionsSessionIdSharePostRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
NewCreateSessionShareSessionsSessionIdSharePostRequest constructs an http.Request for the CreateSessionShareSessionsSessionIdSharePost method
func NewCreateWorkspaceWorkspacesPostRequest ¶
func NewCreateWorkspaceWorkspacesPostRequest(server string, body CreateWorkspaceWorkspacesPostJSONRequestBody) (*http.Request, error)
NewCreateWorkspaceWorkspacesPostRequest calls the generic CreateWorkspaceWorkspacesPost builder with application/json body
func NewCreateWorkspaceWorkspacesPostRequestWithBody ¶
func NewCreateWorkspaceWorkspacesPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWorkspaceWorkspacesPostRequestWithBody constructs an http.Request for the CreateWorkspaceWorkspacesPost method, with any body, and a specified content type
func NewDeleteBrowserProfileProfilesProfileIdDeleteRequest ¶
func NewDeleteBrowserProfileProfilesProfileIdDeleteRequest(server string, profileId openapi_types.UUID) (*http.Request, error)
NewDeleteBrowserProfileProfilesProfileIdDeleteRequest constructs an http.Request for the DeleteBrowserProfileProfilesProfileIdDelete method
func NewDeleteExtensionExtensionsExtensionIdDeleteRequest ¶
func NewDeleteExtensionExtensionsExtensionIdDeleteRequest(server string, extensionId openapi_types.UUID) (*http.Request, error)
NewDeleteExtensionExtensionsExtensionIdDeleteRequest constructs an http.Request for the DeleteExtensionExtensionsExtensionIdDelete method
func NewDeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteRequest ¶ added in v0.2.0
func NewDeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteRequest(server string, policyId openapi_types.UUID) (*http.Request, error)
NewDeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteRequest constructs an http.Request for the DeleteNetworkPolicyNetworkPoliciesPolicyIdDelete method
func NewDeleteSessionSessionsSessionIdDeleteRequest ¶
func NewDeleteSessionSessionsSessionIdDeleteRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
NewDeleteSessionSessionsSessionIdDeleteRequest constructs an http.Request for the DeleteSessionSessionsSessionIdDelete method
func NewDeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteRequest ¶
func NewDeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteRequest(server string, workspaceId openapi_types.UUID, params *DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteParams) (*http.Request, error)
NewDeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteRequest constructs an http.Request for the DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDelete method
func NewDeleteWorkspaceWorkspacesWorkspaceIdDeleteRequest ¶
func NewDeleteWorkspaceWorkspacesWorkspaceIdDeleteRequest(server string, workspaceId openapi_types.UUID) (*http.Request, error)
NewDeleteWorkspaceWorkspacesWorkspaceIdDeleteRequest constructs an http.Request for the DeleteWorkspaceWorkspacesWorkspaceIdDelete method
func NewDisconnectIntegrationIntegrationsProviderDeleteRequest ¶
func NewDisconnectIntegrationIntegrationsProviderDeleteRequest(server string, provider string) (*http.Request, error)
NewDisconnectIntegrationIntegrationsProviderDeleteRequest constructs an http.Request for the DisconnectIntegrationIntegrationsProviderDelete method
func NewGetBrowserSessionBrowsersSessionIdGetRequest ¶
func NewGetBrowserSessionBrowsersSessionIdGetRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
NewGetBrowserSessionBrowsersSessionIdGetRequest constructs an http.Request for the GetBrowserSessionBrowsersSessionIdGet method
func NewGetBrowserSessionProxyBrowsersSessionIdProxyGetRequest ¶ added in v0.1.5
func NewGetBrowserSessionProxyBrowsersSessionIdProxyGetRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
NewGetBrowserSessionProxyBrowsersSessionIdProxyGetRequest constructs an http.Request for the GetBrowserSessionProxyBrowsersSessionIdProxyGet method
func NewGetConnectionStatusIntegrationsProviderStatusGetRequest ¶
func NewGetConnectionStatusIntegrationsProviderStatusGetRequest(server string, provider string) (*http.Request, error)
NewGetConnectionStatusIntegrationsProviderStatusGetRequest constructs an http.Request for the GetConnectionStatusIntegrationsProviderStatusGet method
func NewGetExtensionExtensionsExtensionIdGetRequest ¶
func NewGetExtensionExtensionsExtensionIdGetRequest(server string, extensionId openapi_types.UUID) (*http.Request, error)
NewGetExtensionExtensionsExtensionIdGetRequest constructs an http.Request for the GetExtensionExtensionsExtensionIdGet method
func NewGetNetworkPolicyNetworkPoliciesPolicyIdGetRequest ¶ added in v0.2.0
func NewGetNetworkPolicyNetworkPoliciesPolicyIdGetRequest(server string, policyId openapi_types.UUID) (*http.Request, error)
NewGetNetworkPolicyNetworkPoliciesPolicyIdGetRequest constructs an http.Request for the GetNetworkPolicyNetworkPoliciesPolicyIdGet method
func NewGetProfileProfilesProfileIdGetRequest ¶
func NewGetProfileProfilesProfileIdGetRequest(server string, profileId openapi_types.UUID) (*http.Request, error)
NewGetProfileProfilesProfileIdGetRequest constructs an http.Request for the GetProfileProfilesProfileIdGet method
func NewGetRunEventsRunsRunIdEventsGetRequest ¶
func NewGetRunEventsRunsRunIdEventsGetRequest(server string, runId openapi_types.UUID, params *GetRunEventsRunsRunIdEventsGetParams) (*http.Request, error)
NewGetRunEventsRunsRunIdEventsGetRequest constructs an http.Request for the GetRunEventsRunsRunIdEventsGet method
func NewGetRunRunsRunIdGetRequest ¶
NewGetRunRunsRunIdGetRequest constructs an http.Request for the GetRunRunsRunIdGet method
func NewGetRunStatusRunsRunIdStatusGetRequest ¶
func NewGetRunStatusRunsRunIdStatusGetRequest(server string, runId openapi_types.UUID) (*http.Request, error)
NewGetRunStatusRunsRunIdStatusGetRequest constructs an http.Request for the GetRunStatusRunsRunIdStatusGet method
func NewGetSessionCostCapSessionsSessionIdCostCapGetRequest ¶ added in v0.2.0
func NewGetSessionCostCapSessionsSessionIdCostCapGetRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
NewGetSessionCostCapSessionsSessionIdCostCapGetRequest constructs an http.Request for the GetSessionCostCapSessionsSessionIdCostCapGet method
func NewGetSessionCostSessionsSessionIdCostGetRequest ¶
func NewGetSessionCostSessionsSessionIdCostGetRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
NewGetSessionCostSessionsSessionIdCostGetRequest constructs an http.Request for the GetSessionCostSessionsSessionIdCostGet method
func NewGetSessionQueueMessageSessionsSessionIdQueueMessageIdGetRequest ¶
func NewGetSessionQueueMessageSessionsSessionIdQueueMessageIdGetRequest(server string, sessionId openapi_types.UUID, messageId int) (*http.Request, error)
NewGetSessionQueueMessageSessionsSessionIdQueueMessageIdGetRequest constructs an http.Request for the GetSessionQueueMessageSessionsSessionIdQueueMessageIdGet method
func NewGetSessionSessionsSessionIdGetRequest ¶
func NewGetSessionSessionsSessionIdGetRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
NewGetSessionSessionsSessionIdGetRequest constructs an http.Request for the GetSessionSessionsSessionIdGet method
func NewGetSessionShareSessionsSessionIdShareGetRequest ¶
func NewGetSessionShareSessionsSessionIdShareGetRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
NewGetSessionShareSessionsSessionIdShareGetRequest constructs an http.Request for the GetSessionShareSessionsSessionIdShareGet method
func NewGetStripeLinkStatusStripeLinkGetRequest ¶
NewGetStripeLinkStatusStripeLinkGetRequest constructs an http.Request for the GetStripeLinkStatusStripeLinkGet method
func NewGetWorkspaceSizeWorkspacesWorkspaceIdSizeGetRequest ¶
func NewGetWorkspaceSizeWorkspacesWorkspaceIdSizeGetRequest(server string, workspaceId openapi_types.UUID) (*http.Request, error)
NewGetWorkspaceSizeWorkspacesWorkspaceIdSizeGetRequest constructs an http.Request for the GetWorkspaceSizeWorkspacesWorkspaceIdSizeGet method
func NewGetWorkspaceWorkspacesWorkspaceIdGetRequest ¶
func NewGetWorkspaceWorkspacesWorkspaceIdGetRequest(server string, workspaceId openapi_types.UUID) (*http.Request, error)
NewGetWorkspaceWorkspacesWorkspaceIdGetRequest constructs an http.Request for the GetWorkspaceWorkspacesWorkspaceIdGet method
func NewListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetRequest ¶
func NewListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetRequest(server string, sessionId openapi_types.UUID, params *ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetParams) (*http.Request, error)
NewListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetRequest constructs an http.Request for the ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGet method
func NewListBrowserSessionsBrowsersGetRequest ¶
func NewListBrowserSessionsBrowsersGetRequest(server string, params *ListBrowserSessionsBrowsersGetParams) (*http.Request, error)
NewListBrowserSessionsBrowsersGetRequest constructs an http.Request for the ListBrowserSessionsBrowsersGet method
func NewListCategoriesIntegrationsCategoriesGetRequest ¶
NewListCategoriesIntegrationsCategoriesGetRequest constructs an http.Request for the ListCategoriesIntegrationsCategoriesGet method
func NewListExtensionsExtensionsGetRequest ¶
func NewListExtensionsExtensionsGetRequest(server string, params *ListExtensionsExtensionsGetParams) (*http.Request, error)
NewListExtensionsExtensionsGetRequest constructs an http.Request for the ListExtensionsExtensionsGet method
func NewListIntegrationsIntegrationsGetRequest ¶
func NewListIntegrationsIntegrationsGetRequest(server string, params *ListIntegrationsIntegrationsGetParams) (*http.Request, error)
NewListIntegrationsIntegrationsGetRequest constructs an http.Request for the ListIntegrationsIntegrationsGet method
func NewListNetworkPoliciesNetworkPoliciesGetRequest ¶ added in v0.2.0
func NewListNetworkPoliciesNetworkPoliciesGetRequest(server string, params *ListNetworkPoliciesNetworkPoliciesGetParams) (*http.Request, error)
NewListNetworkPoliciesNetworkPoliciesGetRequest constructs an http.Request for the ListNetworkPoliciesNetworkPoliciesGet method
func NewListProfilesProfilesGetRequest ¶
func NewListProfilesProfilesGetRequest(server string, params *ListProfilesProfilesGetParams) (*http.Request, error)
NewListProfilesProfilesGetRequest constructs an http.Request for the ListProfilesProfilesGet method
func NewListRunAttachmentsRunsRunIdAttachmentsGetRequest ¶
func NewListRunAttachmentsRunsRunIdAttachmentsGetRequest(server string, runId openapi_types.UUID) (*http.Request, error)
NewListRunAttachmentsRunsRunIdAttachmentsGetRequest constructs an http.Request for the ListRunAttachmentsRunsRunIdAttachmentsGet method
func NewListRunsRunsGetRequest ¶
func NewListRunsRunsGetRequest(server string, params *ListRunsRunsGetParams) (*http.Request, error)
NewListRunsRunsGetRequest constructs an http.Request for the ListRunsRunsGet method
func NewListSessionQueueSessionsSessionIdQueueGetRequest ¶
func NewListSessionQueueSessionsSessionIdQueueGetRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
NewListSessionQueueSessionsSessionIdQueueGetRequest constructs an http.Request for the ListSessionQueueSessionsSessionIdQueueGet method
func NewListSessionsSessionsGetRequest ¶
func NewListSessionsSessionsGetRequest(server string, params *ListSessionsSessionsGetParams) (*http.Request, error)
NewListSessionsSessionsGetRequest constructs an http.Request for the ListSessionsSessionsGet method
func NewListWorkspaceFilesWorkspacesWorkspaceIdFilesGetRequest ¶
func NewListWorkspaceFilesWorkspacesWorkspaceIdFilesGetRequest(server string, workspaceId openapi_types.UUID, params *ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetParams) (*http.Request, error)
NewListWorkspaceFilesWorkspacesWorkspaceIdFilesGetRequest constructs an http.Request for the ListWorkspaceFilesWorkspacesWorkspaceIdFilesGet method
func NewPurgeSessionSessionsSessionIdPurgePostRequest ¶
func NewPurgeSessionSessionsSessionIdPurgePostRequest(server string, sessionId openapi_types.UUID) (*http.Request, error)
NewPurgeSessionSessionsSessionIdPurgePostRequest constructs an http.Request for the PurgeSessionSessionsSessionIdPurgePost method
func NewQueueSessionMessageSessionsSessionIdQueuePostRequest ¶
func NewQueueSessionMessageSessionsSessionIdQueuePostRequest(server string, sessionId openapi_types.UUID, params *QueueSessionMessageSessionsSessionIdQueuePostParams, body QueueSessionMessageSessionsSessionIdQueuePostJSONRequestBody) (*http.Request, error)
NewQueueSessionMessageSessionsSessionIdQueuePostRequest calls the generic QueueSessionMessageSessionsSessionIdQueuePost builder with application/json body
func NewQueueSessionMessageSessionsSessionIdQueuePostRequestWithBody ¶
func NewQueueSessionMessageSessionsSessionIdQueuePostRequestWithBody(server string, sessionId openapi_types.UUID, params *QueueSessionMessageSessionsSessionIdQueuePostParams, contentType string, body io.Reader) (*http.Request, error)
NewQueueSessionMessageSessionsSessionIdQueuePostRequestWithBody constructs an http.Request for the QueueSessionMessageSessionsSessionIdQueuePost method, with any body, and a specified content type
func NewUpdateBrowserSessionBrowsersSessionIdPatchRequest ¶
func NewUpdateBrowserSessionBrowsersSessionIdPatchRequest(server string, sessionId openapi_types.UUID, body UpdateBrowserSessionBrowsersSessionIdPatchJSONRequestBody) (*http.Request, error)
NewUpdateBrowserSessionBrowsersSessionIdPatchRequest calls the generic UpdateBrowserSessionBrowsersSessionIdPatch builder with application/json body
func NewUpdateBrowserSessionBrowsersSessionIdPatchRequestWithBody ¶
func NewUpdateBrowserSessionBrowsersSessionIdPatchRequestWithBody(server string, sessionId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateBrowserSessionBrowsersSessionIdPatchRequestWithBody constructs an http.Request for the UpdateBrowserSessionBrowsersSessionIdPatch method, with any body, and a specified content type
func NewUpdateBrowserSessionProxyBrowsersSessionIdProxyPatchRequest ¶ added in v0.1.5
func NewUpdateBrowserSessionProxyBrowsersSessionIdProxyPatchRequest(server string, sessionId openapi_types.UUID, body UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchJSONRequestBody) (*http.Request, error)
NewUpdateBrowserSessionProxyBrowsersSessionIdProxyPatchRequest calls the generic UpdateBrowserSessionProxyBrowsersSessionIdProxyPatch builder with application/json body
func NewUpdateBrowserSessionProxyBrowsersSessionIdProxyPatchRequestWithBody ¶ added in v0.1.5
func NewUpdateBrowserSessionProxyBrowsersSessionIdProxyPatchRequestWithBody(server string, sessionId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateBrowserSessionProxyBrowsersSessionIdProxyPatchRequestWithBody constructs an http.Request for the UpdateBrowserSessionProxyBrowsersSessionIdProxyPatch method, with any body, and a specified content type
func NewUpdateNetworkPolicyNetworkPoliciesPolicyIdPatchRequest ¶ added in v0.2.0
func NewUpdateNetworkPolicyNetworkPoliciesPolicyIdPatchRequest(server string, policyId openapi_types.UUID, body UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchJSONRequestBody) (*http.Request, error)
NewUpdateNetworkPolicyNetworkPoliciesPolicyIdPatchRequest calls the generic UpdateNetworkPolicyNetworkPoliciesPolicyIdPatch builder with application/json body
func NewUpdateNetworkPolicyNetworkPoliciesPolicyIdPatchRequestWithBody ¶ added in v0.2.0
func NewUpdateNetworkPolicyNetworkPoliciesPolicyIdPatchRequestWithBody(server string, policyId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateNetworkPolicyNetworkPoliciesPolicyIdPatchRequestWithBody constructs an http.Request for the UpdateNetworkPolicyNetworkPoliciesPolicyIdPatch method, with any body, and a specified content type
func NewUpdateProfileProfilesProfileIdPatchRequest ¶
func NewUpdateProfileProfilesProfileIdPatchRequest(server string, profileId openapi_types.UUID, body UpdateProfileProfilesProfileIdPatchJSONRequestBody) (*http.Request, error)
NewUpdateProfileProfilesProfileIdPatchRequest calls the generic UpdateProfileProfilesProfileIdPatch builder with application/json body
func NewUpdateProfileProfilesProfileIdPatchRequestWithBody ¶
func NewUpdateProfileProfilesProfileIdPatchRequestWithBody(server string, profileId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateProfileProfilesProfileIdPatchRequestWithBody constructs an http.Request for the UpdateProfileProfilesProfileIdPatch method, with any body, and a specified content type
func NewUpdateSessionCostCapSessionsSessionIdCostCapPatchRequest ¶
func NewUpdateSessionCostCapSessionsSessionIdCostCapPatchRequest(server string, sessionId openapi_types.UUID, body UpdateSessionCostCapSessionsSessionIdCostCapPatchJSONRequestBody) (*http.Request, error)
NewUpdateSessionCostCapSessionsSessionIdCostCapPatchRequest calls the generic UpdateSessionCostCapSessionsSessionIdCostCapPatch builder with application/json body
func NewUpdateSessionCostCapSessionsSessionIdCostCapPatchRequestWithBody ¶
func NewUpdateSessionCostCapSessionsSessionIdCostCapPatchRequestWithBody(server string, sessionId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSessionCostCapSessionsSessionIdCostCapPatchRequestWithBody constructs an http.Request for the UpdateSessionCostCapSessionsSessionIdCostCapPatch method, with any body, and a specified content type
func NewUpdateSessionSessionsSessionIdPatchRequest ¶
func NewUpdateSessionSessionsSessionIdPatchRequest(server string, sessionId openapi_types.UUID, body UpdateSessionSessionsSessionIdPatchJSONRequestBody) (*http.Request, error)
NewUpdateSessionSessionsSessionIdPatchRequest calls the generic UpdateSessionSessionsSessionIdPatch builder with application/json body
func NewUpdateSessionSessionsSessionIdPatchRequestWithBody ¶
func NewUpdateSessionSessionsSessionIdPatchRequestWithBody(server string, sessionId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSessionSessionsSessionIdPatchRequestWithBody constructs an http.Request for the UpdateSessionSessionsSessionIdPatch method, with any body, and a specified content type
func NewUpdateSessionShareSessionsSessionIdSharePutRequest ¶
func NewUpdateSessionShareSessionsSessionIdSharePutRequest(server string, sessionId openapi_types.UUID, body UpdateSessionShareSessionsSessionIdSharePutJSONRequestBody) (*http.Request, error)
NewUpdateSessionShareSessionsSessionIdSharePutRequest calls the generic UpdateSessionShareSessionsSessionIdSharePut builder with application/json body
func NewUpdateSessionShareSessionsSessionIdSharePutRequestWithBody ¶
func NewUpdateSessionShareSessionsSessionIdSharePutRequestWithBody(server string, sessionId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSessionShareSessionsSessionIdSharePutRequestWithBody constructs an http.Request for the UpdateSessionShareSessionsSessionIdSharePut method, with any body, and a specified content type
func NewUpdateWorkspaceWorkspacesWorkspaceIdPatchRequest ¶
func NewUpdateWorkspaceWorkspacesWorkspaceIdPatchRequest(server string, workspaceId openapi_types.UUID, body UpdateWorkspaceWorkspacesWorkspaceIdPatchJSONRequestBody) (*http.Request, error)
NewUpdateWorkspaceWorkspacesWorkspaceIdPatchRequest calls the generic UpdateWorkspaceWorkspacesWorkspaceIdPatch builder with application/json body
func NewUpdateWorkspaceWorkspacesWorkspaceIdPatchRequestWithBody ¶
func NewUpdateWorkspaceWorkspacesWorkspaceIdPatchRequestWithBody(server string, workspaceId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWorkspaceWorkspacesWorkspaceIdPatchRequestWithBody constructs an http.Request for the UpdateWorkspaceWorkspacesWorkspaceIdPatch method, with any body, and a specified content type
func NewUploadExtensionExtensionsPostRequestWithBody ¶
func NewUploadExtensionExtensionsPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUploadExtensionExtensionsPostRequestWithBody constructs an http.Request for the UploadExtensionExtensionsPost method, with any body, and a specified content type
func NewUploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostRequest ¶
func NewUploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostRequest(server string, workspaceId openapi_types.UUID, body UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostJSONRequestBody) (*http.Request, error)
NewUploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostRequest calls the generic UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPost builder with application/json body
func NewUploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostRequestWithBody ¶
func NewUploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostRequestWithBody(server string, workspaceId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostRequestWithBody constructs an http.Request for the UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPost method, with any body, and a specified content type
Types ¶
type APIKeySpendLimitDetail ¶
type APIKeySpendLimitDetail struct {
Cap float64 `json:"cap"`
Code *string `json:"code,omitempty"`
Message string `json:"message"`
Spent float64 `json:"spent"`
}
APIKeySpendLimitDetail Machine-readable 402 detail shared by run and browser creation.
type APIKeySpendLimitError ¶
type APIKeySpendLimitError struct {
Detail APIKeySpendLimitError_Detail `json:"detail"`
}
APIKeySpendLimitError FastAPI wraps endpoint errors in a top-level “detail“ field.
type APIKeySpendLimitErrorDetail0 ¶
type APIKeySpendLimitErrorDetail0 = string
APIKeySpendLimitErrorDetail0 defines model for APIKeySpendLimitError.Detail.0.
type APIKeySpendLimitError_Detail ¶
type APIKeySpendLimitError_Detail struct {
// contains filtered or unexported fields
}
APIKeySpendLimitError_Detail defines model for APIKeySpendLimitError.Detail.
func (APIKeySpendLimitError_Detail) AsAPIKeySpendLimitDetail ¶
func (t APIKeySpendLimitError_Detail) AsAPIKeySpendLimitDetail() (APIKeySpendLimitDetail, error)
AsAPIKeySpendLimitDetail returns the union data inside the APIKeySpendLimitError_Detail as a APIKeySpendLimitDetail
func (APIKeySpendLimitError_Detail) AsAPIKeySpendLimitErrorDetail0 ¶
func (t APIKeySpendLimitError_Detail) AsAPIKeySpendLimitErrorDetail0() (APIKeySpendLimitErrorDetail0, error)
AsAPIKeySpendLimitErrorDetail0 returns the union data inside the APIKeySpendLimitError_Detail as a APIKeySpendLimitErrorDetail0
func (*APIKeySpendLimitError_Detail) FromAPIKeySpendLimitDetail ¶
func (t *APIKeySpendLimitError_Detail) FromAPIKeySpendLimitDetail(v APIKeySpendLimitDetail) error
FromAPIKeySpendLimitDetail overwrites any union data inside the APIKeySpendLimitError_Detail as the provided APIKeySpendLimitDetail
func (*APIKeySpendLimitError_Detail) FromAPIKeySpendLimitErrorDetail0 ¶
func (t *APIKeySpendLimitError_Detail) FromAPIKeySpendLimitErrorDetail0(v APIKeySpendLimitErrorDetail0) error
FromAPIKeySpendLimitErrorDetail0 overwrites any union data inside the APIKeySpendLimitError_Detail as the provided APIKeySpendLimitErrorDetail0
func (APIKeySpendLimitError_Detail) MarshalJSON ¶
func (t APIKeySpendLimitError_Detail) MarshalJSON() ([]byte, error)
func (*APIKeySpendLimitError_Detail) MergeAPIKeySpendLimitDetail ¶
func (t *APIKeySpendLimitError_Detail) MergeAPIKeySpendLimitDetail(v APIKeySpendLimitDetail) error
MergeAPIKeySpendLimitDetail performs a merge with any union data inside the APIKeySpendLimitError_Detail, using the provided APIKeySpendLimitDetail
func (*APIKeySpendLimitError_Detail) MergeAPIKeySpendLimitErrorDetail0 ¶
func (t *APIKeySpendLimitError_Detail) MergeAPIKeySpendLimitErrorDetail0(v APIKeySpendLimitErrorDetail0) error
MergeAPIKeySpendLimitErrorDetail0 performs a merge with any union data inside the APIKeySpendLimitError_Detail, using the provided APIKeySpendLimitErrorDetail0
func (*APIKeySpendLimitError_Detail) UnmarshalJSON ¶
func (t *APIKeySpendLimitError_Detail) UnmarshalJSON(b []byte) error
type AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse ¶
type AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *AuthorizeResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseAuthorizeIntegrationIntegrationsProviderAuthorizePostResponse ¶
func ParseAuthorizeIntegrationIntegrationsProviderAuthorizePostResponse(rsp *http.Response) (*AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse, error)
ParseAuthorizeIntegrationIntegrationsProviderAuthorizePostResponse parses an HTTP response from a AuthorizeIntegrationIntegrationsProviderAuthorizePostWithResponse call
func (AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse) ContentType ¶
func (r AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse) GetBody ¶
func (r AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse) GetJSON200 ¶
func (r AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse) GetJSON200() *AuthorizeResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse) GetJSON422 ¶
func (r AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse) Status ¶
func (r AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse) Status() string
Status returns HTTPResponse.Status
func (AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse) StatusCode ¶
func (r AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuthorizeResponse ¶
type AuthorizeResponse struct {
Provider string `json:"provider"`
RedirectUrl string `json:"redirect_url"`
}
AuthorizeResponse Response with OAuth redirect URL.
type BrowserDownloadFile ¶
type BrowserDownloadFile struct {
// LastModified When the file was last modified in S3
LastModified time.Time `json:"lastModified"`
// Path File name (basename relative to the session downloads prefix)
Path string `json:"path"`
// Size File size in bytes
Size int `json:"size"`
// Url Presigned download URL (15 min expiry). Only included when `includeUrls=true`.
Url *string `json:"url,omitempty"`
}
BrowserDownloadFile A single file the browser downloaded during the session.
type BrowserDownloadListResponse ¶
type BrowserDownloadListResponse struct {
// Files List of files downloaded by the browser
Files []BrowserDownloadFile `json:"files"`
// HasMore Whether there are more files beyond this page.
HasMore *bool `json:"hasMore,omitempty"`
// NextCursor Cursor for the next page. Pass as the `cursor` query parameter to fetch the next page.
NextCursor *string `json:"nextCursor,omitempty"`
}
BrowserDownloadListResponse Paginated list of browser downloads with optional presigned URLs.
type BrowserExtensionView ¶
type BrowserExtensionView struct {
// Id Extension ID from POST /api/v4/extensions
Id openapi_types.UUID `json:"id"`
// RuntimeId Chromium extension ID, as in chrome-extension://{runtimeId}/
RuntimeId string `json:"runtimeId"`
// Version Version from the extension manifest
Version string `json:"version"`
}
BrowserExtensionView An extension installed in a browser session.
type BrowserProxyUpdateRequest ¶ added in v0.1.5
type BrowserProxyUpdateRequest struct {
Country *string `json:"country,omitempty"`
// CustomProxy Request model for creating a custom proxy.
CustomProxy *CustomProxy `json:"customProxy,omitempty"`
Mode *BrowserProxyUpdateRequestMode `json:"mode,omitempty"`
Rotate *bool `json:"rotate,omitempty"`
Target *string `json:"target,omitempty"`
}
BrowserProxyUpdateRequest defines model for BrowserProxyUpdateRequest.
type BrowserProxyUpdateRequestMode ¶ added in v0.1.5
type BrowserProxyUpdateRequestMode string
BrowserProxyUpdateRequestMode defines model for BrowserProxyUpdateRequest.Mode.
const ( BrowserProxyUpdateRequestModeCustom BrowserProxyUpdateRequestMode = "custom" BrowserProxyUpdateRequestModeDirect BrowserProxyUpdateRequestMode = "direct" BrowserProxyUpdateRequestModeManaged BrowserProxyUpdateRequestMode = "managed" )
Defines values for BrowserProxyUpdateRequestMode.
func (BrowserProxyUpdateRequestMode) Valid ¶ added in v0.1.5
func (e BrowserProxyUpdateRequestMode) Valid() bool
Valid indicates whether the value is a known member of the BrowserProxyUpdateRequestMode enum.
type BrowserProxyView ¶ added in v0.1.5
type BrowserProxyView struct {
Country *string `json:"country"`
ExitIp *string `json:"exitIp"`
Mode BrowserProxyViewMode `json:"mode"`
}
BrowserProxyView defines model for BrowserProxyView.
type BrowserProxyViewMode ¶ added in v0.1.5
type BrowserProxyViewMode string
BrowserProxyViewMode defines model for BrowserProxyView.Mode.
const ( BrowserProxyViewModeCustom BrowserProxyViewMode = "custom" BrowserProxyViewModeDirect BrowserProxyViewMode = "direct" BrowserProxyViewModeManaged BrowserProxyViewMode = "managed" )
Defines values for BrowserProxyViewMode.
func (BrowserProxyViewMode) Valid ¶ added in v0.1.5
func (e BrowserProxyViewMode) Valid() bool
Valid indicates whether the value is a known member of the BrowserProxyViewMode enum.
type BrowserSessionItemView ¶
type BrowserSessionItemView struct {
// AgentSessionId ID of the agent session that created this browser (None for standalone BaaS sessions)
AgentSessionId *openapi_types.UUID `json:"agentSessionId,omitempty"`
// BrowserCost Cost of browser session hosting in USD
BrowserCost *string `json:"browserCost,omitempty"`
// CdpUrl Chrome DevTools Protocol URL for browser automation
CdpUrl *string `json:"cdpUrl,omitempty"`
// Extensions Extensions installed in the browser, in the order of `extensionIds`.
Extensions *[]BrowserExtensionView `json:"extensions,omitempty"`
// FinishedAt Timestamp when the session was stopped (None if still active)
FinishedAt *time.Time `json:"finishedAt,omitempty"`
// Id Unique identifier for the session
Id openapi_types.UUID `json:"id"`
// LiveUrl URL where the browser can be viewed live in real-time
LiveUrl *string `json:"liveUrl,omitempty"`
// Metadata Caller-supplied labels set when the browser was created.
Metadata *map[string]string `json:"metadata,omitempty"`
// ProxyCost Cost of proxy usage in USD
ProxyCost *string `json:"proxyCost,omitempty"`
// ProxyUsedMb Amount of proxy data used in MB
ProxyUsedMb *string `json:"proxyUsedMb,omitempty"`
// RecordingUrl Presigned URL to download the session recording. Only populated on `GET /browsers/{session_id}`; always `null` in list responses.
RecordingUrl *string `json:"recordingUrl,omitempty"`
// StartedAt Timestamp when the session was created and started
StartedAt time.Time `json:"startedAt"`
// Status Enumeration of possible browser session states
//
// Attributes:
// ACTIVE: Session is currently active and running (browser is running)
// STOPPED: Session has been stopped and is no longer active (browser is stopped)
Status BrowserSessionStatus `json:"status"`
// TimeoutAt Timestamp when the session will timeout
TimeoutAt time.Time `json:"timeoutAt"`
}
BrowserSessionItemView View model for representing a browser session in list views.
type BrowserSessionListResponse ¶
type BrowserSessionListResponse struct {
// Items List of browser session views for the current page
Items []BrowserSessionItemView `json:"items"`
// PageNumber Page number
PageNumber int `json:"pageNumber"`
// PageSize Number of items per page
PageSize int `json:"pageSize"`
// TotalItems Total number of items in the list
TotalItems int `json:"totalItems"`
}
BrowserSessionListResponse Response model for paginated browser session list requests.
type BrowserSessionStatus ¶
type BrowserSessionStatus string
BrowserSessionStatus Enumeration of possible browser session states
Attributes:
ACTIVE: Session is currently active and running (browser is running) STOPPED: Session has been stopped and is no longer active (browser is stopped)
const ( BrowserSessionStatusActive BrowserSessionStatus = "active" BrowserSessionStatusStopped BrowserSessionStatus = "stopped" )
Defines values for BrowserSessionStatus.
func (BrowserSessionStatus) Valid ¶
func (e BrowserSessionStatus) Valid() bool
Valid indicates whether the value is a known member of the BrowserSessionStatus enum.
type BrowserSessionUpdateAction ¶
type BrowserSessionUpdateAction string
BrowserSessionUpdateAction Available actions that can be performed on a browser session
Attributes:
STOP: Stop the browser session (cannot be undone)
const (
BrowserSessionUpdateActionStop BrowserSessionUpdateAction = "stop"
)
Defines values for BrowserSessionUpdateAction.
func (BrowserSessionUpdateAction) Valid ¶
func (e BrowserSessionUpdateAction) Valid() bool
Valid indicates whether the value is a known member of the BrowserSessionUpdateAction enum.
type BrowserSessionView ¶
type BrowserSessionView struct {
// AgentSessionId ID of the agent session that created this browser (None for standalone BaaS sessions)
AgentSessionId *openapi_types.UUID `json:"agentSessionId,omitempty"`
// BrowserCost Cost of browser session hosting in USD
BrowserCost *string `json:"browserCost,omitempty"`
// CdpUrl Chrome DevTools Protocol URL for browser automation
CdpUrl *string `json:"cdpUrl,omitempty"`
// Extensions Extensions installed in the browser, in the order of `extensionIds`.
Extensions *[]BrowserExtensionView `json:"extensions,omitempty"`
// FinishedAt Timestamp when the session was stopped (None if still active)
FinishedAt *time.Time `json:"finishedAt,omitempty"`
// Id Unique identifier for the session
Id openapi_types.UUID `json:"id"`
// LiveUrl URL where the browser can be viewed live in real-time
LiveUrl *string `json:"liveUrl,omitempty"`
// Metadata Caller-supplied labels set when the browser was created.
Metadata *map[string]string `json:"metadata,omitempty"`
// ProxyCost Cost of proxy usage in USD
ProxyCost *string `json:"proxyCost,omitempty"`
// ProxyUsedMb Amount of proxy data used in MB
ProxyUsedMb *string `json:"proxyUsedMb,omitempty"`
// RecordingAvailable False when a recording can never appear for this session: recording was disabled, or the browser stopped long enough ago that the upload is not coming. Only ever false from proof, so a failed recording lookup leaves it true. Clients polling for `recordingUrl` must stop when this is false.
RecordingAvailable *bool `json:"recordingAvailable,omitempty"`
// RecordingUrl Presigned URL to download the session recording, if recording was enabled. Only populated on GET /browsers/{session_id}: the upload starts when the browser stops, so it is never ready in the stop response.
RecordingUrl *string `json:"recordingUrl,omitempty"`
// StartedAt Timestamp when the session was created and started
StartedAt time.Time `json:"startedAt"`
// Status Enumeration of possible browser session states
//
// Attributes:
// ACTIVE: Session is currently active and running (browser is running)
// STOPPED: Session has been stopped and is no longer active (browser is stopped)
Status BrowserSessionStatus `json:"status"`
// TimeoutAt Timestamp when the session will timeout
TimeoutAt time.Time `json:"timeoutAt"`
}
BrowserSessionView View model for representing a browser session.
type CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse ¶
type CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *QueuedMessage
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseCancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse ¶
func ParseCancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse(rsp *http.Response) (*CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse, error)
ParseCancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse parses an HTTP response from a CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteWithResponse call
func (CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse) ContentType ¶
func (r CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse) GetBody ¶
func (r CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse) GetJSON200 ¶
func (r CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse) GetJSON200() *QueuedMessage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse) GetJSON422 ¶
func (r CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse) Status ¶
func (r CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse) StatusCode ¶
func (r CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CancelRunRunsRunIdCancelPostResponse ¶
type CancelRunRunsRunIdCancelPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RunSummary
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseCancelRunRunsRunIdCancelPostResponse ¶
func ParseCancelRunRunsRunIdCancelPostResponse(rsp *http.Response) (*CancelRunRunsRunIdCancelPostResponse, error)
ParseCancelRunRunsRunIdCancelPostResponse parses an HTTP response from a CancelRunRunsRunIdCancelPostWithResponse call
func (CancelRunRunsRunIdCancelPostResponse) ContentType ¶
func (r CancelRunRunsRunIdCancelPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CancelRunRunsRunIdCancelPostResponse) GetBody ¶
func (r CancelRunRunsRunIdCancelPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CancelRunRunsRunIdCancelPostResponse) GetJSON200 ¶
func (r CancelRunRunsRunIdCancelPostResponse) GetJSON200() *RunSummary
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CancelRunRunsRunIdCancelPostResponse) GetJSON422 ¶
func (r CancelRunRunsRunIdCancelPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CancelRunRunsRunIdCancelPostResponse) Status ¶
func (r CancelRunRunsRunIdCancelPostResponse) Status() string
Status returns HTTPResponse.Status
func (CancelRunRunsRunIdCancelPostResponse) StatusCode ¶
func (r CancelRunRunsRunIdCancelPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) AuthorizeIntegrationIntegrationsProviderAuthorizePost ¶
func (c *Client) AuthorizeIntegrationIntegrationsProviderAuthorizePost(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*http.Response, error)
AuthorizeIntegrationIntegrationsProviderAuthorizePost Authorize Integration
Get the OAuth redirect URL for connecting an integration.
The client opens the returned URL in a web auth session and polls `/integrations/{provider}/status` once the flow lands back on the callback path. The URL is Composio-hosted; no redirect URI is registered per client.
Corresponds with POST /integrations/{provider}/authorize (the `AuthorizeIntegrationIntegrationsProviderAuthorizePost` operationId).
func (*Client) CancelQueuedMessageSessionsSessionIdQueueMessageIdDelete ¶
func (c *Client) CancelQueuedMessageSessionsSessionIdQueueMessageIdDelete(ctx context.Context, sessionId openapi_types.UUID, messageId int, reqEditors ...RequestEditorFn) (*http.Response, error)
CancelQueuedMessageSessionsSessionIdQueueMessageIdDelete Cancel Queued Message
Remove a still-pending queued message; 409 once the drain has claimed it.
Corresponds with DELETE /sessions/{session_id}/queue/{message_id} (the `CancelQueuedMessageSessionsSessionIdQueueMessageIdDelete` operationId).
func (*Client) CancelRunRunsRunIdCancelPost ¶
func (c *Client) CancelRunRunsRunIdCancelPost(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
CancelRunRunsRunIdCancelPost Cancel Run
Cancel an in-flight run.
Idempotent: a run already in a terminal state (completed / failed / cancelled) is returned as-is. Once cancelled, the gateway refuses every subsequent `chat_completions` call from the worker — so the project cannot be billed further regardless of whether the worker subprocess notices the cancel itself.
The worker keeps running for at most one more bcode step (consuming no LLM tokens because CP 409s them) and then exits when bcode realizes the next tool call has no model behind it.
Corresponds with POST /runs/{run_id}/cancel (the `CancelRunRunsRunIdCancelPost` operationId).
func (*Client) CompactSessionSessionsSessionIdCompactPost ¶ added in v0.2.0
func (c *Client) CompactSessionSessionsSessionIdCompactPost(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
CompactSessionSessionsSessionIdCompactPost Compact Session Context (beta)
Beta. Ask the session's running agent to summarize its context before its next model call. Returns 409 when the session has no running run or that run did not start with modelParams.context.
Corresponds with POST /sessions/{session_id}/compact (the `CompactSessionSessionsSessionIdCompactPost` operationId).
func (*Client) CreateBrowserSessionBrowsersPost ¶
func (c *Client) CreateBrowserSessionBrowsersPost(ctx context.Context, body CreateBrowserSessionBrowsersPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBrowserSessionBrowsersPost Create Browser Session
Create a new browser session.
**Pricing:** Browser sessions are charged per browser-hour at your account rate, shown on your billing page.
The full rate is charged upfront when the session starts. When you stop the session, any unused time is automatically refunded proportionally.
Billing is rounded up to the minute (minimum 1 minute). For example, if you stop a session after 30 minutes, you'll be refunded half the charged amount.
**Session Limits:** - All users: Up to 4 hours per session
Takes a body of the `application/json` content type.
Corresponds with POST /browsers (the `CreateBrowserSessionBrowsersPost` operationId).
func (*Client) CreateBrowserSessionBrowsersPostWithBody ¶
func (c *Client) CreateBrowserSessionBrowsersPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBrowserSessionBrowsersPostWithBody Create Browser Session
Create a new browser session.
**Pricing:** Browser sessions are charged per browser-hour at your account rate, shown on your billing page.
The full rate is charged upfront when the session starts. When you stop the session, any unused time is automatically refunded proportionally.
Billing is rounded up to the minute (minimum 1 minute). For example, if you stop a session after 30 minutes, you'll be refunded half the charged amount.
**Session Limits:** - All users: Up to 4 hours per session
Takes any type of body and a specified content type.
Corresponds with POST /browsers (the `CreateBrowserSessionBrowsersPost` operationId).
func (*Client) CreateNetworkPolicyNetworkPoliciesPost ¶ added in v0.2.0
func (c *Client) CreateNetworkPolicyNetworkPoliciesPost(ctx context.Context, body CreateNetworkPolicyNetworkPoliciesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateNetworkPolicyNetworkPoliciesPost Create Network Policy
Create a network policy that allows or blocks domains for the browsers that reference it with networkPolicyId.
A domain such as `example.com` matches the domain and all of its subdomains, and the most specific entry wins. Domains are trimmed, lower-cased and converted to punycode, a trailing dot and a leading `*.` are removed, and duplicates are dropped. URLs, paths, ports, IP addresses, other wildcards and a domain in both lists are rejected. A policy has at most 10,000 domains, and a project has at most 100 policies.
Takes a body of the `application/json` content type.
Corresponds with POST /network-policies (the `CreateNetworkPolicyNetworkPoliciesPost` operationId).
func (*Client) CreateNetworkPolicyNetworkPoliciesPostWithBody ¶ added in v0.2.0
func (c *Client) CreateNetworkPolicyNetworkPoliciesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateNetworkPolicyNetworkPoliciesPostWithBody Create Network Policy
Create a network policy that allows or blocks domains for the browsers that reference it with networkPolicyId.
A domain such as `example.com` matches the domain and all of its subdomains, and the most specific entry wins. Domains are trimmed, lower-cased and converted to punycode, a trailing dot and a leading `*.` are removed, and duplicates are dropped. URLs, paths, ports, IP addresses, other wildcards and a domain in both lists are rejected. A policy has at most 10,000 domains, and a project has at most 100 policies.
Takes any type of body and a specified content type.
Corresponds with POST /network-policies (the `CreateNetworkPolicyNetworkPoliciesPost` operationId).
func (*Client) CreateProfileProfilesPost ¶
func (c *Client) CreateProfileProfilesPost(ctx context.Context, body CreateProfileProfilesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProfileProfilesPost Create Profile
Profiles allow you to preserve the state of the browser between tasks.
They are most commonly used to allow users to preserve the log-in state in the agent between tasks. You'd normally create one profile per user and then use it for all their tasks.
You can set a `user_id` when creating a profile to associate it with a user in your system. This allows you to later search for the profile using the GET /profiles endpoint with a query parameter.
Takes a body of the `application/json` content type.
Corresponds with POST /profiles (the `CreateProfileProfilesPost` operationId).
func (*Client) CreateProfileProfilesPostWithBody ¶
func (c *Client) CreateProfileProfilesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProfileProfilesPostWithBody Create Profile
Profiles allow you to preserve the state of the browser between tasks.
They are most commonly used to allow users to preserve the log-in state in the agent between tasks. You'd normally create one profile per user and then use it for all their tasks.
You can set a `user_id` when creating a profile to associate it with a user in your system. This allows you to later search for the profile using the GET /profiles endpoint with a query parameter.
Takes any type of body and a specified content type.
Corresponds with POST /profiles (the `CreateProfileProfilesPost` operationId).
func (*Client) CreateRunRunsPost ¶
func (c *Client) CreateRunRunsPost(ctx context.Context, body CreateRunRunsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRunRunsPost Create Run
Takes a body of the `application/json` content type.
Corresponds with POST /runs (the `CreateRunRunsPost` operationId).
func (*Client) CreateRunRunsPostWithBody ¶
func (c *Client) CreateRunRunsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateRunRunsPostWithBody Create Run
Takes any type of body and a specified content type.
Corresponds with POST /runs (the `CreateRunRunsPost` operationId).
func (*Client) CreateSessionShareSessionsSessionIdSharePost ¶
func (c *Client) CreateSessionShareSessionsSessionIdSharePost(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSessionShareSessionsSessionIdSharePost Create Session Share
Enable sharing: reactivates the session's existing share (stable token, so a link that was toggled off keeps working when re-enabled) or creates one on first use.
Corresponds with POST /sessions/{session_id}/share (the `CreateSessionShareSessionsSessionIdSharePost` operationId).
func (*Client) CreateWorkspaceWorkspacesPost ¶
func (c *Client) CreateWorkspaceWorkspacesPost(ctx context.Context, body CreateWorkspaceWorkspacesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWorkspaceWorkspacesPost Create Workspace
Mint an empty workspace. Lets callers upload input files BEFORE the first run exists; pass the id as workspaceId on POST /runs.
Takes a body of the `application/json` content type.
Corresponds with POST /workspaces (the `CreateWorkspaceWorkspacesPost` operationId).
func (*Client) CreateWorkspaceWorkspacesPostWithBody ¶
func (c *Client) CreateWorkspaceWorkspacesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWorkspaceWorkspacesPostWithBody Create Workspace
Mint an empty workspace. Lets callers upload input files BEFORE the first run exists; pass the id as workspaceId on POST /runs.
Takes any type of body and a specified content type.
Corresponds with POST /workspaces (the `CreateWorkspaceWorkspacesPost` operationId).
func (*Client) DeleteBrowserProfileProfilesProfileIdDelete ¶
func (c *Client) DeleteBrowserProfileProfilesProfileIdDelete(ctx context.Context, profileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteBrowserProfileProfilesProfileIdDelete Delete Browser Profile
Permanently delete a browser profile and its configuration.
Corresponds with DELETE /profiles/{profile_id} (the `DeleteBrowserProfileProfilesProfileIdDelete` operationId).
func (*Client) DeleteExtensionExtensionsExtensionIdDelete ¶
func (c *Client) DeleteExtensionExtensionsExtensionIdDelete(ctx context.Context, extensionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteExtensionExtensionsExtensionIdDelete Delete Extension
Permanently delete an extension without affecting running browsers.
Corresponds with DELETE /extensions/{extension_id} (the `DeleteExtensionExtensionsExtensionIdDelete` operationId).
func (*Client) DeleteNetworkPolicyNetworkPoliciesPolicyIdDelete ¶ added in v0.2.0
func (c *Client) DeleteNetworkPolicyNetworkPoliciesPolicyIdDelete(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteNetworkPolicyNetworkPoliciesPolicyIdDelete Delete Network Policy
Delete a network policy. Browsers that use it continue without a customer network policy.
Corresponds with DELETE /network-policies/{policy_id} (the `DeleteNetworkPolicyNetworkPoliciesPolicyIdDelete` operationId).
func (*Client) DeleteSessionSessionsSessionIdDelete ¶
func (c *Client) DeleteSessionSessionsSessionIdDelete(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSessionSessionsSessionIdDelete Delete Session
Delete a session: it disappears from the session lists and can no longer be opened or continued.
Soft delete (mirrors V2's `is_archived`): the runs, events and usage records stay in place so billing and analytics keep reconciling, and ZDR purge is the only thing that ever destroys V4 content. Idempotent — deleting twice is a no-op 204.
An in-flight run is cancelled first, and pending queued messages are cancelled too; otherwise the drain would dispatch a follow-up run whose `session_archived_at` is NULL and resurrect the session. Cancel is forwarded to CP before anything is written (and outside the queue lock, per the enqueue path's ordering), so a CP failure (502) leaves the session visible rather than hiding a run that is still burning credits.
Corresponds with DELETE /sessions/{session_id} (the `DeleteSessionSessionsSessionIdDelete` operationId).
func (*Client) DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDelete ¶
func (c *Client) DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDelete(ctx context.Context, workspaceId openapi_types.UUID, params *DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDelete Delete Workspace File
Delete one exact path from a workspace and remove matching upload metadata.
Corresponds with DELETE /workspaces/{workspace_id}/files (the `DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDelete` operationId).
func (*Client) DeleteWorkspaceWorkspacesWorkspaceIdDelete ¶
func (c *Client) DeleteWorkspaceWorkspacesWorkspaceIdDelete(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteWorkspaceWorkspacesWorkspaceIdDelete Delete Workspace
Archive a workspace. Idempotent for missing, archived, and foreign ids.
Corresponds with DELETE /workspaces/{workspace_id} (the `DeleteWorkspaceWorkspacesWorkspaceIdDelete` operationId).
func (*Client) DisconnectIntegrationIntegrationsProviderDelete ¶
func (c *Client) DisconnectIntegrationIntegrationsProviderDelete(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*http.Response, error)
DisconnectIntegrationIntegrationsProviderDelete Disconnect Integration
Disconnect an integration for this project.
Deliberately NOT gated like `authorize` above: a restricted project must still be able to tear down a connection it already has.
Corresponds with DELETE /integrations/{provider} (the `DisconnectIntegrationIntegrationsProviderDelete` operationId).
func (*Client) GetBrowserSessionBrowsersSessionIdGet ¶
func (c *Client) GetBrowserSessionBrowsersSessionIdGet(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBrowserSessionBrowsersSessionIdGet Get Browser Session
Get detailed browser session information including status and URLs.
Corresponds with GET /browsers/{session_id} (the `GetBrowserSessionBrowsersSessionIdGet` operationId).
func (*Client) GetBrowserSessionProxyBrowsersSessionIdProxyGet ¶ added in v0.1.5
func (c *Client) GetBrowserSessionProxyBrowsersSessionIdProxyGet(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetBrowserSessionProxyBrowsersSessionIdProxyGet Get Browser Proxy
Corresponds with GET /browsers/{session_id}/proxy (the `GetBrowserSessionProxyBrowsersSessionIdProxyGet` operationId).
func (*Client) GetConnectionStatusIntegrationsProviderStatusGet ¶
func (c *Client) GetConnectionStatusIntegrationsProviderStatusGet(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetConnectionStatusIntegrationsProviderStatusGet Get Connection Status
Check whether this project has connected a specific provider.
Poll this after opening the authorize URL to learn when OAuth completed.
Corresponds with GET /integrations/{provider}/status (the `GetConnectionStatusIntegrationsProviderStatusGet` operationId).
func (*Client) GetExtensionExtensionsExtensionIdGet ¶
func (c *Client) GetExtensionExtensionsExtensionIdGet(ctx context.Context, extensionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetExtensionExtensionsExtensionIdGet Get Extension
Get an uploaded extension by its ID.
Corresponds with GET /extensions/{extension_id} (the `GetExtensionExtensionsExtensionIdGet` operationId).
func (*Client) GetNetworkPolicyNetworkPoliciesPolicyIdGet ¶ added in v0.2.0
func (c *Client) GetNetworkPolicyNetworkPoliciesPolicyIdGet(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetNetworkPolicyNetworkPoliciesPolicyIdGet Get Network Policy
Get a network policy.
Corresponds with GET /network-policies/{policy_id} (the `GetNetworkPolicyNetworkPoliciesPolicyIdGet` operationId).
func (*Client) GetProfileProfilesProfileIdGet ¶
func (c *Client) GetProfileProfilesProfileIdGet(ctx context.Context, profileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetProfileProfilesProfileIdGet Get Profile
Get profile details.
Corresponds with GET /profiles/{profile_id} (the `GetProfileProfilesProfileIdGet` operationId).
func (*Client) GetRunEventsRunsRunIdEventsGet ¶
func (c *Client) GetRunEventsRunsRunIdEventsGet(ctx context.Context, runId openapi_types.UUID, params *GetRunEventsRunsRunIdEventsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRunEventsRunsRunIdEventsGet Get Run Events
Paginated event read. `after` is the event id cursor — clients doing periodic polls pass back the highest id they've seen to get only the delta. Default 0 returns from the start.
Corresponds with GET /runs/{run_id}/events (the `GetRunEventsRunsRunIdEventsGet` operationId).
func (*Client) GetRunRunsRunIdGet ¶
func (c *Client) GetRunRunsRunIdGet(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRunRunsRunIdGet Get Run
Corresponds with GET /runs/{run_id} (the `GetRunRunsRunIdGet` operationId).
func (*Client) GetRunStatusRunsRunIdStatusGet ¶
func (c *Client) GetRunStatusRunsRunIdStatusGet(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetRunStatusRunsRunIdStatusGet Get Run Status
Minimal status poll (see RunStatusResponse). POLL rate bucket: selects ONLY the status/project columns — a 2s poll never drags the task/result text (TOAST reads) that GET /runs/{id} pays. Poll until terminal, then fetch the full summary once.
Corresponds with GET /runs/{run_id}/status (the `GetRunStatusRunsRunIdStatusGet` operationId).
func (*Client) GetSessionCostCapSessionsSessionIdCostCapGet ¶ added in v0.2.0
func (c *Client) GetSessionCostCapSessionsSessionIdCostCapGet(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSessionCostCapSessionsSessionIdCostCapGet Get Session Cost Cap
Read committed budget spending from the primary database.
Corresponds with GET /sessions/{session_id}/cost-cap (the `GetSessionCostCapSessionsSessionIdCostCapGet` operationId).
func (*Client) GetSessionCostSessionsSessionIdCostGet ¶
func (c *Client) GetSessionCostSessionsSessionIdCostGet(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSessionCostSessionsSessionIdCostGet Get Session Cost
Everything this session has cost so far, split by source.
A run's `total_cost_usd` is its LLM (and web-search) charge only. Browser time and proxy bandwidth are metered against the session's browser, which outlives any one run — so this is the endpoint for the session's full cost.
These are recorded usage costs, not an invoice total: promotional waivers and credits are applied downstream in billing, so a session run under a promotion can report cost here that was never charged.
Costs keep moving after a run reports `finished`: LLM calls settle up to about 90 seconds later, and the browser accrues time and proxy traffic until it stops.
Corresponds with GET /sessions/{session_id}/cost (the `GetSessionCostSessionsSessionIdCostGet` operationId).
func (*Client) GetSessionQueueMessageSessionsSessionIdQueueMessageIdGet ¶
func (c *Client) GetSessionQueueMessageSessionsSessionIdQueueMessageIdGet(ctx context.Context, sessionId openapi_types.UUID, messageId int, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSessionQueueMessageSessionsSessionIdQueueMessageIdGet Get Session Queue Message
Read one queued message including terminal handoff states.
Corresponds with GET /sessions/{session_id}/queue/{message_id} (the `GetSessionQueueMessageSessionsSessionIdQueueMessageIdGet` operationId).
func (*Client) GetSessionSessionsSessionIdGet ¶
func (c *Client) GetSessionSessionsSessionIdGet(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSessionSessionsSessionIdGet Get Session
Session detail — the same slim shape as one GET /sessions row (its latest run). Doubles as the busy/idle poll for a conversation (POLL rate bucket): slim columns only, indexed public_session_id lookup, never the heavy result/token fields.
Corresponds with GET /sessions/{session_id} (the `GetSessionSessionsSessionIdGet` operationId).
func (*Client) GetSessionShareSessionsSessionIdShareGet ¶
func (c *Client) GetSessionShareSessionsSessionIdShareGet(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSessionShareSessionsSessionIdShareGet Get Session Share
The session's share link (active or not); null if never shared.
Corresponds with GET /sessions/{session_id}/share (the `GetSessionShareSessionsSessionIdShareGet` operationId).
func (*Client) GetStripeLinkStatusStripeLinkGet ¶
func (c *Client) GetStripeLinkStatusStripeLinkGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
GetStripeLinkStatusStripeLinkGet Get Stripe Link Status
The project's active Stripe Link wallet connection, if any.
Read-only: connecting happens in the cloud UI. A run opts into paying with it by passing `connection_id` as RunCreateRequest.stripe_link_connection_id, which is validated again there against this same project.
Corresponds with GET /stripe-link (the `GetStripeLinkStatusStripeLinkGet` operationId).
func (*Client) GetWorkspaceSizeWorkspacesWorkspaceIdSizeGet ¶
func (c *Client) GetWorkspaceSizeWorkspacesWorkspaceIdSizeGet(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWorkspaceSizeWorkspacesWorkspaceIdSizeGet Get Workspace Size
Return current storage usage and the plan-specific workspace quota.
Corresponds with GET /workspaces/{workspace_id}/size (the `GetWorkspaceSizeWorkspacesWorkspaceIdSizeGet` operationId).
func (*Client) GetWorkspaceWorkspacesWorkspaceIdGet ¶
func (c *Client) GetWorkspaceWorkspacesWorkspaceIdGet(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
GetWorkspaceWorkspacesWorkspaceIdGet Get Workspace
Corresponds with GET /workspaces/{workspace_id} (the `GetWorkspaceWorkspacesWorkspaceIdGet` operationId).
func (*Client) ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGet ¶
func (c *Client) ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGet(ctx context.Context, sessionId openapi_types.UUID, params *ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGet List Browser Session Downloads
List files the browser downloaded to S3 during the session.
Pass “includeUrls=true“ to receive presigned download URLs (15 min expiry) inline. Files are stored at “downloads/projects/{project_id}/sessions/{session_id}/“ in the private bucket.
Corresponds with GET /browsers/{session_id}/downloads (the `ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGet` operationId).
func (*Client) ListBrowserSessionsBrowsersGet ¶
func (c *Client) ListBrowserSessionsBrowsersGet(ctx context.Context, params *ListBrowserSessionsBrowsersGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListBrowserSessionsBrowsersGet List Browser Sessions
Get paginated list of browser sessions with optional status filtering.
List responses intentionally omit per-session presigned recording URLs (`recording_url` is always `null` here). Each recording URL requires a synchronous boto3 SigV4 signing call (plus an S3 HEAD) that holds the GIL and blocks the event loop. With page_size up to the max this CPU-pegs the worker and starves the DB pool, cascading into pool exhaustion across the fleet. Clients should fetch the recording URL on demand via `GET /browsers/{session_id}`, which signs exactly one URL for a single session. Mirrors the v3 sessions list fix (ENG-4904, PR #4621).
Corresponds with GET /browsers (the `ListBrowserSessionsBrowsersGet` operationId).
func (*Client) ListCategoriesIntegrationsCategoriesGet ¶
func (c *Client) ListCategoriesIntegrationsCategoriesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
ListCategoriesIntegrationsCategoriesGet List Categories
Get all integration categories, for filtering the list above.
Corresponds with GET /integrations/categories (the `ListCategoriesIntegrationsCategoriesGet` operationId).
func (*Client) ListExtensionsExtensionsGet ¶
func (c *Client) ListExtensionsExtensionsGet(ctx context.Context, params *ListExtensionsExtensionsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListExtensionsExtensionsGet List Extensions
List the extensions uploaded to this project.
Corresponds with GET /extensions (the `ListExtensionsExtensionsGet` operationId).
func (*Client) ListIntegrationsIntegrationsGet ¶
func (c *Client) ListIntegrationsIntegrationsGet(ctx context.Context, params *ListIntegrationsIntegrationsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListIntegrationsIntegrationsGet List Integrations
List available integrations with this project's connection status.
`is_connected` is resolved per integration, so a client can render the whole catalogue and the connected subset from this one call. `connected_only` is what a "my integrations" view reads — including on a restricted project, which cannot connect anything but can still remove what it already has.
Corresponds with GET /integrations (the `ListIntegrationsIntegrationsGet` operationId).
func (*Client) ListNetworkPoliciesNetworkPoliciesGet ¶ added in v0.2.0
func (c *Client) ListNetworkPoliciesNetworkPoliciesGet(ctx context.Context, params *ListNetworkPoliciesNetworkPoliciesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListNetworkPoliciesNetworkPoliciesGet List Network Policies
Get a paginated list of the project's network policies, newest first.
Corresponds with GET /network-policies (the `ListNetworkPoliciesNetworkPoliciesGet` operationId).
func (*Client) ListProfilesProfilesGet ¶
func (c *Client) ListProfilesProfilesGet(ctx context.Context, params *ListProfilesProfilesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListProfilesProfilesGet List Profiles
Get paginated list of profiles.
Use the `query` parameter to search profiles by name or user_id. This is useful when you have many profiles and need to find a specific user.
Example: If you set `user_id` to your internal user identifier when creating profiles, you can later search for that user by passing their identifier as the `query` parameter.
Corresponds with GET /profiles (the `ListProfilesProfilesGet` operationId).
func (*Client) ListRunAttachmentsRunsRunIdAttachmentsGet ¶
func (c *Client) ListRunAttachmentsRunsRunIdAttachmentsGet(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListRunAttachmentsRunsRunIdAttachmentsGet List Run Attachments
The upload files attached to a run, for rendering attachment chips. Ordered to match the run's attached_file_ids.
Corresponds with GET /runs/{run_id}/attachments (the `ListRunAttachmentsRunsRunIdAttachmentsGet` operationId).
func (*Client) ListRunsRunsGet ¶
func (c *Client) ListRunsRunsGet(ctx context.Context, params *ListRunsRunsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListRunsRunsGet List Runs
Corresponds with GET /runs (the `ListRunsRunsGet` operationId).
func (*Client) ListSessionQueueSessionsSessionIdQueueGet ¶
func (c *Client) ListSessionQueueSessionsSessionIdQueueGet(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSessionQueueSessionsSessionIdQueueGet List Session Queue
List open messages, recently delivered queued messages, and steering cutoffs.
Includes live dispatch claims so clients can restore an accepted queued message after a refresh without briefly losing its waiting state.
Consumed QUEUE rows are returned too, capped at the most recent _DELIVERED_QUEUE_HISTORY, plus up to _AGENCY_DELIVERED_QUEUE_HISTORY compact Agency choice and generation receipts so inbox state survives refresh. A message absorbed mid-run is announced by a `queued_input_injected` event carrying only its input id, so the chat has no other source for the text to render. The cap bounds this response because clients poll it while a run is active; a session with more delivered follow-ups than the cap renders its oldest injected bubbles without text.
The latest consumed interrupt bridges the primary-write/read-replica gap before its replacement run appears; clients discard it once that run is visible. Compact per-source cutoffs preserve every historical interrupted transcript boundary without returning every historical steering message and its attachments.
Corresponds with GET /sessions/{session_id}/queue (the `ListSessionQueueSessionsSessionIdQueueGet` operationId).
func (*Client) ListSessionsSessionsGet ¶
func (c *Client) ListSessionsSessionsGet(ctx context.Context, params *ListSessionsSessionsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListSessionsSessionsGet List Sessions
List the project's V4 sessions — one row per session (its most recent run), most-recent first.
A session is a conversation: follow-up runs reuse the same public_session_id, so GET /api/v4/runs would list one row per RUN. This collapses to one row per SESSION directly in Postgres with DISTINCT ON, so a chatty session with 100 runs is still a single row (no scan amplification), and selects only the slim columns the session list needs — never the heavy per-run text/token/cost fields.
Keyset-paginated on the latest run's (created_at, id): pass `next_cursor` back as `cursor` to page. Offset/COUNT was dropped — it doesn't scale on projects with many sessions.
Corresponds with GET /sessions (the `ListSessionsSessionsGet` operationId).
func (*Client) ListWorkspaceFilesWorkspacesWorkspaceIdFilesGet ¶
func (c *Client) ListWorkspaceFilesWorkspacesWorkspaceIdFilesGet(ctx context.Context, workspaceId openapi_types.UUID, params *ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListWorkspaceFilesWorkspacesWorkspaceIdFilesGet List Workspace Files
List files the agent has produced for this workspace, paginated.
Corresponds with GET /workspaces/{workspace_id}/files (the `ListWorkspaceFilesWorkspacesWorkspaceIdFilesGet` operationId).
func (*Client) PurgeSessionSessionsSessionIdPurgePost ¶
func (c *Client) PurgeSessionSessionsSessionIdPurgePost(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
PurgeSessionSessionsSessionIdPurgePost Purge Session
Purge V4 session data; return 202 while active work or uploads defer deletion.
Redacts DB records and deletes S3 objects (bcode state, workspace files, recordings, downloads, staging uploads) for every run in the session. Same cleanup the ZDR cron performs, but on-demand; outstanding upload grants defer physical deletion. V4 analog of the V2 POST /sessions/{id}/purge. Surfaces shared with a still-live sibling run are deferred by the same guards the cron uses.
Corresponds with POST /sessions/{session_id}/purge (the `PurgeSessionSessionsSessionIdPurgePost` operationId).
func (*Client) QueueSessionMessageSessionsSessionIdQueuePost ¶
func (c *Client) QueueSessionMessageSessionsSessionIdQueuePost(ctx context.Context, sessionId openapi_types.UUID, params *QueueSessionMessageSessionsSessionIdQueuePostParams, body QueueSessionMessageSessionsSessionIdQueuePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
QueueSessionMessageSessionsSessionIdQueuePost Queue Session Message
Send a message to a session. If the session is busy it waits on the queue and runs as the next turn; if idle it drains immediately.
`interrupt=true` cancels the session's active run so this message takes effect now instead of waiting for the current turn (no-op when the session is idle).
Takes a body of the `application/json` content type.
Corresponds with POST /sessions/{session_id}/queue (the `QueueSessionMessageSessionsSessionIdQueuePost` operationId).
func (*Client) QueueSessionMessageSessionsSessionIdQueuePostWithBody ¶
func (c *Client) QueueSessionMessageSessionsSessionIdQueuePostWithBody(ctx context.Context, sessionId openapi_types.UUID, params *QueueSessionMessageSessionsSessionIdQueuePostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
QueueSessionMessageSessionsSessionIdQueuePostWithBody Queue Session Message
Send a message to a session. If the session is busy it waits on the queue and runs as the next turn; if idle it drains immediately.
`interrupt=true` cancels the session's active run so this message takes effect now instead of waiting for the current turn (no-op when the session is idle).
Takes any type of body and a specified content type.
Corresponds with POST /sessions/{session_id}/queue (the `QueueSessionMessageSessionsSessionIdQueuePost` operationId).
func (*Client) UpdateBrowserSessionBrowsersSessionIdPatch ¶
func (c *Client) UpdateBrowserSessionBrowsersSessionIdPatch(ctx context.Context, sessionId openapi_types.UUID, body UpdateBrowserSessionBrowsersSessionIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateBrowserSessionBrowsersSessionIdPatch Update Browser Session
Stop a browser session.
**Refund:** When you stop a session, unused time is automatically refunded. If the session ran for less than 1 hour, you'll receive a proportional refund. Billing is ceil to the nearest minute (minimum 1 minute).
Takes a body of the `application/json` content type.
Corresponds with PATCH /browsers/{session_id} (the `UpdateBrowserSessionBrowsersSessionIdPatch` operationId).
func (*Client) UpdateBrowserSessionBrowsersSessionIdPatchWithBody ¶
func (c *Client) UpdateBrowserSessionBrowsersSessionIdPatchWithBody(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateBrowserSessionBrowsersSessionIdPatchWithBody Update Browser Session
Stop a browser session.
**Refund:** When you stop a session, unused time is automatically refunded. If the session ran for less than 1 hour, you'll receive a proportional refund. Billing is ceil to the nearest minute (minimum 1 minute).
Takes any type of body and a specified content type.
Corresponds with PATCH /browsers/{session_id} (the `UpdateBrowserSessionBrowsersSessionIdPatch` operationId).
func (*Client) UpdateBrowserSessionProxyBrowsersSessionIdProxyPatch ¶ added in v0.1.5
func (c *Client) UpdateBrowserSessionProxyBrowsersSessionIdProxyPatch(ctx context.Context, sessionId openapi_types.UUID, body UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateBrowserSessionProxyBrowsersSessionIdProxyPatch Update Browser Proxy
Takes a body of the `application/json` content type.
Corresponds with PATCH /browsers/{session_id}/proxy (the `UpdateBrowserSessionProxyBrowsersSessionIdProxyPatch` operationId).
func (*Client) UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithBody ¶ added in v0.1.5
func (c *Client) UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithBody(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithBody Update Browser Proxy
Takes any type of body and a specified content type.
Corresponds with PATCH /browsers/{session_id}/proxy (the `UpdateBrowserSessionProxyBrowsersSessionIdProxyPatch` operationId).
func (*Client) UpdateNetworkPolicyNetworkPoliciesPolicyIdPatch ¶ added in v0.2.0
func (c *Client) UpdateNetworkPolicyNetworkPoliciesPolicyIdPatch(ctx context.Context, policyId openapi_types.UUID, body UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateNetworkPolicyNetworkPoliciesPolicyIdPatch Update Network Policy
Replace each field that the request contains; a domain list replaces the whole list. Each update increases version by 1, and running browsers pick up the change within seconds.
Takes a body of the `application/json` content type.
Corresponds with PATCH /network-policies/{policy_id} (the `UpdateNetworkPolicyNetworkPoliciesPolicyIdPatch` operationId).
func (*Client) UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithBody ¶ added in v0.2.0
func (c *Client) UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithBody(ctx context.Context, policyId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithBody Update Network Policy
Replace each field that the request contains; a domain list replaces the whole list. Each update increases version by 1, and running browsers pick up the change within seconds.
Takes any type of body and a specified content type.
Corresponds with PATCH /network-policies/{policy_id} (the `UpdateNetworkPolicyNetworkPoliciesPolicyIdPatch` operationId).
func (*Client) UpdateProfileProfilesProfileIdPatch ¶
func (c *Client) UpdateProfileProfilesProfileIdPatch(ctx context.Context, profileId openapi_types.UUID, body UpdateProfileProfilesProfileIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateProfileProfilesProfileIdPatch Update Profile
Update a browser profile's information.
Takes a body of the `application/json` content type.
Corresponds with PATCH /profiles/{profile_id} (the `UpdateProfileProfilesProfileIdPatch` operationId).
func (*Client) UpdateProfileProfilesProfileIdPatchWithBody ¶
func (c *Client) UpdateProfileProfilesProfileIdPatchWithBody(ctx context.Context, profileId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateProfileProfilesProfileIdPatchWithBody Update Profile
Update a browser profile's information.
Takes any type of body and a specified content type.
Corresponds with PATCH /profiles/{profile_id} (the `UpdateProfileProfilesProfileIdPatch` operationId).
func (*Client) UpdateSessionCostCapSessionsSessionIdCostCapPatch ¶
func (c *Client) UpdateSessionCostCapSessionsSessionIdCostCapPatch(ctx context.Context, sessionId openapi_types.UUID, body UpdateSessionCostCapSessionsSessionIdCostCapPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSessionCostCapSessionsSessionIdCostCapPatch Update Session Cost Cap
Replace the session budget without resetting spending or starting a run.
Takes a body of the `application/json` content type.
Corresponds with PATCH /sessions/{session_id}/cost-cap (the `UpdateSessionCostCapSessionsSessionIdCostCapPatch` operationId).
func (*Client) UpdateSessionCostCapSessionsSessionIdCostCapPatchWithBody ¶
func (c *Client) UpdateSessionCostCapSessionsSessionIdCostCapPatchWithBody(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSessionCostCapSessionsSessionIdCostCapPatchWithBody Update Session Cost Cap
Replace the session budget without resetting spending or starting a run.
Takes any type of body and a specified content type.
Corresponds with PATCH /sessions/{session_id}/cost-cap (the `UpdateSessionCostCapSessionsSessionIdCostCapPatch` operationId).
func (*Client) UpdateSessionSessionsSessionIdPatch ¶
func (c *Client) UpdateSessionSessionsSessionIdPatch(ctx context.Context, sessionId openapi_types.UUID, body UpdateSessionSessionsSessionIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSessionSessionsSessionIdPatch Update Session
Rename a session.
`session_title` is denormalized onto every run in the session (the session list reads the latest run), so a rename writes them all in one UPDATE. Null clears the name and the UI falls back to the opening task — it does NOT re-run title generation, which only fills rows where the title IS NULL and so would silently overwrite the clear.
Takes a body of the `application/json` content type.
Corresponds with PATCH /sessions/{session_id} (the `UpdateSessionSessionsSessionIdPatch` operationId).
func (*Client) UpdateSessionSessionsSessionIdPatchWithBody ¶
func (c *Client) UpdateSessionSessionsSessionIdPatchWithBody(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSessionSessionsSessionIdPatchWithBody Update Session
Rename a session.
`session_title` is denormalized onto every run in the session (the session list reads the latest run), so a rename writes them all in one UPDATE. Null clears the name and the UI falls back to the opening task — it does NOT re-run title generation, which only fills rows where the title IS NULL and so would silently overwrite the clear.
Takes any type of body and a specified content type.
Corresponds with PATCH /sessions/{session_id} (the `UpdateSessionSessionsSessionIdPatch` operationId).
func (*Client) UpdateSessionShareSessionsSessionIdSharePut ¶
func (c *Client) UpdateSessionShareSessionsSessionIdSharePut(ctx context.Context, sessionId openapi_types.UUID, body UpdateSessionShareSessionsSessionIdSharePutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSessionShareSessionsSessionIdSharePut Update Session Share
Toggle the session's share link on/off.
Takes a body of the `application/json` content type.
Corresponds with PUT /sessions/{session_id}/share (the `UpdateSessionShareSessionsSessionIdSharePut` operationId).
func (*Client) UpdateSessionShareSessionsSessionIdSharePutWithBody ¶
func (c *Client) UpdateSessionShareSessionsSessionIdSharePutWithBody(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSessionShareSessionsSessionIdSharePutWithBody Update Session Share
Toggle the session's share link on/off.
Takes any type of body and a specified content type.
Corresponds with PUT /sessions/{session_id}/share (the `UpdateSessionShareSessionsSessionIdSharePut` operationId).
func (*Client) UpdateWorkspaceWorkspacesWorkspaceIdPatch ¶
func (c *Client) UpdateWorkspaceWorkspacesWorkspaceIdPatch(ctx context.Context, workspaceId openapi_types.UUID, body UpdateWorkspaceWorkspacesWorkspaceIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWorkspaceWorkspacesWorkspaceIdPatch Update Workspace
Rename a workspace. Explicit null clears the name; omission is a no-op.
Takes a body of the `application/json` content type.
Corresponds with PATCH /workspaces/{workspace_id} (the `UpdateWorkspaceWorkspacesWorkspaceIdPatch` operationId).
func (*Client) UpdateWorkspaceWorkspacesWorkspaceIdPatchWithBody ¶
func (c *Client) UpdateWorkspaceWorkspacesWorkspaceIdPatchWithBody(ctx context.Context, workspaceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWorkspaceWorkspacesWorkspaceIdPatchWithBody Update Workspace
Rename a workspace. Explicit null clears the name; omission is a no-op.
Takes any type of body and a specified content type.
Corresponds with PATCH /workspaces/{workspace_id} (the `UpdateWorkspaceWorkspacesWorkspaceIdPatch` operationId).
func (*Client) UploadExtensionExtensionsPostWithBody ¶
func (c *Client) UploadExtensionExtensionsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UploadExtensionExtensionsPostWithBody Upload Extension
Upload a Manifest V3 extension as a ZIP file with manifest.json at its root.
Takes any type of body and a specified content type.
Corresponds with POST /extensions (the `UploadExtensionExtensionsPost` operationId).
func (*Client) UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPost ¶
func (c *Client) UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPost(ctx context.Context, workspaceId openapi_types.UUID, body UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPost Upload Workspace Files
Presigned PUT URLs for input files, placed under “uploads/“ in the workspace. The agent pulls them in at the start of every run. URLs are pinned to the declared Content-Type and exact Content-Length.
Takes a body of the `application/json` content type.
Corresponds with POST /workspaces/{workspace_id}/files/upload (the `UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPost` operationId).
func (*Client) UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithBody ¶
func (c *Client) UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithBody(ctx context.Context, workspaceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithBody Upload Workspace Files
Presigned PUT URLs for input files, placed under “uploads/“ in the workspace. The agent pulls them in at the start of every run. URLs are pinned to the declared Content-Type and exact Content-Length.
Takes any type of body and a specified content type.
Corresponds with POST /workspaces/{workspace_id}/files/upload (the `UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPost` operationId).
type ClientInterface ¶
type ClientInterface interface {
// ListBrowserSessionsBrowsersGet List Browser Sessions
//
// Get paginated list of browser sessions with optional status filtering.
//
// List responses intentionally omit per-session presigned recording URLs
// (`recording_url` is always `null` here). Each recording URL requires a
// synchronous boto3 SigV4 signing call (plus an S3 HEAD) that holds the GIL
// and blocks the event loop. With page_size up to the max this CPU-pegs the
// worker and starves the DB pool, cascading into pool exhaustion across the
// fleet. Clients should fetch the recording URL on demand via
// `GET /browsers/{session_id}`, which signs exactly one URL for a single
// session. Mirrors the v3 sessions list fix (ENG-4904, PR #4621).
//
// Corresponds with GET /browsers (the `ListBrowserSessionsBrowsersGet` operationId).
ListBrowserSessionsBrowsersGet(ctx context.Context, params *ListBrowserSessionsBrowsersGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBrowserSessionBrowsersPostWithBody Create Browser Session
//
// Create a new browser session.
//
// **Pricing:** Browser sessions are charged per browser-hour at your account rate, shown on your billing page.
//
// The full rate is charged upfront when the session starts.
// When you stop the session, any unused time is automatically refunded proportionally.
//
// Billing is rounded up to the minute (minimum 1 minute).
// For example, if you stop a session after 30 minutes, you'll be refunded half the charged amount.
//
// **Session Limits:**
// - All users: Up to 4 hours per session
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /browsers (the `CreateBrowserSessionBrowsersPost` operationId).
CreateBrowserSessionBrowsersPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBrowserSessionBrowsersPost Create Browser Session
//
// Create a new browser session.
//
// **Pricing:** Browser sessions are charged per browser-hour at your account rate, shown on your billing page.
//
// The full rate is charged upfront when the session starts.
// When you stop the session, any unused time is automatically refunded proportionally.
//
// Billing is rounded up to the minute (minimum 1 minute).
// For example, if you stop a session after 30 minutes, you'll be refunded half the charged amount.
//
// **Session Limits:**
// - All users: Up to 4 hours per session
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /browsers (the `CreateBrowserSessionBrowsersPost` operationId).
CreateBrowserSessionBrowsersPost(ctx context.Context, body CreateBrowserSessionBrowsersPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBrowserSessionBrowsersSessionIdGet Get Browser Session
//
// Get detailed browser session information including status and URLs.
//
// Corresponds with GET /browsers/{session_id} (the `GetBrowserSessionBrowsersSessionIdGet` operationId).
GetBrowserSessionBrowsersSessionIdGet(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateBrowserSessionBrowsersSessionIdPatchWithBody Update Browser Session
//
// Stop a browser session.
//
// **Refund:** When you stop a session, unused time is automatically refunded.
// If the session ran for less than 1 hour, you'll receive a proportional refund.
// Billing is ceil to the nearest minute (minimum 1 minute).
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /browsers/{session_id} (the `UpdateBrowserSessionBrowsersSessionIdPatch` operationId).
UpdateBrowserSessionBrowsersSessionIdPatchWithBody(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateBrowserSessionBrowsersSessionIdPatch Update Browser Session
//
// Stop a browser session.
//
// **Refund:** When you stop a session, unused time is automatically refunded.
// If the session ran for less than 1 hour, you'll receive a proportional refund.
// Billing is ceil to the nearest minute (minimum 1 minute).
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /browsers/{session_id} (the `UpdateBrowserSessionBrowsersSessionIdPatch` operationId).
UpdateBrowserSessionBrowsersSessionIdPatch(ctx context.Context, sessionId openapi_types.UUID, body UpdateBrowserSessionBrowsersSessionIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGet List Browser Session Downloads
//
// List files the browser downloaded to S3 during the session.
//
// Pass “includeUrls=true“ to receive presigned download URLs (15 min expiry) inline.
// Files are stored at “downloads/projects/{project_id}/sessions/{session_id}/“ in
// the private bucket.
//
// Corresponds with GET /browsers/{session_id}/downloads (the `ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGet` operationId).
ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGet(ctx context.Context, sessionId openapi_types.UUID, params *ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBrowserSessionProxyBrowsersSessionIdProxyGet Get Browser Proxy
//
// Corresponds with GET /browsers/{session_id}/proxy (the `GetBrowserSessionProxyBrowsersSessionIdProxyGet` operationId).
GetBrowserSessionProxyBrowsersSessionIdProxyGet(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithBody Update Browser Proxy
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /browsers/{session_id}/proxy (the `UpdateBrowserSessionProxyBrowsersSessionIdProxyPatch` operationId).
UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithBody(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateBrowserSessionProxyBrowsersSessionIdProxyPatch Update Browser Proxy
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /browsers/{session_id}/proxy (the `UpdateBrowserSessionProxyBrowsersSessionIdProxyPatch` operationId).
UpdateBrowserSessionProxyBrowsersSessionIdProxyPatch(ctx context.Context, sessionId openapi_types.UUID, body UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListExtensionsExtensionsGet List Extensions
//
// List the extensions uploaded to this project.
//
// Corresponds with GET /extensions (the `ListExtensionsExtensionsGet` operationId).
ListExtensionsExtensionsGet(ctx context.Context, params *ListExtensionsExtensionsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadExtensionExtensionsPostWithBody Upload Extension
//
// Upload a Manifest V3 extension as a ZIP file with manifest.json at its root.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /extensions (the `UploadExtensionExtensionsPost` operationId).
UploadExtensionExtensionsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteExtensionExtensionsExtensionIdDelete Delete Extension
//
// Permanently delete an extension without affecting running browsers.
//
// Corresponds with DELETE /extensions/{extension_id} (the `DeleteExtensionExtensionsExtensionIdDelete` operationId).
DeleteExtensionExtensionsExtensionIdDelete(ctx context.Context, extensionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetExtensionExtensionsExtensionIdGet Get Extension
//
// Get an uploaded extension by its ID.
//
// Corresponds with GET /extensions/{extension_id} (the `GetExtensionExtensionsExtensionIdGet` operationId).
GetExtensionExtensionsExtensionIdGet(ctx context.Context, extensionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListIntegrationsIntegrationsGet List Integrations
//
// List available integrations with this project's connection status.
//
// `is_connected` is resolved per integration, so a client can render the whole
// catalogue and the connected subset from this one call. `connected_only` is
// what a "my integrations" view reads — including on a restricted project,
// which cannot connect anything but can still remove what it already has.
//
// Corresponds with GET /integrations (the `ListIntegrationsIntegrationsGet` operationId).
ListIntegrationsIntegrationsGet(ctx context.Context, params *ListIntegrationsIntegrationsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCategoriesIntegrationsCategoriesGet List Categories
//
// Get all integration categories, for filtering the list above.
//
// Corresponds with GET /integrations/categories (the `ListCategoriesIntegrationsCategoriesGet` operationId).
ListCategoriesIntegrationsCategoriesGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DisconnectIntegrationIntegrationsProviderDelete Disconnect Integration
//
// Disconnect an integration for this project.
//
// Deliberately NOT gated like `authorize` above: a restricted project must
// still be able to tear down a connection it already has.
//
// Corresponds with DELETE /integrations/{provider} (the `DisconnectIntegrationIntegrationsProviderDelete` operationId).
DisconnectIntegrationIntegrationsProviderDelete(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AuthorizeIntegrationIntegrationsProviderAuthorizePost Authorize Integration
//
// Get the OAuth redirect URL for connecting an integration.
//
// The client opens the returned URL in a web auth session and polls
// `/integrations/{provider}/status` once the flow lands back on the callback
// path. The URL is Composio-hosted; no redirect URI is registered per client.
//
// Corresponds with POST /integrations/{provider}/authorize (the `AuthorizeIntegrationIntegrationsProviderAuthorizePost` operationId).
AuthorizeIntegrationIntegrationsProviderAuthorizePost(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetConnectionStatusIntegrationsProviderStatusGet Get Connection Status
//
// Check whether this project has connected a specific provider.
//
// Poll this after opening the authorize URL to learn when OAuth completed.
//
// Corresponds with GET /integrations/{provider}/status (the `GetConnectionStatusIntegrationsProviderStatusGet` operationId).
GetConnectionStatusIntegrationsProviderStatusGet(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListNetworkPoliciesNetworkPoliciesGet List Network Policies
//
// Get a paginated list of the project's network policies, newest first.
//
// Corresponds with GET /network-policies (the `ListNetworkPoliciesNetworkPoliciesGet` operationId).
ListNetworkPoliciesNetworkPoliciesGet(ctx context.Context, params *ListNetworkPoliciesNetworkPoliciesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateNetworkPolicyNetworkPoliciesPostWithBody Create Network Policy
//
// Create a network policy that allows or blocks domains for the browsers that reference it with networkPolicyId.
//
// A domain such as `example.com` matches the domain and all of its subdomains, and the most specific entry wins. Domains are trimmed, lower-cased and converted to punycode, a trailing dot and a leading `*.` are removed, and duplicates are dropped. URLs, paths, ports, IP addresses, other wildcards and a domain in both lists are rejected. A policy has at most 10,000 domains, and a project has at most 100 policies.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /network-policies (the `CreateNetworkPolicyNetworkPoliciesPost` operationId).
CreateNetworkPolicyNetworkPoliciesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateNetworkPolicyNetworkPoliciesPost Create Network Policy
//
// Create a network policy that allows or blocks domains for the browsers that reference it with networkPolicyId.
//
// A domain such as `example.com` matches the domain and all of its subdomains, and the most specific entry wins. Domains are trimmed, lower-cased and converted to punycode, a trailing dot and a leading `*.` are removed, and duplicates are dropped. URLs, paths, ports, IP addresses, other wildcards and a domain in both lists are rejected. A policy has at most 10,000 domains, and a project has at most 100 policies.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /network-policies (the `CreateNetworkPolicyNetworkPoliciesPost` operationId).
CreateNetworkPolicyNetworkPoliciesPost(ctx context.Context, body CreateNetworkPolicyNetworkPoliciesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteNetworkPolicyNetworkPoliciesPolicyIdDelete Delete Network Policy
//
// Delete a network policy. Browsers that use it continue without a customer network policy.
//
// Corresponds with DELETE /network-policies/{policy_id} (the `DeleteNetworkPolicyNetworkPoliciesPolicyIdDelete` operationId).
DeleteNetworkPolicyNetworkPoliciesPolicyIdDelete(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNetworkPolicyNetworkPoliciesPolicyIdGet Get Network Policy
//
// Get a network policy.
//
// Corresponds with GET /network-policies/{policy_id} (the `GetNetworkPolicyNetworkPoliciesPolicyIdGet` operationId).
GetNetworkPolicyNetworkPoliciesPolicyIdGet(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithBody Update Network Policy
//
// Replace each field that the request contains; a domain list replaces the whole list. Each update increases version by 1, and running browsers pick up the change within seconds.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /network-policies/{policy_id} (the `UpdateNetworkPolicyNetworkPoliciesPolicyIdPatch` operationId).
UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithBody(ctx context.Context, policyId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateNetworkPolicyNetworkPoliciesPolicyIdPatch Update Network Policy
//
// Replace each field that the request contains; a domain list replaces the whole list. Each update increases version by 1, and running browsers pick up the change within seconds.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /network-policies/{policy_id} (the `UpdateNetworkPolicyNetworkPoliciesPolicyIdPatch` operationId).
UpdateNetworkPolicyNetworkPoliciesPolicyIdPatch(ctx context.Context, policyId openapi_types.UUID, body UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProfilesProfilesGet List Profiles
//
// Get paginated list of profiles.
//
// Use the `query` parameter to search profiles by name or user_id.
// This is useful when you have many profiles and need to find a specific user.
//
// Example: If you set `user_id` to your internal user identifier when creating profiles,
// you can later search for that user by passing their identifier as the `query` parameter.
//
// Corresponds with GET /profiles (the `ListProfilesProfilesGet` operationId).
ListProfilesProfilesGet(ctx context.Context, params *ListProfilesProfilesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProfileProfilesPostWithBody Create Profile
//
// Profiles allow you to preserve the state of the browser between tasks.
//
// They are most commonly used to allow users to preserve the log-in state in the agent between tasks.
// You'd normally create one profile per user and then use it for all their tasks.
//
// You can set a `user_id` when creating a profile to associate it with a user in your system.
// This allows you to later search for the profile using the GET /profiles endpoint with a query parameter.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /profiles (the `CreateProfileProfilesPost` operationId).
CreateProfileProfilesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProfileProfilesPost Create Profile
//
// Profiles allow you to preserve the state of the browser between tasks.
//
// They are most commonly used to allow users to preserve the log-in state in the agent between tasks.
// You'd normally create one profile per user and then use it for all their tasks.
//
// You can set a `user_id` when creating a profile to associate it with a user in your system.
// This allows you to later search for the profile using the GET /profiles endpoint with a query parameter.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /profiles (the `CreateProfileProfilesPost` operationId).
CreateProfileProfilesPost(ctx context.Context, body CreateProfileProfilesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteBrowserProfileProfilesProfileIdDelete Delete Browser Profile
//
// Permanently delete a browser profile and its configuration.
//
// Corresponds with DELETE /profiles/{profile_id} (the `DeleteBrowserProfileProfilesProfileIdDelete` operationId).
DeleteBrowserProfileProfilesProfileIdDelete(ctx context.Context, profileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProfileProfilesProfileIdGet Get Profile
//
// Get profile details.
//
// Corresponds with GET /profiles/{profile_id} (the `GetProfileProfilesProfileIdGet` operationId).
GetProfileProfilesProfileIdGet(ctx context.Context, profileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateProfileProfilesProfileIdPatchWithBody Update Profile
//
// Update a browser profile's information.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /profiles/{profile_id} (the `UpdateProfileProfilesProfileIdPatch` operationId).
UpdateProfileProfilesProfileIdPatchWithBody(ctx context.Context, profileId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateProfileProfilesProfileIdPatch Update Profile
//
// Update a browser profile's information.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /profiles/{profile_id} (the `UpdateProfileProfilesProfileIdPatch` operationId).
UpdateProfileProfilesProfileIdPatch(ctx context.Context, profileId openapi_types.UUID, body UpdateProfileProfilesProfileIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRunsRunsGet List Runs
//
// Corresponds with GET /runs (the `ListRunsRunsGet` operationId).
ListRunsRunsGet(ctx context.Context, params *ListRunsRunsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRunRunsPostWithBody Create Run
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /runs (the `CreateRunRunsPost` operationId).
CreateRunRunsPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRunRunsPost Create Run
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /runs (the `CreateRunRunsPost` operationId).
CreateRunRunsPost(ctx context.Context, body CreateRunRunsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRunRunsRunIdGet Get Run
//
// Corresponds with GET /runs/{run_id} (the `GetRunRunsRunIdGet` operationId).
GetRunRunsRunIdGet(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRunAttachmentsRunsRunIdAttachmentsGet List Run Attachments
//
// The upload files attached to a run, for rendering attachment chips.
// Ordered to match the run's attached_file_ids.
//
// Corresponds with GET /runs/{run_id}/attachments (the `ListRunAttachmentsRunsRunIdAttachmentsGet` operationId).
ListRunAttachmentsRunsRunIdAttachmentsGet(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelRunRunsRunIdCancelPost Cancel Run
//
// Cancel an in-flight run.
//
// Idempotent: a run already in a terminal state (completed / failed /
// cancelled) is returned as-is. Once cancelled, the gateway refuses
// every subsequent `chat_completions` call from the worker — so the
// project cannot be billed further regardless of whether the worker
// subprocess notices the cancel itself.
//
// The worker keeps running for at most one more bcode step
// (consuming no LLM tokens because CP 409s them) and then exits when
// bcode realizes the next tool call has no model behind it.
//
// Corresponds with POST /runs/{run_id}/cancel (the `CancelRunRunsRunIdCancelPost` operationId).
CancelRunRunsRunIdCancelPost(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRunEventsRunsRunIdEventsGet Get Run Events
//
// Paginated event read. `after` is the event id cursor — clients
// doing periodic polls pass back the highest id they've seen to get only
// the delta. Default 0 returns from the start.
//
// Corresponds with GET /runs/{run_id}/events (the `GetRunEventsRunsRunIdEventsGet` operationId).
GetRunEventsRunsRunIdEventsGet(ctx context.Context, runId openapi_types.UUID, params *GetRunEventsRunsRunIdEventsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRunStatusRunsRunIdStatusGet Get Run Status
//
// Minimal status poll (see RunStatusResponse). POLL rate bucket: selects
// ONLY the status/project columns — a 2s poll never drags the task/result
// text (TOAST reads) that GET /runs/{id} pays. Poll until terminal, then
// fetch the full summary once.
//
// Corresponds with GET /runs/{run_id}/status (the `GetRunStatusRunsRunIdStatusGet` operationId).
GetRunStatusRunsRunIdStatusGet(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSessionsSessionsGet List Sessions
//
// List the project's V4 sessions — one row per session (its most recent
// run), most-recent first.
//
// A session is a conversation: follow-up runs reuse the same
// public_session_id, so GET /api/v4/runs would list one row per RUN. This
// collapses to one row per SESSION directly in Postgres with DISTINCT ON, so a
// chatty session with 100 runs is still a single row (no scan amplification),
// and selects only the slim columns the session list needs — never the heavy
// per-run text/token/cost fields.
//
// Keyset-paginated on the latest run's (created_at, id): pass `next_cursor`
// back as `cursor` to page. Offset/COUNT was dropped — it doesn't scale on
// projects with many sessions.
//
// Corresponds with GET /sessions (the `ListSessionsSessionsGet` operationId).
ListSessionsSessionsGet(ctx context.Context, params *ListSessionsSessionsGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSessionSessionsSessionIdDelete Delete Session
//
// Delete a session: it disappears from the session lists and can no longer
// be opened or continued.
//
// Soft delete (mirrors V2's `is_archived`): the runs, events and usage records
// stay in place so billing and analytics keep reconciling, and ZDR purge is the
// only thing that ever destroys V4 content. Idempotent — deleting twice is a
// no-op 204.
//
// An in-flight run is cancelled first, and pending queued messages are
// cancelled too; otherwise the drain would dispatch a follow-up run whose
// `session_archived_at` is NULL and resurrect the session. Cancel is forwarded
// to CP before anything is written (and outside the queue lock, per the
// enqueue path's ordering), so a CP failure (502) leaves the session visible
// rather than hiding a run that is still burning credits.
//
// Corresponds with DELETE /sessions/{session_id} (the `DeleteSessionSessionsSessionIdDelete` operationId).
DeleteSessionSessionsSessionIdDelete(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSessionSessionsSessionIdGet Get Session
//
// Session detail — the same slim shape as one GET /sessions row (its
// latest run). Doubles as the busy/idle poll for a conversation (POLL rate
// bucket): slim columns only, indexed public_session_id lookup, never the
// heavy result/token fields.
//
// Corresponds with GET /sessions/{session_id} (the `GetSessionSessionsSessionIdGet` operationId).
GetSessionSessionsSessionIdGet(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSessionSessionsSessionIdPatchWithBody Update Session
//
// Rename a session.
//
// `session_title` is denormalized onto every run in the session (the session
// list reads the latest run), so a rename writes them all in one UPDATE. Null
// clears the name and the UI falls back to the opening task — it does NOT
// re-run title generation, which only fills rows where the title IS NULL and
// so would silently overwrite the clear.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /sessions/{session_id} (the `UpdateSessionSessionsSessionIdPatch` operationId).
UpdateSessionSessionsSessionIdPatchWithBody(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSessionSessionsSessionIdPatch Update Session
//
// Rename a session.
//
// `session_title` is denormalized onto every run in the session (the session
// list reads the latest run), so a rename writes them all in one UPDATE. Null
// clears the name and the UI falls back to the opening task — it does NOT
// re-run title generation, which only fills rows where the title IS NULL and
// so would silently overwrite the clear.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /sessions/{session_id} (the `UpdateSessionSessionsSessionIdPatch` operationId).
UpdateSessionSessionsSessionIdPatch(ctx context.Context, sessionId openapi_types.UUID, body UpdateSessionSessionsSessionIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CompactSessionSessionsSessionIdCompactPost Compact Session Context (beta)
//
// Beta. Ask the session's running agent to summarize its context before its next model call. Returns 409 when the session has no running run or that run did not start with modelParams.context.
//
// Corresponds with POST /sessions/{session_id}/compact (the `CompactSessionSessionsSessionIdCompactPost` operationId).
CompactSessionSessionsSessionIdCompactPost(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSessionCostSessionsSessionIdCostGet Get Session Cost
//
// Everything this session has cost so far, split by source.
//
// A run's `total_cost_usd` is its LLM (and web-search) charge only. Browser
// time and proxy bandwidth are metered against the session's browser, which
// outlives any one run — so this is the endpoint for the session's full cost.
//
// These are recorded usage costs, not an invoice total: promotional waivers
// and credits are applied downstream in billing, so a session run under a
// promotion can report cost here that was never charged.
//
// Costs keep moving after a run reports `finished`: LLM calls settle up to
// about 90 seconds later, and the browser accrues time and proxy traffic
// until it stops.
//
// Corresponds with GET /sessions/{session_id}/cost (the `GetSessionCostSessionsSessionIdCostGet` operationId).
GetSessionCostSessionsSessionIdCostGet(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSessionCostCapSessionsSessionIdCostCapGet Get Session Cost Cap
//
// Read committed budget spending from the primary database.
//
// Corresponds with GET /sessions/{session_id}/cost-cap (the `GetSessionCostCapSessionsSessionIdCostCapGet` operationId).
GetSessionCostCapSessionsSessionIdCostCapGet(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSessionCostCapSessionsSessionIdCostCapPatchWithBody Update Session Cost Cap
//
// Replace the session budget without resetting spending or starting a run.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /sessions/{session_id}/cost-cap (the `UpdateSessionCostCapSessionsSessionIdCostCapPatch` operationId).
UpdateSessionCostCapSessionsSessionIdCostCapPatchWithBody(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSessionCostCapSessionsSessionIdCostCapPatch Update Session Cost Cap
//
// Replace the session budget without resetting spending or starting a run.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /sessions/{session_id}/cost-cap (the `UpdateSessionCostCapSessionsSessionIdCostCapPatch` operationId).
UpdateSessionCostCapSessionsSessionIdCostCapPatch(ctx context.Context, sessionId openapi_types.UUID, body UpdateSessionCostCapSessionsSessionIdCostCapPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PurgeSessionSessionsSessionIdPurgePost Purge Session
//
// Purge V4 session data; return 202 while active work or uploads defer deletion.
//
// Redacts DB records and deletes S3 objects (bcode state, workspace files,
// recordings, downloads, staging uploads) for every run in the session. Same
// cleanup the ZDR cron performs, but on-demand; outstanding upload grants defer physical deletion. V4
// analog of the V2 POST /sessions/{id}/purge. Surfaces shared with a still-live
// sibling run are deferred by the same guards the cron uses.
//
// Corresponds with POST /sessions/{session_id}/purge (the `PurgeSessionSessionsSessionIdPurgePost` operationId).
PurgeSessionSessionsSessionIdPurgePost(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSessionQueueSessionsSessionIdQueueGet List Session Queue
//
// List open messages, recently delivered queued messages, and steering cutoffs.
//
// Includes live dispatch claims so clients can restore an accepted queued
// message after a refresh without briefly losing its waiting state.
//
// Consumed QUEUE rows are returned too, capped at the most recent
// _DELIVERED_QUEUE_HISTORY, plus up to _AGENCY_DELIVERED_QUEUE_HISTORY compact
// Agency choice and generation receipts so inbox state survives refresh. A message absorbed mid-run is announced by a
// `queued_input_injected` event carrying only its input id, so the chat has no
// other source for the text to render. The cap bounds this response because
// clients poll it while a run is active; a session with more delivered
// follow-ups than the cap renders its oldest injected bubbles without text.
//
// The latest consumed interrupt bridges the primary-write/read-replica gap
// before its replacement run appears; clients discard it once that run is
// visible. Compact per-source cutoffs preserve every historical interrupted
// transcript boundary without returning every historical steering message and
// its attachments.
//
// Corresponds with GET /sessions/{session_id}/queue (the `ListSessionQueueSessionsSessionIdQueueGet` operationId).
ListSessionQueueSessionsSessionIdQueueGet(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// QueueSessionMessageSessionsSessionIdQueuePostWithBody Queue Session Message
//
// Send a message to a session. If the session is busy it waits on the queue
// and runs as the next turn; if idle it drains immediately.
//
// `interrupt=true` cancels the session's active run so this message takes effect
// now instead of waiting for the current turn (no-op when the session is idle).
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /sessions/{session_id}/queue (the `QueueSessionMessageSessionsSessionIdQueuePost` operationId).
QueueSessionMessageSessionsSessionIdQueuePostWithBody(ctx context.Context, sessionId openapi_types.UUID, params *QueueSessionMessageSessionsSessionIdQueuePostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// QueueSessionMessageSessionsSessionIdQueuePost Queue Session Message
//
// Send a message to a session. If the session is busy it waits on the queue
// and runs as the next turn; if idle it drains immediately.
//
// `interrupt=true` cancels the session's active run so this message takes effect
// now instead of waiting for the current turn (no-op when the session is idle).
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /sessions/{session_id}/queue (the `QueueSessionMessageSessionsSessionIdQueuePost` operationId).
QueueSessionMessageSessionsSessionIdQueuePost(ctx context.Context, sessionId openapi_types.UUID, params *QueueSessionMessageSessionsSessionIdQueuePostParams, body QueueSessionMessageSessionsSessionIdQueuePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelQueuedMessageSessionsSessionIdQueueMessageIdDelete Cancel Queued Message
//
// Remove a still-pending queued message; 409 once the drain has claimed it.
//
// Corresponds with DELETE /sessions/{session_id}/queue/{message_id} (the `CancelQueuedMessageSessionsSessionIdQueueMessageIdDelete` operationId).
CancelQueuedMessageSessionsSessionIdQueueMessageIdDelete(ctx context.Context, sessionId openapi_types.UUID, messageId int, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSessionQueueMessageSessionsSessionIdQueueMessageIdGet Get Session Queue Message
//
// Read one queued message including terminal handoff states.
//
// Corresponds with GET /sessions/{session_id}/queue/{message_id} (the `GetSessionQueueMessageSessionsSessionIdQueueMessageIdGet` operationId).
GetSessionQueueMessageSessionsSessionIdQueueMessageIdGet(ctx context.Context, sessionId openapi_types.UUID, messageId int, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// The session's share link (active or not); null if never shared.
//
// Corresponds with GET /sessions/{session_id}/share (the `GetSessionShareSessionsSessionIdShareGet` operationId).
GetSessionShareSessionsSessionIdShareGet(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Enable sharing: reactivates the session's existing share (stable token,
// so a link that was toggled off keeps working when re-enabled) or creates
// one on first use.
//
// Corresponds with POST /sessions/{session_id}/share (the `CreateSessionShareSessionsSessionIdSharePost` operationId).
CreateSessionShareSessionsSessionIdSharePost(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Toggle the session's share link on/off.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PUT /sessions/{session_id}/share (the `UpdateSessionShareSessionsSessionIdSharePut` operationId).
UpdateSessionShareSessionsSessionIdSharePutWithBody(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
//
// Toggle the session's share link on/off.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PUT /sessions/{session_id}/share (the `UpdateSessionShareSessionsSessionIdSharePut` operationId).
UpdateSessionShareSessionsSessionIdSharePut(ctx context.Context, sessionId openapi_types.UUID, body UpdateSessionShareSessionsSessionIdSharePutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetStripeLinkStatusStripeLinkGet Get Stripe Link Status
//
// The project's active Stripe Link wallet connection, if any.
//
// Read-only: connecting happens in the cloud UI. A run opts into paying with
// it by passing `connection_id` as RunCreateRequest.stripe_link_connection_id,
// which is validated again there against this same project.
//
// Corresponds with GET /stripe-link (the `GetStripeLinkStatusStripeLinkGet` operationId).
GetStripeLinkStatusStripeLinkGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWorkspaceWorkspacesPostWithBody Create Workspace
//
// Mint an empty workspace. Lets callers upload input files BEFORE the
// first run exists; pass the id as workspaceId on POST /runs.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /workspaces (the `CreateWorkspaceWorkspacesPost` operationId).
CreateWorkspaceWorkspacesPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWorkspaceWorkspacesPost Create Workspace
//
// Mint an empty workspace. Lets callers upload input files BEFORE the
// first run exists; pass the id as workspaceId on POST /runs.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /workspaces (the `CreateWorkspaceWorkspacesPost` operationId).
CreateWorkspaceWorkspacesPost(ctx context.Context, body CreateWorkspaceWorkspacesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWorkspaceWorkspacesWorkspaceIdDelete Delete Workspace
//
// Archive a workspace. Idempotent for missing, archived, and foreign ids.
//
// Corresponds with DELETE /workspaces/{workspace_id} (the `DeleteWorkspaceWorkspacesWorkspaceIdDelete` operationId).
DeleteWorkspaceWorkspacesWorkspaceIdDelete(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkspaceWorkspacesWorkspaceIdGet Get Workspace
//
// Corresponds with GET /workspaces/{workspace_id} (the `GetWorkspaceWorkspacesWorkspaceIdGet` operationId).
GetWorkspaceWorkspacesWorkspaceIdGet(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWorkspaceWorkspacesWorkspaceIdPatchWithBody Update Workspace
//
// Rename a workspace. Explicit null clears the name; omission is a no-op.
//
// Takes any type of body and a specified content type.
//
// Corresponds with PATCH /workspaces/{workspace_id} (the `UpdateWorkspaceWorkspacesWorkspaceIdPatch` operationId).
UpdateWorkspaceWorkspacesWorkspaceIdPatchWithBody(ctx context.Context, workspaceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWorkspaceWorkspacesWorkspaceIdPatch Update Workspace
//
// Rename a workspace. Explicit null clears the name; omission is a no-op.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with PATCH /workspaces/{workspace_id} (the `UpdateWorkspaceWorkspacesWorkspaceIdPatch` operationId).
UpdateWorkspaceWorkspacesWorkspaceIdPatch(ctx context.Context, workspaceId openapi_types.UUID, body UpdateWorkspaceWorkspacesWorkspaceIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDelete Delete Workspace File
//
// Delete one exact path from a workspace and remove matching upload metadata.
//
// Corresponds with DELETE /workspaces/{workspace_id}/files (the `DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDelete` operationId).
DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDelete(ctx context.Context, workspaceId openapi_types.UUID, params *DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWorkspaceFilesWorkspacesWorkspaceIdFilesGet List Workspace Files
//
// List files the agent has produced for this workspace, paginated.
//
// Corresponds with GET /workspaces/{workspace_id}/files (the `ListWorkspaceFilesWorkspacesWorkspaceIdFilesGet` operationId).
ListWorkspaceFilesWorkspacesWorkspaceIdFilesGet(ctx context.Context, workspaceId openapi_types.UUID, params *ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithBody Upload Workspace Files
//
// Presigned PUT URLs for input files, placed under “uploads/“ in the
// workspace. The agent pulls them in at the start of every run. URLs are
// pinned to the declared Content-Type and exact Content-Length.
//
// Takes any type of body and a specified content type.
//
// Corresponds with POST /workspaces/{workspace_id}/files/upload (the `UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPost` operationId).
UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithBody(ctx context.Context, workspaceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPost Upload Workspace Files
//
// Presigned PUT URLs for input files, placed under “uploads/“ in the
// workspace. The agent pulls them in at the start of every run. URLs are
// pinned to the declared Content-Type and exact Content-Length.
//
// Takes a body of the `application/json` content type.
//
// Corresponds with POST /workspaces/{workspace_id}/files/upload (the `UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPost` operationId).
UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPost(ctx context.Context, workspaceId openapi_types.UUID, body UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWorkspaceSizeWorkspacesWorkspaceIdSizeGet Get Workspace Size
//
// Return current storage usage and the plan-specific workspace quota.
//
// Corresponds with GET /workspaces/{workspace_id}/size (the `GetWorkspaceSizeWorkspacesWorkspaceIdSizeGet` operationId).
GetWorkspaceSizeWorkspacesWorkspaceIdSizeGet(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
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) AuthorizeIntegrationIntegrationsProviderAuthorizePostWithResponse ¶
func (c *ClientWithResponses) AuthorizeIntegrationIntegrationsProviderAuthorizePostWithResponse(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse, error)
AuthorizeIntegrationIntegrationsProviderAuthorizePostWithResponse Authorize Integration
Get the OAuth redirect URL for connecting an integration.
The client opens the returned URL in a web auth session and polls `/integrations/{provider}/status` once the flow lands back on the callback path. The URL is Composio-hosted; no redirect URI is registered per client.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /integrations/{provider}/authorize (the `AuthorizeIntegrationIntegrationsProviderAuthorizePost` operationId).
func (*ClientWithResponses) CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteWithResponse ¶
func (c *ClientWithResponses) CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteWithResponse(ctx context.Context, sessionId openapi_types.UUID, messageId int, reqEditors ...RequestEditorFn) (*CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse, error)
CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteWithResponse Cancel Queued Message
Remove a still-pending queued message; 409 once the drain has claimed it.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /sessions/{session_id}/queue/{message_id} (the `CancelQueuedMessageSessionsSessionIdQueueMessageIdDelete` operationId).
func (*ClientWithResponses) CancelRunRunsRunIdCancelPostWithResponse ¶
func (c *ClientWithResponses) CancelRunRunsRunIdCancelPostWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelRunRunsRunIdCancelPostResponse, error)
CancelRunRunsRunIdCancelPostWithResponse Cancel Run
Cancel an in-flight run.
Idempotent: a run already in a terminal state (completed / failed / cancelled) is returned as-is. Once cancelled, the gateway refuses every subsequent `chat_completions` call from the worker — so the project cannot be billed further regardless of whether the worker subprocess notices the cancel itself.
The worker keeps running for at most one more bcode step (consuming no LLM tokens because CP 409s them) and then exits when bcode realizes the next tool call has no model behind it.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /runs/{run_id}/cancel (the `CancelRunRunsRunIdCancelPost` operationId).
func (*ClientWithResponses) CompactSessionSessionsSessionIdCompactPostWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) CompactSessionSessionsSessionIdCompactPostWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CompactSessionSessionsSessionIdCompactPostResponse, error)
CompactSessionSessionsSessionIdCompactPostWithResponse Compact Session Context (beta)
Beta. Ask the session's running agent to summarize its context before its next model call. Returns 409 when the session has no running run or that run did not start with modelParams.context.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /sessions/{session_id}/compact (the `CompactSessionSessionsSessionIdCompactPost` operationId).
func (*ClientWithResponses) CreateBrowserSessionBrowsersPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateBrowserSessionBrowsersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBrowserSessionBrowsersPostResponse, error)
CreateBrowserSessionBrowsersPostWithBodyWithResponse Create Browser Session
Create a new browser session.
**Pricing:** Browser sessions are charged per browser-hour at your account rate, shown on your billing page.
The full rate is charged upfront when the session starts. When you stop the session, any unused time is automatically refunded proportionally.
Billing is rounded up to the minute (minimum 1 minute). For example, if you stop a session after 30 minutes, you'll be refunded half the charged amount.
**Session Limits:** - All users: Up to 4 hours per session
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /browsers (the `CreateBrowserSessionBrowsersPost` operationId).
func (*ClientWithResponses) CreateBrowserSessionBrowsersPostWithResponse ¶
func (c *ClientWithResponses) CreateBrowserSessionBrowsersPostWithResponse(ctx context.Context, body CreateBrowserSessionBrowsersPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBrowserSessionBrowsersPostResponse, error)
CreateBrowserSessionBrowsersPostWithResponse Create Browser Session
Create a new browser session.
**Pricing:** Browser sessions are charged per browser-hour at your account rate, shown on your billing page.
The full rate is charged upfront when the session starts. When you stop the session, any unused time is automatically refunded proportionally.
Billing is rounded up to the minute (minimum 1 minute). For example, if you stop a session after 30 minutes, you'll be refunded half the charged amount.
**Session Limits:** - All users: Up to 4 hours per session
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /browsers (the `CreateBrowserSessionBrowsersPost` operationId).
func (*ClientWithResponses) CreateNetworkPolicyNetworkPoliciesPostWithBodyWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) CreateNetworkPolicyNetworkPoliciesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNetworkPolicyNetworkPoliciesPostResponse, error)
CreateNetworkPolicyNetworkPoliciesPostWithBodyWithResponse Create Network Policy
Create a network policy that allows or blocks domains for the browsers that reference it with networkPolicyId.
A domain such as `example.com` matches the domain and all of its subdomains, and the most specific entry wins. Domains are trimmed, lower-cased and converted to punycode, a trailing dot and a leading `*.` are removed, and duplicates are dropped. URLs, paths, ports, IP addresses, other wildcards and a domain in both lists are rejected. A policy has at most 10,000 domains, and a project has at most 100 policies.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /network-policies (the `CreateNetworkPolicyNetworkPoliciesPost` operationId).
func (*ClientWithResponses) CreateNetworkPolicyNetworkPoliciesPostWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) CreateNetworkPolicyNetworkPoliciesPostWithResponse(ctx context.Context, body CreateNetworkPolicyNetworkPoliciesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNetworkPolicyNetworkPoliciesPostResponse, error)
CreateNetworkPolicyNetworkPoliciesPostWithResponse Create Network Policy
Create a network policy that allows or blocks domains for the browsers that reference it with networkPolicyId.
A domain such as `example.com` matches the domain and all of its subdomains, and the most specific entry wins. Domains are trimmed, lower-cased and converted to punycode, a trailing dot and a leading `*.` are removed, and duplicates are dropped. URLs, paths, ports, IP addresses, other wildcards and a domain in both lists are rejected. A policy has at most 10,000 domains, and a project has at most 100 policies.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /network-policies (the `CreateNetworkPolicyNetworkPoliciesPost` operationId).
func (*ClientWithResponses) CreateProfileProfilesPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateProfileProfilesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProfileProfilesPostResponse, error)
CreateProfileProfilesPostWithBodyWithResponse Create Profile
Profiles allow you to preserve the state of the browser between tasks.
They are most commonly used to allow users to preserve the log-in state in the agent between tasks. You'd normally create one profile per user and then use it for all their tasks.
You can set a `user_id` when creating a profile to associate it with a user in your system. This allows you to later search for the profile using the GET /profiles endpoint with a query parameter.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /profiles (the `CreateProfileProfilesPost` operationId).
func (*ClientWithResponses) CreateProfileProfilesPostWithResponse ¶
func (c *ClientWithResponses) CreateProfileProfilesPostWithResponse(ctx context.Context, body CreateProfileProfilesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProfileProfilesPostResponse, error)
CreateProfileProfilesPostWithResponse Create Profile
Profiles allow you to preserve the state of the browser between tasks.
They are most commonly used to allow users to preserve the log-in state in the agent between tasks. You'd normally create one profile per user and then use it for all their tasks.
You can set a `user_id` when creating a profile to associate it with a user in your system. This allows you to later search for the profile using the GET /profiles endpoint with a query parameter.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /profiles (the `CreateProfileProfilesPost` operationId).
func (*ClientWithResponses) CreateRunRunsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateRunRunsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRunRunsPostResponse, error)
CreateRunRunsPostWithBodyWithResponse Create Run
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /runs (the `CreateRunRunsPost` operationId).
func (*ClientWithResponses) CreateRunRunsPostWithResponse ¶
func (c *ClientWithResponses) CreateRunRunsPostWithResponse(ctx context.Context, body CreateRunRunsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRunRunsPostResponse, error)
CreateRunRunsPostWithResponse Create Run
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /runs (the `CreateRunRunsPost` operationId).
func (*ClientWithResponses) CreateSessionShareSessionsSessionIdSharePostWithResponse ¶
func (c *ClientWithResponses) CreateSessionShareSessionsSessionIdSharePostWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CreateSessionShareSessionsSessionIdSharePostResponse, error)
CreateSessionShareSessionsSessionIdSharePostWithResponse Create Session Share
Enable sharing: reactivates the session's existing share (stable token, so a link that was toggled off keeps working when re-enabled) or creates one on first use.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /sessions/{session_id}/share (the `CreateSessionShareSessionsSessionIdSharePost` operationId).
func (*ClientWithResponses) CreateWorkspaceWorkspacesPostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateWorkspaceWorkspacesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkspaceWorkspacesPostResponse, error)
CreateWorkspaceWorkspacesPostWithBodyWithResponse Create Workspace
Mint an empty workspace. Lets callers upload input files BEFORE the first run exists; pass the id as workspaceId on POST /runs.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /workspaces (the `CreateWorkspaceWorkspacesPost` operationId).
func (*ClientWithResponses) CreateWorkspaceWorkspacesPostWithResponse ¶
func (c *ClientWithResponses) CreateWorkspaceWorkspacesPostWithResponse(ctx context.Context, body CreateWorkspaceWorkspacesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkspaceWorkspacesPostResponse, error)
CreateWorkspaceWorkspacesPostWithResponse Create Workspace
Mint an empty workspace. Lets callers upload input files BEFORE the first run exists; pass the id as workspaceId on POST /runs.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /workspaces (the `CreateWorkspaceWorkspacesPost` operationId).
func (*ClientWithResponses) DeleteBrowserProfileProfilesProfileIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteBrowserProfileProfilesProfileIdDeleteWithResponse(ctx context.Context, profileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteBrowserProfileProfilesProfileIdDeleteResponse, error)
DeleteBrowserProfileProfilesProfileIdDeleteWithResponse Delete Browser Profile
Permanently delete a browser profile and its configuration.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /profiles/{profile_id} (the `DeleteBrowserProfileProfilesProfileIdDelete` operationId).
func (*ClientWithResponses) DeleteExtensionExtensionsExtensionIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteExtensionExtensionsExtensionIdDeleteWithResponse(ctx context.Context, extensionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteExtensionExtensionsExtensionIdDeleteResponse, error)
DeleteExtensionExtensionsExtensionIdDeleteWithResponse Delete Extension
Permanently delete an extension without affecting running browsers.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /extensions/{extension_id} (the `DeleteExtensionExtensionsExtensionIdDelete` operationId).
func (*ClientWithResponses) DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse, error)
DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteWithResponse Delete Network Policy
Delete a network policy. Browsers that use it continue without a customer network policy.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /network-policies/{policy_id} (the `DeleteNetworkPolicyNetworkPoliciesPolicyIdDelete` operationId).
func (*ClientWithResponses) DeleteSessionSessionsSessionIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteSessionSessionsSessionIdDeleteWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteSessionSessionsSessionIdDeleteResponse, error)
DeleteSessionSessionsSessionIdDeleteWithResponse Delete Session
Delete a session: it disappears from the session lists and can no longer be opened or continued.
Soft delete (mirrors V2's `is_archived`): the runs, events and usage records stay in place so billing and analytics keep reconciling, and ZDR purge is the only thing that ever destroys V4 content. Idempotent — deleting twice is a no-op 204.
An in-flight run is cancelled first, and pending queued messages are cancelled too; otherwise the drain would dispatch a follow-up run whose `session_archived_at` is NULL and resurrect the session. Cancel is forwarded to CP before anything is written (and outside the queue lock, per the enqueue path's ordering), so a CP failure (502) leaves the session visible rather than hiding a run that is still burning credits.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /sessions/{session_id} (the `DeleteSessionSessionsSessionIdDelete` operationId).
func (*ClientWithResponses) DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteWithResponse(ctx context.Context, workspaceId openapi_types.UUID, params *DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteParams, reqEditors ...RequestEditorFn) (*DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse, error)
DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteWithResponse Delete Workspace File
Delete one exact path from a workspace and remove matching upload metadata.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /workspaces/{workspace_id}/files (the `DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDelete` operationId).
func (*ClientWithResponses) DeleteWorkspaceWorkspacesWorkspaceIdDeleteWithResponse ¶
func (c *ClientWithResponses) DeleteWorkspaceWorkspacesWorkspaceIdDeleteWithResponse(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse, error)
DeleteWorkspaceWorkspacesWorkspaceIdDeleteWithResponse Delete Workspace
Archive a workspace. Idempotent for missing, archived, and foreign ids.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /workspaces/{workspace_id} (the `DeleteWorkspaceWorkspacesWorkspaceIdDelete` operationId).
func (*ClientWithResponses) DisconnectIntegrationIntegrationsProviderDeleteWithResponse ¶
func (c *ClientWithResponses) DisconnectIntegrationIntegrationsProviderDeleteWithResponse(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*DisconnectIntegrationIntegrationsProviderDeleteResponse, error)
DisconnectIntegrationIntegrationsProviderDeleteWithResponse Disconnect Integration
Disconnect an integration for this project.
Deliberately NOT gated like `authorize` above: a restricted project must still be able to tear down a connection it already has.
Returns a wrapper object for the known response body format(s).
Corresponds with DELETE /integrations/{provider} (the `DisconnectIntegrationIntegrationsProviderDelete` operationId).
func (*ClientWithResponses) GetBrowserSessionBrowsersSessionIdGetWithResponse ¶
func (c *ClientWithResponses) GetBrowserSessionBrowsersSessionIdGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetBrowserSessionBrowsersSessionIdGetResponse, error)
GetBrowserSessionBrowsersSessionIdGetWithResponse Get Browser Session
Get detailed browser session information including status and URLs.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /browsers/{session_id} (the `GetBrowserSessionBrowsersSessionIdGet` operationId).
func (*ClientWithResponses) GetBrowserSessionProxyBrowsersSessionIdProxyGetWithResponse ¶ added in v0.1.5
func (c *ClientWithResponses) GetBrowserSessionProxyBrowsersSessionIdProxyGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse, error)
GetBrowserSessionProxyBrowsersSessionIdProxyGetWithResponse Get Browser Proxy
Returns a wrapper object for the known response body format(s).
Corresponds with GET /browsers/{session_id}/proxy (the `GetBrowserSessionProxyBrowsersSessionIdProxyGet` operationId).
func (*ClientWithResponses) GetConnectionStatusIntegrationsProviderStatusGetWithResponse ¶
func (c *ClientWithResponses) GetConnectionStatusIntegrationsProviderStatusGetWithResponse(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*GetConnectionStatusIntegrationsProviderStatusGetResponse, error)
GetConnectionStatusIntegrationsProviderStatusGetWithResponse Get Connection Status
Check whether this project has connected a specific provider.
Poll this after opening the authorize URL to learn when OAuth completed.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /integrations/{provider}/status (the `GetConnectionStatusIntegrationsProviderStatusGet` operationId).
func (*ClientWithResponses) GetExtensionExtensionsExtensionIdGetWithResponse ¶
func (c *ClientWithResponses) GetExtensionExtensionsExtensionIdGetWithResponse(ctx context.Context, extensionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetExtensionExtensionsExtensionIdGetResponse, error)
GetExtensionExtensionsExtensionIdGetWithResponse Get Extension
Get an uploaded extension by its ID.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /extensions/{extension_id} (the `GetExtensionExtensionsExtensionIdGet` operationId).
func (*ClientWithResponses) GetNetworkPolicyNetworkPoliciesPolicyIdGetWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) GetNetworkPolicyNetworkPoliciesPolicyIdGetWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse, error)
GetNetworkPolicyNetworkPoliciesPolicyIdGetWithResponse Get Network Policy
Get a network policy.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /network-policies/{policy_id} (the `GetNetworkPolicyNetworkPoliciesPolicyIdGet` operationId).
func (*ClientWithResponses) GetProfileProfilesProfileIdGetWithResponse ¶
func (c *ClientWithResponses) GetProfileProfilesProfileIdGetWithResponse(ctx context.Context, profileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetProfileProfilesProfileIdGetResponse, error)
GetProfileProfilesProfileIdGetWithResponse Get Profile
Get profile details.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /profiles/{profile_id} (the `GetProfileProfilesProfileIdGet` operationId).
func (*ClientWithResponses) GetRunEventsRunsRunIdEventsGetWithResponse ¶
func (c *ClientWithResponses) GetRunEventsRunsRunIdEventsGetWithResponse(ctx context.Context, runId openapi_types.UUID, params *GetRunEventsRunsRunIdEventsGetParams, reqEditors ...RequestEditorFn) (*GetRunEventsRunsRunIdEventsGetResponse, error)
GetRunEventsRunsRunIdEventsGetWithResponse Get Run Events
Paginated event read. `after` is the event id cursor — clients doing periodic polls pass back the highest id they've seen to get only the delta. Default 0 returns from the start.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /runs/{run_id}/events (the `GetRunEventsRunsRunIdEventsGet` operationId).
func (*ClientWithResponses) GetRunRunsRunIdGetWithResponse ¶
func (c *ClientWithResponses) GetRunRunsRunIdGetWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRunRunsRunIdGetResponse, error)
GetRunRunsRunIdGetWithResponse Get Run
Returns a wrapper object for the known response body format(s).
Corresponds with GET /runs/{run_id} (the `GetRunRunsRunIdGet` operationId).
func (*ClientWithResponses) GetRunStatusRunsRunIdStatusGetWithResponse ¶
func (c *ClientWithResponses) GetRunStatusRunsRunIdStatusGetWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRunStatusRunsRunIdStatusGetResponse, error)
GetRunStatusRunsRunIdStatusGetWithResponse Get Run Status
Minimal status poll (see RunStatusResponse). POLL rate bucket: selects ONLY the status/project columns — a 2s poll never drags the task/result text (TOAST reads) that GET /runs/{id} pays. Poll until terminal, then fetch the full summary once.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /runs/{run_id}/status (the `GetRunStatusRunsRunIdStatusGet` operationId).
func (*ClientWithResponses) GetSessionCostCapSessionsSessionIdCostCapGetWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) GetSessionCostCapSessionsSessionIdCostCapGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSessionCostCapSessionsSessionIdCostCapGetResponse, error)
GetSessionCostCapSessionsSessionIdCostCapGetWithResponse Get Session Cost Cap
Read committed budget spending from the primary database.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /sessions/{session_id}/cost-cap (the `GetSessionCostCapSessionsSessionIdCostCapGet` operationId).
func (*ClientWithResponses) GetSessionCostSessionsSessionIdCostGetWithResponse ¶
func (c *ClientWithResponses) GetSessionCostSessionsSessionIdCostGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSessionCostSessionsSessionIdCostGetResponse, error)
GetSessionCostSessionsSessionIdCostGetWithResponse Get Session Cost
Everything this session has cost so far, split by source.
A run's `total_cost_usd` is its LLM (and web-search) charge only. Browser time and proxy bandwidth are metered against the session's browser, which outlives any one run — so this is the endpoint for the session's full cost.
These are recorded usage costs, not an invoice total: promotional waivers and credits are applied downstream in billing, so a session run under a promotion can report cost here that was never charged.
Costs keep moving after a run reports `finished`: LLM calls settle up to about 90 seconds later, and the browser accrues time and proxy traffic until it stops.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /sessions/{session_id}/cost (the `GetSessionCostSessionsSessionIdCostGet` operationId).
func (*ClientWithResponses) GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetWithResponse ¶
func (c *ClientWithResponses) GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, messageId int, reqEditors ...RequestEditorFn) (*GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse, error)
GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetWithResponse Get Session Queue Message
Read one queued message including terminal handoff states.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /sessions/{session_id}/queue/{message_id} (the `GetSessionQueueMessageSessionsSessionIdQueueMessageIdGet` operationId).
func (*ClientWithResponses) GetSessionSessionsSessionIdGetWithResponse ¶
func (c *ClientWithResponses) GetSessionSessionsSessionIdGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSessionSessionsSessionIdGetResponse, error)
GetSessionSessionsSessionIdGetWithResponse Get Session
Session detail — the same slim shape as one GET /sessions row (its latest run). Doubles as the busy/idle poll for a conversation (POLL rate bucket): slim columns only, indexed public_session_id lookup, never the heavy result/token fields.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /sessions/{session_id} (the `GetSessionSessionsSessionIdGet` operationId).
func (*ClientWithResponses) GetSessionShareSessionsSessionIdShareGetWithResponse ¶
func (c *ClientWithResponses) GetSessionShareSessionsSessionIdShareGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSessionShareSessionsSessionIdShareGetResponse, error)
GetSessionShareSessionsSessionIdShareGetWithResponse Get Session Share
The session's share link (active or not); null if never shared.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /sessions/{session_id}/share (the `GetSessionShareSessionsSessionIdShareGet` operationId).
func (*ClientWithResponses) GetStripeLinkStatusStripeLinkGetWithResponse ¶
func (c *ClientWithResponses) GetStripeLinkStatusStripeLinkGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStripeLinkStatusStripeLinkGetResponse, error)
GetStripeLinkStatusStripeLinkGetWithResponse Get Stripe Link Status
The project's active Stripe Link wallet connection, if any.
Read-only: connecting happens in the cloud UI. A run opts into paying with it by passing `connection_id` as RunCreateRequest.stripe_link_connection_id, which is validated again there against this same project.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /stripe-link (the `GetStripeLinkStatusStripeLinkGet` operationId).
func (*ClientWithResponses) GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetWithResponse ¶
func (c *ClientWithResponses) GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetWithResponse(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse, error)
GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetWithResponse Get Workspace Size
Return current storage usage and the plan-specific workspace quota.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /workspaces/{workspace_id}/size (the `GetWorkspaceSizeWorkspacesWorkspaceIdSizeGet` operationId).
func (*ClientWithResponses) GetWorkspaceWorkspacesWorkspaceIdGetWithResponse ¶
func (c *ClientWithResponses) GetWorkspaceWorkspacesWorkspaceIdGetWithResponse(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetWorkspaceWorkspacesWorkspaceIdGetResponse, error)
GetWorkspaceWorkspacesWorkspaceIdGetWithResponse Get Workspace
Returns a wrapper object for the known response body format(s).
Corresponds with GET /workspaces/{workspace_id} (the `GetWorkspaceWorkspacesWorkspaceIdGet` operationId).
func (*ClientWithResponses) ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetWithResponse ¶
func (c *ClientWithResponses) ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, params *ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetParams, reqEditors ...RequestEditorFn) (*ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse, error)
ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetWithResponse List Browser Session Downloads
List files the browser downloaded to S3 during the session.
Pass “includeUrls=true“ to receive presigned download URLs (15 min expiry) inline. Files are stored at “downloads/projects/{project_id}/sessions/{session_id}/“ in the private bucket.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /browsers/{session_id}/downloads (the `ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGet` operationId).
func (*ClientWithResponses) ListBrowserSessionsBrowsersGetWithResponse ¶
func (c *ClientWithResponses) ListBrowserSessionsBrowsersGetWithResponse(ctx context.Context, params *ListBrowserSessionsBrowsersGetParams, reqEditors ...RequestEditorFn) (*ListBrowserSessionsBrowsersGetResponse, error)
ListBrowserSessionsBrowsersGetWithResponse List Browser Sessions
Get paginated list of browser sessions with optional status filtering.
List responses intentionally omit per-session presigned recording URLs (`recording_url` is always `null` here). Each recording URL requires a synchronous boto3 SigV4 signing call (plus an S3 HEAD) that holds the GIL and blocks the event loop. With page_size up to the max this CPU-pegs the worker and starves the DB pool, cascading into pool exhaustion across the fleet. Clients should fetch the recording URL on demand via `GET /browsers/{session_id}`, which signs exactly one URL for a single session. Mirrors the v3 sessions list fix (ENG-4904, PR #4621).
Returns a wrapper object for the known response body format(s).
Corresponds with GET /browsers (the `ListBrowserSessionsBrowsersGet` operationId).
func (*ClientWithResponses) ListCategoriesIntegrationsCategoriesGetWithResponse ¶
func (c *ClientWithResponses) ListCategoriesIntegrationsCategoriesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCategoriesIntegrationsCategoriesGetResponse, error)
ListCategoriesIntegrationsCategoriesGetWithResponse List Categories
Get all integration categories, for filtering the list above.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /integrations/categories (the `ListCategoriesIntegrationsCategoriesGet` operationId).
func (*ClientWithResponses) ListExtensionsExtensionsGetWithResponse ¶
func (c *ClientWithResponses) ListExtensionsExtensionsGetWithResponse(ctx context.Context, params *ListExtensionsExtensionsGetParams, reqEditors ...RequestEditorFn) (*ListExtensionsExtensionsGetResponse, error)
ListExtensionsExtensionsGetWithResponse List Extensions
List the extensions uploaded to this project.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /extensions (the `ListExtensionsExtensionsGet` operationId).
func (*ClientWithResponses) ListIntegrationsIntegrationsGetWithResponse ¶
func (c *ClientWithResponses) ListIntegrationsIntegrationsGetWithResponse(ctx context.Context, params *ListIntegrationsIntegrationsGetParams, reqEditors ...RequestEditorFn) (*ListIntegrationsIntegrationsGetResponse, error)
ListIntegrationsIntegrationsGetWithResponse List Integrations
List available integrations with this project's connection status.
`is_connected` is resolved per integration, so a client can render the whole catalogue and the connected subset from this one call. `connected_only` is what a "my integrations" view reads — including on a restricted project, which cannot connect anything but can still remove what it already has.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /integrations (the `ListIntegrationsIntegrationsGet` operationId).
func (*ClientWithResponses) ListNetworkPoliciesNetworkPoliciesGetWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) ListNetworkPoliciesNetworkPoliciesGetWithResponse(ctx context.Context, params *ListNetworkPoliciesNetworkPoliciesGetParams, reqEditors ...RequestEditorFn) (*ListNetworkPoliciesNetworkPoliciesGetResponse, error)
ListNetworkPoliciesNetworkPoliciesGetWithResponse List Network Policies
Get a paginated list of the project's network policies, newest first.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /network-policies (the `ListNetworkPoliciesNetworkPoliciesGet` operationId).
func (*ClientWithResponses) ListProfilesProfilesGetWithResponse ¶
func (c *ClientWithResponses) ListProfilesProfilesGetWithResponse(ctx context.Context, params *ListProfilesProfilesGetParams, reqEditors ...RequestEditorFn) (*ListProfilesProfilesGetResponse, error)
ListProfilesProfilesGetWithResponse List Profiles
Get paginated list of profiles.
Use the `query` parameter to search profiles by name or user_id. This is useful when you have many profiles and need to find a specific user.
Example: If you set `user_id` to your internal user identifier when creating profiles, you can later search for that user by passing their identifier as the `query` parameter.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /profiles (the `ListProfilesProfilesGet` operationId).
func (*ClientWithResponses) ListRunAttachmentsRunsRunIdAttachmentsGetWithResponse ¶
func (c *ClientWithResponses) ListRunAttachmentsRunsRunIdAttachmentsGetWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListRunAttachmentsRunsRunIdAttachmentsGetResponse, error)
ListRunAttachmentsRunsRunIdAttachmentsGetWithResponse List Run Attachments
The upload files attached to a run, for rendering attachment chips. Ordered to match the run's attached_file_ids.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /runs/{run_id}/attachments (the `ListRunAttachmentsRunsRunIdAttachmentsGet` operationId).
func (*ClientWithResponses) ListRunsRunsGetWithResponse ¶
func (c *ClientWithResponses) ListRunsRunsGetWithResponse(ctx context.Context, params *ListRunsRunsGetParams, reqEditors ...RequestEditorFn) (*ListRunsRunsGetResponse, error)
ListRunsRunsGetWithResponse List Runs
Returns a wrapper object for the known response body format(s).
Corresponds with GET /runs (the `ListRunsRunsGet` operationId).
func (*ClientWithResponses) ListSessionQueueSessionsSessionIdQueueGetWithResponse ¶
func (c *ClientWithResponses) ListSessionQueueSessionsSessionIdQueueGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListSessionQueueSessionsSessionIdQueueGetResponse, error)
ListSessionQueueSessionsSessionIdQueueGetWithResponse List Session Queue
List open messages, recently delivered queued messages, and steering cutoffs.
Includes live dispatch claims so clients can restore an accepted queued message after a refresh without briefly losing its waiting state.
Consumed QUEUE rows are returned too, capped at the most recent _DELIVERED_QUEUE_HISTORY, plus up to _AGENCY_DELIVERED_QUEUE_HISTORY compact Agency choice and generation receipts so inbox state survives refresh. A message absorbed mid-run is announced by a `queued_input_injected` event carrying only its input id, so the chat has no other source for the text to render. The cap bounds this response because clients poll it while a run is active; a session with more delivered follow-ups than the cap renders its oldest injected bubbles without text.
The latest consumed interrupt bridges the primary-write/read-replica gap before its replacement run appears; clients discard it once that run is visible. Compact per-source cutoffs preserve every historical interrupted transcript boundary without returning every historical steering message and its attachments.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /sessions/{session_id}/queue (the `ListSessionQueueSessionsSessionIdQueueGet` operationId).
func (*ClientWithResponses) ListSessionsSessionsGetWithResponse ¶
func (c *ClientWithResponses) ListSessionsSessionsGetWithResponse(ctx context.Context, params *ListSessionsSessionsGetParams, reqEditors ...RequestEditorFn) (*ListSessionsSessionsGetResponse, error)
ListSessionsSessionsGetWithResponse List Sessions
List the project's V4 sessions — one row per session (its most recent run), most-recent first.
A session is a conversation: follow-up runs reuse the same public_session_id, so GET /api/v4/runs would list one row per RUN. This collapses to one row per SESSION directly in Postgres with DISTINCT ON, so a chatty session with 100 runs is still a single row (no scan amplification), and selects only the slim columns the session list needs — never the heavy per-run text/token/cost fields.
Keyset-paginated on the latest run's (created_at, id): pass `next_cursor` back as `cursor` to page. Offset/COUNT was dropped — it doesn't scale on projects with many sessions.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /sessions (the `ListSessionsSessionsGet` operationId).
func (*ClientWithResponses) ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetWithResponse ¶
func (c *ClientWithResponses) ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetWithResponse(ctx context.Context, workspaceId openapi_types.UUID, params *ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetParams, reqEditors ...RequestEditorFn) (*ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse, error)
ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetWithResponse List Workspace Files
List files the agent has produced for this workspace, paginated.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /workspaces/{workspace_id}/files (the `ListWorkspaceFilesWorkspacesWorkspaceIdFilesGet` operationId).
func (*ClientWithResponses) PurgeSessionSessionsSessionIdPurgePostWithResponse ¶
func (c *ClientWithResponses) PurgeSessionSessionsSessionIdPurgePostWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*PurgeSessionSessionsSessionIdPurgePostResponse, error)
PurgeSessionSessionsSessionIdPurgePostWithResponse Purge Session
Purge V4 session data; return 202 while active work or uploads defer deletion.
Redacts DB records and deletes S3 objects (bcode state, workspace files, recordings, downloads, staging uploads) for every run in the session. Same cleanup the ZDR cron performs, but on-demand; outstanding upload grants defer physical deletion. V4 analog of the V2 POST /sessions/{id}/purge. Surfaces shared with a still-live sibling run are deferred by the same guards the cron uses.
Returns a wrapper object for the known response body format(s).
Corresponds with POST /sessions/{session_id}/purge (the `PurgeSessionSessionsSessionIdPurgePost` operationId).
func (*ClientWithResponses) QueueSessionMessageSessionsSessionIdQueuePostWithBodyWithResponse ¶
func (c *ClientWithResponses) QueueSessionMessageSessionsSessionIdQueuePostWithBodyWithResponse(ctx context.Context, sessionId openapi_types.UUID, params *QueueSessionMessageSessionsSessionIdQueuePostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*QueueSessionMessageSessionsSessionIdQueuePostResponse, error)
QueueSessionMessageSessionsSessionIdQueuePostWithBodyWithResponse Queue Session Message
Send a message to a session. If the session is busy it waits on the queue and runs as the next turn; if idle it drains immediately.
`interrupt=true` cancels the session's active run so this message takes effect now instead of waiting for the current turn (no-op when the session is idle).
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sessions/{session_id}/queue (the `QueueSessionMessageSessionsSessionIdQueuePost` operationId).
func (*ClientWithResponses) QueueSessionMessageSessionsSessionIdQueuePostWithResponse ¶
func (c *ClientWithResponses) QueueSessionMessageSessionsSessionIdQueuePostWithResponse(ctx context.Context, sessionId openapi_types.UUID, params *QueueSessionMessageSessionsSessionIdQueuePostParams, body QueueSessionMessageSessionsSessionIdQueuePostJSONRequestBody, reqEditors ...RequestEditorFn) (*QueueSessionMessageSessionsSessionIdQueuePostResponse, error)
QueueSessionMessageSessionsSessionIdQueuePostWithResponse Queue Session Message
Send a message to a session. If the session is busy it waits on the queue and runs as the next turn; if idle it drains immediately.
`interrupt=true` cancels the session's active run so this message takes effect now instead of waiting for the current turn (no-op when the session is idle).
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /sessions/{session_id}/queue (the `QueueSessionMessageSessionsSessionIdQueuePost` operationId).
func (*ClientWithResponses) UpdateBrowserSessionBrowsersSessionIdPatchWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateBrowserSessionBrowsersSessionIdPatchWithBodyWithResponse(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBrowserSessionBrowsersSessionIdPatchResponse, error)
UpdateBrowserSessionBrowsersSessionIdPatchWithBodyWithResponse Update Browser Session
Stop a browser session.
**Refund:** When you stop a session, unused time is automatically refunded. If the session ran for less than 1 hour, you'll receive a proportional refund. Billing is ceil to the nearest minute (minimum 1 minute).
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /browsers/{session_id} (the `UpdateBrowserSessionBrowsersSessionIdPatch` operationId).
func (*ClientWithResponses) UpdateBrowserSessionBrowsersSessionIdPatchWithResponse ¶
func (c *ClientWithResponses) UpdateBrowserSessionBrowsersSessionIdPatchWithResponse(ctx context.Context, sessionId openapi_types.UUID, body UpdateBrowserSessionBrowsersSessionIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBrowserSessionBrowsersSessionIdPatchResponse, error)
UpdateBrowserSessionBrowsersSessionIdPatchWithResponse Update Browser Session
Stop a browser session.
**Refund:** When you stop a session, unused time is automatically refunded. If the session ran for less than 1 hour, you'll receive a proportional refund. Billing is ceil to the nearest minute (minimum 1 minute).
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /browsers/{session_id} (the `UpdateBrowserSessionBrowsersSessionIdPatch` operationId).
func (*ClientWithResponses) UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithBodyWithResponse ¶ added in v0.1.5
func (c *ClientWithResponses) UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithBodyWithResponse(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse, error)
UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithBodyWithResponse Update Browser Proxy
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /browsers/{session_id}/proxy (the `UpdateBrowserSessionProxyBrowsersSessionIdProxyPatch` operationId).
func (*ClientWithResponses) UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithResponse ¶ added in v0.1.5
func (c *ClientWithResponses) UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithResponse(ctx context.Context, sessionId openapi_types.UUID, body UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse, error)
UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithResponse Update Browser Proxy
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /browsers/{session_id}/proxy (the `UpdateBrowserSessionProxyBrowsersSessionIdProxyPatch` operationId).
func (*ClientWithResponses) UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithBodyWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse, error)
UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithBodyWithResponse Update Network Policy
Replace each field that the request contains; a domain list replaces the whole list. Each update increases version by 1, and running browsers pick up the change within seconds.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /network-policies/{policy_id} (the `UpdateNetworkPolicyNetworkPoliciesPolicyIdPatch` operationId).
func (*ClientWithResponses) UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithResponse ¶ added in v0.2.0
func (c *ClientWithResponses) UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithResponse(ctx context.Context, policyId openapi_types.UUID, body UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse, error)
UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithResponse Update Network Policy
Replace each field that the request contains; a domain list replaces the whole list. Each update increases version by 1, and running browsers pick up the change within seconds.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /network-policies/{policy_id} (the `UpdateNetworkPolicyNetworkPoliciesPolicyIdPatch` operationId).
func (*ClientWithResponses) UpdateProfileProfilesProfileIdPatchWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateProfileProfilesProfileIdPatchWithBodyWithResponse(ctx context.Context, profileId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProfileProfilesProfileIdPatchResponse, error)
UpdateProfileProfilesProfileIdPatchWithBodyWithResponse Update Profile
Update a browser profile's information.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /profiles/{profile_id} (the `UpdateProfileProfilesProfileIdPatch` operationId).
func (*ClientWithResponses) UpdateProfileProfilesProfileIdPatchWithResponse ¶
func (c *ClientWithResponses) UpdateProfileProfilesProfileIdPatchWithResponse(ctx context.Context, profileId openapi_types.UUID, body UpdateProfileProfilesProfileIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProfileProfilesProfileIdPatchResponse, error)
UpdateProfileProfilesProfileIdPatchWithResponse Update Profile
Update a browser profile's information.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /profiles/{profile_id} (the `UpdateProfileProfilesProfileIdPatch` operationId).
func (*ClientWithResponses) UpdateSessionCostCapSessionsSessionIdCostCapPatchWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSessionCostCapSessionsSessionIdCostCapPatchWithBodyWithResponse(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse, error)
UpdateSessionCostCapSessionsSessionIdCostCapPatchWithBodyWithResponse Update Session Cost Cap
Replace the session budget without resetting spending or starting a run.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /sessions/{session_id}/cost-cap (the `UpdateSessionCostCapSessionsSessionIdCostCapPatch` operationId).
func (*ClientWithResponses) UpdateSessionCostCapSessionsSessionIdCostCapPatchWithResponse ¶
func (c *ClientWithResponses) UpdateSessionCostCapSessionsSessionIdCostCapPatchWithResponse(ctx context.Context, sessionId openapi_types.UUID, body UpdateSessionCostCapSessionsSessionIdCostCapPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse, error)
UpdateSessionCostCapSessionsSessionIdCostCapPatchWithResponse Update Session Cost Cap
Replace the session budget without resetting spending or starting a run.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /sessions/{session_id}/cost-cap (the `UpdateSessionCostCapSessionsSessionIdCostCapPatch` operationId).
func (*ClientWithResponses) UpdateSessionSessionsSessionIdPatchWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSessionSessionsSessionIdPatchWithBodyWithResponse(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSessionSessionsSessionIdPatchResponse, error)
UpdateSessionSessionsSessionIdPatchWithBodyWithResponse Update Session
Rename a session.
`session_title` is denormalized onto every run in the session (the session list reads the latest run), so a rename writes them all in one UPDATE. Null clears the name and the UI falls back to the opening task — it does NOT re-run title generation, which only fills rows where the title IS NULL and so would silently overwrite the clear.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /sessions/{session_id} (the `UpdateSessionSessionsSessionIdPatch` operationId).
func (*ClientWithResponses) UpdateSessionSessionsSessionIdPatchWithResponse ¶
func (c *ClientWithResponses) UpdateSessionSessionsSessionIdPatchWithResponse(ctx context.Context, sessionId openapi_types.UUID, body UpdateSessionSessionsSessionIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSessionSessionsSessionIdPatchResponse, error)
UpdateSessionSessionsSessionIdPatchWithResponse Update Session
Rename a session.
`session_title` is denormalized onto every run in the session (the session list reads the latest run), so a rename writes them all in one UPDATE. Null clears the name and the UI falls back to the opening task — it does NOT re-run title generation, which only fills rows where the title IS NULL and so would silently overwrite the clear.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /sessions/{session_id} (the `UpdateSessionSessionsSessionIdPatch` operationId).
func (*ClientWithResponses) UpdateSessionShareSessionsSessionIdSharePutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSessionShareSessionsSessionIdSharePutWithBodyWithResponse(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSessionShareSessionsSessionIdSharePutResponse, error)
UpdateSessionShareSessionsSessionIdSharePutWithBodyWithResponse Update Session Share
Toggle the session's share link on/off.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /sessions/{session_id}/share (the `UpdateSessionShareSessionsSessionIdSharePut` operationId).
func (*ClientWithResponses) UpdateSessionShareSessionsSessionIdSharePutWithResponse ¶
func (c *ClientWithResponses) UpdateSessionShareSessionsSessionIdSharePutWithResponse(ctx context.Context, sessionId openapi_types.UUID, body UpdateSessionShareSessionsSessionIdSharePutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSessionShareSessionsSessionIdSharePutResponse, error)
UpdateSessionShareSessionsSessionIdSharePutWithResponse Update Session Share
Toggle the session's share link on/off.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PUT /sessions/{session_id}/share (the `UpdateSessionShareSessionsSessionIdSharePut` operationId).
func (*ClientWithResponses) UpdateWorkspaceWorkspacesWorkspaceIdPatchWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateWorkspaceWorkspacesWorkspaceIdPatchWithBodyWithResponse(ctx context.Context, workspaceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse, error)
UpdateWorkspaceWorkspacesWorkspaceIdPatchWithBodyWithResponse Update Workspace
Rename a workspace. Explicit null clears the name; omission is a no-op.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /workspaces/{workspace_id} (the `UpdateWorkspaceWorkspacesWorkspaceIdPatch` operationId).
func (*ClientWithResponses) UpdateWorkspaceWorkspacesWorkspaceIdPatchWithResponse ¶
func (c *ClientWithResponses) UpdateWorkspaceWorkspacesWorkspaceIdPatchWithResponse(ctx context.Context, workspaceId openapi_types.UUID, body UpdateWorkspaceWorkspacesWorkspaceIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse, error)
UpdateWorkspaceWorkspacesWorkspaceIdPatchWithResponse Update Workspace
Rename a workspace. Explicit null clears the name; omission is a no-op.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with PATCH /workspaces/{workspace_id} (the `UpdateWorkspaceWorkspacesWorkspaceIdPatch` operationId).
func (*ClientWithResponses) UploadExtensionExtensionsPostWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadExtensionExtensionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadExtensionExtensionsPostResponse, error)
UploadExtensionExtensionsPostWithBodyWithResponse Upload Extension
Upload a Manifest V3 extension as a ZIP file with manifest.json at its root.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /extensions (the `UploadExtensionExtensionsPost` operationId).
func (*ClientWithResponses) UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithBodyWithResponse(ctx context.Context, workspaceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse, error)
UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithBodyWithResponse Upload Workspace Files
Presigned PUT URLs for input files, placed under “uploads/“ in the workspace. The agent pulls them in at the start of every run. URLs are pinned to the declared Content-Type and exact Content-Length.
Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /workspaces/{workspace_id}/files/upload (the `UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPost` operationId).
func (*ClientWithResponses) UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithResponse ¶
func (c *ClientWithResponses) UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithResponse(ctx context.Context, workspaceId openapi_types.UUID, body UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostJSONRequestBody, reqEditors ...RequestEditorFn) (*UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse, error)
UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithResponse Upload Workspace Files
Presigned PUT URLs for input files, placed under “uploads/“ in the workspace. The agent pulls them in at the start of every run. URLs are pinned to the declared Content-Type and exact Content-Length.
Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
Corresponds with POST /workspaces/{workspace_id}/files/upload (the `UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPost` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ListBrowserSessionsBrowsersGetWithResponse List Browser Sessions
//
// Get paginated list of browser sessions with optional status filtering.
//
// List responses intentionally omit per-session presigned recording URLs
// (`recording_url` is always `null` here). Each recording URL requires a
// synchronous boto3 SigV4 signing call (plus an S3 HEAD) that holds the GIL
// and blocks the event loop. With page_size up to the max this CPU-pegs the
// worker and starves the DB pool, cascading into pool exhaustion across the
// fleet. Clients should fetch the recording URL on demand via
// `GET /browsers/{session_id}`, which signs exactly one URL for a single
// session. Mirrors the v3 sessions list fix (ENG-4904, PR #4621).
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /browsers (the `ListBrowserSessionsBrowsersGet` operationId).
ListBrowserSessionsBrowsersGetWithResponse(ctx context.Context, params *ListBrowserSessionsBrowsersGetParams, reqEditors ...RequestEditorFn) (*ListBrowserSessionsBrowsersGetResponse, error)
// CreateBrowserSessionBrowsersPostWithBodyWithResponse Create Browser Session
//
// Create a new browser session.
//
// **Pricing:** Browser sessions are charged per browser-hour at your account rate, shown on your billing page.
//
// The full rate is charged upfront when the session starts.
// When you stop the session, any unused time is automatically refunded proportionally.
//
// Billing is rounded up to the minute (minimum 1 minute).
// For example, if you stop a session after 30 minutes, you'll be refunded half the charged amount.
//
// **Session Limits:**
// - All users: Up to 4 hours per session
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /browsers (the `CreateBrowserSessionBrowsersPost` operationId).
CreateBrowserSessionBrowsersPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBrowserSessionBrowsersPostResponse, error)
// CreateBrowserSessionBrowsersPostWithResponse Create Browser Session
//
// Create a new browser session.
//
// **Pricing:** Browser sessions are charged per browser-hour at your account rate, shown on your billing page.
//
// The full rate is charged upfront when the session starts.
// When you stop the session, any unused time is automatically refunded proportionally.
//
// Billing is rounded up to the minute (minimum 1 minute).
// For example, if you stop a session after 30 minutes, you'll be refunded half the charged amount.
//
// **Session Limits:**
// - All users: Up to 4 hours per session
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /browsers (the `CreateBrowserSessionBrowsersPost` operationId).
CreateBrowserSessionBrowsersPostWithResponse(ctx context.Context, body CreateBrowserSessionBrowsersPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBrowserSessionBrowsersPostResponse, error)
// GetBrowserSessionBrowsersSessionIdGetWithResponse Get Browser Session
//
// Get detailed browser session information including status and URLs.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /browsers/{session_id} (the `GetBrowserSessionBrowsersSessionIdGet` operationId).
GetBrowserSessionBrowsersSessionIdGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetBrowserSessionBrowsersSessionIdGetResponse, error)
// UpdateBrowserSessionBrowsersSessionIdPatchWithBodyWithResponse Update Browser Session
//
// Stop a browser session.
//
// **Refund:** When you stop a session, unused time is automatically refunded.
// If the session ran for less than 1 hour, you'll receive a proportional refund.
// Billing is ceil to the nearest minute (minimum 1 minute).
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /browsers/{session_id} (the `UpdateBrowserSessionBrowsersSessionIdPatch` operationId).
UpdateBrowserSessionBrowsersSessionIdPatchWithBodyWithResponse(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBrowserSessionBrowsersSessionIdPatchResponse, error)
// UpdateBrowserSessionBrowsersSessionIdPatchWithResponse Update Browser Session
//
// Stop a browser session.
//
// **Refund:** When you stop a session, unused time is automatically refunded.
// If the session ran for less than 1 hour, you'll receive a proportional refund.
// Billing is ceil to the nearest minute (minimum 1 minute).
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /browsers/{session_id} (the `UpdateBrowserSessionBrowsersSessionIdPatch` operationId).
UpdateBrowserSessionBrowsersSessionIdPatchWithResponse(ctx context.Context, sessionId openapi_types.UUID, body UpdateBrowserSessionBrowsersSessionIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBrowserSessionBrowsersSessionIdPatchResponse, error)
// ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetWithResponse List Browser Session Downloads
//
// List files the browser downloaded to S3 during the session.
//
// Pass “includeUrls=true“ to receive presigned download URLs (15 min expiry) inline.
// Files are stored at “downloads/projects/{project_id}/sessions/{session_id}/“ in
// the private bucket.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /browsers/{session_id}/downloads (the `ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGet` operationId).
ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, params *ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetParams, reqEditors ...RequestEditorFn) (*ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse, error)
// GetBrowserSessionProxyBrowsersSessionIdProxyGetWithResponse Get Browser Proxy
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /browsers/{session_id}/proxy (the `GetBrowserSessionProxyBrowsersSessionIdProxyGet` operationId).
GetBrowserSessionProxyBrowsersSessionIdProxyGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse, error)
// UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithBodyWithResponse Update Browser Proxy
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /browsers/{session_id}/proxy (the `UpdateBrowserSessionProxyBrowsersSessionIdProxyPatch` operationId).
UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithBodyWithResponse(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse, error)
// UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithResponse Update Browser Proxy
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /browsers/{session_id}/proxy (the `UpdateBrowserSessionProxyBrowsersSessionIdProxyPatch` operationId).
UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithResponse(ctx context.Context, sessionId openapi_types.UUID, body UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse, error)
// ListExtensionsExtensionsGetWithResponse List Extensions
//
// List the extensions uploaded to this project.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /extensions (the `ListExtensionsExtensionsGet` operationId).
ListExtensionsExtensionsGetWithResponse(ctx context.Context, params *ListExtensionsExtensionsGetParams, reqEditors ...RequestEditorFn) (*ListExtensionsExtensionsGetResponse, error)
// UploadExtensionExtensionsPostWithBodyWithResponse Upload Extension
//
// Upload a Manifest V3 extension as a ZIP file with manifest.json at its root.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /extensions (the `UploadExtensionExtensionsPost` operationId).
UploadExtensionExtensionsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadExtensionExtensionsPostResponse, error)
// DeleteExtensionExtensionsExtensionIdDeleteWithResponse Delete Extension
//
// Permanently delete an extension without affecting running browsers.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /extensions/{extension_id} (the `DeleteExtensionExtensionsExtensionIdDelete` operationId).
DeleteExtensionExtensionsExtensionIdDeleteWithResponse(ctx context.Context, extensionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteExtensionExtensionsExtensionIdDeleteResponse, error)
// GetExtensionExtensionsExtensionIdGetWithResponse Get Extension
//
// Get an uploaded extension by its ID.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /extensions/{extension_id} (the `GetExtensionExtensionsExtensionIdGet` operationId).
GetExtensionExtensionsExtensionIdGetWithResponse(ctx context.Context, extensionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetExtensionExtensionsExtensionIdGetResponse, error)
// ListIntegrationsIntegrationsGetWithResponse List Integrations
//
// List available integrations with this project's connection status.
//
// `is_connected` is resolved per integration, so a client can render the whole
// catalogue and the connected subset from this one call. `connected_only` is
// what a "my integrations" view reads — including on a restricted project,
// which cannot connect anything but can still remove what it already has.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /integrations (the `ListIntegrationsIntegrationsGet` operationId).
ListIntegrationsIntegrationsGetWithResponse(ctx context.Context, params *ListIntegrationsIntegrationsGetParams, reqEditors ...RequestEditorFn) (*ListIntegrationsIntegrationsGetResponse, error)
// ListCategoriesIntegrationsCategoriesGetWithResponse List Categories
//
// Get all integration categories, for filtering the list above.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /integrations/categories (the `ListCategoriesIntegrationsCategoriesGet` operationId).
ListCategoriesIntegrationsCategoriesGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCategoriesIntegrationsCategoriesGetResponse, error)
// DisconnectIntegrationIntegrationsProviderDeleteWithResponse Disconnect Integration
//
// Disconnect an integration for this project.
//
// Deliberately NOT gated like `authorize` above: a restricted project must
// still be able to tear down a connection it already has.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /integrations/{provider} (the `DisconnectIntegrationIntegrationsProviderDelete` operationId).
DisconnectIntegrationIntegrationsProviderDeleteWithResponse(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*DisconnectIntegrationIntegrationsProviderDeleteResponse, error)
// AuthorizeIntegrationIntegrationsProviderAuthorizePostWithResponse Authorize Integration
//
// Get the OAuth redirect URL for connecting an integration.
//
// The client opens the returned URL in a web auth session and polls
// `/integrations/{provider}/status` once the flow lands back on the callback
// path. The URL is Composio-hosted; no redirect URI is registered per client.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /integrations/{provider}/authorize (the `AuthorizeIntegrationIntegrationsProviderAuthorizePost` operationId).
AuthorizeIntegrationIntegrationsProviderAuthorizePostWithResponse(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*AuthorizeIntegrationIntegrationsProviderAuthorizePostResponse, error)
// GetConnectionStatusIntegrationsProviderStatusGetWithResponse Get Connection Status
//
// Check whether this project has connected a specific provider.
//
// Poll this after opening the authorize URL to learn when OAuth completed.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /integrations/{provider}/status (the `GetConnectionStatusIntegrationsProviderStatusGet` operationId).
GetConnectionStatusIntegrationsProviderStatusGetWithResponse(ctx context.Context, provider string, reqEditors ...RequestEditorFn) (*GetConnectionStatusIntegrationsProviderStatusGetResponse, error)
// ListNetworkPoliciesNetworkPoliciesGetWithResponse List Network Policies
//
// Get a paginated list of the project's network policies, newest first.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /network-policies (the `ListNetworkPoliciesNetworkPoliciesGet` operationId).
ListNetworkPoliciesNetworkPoliciesGetWithResponse(ctx context.Context, params *ListNetworkPoliciesNetworkPoliciesGetParams, reqEditors ...RequestEditorFn) (*ListNetworkPoliciesNetworkPoliciesGetResponse, error)
// CreateNetworkPolicyNetworkPoliciesPostWithBodyWithResponse Create Network Policy
//
// Create a network policy that allows or blocks domains for the browsers that reference it with networkPolicyId.
//
// A domain such as `example.com` matches the domain and all of its subdomains, and the most specific entry wins. Domains are trimmed, lower-cased and converted to punycode, a trailing dot and a leading `*.` are removed, and duplicates are dropped. URLs, paths, ports, IP addresses, other wildcards and a domain in both lists are rejected. A policy has at most 10,000 domains, and a project has at most 100 policies.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /network-policies (the `CreateNetworkPolicyNetworkPoliciesPost` operationId).
CreateNetworkPolicyNetworkPoliciesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateNetworkPolicyNetworkPoliciesPostResponse, error)
// CreateNetworkPolicyNetworkPoliciesPostWithResponse Create Network Policy
//
// Create a network policy that allows or blocks domains for the browsers that reference it with networkPolicyId.
//
// A domain such as `example.com` matches the domain and all of its subdomains, and the most specific entry wins. Domains are trimmed, lower-cased and converted to punycode, a trailing dot and a leading `*.` are removed, and duplicates are dropped. URLs, paths, ports, IP addresses, other wildcards and a domain in both lists are rejected. A policy has at most 10,000 domains, and a project has at most 100 policies.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /network-policies (the `CreateNetworkPolicyNetworkPoliciesPost` operationId).
CreateNetworkPolicyNetworkPoliciesPostWithResponse(ctx context.Context, body CreateNetworkPolicyNetworkPoliciesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateNetworkPolicyNetworkPoliciesPostResponse, error)
// DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteWithResponse Delete Network Policy
//
// Delete a network policy. Browsers that use it continue without a customer network policy.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /network-policies/{policy_id} (the `DeleteNetworkPolicyNetworkPoliciesPolicyIdDelete` operationId).
DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse, error)
// GetNetworkPolicyNetworkPoliciesPolicyIdGetWithResponse Get Network Policy
//
// Get a network policy.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /network-policies/{policy_id} (the `GetNetworkPolicyNetworkPoliciesPolicyIdGet` operationId).
GetNetworkPolicyNetworkPoliciesPolicyIdGetWithResponse(ctx context.Context, policyId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse, error)
// UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithBodyWithResponse Update Network Policy
//
// Replace each field that the request contains; a domain list replaces the whole list. Each update increases version by 1, and running browsers pick up the change within seconds.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /network-policies/{policy_id} (the `UpdateNetworkPolicyNetworkPoliciesPolicyIdPatch` operationId).
UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithBodyWithResponse(ctx context.Context, policyId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse, error)
// UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithResponse Update Network Policy
//
// Replace each field that the request contains; a domain list replaces the whole list. Each update increases version by 1, and running browsers pick up the change within seconds.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /network-policies/{policy_id} (the `UpdateNetworkPolicyNetworkPoliciesPolicyIdPatch` operationId).
UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithResponse(ctx context.Context, policyId openapi_types.UUID, body UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse, error)
// ListProfilesProfilesGetWithResponse List Profiles
//
// Get paginated list of profiles.
//
// Use the `query` parameter to search profiles by name or user_id.
// This is useful when you have many profiles and need to find a specific user.
//
// Example: If you set `user_id` to your internal user identifier when creating profiles,
// you can later search for that user by passing their identifier as the `query` parameter.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /profiles (the `ListProfilesProfilesGet` operationId).
ListProfilesProfilesGetWithResponse(ctx context.Context, params *ListProfilesProfilesGetParams, reqEditors ...RequestEditorFn) (*ListProfilesProfilesGetResponse, error)
// CreateProfileProfilesPostWithBodyWithResponse Create Profile
//
// Profiles allow you to preserve the state of the browser between tasks.
//
// They are most commonly used to allow users to preserve the log-in state in the agent between tasks.
// You'd normally create one profile per user and then use it for all their tasks.
//
// You can set a `user_id` when creating a profile to associate it with a user in your system.
// This allows you to later search for the profile using the GET /profiles endpoint with a query parameter.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /profiles (the `CreateProfileProfilesPost` operationId).
CreateProfileProfilesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProfileProfilesPostResponse, error)
// CreateProfileProfilesPostWithResponse Create Profile
//
// Profiles allow you to preserve the state of the browser between tasks.
//
// They are most commonly used to allow users to preserve the log-in state in the agent between tasks.
// You'd normally create one profile per user and then use it for all their tasks.
//
// You can set a `user_id` when creating a profile to associate it with a user in your system.
// This allows you to later search for the profile using the GET /profiles endpoint with a query parameter.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /profiles (the `CreateProfileProfilesPost` operationId).
CreateProfileProfilesPostWithResponse(ctx context.Context, body CreateProfileProfilesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProfileProfilesPostResponse, error)
// DeleteBrowserProfileProfilesProfileIdDeleteWithResponse Delete Browser Profile
//
// Permanently delete a browser profile and its configuration.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /profiles/{profile_id} (the `DeleteBrowserProfileProfilesProfileIdDelete` operationId).
DeleteBrowserProfileProfilesProfileIdDeleteWithResponse(ctx context.Context, profileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteBrowserProfileProfilesProfileIdDeleteResponse, error)
// GetProfileProfilesProfileIdGetWithResponse Get Profile
//
// Get profile details.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /profiles/{profile_id} (the `GetProfileProfilesProfileIdGet` operationId).
GetProfileProfilesProfileIdGetWithResponse(ctx context.Context, profileId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetProfileProfilesProfileIdGetResponse, error)
// UpdateProfileProfilesProfileIdPatchWithBodyWithResponse Update Profile
//
// Update a browser profile's information.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /profiles/{profile_id} (the `UpdateProfileProfilesProfileIdPatch` operationId).
UpdateProfileProfilesProfileIdPatchWithBodyWithResponse(ctx context.Context, profileId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProfileProfilesProfileIdPatchResponse, error)
// UpdateProfileProfilesProfileIdPatchWithResponse Update Profile
//
// Update a browser profile's information.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /profiles/{profile_id} (the `UpdateProfileProfilesProfileIdPatch` operationId).
UpdateProfileProfilesProfileIdPatchWithResponse(ctx context.Context, profileId openapi_types.UUID, body UpdateProfileProfilesProfileIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProfileProfilesProfileIdPatchResponse, error)
// ListRunsRunsGetWithResponse List Runs
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /runs (the `ListRunsRunsGet` operationId).
ListRunsRunsGetWithResponse(ctx context.Context, params *ListRunsRunsGetParams, reqEditors ...RequestEditorFn) (*ListRunsRunsGetResponse, error)
// CreateRunRunsPostWithBodyWithResponse Create Run
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /runs (the `CreateRunRunsPost` operationId).
CreateRunRunsPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRunRunsPostResponse, error)
// CreateRunRunsPostWithResponse Create Run
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /runs (the `CreateRunRunsPost` operationId).
CreateRunRunsPostWithResponse(ctx context.Context, body CreateRunRunsPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRunRunsPostResponse, error)
// GetRunRunsRunIdGetWithResponse Get Run
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /runs/{run_id} (the `GetRunRunsRunIdGet` operationId).
GetRunRunsRunIdGetWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRunRunsRunIdGetResponse, error)
// ListRunAttachmentsRunsRunIdAttachmentsGetWithResponse List Run Attachments
//
// The upload files attached to a run, for rendering attachment chips.
// Ordered to match the run's attached_file_ids.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /runs/{run_id}/attachments (the `ListRunAttachmentsRunsRunIdAttachmentsGet` operationId).
ListRunAttachmentsRunsRunIdAttachmentsGetWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListRunAttachmentsRunsRunIdAttachmentsGetResponse, error)
// CancelRunRunsRunIdCancelPostWithResponse Cancel Run
//
// Cancel an in-flight run.
//
// Idempotent: a run already in a terminal state (completed / failed /
// cancelled) is returned as-is. Once cancelled, the gateway refuses
// every subsequent `chat_completions` call from the worker — so the
// project cannot be billed further regardless of whether the worker
// subprocess notices the cancel itself.
//
// The worker keeps running for at most one more bcode step
// (consuming no LLM tokens because CP 409s them) and then exits when
// bcode realizes the next tool call has no model behind it.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /runs/{run_id}/cancel (the `CancelRunRunsRunIdCancelPost` operationId).
CancelRunRunsRunIdCancelPostWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CancelRunRunsRunIdCancelPostResponse, error)
// GetRunEventsRunsRunIdEventsGetWithResponse Get Run Events
//
// Paginated event read. `after` is the event id cursor — clients
// doing periodic polls pass back the highest id they've seen to get only
// the delta. Default 0 returns from the start.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /runs/{run_id}/events (the `GetRunEventsRunsRunIdEventsGet` operationId).
GetRunEventsRunsRunIdEventsGetWithResponse(ctx context.Context, runId openapi_types.UUID, params *GetRunEventsRunsRunIdEventsGetParams, reqEditors ...RequestEditorFn) (*GetRunEventsRunsRunIdEventsGetResponse, error)
// GetRunStatusRunsRunIdStatusGetWithResponse Get Run Status
//
// Minimal status poll (see RunStatusResponse). POLL rate bucket: selects
// ONLY the status/project columns — a 2s poll never drags the task/result
// text (TOAST reads) that GET /runs/{id} pays. Poll until terminal, then
// fetch the full summary once.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /runs/{run_id}/status (the `GetRunStatusRunsRunIdStatusGet` operationId).
GetRunStatusRunsRunIdStatusGetWithResponse(ctx context.Context, runId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetRunStatusRunsRunIdStatusGetResponse, error)
// ListSessionsSessionsGetWithResponse List Sessions
//
// List the project's V4 sessions — one row per session (its most recent
// run), most-recent first.
//
// A session is a conversation: follow-up runs reuse the same
// public_session_id, so GET /api/v4/runs would list one row per RUN. This
// collapses to one row per SESSION directly in Postgres with DISTINCT ON, so a
// chatty session with 100 runs is still a single row (no scan amplification),
// and selects only the slim columns the session list needs — never the heavy
// per-run text/token/cost fields.
//
// Keyset-paginated on the latest run's (created_at, id): pass `next_cursor`
// back as `cursor` to page. Offset/COUNT was dropped — it doesn't scale on
// projects with many sessions.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /sessions (the `ListSessionsSessionsGet` operationId).
ListSessionsSessionsGetWithResponse(ctx context.Context, params *ListSessionsSessionsGetParams, reqEditors ...RequestEditorFn) (*ListSessionsSessionsGetResponse, error)
// DeleteSessionSessionsSessionIdDeleteWithResponse Delete Session
//
// Delete a session: it disappears from the session lists and can no longer
// be opened or continued.
//
// Soft delete (mirrors V2's `is_archived`): the runs, events and usage records
// stay in place so billing and analytics keep reconciling, and ZDR purge is the
// only thing that ever destroys V4 content. Idempotent — deleting twice is a
// no-op 204.
//
// An in-flight run is cancelled first, and pending queued messages are
// cancelled too; otherwise the drain would dispatch a follow-up run whose
// `session_archived_at` is NULL and resurrect the session. Cancel is forwarded
// to CP before anything is written (and outside the queue lock, per the
// enqueue path's ordering), so a CP failure (502) leaves the session visible
// rather than hiding a run that is still burning credits.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /sessions/{session_id} (the `DeleteSessionSessionsSessionIdDelete` operationId).
DeleteSessionSessionsSessionIdDeleteWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteSessionSessionsSessionIdDeleteResponse, error)
// GetSessionSessionsSessionIdGetWithResponse Get Session
//
// Session detail — the same slim shape as one GET /sessions row (its
// latest run). Doubles as the busy/idle poll for a conversation (POLL rate
// bucket): slim columns only, indexed public_session_id lookup, never the
// heavy result/token fields.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /sessions/{session_id} (the `GetSessionSessionsSessionIdGet` operationId).
GetSessionSessionsSessionIdGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSessionSessionsSessionIdGetResponse, error)
// UpdateSessionSessionsSessionIdPatchWithBodyWithResponse Update Session
//
// Rename a session.
//
// `session_title` is denormalized onto every run in the session (the session
// list reads the latest run), so a rename writes them all in one UPDATE. Null
// clears the name and the UI falls back to the opening task — it does NOT
// re-run title generation, which only fills rows where the title IS NULL and
// so would silently overwrite the clear.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /sessions/{session_id} (the `UpdateSessionSessionsSessionIdPatch` operationId).
UpdateSessionSessionsSessionIdPatchWithBodyWithResponse(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSessionSessionsSessionIdPatchResponse, error)
// UpdateSessionSessionsSessionIdPatchWithResponse Update Session
//
// Rename a session.
//
// `session_title` is denormalized onto every run in the session (the session
// list reads the latest run), so a rename writes them all in one UPDATE. Null
// clears the name and the UI falls back to the opening task — it does NOT
// re-run title generation, which only fills rows where the title IS NULL and
// so would silently overwrite the clear.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /sessions/{session_id} (the `UpdateSessionSessionsSessionIdPatch` operationId).
UpdateSessionSessionsSessionIdPatchWithResponse(ctx context.Context, sessionId openapi_types.UUID, body UpdateSessionSessionsSessionIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSessionSessionsSessionIdPatchResponse, error)
// CompactSessionSessionsSessionIdCompactPostWithResponse Compact Session Context (beta)
//
// Beta. Ask the session's running agent to summarize its context before its next model call. Returns 409 when the session has no running run or that run did not start with modelParams.context.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sessions/{session_id}/compact (the `CompactSessionSessionsSessionIdCompactPost` operationId).
CompactSessionSessionsSessionIdCompactPostWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CompactSessionSessionsSessionIdCompactPostResponse, error)
// GetSessionCostSessionsSessionIdCostGetWithResponse Get Session Cost
//
// Everything this session has cost so far, split by source.
//
// A run's `total_cost_usd` is its LLM (and web-search) charge only. Browser
// time and proxy bandwidth are metered against the session's browser, which
// outlives any one run — so this is the endpoint for the session's full cost.
//
// These are recorded usage costs, not an invoice total: promotional waivers
// and credits are applied downstream in billing, so a session run under a
// promotion can report cost here that was never charged.
//
// Costs keep moving after a run reports `finished`: LLM calls settle up to
// about 90 seconds later, and the browser accrues time and proxy traffic
// until it stops.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /sessions/{session_id}/cost (the `GetSessionCostSessionsSessionIdCostGet` operationId).
GetSessionCostSessionsSessionIdCostGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSessionCostSessionsSessionIdCostGetResponse, error)
// GetSessionCostCapSessionsSessionIdCostCapGetWithResponse Get Session Cost Cap
//
// Read committed budget spending from the primary database.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /sessions/{session_id}/cost-cap (the `GetSessionCostCapSessionsSessionIdCostCapGet` operationId).
GetSessionCostCapSessionsSessionIdCostCapGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSessionCostCapSessionsSessionIdCostCapGetResponse, error)
// UpdateSessionCostCapSessionsSessionIdCostCapPatchWithBodyWithResponse Update Session Cost Cap
//
// Replace the session budget without resetting spending or starting a run.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /sessions/{session_id}/cost-cap (the `UpdateSessionCostCapSessionsSessionIdCostCapPatch` operationId).
UpdateSessionCostCapSessionsSessionIdCostCapPatchWithBodyWithResponse(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse, error)
// UpdateSessionCostCapSessionsSessionIdCostCapPatchWithResponse Update Session Cost Cap
//
// Replace the session budget without resetting spending or starting a run.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /sessions/{session_id}/cost-cap (the `UpdateSessionCostCapSessionsSessionIdCostCapPatch` operationId).
UpdateSessionCostCapSessionsSessionIdCostCapPatchWithResponse(ctx context.Context, sessionId openapi_types.UUID, body UpdateSessionCostCapSessionsSessionIdCostCapPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse, error)
// PurgeSessionSessionsSessionIdPurgePostWithResponse Purge Session
//
// Purge V4 session data; return 202 while active work or uploads defer deletion.
//
// Redacts DB records and deletes S3 objects (bcode state, workspace files,
// recordings, downloads, staging uploads) for every run in the session. Same
// cleanup the ZDR cron performs, but on-demand; outstanding upload grants defer physical deletion. V4
// analog of the V2 POST /sessions/{id}/purge. Surfaces shared with a still-live
// sibling run are deferred by the same guards the cron uses.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sessions/{session_id}/purge (the `PurgeSessionSessionsSessionIdPurgePost` operationId).
PurgeSessionSessionsSessionIdPurgePostWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*PurgeSessionSessionsSessionIdPurgePostResponse, error)
// ListSessionQueueSessionsSessionIdQueueGetWithResponse List Session Queue
//
// List open messages, recently delivered queued messages, and steering cutoffs.
//
// Includes live dispatch claims so clients can restore an accepted queued
// message after a refresh without briefly losing its waiting state.
//
// Consumed QUEUE rows are returned too, capped at the most recent
// _DELIVERED_QUEUE_HISTORY, plus up to _AGENCY_DELIVERED_QUEUE_HISTORY compact
// Agency choice and generation receipts so inbox state survives refresh. A message absorbed mid-run is announced by a
// `queued_input_injected` event carrying only its input id, so the chat has no
// other source for the text to render. The cap bounds this response because
// clients poll it while a run is active; a session with more delivered
// follow-ups than the cap renders its oldest injected bubbles without text.
//
// The latest consumed interrupt bridges the primary-write/read-replica gap
// before its replacement run appears; clients discard it once that run is
// visible. Compact per-source cutoffs preserve every historical interrupted
// transcript boundary without returning every historical steering message and
// its attachments.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /sessions/{session_id}/queue (the `ListSessionQueueSessionsSessionIdQueueGet` operationId).
ListSessionQueueSessionsSessionIdQueueGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListSessionQueueSessionsSessionIdQueueGetResponse, error)
// QueueSessionMessageSessionsSessionIdQueuePostWithBodyWithResponse Queue Session Message
//
// Send a message to a session. If the session is busy it waits on the queue
// and runs as the next turn; if idle it drains immediately.
//
// `interrupt=true` cancels the session's active run so this message takes effect
// now instead of waiting for the current turn (no-op when the session is idle).
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sessions/{session_id}/queue (the `QueueSessionMessageSessionsSessionIdQueuePost` operationId).
QueueSessionMessageSessionsSessionIdQueuePostWithBodyWithResponse(ctx context.Context, sessionId openapi_types.UUID, params *QueueSessionMessageSessionsSessionIdQueuePostParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*QueueSessionMessageSessionsSessionIdQueuePostResponse, error)
// QueueSessionMessageSessionsSessionIdQueuePostWithResponse Queue Session Message
//
// Send a message to a session. If the session is busy it waits on the queue
// and runs as the next turn; if idle it drains immediately.
//
// `interrupt=true` cancels the session's active run so this message takes effect
// now instead of waiting for the current turn (no-op when the session is idle).
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sessions/{session_id}/queue (the `QueueSessionMessageSessionsSessionIdQueuePost` operationId).
QueueSessionMessageSessionsSessionIdQueuePostWithResponse(ctx context.Context, sessionId openapi_types.UUID, params *QueueSessionMessageSessionsSessionIdQueuePostParams, body QueueSessionMessageSessionsSessionIdQueuePostJSONRequestBody, reqEditors ...RequestEditorFn) (*QueueSessionMessageSessionsSessionIdQueuePostResponse, error)
// CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteWithResponse Cancel Queued Message
//
// Remove a still-pending queued message; 409 once the drain has claimed it.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /sessions/{session_id}/queue/{message_id} (the `CancelQueuedMessageSessionsSessionIdQueueMessageIdDelete` operationId).
CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteWithResponse(ctx context.Context, sessionId openapi_types.UUID, messageId int, reqEditors ...RequestEditorFn) (*CancelQueuedMessageSessionsSessionIdQueueMessageIdDeleteResponse, error)
// GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetWithResponse Get Session Queue Message
//
// Read one queued message including terminal handoff states.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /sessions/{session_id}/queue/{message_id} (the `GetSessionQueueMessageSessionsSessionIdQueueMessageIdGet` operationId).
GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, messageId int, reqEditors ...RequestEditorFn) (*GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse, error)
//
// The session's share link (active or not); null if never shared.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /sessions/{session_id}/share (the `GetSessionShareSessionsSessionIdShareGet` operationId).
GetSessionShareSessionsSessionIdShareGetWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSessionShareSessionsSessionIdShareGetResponse, error)
//
// Enable sharing: reactivates the session's existing share (stable token,
// so a link that was toggled off keeps working when re-enabled) or creates
// one on first use.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /sessions/{session_id}/share (the `CreateSessionShareSessionsSessionIdSharePost` operationId).
CreateSessionShareSessionsSessionIdSharePostWithResponse(ctx context.Context, sessionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*CreateSessionShareSessionsSessionIdSharePostResponse, error)
//
// Toggle the session's share link on/off.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /sessions/{session_id}/share (the `UpdateSessionShareSessionsSessionIdSharePut` operationId).
UpdateSessionShareSessionsSessionIdSharePutWithBodyWithResponse(ctx context.Context, sessionId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSessionShareSessionsSessionIdSharePutResponse, error)
//
// Toggle the session's share link on/off.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PUT /sessions/{session_id}/share (the `UpdateSessionShareSessionsSessionIdSharePut` operationId).
UpdateSessionShareSessionsSessionIdSharePutWithResponse(ctx context.Context, sessionId openapi_types.UUID, body UpdateSessionShareSessionsSessionIdSharePutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSessionShareSessionsSessionIdSharePutResponse, error)
// GetStripeLinkStatusStripeLinkGetWithResponse Get Stripe Link Status
//
// The project's active Stripe Link wallet connection, if any.
//
// Read-only: connecting happens in the cloud UI. A run opts into paying with
// it by passing `connection_id` as RunCreateRequest.stripe_link_connection_id,
// which is validated again there against this same project.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /stripe-link (the `GetStripeLinkStatusStripeLinkGet` operationId).
GetStripeLinkStatusStripeLinkGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStripeLinkStatusStripeLinkGetResponse, error)
// CreateWorkspaceWorkspacesPostWithBodyWithResponse Create Workspace
//
// Mint an empty workspace. Lets callers upload input files BEFORE the
// first run exists; pass the id as workspaceId on POST /runs.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /workspaces (the `CreateWorkspaceWorkspacesPost` operationId).
CreateWorkspaceWorkspacesPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkspaceWorkspacesPostResponse, error)
// CreateWorkspaceWorkspacesPostWithResponse Create Workspace
//
// Mint an empty workspace. Lets callers upload input files BEFORE the
// first run exists; pass the id as workspaceId on POST /runs.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /workspaces (the `CreateWorkspaceWorkspacesPost` operationId).
CreateWorkspaceWorkspacesPostWithResponse(ctx context.Context, body CreateWorkspaceWorkspacesPostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkspaceWorkspacesPostResponse, error)
// DeleteWorkspaceWorkspacesWorkspaceIdDeleteWithResponse Delete Workspace
//
// Archive a workspace. Idempotent for missing, archived, and foreign ids.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /workspaces/{workspace_id} (the `DeleteWorkspaceWorkspacesWorkspaceIdDelete` operationId).
DeleteWorkspaceWorkspacesWorkspaceIdDeleteWithResponse(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse, error)
// GetWorkspaceWorkspacesWorkspaceIdGetWithResponse Get Workspace
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /workspaces/{workspace_id} (the `GetWorkspaceWorkspacesWorkspaceIdGet` operationId).
GetWorkspaceWorkspacesWorkspaceIdGetWithResponse(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetWorkspaceWorkspacesWorkspaceIdGetResponse, error)
// UpdateWorkspaceWorkspacesWorkspaceIdPatchWithBodyWithResponse Update Workspace
//
// Rename a workspace. Explicit null clears the name; omission is a no-op.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /workspaces/{workspace_id} (the `UpdateWorkspaceWorkspacesWorkspaceIdPatch` operationId).
UpdateWorkspaceWorkspacesWorkspaceIdPatchWithBodyWithResponse(ctx context.Context, workspaceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse, error)
// UpdateWorkspaceWorkspacesWorkspaceIdPatchWithResponse Update Workspace
//
// Rename a workspace. Explicit null clears the name; omission is a no-op.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with PATCH /workspaces/{workspace_id} (the `UpdateWorkspaceWorkspacesWorkspaceIdPatch` operationId).
UpdateWorkspaceWorkspacesWorkspaceIdPatchWithResponse(ctx context.Context, workspaceId openapi_types.UUID, body UpdateWorkspaceWorkspacesWorkspaceIdPatchJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse, error)
// DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteWithResponse Delete Workspace File
//
// Delete one exact path from a workspace and remove matching upload metadata.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with DELETE /workspaces/{workspace_id}/files (the `DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDelete` operationId).
DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteWithResponse(ctx context.Context, workspaceId openapi_types.UUID, params *DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteParams, reqEditors ...RequestEditorFn) (*DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse, error)
// ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetWithResponse List Workspace Files
//
// List files the agent has produced for this workspace, paginated.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /workspaces/{workspace_id}/files (the `ListWorkspaceFilesWorkspacesWorkspaceIdFilesGet` operationId).
ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetWithResponse(ctx context.Context, workspaceId openapi_types.UUID, params *ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetParams, reqEditors ...RequestEditorFn) (*ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse, error)
// UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithBodyWithResponse Upload Workspace Files
//
// Presigned PUT URLs for input files, placed under “uploads/“ in the
// workspace. The agent pulls them in at the start of every run. URLs are
// pinned to the declared Content-Type and exact Content-Length.
//
// Takes any type of body and a specified content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /workspaces/{workspace_id}/files/upload (the `UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPost` operationId).
UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithBodyWithResponse(ctx context.Context, workspaceId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse, error)
// UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithResponse Upload Workspace Files
//
// Presigned PUT URLs for input files, placed under “uploads/“ in the
// workspace. The agent pulls them in at the start of every run. URLs are
// pinned to the declared Content-Type and exact Content-Length.
//
// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
//
// Corresponds with POST /workspaces/{workspace_id}/files/upload (the `UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPost` operationId).
UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithResponse(ctx context.Context, workspaceId openapi_types.UUID, body UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostJSONRequestBody, reqEditors ...RequestEditorFn) (*UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse, error)
// GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetWithResponse Get Workspace Size
//
// Return current storage usage and the plan-specific workspace quota.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /workspaces/{workspace_id}/size (the `GetWorkspaceSizeWorkspacesWorkspaceIdSizeGet` operationId).
GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetWithResponse(ctx context.Context, workspaceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CompactSessionSessionsSessionIdCompactPostResponse ¶ added in v0.2.0
type CompactSessionSessionsSessionIdCompactPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SessionCompactResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseCompactSessionSessionsSessionIdCompactPostResponse ¶ added in v0.2.0
func ParseCompactSessionSessionsSessionIdCompactPostResponse(rsp *http.Response) (*CompactSessionSessionsSessionIdCompactPostResponse, error)
ParseCompactSessionSessionsSessionIdCompactPostResponse parses an HTTP response from a CompactSessionSessionsSessionIdCompactPostWithResponse call
func (CompactSessionSessionsSessionIdCompactPostResponse) ContentType ¶ added in v0.2.0
func (r CompactSessionSessionsSessionIdCompactPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CompactSessionSessionsSessionIdCompactPostResponse) GetBody ¶ added in v0.2.0
func (r CompactSessionSessionsSessionIdCompactPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CompactSessionSessionsSessionIdCompactPostResponse) GetJSON200 ¶ added in v0.2.0
func (r CompactSessionSessionsSessionIdCompactPostResponse) GetJSON200() *SessionCompactResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CompactSessionSessionsSessionIdCompactPostResponse) GetJSON422 ¶ added in v0.2.0
func (r CompactSessionSessionsSessionIdCompactPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CompactSessionSessionsSessionIdCompactPostResponse) Status ¶ added in v0.2.0
func (r CompactSessionSessionsSessionIdCompactPostResponse) Status() string
Status returns HTTPResponse.Status
func (CompactSessionSessionsSessionIdCompactPostResponse) StatusCode ¶ added in v0.2.0
func (r CompactSessionSessionsSessionIdCompactPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectionStatusResponse ¶
type ConnectionStatusResponse struct {
IsConnected bool `json:"is_connected"`
Provider string `json:"provider"`
}
ConnectionStatusResponse Response for connection status check.
type CreateBrowserSessionBrowsersPostJSONRequestBody ¶
type CreateBrowserSessionBrowsersPostJSONRequestBody = CreateBrowserSessionRequest
CreateBrowserSessionBrowsersPostJSONRequestBody defines body for CreateBrowserSessionBrowsersPost for application/json ContentType.
type CreateBrowserSessionBrowsersPostResponse ¶
type CreateBrowserSessionBrowsersPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *BrowserSessionItemView
// JSON402 the response for an HTTP 402 `application/json` response
JSON402 *APIKeySpendLimitError
// JSON403 the response for an HTTP 403 `application/json` response
JSON403 *SessionTimeoutLimitExceededError
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ProfileNotFoundError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ValidationError
// JSON429 the response for an HTTP 429 `application/json` response
JSON429 *TooManyConcurrentActiveSessionsError
}
func ParseCreateBrowserSessionBrowsersPostResponse ¶
func ParseCreateBrowserSessionBrowsersPostResponse(rsp *http.Response) (*CreateBrowserSessionBrowsersPostResponse, error)
ParseCreateBrowserSessionBrowsersPostResponse parses an HTTP response from a CreateBrowserSessionBrowsersPostWithResponse call
func (CreateBrowserSessionBrowsersPostResponse) ContentType ¶
func (r CreateBrowserSessionBrowsersPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateBrowserSessionBrowsersPostResponse) GetBody ¶
func (r CreateBrowserSessionBrowsersPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateBrowserSessionBrowsersPostResponse) GetJSON201 ¶
func (r CreateBrowserSessionBrowsersPostResponse) GetJSON201() *BrowserSessionItemView
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateBrowserSessionBrowsersPostResponse) GetJSON402 ¶
func (r CreateBrowserSessionBrowsersPostResponse) GetJSON402() *APIKeySpendLimitError
GetJSON402 returns the response for an HTTP 402 `application/json` response
func (CreateBrowserSessionBrowsersPostResponse) GetJSON403 ¶
func (r CreateBrowserSessionBrowsersPostResponse) GetJSON403() *SessionTimeoutLimitExceededError
GetJSON403 returns the response for an HTTP 403 `application/json` response
func (CreateBrowserSessionBrowsersPostResponse) GetJSON404 ¶
func (r CreateBrowserSessionBrowsersPostResponse) GetJSON404() *ProfileNotFoundError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (CreateBrowserSessionBrowsersPostResponse) GetJSON422 ¶
func (r CreateBrowserSessionBrowsersPostResponse) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateBrowserSessionBrowsersPostResponse) GetJSON429 ¶
func (r CreateBrowserSessionBrowsersPostResponse) GetJSON429() *TooManyConcurrentActiveSessionsError
GetJSON429 returns the response for an HTTP 429 `application/json` response
func (CreateBrowserSessionBrowsersPostResponse) Status ¶
func (r CreateBrowserSessionBrowsersPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateBrowserSessionBrowsersPostResponse) StatusCode ¶
func (r CreateBrowserSessionBrowsersPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateBrowserSessionRequest ¶
type CreateBrowserSessionRequest struct {
// AllowResizing Whether to allow the browser to be resized during the session (not recommended since it reduces stealthiness).
AllowResizing *bool `json:"allowResizing,omitempty"`
// BrowserScreenHeight Custom screen height in pixels for the browser.
BrowserScreenHeight *int `json:"browserScreenHeight,omitempty"`
// BrowserScreenWidth Custom screen width in pixels for the browser.
BrowserScreenWidth *int `json:"browserScreenWidth,omitempty"`
// CustomProxy Request model for creating a custom proxy.
CustomProxy *CustomProxy `json:"customProxy,omitempty"`
// EnableRecording If True, enables session recording. Defaults to False.
EnableRecording *bool `json:"enableRecording,omitempty"`
// ExtensionIds Up to 3 ready extensions from POST /api/v4/extensions to install before the browser starts.
ExtensionIds *[]openapi_types.UUID `json:"extensionIds,omitempty"`
// Metadata Labels for this browser. Up to 10 key-value pairs. Filterable on the browsers list and in the dashboard history.
Metadata *map[string]string `json:"metadata,omitempty"`
// NetworkPolicyId ID of a network policy that allows or blocks domains for this browser. Policy changes reach the browser within seconds.
NetworkPolicyId *openapi_types.UUID `json:"networkPolicyId,omitempty"`
// PdfRendererEnabled Whether Chrome renders PDFs in a tab. Set to false to stop the in-tab render; the file is saved to the session's download directory either way.
PdfRendererEnabled *bool `json:"pdfRendererEnabled,omitempty"`
// ProfileId The ID of the profile to use for the session
ProfileId *openapi_types.UUID `json:"profileId,omitempty"`
ProxyCountryCode *ProxyCountryCode `json:"proxyCountryCode,omitempty"`
// SolveCaptchas Whether the browser detects and solves CAPTCHAs on its own. Set to false to handle CAPTCHAs yourself. Defaults to true.
SolveCaptchas *bool `json:"solveCaptchas,omitempty"`
// Timeout The timeout for the session in minutes. All users can use up to 240 minutes (4 hours). Browser sessions are charged per browser-hour at your account rate.
Timeout *int `json:"timeout,omitempty"`
}
CreateBrowserSessionRequest Request model for creating a browser session.
type CreateNetworkPolicyNetworkPoliciesPostJSONRequestBody ¶ added in v0.2.0
type CreateNetworkPolicyNetworkPoliciesPostJSONRequestBody = NetworkPolicyCreateRequest
CreateNetworkPolicyNetworkPoliciesPostJSONRequestBody defines body for CreateNetworkPolicyNetworkPoliciesPost for application/json ContentType.
type CreateNetworkPolicyNetworkPoliciesPostResponse ¶ added in v0.2.0
type CreateNetworkPolicyNetworkPoliciesPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *NetworkPolicyView
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseCreateNetworkPolicyNetworkPoliciesPostResponse ¶ added in v0.2.0
func ParseCreateNetworkPolicyNetworkPoliciesPostResponse(rsp *http.Response) (*CreateNetworkPolicyNetworkPoliciesPostResponse, error)
ParseCreateNetworkPolicyNetworkPoliciesPostResponse parses an HTTP response from a CreateNetworkPolicyNetworkPoliciesPostWithResponse call
func (CreateNetworkPolicyNetworkPoliciesPostResponse) ContentType ¶ added in v0.2.0
func (r CreateNetworkPolicyNetworkPoliciesPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateNetworkPolicyNetworkPoliciesPostResponse) GetBody ¶ added in v0.2.0
func (r CreateNetworkPolicyNetworkPoliciesPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateNetworkPolicyNetworkPoliciesPostResponse) GetJSON201 ¶ added in v0.2.0
func (r CreateNetworkPolicyNetworkPoliciesPostResponse) GetJSON201() *NetworkPolicyView
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateNetworkPolicyNetworkPoliciesPostResponse) GetJSON422 ¶ added in v0.2.0
func (r CreateNetworkPolicyNetworkPoliciesPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateNetworkPolicyNetworkPoliciesPostResponse) Status ¶ added in v0.2.0
func (r CreateNetworkPolicyNetworkPoliciesPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateNetworkPolicyNetworkPoliciesPostResponse) StatusCode ¶ added in v0.2.0
func (r CreateNetworkPolicyNetworkPoliciesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProfileProfilesPostJSONRequestBody ¶
type CreateProfileProfilesPostJSONRequestBody = ProfileCreateRequest
CreateProfileProfilesPostJSONRequestBody defines body for CreateProfileProfilesPost for application/json ContentType.
type CreateProfileProfilesPostResponse ¶
type CreateProfileProfilesPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ProfileView
// JSON402 the response for an HTTP 402 `application/json` response
JSON402 *InsufficientCreditsError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ValidationError
}
func ParseCreateProfileProfilesPostResponse ¶
func ParseCreateProfileProfilesPostResponse(rsp *http.Response) (*CreateProfileProfilesPostResponse, error)
ParseCreateProfileProfilesPostResponse parses an HTTP response from a CreateProfileProfilesPostWithResponse call
func (CreateProfileProfilesPostResponse) ContentType ¶
func (r CreateProfileProfilesPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateProfileProfilesPostResponse) GetBody ¶
func (r CreateProfileProfilesPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateProfileProfilesPostResponse) GetJSON201 ¶
func (r CreateProfileProfilesPostResponse) GetJSON201() *ProfileView
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (CreateProfileProfilesPostResponse) GetJSON402 ¶
func (r CreateProfileProfilesPostResponse) GetJSON402() *InsufficientCreditsError
GetJSON402 returns the response for an HTTP 402 `application/json` response
func (CreateProfileProfilesPostResponse) GetJSON422 ¶
func (r CreateProfileProfilesPostResponse) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateProfileProfilesPostResponse) Status ¶
func (r CreateProfileProfilesPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateProfileProfilesPostResponse) StatusCode ¶
func (r CreateProfileProfilesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateRunRunsPostJSONRequestBody ¶
type CreateRunRunsPostJSONRequestBody = RunCreateRequest
CreateRunRunsPostJSONRequestBody defines body for CreateRunRunsPost for application/json ContentType.
type CreateRunRunsPostResponse ¶
type CreateRunRunsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RunCreateResponse
// JSON402 the response for an HTTP 402 `application/json` response
JSON402 *APIKeySpendLimitError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *RunCreateValidationError
}
func ParseCreateRunRunsPostResponse ¶
func ParseCreateRunRunsPostResponse(rsp *http.Response) (*CreateRunRunsPostResponse, error)
ParseCreateRunRunsPostResponse parses an HTTP response from a CreateRunRunsPostWithResponse call
func (CreateRunRunsPostResponse) ContentType ¶
func (r CreateRunRunsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateRunRunsPostResponse) GetBody ¶
func (r CreateRunRunsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateRunRunsPostResponse) GetJSON200 ¶
func (r CreateRunRunsPostResponse) GetJSON200() *RunCreateResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateRunRunsPostResponse) GetJSON402 ¶
func (r CreateRunRunsPostResponse) GetJSON402() *APIKeySpendLimitError
GetJSON402 returns the response for an HTTP 402 `application/json` response
func (CreateRunRunsPostResponse) GetJSON422 ¶
func (r CreateRunRunsPostResponse) GetJSON422() *RunCreateValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateRunRunsPostResponse) Status ¶
func (r CreateRunRunsPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateRunRunsPostResponse) StatusCode ¶
func (r CreateRunRunsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSessionShareSessionsSessionIdSharePostResponse ¶
type CreateSessionShareSessionsSessionIdSharePostResponse struct {
JSON200 *SessionShareInfo
JSON422 *HTTPValidationError
}
func ParseCreateSessionShareSessionsSessionIdSharePostResponse ¶
func ParseCreateSessionShareSessionsSessionIdSharePostResponse(rsp *http.Response) (*CreateSessionShareSessionsSessionIdSharePostResponse, error)
ParseCreateSessionShareSessionsSessionIdSharePostResponse parses an HTTP response from a CreateSessionShareSessionsSessionIdSharePostWithResponse call
func (CreateSessionShareSessionsSessionIdSharePostResponse) ContentType ¶
func (r CreateSessionShareSessionsSessionIdSharePostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateSessionShareSessionsSessionIdSharePostResponse) GetBody ¶
func (r CreateSessionShareSessionsSessionIdSharePostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateSessionShareSessionsSessionIdSharePostResponse) GetJSON200 ¶
func (r CreateSessionShareSessionsSessionIdSharePostResponse) GetJSON200() *SessionShareInfo
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateSessionShareSessionsSessionIdSharePostResponse) GetJSON422 ¶
func (r CreateSessionShareSessionsSessionIdSharePostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateSessionShareSessionsSessionIdSharePostResponse) Status ¶
func (r CreateSessionShareSessionsSessionIdSharePostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSessionShareSessionsSessionIdSharePostResponse) StatusCode ¶
func (r CreateSessionShareSessionsSessionIdSharePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWorkspaceWorkspacesPostJSONRequestBody ¶
type CreateWorkspaceWorkspacesPostJSONRequestBody = WorkspaceCreateRequest
CreateWorkspaceWorkspacesPostJSONRequestBody defines body for CreateWorkspaceWorkspacesPost for application/json ContentType.
type CreateWorkspaceWorkspacesPostResponse ¶
type CreateWorkspaceWorkspacesPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkspaceInfo
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseCreateWorkspaceWorkspacesPostResponse ¶
func ParseCreateWorkspaceWorkspacesPostResponse(rsp *http.Response) (*CreateWorkspaceWorkspacesPostResponse, error)
ParseCreateWorkspaceWorkspacesPostResponse parses an HTTP response from a CreateWorkspaceWorkspacesPostWithResponse call
func (CreateWorkspaceWorkspacesPostResponse) ContentType ¶
func (r CreateWorkspaceWorkspacesPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateWorkspaceWorkspacesPostResponse) GetBody ¶
func (r CreateWorkspaceWorkspacesPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (CreateWorkspaceWorkspacesPostResponse) GetJSON200 ¶
func (r CreateWorkspaceWorkspacesPostResponse) GetJSON200() *WorkspaceInfo
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (CreateWorkspaceWorkspacesPostResponse) GetJSON422 ¶
func (r CreateWorkspaceWorkspacesPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (CreateWorkspaceWorkspacesPostResponse) Status ¶
func (r CreateWorkspaceWorkspacesPostResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWorkspaceWorkspacesPostResponse) StatusCode ¶
func (r CreateWorkspaceWorkspacesPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CustomProxy ¶
type CustomProxy struct {
// CaBundle PEM certificates that the browser and the proxy connection trust in addition to the public roots, such as the CA of a TLS-intercepting proxy. Other sites keep full certificate checks.
CaBundle *string `json:"caBundle,omitempty"`
// CaBundleUrl HTTPS URL of PEM certificates that Browser Use downloads and trusts in the same way as caBundle. Send either caBundle or caBundleUrl.
CaBundleUrl *string `json:"caBundleUrl,omitempty"`
// Host Host of the proxy.
Host string `json:"host"`
// IgnoreCertErrors Ignore TLS certificate errors. Enable this if your proxy uses a self-signed or untrusted certificate (e.g. Burp Suite, corporate proxies).
IgnoreCertErrors *bool `json:"ignoreCertErrors,omitempty"`
// Password Password for proxy authentication.
Password *string `json:"password,omitempty"`
// Port Port of the proxy.
Port int `json:"port"`
// Protocol Protocol of the connection to the proxy. Use https for a proxy that accepts only TLS. Defaults to https on port 443 and to http on other ports.
Protocol *CustomProxyProtocol `json:"protocol,omitempty"`
// Username Username for proxy authentication.
Username *string `json:"username,omitempty"`
}
CustomProxy Request model for creating a custom proxy.
type CustomProxyProtocol ¶ added in v0.1.5
type CustomProxyProtocol string
CustomProxyProtocol Protocol of the connection to the proxy. Use https for a proxy that accepts only TLS. Defaults to https on port 443 and to http on other ports.
const ( CustomProxyProtocolHttp CustomProxyProtocol = "http" CustomProxyProtocolHttps CustomProxyProtocol = "https" )
Defines values for CustomProxyProtocol.
func (CustomProxyProtocol) Valid ¶ added in v0.1.5
func (e CustomProxyProtocol) Valid() bool
Valid indicates whether the value is a known member of the CustomProxyProtocol enum.
type DeleteBrowserProfileProfilesProfileIdDeleteResponse ¶
type DeleteBrowserProfileProfilesProfileIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseDeleteBrowserProfileProfilesProfileIdDeleteResponse ¶
func ParseDeleteBrowserProfileProfilesProfileIdDeleteResponse(rsp *http.Response) (*DeleteBrowserProfileProfilesProfileIdDeleteResponse, error)
ParseDeleteBrowserProfileProfilesProfileIdDeleteResponse parses an HTTP response from a DeleteBrowserProfileProfilesProfileIdDeleteWithResponse call
func (DeleteBrowserProfileProfilesProfileIdDeleteResponse) ContentType ¶
func (r DeleteBrowserProfileProfilesProfileIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteBrowserProfileProfilesProfileIdDeleteResponse) GetBody ¶
func (r DeleteBrowserProfileProfilesProfileIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteBrowserProfileProfilesProfileIdDeleteResponse) GetJSON422 ¶
func (r DeleteBrowserProfileProfilesProfileIdDeleteResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteBrowserProfileProfilesProfileIdDeleteResponse) Status ¶
func (r DeleteBrowserProfileProfilesProfileIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteBrowserProfileProfilesProfileIdDeleteResponse) StatusCode ¶
func (r DeleteBrowserProfileProfilesProfileIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteExtensionExtensionsExtensionIdDeleteResponse ¶
type DeleteExtensionExtensionsExtensionIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseDeleteExtensionExtensionsExtensionIdDeleteResponse ¶
func ParseDeleteExtensionExtensionsExtensionIdDeleteResponse(rsp *http.Response) (*DeleteExtensionExtensionsExtensionIdDeleteResponse, error)
ParseDeleteExtensionExtensionsExtensionIdDeleteResponse parses an HTTP response from a DeleteExtensionExtensionsExtensionIdDeleteWithResponse call
func (DeleteExtensionExtensionsExtensionIdDeleteResponse) ContentType ¶
func (r DeleteExtensionExtensionsExtensionIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteExtensionExtensionsExtensionIdDeleteResponse) GetBody ¶
func (r DeleteExtensionExtensionsExtensionIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteExtensionExtensionsExtensionIdDeleteResponse) GetJSON422 ¶
func (r DeleteExtensionExtensionsExtensionIdDeleteResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteExtensionExtensionsExtensionIdDeleteResponse) Status ¶
func (r DeleteExtensionExtensionsExtensionIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteExtensionExtensionsExtensionIdDeleteResponse) StatusCode ¶
func (r DeleteExtensionExtensionsExtensionIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse ¶ added in v0.2.0
type DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseDeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse ¶ added in v0.2.0
func ParseDeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse(rsp *http.Response) (*DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse, error)
ParseDeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse parses an HTTP response from a DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteWithResponse call
func (DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse) ContentType ¶ added in v0.2.0
func (r DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse) GetBody ¶ added in v0.2.0
func (r DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse) GetJSON422 ¶ added in v0.2.0
func (r DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse) Status ¶ added in v0.2.0
func (r DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse) StatusCode ¶ added in v0.2.0
func (r DeleteNetworkPolicyNetworkPoliciesPolicyIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSessionSessionsSessionIdDeleteResponse ¶
type DeleteSessionSessionsSessionIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseDeleteSessionSessionsSessionIdDeleteResponse ¶
func ParseDeleteSessionSessionsSessionIdDeleteResponse(rsp *http.Response) (*DeleteSessionSessionsSessionIdDeleteResponse, error)
ParseDeleteSessionSessionsSessionIdDeleteResponse parses an HTTP response from a DeleteSessionSessionsSessionIdDeleteWithResponse call
func (DeleteSessionSessionsSessionIdDeleteResponse) ContentType ¶
func (r DeleteSessionSessionsSessionIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteSessionSessionsSessionIdDeleteResponse) GetBody ¶
func (r DeleteSessionSessionsSessionIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteSessionSessionsSessionIdDeleteResponse) GetJSON422 ¶
func (r DeleteSessionSessionsSessionIdDeleteResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteSessionSessionsSessionIdDeleteResponse) Status ¶
func (r DeleteSessionSessionsSessionIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSessionSessionsSessionIdDeleteResponse) StatusCode ¶
func (r DeleteSessionSessionsSessionIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteParams ¶
type DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteParams struct {
// Path Relative file path to delete
Path string `form:"path" json:"path"`
}
DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteParams defines parameters for DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDelete.
type DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse ¶
type DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseDeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse ¶
func ParseDeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse(rsp *http.Response) (*DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse, error)
ParseDeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse parses an HTTP response from a DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteWithResponse call
func (DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse) ContentType ¶
func (r DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse) GetBody ¶
func (r DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse) GetJSON422 ¶
func (r DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse) Status ¶
func (r DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse) StatusCode ¶
func (r DeleteWorkspaceFileWorkspacesWorkspaceIdFilesDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse ¶
type DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseDeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse ¶
func ParseDeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse(rsp *http.Response) (*DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse, error)
ParseDeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse parses an HTTP response from a DeleteWorkspaceWorkspacesWorkspaceIdDeleteWithResponse call
func (DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse) ContentType ¶
func (r DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse) GetBody ¶
func (r DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse) GetJSON422 ¶
func (r DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse) Status ¶
func (r DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse) StatusCode ¶
func (r DeleteWorkspaceWorkspacesWorkspaceIdDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DisconnectIntegrationIntegrationsProviderDeleteResponse ¶
type DisconnectIntegrationIntegrationsProviderDeleteResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *DisconnectResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseDisconnectIntegrationIntegrationsProviderDeleteResponse ¶
func ParseDisconnectIntegrationIntegrationsProviderDeleteResponse(rsp *http.Response) (*DisconnectIntegrationIntegrationsProviderDeleteResponse, error)
ParseDisconnectIntegrationIntegrationsProviderDeleteResponse parses an HTTP response from a DisconnectIntegrationIntegrationsProviderDeleteWithResponse call
func (DisconnectIntegrationIntegrationsProviderDeleteResponse) ContentType ¶
func (r DisconnectIntegrationIntegrationsProviderDeleteResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DisconnectIntegrationIntegrationsProviderDeleteResponse) GetBody ¶
func (r DisconnectIntegrationIntegrationsProviderDeleteResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (DisconnectIntegrationIntegrationsProviderDeleteResponse) GetJSON200 ¶
func (r DisconnectIntegrationIntegrationsProviderDeleteResponse) GetJSON200() *DisconnectResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (DisconnectIntegrationIntegrationsProviderDeleteResponse) GetJSON422 ¶
func (r DisconnectIntegrationIntegrationsProviderDeleteResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (DisconnectIntegrationIntegrationsProviderDeleteResponse) Status ¶
func (r DisconnectIntegrationIntegrationsProviderDeleteResponse) Status() string
Status returns HTTPResponse.Status
func (DisconnectIntegrationIntegrationsProviderDeleteResponse) StatusCode ¶
func (r DisconnectIntegrationIntegrationsProviderDeleteResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DisconnectResponse ¶
DisconnectResponse Response for disconnect action.
type ExtensionListResponse ¶
type ExtensionListResponse struct {
Items []ExtensionView `json:"items"`
// PageNumber Page number
PageNumber int `json:"pageNumber"`
// PageSize Number of items per page
PageSize int `json:"pageSize"`
// TotalItems Total number of items in the list
TotalItems int `json:"totalItems"`
}
ExtensionListResponse defines model for ExtensionListResponse.
type ExtensionView ¶
type ExtensionView struct {
CreatedAt time.Time `json:"createdAt"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Version string `json:"version"`
}
ExtensionView defines model for ExtensionView.
type GetBrowserSessionBrowsersSessionIdGetResponse ¶
type GetBrowserSessionBrowsersSessionIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BrowserSessionView
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *SessionNotFoundError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetBrowserSessionBrowsersSessionIdGetResponse ¶
func ParseGetBrowserSessionBrowsersSessionIdGetResponse(rsp *http.Response) (*GetBrowserSessionBrowsersSessionIdGetResponse, error)
ParseGetBrowserSessionBrowsersSessionIdGetResponse parses an HTTP response from a GetBrowserSessionBrowsersSessionIdGetWithResponse call
func (GetBrowserSessionBrowsersSessionIdGetResponse) ContentType ¶
func (r GetBrowserSessionBrowsersSessionIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBrowserSessionBrowsersSessionIdGetResponse) GetBody ¶
func (r GetBrowserSessionBrowsersSessionIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBrowserSessionBrowsersSessionIdGetResponse) GetJSON200 ¶
func (r GetBrowserSessionBrowsersSessionIdGetResponse) GetJSON200() *BrowserSessionView
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBrowserSessionBrowsersSessionIdGetResponse) GetJSON404 ¶
func (r GetBrowserSessionBrowsersSessionIdGetResponse) GetJSON404() *SessionNotFoundError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetBrowserSessionBrowsersSessionIdGetResponse) GetJSON422 ¶
func (r GetBrowserSessionBrowsersSessionIdGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetBrowserSessionBrowsersSessionIdGetResponse) Status ¶
func (r GetBrowserSessionBrowsersSessionIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetBrowserSessionBrowsersSessionIdGetResponse) StatusCode ¶
func (r GetBrowserSessionBrowsersSessionIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse ¶ added in v0.1.5
type GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BrowserProxyView
}
func ParseGetBrowserSessionProxyBrowsersSessionIdProxyGetResponse ¶ added in v0.1.5
func ParseGetBrowserSessionProxyBrowsersSessionIdProxyGetResponse(rsp *http.Response) (*GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse, error)
ParseGetBrowserSessionProxyBrowsersSessionIdProxyGetResponse parses an HTTP response from a GetBrowserSessionProxyBrowsersSessionIdProxyGetWithResponse call
func (GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse) ContentType ¶ added in v0.1.5
func (r GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse) GetBody ¶ added in v0.1.5
func (r GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse) GetJSON200 ¶ added in v0.1.5
func (r GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse) GetJSON200() *BrowserProxyView
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse) Status ¶ added in v0.1.5
func (r GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse) StatusCode ¶ added in v0.1.5
func (r GetBrowserSessionProxyBrowsersSessionIdProxyGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetConnectionStatusIntegrationsProviderStatusGetResponse ¶
type GetConnectionStatusIntegrationsProviderStatusGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ConnectionStatusResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetConnectionStatusIntegrationsProviderStatusGetResponse ¶
func ParseGetConnectionStatusIntegrationsProviderStatusGetResponse(rsp *http.Response) (*GetConnectionStatusIntegrationsProviderStatusGetResponse, error)
ParseGetConnectionStatusIntegrationsProviderStatusGetResponse parses an HTTP response from a GetConnectionStatusIntegrationsProviderStatusGetWithResponse call
func (GetConnectionStatusIntegrationsProviderStatusGetResponse) ContentType ¶
func (r GetConnectionStatusIntegrationsProviderStatusGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetConnectionStatusIntegrationsProviderStatusGetResponse) GetBody ¶
func (r GetConnectionStatusIntegrationsProviderStatusGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetConnectionStatusIntegrationsProviderStatusGetResponse) GetJSON200 ¶
func (r GetConnectionStatusIntegrationsProviderStatusGetResponse) GetJSON200() *ConnectionStatusResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetConnectionStatusIntegrationsProviderStatusGetResponse) GetJSON422 ¶
func (r GetConnectionStatusIntegrationsProviderStatusGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetConnectionStatusIntegrationsProviderStatusGetResponse) Status ¶
func (r GetConnectionStatusIntegrationsProviderStatusGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetConnectionStatusIntegrationsProviderStatusGetResponse) StatusCode ¶
func (r GetConnectionStatusIntegrationsProviderStatusGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetExtensionExtensionsExtensionIdGetResponse ¶
type GetExtensionExtensionsExtensionIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ExtensionView
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetExtensionExtensionsExtensionIdGetResponse ¶
func ParseGetExtensionExtensionsExtensionIdGetResponse(rsp *http.Response) (*GetExtensionExtensionsExtensionIdGetResponse, error)
ParseGetExtensionExtensionsExtensionIdGetResponse parses an HTTP response from a GetExtensionExtensionsExtensionIdGetWithResponse call
func (GetExtensionExtensionsExtensionIdGetResponse) ContentType ¶
func (r GetExtensionExtensionsExtensionIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetExtensionExtensionsExtensionIdGetResponse) GetBody ¶
func (r GetExtensionExtensionsExtensionIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetExtensionExtensionsExtensionIdGetResponse) GetJSON200 ¶
func (r GetExtensionExtensionsExtensionIdGetResponse) GetJSON200() *ExtensionView
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetExtensionExtensionsExtensionIdGetResponse) GetJSON422 ¶
func (r GetExtensionExtensionsExtensionIdGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetExtensionExtensionsExtensionIdGetResponse) Status ¶
func (r GetExtensionExtensionsExtensionIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetExtensionExtensionsExtensionIdGetResponse) StatusCode ¶
func (r GetExtensionExtensionsExtensionIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse ¶ added in v0.2.0
type GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NetworkPolicyView
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NetworkPolicyNotFoundError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetNetworkPolicyNetworkPoliciesPolicyIdGetResponse ¶ added in v0.2.0
func ParseGetNetworkPolicyNetworkPoliciesPolicyIdGetResponse(rsp *http.Response) (*GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse, error)
ParseGetNetworkPolicyNetworkPoliciesPolicyIdGetResponse parses an HTTP response from a GetNetworkPolicyNetworkPoliciesPolicyIdGetWithResponse call
func (GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) ContentType ¶ added in v0.2.0
func (r GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) GetBody ¶ added in v0.2.0
func (r GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) GetJSON200 ¶ added in v0.2.0
func (r GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) GetJSON200() *NetworkPolicyView
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) GetJSON404 ¶ added in v0.2.0
func (r GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) GetJSON404() *NetworkPolicyNotFoundError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) GetJSON422 ¶ added in v0.2.0
func (r GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) Status ¶ added in v0.2.0
func (r GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) StatusCode ¶ added in v0.2.0
func (r GetNetworkPolicyNetworkPoliciesPolicyIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProfileProfilesProfileIdGetResponse ¶
type GetProfileProfilesProfileIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProfileView
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ProfileNotFoundError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetProfileProfilesProfileIdGetResponse ¶
func ParseGetProfileProfilesProfileIdGetResponse(rsp *http.Response) (*GetProfileProfilesProfileIdGetResponse, error)
ParseGetProfileProfilesProfileIdGetResponse parses an HTTP response from a GetProfileProfilesProfileIdGetWithResponse call
func (GetProfileProfilesProfileIdGetResponse) ContentType ¶
func (r GetProfileProfilesProfileIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetProfileProfilesProfileIdGetResponse) GetBody ¶
func (r GetProfileProfilesProfileIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetProfileProfilesProfileIdGetResponse) GetJSON200 ¶
func (r GetProfileProfilesProfileIdGetResponse) GetJSON200() *ProfileView
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetProfileProfilesProfileIdGetResponse) GetJSON404 ¶
func (r GetProfileProfilesProfileIdGetResponse) GetJSON404() *ProfileNotFoundError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (GetProfileProfilesProfileIdGetResponse) GetJSON422 ¶
func (r GetProfileProfilesProfileIdGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetProfileProfilesProfileIdGetResponse) Status ¶
func (r GetProfileProfilesProfileIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetProfileProfilesProfileIdGetResponse) StatusCode ¶
func (r GetProfileProfilesProfileIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRunEventsRunsRunIdEventsGetParams ¶
type GetRunEventsRunsRunIdEventsGetParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
After *int `form:"after,omitempty" json:"after,omitempty"`
IncludeOutput *bool `form:"include_output,omitempty" json:"include_output,omitempty"`
}
GetRunEventsRunsRunIdEventsGetParams defines parameters for GetRunEventsRunsRunIdEventsGet.
type GetRunEventsRunsRunIdEventsGetResponse ¶
type GetRunEventsRunsRunIdEventsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RunEventsResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetRunEventsRunsRunIdEventsGetResponse ¶
func ParseGetRunEventsRunsRunIdEventsGetResponse(rsp *http.Response) (*GetRunEventsRunsRunIdEventsGetResponse, error)
ParseGetRunEventsRunsRunIdEventsGetResponse parses an HTTP response from a GetRunEventsRunsRunIdEventsGetWithResponse call
func (GetRunEventsRunsRunIdEventsGetResponse) ContentType ¶
func (r GetRunEventsRunsRunIdEventsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRunEventsRunsRunIdEventsGetResponse) GetBody ¶
func (r GetRunEventsRunsRunIdEventsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRunEventsRunsRunIdEventsGetResponse) GetJSON200 ¶
func (r GetRunEventsRunsRunIdEventsGetResponse) GetJSON200() *RunEventsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRunEventsRunsRunIdEventsGetResponse) GetJSON422 ¶
func (r GetRunEventsRunsRunIdEventsGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetRunEventsRunsRunIdEventsGetResponse) Status ¶
func (r GetRunEventsRunsRunIdEventsGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetRunEventsRunsRunIdEventsGetResponse) StatusCode ¶
func (r GetRunEventsRunsRunIdEventsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRunRunsRunIdGetResponse ¶
type GetRunRunsRunIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RunSummary
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetRunRunsRunIdGetResponse ¶
func ParseGetRunRunsRunIdGetResponse(rsp *http.Response) (*GetRunRunsRunIdGetResponse, error)
ParseGetRunRunsRunIdGetResponse parses an HTTP response from a GetRunRunsRunIdGetWithResponse call
func (GetRunRunsRunIdGetResponse) ContentType ¶
func (r GetRunRunsRunIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRunRunsRunIdGetResponse) GetBody ¶
func (r GetRunRunsRunIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRunRunsRunIdGetResponse) GetJSON200 ¶
func (r GetRunRunsRunIdGetResponse) GetJSON200() *RunSummary
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRunRunsRunIdGetResponse) GetJSON422 ¶
func (r GetRunRunsRunIdGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetRunRunsRunIdGetResponse) Status ¶
func (r GetRunRunsRunIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetRunRunsRunIdGetResponse) StatusCode ¶
func (r GetRunRunsRunIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRunStatusRunsRunIdStatusGetResponse ¶
type GetRunStatusRunsRunIdStatusGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RunStatusResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetRunStatusRunsRunIdStatusGetResponse ¶
func ParseGetRunStatusRunsRunIdStatusGetResponse(rsp *http.Response) (*GetRunStatusRunsRunIdStatusGetResponse, error)
ParseGetRunStatusRunsRunIdStatusGetResponse parses an HTTP response from a GetRunStatusRunsRunIdStatusGetWithResponse call
func (GetRunStatusRunsRunIdStatusGetResponse) ContentType ¶
func (r GetRunStatusRunsRunIdStatusGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRunStatusRunsRunIdStatusGetResponse) GetBody ¶
func (r GetRunStatusRunsRunIdStatusGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetRunStatusRunsRunIdStatusGetResponse) GetJSON200 ¶
func (r GetRunStatusRunsRunIdStatusGetResponse) GetJSON200() *RunStatusResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetRunStatusRunsRunIdStatusGetResponse) GetJSON422 ¶
func (r GetRunStatusRunsRunIdStatusGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetRunStatusRunsRunIdStatusGetResponse) Status ¶
func (r GetRunStatusRunsRunIdStatusGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetRunStatusRunsRunIdStatusGetResponse) StatusCode ¶
func (r GetRunStatusRunsRunIdStatusGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSessionCostCapSessionsSessionIdCostCapGetResponse ¶ added in v0.2.0
type GetSessionCostCapSessionsSessionIdCostCapGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SessionBudgetResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetSessionCostCapSessionsSessionIdCostCapGetResponse ¶ added in v0.2.0
func ParseGetSessionCostCapSessionsSessionIdCostCapGetResponse(rsp *http.Response) (*GetSessionCostCapSessionsSessionIdCostCapGetResponse, error)
ParseGetSessionCostCapSessionsSessionIdCostCapGetResponse parses an HTTP response from a GetSessionCostCapSessionsSessionIdCostCapGetWithResponse call
func (GetSessionCostCapSessionsSessionIdCostCapGetResponse) ContentType ¶ added in v0.2.0
func (r GetSessionCostCapSessionsSessionIdCostCapGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSessionCostCapSessionsSessionIdCostCapGetResponse) GetBody ¶ added in v0.2.0
func (r GetSessionCostCapSessionsSessionIdCostCapGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSessionCostCapSessionsSessionIdCostCapGetResponse) GetJSON200 ¶ added in v0.2.0
func (r GetSessionCostCapSessionsSessionIdCostCapGetResponse) GetJSON200() *SessionBudgetResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSessionCostCapSessionsSessionIdCostCapGetResponse) GetJSON422 ¶ added in v0.2.0
func (r GetSessionCostCapSessionsSessionIdCostCapGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetSessionCostCapSessionsSessionIdCostCapGetResponse) Status ¶ added in v0.2.0
func (r GetSessionCostCapSessionsSessionIdCostCapGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSessionCostCapSessionsSessionIdCostCapGetResponse) StatusCode ¶ added in v0.2.0
func (r GetSessionCostCapSessionsSessionIdCostCapGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSessionCostSessionsSessionIdCostGetResponse ¶
type GetSessionCostSessionsSessionIdCostGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SessionCostResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetSessionCostSessionsSessionIdCostGetResponse ¶
func ParseGetSessionCostSessionsSessionIdCostGetResponse(rsp *http.Response) (*GetSessionCostSessionsSessionIdCostGetResponse, error)
ParseGetSessionCostSessionsSessionIdCostGetResponse parses an HTTP response from a GetSessionCostSessionsSessionIdCostGetWithResponse call
func (GetSessionCostSessionsSessionIdCostGetResponse) ContentType ¶
func (r GetSessionCostSessionsSessionIdCostGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSessionCostSessionsSessionIdCostGetResponse) GetBody ¶
func (r GetSessionCostSessionsSessionIdCostGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSessionCostSessionsSessionIdCostGetResponse) GetJSON200 ¶
func (r GetSessionCostSessionsSessionIdCostGetResponse) GetJSON200() *SessionCostResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSessionCostSessionsSessionIdCostGetResponse) GetJSON422 ¶
func (r GetSessionCostSessionsSessionIdCostGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetSessionCostSessionsSessionIdCostGetResponse) Status ¶
func (r GetSessionCostSessionsSessionIdCostGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSessionCostSessionsSessionIdCostGetResponse) StatusCode ¶
func (r GetSessionCostSessionsSessionIdCostGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse ¶
type GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *QueuedMessage
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse ¶
func ParseGetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse(rsp *http.Response) (*GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse, error)
ParseGetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse parses an HTTP response from a GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetWithResponse call
func (GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse) ContentType ¶
func (r GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse) GetBody ¶
func (r GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse) GetJSON200 ¶
func (r GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse) GetJSON200() *QueuedMessage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse) GetJSON422 ¶
func (r GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse) Status ¶
func (r GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse) StatusCode ¶
func (r GetSessionQueueMessageSessionsSessionIdQueueMessageIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSessionSessionsSessionIdGetResponse ¶
type GetSessionSessionsSessionIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SessionInfo
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetSessionSessionsSessionIdGetResponse ¶
func ParseGetSessionSessionsSessionIdGetResponse(rsp *http.Response) (*GetSessionSessionsSessionIdGetResponse, error)
ParseGetSessionSessionsSessionIdGetResponse parses an HTTP response from a GetSessionSessionsSessionIdGetWithResponse call
func (GetSessionSessionsSessionIdGetResponse) ContentType ¶
func (r GetSessionSessionsSessionIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSessionSessionsSessionIdGetResponse) GetBody ¶
func (r GetSessionSessionsSessionIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSessionSessionsSessionIdGetResponse) GetJSON200 ¶
func (r GetSessionSessionsSessionIdGetResponse) GetJSON200() *SessionInfo
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSessionSessionsSessionIdGetResponse) GetJSON422 ¶
func (r GetSessionSessionsSessionIdGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetSessionSessionsSessionIdGetResponse) Status ¶
func (r GetSessionSessionsSessionIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSessionSessionsSessionIdGetResponse) StatusCode ¶
func (r GetSessionSessionsSessionIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSessionShareSessionsSessionIdShareGetResponse ¶
type GetSessionShareSessionsSessionIdShareGetResponse struct {
JSON200 *SessionShareInfo
JSON422 *HTTPValidationError
}
func ParseGetSessionShareSessionsSessionIdShareGetResponse ¶
func ParseGetSessionShareSessionsSessionIdShareGetResponse(rsp *http.Response) (*GetSessionShareSessionsSessionIdShareGetResponse, error)
ParseGetSessionShareSessionsSessionIdShareGetResponse parses an HTTP response from a GetSessionShareSessionsSessionIdShareGetWithResponse call
func (GetSessionShareSessionsSessionIdShareGetResponse) ContentType ¶
func (r GetSessionShareSessionsSessionIdShareGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetSessionShareSessionsSessionIdShareGetResponse) GetBody ¶
func (r GetSessionShareSessionsSessionIdShareGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetSessionShareSessionsSessionIdShareGetResponse) GetJSON200 ¶
func (r GetSessionShareSessionsSessionIdShareGetResponse) GetJSON200() *SessionShareInfo
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetSessionShareSessionsSessionIdShareGetResponse) GetJSON422 ¶
func (r GetSessionShareSessionsSessionIdShareGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetSessionShareSessionsSessionIdShareGetResponse) Status ¶
func (r GetSessionShareSessionsSessionIdShareGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetSessionShareSessionsSessionIdShareGetResponse) StatusCode ¶
func (r GetSessionShareSessionsSessionIdShareGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStripeLinkStatusStripeLinkGetResponse ¶
type GetStripeLinkStatusStripeLinkGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *StripeLinkStatusResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetStripeLinkStatusStripeLinkGetResponse ¶
func ParseGetStripeLinkStatusStripeLinkGetResponse(rsp *http.Response) (*GetStripeLinkStatusStripeLinkGetResponse, error)
ParseGetStripeLinkStatusStripeLinkGetResponse parses an HTTP response from a GetStripeLinkStatusStripeLinkGetWithResponse call
func (GetStripeLinkStatusStripeLinkGetResponse) ContentType ¶
func (r GetStripeLinkStatusStripeLinkGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetStripeLinkStatusStripeLinkGetResponse) GetBody ¶
func (r GetStripeLinkStatusStripeLinkGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetStripeLinkStatusStripeLinkGetResponse) GetJSON200 ¶
func (r GetStripeLinkStatusStripeLinkGetResponse) GetJSON200() *StripeLinkStatusResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetStripeLinkStatusStripeLinkGetResponse) GetJSON422 ¶
func (r GetStripeLinkStatusStripeLinkGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetStripeLinkStatusStripeLinkGetResponse) Status ¶
func (r GetStripeLinkStatusStripeLinkGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetStripeLinkStatusStripeLinkGetResponse) StatusCode ¶
func (r GetStripeLinkStatusStripeLinkGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse ¶
type GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkspaceSizeInfo
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse ¶
func ParseGetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse(rsp *http.Response) (*GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse, error)
ParseGetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse parses an HTTP response from a GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetWithResponse call
func (GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse) ContentType ¶
func (r GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse) GetBody ¶
func (r GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse) GetJSON200 ¶
func (r GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse) GetJSON200() *WorkspaceSizeInfo
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse) GetJSON422 ¶
func (r GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse) Status ¶
func (r GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse) StatusCode ¶
func (r GetWorkspaceSizeWorkspacesWorkspaceIdSizeGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkspaceWorkspacesWorkspaceIdGetResponse ¶
type GetWorkspaceWorkspacesWorkspaceIdGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkspaceInfo
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseGetWorkspaceWorkspacesWorkspaceIdGetResponse ¶
func ParseGetWorkspaceWorkspacesWorkspaceIdGetResponse(rsp *http.Response) (*GetWorkspaceWorkspacesWorkspaceIdGetResponse, error)
ParseGetWorkspaceWorkspacesWorkspaceIdGetResponse parses an HTTP response from a GetWorkspaceWorkspacesWorkspaceIdGetWithResponse call
func (GetWorkspaceWorkspacesWorkspaceIdGetResponse) ContentType ¶
func (r GetWorkspaceWorkspacesWorkspaceIdGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWorkspaceWorkspacesWorkspaceIdGetResponse) GetBody ¶
func (r GetWorkspaceWorkspacesWorkspaceIdGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (GetWorkspaceWorkspacesWorkspaceIdGetResponse) GetJSON200 ¶
func (r GetWorkspaceWorkspacesWorkspaceIdGetResponse) GetJSON200() *WorkspaceInfo
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetWorkspaceWorkspacesWorkspaceIdGetResponse) GetJSON422 ¶
func (r GetWorkspaceWorkspacesWorkspaceIdGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (GetWorkspaceWorkspacesWorkspaceIdGetResponse) Status ¶
func (r GetWorkspaceWorkspacesWorkspaceIdGetResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkspaceWorkspacesWorkspaceIdGetResponse) StatusCode ¶
func (r GetWorkspaceWorkspacesWorkspaceIdGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HTTPValidationError ¶
type HTTPValidationError struct {
Detail *[]ValidationError `json:"detail,omitempty"`
}
HTTPValidationError defines model for HTTPValidationError.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InlineSecretSource ¶
type InlineSecretSource struct {
Type InlineSecretSourceType `json:"type"`
// Value The secret itself. Limited to 4096 bytes once encoded for encryption; non-ASCII characters cost more than one byte each.
Value *string `json:"value,omitempty"`
}
InlineSecretSource A value the caller supplies directly with the run.
type InlineSecretSourceType ¶
type InlineSecretSourceType string
InlineSecretSourceType defines model for InlineSecretSource.Type.
const (
InlineSecretSourceTypeInline InlineSecretSourceType = "inline"
)
Defines values for InlineSecretSourceType.
func (InlineSecretSourceType) Valid ¶
func (e InlineSecretSourceType) Valid() bool
Valid indicates whether the value is a known member of the InlineSecretSourceType enum.
type InsufficientCreditsError ¶
type InsufficientCreditsError struct {
Detail *string `json:"detail,omitempty"`
}
InsufficientCreditsError Error response when there are insufficient credits
type IntegrationCategoryResponse ¶
type IntegrationCategoryResponse struct {
Categories []string `json:"categories"`
}
IntegrationCategoryResponse Response for integration categories.
type IntegrationListResponse ¶
type IntegrationListResponse struct {
Integrations []IntegrationResponse `json:"integrations"`
Limit int `json:"limit"`
Offset int `json:"offset"`
Total int `json:"total"`
}
IntegrationListResponse Paginated response for integrations list.
type IntegrationResponse ¶
type IntegrationResponse struct {
AuthType string `json:"auth_type"`
Category string `json:"category"`
Description string `json:"description"`
DisplayName string `json:"display_name"`
IconUrl *string `json:"icon_url"`
IsConnected bool `json:"is_connected"`
IsPopular *bool `json:"is_popular,omitempty"`
Provider string `json:"provider"`
}
IntegrationResponse Response for a single integration.
type ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetParams ¶
type ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
IncludeUrls *bool `form:"includeUrls,omitempty" json:"includeUrls,omitempty"`
}
ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetParams defines parameters for ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGet.
type ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse ¶
type ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BrowserDownloadListResponse
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *SessionNotFoundError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse ¶
func ParseListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse(rsp *http.Response) (*ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse, error)
ParseListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse parses an HTTP response from a ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetWithResponse call
func (ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) ContentType ¶
func (r ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) GetBody ¶
func (r ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) GetJSON200 ¶
func (r ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) GetJSON200() *BrowserDownloadListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) GetJSON404 ¶
func (r ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) GetJSON404() *SessionNotFoundError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) GetJSON422 ¶
func (r ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) Status ¶
func (r ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) StatusCode ¶
func (r ListBrowserSessionDownloadsBrowsersSessionIdDownloadsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListBrowserSessionsBrowsersGetParams ¶
type ListBrowserSessionsBrowsersGetParams struct {
// Metadata Only browsers tagged with every one of these terms. `key` matches any value; `key=value` matches exactly. Repeat the param to require more than one (AND).
Metadata *[]string `form:"metadata,omitempty" json:"metadata,omitempty"`
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
PageNumber *int `form:"pageNumber,omitempty" json:"pageNumber,omitempty"`
FilterBy *BrowserSessionStatus `form:"filterBy,omitempty" json:"filterBy,omitempty"`
AgentSessionId *openapi_types.UUID `form:"agentSessionId,omitempty" json:"agentSessionId,omitempty"`
}
ListBrowserSessionsBrowsersGetParams defines parameters for ListBrowserSessionsBrowsersGet.
type ListBrowserSessionsBrowsersGetResponse ¶
type ListBrowserSessionsBrowsersGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BrowserSessionListResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseListBrowserSessionsBrowsersGetResponse ¶
func ParseListBrowserSessionsBrowsersGetResponse(rsp *http.Response) (*ListBrowserSessionsBrowsersGetResponse, error)
ParseListBrowserSessionsBrowsersGetResponse parses an HTTP response from a ListBrowserSessionsBrowsersGetWithResponse call
func (ListBrowserSessionsBrowsersGetResponse) ContentType ¶
func (r ListBrowserSessionsBrowsersGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListBrowserSessionsBrowsersGetResponse) GetBody ¶
func (r ListBrowserSessionsBrowsersGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListBrowserSessionsBrowsersGetResponse) GetJSON200 ¶
func (r ListBrowserSessionsBrowsersGetResponse) GetJSON200() *BrowserSessionListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListBrowserSessionsBrowsersGetResponse) GetJSON422 ¶
func (r ListBrowserSessionsBrowsersGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ListBrowserSessionsBrowsersGetResponse) Status ¶
func (r ListBrowserSessionsBrowsersGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListBrowserSessionsBrowsersGetResponse) StatusCode ¶
func (r ListBrowserSessionsBrowsersGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCategoriesIntegrationsCategoriesGetResponse ¶
type ListCategoriesIntegrationsCategoriesGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IntegrationCategoryResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseListCategoriesIntegrationsCategoriesGetResponse ¶
func ParseListCategoriesIntegrationsCategoriesGetResponse(rsp *http.Response) (*ListCategoriesIntegrationsCategoriesGetResponse, error)
ParseListCategoriesIntegrationsCategoriesGetResponse parses an HTTP response from a ListCategoriesIntegrationsCategoriesGetWithResponse call
func (ListCategoriesIntegrationsCategoriesGetResponse) ContentType ¶
func (r ListCategoriesIntegrationsCategoriesGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListCategoriesIntegrationsCategoriesGetResponse) GetBody ¶
func (r ListCategoriesIntegrationsCategoriesGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListCategoriesIntegrationsCategoriesGetResponse) GetJSON200 ¶
func (r ListCategoriesIntegrationsCategoriesGetResponse) GetJSON200() *IntegrationCategoryResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListCategoriesIntegrationsCategoriesGetResponse) GetJSON422 ¶
func (r ListCategoriesIntegrationsCategoriesGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ListCategoriesIntegrationsCategoriesGetResponse) Status ¶
func (r ListCategoriesIntegrationsCategoriesGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListCategoriesIntegrationsCategoriesGetResponse) StatusCode ¶
func (r ListCategoriesIntegrationsCategoriesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListExtensionsExtensionsGetParams ¶
type ListExtensionsExtensionsGetParams struct {
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
PageNumber *int `form:"pageNumber,omitempty" json:"pageNumber,omitempty"`
}
ListExtensionsExtensionsGetParams defines parameters for ListExtensionsExtensionsGet.
type ListExtensionsExtensionsGetResponse ¶
type ListExtensionsExtensionsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ExtensionListResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseListExtensionsExtensionsGetResponse ¶
func ParseListExtensionsExtensionsGetResponse(rsp *http.Response) (*ListExtensionsExtensionsGetResponse, error)
ParseListExtensionsExtensionsGetResponse parses an HTTP response from a ListExtensionsExtensionsGetWithResponse call
func (ListExtensionsExtensionsGetResponse) ContentType ¶
func (r ListExtensionsExtensionsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListExtensionsExtensionsGetResponse) GetBody ¶
func (r ListExtensionsExtensionsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListExtensionsExtensionsGetResponse) GetJSON200 ¶
func (r ListExtensionsExtensionsGetResponse) GetJSON200() *ExtensionListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListExtensionsExtensionsGetResponse) GetJSON422 ¶
func (r ListExtensionsExtensionsGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ListExtensionsExtensionsGetResponse) Status ¶
func (r ListExtensionsExtensionsGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListExtensionsExtensionsGetResponse) StatusCode ¶
func (r ListExtensionsExtensionsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIntegrationsIntegrationsGetParams ¶
type ListIntegrationsIntegrationsGetParams struct {
// Limit Maximum number of results
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Number of results to skip
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Search Filter by name, description or provider
Search *string `form:"search,omitempty" json:"search,omitempty"`
// PopularOnly Only return popular integrations
PopularOnly *bool `form:"popular_only,omitempty" json:"popular_only,omitempty"`
// ConnectedOnly Only return integrations this project has connected
ConnectedOnly *bool `form:"connected_only,omitempty" json:"connected_only,omitempty"`
}
ListIntegrationsIntegrationsGetParams defines parameters for ListIntegrationsIntegrationsGet.
type ListIntegrationsIntegrationsGetResponse ¶
type ListIntegrationsIntegrationsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *IntegrationListResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseListIntegrationsIntegrationsGetResponse ¶
func ParseListIntegrationsIntegrationsGetResponse(rsp *http.Response) (*ListIntegrationsIntegrationsGetResponse, error)
ParseListIntegrationsIntegrationsGetResponse parses an HTTP response from a ListIntegrationsIntegrationsGetWithResponse call
func (ListIntegrationsIntegrationsGetResponse) ContentType ¶
func (r ListIntegrationsIntegrationsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListIntegrationsIntegrationsGetResponse) GetBody ¶
func (r ListIntegrationsIntegrationsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListIntegrationsIntegrationsGetResponse) GetJSON200 ¶
func (r ListIntegrationsIntegrationsGetResponse) GetJSON200() *IntegrationListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListIntegrationsIntegrationsGetResponse) GetJSON422 ¶
func (r ListIntegrationsIntegrationsGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ListIntegrationsIntegrationsGetResponse) Status ¶
func (r ListIntegrationsIntegrationsGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListIntegrationsIntegrationsGetResponse) StatusCode ¶
func (r ListIntegrationsIntegrationsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListNetworkPoliciesNetworkPoliciesGetParams ¶ added in v0.2.0
type ListNetworkPoliciesNetworkPoliciesGetParams struct {
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
PageNumber *int `form:"pageNumber,omitempty" json:"pageNumber,omitempty"`
}
ListNetworkPoliciesNetworkPoliciesGetParams defines parameters for ListNetworkPoliciesNetworkPoliciesGet.
type ListNetworkPoliciesNetworkPoliciesGetResponse ¶ added in v0.2.0
type ListNetworkPoliciesNetworkPoliciesGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NetworkPolicyListResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseListNetworkPoliciesNetworkPoliciesGetResponse ¶ added in v0.2.0
func ParseListNetworkPoliciesNetworkPoliciesGetResponse(rsp *http.Response) (*ListNetworkPoliciesNetworkPoliciesGetResponse, error)
ParseListNetworkPoliciesNetworkPoliciesGetResponse parses an HTTP response from a ListNetworkPoliciesNetworkPoliciesGetWithResponse call
func (ListNetworkPoliciesNetworkPoliciesGetResponse) ContentType ¶ added in v0.2.0
func (r ListNetworkPoliciesNetworkPoliciesGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListNetworkPoliciesNetworkPoliciesGetResponse) GetBody ¶ added in v0.2.0
func (r ListNetworkPoliciesNetworkPoliciesGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListNetworkPoliciesNetworkPoliciesGetResponse) GetJSON200 ¶ added in v0.2.0
func (r ListNetworkPoliciesNetworkPoliciesGetResponse) GetJSON200() *NetworkPolicyListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListNetworkPoliciesNetworkPoliciesGetResponse) GetJSON422 ¶ added in v0.2.0
func (r ListNetworkPoliciesNetworkPoliciesGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ListNetworkPoliciesNetworkPoliciesGetResponse) Status ¶ added in v0.2.0
func (r ListNetworkPoliciesNetworkPoliciesGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListNetworkPoliciesNetworkPoliciesGetResponse) StatusCode ¶ added in v0.2.0
func (r ListNetworkPoliciesNetworkPoliciesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProfilesProfilesGetParams ¶
type ListProfilesProfilesGetParams struct {
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
PageNumber *int `form:"pageNumber,omitempty" json:"pageNumber,omitempty"`
Query *string `form:"query,omitempty" json:"query,omitempty"`
}
ListProfilesProfilesGetParams defines parameters for ListProfilesProfilesGet.
type ListProfilesProfilesGetResponse ¶
type ListProfilesProfilesGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProfileListResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseListProfilesProfilesGetResponse ¶
func ParseListProfilesProfilesGetResponse(rsp *http.Response) (*ListProfilesProfilesGetResponse, error)
ParseListProfilesProfilesGetResponse parses an HTTP response from a ListProfilesProfilesGetWithResponse call
func (ListProfilesProfilesGetResponse) ContentType ¶
func (r ListProfilesProfilesGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListProfilesProfilesGetResponse) GetBody ¶
func (r ListProfilesProfilesGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListProfilesProfilesGetResponse) GetJSON200 ¶
func (r ListProfilesProfilesGetResponse) GetJSON200() *ProfileListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListProfilesProfilesGetResponse) GetJSON422 ¶
func (r ListProfilesProfilesGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ListProfilesProfilesGetResponse) Status ¶
func (r ListProfilesProfilesGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListProfilesProfilesGetResponse) StatusCode ¶
func (r ListProfilesProfilesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRunAttachmentsRunsRunIdAttachmentsGetResponse ¶
type ListRunAttachmentsRunsRunIdAttachmentsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RunAttachmentsResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseListRunAttachmentsRunsRunIdAttachmentsGetResponse ¶
func ParseListRunAttachmentsRunsRunIdAttachmentsGetResponse(rsp *http.Response) (*ListRunAttachmentsRunsRunIdAttachmentsGetResponse, error)
ParseListRunAttachmentsRunsRunIdAttachmentsGetResponse parses an HTTP response from a ListRunAttachmentsRunsRunIdAttachmentsGetWithResponse call
func (ListRunAttachmentsRunsRunIdAttachmentsGetResponse) ContentType ¶
func (r ListRunAttachmentsRunsRunIdAttachmentsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListRunAttachmentsRunsRunIdAttachmentsGetResponse) GetBody ¶
func (r ListRunAttachmentsRunsRunIdAttachmentsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListRunAttachmentsRunsRunIdAttachmentsGetResponse) GetJSON200 ¶
func (r ListRunAttachmentsRunsRunIdAttachmentsGetResponse) GetJSON200() *RunAttachmentsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListRunAttachmentsRunsRunIdAttachmentsGetResponse) GetJSON422 ¶
func (r ListRunAttachmentsRunsRunIdAttachmentsGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ListRunAttachmentsRunsRunIdAttachmentsGetResponse) Status ¶
func (r ListRunAttachmentsRunsRunIdAttachmentsGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListRunAttachmentsRunsRunIdAttachmentsGetResponse) StatusCode ¶
func (r ListRunAttachmentsRunsRunIdAttachmentsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRunsRunsGetParams ¶
type ListRunsRunsGetParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Keyset cursor from a prior response.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
SessionId *openapi_types.UUID `form:"sessionId,omitempty" json:"sessionId,omitempty"`
}
ListRunsRunsGetParams defines parameters for ListRunsRunsGet.
type ListRunsRunsGetResponse ¶
type ListRunsRunsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *RunListResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseListRunsRunsGetResponse ¶
func ParseListRunsRunsGetResponse(rsp *http.Response) (*ListRunsRunsGetResponse, error)
ParseListRunsRunsGetResponse parses an HTTP response from a ListRunsRunsGetWithResponse call
func (ListRunsRunsGetResponse) ContentType ¶
func (r ListRunsRunsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListRunsRunsGetResponse) GetBody ¶
func (r ListRunsRunsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListRunsRunsGetResponse) GetJSON200 ¶
func (r ListRunsRunsGetResponse) GetJSON200() *RunListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListRunsRunsGetResponse) GetJSON422 ¶
func (r ListRunsRunsGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ListRunsRunsGetResponse) Status ¶
func (r ListRunsRunsGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListRunsRunsGetResponse) StatusCode ¶
func (r ListRunsRunsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSessionQueueSessionsSessionIdQueueGetResponse ¶
type ListSessionQueueSessionsSessionIdQueueGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *QueueListResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseListSessionQueueSessionsSessionIdQueueGetResponse ¶
func ParseListSessionQueueSessionsSessionIdQueueGetResponse(rsp *http.Response) (*ListSessionQueueSessionsSessionIdQueueGetResponse, error)
ParseListSessionQueueSessionsSessionIdQueueGetResponse parses an HTTP response from a ListSessionQueueSessionsSessionIdQueueGetWithResponse call
func (ListSessionQueueSessionsSessionIdQueueGetResponse) ContentType ¶
func (r ListSessionQueueSessionsSessionIdQueueGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSessionQueueSessionsSessionIdQueueGetResponse) GetBody ¶
func (r ListSessionQueueSessionsSessionIdQueueGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSessionQueueSessionsSessionIdQueueGetResponse) GetJSON200 ¶
func (r ListSessionQueueSessionsSessionIdQueueGetResponse) GetJSON200() *QueueListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSessionQueueSessionsSessionIdQueueGetResponse) GetJSON422 ¶
func (r ListSessionQueueSessionsSessionIdQueueGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ListSessionQueueSessionsSessionIdQueueGetResponse) Status ¶
func (r ListSessionQueueSessionsSessionIdQueueGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListSessionQueueSessionsSessionIdQueueGetResponse) StatusCode ¶
func (r ListSessionQueueSessionsSessionIdQueueGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSessionsSessionsGetParams ¶
type ListSessionsSessionsGetParams struct {
// Limit Max sessions per page (max 100).
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Keyset cursor from a prior response.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
ListSessionsSessionsGetParams defines parameters for ListSessionsSessionsGet.
type ListSessionsSessionsGetResponse ¶
type ListSessionsSessionsGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SessionListResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseListSessionsSessionsGetResponse ¶
func ParseListSessionsSessionsGetResponse(rsp *http.Response) (*ListSessionsSessionsGetResponse, error)
ParseListSessionsSessionsGetResponse parses an HTTP response from a ListSessionsSessionsGetWithResponse call
func (ListSessionsSessionsGetResponse) ContentType ¶
func (r ListSessionsSessionsGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListSessionsSessionsGetResponse) GetBody ¶
func (r ListSessionsSessionsGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListSessionsSessionsGetResponse) GetJSON200 ¶
func (r ListSessionsSessionsGetResponse) GetJSON200() *SessionListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListSessionsSessionsGetResponse) GetJSON422 ¶
func (r ListSessionsSessionsGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ListSessionsSessionsGetResponse) Status ¶
func (r ListSessionsSessionsGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListSessionsSessionsGetResponse) StatusCode ¶
func (r ListSessionsSessionsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetParams ¶
type ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetParams struct {
Prefix *string `form:"prefix,omitempty" json:"prefix,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
IncludeUrls *bool `form:"includeUrls,omitempty" json:"includeUrls,omitempty"`
ContentDisposition *ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetParamsContentDisposition `form:"contentDisposition,omitempty" json:"contentDisposition,omitempty"`
}
ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetParams defines parameters for ListWorkspaceFilesWorkspacesWorkspaceIdFilesGet.
type ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetParamsContentDisposition ¶
type ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetParamsContentDisposition string
ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetParamsContentDisposition defines parameters for ListWorkspaceFilesWorkspacesWorkspaceIdFilesGet.
const (
ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetParamsContentDispositionAttachment ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetParamsContentDisposition = "attachment"
)
Defines values for ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetParamsContentDisposition.
type ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse ¶
type ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkspaceFileListResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse ¶
func ParseListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse(rsp *http.Response) (*ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse, error)
ParseListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse parses an HTTP response from a ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetWithResponse call
func (ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse) ContentType ¶
func (r ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse) GetBody ¶
func (r ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse) GetJSON200 ¶
func (r ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse) GetJSON200() *WorkspaceFileListResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse) GetJSON422 ¶
func (r ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse) Status ¶
func (r ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse) Status() string
Status returns HTTPResponse.Status
func (ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse) StatusCode ¶
func (r ListWorkspaceFilesWorkspacesWorkspaceIdFilesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type NetworkPolicyCreateRequest ¶ added in v0.2.0
type NetworkPolicyCreateRequest struct {
// Allow A list of domains.
Allow *NetworkPolicyDomainList `json:"allow,omitempty"`
// Block A list of domains.
Block *NetworkPolicyDomainList `json:"block,omitempty"`
// DefaultAction Action for a domain that no list entry matches.
DefaultAction *NetworkPolicyCreateRequestDefaultAction `json:"defaultAction,omitempty"`
Name string `json:"name"`
}
NetworkPolicyCreateRequest Request body for creating a network policy.
type NetworkPolicyCreateRequestDefaultAction ¶ added in v0.2.0
type NetworkPolicyCreateRequestDefaultAction string
NetworkPolicyCreateRequestDefaultAction Action for a domain that no list entry matches.
const ( NetworkPolicyCreateRequestDefaultActionAllow NetworkPolicyCreateRequestDefaultAction = "allow" NetworkPolicyCreateRequestDefaultActionBlock NetworkPolicyCreateRequestDefaultAction = "block" )
Defines values for NetworkPolicyCreateRequestDefaultAction.
func (NetworkPolicyCreateRequestDefaultAction) Valid ¶ added in v0.2.0
func (e NetworkPolicyCreateRequestDefaultAction) Valid() bool
Valid indicates whether the value is a known member of the NetworkPolicyCreateRequestDefaultAction enum.
type NetworkPolicyDomainList ¶ added in v0.2.0
type NetworkPolicyDomainList struct {
// Domains Domains such as example.com; each entry also matches its subdomains.
Domains *[]string `json:"domains,omitempty"`
}
NetworkPolicyDomainList A list of domains.
type NetworkPolicyListResponse ¶ added in v0.2.0
type NetworkPolicyListResponse struct {
Items []NetworkPolicyView `json:"items"`
PageNumber int `json:"pageNumber"`
PageSize int `json:"pageSize"`
TotalItems int `json:"totalItems"`
}
NetworkPolicyListResponse A page of network policies.
type NetworkPolicyNotFoundError ¶ added in v0.2.0
type NetworkPolicyNotFoundError struct {
Detail *string `json:"detail,omitempty"`
}
NetworkPolicyNotFoundError Error response when a network policy is not found
type NetworkPolicyUpdateRequest ¶ added in v0.2.0
type NetworkPolicyUpdateRequest struct {
// Allow A list of domains.
Allow *NetworkPolicyDomainList `json:"allow,omitempty"`
// Block A list of domains.
Block *NetworkPolicyDomainList `json:"block,omitempty"`
// DefaultAction Action for a domain that no list entry matches.
DefaultAction *NetworkPolicyUpdateRequestDefaultAction `json:"defaultAction,omitempty"`
Name *string `json:"name,omitempty"`
}
NetworkPolicyUpdateRequest Request body for updating a network policy; omitted fields keep their values.
type NetworkPolicyUpdateRequestDefaultAction ¶ added in v0.2.0
type NetworkPolicyUpdateRequestDefaultAction string
NetworkPolicyUpdateRequestDefaultAction Action for a domain that no list entry matches.
const ( NetworkPolicyUpdateRequestDefaultActionAllow NetworkPolicyUpdateRequestDefaultAction = "allow" NetworkPolicyUpdateRequestDefaultActionBlock NetworkPolicyUpdateRequestDefaultAction = "block" )
Defines values for NetworkPolicyUpdateRequestDefaultAction.
func (NetworkPolicyUpdateRequestDefaultAction) Valid ¶ added in v0.2.0
func (e NetworkPolicyUpdateRequestDefaultAction) Valid() bool
Valid indicates whether the value is a known member of the NetworkPolicyUpdateRequestDefaultAction enum.
type NetworkPolicyView ¶ added in v0.2.0
type NetworkPolicyView struct {
// Allow A list of domains.
Allow NetworkPolicyDomainList `json:"allow"`
// Block A list of domains.
Block NetworkPolicyDomainList `json:"block"`
CreatedAt time.Time `json:"createdAt"`
// DefaultAction Action for a domain that no list entry matches.
DefaultAction NetworkPolicyViewDefaultAction `json:"defaultAction"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
UpdatedAt time.Time `json:"updatedAt"`
// Version Starts at 1 and increases by 1 with each update.
Version int `json:"version"`
}
NetworkPolicyView A network policy with normalized domains.
type NetworkPolicyViewDefaultAction ¶ added in v0.2.0
type NetworkPolicyViewDefaultAction string
NetworkPolicyViewDefaultAction Action for a domain that no list entry matches.
const ( NetworkPolicyViewDefaultActionAllow NetworkPolicyViewDefaultAction = "allow" NetworkPolicyViewDefaultActionBlock NetworkPolicyViewDefaultAction = "block" )
Defines values for NetworkPolicyViewDefaultAction.
func (NetworkPolicyViewDefaultAction) Valid ¶ added in v0.2.0
func (e NetworkPolicyViewDefaultAction) Valid() bool
Valid indicates whether the value is a known member of the NetworkPolicyViewDefaultAction enum.
type OnePasswordSecretSource ¶
type OnePasswordSecretSource struct {
// FieldId Field id from the item-fields endpoint, e.g. "password".
FieldId string `json:"fieldId"`
// IntegrationId 1Password integration to resolve through. Must belong to this project.
IntegrationId openapi_types.UUID `json:"integrationId"`
ItemId string `json:"itemId"`
Type OnePasswordSecretSourceType `json:"type"`
VaultId string `json:"vaultId"`
}
OnePasswordSecretSource One field of a 1Password item, resolved only when the agent asks for it.
Nothing here is a secret: the quadruple NAMES a credential without carrying it. Creating the binding makes no call to 1Password — a provider outage must not stop a run from being dispatched, and no vault is ever enumerated.
A one-time-password field resolves to its current code; its seed is never read, so there is no flag to ask for one.
type OnePasswordSecretSourceType ¶
type OnePasswordSecretSourceType string
OnePasswordSecretSourceType defines model for OnePasswordSecretSource.Type.
const (
OnePasswordSecretSourceTypeOnepassword OnePasswordSecretSourceType = "onepassword"
)
Defines values for OnePasswordSecretSourceType.
func (OnePasswordSecretSourceType) Valid ¶
func (e OnePasswordSecretSourceType) Valid() bool
Valid indicates whether the value is a known member of the OnePasswordSecretSourceType enum.
type ProfileCreateRequest ¶
type ProfileCreateRequest struct {
// Name Optional name for the profile
Name *string `json:"name,omitempty"`
// UserId Your internal user identifier for this profile. Use this to associate a profile with a user in your system.
UserId *string `json:"userId,omitempty"`
}
ProfileCreateRequest Request model for creating a new profile.
type ProfileListResponse ¶
type ProfileListResponse struct {
// Items List of profile views for the current page
Items []ProfileView `json:"items"`
// PageNumber Page number
PageNumber int `json:"pageNumber"`
// PageSize Number of items per page
PageSize int `json:"pageSize"`
// TotalItems Total number of items in the list
TotalItems int `json:"totalItems"`
}
ProfileListResponse Response model for paginated profile list requests.
type ProfileNotFoundError ¶
type ProfileNotFoundError struct {
Detail *string `json:"detail,omitempty"`
}
ProfileNotFoundError Error response when a profile is not found
type ProfileUpdateRequest ¶
type ProfileUpdateRequest struct {
// Name Optional name for the profile
Name *string `json:"name,omitempty"`
// UserId Your internal user identifier for this profile. Use this to associate a profile with a user in your system.
UserId *string `json:"userId,omitempty"`
}
ProfileUpdateRequest Request model for updating a profile.
type ProfileView ¶
type ProfileView struct {
// CookieDomains List of domain URLs that have cookies stored for this profile
CookieDomains *[]string `json:"cookieDomains,omitempty"`
// CreatedAt Timestamp when the profile was created
CreatedAt time.Time `json:"createdAt"`
// Id Unique identifier for the profile
Id openapi_types.UUID `json:"id"`
// LastUsedAt Timestamp when the profile was last used
LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
// Name Optional name for the profile
Name *string `json:"name,omitempty"`
// UpdatedAt Timestamp when the profile was last updated
UpdatedAt time.Time `json:"updatedAt"`
// UserId Your internal user identifier for this profile. Use this to associate a profile with a user in your system.
UserId *string `json:"userId,omitempty"`
}
ProfileView View model for representing a profile. A profile lets you preserve the login state between sessions.
We recommend that you create a separate profile for each user of your app. You can assign a user_id to each profile to easily identify which user the profile belongs to.
type ProxyCountryCode ¶
type ProxyCountryCode string
ProxyCountryCode defines model for ProxyCountryCode.
const ( ProxyCountryCodeAd ProxyCountryCode = "ad" ProxyCountryCodeAe ProxyCountryCode = "ae" ProxyCountryCodeAf ProxyCountryCode = "af" ProxyCountryCodeAg ProxyCountryCode = "ag" ProxyCountryCodeAi ProxyCountryCode = "ai" ProxyCountryCodeAl ProxyCountryCode = "al" ProxyCountryCodeAm ProxyCountryCode = "am" ProxyCountryCodeAn ProxyCountryCode = "an" ProxyCountryCodeAo ProxyCountryCode = "ao" ProxyCountryCodeAq ProxyCountryCode = "aq" ProxyCountryCodeAr ProxyCountryCode = "ar" ProxyCountryCodeAs ProxyCountryCode = "as" ProxyCountryCodeAt ProxyCountryCode = "at" ProxyCountryCodeAu ProxyCountryCode = "au" ProxyCountryCodeAw ProxyCountryCode = "aw" ProxyCountryCodeAz ProxyCountryCode = "az" ProxyCountryCodeBa ProxyCountryCode = "ba" ProxyCountryCodeBb ProxyCountryCode = "bb" ProxyCountryCodeBd ProxyCountryCode = "bd" ProxyCountryCodeBe ProxyCountryCode = "be" ProxyCountryCodeBf ProxyCountryCode = "bf" ProxyCountryCodeBg ProxyCountryCode = "bg" ProxyCountryCodeBh ProxyCountryCode = "bh" ProxyCountryCodeBi ProxyCountryCode = "bi" ProxyCountryCodeBj ProxyCountryCode = "bj" ProxyCountryCodeBl ProxyCountryCode = "bl" ProxyCountryCodeBm ProxyCountryCode = "bm" ProxyCountryCodeBn ProxyCountryCode = "bn" ProxyCountryCodeBo ProxyCountryCode = "bo" ProxyCountryCodeBq ProxyCountryCode = "bq" ProxyCountryCodeBr ProxyCountryCode = "br" ProxyCountryCodeBs ProxyCountryCode = "bs" ProxyCountryCodeBt ProxyCountryCode = "bt" ProxyCountryCodeBv ProxyCountryCode = "bv" ProxyCountryCodeBw ProxyCountryCode = "bw" ProxyCountryCodeBy ProxyCountryCode = "by" ProxyCountryCodeBz ProxyCountryCode = "bz" ProxyCountryCodeCa ProxyCountryCode = "ca" ProxyCountryCodeCc ProxyCountryCode = "cc" ProxyCountryCodeCd ProxyCountryCode = "cd" ProxyCountryCodeCf ProxyCountryCode = "cf" ProxyCountryCodeCg ProxyCountryCode = "cg" ProxyCountryCodeCh ProxyCountryCode = "ch" ProxyCountryCodeCi ProxyCountryCode = "ci" ProxyCountryCodeCk ProxyCountryCode = "ck" ProxyCountryCodeCl ProxyCountryCode = "cl" ProxyCountryCodeCm ProxyCountryCode = "cm" ProxyCountryCodeCo ProxyCountryCode = "co" ProxyCountryCodeCr ProxyCountryCode = "cr" ProxyCountryCodeCs ProxyCountryCode = "cs" ProxyCountryCodeCu ProxyCountryCode = "cu" ProxyCountryCodeCv ProxyCountryCode = "cv" ProxyCountryCodeCw ProxyCountryCode = "cw" ProxyCountryCodeCx ProxyCountryCode = "cx" ProxyCountryCodeCy ProxyCountryCode = "cy" ProxyCountryCodeCz ProxyCountryCode = "cz" ProxyCountryCodeDe ProxyCountryCode = "de" ProxyCountryCodeDj ProxyCountryCode = "dj" ProxyCountryCodeDk ProxyCountryCode = "dk" ProxyCountryCodeDm ProxyCountryCode = "dm" ProxyCountryCodeDo ProxyCountryCode = "do" ProxyCountryCodeDz ProxyCountryCode = "dz" ProxyCountryCodeEc ProxyCountryCode = "ec" ProxyCountryCodeEe ProxyCountryCode = "ee" ProxyCountryCodeEg ProxyCountryCode = "eg" ProxyCountryCodeEh ProxyCountryCode = "eh" ProxyCountryCodeEr ProxyCountryCode = "er" ProxyCountryCodeEs ProxyCountryCode = "es" ProxyCountryCodeEt ProxyCountryCode = "et" ProxyCountryCodeFi ProxyCountryCode = "fi" ProxyCountryCodeFj ProxyCountryCode = "fj" ProxyCountryCodeFk ProxyCountryCode = "fk" ProxyCountryCodeFm ProxyCountryCode = "fm" ProxyCountryCodeFo ProxyCountryCode = "fo" ProxyCountryCodeFr ProxyCountryCode = "fr" ProxyCountryCodeGa ProxyCountryCode = "ga" ProxyCountryCodeGd ProxyCountryCode = "gd" ProxyCountryCodeGe ProxyCountryCode = "ge" ProxyCountryCodeGf ProxyCountryCode = "gf" ProxyCountryCodeGg ProxyCountryCode = "gg" ProxyCountryCodeGh ProxyCountryCode = "gh" ProxyCountryCodeGi ProxyCountryCode = "gi" ProxyCountryCodeGl ProxyCountryCode = "gl" ProxyCountryCodeGm ProxyCountryCode = "gm" ProxyCountryCodeGn ProxyCountryCode = "gn" ProxyCountryCodeGp ProxyCountryCode = "gp" ProxyCountryCodeGq ProxyCountryCode = "gq" ProxyCountryCodeGr ProxyCountryCode = "gr" ProxyCountryCodeGs ProxyCountryCode = "gs" ProxyCountryCodeGt ProxyCountryCode = "gt" ProxyCountryCodeGu ProxyCountryCode = "gu" ProxyCountryCodeGw ProxyCountryCode = "gw" ProxyCountryCodeGy ProxyCountryCode = "gy" ProxyCountryCodeHk ProxyCountryCode = "hk" ProxyCountryCodeHm ProxyCountryCode = "hm" ProxyCountryCodeHn ProxyCountryCode = "hn" ProxyCountryCodeHr ProxyCountryCode = "hr" ProxyCountryCodeHt ProxyCountryCode = "ht" ProxyCountryCodeHu ProxyCountryCode = "hu" ProxyCountryCodeId ProxyCountryCode = "id" ProxyCountryCodeIe ProxyCountryCode = "ie" ProxyCountryCodeIl ProxyCountryCode = "il" ProxyCountryCodeIm ProxyCountryCode = "im" ProxyCountryCodeIn ProxyCountryCode = "in" ProxyCountryCodeIq ProxyCountryCode = "iq" ProxyCountryCodeIr ProxyCountryCode = "ir" ProxyCountryCodeIs ProxyCountryCode = "is" ProxyCountryCodeIt ProxyCountryCode = "it" ProxyCountryCodeJe ProxyCountryCode = "je" ProxyCountryCodeJm ProxyCountryCode = "jm" ProxyCountryCodeJo ProxyCountryCode = "jo" ProxyCountryCodeJp ProxyCountryCode = "jp" ProxyCountryCodeKe ProxyCountryCode = "ke" ProxyCountryCodeKg ProxyCountryCode = "kg" ProxyCountryCodeKh ProxyCountryCode = "kh" ProxyCountryCodeKi ProxyCountryCode = "ki" ProxyCountryCodeKm ProxyCountryCode = "km" ProxyCountryCodeKn ProxyCountryCode = "kn" ProxyCountryCodeKp ProxyCountryCode = "kp" ProxyCountryCodeKr ProxyCountryCode = "kr" ProxyCountryCodeKw ProxyCountryCode = "kw" ProxyCountryCodeKy ProxyCountryCode = "ky" ProxyCountryCodeKz ProxyCountryCode = "kz" ProxyCountryCodeLa ProxyCountryCode = "la" ProxyCountryCodeLb ProxyCountryCode = "lb" ProxyCountryCodeLc ProxyCountryCode = "lc" ProxyCountryCodeLi ProxyCountryCode = "li" ProxyCountryCodeLk ProxyCountryCode = "lk" ProxyCountryCodeLr ProxyCountryCode = "lr" ProxyCountryCodeLs ProxyCountryCode = "ls" ProxyCountryCodeLt ProxyCountryCode = "lt" ProxyCountryCodeLu ProxyCountryCode = "lu" ProxyCountryCodeLv ProxyCountryCode = "lv" ProxyCountryCodeLy ProxyCountryCode = "ly" ProxyCountryCodeMa ProxyCountryCode = "ma" ProxyCountryCodeMc ProxyCountryCode = "mc" ProxyCountryCodeMd ProxyCountryCode = "md" ProxyCountryCodeMe ProxyCountryCode = "me" ProxyCountryCodeMf ProxyCountryCode = "mf" ProxyCountryCodeMg ProxyCountryCode = "mg" ProxyCountryCodeMh ProxyCountryCode = "mh" ProxyCountryCodeMk ProxyCountryCode = "mk" ProxyCountryCodeMl ProxyCountryCode = "ml" ProxyCountryCodeMm ProxyCountryCode = "mm" ProxyCountryCodeMn ProxyCountryCode = "mn" ProxyCountryCodeMo ProxyCountryCode = "mo" ProxyCountryCodeMp ProxyCountryCode = "mp" ProxyCountryCodeMq ProxyCountryCode = "mq" ProxyCountryCodeMr ProxyCountryCode = "mr" ProxyCountryCodeMs ProxyCountryCode = "ms" ProxyCountryCodeMt ProxyCountryCode = "mt" ProxyCountryCodeMu ProxyCountryCode = "mu" ProxyCountryCodeMv ProxyCountryCode = "mv" ProxyCountryCodeMw ProxyCountryCode = "mw" ProxyCountryCodeMx ProxyCountryCode = "mx" ProxyCountryCodeMy ProxyCountryCode = "my" ProxyCountryCodeMz ProxyCountryCode = "mz" ProxyCountryCodeNa ProxyCountryCode = "na" ProxyCountryCodeNc ProxyCountryCode = "nc" ProxyCountryCodeNe ProxyCountryCode = "ne" ProxyCountryCodeNf ProxyCountryCode = "nf" ProxyCountryCodeNg ProxyCountryCode = "ng" ProxyCountryCodeNi ProxyCountryCode = "ni" ProxyCountryCodeNl ProxyCountryCode = "nl" ProxyCountryCodeNo ProxyCountryCode = "no" ProxyCountryCodeNp ProxyCountryCode = "np" ProxyCountryCodeNr ProxyCountryCode = "nr" ProxyCountryCodeNu ProxyCountryCode = "nu" ProxyCountryCodeNz ProxyCountryCode = "nz" ProxyCountryCodeOm ProxyCountryCode = "om" ProxyCountryCodePa ProxyCountryCode = "pa" ProxyCountryCodePe ProxyCountryCode = "pe" ProxyCountryCodePf ProxyCountryCode = "pf" ProxyCountryCodePg ProxyCountryCode = "pg" ProxyCountryCodePh ProxyCountryCode = "ph" ProxyCountryCodePk ProxyCountryCode = "pk" ProxyCountryCodePl ProxyCountryCode = "pl" ProxyCountryCodePm ProxyCountryCode = "pm" ProxyCountryCodePn ProxyCountryCode = "pn" ProxyCountryCodePr ProxyCountryCode = "pr" ProxyCountryCodePs ProxyCountryCode = "ps" ProxyCountryCodePt ProxyCountryCode = "pt" ProxyCountryCodePw ProxyCountryCode = "pw" ProxyCountryCodePy ProxyCountryCode = "py" ProxyCountryCodeQa ProxyCountryCode = "qa" ProxyCountryCodeRe ProxyCountryCode = "re" ProxyCountryCodeRo ProxyCountryCode = "ro" ProxyCountryCodeRs ProxyCountryCode = "rs" ProxyCountryCodeRu ProxyCountryCode = "ru" ProxyCountryCodeRw ProxyCountryCode = "rw" ProxyCountryCodeSa ProxyCountryCode = "sa" ProxyCountryCodeSb ProxyCountryCode = "sb" ProxyCountryCodeSc ProxyCountryCode = "sc" ProxyCountryCodeSd ProxyCountryCode = "sd" ProxyCountryCodeSe ProxyCountryCode = "se" ProxyCountryCodeSg ProxyCountryCode = "sg" ProxyCountryCodeSh ProxyCountryCode = "sh" ProxyCountryCodeSi ProxyCountryCode = "si" ProxyCountryCodeSj ProxyCountryCode = "sj" ProxyCountryCodeSk ProxyCountryCode = "sk" ProxyCountryCodeSl ProxyCountryCode = "sl" ProxyCountryCodeSm ProxyCountryCode = "sm" ProxyCountryCodeSn ProxyCountryCode = "sn" ProxyCountryCodeSo ProxyCountryCode = "so" ProxyCountryCodeSr ProxyCountryCode = "sr" ProxyCountryCodeSs ProxyCountryCode = "ss" ProxyCountryCodeSt ProxyCountryCode = "st" ProxyCountryCodeSv ProxyCountryCode = "sv" ProxyCountryCodeSx ProxyCountryCode = "sx" ProxyCountryCodeSy ProxyCountryCode = "sy" ProxyCountryCodeSz ProxyCountryCode = "sz" ProxyCountryCodeTc ProxyCountryCode = "tc" ProxyCountryCodeTd ProxyCountryCode = "td" ProxyCountryCodeTf ProxyCountryCode = "tf" ProxyCountryCodeTg ProxyCountryCode = "tg" ProxyCountryCodeTh ProxyCountryCode = "th" ProxyCountryCodeTj ProxyCountryCode = "tj" ProxyCountryCodeTk ProxyCountryCode = "tk" ProxyCountryCodeTl ProxyCountryCode = "tl" ProxyCountryCodeTm ProxyCountryCode = "tm" ProxyCountryCodeTn ProxyCountryCode = "tn" ProxyCountryCodeTo ProxyCountryCode = "to" ProxyCountryCodeTr ProxyCountryCode = "tr" ProxyCountryCodeTt ProxyCountryCode = "tt" ProxyCountryCodeTv ProxyCountryCode = "tv" ProxyCountryCodeTw ProxyCountryCode = "tw" ProxyCountryCodeTz ProxyCountryCode = "tz" ProxyCountryCodeUa ProxyCountryCode = "ua" ProxyCountryCodeUg ProxyCountryCode = "ug" ProxyCountryCodeUk ProxyCountryCode = "uk" ProxyCountryCodeUs ProxyCountryCode = "us" ProxyCountryCodeUy ProxyCountryCode = "uy" ProxyCountryCodeUz ProxyCountryCode = "uz" ProxyCountryCodeVa ProxyCountryCode = "va" ProxyCountryCodeVc ProxyCountryCode = "vc" ProxyCountryCodeVe ProxyCountryCode = "ve" ProxyCountryCodeVg ProxyCountryCode = "vg" ProxyCountryCodeVi ProxyCountryCode = "vi" ProxyCountryCodeVn ProxyCountryCode = "vn" ProxyCountryCodeVu ProxyCountryCode = "vu" ProxyCountryCodeWf ProxyCountryCode = "wf" ProxyCountryCodeWs ProxyCountryCode = "ws" ProxyCountryCodeXk ProxyCountryCode = "xk" ProxyCountryCodeYe ProxyCountryCode = "ye" ProxyCountryCodeYt ProxyCountryCode = "yt" ProxyCountryCodeZa ProxyCountryCode = "za" ProxyCountryCodeZm ProxyCountryCode = "zm" ProxyCountryCodeZw ProxyCountryCode = "zw" )
Defines values for ProxyCountryCode.
func (ProxyCountryCode) Valid ¶
func (e ProxyCountryCode) Valid() bool
Valid indicates whether the value is a known member of the ProxyCountryCode enum.
type PurgeSessionSessionsSessionIdPurgePostResponse ¶
type PurgeSessionSessionsSessionIdPurgePostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParsePurgeSessionSessionsSessionIdPurgePostResponse ¶
func ParsePurgeSessionSessionsSessionIdPurgePostResponse(rsp *http.Response) (*PurgeSessionSessionsSessionIdPurgePostResponse, error)
ParsePurgeSessionSessionsSessionIdPurgePostResponse parses an HTTP response from a PurgeSessionSessionsSessionIdPurgePostWithResponse call
func (PurgeSessionSessionsSessionIdPurgePostResponse) ContentType ¶
func (r PurgeSessionSessionsSessionIdPurgePostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PurgeSessionSessionsSessionIdPurgePostResponse) GetBody ¶
func (r PurgeSessionSessionsSessionIdPurgePostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (PurgeSessionSessionsSessionIdPurgePostResponse) GetJSON422 ¶
func (r PurgeSessionSessionsSessionIdPurgePostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (PurgeSessionSessionsSessionIdPurgePostResponse) Status ¶
func (r PurgeSessionSessionsSessionIdPurgePostResponse) Status() string
Status returns HTTPResponse.Status
func (PurgeSessionSessionsSessionIdPurgePostResponse) StatusCode ¶
func (r PurgeSessionSessionsSessionIdPurgePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type QueueListResponse ¶
type QueueListResponse struct {
Queue []QueuedMessage `json:"queue"`
SteeringCutoffs *[]SteeringCutoff `json:"steeringCutoffs,omitempty"`
}
QueueListResponse defines model for QueueListResponse.
type QueueMessageRequest ¶
type QueueMessageRequest struct {
AttachedFileIds *[]openapi_types.UUID `json:"attachedFileIds,omitempty"`
// ConfirmInputId Explicitly authorize a new execution of this pending instruction. It may have run previously and the new execution may incur charges. Cannot be combined with text, interrupt, or attachedFileIds.
ConfirmInputId *int `json:"confirmInputId,omitempty"`
Interrupt *bool `json:"interrupt,omitempty"`
Text *string `json:"text,omitempty"`
// contains filtered or unexported fields
}
QueueMessageRequest Send a message to a session. If the session is busy the message waits on the queue and runs as the next turn; if idle it runs immediately.
Set `interrupt` to make it take effect now: the session's active run is cancelled and this message drains straight after. Interrupt is a no-op when the session is already idle, and BEST-EFFORT when busy — if the cancel can't be delivered, the message stays queued and runs after the current turn.
func (QueueMessageRequest) AsQueueMessageRequest0 ¶ added in v0.2.0
func (t QueueMessageRequest) AsQueueMessageRequest0() (QueueMessageRequest0, error)
AsQueueMessageRequest0 returns the union data inside the QueueMessageRequest as a QueueMessageRequest0
func (QueueMessageRequest) AsQueueMessageRequest1 ¶ added in v0.2.0
func (t QueueMessageRequest) AsQueueMessageRequest1() (QueueMessageRequest1, error)
AsQueueMessageRequest1 returns the union data inside the QueueMessageRequest as a QueueMessageRequest1
func (*QueueMessageRequest) FromQueueMessageRequest0 ¶ added in v0.2.0
func (t *QueueMessageRequest) FromQueueMessageRequest0(v QueueMessageRequest0) error
FromQueueMessageRequest0 overwrites any union data inside the QueueMessageRequest as the provided QueueMessageRequest0
func (*QueueMessageRequest) FromQueueMessageRequest1 ¶ added in v0.2.0
func (t *QueueMessageRequest) FromQueueMessageRequest1(v QueueMessageRequest1) error
FromQueueMessageRequest1 overwrites any union data inside the QueueMessageRequest as the provided QueueMessageRequest1
func (QueueMessageRequest) MarshalJSON ¶ added in v0.2.0
func (t QueueMessageRequest) MarshalJSON() ([]byte, error)
func (*QueueMessageRequest) MergeQueueMessageRequest0 ¶ added in v0.2.0
func (t *QueueMessageRequest) MergeQueueMessageRequest0(v QueueMessageRequest0) error
MergeQueueMessageRequest0 performs a merge with any union data inside the QueueMessageRequest, using the provided QueueMessageRequest0
func (*QueueMessageRequest) MergeQueueMessageRequest1 ¶ added in v0.2.0
func (t *QueueMessageRequest) MergeQueueMessageRequest1(v QueueMessageRequest1) error
MergeQueueMessageRequest1 performs a merge with any union data inside the QueueMessageRequest, using the provided QueueMessageRequest1
func (*QueueMessageRequest) UnmarshalJSON ¶ added in v0.2.0
func (t *QueueMessageRequest) UnmarshalJSON(b []byte) error
type QueueMessageRequest0 ¶ added in v0.2.0
type QueueMessageRequest0 = interface{}
QueueMessageRequest0 defines model for QueueMessageRequest.0.
type QueueMessageRequest1 ¶ added in v0.2.0
type QueueMessageRequest1 = interface{}
QueueMessageRequest1 defines model for QueueMessageRequest.1.
type QueueSessionMessageSessionsSessionIdQueuePostJSONRequestBody ¶
type QueueSessionMessageSessionsSessionIdQueuePostJSONRequestBody = QueueMessageRequest
QueueSessionMessageSessionsSessionIdQueuePostJSONRequestBody defines body for QueueSessionMessageSessionsSessionIdQueuePost for application/json ContentType.
type QueueSessionMessageSessionsSessionIdQueuePostParams ¶
type QueueSessionMessageSessionsSessionIdQueuePostParams struct {
XV4QueueDeduplicate *string `json:"X-V4-Queue-Deduplicate,omitempty"`
}
QueueSessionMessageSessionsSessionIdQueuePostParams defines parameters for QueueSessionMessageSessionsSessionIdQueuePost.
type QueueSessionMessageSessionsSessionIdQueuePostResponse ¶
type QueueSessionMessageSessionsSessionIdQueuePostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *QueuedMessage
// JSON402 the response for an HTTP 402 `application/json` response
JSON402 *APIKeySpendLimitError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseQueueSessionMessageSessionsSessionIdQueuePostResponse ¶
func ParseQueueSessionMessageSessionsSessionIdQueuePostResponse(rsp *http.Response) (*QueueSessionMessageSessionsSessionIdQueuePostResponse, error)
ParseQueueSessionMessageSessionsSessionIdQueuePostResponse parses an HTTP response from a QueueSessionMessageSessionsSessionIdQueuePostWithResponse call
func (QueueSessionMessageSessionsSessionIdQueuePostResponse) ContentType ¶
func (r QueueSessionMessageSessionsSessionIdQueuePostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (QueueSessionMessageSessionsSessionIdQueuePostResponse) GetBody ¶
func (r QueueSessionMessageSessionsSessionIdQueuePostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (QueueSessionMessageSessionsSessionIdQueuePostResponse) GetJSON200 ¶
func (r QueueSessionMessageSessionsSessionIdQueuePostResponse) GetJSON200() *QueuedMessage
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (QueueSessionMessageSessionsSessionIdQueuePostResponse) GetJSON402 ¶
func (r QueueSessionMessageSessionsSessionIdQueuePostResponse) GetJSON402() *APIKeySpendLimitError
GetJSON402 returns the response for an HTTP 402 `application/json` response
func (QueueSessionMessageSessionsSessionIdQueuePostResponse) GetJSON422 ¶
func (r QueueSessionMessageSessionsSessionIdQueuePostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (QueueSessionMessageSessionsSessionIdQueuePostResponse) Status ¶
func (r QueueSessionMessageSessionsSessionIdQueuePostResponse) Status() string
Status returns HTTPResponse.Status
func (QueueSessionMessageSessionsSessionIdQueuePostResponse) StatusCode ¶
func (r QueueSessionMessageSessionsSessionIdQueuePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type QueuedMessage ¶
type QueuedMessage struct {
AttachedFileIds *[]openapi_types.UUID `json:"attachedFileIds,omitempty"`
CreatedAt time.Time `json:"createdAt"`
Id int `json:"id"`
Mode QueuedMessageMode `json:"mode"`
// NeedsConfirmation This pending instruction is held until explicitly reviewed and authorized for a new execution.
NeedsConfirmation bool `json:"needsConfirmation"`
// Reason Why the pending instruction needs confirmation.
Reason *string `json:"reason,omitempty"`
RunId *openapi_types.UUID `json:"runId"`
SessionId openapi_types.UUID `json:"sessionId"`
Status QueuedMessageStatus `json:"status"`
Text string `json:"text"`
}
QueuedMessage One message on a session's queue (a v4_session_input row).
type QueuedMessageMode ¶
type QueuedMessageMode string
QueuedMessageMode defines model for QueuedMessage.Mode.
const ( QueuedMessageModeConfirmed QueuedMessageMode = "confirmed" QueuedMessageModeInterrupt QueuedMessageMode = "interrupt" QueuedMessageModeQueue QueuedMessageMode = "queue" QueuedMessageModeSteer QueuedMessageMode = "steer" )
Defines values for QueuedMessageMode.
func (QueuedMessageMode) Valid ¶
func (e QueuedMessageMode) Valid() bool
Valid indicates whether the value is a known member of the QueuedMessageMode enum.
type QueuedMessageStatus ¶
type QueuedMessageStatus string
QueuedMessageStatus defines model for QueuedMessage.Status.
const ( QueuedMessageStatusCancelled QueuedMessageStatus = "cancelled" QueuedMessageStatusConsumed QueuedMessageStatus = "consumed" QueuedMessageStatusDispatching QueuedMessageStatus = "dispatching" QueuedMessageStatusFailed QueuedMessageStatus = "failed" QueuedMessageStatusPending QueuedMessageStatus = "pending" QueuedMessageStatusSuperseded QueuedMessageStatus = "superseded" )
Defines values for QueuedMessageStatus.
func (QueuedMessageStatus) Valid ¶
func (e QueuedMessageStatus) Valid() bool
Valid indicates whether the value is a known member of the QueuedMessageStatus enum.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RunAttachment ¶
type RunAttachment struct {
ContentType string `json:"contentType"`
Id openapi_types.UUID `json:"id"`
// Name Filename shown to the user, e.g. "data.csv".
Name string `json:"name"`
SizeBytes int `json:"sizeBytes"`
// Status "pending" | "uploaded".
Status RunAttachmentStatus `json:"status"`
}
RunAttachment defines model for RunAttachment.
type RunAttachmentStatus ¶
type RunAttachmentStatus string
RunAttachmentStatus "pending" | "uploaded".
const ( RunAttachmentStatusPending RunAttachmentStatus = "pending" RunAttachmentStatusUploaded RunAttachmentStatus = "uploaded" )
Defines values for RunAttachmentStatus.
func (RunAttachmentStatus) Valid ¶
func (e RunAttachmentStatus) Valid() bool
Valid indicates whether the value is a known member of the RunAttachmentStatus enum.
type RunAttachmentsResponse ¶
type RunAttachmentsResponse struct {
Attachments []RunAttachment `json:"attachments"`
}
RunAttachmentsResponse defines model for RunAttachmentsResponse.
type RunBrowserSettings ¶
type RunBrowserSettings struct {
// AllowResizing Let you or the agent resize the browser window over CDP. Resizing makes the browser easier to detect. API runs default to off. Follow-up runs inherit the value of the previous browser. The value applies only when the run starts a new browser.
AllowResizing *bool `json:"allowResizing,omitempty"`
// CustomProxy Request model for creating a custom proxy.
CustomProxy *CustomProxy `json:"customProxy,omitempty"`
// ExtensionIds Up to 3 ready extensions from POST /api/v4/extensions to install in every browser of the session. Follow-up runs inherit the session's extensions; passing a different set returns 400. After you delete an extension, omit extensionIds or pass the reduced set; later browsers skip deleted extensions. The agent is not told about installed extensions, so name any extension pages in the task.
ExtensionIds *[]openapi_types.UUID `json:"extensionIds,omitempty"`
// NetworkPolicyId ID of a network policy that allows or blocks domains for this browser. Policy changes reach the browser within seconds. When the field is absent, the run keeps the policy of the session.
NetworkPolicyId *openapi_types.UUID `json:"networkPolicyId,omitempty"`
// ProfileId ID of a browser profile to load into the session. Profiles persist cookies, local storage, and other browser state across sessions.
ProfileId *openapi_types.UUID `json:"profileId,omitempty"`
ProxyCountryCode *ProxyCountryCode `json:"proxyCountryCode,omitempty"`
// Record Record the browser session to an mp4, retrievable via GET /browsers/{id} once the browser stops. API runs default to off; pass true to enable. Like other browser settings, this only applies when a new browser is provisioned: a follow-up that reuses the session's live browser keeps that browser's recording state. Ignored (always off) for Zero Data Retention projects.
Record *bool `json:"record,omitempty"`
// ScreenHeight Custom screen height in pixels for the browser.
ScreenHeight *int `json:"screenHeight,omitempty"`
// ScreenWidth Custom screen width in pixels for the browser.
ScreenWidth *int `json:"screenWidth,omitempty"`
}
RunBrowserSettings Browser config, owned by the browser row (never the run). Follow-ups: omitted fields inherit the session's prior browser; explicit values apply only to newly provisioned browsers (a live browser is reused as-is). Profile is the exception: a different profile → 400; an explicit value mismatching the live browser's profile (incl. null vs a profiled browser) declines reuse and provisions fresh. A live browser already matching the requested profile is reused. networkPolicyId follows the same rule: an explicit or inherited policy that differs from the live browser's declines reuse. Extensions are session-wide: follow-ups inherit them, and a different set → 400 (see extensionIds).
type RunCreateRequest ¶
type RunCreateRequest struct {
// Agentmail If true, provisions a persistent temporary email inbox (via AgentMail) for the run workspace. The agent receives the email address in its context and can send, receive, read, and reply to email. Set false to disable AgentMail for this run.
Agentmail *bool `json:"agentmail,omitempty"`
// AttachedFileIds Upload ids from POST /workspaces/{workspace_id}/files/upload to show the agent in this run only. Ids that cannot be confirmed are reported, not fatal.
AttachedFileIds *[]openapi_types.UUID `json:"attachedFileIds,omitempty"`
// BrowserSettings Browser config, owned by the browser row (never the run). Follow-ups:
// omitted fields inherit the session's prior browser; explicit values apply
// only to newly provisioned browsers (a live browser is reused as-is).
// Profile is the exception: a different profile → 400; an explicit value
// mismatching the live browser's profile (incl. null vs a profiled browser)
// declines reuse and provisions fresh. A live browser already matching the
// requested profile is reused. networkPolicyId follows the same rule: an
// explicit or inherited policy that differs from the live browser's declines
// reuse. Extensions are session-wide: follow-ups
// inherit them, and a different set → 400 (see extensionIds).
BrowserSettings *RunBrowserSettings `json:"browserSettings,omitempty"`
// Judge Opt-in LLM judgement of the finished run. Presence of this object turns
// the judge on (send {} for defaults); CP judges the run's trajectory after
// it goes terminal and surfaces the verdict as RunSummary.judgement (null
// until it lands). Judge model choice is being rolled out. Until it is enabled for a project, judge: {} uses gemini-3-flash and non-null model or modelParams return 422. Once enabled, the default is gpt-6.1-terra with {"reasoning":{"effort":"high"}}. Null means omitted. The judge call is billed to the run at the judge model's token prices.
Judge *RunJudgeSettings `json:"judge,omitempty"`
// KeepAlive Seconds the session's browser stays open after its last run, so a follow-up run reuses the same page, never past the browser's 4 h lifetime. Default 120. Follow-up runs inherit the session's value; send a new value to change it or null to restore the default. Kept time is billed as browser time. Ignored (always 120) for free-tier and Zero Data Retention projects.
KeepAlive *int `json:"keepAlive,omitempty"`
// MaxCostUsd This budget limits model and search charges in USD. New API sessions default to $25. Use $25 as a starting budget unless the user specifies another amount. Follow-ups keep the current budget when you omit this field. An explicit value replaces the current budget. Account credits do not lower this budget.
MaxCostUsd *RunCreateRequest_MaxCostUsd `json:"maxCostUsd,omitempty"`
// Model When omitted, US projects created on or after 16 November 2026 use BU 4.0 (High reasoning when modelParams is also omitted). Web app users without a saved model choice start on BU 4.0. Older US projects retain their previous default; EU and Bedrock-only defaults are unchanged. See https://docs.browser-use.com/cloud/agent/models for defaults and availability. bu-ultrafast and bu-fast are ultrafast presets; they take no modelParams.
Model *RunCreateRequestModel `json:"model,omitempty"`
// ModelParams Optional provider-native request parameters for the selected model, written with the provider's own field names and values and forwarded unchanged (e.g. {"reasoning": {"effort": "high"}} for OpenAI, {"thinking": {"type": "adaptive"}} for Anthropic, {"thinkingConfig": {"thinkingLevel": "high"}} for Google). Supported paths and values are per-model; an unsupported path, value, or a model that accepts no parameters at all is rejected with 422. Omitting this field applies the model's default parameters (gpt-6-luna defaults to {"reasoning": {"effort": "high"}}); passing {} opts out of that default and leaves the provider's own defaults in place. On OpenAI models, {"service_tier": "priority"} (alias "fast") requests Fast processing at a higher token price; sent alone it keeps the model's default parameters. Beta: {"context": {"keepScreenshots": "2", "trimAtTokens": "80000", "compactAtTokens": "125000"}} controls what the agent keeps in context for the run: trimAtTokens clears old screenshots and tool output in one batch at that mark (keepScreenshots, which needs it, sets how many recent screenshots stay), and compactAtTokens compacts earlier. Values are strings from short per-model lists; like service_tier it keeps the model's default parameters.
ModelParams *map[string]interface{} `json:"modelParams,omitempty"`
// OpVaultAllowedDomains Hosts every credential from opVaultId may be typed into, e.g. ["amazon.com"]. Omit to derive each item's hosts from its own 1Password website entries; items with no website are then skipped and reported in skippedVaultItems. A host covers its subdomains, so 1Password's ExactDomain autofill setting is not honored either way.
OpVaultAllowedDomains *[]string `json:"opVaultAllowedDomains,omitempty"`
// OpVaultId A 1Password vault id whose items become typed secrets for this run. The project's connected 1Password integration is resolved server-side; no per-item ids are needed.
OpVaultId *string `json:"opVaultId,omitempty"`
// OutputSchema Optional JSON Schema for the final output (API runs only).
OutputSchema *map[string]interface{} `json:"outputSchema,omitempty"`
// SecretBindings Credentials this run may use without ever seeing them. The agent can ask the server to type a binding by alias on one of its allowed domains; it cannot read the value. Bindings are not persisted past the run.
SecretBindings *[]SecretBinding `json:"secretBindings,omitempty"`
// SessionId Continue this session; omit to start a new session.
SessionId *openapi_types.UUID `json:"sessionId,omitempty"`
// StripeLinkConnectionId Stripe Link connection (from GET /stripe-link) this run may pay with. A follow-up POST /runs must send it again; queued messages (POST /sessions/{session_id}/queue) keep the previous run's connection.
StripeLinkConnectionId *openapi_types.UUID `json:"stripeLinkConnectionId,omitempty"`
// Task What the agent should do in this run.
Task string `json:"task"`
// WorkspaceId Files workspace to use. Omitted on a new session creates one; omitted on a follow-up reuses the session's workspace.
WorkspaceId *openapi_types.UUID `json:"workspaceId,omitempty"`
}
RunCreateRequest defines model for RunCreateRequest.
type RunCreateRequestMaxCostUsd0 ¶
type RunCreateRequestMaxCostUsd0 = float64
RunCreateRequestMaxCostUsd0 defines model for RunCreateRequest.MaxCostUsd.0.
type RunCreateRequestMaxCostUsd1 ¶
type RunCreateRequestMaxCostUsd1 = string
RunCreateRequestMaxCostUsd1 defines model for RunCreateRequest.MaxCostUsd.1.
type RunCreateRequestModel ¶
type RunCreateRequestModel string
RunCreateRequestModel When omitted, US projects created on or after 16 November 2026 use BU 4.0 (High reasoning when modelParams is also omitted). Web app users without a saved model choice start on BU 4.0. Older US projects retain their previous default; EU and Bedrock-only defaults are unchanged. See https://docs.browser-use.com/cloud/agent/models for defaults and availability. bu-ultrafast and bu-fast are ultrafast presets; they take no modelParams.
const ( RunCreateRequestModelBu40 RunCreateRequestModel = "bu-4.0" RunCreateRequestModelBu40Mini RunCreateRequestModel = "bu-4.0-mini" RunCreateRequestModelBu40Pro RunCreateRequestModel = "bu-4.0-pro" RunCreateRequestModelBuFast RunCreateRequestModel = "bu-fast" RunCreateRequestModelBuUltrafast RunCreateRequestModel = "bu-ultrafast" RunCreateRequestModelClaudeFable5 RunCreateRequestModel = "claude-fable-5" RunCreateRequestModelClaudeOpus47 RunCreateRequestModel = "claude-opus-4.7" RunCreateRequestModelClaudeOpus48 RunCreateRequestModel = "claude-opus-4.8" RunCreateRequestModelClaudeOpus5 RunCreateRequestModel = "claude-opus-5" RunCreateRequestModelClaudeOpus55 RunCreateRequestModel = "claude-opus-5-5" RunCreateRequestModelClaudeSonnet5 RunCreateRequestModel = "claude-sonnet-5" RunCreateRequestModelClaudeSonnet55 RunCreateRequestModel = "claude-sonnet-5-5" RunCreateRequestModelDeepseekV41Flash RunCreateRequestModel = "deepseek-v4.1-flash" RunCreateRequestModelGemini31Pro RunCreateRequestModel = "gemini-3.1-pro" RunCreateRequestModelGemini35Flash RunCreateRequestModel = "gemini-3.5-flash" RunCreateRequestModelGemini36Flash RunCreateRequestModel = "gemini-3.6-flash" RunCreateRequestModelGemini3Flash RunCreateRequestModel = "gemini-3-flash" RunCreateRequestModelGlm52 RunCreateRequestModel = "glm-5.2" RunCreateRequestModelGlm53Flash RunCreateRequestModel = "glm-5.3-flash" RunCreateRequestModelGpt55 RunCreateRequestModel = "gpt-5.5" RunCreateRequestModelGpt56 RunCreateRequestModel = "gpt-5.6" RunCreateRequestModelGpt56Luna RunCreateRequestModel = "gpt-5.6-luna" RunCreateRequestModelGpt56Sol RunCreateRequestModel = "gpt-5.6-sol" RunCreateRequestModelGpt56Terra RunCreateRequestModel = "gpt-5.6-terra" RunCreateRequestModelGpt61Sol RunCreateRequestModel = "gpt-6.1-sol" RunCreateRequestModelGpt61Terra RunCreateRequestModel = "gpt-6.1-terra" RunCreateRequestModelGpt6Astra RunCreateRequestModel = "gpt-6-astra" RunCreateRequestModelGpt6Luna RunCreateRequestModel = "gpt-6-luna" RunCreateRequestModelGpt6Sol RunCreateRequestModel = "gpt-6-sol" RunCreateRequestModelGrok45 RunCreateRequestModel = "grok-4.5" RunCreateRequestModelGrok46 RunCreateRequestModel = "grok-4.6" RunCreateRequestModelKimiK3 RunCreateRequestModel = "kimi-k3" RunCreateRequestModelMimoV26Flash RunCreateRequestModel = "mimo-v2.6-flash" RunCreateRequestModelMimoV26Pro RunCreateRequestModel = "mimo-v2.6-pro" RunCreateRequestModelMinimaxM3 RunCreateRequestModel = "minimax-m3" )
Defines values for RunCreateRequestModel.
func (RunCreateRequestModel) Valid ¶
func (e RunCreateRequestModel) Valid() bool
Valid indicates whether the value is a known member of the RunCreateRequestModel enum.
type RunCreateRequest_MaxCostUsd ¶
type RunCreateRequest_MaxCostUsd struct {
// contains filtered or unexported fields
}
RunCreateRequest_MaxCostUsd This budget limits model and search charges in USD. New API sessions default to $25. Use $25 as a starting budget unless the user specifies another amount. Follow-ups keep the current budget when you omit this field. An explicit value replaces the current budget. Account credits do not lower this budget.
func (RunCreateRequest_MaxCostUsd) AsRunCreateRequestMaxCostUsd0 ¶
func (t RunCreateRequest_MaxCostUsd) AsRunCreateRequestMaxCostUsd0() (RunCreateRequestMaxCostUsd0, error)
AsRunCreateRequestMaxCostUsd0 returns the union data inside the RunCreateRequest_MaxCostUsd as a RunCreateRequestMaxCostUsd0
func (RunCreateRequest_MaxCostUsd) AsRunCreateRequestMaxCostUsd1 ¶
func (t RunCreateRequest_MaxCostUsd) AsRunCreateRequestMaxCostUsd1() (RunCreateRequestMaxCostUsd1, error)
AsRunCreateRequestMaxCostUsd1 returns the union data inside the RunCreateRequest_MaxCostUsd as a RunCreateRequestMaxCostUsd1
func (*RunCreateRequest_MaxCostUsd) FromRunCreateRequestMaxCostUsd0 ¶
func (t *RunCreateRequest_MaxCostUsd) FromRunCreateRequestMaxCostUsd0(v RunCreateRequestMaxCostUsd0) error
FromRunCreateRequestMaxCostUsd0 overwrites any union data inside the RunCreateRequest_MaxCostUsd as the provided RunCreateRequestMaxCostUsd0
func (*RunCreateRequest_MaxCostUsd) FromRunCreateRequestMaxCostUsd1 ¶
func (t *RunCreateRequest_MaxCostUsd) FromRunCreateRequestMaxCostUsd1(v RunCreateRequestMaxCostUsd1) error
FromRunCreateRequestMaxCostUsd1 overwrites any union data inside the RunCreateRequest_MaxCostUsd as the provided RunCreateRequestMaxCostUsd1
func (RunCreateRequest_MaxCostUsd) MarshalJSON ¶
func (t RunCreateRequest_MaxCostUsd) MarshalJSON() ([]byte, error)
func (*RunCreateRequest_MaxCostUsd) MergeRunCreateRequestMaxCostUsd0 ¶
func (t *RunCreateRequest_MaxCostUsd) MergeRunCreateRequestMaxCostUsd0(v RunCreateRequestMaxCostUsd0) error
MergeRunCreateRequestMaxCostUsd0 performs a merge with any union data inside the RunCreateRequest_MaxCostUsd, using the provided RunCreateRequestMaxCostUsd0
func (*RunCreateRequest_MaxCostUsd) MergeRunCreateRequestMaxCostUsd1 ¶
func (t *RunCreateRequest_MaxCostUsd) MergeRunCreateRequestMaxCostUsd1(v RunCreateRequestMaxCostUsd1) error
MergeRunCreateRequestMaxCostUsd1 performs a merge with any union data inside the RunCreateRequest_MaxCostUsd, using the provided RunCreateRequestMaxCostUsd1
func (*RunCreateRequest_MaxCostUsd) UnmarshalJSON ¶
func (t *RunCreateRequest_MaxCostUsd) UnmarshalJSON(b []byte) error
type RunCreateResponse ¶
type RunCreateResponse struct {
EventsUrl string `json:"eventsUrl"`
Id openapi_types.UUID `json:"id"`
MissingFileIds *[]openapi_types.UUID `json:"missingFileIds,omitempty"`
Model string `json:"model"`
SessionId openapi_types.UUID `json:"sessionId"`
// SkippedVaultItems Titles of opVaultId items that hold a credential but no 1Password website, so deriving their domains left them with nowhere to be typed. The run still starts without them; add a website to the item or pass opVaultAllowedDomains.
SkippedVaultItems *[]string `json:"skippedVaultItems,omitempty"`
Status RunCreateResponseStatus `json:"status"`
WorkspaceId openapi_types.UUID `json:"workspaceId"`
}
RunCreateResponse defines model for RunCreateResponse.
type RunCreateResponseStatus ¶
type RunCreateResponseStatus string
RunCreateResponseStatus defines model for RunCreateResponse.Status.
const ( RunCreateResponseStatusCancelled RunCreateResponseStatus = "cancelled" RunCreateResponseStatusCompleted RunCreateResponseStatus = "completed" RunCreateResponseStatusDispatching RunCreateResponseStatus = "dispatching" RunCreateResponseStatusFailed RunCreateResponseStatus = "failed" RunCreateResponseStatusQueued RunCreateResponseStatus = "queued" RunCreateResponseStatusRunning RunCreateResponseStatus = "running" )
Defines values for RunCreateResponseStatus.
func (RunCreateResponseStatus) Valid ¶
func (e RunCreateResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the RunCreateResponseStatus enum.
type RunCreateValidationError ¶ added in v0.2.0
type RunCreateValidationError struct {
Detail RunCreateValidationError_Detail `json:"detail"`
}
RunCreateValidationError 422 body for POST /runs.
type RunCreateValidationErrorDetail0 ¶ added in v0.2.0
type RunCreateValidationErrorDetail0 = string
RunCreateValidationErrorDetail0 defines model for RunCreateValidationError.Detail.0.
type RunCreateValidationErrorDetail1 ¶ added in v0.2.0
type RunCreateValidationErrorDetail1 = []map[string]interface{}
RunCreateValidationErrorDetail1 defines model for RunCreateValidationError.Detail.1.
type RunCreateValidationError_Detail ¶ added in v0.2.0
type RunCreateValidationError_Detail struct {
// contains filtered or unexported fields
}
RunCreateValidationError_Detail defines model for RunCreateValidationError.Detail.
func (RunCreateValidationError_Detail) AsRunCreateValidationErrorDetail0 ¶ added in v0.2.0
func (t RunCreateValidationError_Detail) AsRunCreateValidationErrorDetail0() (RunCreateValidationErrorDetail0, error)
AsRunCreateValidationErrorDetail0 returns the union data inside the RunCreateValidationError_Detail as a RunCreateValidationErrorDetail0
func (RunCreateValidationError_Detail) AsRunCreateValidationErrorDetail1 ¶ added in v0.2.0
func (t RunCreateValidationError_Detail) AsRunCreateValidationErrorDetail1() (RunCreateValidationErrorDetail1, error)
AsRunCreateValidationErrorDetail1 returns the union data inside the RunCreateValidationError_Detail as a RunCreateValidationErrorDetail1
func (*RunCreateValidationError_Detail) FromRunCreateValidationErrorDetail0 ¶ added in v0.2.0
func (t *RunCreateValidationError_Detail) FromRunCreateValidationErrorDetail0(v RunCreateValidationErrorDetail0) error
FromRunCreateValidationErrorDetail0 overwrites any union data inside the RunCreateValidationError_Detail as the provided RunCreateValidationErrorDetail0
func (*RunCreateValidationError_Detail) FromRunCreateValidationErrorDetail1 ¶ added in v0.2.0
func (t *RunCreateValidationError_Detail) FromRunCreateValidationErrorDetail1(v RunCreateValidationErrorDetail1) error
FromRunCreateValidationErrorDetail1 overwrites any union data inside the RunCreateValidationError_Detail as the provided RunCreateValidationErrorDetail1
func (RunCreateValidationError_Detail) MarshalJSON ¶ added in v0.2.0
func (t RunCreateValidationError_Detail) MarshalJSON() ([]byte, error)
func (*RunCreateValidationError_Detail) MergeRunCreateValidationErrorDetail0 ¶ added in v0.2.0
func (t *RunCreateValidationError_Detail) MergeRunCreateValidationErrorDetail0(v RunCreateValidationErrorDetail0) error
MergeRunCreateValidationErrorDetail0 performs a merge with any union data inside the RunCreateValidationError_Detail, using the provided RunCreateValidationErrorDetail0
func (*RunCreateValidationError_Detail) MergeRunCreateValidationErrorDetail1 ¶ added in v0.2.0
func (t *RunCreateValidationError_Detail) MergeRunCreateValidationErrorDetail1(v RunCreateValidationErrorDetail1) error
MergeRunCreateValidationErrorDetail1 performs a merge with any union data inside the RunCreateValidationError_Detail, using the provided RunCreateValidationErrorDetail1
func (*RunCreateValidationError_Detail) UnmarshalJSON ¶ added in v0.2.0
func (t *RunCreateValidationError_Detail) UnmarshalJSON(b []byte) error
type RunEvent ¶
type RunEvent struct {
Data map[string]interface{} `json:"data"`
Id int `json:"id"`
RunId openapi_types.UUID `json:"runId"`
Ts time.Time `json:"ts"`
Type string `json:"type"`
}
RunEvent defines model for RunEvent.
type RunEventsResponse ¶
type RunEventsResponse struct {
Events []RunEvent `json:"events"`
HasMore *bool `json:"hasMore,omitempty"`
NextAfter *int `json:"nextAfter,omitempty"`
}
RunEventsResponse defines model for RunEventsResponse.
type RunJudgeSettings ¶
type RunJudgeSettings struct {
Context *string `json:"context,omitempty"`
// Model The judge model, an OpenAI or Google model from this list. Model choice is being rolled out: until enabled for a project, non-null model or modelParams return 422 and judge: {} uses gemini-3-flash. Once enabled, the default is gpt-6.1-terra with reasoning effort high. Null means omitted.
Model *RunJudgeSettingsModel `json:"model,omitempty"`
// ModelParams Optional provider-native request parameters for the judge model. Model choice is being rolled out: until enabled for a project, non-null model or modelParams return 422. Once enabled, omitted or null applies reasoning effort high where supported, otherwise the model's default parameters; {} leaves provider defaults in place. Unsupported paths or values are rejected with 422. context and service_tier are not supported.
ModelParams *map[string]interface{} `json:"modelParams,omitempty"`
}
RunJudgeSettings Opt-in LLM judgement of the finished run. Presence of this object turns the judge on (send {} for defaults); CP judges the run's trajectory after it goes terminal and surfaces the verdict as RunSummary.judgement (null until it lands). Judge model choice is being rolled out. Until it is enabled for a project, judge: {} uses gemini-3-flash and non-null model or modelParams return 422. Once enabled, the default is gpt-6.1-terra with {"reasoning":{"effort":"high"}}. Null means omitted. The judge call is billed to the run at the judge model's token prices.
type RunJudgeSettingsModel ¶ added in v0.2.2
type RunJudgeSettingsModel string
RunJudgeSettingsModel The judge model, an OpenAI or Google model from this list. Model choice is being rolled out: until enabled for a project, non-null model or modelParams return 422 and judge: {} uses gemini-3-flash. Once enabled, the default is gpt-6.1-terra with reasoning effort high. Null means omitted.
const ( RunJudgeSettingsModelGemini31Pro RunJudgeSettingsModel = "gemini-3.1-pro" RunJudgeSettingsModelGemini35Flash RunJudgeSettingsModel = "gemini-3.5-flash" RunJudgeSettingsModelGemini36Flash RunJudgeSettingsModel = "gemini-3.6-flash" RunJudgeSettingsModelGemini3Flash RunJudgeSettingsModel = "gemini-3-flash" RunJudgeSettingsModelGpt55 RunJudgeSettingsModel = "gpt-5.5" RunJudgeSettingsModelGpt56 RunJudgeSettingsModel = "gpt-5.6" RunJudgeSettingsModelGpt56Luna RunJudgeSettingsModel = "gpt-5.6-luna" RunJudgeSettingsModelGpt56Sol RunJudgeSettingsModel = "gpt-5.6-sol" RunJudgeSettingsModelGpt56Terra RunJudgeSettingsModel = "gpt-5.6-terra" RunJudgeSettingsModelGpt61Sol RunJudgeSettingsModel = "gpt-6.1-sol" RunJudgeSettingsModelGpt61Terra RunJudgeSettingsModel = "gpt-6.1-terra" RunJudgeSettingsModelGpt6Astra RunJudgeSettingsModel = "gpt-6-astra" RunJudgeSettingsModelGpt6Luna RunJudgeSettingsModel = "gpt-6-luna" RunJudgeSettingsModelGpt6Sol RunJudgeSettingsModel = "gpt-6-sol" )
Defines values for RunJudgeSettingsModel.
func (RunJudgeSettingsModel) Valid ¶ added in v0.2.2
func (e RunJudgeSettingsModel) Valid() bool
Valid indicates whether the value is a known member of the RunJudgeSettingsModel enum.
type RunListResponse ¶
type RunListResponse struct {
HasMore *bool `json:"hasMore,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
Runs []RunSummary `json:"runs"`
}
RunListResponse defines model for RunListResponse.
type RunStatusResponse ¶
type RunStatusResponse struct {
Status RunStatusResponseStatus `json:"status"`
}
RunStatusResponse Minimal poll target: just the run's status. Poll this until terminal (cheap indexed lookup, tiny payload — never the task/result text), then fetch the full RunSummary once via GET /runs/{id}. Mirrors v2's GET /tasks/{id}/status.
type RunStatusResponseStatus ¶
type RunStatusResponseStatus string
RunStatusResponseStatus defines model for RunStatusResponse.Status.
const ( RunStatusResponseStatusCancelled RunStatusResponseStatus = "cancelled" RunStatusResponseStatusCompleted RunStatusResponseStatus = "completed" RunStatusResponseStatusDispatching RunStatusResponseStatus = "dispatching" RunStatusResponseStatusFailed RunStatusResponseStatus = "failed" RunStatusResponseStatusQueued RunStatusResponseStatus = "queued" RunStatusResponseStatusRunning RunStatusResponseStatus = "running" )
Defines values for RunStatusResponseStatus.
func (RunStatusResponseStatus) Valid ¶
func (e RunStatusResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the RunStatusResponseStatus enum.
type RunSummary ¶
type RunSummary struct {
AttachedFileIds *[]openapi_types.UUID `json:"attachedFileIds,omitempty"`
ContextLimit int `json:"contextLimit"`
CreatedAt time.Time `json:"createdAt"`
Error *string `json:"error"`
Id openapi_types.UUID `json:"id"`
Judgement *map[string]interface{} `json:"judgement,omitempty"`
Model string `json:"model"`
ModelParams *map[string]interface{} `json:"modelParams,omitempty"`
Output interface{} `json:"output,omitempty"`
OutputSchema *map[string]interface{} `json:"outputSchema,omitempty"`
Result *string `json:"result"`
SessionId openapi_types.UUID `json:"sessionId"`
Status RunSummaryStatus `json:"status"`
Task string `json:"task"`
Title *string `json:"title"`
TotalCostUsd string `json:"totalCostUsd"`
TotalInputTokens int `json:"totalInputTokens"`
TotalOutputTokens int `json:"totalOutputTokens"`
UpdatedAt time.Time `json:"updatedAt"`
WorkspaceId *openapi_types.UUID `json:"workspaceId"`
}
RunSummary defines model for RunSummary.
type RunSummaryStatus ¶
type RunSummaryStatus string
RunSummaryStatus defines model for RunSummary.Status.
const ( RunSummaryStatusCancelled RunSummaryStatus = "cancelled" RunSummaryStatusCompleted RunSummaryStatus = "completed" RunSummaryStatusDispatching RunSummaryStatus = "dispatching" RunSummaryStatusFailed RunSummaryStatus = "failed" RunSummaryStatusQueued RunSummaryStatus = "queued" RunSummaryStatusRunning RunSummaryStatus = "running" )
Defines values for RunSummaryStatus.
func (RunSummaryStatus) Valid ¶
func (e RunSummaryStatus) Valid() bool
Valid indicates whether the value is a known member of the RunSummaryStatus enum.
type SecretBinding ¶
type SecretBinding struct {
// Alias Name the agent refers to this secret by, e.g. "github_password".
Alias string `json:"alias"`
// AllowedDomains Hosts the secret may be typed into, e.g. ["github.com"]. A host covers its subdomains. Bare hostnames only — no scheme, port, path, or wildcard.
AllowedDomains []string `json:"allowedDomains"`
Source SecretBinding_Source `json:"source"`
}
SecretBinding One credential this run may have typed into a browser field.
The value never reaches the agent. It is encrypted at rest, kept out of the worker payload, and typed straight into the focused field by the server when the agent asks for the alias by name — and only while the page it is typing into is on one of `allowedDomains`.
Run-scoped: bindings die with the run, so a follow-up run that needs the same credential must send it again.
type SecretBinding_Source ¶
type SecretBinding_Source struct {
// contains filtered or unexported fields
}
SecretBinding_Source defines model for SecretBinding.Source.
func (SecretBinding_Source) AsInlineSecretSource ¶
func (t SecretBinding_Source) AsInlineSecretSource() (InlineSecretSource, error)
AsInlineSecretSource returns the union data inside the SecretBinding_Source as a InlineSecretSource
func (SecretBinding_Source) AsOnePasswordSecretSource ¶
func (t SecretBinding_Source) AsOnePasswordSecretSource() (OnePasswordSecretSource, error)
AsOnePasswordSecretSource returns the union data inside the SecretBinding_Source as a OnePasswordSecretSource
func (SecretBinding_Source) Discriminator ¶
func (t SecretBinding_Source) Discriminator() (string, error)
func (*SecretBinding_Source) FromInlineSecretSource ¶
func (t *SecretBinding_Source) FromInlineSecretSource(v InlineSecretSource) error
FromInlineSecretSource overwrites any union data inside the SecretBinding_Source as the provided InlineSecretSource
func (*SecretBinding_Source) FromOnePasswordSecretSource ¶
func (t *SecretBinding_Source) FromOnePasswordSecretSource(v OnePasswordSecretSource) error
FromOnePasswordSecretSource overwrites any union data inside the SecretBinding_Source as the provided OnePasswordSecretSource
func (SecretBinding_Source) MarshalJSON ¶
func (t SecretBinding_Source) MarshalJSON() ([]byte, error)
func (*SecretBinding_Source) MergeInlineSecretSource ¶
func (t *SecretBinding_Source) MergeInlineSecretSource(v InlineSecretSource) error
MergeInlineSecretSource performs a merge with any union data inside the SecretBinding_Source, using the provided InlineSecretSource
func (*SecretBinding_Source) MergeOnePasswordSecretSource ¶
func (t *SecretBinding_Source) MergeOnePasswordSecretSource(v OnePasswordSecretSource) error
MergeOnePasswordSecretSource performs a merge with any union data inside the SecretBinding_Source, using the provided OnePasswordSecretSource
func (*SecretBinding_Source) UnmarshalJSON ¶
func (t *SecretBinding_Source) UnmarshalJSON(b []byte) error
func (SecretBinding_Source) ValueByDiscriminator ¶
func (t SecretBinding_Source) ValueByDiscriminator() (interface{}, error)
type SessionBudgetResponse ¶ added in v0.2.0
type SessionBudgetResponse struct {
BudgetScope SessionBudgetResponseBudgetScope `json:"budgetScope"`
MaxCostUsd *string `json:"maxCostUsd"`
SessionId openapi_types.UUID `json:"sessionId"`
SpentUsd string `json:"spentUsd"`
}
SessionBudgetResponse Report recorded budget spending without estimating unfinished model calls.
type SessionBudgetResponseBudgetScope ¶ added in v0.2.0
type SessionBudgetResponseBudgetScope string
SessionBudgetResponseBudgetScope defines model for SessionBudgetResponse.BudgetScope.
const (
SessionBudgetResponseBudgetScopeSession SessionBudgetResponseBudgetScope = "session"
)
Defines values for SessionBudgetResponseBudgetScope.
func (SessionBudgetResponseBudgetScope) Valid ¶ added in v0.2.0
func (e SessionBudgetResponseBudgetScope) Valid() bool
Valid indicates whether the value is a known member of the SessionBudgetResponseBudgetScope enum.
type SessionCompactResponse ¶ added in v0.2.0
type SessionCompactResponse struct {
Requested bool `json:"requested"`
SessionId openapi_types.UUID `json:"sessionId"`
}
SessionCompactResponse defines model for SessionCompactResponse.
type SessionCostCapRequest ¶
type SessionCostCapRequest struct {
// MaxCostUsd This value replaces the session budget in USD. Spending so far counts against this budget. Use the user's chosen budget, or $25 as a starting budget. Preserve a higher existing budget unless the user requests a decrease.
MaxCostUsd SessionCostCapRequest_MaxCostUsd `json:"maxCostUsd"`
}
SessionCostCapRequest Set the total session budget, including when the session is idle.
type SessionCostCapRequestMaxCostUsd0 ¶
type SessionCostCapRequestMaxCostUsd0 = float64
SessionCostCapRequestMaxCostUsd0 defines model for SessionCostCapRequest.MaxCostUsd.0.
type SessionCostCapRequestMaxCostUsd1 ¶
type SessionCostCapRequestMaxCostUsd1 = string
SessionCostCapRequestMaxCostUsd1 defines model for SessionCostCapRequest.MaxCostUsd.1.
type SessionCostCapRequest_MaxCostUsd ¶
type SessionCostCapRequest_MaxCostUsd struct {
// contains filtered or unexported fields
}
SessionCostCapRequest_MaxCostUsd This value replaces the session budget in USD. Spending so far counts against this budget. Use the user's chosen budget, or $25 as a starting budget. Preserve a higher existing budget unless the user requests a decrease.
func (SessionCostCapRequest_MaxCostUsd) AsSessionCostCapRequestMaxCostUsd0 ¶
func (t SessionCostCapRequest_MaxCostUsd) AsSessionCostCapRequestMaxCostUsd0() (SessionCostCapRequestMaxCostUsd0, error)
AsSessionCostCapRequestMaxCostUsd0 returns the union data inside the SessionCostCapRequest_MaxCostUsd as a SessionCostCapRequestMaxCostUsd0
func (SessionCostCapRequest_MaxCostUsd) AsSessionCostCapRequestMaxCostUsd1 ¶
func (t SessionCostCapRequest_MaxCostUsd) AsSessionCostCapRequestMaxCostUsd1() (SessionCostCapRequestMaxCostUsd1, error)
AsSessionCostCapRequestMaxCostUsd1 returns the union data inside the SessionCostCapRequest_MaxCostUsd as a SessionCostCapRequestMaxCostUsd1
func (*SessionCostCapRequest_MaxCostUsd) FromSessionCostCapRequestMaxCostUsd0 ¶
func (t *SessionCostCapRequest_MaxCostUsd) FromSessionCostCapRequestMaxCostUsd0(v SessionCostCapRequestMaxCostUsd0) error
FromSessionCostCapRequestMaxCostUsd0 overwrites any union data inside the SessionCostCapRequest_MaxCostUsd as the provided SessionCostCapRequestMaxCostUsd0
func (*SessionCostCapRequest_MaxCostUsd) FromSessionCostCapRequestMaxCostUsd1 ¶
func (t *SessionCostCapRequest_MaxCostUsd) FromSessionCostCapRequestMaxCostUsd1(v SessionCostCapRequestMaxCostUsd1) error
FromSessionCostCapRequestMaxCostUsd1 overwrites any union data inside the SessionCostCapRequest_MaxCostUsd as the provided SessionCostCapRequestMaxCostUsd1
func (SessionCostCapRequest_MaxCostUsd) MarshalJSON ¶
func (t SessionCostCapRequest_MaxCostUsd) MarshalJSON() ([]byte, error)
func (*SessionCostCapRequest_MaxCostUsd) MergeSessionCostCapRequestMaxCostUsd0 ¶
func (t *SessionCostCapRequest_MaxCostUsd) MergeSessionCostCapRequestMaxCostUsd0(v SessionCostCapRequestMaxCostUsd0) error
MergeSessionCostCapRequestMaxCostUsd0 performs a merge with any union data inside the SessionCostCapRequest_MaxCostUsd, using the provided SessionCostCapRequestMaxCostUsd0
func (*SessionCostCapRequest_MaxCostUsd) MergeSessionCostCapRequestMaxCostUsd1 ¶
func (t *SessionCostCapRequest_MaxCostUsd) MergeSessionCostCapRequestMaxCostUsd1(v SessionCostCapRequestMaxCostUsd1) error
MergeSessionCostCapRequestMaxCostUsd1 performs a merge with any union data inside the SessionCostCapRequest_MaxCostUsd, using the provided SessionCostCapRequestMaxCostUsd1
func (*SessionCostCapRequest_MaxCostUsd) UnmarshalJSON ¶
func (t *SessionCostCapRequest_MaxCostUsd) UnmarshalJSON(b []byte) error
type SessionCostCapResponse ¶
type SessionCostCapResponse struct {
// MaxCostUsd The session budget now applied, in USD.
MaxCostUsd string `json:"maxCostUsd"`
SessionId openapi_types.UUID `json:"sessionId"`
}
SessionCostCapResponse defines model for SessionCostCapResponse.
type SessionCostResponse ¶
type SessionCostResponse struct {
BrowserCostUsd string `json:"browserCostUsd"`
LlmCostUsd string `json:"llmCostUsd"`
NumRuns int `json:"numRuns"`
ProxyCostUsd string `json:"proxyCostUsd"`
ProxyUsedMb string `json:"proxyUsedMb"`
SearchCostUsd string `json:"searchCostUsd"`
SessionId openapi_types.UUID `json:"sessionId"`
TotalCostUsd string `json:"totalCostUsd"`
}
SessionCostResponse Everything a session cost, split by what it was spent on.
Recorded usage, not an invoice total — promotional waivers and credits are applied downstream in billing.
Browser time and proxy bandwidth are metered against the session's browser, which outlives any single run, so they have no per-run number — only `RunSummary.total_cost_usd`, the LLM (and web search) charge, does.
All amounts are fixed-6-decimal strings for the same reason as `RunSummary.total_cost_usd`: JS clients lose precision on float.
type SessionInfo ¶
type SessionInfo struct {
CreatedAt time.Time `json:"createdAt"`
LatestRunId openapi_types.UUID `json:"latestRunId"`
SessionId openapi_types.UUID `json:"sessionId"`
Status SessionInfoStatus `json:"status"`
Task string `json:"task"`
Title *string `json:"title"`
UpdatedAt time.Time `json:"updatedAt"`
WorkspaceId *openapi_types.UUID `json:"workspaceId"`
}
SessionInfo Lightweight metadata for one V4 session (its most recent run).
Deliberately slim — just what a session list needs (open the conversation, show a label + status + time). The heavy per-run fields (result, error, token/cost totals) live on RunSummary and aren't repeated here.
type SessionInfoStatus ¶
type SessionInfoStatus string
SessionInfoStatus defines model for SessionInfo.Status.
const ( SessionInfoStatusCancelled SessionInfoStatus = "cancelled" SessionInfoStatusCompleted SessionInfoStatus = "completed" SessionInfoStatusDispatching SessionInfoStatus = "dispatching" SessionInfoStatusFailed SessionInfoStatus = "failed" SessionInfoStatusQueued SessionInfoStatus = "queued" SessionInfoStatusRunning SessionInfoStatus = "running" )
Defines values for SessionInfoStatus.
func (SessionInfoStatus) Valid ¶
func (e SessionInfoStatus) Valid() bool
Valid indicates whether the value is a known member of the SessionInfoStatus enum.
type SessionListResponse ¶
type SessionListResponse struct {
HasMore *bool `json:"hasMore,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
Sessions []SessionInfo `json:"sessions"`
}
SessionListResponse One entry per session (the session's most recent run), most-recent first.
A V4 session is a conversation: every follow-up run reuses the same public_session_id. GET /api/v4/runs returns one row per RUN, so callers that want a list of distinct *sessions* (e.g. the recent-sessions panel) should use this instead of de-duplicating runs client-side.
type SessionNotFoundError ¶
type SessionNotFoundError struct {
Detail *string `json:"detail,omitempty"`
}
SessionNotFoundError Error response when a session is not found
type SessionShareInfo ¶
type SessionShareInfo struct {
}
SessionShareInfo A session's public share-link state (share modal reads/writes this).
type SessionShareUpdateRequest ¶
type SessionShareUpdateRequest struct {
}
SessionShareUpdateRequest defines model for SessionShareUpdateRequest.
type SessionTimeoutLimitExceededError ¶
type SessionTimeoutLimitExceededError struct {
Detail *string `json:"detail,omitempty"`
}
SessionTimeoutLimitExceededError Error response when session timeout exceeds the maximum allowed limit
type SessionUpdateRequest ¶
type SessionUpdateRequest struct {
Title *string `json:"title,omitempty"`
}
SessionUpdateRequest Rename a session. Null clears the user-set name, so the UI falls back to the session's opening task.
type SteeringCutoff ¶
type SteeringCutoff struct {
CreatedAt time.Time `json:"createdAt"`
SourceRunId openapi_types.UUID `json:"sourceRunId"`
}
SteeringCutoff Earliest accepted steer for one interrupted source run.
The queue endpoint returns these compact boundaries separately from message rows so a remount can keep every interrupted transcript frozen without re-sending the full historical steering-message payload.
type StripeLinkStatusResponse ¶
type StripeLinkStatusResponse struct {
ConnectionId *openapi_types.UUID `json:"connectionId,omitempty"`
IsConnected bool `json:"isConnected"`
LinkEmail *string `json:"linkEmail,omitempty"`
Mode *StripeLinkStatusResponseMode `json:"mode,omitempty"`
}
StripeLinkStatusResponse The project's active Stripe Link connection, if any.
type StripeLinkStatusResponseMode ¶
type StripeLinkStatusResponseMode string
StripeLinkStatusResponseMode defines model for StripeLinkStatusResponse.Mode.
const ( StripeLinkStatusResponseModeLive StripeLinkStatusResponseMode = "live" StripeLinkStatusResponseModeTest StripeLinkStatusResponseMode = "test" )
Defines values for StripeLinkStatusResponseMode.
func (StripeLinkStatusResponseMode) Valid ¶
func (e StripeLinkStatusResponseMode) Valid() bool
Valid indicates whether the value is a known member of the StripeLinkStatusResponseMode enum.
type TooManyConcurrentActiveSessionsError ¶
type TooManyConcurrentActiveSessionsError struct {
Detail *string `json:"detail,omitempty"`
}
TooManyConcurrentActiveSessionsError Error response when user has too many concurrent active sessions
type UpdateBrowserSessionBrowsersSessionIdPatchJSONRequestBody ¶
type UpdateBrowserSessionBrowsersSessionIdPatchJSONRequestBody = UpdateBrowserSessionRequest
UpdateBrowserSessionBrowsersSessionIdPatchJSONRequestBody defines body for UpdateBrowserSessionBrowsersSessionIdPatch for application/json ContentType.
type UpdateBrowserSessionBrowsersSessionIdPatchResponse ¶
type UpdateBrowserSessionBrowsersSessionIdPatchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BrowserSessionView
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *SessionNotFoundError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *ValidationError
}
func ParseUpdateBrowserSessionBrowsersSessionIdPatchResponse ¶
func ParseUpdateBrowserSessionBrowsersSessionIdPatchResponse(rsp *http.Response) (*UpdateBrowserSessionBrowsersSessionIdPatchResponse, error)
ParseUpdateBrowserSessionBrowsersSessionIdPatchResponse parses an HTTP response from a UpdateBrowserSessionBrowsersSessionIdPatchWithResponse call
func (UpdateBrowserSessionBrowsersSessionIdPatchResponse) ContentType ¶
func (r UpdateBrowserSessionBrowsersSessionIdPatchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateBrowserSessionBrowsersSessionIdPatchResponse) GetBody ¶
func (r UpdateBrowserSessionBrowsersSessionIdPatchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateBrowserSessionBrowsersSessionIdPatchResponse) GetJSON200 ¶
func (r UpdateBrowserSessionBrowsersSessionIdPatchResponse) GetJSON200() *BrowserSessionView
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateBrowserSessionBrowsersSessionIdPatchResponse) GetJSON404 ¶
func (r UpdateBrowserSessionBrowsersSessionIdPatchResponse) GetJSON404() *SessionNotFoundError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateBrowserSessionBrowsersSessionIdPatchResponse) GetJSON422 ¶
func (r UpdateBrowserSessionBrowsersSessionIdPatchResponse) GetJSON422() *ValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateBrowserSessionBrowsersSessionIdPatchResponse) Status ¶
func (r UpdateBrowserSessionBrowsersSessionIdPatchResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateBrowserSessionBrowsersSessionIdPatchResponse) StatusCode ¶
func (r UpdateBrowserSessionBrowsersSessionIdPatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchJSONRequestBody ¶ added in v0.1.5
type UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchJSONRequestBody = BrowserProxyUpdateRequest
UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchJSONRequestBody defines body for UpdateBrowserSessionProxyBrowsersSessionIdProxyPatch for application/json ContentType.
type UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse ¶ added in v0.1.5
type UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *BrowserProxyView
}
func ParseUpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse ¶ added in v0.1.5
func ParseUpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse(rsp *http.Response) (*UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse, error)
ParseUpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse parses an HTTP response from a UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchWithResponse call
func (UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse) ContentType ¶ added in v0.1.5
func (r UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse) GetBody ¶ added in v0.1.5
func (r UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse) GetJSON200 ¶ added in v0.1.5
func (r UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse) GetJSON200() *BrowserProxyView
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse) Status ¶ added in v0.1.5
func (r UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse) StatusCode ¶ added in v0.1.5
func (r UpdateBrowserSessionProxyBrowsersSessionIdProxyPatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateBrowserSessionRequest ¶
type UpdateBrowserSessionRequest struct {
// Action Available actions that can be performed on a browser session
//
// Attributes:
// STOP: Stop the browser session (cannot be undone)
Action BrowserSessionUpdateAction `json:"action"`
}
UpdateBrowserSessionRequest Request model for updating browser session state.
type UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchJSONRequestBody ¶ added in v0.2.0
type UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchJSONRequestBody = NetworkPolicyUpdateRequest
UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchJSONRequestBody defines body for UpdateNetworkPolicyNetworkPoliciesPolicyIdPatch for application/json ContentType.
type UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse ¶ added in v0.2.0
type UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *NetworkPolicyView
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *NetworkPolicyNotFoundError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseUpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse ¶ added in v0.2.0
func ParseUpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse(rsp *http.Response) (*UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse, error)
ParseUpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse parses an HTTP response from a UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchWithResponse call
func (UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) ContentType ¶ added in v0.2.0
func (r UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) GetBody ¶ added in v0.2.0
func (r UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) GetJSON200 ¶ added in v0.2.0
func (r UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) GetJSON200() *NetworkPolicyView
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) GetJSON404 ¶ added in v0.2.0
func (r UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) GetJSON404() *NetworkPolicyNotFoundError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) GetJSON422 ¶ added in v0.2.0
func (r UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) Status ¶ added in v0.2.0
func (r UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) StatusCode ¶ added in v0.2.0
func (r UpdateNetworkPolicyNetworkPoliciesPolicyIdPatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateProfileProfilesProfileIdPatchJSONRequestBody ¶
type UpdateProfileProfilesProfileIdPatchJSONRequestBody = ProfileUpdateRequest
UpdateProfileProfilesProfileIdPatchJSONRequestBody defines body for UpdateProfileProfilesProfileIdPatch for application/json ContentType.
type UpdateProfileProfilesProfileIdPatchResponse ¶
type UpdateProfileProfilesProfileIdPatchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *ProfileView
// JSON404 the response for an HTTP 404 `application/json` response
JSON404 *ProfileNotFoundError
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseUpdateProfileProfilesProfileIdPatchResponse ¶
func ParseUpdateProfileProfilesProfileIdPatchResponse(rsp *http.Response) (*UpdateProfileProfilesProfileIdPatchResponse, error)
ParseUpdateProfileProfilesProfileIdPatchResponse parses an HTTP response from a UpdateProfileProfilesProfileIdPatchWithResponse call
func (UpdateProfileProfilesProfileIdPatchResponse) ContentType ¶
func (r UpdateProfileProfilesProfileIdPatchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateProfileProfilesProfileIdPatchResponse) GetBody ¶
func (r UpdateProfileProfilesProfileIdPatchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateProfileProfilesProfileIdPatchResponse) GetJSON200 ¶
func (r UpdateProfileProfilesProfileIdPatchResponse) GetJSON200() *ProfileView
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateProfileProfilesProfileIdPatchResponse) GetJSON404 ¶
func (r UpdateProfileProfilesProfileIdPatchResponse) GetJSON404() *ProfileNotFoundError
GetJSON404 returns the response for an HTTP 404 `application/json` response
func (UpdateProfileProfilesProfileIdPatchResponse) GetJSON422 ¶
func (r UpdateProfileProfilesProfileIdPatchResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateProfileProfilesProfileIdPatchResponse) Status ¶
func (r UpdateProfileProfilesProfileIdPatchResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateProfileProfilesProfileIdPatchResponse) StatusCode ¶
func (r UpdateProfileProfilesProfileIdPatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSessionCostCapSessionsSessionIdCostCapPatchJSONRequestBody ¶
type UpdateSessionCostCapSessionsSessionIdCostCapPatchJSONRequestBody = SessionCostCapRequest
UpdateSessionCostCapSessionsSessionIdCostCapPatchJSONRequestBody defines body for UpdateSessionCostCapSessionsSessionIdCostCapPatch for application/json ContentType.
type UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse ¶
type UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SessionCostCapResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseUpdateSessionCostCapSessionsSessionIdCostCapPatchResponse ¶
func ParseUpdateSessionCostCapSessionsSessionIdCostCapPatchResponse(rsp *http.Response) (*UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse, error)
ParseUpdateSessionCostCapSessionsSessionIdCostCapPatchResponse parses an HTTP response from a UpdateSessionCostCapSessionsSessionIdCostCapPatchWithResponse call
func (UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse) ContentType ¶
func (r UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse) GetBody ¶
func (r UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse) GetJSON200 ¶
func (r UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse) GetJSON200() *SessionCostCapResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse) GetJSON422 ¶
func (r UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse) Status ¶
func (r UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse) StatusCode ¶
func (r UpdateSessionCostCapSessionsSessionIdCostCapPatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSessionSessionsSessionIdPatchJSONRequestBody ¶
type UpdateSessionSessionsSessionIdPatchJSONRequestBody = SessionUpdateRequest
UpdateSessionSessionsSessionIdPatchJSONRequestBody defines body for UpdateSessionSessionsSessionIdPatch for application/json ContentType.
type UpdateSessionSessionsSessionIdPatchResponse ¶
type UpdateSessionSessionsSessionIdPatchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *SessionInfo
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseUpdateSessionSessionsSessionIdPatchResponse ¶
func ParseUpdateSessionSessionsSessionIdPatchResponse(rsp *http.Response) (*UpdateSessionSessionsSessionIdPatchResponse, error)
ParseUpdateSessionSessionsSessionIdPatchResponse parses an HTTP response from a UpdateSessionSessionsSessionIdPatchWithResponse call
func (UpdateSessionSessionsSessionIdPatchResponse) ContentType ¶
func (r UpdateSessionSessionsSessionIdPatchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateSessionSessionsSessionIdPatchResponse) GetBody ¶
func (r UpdateSessionSessionsSessionIdPatchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateSessionSessionsSessionIdPatchResponse) GetJSON200 ¶
func (r UpdateSessionSessionsSessionIdPatchResponse) GetJSON200() *SessionInfo
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateSessionSessionsSessionIdPatchResponse) GetJSON422 ¶
func (r UpdateSessionSessionsSessionIdPatchResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateSessionSessionsSessionIdPatchResponse) Status ¶
func (r UpdateSessionSessionsSessionIdPatchResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSessionSessionsSessionIdPatchResponse) StatusCode ¶
func (r UpdateSessionSessionsSessionIdPatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSessionShareSessionsSessionIdSharePutJSONRequestBody ¶
type UpdateSessionShareSessionsSessionIdSharePutJSONRequestBody = SessionShareUpdateRequest
UpdateSessionShareSessionsSessionIdSharePutJSONRequestBody defines body for UpdateSessionShareSessionsSessionIdSharePut for application/json ContentType.
type UpdateSessionShareSessionsSessionIdSharePutResponse ¶
type UpdateSessionShareSessionsSessionIdSharePutResponse struct {
JSON200 *SessionShareInfo
JSON422 *HTTPValidationError
}
func ParseUpdateSessionShareSessionsSessionIdSharePutResponse ¶
func ParseUpdateSessionShareSessionsSessionIdSharePutResponse(rsp *http.Response) (*UpdateSessionShareSessionsSessionIdSharePutResponse, error)
ParseUpdateSessionShareSessionsSessionIdSharePutResponse parses an HTTP response from a UpdateSessionShareSessionsSessionIdSharePutWithResponse call
func (UpdateSessionShareSessionsSessionIdSharePutResponse) ContentType ¶
func (r UpdateSessionShareSessionsSessionIdSharePutResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateSessionShareSessionsSessionIdSharePutResponse) GetBody ¶
func (r UpdateSessionShareSessionsSessionIdSharePutResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateSessionShareSessionsSessionIdSharePutResponse) GetJSON200 ¶
func (r UpdateSessionShareSessionsSessionIdSharePutResponse) GetJSON200() *SessionShareInfo
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateSessionShareSessionsSessionIdSharePutResponse) GetJSON422 ¶
func (r UpdateSessionShareSessionsSessionIdSharePutResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateSessionShareSessionsSessionIdSharePutResponse) Status ¶
func (r UpdateSessionShareSessionsSessionIdSharePutResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSessionShareSessionsSessionIdSharePutResponse) StatusCode ¶
func (r UpdateSessionShareSessionsSessionIdSharePutResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWorkspaceWorkspacesWorkspaceIdPatchJSONRequestBody ¶
type UpdateWorkspaceWorkspacesWorkspaceIdPatchJSONRequestBody = WorkspaceUpdateRequest
UpdateWorkspaceWorkspacesWorkspaceIdPatchJSONRequestBody defines body for UpdateWorkspaceWorkspacesWorkspaceIdPatch for application/json ContentType.
type UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse ¶
type UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkspaceInfo
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseUpdateWorkspaceWorkspacesWorkspaceIdPatchResponse ¶
func ParseUpdateWorkspaceWorkspacesWorkspaceIdPatchResponse(rsp *http.Response) (*UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse, error)
ParseUpdateWorkspaceWorkspacesWorkspaceIdPatchResponse parses an HTTP response from a UpdateWorkspaceWorkspacesWorkspaceIdPatchWithResponse call
func (UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse) ContentType ¶
func (r UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse) GetBody ¶
func (r UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse) GetJSON200 ¶
func (r UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse) GetJSON200() *WorkspaceInfo
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse) GetJSON422 ¶
func (r UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse) Status ¶
func (r UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse) StatusCode ¶
func (r UpdateWorkspaceWorkspacesWorkspaceIdPatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadExtensionExtensionsPostMultipartBody ¶
type UploadExtensionExtensionsPostMultipartBody struct {
File openapi_types.File `json:"file"`
}
UploadExtensionExtensionsPostMultipartBody defines parameters for UploadExtensionExtensionsPost.
type UploadExtensionExtensionsPostMultipartRequestBody ¶
type UploadExtensionExtensionsPostMultipartRequestBody UploadExtensionExtensionsPostMultipartBody
UploadExtensionExtensionsPostMultipartRequestBody defines body for UploadExtensionExtensionsPost for multipart/form-data ContentType.
type UploadExtensionExtensionsPostResponse ¶
type UploadExtensionExtensionsPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON201 the response for an HTTP 201 `application/json` response
JSON201 *ExtensionView
}
func ParseUploadExtensionExtensionsPostResponse ¶
func ParseUploadExtensionExtensionsPostResponse(rsp *http.Response) (*UploadExtensionExtensionsPostResponse, error)
ParseUploadExtensionExtensionsPostResponse parses an HTTP response from a UploadExtensionExtensionsPostWithResponse call
func (UploadExtensionExtensionsPostResponse) ContentType ¶
func (r UploadExtensionExtensionsPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UploadExtensionExtensionsPostResponse) GetBody ¶
func (r UploadExtensionExtensionsPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UploadExtensionExtensionsPostResponse) GetJSON201 ¶
func (r UploadExtensionExtensionsPostResponse) GetJSON201() *ExtensionView
GetJSON201 returns the response for an HTTP 201 `application/json` response
func (UploadExtensionExtensionsPostResponse) Status ¶
func (r UploadExtensionExtensionsPostResponse) Status() string
Status returns HTTPResponse.Status
func (UploadExtensionExtensionsPostResponse) StatusCode ¶
func (r UploadExtensionExtensionsPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostJSONRequestBody ¶
type UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostJSONRequestBody = WorkspaceFileUploadRequest
UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostJSONRequestBody defines body for UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPost for application/json ContentType.
type UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse ¶
type UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *WorkspaceFileUploadResponse
// JSON422 the response for an HTTP 422 `application/json` response
JSON422 *HTTPValidationError
}
func ParseUploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse ¶
func ParseUploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse(rsp *http.Response) (*UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse, error)
ParseUploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse parses an HTTP response from a UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostWithResponse call
func (UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse) ContentType ¶
func (r UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse) GetBody ¶
func (r UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse) GetBody() []byte
GetBody returns the raw response body bytes
func (UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse) GetJSON200 ¶
func (r UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse) GetJSON200() *WorkspaceFileUploadResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse) GetJSON422 ¶
func (r UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse) GetJSON422() *HTTPValidationError
GetJSON422 returns the response for an HTTP 422 `application/json` response
func (UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse) Status ¶
func (r UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse) Status() string
Status returns HTTPResponse.Status
func (UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse) StatusCode ¶
func (r UploadWorkspaceFilesWorkspacesWorkspaceIdFilesUploadPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValidationError ¶
type ValidationError struct {
Loc []ValidationError_Loc_Item `json:"loc"`
Msg string `json:"msg"`
Type string `json:"type"`
}
ValidationError defines model for ValidationError.
type ValidationErrorLoc0 ¶
type ValidationErrorLoc0 = string
ValidationErrorLoc0 defines model for ValidationError.Loc.0.
type ValidationErrorLoc1 ¶
type ValidationErrorLoc1 = int
ValidationErrorLoc1 defines model for ValidationError.Loc.1.
type ValidationError_Loc_Item ¶
type ValidationError_Loc_Item struct {
// contains filtered or unexported fields
}
ValidationError_Loc_Item defines model for ValidationError.loc.Item.
func (ValidationError_Loc_Item) AsValidationErrorLoc0 ¶
func (t ValidationError_Loc_Item) AsValidationErrorLoc0() (ValidationErrorLoc0, error)
AsValidationErrorLoc0 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc0
func (ValidationError_Loc_Item) AsValidationErrorLoc1 ¶
func (t ValidationError_Loc_Item) AsValidationErrorLoc1() (ValidationErrorLoc1, error)
AsValidationErrorLoc1 returns the union data inside the ValidationError_Loc_Item as a ValidationErrorLoc1
func (*ValidationError_Loc_Item) FromValidationErrorLoc0 ¶
func (t *ValidationError_Loc_Item) FromValidationErrorLoc0(v ValidationErrorLoc0) error
FromValidationErrorLoc0 overwrites any union data inside the ValidationError_Loc_Item as the provided ValidationErrorLoc0
func (*ValidationError_Loc_Item) FromValidationErrorLoc1 ¶
func (t *ValidationError_Loc_Item) FromValidationErrorLoc1(v ValidationErrorLoc1) error
FromValidationErrorLoc1 overwrites any union data inside the ValidationError_Loc_Item as the provided ValidationErrorLoc1
func (ValidationError_Loc_Item) MarshalJSON ¶
func (t ValidationError_Loc_Item) MarshalJSON() ([]byte, error)
func (*ValidationError_Loc_Item) MergeValidationErrorLoc0 ¶
func (t *ValidationError_Loc_Item) MergeValidationErrorLoc0(v ValidationErrorLoc0) error
MergeValidationErrorLoc0 performs a merge with any union data inside the ValidationError_Loc_Item, using the provided ValidationErrorLoc0
func (*ValidationError_Loc_Item) MergeValidationErrorLoc1 ¶
func (t *ValidationError_Loc_Item) MergeValidationErrorLoc1(v ValidationErrorLoc1) error
MergeValidationErrorLoc1 performs a merge with any union data inside the ValidationError_Loc_Item, using the provided ValidationErrorLoc1
func (*ValidationError_Loc_Item) UnmarshalJSON ¶
func (t *ValidationError_Loc_Item) UnmarshalJSON(b []byte) error
type WorkspaceCreateRequest ¶
type WorkspaceCreateRequest struct {
Name *string `json:"name,omitempty"`
}
WorkspaceCreateRequest defines model for WorkspaceCreateRequest.
type WorkspaceFileInfo ¶
type WorkspaceFileInfo struct {
// LastModified When the file was last modified
LastModified time.Time `json:"lastModified"`
// Path File path relative to the workspace root
Path string `json:"path"`
// Size File size in bytes
Size int `json:"size"`
// Url Presigned download URL (60s expiry). Only included when `includeUrls=true`.
Url *string `json:"url,omitempty"`
}
WorkspaceFileInfo A file the agent has produced for the workspace. Shape mirrors V3 files (FileInfo) so a single UI component can render both.
type WorkspaceFileListResponse ¶
type WorkspaceFileListResponse struct {
Files []WorkspaceFileInfo `json:"files"`
HasMore *bool `json:"hasMore,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
}
WorkspaceFileListResponse defines model for WorkspaceFileListResponse.
type WorkspaceFileUploadItem ¶
type WorkspaceFileUploadItem struct {
// ContentType MIME type, e.g. "text/csv"
ContentType *string `json:"contentType,omitempty"`
// Name Filename, e.g. "data.csv"
Name string `json:"name"`
// Size Exact file size in bytes; the presigned URL is pinned to it.
Size int `json:"size"`
}
WorkspaceFileUploadItem defines model for WorkspaceFileUploadItem.
type WorkspaceFileUploadRequest ¶
type WorkspaceFileUploadRequest struct {
// AllowOverrides When false, return 409 before reserving storage if any uploaded filename would replace an existing workspace file.
AllowOverrides *bool `json:"allowOverrides,omitempty"`
Files []WorkspaceFileUploadItem `json:"files"`
}
WorkspaceFileUploadRequest defines model for WorkspaceFileUploadRequest.
type WorkspaceFileUploadResponse ¶
type WorkspaceFileUploadResponse struct {
Files []WorkspaceFileUploadResponseItem `json:"files"`
}
WorkspaceFileUploadResponse defines model for WorkspaceFileUploadResponse.
type WorkspaceFileUploadResponseItem ¶
type WorkspaceFileUploadResponseItem struct {
// Id Upload id. Pass THIS in RunCreateRequest.attachedFileIds to attach the file to a run.
Id openapi_types.UUID `json:"id"`
// Name Original filename from the request
Name string `json:"name"`
// Path Path within the workspace, e.g. "uploads/data.csv"
Path string `json:"path"`
// StoredName Sanitized filename the object is stored under, e.g. "data.csv".
StoredName string `json:"storedName"`
// UploadUrl Presigned PUT URL (5 min expiry). PUT the file bytes with the matching Content-Type and Content-Length headers.
UploadUrl string `json:"uploadUrl"`
// WillOverride True if a file with this stored_name already exists in the workspace and uploading will replace it. Surface a warning to the user.
WillOverride bool `json:"willOverride"`
}
WorkspaceFileUploadResponseItem defines model for WorkspaceFileUploadResponseItem.
type WorkspaceInfo ¶
type WorkspaceInfo struct {
Archived bool `json:"archived"`
CreatedAt time.Time `json:"createdAt"`
Id openapi_types.UUID `json:"id"`
Name *string `json:"name,omitempty"`
UpdatedAt time.Time `json:"updatedAt"`
}
WorkspaceInfo defines model for WorkspaceInfo.
type WorkspaceSizeInfo ¶
type WorkspaceSizeInfo struct {
// MaxBytes Maximum workspace storage allowed in bytes.
MaxBytes int `json:"maxBytes"`
// UsedBytes Current workspace storage usage in bytes.
UsedBytes int `json:"usedBytes"`
}
WorkspaceSizeInfo defines model for WorkspaceSizeInfo.
type WorkspaceUpdateRequest ¶
type WorkspaceUpdateRequest struct {
Name *string `json:"name,omitempty"`
}
WorkspaceUpdateRequest defines model for WorkspaceUpdateRequest.