Help us shape the future of Go! Take the 2026 Go Developer Survey

oapi

package
v2.19.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package oapi 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAnalyticsServiceGetAgentAnalyticsRequest added in v2.19.0

func NewAnalyticsServiceGetAgentAnalyticsRequest(server string, projectId string, agentId string, params *AnalyticsServiceGetAgentAnalyticsParams) (*http.Request, error)

NewAnalyticsServiceGetAgentAnalyticsRequest constructs an http.Request for the AnalyticsServiceGetAgentAnalytics method

func NewAnalyticsServiceGetProjectAnalyticsRequest added in v2.19.0

func NewAnalyticsServiceGetProjectAnalyticsRequest(server string, projectId string, params *AnalyticsServiceGetProjectAnalyticsParams) (*http.Request, error)

NewAnalyticsServiceGetProjectAnalyticsRequest constructs an http.Request for the AnalyticsServiceGetProjectAnalytics method

func NewAnalyticsServiceGetSessionRequest

func NewAnalyticsServiceGetSessionRequest(server string, projectId string, sessionId string) (*http.Request, error)

NewAnalyticsServiceGetSessionRequest constructs an http.Request for the AnalyticsServiceGetSession method

func NewAnalyticsServiceListAgentAnalyticsRequest added in v2.19.0

func NewAnalyticsServiceListAgentAnalyticsRequest(server string, projectId string, params *AnalyticsServiceListAgentAnalyticsParams) (*http.Request, error)

NewAnalyticsServiceListAgentAnalyticsRequest constructs an http.Request for the AnalyticsServiceListAgentAnalytics method

func NewAnalyticsServiceListProjectSessionsRequest

func NewAnalyticsServiceListProjectSessionsRequest(server string, projectId string, params *AnalyticsServiceListProjectSessionsParams) (*http.Request, error)

NewAnalyticsServiceListProjectSessionsRequest constructs an http.Request for the AnalyticsServiceListProjectSessions method

func NewAnalyticsServiceListSessionEventsRequest added in v2.19.0

func NewAnalyticsServiceListSessionEventsRequest(server string, projectId string, sessionId string, params *AnalyticsServiceListSessionEventsParams) (*http.Request, error)

NewAnalyticsServiceListSessionEventsRequest constructs an http.Request for the AnalyticsServiceListSessionEvents method

func NewAnalyticsServiceListSessionParticipantsRequest added in v2.19.0

func NewAnalyticsServiceListSessionParticipantsRequest(server string, projectId string, sessionId string, params *AnalyticsServiceListSessionParticipantsParams) (*http.Request, error)

NewAnalyticsServiceListSessionParticipantsRequest constructs an http.Request for the AnalyticsServiceListSessionParticipants method

func NewBuilderAgentServiceCreateBuilderAgentRequest added in v2.19.3

func NewBuilderAgentServiceCreateBuilderAgentRequest(server string, projectId string, body BuilderAgentServiceCreateBuilderAgentJSONRequestBody) (*http.Request, error)

NewBuilderAgentServiceCreateBuilderAgentRequest calls the generic BuilderAgentServiceCreateBuilderAgent builder with application/json body

func NewBuilderAgentServiceCreateBuilderAgentRequestWithBody added in v2.19.3

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

NewBuilderAgentServiceCreateBuilderAgentRequestWithBody constructs an http.Request for the BuilderAgentServiceCreateBuilderAgent method, with any body, and a specified content type

func NewBuilderAgentServiceDeleteBuilderAgentRequest added in v2.19.3

func NewBuilderAgentServiceDeleteBuilderAgentRequest(server string, projectId string, builderAgentId string) (*http.Request, error)

NewBuilderAgentServiceDeleteBuilderAgentRequest constructs an http.Request for the BuilderAgentServiceDeleteBuilderAgent method

func NewBuilderAgentServiceDeployBuilderAgentRequest added in v2.19.3

func NewBuilderAgentServiceDeployBuilderAgentRequest(server string, projectId string, builderAgentId string, body BuilderAgentServiceDeployBuilderAgentJSONRequestBody) (*http.Request, error)

NewBuilderAgentServiceDeployBuilderAgentRequest calls the generic BuilderAgentServiceDeployBuilderAgent builder with application/json body

func NewBuilderAgentServiceDeployBuilderAgentRequestWithBody added in v2.19.3

func NewBuilderAgentServiceDeployBuilderAgentRequestWithBody(server string, projectId string, builderAgentId string, contentType string, body io.Reader) (*http.Request, error)

NewBuilderAgentServiceDeployBuilderAgentRequestWithBody constructs an http.Request for the BuilderAgentServiceDeployBuilderAgent method, with any body, and a specified content type

func NewBuilderAgentServiceGetBuilderAgentRequest added in v2.19.3

func NewBuilderAgentServiceGetBuilderAgentRequest(server string, projectId string, builderAgentId string) (*http.Request, error)

NewBuilderAgentServiceGetBuilderAgentRequest constructs an http.Request for the BuilderAgentServiceGetBuilderAgent method

func NewBuilderAgentServiceListBuilderAgentsRequest added in v2.19.3

func NewBuilderAgentServiceListBuilderAgentsRequest(server string, projectId string, params *BuilderAgentServiceListBuilderAgentsParams) (*http.Request, error)

NewBuilderAgentServiceListBuilderAgentsRequest constructs an http.Request for the BuilderAgentServiceListBuilderAgents method

func NewBuilderAgentServiceUpdateBuilderAgentRequest added in v2.19.3

func NewBuilderAgentServiceUpdateBuilderAgentRequest(server string, projectId string, builderAgentId string, body BuilderAgentServiceUpdateBuilderAgentJSONRequestBody) (*http.Request, error)

NewBuilderAgentServiceUpdateBuilderAgentRequest calls the generic BuilderAgentServiceUpdateBuilderAgent builder with application/json body

func NewBuilderAgentServiceUpdateBuilderAgentRequestWithBody added in v2.19.3

func NewBuilderAgentServiceUpdateBuilderAgentRequestWithBody(server string, projectId string, builderAgentId string, contentType string, body io.Reader) (*http.Request, error)

NewBuilderAgentServiceUpdateBuilderAgentRequestWithBody constructs an http.Request for the BuilderAgentServiceUpdateBuilderAgent method, with any body, and a specified content type

func NewDatabaseServiceCreateDatabaseRequest added in v2.19.1

func NewDatabaseServiceCreateDatabaseRequest(server string, projectId string, body DatabaseServiceCreateDatabaseJSONRequestBody) (*http.Request, error)

NewDatabaseServiceCreateDatabaseRequest calls the generic DatabaseServiceCreateDatabase builder with application/json body

func NewDatabaseServiceCreateDatabaseRequestWithBody added in v2.19.1

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

NewDatabaseServiceCreateDatabaseRequestWithBody constructs an http.Request for the DatabaseServiceCreateDatabase method, with any body, and a specified content type

func NewDatabaseServiceDeleteDatabaseRequest added in v2.19.1

func NewDatabaseServiceDeleteDatabaseRequest(server string, projectId string, databaseId string) (*http.Request, error)

NewDatabaseServiceDeleteDatabaseRequest constructs an http.Request for the DatabaseServiceDeleteDatabase method

func NewDatabaseServiceExportDatabaseRequest added in v2.19.1

func NewDatabaseServiceExportDatabaseRequest(server string, projectId string, databaseId string) (*http.Request, error)

NewDatabaseServiceExportDatabaseRequest constructs an http.Request for the DatabaseServiceExportDatabase method

func NewDatabaseServiceGetDatabaseRequest added in v2.19.1

func NewDatabaseServiceGetDatabaseRequest(server string, projectId string, databaseId string) (*http.Request, error)

NewDatabaseServiceGetDatabaseRequest constructs an http.Request for the DatabaseServiceGetDatabase method

func NewDatabaseServiceListDatabasesRequest added in v2.19.1

func NewDatabaseServiceListDatabasesRequest(server string, projectId string, params *DatabaseServiceListDatabasesParams) (*http.Request, error)

NewDatabaseServiceListDatabasesRequest constructs an http.Request for the DatabaseServiceListDatabases method

func NewObservabilityServiceGetSessionLogsRequest added in v2.19.0

func NewObservabilityServiceGetSessionLogsRequest(server string, projectId string, sessionId string, params *ObservabilityServiceGetSessionLogsParams) (*http.Request, error)

NewObservabilityServiceGetSessionLogsRequest constructs an http.Request for the ObservabilityServiceGetSessionLogs method

func NewObservabilityServiceGetSessionMetricsRequest added in v2.19.0

func NewObservabilityServiceGetSessionMetricsRequest(server string, projectId string, sessionId string, params *ObservabilityServiceGetSessionMetricsParams) (*http.Request, error)

NewObservabilityServiceGetSessionMetricsRequest constructs an http.Request for the ObservabilityServiceGetSessionMetrics method

func NewObservabilityServiceGetSessionRecordingURLRequest added in v2.19.0

func NewObservabilityServiceGetSessionRecordingURLRequest(server string, projectId string, sessionId string, params *ObservabilityServiceGetSessionRecordingURLParams) (*http.Request, error)

NewObservabilityServiceGetSessionRecordingURLRequest constructs an http.Request for the ObservabilityServiceGetSessionRecordingURL method

func NewObservabilityServiceGetSessionTracesRequest added in v2.19.0

func NewObservabilityServiceGetSessionTracesRequest(server string, projectId string, sessionId string, params *ObservabilityServiceGetSessionTracesParams) (*http.Request, error)

NewObservabilityServiceGetSessionTracesRequest constructs an http.Request for the ObservabilityServiceGetSessionTraces method

func NewObservabilityServiceGetSessionTranscriptRequest added in v2.19.0

func NewObservabilityServiceGetSessionTranscriptRequest(server string, projectId string, sessionId string, params *ObservabilityServiceGetSessionTranscriptParams) (*http.Request, error)

NewObservabilityServiceGetSessionTranscriptRequest constructs an http.Request for the ObservabilityServiceGetSessionTranscript method

func NewProjectServiceAddWorkspaceMembersToProjectRequest

func NewProjectServiceAddWorkspaceMembersToProjectRequest(server string, projectId string, body ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody) (*http.Request, error)

NewProjectServiceAddWorkspaceMembersToProjectRequest calls the generic ProjectServiceAddWorkspaceMembersToProject builder with application/json body

func NewProjectServiceAddWorkspaceMembersToProjectRequestWithBody

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

NewProjectServiceAddWorkspaceMembersToProjectRequestWithBody constructs an http.Request for the ProjectServiceAddWorkspaceMembersToProject method, with any body, and a specified content type

func NewProjectServiceAnswerInvitationRequest

func NewProjectServiceAnswerInvitationRequest(server string, inviteToken string, body ProjectServiceAnswerInvitationJSONRequestBody) (*http.Request, error)

NewProjectServiceAnswerInvitationRequest calls the generic ProjectServiceAnswerInvitation builder with application/json body

func NewProjectServiceAnswerInvitationRequestWithBody

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

NewProjectServiceAnswerInvitationRequestWithBody constructs an http.Request for the ProjectServiceAnswerInvitation method, with any body, and a specified content type

func NewProjectServiceCreateProjectRequest

func NewProjectServiceCreateProjectRequest(server string, body ProjectServiceCreateProjectJSONRequestBody) (*http.Request, error)

NewProjectServiceCreateProjectRequest calls the generic ProjectServiceCreateProject builder with application/json body

func NewProjectServiceCreateProjectRequestWithBody

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

NewProjectServiceCreateProjectRequestWithBody constructs an http.Request for the ProjectServiceCreateProject method, with any body, and a specified content type

func NewProjectServiceCreateTokenRequest added in v2.19.1

func NewProjectServiceCreateTokenRequest(server string, projectId string, body ProjectServiceCreateTokenJSONRequestBody) (*http.Request, error)

NewProjectServiceCreateTokenRequest calls the generic ProjectServiceCreateToken builder with application/json body

func NewProjectServiceCreateTokenRequestWithBody added in v2.19.1

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

NewProjectServiceCreateTokenRequestWithBody constructs an http.Request for the ProjectServiceCreateToken method, with any body, and a specified content type

func NewProjectServiceCreateWebhookRequest added in v2.19.1

func NewProjectServiceCreateWebhookRequest(server string, projectId string, body ProjectServiceCreateWebhookJSONRequestBody) (*http.Request, error)

NewProjectServiceCreateWebhookRequest calls the generic ProjectServiceCreateWebhook builder with application/json body

func NewProjectServiceCreateWebhookRequestWithBody added in v2.19.1

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

NewProjectServiceCreateWebhookRequestWithBody constructs an http.Request for the ProjectServiceCreateWebhook method, with any body, and a specified content type

func NewProjectServiceDeleteInviteRequest

func NewProjectServiceDeleteInviteRequest(server string, projectId string, email string) (*http.Request, error)

NewProjectServiceDeleteInviteRequest constructs an http.Request for the ProjectServiceDeleteInvite method

func NewProjectServiceDeleteKeyRequest added in v2.19.0

func NewProjectServiceDeleteKeyRequest(server string, projectId string, apiKey string) (*http.Request, error)

NewProjectServiceDeleteKeyRequest constructs an http.Request for the ProjectServiceDeleteKey method

func NewProjectServiceDeleteProjectRequest

func NewProjectServiceDeleteProjectRequest(server string, projectId string) (*http.Request, error)

NewProjectServiceDeleteProjectRequest constructs an http.Request for the ProjectServiceDeleteProject method

func NewProjectServiceDeleteWebhookRequest added in v2.19.1

func NewProjectServiceDeleteWebhookRequest(server string, projectId string, webhookId string) (*http.Request, error)

NewProjectServiceDeleteWebhookRequest constructs an http.Request for the ProjectServiceDeleteWebhook method

func NewProjectServiceGenerateKeyRequest added in v2.19.0

func NewProjectServiceGenerateKeyRequest(server string, projectId string, body ProjectServiceGenerateKeyJSONRequestBody) (*http.Request, error)

NewProjectServiceGenerateKeyRequest calls the generic ProjectServiceGenerateKey builder with application/json body

func NewProjectServiceGenerateKeyRequestWithBody added in v2.19.0

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

NewProjectServiceGenerateKeyRequestWithBody constructs an http.Request for the ProjectServiceGenerateKey method, with any body, and a specified content type

func NewProjectServiceGetInviteRequest

func NewProjectServiceGetInviteRequest(server string, inviteToken string) (*http.Request, error)

NewProjectServiceGetInviteRequest constructs an http.Request for the ProjectServiceGetInvite method

func NewProjectServiceGetMemberRequest

func NewProjectServiceGetMemberRequest(server string, projectId string, userId string) (*http.Request, error)

NewProjectServiceGetMemberRequest constructs an http.Request for the ProjectServiceGetMember method

func NewProjectServiceGetProjectRequest

func NewProjectServiceGetProjectRequest(server string, projectId string) (*http.Request, error)

NewProjectServiceGetProjectRequest constructs an http.Request for the ProjectServiceGetProject method

func NewProjectServiceInviteMemberRequest

func NewProjectServiceInviteMemberRequest(server string, projectId string, body ProjectServiceInviteMemberJSONRequestBody) (*http.Request, error)

NewProjectServiceInviteMemberRequest calls the generic ProjectServiceInviteMember builder with application/json body

func NewProjectServiceInviteMemberRequestWithBody

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

NewProjectServiceInviteMemberRequestWithBody constructs an http.Request for the ProjectServiceInviteMember method, with any body, and a specified content type

func NewProjectServiceListInvitesRequest

func NewProjectServiceListInvitesRequest(server string, projectId string, params *ProjectServiceListInvitesParams) (*http.Request, error)

NewProjectServiceListInvitesRequest constructs an http.Request for the ProjectServiceListInvites method

func NewProjectServiceListKeysRequest added in v2.19.0

func NewProjectServiceListKeysRequest(server string, projectId string, params *ProjectServiceListKeysParams) (*http.Request, error)

NewProjectServiceListKeysRequest constructs an http.Request for the ProjectServiceListKeys method

func NewProjectServiceListMembersRequest

func NewProjectServiceListMembersRequest(server string, projectId string, params *ProjectServiceListMembersParams) (*http.Request, error)

NewProjectServiceListMembersRequest constructs an http.Request for the ProjectServiceListMembers method

func NewProjectServiceListProjectsRequest

func NewProjectServiceListProjectsRequest(server string, params *ProjectServiceListProjectsParams) (*http.Request, error)

NewProjectServiceListProjectsRequest constructs an http.Request for the ProjectServiceListProjects method

func NewProjectServiceListWebhookEventsRequest added in v2.19.1

func NewProjectServiceListWebhookEventsRequest(server string, projectId string, params *ProjectServiceListWebhookEventsParams) (*http.Request, error)

NewProjectServiceListWebhookEventsRequest constructs an http.Request for the ProjectServiceListWebhookEvents method

func NewProjectServiceListWebhooksRequest added in v2.19.1

func NewProjectServiceListWebhooksRequest(server string, projectId string, params *ProjectServiceListWebhooksParams) (*http.Request, error)

NewProjectServiceListWebhooksRequest constructs an http.Request for the ProjectServiceListWebhooks method

func NewProjectServiceRemoveMemberRequest

func NewProjectServiceRemoveMemberRequest(server string, projectId string, userId string, params *ProjectServiceRemoveMemberParams) (*http.Request, error)

NewProjectServiceRemoveMemberRequest constructs an http.Request for the ProjectServiceRemoveMember method

func NewProjectServiceSendTestWebhookRequest added in v2.19.1

func NewProjectServiceSendTestWebhookRequest(server string, projectId string, webhookId string, body ProjectServiceSendTestWebhookJSONRequestBody) (*http.Request, error)

NewProjectServiceSendTestWebhookRequest calls the generic ProjectServiceSendTestWebhook builder with application/json body

func NewProjectServiceSendTestWebhookRequestWithBody added in v2.19.1

func NewProjectServiceSendTestWebhookRequestWithBody(server string, projectId string, webhookId string, contentType string, body io.Reader) (*http.Request, error)

NewProjectServiceSendTestWebhookRequestWithBody constructs an http.Request for the ProjectServiceSendTestWebhook method, with any body, and a specified content type

func NewProjectServiceUpdateInviteRequest

func NewProjectServiceUpdateInviteRequest(server string, projectId string, email string, body ProjectServiceUpdateInviteJSONRequestBody) (*http.Request, error)

NewProjectServiceUpdateInviteRequest calls the generic ProjectServiceUpdateInvite builder with application/json body

func NewProjectServiceUpdateInviteRequestWithBody

func NewProjectServiceUpdateInviteRequestWithBody(server string, projectId string, email string, contentType string, body io.Reader) (*http.Request, error)

NewProjectServiceUpdateInviteRequestWithBody constructs an http.Request for the ProjectServiceUpdateInvite method, with any body, and a specified content type

func NewProjectServiceUpdateMemberRequest

func NewProjectServiceUpdateMemberRequest(server string, projectId string, userId string, body ProjectServiceUpdateMemberJSONRequestBody) (*http.Request, error)

NewProjectServiceUpdateMemberRequest calls the generic ProjectServiceUpdateMember builder with application/json body

func NewProjectServiceUpdateMemberRequestWithBody

func NewProjectServiceUpdateMemberRequestWithBody(server string, projectId string, userId string, contentType string, body io.Reader) (*http.Request, error)

NewProjectServiceUpdateMemberRequestWithBody constructs an http.Request for the ProjectServiceUpdateMember method, with any body, and a specified content type

func NewProjectServiceUpdateProjectRequest

func NewProjectServiceUpdateProjectRequest(server string, projectId string, body ProjectServiceUpdateProjectJSONRequestBody) (*http.Request, error)

NewProjectServiceUpdateProjectRequest calls the generic ProjectServiceUpdateProject builder with application/json body

func NewProjectServiceUpdateProjectRequestWithBody

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

NewProjectServiceUpdateProjectRequestWithBody constructs an http.Request for the ProjectServiceUpdateProject method, with any body, and a specified content type

func NewProjectServiceUpdateWebhookRequest added in v2.19.1

func NewProjectServiceUpdateWebhookRequest(server string, projectId string, webhookId string, body ProjectServiceUpdateWebhookJSONRequestBody) (*http.Request, error)

NewProjectServiceUpdateWebhookRequest calls the generic ProjectServiceUpdateWebhook builder with application/json body

func NewProjectServiceUpdateWebhookRequestWithBody added in v2.19.1

func NewProjectServiceUpdateWebhookRequestWithBody(server string, projectId string, webhookId string, contentType string, body io.Reader) (*http.Request, error)

NewProjectServiceUpdateWebhookRequestWithBody constructs an http.Request for the ProjectServiceUpdateWebhook method, with any body, and a specified content type

func NewSimulationServiceCancelSimulationRunRequest

func NewSimulationServiceCancelSimulationRunRequest(server string, projectId string, simulationRunId string) (*http.Request, error)

NewSimulationServiceCancelSimulationRunRequest constructs an http.Request for the SimulationServiceCancelSimulationRun method

func NewSimulationServiceConfirmSimulationSourceUploadRequest added in v2.19.0

func NewSimulationServiceConfirmSimulationSourceUploadRequest(server string, projectId string, simulationRunId string, body SimulationServiceConfirmSimulationSourceUploadJSONRequestBody) (*http.Request, error)

NewSimulationServiceConfirmSimulationSourceUploadRequest calls the generic SimulationServiceConfirmSimulationSourceUpload builder with application/json body

func NewSimulationServiceConfirmSimulationSourceUploadRequestWithBody added in v2.19.0

func NewSimulationServiceConfirmSimulationSourceUploadRequestWithBody(server string, projectId string, simulationRunId string, contentType string, body io.Reader) (*http.Request, error)

NewSimulationServiceConfirmSimulationSourceUploadRequestWithBody constructs an http.Request for the SimulationServiceConfirmSimulationSourceUpload method, with any body, and a specified content type

func NewSimulationServiceCountSimulationRunsRequest added in v2.19.0

func NewSimulationServiceCountSimulationRunsRequest(server string, projectId string, params *SimulationServiceCountSimulationRunsParams) (*http.Request, error)

NewSimulationServiceCountSimulationRunsRequest constructs an http.Request for the SimulationServiceCountSimulationRuns method

func NewSimulationServiceCreateSimulationRunRequest

func NewSimulationServiceCreateSimulationRunRequest(server string, projectId string, body SimulationServiceCreateSimulationRunJSONRequestBody) (*http.Request, error)

NewSimulationServiceCreateSimulationRunRequest calls the generic SimulationServiceCreateSimulationRun builder with application/json body

func NewSimulationServiceCreateSimulationRunRequestWithBody

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

NewSimulationServiceCreateSimulationRunRequestWithBody constructs an http.Request for the SimulationServiceCreateSimulationRun method, with any body, and a specified content type

func NewSimulationServiceGenerateScenarioFromSessionRequest added in v2.19.0

func NewSimulationServiceGenerateScenarioFromSessionRequest(server string, projectId string, body SimulationServiceGenerateScenarioFromSessionJSONRequestBody) (*http.Request, error)

NewSimulationServiceGenerateScenarioFromSessionRequest calls the generic SimulationServiceGenerateScenarioFromSession builder with application/json body

func NewSimulationServiceGenerateScenarioFromSessionRequestWithBody added in v2.19.0

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

NewSimulationServiceGenerateScenarioFromSessionRequestWithBody constructs an http.Request for the SimulationServiceGenerateScenarioFromSession method, with any body, and a specified content type

func NewSimulationServiceGetSimulationRunRequest

func NewSimulationServiceGetSimulationRunRequest(server string, projectId string, simulationRunId string) (*http.Request, error)

NewSimulationServiceGetSimulationRunRequest constructs an http.Request for the SimulationServiceGetSimulationRun method

func NewSimulationServiceGetSimulationRunSummaryRequest added in v2.19.0

func NewSimulationServiceGetSimulationRunSummaryRequest(server string, projectId string, simulationRunId string) (*http.Request, error)

NewSimulationServiceGetSimulationRunSummaryRequest constructs an http.Request for the SimulationServiceGetSimulationRunSummary method

func NewSimulationServiceListSimulationRunsRequest

func NewSimulationServiceListSimulationRunsRequest(server string, projectId string, params *SimulationServiceListSimulationRunsParams) (*http.Request, error)

NewSimulationServiceListSimulationRunsRequest constructs an http.Request for the SimulationServiceListSimulationRuns method

func NewThreadServiceCreateThreadRequest added in v2.19.1

func NewThreadServiceCreateThreadRequest(server string, projectId string, body ThreadServiceCreateThreadJSONRequestBody) (*http.Request, error)

NewThreadServiceCreateThreadRequest calls the generic ThreadServiceCreateThread builder with application/json body

func NewThreadServiceCreateThreadRequestWithBody added in v2.19.1

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

NewThreadServiceCreateThreadRequestWithBody constructs an http.Request for the ThreadServiceCreateThread method, with any body, and a specified content type

func NewThreadServiceDeleteThreadRequest added in v2.19.1

func NewThreadServiceDeleteThreadRequest(server string, projectId string, threadId string) (*http.Request, error)

NewThreadServiceDeleteThreadRequest constructs an http.Request for the ThreadServiceDeleteThread method

func NewThreadServiceGetThreadItemsRequest added in v2.19.1

func NewThreadServiceGetThreadItemsRequest(server string, projectId string, threadId string, params *ThreadServiceGetThreadItemsParams) (*http.Request, error)

NewThreadServiceGetThreadItemsRequest constructs an http.Request for the ThreadServiceGetThreadItems method

func NewThreadServiceGetThreadRequest added in v2.19.1

func NewThreadServiceGetThreadRequest(server string, projectId string, threadId string) (*http.Request, error)

NewThreadServiceGetThreadRequest constructs an http.Request for the ThreadServiceGetThread method

func NewThreadServiceGetThreadTasksRequest added in v2.19.1

func NewThreadServiceGetThreadTasksRequest(server string, projectId string, threadId string, params *ThreadServiceGetThreadTasksParams) (*http.Request, error)

NewThreadServiceGetThreadTasksRequest constructs an http.Request for the ThreadServiceGetThreadTasks method

func NewThreadServiceListThreadsRequest added in v2.19.1

func NewThreadServiceListThreadsRequest(server string, projectId string, params *ThreadServiceListThreadsParams) (*http.Request, error)

NewThreadServiceListThreadsRequest constructs an http.Request for the ThreadServiceListThreads method

func NewThreadServiceUpdateThreadRequest added in v2.19.1

func NewThreadServiceUpdateThreadRequest(server string, projectId string, threadId string, body ThreadServiceUpdateThreadJSONRequestBody) (*http.Request, error)

NewThreadServiceUpdateThreadRequest calls the generic ThreadServiceUpdateThread builder with application/json body

func NewThreadServiceUpdateThreadRequestWithBody added in v2.19.1

func NewThreadServiceUpdateThreadRequestWithBody(server string, projectId string, threadId string, contentType string, body io.Reader) (*http.Request, error)

NewThreadServiceUpdateThreadRequestWithBody constructs an http.Request for the ThreadServiceUpdateThread method, with any body, and a specified content type

func NewUserServiceGetCurrentUserRequest

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

NewUserServiceGetCurrentUserRequest constructs an http.Request for the UserServiceGetCurrentUser method

func NewUserServiceGetUserRequest

func NewUserServiceGetUserRequest(server string, userId string) (*http.Request, error)

NewUserServiceGetUserRequest constructs an http.Request for the UserServiceGetUser method

func NewUserServiceListUsersRequest

func NewUserServiceListUsersRequest(server string, params *UserServiceListUsersParams) (*http.Request, error)

NewUserServiceListUsersRequest constructs an http.Request for the UserServiceListUsers method

func NewWorkspaceServiceAnswerInviteRequest

func NewWorkspaceServiceAnswerInviteRequest(server string, inviteToken string, body WorkspaceServiceAnswerInviteJSONRequestBody) (*http.Request, error)

NewWorkspaceServiceAnswerInviteRequest calls the generic WorkspaceServiceAnswerInvite builder with application/json body

func NewWorkspaceServiceAnswerInviteRequestWithBody

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

NewWorkspaceServiceAnswerInviteRequestWithBody constructs an http.Request for the WorkspaceServiceAnswerInvite method, with any body, and a specified content type

func NewWorkspaceServiceCreateInviteRequest

func NewWorkspaceServiceCreateInviteRequest(server string, workspaceId string, body WorkspaceServiceCreateInviteJSONRequestBody) (*http.Request, error)

NewWorkspaceServiceCreateInviteRequest calls the generic WorkspaceServiceCreateInvite builder with application/json body

func NewWorkspaceServiceCreateInviteRequestWithBody

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

NewWorkspaceServiceCreateInviteRequestWithBody constructs an http.Request for the WorkspaceServiceCreateInvite method, with any body, and a specified content type

func NewWorkspaceServiceCreateProjectRequest

func NewWorkspaceServiceCreateProjectRequest(server string, workspaceId string, body WorkspaceServiceCreateProjectJSONRequestBody) (*http.Request, error)

NewWorkspaceServiceCreateProjectRequest calls the generic WorkspaceServiceCreateProject builder with application/json body

func NewWorkspaceServiceCreateProjectRequestWithBody

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

NewWorkspaceServiceCreateProjectRequestWithBody constructs an http.Request for the WorkspaceServiceCreateProject method, with any body, and a specified content type

func NewWorkspaceServiceCreateWorkspaceRequest

func NewWorkspaceServiceCreateWorkspaceRequest(server string, body WorkspaceServiceCreateWorkspaceJSONRequestBody) (*http.Request, error)

NewWorkspaceServiceCreateWorkspaceRequest calls the generic WorkspaceServiceCreateWorkspace builder with application/json body

func NewWorkspaceServiceCreateWorkspaceRequestWithBody

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

NewWorkspaceServiceCreateWorkspaceRequestWithBody constructs an http.Request for the WorkspaceServiceCreateWorkspace method, with any body, and a specified content type

func NewWorkspaceServiceDeleteInviteRequest

func NewWorkspaceServiceDeleteInviteRequest(server string, workspaceId string, email string) (*http.Request, error)

NewWorkspaceServiceDeleteInviteRequest constructs an http.Request for the WorkspaceServiceDeleteInvite method

func NewWorkspaceServiceDeleteMemberRequest

func NewWorkspaceServiceDeleteMemberRequest(server string, workspaceId string, userId string, params *WorkspaceServiceDeleteMemberParams) (*http.Request, error)

NewWorkspaceServiceDeleteMemberRequest constructs an http.Request for the WorkspaceServiceDeleteMember method

func NewWorkspaceServiceDeleteProjectRequest

func NewWorkspaceServiceDeleteProjectRequest(server string, workspaceId string, projectId string) (*http.Request, error)

NewWorkspaceServiceDeleteProjectRequest constructs an http.Request for the WorkspaceServiceDeleteProject method

func NewWorkspaceServiceDeleteWorkspaceRequest

func NewWorkspaceServiceDeleteWorkspaceRequest(server string, workspaceId string) (*http.Request, error)

NewWorkspaceServiceDeleteWorkspaceRequest constructs an http.Request for the WorkspaceServiceDeleteWorkspace method

func NewWorkspaceServiceGetInviteRequest

func NewWorkspaceServiceGetInviteRequest(server string, inviteToken string) (*http.Request, error)

NewWorkspaceServiceGetInviteRequest constructs an http.Request for the WorkspaceServiceGetInvite method

func NewWorkspaceServiceGetMemberRequest

func NewWorkspaceServiceGetMemberRequest(server string, workspaceId string, userId string) (*http.Request, error)

NewWorkspaceServiceGetMemberRequest constructs an http.Request for the WorkspaceServiceGetMember method

func NewWorkspaceServiceGetProjectRequest

func NewWorkspaceServiceGetProjectRequest(server string, workspaceId string, projectId string) (*http.Request, error)

NewWorkspaceServiceGetProjectRequest constructs an http.Request for the WorkspaceServiceGetProject method

func NewWorkspaceServiceGetWorkspaceRequest

func NewWorkspaceServiceGetWorkspaceRequest(server string, workspaceId string) (*http.Request, error)

NewWorkspaceServiceGetWorkspaceRequest constructs an http.Request for the WorkspaceServiceGetWorkspace method

func NewWorkspaceServiceListInvitesRequest

func NewWorkspaceServiceListInvitesRequest(server string, workspaceId string, params *WorkspaceServiceListInvitesParams) (*http.Request, error)

NewWorkspaceServiceListInvitesRequest constructs an http.Request for the WorkspaceServiceListInvites method

func NewWorkspaceServiceListMembersRequest

func NewWorkspaceServiceListMembersRequest(server string, workspaceId string, params *WorkspaceServiceListMembersParams) (*http.Request, error)

NewWorkspaceServiceListMembersRequest constructs an http.Request for the WorkspaceServiceListMembers method

func NewWorkspaceServiceListProjectsRequest

func NewWorkspaceServiceListProjectsRequest(server string, workspaceId string, params *WorkspaceServiceListProjectsParams) (*http.Request, error)

NewWorkspaceServiceListProjectsRequest constructs an http.Request for the WorkspaceServiceListProjects method

func NewWorkspaceServiceListWorkspacesRequest

func NewWorkspaceServiceListWorkspacesRequest(server string, params *WorkspaceServiceListWorkspacesParams) (*http.Request, error)

NewWorkspaceServiceListWorkspacesRequest constructs an http.Request for the WorkspaceServiceListWorkspaces method

func NewWorkspaceServiceUpdateMemberRequest

func NewWorkspaceServiceUpdateMemberRequest(server string, workspaceId string, userId string, body WorkspaceServiceUpdateMemberJSONRequestBody) (*http.Request, error)

NewWorkspaceServiceUpdateMemberRequest calls the generic WorkspaceServiceUpdateMember builder with application/json body

func NewWorkspaceServiceUpdateMemberRequestWithBody

func NewWorkspaceServiceUpdateMemberRequestWithBody(server string, workspaceId string, userId string, contentType string, body io.Reader) (*http.Request, error)

NewWorkspaceServiceUpdateMemberRequestWithBody constructs an http.Request for the WorkspaceServiceUpdateMember method, with any body, and a specified content type

func NewWorkspaceServiceUpdateWorkspaceRequest

func NewWorkspaceServiceUpdateWorkspaceRequest(server string, workspaceId string, body WorkspaceServiceUpdateWorkspaceJSONRequestBody) (*http.Request, error)

NewWorkspaceServiceUpdateWorkspaceRequest calls the generic WorkspaceServiceUpdateWorkspace builder with application/json body

func NewWorkspaceServiceUpdateWorkspaceRequestWithBody

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

NewWorkspaceServiceUpdateWorkspaceRequestWithBody constructs an http.Request for the WorkspaceServiceUpdateWorkspace method, with any body, and a specified content type

Types

type AnalyticsServiceGetAgentAnalyticsParams added in v2.19.0

type AnalyticsServiceGetAgentAnalyticsParams struct {
	// RangeStartTime The start of the window, included. Unset means the end minus the service
	//  default.
	RangeStartTime *time.Time `form:"range.startTime,omitempty" json:"range.startTime,omitempty"`

	// RangeEndTime The end of the window, excluded. Unset means now.
	RangeEndTime *time.Time `form:"range.endTime,omitempty" json:"range.endTime,omitempty"`
}

AnalyticsServiceGetAgentAnalyticsParams defines parameters for AnalyticsServiceGetAgentAnalytics.

type AnalyticsServiceGetAgentAnalyticsResponse added in v2.19.0

type AnalyticsServiceGetAgentAnalyticsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiAnalyticsV1AgentsGetResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseAnalyticsServiceGetAgentAnalyticsResponse added in v2.19.0

func ParseAnalyticsServiceGetAgentAnalyticsResponse(rsp *http.Response) (*AnalyticsServiceGetAgentAnalyticsResponse, error)

ParseAnalyticsServiceGetAgentAnalyticsResponse parses an HTTP response from a AnalyticsServiceGetAgentAnalyticsWithResponse call

func (AnalyticsServiceGetAgentAnalyticsResponse) ContentType added in v2.19.0

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

func (AnalyticsServiceGetAgentAnalyticsResponse) GetBody added in v2.19.0

GetBody returns the raw response body bytes

func (AnalyticsServiceGetAgentAnalyticsResponse) GetJSON200 added in v2.19.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AnalyticsServiceGetAgentAnalyticsResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (AnalyticsServiceGetAgentAnalyticsResponse) Status added in v2.19.0

Status returns HTTPResponse.Status

func (AnalyticsServiceGetAgentAnalyticsResponse) StatusCode added in v2.19.0

StatusCode returns HTTPResponse.StatusCode

type AnalyticsServiceGetProjectAnalyticsParams added in v2.19.0

type AnalyticsServiceGetProjectAnalyticsParams struct {
	// RangeStartTime The start of the window, included. Unset means the end minus the service
	//  default.
	RangeStartTime *time.Time `form:"range.startTime,omitempty" json:"range.startTime,omitempty"`

	// RangeEndTime The end of the window, excluded. Unset means now.
	RangeEndTime *time.Time `form:"range.endTime,omitempty" json:"range.endTime,omitempty"`
}

AnalyticsServiceGetProjectAnalyticsParams defines parameters for AnalyticsServiceGetProjectAnalytics.

type AnalyticsServiceGetProjectAnalyticsResponse added in v2.19.0

type AnalyticsServiceGetProjectAnalyticsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiAnalyticsV1ProjectOverviewGetResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseAnalyticsServiceGetProjectAnalyticsResponse added in v2.19.0

func ParseAnalyticsServiceGetProjectAnalyticsResponse(rsp *http.Response) (*AnalyticsServiceGetProjectAnalyticsResponse, error)

ParseAnalyticsServiceGetProjectAnalyticsResponse parses an HTTP response from a AnalyticsServiceGetProjectAnalyticsWithResponse call

func (AnalyticsServiceGetProjectAnalyticsResponse) ContentType added in v2.19.0

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

func (AnalyticsServiceGetProjectAnalyticsResponse) GetBody added in v2.19.0

GetBody returns the raw response body bytes

func (AnalyticsServiceGetProjectAnalyticsResponse) GetJSON200 added in v2.19.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AnalyticsServiceGetProjectAnalyticsResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (AnalyticsServiceGetProjectAnalyticsResponse) Status added in v2.19.0

Status returns HTTPResponse.Status

func (AnalyticsServiceGetProjectAnalyticsResponse) StatusCode added in v2.19.0

StatusCode returns HTTPResponse.StatusCode

type AnalyticsServiceGetSessionResponse

type AnalyticsServiceGetSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiAnalyticsV1SessionsGetResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseAnalyticsServiceGetSessionResponse

func ParseAnalyticsServiceGetSessionResponse(rsp *http.Response) (*AnalyticsServiceGetSessionResponse, error)

ParseAnalyticsServiceGetSessionResponse parses an HTTP response from a AnalyticsServiceGetSessionWithResponse call

func (AnalyticsServiceGetSessionResponse) ContentType

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

func (AnalyticsServiceGetSessionResponse) GetBody

GetBody returns the raw response body bytes

func (AnalyticsServiceGetSessionResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AnalyticsServiceGetSessionResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (AnalyticsServiceGetSessionResponse) Status

Status returns HTTPResponse.Status

func (AnalyticsServiceGetSessionResponse) StatusCode

func (r AnalyticsServiceGetSessionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type AnalyticsServiceListAgentAnalyticsParams added in v2.19.0

type AnalyticsServiceListAgentAnalyticsParams struct {
	// RangeStartTime The start of the window, included. Unset means the end minus the service
	//  default.
	RangeStartTime *time.Time `form:"range.startTime,omitempty" json:"range.startTime,omitempty"`

	// RangeEndTime The end of the window, excluded. Unset means now.
	RangeEndTime *time.Time `form:"range.endTime,omitempty" json:"range.endTime,omitempty"`

	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}

AnalyticsServiceListAgentAnalyticsParams defines parameters for AnalyticsServiceListAgentAnalytics.

type AnalyticsServiceListAgentAnalyticsResponse added in v2.19.0

type AnalyticsServiceListAgentAnalyticsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiAnalyticsV1AgentsListResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseAnalyticsServiceListAgentAnalyticsResponse added in v2.19.0

func ParseAnalyticsServiceListAgentAnalyticsResponse(rsp *http.Response) (*AnalyticsServiceListAgentAnalyticsResponse, error)

ParseAnalyticsServiceListAgentAnalyticsResponse parses an HTTP response from a AnalyticsServiceListAgentAnalyticsWithResponse call

func (AnalyticsServiceListAgentAnalyticsResponse) ContentType added in v2.19.0

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

func (AnalyticsServiceListAgentAnalyticsResponse) GetBody added in v2.19.0

GetBody returns the raw response body bytes

func (AnalyticsServiceListAgentAnalyticsResponse) GetJSON200 added in v2.19.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AnalyticsServiceListAgentAnalyticsResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (AnalyticsServiceListAgentAnalyticsResponse) Status added in v2.19.0

Status returns HTTPResponse.Status

func (AnalyticsServiceListAgentAnalyticsResponse) StatusCode added in v2.19.0

StatusCode returns HTTPResponse.StatusCode

type AnalyticsServiceListProjectSessionsParams

type AnalyticsServiceListProjectSessionsParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`

	// FilterRangeStartTime The start of the window, included. Unset means the end minus the service
	//  default.
	FilterRangeStartTime *time.Time `form:"filter.range.startTime,omitempty" json:"filter.range.startTime,omitempty"`

	// FilterRangeEndTime The end of the window, excluded. Unset means now.
	FilterRangeEndTime *time.Time `form:"filter.range.endTime,omitempty" json:"filter.range.endTime,omitempty"`

	// FilterStatuses OR semantics; empty matches any status.
	FilterStatuses *[]LivekitPublicapiAnalyticsV1SessionStatus `form:"filter.statuses,omitempty" json:"filter.statuses,omitempty"`

	// FilterRoomName Room-name prefix match (case-sensitive): returns sessions whose room name
	//  starts with this value. For example, `demo-` matches `demo-1` and
	//  `demo-lobby`.
	FilterRoomName *string `form:"filter.roomName,omitempty" json:"filter.roomName,omitempty"`

	// FilterSessionId Exact room-session id match (RM_...).
	FilterSessionId *string `form:"filter.sessionId,omitempty" json:"filter.sessionId,omitempty"`

	// FilterTags OR semantics.
	FilterTags *[]string `form:"filter.tags,omitempty" json:"filter.tags,omitempty"`

	// FilterAgentId The ID of a cloud agent (`CA_...`). Returns only the sessions that this
	//  agent served.
	FilterAgentId *string `form:"filter.agentId,omitempty" json:"filter.agentId,omitempty"`

	// SortOrder Direction of the startedAt ordering, the only column sessions sort on.
	//  Defaults to descending (newest first) when unset.
	SortOrder *LivekitPublicapiCommonV1SortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
}

AnalyticsServiceListProjectSessionsParams defines parameters for AnalyticsServiceListProjectSessions.

type AnalyticsServiceListProjectSessionsResponse

type AnalyticsServiceListProjectSessionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiAnalyticsV1SessionsListResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseAnalyticsServiceListProjectSessionsResponse

func ParseAnalyticsServiceListProjectSessionsResponse(rsp *http.Response) (*AnalyticsServiceListProjectSessionsResponse, error)

ParseAnalyticsServiceListProjectSessionsResponse parses an HTTP response from a AnalyticsServiceListProjectSessionsWithResponse call

func (AnalyticsServiceListProjectSessionsResponse) ContentType

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

func (AnalyticsServiceListProjectSessionsResponse) GetBody

GetBody returns the raw response body bytes

func (AnalyticsServiceListProjectSessionsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AnalyticsServiceListProjectSessionsResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (AnalyticsServiceListProjectSessionsResponse) Status

Status returns HTTPResponse.Status

func (AnalyticsServiceListProjectSessionsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type AnalyticsServiceListSessionEventsParams added in v2.19.0

type AnalyticsServiceListSessionEventsParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`

	// Types Event types to return, by name, such as `TRACK_PUBLISHED`: the names of
	//  the LiveKit `AnalyticsEventType`. Each matches exactly. Empty returns the
	//  seven defaults on the dashboard, or with `participantSessionId` its
	//  eleven participant defaults, track events included (see
	//  `ListSessionEvents`). An unknown name is `InvalidArgument`.
	Types *[]string `form:"types,omitempty" json:"types,omitempty"`

	// ParticipantSessionId Only the events of this participant session (PA_...), as
	//  ParticipantSession.participantSessionId in the participants list names
	//  it. Room events and API calls name no participant session, so they are
	//  left out. Anything but a PA_ id is InvalidArgument.
	ParticipantSessionId *string `form:"participantSessionId,omitempty" json:"participantSessionId,omitempty"`

	// SortOrder Direction of the timestamp ordering. Defaults to ascending (oldest
	//  first) when unset.
	SortOrder *LivekitPublicapiCommonV1SortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
}

AnalyticsServiceListSessionEventsParams defines parameters for AnalyticsServiceListSessionEvents.

type AnalyticsServiceListSessionEventsResponse added in v2.19.0

type AnalyticsServiceListSessionEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiAnalyticsV1SessionEventsListResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseAnalyticsServiceListSessionEventsResponse added in v2.19.0

func ParseAnalyticsServiceListSessionEventsResponse(rsp *http.Response) (*AnalyticsServiceListSessionEventsResponse, error)

ParseAnalyticsServiceListSessionEventsResponse parses an HTTP response from a AnalyticsServiceListSessionEventsWithResponse call

func (AnalyticsServiceListSessionEventsResponse) ContentType added in v2.19.0

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

func (AnalyticsServiceListSessionEventsResponse) GetBody added in v2.19.0

GetBody returns the raw response body bytes

func (AnalyticsServiceListSessionEventsResponse) GetJSON200 added in v2.19.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AnalyticsServiceListSessionEventsResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (AnalyticsServiceListSessionEventsResponse) Status added in v2.19.0

Status returns HTTPResponse.Status

func (AnalyticsServiceListSessionEventsResponse) StatusCode added in v2.19.0

StatusCode returns HTTPResponse.StatusCode

type AnalyticsServiceListSessionParticipantsParams added in v2.19.0

type AnalyticsServiceListSessionParticipantsParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`

	// SortBy Column to order by. Defaults to joinedAt when unset.
	SortBy *LivekitPublicapiAnalyticsV1ParticipantSortField `form:"sortBy,omitempty" json:"sortBy,omitempty"`

	// SortOrder Direction of sortBy. Defaults to descending (newest first) when unset.
	SortOrder *LivekitPublicapiCommonV1SortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
}

AnalyticsServiceListSessionParticipantsParams defines parameters for AnalyticsServiceListSessionParticipants.

type AnalyticsServiceListSessionParticipantsResponse added in v2.19.0

type AnalyticsServiceListSessionParticipantsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiAnalyticsV1SessionParticipantsListResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseAnalyticsServiceListSessionParticipantsResponse added in v2.19.0

func ParseAnalyticsServiceListSessionParticipantsResponse(rsp *http.Response) (*AnalyticsServiceListSessionParticipantsResponse, error)

ParseAnalyticsServiceListSessionParticipantsResponse parses an HTTP response from a AnalyticsServiceListSessionParticipantsWithResponse call

func (AnalyticsServiceListSessionParticipantsResponse) ContentType added in v2.19.0

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

func (AnalyticsServiceListSessionParticipantsResponse) GetBody added in v2.19.0

GetBody returns the raw response body bytes

func (AnalyticsServiceListSessionParticipantsResponse) GetJSON200 added in v2.19.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (AnalyticsServiceListSessionParticipantsResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (AnalyticsServiceListSessionParticipantsResponse) Status added in v2.19.0

Status returns HTTPResponse.Status

func (AnalyticsServiceListSessionParticipantsResponse) StatusCode added in v2.19.0

StatusCode returns HTTPResponse.StatusCode

type BuilderAgentServiceCreateBuilderAgentJSONBody added in v2.19.3

type BuilderAgentServiceCreateBuilderAgentJSONBody struct {
	// Config The configuration. Unset uses the default configuration.
	Config *LivekitPublicapiAgentsV1BuilderAgentConfig `json:"config,omitempty"`

	// Name The name the agent registers under: a letter, then letters, digits, "_"
	//  and "-", at most 128 characters. Unique in the project.
	Name *string `json:"name,omitempty"`
}

BuilderAgentServiceCreateBuilderAgentJSONBody defines parameters for BuilderAgentServiceCreateBuilderAgent.

type BuilderAgentServiceCreateBuilderAgentJSONRequestBody added in v2.19.3

type BuilderAgentServiceCreateBuilderAgentJSONRequestBody BuilderAgentServiceCreateBuilderAgentJSONBody

BuilderAgentServiceCreateBuilderAgentJSONRequestBody defines body for BuilderAgentServiceCreateBuilderAgent for application/json ContentType.

type BuilderAgentServiceCreateBuilderAgentResponse added in v2.19.3

type BuilderAgentServiceCreateBuilderAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiAgentsV1BuilderAgentsCreateResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseBuilderAgentServiceCreateBuilderAgentResponse added in v2.19.3

func ParseBuilderAgentServiceCreateBuilderAgentResponse(rsp *http.Response) (*BuilderAgentServiceCreateBuilderAgentResponse, error)

ParseBuilderAgentServiceCreateBuilderAgentResponse parses an HTTP response from a BuilderAgentServiceCreateBuilderAgentWithResponse call

func (BuilderAgentServiceCreateBuilderAgentResponse) ContentType added in v2.19.3

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

func (BuilderAgentServiceCreateBuilderAgentResponse) GetBody added in v2.19.3

GetBody returns the raw response body bytes

func (BuilderAgentServiceCreateBuilderAgentResponse) GetJSON200 added in v2.19.3

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BuilderAgentServiceCreateBuilderAgentResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (BuilderAgentServiceCreateBuilderAgentResponse) Status added in v2.19.3

Status returns HTTPResponse.Status

func (BuilderAgentServiceCreateBuilderAgentResponse) StatusCode added in v2.19.3

StatusCode returns HTTPResponse.StatusCode

type BuilderAgentServiceDeleteBuilderAgentResponse added in v2.19.3

type BuilderAgentServiceDeleteBuilderAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiAgentsV1BuilderAgentsDeleteResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseBuilderAgentServiceDeleteBuilderAgentResponse added in v2.19.3

func ParseBuilderAgentServiceDeleteBuilderAgentResponse(rsp *http.Response) (*BuilderAgentServiceDeleteBuilderAgentResponse, error)

ParseBuilderAgentServiceDeleteBuilderAgentResponse parses an HTTP response from a BuilderAgentServiceDeleteBuilderAgentWithResponse call

func (BuilderAgentServiceDeleteBuilderAgentResponse) ContentType added in v2.19.3

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

func (BuilderAgentServiceDeleteBuilderAgentResponse) GetBody added in v2.19.3

GetBody returns the raw response body bytes

func (BuilderAgentServiceDeleteBuilderAgentResponse) GetJSON200 added in v2.19.3

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BuilderAgentServiceDeleteBuilderAgentResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (BuilderAgentServiceDeleteBuilderAgentResponse) Status added in v2.19.3

Status returns HTTPResponse.Status

func (BuilderAgentServiceDeleteBuilderAgentResponse) StatusCode added in v2.19.3

StatusCode returns HTTPResponse.StatusCode

type BuilderAgentServiceDeployBuilderAgentJSONBody added in v2.19.3

type BuilderAgentServiceDeployBuilderAgentJSONBody struct {
	// VersionId The version to deploy. Empty deploys the current configuration.
	VersionId *string `json:"versionId,omitempty"`
}

BuilderAgentServiceDeployBuilderAgentJSONBody defines parameters for BuilderAgentServiceDeployBuilderAgent.

type BuilderAgentServiceDeployBuilderAgentJSONRequestBody added in v2.19.3

type BuilderAgentServiceDeployBuilderAgentJSONRequestBody BuilderAgentServiceDeployBuilderAgentJSONBody

BuilderAgentServiceDeployBuilderAgentJSONRequestBody defines body for BuilderAgentServiceDeployBuilderAgent for application/json ContentType.

type BuilderAgentServiceDeployBuilderAgentResponse added in v2.19.3

type BuilderAgentServiceDeployBuilderAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiAgentsV1BuilderAgentsDeployResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseBuilderAgentServiceDeployBuilderAgentResponse added in v2.19.3

func ParseBuilderAgentServiceDeployBuilderAgentResponse(rsp *http.Response) (*BuilderAgentServiceDeployBuilderAgentResponse, error)

ParseBuilderAgentServiceDeployBuilderAgentResponse parses an HTTP response from a BuilderAgentServiceDeployBuilderAgentWithResponse call

func (BuilderAgentServiceDeployBuilderAgentResponse) ContentType added in v2.19.3

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

func (BuilderAgentServiceDeployBuilderAgentResponse) GetBody added in v2.19.3

GetBody returns the raw response body bytes

func (BuilderAgentServiceDeployBuilderAgentResponse) GetJSON200 added in v2.19.3

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BuilderAgentServiceDeployBuilderAgentResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (BuilderAgentServiceDeployBuilderAgentResponse) Status added in v2.19.3

Status returns HTTPResponse.Status

func (BuilderAgentServiceDeployBuilderAgentResponse) StatusCode added in v2.19.3

StatusCode returns HTTPResponse.StatusCode

type BuilderAgentServiceGetBuilderAgentResponse added in v2.19.3

type BuilderAgentServiceGetBuilderAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiAgentsV1BuilderAgentsGetResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseBuilderAgentServiceGetBuilderAgentResponse added in v2.19.3

func ParseBuilderAgentServiceGetBuilderAgentResponse(rsp *http.Response) (*BuilderAgentServiceGetBuilderAgentResponse, error)

ParseBuilderAgentServiceGetBuilderAgentResponse parses an HTTP response from a BuilderAgentServiceGetBuilderAgentWithResponse call

func (BuilderAgentServiceGetBuilderAgentResponse) ContentType added in v2.19.3

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

func (BuilderAgentServiceGetBuilderAgentResponse) GetBody added in v2.19.3

GetBody returns the raw response body bytes

func (BuilderAgentServiceGetBuilderAgentResponse) GetJSON200 added in v2.19.3

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BuilderAgentServiceGetBuilderAgentResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (BuilderAgentServiceGetBuilderAgentResponse) Status added in v2.19.3

Status returns HTTPResponse.Status

func (BuilderAgentServiceGetBuilderAgentResponse) StatusCode added in v2.19.3

StatusCode returns HTTPResponse.StatusCode

type BuilderAgentServiceListBuilderAgentsParams added in v2.19.3

type BuilderAgentServiceListBuilderAgentsParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}

BuilderAgentServiceListBuilderAgentsParams defines parameters for BuilderAgentServiceListBuilderAgents.

type BuilderAgentServiceListBuilderAgentsResponse added in v2.19.3

type BuilderAgentServiceListBuilderAgentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiAgentsV1BuilderAgentsListResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseBuilderAgentServiceListBuilderAgentsResponse added in v2.19.3

func ParseBuilderAgentServiceListBuilderAgentsResponse(rsp *http.Response) (*BuilderAgentServiceListBuilderAgentsResponse, error)

ParseBuilderAgentServiceListBuilderAgentsResponse parses an HTTP response from a BuilderAgentServiceListBuilderAgentsWithResponse call

func (BuilderAgentServiceListBuilderAgentsResponse) ContentType added in v2.19.3

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

func (BuilderAgentServiceListBuilderAgentsResponse) GetBody added in v2.19.3

GetBody returns the raw response body bytes

func (BuilderAgentServiceListBuilderAgentsResponse) GetJSON200 added in v2.19.3

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BuilderAgentServiceListBuilderAgentsResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (BuilderAgentServiceListBuilderAgentsResponse) Status added in v2.19.3

Status returns HTTPResponse.Status

func (BuilderAgentServiceListBuilderAgentsResponse) StatusCode added in v2.19.3

StatusCode returns HTTPResponse.StatusCode

type BuilderAgentServiceUpdateBuilderAgentJSONBody added in v2.19.3

type BuilderAgentServiceUpdateBuilderAgentJSONBody struct {
	// Config The new configuration. It replaces the current one: unset properties
	//  take their default, not their current value.
	Config *LivekitPublicapiAgentsV1BuilderAgentConfig `json:"config,omitempty"`
}

BuilderAgentServiceUpdateBuilderAgentJSONBody defines parameters for BuilderAgentServiceUpdateBuilderAgent.

type BuilderAgentServiceUpdateBuilderAgentJSONRequestBody added in v2.19.3

type BuilderAgentServiceUpdateBuilderAgentJSONRequestBody BuilderAgentServiceUpdateBuilderAgentJSONBody

BuilderAgentServiceUpdateBuilderAgentJSONRequestBody defines body for BuilderAgentServiceUpdateBuilderAgent for application/json ContentType.

type BuilderAgentServiceUpdateBuilderAgentResponse added in v2.19.3

type BuilderAgentServiceUpdateBuilderAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiAgentsV1BuilderAgentsUpdateResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseBuilderAgentServiceUpdateBuilderAgentResponse added in v2.19.3

func ParseBuilderAgentServiceUpdateBuilderAgentResponse(rsp *http.Response) (*BuilderAgentServiceUpdateBuilderAgentResponse, error)

ParseBuilderAgentServiceUpdateBuilderAgentResponse parses an HTTP response from a BuilderAgentServiceUpdateBuilderAgentWithResponse call

func (BuilderAgentServiceUpdateBuilderAgentResponse) ContentType added in v2.19.3

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

func (BuilderAgentServiceUpdateBuilderAgentResponse) GetBody added in v2.19.3

GetBody returns the raw response body bytes

func (BuilderAgentServiceUpdateBuilderAgentResponse) GetJSON200 added in v2.19.3

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (BuilderAgentServiceUpdateBuilderAgentResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (BuilderAgentServiceUpdateBuilderAgentResponse) Status added in v2.19.3

Status returns HTTPResponse.Status

func (BuilderAgentServiceUpdateBuilderAgentResponse) StatusCode added in v2.19.3

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) AnalyticsServiceGetAgentAnalytics added in v2.19.0

func (c *Client) AnalyticsServiceGetAgentAnalytics(ctx context.Context, projectId string, agentId string, params *AnalyticsServiceGetAgentAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AnalyticsServiceGetAgentAnalytics GetAgentAnalytics

Returns the analytics for one agent over a time range.

Corresponds with GET /v0/projects/{projectId}/analytics/agents/{agentId} (the `AnalyticsServiceGetAgentAnalytics` operationId).

func (*Client) AnalyticsServiceGetProjectAnalytics added in v2.19.0

func (c *Client) AnalyticsServiceGetProjectAnalytics(ctx context.Context, projectId string, params *AnalyticsServiceGetProjectAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AnalyticsServiceGetProjectAnalytics GetProjectAnalytics

Returns the project overview over a time range.

Corresponds with GET /v0/projects/{projectId}/analytics (the `AnalyticsServiceGetProjectAnalytics` operationId).

func (*Client) AnalyticsServiceGetSession

func (c *Client) AnalyticsServiceGetSession(ctx context.Context, projectId string, sessionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

AnalyticsServiceGetSession GetSession

Returns one room session. The response carries both the list-row `session`

and the richer `detail` (participants, per-metric data points).

Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId} (the `AnalyticsServiceGetSession` operationId).

func (*Client) AnalyticsServiceListAgentAnalytics added in v2.19.0

func (c *Client) AnalyticsServiceListAgentAnalytics(ctx context.Context, projectId string, params *AnalyticsServiceListAgentAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AnalyticsServiceListAgentAnalytics ListAgentAnalytics

Lists the analytics of each agent in the project over a time range. Each

item is an `AgentAnalytics`, the same message that `GetAgentAnalytics`
returns for one agent.

Corresponds with GET /v0/projects/{projectId}/analytics/agents (the `AnalyticsServiceListAgentAnalytics` operationId).

func (*Client) AnalyticsServiceListProjectSessions

func (c *Client) AnalyticsServiceListProjectSessions(ctx context.Context, projectId string, params *AnalyticsServiceListProjectSessionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AnalyticsServiceListProjectSessions ListProjectSessions

Lists room sessions for a project, newest first, cursor-paginated.

Corresponds with GET /v0/projects/{projectId}/sessions (the `AnalyticsServiceListProjectSessions` operationId).

func (*Client) AnalyticsServiceListSessionEvents added in v2.19.0

func (c *Client) AnalyticsServiceListSessionEvents(ctx context.Context, projectId string, sessionId string, params *AnalyticsServiceListSessionEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AnalyticsServiceListSessionEvents Lists the events in one room session, oldest first by default,

cursor-paginated with no total. With no `types`, it returns the seven the
events table on the dashboard shows: `PARTICIPANT_JOINED`,
`PARTICIPANT_LEFT`, `PARTICIPANT_ACTIVE`, `PARTICIPANT_RESUMED`,
`ROOM_CREATED`, `ROOM_ENDED` and `API_CALL`. `types` asks for others, such
as `TRACK_PUBLISHED`, and `participantSessionId` keeps the events for one
participant session. With `participantSessionId` and no `types`, it returns
the eleven the participant events table on the dashboard shows for that
participant session: `PARTICIPANT_JOINED`, `PARTICIPANT_LEFT`,
`PARTICIPANT_RESUMED` and `PARTICIPANT_ACTIVE`, and its `TRACK_MUTED`,
`TRACK_UNMUTED`, `TRACK_PUBLISHED`, `TRACK_UNPUBLISHED`,
`TRACK_SUBSCRIBED`, `TRACK_SUBSCRIBE_REQUESTED` and
`TRACK_SUBSCRIBE_FAILED`.

Unlike the dashboard, on purpose: an unknown type or a malformed

participant session ID is `InvalidArgument` rather than being searched for
as typed, and types match exactly, so `TRACK_PUBLISHED` doesn't also return
`TRACK_PUBLISHED_UPDATE`. Each event payload keeps only an allowlist of
fields, leaving out participants' attributes and metadata and API calls'
request bodies. Each event and participant row still carries the
participant's identity, as the dashboard shows it to every member, and for
a SIP caller that can be a phone number.

Events are kept for 60 days, which can be shorter than the retention of
other data for the session, so an older session can list no events. An
`ACTIVE` session lists the events recorded so far. An unknown session is
`NotFound`.

Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/events (the `AnalyticsServiceListSessionEvents` operationId).

func (*Client) AnalyticsServiceListSessionParticipants added in v2.19.0

func (c *Client) AnalyticsServiceListSessionParticipants(ctx context.Context, projectId string, sessionId string, params *AnalyticsServiceListSessionParticipantsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

AnalyticsServiceListSessionParticipants ListSessionParticipants

Lists the participants of one room session, one row per identity,

cursor-paginated; newest join first by default. Each row carries the
participant's participant sessions (PA_...), each with the client it
connected from.

Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/participants (the `AnalyticsServiceListSessionParticipants` operationId).

func (*Client) BuilderAgentServiceCreateBuilderAgent added in v2.19.3

func (c *Client) BuilderAgentServiceCreateBuilderAgent(ctx context.Context, projectId string, body BuilderAgentServiceCreateBuilderAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

BuilderAgentServiceCreateBuilderAgent CreateBuilderAgent

Makes a builder agent from a name and a configuration. The agent is not

deployed: call DeployBuilderAgent to run it. Unset configuration
properties take their default, and unknown properties are ignored.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/projects/{projectId}/agents/builder (the `BuilderAgentServiceCreateBuilderAgent` operationId).

func (*Client) BuilderAgentServiceCreateBuilderAgentWithBody added in v2.19.3

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

BuilderAgentServiceCreateBuilderAgentWithBody CreateBuilderAgent

Makes a builder agent from a name and a configuration. The agent is not

deployed: call DeployBuilderAgent to run it. Unset configuration
properties take their default, and unknown properties are ignored.

Takes any type of body and a specified content type.

Corresponds with POST /v0/projects/{projectId}/agents/builder (the `BuilderAgentServiceCreateBuilderAgent` operationId).

func (*Client) BuilderAgentServiceDeleteBuilderAgent added in v2.19.3

func (c *Client) BuilderAgentServiceDeleteBuilderAgent(ctx context.Context, projectId string, builderAgentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

BuilderAgentServiceDeleteBuilderAgent DeleteBuilderAgent

Deletes a builder agent, its versions, and its deployment.

Corresponds with DELETE /v0/projects/{projectId}/agents/builder/{builderAgentId} (the `BuilderAgentServiceDeleteBuilderAgent` operationId).

func (*Client) BuilderAgentServiceDeployBuilderAgent added in v2.19.3

func (c *Client) BuilderAgentServiceDeployBuilderAgent(ctx context.Context, projectId string, builderAgentId string, body BuilderAgentServiceDeployBuilderAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

BuilderAgentServiceDeployBuilderAgent DeployBuilderAgent

Starts a deployment of a builder agent's current configuration, or of

an earlier version. The call returns when the build starts, with status
DEPLOYMENT_STATUS_BUILDING. The build continues after the call returns.
Call GetBuilderAgent to follow the deployment until its status is
DEPLOYMENT_STATUS_RUNNING, or DEPLOYMENT_STATUS_BUILD_FAILED.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/projects/{projectId}/agents/builder/{builderAgentId}:deploy (the `BuilderAgentServiceDeployBuilderAgent` operationId).

func (*Client) BuilderAgentServiceDeployBuilderAgentWithBody added in v2.19.3

func (c *Client) BuilderAgentServiceDeployBuilderAgentWithBody(ctx context.Context, projectId string, builderAgentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

BuilderAgentServiceDeployBuilderAgentWithBody DeployBuilderAgent

Starts a deployment of a builder agent's current configuration, or of

an earlier version. The call returns when the build starts, with status
DEPLOYMENT_STATUS_BUILDING. The build continues after the call returns.
Call GetBuilderAgent to follow the deployment until its status is
DEPLOYMENT_STATUS_RUNNING, or DEPLOYMENT_STATUS_BUILD_FAILED.

Takes any type of body and a specified content type.

Corresponds with POST /v0/projects/{projectId}/agents/builder/{builderAgentId}:deploy (the `BuilderAgentServiceDeployBuilderAgent` operationId).

func (*Client) BuilderAgentServiceGetBuilderAgent added in v2.19.3

func (c *Client) BuilderAgentServiceGetBuilderAgent(ctx context.Context, projectId string, builderAgentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

BuilderAgentServiceGetBuilderAgent GetBuilderAgent

Returns a builder agent with its current configuration and the status of

its deployment.

Corresponds with GET /v0/projects/{projectId}/agents/builder/{builderAgentId} (the `BuilderAgentServiceGetBuilderAgent` operationId).

func (*Client) BuilderAgentServiceListBuilderAgents added in v2.19.3

func (c *Client) BuilderAgentServiceListBuilderAgents(ctx context.Context, projectId string, params *BuilderAgentServiceListBuilderAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

BuilderAgentServiceListBuilderAgents ListBuilderAgents

Lists a project's builder agents by name, one page at a time, with the

status of each deployment. The list does not include configurations: use
GetBuilderAgent for one.

Corresponds with GET /v0/projects/{projectId}/agents/builder (the `BuilderAgentServiceListBuilderAgents` operationId).

func (*Client) BuilderAgentServiceUpdateBuilderAgent added in v2.19.3

func (c *Client) BuilderAgentServiceUpdateBuilderAgent(ctx context.Context, projectId string, builderAgentId string, body BuilderAgentServiceUpdateBuilderAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

BuilderAgentServiceUpdateBuilderAgent UpdateBuilderAgent

Replaces a builder agent's configuration. Each update makes a new

version. The running agent does not change until you deploy again.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v0/projects/{projectId}/agents/builder/{builderAgentId} (the `BuilderAgentServiceUpdateBuilderAgent` operationId).

func (*Client) BuilderAgentServiceUpdateBuilderAgentWithBody added in v2.19.3

func (c *Client) BuilderAgentServiceUpdateBuilderAgentWithBody(ctx context.Context, projectId string, builderAgentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

BuilderAgentServiceUpdateBuilderAgentWithBody UpdateBuilderAgent

Replaces a builder agent's configuration. Each update makes a new

version. The running agent does not change until you deploy again.

Takes any type of body and a specified content type.

Corresponds with PATCH /v0/projects/{projectId}/agents/builder/{builderAgentId} (the `BuilderAgentServiceUpdateBuilderAgent` operationId).

func (*Client) DatabaseServiceCreateDatabase added in v2.19.1

func (c *Client) DatabaseServiceCreateDatabase(ctx context.Context, projectId string, body DatabaseServiceCreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

DatabaseServiceCreateDatabase CreateDatabase

Creates an empty database. Not idempotent: a retried request creates a

second database.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/projects/{projectId}/databases (the `DatabaseServiceCreateDatabase` operationId).

func (*Client) DatabaseServiceCreateDatabaseWithBody added in v2.19.1

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

DatabaseServiceCreateDatabaseWithBody CreateDatabase

Creates an empty database. Not idempotent: a retried request creates a

second database.

Takes any type of body and a specified content type.

Corresponds with POST /v0/projects/{projectId}/databases (the `DatabaseServiceCreateDatabase` operationId).

func (*Client) DatabaseServiceDeleteDatabase added in v2.19.1

func (c *Client) DatabaseServiceDeleteDatabase(ctx context.Context, projectId string, databaseId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DatabaseServiceDeleteDatabase DeleteDatabase

Deletes the stored data, not just the metadata.

Corresponds with DELETE /v0/projects/{projectId}/databases/{databaseId} (the `DatabaseServiceDeleteDatabase` operationId).

func (*Client) DatabaseServiceExportDatabase added in v2.19.1

func (c *Client) DatabaseServiceExportDatabase(ctx context.Context, projectId string, databaseId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DatabaseServiceExportDatabase ExportDatabase

Exports a consistent SQLite file as a time-limited download URL.

Corresponds with POST /v0/projects/{projectId}/databases/{databaseId}:export (the `DatabaseServiceExportDatabase` operationId).

func (*Client) DatabaseServiceGetDatabase added in v2.19.1

func (c *Client) DatabaseServiceGetDatabase(ctx context.Context, projectId string, databaseId string, reqEditors ...RequestEditorFn) (*http.Response, error)

DatabaseServiceGetDatabase GetDatabase

Corresponds with GET /v0/projects/{projectId}/databases/{databaseId} (the `DatabaseServiceGetDatabase` operationId).

func (*Client) DatabaseServiceListDatabases added in v2.19.1

func (c *Client) DatabaseServiceListDatabases(ctx context.Context, projectId string, params *DatabaseServiceListDatabasesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

DatabaseServiceListDatabases ListDatabases

Lists the project databases, cursor-paginated.

Corresponds with GET /v0/projects/{projectId}/databases (the `DatabaseServiceListDatabases` operationId).

func (*Client) ObservabilityServiceGetSessionLogs added in v2.19.0

func (c *Client) ObservabilityServiceGetSessionLogs(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ObservabilityServiceGetSessionLogs Returns the log records the agents in the session exported, in time order:

what the logs panel on the dashboard shows. Their chat history is left out,
since `GetSessionTranscript` reads it, and their evaluation results stay
in. The session events, such as participants joining, come from
`ListSessionEvents` on `AnalyticsService`.

An `ACTIVE` session returns what its agents have exported so far. A record

exported mid-read with a time this read has already paged past, earlier
than its cursor position when oldest first, is missed until a new read. An
unknown session is NotFound. A read filtered by logLevels can come back
empty because no record is at those levels, so only an unfiltered one is
ObservabilityDisabled.

Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/logs (the `ObservabilityServiceGetSessionLogs` operationId).

func (*Client) ObservabilityServiceGetSessionMetrics added in v2.19.0

func (c *Client) ObservabilityServiceGetSessionMetrics(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ObservabilityServiceGetSessionMetrics Returns the OpenTelemetry metric points the agents in the session exported,

by time, typed: turn latencies such as lk.agents.turn.e2e_latency and
lk.agents.turn.llm_ttft, token and duration usage such as
lk.agents.usage.llm_input_tokens, and the gen_ai.* histograms, along with
any metrics the agent's own code recorded.

These are the raw metrics agents emit, so they won't exactly match the

metrics panel on the dashboard, which derives its numbers from the
transcript and traces. Only agents that export OpenTelemetry metrics to
LiveKit Cloud produce them: an agent whose code installs its own
MeterProvider exports none to LiveKit Cloud, and its sessions return no
points.

Some points aren't labeled as their agent exported them. LiveKit Cloud
groups the series for a session by their attributes alone and names each
group after its first row. As a result:

- Several metrics can come back under one name. For example, the input,
  output, and cached token counts for an LLM all have the name
  `lk.agents.usage.llm_input_tokens`.
- Points of one series at the same time that recorded equal values
  collapse into one point.
- When a session has two agents, a point can carry the resource attributes
  of the other agent.

An agent exports its metrics every 30 seconds, and its turn latencies when
the session ends, so an ACTIVE session returns what it has exported so far.
An unknown session is NotFound. A read filtered by names can come back
empty because no metric has those names, so only an unfiltered one is
ObservabilityDisabled.

Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/metrics (the `ObservabilityServiceGetSessionMetrics` operationId).

func (*Client) ObservabilityServiceGetSessionRecordingURL added in v2.19.0

func (c *Client) ObservabilityServiceGetSessionRecordingURL(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionRecordingURLParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ObservabilityServiceGetSessionRecordingURL GetSessionRecordingURL

Returns a short-lived signed URL for one of the session recordings: its

audio or its chat history. A session with no recording of that type is
NotFound. A new recording can be NotFound for up to a minute after the
session ends.

Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/recording-url (the `ObservabilityServiceGetSessionRecordingURL` operationId).

func (*Client) ObservabilityServiceGetSessionTraces added in v2.19.0

func (c *Client) ObservabilityServiceGetSessionTraces(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionTracesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ObservabilityServiceGetSessionTraces Returns the spans the agents in the session exported, by start time: what

the trace view on the dashboard shows. Each span names its parent, so the
pages rebuild the span tree, and its attributes carry the turn and latency
fields the turn view on the dashboard reads, such as lk.generation_id and
lk.response.ttft.

An ACTIVE session returns what its agents have exported so far; a span

exported after the first page waits for a new read. The later pages are
read by offset, so a span exported mid-read can still shift them: a span
can repeat, or be skipped. Dedupe by spanId, and read again from the first
page to pick up a skipped span. An unknown session is NotFound.

Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/traces (the `ObservabilityServiceGetSessionTraces` operationId).

func (*Client) ObservabilityServiceGetSessionTranscript added in v2.19.0

func (c *Client) ObservabilityServiceGetSessionTranscript(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionTranscriptParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ObservabilityServiceGetSessionTranscript Returns the session conversation as ordered transcript items: messages,

tool calls and results, agent handoffs and agent configuration changes. It
is the conversation the transcript on the dashboard shows.

The agent exports its transcript when the session ends, and it can be read

a minute or two later; on a project with PII redaction, only once the
session recording has been redacted. So a session that is still ACTIVE
returns what exists so far, usually nothing, without an error: read it
again after the session ends. An unknown session is NotFound.

Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/transcript (the `ObservabilityServiceGetSessionTranscript` operationId).

func (*Client) ProjectServiceAddWorkspaceMembersToProject

func (c *Client) ProjectServiceAddWorkspaceMembersToProject(ctx context.Context, projectId string, body ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceAddWorkspaceMembersToProject AddWorkspaceMembersToProject

Takes a body of the `application/json` content type.

Corresponds with POST /v0/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).

func (*Client) ProjectServiceAddWorkspaceMembersToProjectWithBody

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

ProjectServiceAddWorkspaceMembersToProjectWithBody AddWorkspaceMembersToProject

Takes any type of body and a specified content type.

Corresponds with POST /v0/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).

func (*Client) ProjectServiceAnswerInvitation

func (c *Client) ProjectServiceAnswerInvitation(ctx context.Context, inviteToken string, body ProjectServiceAnswerInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceAnswerInvitation AnswerInvitation

Takes a body of the `application/json` content type.

Corresponds with POST /v0/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).

func (*Client) ProjectServiceAnswerInvitationWithBody

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

ProjectServiceAnswerInvitationWithBody AnswerInvitation

Takes any type of body and a specified content type.

Corresponds with POST /v0/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).

func (*Client) ProjectServiceCreateProject

func (c *Client) ProjectServiceCreateProject(ctx context.Context, body ProjectServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceCreateProject CreateProject

Takes a body of the `application/json` content type.

Corresponds with POST /v0/projects (the `ProjectServiceCreateProject` operationId).

func (*Client) ProjectServiceCreateProjectWithBody

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

ProjectServiceCreateProjectWithBody CreateProject

Takes any type of body and a specified content type.

Corresponds with POST /v0/projects (the `ProjectServiceCreateProject` operationId).

func (*Client) ProjectServiceCreateToken added in v2.19.1

func (c *Client) ProjectServiceCreateToken(ctx context.Context, projectId string, body ProjectServiceCreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceCreateToken CreateToken

Mints a short-lived LiveKit access token for the project, signed

server-side, so user-authenticated clients can call LiveKit server APIs
(rooms, SIP, egress, …) or join rooms without holding an API secret.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/projects/{projectId}/tokens (the `ProjectServiceCreateToken` operationId).

func (*Client) ProjectServiceCreateTokenWithBody added in v2.19.1

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

ProjectServiceCreateTokenWithBody CreateToken

Mints a short-lived LiveKit access token for the project, signed

server-side, so user-authenticated clients can call LiveKit server APIs
(rooms, SIP, egress, …) or join rooms without holding an API secret.

Takes any type of body and a specified content type.

Corresponds with POST /v0/projects/{projectId}/tokens (the `ProjectServiceCreateToken` operationId).

func (*Client) ProjectServiceCreateWebhook added in v2.19.1

func (c *Client) ProjectServiceCreateWebhook(ctx context.Context, projectId string, body ProjectServiceCreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceCreateWebhook CreateWebhook

Takes a body of the `application/json` content type.

Corresponds with POST /v0/projects/{projectId}/webhooks (the `ProjectServiceCreateWebhook` operationId).

func (*Client) ProjectServiceCreateWebhookWithBody added in v2.19.1

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

ProjectServiceCreateWebhookWithBody CreateWebhook

Takes any type of body and a specified content type.

Corresponds with POST /v0/projects/{projectId}/webhooks (the `ProjectServiceCreateWebhook` operationId).

func (*Client) ProjectServiceDeleteInvite

func (c *Client) ProjectServiceDeleteInvite(ctx context.Context, projectId string, email string, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceDeleteInvite DeleteInvite

Corresponds with DELETE /v0/projects/{projectId}/invites/{email} (the `ProjectServiceDeleteInvite` operationId).

func (*Client) ProjectServiceDeleteKey added in v2.19.0

func (c *Client) ProjectServiceDeleteKey(ctx context.Context, projectId string, apiKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceDeleteKey DeleteKey

Corresponds with DELETE /v0/projects/{projectId}/keys/{apiKey} (the `ProjectServiceDeleteKey` operationId).

func (*Client) ProjectServiceDeleteProject

func (c *Client) ProjectServiceDeleteProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceDeleteProject DeleteProject

Corresponds with DELETE /v0/projects/{projectId} (the `ProjectServiceDeleteProject` operationId).

func (*Client) ProjectServiceDeleteWebhook added in v2.19.1

func (c *Client) ProjectServiceDeleteWebhook(ctx context.Context, projectId string, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceDeleteWebhook DeleteWebhook

Corresponds with DELETE /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceDeleteWebhook` operationId).

func (*Client) ProjectServiceGenerateKey added in v2.19.0

func (c *Client) ProjectServiceGenerateKey(ctx context.Context, projectId string, body ProjectServiceGenerateKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceGenerateKey GenerateKey

Creates an API key and secret for the project. The secret is returned once,

in the response, and cannot be read again.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/projects/{projectId}/keys (the `ProjectServiceGenerateKey` operationId).

func (*Client) ProjectServiceGenerateKeyWithBody added in v2.19.0

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

ProjectServiceGenerateKeyWithBody GenerateKey

Creates an API key and secret for the project. The secret is returned once,

in the response, and cannot be read again.

Takes any type of body and a specified content type.

Corresponds with POST /v0/projects/{projectId}/keys (the `ProjectServiceGenerateKey` operationId).

func (*Client) ProjectServiceGetInvite

func (c *Client) ProjectServiceGetInvite(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceGetInvite GetInvite

Corresponds with GET /v0/project-invites/{inviteToken} (the `ProjectServiceGetInvite` operationId).

func (*Client) ProjectServiceGetMember

func (c *Client) ProjectServiceGetMember(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceGetMember GetMember

Corresponds with GET /v0/projects/{projectId}/members/{userId} (the `ProjectServiceGetMember` operationId).

func (*Client) ProjectServiceGetProject

func (c *Client) ProjectServiceGetProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceGetProject GetProject

Corresponds with GET /v0/projects/{projectId} (the `ProjectServiceGetProject` operationId).

func (*Client) ProjectServiceInviteMember

func (c *Client) ProjectServiceInviteMember(ctx context.Context, projectId string, body ProjectServiceInviteMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceInviteMember InviteMember

Takes a body of the `application/json` content type.

Corresponds with POST /v0/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).

func (*Client) ProjectServiceInviteMemberWithBody

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

ProjectServiceInviteMemberWithBody InviteMember

Takes any type of body and a specified content type.

Corresponds with POST /v0/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).

func (*Client) ProjectServiceListInvites

func (c *Client) ProjectServiceListInvites(ctx context.Context, projectId string, params *ProjectServiceListInvitesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceListInvites ListInvites

Lists the unexpired invites of a project, ordered by email.

Corresponds with GET /v0/projects/{projectId}/invites (the `ProjectServiceListInvites` operationId).

func (*Client) ProjectServiceListKeys added in v2.19.0

func (c *Client) ProjectServiceListKeys(ctx context.Context, projectId string, params *ProjectServiceListKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceListKeys ListKeys

Lists the API keys of a project, oldest first. The list does not include

the secrets.

Corresponds with GET /v0/projects/{projectId}/keys (the `ProjectServiceListKeys` operationId).

func (*Client) ProjectServiceListMembers

func (c *Client) ProjectServiceListMembers(ctx context.Context, projectId string, params *ProjectServiceListMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceListMembers ListMembers

Lists the project members, ordered by user ID.

Corresponds with GET /v0/projects/{projectId}/members (the `ProjectServiceListMembers` operationId).

func (*Client) ProjectServiceListProjects

func (c *Client) ProjectServiceListProjects(ctx context.Context, params *ProjectServiceListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceListProjects ListProjects

Corresponds with GET /v0/projects (the `ProjectServiceListProjects` operationId).

func (*Client) ProjectServiceListWebhookEvents added in v2.19.1

func (c *Client) ProjectServiceListWebhookEvents(ctx context.Context, projectId string, params *ProjectServiceListWebhookEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceListWebhookEvents ListWebhookEvents

Lists the event names that the webhooks of a project can receive. The list

is always one page.

Corresponds with GET /v0/projects/{projectId}/webhook-events (the `ProjectServiceListWebhookEvents` operationId).

func (*Client) ProjectServiceListWebhooks added in v2.19.1

func (c *Client) ProjectServiceListWebhooks(ctx context.Context, projectId string, params *ProjectServiceListWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceListWebhooks ListWebhooks

Lists the webhook destinations for the project, in the order that they

were added. The list is always one page.

Corresponds with GET /v0/projects/{projectId}/webhooks (the `ProjectServiceListWebhooks` operationId).

func (*Client) ProjectServiceRemoveMember

func (c *Client) ProjectServiceRemoveMember(ctx context.Context, projectId string, userId string, params *ProjectServiceRemoveMemberParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceRemoveMember RemoveMember

Corresponds with DELETE /v0/projects/{projectId}/members/{userId} (the `ProjectServiceRemoveMember` operationId).

func (*Client) ProjectServiceSendTestWebhook added in v2.19.1

func (c *Client) ProjectServiceSendTestWebhook(ctx context.Context, projectId string, webhookId string, body ProjectServiceSendTestWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceSendTestWebhook SendTestWebhook

Takes a body of the `application/json` content type.

Corresponds with POST /v0/projects/{projectId}/webhooks/{webhookId}:test (the `ProjectServiceSendTestWebhook` operationId).

func (*Client) ProjectServiceSendTestWebhookWithBody added in v2.19.1

func (c *Client) ProjectServiceSendTestWebhookWithBody(ctx context.Context, projectId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceSendTestWebhookWithBody SendTestWebhook

Takes any type of body and a specified content type.

Corresponds with POST /v0/projects/{projectId}/webhooks/{webhookId}:test (the `ProjectServiceSendTestWebhook` operationId).

func (*Client) ProjectServiceUpdateInvite

func (c *Client) ProjectServiceUpdateInvite(ctx context.Context, projectId string, email string, body ProjectServiceUpdateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceUpdateInvite UpdateInvite

Takes a body of the `application/json` content type.

Corresponds with PATCH /v0/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).

func (*Client) ProjectServiceUpdateInviteWithBody

func (c *Client) ProjectServiceUpdateInviteWithBody(ctx context.Context, projectId string, email string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceUpdateInviteWithBody UpdateInvite

Takes any type of body and a specified content type.

Corresponds with PATCH /v0/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).

func (*Client) ProjectServiceUpdateMember

func (c *Client) ProjectServiceUpdateMember(ctx context.Context, projectId string, userId string, body ProjectServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceUpdateMember UpdateMember

Takes a body of the `application/json` content type.

Corresponds with PATCH /v0/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).

func (*Client) ProjectServiceUpdateMemberWithBody

func (c *Client) ProjectServiceUpdateMemberWithBody(ctx context.Context, projectId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceUpdateMemberWithBody UpdateMember

Takes any type of body and a specified content type.

Corresponds with PATCH /v0/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).

func (*Client) ProjectServiceUpdateProject

func (c *Client) ProjectServiceUpdateProject(ctx context.Context, projectId string, body ProjectServiceUpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceUpdateProject UpdateProject

Takes a body of the `application/json` content type.

Corresponds with PATCH /v0/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).

func (*Client) ProjectServiceUpdateProjectWithBody

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

ProjectServiceUpdateProjectWithBody UpdateProject

Takes any type of body and a specified content type.

Corresponds with PATCH /v0/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).

func (*Client) ProjectServiceUpdateWebhook added in v2.19.1

func (c *Client) ProjectServiceUpdateWebhook(ctx context.Context, projectId string, webhookId string, body ProjectServiceUpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceUpdateWebhook UpdateWebhook

Takes a body of the `application/json` content type.

Corresponds with PATCH /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceUpdateWebhook` operationId).

func (*Client) ProjectServiceUpdateWebhookWithBody added in v2.19.1

func (c *Client) ProjectServiceUpdateWebhookWithBody(ctx context.Context, projectId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ProjectServiceUpdateWebhookWithBody UpdateWebhook

Takes any type of body and a specified content type.

Corresponds with PATCH /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceUpdateWebhook` operationId).

func (*Client) SimulationServiceCancelSimulationRun

func (c *Client) SimulationServiceCancelSimulationRun(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*http.Response, error)

SimulationServiceCancelSimulationRun CancelSimulationRun

Stops a run that has not finished. Cancelling a run that already finished

succeeds without effect.

Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:cancel (the `SimulationServiceCancelSimulationRun` operationId).

func (*Client) SimulationServiceConfirmSimulationSourceUpload added in v2.19.0

func (c *Client) SimulationServiceConfirmSimulationSourceUpload(ctx context.Context, projectId string, simulationRunId string, body SimulationServiceConfirmSimulationSourceUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SimulationServiceConfirmSimulationSourceUpload ConfirmSimulationSourceUpload

Marks the agent source as uploaded and starts scenario generation; the run

moves to GENERATING, then RUNNING once the scenarios exist. Only valid
while the run is `PENDING_UPLOAD`, so a repeated call fails.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:confirmSourceUpload (the `SimulationServiceConfirmSimulationSourceUpload` operationId).

func (*Client) SimulationServiceConfirmSimulationSourceUploadWithBody added in v2.19.0

func (c *Client) SimulationServiceConfirmSimulationSourceUploadWithBody(ctx context.Context, projectId string, simulationRunId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

SimulationServiceConfirmSimulationSourceUploadWithBody ConfirmSimulationSourceUpload

Marks the agent source as uploaded and starts scenario generation; the run

moves to GENERATING, then RUNNING once the scenarios exist. Only valid
while the run is `PENDING_UPLOAD`, so a repeated call fails.

Takes any type of body and a specified content type.

Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:confirmSourceUpload (the `SimulationServiceConfirmSimulationSourceUpload` operationId).

func (*Client) SimulationServiceCountSimulationRuns added in v2.19.0

func (c *Client) SimulationServiceCountSimulationRuns(ctx context.Context, projectId string, params *SimulationServiceCountSimulationRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

SimulationServiceCountSimulationRuns CountSimulationRuns

Buckets the runs ListSimulationRuns would return over [startTime, endTime)

into a histogram. It takes the same filters over the same window, so the
bars and the rows beneath them always describe one set. Both bounds are
required and endTime must be after startTime.

Corresponds with GET /v0/projects/{projectId}/simulation-runs:counts (the `SimulationServiceCountSimulationRuns` operationId).

func (*Client) SimulationServiceCreateSimulationRun

func (c *Client) SimulationServiceCreateSimulationRun(ctx context.Context, projectId string, body SimulationServiceCreateSimulationRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SimulationServiceCreateSimulationRun CreateSimulationRun

Registers a new run. With a scenarioGroup it starts right away and no

upload target is returned. Without one it waits in `PENDING_UPLOAD` for the
agent source that scenarios are generated from: upload it to the returned
presigned POST, then call ConfirmSimulationSourceUpload. A run left pending
for an hour is failed. Creating a run is not idempotent: a retried request
starts a second run.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).

func (*Client) SimulationServiceCreateSimulationRunWithBody

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

SimulationServiceCreateSimulationRunWithBody CreateSimulationRun

Registers a new run. With a scenarioGroup it starts right away and no

upload target is returned. Without one it waits in `PENDING_UPLOAD` for the
agent source that scenarios are generated from: upload it to the returned
presigned POST, then call ConfirmSimulationSourceUpload. A run left pending
for an hour is failed. Creating a run is not idempotent: a retried request
starts a second run.

Takes any type of body and a specified content type.

Corresponds with POST /v0/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).

func (*Client) SimulationServiceGenerateScenarioFromSession added in v2.19.0

func (c *Client) SimulationServiceGenerateScenarioFromSession(ctx context.Context, projectId string, body SimulationServiceGenerateScenarioFromSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

SimulationServiceGenerateScenarioFromSession GenerateScenarioFromSession

Derives a reusable scenario (label, instructions and expectations) from a

recorded room session, for use in the scenarioGroup of a later run.
Nothing is stored; the returned scenario is the result. The session must
have a recorded chat history. Each call runs an LLM over it, so it counts
against the scenario-generation quota for the project and can take up to
about a minute.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/projects/{projectId}/scenarios:generateFromSession (the `SimulationServiceGenerateScenarioFromSession` operationId).

func (*Client) SimulationServiceGenerateScenarioFromSessionWithBody added in v2.19.0

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

SimulationServiceGenerateScenarioFromSessionWithBody GenerateScenarioFromSession

Derives a reusable scenario (label, instructions and expectations) from a

recorded room session, for use in the scenarioGroup of a later run.
Nothing is stored; the returned scenario is the result. The session must
have a recorded chat history. Each call runs an LLM over it, so it counts
against the scenario-generation quota for the project and can take up to
about a minute.

Takes any type of body and a specified content type.

Corresponds with POST /v0/projects/{projectId}/scenarios:generateFromSession (the `SimulationServiceGenerateScenarioFromSession` operationId).

func (*Client) SimulationServiceGetSimulationRun

func (c *Client) SimulationServiceGetSimulationRun(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*http.Response, error)

SimulationServiceGetSimulationRun GetSimulationRun

Returns one run with its jobs and aggregate metrics. The compressed summary

blob (summaryZstd) is omitted; use GetSimulationRunSummary for the decoded
summary.

Corresponds with GET /v0/projects/{projectId}/simulation-runs/{simulationRunId} (the `SimulationServiceGetSimulationRun` operationId).

func (*Client) SimulationServiceGetSimulationRunSummary added in v2.19.0

func (c *Client) SimulationServiceGetSimulationRunSummary(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*http.Response, error)

SimulationServiceGetSimulationRunSummary GetSimulationRunSummary

Returns the graded outcome of a finished run: pass/fail counts, what went

well, what to improve, flagged issues with suggestions, and the per-job
chat history. FailedPrecondition while the run is still going; NotFound if
the run finished without a summary.

Corresponds with GET /v0/projects/{projectId}/simulation-runs/{simulationRunId}/summary (the `SimulationServiceGetSimulationRunSummary` operationId).

func (*Client) SimulationServiceListSimulationRuns

func (c *Client) SimulationServiceListSimulationRuns(ctx context.Context, projectId string, params *SimulationServiceListSimulationRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

SimulationServiceListSimulationRuns ListSimulationRuns

Lists the runs for a project, newest first, cursor-paginated, optionally

narrowed by status, agent, conversation mode and a time window. Rows carry
headline counts (`jobCount`, `passedCount`, `failedCount`, `issueCount`) but
neither jobs nor the summary.

Corresponds with GET /v0/projects/{projectId}/simulation-runs (the `SimulationServiceListSimulationRuns` operationId).

func (*Client) ThreadServiceCreateThread added in v2.19.1

func (c *Client) ThreadServiceCreateThread(ctx context.Context, projectId string, body ThreadServiceCreateThreadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ThreadServiceCreateThread CreateThread

Creates a thread and its database.

Takes a body of the `application/json` content type.

Corresponds with POST /v0/projects/{projectId}/threads (the `ThreadServiceCreateThread` operationId).

func (*Client) ThreadServiceCreateThreadWithBody added in v2.19.1

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

ThreadServiceCreateThreadWithBody CreateThread

Creates a thread and its database.

Takes any type of body and a specified content type.

Corresponds with POST /v0/projects/{projectId}/threads (the `ThreadServiceCreateThread` operationId).

func (*Client) ThreadServiceDeleteThread added in v2.19.1

func (c *Client) ThreadServiceDeleteThread(ctx context.Context, projectId string, threadId string, reqEditors ...RequestEditorFn) (*http.Response, error)

ThreadServiceDeleteThread DeleteThread

Deletes the thread and its database.

Corresponds with DELETE /v0/projects/{projectId}/threads/{threadId} (the `ThreadServiceDeleteThread` operationId).

func (*Client) ThreadServiceGetThread added in v2.19.1

func (c *Client) ThreadServiceGetThread(ctx context.Context, projectId string, threadId string, reqEditors ...RequestEditorFn) (*http.Response, error)

ThreadServiceGetThread GetThread

Corresponds with GET /v0/projects/{projectId}/threads/{threadId} (the `ThreadServiceGetThread` operationId).

func (*Client) ThreadServiceGetThreadItems added in v2.19.1

func (c *Client) ThreadServiceGetThreadItems(ctx context.Context, projectId string, threadId string, params *ThreadServiceGetThreadItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ThreadServiceGetThreadItems GetThreadItems

Returns the chat items in the thread, oldest first.

Corresponds with GET /v0/projects/{projectId}/threads/{threadId}/items (the `ThreadServiceGetThreadItems` operationId).

func (*Client) ThreadServiceGetThreadTasks added in v2.19.1

func (c *Client) ThreadServiceGetThreadTasks(ctx context.Context, projectId string, threadId string, params *ThreadServiceGetThreadTasksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ThreadServiceGetThreadTasks GetThreadTasks

Returns the background tasks in the thread, oldest first.

Corresponds with GET /v0/projects/{projectId}/threads/{threadId}/tasks (the `ThreadServiceGetThreadTasks` operationId).

func (*Client) ThreadServiceListThreads added in v2.19.1

func (c *Client) ThreadServiceListThreads(ctx context.Context, projectId string, params *ThreadServiceListThreadsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

ThreadServiceListThreads ListThreads

Lists the threads of one scope, newest first.

Corresponds with GET /v0/projects/{projectId}/threads (the `ThreadServiceListThreads` operationId).

func (*Client) ThreadServiceUpdateThread added in v2.19.1

func (c *Client) ThreadServiceUpdateThread(ctx context.Context, projectId string, threadId string, body ThreadServiceUpdateThreadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

ThreadServiceUpdateThread UpdateThread

Merges attributes (an empty value deletes the entry) and sets the idle TTL.

Every update counts as activity and pushes expiresAt out.

Takes a body of the `application/json` content type.

Corresponds with PATCH /v0/projects/{projectId}/threads/{threadId} (the `ThreadServiceUpdateThread` operationId).

func (*Client) ThreadServiceUpdateThreadWithBody added in v2.19.1

func (c *Client) ThreadServiceUpdateThreadWithBody(ctx context.Context, projectId string, threadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

ThreadServiceUpdateThreadWithBody UpdateThread

Merges attributes (an empty value deletes the entry) and sets the idle TTL.

Every update counts as activity and pushes expiresAt out.

Takes any type of body and a specified content type.

Corresponds with PATCH /v0/projects/{projectId}/threads/{threadId} (the `ThreadServiceUpdateThread` operationId).

func (*Client) UserServiceGetCurrentUser

func (c *Client) UserServiceGetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

UserServiceGetCurrentUser GetCurrentUser

Corresponds with GET /v0/users/me (the `UserServiceGetCurrentUser` operationId).

func (*Client) UserServiceGetUser

func (c *Client) UserServiceGetUser(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

UserServiceGetUser GetUser

Corresponds with GET /v0/users/{userId} (the `UserServiceGetUser` operationId).

func (*Client) UserServiceListUsers

func (c *Client) UserServiceListUsers(ctx context.Context, params *UserServiceListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

UserServiceListUsers ListUsers

Corresponds with GET /v0/users (the `UserServiceListUsers` operationId).

func (*Client) WorkspaceServiceAnswerInvite

func (c *Client) WorkspaceServiceAnswerInvite(ctx context.Context, inviteToken string, body WorkspaceServiceAnswerInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceAnswerInvite AnswerInvite

Takes a body of the `application/json` content type.

Corresponds with POST /v0/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).

func (*Client) WorkspaceServiceAnswerInviteWithBody

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

WorkspaceServiceAnswerInviteWithBody AnswerInvite

Takes any type of body and a specified content type.

Corresponds with POST /v0/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).

func (*Client) WorkspaceServiceCreateInvite

func (c *Client) WorkspaceServiceCreateInvite(ctx context.Context, workspaceId string, body WorkspaceServiceCreateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceCreateInvite CreateInvite

Takes a body of the `application/json` content type.

Corresponds with POST /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).

func (*Client) WorkspaceServiceCreateInviteWithBody

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

WorkspaceServiceCreateInviteWithBody CreateInvite

Takes any type of body and a specified content type.

Corresponds with POST /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).

func (*Client) WorkspaceServiceCreateProject

func (c *Client) WorkspaceServiceCreateProject(ctx context.Context, workspaceId string, body WorkspaceServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceCreateProject CreateProject

Takes a body of the `application/json` content type.

Corresponds with POST /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).

func (*Client) WorkspaceServiceCreateProjectWithBody

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

WorkspaceServiceCreateProjectWithBody CreateProject

Takes any type of body and a specified content type.

Corresponds with POST /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).

func (*Client) WorkspaceServiceCreateWorkspace

func (c *Client) WorkspaceServiceCreateWorkspace(ctx context.Context, body WorkspaceServiceCreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceCreateWorkspace CreateWorkspace

Takes a body of the `application/json` content type.

Corresponds with POST /v0/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).

func (*Client) WorkspaceServiceCreateWorkspaceWithBody

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

WorkspaceServiceCreateWorkspaceWithBody CreateWorkspace

Takes any type of body and a specified content type.

Corresponds with POST /v0/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).

func (*Client) WorkspaceServiceDeleteInvite

func (c *Client) WorkspaceServiceDeleteInvite(ctx context.Context, workspaceId string, email string, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceDeleteInvite DeleteInvite

Corresponds with DELETE /v0/workspaces/{workspaceId}/invites/{email} (the `WorkspaceServiceDeleteInvite` operationId).

func (*Client) WorkspaceServiceDeleteMember

func (c *Client) WorkspaceServiceDeleteMember(ctx context.Context, workspaceId string, userId string, params *WorkspaceServiceDeleteMemberParams, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceDeleteMember DeleteMember

Corresponds with DELETE /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceDeleteMember` operationId).

func (*Client) WorkspaceServiceDeleteProject

func (c *Client) WorkspaceServiceDeleteProject(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceDeleteProject DeleteProject

Corresponds with DELETE /v0/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceDeleteProject` operationId).

func (*Client) WorkspaceServiceDeleteWorkspace

func (c *Client) WorkspaceServiceDeleteWorkspace(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceDeleteWorkspace DeleteWorkspace

Corresponds with DELETE /v0/workspaces/{workspaceId} (the `WorkspaceServiceDeleteWorkspace` operationId).

func (*Client) WorkspaceServiceGetInvite

func (c *Client) WorkspaceServiceGetInvite(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceGetInvite GetInvite

Corresponds with GET /v0/workspace-invites/{inviteToken} (the `WorkspaceServiceGetInvite` operationId).

func (*Client) WorkspaceServiceGetMember

func (c *Client) WorkspaceServiceGetMember(ctx context.Context, workspaceId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceGetMember GetMember

Corresponds with GET /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceGetMember` operationId).

func (*Client) WorkspaceServiceGetProject

func (c *Client) WorkspaceServiceGetProject(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceGetProject GetProject

Corresponds with GET /v0/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceGetProject` operationId).

func (*Client) WorkspaceServiceGetWorkspace

func (c *Client) WorkspaceServiceGetWorkspace(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceGetWorkspace GetWorkspace

Corresponds with GET /v0/workspaces/{workspaceId} (the `WorkspaceServiceGetWorkspace` operationId).

func (*Client) WorkspaceServiceListInvites

func (c *Client) WorkspaceServiceListInvites(ctx context.Context, workspaceId string, params *WorkspaceServiceListInvitesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceListInvites ListInvites

Lists the unexpired invites of a workspace, ordered by email.

Corresponds with GET /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceListInvites` operationId).

func (*Client) WorkspaceServiceListMembers

func (c *Client) WorkspaceServiceListMembers(ctx context.Context, workspaceId string, params *WorkspaceServiceListMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceListMembers ListMembers

Lists the workspace members, ordered by user ID.

Corresponds with GET /v0/workspaces/{workspaceId}/members (the `WorkspaceServiceListMembers` operationId).

func (*Client) WorkspaceServiceListProjects

func (c *Client) WorkspaceServiceListProjects(ctx context.Context, workspaceId string, params *WorkspaceServiceListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceListProjects ListProjects

The projects in a workspace. These return the same Project message as

the project endpoints.

Corresponds with GET /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceListProjects` operationId).

func (*Client) WorkspaceServiceListWorkspaces

func (c *Client) WorkspaceServiceListWorkspaces(ctx context.Context, params *WorkspaceServiceListWorkspacesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceListWorkspaces ListWorkspaces

Corresponds with GET /v0/workspaces (the `WorkspaceServiceListWorkspaces` operationId).

func (*Client) WorkspaceServiceUpdateMember

func (c *Client) WorkspaceServiceUpdateMember(ctx context.Context, workspaceId string, userId string, body WorkspaceServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceUpdateMember UpdateMember

Takes a body of the `application/json` content type.

Corresponds with PATCH /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).

func (*Client) WorkspaceServiceUpdateMemberWithBody

func (c *Client) WorkspaceServiceUpdateMemberWithBody(ctx context.Context, workspaceId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceUpdateMemberWithBody UpdateMember

Takes any type of body and a specified content type.

Corresponds with PATCH /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).

func (*Client) WorkspaceServiceUpdateWorkspace

func (c *Client) WorkspaceServiceUpdateWorkspace(ctx context.Context, workspaceId string, body WorkspaceServiceUpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

WorkspaceServiceUpdateWorkspace UpdateWorkspace

Takes a body of the `application/json` content type.

Corresponds with PATCH /v0/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).

func (*Client) WorkspaceServiceUpdateWorkspaceWithBody

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

WorkspaceServiceUpdateWorkspaceWithBody UpdateWorkspace

Takes any type of body and a specified content type.

Corresponds with PATCH /v0/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).

type ClientInterface

type ClientInterface interface {

	// ProjectServiceGetInvite GetInvite
	//
	// Corresponds with GET /v0/project-invites/{inviteToken} (the `ProjectServiceGetInvite` operationId).
	ProjectServiceGetInvite(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceAnswerInvitationWithBody AnswerInvitation
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
	ProjectServiceAnswerInvitationWithBody(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceAnswerInvitation AnswerInvitation
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
	ProjectServiceAnswerInvitation(ctx context.Context, inviteToken string, body ProjectServiceAnswerInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceListProjects ListProjects
	//
	// Corresponds with GET /v0/projects (the `ProjectServiceListProjects` operationId).
	ProjectServiceListProjects(ctx context.Context, params *ProjectServiceListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceCreateProjectWithBody CreateProject
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/projects (the `ProjectServiceCreateProject` operationId).
	ProjectServiceCreateProjectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceCreateProject CreateProject
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/projects (the `ProjectServiceCreateProject` operationId).
	ProjectServiceCreateProject(ctx context.Context, body ProjectServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceDeleteProject DeleteProject
	//
	// Corresponds with DELETE /v0/projects/{projectId} (the `ProjectServiceDeleteProject` operationId).
	ProjectServiceDeleteProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceGetProject GetProject
	//
	// Corresponds with GET /v0/projects/{projectId} (the `ProjectServiceGetProject` operationId).
	ProjectServiceGetProject(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceUpdateProjectWithBody UpdateProject
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v0/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
	ProjectServiceUpdateProjectWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceUpdateProject UpdateProject
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v0/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
	ProjectServiceUpdateProject(ctx context.Context, projectId string, body ProjectServiceUpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BuilderAgentServiceListBuilderAgents ListBuilderAgents
	//
	// Lists a project's builder agents by name, one page at a time, with the
	//  status of each deployment. The list does not include configurations: use
	//  GetBuilderAgent for one.
	//
	// Corresponds with GET /v0/projects/{projectId}/agents/builder (the `BuilderAgentServiceListBuilderAgents` operationId).
	BuilderAgentServiceListBuilderAgents(ctx context.Context, projectId string, params *BuilderAgentServiceListBuilderAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BuilderAgentServiceCreateBuilderAgentWithBody CreateBuilderAgent
	//
	// Makes a builder agent from a name and a configuration. The agent is not
	//  deployed: call DeployBuilderAgent to run it. Unset configuration
	//  properties take their default, and unknown properties are ignored.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/agents/builder (the `BuilderAgentServiceCreateBuilderAgent` operationId).
	BuilderAgentServiceCreateBuilderAgentWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BuilderAgentServiceCreateBuilderAgent CreateBuilderAgent
	//
	// Makes a builder agent from a name and a configuration. The agent is not
	//  deployed: call DeployBuilderAgent to run it. Unset configuration
	//  properties take their default, and unknown properties are ignored.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/agents/builder (the `BuilderAgentServiceCreateBuilderAgent` operationId).
	BuilderAgentServiceCreateBuilderAgent(ctx context.Context, projectId string, body BuilderAgentServiceCreateBuilderAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BuilderAgentServiceDeleteBuilderAgent DeleteBuilderAgent
	//
	// Deletes a builder agent, its versions, and its deployment.
	//
	// Corresponds with DELETE /v0/projects/{projectId}/agents/builder/{builderAgentId} (the `BuilderAgentServiceDeleteBuilderAgent` operationId).
	BuilderAgentServiceDeleteBuilderAgent(ctx context.Context, projectId string, builderAgentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BuilderAgentServiceGetBuilderAgent GetBuilderAgent
	//
	// Returns a builder agent with its current configuration and the status of
	//  its deployment.
	//
	// Corresponds with GET /v0/projects/{projectId}/agents/builder/{builderAgentId} (the `BuilderAgentServiceGetBuilderAgent` operationId).
	BuilderAgentServiceGetBuilderAgent(ctx context.Context, projectId string, builderAgentId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BuilderAgentServiceUpdateBuilderAgentWithBody UpdateBuilderAgent
	//
	// Replaces a builder agent's configuration. Each update makes a new
	//  version. The running agent does not change until you deploy again.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v0/projects/{projectId}/agents/builder/{builderAgentId} (the `BuilderAgentServiceUpdateBuilderAgent` operationId).
	BuilderAgentServiceUpdateBuilderAgentWithBody(ctx context.Context, projectId string, builderAgentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BuilderAgentServiceUpdateBuilderAgent UpdateBuilderAgent
	//
	// Replaces a builder agent's configuration. Each update makes a new
	//  version. The running agent does not change until you deploy again.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v0/projects/{projectId}/agents/builder/{builderAgentId} (the `BuilderAgentServiceUpdateBuilderAgent` operationId).
	BuilderAgentServiceUpdateBuilderAgent(ctx context.Context, projectId string, builderAgentId string, body BuilderAgentServiceUpdateBuilderAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BuilderAgentServiceDeployBuilderAgentWithBody DeployBuilderAgent
	//
	// Starts a deployment of a builder agent's current configuration, or of
	//  an earlier version. The call returns when the build starts, with status
	//  DEPLOYMENT_STATUS_BUILDING. The build continues after the call returns.
	//  Call GetBuilderAgent to follow the deployment until its status is
	//  DEPLOYMENT_STATUS_RUNNING, or DEPLOYMENT_STATUS_BUILD_FAILED.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/agents/builder/{builderAgentId}:deploy (the `BuilderAgentServiceDeployBuilderAgent` operationId).
	BuilderAgentServiceDeployBuilderAgentWithBody(ctx context.Context, projectId string, builderAgentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BuilderAgentServiceDeployBuilderAgent DeployBuilderAgent
	//
	// Starts a deployment of a builder agent's current configuration, or of
	//  an earlier version. The call returns when the build starts, with status
	//  DEPLOYMENT_STATUS_BUILDING. The build continues after the call returns.
	//  Call GetBuilderAgent to follow the deployment until its status is
	//  DEPLOYMENT_STATUS_RUNNING, or DEPLOYMENT_STATUS_BUILD_FAILED.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/agents/builder/{builderAgentId}:deploy (the `BuilderAgentServiceDeployBuilderAgent` operationId).
	BuilderAgentServiceDeployBuilderAgent(ctx context.Context, projectId string, builderAgentId string, body BuilderAgentServiceDeployBuilderAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnalyticsServiceGetProjectAnalytics GetProjectAnalytics
	//
	// Returns the project overview over a time range.
	//
	// Corresponds with GET /v0/projects/{projectId}/analytics (the `AnalyticsServiceGetProjectAnalytics` operationId).
	AnalyticsServiceGetProjectAnalytics(ctx context.Context, projectId string, params *AnalyticsServiceGetProjectAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnalyticsServiceListAgentAnalytics ListAgentAnalytics
	//
	// Lists the analytics of each agent in the project over a time range. Each
	//  item is an `AgentAnalytics`, the same message that `GetAgentAnalytics`
	//  returns for one agent.
	//
	// Corresponds with GET /v0/projects/{projectId}/analytics/agents (the `AnalyticsServiceListAgentAnalytics` operationId).
	AnalyticsServiceListAgentAnalytics(ctx context.Context, projectId string, params *AnalyticsServiceListAgentAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnalyticsServiceGetAgentAnalytics GetAgentAnalytics
	//
	// Returns the analytics for one agent over a time range.
	//
	// Corresponds with GET /v0/projects/{projectId}/analytics/agents/{agentId} (the `AnalyticsServiceGetAgentAnalytics` operationId).
	AnalyticsServiceGetAgentAnalytics(ctx context.Context, projectId string, agentId string, params *AnalyticsServiceGetAgentAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DatabaseServiceListDatabases ListDatabases
	//
	// Lists the project databases, cursor-paginated.
	//
	// Corresponds with GET /v0/projects/{projectId}/databases (the `DatabaseServiceListDatabases` operationId).
	DatabaseServiceListDatabases(ctx context.Context, projectId string, params *DatabaseServiceListDatabasesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DatabaseServiceCreateDatabaseWithBody CreateDatabase
	//
	// Creates an empty database. Not idempotent: a retried request creates a
	//  second database.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/databases (the `DatabaseServiceCreateDatabase` operationId).
	DatabaseServiceCreateDatabaseWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DatabaseServiceCreateDatabase CreateDatabase
	//
	// Creates an empty database. Not idempotent: a retried request creates a
	//  second database.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/databases (the `DatabaseServiceCreateDatabase` operationId).
	DatabaseServiceCreateDatabase(ctx context.Context, projectId string, body DatabaseServiceCreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DatabaseServiceDeleteDatabase DeleteDatabase
	//
	// Deletes the stored data, not just the metadata.
	//
	// Corresponds with DELETE /v0/projects/{projectId}/databases/{databaseId} (the `DatabaseServiceDeleteDatabase` operationId).
	DatabaseServiceDeleteDatabase(ctx context.Context, projectId string, databaseId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DatabaseServiceGetDatabase GetDatabase
	//
	// Corresponds with GET /v0/projects/{projectId}/databases/{databaseId} (the `DatabaseServiceGetDatabase` operationId).
	DatabaseServiceGetDatabase(ctx context.Context, projectId string, databaseId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DatabaseServiceExportDatabase ExportDatabase
	//
	// Exports a consistent SQLite file as a time-limited download URL.
	//
	// Corresponds with POST /v0/projects/{projectId}/databases/{databaseId}:export (the `DatabaseServiceExportDatabase` operationId).
	DatabaseServiceExportDatabase(ctx context.Context, projectId string, databaseId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceListInvites ListInvites
	//
	// Lists the unexpired invites of a project, ordered by email.
	//
	// Corresponds with GET /v0/projects/{projectId}/invites (the `ProjectServiceListInvites` operationId).
	ProjectServiceListInvites(ctx context.Context, projectId string, params *ProjectServiceListInvitesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceInviteMemberWithBody InviteMember
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
	ProjectServiceInviteMemberWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceInviteMember InviteMember
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
	ProjectServiceInviteMember(ctx context.Context, projectId string, body ProjectServiceInviteMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceDeleteInvite DeleteInvite
	//
	// Corresponds with DELETE /v0/projects/{projectId}/invites/{email} (the `ProjectServiceDeleteInvite` operationId).
	ProjectServiceDeleteInvite(ctx context.Context, projectId string, email string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceUpdateInviteWithBody UpdateInvite
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v0/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
	ProjectServiceUpdateInviteWithBody(ctx context.Context, projectId string, email string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceUpdateInvite UpdateInvite
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v0/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
	ProjectServiceUpdateInvite(ctx context.Context, projectId string, email string, body ProjectServiceUpdateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceListKeys ListKeys
	//
	// Lists the API keys of a project, oldest first. The list does not include
	//  the secrets.
	//
	// Corresponds with GET /v0/projects/{projectId}/keys (the `ProjectServiceListKeys` operationId).
	ProjectServiceListKeys(ctx context.Context, projectId string, params *ProjectServiceListKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceGenerateKeyWithBody GenerateKey
	//
	// Creates an API key and secret for the project. The secret is returned once,
	//  in the response, and cannot be read again.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/keys (the `ProjectServiceGenerateKey` operationId).
	ProjectServiceGenerateKeyWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceGenerateKey GenerateKey
	//
	// Creates an API key and secret for the project. The secret is returned once,
	//  in the response, and cannot be read again.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/keys (the `ProjectServiceGenerateKey` operationId).
	ProjectServiceGenerateKey(ctx context.Context, projectId string, body ProjectServiceGenerateKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceDeleteKey DeleteKey
	//
	// Corresponds with DELETE /v0/projects/{projectId}/keys/{apiKey} (the `ProjectServiceDeleteKey` operationId).
	ProjectServiceDeleteKey(ctx context.Context, projectId string, apiKey string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceListMembers ListMembers
	//
	// Lists the project members, ordered by user ID.
	//
	// Corresponds with GET /v0/projects/{projectId}/members (the `ProjectServiceListMembers` operationId).
	ProjectServiceListMembers(ctx context.Context, projectId string, params *ProjectServiceListMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceRemoveMember RemoveMember
	//
	// Corresponds with DELETE /v0/projects/{projectId}/members/{userId} (the `ProjectServiceRemoveMember` operationId).
	ProjectServiceRemoveMember(ctx context.Context, projectId string, userId string, params *ProjectServiceRemoveMemberParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceGetMember GetMember
	//
	// Corresponds with GET /v0/projects/{projectId}/members/{userId} (the `ProjectServiceGetMember` operationId).
	ProjectServiceGetMember(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceUpdateMemberWithBody UpdateMember
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v0/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
	ProjectServiceUpdateMemberWithBody(ctx context.Context, projectId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceUpdateMember UpdateMember
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v0/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
	ProjectServiceUpdateMember(ctx context.Context, projectId string, userId string, body ProjectServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceAddWorkspaceMembersToProjectWithBody AddWorkspaceMembersToProject
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
	ProjectServiceAddWorkspaceMembersToProjectWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceAddWorkspaceMembersToProject AddWorkspaceMembersToProject
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
	ProjectServiceAddWorkspaceMembersToProject(ctx context.Context, projectId string, body ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SimulationServiceGenerateScenarioFromSessionWithBody GenerateScenarioFromSession
	//
	// Derives a reusable scenario (label, instructions and expectations) from a
	//  recorded room session, for use in the scenarioGroup of a later run.
	//  Nothing is stored; the returned scenario is the result. The session must
	//  have a recorded chat history. Each call runs an LLM over it, so it counts
	//  against the scenario-generation quota for the project and can take up to
	//  about a minute.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/scenarios:generateFromSession (the `SimulationServiceGenerateScenarioFromSession` operationId).
	SimulationServiceGenerateScenarioFromSessionWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SimulationServiceGenerateScenarioFromSession GenerateScenarioFromSession
	//
	// Derives a reusable scenario (label, instructions and expectations) from a
	//  recorded room session, for use in the scenarioGroup of a later run.
	//  Nothing is stored; the returned scenario is the result. The session must
	//  have a recorded chat history. Each call runs an LLM over it, so it counts
	//  against the scenario-generation quota for the project and can take up to
	//  about a minute.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/scenarios:generateFromSession (the `SimulationServiceGenerateScenarioFromSession` operationId).
	SimulationServiceGenerateScenarioFromSession(ctx context.Context, projectId string, body SimulationServiceGenerateScenarioFromSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnalyticsServiceListProjectSessions ListProjectSessions
	//
	// Lists room sessions for a project, newest first, cursor-paginated.
	//
	// Corresponds with GET /v0/projects/{projectId}/sessions (the `AnalyticsServiceListProjectSessions` operationId).
	AnalyticsServiceListProjectSessions(ctx context.Context, projectId string, params *AnalyticsServiceListProjectSessionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnalyticsServiceGetSession GetSession
	//
	// Returns one room session. The response carries both the list-row `session`
	//  and the richer `detail` (participants, per-metric data points).
	//
	// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId} (the `AnalyticsServiceGetSession` operationId).
	AnalyticsServiceGetSession(ctx context.Context, projectId string, sessionId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnalyticsServiceListSessionEvents Lists the events in one room session, oldest first by default,
	//  cursor-paginated with no total. With no `types`, it returns the seven the
	//  events table on the dashboard shows: `PARTICIPANT_JOINED`,
	//  `PARTICIPANT_LEFT`, `PARTICIPANT_ACTIVE`, `PARTICIPANT_RESUMED`,
	//  `ROOM_CREATED`, `ROOM_ENDED` and `API_CALL`. `types` asks for others, such
	//  as `TRACK_PUBLISHED`, and `participantSessionId` keeps the events for one
	//  participant session. With `participantSessionId` and no `types`, it returns
	//  the eleven the participant events table on the dashboard shows for that
	//  participant session: `PARTICIPANT_JOINED`, `PARTICIPANT_LEFT`,
	//  `PARTICIPANT_RESUMED` and `PARTICIPANT_ACTIVE`, and its `TRACK_MUTED`,
	//  `TRACK_UNMUTED`, `TRACK_PUBLISHED`, `TRACK_UNPUBLISHED`,
	//  `TRACK_SUBSCRIBED`, `TRACK_SUBSCRIBE_REQUESTED` and
	//  `TRACK_SUBSCRIBE_FAILED`.
	//
	// Unlike the dashboard, on purpose: an unknown type or a malformed
	//  participant session ID is `InvalidArgument` rather than being searched for
	//  as typed, and types match exactly, so `TRACK_PUBLISHED` doesn't also return
	//  `TRACK_PUBLISHED_UPDATE`. Each event payload keeps only an allowlist of
	//  fields, leaving out participants' attributes and metadata and API calls'
	//  request bodies. Each event and participant row still carries the
	//  participant's identity, as the dashboard shows it to every member, and for
	//  a SIP caller that can be a phone number.
	//
	//  Events are kept for 60 days, which can be shorter than the retention of
	//  other data for the session, so an older session can list no events. An
	//  `ACTIVE` session lists the events recorded so far. An unknown session is
	//  `NotFound`.
	//
	// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/events (the `AnalyticsServiceListSessionEvents` operationId).
	AnalyticsServiceListSessionEvents(ctx context.Context, projectId string, sessionId string, params *AnalyticsServiceListSessionEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObservabilityServiceGetSessionLogs Returns the log records the agents in the session exported, in time order:
	//  what the logs panel on the dashboard shows. Their chat history is left out,
	//  since `GetSessionTranscript` reads it, and their evaluation results stay
	//  in. The session events, such as participants joining, come from
	//  `ListSessionEvents` on `AnalyticsService`.
	//
	// An `ACTIVE` session returns what its agents have exported so far. A record
	//  exported mid-read with a time this read has already paged past, earlier
	//  than its cursor position when oldest first, is missed until a new read. An
	//  unknown session is NotFound. A read filtered by logLevels can come back
	//  empty because no record is at those levels, so only an unfiltered one is
	//  ObservabilityDisabled.
	//
	// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/logs (the `ObservabilityServiceGetSessionLogs` operationId).
	ObservabilityServiceGetSessionLogs(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObservabilityServiceGetSessionMetrics Returns the OpenTelemetry metric points the agents in the session exported,
	//  by time, typed: turn latencies such as lk.agents.turn.e2e_latency and
	//  lk.agents.turn.llm_ttft, token and duration usage such as
	//  lk.agents.usage.llm_input_tokens, and the gen_ai.* histograms, along with
	//  any metrics the agent's own code recorded.
	//
	// These are the raw metrics agents emit, so they won't exactly match the
	//  metrics panel on the dashboard, which derives its numbers from the
	//  transcript and traces. Only agents that export OpenTelemetry metrics to
	//  LiveKit Cloud produce them: an agent whose code installs its own
	//  MeterProvider exports none to LiveKit Cloud, and its sessions return no
	//  points.
	//
	//  Some points aren't labeled as their agent exported them. LiveKit Cloud
	//  groups the series for a session by their attributes alone and names each
	//  group after its first row. As a result:
	//
	//  - Several metrics can come back under one name. For example, the input,
	//    output, and cached token counts for an LLM all have the name
	//    `lk.agents.usage.llm_input_tokens`.
	//  - Points of one series at the same time that recorded equal values
	//    collapse into one point.
	//  - When a session has two agents, a point can carry the resource attributes
	//    of the other agent.
	//
	//  An agent exports its metrics every 30 seconds, and its turn latencies when
	//  the session ends, so an ACTIVE session returns what it has exported so far.
	//  An unknown session is NotFound. A read filtered by names can come back
	//  empty because no metric has those names, so only an unfiltered one is
	//  ObservabilityDisabled.
	//
	// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/metrics (the `ObservabilityServiceGetSessionMetrics` operationId).
	ObservabilityServiceGetSessionMetrics(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AnalyticsServiceListSessionParticipants ListSessionParticipants
	//
	// Lists the participants of one room session, one row per identity,
	//  cursor-paginated; newest join first by default. Each row carries the
	//  participant's participant sessions (PA_...), each with the client it
	//  connected from.
	//
	// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/participants (the `AnalyticsServiceListSessionParticipants` operationId).
	AnalyticsServiceListSessionParticipants(ctx context.Context, projectId string, sessionId string, params *AnalyticsServiceListSessionParticipantsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObservabilityServiceGetSessionRecordingURL GetSessionRecordingURL
	//
	// Returns a short-lived signed URL for one of the session recordings: its
	//  audio or its chat history. A session with no recording of that type is
	//  NotFound. A new recording can be NotFound for up to a minute after the
	//  session ends.
	//
	// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/recording-url (the `ObservabilityServiceGetSessionRecordingURL` operationId).
	ObservabilityServiceGetSessionRecordingURL(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionRecordingURLParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObservabilityServiceGetSessionTraces Returns the spans the agents in the session exported, by start time: what
	//  the trace view on the dashboard shows. Each span names its parent, so the
	//  pages rebuild the span tree, and its attributes carry the turn and latency
	//  fields the turn view on the dashboard reads, such as lk.generation_id and
	//  lk.response.ttft.
	//
	// An ACTIVE session returns what its agents have exported so far; a span
	//  exported after the first page waits for a new read. The later pages are
	//  read by offset, so a span exported mid-read can still shift them: a span
	//  can repeat, or be skipped. Dedupe by spanId, and read again from the first
	//  page to pick up a skipped span. An unknown session is NotFound.
	//
	// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/traces (the `ObservabilityServiceGetSessionTraces` operationId).
	ObservabilityServiceGetSessionTraces(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionTracesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ObservabilityServiceGetSessionTranscript Returns the session conversation as ordered transcript items: messages,
	//  tool calls and results, agent handoffs and agent configuration changes. It
	//  is the conversation the transcript on the dashboard shows.
	//
	// The agent exports its transcript when the session ends, and it can be read
	//  a minute or two later; on a project with PII redaction, only once the
	//  session recording has been redacted. So a session that is still ACTIVE
	//  returns what exists so far, usually nothing, without an error: read it
	//  again after the session ends. An unknown session is NotFound.
	//
	// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/transcript (the `ObservabilityServiceGetSessionTranscript` operationId).
	ObservabilityServiceGetSessionTranscript(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionTranscriptParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SimulationServiceListSimulationRuns ListSimulationRuns
	//
	// Lists the runs for a project, newest first, cursor-paginated, optionally
	//  narrowed by status, agent, conversation mode and a time window. Rows carry
	//  headline counts (`jobCount`, `passedCount`, `failedCount`, `issueCount`) but
	//  neither jobs nor the summary.
	//
	// Corresponds with GET /v0/projects/{projectId}/simulation-runs (the `SimulationServiceListSimulationRuns` operationId).
	SimulationServiceListSimulationRuns(ctx context.Context, projectId string, params *SimulationServiceListSimulationRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SimulationServiceCreateSimulationRunWithBody CreateSimulationRun
	//
	// Registers a new run. With a scenarioGroup it starts right away and no
	//  upload target is returned. Without one it waits in `PENDING_UPLOAD` for the
	//  agent source that scenarios are generated from: upload it to the returned
	//  presigned POST, then call ConfirmSimulationSourceUpload. A run left pending
	//  for an hour is failed. Creating a run is not idempotent: a retried request
	//  starts a second run.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
	SimulationServiceCreateSimulationRunWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SimulationServiceCreateSimulationRun CreateSimulationRun
	//
	// Registers a new run. With a scenarioGroup it starts right away and no
	//  upload target is returned. Without one it waits in `PENDING_UPLOAD` for the
	//  agent source that scenarios are generated from: upload it to the returned
	//  presigned POST, then call ConfirmSimulationSourceUpload. A run left pending
	//  for an hour is failed. Creating a run is not idempotent: a retried request
	//  starts a second run.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
	SimulationServiceCreateSimulationRun(ctx context.Context, projectId string, body SimulationServiceCreateSimulationRunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SimulationServiceGetSimulationRun GetSimulationRun
	//
	// Returns one run with its jobs and aggregate metrics. The compressed summary
	//  blob (summaryZstd) is omitted; use GetSimulationRunSummary for the decoded
	//  summary.
	//
	// Corresponds with GET /v0/projects/{projectId}/simulation-runs/{simulationRunId} (the `SimulationServiceGetSimulationRun` operationId).
	SimulationServiceGetSimulationRun(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SimulationServiceGetSimulationRunSummary GetSimulationRunSummary
	//
	// Returns the graded outcome of a finished run: pass/fail counts, what went
	//  well, what to improve, flagged issues with suggestions, and the per-job
	//  chat history. FailedPrecondition while the run is still going; NotFound if
	//  the run finished without a summary.
	//
	// Corresponds with GET /v0/projects/{projectId}/simulation-runs/{simulationRunId}/summary (the `SimulationServiceGetSimulationRunSummary` operationId).
	SimulationServiceGetSimulationRunSummary(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SimulationServiceCancelSimulationRun CancelSimulationRun
	//
	// Stops a run that has not finished. Cancelling a run that already finished
	//  succeeds without effect.
	//
	// Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:cancel (the `SimulationServiceCancelSimulationRun` operationId).
	SimulationServiceCancelSimulationRun(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SimulationServiceConfirmSimulationSourceUploadWithBody ConfirmSimulationSourceUpload
	//
	// Marks the agent source as uploaded and starts scenario generation; the run
	//  moves to GENERATING, then RUNNING once the scenarios exist. Only valid
	//  while the run is `PENDING_UPLOAD`, so a repeated call fails.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:confirmSourceUpload (the `SimulationServiceConfirmSimulationSourceUpload` operationId).
	SimulationServiceConfirmSimulationSourceUploadWithBody(ctx context.Context, projectId string, simulationRunId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SimulationServiceConfirmSimulationSourceUpload ConfirmSimulationSourceUpload
	//
	// Marks the agent source as uploaded and starts scenario generation; the run
	//  moves to GENERATING, then RUNNING once the scenarios exist. Only valid
	//  while the run is `PENDING_UPLOAD`, so a repeated call fails.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:confirmSourceUpload (the `SimulationServiceConfirmSimulationSourceUpload` operationId).
	SimulationServiceConfirmSimulationSourceUpload(ctx context.Context, projectId string, simulationRunId string, body SimulationServiceConfirmSimulationSourceUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SimulationServiceCountSimulationRuns CountSimulationRuns
	//
	// Buckets the runs ListSimulationRuns would return over [startTime, endTime)
	//  into a histogram. It takes the same filters over the same window, so the
	//  bars and the rows beneath them always describe one set. Both bounds are
	//  required and endTime must be after startTime.
	//
	// Corresponds with GET /v0/projects/{projectId}/simulation-runs:counts (the `SimulationServiceCountSimulationRuns` operationId).
	SimulationServiceCountSimulationRuns(ctx context.Context, projectId string, params *SimulationServiceCountSimulationRunsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ThreadServiceListThreads ListThreads
	//
	// Lists the threads of one scope, newest first.
	//
	// Corresponds with GET /v0/projects/{projectId}/threads (the `ThreadServiceListThreads` operationId).
	ThreadServiceListThreads(ctx context.Context, projectId string, params *ThreadServiceListThreadsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ThreadServiceCreateThreadWithBody CreateThread
	//
	// Creates a thread and its database.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/threads (the `ThreadServiceCreateThread` operationId).
	ThreadServiceCreateThreadWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ThreadServiceCreateThread CreateThread
	//
	// Creates a thread and its database.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/threads (the `ThreadServiceCreateThread` operationId).
	ThreadServiceCreateThread(ctx context.Context, projectId string, body ThreadServiceCreateThreadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ThreadServiceDeleteThread DeleteThread
	//
	// Deletes the thread and its database.
	//
	// Corresponds with DELETE /v0/projects/{projectId}/threads/{threadId} (the `ThreadServiceDeleteThread` operationId).
	ThreadServiceDeleteThread(ctx context.Context, projectId string, threadId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ThreadServiceGetThread GetThread
	//
	// Corresponds with GET /v0/projects/{projectId}/threads/{threadId} (the `ThreadServiceGetThread` operationId).
	ThreadServiceGetThread(ctx context.Context, projectId string, threadId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ThreadServiceUpdateThreadWithBody UpdateThread
	//
	// Merges attributes (an empty value deletes the entry) and sets the idle TTL.
	//  Every update counts as activity and pushes expiresAt out.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v0/projects/{projectId}/threads/{threadId} (the `ThreadServiceUpdateThread` operationId).
	ThreadServiceUpdateThreadWithBody(ctx context.Context, projectId string, threadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ThreadServiceUpdateThread UpdateThread
	//
	// Merges attributes (an empty value deletes the entry) and sets the idle TTL.
	//  Every update counts as activity and pushes expiresAt out.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v0/projects/{projectId}/threads/{threadId} (the `ThreadServiceUpdateThread` operationId).
	ThreadServiceUpdateThread(ctx context.Context, projectId string, threadId string, body ThreadServiceUpdateThreadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ThreadServiceGetThreadItems GetThreadItems
	//
	// Returns the chat items in the thread, oldest first.
	//
	// Corresponds with GET /v0/projects/{projectId}/threads/{threadId}/items (the `ThreadServiceGetThreadItems` operationId).
	ThreadServiceGetThreadItems(ctx context.Context, projectId string, threadId string, params *ThreadServiceGetThreadItemsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ThreadServiceGetThreadTasks GetThreadTasks
	//
	// Returns the background tasks in the thread, oldest first.
	//
	// Corresponds with GET /v0/projects/{projectId}/threads/{threadId}/tasks (the `ThreadServiceGetThreadTasks` operationId).
	ThreadServiceGetThreadTasks(ctx context.Context, projectId string, threadId string, params *ThreadServiceGetThreadTasksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceCreateTokenWithBody CreateToken
	//
	// Mints a short-lived LiveKit access token for the project, signed
	//  server-side, so user-authenticated clients can call LiveKit server APIs
	//  (rooms, SIP, egress, …) or join rooms without holding an API secret.
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/tokens (the `ProjectServiceCreateToken` operationId).
	ProjectServiceCreateTokenWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceCreateToken CreateToken
	//
	// Mints a short-lived LiveKit access token for the project, signed
	//  server-side, so user-authenticated clients can call LiveKit server APIs
	//  (rooms, SIP, egress, …) or join rooms without holding an API secret.
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/tokens (the `ProjectServiceCreateToken` operationId).
	ProjectServiceCreateToken(ctx context.Context, projectId string, body ProjectServiceCreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceListWebhookEvents ListWebhookEvents
	//
	// Lists the event names that the webhooks of a project can receive. The list
	//  is always one page.
	//
	// Corresponds with GET /v0/projects/{projectId}/webhook-events (the `ProjectServiceListWebhookEvents` operationId).
	ProjectServiceListWebhookEvents(ctx context.Context, projectId string, params *ProjectServiceListWebhookEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceListWebhooks ListWebhooks
	//
	// Lists the webhook destinations for the project, in the order that they
	//  were added. The list is always one page.
	//
	// Corresponds with GET /v0/projects/{projectId}/webhooks (the `ProjectServiceListWebhooks` operationId).
	ProjectServiceListWebhooks(ctx context.Context, projectId string, params *ProjectServiceListWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceCreateWebhookWithBody CreateWebhook
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/webhooks (the `ProjectServiceCreateWebhook` operationId).
	ProjectServiceCreateWebhookWithBody(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceCreateWebhook CreateWebhook
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/webhooks (the `ProjectServiceCreateWebhook` operationId).
	ProjectServiceCreateWebhook(ctx context.Context, projectId string, body ProjectServiceCreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceDeleteWebhook DeleteWebhook
	//
	// Corresponds with DELETE /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceDeleteWebhook` operationId).
	ProjectServiceDeleteWebhook(ctx context.Context, projectId string, webhookId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceUpdateWebhookWithBody UpdateWebhook
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceUpdateWebhook` operationId).
	ProjectServiceUpdateWebhookWithBody(ctx context.Context, projectId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceUpdateWebhook UpdateWebhook
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceUpdateWebhook` operationId).
	ProjectServiceUpdateWebhook(ctx context.Context, projectId string, webhookId string, body ProjectServiceUpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceSendTestWebhookWithBody SendTestWebhook
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/webhooks/{webhookId}:test (the `ProjectServiceSendTestWebhook` operationId).
	ProjectServiceSendTestWebhookWithBody(ctx context.Context, projectId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ProjectServiceSendTestWebhook SendTestWebhook
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/projects/{projectId}/webhooks/{webhookId}:test (the `ProjectServiceSendTestWebhook` operationId).
	ProjectServiceSendTestWebhook(ctx context.Context, projectId string, webhookId string, body ProjectServiceSendTestWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserServiceListUsers ListUsers
	//
	// Corresponds with GET /v0/users (the `UserServiceListUsers` operationId).
	UserServiceListUsers(ctx context.Context, params *UserServiceListUsersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserServiceGetCurrentUser GetCurrentUser
	//
	// Corresponds with GET /v0/users/me (the `UserServiceGetCurrentUser` operationId).
	UserServiceGetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserServiceGetUser GetUser
	//
	// Corresponds with GET /v0/users/{userId} (the `UserServiceGetUser` operationId).
	UserServiceGetUser(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceGetInvite GetInvite
	//
	// Corresponds with GET /v0/workspace-invites/{inviteToken} (the `WorkspaceServiceGetInvite` operationId).
	WorkspaceServiceGetInvite(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceAnswerInviteWithBody AnswerInvite
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
	WorkspaceServiceAnswerInviteWithBody(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceAnswerInvite AnswerInvite
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
	WorkspaceServiceAnswerInvite(ctx context.Context, inviteToken string, body WorkspaceServiceAnswerInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceListWorkspaces ListWorkspaces
	//
	// Corresponds with GET /v0/workspaces (the `WorkspaceServiceListWorkspaces` operationId).
	WorkspaceServiceListWorkspaces(ctx context.Context, params *WorkspaceServiceListWorkspacesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceCreateWorkspaceWithBody CreateWorkspace
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
	WorkspaceServiceCreateWorkspaceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceCreateWorkspace CreateWorkspace
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
	WorkspaceServiceCreateWorkspace(ctx context.Context, body WorkspaceServiceCreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceDeleteWorkspace DeleteWorkspace
	//
	// Corresponds with DELETE /v0/workspaces/{workspaceId} (the `WorkspaceServiceDeleteWorkspace` operationId).
	WorkspaceServiceDeleteWorkspace(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceGetWorkspace GetWorkspace
	//
	// Corresponds with GET /v0/workspaces/{workspaceId} (the `WorkspaceServiceGetWorkspace` operationId).
	WorkspaceServiceGetWorkspace(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceUpdateWorkspaceWithBody UpdateWorkspace
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v0/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
	WorkspaceServiceUpdateWorkspaceWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceUpdateWorkspace UpdateWorkspace
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v0/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
	WorkspaceServiceUpdateWorkspace(ctx context.Context, workspaceId string, body WorkspaceServiceUpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceListInvites ListInvites
	//
	// Lists the unexpired invites of a workspace, ordered by email.
	//
	// Corresponds with GET /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceListInvites` operationId).
	WorkspaceServiceListInvites(ctx context.Context, workspaceId string, params *WorkspaceServiceListInvitesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceCreateInviteWithBody CreateInvite
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
	WorkspaceServiceCreateInviteWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceCreateInvite CreateInvite
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
	WorkspaceServiceCreateInvite(ctx context.Context, workspaceId string, body WorkspaceServiceCreateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceDeleteInvite DeleteInvite
	//
	// Corresponds with DELETE /v0/workspaces/{workspaceId}/invites/{email} (the `WorkspaceServiceDeleteInvite` operationId).
	WorkspaceServiceDeleteInvite(ctx context.Context, workspaceId string, email string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceListMembers ListMembers
	//
	// Lists the workspace members, ordered by user ID.
	//
	// Corresponds with GET /v0/workspaces/{workspaceId}/members (the `WorkspaceServiceListMembers` operationId).
	WorkspaceServiceListMembers(ctx context.Context, workspaceId string, params *WorkspaceServiceListMembersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceDeleteMember DeleteMember
	//
	// Corresponds with DELETE /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceDeleteMember` operationId).
	WorkspaceServiceDeleteMember(ctx context.Context, workspaceId string, userId string, params *WorkspaceServiceDeleteMemberParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceGetMember GetMember
	//
	// Corresponds with GET /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceGetMember` operationId).
	WorkspaceServiceGetMember(ctx context.Context, workspaceId string, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceUpdateMemberWithBody UpdateMember
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with PATCH /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
	WorkspaceServiceUpdateMemberWithBody(ctx context.Context, workspaceId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceUpdateMember UpdateMember
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with PATCH /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
	WorkspaceServiceUpdateMember(ctx context.Context, workspaceId string, userId string, body WorkspaceServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceListProjects ListProjects
	//
	// The projects in a workspace. These return the same Project message as
	//  the project endpoints.
	//
	// Corresponds with GET /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceListProjects` operationId).
	WorkspaceServiceListProjects(ctx context.Context, workspaceId string, params *WorkspaceServiceListProjectsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceCreateProjectWithBody CreateProject
	//
	// Takes any type of body and a specified content type.
	//
	// Corresponds with POST /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
	WorkspaceServiceCreateProjectWithBody(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceCreateProject CreateProject
	//
	// Takes a body of the `application/json` content type.
	//
	// Corresponds with POST /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
	WorkspaceServiceCreateProject(ctx context.Context, workspaceId string, body WorkspaceServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceDeleteProject DeleteProject
	//
	// Corresponds with DELETE /v0/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceDeleteProject` operationId).
	WorkspaceServiceDeleteProject(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkspaceServiceGetProject GetProject
	//
	// Corresponds with GET /v0/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceGetProject` operationId).
	WorkspaceServiceGetProject(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AnalyticsServiceGetAgentAnalyticsWithResponse added in v2.19.0

func (c *ClientWithResponses) AnalyticsServiceGetAgentAnalyticsWithResponse(ctx context.Context, projectId string, agentId string, params *AnalyticsServiceGetAgentAnalyticsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceGetAgentAnalyticsResponse, error)

AnalyticsServiceGetAgentAnalyticsWithResponse GetAgentAnalytics

Returns the analytics for one agent over a time range.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/analytics/agents/{agentId} (the `AnalyticsServiceGetAgentAnalytics` operationId).

func (*ClientWithResponses) AnalyticsServiceGetProjectAnalyticsWithResponse added in v2.19.0

func (c *ClientWithResponses) AnalyticsServiceGetProjectAnalyticsWithResponse(ctx context.Context, projectId string, params *AnalyticsServiceGetProjectAnalyticsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceGetProjectAnalyticsResponse, error)

AnalyticsServiceGetProjectAnalyticsWithResponse GetProjectAnalytics

Returns the project overview over a time range.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/analytics (the `AnalyticsServiceGetProjectAnalytics` operationId).

func (*ClientWithResponses) AnalyticsServiceGetSessionWithResponse

func (c *ClientWithResponses) AnalyticsServiceGetSessionWithResponse(ctx context.Context, projectId string, sessionId string, reqEditors ...RequestEditorFn) (*AnalyticsServiceGetSessionResponse, error)

AnalyticsServiceGetSessionWithResponse GetSession

Returns one room session. The response carries both the list-row `session`

and the richer `detail` (participants, per-metric data points).

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId} (the `AnalyticsServiceGetSession` operationId).

func (*ClientWithResponses) AnalyticsServiceListAgentAnalyticsWithResponse added in v2.19.0

func (c *ClientWithResponses) AnalyticsServiceListAgentAnalyticsWithResponse(ctx context.Context, projectId string, params *AnalyticsServiceListAgentAnalyticsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceListAgentAnalyticsResponse, error)

AnalyticsServiceListAgentAnalyticsWithResponse ListAgentAnalytics

Lists the analytics of each agent in the project over a time range. Each

item is an `AgentAnalytics`, the same message that `GetAgentAnalytics`
returns for one agent.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/analytics/agents (the `AnalyticsServiceListAgentAnalytics` operationId).

func (*ClientWithResponses) AnalyticsServiceListProjectSessionsWithResponse

func (c *ClientWithResponses) AnalyticsServiceListProjectSessionsWithResponse(ctx context.Context, projectId string, params *AnalyticsServiceListProjectSessionsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceListProjectSessionsResponse, error)

AnalyticsServiceListProjectSessionsWithResponse ListProjectSessions

Lists room sessions for a project, newest first, cursor-paginated.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/sessions (the `AnalyticsServiceListProjectSessions` operationId).

func (*ClientWithResponses) AnalyticsServiceListSessionEventsWithResponse added in v2.19.0

func (c *ClientWithResponses) AnalyticsServiceListSessionEventsWithResponse(ctx context.Context, projectId string, sessionId string, params *AnalyticsServiceListSessionEventsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceListSessionEventsResponse, error)

AnalyticsServiceListSessionEventsWithResponse Lists the events in one room session, oldest first by default,

cursor-paginated with no total. With no `types`, it returns the seven the
events table on the dashboard shows: `PARTICIPANT_JOINED`,
`PARTICIPANT_LEFT`, `PARTICIPANT_ACTIVE`, `PARTICIPANT_RESUMED`,
`ROOM_CREATED`, `ROOM_ENDED` and `API_CALL`. `types` asks for others, such
as `TRACK_PUBLISHED`, and `participantSessionId` keeps the events for one
participant session. With `participantSessionId` and no `types`, it returns
the eleven the participant events table on the dashboard shows for that
participant session: `PARTICIPANT_JOINED`, `PARTICIPANT_LEFT`,
`PARTICIPANT_RESUMED` and `PARTICIPANT_ACTIVE`, and its `TRACK_MUTED`,
`TRACK_UNMUTED`, `TRACK_PUBLISHED`, `TRACK_UNPUBLISHED`,
`TRACK_SUBSCRIBED`, `TRACK_SUBSCRIBE_REQUESTED` and
`TRACK_SUBSCRIBE_FAILED`.

Unlike the dashboard, on purpose: an unknown type or a malformed

participant session ID is `InvalidArgument` rather than being searched for
as typed, and types match exactly, so `TRACK_PUBLISHED` doesn't also return
`TRACK_PUBLISHED_UPDATE`. Each event payload keeps only an allowlist of
fields, leaving out participants' attributes and metadata and API calls'
request bodies. Each event and participant row still carries the
participant's identity, as the dashboard shows it to every member, and for
a SIP caller that can be a phone number.

Events are kept for 60 days, which can be shorter than the retention of
other data for the session, so an older session can list no events. An
`ACTIVE` session lists the events recorded so far. An unknown session is
`NotFound`.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/events (the `AnalyticsServiceListSessionEvents` operationId).

func (*ClientWithResponses) AnalyticsServiceListSessionParticipantsWithResponse added in v2.19.0

func (c *ClientWithResponses) AnalyticsServiceListSessionParticipantsWithResponse(ctx context.Context, projectId string, sessionId string, params *AnalyticsServiceListSessionParticipantsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceListSessionParticipantsResponse, error)

AnalyticsServiceListSessionParticipantsWithResponse ListSessionParticipants

Lists the participants of one room session, one row per identity,

cursor-paginated; newest join first by default. Each row carries the
participant's participant sessions (PA_...), each with the client it
connected from.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/participants (the `AnalyticsServiceListSessionParticipants` operationId).

func (*ClientWithResponses) BuilderAgentServiceCreateBuilderAgentWithBodyWithResponse added in v2.19.3

func (c *ClientWithResponses) BuilderAgentServiceCreateBuilderAgentWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BuilderAgentServiceCreateBuilderAgentResponse, error)

BuilderAgentServiceCreateBuilderAgentWithBodyWithResponse CreateBuilderAgent

Makes a builder agent from a name and a configuration. The agent is not

deployed: call DeployBuilderAgent to run it. Unset configuration
properties take their default, and unknown properties are ignored.

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 /v0/projects/{projectId}/agents/builder (the `BuilderAgentServiceCreateBuilderAgent` operationId).

func (*ClientWithResponses) BuilderAgentServiceCreateBuilderAgentWithResponse added in v2.19.3

func (c *ClientWithResponses) BuilderAgentServiceCreateBuilderAgentWithResponse(ctx context.Context, projectId string, body BuilderAgentServiceCreateBuilderAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*BuilderAgentServiceCreateBuilderAgentResponse, error)

BuilderAgentServiceCreateBuilderAgentWithResponse CreateBuilderAgent

Makes a builder agent from a name and a configuration. The agent is not

deployed: call DeployBuilderAgent to run it. Unset configuration
properties take their default, and unknown properties are ignored.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/projects/{projectId}/agents/builder (the `BuilderAgentServiceCreateBuilderAgent` operationId).

func (*ClientWithResponses) BuilderAgentServiceDeleteBuilderAgentWithResponse added in v2.19.3

func (c *ClientWithResponses) BuilderAgentServiceDeleteBuilderAgentWithResponse(ctx context.Context, projectId string, builderAgentId string, reqEditors ...RequestEditorFn) (*BuilderAgentServiceDeleteBuilderAgentResponse, error)

BuilderAgentServiceDeleteBuilderAgentWithResponse DeleteBuilderAgent

Deletes a builder agent, its versions, and its deployment.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/projects/{projectId}/agents/builder/{builderAgentId} (the `BuilderAgentServiceDeleteBuilderAgent` operationId).

func (*ClientWithResponses) BuilderAgentServiceDeployBuilderAgentWithBodyWithResponse added in v2.19.3

func (c *ClientWithResponses) BuilderAgentServiceDeployBuilderAgentWithBodyWithResponse(ctx context.Context, projectId string, builderAgentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BuilderAgentServiceDeployBuilderAgentResponse, error)

BuilderAgentServiceDeployBuilderAgentWithBodyWithResponse DeployBuilderAgent

Starts a deployment of a builder agent's current configuration, or of

an earlier version. The call returns when the build starts, with status
DEPLOYMENT_STATUS_BUILDING. The build continues after the call returns.
Call GetBuilderAgent to follow the deployment until its status is
DEPLOYMENT_STATUS_RUNNING, or DEPLOYMENT_STATUS_BUILD_FAILED.

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 /v0/projects/{projectId}/agents/builder/{builderAgentId}:deploy (the `BuilderAgentServiceDeployBuilderAgent` operationId).

func (*ClientWithResponses) BuilderAgentServiceDeployBuilderAgentWithResponse added in v2.19.3

func (c *ClientWithResponses) BuilderAgentServiceDeployBuilderAgentWithResponse(ctx context.Context, projectId string, builderAgentId string, body BuilderAgentServiceDeployBuilderAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*BuilderAgentServiceDeployBuilderAgentResponse, error)

BuilderAgentServiceDeployBuilderAgentWithResponse DeployBuilderAgent

Starts a deployment of a builder agent's current configuration, or of

an earlier version. The call returns when the build starts, with status
DEPLOYMENT_STATUS_BUILDING. The build continues after the call returns.
Call GetBuilderAgent to follow the deployment until its status is
DEPLOYMENT_STATUS_RUNNING, or DEPLOYMENT_STATUS_BUILD_FAILED.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/projects/{projectId}/agents/builder/{builderAgentId}:deploy (the `BuilderAgentServiceDeployBuilderAgent` operationId).

func (*ClientWithResponses) BuilderAgentServiceGetBuilderAgentWithResponse added in v2.19.3

func (c *ClientWithResponses) BuilderAgentServiceGetBuilderAgentWithResponse(ctx context.Context, projectId string, builderAgentId string, reqEditors ...RequestEditorFn) (*BuilderAgentServiceGetBuilderAgentResponse, error)

BuilderAgentServiceGetBuilderAgentWithResponse GetBuilderAgent

Returns a builder agent with its current configuration and the status of

its deployment.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/agents/builder/{builderAgentId} (the `BuilderAgentServiceGetBuilderAgent` operationId).

func (*ClientWithResponses) BuilderAgentServiceListBuilderAgentsWithResponse added in v2.19.3

func (c *ClientWithResponses) BuilderAgentServiceListBuilderAgentsWithResponse(ctx context.Context, projectId string, params *BuilderAgentServiceListBuilderAgentsParams, reqEditors ...RequestEditorFn) (*BuilderAgentServiceListBuilderAgentsResponse, error)

BuilderAgentServiceListBuilderAgentsWithResponse ListBuilderAgents

Lists a project's builder agents by name, one page at a time, with the

status of each deployment. The list does not include configurations: use
GetBuilderAgent for one.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/agents/builder (the `BuilderAgentServiceListBuilderAgents` operationId).

func (*ClientWithResponses) BuilderAgentServiceUpdateBuilderAgentWithBodyWithResponse added in v2.19.3

func (c *ClientWithResponses) BuilderAgentServiceUpdateBuilderAgentWithBodyWithResponse(ctx context.Context, projectId string, builderAgentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BuilderAgentServiceUpdateBuilderAgentResponse, error)

BuilderAgentServiceUpdateBuilderAgentWithBodyWithResponse UpdateBuilderAgent

Replaces a builder agent's configuration. Each update makes a new

version. The running agent does not change until you deploy again.

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 /v0/projects/{projectId}/agents/builder/{builderAgentId} (the `BuilderAgentServiceUpdateBuilderAgent` operationId).

func (*ClientWithResponses) BuilderAgentServiceUpdateBuilderAgentWithResponse added in v2.19.3

func (c *ClientWithResponses) BuilderAgentServiceUpdateBuilderAgentWithResponse(ctx context.Context, projectId string, builderAgentId string, body BuilderAgentServiceUpdateBuilderAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*BuilderAgentServiceUpdateBuilderAgentResponse, error)

BuilderAgentServiceUpdateBuilderAgentWithResponse UpdateBuilderAgent

Replaces a builder agent's configuration. Each update makes a new

version. The running agent does not change until you deploy again.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/projects/{projectId}/agents/builder/{builderAgentId} (the `BuilderAgentServiceUpdateBuilderAgent` operationId).

func (*ClientWithResponses) DatabaseServiceCreateDatabaseWithBodyWithResponse added in v2.19.1

func (c *ClientWithResponses) DatabaseServiceCreateDatabaseWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseServiceCreateDatabaseResponse, error)

DatabaseServiceCreateDatabaseWithBodyWithResponse CreateDatabase

Creates an empty database. Not idempotent: a retried request creates a

second database.

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 /v0/projects/{projectId}/databases (the `DatabaseServiceCreateDatabase` operationId).

func (*ClientWithResponses) DatabaseServiceCreateDatabaseWithResponse added in v2.19.1

func (c *ClientWithResponses) DatabaseServiceCreateDatabaseWithResponse(ctx context.Context, projectId string, body DatabaseServiceCreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseServiceCreateDatabaseResponse, error)

DatabaseServiceCreateDatabaseWithResponse CreateDatabase

Creates an empty database. Not idempotent: a retried request creates a

second database.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/projects/{projectId}/databases (the `DatabaseServiceCreateDatabase` operationId).

func (*ClientWithResponses) DatabaseServiceDeleteDatabaseWithResponse added in v2.19.1

func (c *ClientWithResponses) DatabaseServiceDeleteDatabaseWithResponse(ctx context.Context, projectId string, databaseId string, reqEditors ...RequestEditorFn) (*DatabaseServiceDeleteDatabaseResponse, error)

DatabaseServiceDeleteDatabaseWithResponse DeleteDatabase

Deletes the stored data, not just the metadata.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/projects/{projectId}/databases/{databaseId} (the `DatabaseServiceDeleteDatabase` operationId).

func (*ClientWithResponses) DatabaseServiceExportDatabaseWithResponse added in v2.19.1

func (c *ClientWithResponses) DatabaseServiceExportDatabaseWithResponse(ctx context.Context, projectId string, databaseId string, reqEditors ...RequestEditorFn) (*DatabaseServiceExportDatabaseResponse, error)

DatabaseServiceExportDatabaseWithResponse ExportDatabase

Exports a consistent SQLite file as a time-limited download URL.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/projects/{projectId}/databases/{databaseId}:export (the `DatabaseServiceExportDatabase` operationId).

func (*ClientWithResponses) DatabaseServiceGetDatabaseWithResponse added in v2.19.1

func (c *ClientWithResponses) DatabaseServiceGetDatabaseWithResponse(ctx context.Context, projectId string, databaseId string, reqEditors ...RequestEditorFn) (*DatabaseServiceGetDatabaseResponse, error)

DatabaseServiceGetDatabaseWithResponse GetDatabase

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/databases/{databaseId} (the `DatabaseServiceGetDatabase` operationId).

func (*ClientWithResponses) DatabaseServiceListDatabasesWithResponse added in v2.19.1

func (c *ClientWithResponses) DatabaseServiceListDatabasesWithResponse(ctx context.Context, projectId string, params *DatabaseServiceListDatabasesParams, reqEditors ...RequestEditorFn) (*DatabaseServiceListDatabasesResponse, error)

DatabaseServiceListDatabasesWithResponse ListDatabases

Lists the project databases, cursor-paginated.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/databases (the `DatabaseServiceListDatabases` operationId).

func (*ClientWithResponses) ObservabilityServiceGetSessionLogsWithResponse added in v2.19.0

func (c *ClientWithResponses) ObservabilityServiceGetSessionLogsWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionLogsParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionLogsResponse, error)

ObservabilityServiceGetSessionLogsWithResponse Returns the log records the agents in the session exported, in time order:

what the logs panel on the dashboard shows. Their chat history is left out,
since `GetSessionTranscript` reads it, and their evaluation results stay
in. The session events, such as participants joining, come from
`ListSessionEvents` on `AnalyticsService`.

An `ACTIVE` session returns what its agents have exported so far. A record

exported mid-read with a time this read has already paged past, earlier
than its cursor position when oldest first, is missed until a new read. An
unknown session is NotFound. A read filtered by logLevels can come back
empty because no record is at those levels, so only an unfiltered one is
ObservabilityDisabled.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/logs (the `ObservabilityServiceGetSessionLogs` operationId).

func (*ClientWithResponses) ObservabilityServiceGetSessionMetricsWithResponse added in v2.19.0

func (c *ClientWithResponses) ObservabilityServiceGetSessionMetricsWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionMetricsParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionMetricsResponse, error)

ObservabilityServiceGetSessionMetricsWithResponse Returns the OpenTelemetry metric points the agents in the session exported,

by time, typed: turn latencies such as lk.agents.turn.e2e_latency and
lk.agents.turn.llm_ttft, token and duration usage such as
lk.agents.usage.llm_input_tokens, and the gen_ai.* histograms, along with
any metrics the agent's own code recorded.

These are the raw metrics agents emit, so they won't exactly match the

metrics panel on the dashboard, which derives its numbers from the
transcript and traces. Only agents that export OpenTelemetry metrics to
LiveKit Cloud produce them: an agent whose code installs its own
MeterProvider exports none to LiveKit Cloud, and its sessions return no
points.

Some points aren't labeled as their agent exported them. LiveKit Cloud
groups the series for a session by their attributes alone and names each
group after its first row. As a result:

- Several metrics can come back under one name. For example, the input,
  output, and cached token counts for an LLM all have the name
  `lk.agents.usage.llm_input_tokens`.
- Points of one series at the same time that recorded equal values
  collapse into one point.
- When a session has two agents, a point can carry the resource attributes
  of the other agent.

An agent exports its metrics every 30 seconds, and its turn latencies when
the session ends, so an ACTIVE session returns what it has exported so far.
An unknown session is NotFound. A read filtered by names can come back
empty because no metric has those names, so only an unfiltered one is
ObservabilityDisabled.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/metrics (the `ObservabilityServiceGetSessionMetrics` operationId).

func (*ClientWithResponses) ObservabilityServiceGetSessionRecordingURLWithResponse added in v2.19.0

func (c *ClientWithResponses) ObservabilityServiceGetSessionRecordingURLWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionRecordingURLParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionRecordingURLResponse, error)

ObservabilityServiceGetSessionRecordingURLWithResponse GetSessionRecordingURL

Returns a short-lived signed URL for one of the session recordings: its

audio or its chat history. A session with no recording of that type is
NotFound. A new recording can be NotFound for up to a minute after the
session ends.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/recording-url (the `ObservabilityServiceGetSessionRecordingURL` operationId).

func (*ClientWithResponses) ObservabilityServiceGetSessionTracesWithResponse added in v2.19.0

func (c *ClientWithResponses) ObservabilityServiceGetSessionTracesWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionTracesParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionTracesResponse, error)

ObservabilityServiceGetSessionTracesWithResponse Returns the spans the agents in the session exported, by start time: what

the trace view on the dashboard shows. Each span names its parent, so the
pages rebuild the span tree, and its attributes carry the turn and latency
fields the turn view on the dashboard reads, such as lk.generation_id and
lk.response.ttft.

An ACTIVE session returns what its agents have exported so far; a span

exported after the first page waits for a new read. The later pages are
read by offset, so a span exported mid-read can still shift them: a span
can repeat, or be skipped. Dedupe by spanId, and read again from the first
page to pick up a skipped span. An unknown session is NotFound.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/traces (the `ObservabilityServiceGetSessionTraces` operationId).

func (*ClientWithResponses) ObservabilityServiceGetSessionTranscriptWithResponse added in v2.19.0

func (c *ClientWithResponses) ObservabilityServiceGetSessionTranscriptWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionTranscriptParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionTranscriptResponse, error)

ObservabilityServiceGetSessionTranscriptWithResponse Returns the session conversation as ordered transcript items: messages,

tool calls and results, agent handoffs and agent configuration changes. It
is the conversation the transcript on the dashboard shows.

The agent exports its transcript when the session ends, and it can be read

a minute or two later; on a project with PII redaction, only once the
session recording has been redacted. So a session that is still ACTIVE
returns what exists so far, usually nothing, without an error: read it
again after the session ends. An unknown session is NotFound.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/transcript (the `ObservabilityServiceGetSessionTranscript` operationId).

func (*ClientWithResponses) ProjectServiceAddWorkspaceMembersToProjectWithBodyWithResponse

func (c *ClientWithResponses) ProjectServiceAddWorkspaceMembersToProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)

ProjectServiceAddWorkspaceMembersToProjectWithBodyWithResponse AddWorkspaceMembersToProject

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 /v0/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).

func (*ClientWithResponses) ProjectServiceAddWorkspaceMembersToProjectWithResponse

func (c *ClientWithResponses) ProjectServiceAddWorkspaceMembersToProjectWithResponse(ctx context.Context, projectId string, body ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)

ProjectServiceAddWorkspaceMembersToProjectWithResponse AddWorkspaceMembersToProject

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).

func (*ClientWithResponses) ProjectServiceAnswerInvitationWithBodyWithResponse

func (c *ClientWithResponses) ProjectServiceAnswerInvitationWithBodyWithResponse(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceAnswerInvitationResponse, error)

ProjectServiceAnswerInvitationWithBodyWithResponse AnswerInvitation

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 /v0/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).

func (*ClientWithResponses) ProjectServiceAnswerInvitationWithResponse

func (c *ClientWithResponses) ProjectServiceAnswerInvitationWithResponse(ctx context.Context, inviteToken string, body ProjectServiceAnswerInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceAnswerInvitationResponse, error)

ProjectServiceAnswerInvitationWithResponse AnswerInvitation

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).

func (*ClientWithResponses) ProjectServiceCreateProjectWithBodyWithResponse

func (c *ClientWithResponses) ProjectServiceCreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceCreateProjectResponse, error)

ProjectServiceCreateProjectWithBodyWithResponse CreateProject

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 /v0/projects (the `ProjectServiceCreateProject` operationId).

func (*ClientWithResponses) ProjectServiceCreateProjectWithResponse

func (c *ClientWithResponses) ProjectServiceCreateProjectWithResponse(ctx context.Context, body ProjectServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceCreateProjectResponse, error)

ProjectServiceCreateProjectWithResponse CreateProject

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/projects (the `ProjectServiceCreateProject` operationId).

func (*ClientWithResponses) ProjectServiceCreateTokenWithBodyWithResponse added in v2.19.1

func (c *ClientWithResponses) ProjectServiceCreateTokenWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceCreateTokenResponse, error)

ProjectServiceCreateTokenWithBodyWithResponse CreateToken

Mints a short-lived LiveKit access token for the project, signed

server-side, so user-authenticated clients can call LiveKit server APIs
(rooms, SIP, egress, …) or join rooms without holding an API secret.

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 /v0/projects/{projectId}/tokens (the `ProjectServiceCreateToken` operationId).

func (*ClientWithResponses) ProjectServiceCreateTokenWithResponse added in v2.19.1

func (c *ClientWithResponses) ProjectServiceCreateTokenWithResponse(ctx context.Context, projectId string, body ProjectServiceCreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceCreateTokenResponse, error)

ProjectServiceCreateTokenWithResponse CreateToken

Mints a short-lived LiveKit access token for the project, signed

server-side, so user-authenticated clients can call LiveKit server APIs
(rooms, SIP, egress, …) or join rooms without holding an API secret.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/projects/{projectId}/tokens (the `ProjectServiceCreateToken` operationId).

func (*ClientWithResponses) ProjectServiceCreateWebhookWithBodyWithResponse added in v2.19.1

func (c *ClientWithResponses) ProjectServiceCreateWebhookWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceCreateWebhookResponse, error)

ProjectServiceCreateWebhookWithBodyWithResponse CreateWebhook

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 /v0/projects/{projectId}/webhooks (the `ProjectServiceCreateWebhook` operationId).

func (*ClientWithResponses) ProjectServiceCreateWebhookWithResponse added in v2.19.1

func (c *ClientWithResponses) ProjectServiceCreateWebhookWithResponse(ctx context.Context, projectId string, body ProjectServiceCreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceCreateWebhookResponse, error)

ProjectServiceCreateWebhookWithResponse CreateWebhook

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/projects/{projectId}/webhooks (the `ProjectServiceCreateWebhook` operationId).

func (*ClientWithResponses) ProjectServiceDeleteInviteWithResponse

func (c *ClientWithResponses) ProjectServiceDeleteInviteWithResponse(ctx context.Context, projectId string, email string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteInviteResponse, error)

ProjectServiceDeleteInviteWithResponse DeleteInvite

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/projects/{projectId}/invites/{email} (the `ProjectServiceDeleteInvite` operationId).

func (*ClientWithResponses) ProjectServiceDeleteKeyWithResponse added in v2.19.0

func (c *ClientWithResponses) ProjectServiceDeleteKeyWithResponse(ctx context.Context, projectId string, apiKey string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteKeyResponse, error)

ProjectServiceDeleteKeyWithResponse DeleteKey

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/projects/{projectId}/keys/{apiKey} (the `ProjectServiceDeleteKey` operationId).

func (*ClientWithResponses) ProjectServiceDeleteProjectWithResponse

func (c *ClientWithResponses) ProjectServiceDeleteProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteProjectResponse, error)

ProjectServiceDeleteProjectWithResponse DeleteProject

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/projects/{projectId} (the `ProjectServiceDeleteProject` operationId).

func (*ClientWithResponses) ProjectServiceDeleteWebhookWithResponse added in v2.19.1

func (c *ClientWithResponses) ProjectServiceDeleteWebhookWithResponse(ctx context.Context, projectId string, webhookId string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteWebhookResponse, error)

ProjectServiceDeleteWebhookWithResponse DeleteWebhook

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceDeleteWebhook` operationId).

func (*ClientWithResponses) ProjectServiceGenerateKeyWithBodyWithResponse added in v2.19.0

func (c *ClientWithResponses) ProjectServiceGenerateKeyWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceGenerateKeyResponse, error)

ProjectServiceGenerateKeyWithBodyWithResponse GenerateKey

Creates an API key and secret for the project. The secret is returned once,

in the response, and cannot be read again.

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 /v0/projects/{projectId}/keys (the `ProjectServiceGenerateKey` operationId).

func (*ClientWithResponses) ProjectServiceGenerateKeyWithResponse added in v2.19.0

func (c *ClientWithResponses) ProjectServiceGenerateKeyWithResponse(ctx context.Context, projectId string, body ProjectServiceGenerateKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceGenerateKeyResponse, error)

ProjectServiceGenerateKeyWithResponse GenerateKey

Creates an API key and secret for the project. The secret is returned once,

in the response, and cannot be read again.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/projects/{projectId}/keys (the `ProjectServiceGenerateKey` operationId).

func (*ClientWithResponses) ProjectServiceGetInviteWithResponse

func (c *ClientWithResponses) ProjectServiceGetInviteWithResponse(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*ProjectServiceGetInviteResponse, error)

ProjectServiceGetInviteWithResponse GetInvite

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/project-invites/{inviteToken} (the `ProjectServiceGetInvite` operationId).

func (*ClientWithResponses) ProjectServiceGetMemberWithResponse

func (c *ClientWithResponses) ProjectServiceGetMemberWithResponse(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*ProjectServiceGetMemberResponse, error)

ProjectServiceGetMemberWithResponse GetMember

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/members/{userId} (the `ProjectServiceGetMember` operationId).

func (*ClientWithResponses) ProjectServiceGetProjectWithResponse

func (c *ClientWithResponses) ProjectServiceGetProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceGetProjectResponse, error)

ProjectServiceGetProjectWithResponse GetProject

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId} (the `ProjectServiceGetProject` operationId).

func (*ClientWithResponses) ProjectServiceInviteMemberWithBodyWithResponse

func (c *ClientWithResponses) ProjectServiceInviteMemberWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceInviteMemberResponse, error)

ProjectServiceInviteMemberWithBodyWithResponse InviteMember

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 /v0/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).

func (*ClientWithResponses) ProjectServiceInviteMemberWithResponse

func (c *ClientWithResponses) ProjectServiceInviteMemberWithResponse(ctx context.Context, projectId string, body ProjectServiceInviteMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceInviteMemberResponse, error)

ProjectServiceInviteMemberWithResponse InviteMember

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).

func (*ClientWithResponses) ProjectServiceListInvitesWithResponse

func (c *ClientWithResponses) ProjectServiceListInvitesWithResponse(ctx context.Context, projectId string, params *ProjectServiceListInvitesParams, reqEditors ...RequestEditorFn) (*ProjectServiceListInvitesResponse, error)

ProjectServiceListInvitesWithResponse ListInvites

Lists the unexpired invites of a project, ordered by email.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/invites (the `ProjectServiceListInvites` operationId).

func (*ClientWithResponses) ProjectServiceListKeysWithResponse added in v2.19.0

func (c *ClientWithResponses) ProjectServiceListKeysWithResponse(ctx context.Context, projectId string, params *ProjectServiceListKeysParams, reqEditors ...RequestEditorFn) (*ProjectServiceListKeysResponse, error)

ProjectServiceListKeysWithResponse ListKeys

Lists the API keys of a project, oldest first. The list does not include

the secrets.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/keys (the `ProjectServiceListKeys` operationId).

func (*ClientWithResponses) ProjectServiceListMembersWithResponse

func (c *ClientWithResponses) ProjectServiceListMembersWithResponse(ctx context.Context, projectId string, params *ProjectServiceListMembersParams, reqEditors ...RequestEditorFn) (*ProjectServiceListMembersResponse, error)

ProjectServiceListMembersWithResponse ListMembers

Lists the project members, ordered by user ID.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/members (the `ProjectServiceListMembers` operationId).

func (*ClientWithResponses) ProjectServiceListProjectsWithResponse

func (c *ClientWithResponses) ProjectServiceListProjectsWithResponse(ctx context.Context, params *ProjectServiceListProjectsParams, reqEditors ...RequestEditorFn) (*ProjectServiceListProjectsResponse, error)

ProjectServiceListProjectsWithResponse ListProjects

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects (the `ProjectServiceListProjects` operationId).

func (*ClientWithResponses) ProjectServiceListWebhookEventsWithResponse added in v2.19.1

func (c *ClientWithResponses) ProjectServiceListWebhookEventsWithResponse(ctx context.Context, projectId string, params *ProjectServiceListWebhookEventsParams, reqEditors ...RequestEditorFn) (*ProjectServiceListWebhookEventsResponse, error)

ProjectServiceListWebhookEventsWithResponse ListWebhookEvents

Lists the event names that the webhooks of a project can receive. The list

is always one page.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/webhook-events (the `ProjectServiceListWebhookEvents` operationId).

func (*ClientWithResponses) ProjectServiceListWebhooksWithResponse added in v2.19.1

func (c *ClientWithResponses) ProjectServiceListWebhooksWithResponse(ctx context.Context, projectId string, params *ProjectServiceListWebhooksParams, reqEditors ...RequestEditorFn) (*ProjectServiceListWebhooksResponse, error)

ProjectServiceListWebhooksWithResponse ListWebhooks

Lists the webhook destinations for the project, in the order that they

were added. The list is always one page.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/webhooks (the `ProjectServiceListWebhooks` operationId).

func (*ClientWithResponses) ProjectServiceRemoveMemberWithResponse

func (c *ClientWithResponses) ProjectServiceRemoveMemberWithResponse(ctx context.Context, projectId string, userId string, params *ProjectServiceRemoveMemberParams, reqEditors ...RequestEditorFn) (*ProjectServiceRemoveMemberResponse, error)

ProjectServiceRemoveMemberWithResponse RemoveMember

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/projects/{projectId}/members/{userId} (the `ProjectServiceRemoveMember` operationId).

func (*ClientWithResponses) ProjectServiceSendTestWebhookWithBodyWithResponse added in v2.19.1

func (c *ClientWithResponses) ProjectServiceSendTestWebhookWithBodyWithResponse(ctx context.Context, projectId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceSendTestWebhookResponse, error)

ProjectServiceSendTestWebhookWithBodyWithResponse SendTestWebhook

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 /v0/projects/{projectId}/webhooks/{webhookId}:test (the `ProjectServiceSendTestWebhook` operationId).

func (*ClientWithResponses) ProjectServiceSendTestWebhookWithResponse added in v2.19.1

func (c *ClientWithResponses) ProjectServiceSendTestWebhookWithResponse(ctx context.Context, projectId string, webhookId string, body ProjectServiceSendTestWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceSendTestWebhookResponse, error)

ProjectServiceSendTestWebhookWithResponse SendTestWebhook

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/projects/{projectId}/webhooks/{webhookId}:test (the `ProjectServiceSendTestWebhook` operationId).

func (*ClientWithResponses) ProjectServiceUpdateInviteWithBodyWithResponse

func (c *ClientWithResponses) ProjectServiceUpdateInviteWithBodyWithResponse(ctx context.Context, projectId string, email string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateInviteResponse, error)

ProjectServiceUpdateInviteWithBodyWithResponse UpdateInvite

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 /v0/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).

func (*ClientWithResponses) ProjectServiceUpdateInviteWithResponse

func (c *ClientWithResponses) ProjectServiceUpdateInviteWithResponse(ctx context.Context, projectId string, email string, body ProjectServiceUpdateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateInviteResponse, error)

ProjectServiceUpdateInviteWithResponse UpdateInvite

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).

func (*ClientWithResponses) ProjectServiceUpdateMemberWithBodyWithResponse

func (c *ClientWithResponses) ProjectServiceUpdateMemberWithBodyWithResponse(ctx context.Context, projectId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateMemberResponse, error)

ProjectServiceUpdateMemberWithBodyWithResponse UpdateMember

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 /v0/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).

func (*ClientWithResponses) ProjectServiceUpdateMemberWithResponse

func (c *ClientWithResponses) ProjectServiceUpdateMemberWithResponse(ctx context.Context, projectId string, userId string, body ProjectServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateMemberResponse, error)

ProjectServiceUpdateMemberWithResponse UpdateMember

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).

func (*ClientWithResponses) ProjectServiceUpdateProjectWithBodyWithResponse

func (c *ClientWithResponses) ProjectServiceUpdateProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateProjectResponse, error)

ProjectServiceUpdateProjectWithBodyWithResponse UpdateProject

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 /v0/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).

func (*ClientWithResponses) ProjectServiceUpdateProjectWithResponse

func (c *ClientWithResponses) ProjectServiceUpdateProjectWithResponse(ctx context.Context, projectId string, body ProjectServiceUpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateProjectResponse, error)

ProjectServiceUpdateProjectWithResponse UpdateProject

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).

func (*ClientWithResponses) ProjectServiceUpdateWebhookWithBodyWithResponse added in v2.19.1

func (c *ClientWithResponses) ProjectServiceUpdateWebhookWithBodyWithResponse(ctx context.Context, projectId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateWebhookResponse, error)

ProjectServiceUpdateWebhookWithBodyWithResponse UpdateWebhook

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 /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceUpdateWebhook` operationId).

func (*ClientWithResponses) ProjectServiceUpdateWebhookWithResponse added in v2.19.1

func (c *ClientWithResponses) ProjectServiceUpdateWebhookWithResponse(ctx context.Context, projectId string, webhookId string, body ProjectServiceUpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateWebhookResponse, error)

ProjectServiceUpdateWebhookWithResponse UpdateWebhook

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceUpdateWebhook` operationId).

func (*ClientWithResponses) SimulationServiceCancelSimulationRunWithResponse

func (c *ClientWithResponses) SimulationServiceCancelSimulationRunWithResponse(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*SimulationServiceCancelSimulationRunResponse, error)

SimulationServiceCancelSimulationRunWithResponse CancelSimulationRun

Stops a run that has not finished. Cancelling a run that already finished

succeeds without effect.

Returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:cancel (the `SimulationServiceCancelSimulationRun` operationId).

func (*ClientWithResponses) SimulationServiceConfirmSimulationSourceUploadWithBodyWithResponse added in v2.19.0

func (c *ClientWithResponses) SimulationServiceConfirmSimulationSourceUploadWithBodyWithResponse(ctx context.Context, projectId string, simulationRunId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SimulationServiceConfirmSimulationSourceUploadResponse, error)

SimulationServiceConfirmSimulationSourceUploadWithBodyWithResponse ConfirmSimulationSourceUpload

Marks the agent source as uploaded and starts scenario generation; the run

moves to GENERATING, then RUNNING once the scenarios exist. Only valid
while the run is `PENDING_UPLOAD`, so a repeated call fails.

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 /v0/projects/{projectId}/simulation-runs/{simulationRunId}:confirmSourceUpload (the `SimulationServiceConfirmSimulationSourceUpload` operationId).

func (*ClientWithResponses) SimulationServiceConfirmSimulationSourceUploadWithResponse added in v2.19.0

func (c *ClientWithResponses) SimulationServiceConfirmSimulationSourceUploadWithResponse(ctx context.Context, projectId string, simulationRunId string, body SimulationServiceConfirmSimulationSourceUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*SimulationServiceConfirmSimulationSourceUploadResponse, error)

SimulationServiceConfirmSimulationSourceUploadWithResponse ConfirmSimulationSourceUpload

Marks the agent source as uploaded and starts scenario generation; the run

moves to GENERATING, then RUNNING once the scenarios exist. Only valid
while the run is `PENDING_UPLOAD`, so a repeated call fails.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:confirmSourceUpload (the `SimulationServiceConfirmSimulationSourceUpload` operationId).

func (*ClientWithResponses) SimulationServiceCountSimulationRunsWithResponse added in v2.19.0

func (c *ClientWithResponses) SimulationServiceCountSimulationRunsWithResponse(ctx context.Context, projectId string, params *SimulationServiceCountSimulationRunsParams, reqEditors ...RequestEditorFn) (*SimulationServiceCountSimulationRunsResponse, error)

SimulationServiceCountSimulationRunsWithResponse CountSimulationRuns

Buckets the runs ListSimulationRuns would return over [startTime, endTime)

into a histogram. It takes the same filters over the same window, so the
bars and the rows beneath them always describe one set. Both bounds are
required and endTime must be after startTime.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/simulation-runs:counts (the `SimulationServiceCountSimulationRuns` operationId).

func (*ClientWithResponses) SimulationServiceCreateSimulationRunWithBodyWithResponse

func (c *ClientWithResponses) SimulationServiceCreateSimulationRunWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SimulationServiceCreateSimulationRunResponse, error)

SimulationServiceCreateSimulationRunWithBodyWithResponse CreateSimulationRun

Registers a new run. With a scenarioGroup it starts right away and no

upload target is returned. Without one it waits in `PENDING_UPLOAD` for the
agent source that scenarios are generated from: upload it to the returned
presigned POST, then call ConfirmSimulationSourceUpload. A run left pending
for an hour is failed. Creating a run is not idempotent: a retried request
starts a second 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 /v0/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).

func (*ClientWithResponses) SimulationServiceCreateSimulationRunWithResponse

func (c *ClientWithResponses) SimulationServiceCreateSimulationRunWithResponse(ctx context.Context, projectId string, body SimulationServiceCreateSimulationRunJSONRequestBody, reqEditors ...RequestEditorFn) (*SimulationServiceCreateSimulationRunResponse, error)

SimulationServiceCreateSimulationRunWithResponse CreateSimulationRun

Registers a new run. With a scenarioGroup it starts right away and no

upload target is returned. Without one it waits in `PENDING_UPLOAD` for the
agent source that scenarios are generated from: upload it to the returned
presigned POST, then call ConfirmSimulationSourceUpload. A run left pending
for an hour is failed. Creating a run is not idempotent: a retried request
starts a second 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 /v0/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).

func (*ClientWithResponses) SimulationServiceGenerateScenarioFromSessionWithBodyWithResponse added in v2.19.0

func (c *ClientWithResponses) SimulationServiceGenerateScenarioFromSessionWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SimulationServiceGenerateScenarioFromSessionResponse, error)

SimulationServiceGenerateScenarioFromSessionWithBodyWithResponse GenerateScenarioFromSession

Derives a reusable scenario (label, instructions and expectations) from a

recorded room session, for use in the scenarioGroup of a later run.
Nothing is stored; the returned scenario is the result. The session must
have a recorded chat history. Each call runs an LLM over it, so it counts
against the scenario-generation quota for the project and can take up to
about a 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 POST /v0/projects/{projectId}/scenarios:generateFromSession (the `SimulationServiceGenerateScenarioFromSession` operationId).

func (*ClientWithResponses) SimulationServiceGenerateScenarioFromSessionWithResponse added in v2.19.0

func (c *ClientWithResponses) SimulationServiceGenerateScenarioFromSessionWithResponse(ctx context.Context, projectId string, body SimulationServiceGenerateScenarioFromSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*SimulationServiceGenerateScenarioFromSessionResponse, error)

SimulationServiceGenerateScenarioFromSessionWithResponse GenerateScenarioFromSession

Derives a reusable scenario (label, instructions and expectations) from a

recorded room session, for use in the scenarioGroup of a later run.
Nothing is stored; the returned scenario is the result. The session must
have a recorded chat history. Each call runs an LLM over it, so it counts
against the scenario-generation quota for the project and can take up to
about a minute.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/projects/{projectId}/scenarios:generateFromSession (the `SimulationServiceGenerateScenarioFromSession` operationId).

func (*ClientWithResponses) SimulationServiceGetSimulationRunSummaryWithResponse added in v2.19.0

func (c *ClientWithResponses) SimulationServiceGetSimulationRunSummaryWithResponse(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*SimulationServiceGetSimulationRunSummaryResponse, error)

SimulationServiceGetSimulationRunSummaryWithResponse GetSimulationRunSummary

Returns the graded outcome of a finished run: pass/fail counts, what went

well, what to improve, flagged issues with suggestions, and the per-job
chat history. FailedPrecondition while the run is still going; NotFound if
the run finished without a summary.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/simulation-runs/{simulationRunId}/summary (the `SimulationServiceGetSimulationRunSummary` operationId).

func (*ClientWithResponses) SimulationServiceGetSimulationRunWithResponse

func (c *ClientWithResponses) SimulationServiceGetSimulationRunWithResponse(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*SimulationServiceGetSimulationRunResponse, error)

SimulationServiceGetSimulationRunWithResponse GetSimulationRun

Returns one run with its jobs and aggregate metrics. The compressed summary

blob (summaryZstd) is omitted; use GetSimulationRunSummary for the decoded
summary.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/simulation-runs/{simulationRunId} (the `SimulationServiceGetSimulationRun` operationId).

func (*ClientWithResponses) SimulationServiceListSimulationRunsWithResponse

func (c *ClientWithResponses) SimulationServiceListSimulationRunsWithResponse(ctx context.Context, projectId string, params *SimulationServiceListSimulationRunsParams, reqEditors ...RequestEditorFn) (*SimulationServiceListSimulationRunsResponse, error)

SimulationServiceListSimulationRunsWithResponse ListSimulationRuns

Lists the runs for a project, newest first, cursor-paginated, optionally

narrowed by status, agent, conversation mode and a time window. Rows carry
headline counts (`jobCount`, `passedCount`, `failedCount`, `issueCount`) but
neither jobs nor the summary.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/simulation-runs (the `SimulationServiceListSimulationRuns` operationId).

func (*ClientWithResponses) ThreadServiceCreateThreadWithBodyWithResponse added in v2.19.1

func (c *ClientWithResponses) ThreadServiceCreateThreadWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ThreadServiceCreateThreadResponse, error)

ThreadServiceCreateThreadWithBodyWithResponse CreateThread

Creates a thread and its database.

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 /v0/projects/{projectId}/threads (the `ThreadServiceCreateThread` operationId).

func (*ClientWithResponses) ThreadServiceCreateThreadWithResponse added in v2.19.1

func (c *ClientWithResponses) ThreadServiceCreateThreadWithResponse(ctx context.Context, projectId string, body ThreadServiceCreateThreadJSONRequestBody, reqEditors ...RequestEditorFn) (*ThreadServiceCreateThreadResponse, error)

ThreadServiceCreateThreadWithResponse CreateThread

Creates a thread and its database.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/projects/{projectId}/threads (the `ThreadServiceCreateThread` operationId).

func (*ClientWithResponses) ThreadServiceDeleteThreadWithResponse added in v2.19.1

func (c *ClientWithResponses) ThreadServiceDeleteThreadWithResponse(ctx context.Context, projectId string, threadId string, reqEditors ...RequestEditorFn) (*ThreadServiceDeleteThreadResponse, error)

ThreadServiceDeleteThreadWithResponse DeleteThread

Deletes the thread and its database.

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/projects/{projectId}/threads/{threadId} (the `ThreadServiceDeleteThread` operationId).

func (*ClientWithResponses) ThreadServiceGetThreadItemsWithResponse added in v2.19.1

func (c *ClientWithResponses) ThreadServiceGetThreadItemsWithResponse(ctx context.Context, projectId string, threadId string, params *ThreadServiceGetThreadItemsParams, reqEditors ...RequestEditorFn) (*ThreadServiceGetThreadItemsResponse, error)

ThreadServiceGetThreadItemsWithResponse GetThreadItems

Returns the chat items in the thread, oldest first.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/threads/{threadId}/items (the `ThreadServiceGetThreadItems` operationId).

func (*ClientWithResponses) ThreadServiceGetThreadTasksWithResponse added in v2.19.1

func (c *ClientWithResponses) ThreadServiceGetThreadTasksWithResponse(ctx context.Context, projectId string, threadId string, params *ThreadServiceGetThreadTasksParams, reqEditors ...RequestEditorFn) (*ThreadServiceGetThreadTasksResponse, error)

ThreadServiceGetThreadTasksWithResponse GetThreadTasks

Returns the background tasks in the thread, oldest first.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/threads/{threadId}/tasks (the `ThreadServiceGetThreadTasks` operationId).

func (*ClientWithResponses) ThreadServiceGetThreadWithResponse added in v2.19.1

func (c *ClientWithResponses) ThreadServiceGetThreadWithResponse(ctx context.Context, projectId string, threadId string, reqEditors ...RequestEditorFn) (*ThreadServiceGetThreadResponse, error)

ThreadServiceGetThreadWithResponse GetThread

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/threads/{threadId} (the `ThreadServiceGetThread` operationId).

func (*ClientWithResponses) ThreadServiceListThreadsWithResponse added in v2.19.1

func (c *ClientWithResponses) ThreadServiceListThreadsWithResponse(ctx context.Context, projectId string, params *ThreadServiceListThreadsParams, reqEditors ...RequestEditorFn) (*ThreadServiceListThreadsResponse, error)

ThreadServiceListThreadsWithResponse ListThreads

Lists the threads of one scope, newest first.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/projects/{projectId}/threads (the `ThreadServiceListThreads` operationId).

func (*ClientWithResponses) ThreadServiceUpdateThreadWithBodyWithResponse added in v2.19.1

func (c *ClientWithResponses) ThreadServiceUpdateThreadWithBodyWithResponse(ctx context.Context, projectId string, threadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ThreadServiceUpdateThreadResponse, error)

ThreadServiceUpdateThreadWithBodyWithResponse UpdateThread

Merges attributes (an empty value deletes the entry) and sets the idle TTL.

Every update counts as activity and pushes expiresAt out.

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 /v0/projects/{projectId}/threads/{threadId} (the `ThreadServiceUpdateThread` operationId).

func (*ClientWithResponses) ThreadServiceUpdateThreadWithResponse added in v2.19.1

func (c *ClientWithResponses) ThreadServiceUpdateThreadWithResponse(ctx context.Context, projectId string, threadId string, body ThreadServiceUpdateThreadJSONRequestBody, reqEditors ...RequestEditorFn) (*ThreadServiceUpdateThreadResponse, error)

ThreadServiceUpdateThreadWithResponse UpdateThread

Merges attributes (an empty value deletes the entry) and sets the idle TTL.

Every update counts as activity and pushes expiresAt out.

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/projects/{projectId}/threads/{threadId} (the `ThreadServiceUpdateThread` operationId).

func (*ClientWithResponses) UserServiceGetCurrentUserWithResponse

func (c *ClientWithResponses) UserServiceGetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserServiceGetCurrentUserResponse, error)

UserServiceGetCurrentUserWithResponse GetCurrentUser

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/users/me (the `UserServiceGetCurrentUser` operationId).

func (*ClientWithResponses) UserServiceGetUserWithResponse

func (c *ClientWithResponses) UserServiceGetUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserServiceGetUserResponse, error)

UserServiceGetUserWithResponse GetUser

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/users/{userId} (the `UserServiceGetUser` operationId).

func (*ClientWithResponses) UserServiceListUsersWithResponse

func (c *ClientWithResponses) UserServiceListUsersWithResponse(ctx context.Context, params *UserServiceListUsersParams, reqEditors ...RequestEditorFn) (*UserServiceListUsersResponse, error)

UserServiceListUsersWithResponse ListUsers

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/users (the `UserServiceListUsers` operationId).

func (*ClientWithResponses) WorkspaceServiceAnswerInviteWithBodyWithResponse

func (c *ClientWithResponses) WorkspaceServiceAnswerInviteWithBodyWithResponse(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceAnswerInviteResponse, error)

WorkspaceServiceAnswerInviteWithBodyWithResponse AnswerInvite

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 /v0/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).

func (*ClientWithResponses) WorkspaceServiceAnswerInviteWithResponse

func (c *ClientWithResponses) WorkspaceServiceAnswerInviteWithResponse(ctx context.Context, inviteToken string, body WorkspaceServiceAnswerInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceAnswerInviteResponse, error)

WorkspaceServiceAnswerInviteWithResponse AnswerInvite

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).

func (*ClientWithResponses) WorkspaceServiceCreateInviteWithBodyWithResponse

func (c *ClientWithResponses) WorkspaceServiceCreateInviteWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateInviteResponse, error)

WorkspaceServiceCreateInviteWithBodyWithResponse CreateInvite

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 /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).

func (*ClientWithResponses) WorkspaceServiceCreateInviteWithResponse

func (c *ClientWithResponses) WorkspaceServiceCreateInviteWithResponse(ctx context.Context, workspaceId string, body WorkspaceServiceCreateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateInviteResponse, error)

WorkspaceServiceCreateInviteWithResponse CreateInvite

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).

func (*ClientWithResponses) WorkspaceServiceCreateProjectWithBodyWithResponse

func (c *ClientWithResponses) WorkspaceServiceCreateProjectWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateProjectResponse, error)

WorkspaceServiceCreateProjectWithBodyWithResponse CreateProject

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 /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).

func (*ClientWithResponses) WorkspaceServiceCreateProjectWithResponse

func (c *ClientWithResponses) WorkspaceServiceCreateProjectWithResponse(ctx context.Context, workspaceId string, body WorkspaceServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateProjectResponse, error)

WorkspaceServiceCreateProjectWithResponse CreateProject

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).

func (*ClientWithResponses) WorkspaceServiceCreateWorkspaceWithBodyWithResponse

func (c *ClientWithResponses) WorkspaceServiceCreateWorkspaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateWorkspaceResponse, error)

WorkspaceServiceCreateWorkspaceWithBodyWithResponse CreateWorkspace

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 /v0/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).

func (*ClientWithResponses) WorkspaceServiceCreateWorkspaceWithResponse

func (c *ClientWithResponses) WorkspaceServiceCreateWorkspaceWithResponse(ctx context.Context, body WorkspaceServiceCreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateWorkspaceResponse, error)

WorkspaceServiceCreateWorkspaceWithResponse CreateWorkspace

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with POST /v0/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).

func (*ClientWithResponses) WorkspaceServiceDeleteInviteWithResponse

func (c *ClientWithResponses) WorkspaceServiceDeleteInviteWithResponse(ctx context.Context, workspaceId string, email string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteInviteResponse, error)

WorkspaceServiceDeleteInviteWithResponse DeleteInvite

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/workspaces/{workspaceId}/invites/{email} (the `WorkspaceServiceDeleteInvite` operationId).

func (*ClientWithResponses) WorkspaceServiceDeleteMemberWithResponse

func (c *ClientWithResponses) WorkspaceServiceDeleteMemberWithResponse(ctx context.Context, workspaceId string, userId string, params *WorkspaceServiceDeleteMemberParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteMemberResponse, error)

WorkspaceServiceDeleteMemberWithResponse DeleteMember

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceDeleteMember` operationId).

func (*ClientWithResponses) WorkspaceServiceDeleteProjectWithResponse

func (c *ClientWithResponses) WorkspaceServiceDeleteProjectWithResponse(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteProjectResponse, error)

WorkspaceServiceDeleteProjectWithResponse DeleteProject

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceDeleteProject` operationId).

func (*ClientWithResponses) WorkspaceServiceDeleteWorkspaceWithResponse

func (c *ClientWithResponses) WorkspaceServiceDeleteWorkspaceWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteWorkspaceResponse, error)

WorkspaceServiceDeleteWorkspaceWithResponse DeleteWorkspace

Returns a wrapper object for the known response body format(s).

Corresponds with DELETE /v0/workspaces/{workspaceId} (the `WorkspaceServiceDeleteWorkspace` operationId).

func (*ClientWithResponses) WorkspaceServiceGetInviteWithResponse

func (c *ClientWithResponses) WorkspaceServiceGetInviteWithResponse(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetInviteResponse, error)

WorkspaceServiceGetInviteWithResponse GetInvite

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/workspace-invites/{inviteToken} (the `WorkspaceServiceGetInvite` operationId).

func (*ClientWithResponses) WorkspaceServiceGetMemberWithResponse

func (c *ClientWithResponses) WorkspaceServiceGetMemberWithResponse(ctx context.Context, workspaceId string, userId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetMemberResponse, error)

WorkspaceServiceGetMemberWithResponse GetMember

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceGetMember` operationId).

func (*ClientWithResponses) WorkspaceServiceGetProjectWithResponse

func (c *ClientWithResponses) WorkspaceServiceGetProjectWithResponse(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetProjectResponse, error)

WorkspaceServiceGetProjectWithResponse GetProject

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceGetProject` operationId).

func (*ClientWithResponses) WorkspaceServiceGetWorkspaceWithResponse

func (c *ClientWithResponses) WorkspaceServiceGetWorkspaceWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetWorkspaceResponse, error)

WorkspaceServiceGetWorkspaceWithResponse GetWorkspace

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/workspaces/{workspaceId} (the `WorkspaceServiceGetWorkspace` operationId).

func (*ClientWithResponses) WorkspaceServiceListInvitesWithResponse

func (c *ClientWithResponses) WorkspaceServiceListInvitesWithResponse(ctx context.Context, workspaceId string, params *WorkspaceServiceListInvitesParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListInvitesResponse, error)

WorkspaceServiceListInvitesWithResponse ListInvites

Lists the unexpired invites of a workspace, ordered by email.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceListInvites` operationId).

func (*ClientWithResponses) WorkspaceServiceListMembersWithResponse

func (c *ClientWithResponses) WorkspaceServiceListMembersWithResponse(ctx context.Context, workspaceId string, params *WorkspaceServiceListMembersParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListMembersResponse, error)

WorkspaceServiceListMembersWithResponse ListMembers

Lists the workspace members, ordered by user ID.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/workspaces/{workspaceId}/members (the `WorkspaceServiceListMembers` operationId).

func (*ClientWithResponses) WorkspaceServiceListProjectsWithResponse

func (c *ClientWithResponses) WorkspaceServiceListProjectsWithResponse(ctx context.Context, workspaceId string, params *WorkspaceServiceListProjectsParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListProjectsResponse, error)

WorkspaceServiceListProjectsWithResponse ListProjects

The projects in a workspace. These return the same Project message as

the project endpoints.

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceListProjects` operationId).

func (*ClientWithResponses) WorkspaceServiceListWorkspacesWithResponse

func (c *ClientWithResponses) WorkspaceServiceListWorkspacesWithResponse(ctx context.Context, params *WorkspaceServiceListWorkspacesParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListWorkspacesResponse, error)

WorkspaceServiceListWorkspacesWithResponse ListWorkspaces

Returns a wrapper object for the known response body format(s).

Corresponds with GET /v0/workspaces (the `WorkspaceServiceListWorkspaces` operationId).

func (*ClientWithResponses) WorkspaceServiceUpdateMemberWithBodyWithResponse

func (c *ClientWithResponses) WorkspaceServiceUpdateMemberWithBodyWithResponse(ctx context.Context, workspaceId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateMemberResponse, error)

WorkspaceServiceUpdateMemberWithBodyWithResponse UpdateMember

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 /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).

func (*ClientWithResponses) WorkspaceServiceUpdateMemberWithResponse

func (c *ClientWithResponses) WorkspaceServiceUpdateMemberWithResponse(ctx context.Context, workspaceId string, userId string, body WorkspaceServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateMemberResponse, error)

WorkspaceServiceUpdateMemberWithResponse UpdateMember

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).

func (*ClientWithResponses) WorkspaceServiceUpdateWorkspaceWithBodyWithResponse

func (c *ClientWithResponses) WorkspaceServiceUpdateWorkspaceWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateWorkspaceResponse, error)

WorkspaceServiceUpdateWorkspaceWithBodyWithResponse UpdateWorkspace

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 /v0/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).

func (*ClientWithResponses) WorkspaceServiceUpdateWorkspaceWithResponse

func (c *ClientWithResponses) WorkspaceServiceUpdateWorkspaceWithResponse(ctx context.Context, workspaceId string, body WorkspaceServiceUpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateWorkspaceResponse, error)

WorkspaceServiceUpdateWorkspaceWithResponse UpdateWorkspace

Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).

Corresponds with PATCH /v0/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {

	// ProjectServiceGetInviteWithResponse GetInvite
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/project-invites/{inviteToken} (the `ProjectServiceGetInvite` operationId).
	ProjectServiceGetInviteWithResponse(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*ProjectServiceGetInviteResponse, error)

	// ProjectServiceAnswerInvitationWithBodyWithResponse AnswerInvitation
	//
	// 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 /v0/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
	ProjectServiceAnswerInvitationWithBodyWithResponse(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceAnswerInvitationResponse, error)

	// ProjectServiceAnswerInvitationWithResponse AnswerInvitation
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/project-invites/{inviteToken}:answer (the `ProjectServiceAnswerInvitation` operationId).
	ProjectServiceAnswerInvitationWithResponse(ctx context.Context, inviteToken string, body ProjectServiceAnswerInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceAnswerInvitationResponse, error)

	// ProjectServiceListProjectsWithResponse ListProjects
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects (the `ProjectServiceListProjects` operationId).
	ProjectServiceListProjectsWithResponse(ctx context.Context, params *ProjectServiceListProjectsParams, reqEditors ...RequestEditorFn) (*ProjectServiceListProjectsResponse, error)

	// ProjectServiceCreateProjectWithBodyWithResponse CreateProject
	//
	// 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 /v0/projects (the `ProjectServiceCreateProject` operationId).
	ProjectServiceCreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceCreateProjectResponse, error)

	// ProjectServiceCreateProjectWithResponse CreateProject
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/projects (the `ProjectServiceCreateProject` operationId).
	ProjectServiceCreateProjectWithResponse(ctx context.Context, body ProjectServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceCreateProjectResponse, error)

	// ProjectServiceDeleteProjectWithResponse DeleteProject
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/projects/{projectId} (the `ProjectServiceDeleteProject` operationId).
	ProjectServiceDeleteProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteProjectResponse, error)

	// ProjectServiceGetProjectWithResponse GetProject
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId} (the `ProjectServiceGetProject` operationId).
	ProjectServiceGetProjectWithResponse(ctx context.Context, projectId string, reqEditors ...RequestEditorFn) (*ProjectServiceGetProjectResponse, error)

	// ProjectServiceUpdateProjectWithBodyWithResponse UpdateProject
	//
	// 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 /v0/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
	ProjectServiceUpdateProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateProjectResponse, error)

	// ProjectServiceUpdateProjectWithResponse UpdateProject
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/projects/{projectId} (the `ProjectServiceUpdateProject` operationId).
	ProjectServiceUpdateProjectWithResponse(ctx context.Context, projectId string, body ProjectServiceUpdateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateProjectResponse, error)

	// BuilderAgentServiceListBuilderAgentsWithResponse ListBuilderAgents
	//
	// Lists a project's builder agents by name, one page at a time, with the
	//  status of each deployment. The list does not include configurations: use
	//  GetBuilderAgent for one.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/agents/builder (the `BuilderAgentServiceListBuilderAgents` operationId).
	BuilderAgentServiceListBuilderAgentsWithResponse(ctx context.Context, projectId string, params *BuilderAgentServiceListBuilderAgentsParams, reqEditors ...RequestEditorFn) (*BuilderAgentServiceListBuilderAgentsResponse, error)

	// BuilderAgentServiceCreateBuilderAgentWithBodyWithResponse CreateBuilderAgent
	//
	// Makes a builder agent from a name and a configuration. The agent is not
	//  deployed: call DeployBuilderAgent to run it. Unset configuration
	//  properties take their default, and unknown properties are ignored.
	//
	// 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 /v0/projects/{projectId}/agents/builder (the `BuilderAgentServiceCreateBuilderAgent` operationId).
	BuilderAgentServiceCreateBuilderAgentWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BuilderAgentServiceCreateBuilderAgentResponse, error)

	// BuilderAgentServiceCreateBuilderAgentWithResponse CreateBuilderAgent
	//
	// Makes a builder agent from a name and a configuration. The agent is not
	//  deployed: call DeployBuilderAgent to run it. Unset configuration
	//  properties take their default, and unknown properties are ignored.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/projects/{projectId}/agents/builder (the `BuilderAgentServiceCreateBuilderAgent` operationId).
	BuilderAgentServiceCreateBuilderAgentWithResponse(ctx context.Context, projectId string, body BuilderAgentServiceCreateBuilderAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*BuilderAgentServiceCreateBuilderAgentResponse, error)

	// BuilderAgentServiceDeleteBuilderAgentWithResponse DeleteBuilderAgent
	//
	// Deletes a builder agent, its versions, and its deployment.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/projects/{projectId}/agents/builder/{builderAgentId} (the `BuilderAgentServiceDeleteBuilderAgent` operationId).
	BuilderAgentServiceDeleteBuilderAgentWithResponse(ctx context.Context, projectId string, builderAgentId string, reqEditors ...RequestEditorFn) (*BuilderAgentServiceDeleteBuilderAgentResponse, error)

	// BuilderAgentServiceGetBuilderAgentWithResponse GetBuilderAgent
	//
	// Returns a builder agent with its current configuration and the status of
	//  its deployment.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/agents/builder/{builderAgentId} (the `BuilderAgentServiceGetBuilderAgent` operationId).
	BuilderAgentServiceGetBuilderAgentWithResponse(ctx context.Context, projectId string, builderAgentId string, reqEditors ...RequestEditorFn) (*BuilderAgentServiceGetBuilderAgentResponse, error)

	// BuilderAgentServiceUpdateBuilderAgentWithBodyWithResponse UpdateBuilderAgent
	//
	// Replaces a builder agent's configuration. Each update makes a new
	//  version. The running agent does not change until you deploy again.
	//
	// 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 /v0/projects/{projectId}/agents/builder/{builderAgentId} (the `BuilderAgentServiceUpdateBuilderAgent` operationId).
	BuilderAgentServiceUpdateBuilderAgentWithBodyWithResponse(ctx context.Context, projectId string, builderAgentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BuilderAgentServiceUpdateBuilderAgentResponse, error)

	// BuilderAgentServiceUpdateBuilderAgentWithResponse UpdateBuilderAgent
	//
	// Replaces a builder agent's configuration. Each update makes a new
	//  version. The running agent does not change until you deploy again.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/projects/{projectId}/agents/builder/{builderAgentId} (the `BuilderAgentServiceUpdateBuilderAgent` operationId).
	BuilderAgentServiceUpdateBuilderAgentWithResponse(ctx context.Context, projectId string, builderAgentId string, body BuilderAgentServiceUpdateBuilderAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*BuilderAgentServiceUpdateBuilderAgentResponse, error)

	// BuilderAgentServiceDeployBuilderAgentWithBodyWithResponse DeployBuilderAgent
	//
	// Starts a deployment of a builder agent's current configuration, or of
	//  an earlier version. The call returns when the build starts, with status
	//  DEPLOYMENT_STATUS_BUILDING. The build continues after the call returns.
	//  Call GetBuilderAgent to follow the deployment until its status is
	//  DEPLOYMENT_STATUS_RUNNING, or DEPLOYMENT_STATUS_BUILD_FAILED.
	//
	// 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 /v0/projects/{projectId}/agents/builder/{builderAgentId}:deploy (the `BuilderAgentServiceDeployBuilderAgent` operationId).
	BuilderAgentServiceDeployBuilderAgentWithBodyWithResponse(ctx context.Context, projectId string, builderAgentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BuilderAgentServiceDeployBuilderAgentResponse, error)

	// BuilderAgentServiceDeployBuilderAgentWithResponse DeployBuilderAgent
	//
	// Starts a deployment of a builder agent's current configuration, or of
	//  an earlier version. The call returns when the build starts, with status
	//  DEPLOYMENT_STATUS_BUILDING. The build continues after the call returns.
	//  Call GetBuilderAgent to follow the deployment until its status is
	//  DEPLOYMENT_STATUS_RUNNING, or DEPLOYMENT_STATUS_BUILD_FAILED.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/projects/{projectId}/agents/builder/{builderAgentId}:deploy (the `BuilderAgentServiceDeployBuilderAgent` operationId).
	BuilderAgentServiceDeployBuilderAgentWithResponse(ctx context.Context, projectId string, builderAgentId string, body BuilderAgentServiceDeployBuilderAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*BuilderAgentServiceDeployBuilderAgentResponse, error)

	// AnalyticsServiceGetProjectAnalyticsWithResponse GetProjectAnalytics
	//
	// Returns the project overview over a time range.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/analytics (the `AnalyticsServiceGetProjectAnalytics` operationId).
	AnalyticsServiceGetProjectAnalyticsWithResponse(ctx context.Context, projectId string, params *AnalyticsServiceGetProjectAnalyticsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceGetProjectAnalyticsResponse, error)

	// AnalyticsServiceListAgentAnalyticsWithResponse ListAgentAnalytics
	//
	// Lists the analytics of each agent in the project over a time range. Each
	//  item is an `AgentAnalytics`, the same message that `GetAgentAnalytics`
	//  returns for one agent.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/analytics/agents (the `AnalyticsServiceListAgentAnalytics` operationId).
	AnalyticsServiceListAgentAnalyticsWithResponse(ctx context.Context, projectId string, params *AnalyticsServiceListAgentAnalyticsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceListAgentAnalyticsResponse, error)

	// AnalyticsServiceGetAgentAnalyticsWithResponse GetAgentAnalytics
	//
	// Returns the analytics for one agent over a time range.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/analytics/agents/{agentId} (the `AnalyticsServiceGetAgentAnalytics` operationId).
	AnalyticsServiceGetAgentAnalyticsWithResponse(ctx context.Context, projectId string, agentId string, params *AnalyticsServiceGetAgentAnalyticsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceGetAgentAnalyticsResponse, error)

	// DatabaseServiceListDatabasesWithResponse ListDatabases
	//
	// Lists the project databases, cursor-paginated.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/databases (the `DatabaseServiceListDatabases` operationId).
	DatabaseServiceListDatabasesWithResponse(ctx context.Context, projectId string, params *DatabaseServiceListDatabasesParams, reqEditors ...RequestEditorFn) (*DatabaseServiceListDatabasesResponse, error)

	// DatabaseServiceCreateDatabaseWithBodyWithResponse CreateDatabase
	//
	// Creates an empty database. Not idempotent: a retried request creates a
	//  second database.
	//
	// 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 /v0/projects/{projectId}/databases (the `DatabaseServiceCreateDatabase` operationId).
	DatabaseServiceCreateDatabaseWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DatabaseServiceCreateDatabaseResponse, error)

	// DatabaseServiceCreateDatabaseWithResponse CreateDatabase
	//
	// Creates an empty database. Not idempotent: a retried request creates a
	//  second database.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/projects/{projectId}/databases (the `DatabaseServiceCreateDatabase` operationId).
	DatabaseServiceCreateDatabaseWithResponse(ctx context.Context, projectId string, body DatabaseServiceCreateDatabaseJSONRequestBody, reqEditors ...RequestEditorFn) (*DatabaseServiceCreateDatabaseResponse, error)

	// DatabaseServiceDeleteDatabaseWithResponse DeleteDatabase
	//
	// Deletes the stored data, not just the metadata.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/projects/{projectId}/databases/{databaseId} (the `DatabaseServiceDeleteDatabase` operationId).
	DatabaseServiceDeleteDatabaseWithResponse(ctx context.Context, projectId string, databaseId string, reqEditors ...RequestEditorFn) (*DatabaseServiceDeleteDatabaseResponse, error)

	// DatabaseServiceGetDatabaseWithResponse GetDatabase
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/databases/{databaseId} (the `DatabaseServiceGetDatabase` operationId).
	DatabaseServiceGetDatabaseWithResponse(ctx context.Context, projectId string, databaseId string, reqEditors ...RequestEditorFn) (*DatabaseServiceGetDatabaseResponse, error)

	// DatabaseServiceExportDatabaseWithResponse ExportDatabase
	//
	// Exports a consistent SQLite file as a time-limited download URL.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/projects/{projectId}/databases/{databaseId}:export (the `DatabaseServiceExportDatabase` operationId).
	DatabaseServiceExportDatabaseWithResponse(ctx context.Context, projectId string, databaseId string, reqEditors ...RequestEditorFn) (*DatabaseServiceExportDatabaseResponse, error)

	// ProjectServiceListInvitesWithResponse ListInvites
	//
	// Lists the unexpired invites of a project, ordered by email.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/invites (the `ProjectServiceListInvites` operationId).
	ProjectServiceListInvitesWithResponse(ctx context.Context, projectId string, params *ProjectServiceListInvitesParams, reqEditors ...RequestEditorFn) (*ProjectServiceListInvitesResponse, error)

	// ProjectServiceInviteMemberWithBodyWithResponse InviteMember
	//
	// 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 /v0/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
	ProjectServiceInviteMemberWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceInviteMemberResponse, error)

	// ProjectServiceInviteMemberWithResponse InviteMember
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/projects/{projectId}/invites (the `ProjectServiceInviteMember` operationId).
	ProjectServiceInviteMemberWithResponse(ctx context.Context, projectId string, body ProjectServiceInviteMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceInviteMemberResponse, error)

	// ProjectServiceDeleteInviteWithResponse DeleteInvite
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/projects/{projectId}/invites/{email} (the `ProjectServiceDeleteInvite` operationId).
	ProjectServiceDeleteInviteWithResponse(ctx context.Context, projectId string, email string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteInviteResponse, error)

	// ProjectServiceUpdateInviteWithBodyWithResponse UpdateInvite
	//
	// 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 /v0/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
	ProjectServiceUpdateInviteWithBodyWithResponse(ctx context.Context, projectId string, email string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateInviteResponse, error)

	// ProjectServiceUpdateInviteWithResponse UpdateInvite
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/projects/{projectId}/invites/{email} (the `ProjectServiceUpdateInvite` operationId).
	ProjectServiceUpdateInviteWithResponse(ctx context.Context, projectId string, email string, body ProjectServiceUpdateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateInviteResponse, error)

	// ProjectServiceListKeysWithResponse ListKeys
	//
	// Lists the API keys of a project, oldest first. The list does not include
	//  the secrets.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/keys (the `ProjectServiceListKeys` operationId).
	ProjectServiceListKeysWithResponse(ctx context.Context, projectId string, params *ProjectServiceListKeysParams, reqEditors ...RequestEditorFn) (*ProjectServiceListKeysResponse, error)

	// ProjectServiceGenerateKeyWithBodyWithResponse GenerateKey
	//
	// Creates an API key and secret for the project. The secret is returned once,
	//  in the response, and cannot be read again.
	//
	// 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 /v0/projects/{projectId}/keys (the `ProjectServiceGenerateKey` operationId).
	ProjectServiceGenerateKeyWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceGenerateKeyResponse, error)

	// ProjectServiceGenerateKeyWithResponse GenerateKey
	//
	// Creates an API key and secret for the project. The secret is returned once,
	//  in the response, and cannot be read again.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/projects/{projectId}/keys (the `ProjectServiceGenerateKey` operationId).
	ProjectServiceGenerateKeyWithResponse(ctx context.Context, projectId string, body ProjectServiceGenerateKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceGenerateKeyResponse, error)

	// ProjectServiceDeleteKeyWithResponse DeleteKey
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/projects/{projectId}/keys/{apiKey} (the `ProjectServiceDeleteKey` operationId).
	ProjectServiceDeleteKeyWithResponse(ctx context.Context, projectId string, apiKey string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteKeyResponse, error)

	// ProjectServiceListMembersWithResponse ListMembers
	//
	// Lists the project members, ordered by user ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/members (the `ProjectServiceListMembers` operationId).
	ProjectServiceListMembersWithResponse(ctx context.Context, projectId string, params *ProjectServiceListMembersParams, reqEditors ...RequestEditorFn) (*ProjectServiceListMembersResponse, error)

	// ProjectServiceRemoveMemberWithResponse RemoveMember
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/projects/{projectId}/members/{userId} (the `ProjectServiceRemoveMember` operationId).
	ProjectServiceRemoveMemberWithResponse(ctx context.Context, projectId string, userId string, params *ProjectServiceRemoveMemberParams, reqEditors ...RequestEditorFn) (*ProjectServiceRemoveMemberResponse, error)

	// ProjectServiceGetMemberWithResponse GetMember
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/members/{userId} (the `ProjectServiceGetMember` operationId).
	ProjectServiceGetMemberWithResponse(ctx context.Context, projectId string, userId string, reqEditors ...RequestEditorFn) (*ProjectServiceGetMemberResponse, error)

	// ProjectServiceUpdateMemberWithBodyWithResponse UpdateMember
	//
	// 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 /v0/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
	ProjectServiceUpdateMemberWithBodyWithResponse(ctx context.Context, projectId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateMemberResponse, error)

	// ProjectServiceUpdateMemberWithResponse UpdateMember
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/projects/{projectId}/members/{userId} (the `ProjectServiceUpdateMember` operationId).
	ProjectServiceUpdateMemberWithResponse(ctx context.Context, projectId string, userId string, body ProjectServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateMemberResponse, error)

	// ProjectServiceAddWorkspaceMembersToProjectWithBodyWithResponse AddWorkspaceMembersToProject
	//
	// 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 /v0/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
	ProjectServiceAddWorkspaceMembersToProjectWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)

	// ProjectServiceAddWorkspaceMembersToProjectWithResponse AddWorkspaceMembersToProject
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/projects/{projectId}/members:addWorkspaceMembers (the `ProjectServiceAddWorkspaceMembersToProject` operationId).
	ProjectServiceAddWorkspaceMembersToProjectWithResponse(ctx context.Context, projectId string, body ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)

	// SimulationServiceGenerateScenarioFromSessionWithBodyWithResponse GenerateScenarioFromSession
	//
	// Derives a reusable scenario (label, instructions and expectations) from a
	//  recorded room session, for use in the scenarioGroup of a later run.
	//  Nothing is stored; the returned scenario is the result. The session must
	//  have a recorded chat history. Each call runs an LLM over it, so it counts
	//  against the scenario-generation quota for the project and can take up to
	//  about a 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 POST /v0/projects/{projectId}/scenarios:generateFromSession (the `SimulationServiceGenerateScenarioFromSession` operationId).
	SimulationServiceGenerateScenarioFromSessionWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SimulationServiceGenerateScenarioFromSessionResponse, error)

	// SimulationServiceGenerateScenarioFromSessionWithResponse GenerateScenarioFromSession
	//
	// Derives a reusable scenario (label, instructions and expectations) from a
	//  recorded room session, for use in the scenarioGroup of a later run.
	//  Nothing is stored; the returned scenario is the result. The session must
	//  have a recorded chat history. Each call runs an LLM over it, so it counts
	//  against the scenario-generation quota for the project and can take up to
	//  about a minute.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/projects/{projectId}/scenarios:generateFromSession (the `SimulationServiceGenerateScenarioFromSession` operationId).
	SimulationServiceGenerateScenarioFromSessionWithResponse(ctx context.Context, projectId string, body SimulationServiceGenerateScenarioFromSessionJSONRequestBody, reqEditors ...RequestEditorFn) (*SimulationServiceGenerateScenarioFromSessionResponse, error)

	// AnalyticsServiceListProjectSessionsWithResponse ListProjectSessions
	//
	// Lists room sessions for a project, newest first, cursor-paginated.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/sessions (the `AnalyticsServiceListProjectSessions` operationId).
	AnalyticsServiceListProjectSessionsWithResponse(ctx context.Context, projectId string, params *AnalyticsServiceListProjectSessionsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceListProjectSessionsResponse, error)

	// AnalyticsServiceGetSessionWithResponse GetSession
	//
	// Returns one room session. The response carries both the list-row `session`
	//  and the richer `detail` (participants, per-metric data points).
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId} (the `AnalyticsServiceGetSession` operationId).
	AnalyticsServiceGetSessionWithResponse(ctx context.Context, projectId string, sessionId string, reqEditors ...RequestEditorFn) (*AnalyticsServiceGetSessionResponse, error)

	// AnalyticsServiceListSessionEventsWithResponse Lists the events in one room session, oldest first by default,
	//  cursor-paginated with no total. With no `types`, it returns the seven the
	//  events table on the dashboard shows: `PARTICIPANT_JOINED`,
	//  `PARTICIPANT_LEFT`, `PARTICIPANT_ACTIVE`, `PARTICIPANT_RESUMED`,
	//  `ROOM_CREATED`, `ROOM_ENDED` and `API_CALL`. `types` asks for others, such
	//  as `TRACK_PUBLISHED`, and `participantSessionId` keeps the events for one
	//  participant session. With `participantSessionId` and no `types`, it returns
	//  the eleven the participant events table on the dashboard shows for that
	//  participant session: `PARTICIPANT_JOINED`, `PARTICIPANT_LEFT`,
	//  `PARTICIPANT_RESUMED` and `PARTICIPANT_ACTIVE`, and its `TRACK_MUTED`,
	//  `TRACK_UNMUTED`, `TRACK_PUBLISHED`, `TRACK_UNPUBLISHED`,
	//  `TRACK_SUBSCRIBED`, `TRACK_SUBSCRIBE_REQUESTED` and
	//  `TRACK_SUBSCRIBE_FAILED`.
	//
	// Unlike the dashboard, on purpose: an unknown type or a malformed
	//  participant session ID is `InvalidArgument` rather than being searched for
	//  as typed, and types match exactly, so `TRACK_PUBLISHED` doesn't also return
	//  `TRACK_PUBLISHED_UPDATE`. Each event payload keeps only an allowlist of
	//  fields, leaving out participants' attributes and metadata and API calls'
	//  request bodies. Each event and participant row still carries the
	//  participant's identity, as the dashboard shows it to every member, and for
	//  a SIP caller that can be a phone number.
	//
	//  Events are kept for 60 days, which can be shorter than the retention of
	//  other data for the session, so an older session can list no events. An
	//  `ACTIVE` session lists the events recorded so far. An unknown session is
	//  `NotFound`.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/events (the `AnalyticsServiceListSessionEvents` operationId).
	AnalyticsServiceListSessionEventsWithResponse(ctx context.Context, projectId string, sessionId string, params *AnalyticsServiceListSessionEventsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceListSessionEventsResponse, error)

	// ObservabilityServiceGetSessionLogsWithResponse Returns the log records the agents in the session exported, in time order:
	//  what the logs panel on the dashboard shows. Their chat history is left out,
	//  since `GetSessionTranscript` reads it, and their evaluation results stay
	//  in. The session events, such as participants joining, come from
	//  `ListSessionEvents` on `AnalyticsService`.
	//
	// An `ACTIVE` session returns what its agents have exported so far. A record
	//  exported mid-read with a time this read has already paged past, earlier
	//  than its cursor position when oldest first, is missed until a new read. An
	//  unknown session is NotFound. A read filtered by logLevels can come back
	//  empty because no record is at those levels, so only an unfiltered one is
	//  ObservabilityDisabled.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/logs (the `ObservabilityServiceGetSessionLogs` operationId).
	ObservabilityServiceGetSessionLogsWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionLogsParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionLogsResponse, error)

	// ObservabilityServiceGetSessionMetricsWithResponse Returns the OpenTelemetry metric points the agents in the session exported,
	//  by time, typed: turn latencies such as lk.agents.turn.e2e_latency and
	//  lk.agents.turn.llm_ttft, token and duration usage such as
	//  lk.agents.usage.llm_input_tokens, and the gen_ai.* histograms, along with
	//  any metrics the agent's own code recorded.
	//
	// These are the raw metrics agents emit, so they won't exactly match the
	//  metrics panel on the dashboard, which derives its numbers from the
	//  transcript and traces. Only agents that export OpenTelemetry metrics to
	//  LiveKit Cloud produce them: an agent whose code installs its own
	//  MeterProvider exports none to LiveKit Cloud, and its sessions return no
	//  points.
	//
	//  Some points aren't labeled as their agent exported them. LiveKit Cloud
	//  groups the series for a session by their attributes alone and names each
	//  group after its first row. As a result:
	//
	//  - Several metrics can come back under one name. For example, the input,
	//    output, and cached token counts for an LLM all have the name
	//    `lk.agents.usage.llm_input_tokens`.
	//  - Points of one series at the same time that recorded equal values
	//    collapse into one point.
	//  - When a session has two agents, a point can carry the resource attributes
	//    of the other agent.
	//
	//  An agent exports its metrics every 30 seconds, and its turn latencies when
	//  the session ends, so an ACTIVE session returns what it has exported so far.
	//  An unknown session is NotFound. A read filtered by names can come back
	//  empty because no metric has those names, so only an unfiltered one is
	//  ObservabilityDisabled.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/metrics (the `ObservabilityServiceGetSessionMetrics` operationId).
	ObservabilityServiceGetSessionMetricsWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionMetricsParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionMetricsResponse, error)

	// AnalyticsServiceListSessionParticipantsWithResponse ListSessionParticipants
	//
	// Lists the participants of one room session, one row per identity,
	//  cursor-paginated; newest join first by default. Each row carries the
	//  participant's participant sessions (PA_...), each with the client it
	//  connected from.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/participants (the `AnalyticsServiceListSessionParticipants` operationId).
	AnalyticsServiceListSessionParticipantsWithResponse(ctx context.Context, projectId string, sessionId string, params *AnalyticsServiceListSessionParticipantsParams, reqEditors ...RequestEditorFn) (*AnalyticsServiceListSessionParticipantsResponse, error)

	// ObservabilityServiceGetSessionRecordingURLWithResponse GetSessionRecordingURL
	//
	// Returns a short-lived signed URL for one of the session recordings: its
	//  audio or its chat history. A session with no recording of that type is
	//  NotFound. A new recording can be NotFound for up to a minute after the
	//  session ends.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/recording-url (the `ObservabilityServiceGetSessionRecordingURL` operationId).
	ObservabilityServiceGetSessionRecordingURLWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionRecordingURLParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionRecordingURLResponse, error)

	// ObservabilityServiceGetSessionTracesWithResponse Returns the spans the agents in the session exported, by start time: what
	//  the trace view on the dashboard shows. Each span names its parent, so the
	//  pages rebuild the span tree, and its attributes carry the turn and latency
	//  fields the turn view on the dashboard reads, such as lk.generation_id and
	//  lk.response.ttft.
	//
	// An ACTIVE session returns what its agents have exported so far; a span
	//  exported after the first page waits for a new read. The later pages are
	//  read by offset, so a span exported mid-read can still shift them: a span
	//  can repeat, or be skipped. Dedupe by spanId, and read again from the first
	//  page to pick up a skipped span. An unknown session is NotFound.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/traces (the `ObservabilityServiceGetSessionTraces` operationId).
	ObservabilityServiceGetSessionTracesWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionTracesParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionTracesResponse, error)

	// ObservabilityServiceGetSessionTranscriptWithResponse Returns the session conversation as ordered transcript items: messages,
	//  tool calls and results, agent handoffs and agent configuration changes. It
	//  is the conversation the transcript on the dashboard shows.
	//
	// The agent exports its transcript when the session ends, and it can be read
	//  a minute or two later; on a project with PII redaction, only once the
	//  session recording has been redacted. So a session that is still ACTIVE
	//  returns what exists so far, usually nothing, without an error: read it
	//  again after the session ends. An unknown session is NotFound.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/sessions/{sessionId}/transcript (the `ObservabilityServiceGetSessionTranscript` operationId).
	ObservabilityServiceGetSessionTranscriptWithResponse(ctx context.Context, projectId string, sessionId string, params *ObservabilityServiceGetSessionTranscriptParams, reqEditors ...RequestEditorFn) (*ObservabilityServiceGetSessionTranscriptResponse, error)

	// SimulationServiceListSimulationRunsWithResponse ListSimulationRuns
	//
	// Lists the runs for a project, newest first, cursor-paginated, optionally
	//  narrowed by status, agent, conversation mode and a time window. Rows carry
	//  headline counts (`jobCount`, `passedCount`, `failedCount`, `issueCount`) but
	//  neither jobs nor the summary.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/simulation-runs (the `SimulationServiceListSimulationRuns` operationId).
	SimulationServiceListSimulationRunsWithResponse(ctx context.Context, projectId string, params *SimulationServiceListSimulationRunsParams, reqEditors ...RequestEditorFn) (*SimulationServiceListSimulationRunsResponse, error)

	// SimulationServiceCreateSimulationRunWithBodyWithResponse CreateSimulationRun
	//
	// Registers a new run. With a scenarioGroup it starts right away and no
	//  upload target is returned. Without one it waits in `PENDING_UPLOAD` for the
	//  agent source that scenarios are generated from: upload it to the returned
	//  presigned POST, then call ConfirmSimulationSourceUpload. A run left pending
	//  for an hour is failed. Creating a run is not idempotent: a retried request
	//  starts a second 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 /v0/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
	SimulationServiceCreateSimulationRunWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SimulationServiceCreateSimulationRunResponse, error)

	// SimulationServiceCreateSimulationRunWithResponse CreateSimulationRun
	//
	// Registers a new run. With a scenarioGroup it starts right away and no
	//  upload target is returned. Without one it waits in `PENDING_UPLOAD` for the
	//  agent source that scenarios are generated from: upload it to the returned
	//  presigned POST, then call ConfirmSimulationSourceUpload. A run left pending
	//  for an hour is failed. Creating a run is not idempotent: a retried request
	//  starts a second 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 /v0/projects/{projectId}/simulation-runs (the `SimulationServiceCreateSimulationRun` operationId).
	SimulationServiceCreateSimulationRunWithResponse(ctx context.Context, projectId string, body SimulationServiceCreateSimulationRunJSONRequestBody, reqEditors ...RequestEditorFn) (*SimulationServiceCreateSimulationRunResponse, error)

	// SimulationServiceGetSimulationRunWithResponse GetSimulationRun
	//
	// Returns one run with its jobs and aggregate metrics. The compressed summary
	//  blob (summaryZstd) is omitted; use GetSimulationRunSummary for the decoded
	//  summary.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/simulation-runs/{simulationRunId} (the `SimulationServiceGetSimulationRun` operationId).
	SimulationServiceGetSimulationRunWithResponse(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*SimulationServiceGetSimulationRunResponse, error)

	// SimulationServiceGetSimulationRunSummaryWithResponse GetSimulationRunSummary
	//
	// Returns the graded outcome of a finished run: pass/fail counts, what went
	//  well, what to improve, flagged issues with suggestions, and the per-job
	//  chat history. FailedPrecondition while the run is still going; NotFound if
	//  the run finished without a summary.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/simulation-runs/{simulationRunId}/summary (the `SimulationServiceGetSimulationRunSummary` operationId).
	SimulationServiceGetSimulationRunSummaryWithResponse(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*SimulationServiceGetSimulationRunSummaryResponse, error)

	// SimulationServiceCancelSimulationRunWithResponse CancelSimulationRun
	//
	// Stops a run that has not finished. Cancelling a run that already finished
	//  succeeds without effect.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:cancel (the `SimulationServiceCancelSimulationRun` operationId).
	SimulationServiceCancelSimulationRunWithResponse(ctx context.Context, projectId string, simulationRunId string, reqEditors ...RequestEditorFn) (*SimulationServiceCancelSimulationRunResponse, error)

	// SimulationServiceConfirmSimulationSourceUploadWithBodyWithResponse ConfirmSimulationSourceUpload
	//
	// Marks the agent source as uploaded and starts scenario generation; the run
	//  moves to GENERATING, then RUNNING once the scenarios exist. Only valid
	//  while the run is `PENDING_UPLOAD`, so a repeated call fails.
	//
	// 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 /v0/projects/{projectId}/simulation-runs/{simulationRunId}:confirmSourceUpload (the `SimulationServiceConfirmSimulationSourceUpload` operationId).
	SimulationServiceConfirmSimulationSourceUploadWithBodyWithResponse(ctx context.Context, projectId string, simulationRunId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SimulationServiceConfirmSimulationSourceUploadResponse, error)

	// SimulationServiceConfirmSimulationSourceUploadWithResponse ConfirmSimulationSourceUpload
	//
	// Marks the agent source as uploaded and starts scenario generation; the run
	//  moves to GENERATING, then RUNNING once the scenarios exist. Only valid
	//  while the run is `PENDING_UPLOAD`, so a repeated call fails.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/projects/{projectId}/simulation-runs/{simulationRunId}:confirmSourceUpload (the `SimulationServiceConfirmSimulationSourceUpload` operationId).
	SimulationServiceConfirmSimulationSourceUploadWithResponse(ctx context.Context, projectId string, simulationRunId string, body SimulationServiceConfirmSimulationSourceUploadJSONRequestBody, reqEditors ...RequestEditorFn) (*SimulationServiceConfirmSimulationSourceUploadResponse, error)

	// SimulationServiceCountSimulationRunsWithResponse CountSimulationRuns
	//
	// Buckets the runs ListSimulationRuns would return over [startTime, endTime)
	//  into a histogram. It takes the same filters over the same window, so the
	//  bars and the rows beneath them always describe one set. Both bounds are
	//  required and endTime must be after startTime.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/simulation-runs:counts (the `SimulationServiceCountSimulationRuns` operationId).
	SimulationServiceCountSimulationRunsWithResponse(ctx context.Context, projectId string, params *SimulationServiceCountSimulationRunsParams, reqEditors ...RequestEditorFn) (*SimulationServiceCountSimulationRunsResponse, error)

	// ThreadServiceListThreadsWithResponse ListThreads
	//
	// Lists the threads of one scope, newest first.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/threads (the `ThreadServiceListThreads` operationId).
	ThreadServiceListThreadsWithResponse(ctx context.Context, projectId string, params *ThreadServiceListThreadsParams, reqEditors ...RequestEditorFn) (*ThreadServiceListThreadsResponse, error)

	// ThreadServiceCreateThreadWithBodyWithResponse CreateThread
	//
	// Creates a thread and its database.
	//
	// 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 /v0/projects/{projectId}/threads (the `ThreadServiceCreateThread` operationId).
	ThreadServiceCreateThreadWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ThreadServiceCreateThreadResponse, error)

	// ThreadServiceCreateThreadWithResponse CreateThread
	//
	// Creates a thread and its database.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/projects/{projectId}/threads (the `ThreadServiceCreateThread` operationId).
	ThreadServiceCreateThreadWithResponse(ctx context.Context, projectId string, body ThreadServiceCreateThreadJSONRequestBody, reqEditors ...RequestEditorFn) (*ThreadServiceCreateThreadResponse, error)

	// ThreadServiceDeleteThreadWithResponse DeleteThread
	//
	// Deletes the thread and its database.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/projects/{projectId}/threads/{threadId} (the `ThreadServiceDeleteThread` operationId).
	ThreadServiceDeleteThreadWithResponse(ctx context.Context, projectId string, threadId string, reqEditors ...RequestEditorFn) (*ThreadServiceDeleteThreadResponse, error)

	// ThreadServiceGetThreadWithResponse GetThread
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/threads/{threadId} (the `ThreadServiceGetThread` operationId).
	ThreadServiceGetThreadWithResponse(ctx context.Context, projectId string, threadId string, reqEditors ...RequestEditorFn) (*ThreadServiceGetThreadResponse, error)

	// ThreadServiceUpdateThreadWithBodyWithResponse UpdateThread
	//
	// Merges attributes (an empty value deletes the entry) and sets the idle TTL.
	//  Every update counts as activity and pushes expiresAt out.
	//
	// 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 /v0/projects/{projectId}/threads/{threadId} (the `ThreadServiceUpdateThread` operationId).
	ThreadServiceUpdateThreadWithBodyWithResponse(ctx context.Context, projectId string, threadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ThreadServiceUpdateThreadResponse, error)

	// ThreadServiceUpdateThreadWithResponse UpdateThread
	//
	// Merges attributes (an empty value deletes the entry) and sets the idle TTL.
	//  Every update counts as activity and pushes expiresAt out.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/projects/{projectId}/threads/{threadId} (the `ThreadServiceUpdateThread` operationId).
	ThreadServiceUpdateThreadWithResponse(ctx context.Context, projectId string, threadId string, body ThreadServiceUpdateThreadJSONRequestBody, reqEditors ...RequestEditorFn) (*ThreadServiceUpdateThreadResponse, error)

	// ThreadServiceGetThreadItemsWithResponse GetThreadItems
	//
	// Returns the chat items in the thread, oldest first.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/threads/{threadId}/items (the `ThreadServiceGetThreadItems` operationId).
	ThreadServiceGetThreadItemsWithResponse(ctx context.Context, projectId string, threadId string, params *ThreadServiceGetThreadItemsParams, reqEditors ...RequestEditorFn) (*ThreadServiceGetThreadItemsResponse, error)

	// ThreadServiceGetThreadTasksWithResponse GetThreadTasks
	//
	// Returns the background tasks in the thread, oldest first.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/threads/{threadId}/tasks (the `ThreadServiceGetThreadTasks` operationId).
	ThreadServiceGetThreadTasksWithResponse(ctx context.Context, projectId string, threadId string, params *ThreadServiceGetThreadTasksParams, reqEditors ...RequestEditorFn) (*ThreadServiceGetThreadTasksResponse, error)

	// ProjectServiceCreateTokenWithBodyWithResponse CreateToken
	//
	// Mints a short-lived LiveKit access token for the project, signed
	//  server-side, so user-authenticated clients can call LiveKit server APIs
	//  (rooms, SIP, egress, …) or join rooms without holding an API secret.
	//
	// 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 /v0/projects/{projectId}/tokens (the `ProjectServiceCreateToken` operationId).
	ProjectServiceCreateTokenWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceCreateTokenResponse, error)

	// ProjectServiceCreateTokenWithResponse CreateToken
	//
	// Mints a short-lived LiveKit access token for the project, signed
	//  server-side, so user-authenticated clients can call LiveKit server APIs
	//  (rooms, SIP, egress, …) or join rooms without holding an API secret.
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/projects/{projectId}/tokens (the `ProjectServiceCreateToken` operationId).
	ProjectServiceCreateTokenWithResponse(ctx context.Context, projectId string, body ProjectServiceCreateTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceCreateTokenResponse, error)

	// ProjectServiceListWebhookEventsWithResponse ListWebhookEvents
	//
	// Lists the event names that the webhooks of a project can receive. The list
	//  is always one page.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/webhook-events (the `ProjectServiceListWebhookEvents` operationId).
	ProjectServiceListWebhookEventsWithResponse(ctx context.Context, projectId string, params *ProjectServiceListWebhookEventsParams, reqEditors ...RequestEditorFn) (*ProjectServiceListWebhookEventsResponse, error)

	// ProjectServiceListWebhooksWithResponse ListWebhooks
	//
	// Lists the webhook destinations for the project, in the order that they
	//  were added. The list is always one page.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/projects/{projectId}/webhooks (the `ProjectServiceListWebhooks` operationId).
	ProjectServiceListWebhooksWithResponse(ctx context.Context, projectId string, params *ProjectServiceListWebhooksParams, reqEditors ...RequestEditorFn) (*ProjectServiceListWebhooksResponse, error)

	// ProjectServiceCreateWebhookWithBodyWithResponse CreateWebhook
	//
	// 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 /v0/projects/{projectId}/webhooks (the `ProjectServiceCreateWebhook` operationId).
	ProjectServiceCreateWebhookWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceCreateWebhookResponse, error)

	// ProjectServiceCreateWebhookWithResponse CreateWebhook
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/projects/{projectId}/webhooks (the `ProjectServiceCreateWebhook` operationId).
	ProjectServiceCreateWebhookWithResponse(ctx context.Context, projectId string, body ProjectServiceCreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceCreateWebhookResponse, error)

	// ProjectServiceDeleteWebhookWithResponse DeleteWebhook
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceDeleteWebhook` operationId).
	ProjectServiceDeleteWebhookWithResponse(ctx context.Context, projectId string, webhookId string, reqEditors ...RequestEditorFn) (*ProjectServiceDeleteWebhookResponse, error)

	// ProjectServiceUpdateWebhookWithBodyWithResponse UpdateWebhook
	//
	// 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 /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceUpdateWebhook` operationId).
	ProjectServiceUpdateWebhookWithBodyWithResponse(ctx context.Context, projectId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateWebhookResponse, error)

	// ProjectServiceUpdateWebhookWithResponse UpdateWebhook
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/projects/{projectId}/webhooks/{webhookId} (the `ProjectServiceUpdateWebhook` operationId).
	ProjectServiceUpdateWebhookWithResponse(ctx context.Context, projectId string, webhookId string, body ProjectServiceUpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceUpdateWebhookResponse, error)

	// ProjectServiceSendTestWebhookWithBodyWithResponse SendTestWebhook
	//
	// 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 /v0/projects/{projectId}/webhooks/{webhookId}:test (the `ProjectServiceSendTestWebhook` operationId).
	ProjectServiceSendTestWebhookWithBodyWithResponse(ctx context.Context, projectId string, webhookId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProjectServiceSendTestWebhookResponse, error)

	// ProjectServiceSendTestWebhookWithResponse SendTestWebhook
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/projects/{projectId}/webhooks/{webhookId}:test (the `ProjectServiceSendTestWebhook` operationId).
	ProjectServiceSendTestWebhookWithResponse(ctx context.Context, projectId string, webhookId string, body ProjectServiceSendTestWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*ProjectServiceSendTestWebhookResponse, error)

	// UserServiceListUsersWithResponse ListUsers
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/users (the `UserServiceListUsers` operationId).
	UserServiceListUsersWithResponse(ctx context.Context, params *UserServiceListUsersParams, reqEditors ...RequestEditorFn) (*UserServiceListUsersResponse, error)

	// UserServiceGetCurrentUserWithResponse GetCurrentUser
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/users/me (the `UserServiceGetCurrentUser` operationId).
	UserServiceGetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserServiceGetCurrentUserResponse, error)

	// UserServiceGetUserWithResponse GetUser
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/users/{userId} (the `UserServiceGetUser` operationId).
	UserServiceGetUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*UserServiceGetUserResponse, error)

	// WorkspaceServiceGetInviteWithResponse GetInvite
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/workspace-invites/{inviteToken} (the `WorkspaceServiceGetInvite` operationId).
	WorkspaceServiceGetInviteWithResponse(ctx context.Context, inviteToken string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetInviteResponse, error)

	// WorkspaceServiceAnswerInviteWithBodyWithResponse AnswerInvite
	//
	// 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 /v0/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
	WorkspaceServiceAnswerInviteWithBodyWithResponse(ctx context.Context, inviteToken string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceAnswerInviteResponse, error)

	// WorkspaceServiceAnswerInviteWithResponse AnswerInvite
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/workspace-invites/{inviteToken}:answer (the `WorkspaceServiceAnswerInvite` operationId).
	WorkspaceServiceAnswerInviteWithResponse(ctx context.Context, inviteToken string, body WorkspaceServiceAnswerInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceAnswerInviteResponse, error)

	// WorkspaceServiceListWorkspacesWithResponse ListWorkspaces
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/workspaces (the `WorkspaceServiceListWorkspaces` operationId).
	WorkspaceServiceListWorkspacesWithResponse(ctx context.Context, params *WorkspaceServiceListWorkspacesParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListWorkspacesResponse, error)

	// WorkspaceServiceCreateWorkspaceWithBodyWithResponse CreateWorkspace
	//
	// 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 /v0/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
	WorkspaceServiceCreateWorkspaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateWorkspaceResponse, error)

	// WorkspaceServiceCreateWorkspaceWithResponse CreateWorkspace
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/workspaces (the `WorkspaceServiceCreateWorkspace` operationId).
	WorkspaceServiceCreateWorkspaceWithResponse(ctx context.Context, body WorkspaceServiceCreateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateWorkspaceResponse, error)

	// WorkspaceServiceDeleteWorkspaceWithResponse DeleteWorkspace
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/workspaces/{workspaceId} (the `WorkspaceServiceDeleteWorkspace` operationId).
	WorkspaceServiceDeleteWorkspaceWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteWorkspaceResponse, error)

	// WorkspaceServiceGetWorkspaceWithResponse GetWorkspace
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/workspaces/{workspaceId} (the `WorkspaceServiceGetWorkspace` operationId).
	WorkspaceServiceGetWorkspaceWithResponse(ctx context.Context, workspaceId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetWorkspaceResponse, error)

	// WorkspaceServiceUpdateWorkspaceWithBodyWithResponse UpdateWorkspace
	//
	// 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 /v0/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
	WorkspaceServiceUpdateWorkspaceWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateWorkspaceResponse, error)

	// WorkspaceServiceUpdateWorkspaceWithResponse UpdateWorkspace
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/workspaces/{workspaceId} (the `WorkspaceServiceUpdateWorkspace` operationId).
	WorkspaceServiceUpdateWorkspaceWithResponse(ctx context.Context, workspaceId string, body WorkspaceServiceUpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateWorkspaceResponse, error)

	// WorkspaceServiceListInvitesWithResponse ListInvites
	//
	// Lists the unexpired invites of a workspace, ordered by email.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceListInvites` operationId).
	WorkspaceServiceListInvitesWithResponse(ctx context.Context, workspaceId string, params *WorkspaceServiceListInvitesParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListInvitesResponse, error)

	// WorkspaceServiceCreateInviteWithBodyWithResponse CreateInvite
	//
	// 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 /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
	WorkspaceServiceCreateInviteWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateInviteResponse, error)

	// WorkspaceServiceCreateInviteWithResponse CreateInvite
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/workspaces/{workspaceId}/invites (the `WorkspaceServiceCreateInvite` operationId).
	WorkspaceServiceCreateInviteWithResponse(ctx context.Context, workspaceId string, body WorkspaceServiceCreateInviteJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateInviteResponse, error)

	// WorkspaceServiceDeleteInviteWithResponse DeleteInvite
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/workspaces/{workspaceId}/invites/{email} (the `WorkspaceServiceDeleteInvite` operationId).
	WorkspaceServiceDeleteInviteWithResponse(ctx context.Context, workspaceId string, email string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteInviteResponse, error)

	// WorkspaceServiceListMembersWithResponse ListMembers
	//
	// Lists the workspace members, ordered by user ID.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/workspaces/{workspaceId}/members (the `WorkspaceServiceListMembers` operationId).
	WorkspaceServiceListMembersWithResponse(ctx context.Context, workspaceId string, params *WorkspaceServiceListMembersParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListMembersResponse, error)

	// WorkspaceServiceDeleteMemberWithResponse DeleteMember
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceDeleteMember` operationId).
	WorkspaceServiceDeleteMemberWithResponse(ctx context.Context, workspaceId string, userId string, params *WorkspaceServiceDeleteMemberParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteMemberResponse, error)

	// WorkspaceServiceGetMemberWithResponse GetMember
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceGetMember` operationId).
	WorkspaceServiceGetMemberWithResponse(ctx context.Context, workspaceId string, userId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetMemberResponse, error)

	// WorkspaceServiceUpdateMemberWithBodyWithResponse UpdateMember
	//
	// 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 /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
	WorkspaceServiceUpdateMemberWithBodyWithResponse(ctx context.Context, workspaceId string, userId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateMemberResponse, error)

	// WorkspaceServiceUpdateMemberWithResponse UpdateMember
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with PATCH /v0/workspaces/{workspaceId}/members/{userId} (the `WorkspaceServiceUpdateMember` operationId).
	WorkspaceServiceUpdateMemberWithResponse(ctx context.Context, workspaceId string, userId string, body WorkspaceServiceUpdateMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceUpdateMemberResponse, error)

	// WorkspaceServiceListProjectsWithResponse ListProjects
	//
	// The projects in a workspace. These return the same Project message as
	//  the project endpoints.
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceListProjects` operationId).
	WorkspaceServiceListProjectsWithResponse(ctx context.Context, workspaceId string, params *WorkspaceServiceListProjectsParams, reqEditors ...RequestEditorFn) (*WorkspaceServiceListProjectsResponse, error)

	// WorkspaceServiceCreateProjectWithBodyWithResponse CreateProject
	//
	// 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 /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
	WorkspaceServiceCreateProjectWithBodyWithResponse(ctx context.Context, workspaceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateProjectResponse, error)

	// WorkspaceServiceCreateProjectWithResponse CreateProject
	//
	// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).
	//
	// Corresponds with POST /v0/workspaces/{workspaceId}/projects (the `WorkspaceServiceCreateProject` operationId).
	WorkspaceServiceCreateProjectWithResponse(ctx context.Context, workspaceId string, body WorkspaceServiceCreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkspaceServiceCreateProjectResponse, error)

	// WorkspaceServiceDeleteProjectWithResponse DeleteProject
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with DELETE /v0/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceDeleteProject` operationId).
	WorkspaceServiceDeleteProjectWithResponse(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceDeleteProjectResponse, error)

	// WorkspaceServiceGetProjectWithResponse GetProject
	//
	// Returns a wrapper object for the known response body format(s).
	//
	// Corresponds with GET /v0/workspaces/{workspaceId}/projects/{projectId} (the `WorkspaceServiceGetProject` operationId).
	WorkspaceServiceGetProjectWithResponse(ctx context.Context, workspaceId string, projectId string, reqEditors ...RequestEditorFn) (*WorkspaceServiceGetProjectResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CloudProtocolPIIRedactionCategory

type CloudProtocolPIIRedactionCategory string

CloudProtocolPIIRedactionCategory The types of personally identifiable information (PII) a project can redact.

Choose the categories with `piiRedactionCategories` on a project. When that
list is empty and `enablePiiRedaction` is true, the project redacts a default
set.

Each name maps to the identifier the redaction model emits: strip the
`PII_REDACTION_CATEGORY_` prefix and lowercase the rest.
const (
	PIIREDACTIONCATEGORYACCOUNTNUMBER        CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_ACCOUNT_NUMBER"
	PIIREDACTIONCATEGORYAGE                  CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_AGE"
	PIIREDACTIONCATEGORYBANKACCOUNT          CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_BANK_ACCOUNT"
	PIIREDACTIONCATEGORYCREDITCARD           CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_CREDIT_CARD"
	PIIREDACTIONCATEGORYCREDITCARDEXPIRATION CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_CREDIT_CARD_EXPIRATION"
	PIIREDACTIONCATEGORYCVV                  CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_CVV"
	PIIREDACTIONCATEGORYDATE                 CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_DATE"
	PIIREDACTIONCATEGORYDOB                  CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_DOB"
	PIIREDACTIONCATEGORYDRIVERLICENSE        CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_DRIVER_LICENSE"
	PIIREDACTIONCATEGORYEDUCATIONLEVEL       CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_EDUCATION_LEVEL"
	PIIREDACTIONCATEGORYEMAILADDRESS         CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_EMAIL_ADDRESS"
	PIIREDACTIONCATEGORYGOVERNMENTID         CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_GOVERNMENT_ID"
	PIIREDACTIONCATEGORYHEALTHCARENUMBER     CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_HEALTHCARE_NUMBER"
	PIIREDACTIONCATEGORYIPADDRESS            CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_IP_ADDRESS"
	PIIREDACTIONCATEGORYLANGUAGE             CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LANGUAGE"
	PIIREDACTIONCATEGORYLICENSEPLATE         CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LICENSE_PLATE"
	PIIREDACTIONCATEGORYLOCATION             CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION"
	PIIREDACTIONCATEGORYLOCATIONADDRESS      CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION_ADDRESS"
	PIIREDACTIONCATEGORYLOCATIONCITY         CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION_CITY"
	PIIREDACTIONCATEGORYLOCATIONCOORDINATE   CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION_COORDINATE"
	PIIREDACTIONCATEGORYLOCATIONCOUNTRY      CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION_COUNTRY"
	PIIREDACTIONCATEGORYLOCATIONSTATE        CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION_STATE"
	PIIREDACTIONCATEGORYLOCATIONZIP          CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_LOCATION_ZIP"
	PIIREDACTIONCATEGORYNAME                 CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_NAME"
	PIIREDACTIONCATEGORYNAMEFAMILY           CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_NAME_FAMILY"
	PIIREDACTIONCATEGORYNAMEGIVEN            CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_NAME_GIVEN"
	PIIREDACTIONCATEGORYNUMERICALPII         CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_NUMERICAL_PII"
	PIIREDACTIONCATEGORYOCCUPATION           CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_OCCUPATION"
	PIIREDACTIONCATEGORYORGANIZATION         CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_ORGANIZATION"
	PIIREDACTIONCATEGORYORIGIN               CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_ORIGIN"
	PIIREDACTIONCATEGORYPASSPORTNUMBER       CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_PASSPORT_NUMBER"
	PIIREDACTIONCATEGORYPASSWORD             CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_PASSWORD"
	PIIREDACTIONCATEGORYPHONENUMBER          CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_PHONE_NUMBER"
	PIIREDACTIONCATEGORYPOLITICALAFFILIATION CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_POLITICAL_AFFILIATION"
	PIIREDACTIONCATEGORYRELIGION             CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_RELIGION"
	PIIREDACTIONCATEGORYROUTINGNUMBER        CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_ROUTING_NUMBER"
	PIIREDACTIONCATEGORYSSN                  CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_SSN"
	PIIREDACTIONCATEGORYSWIFTCODE            CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_SWIFT_CODE"
	PIIREDACTIONCATEGORYUNSPECIFIED          CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_UNSPECIFIED"
	PIIREDACTIONCATEGORYURL                  CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_URL"
	PIIREDACTIONCATEGORYUSERNAME             CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_USERNAME"
	PIIREDACTIONCATEGORYVEHICLEID            CloudProtocolPIIRedactionCategory = "PII_REDACTION_CATEGORY_VEHICLE_ID"
)

Defines values for CloudProtocolPIIRedactionCategory.

func (CloudProtocolPIIRedactionCategory) Valid

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

type DatabaseServiceCreateDatabaseJSONBody added in v2.19.1

type DatabaseServiceCreateDatabaseJSONBody struct {
	// Ttl Unset: never expires. Otherwise clamped to the server cap, and never
	//  extended.
	Ttl *GoogleProtobufDuration `json:"ttl,omitempty"`
}

DatabaseServiceCreateDatabaseJSONBody defines parameters for DatabaseServiceCreateDatabase.

type DatabaseServiceCreateDatabaseJSONRequestBody added in v2.19.1

type DatabaseServiceCreateDatabaseJSONRequestBody DatabaseServiceCreateDatabaseJSONBody

DatabaseServiceCreateDatabaseJSONRequestBody defines body for DatabaseServiceCreateDatabase for application/json ContentType.

type DatabaseServiceCreateDatabaseResponse added in v2.19.1

type DatabaseServiceCreateDatabaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiDatabasesV1DatabasesCreateResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseDatabaseServiceCreateDatabaseResponse added in v2.19.1

func ParseDatabaseServiceCreateDatabaseResponse(rsp *http.Response) (*DatabaseServiceCreateDatabaseResponse, error)

ParseDatabaseServiceCreateDatabaseResponse parses an HTTP response from a DatabaseServiceCreateDatabaseWithResponse call

func (DatabaseServiceCreateDatabaseResponse) ContentType added in v2.19.1

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

func (DatabaseServiceCreateDatabaseResponse) GetBody added in v2.19.1

GetBody returns the raw response body bytes

func (DatabaseServiceCreateDatabaseResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DatabaseServiceCreateDatabaseResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DatabaseServiceCreateDatabaseResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (DatabaseServiceCreateDatabaseResponse) StatusCode added in v2.19.1

StatusCode returns HTTPResponse.StatusCode

type DatabaseServiceDeleteDatabaseResponse added in v2.19.1

type DatabaseServiceDeleteDatabaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiDatabasesV1DatabasesDeleteResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseDatabaseServiceDeleteDatabaseResponse added in v2.19.1

func ParseDatabaseServiceDeleteDatabaseResponse(rsp *http.Response) (*DatabaseServiceDeleteDatabaseResponse, error)

ParseDatabaseServiceDeleteDatabaseResponse parses an HTTP response from a DatabaseServiceDeleteDatabaseWithResponse call

func (DatabaseServiceDeleteDatabaseResponse) ContentType added in v2.19.1

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

func (DatabaseServiceDeleteDatabaseResponse) GetBody added in v2.19.1

GetBody returns the raw response body bytes

func (DatabaseServiceDeleteDatabaseResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DatabaseServiceDeleteDatabaseResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DatabaseServiceDeleteDatabaseResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (DatabaseServiceDeleteDatabaseResponse) StatusCode added in v2.19.1

StatusCode returns HTTPResponse.StatusCode

type DatabaseServiceExportDatabaseResponse added in v2.19.1

type DatabaseServiceExportDatabaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiDatabasesV1DatabasesExportResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseDatabaseServiceExportDatabaseResponse added in v2.19.1

func ParseDatabaseServiceExportDatabaseResponse(rsp *http.Response) (*DatabaseServiceExportDatabaseResponse, error)

ParseDatabaseServiceExportDatabaseResponse parses an HTTP response from a DatabaseServiceExportDatabaseWithResponse call

func (DatabaseServiceExportDatabaseResponse) ContentType added in v2.19.1

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

func (DatabaseServiceExportDatabaseResponse) GetBody added in v2.19.1

GetBody returns the raw response body bytes

func (DatabaseServiceExportDatabaseResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DatabaseServiceExportDatabaseResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DatabaseServiceExportDatabaseResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (DatabaseServiceExportDatabaseResponse) StatusCode added in v2.19.1

StatusCode returns HTTPResponse.StatusCode

type DatabaseServiceGetDatabaseResponse added in v2.19.1

type DatabaseServiceGetDatabaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiDatabasesV1DatabasesGetResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseDatabaseServiceGetDatabaseResponse added in v2.19.1

func ParseDatabaseServiceGetDatabaseResponse(rsp *http.Response) (*DatabaseServiceGetDatabaseResponse, error)

ParseDatabaseServiceGetDatabaseResponse parses an HTTP response from a DatabaseServiceGetDatabaseWithResponse call

func (DatabaseServiceGetDatabaseResponse) ContentType added in v2.19.1

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

func (DatabaseServiceGetDatabaseResponse) GetBody added in v2.19.1

GetBody returns the raw response body bytes

func (DatabaseServiceGetDatabaseResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DatabaseServiceGetDatabaseResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DatabaseServiceGetDatabaseResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (DatabaseServiceGetDatabaseResponse) StatusCode added in v2.19.1

func (r DatabaseServiceGetDatabaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DatabaseServiceListDatabasesParams added in v2.19.1

type DatabaseServiceListDatabasesParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}

DatabaseServiceListDatabasesParams defines parameters for DatabaseServiceListDatabases.

type DatabaseServiceListDatabasesResponse added in v2.19.1

type DatabaseServiceListDatabasesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiDatabasesV1DatabasesListResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseDatabaseServiceListDatabasesResponse added in v2.19.1

func ParseDatabaseServiceListDatabasesResponse(rsp *http.Response) (*DatabaseServiceListDatabasesResponse, error)

ParseDatabaseServiceListDatabasesResponse parses an HTTP response from a DatabaseServiceListDatabasesWithResponse call

func (DatabaseServiceListDatabasesResponse) ContentType added in v2.19.1

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

func (DatabaseServiceListDatabasesResponse) GetBody added in v2.19.1

GetBody returns the raw response body bytes

func (DatabaseServiceListDatabasesResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (DatabaseServiceListDatabasesResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (DatabaseServiceListDatabasesResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (DatabaseServiceListDatabasesResponse) StatusCode added in v2.19.1

StatusCode returns HTTPResponse.StatusCode

type GoogleProtobufAny added in v2.19.3

type GoogleProtobufAny struct {
	// Type A URL/resource name that uniquely identifies the type of the serialized message.
	Type                 *string                `json:"@type,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

GoogleProtobufAny Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

func (GoogleProtobufAny) Get added in v2.19.3

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

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

func (GoogleProtobufAny) MarshalJSON added in v2.19.3

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

Override default JSON handling for GoogleProtobufAny to handle AdditionalProperties

func (*GoogleProtobufAny) Set added in v2.19.3

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

Setter for additional properties for GoogleProtobufAny

func (*GoogleProtobufAny) UnmarshalJSON added in v2.19.3

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

Override default JSON handling for GoogleProtobufAny to handle AdditionalProperties

type GoogleProtobufDuration added in v2.19.0

type GoogleProtobufDuration = string

GoogleProtobufDuration A span of time as protobuf JSON encodes it: seconds with an "s" suffix, for example "86400s" for a day. Responses carry 0, 3, 6 or 9 fractional digits ("1.500s", "0.000000001s"); requests may use 1 to 9. At most 315576000000 seconds either way. Not an ISO 8601 duration ("P1D" is rejected).

Examples: 86400s, 1.500s, 0.000000001s

type GoogleProtobufStruct added in v2.19.0

type GoogleProtobufStruct map[string]*GoogleProtobufValue

GoogleProtobufStruct A JSON object whose property values may be any JSON value.

type GoogleProtobufTimestamp

type GoogleProtobufTimestamp = time.Time

GoogleProtobufTimestamp A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.

Examples: 2023-01-15T01:30:15.01Z, 2024-12-25T12:00:00Z

type GoogleProtobufValue added in v2.19.0

type GoogleProtobufValue struct {
	// contains filtered or unexported fields
}

GoogleProtobufValue Any JSON value: `null`, number, string, boolean, array, or object.

func (GoogleProtobufValue) AsGoogleProtobufValue1 added in v2.19.0

func (t GoogleProtobufValue) AsGoogleProtobufValue1() (GoogleProtobufValue1, error)

AsGoogleProtobufValue1 returns the union data inside the GoogleProtobufValue as a GoogleProtobufValue1

func (GoogleProtobufValue) AsGoogleProtobufValue2 added in v2.19.0

func (t GoogleProtobufValue) AsGoogleProtobufValue2() (GoogleProtobufValue2, error)

AsGoogleProtobufValue2 returns the union data inside the GoogleProtobufValue as a GoogleProtobufValue2

func (GoogleProtobufValue) AsGoogleProtobufValue3 added in v2.19.0

func (t GoogleProtobufValue) AsGoogleProtobufValue3() (GoogleProtobufValue3, error)

AsGoogleProtobufValue3 returns the union data inside the GoogleProtobufValue as a GoogleProtobufValue3

func (GoogleProtobufValue) AsGoogleProtobufValue4 added in v2.19.0

func (t GoogleProtobufValue) AsGoogleProtobufValue4() (GoogleProtobufValue4, error)

AsGoogleProtobufValue4 returns the union data inside the GoogleProtobufValue as a GoogleProtobufValue4

func (GoogleProtobufValue) AsGoogleProtobufValue5 added in v2.19.0

func (t GoogleProtobufValue) AsGoogleProtobufValue5() (GoogleProtobufValue5, error)

AsGoogleProtobufValue5 returns the union data inside the GoogleProtobufValue as a GoogleProtobufValue5

func (*GoogleProtobufValue) FromGoogleProtobufValue1 added in v2.19.0

func (t *GoogleProtobufValue) FromGoogleProtobufValue1(v GoogleProtobufValue1) error

FromGoogleProtobufValue1 overwrites any union data inside the GoogleProtobufValue as the provided GoogleProtobufValue1

func (*GoogleProtobufValue) FromGoogleProtobufValue2 added in v2.19.0

func (t *GoogleProtobufValue) FromGoogleProtobufValue2(v GoogleProtobufValue2) error

FromGoogleProtobufValue2 overwrites any union data inside the GoogleProtobufValue as the provided GoogleProtobufValue2

func (*GoogleProtobufValue) FromGoogleProtobufValue3 added in v2.19.0

func (t *GoogleProtobufValue) FromGoogleProtobufValue3(v GoogleProtobufValue3) error

FromGoogleProtobufValue3 overwrites any union data inside the GoogleProtobufValue as the provided GoogleProtobufValue3

func (*GoogleProtobufValue) FromGoogleProtobufValue4 added in v2.19.0

func (t *GoogleProtobufValue) FromGoogleProtobufValue4(v GoogleProtobufValue4) error

FromGoogleProtobufValue4 overwrites any union data inside the GoogleProtobufValue as the provided GoogleProtobufValue4

func (*GoogleProtobufValue) FromGoogleProtobufValue5 added in v2.19.0

func (t *GoogleProtobufValue) FromGoogleProtobufValue5(v GoogleProtobufValue5) error

FromGoogleProtobufValue5 overwrites any union data inside the GoogleProtobufValue as the provided GoogleProtobufValue5

func (GoogleProtobufValue) MarshalJSON added in v2.19.0

func (t GoogleProtobufValue) MarshalJSON() ([]byte, error)

func (*GoogleProtobufValue) MergeGoogleProtobufValue1 added in v2.19.0

func (t *GoogleProtobufValue) MergeGoogleProtobufValue1(v GoogleProtobufValue1) error

MergeGoogleProtobufValue1 performs a merge with any union data inside the GoogleProtobufValue, using the provided GoogleProtobufValue1

func (*GoogleProtobufValue) MergeGoogleProtobufValue2 added in v2.19.0

func (t *GoogleProtobufValue) MergeGoogleProtobufValue2(v GoogleProtobufValue2) error

MergeGoogleProtobufValue2 performs a merge with any union data inside the GoogleProtobufValue, using the provided GoogleProtobufValue2

func (*GoogleProtobufValue) MergeGoogleProtobufValue3 added in v2.19.0

func (t *GoogleProtobufValue) MergeGoogleProtobufValue3(v GoogleProtobufValue3) error

MergeGoogleProtobufValue3 performs a merge with any union data inside the GoogleProtobufValue, using the provided GoogleProtobufValue3

func (*GoogleProtobufValue) MergeGoogleProtobufValue4 added in v2.19.0

func (t *GoogleProtobufValue) MergeGoogleProtobufValue4(v GoogleProtobufValue4) error

MergeGoogleProtobufValue4 performs a merge with any union data inside the GoogleProtobufValue, using the provided GoogleProtobufValue4

func (*GoogleProtobufValue) MergeGoogleProtobufValue5 added in v2.19.0

func (t *GoogleProtobufValue) MergeGoogleProtobufValue5(v GoogleProtobufValue5) error

MergeGoogleProtobufValue5 performs a merge with any union data inside the GoogleProtobufValue, using the provided GoogleProtobufValue5

func (*GoogleProtobufValue) UnmarshalJSON added in v2.19.0

func (t *GoogleProtobufValue) UnmarshalJSON(b []byte) error

type GoogleProtobufValue1 added in v2.19.0

type GoogleProtobufValue1 = float32

GoogleProtobufValue1 defines model for GoogleProtobufValue.1.

type GoogleProtobufValue2 added in v2.19.0

type GoogleProtobufValue2 = string

GoogleProtobufValue2 defines model for GoogleProtobufValue.2.

type GoogleProtobufValue3 added in v2.19.0

type GoogleProtobufValue3 = bool

GoogleProtobufValue3 defines model for GoogleProtobufValue.3.

type GoogleProtobufValue4 added in v2.19.0

type GoogleProtobufValue4 = []interface{}

GoogleProtobufValue4 defines model for GoogleProtobufValue.4.

type GoogleProtobufValue5 added in v2.19.0

type GoogleProtobufValue5 map[string]interface{}

GoogleProtobufValue5 defines model for GoogleProtobufValue.5.

type GoogleRpcStatus added in v2.19.3

type GoogleRpcStatus struct {
	// Code The status code, which should be an enum value of google.rpc.Code.
	Code *int32 `json:"code,omitempty"`

	// Details A list of messages that carry the error details.
	Details *[]GoogleProtobufAny `json:"details,omitempty"`

	// Message A developer-facing error message.
	Message *string `json:"message,omitempty"`
}

GoogleRpcStatus The Status type defines a logical error model suitable for gRPC and REST APIs.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type LivekitAgentAgentConfigUpdate added in v2.19.0

type LivekitAgentAgentConfigUpdate struct {
	CreatedAt    *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
	Id           *string                  `json:"id,omitempty"`
	Instructions *string                  `json:"instructions,omitempty"`
	ToolsAdded   *[]string                `json:"toolsAdded,omitempty"`
	ToolsRemoved *[]string                `json:"toolsRemoved,omitempty"`
}

LivekitAgentAgentConfigUpdate defines model for livekit.agent.AgentConfigUpdate.

type LivekitAgentAgentHandoff added in v2.19.0

type LivekitAgentAgentHandoff struct {
	CreatedAt  *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
	Id         *string                  `json:"id,omitempty"`
	NewAgentId *string                  `json:"newAgentId,omitempty"`
	OldAgentId *string                  `json:"oldAgentId,omitempty"`
}

LivekitAgentAgentHandoff defines model for livekit.agent.AgentHandoff.

type LivekitAgentAgentTaskStatus added in v2.19.1

type LivekitAgentAgentTaskStatus string

LivekitAgentAgentTaskStatus A task is never UNSPECIFIED.

const (
	CANCELED    LivekitAgentAgentTaskStatus = "CANCELED"
	COMPLETED   LivekitAgentAgentTaskStatus = "COMPLETED"
	FAILED      LivekitAgentAgentTaskStatus = "FAILED"
	RUNNING     LivekitAgentAgentTaskStatus = "RUNNING"
	UNSPECIFIED LivekitAgentAgentTaskStatus = "UNSPECIFIED"
)

Defines values for LivekitAgentAgentTaskStatus.

func (LivekitAgentAgentTaskStatus) Valid added in v2.19.1

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

type LivekitAgentAgentTaskTask added in v2.19.1

type LivekitAgentAgentTaskTask struct {
	// Name The task's name, as the agent defines it.
	Name      *string                      `json:"name,omitempty"`
	Status    *LivekitAgentAgentTaskStatus `json:"status,omitempty"`
	TaskId    *string                      `json:"taskId,omitempty"`
	ThreadId  *string                      `json:"threadId,omitempty"`
	UpdatedAt *GoogleProtobufTimestamp     `json:"updatedAt,omitempty"`
}

LivekitAgentAgentTaskTask defines model for livekit.agent.AgentTask.Task.

type LivekitAgentAgentThreadItem added in v2.19.1

type LivekitAgentAgentThreadItem struct {
	Agent *string                          `json:"agent,omitempty"`
	Item  *LivekitAgentChatContextChatItem `json:"item,omitempty"`

	// MessageId The A2A message the item came from.
	MessageId *string `json:"messageId,omitempty"`

	// Seq Position in the agent's history.
	Seq *string `json:"seq,omitempty"`
}

LivekitAgentAgentThreadItem One chat item of an agent. Stored as the JSON of

ChatContext.ChatItem (items.payload in thread_schema_v1.sql).

type LivekitAgentAgentThreadThread added in v2.19.1

type LivekitAgentAgentThreadThread struct {
	Attributes *map[string]string       `json:"attributes,omitempty"`
	CreatedAt  *GoogleProtobufTimestamp `json:"createdAt,omitempty"`

	// DatabaseId The thread's database ("DB_..."), created with the thread.
	DatabaseId *string `json:"databaseId,omitempty"`

	// ExpiresAt last_active + idle_ttl; every update pushes it out. The thread and its
	//  database are deleted once it passes.
	ExpiresAt  *GoogleProtobufTimestamp `json:"expiresAt,omitempty"`
	IdleTtl    *GoogleProtobufDuration  `json:"idleTtl,omitempty"`
	LastActive *GoogleProtobufTimestamp `json:"lastActive,omitempty"`
	Scope      *string                  `json:"scope,omitempty"`
	ThreadId   *string                  `json:"threadId,omitempty"`
}

LivekitAgentAgentThreadThread defines model for livekit.agent.AgentThread.Thread.

type LivekitAgentChatContext added in v2.19.0

type LivekitAgentChatContext struct {
	Items *[]LivekitAgentChatContextChatItem `json:"items,omitempty"`
}

LivekitAgentChatContext defines model for livekit.agent.ChatContext.

type LivekitAgentChatContextChatItem added in v2.19.0

type LivekitAgentChatContextChatItem struct {
	// contains filtered or unexported fields
}

LivekitAgentChatContextChatItem defines model for livekit.agent.ChatContext.ChatItem.

func (LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem0 added in v2.19.0

func (t LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem0() (LivekitAgentChatContextChatItem0, error)

AsLivekitAgentChatContextChatItem0 returns the union data inside the LivekitAgentChatContextChatItem as a LivekitAgentChatContextChatItem0

func (LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem1 added in v2.19.0

func (t LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem1() (LivekitAgentChatContextChatItem1, error)

AsLivekitAgentChatContextChatItem1 returns the union data inside the LivekitAgentChatContextChatItem as a LivekitAgentChatContextChatItem1

func (LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem2 added in v2.19.0

func (t LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem2() (LivekitAgentChatContextChatItem2, error)

AsLivekitAgentChatContextChatItem2 returns the union data inside the LivekitAgentChatContextChatItem as a LivekitAgentChatContextChatItem2

func (LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem3 added in v2.19.0

func (t LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem3() (LivekitAgentChatContextChatItem3, error)

AsLivekitAgentChatContextChatItem3 returns the union data inside the LivekitAgentChatContextChatItem as a LivekitAgentChatContextChatItem3

func (LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem4 added in v2.19.0

func (t LivekitAgentChatContextChatItem) AsLivekitAgentChatContextChatItem4() (LivekitAgentChatContextChatItem4, error)

AsLivekitAgentChatContextChatItem4 returns the union data inside the LivekitAgentChatContextChatItem as a LivekitAgentChatContextChatItem4

func (*LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem0 added in v2.19.0

func (t *LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem0(v LivekitAgentChatContextChatItem0) error

FromLivekitAgentChatContextChatItem0 overwrites any union data inside the LivekitAgentChatContextChatItem as the provided LivekitAgentChatContextChatItem0

func (*LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem1 added in v2.19.0

func (t *LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem1(v LivekitAgentChatContextChatItem1) error

FromLivekitAgentChatContextChatItem1 overwrites any union data inside the LivekitAgentChatContextChatItem as the provided LivekitAgentChatContextChatItem1

func (*LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem2 added in v2.19.0

func (t *LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem2(v LivekitAgentChatContextChatItem2) error

FromLivekitAgentChatContextChatItem2 overwrites any union data inside the LivekitAgentChatContextChatItem as the provided LivekitAgentChatContextChatItem2

func (*LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem3 added in v2.19.0

func (t *LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem3(v LivekitAgentChatContextChatItem3) error

FromLivekitAgentChatContextChatItem3 overwrites any union data inside the LivekitAgentChatContextChatItem as the provided LivekitAgentChatContextChatItem3

func (*LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem4 added in v2.19.0

func (t *LivekitAgentChatContextChatItem) FromLivekitAgentChatContextChatItem4(v LivekitAgentChatContextChatItem4) error

FromLivekitAgentChatContextChatItem4 overwrites any union data inside the LivekitAgentChatContextChatItem as the provided LivekitAgentChatContextChatItem4

func (LivekitAgentChatContextChatItem) MarshalJSON added in v2.19.0

func (t LivekitAgentChatContextChatItem) MarshalJSON() ([]byte, error)

func (*LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem0 added in v2.19.0

func (t *LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem0(v LivekitAgentChatContextChatItem0) error

MergeLivekitAgentChatContextChatItem0 performs a merge with any union data inside the LivekitAgentChatContextChatItem, using the provided LivekitAgentChatContextChatItem0

func (*LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem1 added in v2.19.0

func (t *LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem1(v LivekitAgentChatContextChatItem1) error

MergeLivekitAgentChatContextChatItem1 performs a merge with any union data inside the LivekitAgentChatContextChatItem, using the provided LivekitAgentChatContextChatItem1

func (*LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem2 added in v2.19.0

func (t *LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem2(v LivekitAgentChatContextChatItem2) error

MergeLivekitAgentChatContextChatItem2 performs a merge with any union data inside the LivekitAgentChatContextChatItem, using the provided LivekitAgentChatContextChatItem2

func (*LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem3 added in v2.19.0

func (t *LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem3(v LivekitAgentChatContextChatItem3) error

MergeLivekitAgentChatContextChatItem3 performs a merge with any union data inside the LivekitAgentChatContextChatItem, using the provided LivekitAgentChatContextChatItem3

func (*LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem4 added in v2.19.0

func (t *LivekitAgentChatContextChatItem) MergeLivekitAgentChatContextChatItem4(v LivekitAgentChatContextChatItem4) error

MergeLivekitAgentChatContextChatItem4 performs a merge with any union data inside the LivekitAgentChatContextChatItem, using the provided LivekitAgentChatContextChatItem4

func (*LivekitAgentChatContextChatItem) UnmarshalJSON added in v2.19.0

func (t *LivekitAgentChatContextChatItem) UnmarshalJSON(b []byte) error

type LivekitAgentChatContextChatItem0 added in v2.19.0

type LivekitAgentChatContextChatItem0 struct {
	AgentConfigUpdate *LivekitAgentAgentConfigUpdate `json:"agentConfigUpdate,omitempty"`
}

LivekitAgentChatContextChatItem0 defines model for LivekitAgentChatContextChatItem.0.

type LivekitAgentChatContextChatItem1 added in v2.19.0

type LivekitAgentChatContextChatItem1 struct {
	AgentHandoff *LivekitAgentAgentHandoff `json:"agentHandoff,omitempty"`
}

LivekitAgentChatContextChatItem1 defines model for LivekitAgentChatContextChatItem.1.

type LivekitAgentChatContextChatItem2 added in v2.19.0

type LivekitAgentChatContextChatItem2 struct {
	FunctionCall *LivekitAgentFunctionCall `json:"functionCall,omitempty"`
}

LivekitAgentChatContextChatItem2 defines model for LivekitAgentChatContextChatItem.2.

type LivekitAgentChatContextChatItem3 added in v2.19.0

type LivekitAgentChatContextChatItem3 struct {
	FunctionCallOutput *LivekitAgentFunctionCallOutput `json:"functionCallOutput,omitempty"`
}

LivekitAgentChatContextChatItem3 defines model for LivekitAgentChatContextChatItem.3.

type LivekitAgentChatContextChatItem4 added in v2.19.0

type LivekitAgentChatContextChatItem4 struct {
	Message *LivekitAgentChatMessage `json:"message,omitempty"`
}

LivekitAgentChatContextChatItem4 defines model for LivekitAgentChatContextChatItem.4.

type LivekitAgentChatMessage added in v2.19.0

type LivekitAgentChatMessage struct {
	Content              *[]LivekitAgentChatMessageChatContent `json:"content,omitempty"`
	CreatedAt            *GoogleProtobufTimestamp              `json:"createdAt,omitempty"`
	Extra                *map[string]string                    `json:"extra,omitempty"`
	Id                   *string                               `json:"id,omitempty"`
	Interrupted          *bool                                 `json:"interrupted,omitempty"`
	Metrics              *LivekitAgentMetricsReport            `json:"metrics,omitempty"`
	Role                 *LivekitAgentChatRole                 `json:"role,omitempty"`
	TranscriptConfidence *float64                              `json:"transcriptConfidence,omitempty"`
}

LivekitAgentChatMessage defines model for livekit.agent.ChatMessage.

type LivekitAgentChatMessageChatContent added in v2.19.0

type LivekitAgentChatMessageChatContent struct {
	// contains filtered or unexported fields
}

LivekitAgentChatMessageChatContent defines model for livekit.agent.ChatMessage.ChatContent.

func (LivekitAgentChatMessageChatContent) AsLivekitAgentChatMessageChatContent0 added in v2.19.0

func (t LivekitAgentChatMessageChatContent) AsLivekitAgentChatMessageChatContent0() (LivekitAgentChatMessageChatContent0, error)

AsLivekitAgentChatMessageChatContent0 returns the union data inside the LivekitAgentChatMessageChatContent as a LivekitAgentChatMessageChatContent0

func (*LivekitAgentChatMessageChatContent) FromLivekitAgentChatMessageChatContent0 added in v2.19.0

func (t *LivekitAgentChatMessageChatContent) FromLivekitAgentChatMessageChatContent0(v LivekitAgentChatMessageChatContent0) error

FromLivekitAgentChatMessageChatContent0 overwrites any union data inside the LivekitAgentChatMessageChatContent as the provided LivekitAgentChatMessageChatContent0

func (LivekitAgentChatMessageChatContent) MarshalJSON added in v2.19.0

func (t LivekitAgentChatMessageChatContent) MarshalJSON() ([]byte, error)

func (*LivekitAgentChatMessageChatContent) MergeLivekitAgentChatMessageChatContent0 added in v2.19.0

func (t *LivekitAgentChatMessageChatContent) MergeLivekitAgentChatMessageChatContent0(v LivekitAgentChatMessageChatContent0) error

MergeLivekitAgentChatMessageChatContent0 performs a merge with any union data inside the LivekitAgentChatMessageChatContent, using the provided LivekitAgentChatMessageChatContent0

func (*LivekitAgentChatMessageChatContent) UnmarshalJSON added in v2.19.0

func (t *LivekitAgentChatMessageChatContent) UnmarshalJSON(b []byte) error

type LivekitAgentChatMessageChatContent0 added in v2.19.0

type LivekitAgentChatMessageChatContent0 struct {
	Text *string `json:"text,omitempty"`
}

LivekitAgentChatMessageChatContent0 defines model for LivekitAgentChatMessageChatContent.0.

type LivekitAgentChatRole

type LivekitAgentChatRole string

LivekitAgentChatRole defines model for livekit.agent.ChatRole.

const (
	ASSISTANT LivekitAgentChatRole = "ASSISTANT"
	DEVELOPER LivekitAgentChatRole = "DEVELOPER"
	SYSTEM    LivekitAgentChatRole = "SYSTEM"
	USER      LivekitAgentChatRole = "USER"
)

Defines values for LivekitAgentChatRole.

func (LivekitAgentChatRole) Valid

func (e LivekitAgentChatRole) Valid() bool

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

type LivekitAgentDBAgentDatabase added in v2.19.1

type LivekitAgentDBAgentDatabase struct {
	CreatedAt  *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
	DatabaseId *string                  `json:"databaseId,omitempty"`
	ExpiresAt  *GoogleProtobufTimestamp `json:"expiresAt,omitempty"`
	Region     *string                  `json:"region,omitempty"`
	Tip        *string                  `json:"tip,omitempty"`
}

LivekitAgentDBAgentDatabase One database, as get and list both report it.

type LivekitAgentFunctionCall added in v2.19.0

type LivekitAgentFunctionCall struct {
	Arguments *string                  `json:"arguments,omitempty"`
	CallId    *string                  `json:"callId,omitempty"`
	CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
	Id        *string                  `json:"id,omitempty"`
	Name      *string                  `json:"name,omitempty"`
}

LivekitAgentFunctionCall defines model for livekit.agent.FunctionCall.

type LivekitAgentFunctionCallOutput added in v2.19.0

type LivekitAgentFunctionCallOutput struct {
	CallId    *string                  `json:"callId,omitempty"`
	CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
	Id        *string                  `json:"id,omitempty"`
	IsError   *bool                    `json:"isError,omitempty"`
	Name      *string                  `json:"name,omitempty"`
	Output    *string                  `json:"output,omitempty"`
}

LivekitAgentFunctionCallOutput defines model for livekit.agent.FunctionCallOutput.

type LivekitAgentMetricsReport added in v2.19.0

type LivekitAgentMetricsReport struct {
	E2eLatency               *float64                 `json:"e2eLatency,omitempty"`
	EndOfTurnDelay           *float64                 `json:"endOfTurnDelay,omitempty"`
	LlmNodeTps               *float64                 `json:"llmNodeTps,omitempty"`
	LlmNodeTtfs              *float64                 `json:"llmNodeTtfs,omitempty"`
	LlmNodeTtft              *float64                 `json:"llmNodeTtft,omitempty"`
	OnUserTurnCompletedDelay *float64                 `json:"onUserTurnCompletedDelay,omitempty"`
	StartedSpeakingAt        *GoogleProtobufTimestamp `json:"startedSpeakingAt,omitempty"`
	StoppedSpeakingAt        *GoogleProtobufTimestamp `json:"stoppedSpeakingAt,omitempty"`
	TranscriptionDelay       *float64                 `json:"transcriptionDelay,omitempty"`
	TtsNodeTtfb              *float64                 `json:"ttsNodeTtfb,omitempty"`
}

LivekitAgentMetricsReport defines model for livekit.agent.MetricsReport.

type LivekitAliOSSUpload

type LivekitAliOSSUpload struct {
	AccessKey *string `json:"accessKey,omitempty"`
	Bucket    *string `json:"bucket,omitempty"`
	Endpoint  *string `json:"endpoint,omitempty"`
	Region    *string `json:"region,omitempty"`
	Secret    *string `json:"secret,omitempty"`
}

LivekitAliOSSUpload defines model for livekit.AliOSSUpload.

type LivekitAudioCodec

type LivekitAudioCodec string

LivekitAudioCodec defines model for livekit.AudioCodec.

const (
	AAC       LivekitAudioCodec = "AAC"
	ACMP3     LivekitAudioCodec = "AC_MP3"
	DEFAULTAC LivekitAudioCodec = "DEFAULT_AC"
	OPUS      LivekitAudioCodec = "OPUS"
)

Defines values for LivekitAudioCodec.

func (LivekitAudioCodec) Valid

func (e LivekitAudioCodec) Valid() bool

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

type LivekitAudioMixing

type LivekitAudioMixing string

LivekitAudioMixing defines model for livekit.AudioMixing.

const (
	DEFAULTMIXING        LivekitAudioMixing = "DEFAULT_MIXING"
	DUALCHANNELAGENT     LivekitAudioMixing = "DUAL_CHANNEL_AGENT"
	DUALCHANNELALTERNATE LivekitAudioMixing = "DUAL_CHANNEL_ALTERNATE"
)

Defines values for LivekitAudioMixing.

func (LivekitAudioMixing) Valid

func (e LivekitAudioMixing) Valid() bool

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

type LivekitAutoParticipantEgress

type LivekitAutoParticipantEgress struct {
	FileOutputs    *[]LivekitEncodedFileOutput   `json:"fileOutputs,omitempty"`
	SegmentOutputs *[]LivekitSegmentedFileOutput `json:"segmentOutputs,omitempty"`
	// contains filtered or unexported fields
}

LivekitAutoParticipantEgress defines model for livekit.AutoParticipantEgress.

func (LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress0

func (t LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress0() (LivekitAutoParticipantEgress0, error)

AsLivekitAutoParticipantEgress0 returns the union data inside the LivekitAutoParticipantEgress as a LivekitAutoParticipantEgress0

func (LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress1

func (t LivekitAutoParticipantEgress) AsLivekitAutoParticipantEgress1() (LivekitAutoParticipantEgress1, error)

AsLivekitAutoParticipantEgress1 returns the union data inside the LivekitAutoParticipantEgress as a LivekitAutoParticipantEgress1

func (*LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress0

func (t *LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress0(v LivekitAutoParticipantEgress0) error

FromLivekitAutoParticipantEgress0 overwrites any union data inside the LivekitAutoParticipantEgress as the provided LivekitAutoParticipantEgress0

func (*LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress1

func (t *LivekitAutoParticipantEgress) FromLivekitAutoParticipantEgress1(v LivekitAutoParticipantEgress1) error

FromLivekitAutoParticipantEgress1 overwrites any union data inside the LivekitAutoParticipantEgress as the provided LivekitAutoParticipantEgress1

func (LivekitAutoParticipantEgress) MarshalJSON

func (t LivekitAutoParticipantEgress) MarshalJSON() ([]byte, error)

func (*LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress0

func (t *LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress0(v LivekitAutoParticipantEgress0) error

MergeLivekitAutoParticipantEgress0 performs a merge with any union data inside the LivekitAutoParticipantEgress, using the provided LivekitAutoParticipantEgress0

func (*LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress1

func (t *LivekitAutoParticipantEgress) MergeLivekitAutoParticipantEgress1(v LivekitAutoParticipantEgress1) error

MergeLivekitAutoParticipantEgress1 performs a merge with any union data inside the LivekitAutoParticipantEgress, using the provided LivekitAutoParticipantEgress1

func (*LivekitAutoParticipantEgress) UnmarshalJSON

func (t *LivekitAutoParticipantEgress) UnmarshalJSON(b []byte) error

type LivekitAutoParticipantEgress0

type LivekitAutoParticipantEgress0 struct {
	// Advanced (optional)
	Advanced *LivekitEncodingOptions `json:"advanced,omitempty"`
}

LivekitAutoParticipantEgress0 defines model for LivekitAutoParticipantEgress.0.

type LivekitAutoParticipantEgress1

type LivekitAutoParticipantEgress1 struct {
	// Preset (default H264_720P_30)
	Preset *LivekitEncodingOptionsPreset `json:"preset,omitempty"`
}

LivekitAutoParticipantEgress1 defines model for LivekitAutoParticipantEgress.1.

type LivekitAutoTrackEgress

type LivekitAutoTrackEgress struct {
	// DisableManifest disables upload of json manifest file (default false)
	DisableManifest *bool `json:"disableManifest,omitempty"`

	// Filepath see docs for templating (default {track_id}-{time})
	Filepath *string `json:"filepath,omitempty"`
	// contains filtered or unexported fields
}

LivekitAutoTrackEgress defines model for livekit.AutoTrackEgress.

func (LivekitAutoTrackEgress) AsLivekitAutoTrackEgress0

func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress0() (LivekitAutoTrackEgress0, error)

AsLivekitAutoTrackEgress0 returns the union data inside the LivekitAutoTrackEgress as a LivekitAutoTrackEgress0

func (LivekitAutoTrackEgress) AsLivekitAutoTrackEgress1

func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress1() (LivekitAutoTrackEgress1, error)

AsLivekitAutoTrackEgress1 returns the union data inside the LivekitAutoTrackEgress as a LivekitAutoTrackEgress1

func (LivekitAutoTrackEgress) AsLivekitAutoTrackEgress2

func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress2() (LivekitAutoTrackEgress2, error)

AsLivekitAutoTrackEgress2 returns the union data inside the LivekitAutoTrackEgress as a LivekitAutoTrackEgress2

func (LivekitAutoTrackEgress) AsLivekitAutoTrackEgress3

func (t LivekitAutoTrackEgress) AsLivekitAutoTrackEgress3() (LivekitAutoTrackEgress3, error)

AsLivekitAutoTrackEgress3 returns the union data inside the LivekitAutoTrackEgress as a LivekitAutoTrackEgress3

func (*LivekitAutoTrackEgress) FromLivekitAutoTrackEgress0

func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress0(v LivekitAutoTrackEgress0) error

FromLivekitAutoTrackEgress0 overwrites any union data inside the LivekitAutoTrackEgress as the provided LivekitAutoTrackEgress0

func (*LivekitAutoTrackEgress) FromLivekitAutoTrackEgress1

func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress1(v LivekitAutoTrackEgress1) error

FromLivekitAutoTrackEgress1 overwrites any union data inside the LivekitAutoTrackEgress as the provided LivekitAutoTrackEgress1

func (*LivekitAutoTrackEgress) FromLivekitAutoTrackEgress2

func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress2(v LivekitAutoTrackEgress2) error

FromLivekitAutoTrackEgress2 overwrites any union data inside the LivekitAutoTrackEgress as the provided LivekitAutoTrackEgress2

func (*LivekitAutoTrackEgress) FromLivekitAutoTrackEgress3

func (t *LivekitAutoTrackEgress) FromLivekitAutoTrackEgress3(v LivekitAutoTrackEgress3) error

FromLivekitAutoTrackEgress3 overwrites any union data inside the LivekitAutoTrackEgress as the provided LivekitAutoTrackEgress3

func (LivekitAutoTrackEgress) MarshalJSON

func (t LivekitAutoTrackEgress) MarshalJSON() ([]byte, error)

func (*LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress0

func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress0(v LivekitAutoTrackEgress0) error

MergeLivekitAutoTrackEgress0 performs a merge with any union data inside the LivekitAutoTrackEgress, using the provided LivekitAutoTrackEgress0

func (*LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress1

func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress1(v LivekitAutoTrackEgress1) error

MergeLivekitAutoTrackEgress1 performs a merge with any union data inside the LivekitAutoTrackEgress, using the provided LivekitAutoTrackEgress1

func (*LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress2

func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress2(v LivekitAutoTrackEgress2) error

MergeLivekitAutoTrackEgress2 performs a merge with any union data inside the LivekitAutoTrackEgress, using the provided LivekitAutoTrackEgress2

func (*LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress3

func (t *LivekitAutoTrackEgress) MergeLivekitAutoTrackEgress3(v LivekitAutoTrackEgress3) error

MergeLivekitAutoTrackEgress3 performs a merge with any union data inside the LivekitAutoTrackEgress, using the provided LivekitAutoTrackEgress3

func (*LivekitAutoTrackEgress) UnmarshalJSON

func (t *LivekitAutoTrackEgress) UnmarshalJSON(b []byte) error

type LivekitAutoTrackEgress0

type LivekitAutoTrackEgress0 struct {
	AliOSS *LivekitAliOSSUpload `json:"aliOSS,omitempty"`
}

LivekitAutoTrackEgress0 defines model for LivekitAutoTrackEgress.0.

type LivekitAutoTrackEgress1

type LivekitAutoTrackEgress1 struct {
	Azure *LivekitAzureBlobUpload `json:"azure,omitempty"`
}

LivekitAutoTrackEgress1 defines model for LivekitAutoTrackEgress.1.

type LivekitAutoTrackEgress2

type LivekitAutoTrackEgress2 struct {
	Gcp *LivekitGCPUpload `json:"gcp,omitempty"`
}

LivekitAutoTrackEgress2 defines model for LivekitAutoTrackEgress.2.

type LivekitAutoTrackEgress3

type LivekitAutoTrackEgress3 struct {
	S3 *LivekitS3Upload `json:"s3,omitempty"`
}

LivekitAutoTrackEgress3 defines model for LivekitAutoTrackEgress.3.

type LivekitAzureBlobUpload

type LivekitAzureBlobUpload struct {
	AccountKey    *string `json:"accountKey,omitempty"`
	AccountName   *string `json:"accountName,omitempty"`
	ContainerName *string `json:"containerName,omitempty"`
}

LivekitAzureBlobUpload defines model for livekit.AzureBlobUpload.

type LivekitEncodedFileOutput

type LivekitEncodedFileOutput struct {
	DisableManifest *bool                   `json:"disableManifest,omitempty"`
	FileType        *LivekitEncodedFileType `json:"fileType,omitempty"`
	Filepath        *string                 `json:"filepath,omitempty"`
	// contains filtered or unexported fields
}

LivekitEncodedFileOutput defines model for livekit.EncodedFileOutput.

func (LivekitEncodedFileOutput) AsLivekitEncodedFileOutput0

func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput0() (LivekitEncodedFileOutput0, error)

AsLivekitEncodedFileOutput0 returns the union data inside the LivekitEncodedFileOutput as a LivekitEncodedFileOutput0

func (LivekitEncodedFileOutput) AsLivekitEncodedFileOutput1

func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput1() (LivekitEncodedFileOutput1, error)

AsLivekitEncodedFileOutput1 returns the union data inside the LivekitEncodedFileOutput as a LivekitEncodedFileOutput1

func (LivekitEncodedFileOutput) AsLivekitEncodedFileOutput2

func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput2() (LivekitEncodedFileOutput2, error)

AsLivekitEncodedFileOutput2 returns the union data inside the LivekitEncodedFileOutput as a LivekitEncodedFileOutput2

func (LivekitEncodedFileOutput) AsLivekitEncodedFileOutput3

func (t LivekitEncodedFileOutput) AsLivekitEncodedFileOutput3() (LivekitEncodedFileOutput3, error)

AsLivekitEncodedFileOutput3 returns the union data inside the LivekitEncodedFileOutput as a LivekitEncodedFileOutput3

func (*LivekitEncodedFileOutput) FromLivekitEncodedFileOutput0

func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput0(v LivekitEncodedFileOutput0) error

FromLivekitEncodedFileOutput0 overwrites any union data inside the LivekitEncodedFileOutput as the provided LivekitEncodedFileOutput0

func (*LivekitEncodedFileOutput) FromLivekitEncodedFileOutput1

func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput1(v LivekitEncodedFileOutput1) error

FromLivekitEncodedFileOutput1 overwrites any union data inside the LivekitEncodedFileOutput as the provided LivekitEncodedFileOutput1

func (*LivekitEncodedFileOutput) FromLivekitEncodedFileOutput2

func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput2(v LivekitEncodedFileOutput2) error

FromLivekitEncodedFileOutput2 overwrites any union data inside the LivekitEncodedFileOutput as the provided LivekitEncodedFileOutput2

func (*LivekitEncodedFileOutput) FromLivekitEncodedFileOutput3

func (t *LivekitEncodedFileOutput) FromLivekitEncodedFileOutput3(v LivekitEncodedFileOutput3) error

FromLivekitEncodedFileOutput3 overwrites any union data inside the LivekitEncodedFileOutput as the provided LivekitEncodedFileOutput3

func (LivekitEncodedFileOutput) MarshalJSON

func (t LivekitEncodedFileOutput) MarshalJSON() ([]byte, error)

func (*LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput0

func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput0(v LivekitEncodedFileOutput0) error

MergeLivekitEncodedFileOutput0 performs a merge with any union data inside the LivekitEncodedFileOutput, using the provided LivekitEncodedFileOutput0

func (*LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput1

func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput1(v LivekitEncodedFileOutput1) error

MergeLivekitEncodedFileOutput1 performs a merge with any union data inside the LivekitEncodedFileOutput, using the provided LivekitEncodedFileOutput1

func (*LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput2

func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput2(v LivekitEncodedFileOutput2) error

MergeLivekitEncodedFileOutput2 performs a merge with any union data inside the LivekitEncodedFileOutput, using the provided LivekitEncodedFileOutput2

func (*LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput3

func (t *LivekitEncodedFileOutput) MergeLivekitEncodedFileOutput3(v LivekitEncodedFileOutput3) error

MergeLivekitEncodedFileOutput3 performs a merge with any union data inside the LivekitEncodedFileOutput, using the provided LivekitEncodedFileOutput3

func (*LivekitEncodedFileOutput) UnmarshalJSON

func (t *LivekitEncodedFileOutput) UnmarshalJSON(b []byte) error

type LivekitEncodedFileOutput0

type LivekitEncodedFileOutput0 struct {
	AliOSS *LivekitAliOSSUpload `json:"aliOSS,omitempty"`
}

LivekitEncodedFileOutput0 defines model for LivekitEncodedFileOutput.0.

type LivekitEncodedFileOutput1

type LivekitEncodedFileOutput1 struct {
	Azure *LivekitAzureBlobUpload `json:"azure,omitempty"`
}

LivekitEncodedFileOutput1 defines model for LivekitEncodedFileOutput.1.

type LivekitEncodedFileOutput2

type LivekitEncodedFileOutput2 struct {
	Gcp *LivekitGCPUpload `json:"gcp,omitempty"`
}

LivekitEncodedFileOutput2 defines model for LivekitEncodedFileOutput.2.

type LivekitEncodedFileOutput3

type LivekitEncodedFileOutput3 struct {
	S3 *LivekitS3Upload `json:"s3,omitempty"`
}

LivekitEncodedFileOutput3 defines model for LivekitEncodedFileOutput.3.

type LivekitEncodedFileType

type LivekitEncodedFileType string

LivekitEncodedFileType defines model for livekit.EncodedFileType.

const (
	DEFAULTFILETYPE LivekitEncodedFileType = "DEFAULT_FILETYPE"
	MP3             LivekitEncodedFileType = "MP3"
	MP4             LivekitEncodedFileType = "MP4"
	OGG             LivekitEncodedFileType = "OGG"
)

Defines values for LivekitEncodedFileType.

func (LivekitEncodedFileType) Valid

func (e LivekitEncodedFileType) Valid() bool

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

type LivekitEncodingOptions

type LivekitEncodingOptions struct {
	// AudioBitrate (default 128)
	AudioBitrate *int32 `json:"audioBitrate,omitempty"`

	// AudioCodec (default OPUS)
	AudioCodec *LivekitAudioCodec `json:"audioCodec,omitempty"`

	// AudioFrequency (default 44100)
	AudioFrequency *int32 `json:"audioFrequency,omitempty"`

	// AudioQuality --- Deprecated --- quality setting on audio encoder
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	AudioQuality *int32 `json:"audioQuality,omitempty"`

	// Depth (default 24)
	Depth *int32 `json:"depth,omitempty"`

	// Framerate (default 30)
	Framerate *int32 `json:"framerate,omitempty"`

	// Height (default 1080)
	Height *int32 `json:"height,omitempty"`

	// KeyFrameInterval in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)
	KeyFrameInterval *float64 `json:"keyFrameInterval,omitempty"`

	// VideoBitrate (default 4500)
	VideoBitrate *int32 `json:"videoBitrate,omitempty"`

	// VideoCodec (default H264_MAIN)
	VideoCodec *LivekitVideoCodec `json:"videoCodec,omitempty"`

	// VideoQuality quality setting on video encoder
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	VideoQuality *int32 `json:"videoQuality,omitempty"`

	// Width (default 1920)
	Width *int32 `json:"width,omitempty"`
}

LivekitEncodingOptions defines model for livekit.EncodingOptions.

type LivekitEncodingOptionsPreset

type LivekitEncodingOptionsPreset string

LivekitEncodingOptionsPreset defines model for livekit.EncodingOptionsPreset.

const (
	H2641080P30         LivekitEncodingOptionsPreset = "H264_1080P_30"
	H2641080P60         LivekitEncodingOptionsPreset = "H264_1080P_60"
	H264720P30          LivekitEncodingOptionsPreset = "H264_720P_30"
	H264720P60          LivekitEncodingOptionsPreset = "H264_720P_60"
	PASSTHROUGH         LivekitEncodingOptionsPreset = "PASSTHROUGH"
	PORTRAITH2641080P30 LivekitEncodingOptionsPreset = "PORTRAIT_H264_1080P_30"
	PORTRAITH2641080P60 LivekitEncodingOptionsPreset = "PORTRAIT_H264_1080P_60"
	PORTRAITH264720P30  LivekitEncodingOptionsPreset = "PORTRAIT_H264_720P_30"
	PORTRAITH264720P60  LivekitEncodingOptionsPreset = "PORTRAIT_H264_720P_60"
)

Defines values for LivekitEncodingOptionsPreset.

func (LivekitEncodingOptionsPreset) Valid

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

type LivekitFilterParams

type LivekitFilterParams struct {
	ExcludeEvents *[]string `json:"excludeEvents,omitempty"`
	IncludeEvents *[]string `json:"includeEvents,omitempty"`
}

LivekitFilterParams defines model for livekit.FilterParams.

type LivekitGCPUpload

type LivekitGCPUpload struct {
	Bucket *string `json:"bucket,omitempty"`

	// Credentials service account credentials serialized in JSON "credentials.json"
	Credentials *string             `json:"credentials,omitempty"`
	Proxy       *LivekitProxyConfig `json:"proxy,omitempty"`
}

LivekitGCPUpload defines model for livekit.GCPUpload.

type LivekitImageCodec

type LivekitImageCodec string

LivekitImageCodec defines model for livekit.ImageCodec.

const (
	ICDEFAULT LivekitImageCodec = "IC_DEFAULT"
	ICJPEG    LivekitImageCodec = "IC_JPEG"
)

Defines values for LivekitImageCodec.

func (LivekitImageCodec) Valid

func (e LivekitImageCodec) Valid() bool

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

type LivekitImageFileSuffix

type LivekitImageFileSuffix string

LivekitImageFileSuffix defines model for livekit.ImageFileSuffix.

const (
	IMAGESUFFIXINDEX         LivekitImageFileSuffix = "IMAGE_SUFFIX_INDEX"
	IMAGESUFFIXNONEOVERWRITE LivekitImageFileSuffix = "IMAGE_SUFFIX_NONE_OVERWRITE"
	IMAGESUFFIXTIMESTAMP     LivekitImageFileSuffix = "IMAGE_SUFFIX_TIMESTAMP"
)

Defines values for LivekitImageFileSuffix.

func (LivekitImageFileSuffix) Valid

func (e LivekitImageFileSuffix) Valid() bool

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

type LivekitImageOutput

type LivekitImageOutput struct {
	// CaptureInterval in seconds (required)
	CaptureInterval *int `json:"captureInterval,omitempty"`

	// DisableManifest disable upload of manifest file (default false)
	DisableManifest *bool `json:"disableManifest,omitempty"`

	// FilenamePrefix (optional)
	FilenamePrefix *string `json:"filenamePrefix,omitempty"`

	// FilenameSuffix (optional, default INDEX)
	FilenameSuffix *LivekitImageFileSuffix `json:"filenameSuffix,omitempty"`

	// Height (optional, defaults to track height)
	Height *int32 `json:"height,omitempty"`

	// ImageCodec (optional)
	ImageCodec *LivekitImageCodec `json:"imageCodec,omitempty"`

	// Width (optional, defaults to track width)
	Width *int32 `json:"width,omitempty"`
	// contains filtered or unexported fields
}

LivekitImageOutput Capture images at a specified interval

func (LivekitImageOutput) AsLivekitImageOutput0

func (t LivekitImageOutput) AsLivekitImageOutput0() (LivekitImageOutput0, error)

AsLivekitImageOutput0 returns the union data inside the LivekitImageOutput as a LivekitImageOutput0

func (LivekitImageOutput) AsLivekitImageOutput1

func (t LivekitImageOutput) AsLivekitImageOutput1() (LivekitImageOutput1, error)

AsLivekitImageOutput1 returns the union data inside the LivekitImageOutput as a LivekitImageOutput1

func (LivekitImageOutput) AsLivekitImageOutput2

func (t LivekitImageOutput) AsLivekitImageOutput2() (LivekitImageOutput2, error)

AsLivekitImageOutput2 returns the union data inside the LivekitImageOutput as a LivekitImageOutput2

func (LivekitImageOutput) AsLivekitImageOutput3

func (t LivekitImageOutput) AsLivekitImageOutput3() (LivekitImageOutput3, error)

AsLivekitImageOutput3 returns the union data inside the LivekitImageOutput as a LivekitImageOutput3

func (*LivekitImageOutput) FromLivekitImageOutput0

func (t *LivekitImageOutput) FromLivekitImageOutput0(v LivekitImageOutput0) error

FromLivekitImageOutput0 overwrites any union data inside the LivekitImageOutput as the provided LivekitImageOutput0

func (*LivekitImageOutput) FromLivekitImageOutput1

func (t *LivekitImageOutput) FromLivekitImageOutput1(v LivekitImageOutput1) error

FromLivekitImageOutput1 overwrites any union data inside the LivekitImageOutput as the provided LivekitImageOutput1

func (*LivekitImageOutput) FromLivekitImageOutput2

func (t *LivekitImageOutput) FromLivekitImageOutput2(v LivekitImageOutput2) error

FromLivekitImageOutput2 overwrites any union data inside the LivekitImageOutput as the provided LivekitImageOutput2

func (*LivekitImageOutput) FromLivekitImageOutput3

func (t *LivekitImageOutput) FromLivekitImageOutput3(v LivekitImageOutput3) error

FromLivekitImageOutput3 overwrites any union data inside the LivekitImageOutput as the provided LivekitImageOutput3

func (LivekitImageOutput) MarshalJSON

func (t LivekitImageOutput) MarshalJSON() ([]byte, error)

func (*LivekitImageOutput) MergeLivekitImageOutput0

func (t *LivekitImageOutput) MergeLivekitImageOutput0(v LivekitImageOutput0) error

MergeLivekitImageOutput0 performs a merge with any union data inside the LivekitImageOutput, using the provided LivekitImageOutput0

func (*LivekitImageOutput) MergeLivekitImageOutput1

func (t *LivekitImageOutput) MergeLivekitImageOutput1(v LivekitImageOutput1) error

MergeLivekitImageOutput1 performs a merge with any union data inside the LivekitImageOutput, using the provided LivekitImageOutput1

func (*LivekitImageOutput) MergeLivekitImageOutput2

func (t *LivekitImageOutput) MergeLivekitImageOutput2(v LivekitImageOutput2) error

MergeLivekitImageOutput2 performs a merge with any union data inside the LivekitImageOutput, using the provided LivekitImageOutput2

func (*LivekitImageOutput) MergeLivekitImageOutput3

func (t *LivekitImageOutput) MergeLivekitImageOutput3(v LivekitImageOutput3) error

MergeLivekitImageOutput3 performs a merge with any union data inside the LivekitImageOutput, using the provided LivekitImageOutput3

func (*LivekitImageOutput) UnmarshalJSON

func (t *LivekitImageOutput) UnmarshalJSON(b []byte) error

type LivekitImageOutput0

type LivekitImageOutput0 struct {
	AliOSS *LivekitAliOSSUpload `json:"aliOSS,omitempty"`
}

LivekitImageOutput0 defines model for LivekitImageOutput.0.

type LivekitImageOutput1

type LivekitImageOutput1 struct {
	Azure *LivekitAzureBlobUpload `json:"azure,omitempty"`
}

LivekitImageOutput1 defines model for LivekitImageOutput.1.

type LivekitImageOutput2

type LivekitImageOutput2 struct {
	Gcp *LivekitGCPUpload `json:"gcp,omitempty"`
}

LivekitImageOutput2 defines model for LivekitImageOutput.2.

type LivekitImageOutput3

type LivekitImageOutput3 struct {
	S3 *LivekitS3Upload `json:"s3,omitempty"`
}

LivekitImageOutput3 defines model for LivekitImageOutput.3.

type LivekitJobRestartPolicy

type LivekitJobRestartPolicy string

LivekitJobRestartPolicy defines model for livekit.JobRestartPolicy.

const (
	JRPNEVER     LivekitJobRestartPolicy = "JRP_NEVER"
	JRPONFAILURE LivekitJobRestartPolicy = "JRP_ON_FAILURE"
)

Defines values for LivekitJobRestartPolicy.

func (LivekitJobRestartPolicy) Valid

func (e LivekitJobRestartPolicy) Valid() bool

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

type LivekitPresignedPostRequest

type LivekitPresignedPostRequest struct {
	Url    *string            `json:"url,omitempty"`
	Values *map[string]string `json:"values,omitempty"`
}

LivekitPresignedPostRequest defines model for livekit.PresignedPostRequest.

type LivekitProxyConfig

type LivekitProxyConfig struct {
	Password *string `json:"password,omitempty"`
	Url      *string `json:"url,omitempty"`
	Username *string `json:"username,omitempty"`
}

LivekitProxyConfig defines model for livekit.ProxyConfig.

type LivekitPublicapiAgentsV1BuilderAgent added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgent struct {
	// AgentId The ID of the agent on LiveKit Cloud, as other agent APIs and the `lk`
	//  CLI show it.
	AgentId *string `json:"agentId,omitempty"`

	// Config The current configuration. ListBuilderAgents does not set it.
	Config    *LivekitPublicapiAgentsV1BuilderAgentConfig `json:"config,omitempty"`
	CreatedAt *GoogleProtobufTimestamp                    `json:"createdAt,omitempty"`

	// Deployment The deployment of the agent. Unset when the status cannot be read now.
	Deployment *LivekitPublicapiAgentsV1Deployment `json:"deployment,omitempty"`
	Id         *string                             `json:"id,omitempty"`

	// Name The name the agent registers under. Dispatch this name to send the agent
	//  to a room.
	Name      *string                  `json:"name,omitempty"`
	ProjectId *string                  `json:"projectId,omitempty"`
	UpdatedAt *GoogleProtobufTimestamp `json:"updatedAt,omitempty"`

	// VersionId The version that holds the current configuration.
	VersionId *string `json:"versionId,omitempty"`
}

LivekitPublicapiAgentsV1BuilderAgent An agent made from a configuration.

type LivekitPublicapiAgentsV1BuilderAgentConfig added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfig struct {
	// AllowGreetingInterrupt If true, the user can interrupt the greeting.
	AllowGreetingInterrupt *bool `json:"allowGreetingInterrupt,omitempty"`

	// BackgroundAudio A sound that plays behind the agent's voice.
	BackgroundAudio *LivekitPublicapiAgentsV1BuilderAgentConfigBackgroundAudio `json:"backgroundAudio,omitempty"`

	// BuilderAgentMode prompt_instructions makes an agent that follows instructions in an
	// open conversation. data_collection makes an agent that collects the
	// data in dataCollectionFields, one task at a time.
	BuilderAgentMode *LivekitPublicapiAgentsV1BuilderAgentConfigBuilderAgentMode `json:"builderAgentMode,omitempty"`

	// ClientTools Functions the agent can call on the user's frontend, through an RPC
	// to the user's participant.
	ClientTools *[]LivekitPublicapiAgentsV1BuilderAgentConfigClientTool `json:"clientTools,omitempty"`

	// DataCollectionFields The data to collect, one task for each item, in order. Used only
	// when builderAgentMode is data_collection.
	DataCollectionFields *[]LivekitPublicapiAgentsV1BuilderAgentConfigDataCollectionField `json:"dataCollectionFields,omitempty"`

	// EndCallTool A tool the agent can use to end the call.
	EndCallTool *LivekitPublicapiAgentsV1BuilderAgentConfigEndCallTool `json:"endCallTool,omitempty"`

	// EndOfCall A report that the agent sends to your URL when a call ends. It
	// contains a summary of the conversation, and for a data_collection
	// agent, the collected data.
	EndOfCall *LivekitPublicapiAgentsV1BuilderAgentConfigEndOfCall `json:"endOfCall,omitempty"`

	// Expressive If true, the agent speaks with more expression, where the tts model supports it.
	Expressive *bool `json:"expressive,omitempty"`

	// GreetUser If true, the agent speaks first when a user joins.
	GreetUser *bool `json:"greetUser,omitempty"`

	// GreetingInstructions Instructions for the first thing the agent says. Used only when
	// greetUser is true. Can contain {{metadata.<name>}} placeholders.
	GreetingInstructions *string `json:"greetingInstructions,omitempty"`

	// HttpTools HTTP requests the agent can make during the conversation.
	HttpTools *[]LivekitPublicapiAgentsV1BuilderAgentConfigHttpTool `json:"httpTools,omitempty"`

	// Instructions The system prompt of the agent. Can contain {{metadata.<name>}}
	// placeholders. Unset uses a general voice-assistant prompt.
	Instructions *string `json:"instructions,omitempty"`

	// KeytermDetection If true, speech-to-text detects key terms in the speech.
	KeytermDetection *bool `json:"keytermDetection,omitempty"`

	// Keyterms A comma-separated list of words and phrases that speech-to-text
	// must recognize, such as product names.
	Keyterms *string `json:"keyterms,omitempty"`

	// Llm The language model. Pipeline mode only.
	Llm *LivekitPublicapiAgentsV1BuilderAgentConfigModelId `json:"llm,omitempty"`

	// LlmReasoningEffort The reasoning effort of llm, for a model that supports it.
	LlmReasoningEffort *LivekitPublicapiAgentsV1BuilderAgentConfigReasoningEffort `json:"llmReasoningEffort,omitempty"`

	// McpServers MCP servers whose tools the agent can use.
	McpServers *[]LivekitPublicapiAgentsV1BuilderAgentConfigMcpServer `json:"mcpServers,omitempty"`

	// Metadata The placeholders that instructions, greetingInstructions and header
	// values can use, by name. A default applies when the dispatch
	// metadata does not set the value.
	Metadata *map[string]LivekitPublicapiAgentsV1BuilderAgentConfigVariable `json:"metadata,omitempty"`

	// ModelMode pipeline uses separate speech-to-text (stt), language (llm) and
	// text-to-speech (tts) models. realtime uses one speech-to-speech
	// model, set in tts.
	ModelMode *LivekitPublicapiAgentsV1BuilderAgentConfigModelMode `json:"modelMode,omitempty"`

	// NoiseCancellation The noise cancellation applied to the user's audio. Use
	// krisp-bvc-telephony for phone calls. none turns it off.
	NoiseCancellation *LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellation `json:"noiseCancellation,omitempty"`

	// Stt The speech-to-text model. Pipeline mode only.
	Stt *LivekitPublicapiAgentsV1BuilderAgentConfigModelId `json:"stt,omitempty"`

	// SttLanguage The language the user speaks. Pipeline mode only.
	SttLanguage *LivekitPublicapiAgentsV1BuilderAgentConfigLanguageCode `json:"sttLanguage,omitempty"`

	// Tts In pipeline mode, the text-to-speech model. In realtime mode, the
	// speech-to-speech model, for example "openai/gpt-realtime-2.1".
	Tts *LivekitPublicapiAgentsV1BuilderAgentConfigModelId `json:"tts,omitempty"`

	// TtsLanguage The language the agent speaks.
	TtsLanguage *LivekitPublicapiAgentsV1BuilderAgentConfigLanguageCode `json:"ttsLanguage,omitempty"`

	// TtsVoice The voice of the tts model. Each model has its own voice IDs.
	TtsVoice *string `json:"ttsVoice,omitempty"`

	// TtsVoiceType custom if ttsVoice is a voice that you made with the tts provider.
	TtsVoiceType *LivekitPublicapiAgentsV1BuilderAgentConfigTtsVoiceType `json:"ttsVoiceType,omitempty"`
}

LivekitPublicapiAgentsV1BuilderAgentConfig The configuration of a builder agent. LiveKit generates the agent's code from it when you deploy the agent. Unset properties take their default.

In instructions, greetingInstructions and header values, a {{metadata.<name>}} placeholder takes its value from the JSON metadata of the agent dispatch. The server ignores unknown properties, and does not store them.

type LivekitPublicapiAgentsV1BuilderAgentConfigBackgroundAudio added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigBackgroundAudio string

LivekitPublicapiAgentsV1BuilderAgentConfigBackgroundAudio A sound that plays behind the agent's voice.

const (
	LivekitPublicapiAgentsV1BuilderAgentConfigBackgroundAudioCityAmbienceOgg   LivekitPublicapiAgentsV1BuilderAgentConfigBackgroundAudio = "city-ambience.ogg"
	LivekitPublicapiAgentsV1BuilderAgentConfigBackgroundAudioCrowdedRoomOgg    LivekitPublicapiAgentsV1BuilderAgentConfigBackgroundAudio = "crowded-room.ogg"
	LivekitPublicapiAgentsV1BuilderAgentConfigBackgroundAudioForestAmbienceOgg LivekitPublicapiAgentsV1BuilderAgentConfigBackgroundAudio = "forest-ambience.ogg"
	LivekitPublicapiAgentsV1BuilderAgentConfigBackgroundAudioNone              LivekitPublicapiAgentsV1BuilderAgentConfigBackgroundAudio = "none"
	LivekitPublicapiAgentsV1BuilderAgentConfigBackgroundAudioOfficeAmbienceOgg LivekitPublicapiAgentsV1BuilderAgentConfigBackgroundAudio = "office-ambience.ogg"
)

Defines values for LivekitPublicapiAgentsV1BuilderAgentConfigBackgroundAudio.

func (LivekitPublicapiAgentsV1BuilderAgentConfigBackgroundAudio) Valid added in v2.19.3

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

type LivekitPublicapiAgentsV1BuilderAgentConfigBuilderAgentMode added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigBuilderAgentMode string

LivekitPublicapiAgentsV1BuilderAgentConfigBuilderAgentMode prompt_instructions makes an agent that follows instructions in an open conversation. data_collection makes an agent that collects the data in dataCollectionFields, one task at a time.

const (
	DataCollection     LivekitPublicapiAgentsV1BuilderAgentConfigBuilderAgentMode = "data_collection"
	PromptInstructions LivekitPublicapiAgentsV1BuilderAgentConfigBuilderAgentMode = "prompt_instructions"
)

Defines values for LivekitPublicapiAgentsV1BuilderAgentConfigBuilderAgentMode.

func (LivekitPublicapiAgentsV1BuilderAgentConfigBuilderAgentMode) Valid added in v2.19.3

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

type LivekitPublicapiAgentsV1BuilderAgentConfigClientTool added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigClientTool struct {
	// Description Tells the model when to use the tool.
	Description string `json:"description"`

	// Name The tool name the model sees, and the RPC method the agent calls
	// on the frontend. Unique in the agent.
	Name       LivekitPublicapiAgentsV1BuilderAgentConfigName             `json:"name"`
	Parameters *[]LivekitPublicapiAgentsV1BuilderAgentConfigToolParameter `json:"parameters,omitempty"`

	// PreviewResponse A sample response, used when you preview the agent in the dashboard.
	PreviewResponse *string `json:"previewResponse,omitempty"`

	// Silent If true, the agent does not tell the user that it uses the tool.
	Silent *bool `json:"silent,omitempty"`
}

LivekitPublicapiAgentsV1BuilderAgentConfigClientTool defines model for livekit.publicapi.agents.v1.BuilderAgentConfig.ClientTool.

type LivekitPublicapiAgentsV1BuilderAgentConfigDataCollectionField added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigDataCollectionField struct {
	// HasManyResults If true, the agent collects a list of results, until the user says the list is complete.
	HasManyResults *bool `json:"hasManyResults,omitempty"`

	// Name The task name. Unique in the agent.
	Name LivekitPublicapiAgentsV1BuilderAgentConfigFieldName `json:"name"`

	// ResultFields The values that one result contains.
	ResultFields []struct {
		Description string `json:"description"`

		// Name Unique in the field.
		Name     LivekitPublicapiAgentsV1BuilderAgentConfigFieldName                            `json:"name"`
		Optional *bool                                                                          `json:"optional,omitempty"`
		Type     *LivekitPublicapiAgentsV1BuilderAgentConfigDataCollectionFieldResultFieldsType `json:"type,omitempty"`
	} `json:"resultFields"`

	// TaskInstructions How the agent collects this data.
	TaskInstructions string `json:"taskInstructions"`
}

LivekitPublicapiAgentsV1BuilderAgentConfigDataCollectionField defines model for livekit.publicapi.agents.v1.BuilderAgentConfig.DataCollectionField.

type LivekitPublicapiAgentsV1BuilderAgentConfigDataCollectionFieldResultFieldsType added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigDataCollectionFieldResultFieldsType string

LivekitPublicapiAgentsV1BuilderAgentConfigDataCollectionFieldResultFieldsType defines model for LivekitPublicapiAgentsV1BuilderAgentConfigDataCollectionField.ResultFields.Type.

const (
	LivekitPublicapiAgentsV1BuilderAgentConfigDataCollectionFieldResultFieldsTypeBoolean LivekitPublicapiAgentsV1BuilderAgentConfigDataCollectionFieldResultFieldsType = "boolean"
	LivekitPublicapiAgentsV1BuilderAgentConfigDataCollectionFieldResultFieldsTypeNumber  LivekitPublicapiAgentsV1BuilderAgentConfigDataCollectionFieldResultFieldsType = "number"
	LivekitPublicapiAgentsV1BuilderAgentConfigDataCollectionFieldResultFieldsTypeString  LivekitPublicapiAgentsV1BuilderAgentConfigDataCollectionFieldResultFieldsType = "string"
)

Defines values for LivekitPublicapiAgentsV1BuilderAgentConfigDataCollectionFieldResultFieldsType.

func (LivekitPublicapiAgentsV1BuilderAgentConfigDataCollectionFieldResultFieldsType) Valid added in v2.19.3

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

type LivekitPublicapiAgentsV1BuilderAgentConfigEndCallTool added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigEndCallTool struct {
	// DeleteRoom If true, ending the call also closes the room for all participants.
	DeleteRoom *bool `json:"deleteRoom,omitempty"`

	// Description Tells the model when to end the call.
	Description *string `json:"description,omitempty"`
	Enabled     bool    `json:"enabled"`

	// Instructions What the agent says before it ends the call.
	Instructions *string `json:"instructions,omitempty"`
}

LivekitPublicapiAgentsV1BuilderAgentConfigEndCallTool A tool the agent can use to end the call.

type LivekitPublicapiAgentsV1BuilderAgentConfigEndOfCall added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigEndOfCall struct {
	// Enabled If true, the agent writes a summary and sends the report. A
	// data_collection agent sends the collected data to url even when
	// this is false.
	Enabled bool                                               `json:"enabled"`
	Headers *LivekitPublicapiAgentsV1BuilderAgentConfigHeaders `json:"headers,omitempty"`

	// Llm The model that writes the summary.
	Llm *LivekitPublicapiAgentsV1BuilderAgentConfigModelId `json:"llm,omitempty"`

	// ReasoningEffort The reasoning effort of llm. Unset is low when enabled is true, and none when it is false.
	ReasoningEffort *LivekitPublicapiAgentsV1BuilderAgentConfigReasoningEffort `json:"reasoningEffort,omitempty"`

	// SummaryInstructions Instructions for the summary, added to the default ones.
	SummaryInstructions *string `json:"summaryInstructions,omitempty"`

	// Url The URL that receives the report as an HTTP POST. Required when enabled is true.
	Url *string `json:"url,omitempty"`
}

LivekitPublicapiAgentsV1BuilderAgentConfigEndOfCall A report that the agent sends to your URL when a call ends. It contains a summary of the conversation, and for a data_collection agent, the collected data.

type LivekitPublicapiAgentsV1BuilderAgentConfigFieldName added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigFieldName = string

LivekitPublicapiAgentsV1BuilderAgentConfigFieldName Lowercase snake_case, for example customer_name. Not a Python keyword.

type LivekitPublicapiAgentsV1BuilderAgentConfigHeader added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigHeader struct {
	// Name Starts with a letter, then letters, digits, "_" and "-".
	Name LivekitPublicapiAgentsV1BuilderAgentConfigName `json:"name"`

	// Value Can contain {{metadata.<name>}} placeholders.
	Value string `json:"value"`
}

LivekitPublicapiAgentsV1BuilderAgentConfigHeader defines model for livekit.publicapi.agents.v1.BuilderAgentConfig.Header.

type LivekitPublicapiAgentsV1BuilderAgentConfigHeaders added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigHeaders = []LivekitPublicapiAgentsV1BuilderAgentConfigHeader

LivekitPublicapiAgentsV1BuilderAgentConfigHeaders defines model for livekit.publicapi.agents.v1.BuilderAgentConfig.Headers.

type LivekitPublicapiAgentsV1BuilderAgentConfigHttpTool added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigHttpTool struct {
	// Description Tells the model when to use the tool.
	Description string                                                    `json:"description"`
	Headers     *LivekitPublicapiAgentsV1BuilderAgentConfigHeaders        `json:"headers,omitempty"`
	Method      *LivekitPublicapiAgentsV1BuilderAgentConfigHttpToolMethod `json:"method,omitempty"`

	// Name The tool name the model sees. Unique in the agent.
	Name       LivekitPublicapiAgentsV1BuilderAgentConfigName             `json:"name"`
	Parameters *[]LivekitPublicapiAgentsV1BuilderAgentConfigToolParameter `json:"parameters,omitempty"`

	// Silent If true, the agent does not tell the user that it uses the tool.
	Silent *bool `json:"silent,omitempty"`

	// Url The request URL. A path segment that starts with a colon
	// (/users/:userId) takes the value of the parameter with that name.
	Url LivekitPublicapiAgentsV1BuilderAgentConfigUrl `json:"url"`
}

LivekitPublicapiAgentsV1BuilderAgentConfigHttpTool defines model for livekit.publicapi.agents.v1.BuilderAgentConfig.HttpTool.

type LivekitPublicapiAgentsV1BuilderAgentConfigHttpToolMethod added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigHttpToolMethod string

LivekitPublicapiAgentsV1BuilderAgentConfigHttpToolMethod defines model for LivekitPublicapiAgentsV1BuilderAgentConfigHttpTool.Method.

func (LivekitPublicapiAgentsV1BuilderAgentConfigHttpToolMethod) Valid added in v2.19.3

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

type LivekitPublicapiAgentsV1BuilderAgentConfigLanguageCode added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigLanguageCode = string

LivekitPublicapiAgentsV1BuilderAgentConfigLanguageCode A language code, for example "en".

type LivekitPublicapiAgentsV1BuilderAgentConfigMcpServer added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigMcpServer struct {
	Headers *LivekitPublicapiAgentsV1BuilderAgentConfigHeaders `json:"headers,omitempty"`

	// Name Starts with a letter, then letters, digits, "_" and "-".
	Name LivekitPublicapiAgentsV1BuilderAgentConfigName `json:"name"`

	// Url The URL of the MCP server.
	Url LivekitPublicapiAgentsV1BuilderAgentConfigUrl `json:"url"`
}

LivekitPublicapiAgentsV1BuilderAgentConfigMcpServer defines model for livekit.publicapi.agents.v1.BuilderAgentConfig.McpServer.

type LivekitPublicapiAgentsV1BuilderAgentConfigModelId added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigModelId = string

LivekitPublicapiAgentsV1BuilderAgentConfigModelId A LiveKit Inference model ID, as "<provider>/<model>".

type LivekitPublicapiAgentsV1BuilderAgentConfigModelMode added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigModelMode string

LivekitPublicapiAgentsV1BuilderAgentConfigModelMode pipeline uses separate speech-to-text (stt), language (llm) and text-to-speech (tts) models. realtime uses one speech-to-speech model, set in tts.

Defines values for LivekitPublicapiAgentsV1BuilderAgentConfigModelMode.

func (LivekitPublicapiAgentsV1BuilderAgentConfigModelMode) Valid added in v2.19.3

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

type LivekitPublicapiAgentsV1BuilderAgentConfigName added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigName = string

LivekitPublicapiAgentsV1BuilderAgentConfigName Starts with a letter, then letters, digits, "_" and "-".

type LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellation added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellation string

LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellation The noise cancellation applied to the user's audio. Use krisp-bvc-telephony for phone calls. none turns it off.

const (
	LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellationKrispBvc          LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellation = "krisp-bvc"
	LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellationKrispBvcTelephony LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellation = "krisp-bvc-telephony"
	LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellationKrispNc           LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellation = "krisp-nc"
	LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellationNone              LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellation = "none"
	LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellationQuailL            LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellation = "quail-l"
	LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellationQuailVfL          LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellation = "quail-vf-l"
	LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellationQuailVfS          LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellation = "quail-vf-s"
)

Defines values for LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellation.

func (LivekitPublicapiAgentsV1BuilderAgentConfigNoiseCancellation) Valid added in v2.19.3

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

type LivekitPublicapiAgentsV1BuilderAgentConfigReasoningEffort added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigReasoningEffort string

LivekitPublicapiAgentsV1BuilderAgentConfigReasoningEffort defines model for livekit.publicapi.agents.v1.BuilderAgentConfig.ReasoningEffort.

const (
	LivekitPublicapiAgentsV1BuilderAgentConfigReasoningEffortHigh   LivekitPublicapiAgentsV1BuilderAgentConfigReasoningEffort = "high"
	LivekitPublicapiAgentsV1BuilderAgentConfigReasoningEffortLow    LivekitPublicapiAgentsV1BuilderAgentConfigReasoningEffort = "low"
	LivekitPublicapiAgentsV1BuilderAgentConfigReasoningEffortMedium LivekitPublicapiAgentsV1BuilderAgentConfigReasoningEffort = "medium"
	LivekitPublicapiAgentsV1BuilderAgentConfigReasoningEffortNone   LivekitPublicapiAgentsV1BuilderAgentConfigReasoningEffort = "none"
	LivekitPublicapiAgentsV1BuilderAgentConfigReasoningEffortXhigh  LivekitPublicapiAgentsV1BuilderAgentConfigReasoningEffort = "xhigh"
)

Defines values for LivekitPublicapiAgentsV1BuilderAgentConfigReasoningEffort.

func (LivekitPublicapiAgentsV1BuilderAgentConfigReasoningEffort) Valid added in v2.19.3

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

type LivekitPublicapiAgentsV1BuilderAgentConfigToolParameter added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigToolParameter struct {
	// Description Tells the model what value to give.
	Description string `json:"description"`

	// Name The parameter name. An HTTP tool sends a parameter that its url
	// names as a path segment (":name") in the path, and all others in
	// the query (GET) or the JSON body.
	Name LivekitPublicapiAgentsV1BuilderAgentConfigName `json:"name"`

	// Required If false, the model can omit the parameter.
	Required *bool                                                        `json:"required,omitempty"`
	Type     *LivekitPublicapiAgentsV1BuilderAgentConfigToolParameterType `json:"type,omitempty"`
}

LivekitPublicapiAgentsV1BuilderAgentConfigToolParameter defines model for livekit.publicapi.agents.v1.BuilderAgentConfig.ToolParameter.

type LivekitPublicapiAgentsV1BuilderAgentConfigToolParameterType added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigToolParameterType string

LivekitPublicapiAgentsV1BuilderAgentConfigToolParameterType defines model for LivekitPublicapiAgentsV1BuilderAgentConfigToolParameter.Type.

const (
	LivekitPublicapiAgentsV1BuilderAgentConfigToolParameterTypeBoolean LivekitPublicapiAgentsV1BuilderAgentConfigToolParameterType = "boolean"
	LivekitPublicapiAgentsV1BuilderAgentConfigToolParameterTypeInteger LivekitPublicapiAgentsV1BuilderAgentConfigToolParameterType = "integer"
	LivekitPublicapiAgentsV1BuilderAgentConfigToolParameterTypeNumber  LivekitPublicapiAgentsV1BuilderAgentConfigToolParameterType = "number"
	LivekitPublicapiAgentsV1BuilderAgentConfigToolParameterTypeString  LivekitPublicapiAgentsV1BuilderAgentConfigToolParameterType = "string"
)

Defines values for LivekitPublicapiAgentsV1BuilderAgentConfigToolParameterType.

func (LivekitPublicapiAgentsV1BuilderAgentConfigToolParameterType) Valid added in v2.19.3

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

type LivekitPublicapiAgentsV1BuilderAgentConfigTtsVoiceType added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigTtsVoiceType string

LivekitPublicapiAgentsV1BuilderAgentConfigTtsVoiceType custom if ttsVoice is a voice that you made with the tts provider.

Defines values for LivekitPublicapiAgentsV1BuilderAgentConfigTtsVoiceType.

func (LivekitPublicapiAgentsV1BuilderAgentConfigTtsVoiceType) Valid added in v2.19.3

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

type LivekitPublicapiAgentsV1BuilderAgentConfigUrl added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigUrl = string

LivekitPublicapiAgentsV1BuilderAgentConfigUrl An http or https URL.

type LivekitPublicapiAgentsV1BuilderAgentConfigVariable added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigVariable struct {
	// contains filtered or unexported fields
}

LivekitPublicapiAgentsV1BuilderAgentConfigVariable A placeholder. type is string, number or boolean; with no type, the type of default decides.

func (LivekitPublicapiAgentsV1BuilderAgentConfigVariable) AsLivekitPublicapiAgentsV1BuilderAgentConfigVariable0 added in v2.19.3

func (t LivekitPublicapiAgentsV1BuilderAgentConfigVariable) AsLivekitPublicapiAgentsV1BuilderAgentConfigVariable0() (LivekitPublicapiAgentsV1BuilderAgentConfigVariable0, error)

AsLivekitPublicapiAgentsV1BuilderAgentConfigVariable0 returns the union data inside the LivekitPublicapiAgentsV1BuilderAgentConfigVariable as a LivekitPublicapiAgentsV1BuilderAgentConfigVariable0

func (LivekitPublicapiAgentsV1BuilderAgentConfigVariable) AsLivekitPublicapiAgentsV1BuilderAgentConfigVariable1 added in v2.19.3

func (t LivekitPublicapiAgentsV1BuilderAgentConfigVariable) AsLivekitPublicapiAgentsV1BuilderAgentConfigVariable1() (LivekitPublicapiAgentsV1BuilderAgentConfigVariable1, error)

AsLivekitPublicapiAgentsV1BuilderAgentConfigVariable1 returns the union data inside the LivekitPublicapiAgentsV1BuilderAgentConfigVariable as a LivekitPublicapiAgentsV1BuilderAgentConfigVariable1

func (LivekitPublicapiAgentsV1BuilderAgentConfigVariable) AsLivekitPublicapiAgentsV1BuilderAgentConfigVariable2 added in v2.19.3

func (t LivekitPublicapiAgentsV1BuilderAgentConfigVariable) AsLivekitPublicapiAgentsV1BuilderAgentConfigVariable2() (LivekitPublicapiAgentsV1BuilderAgentConfigVariable2, error)

AsLivekitPublicapiAgentsV1BuilderAgentConfigVariable2 returns the union data inside the LivekitPublicapiAgentsV1BuilderAgentConfigVariable as a LivekitPublicapiAgentsV1BuilderAgentConfigVariable2

func (*LivekitPublicapiAgentsV1BuilderAgentConfigVariable) FromLivekitPublicapiAgentsV1BuilderAgentConfigVariable0 added in v2.19.3

func (t *LivekitPublicapiAgentsV1BuilderAgentConfigVariable) FromLivekitPublicapiAgentsV1BuilderAgentConfigVariable0(v LivekitPublicapiAgentsV1BuilderAgentConfigVariable0) error

FromLivekitPublicapiAgentsV1BuilderAgentConfigVariable0 overwrites any union data inside the LivekitPublicapiAgentsV1BuilderAgentConfigVariable as the provided LivekitPublicapiAgentsV1BuilderAgentConfigVariable0

func (*LivekitPublicapiAgentsV1BuilderAgentConfigVariable) FromLivekitPublicapiAgentsV1BuilderAgentConfigVariable1 added in v2.19.3

func (t *LivekitPublicapiAgentsV1BuilderAgentConfigVariable) FromLivekitPublicapiAgentsV1BuilderAgentConfigVariable1(v LivekitPublicapiAgentsV1BuilderAgentConfigVariable1) error

FromLivekitPublicapiAgentsV1BuilderAgentConfigVariable1 overwrites any union data inside the LivekitPublicapiAgentsV1BuilderAgentConfigVariable as the provided LivekitPublicapiAgentsV1BuilderAgentConfigVariable1

func (*LivekitPublicapiAgentsV1BuilderAgentConfigVariable) FromLivekitPublicapiAgentsV1BuilderAgentConfigVariable2 added in v2.19.3

func (t *LivekitPublicapiAgentsV1BuilderAgentConfigVariable) FromLivekitPublicapiAgentsV1BuilderAgentConfigVariable2(v LivekitPublicapiAgentsV1BuilderAgentConfigVariable2) error

FromLivekitPublicapiAgentsV1BuilderAgentConfigVariable2 overwrites any union data inside the LivekitPublicapiAgentsV1BuilderAgentConfigVariable as the provided LivekitPublicapiAgentsV1BuilderAgentConfigVariable2

func (LivekitPublicapiAgentsV1BuilderAgentConfigVariable) MarshalJSON added in v2.19.3

func (*LivekitPublicapiAgentsV1BuilderAgentConfigVariable) MergeLivekitPublicapiAgentsV1BuilderAgentConfigVariable0 added in v2.19.3

func (t *LivekitPublicapiAgentsV1BuilderAgentConfigVariable) MergeLivekitPublicapiAgentsV1BuilderAgentConfigVariable0(v LivekitPublicapiAgentsV1BuilderAgentConfigVariable0) error

MergeLivekitPublicapiAgentsV1BuilderAgentConfigVariable0 performs a merge with any union data inside the LivekitPublicapiAgentsV1BuilderAgentConfigVariable, using the provided LivekitPublicapiAgentsV1BuilderAgentConfigVariable0

func (*LivekitPublicapiAgentsV1BuilderAgentConfigVariable) MergeLivekitPublicapiAgentsV1BuilderAgentConfigVariable1 added in v2.19.3

func (t *LivekitPublicapiAgentsV1BuilderAgentConfigVariable) MergeLivekitPublicapiAgentsV1BuilderAgentConfigVariable1(v LivekitPublicapiAgentsV1BuilderAgentConfigVariable1) error

MergeLivekitPublicapiAgentsV1BuilderAgentConfigVariable1 performs a merge with any union data inside the LivekitPublicapiAgentsV1BuilderAgentConfigVariable, using the provided LivekitPublicapiAgentsV1BuilderAgentConfigVariable1

func (*LivekitPublicapiAgentsV1BuilderAgentConfigVariable) MergeLivekitPublicapiAgentsV1BuilderAgentConfigVariable2 added in v2.19.3

func (t *LivekitPublicapiAgentsV1BuilderAgentConfigVariable) MergeLivekitPublicapiAgentsV1BuilderAgentConfigVariable2(v LivekitPublicapiAgentsV1BuilderAgentConfigVariable2) error

MergeLivekitPublicapiAgentsV1BuilderAgentConfigVariable2 performs a merge with any union data inside the LivekitPublicapiAgentsV1BuilderAgentConfigVariable, using the provided LivekitPublicapiAgentsV1BuilderAgentConfigVariable2

func (*LivekitPublicapiAgentsV1BuilderAgentConfigVariable) UnmarshalJSON added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigVariable0 added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigVariable0 struct {
	Default *string `json:"default,omitempty"`

	// Name Starts with a letter, then letters, digits, "_" and "-".
	Name LivekitPublicapiAgentsV1BuilderAgentConfigName `json:"name"`
	Type interface{}                                    `json:"type"`
}

LivekitPublicapiAgentsV1BuilderAgentConfigVariable0 defines model for LivekitPublicapiAgentsV1BuilderAgentConfigVariable.0.

type LivekitPublicapiAgentsV1BuilderAgentConfigVariable1 added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigVariable1 struct {
	Default *float32 `json:"default,omitempty"`

	// Name Starts with a letter, then letters, digits, "_" and "-".
	Name LivekitPublicapiAgentsV1BuilderAgentConfigName `json:"name"`
	Type interface{}                                    `json:"type,omitempty"`
}

LivekitPublicapiAgentsV1BuilderAgentConfigVariable1 defines model for LivekitPublicapiAgentsV1BuilderAgentConfigVariable.1.

type LivekitPublicapiAgentsV1BuilderAgentConfigVariable2 added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentConfigVariable2 struct {
	Default *bool `json:"default,omitempty"`

	// Name Starts with a letter, then letters, digits, "_" and "-".
	Name LivekitPublicapiAgentsV1BuilderAgentConfigName `json:"name"`
	Type interface{}                                    `json:"type,omitempty"`
}

LivekitPublicapiAgentsV1BuilderAgentConfigVariable2 defines model for LivekitPublicapiAgentsV1BuilderAgentConfigVariable.2.

type LivekitPublicapiAgentsV1BuilderAgentsCreateResponse added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentsCreateResponse struct {
	BuilderAgent *LivekitPublicapiAgentsV1BuilderAgent `json:"builderAgent,omitempty"`
}

LivekitPublicapiAgentsV1BuilderAgentsCreateResponse defines model for livekit.publicapi.agents.v1.BuilderAgents.Create.Response.

type LivekitPublicapiAgentsV1BuilderAgentsDeleteResponse added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentsDeleteResponse = map[string]interface{}

LivekitPublicapiAgentsV1BuilderAgentsDeleteResponse defines model for livekit.publicapi.agents.v1.BuilderAgents.Delete.Response.

type LivekitPublicapiAgentsV1BuilderAgentsDeployResponse added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentsDeployResponse struct {
	// Status DEPLOYMENT_STATUS_BUILDING. Call GetBuilderAgent to follow the
	//  deployment.
	Status *LivekitPublicapiAgentsV1DeploymentStatus `json:"status,omitempty"`

	// VersionId The version that the deployment builds.
	VersionId *string `json:"versionId,omitempty"`
}

LivekitPublicapiAgentsV1BuilderAgentsDeployResponse defines model for livekit.publicapi.agents.v1.BuilderAgents.Deploy.Response.

type LivekitPublicapiAgentsV1BuilderAgentsGetResponse added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentsGetResponse struct {
	BuilderAgent *LivekitPublicapiAgentsV1BuilderAgent `json:"builderAgent,omitempty"`
}

LivekitPublicapiAgentsV1BuilderAgentsGetResponse defines model for livekit.publicapi.agents.v1.BuilderAgents.Get.Response.

type LivekitPublicapiAgentsV1BuilderAgentsListResponse added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentsListResponse struct {
	Items    *[]LivekitPublicapiAgentsV1BuilderAgent `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo       `json:"pageInfo,omitempty"`
}

LivekitPublicapiAgentsV1BuilderAgentsListResponse defines model for livekit.publicapi.agents.v1.BuilderAgents.List.Response.

type LivekitPublicapiAgentsV1BuilderAgentsUpdateResponse added in v2.19.3

type LivekitPublicapiAgentsV1BuilderAgentsUpdateResponse struct {
	BuilderAgent *LivekitPublicapiAgentsV1BuilderAgent `json:"builderAgent,omitempty"`
}

LivekitPublicapiAgentsV1BuilderAgentsUpdateResponse defines model for livekit.publicapi.agents.v1.BuilderAgents.Update.Response.

type LivekitPublicapiAgentsV1Deployment added in v2.19.3

type LivekitPublicapiAgentsV1Deployment struct {
	// DeployedAt When the running agent was deployed.
	DeployedAt *GoogleProtobufTimestamp                  `json:"deployedAt,omitempty"`
	Status     *LivekitPublicapiAgentsV1DeploymentStatus `json:"status,omitempty"`

	// VersionId The version that the running agent was built from. Empty when it is not
	//  known, or when the agent is not deployed.
	VersionId *string `json:"versionId,omitempty"`
}

LivekitPublicapiAgentsV1Deployment What runs on LiveKit Cloud for a builder agent.

type LivekitPublicapiAgentsV1DeploymentStatus added in v2.19.3

type LivekitPublicapiAgentsV1DeploymentStatus string

LivekitPublicapiAgentsV1DeploymentStatus The state of a builder agent's deployment. When the agent runs in more than

one region, the status is the one that needs attention first.
const (
	DEPLOYMENTSTATUSBUILDFAILED LivekitPublicapiAgentsV1DeploymentStatus = "DEPLOYMENT_STATUS_BUILD_FAILED"
	DEPLOYMENTSTATUSBUILDING    LivekitPublicapiAgentsV1DeploymentStatus = "DEPLOYMENT_STATUS_BUILDING"
	DEPLOYMENTSTATUSDELETING    LivekitPublicapiAgentsV1DeploymentStatus = "DEPLOYMENT_STATUS_DELETING"
	DEPLOYMENTSTATUSFAILED      LivekitPublicapiAgentsV1DeploymentStatus = "DEPLOYMENT_STATUS_FAILED"
	DEPLOYMENTSTATUSNOTDEPLOYED LivekitPublicapiAgentsV1DeploymentStatus = "DEPLOYMENT_STATUS_NOT_DEPLOYED"
	DEPLOYMENTSTATUSRUNNING     LivekitPublicapiAgentsV1DeploymentStatus = "DEPLOYMENT_STATUS_RUNNING"
	DEPLOYMENTSTATUSSLEEPING    LivekitPublicapiAgentsV1DeploymentStatus = "DEPLOYMENT_STATUS_SLEEPING"
	DEPLOYMENTSTATUSSTARTING    LivekitPublicapiAgentsV1DeploymentStatus = "DEPLOYMENT_STATUS_STARTING"
	DEPLOYMENTSTATUSUNSPECIFIED LivekitPublicapiAgentsV1DeploymentStatus = "DEPLOYMENT_STATUS_UNSPECIFIED"
)

Defines values for LivekitPublicapiAgentsV1DeploymentStatus.

func (LivekitPublicapiAgentsV1DeploymentStatus) Valid added in v2.19.3

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

type LivekitPublicapiAnalyticsV1AgentAnalytics added in v2.19.0

type LivekitPublicapiAnalyticsV1AgentAnalytics struct {
	AgentId     *string                                               `json:"agentId,omitempty"`
	AgentName   *string                                               `json:"agentName,omitempty"`
	Performance *LivekitPublicapiAnalyticsV1AgentAnalyticsPerformance `json:"performance,omitempty"`
	Region      *string                                               `json:"region,omitempty"`
	Sessions    *LivekitPublicapiAnalyticsV1AgentAnalyticsSessions    `json:"sessions,omitempty"`
	Status      *string                                               `json:"status,omitempty"`
	Usage       *LivekitPublicapiAnalyticsV1AgentAnalyticsUsage       `json:"usage,omitempty"`
}

LivekitPublicapiAnalyticsV1AgentAnalytics One agent's analytics over a time range. Common concerns are grouped so they

read the same whether you fetch one agent or the whole roster: `sessions`,
`performance`, and `usage` are always found under those names.

type LivekitPublicapiAnalyticsV1AgentAnalyticsPerformance added in v2.19.0

type LivekitPublicapiAnalyticsV1AgentAnalyticsPerformance struct {
	// InterruptedRate Fraction 0..1 of turns the user interrupted the agent.
	InterruptedRate *float64                                     `json:"interruptedRate,omitempty"`
	JoinLatency     *LivekitPublicapiAnalyticsV1Percentiles      `json:"joinLatency,omitempty"`
	Latency         *LivekitPublicapiAnalyticsV1LatencyBreakdown `json:"latency,omitempty"`
	Turns           *string                                      `json:"turns,omitempty"`
}

LivekitPublicapiAnalyticsV1AgentAnalyticsPerformance defines model for livekit.publicapi.analytics.v1.AgentAnalytics.Performance.

type LivekitPublicapiAnalyticsV1AgentAnalyticsSessions added in v2.19.0

type LivekitPublicapiAnalyticsV1AgentAnalyticsSessions struct {
	Active         *string `json:"active,omitempty"`
	DispatchErrors *string `json:"dispatchErrors,omitempty"`

	// Estimate Set when `total` is an approximation; carries its tolerance.
	Estimate *LivekitPublicapiAnalyticsV1Estimate `json:"estimate,omitempty"`
	Total    *string                              `json:"total,omitempty"`
}

LivekitPublicapiAnalyticsV1AgentAnalyticsSessions defines model for livekit.publicapi.analytics.v1.AgentAnalytics.Sessions.

type LivekitPublicapiAnalyticsV1AgentAnalyticsUsage added in v2.19.0

type LivekitPublicapiAnalyticsV1AgentAnalyticsUsage struct {
	AvgTokensPerSession *string                                  `json:"avgTokensPerSession,omitempty"`
	Models              *[]LivekitPublicapiAnalyticsV1ModelUsage `json:"models,omitempty"`
}

LivekitPublicapiAnalyticsV1AgentAnalyticsUsage defines model for livekit.publicapi.analytics.v1.AgentAnalytics.Usage.

type LivekitPublicapiAnalyticsV1AgentsGetResponse added in v2.19.0

type LivekitPublicapiAnalyticsV1AgentsGetResponse struct {
	Analytics *LivekitPublicapiAnalyticsV1AgentAnalytics `json:"analytics,omitempty"`
}

LivekitPublicapiAnalyticsV1AgentsGetResponse defines model for livekit.publicapi.analytics.v1.Agents.Get.Response.

type LivekitPublicapiAnalyticsV1AgentsListResponse added in v2.19.0

type LivekitPublicapiAnalyticsV1AgentsListResponse struct {
	Items    *[]LivekitPublicapiAnalyticsV1AgentAnalytics `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo            `json:"pageInfo,omitempty"`
}

LivekitPublicapiAnalyticsV1AgentsListResponse defines model for livekit.publicapi.analytics.v1.Agents.List.Response.

type LivekitPublicapiAnalyticsV1CountryCount added in v2.19.0

type LivekitPublicapiAnalyticsV1CountryCount struct {
	Count *string `json:"count,omitempty"`
	Name  *string `json:"name,omitempty"`
}

LivekitPublicapiAnalyticsV1CountryCount A per-country connection count for the top-countries breakdown.

type LivekitPublicapiAnalyticsV1DataPoint added in v2.19.0

type LivekitPublicapiAnalyticsV1DataPoint struct {
	// Timestamp The start of the sample interval.
	Timestamp *GoogleProtobufTimestamp `json:"timestamp,omitempty"`

	// Value The value over that interval.
	Value *float64 `json:"value,omitempty"`
}

LivekitPublicapiAnalyticsV1DataPoint One point of a per-session time series (quality, bandwidth, fps).

type LivekitPublicapiAnalyticsV1Estimate added in v2.19.0

type LivekitPublicapiAnalyticsV1Estimate struct {
	// ErrorMargin Fractional tolerance, such as 0.01 for +/-1%. Zero when unknown.
	ErrorMargin *float64 `json:"errorMargin,omitempty"`

	// IsEstimate True when the value is approximate rather than exact.
	IsEstimate *bool `json:"isEstimate,omitempty"`
}

LivekitPublicapiAnalyticsV1Estimate Flags a value that is approximate over large windows, with its tolerance. A

consumer should not treat an estimated value as exact.

type LivekitPublicapiAnalyticsV1LatencyBreakdown added in v2.19.0

type LivekitPublicapiAnalyticsV1LatencyBreakdown struct {
	AvgReplyMs *float64 `json:"avgReplyMs,omitempty"`
	EouMs      *float64 `json:"eouMs,omitempty"`
	LlmTtftMs  *float64 `json:"llmTtftMs,omitempty"`
	SttDelayMs *float64 `json:"sttDelayMs,omitempty"`
	TtsTtfbMs  *float64 `json:"ttsTtfbMs,omitempty"`
}

LivekitPublicapiAnalyticsV1LatencyBreakdown Where the time in an average agent reply goes, in

milliseconds.

type LivekitPublicapiAnalyticsV1ModelUsage added in v2.19.0

type LivekitPublicapiAnalyticsV1ModelUsage struct {
	CachedTokens *string  `json:"cachedTokens,omitempty"`
	Component    *string  `json:"component,omitempty"`
	InTokens     *string  `json:"inTokens,omitempty"`
	LatencyP50Ms *float64 `json:"latencyP50Ms,omitempty"`
	LatencyP95Ms *float64 `json:"latencyP95Ms,omitempty"`
	Model        *string  `json:"model,omitempty"`
	OutTokens    *string  `json:"outTokens,omitempty"`
	Provider     *string  `json:"provider,omitempty"`
	Requests     *string  `json:"requests,omitempty"`
	Sessions     *string  `json:"sessions,omitempty"`
	TtsChars     *string  `json:"ttsChars,omitempty"`
}

LivekitPublicapiAnalyticsV1ModelUsage Per-model usage over the window. `component` is the stage the model served

(llm, tts, realtime); latency is TTFT for llm/realtime rows and TTFB for tts
rows.

type LivekitPublicapiAnalyticsV1ParticipantInfo added in v2.19.0

type LivekitPublicapiAnalyticsV1ParticipantInfo struct {
	// JoinedAt First join across the connections for the identity.
	JoinedAt *GoogleProtobufTimestamp `json:"joinedAt,omitempty"`

	// LeftAt Last leave across the connections for the identity; unset while no leave is
	//  recorded, so a participant of an active session with no leftAt may still be
	//  connected.
	LeftAt *GoogleProtobufTimestamp `json:"leftAt,omitempty"`

	// Location Country name, such as "United States"; "Unknown" when no country is recorded.
	Location *string `json:"location,omitempty"`

	// ParticipantIdentity The identity the participant connected with.
	ParticipantIdentity *string `json:"participantIdentity,omitempty"`

	// ParticipantName The display name of the participant.
	ParticipantName *string `json:"participantName,omitempty"`

	// PublishedSources Which track sources the participant published during the session.
	PublishedSources *LivekitPublicapiAnalyticsV1PublishedSources `json:"publishedSources,omitempty"`

	// Region LiveKit region display name; "Unknown" when the region isn't recognized.
	Region *string `json:"region,omitempty"`

	// Sessions The participant's participant sessions, oldest join first: one per
	//  connection, so each reconnect adds one. At most 50: a participant that
	//  reconnected more often has its oldest 50 here. Empty when they couldn't be
	//  read; the rest of the row still returns.
	Sessions *[]LivekitPublicapiAnalyticsV1ParticipantSession `json:"sessions,omitempty"`
}

LivekitPublicapiAnalyticsV1ParticipantInfo One participant identity of a room session, as the participants table on

the dashboard shows it.

type LivekitPublicapiAnalyticsV1ParticipantSession added in v2.19.0

type LivekitPublicapiAnalyticsV1ParticipantSession struct {
	// Browser Client browser, such as "chrome".
	Browser *string `json:"browser,omitempty"`

	// ConnectionTimeMs Milliseconds the client took to connect.
	ConnectionTimeMs *int32 `json:"connectionTimeMs,omitempty"`

	// ConnectionType Transport the client connected over: "UDP", "TCP" or "TURN"; empty when
	//  not reported.
	ConnectionType *string `json:"connectionType,omitempty"`

	// DeviceModel Client device model, such as "iPhone 15".
	DeviceModel *string `json:"deviceModel,omitempty"`

	// DurationSeconds Seconds from joinedAt to leftAt, as the dashboard counts them. While no
	//  leave is recorded, to the session end once it has one, else to now.
	DurationSeconds *string `json:"durationSeconds,omitempty"`

	// JoinedAt When this participant session joined.
	JoinedAt *GoogleProtobufTimestamp `json:"joinedAt,omitempty"`

	// LeftAt When it left; unset while no leave is recorded.
	LeftAt *GoogleProtobufTimestamp `json:"leftAt,omitempty"`

	// Location Country name, such as "United States"; "Unknown" when no country is recorded.
	Location *string `json:"location,omitempty"`

	// Os Client operating system: "ios", "android", "windows", "mac" or "linux";
	//  empty when not reported.
	Os *string `json:"os,omitempty"`

	// ParticipantSessionId The participant session id (PA_...).
	ParticipantSessionId *string `json:"participantSessionId,omitempty"`

	// Region LiveKit region display name; "Unknown" when the region isn't recognized.
	Region *string `json:"region,omitempty"`

	// SdkVersion LiveKit client SDK version, such as "2.6.1". The SDK name isn't recorded.
	SdkVersion *string `json:"sdkVersion,omitempty"`
}

LivekitPublicapiAnalyticsV1ParticipantSession One participant session of a participant: one join-to-leave stretch,

identified by its participant session id (PA_...), with the client it
connected from. A participant that reconnects, from the same device or
another, has several.

type LivekitPublicapiAnalyticsV1ParticipantSortField added in v2.19.1

type LivekitPublicapiAnalyticsV1ParticipantSortField string

LivekitPublicapiAnalyticsV1ParticipantSortField The column a participant listing is ordered by.

const (
	PARTICIPANTSORTFIELDJOINEDAT    LivekitPublicapiAnalyticsV1ParticipantSortField = "PARTICIPANT_SORT_FIELD_JOINED_AT"
	PARTICIPANTSORTFIELDLEFTAT      LivekitPublicapiAnalyticsV1ParticipantSortField = "PARTICIPANT_SORT_FIELD_LEFT_AT"
	PARTICIPANTSORTFIELDUNSPECIFIED LivekitPublicapiAnalyticsV1ParticipantSortField = "PARTICIPANT_SORT_FIELD_UNSPECIFIED"
)

Defines values for LivekitPublicapiAnalyticsV1ParticipantSortField.

func (LivekitPublicapiAnalyticsV1ParticipantSortField) Valid added in v2.19.1

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

type LivekitPublicapiAnalyticsV1Percentiles added in v2.19.0

type LivekitPublicapiAnalyticsV1Percentiles struct {
	P50Ms *float64 `json:"p50Ms,omitempty"`
	P90Ms *float64 `json:"p90Ms,omitempty"`
	P99Ms *float64 `json:"p99Ms,omitempty"`
}

LivekitPublicapiAnalyticsV1Percentiles A p50/p90/p99 triple in milliseconds.

type LivekitPublicapiAnalyticsV1PlatformShare added in v2.19.0

type LivekitPublicapiAnalyticsV1PlatformShare struct {
	Name  *string  `json:"name,omitempty"`
	Share *float64 `json:"share,omitempty"`
}

LivekitPublicapiAnalyticsV1PlatformShare A per-platform share of connections (fraction 0..1).

type LivekitPublicapiAnalyticsV1ProjectAnalytics added in v2.19.0

type LivekitPublicapiAnalyticsV1ProjectAnalytics struct {
	Participants *LivekitPublicapiAnalyticsV1ProjectAnalyticsParticipants `json:"participants,omitempty"`
	Sessions     *LivekitPublicapiAnalyticsV1ProjectAnalyticsSessions     `json:"sessions,omitempty"`
}

LivekitPublicapiAnalyticsV1ProjectAnalytics The project overview over a time range, grouped the same way: `sessions` and

`participants`.

type LivekitPublicapiAnalyticsV1ProjectAnalyticsParticipants added in v2.19.0

type LivekitPublicapiAnalyticsV1ProjectAnalyticsParticipants struct {
	Platforms    *[]LivekitPublicapiAnalyticsV1PlatformShare `json:"platforms,omitempty"`
	TopCountries *[]LivekitPublicapiAnalyticsV1CountryCount  `json:"topCountries,omitempty"`
	Total        *string                                     `json:"total,omitempty"`
}

LivekitPublicapiAnalyticsV1ProjectAnalyticsParticipants defines model for livekit.publicapi.analytics.v1.ProjectAnalytics.Participants.

type LivekitPublicapiAnalyticsV1ProjectAnalyticsSessions added in v2.19.0

type LivekitPublicapiAnalyticsV1ProjectAnalyticsSessions struct {
	AgentMinutes       *string  `json:"agentMinutes,omitempty"`
	AvgDurationSeconds *float64 `json:"avgDurationSeconds,omitempty"`
	Served             *string  `json:"served,omitempty"`
	WithAgents         *string  `json:"withAgents,omitempty"`
	WithTelephony      *string  `json:"withTelephony,omitempty"`
}

LivekitPublicapiAnalyticsV1ProjectAnalyticsSessions defines model for livekit.publicapi.analytics.v1.ProjectAnalytics.Sessions.

type LivekitPublicapiAnalyticsV1ProjectOverviewGetResponse added in v2.19.0

type LivekitPublicapiAnalyticsV1ProjectOverviewGetResponse struct {
	Analytics *LivekitPublicapiAnalyticsV1ProjectAnalytics `json:"analytics,omitempty"`
}

LivekitPublicapiAnalyticsV1ProjectOverviewGetResponse defines model for livekit.publicapi.analytics.v1.ProjectOverview.Get.Response.

type LivekitPublicapiAnalyticsV1PublishedSources added in v2.19.0

type LivekitPublicapiAnalyticsV1PublishedSources struct {
	// CameraTrack True when the participant published a camera track.
	CameraTrack *bool `json:"cameraTrack,omitempty"`

	// MicrophoneTrack True when the participant published a microphone track.
	MicrophoneTrack *bool `json:"microphoneTrack,omitempty"`

	// ScreenShareAudio True when the participant published screen share audio.
	ScreenShareAudio *bool `json:"screenShareAudio,omitempty"`

	// ScreenShareTrack True when the participant published a screen share track.
	ScreenShareTrack *bool `json:"screenShareTrack,omitempty"`
}

LivekitPublicapiAnalyticsV1PublishedSources Which track sources a participant published.

type LivekitPublicapiAnalyticsV1Session

type LivekitPublicapiAnalyticsV1Session struct {
	// EndedAt When the session ended. A session that stopped reporting is given its last
	//  report time, even while its status is still ACTIVE; unset while it is live.
	EndedAt *GoogleProtobufTimestamp `json:"endedAt,omitempty"`

	// HasDetailData False while the full session detail (end time, participant counts,
	//  duration) is still being finalized; the detail endpoints are complete once
	//  it is true.
	HasDetailData *bool `json:"hasDetailData,omitempty"`

	// LastActive When the session last reported activity.
	LastActive *GoogleProtobufTimestamp `json:"lastActive,omitempty"`

	// NumParticipants Distinct participants (by identity) connected for more than zero seconds
	//  during the session. Not a live count: a closed session keeps its total.
	NumParticipants *int32 `json:"numParticipants,omitempty"`

	// RoomName The name of the room the session ran in.
	RoomName *string `json:"roomName,omitempty"`

	// SessionId The room session ID (`RM_...`).
	SessionId *string `json:"sessionId,omitempty"`

	// StartedAt When the session started.
	StartedAt *GoogleProtobufTimestamp `json:"startedAt,omitempty"`

	// Status ACTIVE until the session close is recorded, so a session that stopped
	//  reporting can be ACTIVE with an endedAt.
	Status *LivekitPublicapiAnalyticsV1SessionStatus `json:"status,omitempty"`

	// Tags The tags recorded on the session.
	Tags *[]string `json:"tags,omitempty"`
}

LivekitPublicapiAnalyticsV1Session One room-session list row. Bandwidth and connection time are on the

GetSession detail only.

type LivekitPublicapiAnalyticsV1SessionDetail added in v2.19.0

type LivekitPublicapiAnalyticsV1SessionDetail struct {
	// BandwidthIn Bytes participants published, all track types.
	BandwidthIn *string `json:"bandwidthIn,omitempty"`

	// BandwidthOut Bytes participants subscribed to, all track types.
	BandwidthOut *string `json:"bandwidthOut,omitempty"`

	// ConnectionSeconds WebRTC connection time in seconds, summed over standard participants and
	//  self-hosted agents (cloud agents excluded), as the dashboard counts it.
	ConnectionSeconds *string `json:"connectionSeconds,omitempty"`

	// EndedAt When the session ended, as on Session.
	EndedAt *GoogleProtobufTimestamp `json:"endedAt,omitempty"`

	// NumParticipants Same count as Session.numParticipants.
	NumParticipants *int32 `json:"numParticipants,omitempty"`

	// Participants The first page of participants, newest join first (at most 50). When
	//  participantsPage.hasMore, continue with ListSessionParticipants: pass
	//  participantsPage.nextCursor as page.cursor, with sortBy and sortOrder unset
	//  (or joinedAt descending, the same thing).
	Participants *[]LivekitPublicapiAnalyticsV1ParticipantInfo `json:"participants,omitempty"`

	// ParticipantsPage Paging state for participants. Unset when the first page couldn't be
	//  read: the rest of the detail still returns, and ListSessionParticipants
	//  lists the participants.
	ParticipantsPage *LivekitPublicapiCommonV1PageInfo `json:"participantsPage,omitempty"`

	// PublishBps Published audio plus video bitrate, in bits per second.
	PublishBps *[]LivekitPublicapiAnalyticsV1DataPoint `json:"publishBps,omitempty"`

	// PublishFps Published video frame rate.
	PublishFps *[]LivekitPublicapiAnalyticsV1DataPoint `json:"publishFps,omitempty"`

	// Quality Average connection quality as a 0-1 fraction of the 0-5 track score.
	Quality *[]LivekitPublicapiAnalyticsV1DataPoint `json:"quality,omitempty"`

	// RoomName The name of the room the session ran in.
	RoomName *string `json:"roomName,omitempty"`

	// SessionId The room session ID (`RM_...`).
	SessionId *string `json:"sessionId,omitempty"`

	// StartedAt When the session started.
	StartedAt *GoogleProtobufTimestamp `json:"startedAt,omitempty"`

	// Status The session status, as on Session.
	Status *LivekitPublicapiAnalyticsV1SessionStatus `json:"status,omitempty"`

	// SubscribeBps Subscribed audio plus video bitrate, in bits per second.
	SubscribeBps *[]LivekitPublicapiAnalyticsV1DataPoint `json:"subscribeBps,omitempty"`

	// SubscribeFps Subscribed video frame rate.
	SubscribeFps *[]LivekitPublicapiAnalyticsV1DataPoint `json:"subscribeFps,omitempty"`

	// Tags The session tags, as on Session.
	Tags *[]string `json:"tags,omitempty"`
}

LivekitPublicapiAnalyticsV1SessionDetail The richer per-session view: a superset of Session with the room id, totals,

the first page of participants, and per-metric timelines. The timelines share
one grid sized from the session length, as on the dashboard: one point per
bucket, 0 where a bucket has no data.

type LivekitPublicapiAnalyticsV1SessionEvent added in v2.19.0

type LivekitPublicapiAnalyticsV1SessionEvent struct {
	// ParticipantIdentity The identity of the participant the event is about; empty for a room
	//  event, or an API call that names no participant.
	ParticipantIdentity *string `json:"participantIdentity,omitempty"`

	// ParticipantSessionId The participant session (`PA_...`) the event is about; empty when
	//  `participantIdentity` is.
	ParticipantSessionId *string `json:"participantSessionId,omitempty"`

	// Payload The event fields from an allowlist, each present only when the event
	//  has it:
	//    - participant events: participantKind, disconnectReason,
	//      reconnectReason, isMigration and connectionType;
	//    - track events: trackId, trackType, trackSource, mimeType and muted;
	//    - `ROOM_ENDED`: reason;
	//    - `API_CALL`: service, method, status, twirpErrorCode and durationNs.
	//
	//  Every other field that the event recorded is left out.
	Payload *GoogleProtobufStruct `json:"payload,omitempty"`

	// Timestamp When the event was recorded.
	Timestamp *GoogleProtobufTimestamp `json:"timestamp,omitempty"`

	// Type The event type, an `AnalyticsEventType` name such as `PARTICIPANT_JOINED`.
	Type *string `json:"type,omitempty"`
}

LivekitPublicapiAnalyticsV1SessionEvent One event of a room session, such as a participant joining or a track being

published.

type LivekitPublicapiAnalyticsV1SessionEventsListResponse added in v2.19.0

type LivekitPublicapiAnalyticsV1SessionEventsListResponse struct {
	Items    *[]LivekitPublicapiAnalyticsV1SessionEvent `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo          `json:"pageInfo,omitempty"`
}

LivekitPublicapiAnalyticsV1SessionEventsListResponse defines model for livekit.publicapi.analytics.v1.SessionEvents.List.Response.

type LivekitPublicapiAnalyticsV1SessionParticipantsListResponse added in v2.19.0

type LivekitPublicapiAnalyticsV1SessionParticipantsListResponse struct {
	Items    *[]LivekitPublicapiAnalyticsV1ParticipantInfo `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo             `json:"pageInfo,omitempty"`
}

LivekitPublicapiAnalyticsV1SessionParticipantsListResponse defines model for livekit.publicapi.analytics.v1.SessionParticipants.List.Response.

type LivekitPublicapiAnalyticsV1SessionStatus

type LivekitPublicapiAnalyticsV1SessionStatus string

LivekitPublicapiAnalyticsV1SessionStatus The lifecycle state of a session.

const (
	SESSIONSTATUSACTIVE      LivekitPublicapiAnalyticsV1SessionStatus = "SESSION_STATUS_ACTIVE"
	SESSIONSTATUSCLOSED      LivekitPublicapiAnalyticsV1SessionStatus = "SESSION_STATUS_CLOSED"
	SESSIONSTATUSUNSPECIFIED LivekitPublicapiAnalyticsV1SessionStatus = "SESSION_STATUS_UNSPECIFIED"
)

Defines values for LivekitPublicapiAnalyticsV1SessionStatus.

func (LivekitPublicapiAnalyticsV1SessionStatus) Valid

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

type LivekitPublicapiAnalyticsV1SessionsGetResponse added in v2.19.0

type LivekitPublicapiAnalyticsV1SessionsGetResponse struct {
	// Detail Absent while the session detail is still being finalized (see
	//  Session.hasDetailData on the list row).
	Detail  *LivekitPublicapiAnalyticsV1SessionDetail `json:"detail,omitempty"`
	Session *LivekitPublicapiAnalyticsV1Session       `json:"session,omitempty"`
}

LivekitPublicapiAnalyticsV1SessionsGetResponse defines model for livekit.publicapi.analytics.v1.Sessions.Get.Response.

type LivekitPublicapiAnalyticsV1SessionsListResponse added in v2.19.0

type LivekitPublicapiAnalyticsV1SessionsListResponse struct {
	Items    *[]LivekitPublicapiAnalyticsV1Session `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo     `json:"pageInfo,omitempty"`
}

LivekitPublicapiAnalyticsV1SessionsListResponse defines model for livekit.publicapi.analytics.v1.Sessions.List.Response.

type LivekitPublicapiCommonV1PageInfo

type LivekitPublicapiCommonV1PageInfo struct {
	// HasMore True when another page follows this one.
	HasMore *bool `json:"hasMore,omitempty"`

	// NextCursor Pass as `cursor` on the next request to fetch the following page. Empty on
	//  the last page.
	NextCursor *string `json:"nextCursor,omitempty"`
}

LivekitPublicapiCommonV1PageInfo The cursor-pagination metadata shared by every list response.

type LivekitPublicapiCommonV1SortOrder added in v2.19.0

type LivekitPublicapiCommonV1SortOrder string

LivekitPublicapiCommonV1SortOrder The sort direction of a list request. A list that lets the caller pick a

direction takes it as `sortOrder` and documents its default column and
direction; one that can also sort on more than one column adds its own
`<X>SortField sortBy`.
const (
	SORTORDERASC         LivekitPublicapiCommonV1SortOrder = "SORT_ORDER_ASC"
	SORTORDERDESC        LivekitPublicapiCommonV1SortOrder = "SORT_ORDER_DESC"
	SORTORDERUNSPECIFIED LivekitPublicapiCommonV1SortOrder = "SORT_ORDER_UNSPECIFIED"
)

Defines values for LivekitPublicapiCommonV1SortOrder.

func (LivekitPublicapiCommonV1SortOrder) Valid added in v2.19.0

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

type LivekitPublicapiDatabasesV1DatabasesCreateResponse added in v2.19.1

type LivekitPublicapiDatabasesV1DatabasesCreateResponse struct {
	DatabaseId *string `json:"databaseId,omitempty"`

	// ExpiresAt Unset when the database never expires.
	ExpiresAt *GoogleProtobufTimestamp `json:"expiresAt,omitempty"`
}

LivekitPublicapiDatabasesV1DatabasesCreateResponse defines model for livekit.publicapi.databases.v1.Databases.Create.Response.

type LivekitPublicapiDatabasesV1DatabasesDeleteResponse added in v2.19.1

type LivekitPublicapiDatabasesV1DatabasesDeleteResponse = map[string]interface{}

LivekitPublicapiDatabasesV1DatabasesDeleteResponse defines model for livekit.publicapi.databases.v1.Databases.Delete.Response.

type LivekitPublicapiDatabasesV1DatabasesExportResponse added in v2.19.1

type LivekitPublicapiDatabasesV1DatabasesExportResponse struct {
	// DownloadUrl Pre-authenticated object-storage URL.
	DownloadUrl *string `json:"downloadUrl,omitempty"`

	// ExpiresAt Of the URL, not the database.
	ExpiresAt *GoogleProtobufTimestamp `json:"expiresAt,omitempty"`

	// Tip The commit sequence the export is consistent at.
	Tip *string `json:"tip,omitempty"`
}

LivekitPublicapiDatabasesV1DatabasesExportResponse defines model for livekit.publicapi.databases.v1.Databases.Export.Response.

type LivekitPublicapiDatabasesV1DatabasesGetResponse added in v2.19.1

type LivekitPublicapiDatabasesV1DatabasesGetResponse struct {
	Database *LivekitAgentDBAgentDatabase `json:"database,omitempty"`
}

LivekitPublicapiDatabasesV1DatabasesGetResponse defines model for livekit.publicapi.databases.v1.Databases.Get.Response.

type LivekitPublicapiDatabasesV1DatabasesListResponse added in v2.19.1

type LivekitPublicapiDatabasesV1DatabasesListResponse struct {
	Items    *[]LivekitAgentDBAgentDatabase    `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}

LivekitPublicapiDatabasesV1DatabasesListResponse defines model for livekit.publicapi.databases.v1.Databases.List.Response.

type LivekitPublicapiObservabilityV1LogLevel added in v2.19.1

type LivekitPublicapiObservabilityV1LogLevel string

LivekitPublicapiObservabilityV1LogLevel A log record level, as the logs panel on the dashboard shows and filters

it. Agents name levels differently by runtime, such as CRITICAL in Python
and FATAL in Node, so a record level comes from its OpenTelemetry severity
number, or from its level name when it has none; a level means the same for
Python and Node agents.
const (
	LOGLEVELDEBUG       LivekitPublicapiObservabilityV1LogLevel = "LOG_LEVEL_DEBUG"
	LOGLEVELERROR       LivekitPublicapiObservabilityV1LogLevel = "LOG_LEVEL_ERROR"
	LOGLEVELFATAL       LivekitPublicapiObservabilityV1LogLevel = "LOG_LEVEL_FATAL"
	LOGLEVELINFO        LivekitPublicapiObservabilityV1LogLevel = "LOG_LEVEL_INFO"
	LOGLEVELTRACE       LivekitPublicapiObservabilityV1LogLevel = "LOG_LEVEL_TRACE"
	LOGLEVELUNSPECIFIED LivekitPublicapiObservabilityV1LogLevel = "LOG_LEVEL_UNSPECIFIED"
	LOGLEVELWARN        LivekitPublicapiObservabilityV1LogLevel = "LOG_LEVEL_WARN"
)

Defines values for LivekitPublicapiObservabilityV1LogLevel.

func (LivekitPublicapiObservabilityV1LogLevel) Valid added in v2.19.1

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

type LivekitPublicapiObservabilityV1LogRecord added in v2.19.0

type LivekitPublicapiObservabilityV1LogRecord struct {
	// Attributes The record attributes, typed and nested as the agent recorded them, with
	//  the resource and scope attributes merged in; the value on the record
	//  wins. An integer beyond ±2^53 is its decimal string, and bytes are
	//  base64.
	Attributes *map[string]*GoogleProtobufValue `json:"attributes,omitempty"`

	// BodyFields The body fields of a structured logger other than its message; empty
	//  for a plain text body.
	BodyFields *map[string]*GoogleProtobufValue `json:"bodyFields,omitempty"`

	// Id The record ID, the same on every read.
	Id *string `json:"id,omitempty"`

	// Level The level, mapped onto the LogLevel values.
	Level *LivekitPublicapiObservabilityV1LogLevel `json:"level,omitempty"`

	// Logger The logger that wrote the record (its logger.name attribute).
	Logger *string `json:"logger,omitempty"`

	// Message The record text. A structured logger body keeps it under its event,
	//  message or msg field; a structured body with none of them is written
	//  here whole, as JSON.
	Message *string `json:"message,omitempty"`

	// SeverityText The level name as the agent logged it, such as "WARN" or "CRITICAL".
	SeverityText *string `json:"severityText,omitempty"`

	// SpanId The span the record was logged in. See `traceId`.
	SpanId *string `json:"spanId,omitempty"`

	// Timestamp When the record was logged.
	Timestamp *GoogleProtobufTimestamp `json:"timestamp,omitempty"`

	// TraceId The trace and span the record was logged in, as lowercase hex; empty when
	//  it was logged outside one. They link the record to its span in
	//  GetSessionTraces.
	TraceId *string `json:"traceId,omitempty"`
}

LivekitPublicapiObservabilityV1LogRecord One log record an agent in the session exported.

type LivekitPublicapiObservabilityV1LogsGetResponse added in v2.19.0

type LivekitPublicapiObservabilityV1LogsGetResponse struct {
	Items    *[]LivekitPublicapiObservabilityV1LogRecord `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo           `json:"pageInfo,omitempty"`
}

LivekitPublicapiObservabilityV1LogsGetResponse defines model for livekit.publicapi.observability.v1.Logs.Get.Response.

type LivekitPublicapiObservabilityV1MetricHistogram added in v2.19.1

type LivekitPublicapiObservabilityV1MetricHistogram struct {
	// BucketBounds The buckets of a histogram, with one more count than bounds:
	//  bucketCounts[0] counts the values up to bucketBounds[0], bucketCounts[i]
	//  those in (bucketBounds[i-1], bucketBounds[i]], and the last count those
	//  above the last bound. Both are empty for an exponential histogram.
	BucketBounds *[]float64 `json:"bucketBounds,omitempty"`

	// BucketCounts The count in each bucket. See `bucketBounds`.
	BucketCounts *[]string `json:"bucketCounts,omitempty"`

	// Count How many values were recorded.
	Count *string `json:"count,omitempty"`

	// Max Their maximum; unset when the agent didn't record it.
	Max *float64 `json:"max,omitempty"`

	// Min Their minimum; unset when the agent didn't record it.
	Min *float64 `json:"min,omitempty"`

	// Sum Their sum; unset when the agent didn't record it.
	Sum *float64 `json:"sum,omitempty"`
}

LivekitPublicapiObservabilityV1MetricHistogram Summarizes the values a histogram point recorded.

type LivekitPublicapiObservabilityV1MetricKind added in v2.19.1

type LivekitPublicapiObservabilityV1MetricKind string

LivekitPublicapiObservabilityV1MetricKind The OpenTelemetry data type a metric point was exported as.

const (
	METRICKINDEXPONENTIALHISTOGRAM LivekitPublicapiObservabilityV1MetricKind = "METRIC_KIND_EXPONENTIAL_HISTOGRAM"
	METRICKINDGAUGE                LivekitPublicapiObservabilityV1MetricKind = "METRIC_KIND_GAUGE"
	METRICKINDHISTOGRAM            LivekitPublicapiObservabilityV1MetricKind = "METRIC_KIND_HISTOGRAM"
	METRICKINDSUM                  LivekitPublicapiObservabilityV1MetricKind = "METRIC_KIND_SUM"
	METRICKINDUNSPECIFIED          LivekitPublicapiObservabilityV1MetricKind = "METRIC_KIND_UNSPECIFIED"
)

Defines values for LivekitPublicapiObservabilityV1MetricKind.

func (LivekitPublicapiObservabilityV1MetricKind) Valid added in v2.19.1

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

type LivekitPublicapiObservabilityV1MetricPoint added in v2.19.1

type LivekitPublicapiObservabilityV1MetricPoint struct {
	// Attributes The point attributes, typed and nested as the agent recorded them, with
	//  the resource and scope attributes merged in, such as room_id, job_id,
	//  lk.agent_name and model_name for the model; the value on the point wins.
	//  With two agents in one session, the resource attributes can be the other
	//  agent's. An integer beyond ±2^53 is its decimal string, and bytes are
	//  base64.
	Attributes *map[string]*GoogleProtobufValue `json:"attributes,omitempty"`

	// EndTime The end of the interval, and the moment a gauge was measured.
	EndTime *GoogleProtobufTimestamp `json:"endTime,omitempty"`

	// Kind Which kind of metric the point carries, and so which field of `data` is
	//  set.
	Kind *LivekitPublicapiObservabilityV1MetricKind `json:"kind,omitempty"`

	// Name The metric name, such as lk.agents.turn.e2e_latency or
	//  gen_ai.client.token.usage. Several metrics that share their attributes
	//  can come back under one name; see GetSessionMetrics.
	Name *string `json:"name,omitempty"`

	// StartTime The interval the point covers. An agent exports every 30 seconds, so a sum
	//  or histogram covers the time since its previous export; a gauge has no
	//  startTime.
	StartTime *GoogleProtobufTimestamp `json:"startTime,omitempty"`

	// Unit The metric unit as the agent declared it, such as "s" or "{token}";
	//  empty when it declared none.
	Unit *string `json:"unit,omitempty"`
	// contains filtered or unexported fields
}

LivekitPublicapiObservabilityV1MetricPoint One OpenTelemetry metric data point an agent in the session exported. It is

the raw metric the agent emits, so it won't exactly match the metrics panel
on the dashboard, which derives its numbers from the transcript and traces.
Only agents that export OpenTelemetry metrics to LiveKit Cloud produce
points; an agent whose code installs its own MeterProvider exports none to
LiveKit Cloud.

func (LivekitPublicapiObservabilityV1MetricPoint) AsLivekitPublicapiObservabilityV1MetricPoint0 added in v2.19.1

func (t LivekitPublicapiObservabilityV1MetricPoint) AsLivekitPublicapiObservabilityV1MetricPoint0() (LivekitPublicapiObservabilityV1MetricPoint0, error)

AsLivekitPublicapiObservabilityV1MetricPoint0 returns the union data inside the LivekitPublicapiObservabilityV1MetricPoint as a LivekitPublicapiObservabilityV1MetricPoint0

func (LivekitPublicapiObservabilityV1MetricPoint) AsLivekitPublicapiObservabilityV1MetricPoint1 added in v2.19.1

func (t LivekitPublicapiObservabilityV1MetricPoint) AsLivekitPublicapiObservabilityV1MetricPoint1() (LivekitPublicapiObservabilityV1MetricPoint1, error)

AsLivekitPublicapiObservabilityV1MetricPoint1 returns the union data inside the LivekitPublicapiObservabilityV1MetricPoint as a LivekitPublicapiObservabilityV1MetricPoint1

func (*LivekitPublicapiObservabilityV1MetricPoint) FromLivekitPublicapiObservabilityV1MetricPoint0 added in v2.19.1

func (t *LivekitPublicapiObservabilityV1MetricPoint) FromLivekitPublicapiObservabilityV1MetricPoint0(v LivekitPublicapiObservabilityV1MetricPoint0) error

FromLivekitPublicapiObservabilityV1MetricPoint0 overwrites any union data inside the LivekitPublicapiObservabilityV1MetricPoint as the provided LivekitPublicapiObservabilityV1MetricPoint0

func (*LivekitPublicapiObservabilityV1MetricPoint) FromLivekitPublicapiObservabilityV1MetricPoint1 added in v2.19.1

func (t *LivekitPublicapiObservabilityV1MetricPoint) FromLivekitPublicapiObservabilityV1MetricPoint1(v LivekitPublicapiObservabilityV1MetricPoint1) error

FromLivekitPublicapiObservabilityV1MetricPoint1 overwrites any union data inside the LivekitPublicapiObservabilityV1MetricPoint as the provided LivekitPublicapiObservabilityV1MetricPoint1

func (LivekitPublicapiObservabilityV1MetricPoint) MarshalJSON added in v2.19.1

func (*LivekitPublicapiObservabilityV1MetricPoint) MergeLivekitPublicapiObservabilityV1MetricPoint0 added in v2.19.1

func (t *LivekitPublicapiObservabilityV1MetricPoint) MergeLivekitPublicapiObservabilityV1MetricPoint0(v LivekitPublicapiObservabilityV1MetricPoint0) error

MergeLivekitPublicapiObservabilityV1MetricPoint0 performs a merge with any union data inside the LivekitPublicapiObservabilityV1MetricPoint, using the provided LivekitPublicapiObservabilityV1MetricPoint0

func (*LivekitPublicapiObservabilityV1MetricPoint) MergeLivekitPublicapiObservabilityV1MetricPoint1 added in v2.19.1

func (t *LivekitPublicapiObservabilityV1MetricPoint) MergeLivekitPublicapiObservabilityV1MetricPoint1(v LivekitPublicapiObservabilityV1MetricPoint1) error

MergeLivekitPublicapiObservabilityV1MetricPoint1 performs a merge with any union data inside the LivekitPublicapiObservabilityV1MetricPoint, using the provided LivekitPublicapiObservabilityV1MetricPoint1

func (*LivekitPublicapiObservabilityV1MetricPoint) UnmarshalJSON added in v2.19.1

type LivekitPublicapiObservabilityV1MetricPoint0 added in v2.19.1

type LivekitPublicapiObservabilityV1MetricPoint0 struct {
	// Histogram The summary of a histogram or exponential histogram.
	Histogram *LivekitPublicapiObservabilityV1MetricHistogram `json:"histogram,omitempty"`
}

LivekitPublicapiObservabilityV1MetricPoint0 defines model for LivekitPublicapiObservabilityV1MetricPoint.0.

type LivekitPublicapiObservabilityV1MetricPoint1 added in v2.19.1

type LivekitPublicapiObservabilityV1MetricPoint1 struct {
	// Value The value of a gauge or sum.
	Value *float64 `json:"value,omitempty"`
}

LivekitPublicapiObservabilityV1MetricPoint1 defines model for LivekitPublicapiObservabilityV1MetricPoint.1.

type LivekitPublicapiObservabilityV1MetricsGetResponse added in v2.19.0

type LivekitPublicapiObservabilityV1MetricsGetResponse struct {
	// Items By end time, oldest first; points that end together are ordered by
	//  start time, a point with none first, then by kind and a hash of what
	//  they recorded, not by name. A page continues after the last point on
	//  the previous page, so on an ACTIVE session a point exported mid-read
	//  with a later time comes on a later page, and one with an earlier time
	//  is missed until a new read.
	Items    *[]LivekitPublicapiObservabilityV1MetricPoint `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo             `json:"pageInfo,omitempty"`
}

LivekitPublicapiObservabilityV1MetricsGetResponse defines model for livekit.publicapi.observability.v1.Metrics.Get.Response.

type LivekitPublicapiObservabilityV1RecordingFileType added in v2.19.0

type LivekitPublicapiObservabilityV1RecordingFileType string

LivekitPublicapiObservabilityV1RecordingFileType The recording requested from GetSessionRecordingURL. The session

conversation as typed items comes from GetSessionTranscript, not from a
recording.
const (
	RECORDINGFILETYPEAUDIO       LivekitPublicapiObservabilityV1RecordingFileType = "RECORDING_FILE_TYPE_AUDIO"
	RECORDINGFILETYPECHATHISTORY LivekitPublicapiObservabilityV1RecordingFileType = "RECORDING_FILE_TYPE_CHAT_HISTORY"
	RECORDINGFILETYPEUNSPECIFIED LivekitPublicapiObservabilityV1RecordingFileType = "RECORDING_FILE_TYPE_UNSPECIFIED"
)

Defines values for LivekitPublicapiObservabilityV1RecordingFileType.

func (LivekitPublicapiObservabilityV1RecordingFileType) Valid added in v2.19.0

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

type LivekitPublicapiObservabilityV1RecordingGetURLResponse added in v2.19.0

type LivekitPublicapiObservabilityV1RecordingGetURLResponse struct {
	// ExpiresAt When the URL stops working: the request time plus the granted
	//  expiry, after the 15-minute clamp.
	ExpiresAt *GoogleProtobufTimestamp `json:"expiresAt,omitempty"`

	// RecordingStartedAt When the recording started, as the agent reported it on upload. Line
	//  the audio up with the transcript by it.
	RecordingStartedAt *GoogleProtobufTimestamp `json:"recordingStartedAt,omitempty"`

	// Url A signed URL that downloads the recording straight from the object
	//  store in the project data region, without credentials, until
	//  expiresAt. Audio is Ogg; chat history is JSON served with
	//  Content-Encoding: gzip.
	Url *string `json:"url,omitempty"`
}

LivekitPublicapiObservabilityV1RecordingGetURLResponse defines model for livekit.publicapi.observability.v1.Recording.GetURL.Response.

type LivekitPublicapiObservabilityV1Role added in v2.19.0

type LivekitPublicapiObservabilityV1Role string

LivekitPublicapiObservabilityV1Role Who a transcript message is from.

const (
	ROLEAGENT       LivekitPublicapiObservabilityV1Role = "ROLE_AGENT"
	ROLEDEVELOPER   LivekitPublicapiObservabilityV1Role = "ROLE_DEVELOPER"
	ROLESYSTEM      LivekitPublicapiObservabilityV1Role = "ROLE_SYSTEM"
	ROLEUNSPECIFIED LivekitPublicapiObservabilityV1Role = "ROLE_UNSPECIFIED"
	ROLEUSER        LivekitPublicapiObservabilityV1Role = "ROLE_USER"
)

Defines values for LivekitPublicapiObservabilityV1Role.

func (LivekitPublicapiObservabilityV1Role) Valid added in v2.19.0

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

type LivekitPublicapiObservabilityV1Span added in v2.19.0

type LivekitPublicapiObservabilityV1Span struct {
	// Attributes The span attributes, typed and nested as the agent recorded them, with
	//  the resource and scope attributes merged in, such as lk.agent_name; the
	//  value on the span wins. An integer beyond ±2^53 is its decimal string,
	//  and bytes are base64.
	Attributes *map[string]*GoogleProtobufValue `json:"attributes,omitempty"`

	// EndTime When the span ended.
	EndTime *GoogleProtobufTimestamp `json:"endTime,omitempty"`

	// Events The events the agent recorded on the span.
	Events *[]LivekitPublicapiObservabilityV1SpanEvent `json:"events,omitempty"`

	// Kind Where the span sits in the call: internal, server, client, producer, or
	//  consumer.
	Kind *LivekitPublicapiObservabilityV1SpanKind `json:"kind,omitempty"`

	// Name The span name, as the agent recorded it.
	Name *string `json:"name,omitempty"`

	// ParentSpanId Empty for a root span. A span whose parent isn't among the session
	//  spans is a root too, as the dashboard shows it.
	ParentSpanId *string `json:"parentSpanId,omitempty"`

	// SpanId The span ID, as lowercase hex.
	SpanId *string `json:"spanId,omitempty"`

	// StartTime When the span started.
	StartTime *GoogleProtobufTimestamp `json:"startTime,omitempty"`

	// Status Whether the span succeeded.
	Status *LivekitPublicapiObservabilityV1SpanStatus `json:"status,omitempty"`

	// StatusMessage Why the span failed; set when `status` is error.
	StatusMessage *string `json:"statusMessage,omitempty"`

	// TraceId The trace ID, as lowercase hex.
	TraceId *string `json:"traceId,omitempty"`
}

LivekitPublicapiObservabilityV1Span One unit of work in the session trace, such as an agent turn or an LLM

request.

type LivekitPublicapiObservabilityV1SpanEvent added in v2.19.0

type LivekitPublicapiObservabilityV1SpanEvent struct {
	// Attributes The attributes on the event, typed and nested as the agent recorded
	//  them.
	Attributes *map[string]*GoogleProtobufValue `json:"attributes,omitempty"`

	// Name The event name, as the agent recorded it.
	Name *string `json:"name,omitempty"`

	// Timestamp When the event happened.
	Timestamp *GoogleProtobufTimestamp `json:"timestamp,omitempty"`
}

LivekitPublicapiObservabilityV1SpanEvent A timestamped event recorded within a Span, such as an exception.

type LivekitPublicapiObservabilityV1SpanKind added in v2.19.1

type LivekitPublicapiObservabilityV1SpanKind string

LivekitPublicapiObservabilityV1SpanKind The OpenTelemetry kind of the span.

const (
	SPANKINDCLIENT      LivekitPublicapiObservabilityV1SpanKind = "SPAN_KIND_CLIENT"
	SPANKINDCONSUMER    LivekitPublicapiObservabilityV1SpanKind = "SPAN_KIND_CONSUMER"
	SPANKINDINTERNAL    LivekitPublicapiObservabilityV1SpanKind = "SPAN_KIND_INTERNAL"
	SPANKINDPRODUCER    LivekitPublicapiObservabilityV1SpanKind = "SPAN_KIND_PRODUCER"
	SPANKINDSERVER      LivekitPublicapiObservabilityV1SpanKind = "SPAN_KIND_SERVER"
	SPANKINDUNSPECIFIED LivekitPublicapiObservabilityV1SpanKind = "SPAN_KIND_UNSPECIFIED"
)

Defines values for LivekitPublicapiObservabilityV1SpanKind.

func (LivekitPublicapiObservabilityV1SpanKind) Valid added in v2.19.1

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

type LivekitPublicapiObservabilityV1SpanStatus added in v2.19.1

type LivekitPublicapiObservabilityV1SpanStatus string

LivekitPublicapiObservabilityV1SpanStatus The OpenTelemetry status code of the span.

const (
	SPANSTATUSERROR       LivekitPublicapiObservabilityV1SpanStatus = "SPAN_STATUS_ERROR"
	SPANSTATUSOK          LivekitPublicapiObservabilityV1SpanStatus = "SPAN_STATUS_OK"
	SPANSTATUSUNSPECIFIED LivekitPublicapiObservabilityV1SpanStatus = "SPAN_STATUS_UNSPECIFIED"
)

Defines values for LivekitPublicapiObservabilityV1SpanStatus.

func (LivekitPublicapiObservabilityV1SpanStatus) Valid added in v2.19.1

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

type LivekitPublicapiObservabilityV1TracesGetResponse added in v2.19.0

type LivekitPublicapiObservabilityV1TracesGetResponse struct {
	// Items By start time, oldest first. Spans that start together are ordered by
	//  span id as it is stored: the 8 bytes of the id read as a little-endian
	//  unsigned integer, which isn't the order of its hex string. The pages
	//  read the spans the first page found, so a span exported later waits for
	//  a new read. On an ACTIVE session, a span exported mid-read can still
	//  shift the later pages, which are read by offset, so a span can repeat
	//  or be skipped: dedupe by spanId, and read again from the first page to
	//  pick up a skipped span.
	Items    *[]LivekitPublicapiObservabilityV1Span `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo      `json:"pageInfo,omitempty"`
}

LivekitPublicapiObservabilityV1TracesGetResponse defines model for livekit.publicapi.observability.v1.Traces.Get.Response.

type LivekitPublicapiObservabilityV1TranscriptGetResponse added in v2.19.0

type LivekitPublicapiObservabilityV1TranscriptGetResponse struct {
	// Items Oldest first, in the order the agent recorded them.
	Items    *[]LivekitPublicapiObservabilityV1TranscriptItem `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo                `json:"pageInfo,omitempty"`

	// SkippedRecords How many of the records on this page couldn't be read as transcript
	//  items and were left out, such as an item kind newer than this
	//  server. Zero when the page is complete.
	SkippedRecords *int `json:"skippedRecords,omitempty"`
}

LivekitPublicapiObservabilityV1TranscriptGetResponse defines model for livekit.publicapi.observability.v1.Transcript.Get.Response.

type LivekitPublicapiObservabilityV1TranscriptItem added in v2.19.0

type LivekitPublicapiObservabilityV1TranscriptItem struct {
	// Id The item ID, as the agent assigned it (item_...).
	Id *string `json:"id,omitempty"`

	// Timestamp When the item happened. For a message, when its speaker started speaking,
	//  else when the agent created it; for any other item, when the agent
	//  recorded it. Items are ordered by when the agent recorded them, so a
	//  message timestamp can be earlier than the item before it.
	Timestamp *GoogleProtobufTimestamp `json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

LivekitPublicapiObservabilityV1TranscriptItem One ordered entry in a session conversation. Exactly one of the `item`

variants is set.

func (LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem0 added in v2.19.0

func (t LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem0() (LivekitPublicapiObservabilityV1TranscriptItem0, error)

AsLivekitPublicapiObservabilityV1TranscriptItem0 returns the union data inside the LivekitPublicapiObservabilityV1TranscriptItem as a LivekitPublicapiObservabilityV1TranscriptItem0

func (LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem1 added in v2.19.0

func (t LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem1() (LivekitPublicapiObservabilityV1TranscriptItem1, error)

AsLivekitPublicapiObservabilityV1TranscriptItem1 returns the union data inside the LivekitPublicapiObservabilityV1TranscriptItem as a LivekitPublicapiObservabilityV1TranscriptItem1

func (LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem2 added in v2.19.0

func (t LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem2() (LivekitPublicapiObservabilityV1TranscriptItem2, error)

AsLivekitPublicapiObservabilityV1TranscriptItem2 returns the union data inside the LivekitPublicapiObservabilityV1TranscriptItem as a LivekitPublicapiObservabilityV1TranscriptItem2

func (LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem3 added in v2.19.0

func (t LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem3() (LivekitPublicapiObservabilityV1TranscriptItem3, error)

AsLivekitPublicapiObservabilityV1TranscriptItem3 returns the union data inside the LivekitPublicapiObservabilityV1TranscriptItem as a LivekitPublicapiObservabilityV1TranscriptItem3

func (LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem4 added in v2.19.0

func (t LivekitPublicapiObservabilityV1TranscriptItem) AsLivekitPublicapiObservabilityV1TranscriptItem4() (LivekitPublicapiObservabilityV1TranscriptItem4, error)

AsLivekitPublicapiObservabilityV1TranscriptItem4 returns the union data inside the LivekitPublicapiObservabilityV1TranscriptItem as a LivekitPublicapiObservabilityV1TranscriptItem4

func (*LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem0 added in v2.19.0

func (t *LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem0(v LivekitPublicapiObservabilityV1TranscriptItem0) error

FromLivekitPublicapiObservabilityV1TranscriptItem0 overwrites any union data inside the LivekitPublicapiObservabilityV1TranscriptItem as the provided LivekitPublicapiObservabilityV1TranscriptItem0

func (*LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem1 added in v2.19.0

func (t *LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem1(v LivekitPublicapiObservabilityV1TranscriptItem1) error

FromLivekitPublicapiObservabilityV1TranscriptItem1 overwrites any union data inside the LivekitPublicapiObservabilityV1TranscriptItem as the provided LivekitPublicapiObservabilityV1TranscriptItem1

func (*LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem2 added in v2.19.0

func (t *LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem2(v LivekitPublicapiObservabilityV1TranscriptItem2) error

FromLivekitPublicapiObservabilityV1TranscriptItem2 overwrites any union data inside the LivekitPublicapiObservabilityV1TranscriptItem as the provided LivekitPublicapiObservabilityV1TranscriptItem2

func (*LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem3 added in v2.19.0

func (t *LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem3(v LivekitPublicapiObservabilityV1TranscriptItem3) error

FromLivekitPublicapiObservabilityV1TranscriptItem3 overwrites any union data inside the LivekitPublicapiObservabilityV1TranscriptItem as the provided LivekitPublicapiObservabilityV1TranscriptItem3

func (*LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem4 added in v2.19.0

func (t *LivekitPublicapiObservabilityV1TranscriptItem) FromLivekitPublicapiObservabilityV1TranscriptItem4(v LivekitPublicapiObservabilityV1TranscriptItem4) error

FromLivekitPublicapiObservabilityV1TranscriptItem4 overwrites any union data inside the LivekitPublicapiObservabilityV1TranscriptItem as the provided LivekitPublicapiObservabilityV1TranscriptItem4

func (LivekitPublicapiObservabilityV1TranscriptItem) MarshalJSON added in v2.19.0

func (*LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem0 added in v2.19.0

func (t *LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem0(v LivekitPublicapiObservabilityV1TranscriptItem0) error

MergeLivekitPublicapiObservabilityV1TranscriptItem0 performs a merge with any union data inside the LivekitPublicapiObservabilityV1TranscriptItem, using the provided LivekitPublicapiObservabilityV1TranscriptItem0

func (*LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem1 added in v2.19.0

func (t *LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem1(v LivekitPublicapiObservabilityV1TranscriptItem1) error

MergeLivekitPublicapiObservabilityV1TranscriptItem1 performs a merge with any union data inside the LivekitPublicapiObservabilityV1TranscriptItem, using the provided LivekitPublicapiObservabilityV1TranscriptItem1

func (*LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem2 added in v2.19.0

func (t *LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem2(v LivekitPublicapiObservabilityV1TranscriptItem2) error

MergeLivekitPublicapiObservabilityV1TranscriptItem2 performs a merge with any union data inside the LivekitPublicapiObservabilityV1TranscriptItem, using the provided LivekitPublicapiObservabilityV1TranscriptItem2

func (*LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem3 added in v2.19.0

func (t *LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem3(v LivekitPublicapiObservabilityV1TranscriptItem3) error

MergeLivekitPublicapiObservabilityV1TranscriptItem3 performs a merge with any union data inside the LivekitPublicapiObservabilityV1TranscriptItem, using the provided LivekitPublicapiObservabilityV1TranscriptItem3

func (*LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem4 added in v2.19.0

func (t *LivekitPublicapiObservabilityV1TranscriptItem) MergeLivekitPublicapiObservabilityV1TranscriptItem4(v LivekitPublicapiObservabilityV1TranscriptItem4) error

MergeLivekitPublicapiObservabilityV1TranscriptItem4 performs a merge with any union data inside the LivekitPublicapiObservabilityV1TranscriptItem, using the provided LivekitPublicapiObservabilityV1TranscriptItem4

func (*LivekitPublicapiObservabilityV1TranscriptItem) UnmarshalJSON added in v2.19.0

type LivekitPublicapiObservabilityV1TranscriptItem0 added in v2.19.0

type LivekitPublicapiObservabilityV1TranscriptItem0 struct {
	// AgentHandoff The session passing from one agent to another.
	AgentHandoff *LivekitPublicapiObservabilityV1TranscriptItemAgentHandoff `json:"agentHandoff,omitempty"`
}

LivekitPublicapiObservabilityV1TranscriptItem0 defines model for LivekitPublicapiObservabilityV1TranscriptItem.0.

type LivekitPublicapiObservabilityV1TranscriptItem1 added in v2.19.0

type LivekitPublicapiObservabilityV1TranscriptItem1 struct {
	// ConfigUpdate A change to the agent's instructions or tools.
	ConfigUpdate *LivekitPublicapiObservabilityV1TranscriptItemConfigUpdate `json:"configUpdate,omitempty"`
}

LivekitPublicapiObservabilityV1TranscriptItem1 defines model for LivekitPublicapiObservabilityV1TranscriptItem.1.

type LivekitPublicapiObservabilityV1TranscriptItem2 added in v2.19.0

type LivekitPublicapiObservabilityV1TranscriptItem2 struct {
	// Message Something said, or added to the conversation as text.
	Message *LivekitPublicapiObservabilityV1TranscriptItemMessage `json:"message,omitempty"`
}

LivekitPublicapiObservabilityV1TranscriptItem2 defines model for LivekitPublicapiObservabilityV1TranscriptItem.2.

type LivekitPublicapiObservabilityV1TranscriptItem3 added in v2.19.0

type LivekitPublicapiObservabilityV1TranscriptItem3 struct {
	// ToolCall The agent calling a tool.
	ToolCall *LivekitPublicapiObservabilityV1TranscriptItemToolCall `json:"toolCall,omitempty"`
}

LivekitPublicapiObservabilityV1TranscriptItem3 defines model for LivekitPublicapiObservabilityV1TranscriptItem.3.

type LivekitPublicapiObservabilityV1TranscriptItem4 added in v2.19.0

type LivekitPublicapiObservabilityV1TranscriptItem4 struct {
	// ToolResult The output a tool returned.
	ToolResult *LivekitPublicapiObservabilityV1TranscriptItemToolResult `json:"toolResult,omitempty"`
}

LivekitPublicapiObservabilityV1TranscriptItem4 defines model for LivekitPublicapiObservabilityV1TranscriptItem.4.

type LivekitPublicapiObservabilityV1TranscriptItemAgentHandoff added in v2.19.0

type LivekitPublicapiObservabilityV1TranscriptItemAgentHandoff struct {
	// FromAgentId Unset for the first agent in the session.
	FromAgentId *string `json:"fromAgentId,omitempty"`

	// ToAgentId The agent taking over.
	ToAgentId *string `json:"toAgentId,omitempty"`
}

LivekitPublicapiObservabilityV1TranscriptItemAgentHandoff The session passing from one agent to another.

type LivekitPublicapiObservabilityV1TranscriptItemConfigUpdate added in v2.19.0

type LivekitPublicapiObservabilityV1TranscriptItemConfigUpdate struct {
	// Instructions The agent's new instructions; empty when they didn't change.
	Instructions *string `json:"instructions,omitempty"`

	// ToolsAdded The tools the agent gained.
	ToolsAdded *[]string `json:"toolsAdded,omitempty"`

	// ToolsRemoved The tools the agent lost.
	ToolsRemoved *[]string `json:"toolsRemoved,omitempty"`
}

LivekitPublicapiObservabilityV1TranscriptItemConfigUpdate A change to the agent's instructions or tools during the session.

type LivekitPublicapiObservabilityV1TranscriptItemMessage added in v2.19.0

type LivekitPublicapiObservabilityV1TranscriptItemMessage struct {
	// E2eLatencyMs The end-to-end latency in milliseconds, from when the user finished
	//  speaking to when the agent began responding (`e2e_latency`). Set only on
	//  an agent message, when the agent recorded it.
	E2eLatencyMs *float64 `json:"e2eLatencyMs,omitempty"`

	// EndOfTurnDelayMs The time in milliseconds from the end of the user speech to when the
	//  agent decided that the turn ended (`end_of_turn_delay`). Set only on a
	//  user message, when the agent recorded it.
	EndOfTurnDelayMs *float64 `json:"endOfTurnDelayMs,omitempty"`

	// Interrupted Set on an agent message the user talked over before it finished.
	Interrupted *bool `json:"interrupted,omitempty"`

	// LlmTtftMs The LLM time to first token in milliseconds (`llm_node_ttft`). Set only
	//  on an agent message, when the agent recorded it.
	LlmTtftMs *float64 `json:"llmTtftMs,omitempty"`

	// OnUserTurnCompletedDelayMs The time in milliseconds that the agent spent in its
	//  `on_user_turn_completed` callback (`on_user_turn_completed_delay`). Set
	//  only on a user message, when the agent recorded it.
	OnUserTurnCompletedDelayMs *float64 `json:"onUserTurnCompletedDelayMs,omitempty"`

	// Redacted Set when PII redaction for the project rewrote the text.
	Redacted *bool `json:"redacted,omitempty"`

	// Role Who the message came from.
	Role *LivekitPublicapiObservabilityV1Role `json:"role,omitempty"`

	// StartedSpeakingAt When the speaker started speaking; unset for a message that wasn't
	//  spoken.
	StartedSpeakingAt *GoogleProtobufTimestamp `json:"startedSpeakingAt,omitempty"`

	// StoppedSpeakingAt When the speaker stopped speaking; unset for a message that wasn't
	//  spoken.
	StoppedSpeakingAt *GoogleProtobufTimestamp `json:"stoppedSpeakingAt,omitempty"`

	// Text The message text. Text the agent recorded in several parts is joined
	//  with newlines. When `redacted` is true, PII in it is replaced with
	//  `<redaction type="..."/>` markers.
	Text *string `json:"text,omitempty"`

	// TranscriptConfidence The speech-to-text confidence of a spoken user message, from 0 to 1.
	TranscriptConfidence *float64 `json:"transcriptConfidence,omitempty"`

	// TranscriptionDelayMs The time in milliseconds from the end of the user speech to its final
	//  transcript (`transcription_delay`). Set only on a user message, when the
	//  agent recorded it.
	TranscriptionDelayMs *float64 `json:"transcriptionDelayMs,omitempty"`

	// TtsTtfbMs The TTS time to first byte of audio in milliseconds (`tts_node_ttfb`).
	//  Set only on an agent message, when the agent recorded it.
	TtsTtfbMs *float64 `json:"ttsTtfbMs,omitempty"`
}

LivekitPublicapiObservabilityV1TranscriptItemMessage Something said, or added to the conversation as text.

type LivekitPublicapiObservabilityV1TranscriptItemToolCall added in v2.19.0

type LivekitPublicapiObservabilityV1TranscriptItemToolCall struct {
	// Arguments The call arguments as a JSON string.
	Arguments *string `json:"arguments,omitempty"`

	// CallId Pairs the call with its ToolResult.
	CallId *string `json:"callId,omitempty"`

	// Name The tool the agent called.
	Name *string `json:"name,omitempty"`
}

LivekitPublicapiObservabilityV1TranscriptItemToolCall The agent calling a tool.

type LivekitPublicapiObservabilityV1TranscriptItemToolResult added in v2.19.0

type LivekitPublicapiObservabilityV1TranscriptItemToolResult struct {
	// CallId The callId of the ToolCall it answers.
	CallId *string `json:"callId,omitempty"`

	// IsError Set when the tool failed; output then describes the error.
	IsError *bool `json:"isError,omitempty"`

	// Name The tool that returned the output.
	Name *string `json:"name,omitempty"`

	// Output What the tool returned.
	Output *string `json:"output,omitempty"`
}

LivekitPublicapiObservabilityV1TranscriptItemToolResult The output a tool returned for a ToolCall.

type LivekitPublicapiProjectsV1AccessKey added in v2.19.0

type LivekitPublicapiProjectsV1AccessKey struct {
	// AgentId The cloud agent that the key belongs to. Set only for agent keys.
	AgentId *string `json:"agentId,omitempty"`

	// ApiKey The API key ID (`API...`). The secret is returned only when the key is
	//  generated.
	ApiKey *string `json:"apiKey,omitempty"`

	// CreatedAt When the key was generated.
	CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`

	// Description A label for the key.
	Description *string `json:"description,omitempty"`

	// OwnerEmail The email address of the owner. Empty for a key with no owner.
	OwnerEmail *string `json:"ownerEmail,omitempty"`

	// OwnerId The user who owns the key. Empty for a key with no owner, such as a
	//  service account key.
	OwnerId *string `json:"ownerId,omitempty"`

	// UpdatedAt When the key was last changed.
	UpdatedAt *GoogleProtobufTimestamp `json:"updatedAt,omitempty"`
}

LivekitPublicapiProjectsV1AccessKey Project API-key metadata. The secret is never included on list RPCs; it is

returned only from GenerateKey.

type LivekitPublicapiProjectsV1AddWorkspaceMembersToProjectResponse

type LivekitPublicapiProjectsV1AddWorkspaceMembersToProjectResponse struct {
	Items *[]LivekitPublicapiProjectsV1ProjectMember `json:"items,omitempty"`
}

LivekitPublicapiProjectsV1AddWorkspaceMembersToProjectResponse defines model for livekit.publicapi.projects.v1.AddWorkspaceMembersToProjectResponse.

type LivekitPublicapiProjectsV1AnswerInvitationResponse

type LivekitPublicapiProjectsV1AnswerInvitationResponse struct {
	// Member The new membership. Set only when `accept` is true.
	Member *LivekitPublicapiProjectsV1ProjectMember `json:"member,omitempty"`
}

LivekitPublicapiProjectsV1AnswerInvitationResponse defines model for livekit.publicapi.projects.v1.AnswerInvitationResponse.

type LivekitPublicapiProjectsV1CreateProjectMember

type LivekitPublicapiProjectsV1CreateProjectMember struct {
	// Role Access level: 0 invited, 1 read, 2 write, 3 admin.
	Role *int32 `json:"role,omitempty"`

	// UserId The user to add. They must already be a member of the workspace.
	UserId *string `json:"userId,omitempty"`
}

LivekitPublicapiProjectsV1CreateProjectMember Grants a user access to a project at creation time.

type LivekitPublicapiProjectsV1CreateProjectRequest

type LivekitPublicapiProjectsV1CreateProjectRequest struct {
	// CustomDomain A custom domain to add to the project.
	CustomDomain *string `json:"customDomain,omitempty"`

	// DisableTokenEndpoint True turns off the sandbox token endpoint for the project.
	DisableTokenEndpoint *bool `json:"disableTokenEndpoint,omitempty"`

	// DiscoverableByDomain When true, adds your email domain to the project.
	DiscoverableByDomain *bool `json:"discoverableByDomain,omitempty"`

	// EgressClusterId The egress cluster for the project. Only LiveKit staff can set it. For any
	//  other caller, a non-default value returns `PermissionDenied`.
	EgressClusterId *string `json:"egressClusterId,omitempty"`
	EnableAnalytics *bool   `json:"enableAnalytics,omitempty"`

	// EnableAutoCreate True lets the first participant to join a room that does not yet exist
	//  create it.
	EnableAutoCreate      *bool `json:"enableAutoCreate,omitempty"`
	EnableEgressAutoRetry *bool `json:"enableEgressAutoRetry,omitempty"`

	// EnableEgressBackupStorage True keeps an egress that fails to upload in LiveKit backup storage for 7
	//  days.
	EnableEgressBackupStorage *bool `json:"enableEgressBackupStorage,omitempty"`

	// EnableHostedAgents True when hosted agents are enabled for the project. Only LiveKit staff can
	//  set it. For any other caller, a non-default value returns
	//  `PermissionDenied`.
	EnableHostedAgents *bool `json:"enableHostedAgents,omitempty"`

	// EnableInferenceRegionRestriction True restricts inference to the models in the same data region as the
	//  project.
	EnableInferenceRegionRestriction *bool `json:"enableInferenceRegionRestriction,omitempty"`

	// EnablePiiRedaction True redacts PII from the recorded session data.
	EnablePiiRedaction *bool `json:"enablePiiRedaction,omitempty"`

	// EnableRemoteUnmute True lets an admin unmute the tracks of another participant.
	EnableRemoteUnmute *bool `json:"enableRemoteUnmute,omitempty"`

	// EnableUserDataRecording When true, the project records traces, transcripts, and audio from agent
	//  sessions for agent observability. Defaults to false. While it is off, a
	//  session read that finds no data returns `FailedPrecondition` with an
	//  `ObservabilityDisabled` detail. This applies to a recording, and to the
	//  first unfiltered page of a transcript, traces, logs, or metrics.
	EnableUserDataRecording *bool `json:"enableUserDataRecording,omitempty"`

	// EnableUserDataTraining True lets LiveKit use the observability data from this project to improve
	//  models and services.
	EnableUserDataTraining *bool `json:"enableUserDataTraining,omitempty"`

	// EnabledCodecs The media codecs the project allows, by MIME type, such as `video/VP9`.
	EnabledCodecs *[]string          `json:"enabledCodecs,omitempty"`
	FeatureFlags  *map[string]string `json:"featureFlags,omitempty"`

	// HideOnboarding True hides the onboarding instructions on the project dashboard.
	HideOnboarding *bool `json:"hideOnboarding,omitempty"`

	// HideSampleAppGallery True hides the sample app gallery on the project dashboard.
	HideSampleAppGallery *bool `json:"hideSampleAppGallery,omitempty"`

	// IsPrivate True gives the project its own member list instead of the members of its
	//  workspace.
	IsPrivate *bool `json:"isPrivate,omitempty"`

	// JoinableByDomain When true, adds your email domain to the project.
	JoinableByDomain *bool `json:"joinableByDomain,omitempty"`

	// Members The members of a private project. Ignored when `isPrivate` is false. Each
	//  user must be a member of the workspace, or the request fails with
	//  `NotFound`. A new workspace has only you as a member.
	Members *[]LivekitPublicapiProjectsV1CreateProjectMember `json:"members,omitempty"`

	// Name The project name.
	Name *string `json:"name,omitempty"`

	// PiiRedactionCategories The categories to redact. When empty and `enablePiiRedaction` is true, the
	//  default categories apply.
	PiiRedactionCategories *[]CloudProtocolPIIRedactionCategory `json:"piiRedactionCategories,omitempty"`

	// PinnedRegions SFU region pins. Empty leaves the project unpinned.
	PinnedRegions *[]string `json:"pinnedRegions,omitempty"`

	// RequireExplicitDispatch True rejects an agent server that registers without an explicit agent
	//  name.
	RequireExplicitDispatch *bool `json:"requireExplicitDispatch,omitempty"`

	// RoomConfigs Room configurations stored on the project preferences.
	RoomConfigs *[]LivekitRoomConfiguration `json:"roomConfigs,omitempty"`

	// SfuAllowPause True lets the SFU pause video tracks when subscribers are congested.
	SfuAllowPause *bool `json:"sfuAllowPause,omitempty"`

	// Subdomain The project subdomain. When empty, one is generated from `name`.
	Subdomain        *string `json:"subdomain,omitempty"`
	TokenEndpointKey *string `json:"tokenEndpointKey,omitempty"`

	// UserDataRegion The region where the project stores session data. You can set it only
	//  when you create the project. When empty, the project uses the default
	//  region.
	UserDataRegion *string `json:"userDataRegion,omitempty"`

	// WorkspaceId The workspace to create the project in. When empty, a new workspace is
	//  created for the project. On `POST /v0/workspaces/{workspaceId}/projects`,
	//  the project goes in the workspace in the path, and this field must be
	//  empty or match it.
	WorkspaceId *string `json:"workspaceId,omitempty"`
}

LivekitPublicapiProjectsV1CreateProjectRequest The project to create. An unset field keeps its default:

`enableAnalytics`, `enableAutoCreate`, and `disableTokenEndpoint` are true,
and the other boolean fields are false.

type LivekitPublicapiProjectsV1CreateProjectResponse

type LivekitPublicapiProjectsV1CreateProjectResponse struct {
	Project *LivekitPublicapiProjectsV1Project `json:"project,omitempty"`
}

LivekitPublicapiProjectsV1CreateProjectResponse defines model for livekit.publicapi.projects.v1.CreateProjectResponse.

type LivekitPublicapiProjectsV1CreateTokenResponse added in v2.19.1

type LivekitPublicapiProjectsV1CreateTokenResponse struct {
	ExpiresAt *GoogleProtobufTimestamp `json:"expiresAt,omitempty"`

	// Token Signed JWT, sent as `Authorization: Bearer` to the server APIs for the
	//  project or used to join a room, depending on the grants.
	Token *string `json:"token,omitempty"`
}

LivekitPublicapiProjectsV1CreateTokenResponse defines model for livekit.publicapi.projects.v1.CreateTokenResponse.

type LivekitPublicapiProjectsV1CreateWebhookResponse added in v2.19.1

type LivekitPublicapiProjectsV1CreateWebhookResponse struct {
	Webhook *LivekitPublicapiProjectsV1Webhook `json:"webhook,omitempty"`
}

LivekitPublicapiProjectsV1CreateWebhookResponse defines model for livekit.publicapi.projects.v1.CreateWebhookResponse.

type LivekitPublicapiProjectsV1DeleteInviteResponse

type LivekitPublicapiProjectsV1DeleteInviteResponse = map[string]interface{}

LivekitPublicapiProjectsV1DeleteInviteResponse defines model for livekit.publicapi.projects.v1.DeleteInviteResponse.

type LivekitPublicapiProjectsV1DeleteKeyResponse added in v2.19.0

type LivekitPublicapiProjectsV1DeleteKeyResponse = map[string]interface{}

LivekitPublicapiProjectsV1DeleteKeyResponse defines model for livekit.publicapi.projects.v1.DeleteKeyResponse.

type LivekitPublicapiProjectsV1DeleteProjectResponse

type LivekitPublicapiProjectsV1DeleteProjectResponse = map[string]interface{}

LivekitPublicapiProjectsV1DeleteProjectResponse defines model for livekit.publicapi.projects.v1.DeleteProjectResponse.

type LivekitPublicapiProjectsV1DeleteWebhookResponse added in v2.19.1

type LivekitPublicapiProjectsV1DeleteWebhookResponse = map[string]interface{}

LivekitPublicapiProjectsV1DeleteWebhookResponse defines model for livekit.publicapi.projects.v1.DeleteWebhookResponse.

type LivekitPublicapiProjectsV1GenerateKeyResponse added in v2.19.0

type LivekitPublicapiProjectsV1GenerateKeyResponse struct {
	ApiKey *string `json:"apiKey,omitempty"`
	Secret *string `json:"secret,omitempty"`
}

LivekitPublicapiProjectsV1GenerateKeyResponse defines model for livekit.publicapi.projects.v1.GenerateKeyResponse.

type LivekitPublicapiProjectsV1GetInviteResponse

type LivekitPublicapiProjectsV1GetInviteResponse struct {
	Invite *LivekitPublicapiProjectsV1ProjectInvite `json:"invite,omitempty"`
}

LivekitPublicapiProjectsV1GetInviteResponse defines model for livekit.publicapi.projects.v1.GetInviteResponse.

type LivekitPublicapiProjectsV1GetMemberResponse

type LivekitPublicapiProjectsV1GetMemberResponse struct {
	Member *LivekitPublicapiProjectsV1ProjectMember `json:"member,omitempty"`
}

LivekitPublicapiProjectsV1GetMemberResponse defines model for livekit.publicapi.projects.v1.GetMemberResponse.

type LivekitPublicapiProjectsV1GetProjectResponse

type LivekitPublicapiProjectsV1GetProjectResponse struct {
	Project *LivekitPublicapiProjectsV1Project `json:"project,omitempty"`
}

LivekitPublicapiProjectsV1GetProjectResponse defines model for livekit.publicapi.projects.v1.GetProjectResponse.

type LivekitPublicapiProjectsV1InviteMemberResponse

type LivekitPublicapiProjectsV1InviteMemberResponse struct {
	InviteToken *string `json:"inviteToken,omitempty"`
	ProjectId   *string `json:"projectId,omitempty"`
}

LivekitPublicapiProjectsV1InviteMemberResponse defines model for livekit.publicapi.projects.v1.InviteMemberResponse.

type LivekitPublicapiProjectsV1ListInvitesResponse

type LivekitPublicapiProjectsV1ListInvitesResponse struct {
	Items    *[]LivekitPublicapiProjectsV1ProjectInvite `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo          `json:"pageInfo,omitempty"`
}

LivekitPublicapiProjectsV1ListInvitesResponse defines model for livekit.publicapi.projects.v1.ListInvitesResponse.

type LivekitPublicapiProjectsV1ListKeysResponse added in v2.19.0

type LivekitPublicapiProjectsV1ListKeysResponse struct {
	Items    *[]LivekitPublicapiProjectsV1AccessKey `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo      `json:"pageInfo,omitempty"`
}

LivekitPublicapiProjectsV1ListKeysResponse defines model for livekit.publicapi.projects.v1.ListKeysResponse.

type LivekitPublicapiProjectsV1ListMembersResponse

type LivekitPublicapiProjectsV1ListMembersResponse struct {
	Items    *[]LivekitPublicapiProjectsV1ProjectMember `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo          `json:"pageInfo,omitempty"`
}

LivekitPublicapiProjectsV1ListMembersResponse defines model for livekit.publicapi.projects.v1.ListMembersResponse.

type LivekitPublicapiProjectsV1ListProjectsResponse

type LivekitPublicapiProjectsV1ListProjectsResponse struct {
	Items    *[]LivekitPublicapiProjectsV1Project `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo    `json:"pageInfo,omitempty"`
}

LivekitPublicapiProjectsV1ListProjectsResponse defines model for livekit.publicapi.projects.v1.ListProjectsResponse.

type LivekitPublicapiProjectsV1ListWebhookEventsResponse added in v2.19.1

type LivekitPublicapiProjectsV1ListWebhookEventsResponse struct {
	// Items Event names the project can receive, for filterParams and SendTestWebhook.
	Items *[]string `json:"items,omitempty"`

	// PageInfo `hasMore` is always `false`, and `nextCursor` is always empty.
	PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}

LivekitPublicapiProjectsV1ListWebhookEventsResponse defines model for livekit.publicapi.projects.v1.ListWebhookEventsResponse.

type LivekitPublicapiProjectsV1ListWebhooksResponse added in v2.19.1

type LivekitPublicapiProjectsV1ListWebhooksResponse struct {
	Items *[]LivekitPublicapiProjectsV1Webhook `json:"items,omitempty"`

	// PageInfo `hasMore` is always `false`, and `nextCursor` is always empty.
	PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}

LivekitPublicapiProjectsV1ListWebhooksResponse defines model for livekit.publicapi.projects.v1.ListWebhooksResponse.

type LivekitPublicapiProjectsV1PinnedRegions

type LivekitPublicapiProjectsV1PinnedRegions struct {
	// Regions The regions to pin the project traffic to. An empty list clears the pins.
	Regions *[]string `json:"regions,omitempty"`
}

LivekitPublicapiProjectsV1PinnedRegions Wraps the region pin set so an explicit empty list can clear the pins, which

a bare repeated field cannot express.

type LivekitPublicapiProjectsV1Project

type LivekitPublicapiProjectsV1Project struct {
	AnalyticsAccessKey *string `json:"analyticsAccessKey,omitempty"`

	// CreatedAt When the project was created.
	CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`

	// CreatorId The user who created the project.
	CreatorId *string `json:"creatorId,omitempty"`

	// EgressClusterId The egress cluster the project runs egress on.
	EgressClusterId *string `json:"egressClusterId,omitempty"`
	EnableAnalytics *bool   `json:"enableAnalytics,omitempty"`

	// EnableAutoCreate True lets the first participant to join a room that does not yet exist
	//  create it.
	EnableAutoCreate *bool `json:"enableAutoCreate,omitempty"`

	// EnableEnhancedNoiseCancellation True applies enhanced noise cancellation to inbound audio.
	EnableEnhancedNoiseCancellation *bool `json:"enableEnhancedNoiseCancellation,omitempty"`

	// EnableHostedAgents True lets the project run agents on LiveKit Cloud.
	EnableHostedAgents *bool `json:"enableHostedAgents,omitempty"`

	// EnableInferenceRegionRestriction True restricts inference to the models in the same data region as the
	//  project.
	EnableInferenceRegionRestriction *bool `json:"enableInferenceRegionRestriction,omitempty"`

	// EnablePiiRedaction True redacts PII from the recorded session data.
	EnablePiiRedaction *bool `json:"enablePiiRedaction,omitempty"`

	// EnableRemoteUnmute True lets an admin unmute the tracks of another participant.
	EnableRemoteUnmute    *bool `json:"enableRemoteUnmute,omitempty"`
	EnableSafeMode        *bool `json:"enableSafeMode,omitempty"`
	EnableSipCustomDomain *bool `json:"enableSipCustomDomain,omitempty"`

	// EnableUserDataRecording True when the project records traces, transcripts, and audio from agent
	//  sessions for agent observability.
	EnableUserDataRecording *bool `json:"enableUserDataRecording,omitempty"`

	// EnableUserDataTraining True lets LiveKit use the observability data from this project to improve
	//  models and services.
	EnableUserDataTraining *bool `json:"enableUserDataTraining,omitempty"`

	// EnabledCodecs The media codecs the project allows, by MIME type, such as `video/VP9`.
	EnabledCodecs *[]string `json:"enabledCodecs,omitempty"`

	// Id The project ID (`p_...`).
	Id *string `json:"id,omitempty"`

	// IsPrivate True when the project keeps its own member list instead of taking the
	//  members of its workspace.
	IsPrivate *bool `json:"isPrivate,omitempty"`

	// Name The project name.
	Name *string `json:"name,omitempty"`

	// PiiRedactionCategories Categories to redact when enablePiiRedaction is on. Empty on read means the
	//  stored set, or the defaults applied when redaction was enabled. It never
	//  means "redact nothing".
	PiiRedactionCategories *[]CloudProtocolPIIRedactionCategory `json:"piiRedactionCategories,omitempty"`

	// PinnedRegions The regions the project pins its traffic to. Empty leaves it unpinned.
	PinnedRegions *[]string `json:"pinnedRegions,omitempty"`

	// Preferences The UI and feature settings for the project.
	Preferences *LivekitPublicapiProjectsV1ProjectPreferences `json:"preferences,omitempty"`

	// RequireExplicitDispatch True rejects an agent server that registers without an explicit agent
	//  name, which keeps an accidental auto-dispatch server from connecting.
	RequireExplicitDispatch *bool `json:"requireExplicitDispatch,omitempty"`

	// Subdomain The project subdomain, which forms `url`.
	Subdomain *string `json:"subdomain,omitempty"`

	// Url The LiveKit server URL for the project (wss://), derived from its
	//  subdomain.
	Url                  *string `json:"url,omitempty"`
	UserDataLifetimeDays *int32  `json:"userDataLifetimeDays,omitempty"`

	// UserDataRegion The region where the project stores and processes session analytics and
	//  agent observability data. It is set when the project is created and cannot
	//  be changed.
	UserDataRegion *string `json:"userDataRegion,omitempty"`

	// Webhooks The webhook destinations for the project.
	Webhooks *[]LivekitPublicapiProjectsV1Webhook `json:"webhooks,omitempty"`

	// WorkspaceId The workspace that holds the project (`wo_...`).
	WorkspaceId *string `json:"workspaceId,omitempty"`
}

LivekitPublicapiProjectsV1Project A LiveKit Cloud project. Members and domains are separate list resources and

are not embedded here.

type LivekitPublicapiProjectsV1ProjectInvite

type LivekitPublicapiProjectsV1ProjectInvite struct {
	// Email The email address the invite was sent to.
	Email *string `json:"email,omitempty"`

	// ExpiresAt When the invite stops working.
	ExpiresAt *GoogleProtobufTimestamp `json:"expiresAt,omitempty"`

	// InviteToken The token that identifies the invite. The invitee answers with it.
	InviteToken *string `json:"inviteToken,omitempty"`

	// ProjectId The project the invite is to (`p_...`).
	ProjectId *string `json:"projectId,omitempty"`

	// Role Access level the invitee takes on the project: 0 invited, 1 read,
	//  2 write, 3 admin.
	Role *int32 `json:"role,omitempty"`
}

LivekitPublicapiProjectsV1ProjectInvite A pending email invite to a project. The recipient answers it with the token

the invite carries.

type LivekitPublicapiProjectsV1ProjectMember

type LivekitPublicapiProjectsV1ProjectMember struct {
	// Email The email address on the user account.
	Email *string `json:"email,omitempty"`

	// ProjectId The project the membership is on (`p_...`).
	ProjectId *string `json:"projectId,omitempty"`

	// Role Access level: 0 invited, 1 read, 2 write, 3 admin.
	Role *int32 `json:"role,omitempty"`

	// UserId The user who holds the membership.
	UserId *string `json:"userId,omitempty"`
}

LivekitPublicapiProjectsV1ProjectMember A user's membership on a project.

type LivekitPublicapiProjectsV1ProjectPreferences

type LivekitPublicapiProjectsV1ProjectPreferences struct {
	// DisableTokenEndpoint True turns off the sandbox token endpoint for the project.
	DisableTokenEndpoint *bool `json:"disableTokenEndpoint,omitempty"`

	// DiscoverableByDomain True lets people with the same email domain as the project owner find the
	//  project when they sign up.
	DiscoverableByDomain  *bool `json:"discoverableByDomain,omitempty"`
	EnableEgressAutoRetry *bool `json:"enableEgressAutoRetry,omitempty"`

	// EnableEgressBackupStorage True keeps an egress that fails to upload in LiveKit backup storage for 7
	//  days. The `egress_ended` webhook event carries the file location.
	EnableEgressBackupStorage *bool              `json:"enableEgressBackupStorage,omitempty"`
	FeatureFlags              *map[string]string `json:"featureFlags,omitempty"`

	// HideOnboarding True hides the onboarding instructions on the project dashboard.
	HideOnboarding *bool `json:"hideOnboarding,omitempty"`

	// HideSampleAppGallery True hides the sample app gallery on the project dashboard.
	HideSampleAppGallery *bool `json:"hideSampleAppGallery,omitempty"`
	HipaaCompliant       *bool `json:"hipaaCompliant,omitempty"`

	// JoinableByDomain True lets people with the same email domain join the project.
	JoinableByDomain *bool `json:"joinableByDomain,omitempty"`

	// RoomConfigurations Room configurations saved on the project, by name.
	RoomConfigurations *map[string]LivekitRoomConfiguration `json:"roomConfigurations,omitempty"`

	// SfuAllowPause True lets the SFU pause video tracks when subscribers are congested.
	SfuAllowPause    *bool   `json:"sfuAllowPause,omitempty"`
	TokenEndpointKey *string `json:"tokenEndpointKey,omitempty"`
}

LivekitPublicapiProjectsV1ProjectPreferences Per-project UI and feature settings.

type LivekitPublicapiProjectsV1RemoveMemberResponse

type LivekitPublicapiProjectsV1RemoveMemberResponse struct {
	// NumKeys Non-agent API keys the removal deleted.
	NumKeys *int `json:"numKeys,omitempty"`
}

LivekitPublicapiProjectsV1RemoveMemberResponse defines model for livekit.publicapi.projects.v1.RemoveMemberResponse.

type LivekitPublicapiProjectsV1SendTestWebhookResponse added in v2.19.1

type LivekitPublicapiProjectsV1SendTestWebhookResponse struct {
	// Error Why no response arrived, such as a timeout or refused connection. Empty
	//  when statusCode is set.
	Error *string `json:"error,omitempty"`

	// StatusCode HTTP status the receiver answered with; 0 when no response arrived.
	StatusCode *int32 `json:"statusCode,omitempty"`
}

LivekitPublicapiProjectsV1SendTestWebhookResponse Reports the answer from the receiver to one delivery attempt. The test is

not retried and redirects are not followed; a failed delivery is reported
here, not as an RPC error.

type LivekitPublicapiProjectsV1TokenGrants added in v2.19.1

type LivekitPublicapiProjectsV1TokenGrants struct {
	// Agent Agent server API permissions.
	Agent *LivekitPublicapiProjectsV1TokenGrantsAgent `json:"agent,omitempty"`

	// AgentEndpoint Permission to call an agent's non-public HTTP endpoints.
	AgentEndpoint *LivekitPublicapiProjectsV1TokenGrantsAgentEndpoint `json:"agentEndpoint,omitempty"`

	// AgentThread Agent thread permissions.
	AgentThread *LivekitPublicapiProjectsV1TokenGrantsAgentThread `json:"agentThread,omitempty"`

	// Attributes Attributes carried on the participant.
	Attributes *map[string]string `json:"attributes,omitempty"`

	// Identity Participant identity (the token subject).
	Identity *string `json:"identity,omitempty"`

	// Inference Inference permissions.
	Inference *LivekitPublicapiProjectsV1TokenGrantsInference `json:"inference,omitempty"`

	// Kind Participant kind: "standard", "ingress", "egress", "sip", or "agent".
	Kind        *string   `json:"kind,omitempty"`
	KindDetails *[]string `json:"kindDetails,omitempty"`

	// Metadata Metadata carried on the participant.
	Metadata *string `json:"metadata,omitempty"`

	// Name Participant display name.
	Name *string `json:"name,omitempty"`

	// Observability Observability permissions.
	Observability *LivekitPublicapiProjectsV1TokenGrantsObservability `json:"observability,omitempty"`

	// RoomConfig Configuration for a room this participant creates on join, including
	//  agent dispatches.
	RoomConfig *LivekitRoomConfiguration `json:"roomConfig,omitempty"`

	// RoomPreset Cloud room configuration preset; fields in roomConfig override it.
	RoomPreset *string `json:"roomPreset,omitempty"`

	// Sip SIP server API permissions.
	Sip *LivekitPublicapiProjectsV1TokenGrantsSip `json:"sip,omitempty"`

	// Video Room and participant permissions.
	Video *LivekitPublicapiProjectsV1TokenGrantsVideo `json:"video,omitempty"`
}

LivekitPublicapiProjectsV1TokenGrants The claims of a LiveKit access token. Field names match the JSON claims

in the token, so the claims JSON from a token is a valid TokenGrants in
JSON form.

type LivekitPublicapiProjectsV1TokenGrantsAgent added in v2.19.1

type LivekitPublicapiProjectsV1TokenGrantsAgent struct {
	// Admin Create, update, and delete cloud agents.
	Admin *bool `json:"admin,omitempty"`

	// DatabaseAdmin Reach the agent databases of the project.
	DatabaseAdmin *bool `json:"databaseAdmin,omitempty"`

	// DispatchAdmin Manage the agent dispatch queue of the project.
	DispatchAdmin *bool `json:"dispatchAdmin,omitempty"`

	// SimulationAdmin Manage the simulations and scenarios that evaluate an agent.
	SimulationAdmin *bool `json:"simulationAdmin,omitempty"`
}

LivekitPublicapiProjectsV1TokenGrantsAgent Agent server API permissions.

type LivekitPublicapiProjectsV1TokenGrantsAgentEndpoint added in v2.19.1

type LivekitPublicapiProjectsV1TokenGrantsAgentEndpoint struct {
	// AgentName One agent; empty for every agent of the project.
	AgentName *string `json:"agentName,omitempty"`

	// Call Call the endpoints.
	Call *bool `json:"call,omitempty"`

	// Deployment One deployment; empty for every deployment.
	Deployment *string `json:"deployment,omitempty"`
}

LivekitPublicapiProjectsV1TokenGrantsAgentEndpoint Calling an agent's non-public HTTP endpoints.

type LivekitPublicapiProjectsV1TokenGrantsAgentThread added in v2.19.1

type LivekitPublicapiProjectsV1TokenGrantsAgentThread struct {
	// All Extend the read, write, and delete permissions to every thread of the
	//  project.
	All *bool `json:"all,omitempty"`

	// Create Create a thread in `scope`.
	Create *bool `json:"create,omitempty"`

	// Delete Delete the threads in `threadIds`.
	Delete *bool `json:"delete,omitempty"`

	// List List the threads in `scope`.
	List *bool `json:"list,omitempty"`

	// Read Read the threads in `threadIds`.
	Read *bool `json:"read,omitempty"`

	// Scope The scope the list and create permissions apply to.
	Scope *string `json:"scope,omitempty"`

	// ThreadIds The threads the read, write, and delete permissions apply to.
	ThreadIds *[]string `json:"threadIds,omitempty"`

	// Write Write the threads in `threadIds`.
	Write *bool `json:"write,omitempty"`
}

LivekitPublicapiProjectsV1TokenGrantsAgentThread A thread token: list and create in scope; read, write and delete the

threads in `threadIds`, such as for a frontend that shows one
conversation. `all` extends it to every thread of the project; the action
flags still apply.

type LivekitPublicapiProjectsV1TokenGrantsInference added in v2.19.1

type LivekitPublicapiProjectsV1TokenGrantsInference struct {
	// Perform Every inference feature: LLM, STT, and TTS.
	Perform *bool `json:"perform,omitempty"`
}

LivekitPublicapiProjectsV1TokenGrantsInference defines model for livekit.publicapi.projects.v1.TokenGrants.Inference.

type LivekitPublicapiProjectsV1TokenGrantsObservability added in v2.19.1

type LivekitPublicapiProjectsV1TokenGrantsObservability struct {
	// Write Publish observability data.
	Write *bool `json:"write,omitempty"`
}

LivekitPublicapiProjectsV1TokenGrantsObservability defines model for livekit.publicapi.projects.v1.TokenGrants.Observability.

type LivekitPublicapiProjectsV1TokenGrantsSip added in v2.19.1

type LivekitPublicapiProjectsV1TokenGrantsSip struct {
	// Admin Every SIP feature.
	Admin *bool `json:"admin,omitempty"`

	// Call Make outbound SIP calls.
	Call *bool `json:"call,omitempty"`
}

LivekitPublicapiProjectsV1TokenGrantsSip SIP server API permissions.

type LivekitPublicapiProjectsV1TokenGrantsVideo added in v2.19.1

type LivekitPublicapiProjectsV1TokenGrantsVideo struct {
	// Agent Register as an Agents framework worker.
	Agent *bool `json:"agent,omitempty"`

	// CanManageAgentSession Manage an agent session through RemoteSession.
	CanManageAgentSession *bool `json:"canManageAgentSession,omitempty"`

	// CanPublish Publish tracks. Unset means allowed.
	CanPublish *bool `json:"canPublish,omitempty"`

	// CanPublishData Publish data to the room. Unset means allowed.
	CanPublishData *bool `json:"canPublishData,omitempty"`

	// CanPublishSources Restrict publishing to these sources ("camera", "microphone", …).
	CanPublishSources *[]string `json:"canPublishSources,omitempty"`

	// CanSubscribe Subscribe to tracks. Unset means allowed.
	CanSubscribe *bool `json:"canSubscribe,omitempty"`

	// CanSubscribeMetrics Subscribe to metrics.
	CanSubscribeMetrics *bool `json:"canSubscribeMetrics,omitempty"`

	// CanUpdateOwnMetadata Update the participant's own metadata. Unset means allowed.
	CanUpdateOwnMetadata *bool `json:"canUpdateOwnMetadata,omitempty"`

	// DestinationRoom Room to move or forward participants to.
	DestinationRoom *string `json:"destinationRoom,omitempty"`

	// Hidden Hide the participant from the others in the room.
	Hidden *bool `json:"hidden,omitempty"`

	// IngressAdmin Server API: manage ingress.
	IngressAdmin *bool `json:"ingressAdmin,omitempty"`

	// Recorder Tell the room the participant is a recorder.
	Recorder *bool `json:"recorder,omitempty"`

	// Room The room the join and admin permissions apply to. Required when either
	//  is set.
	Room *string `json:"room,omitempty"`

	// RoomAdmin Server API: manage `room` (or any room when unset).
	RoomAdmin *bool `json:"roomAdmin,omitempty"`

	// RoomCreate Server API: create rooms.
	RoomCreate *bool `json:"roomCreate,omitempty"`

	// RoomJoin Join `room`.
	RoomJoin *bool `json:"roomJoin,omitempty"`

	// RoomList Server API: list rooms.
	RoomList *bool `json:"roomList,omitempty"`

	// RoomRecord Server API: start and manage egress.
	RoomRecord *bool `json:"roomRecord,omitempty"`
}

LivekitPublicapiProjectsV1TokenGrantsVideo Room and participant permissions.

type LivekitPublicapiProjectsV1UpdateInviteResponse

type LivekitPublicapiProjectsV1UpdateInviteResponse struct {
	Invite *LivekitPublicapiProjectsV1ProjectInvite `json:"invite,omitempty"`
}

LivekitPublicapiProjectsV1UpdateInviteResponse defines model for livekit.publicapi.projects.v1.UpdateInviteResponse.

type LivekitPublicapiProjectsV1UpdateMemberResponse

type LivekitPublicapiProjectsV1UpdateMemberResponse struct {
	Member *LivekitPublicapiProjectsV1ProjectMember `json:"member,omitempty"`
}

LivekitPublicapiProjectsV1UpdateMemberResponse defines model for livekit.publicapi.projects.v1.UpdateMemberResponse.

type LivekitPublicapiProjectsV1UpdateProjectResponse

type LivekitPublicapiProjectsV1UpdateProjectResponse struct {
	Project *LivekitPublicapiProjectsV1Project `json:"project,omitempty"`
}

LivekitPublicapiProjectsV1UpdateProjectResponse defines model for livekit.publicapi.projects.v1.UpdateProjectResponse.

type LivekitPublicapiProjectsV1UpdateWebhookResponse added in v2.19.1

type LivekitPublicapiProjectsV1UpdateWebhookResponse struct {
	Webhook *LivekitPublicapiProjectsV1Webhook `json:"webhook,omitempty"`
}

LivekitPublicapiProjectsV1UpdateWebhookResponse defines model for livekit.publicapi.projects.v1.UpdateWebhookResponse.

type LivekitPublicapiProjectsV1Webhook

type LivekitPublicapiProjectsV1Webhook struct {
	// FilterParams The events to send, named by `includeEvents` or `excludeEvents`. Read the
	//  names from List webhook events.
	FilterParams *LivekitFilterParams `json:"filterParams,omitempty"`

	// Id The webhook ID.
	Id *string `json:"id,omitempty"`

	// Name A label for the destination.
	Name *string `json:"name,omitempty"`

	// SigningKey The API key of this project whose secret signs each delivery. It is a key
	//  ID, not a secret. Empty signs with the oldest key in the project.
	SigningKey *string `json:"signingKey,omitempty"`

	// Url The URL that receives the events.
	Url *string `json:"url,omitempty"`
}

LivekitPublicapiProjectsV1Webhook A project webhook destination.

type LivekitPublicapiSimulationsV1ScenariosGenerateFromSessionResponse added in v2.19.0

type LivekitPublicapiSimulationsV1ScenariosGenerateFromSessionResponse struct {
	Scenario *LivekitScenario `json:"scenario,omitempty"`
}

LivekitPublicapiSimulationsV1ScenariosGenerateFromSessionResponse defines model for livekit.publicapi.simulations.v1.Scenarios.GenerateFromSession.Response.

type LivekitPublicapiSimulationsV1SimulationRunsCancelResponse added in v2.19.0

type LivekitPublicapiSimulationsV1SimulationRunsCancelResponse = map[string]interface{}

LivekitPublicapiSimulationsV1SimulationRunsCancelResponse defines model for livekit.publicapi.simulations.v1.SimulationRuns.Cancel.Response.

type LivekitPublicapiSimulationsV1SimulationRunsConfirmSourceUploadResponse added in v2.19.0

type LivekitPublicapiSimulationsV1SimulationRunsConfirmSourceUploadResponse = map[string]interface{}

LivekitPublicapiSimulationsV1SimulationRunsConfirmSourceUploadResponse defines model for livekit.publicapi.simulations.v1.SimulationRuns.ConfirmSourceUpload.Response.

type LivekitPublicapiSimulationsV1SimulationRunsCountsResponse added in v2.19.0

type LivekitPublicapiSimulationsV1SimulationRunsCountsResponse struct {
	// Buckets Buckets holding at least one run, ascending by bucketStart. Empty
	//  buckets are omitted; each run lands in exactly one bucket, so the
	//  counts sum to the number of runs in the window.
	Buckets *[]LivekitSimulationRunCountsBucket `json:"buckets,omitempty"`

	// Interval The bucket width the service chose for the window (at most 60 buckets,
	//  never narrower than one minute), so a client zero-fills the omitted
	//  buckets on the grid the counts were built on.
	Interval *GoogleProtobufDuration `json:"interval,omitempty"`
}

LivekitPublicapiSimulationsV1SimulationRunsCountsResponse defines model for livekit.publicapi.simulations.v1.SimulationRuns.Counts.Response.

type LivekitPublicapiSimulationsV1SimulationRunsCreateResponse added in v2.19.0

type LivekitPublicapiSimulationsV1SimulationRunsCreateResponse struct {
	// PresignedPostRequest Presigned POST for uploading the agent source archive that scenarios
	//  are generated from; upload, then call ConfirmSimulationSourceUpload.
	//  Unset when the run was created with a scenarioGroup.
	PresignedPostRequest *LivekitPresignedPostRequest `json:"presignedPostRequest,omitempty"`
	SimulationRunId      *string                      `json:"simulationRunId,omitempty"`
}

LivekitPublicapiSimulationsV1SimulationRunsCreateResponse defines model for livekit.publicapi.simulations.v1.SimulationRuns.Create.Response.

type LivekitPublicapiSimulationsV1SimulationRunsGetResponse added in v2.19.0

type LivekitPublicapiSimulationsV1SimulationRunsGetResponse struct {
	// Run The run. summaryZstd is always empty here; see
	//  GetSimulationRunSummary.
	Run *LivekitSimulationRun `json:"run,omitempty"`
}

LivekitPublicapiSimulationsV1SimulationRunsGetResponse defines model for livekit.publicapi.simulations.v1.SimulationRuns.Get.Response.

type LivekitPublicapiSimulationsV1SimulationRunsGetSummaryResponse added in v2.19.0

type LivekitPublicapiSimulationsV1SimulationRunsGetSummaryResponse struct {
	// Summary The decoded summary of a finished run.
	Summary *LivekitSimulationRunSummary `json:"summary,omitempty"`
}

LivekitPublicapiSimulationsV1SimulationRunsGetSummaryResponse defines model for livekit.publicapi.simulations.v1.SimulationRuns.GetSummary.Response.

type LivekitPublicapiSimulationsV1SimulationRunsListResponse added in v2.19.0

type LivekitPublicapiSimulationsV1SimulationRunsListResponse struct {
	Items    *[]LivekitSimulationRun           `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}

LivekitPublicapiSimulationsV1SimulationRunsListResponse defines model for livekit.publicapi.simulations.v1.SimulationRuns.List.Response.

type LivekitPublicapiThreadsV1ThreadsCreateResponse added in v2.19.1

type LivekitPublicapiThreadsV1ThreadsCreateResponse struct {
	Thread *LivekitAgentAgentThreadThread `json:"thread,omitempty"`
}

LivekitPublicapiThreadsV1ThreadsCreateResponse defines model for livekit.publicapi.threads.v1.Threads.Create.Response.

type LivekitPublicapiThreadsV1ThreadsDeleteResponse added in v2.19.1

type LivekitPublicapiThreadsV1ThreadsDeleteResponse = map[string]interface{}

LivekitPublicapiThreadsV1ThreadsDeleteResponse defines model for livekit.publicapi.threads.v1.Threads.Delete.Response.

type LivekitPublicapiThreadsV1ThreadsGetResponse added in v2.19.1

type LivekitPublicapiThreadsV1ThreadsGetResponse struct {
	Thread *LivekitAgentAgentThreadThread `json:"thread,omitempty"`
}

LivekitPublicapiThreadsV1ThreadsGetResponse defines model for livekit.publicapi.threads.v1.Threads.Get.Response.

type LivekitPublicapiThreadsV1ThreadsItemsResponse added in v2.19.1

type LivekitPublicapiThreadsV1ThreadsItemsResponse struct {
	Items    *[]LivekitAgentAgentThreadItem    `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}

LivekitPublicapiThreadsV1ThreadsItemsResponse defines model for livekit.publicapi.threads.v1.Threads.Items.Response.

type LivekitPublicapiThreadsV1ThreadsListResponse added in v2.19.1

type LivekitPublicapiThreadsV1ThreadsListResponse struct {
	Items    *[]LivekitAgentAgentThreadThread  `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}

LivekitPublicapiThreadsV1ThreadsListResponse defines model for livekit.publicapi.threads.v1.Threads.List.Response.

type LivekitPublicapiThreadsV1ThreadsTasksResponse added in v2.19.1

type LivekitPublicapiThreadsV1ThreadsTasksResponse struct {
	Items    *[]LivekitAgentAgentTaskTask      `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}

LivekitPublicapiThreadsV1ThreadsTasksResponse defines model for livekit.publicapi.threads.v1.Threads.Tasks.Response.

type LivekitPublicapiThreadsV1ThreadsUpdateResponse added in v2.19.1

type LivekitPublicapiThreadsV1ThreadsUpdateResponse struct {
	Thread *LivekitAgentAgentThreadThread `json:"thread,omitempty"`
}

LivekitPublicapiThreadsV1ThreadsUpdateResponse defines model for livekit.publicapi.threads.v1.Threads.Update.Response.

type LivekitPublicapiUsersV1GetCurrentUserResponse

type LivekitPublicapiUsersV1GetCurrentUserResponse struct {
	User *LivekitPublicapiUsersV1User `json:"user,omitempty"`
}

LivekitPublicapiUsersV1GetCurrentUserResponse defines model for livekit.publicapi.users.v1.GetCurrentUserResponse.

type LivekitPublicapiUsersV1GetUserResponse

type LivekitPublicapiUsersV1GetUserResponse struct {
	User *LivekitPublicapiUsersV1User `json:"user,omitempty"`
}

LivekitPublicapiUsersV1GetUserResponse defines model for livekit.publicapi.users.v1.GetUserResponse.

type LivekitPublicapiUsersV1ListUsersResponse

type LivekitPublicapiUsersV1ListUsersResponse struct {
	Items    *[]LivekitPublicapiUsersV1User    `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo `json:"pageInfo,omitempty"`
}

LivekitPublicapiUsersV1ListUsersResponse defines model for livekit.publicapi.users.v1.ListUsersResponse.

type LivekitPublicapiUsersV1User

type LivekitPublicapiUsersV1User struct {
	// CreatedAt When the account was created.
	CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`

	// Email The email address on the account.
	Email *string `json:"email,omitempty"`

	// Id The user ID, also the `userId` on project and workspace members.
	Id *string `json:"id,omitempty"`
}

LivekitPublicapiUsersV1User A LiveKit Cloud user.

type LivekitPublicapiWorkspacesV1AnswerInviteResponse

type LivekitPublicapiWorkspacesV1AnswerInviteResponse struct {
	// Member The new membership. Set only when `accept` is true.
	Member *LivekitPublicapiWorkspacesV1WorkspaceMember `json:"member,omitempty"`
}

LivekitPublicapiWorkspacesV1AnswerInviteResponse defines model for livekit.publicapi.workspaces.v1.AnswerInviteResponse.

type LivekitPublicapiWorkspacesV1CreateInviteResponse

type LivekitPublicapiWorkspacesV1CreateInviteResponse struct {
	// InviteToken The token that identifies the invite. The invitee answers with it.
	InviteToken *string `json:"inviteToken,omitempty"`

	// WorkspaceId The workspace the invite is to (`wo_...`).
	WorkspaceId *string `json:"workspaceId,omitempty"`
}

LivekitPublicapiWorkspacesV1CreateInviteResponse defines model for livekit.publicapi.workspaces.v1.CreateInviteResponse.

type LivekitPublicapiWorkspacesV1CreateWorkspaceRequest

type LivekitPublicapiWorkspacesV1CreateWorkspaceRequest struct {
	// Name The workspace name.
	Name *string `json:"name,omitempty"`

	// OrganizationId Optional organization association.
	OrganizationId *string `json:"organizationId,omitempty"`
}

LivekitPublicapiWorkspacesV1CreateWorkspaceRequest The workspace to create. You cannot set workspace preferences here. LiveKit

staff set them, and they apply to every project in the workspace.

type LivekitPublicapiWorkspacesV1CreateWorkspaceResponse

type LivekitPublicapiWorkspacesV1CreateWorkspaceResponse struct {
	Workspace *LivekitPublicapiWorkspacesV1Workspace `json:"workspace,omitempty"`
}

LivekitPublicapiWorkspacesV1CreateWorkspaceResponse defines model for livekit.publicapi.workspaces.v1.CreateWorkspaceResponse.

type LivekitPublicapiWorkspacesV1DeleteInviteResponse

type LivekitPublicapiWorkspacesV1DeleteInviteResponse = map[string]interface{}

LivekitPublicapiWorkspacesV1DeleteInviteResponse defines model for livekit.publicapi.workspaces.v1.DeleteInviteResponse.

type LivekitPublicapiWorkspacesV1DeleteMemberResponse

type LivekitPublicapiWorkspacesV1DeleteMemberResponse struct {
	// NumKeys Non-agent API keys the removal deleted.
	NumKeys *int `json:"numKeys,omitempty"`
}

LivekitPublicapiWorkspacesV1DeleteMemberResponse defines model for livekit.publicapi.workspaces.v1.DeleteMemberResponse.

type LivekitPublicapiWorkspacesV1DeleteWorkspaceResponse

type LivekitPublicapiWorkspacesV1DeleteWorkspaceResponse = map[string]interface{}

LivekitPublicapiWorkspacesV1DeleteWorkspaceResponse defines model for livekit.publicapi.workspaces.v1.DeleteWorkspaceResponse.

type LivekitPublicapiWorkspacesV1GetInviteResponse

type LivekitPublicapiWorkspacesV1GetInviteResponse struct {
	Invite *LivekitPublicapiWorkspacesV1WorkspaceInvite `json:"invite,omitempty"`
}

LivekitPublicapiWorkspacesV1GetInviteResponse defines model for livekit.publicapi.workspaces.v1.GetInviteResponse.

type LivekitPublicapiWorkspacesV1GetMemberResponse

type LivekitPublicapiWorkspacesV1GetMemberResponse struct {
	Member *LivekitPublicapiWorkspacesV1WorkspaceMember `json:"member,omitempty"`
}

LivekitPublicapiWorkspacesV1GetMemberResponse defines model for livekit.publicapi.workspaces.v1.GetMemberResponse.

type LivekitPublicapiWorkspacesV1GetWorkspaceResponse

type LivekitPublicapiWorkspacesV1GetWorkspaceResponse struct {
	Workspace *LivekitPublicapiWorkspacesV1Workspace `json:"workspace,omitempty"`
}

LivekitPublicapiWorkspacesV1GetWorkspaceResponse defines model for livekit.publicapi.workspaces.v1.GetWorkspaceResponse.

type LivekitPublicapiWorkspacesV1ListInvitesResponse

type LivekitPublicapiWorkspacesV1ListInvitesResponse struct {
	Items    *[]LivekitPublicapiWorkspacesV1WorkspaceInvite `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo              `json:"pageInfo,omitempty"`
}

LivekitPublicapiWorkspacesV1ListInvitesResponse defines model for livekit.publicapi.workspaces.v1.ListInvitesResponse.

type LivekitPublicapiWorkspacesV1ListMembersResponse

type LivekitPublicapiWorkspacesV1ListMembersResponse struct {
	Items    *[]LivekitPublicapiWorkspacesV1WorkspaceMember `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo              `json:"pageInfo,omitempty"`
}

LivekitPublicapiWorkspacesV1ListMembersResponse defines model for livekit.publicapi.workspaces.v1.ListMembersResponse.

type LivekitPublicapiWorkspacesV1ListWorkspacesResponse

type LivekitPublicapiWorkspacesV1ListWorkspacesResponse struct {
	Items    *[]LivekitPublicapiWorkspacesV1Workspace `json:"items,omitempty"`
	PageInfo *LivekitPublicapiCommonV1PageInfo        `json:"pageInfo,omitempty"`
}

LivekitPublicapiWorkspacesV1ListWorkspacesResponse defines model for livekit.publicapi.workspaces.v1.ListWorkspacesResponse.

type LivekitPublicapiWorkspacesV1UpdateMemberResponse

type LivekitPublicapiWorkspacesV1UpdateMemberResponse struct {
	Member *LivekitPublicapiWorkspacesV1WorkspaceMember `json:"member,omitempty"`
}

LivekitPublicapiWorkspacesV1UpdateMemberResponse defines model for livekit.publicapi.workspaces.v1.UpdateMemberResponse.

type LivekitPublicapiWorkspacesV1UpdateWorkspaceResponse

type LivekitPublicapiWorkspacesV1UpdateWorkspaceResponse struct {
	Workspace *LivekitPublicapiWorkspacesV1Workspace `json:"workspace,omitempty"`
}

LivekitPublicapiWorkspacesV1UpdateWorkspaceResponse defines model for livekit.publicapi.workspaces.v1.UpdateWorkspaceResponse.

type LivekitPublicapiWorkspacesV1Workspace

type LivekitPublicapiWorkspacesV1Workspace struct {
	// CreatedAt When the workspace was created.
	CreatedAt *GoogleProtobufTimestamp `json:"createdAt,omitempty"`

	// CreatorId The user who created the workspace.
	CreatorId *string `json:"creatorId,omitempty"`

	// Id The workspace ID (`wo_...`).
	Id *string `json:"id,omitempty"`

	// Name The workspace name.
	Name *string `json:"name,omitempty"`

	// OrganizationId The organization the workspace belongs to.
	OrganizationId *string `json:"organizationId,omitempty"`

	// Preferences The settings for the workspace.
	Preferences *LivekitPublicapiWorkspacesV1WorkspacePreferences `json:"preferences,omitempty"`
}

LivekitPublicapiWorkspacesV1Workspace A LiveKit Cloud workspace. Members and invites are separate list resources

and are not embedded here.

type LivekitPublicapiWorkspacesV1WorkspaceInvite

type LivekitPublicapiWorkspacesV1WorkspaceInvite struct {
	// Email The email address the invite was sent to.
	Email *string `json:"email,omitempty"`

	// ExpiresAt When the invite stops working.
	ExpiresAt *GoogleProtobufTimestamp `json:"expiresAt,omitempty"`

	// InviteToken The token that identifies the invite. The invitee answers with it.
	InviteToken *string `json:"inviteToken,omitempty"`

	// Role Access level the invitee takes on the workspace: 0 invited, 1 read,
	//  2 write, 3 admin.
	Role *int32 `json:"role,omitempty"`

	// WorkspaceId The workspace the invite is to (`wo_...`).
	WorkspaceId *string `json:"workspaceId,omitempty"`
}

LivekitPublicapiWorkspacesV1WorkspaceInvite A pending email invite to a workspace.

type LivekitPublicapiWorkspacesV1WorkspaceMember

type LivekitPublicapiWorkspacesV1WorkspaceMember struct {
	// Email The email address on the user account.
	Email *string `json:"email,omitempty"`

	// Role Access level: 0 invited, 1 read, 2 write, 3 admin.
	Role *int32 `json:"role,omitempty"`

	// UserId The user who holds the membership.
	UserId *string `json:"userId,omitempty"`

	// WorkspaceId The workspace the membership is on (`wo_...`).
	WorkspaceId *string `json:"workspaceId,omitempty"`
}

LivekitPublicapiWorkspacesV1WorkspaceMember A user's membership on a workspace.

type LivekitPublicapiWorkspacesV1WorkspacePreferences

type LivekitPublicapiWorkspacesV1WorkspacePreferences struct {
	HipaaCompliant *bool `json:"hipaaCompliant,omitempty"`
}

LivekitPublicapiWorkspacesV1WorkspacePreferences Per-workspace settings.

type LivekitRoomAgentDispatch

type LivekitRoomAgentDispatch struct {
	AgentName  *string            `json:"agentName,omitempty"`
	Attributes *map[string]string `json:"attributes,omitempty"`
	Deployment *string            `json:"deployment,omitempty"`
	Metadata   *string            `json:"metadata,omitempty"`

	// RestartPolicy cloud only
	RestartPolicy *LivekitJobRestartPolicy `json:"restartPolicy,omitempty"`
}

LivekitRoomAgentDispatch defines model for livekit.RoomAgentDispatch.

type LivekitRoomCompositeEgressRequest

type LivekitRoomCompositeEgressRequest struct {
	AudioMixing    *LivekitAudioMixing           `json:"audioMixing,omitempty"`
	AudioOnly      *bool                         `json:"audioOnly,omitempty"`
	CustomBaseUrl  *string                       `json:"customBaseUrl,omitempty"`
	FileOutputs    *[]LivekitEncodedFileOutput   `json:"fileOutputs,omitempty"`
	ImageOutputs   *[]LivekitImageOutput         `json:"imageOutputs,omitempty"`
	Layout         *string                       `json:"layout,omitempty"`
	RoomName       *string                       `json:"roomName,omitempty"`
	SegmentOutputs *[]LivekitSegmentedFileOutput `json:"segmentOutputs,omitempty"`
	StreamOutputs  *[]LivekitStreamOutput        `json:"streamOutputs,omitempty"`
	VideoOnly      *bool                         `json:"videoOnly,omitempty"`
	Webhooks       *[]LivekitWebhookConfig       `json:"webhooks,omitempty"`
	// contains filtered or unexported fields
}

LivekitRoomCompositeEgressRequest defines model for livekit.RoomCompositeEgressRequest.

func (LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest0

func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest0() (LivekitRoomCompositeEgressRequest0, error)

AsLivekitRoomCompositeEgressRequest0 returns the union data inside the LivekitRoomCompositeEgressRequest as a LivekitRoomCompositeEgressRequest0

func (LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest1

func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest1() (LivekitRoomCompositeEgressRequest1, error)

AsLivekitRoomCompositeEgressRequest1 returns the union data inside the LivekitRoomCompositeEgressRequest as a LivekitRoomCompositeEgressRequest1

func (LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest2

func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest2() (LivekitRoomCompositeEgressRequest2, error)

AsLivekitRoomCompositeEgressRequest2 returns the union data inside the LivekitRoomCompositeEgressRequest as a LivekitRoomCompositeEgressRequest2

func (LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest3

func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest3() (LivekitRoomCompositeEgressRequest3, error)

AsLivekitRoomCompositeEgressRequest3 returns the union data inside the LivekitRoomCompositeEgressRequest as a LivekitRoomCompositeEgressRequest3

func (LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest4

func (t LivekitRoomCompositeEgressRequest) AsLivekitRoomCompositeEgressRequest4() (LivekitRoomCompositeEgressRequest4, error)

AsLivekitRoomCompositeEgressRequest4 returns the union data inside the LivekitRoomCompositeEgressRequest as a LivekitRoomCompositeEgressRequest4

func (*LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest0

func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest0(v LivekitRoomCompositeEgressRequest0) error

FromLivekitRoomCompositeEgressRequest0 overwrites any union data inside the LivekitRoomCompositeEgressRequest as the provided LivekitRoomCompositeEgressRequest0

func (*LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest1

func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest1(v LivekitRoomCompositeEgressRequest1) error

FromLivekitRoomCompositeEgressRequest1 overwrites any union data inside the LivekitRoomCompositeEgressRequest as the provided LivekitRoomCompositeEgressRequest1

func (*LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest2

func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest2(v LivekitRoomCompositeEgressRequest2) error

FromLivekitRoomCompositeEgressRequest2 overwrites any union data inside the LivekitRoomCompositeEgressRequest as the provided LivekitRoomCompositeEgressRequest2

func (*LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest3

func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest3(v LivekitRoomCompositeEgressRequest3) error

FromLivekitRoomCompositeEgressRequest3 overwrites any union data inside the LivekitRoomCompositeEgressRequest as the provided LivekitRoomCompositeEgressRequest3

func (*LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest4

func (t *LivekitRoomCompositeEgressRequest) FromLivekitRoomCompositeEgressRequest4(v LivekitRoomCompositeEgressRequest4) error

FromLivekitRoomCompositeEgressRequest4 overwrites any union data inside the LivekitRoomCompositeEgressRequest as the provided LivekitRoomCompositeEgressRequest4

func (LivekitRoomCompositeEgressRequest) MarshalJSON

func (t LivekitRoomCompositeEgressRequest) MarshalJSON() ([]byte, error)

func (*LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest0

func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest0(v LivekitRoomCompositeEgressRequest0) error

MergeLivekitRoomCompositeEgressRequest0 performs a merge with any union data inside the LivekitRoomCompositeEgressRequest, using the provided LivekitRoomCompositeEgressRequest0

func (*LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest1

func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest1(v LivekitRoomCompositeEgressRequest1) error

MergeLivekitRoomCompositeEgressRequest1 performs a merge with any union data inside the LivekitRoomCompositeEgressRequest, using the provided LivekitRoomCompositeEgressRequest1

func (*LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest2

func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest2(v LivekitRoomCompositeEgressRequest2) error

MergeLivekitRoomCompositeEgressRequest2 performs a merge with any union data inside the LivekitRoomCompositeEgressRequest, using the provided LivekitRoomCompositeEgressRequest2

func (*LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest3

func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest3(v LivekitRoomCompositeEgressRequest3) error

MergeLivekitRoomCompositeEgressRequest3 performs a merge with any union data inside the LivekitRoomCompositeEgressRequest, using the provided LivekitRoomCompositeEgressRequest3

func (*LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest4

func (t *LivekitRoomCompositeEgressRequest) MergeLivekitRoomCompositeEgressRequest4(v LivekitRoomCompositeEgressRequest4) error

MergeLivekitRoomCompositeEgressRequest4 performs a merge with any union data inside the LivekitRoomCompositeEgressRequest, using the provided LivekitRoomCompositeEgressRequest4

func (*LivekitRoomCompositeEgressRequest) UnmarshalJSON

func (t *LivekitRoomCompositeEgressRequest) UnmarshalJSON(b []byte) error

type LivekitRoomCompositeEgressRequest0

type LivekitRoomCompositeEgressRequest0 struct {
	Advanced *LivekitEncodingOptions `json:"advanced,omitempty"`
}

LivekitRoomCompositeEgressRequest0 defines model for LivekitRoomCompositeEgressRequest.0.

type LivekitRoomCompositeEgressRequest1

type LivekitRoomCompositeEgressRequest1 struct {
	Preset *LivekitEncodingOptionsPreset `json:"preset,omitempty"`
}

LivekitRoomCompositeEgressRequest1 defines model for LivekitRoomCompositeEgressRequest.1.

type LivekitRoomCompositeEgressRequest2

type LivekitRoomCompositeEgressRequest2 struct {
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	File *LivekitEncodedFileOutput `json:"file,omitempty"`
}

LivekitRoomCompositeEgressRequest2 defines model for LivekitRoomCompositeEgressRequest.2.

type LivekitRoomCompositeEgressRequest3

type LivekitRoomCompositeEgressRequest3 struct {
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Segments *LivekitSegmentedFileOutput `json:"segments,omitempty"`
}

LivekitRoomCompositeEgressRequest3 defines model for LivekitRoomCompositeEgressRequest.3.

type LivekitRoomCompositeEgressRequest4

type LivekitRoomCompositeEgressRequest4 struct {
	// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
	Stream *LivekitStreamOutput `json:"stream,omitempty"`
}

LivekitRoomCompositeEgressRequest4 defines model for LivekitRoomCompositeEgressRequest.4.

type LivekitRoomConfiguration

type LivekitRoomConfiguration struct {
	// Agents Define agents that should be dispatched to this room
	Agents *[]LivekitRoomAgentDispatch `json:"agents,omitempty"`

	// DepartureTimeout number of seconds to keep the room open after everyone leaves
	DepartureTimeout *int `json:"departureTimeout,omitempty"`

	// Egress egress
	Egress *LivekitRoomEgress `json:"egress,omitempty"`

	// EmptyTimeout number of seconds to keep the room open if no one joins
	EmptyTimeout *int `json:"emptyTimeout,omitempty"`

	// MaxParticipants limit number of participants that can be in a room, excluding Egress and Agent participants
	MaxParticipants *int `json:"maxParticipants,omitempty"`
	MaxPlayoutDelay *int `json:"maxPlayoutDelay,omitempty"`

	// Metadata metadata of room
	Metadata *string `json:"metadata,omitempty"`

	// MinPlayoutDelay playout delay of subscriber
	MinPlayoutDelay *int `json:"minPlayoutDelay,omitempty"`

	// Name Used as ID, must be unique
	Name *string `json:"name,omitempty"`

	// SyncStreams improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use
	//  so not recommended for rooms with frequent subscription changes
	SyncStreams *bool `json:"syncStreams,omitempty"`

	// Tags Tags to attach to the room
	Tags *map[string]string `json:"tags,omitempty"`
}

LivekitRoomConfiguration defines model for livekit.RoomConfiguration.

type LivekitRoomEgress

type LivekitRoomEgress struct {
	Participant *LivekitAutoParticipantEgress      `json:"participant,omitempty"`
	Room        *LivekitRoomCompositeEgressRequest `json:"room,omitempty"`
	Tracks      *LivekitAutoTrackEgress            `json:"tracks,omitempty"`
}

LivekitRoomEgress defines model for livekit.RoomEgress.

type LivekitS3Upload

type LivekitS3Upload struct {
	AccessKey *string `json:"accessKey,omitempty"`

	// AssumeRoleArn ARN of the role to assume for file upload. Egress will make an AssumeRole API call using the provided access_key and secret to assume that role. On LiveKit cloud, this is only available on accounts that have the feature enabled
	AssumeRoleArn *string `json:"assumeRoleArn,omitempty"`

	// AssumeRoleExternalId ExternalID to use when assuming role for upload
	AssumeRoleExternalId *string `json:"assumeRoleExternalId,omitempty"`
	Bucket               *string `json:"bucket,omitempty"`

	// ContentDisposition Content-Disposition header
	ContentDisposition *string             `json:"contentDisposition,omitempty"`
	Endpoint           *string             `json:"endpoint,omitempty"`
	ForcePathStyle     *bool               `json:"forcePathStyle,omitempty"`
	Metadata           *map[string]string  `json:"metadata,omitempty"`
	Proxy              *LivekitProxyConfig `json:"proxy,omitempty"`
	Region             *string             `json:"region,omitempty"`
	Secret             *string             `json:"secret,omitempty"`
	SessionToken       *string             `json:"sessionToken,omitempty"`
	Tagging            *string             `json:"tagging,omitempty"`
}

LivekitS3Upload defines model for livekit.S3Upload.

type LivekitScenario

type LivekitScenario struct {
	AgentExpectations *string `json:"agentExpectations,omitempty"`

	// Id SCN_-prefixed guid. Stable across edits to label, instructions, or
	//  expectations, so runs of the same scenario can be correlated over time.
	Id           *string `json:"id,omitempty"`
	Instructions *string `json:"instructions,omitempty"`
	Label        *string `json:"label,omitempty"`

	// Tags Set as participant attributes on the simulation participant's access token.
	Tags *map[string]string `json:"tags,omitempty"`

	// Userdata Arbitrary JSON-encoded object, surfaced to the agent under test as
	//  SimulationContext userdata (e.g. inputs and benchmark target state).
	Userdata *string `json:"userdata,omitempty"`
}

LivekitScenario A single scenario, mirroring one entry in a scenarios.yaml file. Scenarios

are no longer stored server-side; the yaml file is the source of truth.

type LivekitScenarioGroup

type LivekitScenarioGroup struct {
	// Id SCNG_-prefixed guid. Stable identity of the scenarios file, independent
	//  of its name.
	Id        *string            `json:"id,omitempty"`
	Name      *string            `json:"name,omitempty"`
	Scenarios *[]LivekitScenario `json:"scenarios,omitempty"`
}

LivekitScenarioGroup A named group of scenarios, mirroring a whole scenarios.yaml file.

type LivekitSegmentedFileOutput

type LivekitSegmentedFileOutput struct {
	// DisableManifest disable upload of manifest file (default false)
	DisableManifest *bool `json:"disableManifest,omitempty"`

	// FilenamePrefix (optional)
	FilenamePrefix *string `json:"filenamePrefix,omitempty"`

	// FilenameSuffix (optional, default INDEX)
	FilenameSuffix *LivekitSegmentedFileSuffix `json:"filenameSuffix,omitempty"`

	// LivePlaylistName (optional, disabled if not provided). Path of a live playlist
	LivePlaylistName *string `json:"livePlaylistName,omitempty"`

	// PlaylistName (optional)
	PlaylistName *string `json:"playlistName,omitempty"`

	// Protocol (optional)
	Protocol *LivekitSegmentedFileProtocol `json:"protocol,omitempty"`

	// SegmentDuration in seconds (optional)
	SegmentDuration *int `json:"segmentDuration,omitempty"`
	// contains filtered or unexported fields
}

LivekitSegmentedFileOutput Used to generate HLS segments or other kind of segmented output

func (LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput0

func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput0() (LivekitSegmentedFileOutput0, error)

AsLivekitSegmentedFileOutput0 returns the union data inside the LivekitSegmentedFileOutput as a LivekitSegmentedFileOutput0

func (LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput1

func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput1() (LivekitSegmentedFileOutput1, error)

AsLivekitSegmentedFileOutput1 returns the union data inside the LivekitSegmentedFileOutput as a LivekitSegmentedFileOutput1

func (LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput2

func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput2() (LivekitSegmentedFileOutput2, error)

AsLivekitSegmentedFileOutput2 returns the union data inside the LivekitSegmentedFileOutput as a LivekitSegmentedFileOutput2

func (LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput3

func (t LivekitSegmentedFileOutput) AsLivekitSegmentedFileOutput3() (LivekitSegmentedFileOutput3, error)

AsLivekitSegmentedFileOutput3 returns the union data inside the LivekitSegmentedFileOutput as a LivekitSegmentedFileOutput3

func (*LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput0

func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput0(v LivekitSegmentedFileOutput0) error

FromLivekitSegmentedFileOutput0 overwrites any union data inside the LivekitSegmentedFileOutput as the provided LivekitSegmentedFileOutput0

func (*LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput1

func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput1(v LivekitSegmentedFileOutput1) error

FromLivekitSegmentedFileOutput1 overwrites any union data inside the LivekitSegmentedFileOutput as the provided LivekitSegmentedFileOutput1

func (*LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput2

func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput2(v LivekitSegmentedFileOutput2) error

FromLivekitSegmentedFileOutput2 overwrites any union data inside the LivekitSegmentedFileOutput as the provided LivekitSegmentedFileOutput2

func (*LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput3

func (t *LivekitSegmentedFileOutput) FromLivekitSegmentedFileOutput3(v LivekitSegmentedFileOutput3) error

FromLivekitSegmentedFileOutput3 overwrites any union data inside the LivekitSegmentedFileOutput as the provided LivekitSegmentedFileOutput3

func (LivekitSegmentedFileOutput) MarshalJSON

func (t LivekitSegmentedFileOutput) MarshalJSON() ([]byte, error)

func (*LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput0

func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput0(v LivekitSegmentedFileOutput0) error

MergeLivekitSegmentedFileOutput0 performs a merge with any union data inside the LivekitSegmentedFileOutput, using the provided LivekitSegmentedFileOutput0

func (*LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput1

func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput1(v LivekitSegmentedFileOutput1) error

MergeLivekitSegmentedFileOutput1 performs a merge with any union data inside the LivekitSegmentedFileOutput, using the provided LivekitSegmentedFileOutput1

func (*LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput2

func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput2(v LivekitSegmentedFileOutput2) error

MergeLivekitSegmentedFileOutput2 performs a merge with any union data inside the LivekitSegmentedFileOutput, using the provided LivekitSegmentedFileOutput2

func (*LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput3

func (t *LivekitSegmentedFileOutput) MergeLivekitSegmentedFileOutput3(v LivekitSegmentedFileOutput3) error

MergeLivekitSegmentedFileOutput3 performs a merge with any union data inside the LivekitSegmentedFileOutput, using the provided LivekitSegmentedFileOutput3

func (*LivekitSegmentedFileOutput) UnmarshalJSON

func (t *LivekitSegmentedFileOutput) UnmarshalJSON(b []byte) error

type LivekitSegmentedFileOutput0

type LivekitSegmentedFileOutput0 struct {
	AliOSS *LivekitAliOSSUpload `json:"aliOSS,omitempty"`
}

LivekitSegmentedFileOutput0 defines model for LivekitSegmentedFileOutput.0.

type LivekitSegmentedFileOutput1

type LivekitSegmentedFileOutput1 struct {
	Azure *LivekitAzureBlobUpload `json:"azure,omitempty"`
}

LivekitSegmentedFileOutput1 defines model for LivekitSegmentedFileOutput.1.

type LivekitSegmentedFileOutput2

type LivekitSegmentedFileOutput2 struct {
	Gcp *LivekitGCPUpload `json:"gcp,omitempty"`
}

LivekitSegmentedFileOutput2 defines model for LivekitSegmentedFileOutput.2.

type LivekitSegmentedFileOutput3

type LivekitSegmentedFileOutput3 struct {
	S3 *LivekitS3Upload `json:"s3,omitempty"`
}

LivekitSegmentedFileOutput3 defines model for LivekitSegmentedFileOutput.3.

type LivekitSegmentedFileProtocol

type LivekitSegmentedFileProtocol string

LivekitSegmentedFileProtocol defines model for livekit.SegmentedFileProtocol.

const (
	DEFAULTSEGMENTEDFILEPROTOCOL LivekitSegmentedFileProtocol = "DEFAULT_SEGMENTED_FILE_PROTOCOL"
	HLSPROTOCOL                  LivekitSegmentedFileProtocol = "HLS_PROTOCOL"
)

Defines values for LivekitSegmentedFileProtocol.

func (LivekitSegmentedFileProtocol) Valid

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

type LivekitSegmentedFileSuffix

type LivekitSegmentedFileSuffix string

LivekitSegmentedFileSuffix defines model for livekit.SegmentedFileSuffix.

const (
	INDEX     LivekitSegmentedFileSuffix = "INDEX"
	TIMESTAMP LivekitSegmentedFileSuffix = "TIMESTAMP"
)

Defines values for LivekitSegmentedFileSuffix.

func (LivekitSegmentedFileSuffix) Valid

func (e LivekitSegmentedFileSuffix) Valid() bool

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

type LivekitSimulationMode

type LivekitSimulationMode string

LivekitSimulationMode How the simulated user interacts with the agent under test.

const (
	SIMULATIONMODEAUDIO       LivekitSimulationMode = "SIMULATION_MODE_AUDIO"
	SIMULATIONMODETEXT        LivekitSimulationMode = "SIMULATION_MODE_TEXT"
	SIMULATIONMODEUNSPECIFIED LivekitSimulationMode = "SIMULATION_MODE_UNSPECIFIED"
)

Defines values for LivekitSimulationMode.

func (LivekitSimulationMode) Valid

func (e LivekitSimulationMode) Valid() bool

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

type LivekitSimulationRun

type LivekitSimulationRun struct {
	AgentDescription *string `json:"agentDescription,omitempty"`
	AgentName        *string `json:"agentName,omitempty"`

	// Ci The pipeline this run came from; unset when it did not come from one.
	Ci *LivekitSimulationRunCI `json:"ci,omitempty"`

	// Concurrency Maximum simulate jobs running in parallel for this run (0 = server default).
	Concurrency *int32                   `json:"concurrency,omitempty"`
	CreatedAt   *GoogleProtobufTimestamp `json:"createdAt,omitempty"`
	EndedAt     *GoogleProtobufTimestamp `json:"endedAt,omitempty"`
	Error       *string                  `json:"error,omitempty"`
	FailedCount *int32                   `json:"failedCount,omitempty"`
	Id          *string                  `json:"id,omitempty"`

	// IssueCount How many issues the stored summary flagged. Present only once a summary
	//  landed — absent and 0 differ ("never summarized" vs "no issues") — and
	//  List responses carry it without the summary blob itself.
	IssueCount *int32                     `json:"issueCount,omitempty"`
	JobCount   *int32                     `json:"jobCount,omitempty"`
	Jobs       *[]LivekitSimulationRunJob `json:"jobs,omitempty"`

	// Metrics Run-level aggregates over this run's jobs.
	Metrics *LivekitSimulationRunRunMetrics `json:"metrics,omitempty"`

	// Mode Conversation mode for every job in this run; unspecified = TEXT.
	Mode           *LivekitSimulationMode `json:"mode,omitempty"`
	NumSimulations *int32                 `json:"numSimulations,omitempty"`
	PassedCount    *int32                 `json:"passedCount,omitempty"`
	ProjectId      *string                `json:"projectId,omitempty"`

	// Sampling Absent when the run ran each scenario once and required it to pass.
	Sampling      *LivekitSimulationRunSamplingOptions `json:"sampling,omitempty"`
	ScenarioGroup *LivekitScenarioGroup                `json:"scenarioGroup,omitempty"`
	Status        *LivekitSimulationRunStatus          `json:"status,omitempty"`

	// SummaryZstd zstd-compressed SimulationRunSummary: decompress, then proto.Unmarshal.
	//  Compressed by default so the blob ships as-is on every hop.
	SummaryZstd *[]byte `json:"summaryZstd,omitempty"`

	// Usage Aggregate usage across all jobs in this run (sum of Job.usage).
	Usage *LivekitSimulationRunUsage `json:"usage,omitempty"`
}

LivekitSimulationRun defines model for livekit.SimulationRun.

type LivekitSimulationRunCI added in v2.19.0

type LivekitSimulationRunCI struct {
	Actor     *string `json:"actor,omitempty"`
	CommitSha *string `json:"commitSha,omitempty"`

	// Provider e.g. "github_actions"
	Provider    *string `json:"provider,omitempty"`
	PullRequest *string `json:"pullRequest,omitempty"`

	// Ref branch or tag
	Ref *string `json:"ref,omitempty"`

	// RunUrl link back to the CI job
	RunUrl *string `json:"runUrl,omitempty"`
}

LivekitSimulationRunCI The pipeline this run came from. Set by the client from its CI

environment; absent for runs not started by a pipeline.

type LivekitSimulationRunCountsBucket added in v2.19.0

type LivekitSimulationRunCountsBucket struct {
	BucketStart *GoogleProtobufTimestamp `json:"bucketStart,omitempty"`
	Count       *string                  `json:"count,omitempty"`
}

LivekitSimulationRunCountsBucket defines model for livekit.SimulationRun.Counts.Bucket.

type LivekitSimulationRunJob

type LivekitSimulationRunJob struct {
	AgentExpectations *string                  `json:"agentExpectations,omitempty"`
	EndedAt           *GoogleProtobufTimestamp `json:"endedAt,omitempty"`
	Error             *string                  `json:"error,omitempty"`
	Id                *string                  `json:"id,omitempty"`
	Instructions      *string                  `json:"instructions,omitempty"`
	Label             *string                  `json:"label,omitempty"`

	// Metrics Quality metrics for this job's call. Unset when the job produced none.
	Metrics  *LivekitSimulationRunJobMetrics `json:"metrics,omitempty"`
	RoomId   *string                         `json:"roomId,omitempty"`
	RoomName *string                         `json:"roomName,omitempty"`

	// Sample 1-based sample of that scenario within the run; always 1 when the run's
	//  samples is 1.
	Sample *int32 `json:"sample,omitempty"`

	// ScenarioId The Scenario.id this job ran; empty for generated runs. Every sample
	//  of one scenario shares it, so a run's jobs group back into scenarios.
	ScenarioId *string                        `json:"scenarioId,omitempty"`
	StartedAt  *GoogleProtobufTimestamp       `json:"startedAt,omitempty"`
	Status     *LivekitSimulationRunJobStatus `json:"status,omitempty"`
	Tags       *[]string                      `json:"tags,omitempty"`
	Usage      *LivekitSimulationRunJobUsage  `json:"usage,omitempty"`
}

LivekitSimulationRunJob defines model for livekit.SimulationRun.Job.

type LivekitSimulationRunJobMetrics

type LivekitSimulationRunJobMetrics struct {
	// Conciseness Judged over the authored dialog (text and audio); needs the text judge. judged {0, 0.5, 1} per agent turn; job = mean
	Conciseness  *float32                                    `json:"conciseness,omitempty"`
	Conversation *LivekitSimulationRunJobMetricsConversation `json:"conversation,omitempty"`

	// ConversationProgression 0-1, derived from the flags above
	ConversationProgression *float32 `json:"conversationProgression,omitempty"`

	// HasRemoteSession false = waveform-only capture (e.g. SIP)
	HasRemoteSession *bool `json:"hasRemoteSession,omitempty"`
	InformationLoss  *bool `json:"informationLoss,omitempty"`

	// JudgeModel text judge for judged scores; "" if none ran
	JudgeModel *string                            `json:"judgeModel,omitempty"`
	Llm        *LivekitSimulationRunJobMetricsLLM `json:"llm,omitempty"`

	// OverallScore weighted mean of the judged and heard scores
	OverallScore        *float32                           `json:"overallScore,omitempty"`
	PoorQuestionQuality *bool                              `json:"poorQuestionQuality,omitempty"`
	RedundantStatements *bool                              `json:"redundantStatements,omitempty"`
	Stt                 *LivekitSimulationRunJobMetricsSTT `json:"stt,omitempty"`

	// T0 audio only; call start (first speech edge); turn times relative to it
	T0 *GoogleProtobufTimestamp `json:"t0,omitempty"`

	// TaskCompletion the scenario verdict as 1/0
	TaskCompletion *float32                           `json:"taskCompletion,omitempty"`
	Tts            *LivekitSimulationRunJobMetricsTTS `json:"tts,omitempty"`

	// Turns One entry per turn, both speakers.
	Turns *[]LivekitSimulationRunJobMetricsTurn `json:"turns,omitempty"`

	// UnnecessaryToolCalls Whole-call issue flags; true = present, absent = not judged.
	UnnecessaryToolCalls *bool `json:"unnecessaryToolCalls,omitempty"`
}

LivekitSimulationRunJobMetrics defines model for livekit.SimulationRun.JobMetrics.

type LivekitSimulationRunJobMetricsConversation

type LivekitSimulationRunJobMetricsConversation struct {
	// AwkwardSilenceCount gaps past the natural-pause threshold
	AwkwardSilenceCount *int `json:"awkwardSilenceCount,omitempty"`

	// E2eLatencyMs needs the RemoteSession; the agent's own claim
	E2eLatencyMs *int `json:"e2eLatencyMs,omitempty"`

	// EotMispredictionCount agent started before the caller's turn ended
	EotMispredictionCount *int `json:"eotMispredictionCount,omitempty"`

	// FalseInterruptionCount needs the RemoteSession; agent paused for a non-interruption
	FalseInterruptionCount *int `json:"falseInterruptionCount,omitempty"`

	// HeardE2eLatencyP50Ms floor-transfer offset; a gap is > 0, an overlap < 0
	HeardE2eLatencyP50Ms *int32 `json:"heardE2eLatencyP50Ms,omitempty"`
	HeardE2eLatencyP95Ms *int32 `json:"heardE2eLatencyP95Ms,omitempty"`
	HeardE2eLatencyP99Ms *int32 `json:"heardE2eLatencyP99Ms,omitempty"`

	// OverlapRatio overlapping speech / total speech
	OverlapRatio *float32 `json:"overlapRatio,omitempty"`

	// OverlapSpeechMs pooling stats for overlap_ratio
	OverlapSpeechMs *int `json:"overlapSpeechMs,omitempty"`

	// TimeToYieldMs agent audio continuing past a barge-in
	TimeToYieldMs *int `json:"timeToYieldMs,omitempty"`
	TotalSpeechMs *int `json:"totalSpeechMs,omitempty"`

	// TurnTakingScore 0-1
	TurnTakingScore *float32 `json:"turnTakingScore,omitempty"`

	// UnansweredTurns the simulated party spoke, the agent never responded
	UnansweredTurns *int `json:"unansweredTurns,omitempty"`
}

LivekitSimulationRunJobMetricsConversation Audio only.

type LivekitSimulationRunJobMetricsLLM

type LivekitSimulationRunJobMetricsLLM struct {
	// TokensPerSecond needs the RemoteSession
	TokensPerSecond *float32 `json:"tokensPerSecond,omitempty"`

	// TtfsMs needs the RemoteSession; time to first sentence, the smallest speakable unit
	TtfsMs *int `json:"ttfsMs,omitempty"`

	// TtftMs needs the RemoteSession; time to first token
	TtftMs *int `json:"ttftMs,omitempty"`
}

LivekitSimulationRunJobMetricsLLM defines model for livekit.SimulationRun.JobMetrics.LLM.

type LivekitSimulationRunJobMetricsSTT

type LivekitSimulationRunJobMetricsSTT struct {
	// Cer needs the RemoteSession; char_errors / chars
	Cer *float32 `json:"cer,omitempty"`

	// CharErrors needs the RemoteSession
	CharErrors *int `json:"charErrors,omitempty"`

	// Chars needs the RemoteSession
	Chars                      *int `json:"chars,omitempty"`
	EntitiesAcquiredRecognized *int `json:"entitiesAcquiredRecognized,omitempty"`
	EntitiesAcquiredUttered    *int `json:"entitiesAcquiredUttered,omitempty"`
	EntitiesRecognized         *int `json:"entitiesRecognized,omitempty"`
	EntitiesUttered            *int `json:"entitiesUttered,omitempty"`

	// EntityRecall Retention: an entity is acquired at the first saying heard right, and
	//  these count only the sayings after that, so recall separates keeping an
	//  entity from ever getting it. acquired_recognized / acquired_uttered
	EntityRecall *float32 `json:"entityRecall,omitempty"`

	// EntityRecognition Key entities (names, IDs, amounts) the caller said. Needs the text judge. recognized / uttered
	EntityRecognition *float32 `json:"entityRecognition,omitempty"`

	// SttDelayMs needs the RemoteSession; agent-reported STT/endpointing delay
	SttDelayMs *int `json:"sttDelayMs,omitempty"`

	// Wer needs the RemoteSession; word_errors / words
	Wer *float32 `json:"wer,omitempty"`

	// WordErrors needs the RemoteSession
	WordErrors *int `json:"wordErrors,omitempty"`

	// Words needs the RemoteSession
	Words *int `json:"words,omitempty"`
}

LivekitSimulationRunJobMetricsSTT The agent's perception of the caller. Audio only.

type LivekitSimulationRunJobMetricsTTS

type LivekitSimulationRunJobMetricsTTS struct {
	// Cer needs the RemoteSession; char_errors / chars
	Cer *float32 `json:"cer,omitempty"`

	// CharErrors needs the RemoteSession
	CharErrors *int `json:"charErrors,omitempty"`

	// Chars needs the RemoteSession
	Chars                      *int `json:"chars,omitempty"`
	EntitiesAcquiredRecognized *int `json:"entitiesAcquiredRecognized,omitempty"`
	EntitiesAcquiredUttered    *int `json:"entitiesAcquiredUttered,omitempty"`
	EntitiesRecognized         *int `json:"entitiesRecognized,omitempty"`
	EntitiesUttered            *int `json:"entitiesUttered,omitempty"`

	// EntityRecall acquired_recognized / acquired_uttered
	EntityRecall *float32 `json:"entityRecall,omitempty"`

	// EntityRecognition Key entities the agent said, as the caller heard them. Needs the text judge. recognized / uttered
	EntityRecognition *float32 `json:"entityRecognition,omitempty"`

	// TtfbMs needs the RemoteSession; provider byte-level TTFB
	TtfbMs *int `json:"ttfbMs,omitempty"`

	// Wer needs the RemoteSession; word_errors / words
	Wer *float32 `json:"wer,omitempty"`

	// WordErrors needs the RemoteSession
	WordErrors *int `json:"wordErrors,omitempty"`

	// Words needs the RemoteSession
	Words *int `json:"words,omitempty"`
}

LivekitSimulationRunJobMetricsTTS The agent's voice. Audio only.

type LivekitSimulationRunJobMetricsTurn

type LivekitSimulationRunJobMetricsTurn struct {
	AwkwardSilence *bool `json:"awkwardSilence,omitempty"`

	// Conciseness needs the text judge
	Conciseness *float32 `json:"conciseness,omitempty"`

	// E2eLatencyMs needs the RemoteSession
	E2eLatencyMs *int `json:"e2eLatencyMs,omitempty"`

	// EndMs audio only
	EndMs             *int   `json:"endMs,omitempty"`
	EotMisprediction  *bool  `json:"eotMisprediction,omitempty"`
	HeardE2eLatencyMs *int32 `json:"heardE2eLatencyMs,omitempty"`

	// Index 1-based, conversation order
	Index *int `json:"index,omitempty"`

	// LlmTps needs the RemoteSession
	LlmTps *float32 `json:"llmTps,omitempty"`

	// LlmTtfsMs needs the RemoteSession
	LlmTtfsMs *int `json:"llmTtfsMs,omitempty"`

	// LlmTtftMs needs the RemoteSession
	LlmTtftMs *int `json:"llmTtftMs,omitempty"`

	// Role ASSISTANT = the agent under test, USER = simulator persona
	Role *LivekitAgentChatRole `json:"role,omitempty"`

	// StartMs audio only; relative to t0; unset if the turn could not be aligned to the audio
	StartMs *int `json:"startMs,omitempty"`

	// SttDelayMs needs the RemoteSession
	SttDelayMs    *int `json:"sttDelayMs,omitempty"`
	TimeToYieldMs *int `json:"timeToYieldMs,omitempty"`

	// TtsTtfbMs needs the RemoteSession
	TtsTtfbMs       *int     `json:"ttsTtfbMs,omitempty"`
	TurnTakingScore *float32 `json:"turnTakingScore,omitempty"`
	Unanswered      *bool    `json:"unanswered,omitempty"`
}

LivekitSimulationRunJobMetricsTurn Rows exist for text and audio. The groups above hold the means and pools

over these; anything not measured for a turn stays unset.

type LivekitSimulationRunJobStatus

type LivekitSimulationRunJobStatus string

LivekitSimulationRunJobStatus defines model for livekit.SimulationRun.Job.Status.

const (
	LivekitSimulationRunJobStatusSTATUSCANCELLED LivekitSimulationRunJobStatus = "STATUS_CANCELLED"
	LivekitSimulationRunJobStatusSTATUSCOMPLETED LivekitSimulationRunJobStatus = "STATUS_COMPLETED"
	LivekitSimulationRunJobStatusSTATUSFAILED    LivekitSimulationRunJobStatus = "STATUS_FAILED"
	LivekitSimulationRunJobStatusSTATUSPENDING   LivekitSimulationRunJobStatus = "STATUS_PENDING"
	LivekitSimulationRunJobStatusSTATUSRUNNING   LivekitSimulationRunJobStatus = "STATUS_RUNNING"
)

Defines values for LivekitSimulationRunJobStatus.

func (LivekitSimulationRunJobStatus) Valid

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

type LivekitSimulationRunJobUsage

type LivekitSimulationRunJobUsage struct {
	AudioTurnsCount *int32 `json:"audioTurnsCount,omitempty"`
	TextTurnsCount  *int32 `json:"textTurnsCount,omitempty"`
}

LivekitSimulationRunJobUsage defines model for livekit.SimulationRun.Job.Usage.

type LivekitSimulationRunRunMetrics

type LivekitSimulationRunRunMetrics struct {
	// Conciseness Means over the jobs that report them.
	Conciseness             *float32                                    `json:"conciseness,omitempty"`
	Conversation            *LivekitSimulationRunJobMetricsConversation `json:"conversation,omitempty"`
	ConversationProgression *float32                                    `json:"conversationProgression,omitempty"`
	Llm                     *LivekitSimulationRunJobMetricsLLM          `json:"llm,omitempty"`

	// OverallScore mean over scored jobs
	OverallScore *float32 `json:"overallScore,omitempty"`

	// ScenarioPassRate share of jobs whose scenario verdict passed
	ScenarioPassRate *float32                           `json:"scenarioPassRate,omitempty"`
	Stt              *LivekitSimulationRunJobMetricsSTT `json:"stt,omitempty"`
	Tts              *LivekitSimulationRunJobMetricsTTS `json:"tts,omitempty"`
}

LivekitSimulationRunRunMetrics Aggregates over this run's jobs, so a run summary does not have to pull

every job and turn. Reuses the JobMetrics group shapes.

type LivekitSimulationRunSamplingOptions added in v2.19.1

type LivekitSimulationRunSamplingOptions struct {
	// PassRate The share of a scenario's samples that must pass for that scenario to
	//  pass, 0-1. A scenario needs round(rate × samples) of them, so 1
	//  requires every sample and 0.67 of 3 requires 2.
	PassRate *float64 `json:"passRate,omitempty"`

	// Samples Samples per scenario, > 1. The run holds scenarios × samples jobs,
	//  subject to the usual job cap.
	Samples *int32 `json:"samples,omitempty"`
}

LivekitSimulationRunSamplingOptions Runs each scenario more than once, so a flaky sample is distinguishable

from a broken scenario. Both fields are required when it is present.

type LivekitSimulationRunStatus

type LivekitSimulationRunStatus string

LivekitSimulationRunStatus defines model for livekit.SimulationRun.Status.

const (
	LivekitSimulationRunStatusSTATUSCANCELLED     LivekitSimulationRunStatus = "STATUS_CANCELLED"
	LivekitSimulationRunStatusSTATUSCOMPLETED     LivekitSimulationRunStatus = "STATUS_COMPLETED"
	LivekitSimulationRunStatusSTATUSFAILED        LivekitSimulationRunStatus = "STATUS_FAILED"
	LivekitSimulationRunStatusSTATUSGENERATING    LivekitSimulationRunStatus = "STATUS_GENERATING"
	LivekitSimulationRunStatusSTATUSPENDINGUPLOAD LivekitSimulationRunStatus = "STATUS_PENDING_UPLOAD"
	LivekitSimulationRunStatusSTATUSRUNNING       LivekitSimulationRunStatus = "STATUS_RUNNING"
	LivekitSimulationRunStatusSTATUSSUMMARIZING   LivekitSimulationRunStatus = "STATUS_SUMMARIZING"
)

Defines values for LivekitSimulationRunStatus.

func (LivekitSimulationRunStatus) Valid

func (e LivekitSimulationRunStatus) Valid() bool

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

type LivekitSimulationRunSummary added in v2.19.0

type LivekitSimulationRunSummary struct {
	ChatHistory *map[string]LivekitAgentChatContext `json:"chatHistory,omitempty"`
	Failed      *int32                              `json:"failed,omitempty"`
	GoingWell   *string                             `json:"goingWell,omitempty"`
	Issues      *[]LivekitSimulationRunSummaryIssue `json:"issues,omitempty"`
	Passed      *int32                              `json:"passed,omitempty"`
	ToImprove   *string                             `json:"toImprove,omitempty"`
}

LivekitSimulationRunSummary defines model for livekit.SimulationRunSummary.

type LivekitSimulationRunSummaryIssue added in v2.19.0

type LivekitSimulationRunSummaryIssue struct {
	Description *string `json:"description,omitempty"`
	Label       *string `json:"label,omitempty"`
	Suggestion  *string `json:"suggestion,omitempty"`
}

LivekitSimulationRunSummaryIssue defines model for livekit.SimulationRunSummary.Issue.

type LivekitSimulationRunUsage

type LivekitSimulationRunUsage struct {
	AudioTurnsCount *int32 `json:"audioTurnsCount,omitempty"`
	TextTurnsCount  *int32 `json:"textTurnsCount,omitempty"`
}

LivekitSimulationRunUsage defines model for livekit.SimulationRun.Usage.

type LivekitStreamOutput

type LivekitStreamOutput struct {
	// Protocol required
	Protocol *LivekitStreamProtocol `json:"protocol,omitempty"`

	// Urls required
	Urls *[]string `json:"urls,omitempty"`
}

LivekitStreamOutput defines model for livekit.StreamOutput.

type LivekitStreamProtocol

type LivekitStreamProtocol string

LivekitStreamProtocol defines model for livekit.StreamProtocol.

const (
	DEFAULTPROTOCOL LivekitStreamProtocol = "DEFAULT_PROTOCOL"
	RTMP            LivekitStreamProtocol = "RTMP"
	SRT             LivekitStreamProtocol = "SRT"
	WEBSOCKET       LivekitStreamProtocol = "WEBSOCKET"
)

Defines values for LivekitStreamProtocol.

func (LivekitStreamProtocol) Valid

func (e LivekitStreamProtocol) Valid() bool

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

type LivekitVideoCodec

type LivekitVideoCodec string

LivekitVideoCodec defines model for livekit.VideoCodec.

const (
	DEFAULTVC    LivekitVideoCodec = "DEFAULT_VC"
	H264BASELINE LivekitVideoCodec = "H264_BASELINE"
	H264HIGH     LivekitVideoCodec = "H264_HIGH"
	H264MAIN     LivekitVideoCodec = "H264_MAIN"
	VP8          LivekitVideoCodec = "VP8"
)

Defines values for LivekitVideoCodec.

func (LivekitVideoCodec) Valid

func (e LivekitVideoCodec) Valid() bool

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

type LivekitWebhookConfig

type LivekitWebhookConfig struct {
	FilterParams *LivekitFilterParams `json:"filterParams,omitempty"`
	SigningKey   *string              `json:"signingKey,omitempty"`
	Url          *string              `json:"url,omitempty"`
}

LivekitWebhookConfig defines model for livekit.WebhookConfig.

type ObservabilityServiceGetSessionLogsParams added in v2.19.0

type ObservabilityServiceGetSessionLogsParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`

	// LogLevels Only records at these levels, as the logs filter on the dashboard
	//  selects them, for example only TRACE and FATAL. Empty returns every
	//  record, including those with no level, such as a passed evaluation.
	//  `LOG_LEVEL_UNSPECIFIED` is `InvalidArgument`.
	LogLevels *[]LivekitPublicapiObservabilityV1LogLevel `form:"logLevels,omitempty" json:"logLevels,omitempty"`

	// SortOrder Direction of the timestamp ordering. Defaults to ascending (oldest
	//  first) when unset.
	SortOrder *LivekitPublicapiCommonV1SortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
}

ObservabilityServiceGetSessionLogsParams defines parameters for ObservabilityServiceGetSessionLogs.

type ObservabilityServiceGetSessionLogsResponse added in v2.19.0

type ObservabilityServiceGetSessionLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiObservabilityV1LogsGetResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseObservabilityServiceGetSessionLogsResponse added in v2.19.0

func ParseObservabilityServiceGetSessionLogsResponse(rsp *http.Response) (*ObservabilityServiceGetSessionLogsResponse, error)

ParseObservabilityServiceGetSessionLogsResponse parses an HTTP response from a ObservabilityServiceGetSessionLogsWithResponse call

func (ObservabilityServiceGetSessionLogsResponse) ContentType added in v2.19.0

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

func (ObservabilityServiceGetSessionLogsResponse) GetBody added in v2.19.0

GetBody returns the raw response body bytes

func (ObservabilityServiceGetSessionLogsResponse) GetJSON200 added in v2.19.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ObservabilityServiceGetSessionLogsResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ObservabilityServiceGetSessionLogsResponse) Status added in v2.19.0

Status returns HTTPResponse.Status

func (ObservabilityServiceGetSessionLogsResponse) StatusCode added in v2.19.0

StatusCode returns HTTPResponse.StatusCode

type ObservabilityServiceGetSessionMetricsParams added in v2.19.0

type ObservabilityServiceGetSessionMetricsParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`

	// Names Only the points of these metrics, matched exactly, such as
	//  lk.agents.turn.e2e_latency. Empty returns every metric. At most 50
	//  names, each 1 to 256 characters.
	Names *[]string `form:"names,omitempty" json:"names,omitempty"`
}

ObservabilityServiceGetSessionMetricsParams defines parameters for ObservabilityServiceGetSessionMetrics.

type ObservabilityServiceGetSessionMetricsResponse added in v2.19.0

type ObservabilityServiceGetSessionMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiObservabilityV1MetricsGetResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseObservabilityServiceGetSessionMetricsResponse added in v2.19.0

func ParseObservabilityServiceGetSessionMetricsResponse(rsp *http.Response) (*ObservabilityServiceGetSessionMetricsResponse, error)

ParseObservabilityServiceGetSessionMetricsResponse parses an HTTP response from a ObservabilityServiceGetSessionMetricsWithResponse call

func (ObservabilityServiceGetSessionMetricsResponse) ContentType added in v2.19.0

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

func (ObservabilityServiceGetSessionMetricsResponse) GetBody added in v2.19.0

GetBody returns the raw response body bytes

func (ObservabilityServiceGetSessionMetricsResponse) GetJSON200 added in v2.19.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ObservabilityServiceGetSessionMetricsResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ObservabilityServiceGetSessionMetricsResponse) Status added in v2.19.0

Status returns HTTPResponse.Status

func (ObservabilityServiceGetSessionMetricsResponse) StatusCode added in v2.19.0

StatusCode returns HTTPResponse.StatusCode

type ObservabilityServiceGetSessionRecordingURLParams added in v2.19.0

type ObservabilityServiceGetSessionRecordingURLParams struct {
	// FileType Which recording to sign a URL for. UNSPECIFIED is InvalidArgument.
	FileType *LivekitPublicapiObservabilityV1RecordingFileType `form:"fileType,omitempty" json:"fileType,omitempty"`

	// ExpirySeconds How long the URL stays valid, in seconds. Unset or 0 is 900 (15
	//  minutes), and anything longer is clamped to 900 without an error;
	//  expiresAt says what was granted.
	ExpirySeconds *int `form:"expirySeconds,omitempty" json:"expirySeconds,omitempty"`
}

ObservabilityServiceGetSessionRecordingURLParams defines parameters for ObservabilityServiceGetSessionRecordingURL.

type ObservabilityServiceGetSessionRecordingURLResponse added in v2.19.0

type ObservabilityServiceGetSessionRecordingURLResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiObservabilityV1RecordingGetURLResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseObservabilityServiceGetSessionRecordingURLResponse added in v2.19.0

func ParseObservabilityServiceGetSessionRecordingURLResponse(rsp *http.Response) (*ObservabilityServiceGetSessionRecordingURLResponse, error)

ParseObservabilityServiceGetSessionRecordingURLResponse parses an HTTP response from a ObservabilityServiceGetSessionRecordingURLWithResponse call

func (ObservabilityServiceGetSessionRecordingURLResponse) ContentType added in v2.19.0

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

func (ObservabilityServiceGetSessionRecordingURLResponse) GetBody added in v2.19.0

GetBody returns the raw response body bytes

func (ObservabilityServiceGetSessionRecordingURLResponse) GetJSON200 added in v2.19.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ObservabilityServiceGetSessionRecordingURLResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ObservabilityServiceGetSessionRecordingURLResponse) Status added in v2.19.0

Status returns HTTPResponse.Status

func (ObservabilityServiceGetSessionRecordingURLResponse) StatusCode added in v2.19.0

StatusCode returns HTTPResponse.StatusCode

type ObservabilityServiceGetSessionTracesParams added in v2.19.0

type ObservabilityServiceGetSessionTracesParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}

ObservabilityServiceGetSessionTracesParams defines parameters for ObservabilityServiceGetSessionTraces.

type ObservabilityServiceGetSessionTracesResponse added in v2.19.0

type ObservabilityServiceGetSessionTracesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiObservabilityV1TracesGetResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseObservabilityServiceGetSessionTracesResponse added in v2.19.0

func ParseObservabilityServiceGetSessionTracesResponse(rsp *http.Response) (*ObservabilityServiceGetSessionTracesResponse, error)

ParseObservabilityServiceGetSessionTracesResponse parses an HTTP response from a ObservabilityServiceGetSessionTracesWithResponse call

func (ObservabilityServiceGetSessionTracesResponse) ContentType added in v2.19.0

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

func (ObservabilityServiceGetSessionTracesResponse) GetBody added in v2.19.0

GetBody returns the raw response body bytes

func (ObservabilityServiceGetSessionTracesResponse) GetJSON200 added in v2.19.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ObservabilityServiceGetSessionTracesResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ObservabilityServiceGetSessionTracesResponse) Status added in v2.19.0

Status returns HTTPResponse.Status

func (ObservabilityServiceGetSessionTracesResponse) StatusCode added in v2.19.0

StatusCode returns HTTPResponse.StatusCode

type ObservabilityServiceGetSessionTranscriptParams added in v2.19.0

type ObservabilityServiceGetSessionTranscriptParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}

ObservabilityServiceGetSessionTranscriptParams defines parameters for ObservabilityServiceGetSessionTranscript.

type ObservabilityServiceGetSessionTranscriptResponse added in v2.19.0

type ObservabilityServiceGetSessionTranscriptResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiObservabilityV1TranscriptGetResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseObservabilityServiceGetSessionTranscriptResponse added in v2.19.0

func ParseObservabilityServiceGetSessionTranscriptResponse(rsp *http.Response) (*ObservabilityServiceGetSessionTranscriptResponse, error)

ParseObservabilityServiceGetSessionTranscriptResponse parses an HTTP response from a ObservabilityServiceGetSessionTranscriptWithResponse call

func (ObservabilityServiceGetSessionTranscriptResponse) ContentType added in v2.19.0

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

func (ObservabilityServiceGetSessionTranscriptResponse) GetBody added in v2.19.0

GetBody returns the raw response body bytes

func (ObservabilityServiceGetSessionTranscriptResponse) GetJSON200 added in v2.19.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ObservabilityServiceGetSessionTranscriptResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ObservabilityServiceGetSessionTranscriptResponse) Status added in v2.19.0

Status returns HTTPResponse.Status

func (ObservabilityServiceGetSessionTranscriptResponse) StatusCode added in v2.19.0

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceAddWorkspaceMembersToProjectJSONBody

type ProjectServiceAddWorkspaceMembersToProjectJSONBody struct {
	// Role Access level to grant each of them: 1 read, 2 write, 3 admin.
	Role *int32 `json:"role,omitempty"`

	// UserIds The workspace members to add to the project.
	UserIds *[]string `json:"userIds,omitempty"`
}

ProjectServiceAddWorkspaceMembersToProjectJSONBody defines parameters for ProjectServiceAddWorkspaceMembersToProject.

type ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody

type ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody ProjectServiceAddWorkspaceMembersToProjectJSONBody

ProjectServiceAddWorkspaceMembersToProjectJSONRequestBody defines body for ProjectServiceAddWorkspaceMembersToProject for application/json ContentType.

type ProjectServiceAddWorkspaceMembersToProjectResponse

type ProjectServiceAddWorkspaceMembersToProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1AddWorkspaceMembersToProjectResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceAddWorkspaceMembersToProjectResponse

func ParseProjectServiceAddWorkspaceMembersToProjectResponse(rsp *http.Response) (*ProjectServiceAddWorkspaceMembersToProjectResponse, error)

ParseProjectServiceAddWorkspaceMembersToProjectResponse parses an HTTP response from a ProjectServiceAddWorkspaceMembersToProjectWithResponse call

func (ProjectServiceAddWorkspaceMembersToProjectResponse) ContentType

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

func (ProjectServiceAddWorkspaceMembersToProjectResponse) GetBody

GetBody returns the raw response body bytes

func (ProjectServiceAddWorkspaceMembersToProjectResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceAddWorkspaceMembersToProjectResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceAddWorkspaceMembersToProjectResponse) Status

Status returns HTTPResponse.Status

func (ProjectServiceAddWorkspaceMembersToProjectResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceAnswerInvitationJSONBody

type ProjectServiceAnswerInvitationJSONBody struct {
	// Accept True accepts the invite; false declines it.
	Accept *bool `json:"accept,omitempty"`
}

ProjectServiceAnswerInvitationJSONBody defines parameters for ProjectServiceAnswerInvitation.

type ProjectServiceAnswerInvitationJSONRequestBody

type ProjectServiceAnswerInvitationJSONRequestBody ProjectServiceAnswerInvitationJSONBody

ProjectServiceAnswerInvitationJSONRequestBody defines body for ProjectServiceAnswerInvitation for application/json ContentType.

type ProjectServiceAnswerInvitationResponse

type ProjectServiceAnswerInvitationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1AnswerInvitationResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceAnswerInvitationResponse

func ParseProjectServiceAnswerInvitationResponse(rsp *http.Response) (*ProjectServiceAnswerInvitationResponse, error)

ParseProjectServiceAnswerInvitationResponse parses an HTTP response from a ProjectServiceAnswerInvitationWithResponse call

func (ProjectServiceAnswerInvitationResponse) ContentType

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

func (ProjectServiceAnswerInvitationResponse) GetBody

GetBody returns the raw response body bytes

func (ProjectServiceAnswerInvitationResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceAnswerInvitationResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceAnswerInvitationResponse) Status

Status returns HTTPResponse.Status

func (ProjectServiceAnswerInvitationResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceCreateProjectJSONRequestBody

type ProjectServiceCreateProjectJSONRequestBody = LivekitPublicapiProjectsV1CreateProjectRequest

ProjectServiceCreateProjectJSONRequestBody defines body for ProjectServiceCreateProject for application/json ContentType.

type ProjectServiceCreateProjectResponse

type ProjectServiceCreateProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1CreateProjectResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceCreateProjectResponse

func ParseProjectServiceCreateProjectResponse(rsp *http.Response) (*ProjectServiceCreateProjectResponse, error)

ParseProjectServiceCreateProjectResponse parses an HTTP response from a ProjectServiceCreateProjectWithResponse call

func (ProjectServiceCreateProjectResponse) ContentType

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

func (ProjectServiceCreateProjectResponse) GetBody

GetBody returns the raw response body bytes

func (ProjectServiceCreateProjectResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceCreateProjectResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceCreateProjectResponse) Status

Status returns HTTPResponse.Status

func (ProjectServiceCreateProjectResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceCreateTokenJSONBody added in v2.19.1

type ProjectServiceCreateTokenJSONBody struct {
	// Grants The caller's project role must cover every grant requested.
	Grants *LivekitPublicapiProjectsV1TokenGrants `json:"grants,omitempty"`

	// TtlSeconds Requested lifetime in seconds. 0 means the default (10 minutes); at most
	//  86400 (24 hours).
	TtlSeconds *int `json:"ttlSeconds,omitempty"`
}

ProjectServiceCreateTokenJSONBody defines parameters for ProjectServiceCreateToken.

type ProjectServiceCreateTokenJSONRequestBody added in v2.19.1

type ProjectServiceCreateTokenJSONRequestBody ProjectServiceCreateTokenJSONBody

ProjectServiceCreateTokenJSONRequestBody defines body for ProjectServiceCreateToken for application/json ContentType.

type ProjectServiceCreateTokenResponse added in v2.19.1

type ProjectServiceCreateTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1CreateTokenResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceCreateTokenResponse added in v2.19.1

func ParseProjectServiceCreateTokenResponse(rsp *http.Response) (*ProjectServiceCreateTokenResponse, error)

ParseProjectServiceCreateTokenResponse parses an HTTP response from a ProjectServiceCreateTokenWithResponse call

func (ProjectServiceCreateTokenResponse) ContentType added in v2.19.1

func (r ProjectServiceCreateTokenResponse) ContentType() string

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

func (ProjectServiceCreateTokenResponse) GetBody added in v2.19.1

GetBody returns the raw response body bytes

func (ProjectServiceCreateTokenResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceCreateTokenResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceCreateTokenResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (ProjectServiceCreateTokenResponse) StatusCode added in v2.19.1

func (r ProjectServiceCreateTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceCreateWebhookJSONBody added in v2.19.1

type ProjectServiceCreateWebhookJSONBody struct {
	// FilterParams Event names from ListWebhookEvents. Unset delivers every event.
	FilterParams *LivekitFilterParams `json:"filterParams,omitempty"`

	// Name A label for the destination.
	Name *string `json:"name,omitempty"`

	// SigningKey API key of this project whose secret signs deliveries. Optional: when
	//  empty, the oldest key in the project is chosen and stored on the
	//  webhook.
	SigningKey *string `json:"signingKey,omitempty"`

	// Url http(s) URL deliveries are POSTed to.
	Url *string `json:"url,omitempty"`
}

ProjectServiceCreateWebhookJSONBody defines parameters for ProjectServiceCreateWebhook.

type ProjectServiceCreateWebhookJSONRequestBody added in v2.19.1

type ProjectServiceCreateWebhookJSONRequestBody ProjectServiceCreateWebhookJSONBody

ProjectServiceCreateWebhookJSONRequestBody defines body for ProjectServiceCreateWebhook for application/json ContentType.

type ProjectServiceCreateWebhookResponse added in v2.19.1

type ProjectServiceCreateWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1CreateWebhookResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceCreateWebhookResponse added in v2.19.1

func ParseProjectServiceCreateWebhookResponse(rsp *http.Response) (*ProjectServiceCreateWebhookResponse, error)

ParseProjectServiceCreateWebhookResponse parses an HTTP response from a ProjectServiceCreateWebhookWithResponse call

func (ProjectServiceCreateWebhookResponse) ContentType added in v2.19.1

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

func (ProjectServiceCreateWebhookResponse) GetBody added in v2.19.1

GetBody returns the raw response body bytes

func (ProjectServiceCreateWebhookResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceCreateWebhookResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceCreateWebhookResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (ProjectServiceCreateWebhookResponse) StatusCode added in v2.19.1

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceDeleteInviteResponse

type ProjectServiceDeleteInviteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1DeleteInviteResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceDeleteInviteResponse

func ParseProjectServiceDeleteInviteResponse(rsp *http.Response) (*ProjectServiceDeleteInviteResponse, error)

ParseProjectServiceDeleteInviteResponse parses an HTTP response from a ProjectServiceDeleteInviteWithResponse call

func (ProjectServiceDeleteInviteResponse) ContentType

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

func (ProjectServiceDeleteInviteResponse) GetBody

GetBody returns the raw response body bytes

func (ProjectServiceDeleteInviteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceDeleteInviteResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceDeleteInviteResponse) Status

Status returns HTTPResponse.Status

func (ProjectServiceDeleteInviteResponse) StatusCode

func (r ProjectServiceDeleteInviteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceDeleteKeyResponse added in v2.19.0

type ProjectServiceDeleteKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1DeleteKeyResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceDeleteKeyResponse added in v2.19.0

func ParseProjectServiceDeleteKeyResponse(rsp *http.Response) (*ProjectServiceDeleteKeyResponse, error)

ParseProjectServiceDeleteKeyResponse parses an HTTP response from a ProjectServiceDeleteKeyWithResponse call

func (ProjectServiceDeleteKeyResponse) ContentType added in v2.19.0

func (r ProjectServiceDeleteKeyResponse) ContentType() string

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

func (ProjectServiceDeleteKeyResponse) GetBody added in v2.19.0

func (r ProjectServiceDeleteKeyResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ProjectServiceDeleteKeyResponse) GetJSON200 added in v2.19.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceDeleteKeyResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceDeleteKeyResponse) Status added in v2.19.0

Status returns HTTPResponse.Status

func (ProjectServiceDeleteKeyResponse) StatusCode added in v2.19.0

func (r ProjectServiceDeleteKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceDeleteProjectResponse

type ProjectServiceDeleteProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1DeleteProjectResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceDeleteProjectResponse

func ParseProjectServiceDeleteProjectResponse(rsp *http.Response) (*ProjectServiceDeleteProjectResponse, error)

ParseProjectServiceDeleteProjectResponse parses an HTTP response from a ProjectServiceDeleteProjectWithResponse call

func (ProjectServiceDeleteProjectResponse) ContentType

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

func (ProjectServiceDeleteProjectResponse) GetBody

GetBody returns the raw response body bytes

func (ProjectServiceDeleteProjectResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceDeleteProjectResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceDeleteProjectResponse) Status

Status returns HTTPResponse.Status

func (ProjectServiceDeleteProjectResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceDeleteWebhookResponse added in v2.19.1

type ProjectServiceDeleteWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1DeleteWebhookResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceDeleteWebhookResponse added in v2.19.1

func ParseProjectServiceDeleteWebhookResponse(rsp *http.Response) (*ProjectServiceDeleteWebhookResponse, error)

ParseProjectServiceDeleteWebhookResponse parses an HTTP response from a ProjectServiceDeleteWebhookWithResponse call

func (ProjectServiceDeleteWebhookResponse) ContentType added in v2.19.1

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

func (ProjectServiceDeleteWebhookResponse) GetBody added in v2.19.1

GetBody returns the raw response body bytes

func (ProjectServiceDeleteWebhookResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceDeleteWebhookResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceDeleteWebhookResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (ProjectServiceDeleteWebhookResponse) StatusCode added in v2.19.1

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceGenerateKeyJSONBody added in v2.19.0

type ProjectServiceGenerateKeyJSONBody struct {
	// Description A label for the key.
	Description *string `json:"description,omitempty"`

	// IsServiceAccount When true, the key is created without an owner (project-owned). `ListKeys`
	//  with an `ownerId` does not return it, and it survives the generating user
	//  leaving.
	IsServiceAccount *bool `json:"isServiceAccount,omitempty"`
}

ProjectServiceGenerateKeyJSONBody defines parameters for ProjectServiceGenerateKey.

type ProjectServiceGenerateKeyJSONRequestBody added in v2.19.0

type ProjectServiceGenerateKeyJSONRequestBody ProjectServiceGenerateKeyJSONBody

ProjectServiceGenerateKeyJSONRequestBody defines body for ProjectServiceGenerateKey for application/json ContentType.

type ProjectServiceGenerateKeyResponse added in v2.19.0

type ProjectServiceGenerateKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1GenerateKeyResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceGenerateKeyResponse added in v2.19.0

func ParseProjectServiceGenerateKeyResponse(rsp *http.Response) (*ProjectServiceGenerateKeyResponse, error)

ParseProjectServiceGenerateKeyResponse parses an HTTP response from a ProjectServiceGenerateKeyWithResponse call

func (ProjectServiceGenerateKeyResponse) ContentType added in v2.19.0

func (r ProjectServiceGenerateKeyResponse) ContentType() string

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

func (ProjectServiceGenerateKeyResponse) GetBody added in v2.19.0

GetBody returns the raw response body bytes

func (ProjectServiceGenerateKeyResponse) GetJSON200 added in v2.19.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceGenerateKeyResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceGenerateKeyResponse) Status added in v2.19.0

Status returns HTTPResponse.Status

func (ProjectServiceGenerateKeyResponse) StatusCode added in v2.19.0

func (r ProjectServiceGenerateKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceGetInviteResponse

type ProjectServiceGetInviteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1GetInviteResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceGetInviteResponse

func ParseProjectServiceGetInviteResponse(rsp *http.Response) (*ProjectServiceGetInviteResponse, error)

ParseProjectServiceGetInviteResponse parses an HTTP response from a ProjectServiceGetInviteWithResponse call

func (ProjectServiceGetInviteResponse) ContentType

func (r ProjectServiceGetInviteResponse) ContentType() string

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

func (ProjectServiceGetInviteResponse) GetBody

func (r ProjectServiceGetInviteResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ProjectServiceGetInviteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceGetInviteResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceGetInviteResponse) Status

Status returns HTTPResponse.Status

func (ProjectServiceGetInviteResponse) StatusCode

func (r ProjectServiceGetInviteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceGetMemberResponse

type ProjectServiceGetMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1GetMemberResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceGetMemberResponse

func ParseProjectServiceGetMemberResponse(rsp *http.Response) (*ProjectServiceGetMemberResponse, error)

ParseProjectServiceGetMemberResponse parses an HTTP response from a ProjectServiceGetMemberWithResponse call

func (ProjectServiceGetMemberResponse) ContentType

func (r ProjectServiceGetMemberResponse) ContentType() string

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

func (ProjectServiceGetMemberResponse) GetBody

func (r ProjectServiceGetMemberResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ProjectServiceGetMemberResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceGetMemberResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceGetMemberResponse) Status

Status returns HTTPResponse.Status

func (ProjectServiceGetMemberResponse) StatusCode

func (r ProjectServiceGetMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceGetProjectResponse

type ProjectServiceGetProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1GetProjectResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceGetProjectResponse

func ParseProjectServiceGetProjectResponse(rsp *http.Response) (*ProjectServiceGetProjectResponse, error)

ParseProjectServiceGetProjectResponse parses an HTTP response from a ProjectServiceGetProjectWithResponse call

func (ProjectServiceGetProjectResponse) ContentType

func (r ProjectServiceGetProjectResponse) ContentType() string

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

func (ProjectServiceGetProjectResponse) GetBody

func (r ProjectServiceGetProjectResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ProjectServiceGetProjectResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceGetProjectResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceGetProjectResponse) Status

Status returns HTTPResponse.Status

func (ProjectServiceGetProjectResponse) StatusCode

func (r ProjectServiceGetProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceInviteMemberJSONBody

type ProjectServiceInviteMemberJSONBody struct {
	// Email The email address to invite.
	Email *string `json:"email,omitempty"`

	// Role Access level to grant on the project: 1 read, 2 write, 3 admin.
	Role *int32 `json:"role,omitempty"`
}

ProjectServiceInviteMemberJSONBody defines parameters for ProjectServiceInviteMember.

type ProjectServiceInviteMemberJSONRequestBody

type ProjectServiceInviteMemberJSONRequestBody ProjectServiceInviteMemberJSONBody

ProjectServiceInviteMemberJSONRequestBody defines body for ProjectServiceInviteMember for application/json ContentType.

type ProjectServiceInviteMemberResponse

type ProjectServiceInviteMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1InviteMemberResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceInviteMemberResponse

func ParseProjectServiceInviteMemberResponse(rsp *http.Response) (*ProjectServiceInviteMemberResponse, error)

ParseProjectServiceInviteMemberResponse parses an HTTP response from a ProjectServiceInviteMemberWithResponse call

func (ProjectServiceInviteMemberResponse) ContentType

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

func (ProjectServiceInviteMemberResponse) GetBody

GetBody returns the raw response body bytes

func (ProjectServiceInviteMemberResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceInviteMemberResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceInviteMemberResponse) Status

Status returns HTTPResponse.Status

func (ProjectServiceInviteMemberResponse) StatusCode

func (r ProjectServiceInviteMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceListInvitesParams added in v2.19.3

type ProjectServiceListInvitesParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}

ProjectServiceListInvitesParams defines parameters for ProjectServiceListInvites.

type ProjectServiceListInvitesResponse

type ProjectServiceListInvitesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1ListInvitesResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceListInvitesResponse

func ParseProjectServiceListInvitesResponse(rsp *http.Response) (*ProjectServiceListInvitesResponse, error)

ParseProjectServiceListInvitesResponse parses an HTTP response from a ProjectServiceListInvitesWithResponse call

func (ProjectServiceListInvitesResponse) ContentType

func (r ProjectServiceListInvitesResponse) ContentType() string

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

func (ProjectServiceListInvitesResponse) GetBody

GetBody returns the raw response body bytes

func (ProjectServiceListInvitesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceListInvitesResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceListInvitesResponse) Status

Status returns HTTPResponse.Status

func (ProjectServiceListInvitesResponse) StatusCode

func (r ProjectServiceListInvitesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceListKeysParams added in v2.19.0

type ProjectServiceListKeysParams struct {
	// IncludeAgentKeys Agent keys are hidden by default.
	IncludeAgentKeys *bool `form:"includeAgentKeys,omitempty" json:"includeAgentKeys,omitempty"`

	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`

	// OwnerId The ID of a user. Returns only the keys that this user owns. When empty,
	//  returns the keys of every owner and the keys with no owner.
	OwnerId *string `form:"ownerId,omitempty" json:"ownerId,omitempty"`
}

ProjectServiceListKeysParams defines parameters for ProjectServiceListKeys.

type ProjectServiceListKeysResponse added in v2.19.0

type ProjectServiceListKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1ListKeysResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceListKeysResponse added in v2.19.0

func ParseProjectServiceListKeysResponse(rsp *http.Response) (*ProjectServiceListKeysResponse, error)

ParseProjectServiceListKeysResponse parses an HTTP response from a ProjectServiceListKeysWithResponse call

func (ProjectServiceListKeysResponse) ContentType added in v2.19.0

func (r ProjectServiceListKeysResponse) ContentType() string

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

func (ProjectServiceListKeysResponse) GetBody added in v2.19.0

func (r ProjectServiceListKeysResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ProjectServiceListKeysResponse) GetJSON200 added in v2.19.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceListKeysResponse) GetJSONDefault added in v2.19.3

func (r ProjectServiceListKeysResponse) GetJSONDefault() *GoogleRpcStatus

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceListKeysResponse) Status added in v2.19.0

Status returns HTTPResponse.Status

func (ProjectServiceListKeysResponse) StatusCode added in v2.19.0

func (r ProjectServiceListKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceListMembersParams added in v2.19.3

type ProjectServiceListMembersParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}

ProjectServiceListMembersParams defines parameters for ProjectServiceListMembers.

type ProjectServiceListMembersResponse

type ProjectServiceListMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1ListMembersResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceListMembersResponse

func ParseProjectServiceListMembersResponse(rsp *http.Response) (*ProjectServiceListMembersResponse, error)

ParseProjectServiceListMembersResponse parses an HTTP response from a ProjectServiceListMembersWithResponse call

func (ProjectServiceListMembersResponse) ContentType

func (r ProjectServiceListMembersResponse) ContentType() string

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

func (ProjectServiceListMembersResponse) GetBody

GetBody returns the raw response body bytes

func (ProjectServiceListMembersResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceListMembersResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceListMembersResponse) Status

Status returns HTTPResponse.Status

func (ProjectServiceListMembersResponse) StatusCode

func (r ProjectServiceListMembersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceListProjectsParams

type ProjectServiceListProjectsParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`

	// WorkspaceId The workspace to list projects from. Private projects that you are not a
	//  member of are left out. When `workspaceId` and `memberId` are both empty,
	//  the response lists the projects that you are a member of. If you set both,
	//  the request fails with `InvalidArgument`.
	WorkspaceId *string `form:"workspaceId,omitempty" json:"workspaceId,omitempty"`

	// MemberId The member to list projects for. It must be your own user ID. Another user
	//  ID returns `PermissionDenied`.
	MemberId *string `form:"memberId,omitempty" json:"memberId,omitempty"`
}

ProjectServiceListProjectsParams defines parameters for ProjectServiceListProjects.

type ProjectServiceListProjectsResponse

type ProjectServiceListProjectsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1ListProjectsResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceListProjectsResponse

func ParseProjectServiceListProjectsResponse(rsp *http.Response) (*ProjectServiceListProjectsResponse, error)

ParseProjectServiceListProjectsResponse parses an HTTP response from a ProjectServiceListProjectsWithResponse call

func (ProjectServiceListProjectsResponse) ContentType

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

func (ProjectServiceListProjectsResponse) GetBody

GetBody returns the raw response body bytes

func (ProjectServiceListProjectsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceListProjectsResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceListProjectsResponse) Status

Status returns HTTPResponse.Status

func (ProjectServiceListProjectsResponse) StatusCode

func (r ProjectServiceListProjectsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceListWebhookEventsParams added in v2.19.3

type ProjectServiceListWebhookEventsParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}

ProjectServiceListWebhookEventsParams defines parameters for ProjectServiceListWebhookEvents.

type ProjectServiceListWebhookEventsResponse added in v2.19.1

type ProjectServiceListWebhookEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1ListWebhookEventsResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceListWebhookEventsResponse added in v2.19.1

func ParseProjectServiceListWebhookEventsResponse(rsp *http.Response) (*ProjectServiceListWebhookEventsResponse, error)

ParseProjectServiceListWebhookEventsResponse parses an HTTP response from a ProjectServiceListWebhookEventsWithResponse call

func (ProjectServiceListWebhookEventsResponse) ContentType added in v2.19.1

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

func (ProjectServiceListWebhookEventsResponse) GetBody added in v2.19.1

GetBody returns the raw response body bytes

func (ProjectServiceListWebhookEventsResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceListWebhookEventsResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceListWebhookEventsResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (ProjectServiceListWebhookEventsResponse) StatusCode added in v2.19.1

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceListWebhooksParams added in v2.19.3

type ProjectServiceListWebhooksParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}

ProjectServiceListWebhooksParams defines parameters for ProjectServiceListWebhooks.

type ProjectServiceListWebhooksResponse added in v2.19.1

type ProjectServiceListWebhooksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1ListWebhooksResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceListWebhooksResponse added in v2.19.1

func ParseProjectServiceListWebhooksResponse(rsp *http.Response) (*ProjectServiceListWebhooksResponse, error)

ParseProjectServiceListWebhooksResponse parses an HTTP response from a ProjectServiceListWebhooksWithResponse call

func (ProjectServiceListWebhooksResponse) ContentType added in v2.19.1

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

func (ProjectServiceListWebhooksResponse) GetBody added in v2.19.1

GetBody returns the raw response body bytes

func (ProjectServiceListWebhooksResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceListWebhooksResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceListWebhooksResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (ProjectServiceListWebhooksResponse) StatusCode added in v2.19.1

func (r ProjectServiceListWebhooksResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceRemoveMemberParams added in v2.19.3

type ProjectServiceRemoveMemberParams struct {
	// ConfirmedNumKeys Number of the member's API keys the caller agrees to delete. Call with 0;
	//  if the member owns keys, the call fails with a MemberRemovalNotConfirmed
	//  detail, so show its num_keys to the user and call again with it.
	ConfirmedNumKeys *int `form:"confirmedNumKeys,omitempty" json:"confirmedNumKeys,omitempty"`
}

ProjectServiceRemoveMemberParams defines parameters for ProjectServiceRemoveMember.

type ProjectServiceRemoveMemberResponse

type ProjectServiceRemoveMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1RemoveMemberResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceRemoveMemberResponse

func ParseProjectServiceRemoveMemberResponse(rsp *http.Response) (*ProjectServiceRemoveMemberResponse, error)

ParseProjectServiceRemoveMemberResponse parses an HTTP response from a ProjectServiceRemoveMemberWithResponse call

func (ProjectServiceRemoveMemberResponse) ContentType

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

func (ProjectServiceRemoveMemberResponse) GetBody

GetBody returns the raw response body bytes

func (ProjectServiceRemoveMemberResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceRemoveMemberResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceRemoveMemberResponse) Status

Status returns HTTPResponse.Status

func (ProjectServiceRemoveMemberResponse) StatusCode

func (r ProjectServiceRemoveMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceSendTestWebhookJSONBody added in v2.19.1

type ProjectServiceSendTestWebhookJSONBody struct {
	// Event One of ListWebhookEvents. Sent with sample data, regardless of the
	//  webhook filter.
	Event *string `json:"event,omitempty"`
}

ProjectServiceSendTestWebhookJSONBody defines parameters for ProjectServiceSendTestWebhook.

type ProjectServiceSendTestWebhookJSONRequestBody added in v2.19.1

type ProjectServiceSendTestWebhookJSONRequestBody ProjectServiceSendTestWebhookJSONBody

ProjectServiceSendTestWebhookJSONRequestBody defines body for ProjectServiceSendTestWebhook for application/json ContentType.

type ProjectServiceSendTestWebhookResponse added in v2.19.1

type ProjectServiceSendTestWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1SendTestWebhookResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceSendTestWebhookResponse added in v2.19.1

func ParseProjectServiceSendTestWebhookResponse(rsp *http.Response) (*ProjectServiceSendTestWebhookResponse, error)

ParseProjectServiceSendTestWebhookResponse parses an HTTP response from a ProjectServiceSendTestWebhookWithResponse call

func (ProjectServiceSendTestWebhookResponse) ContentType added in v2.19.1

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

func (ProjectServiceSendTestWebhookResponse) GetBody added in v2.19.1

GetBody returns the raw response body bytes

func (ProjectServiceSendTestWebhookResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceSendTestWebhookResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceSendTestWebhookResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (ProjectServiceSendTestWebhookResponse) StatusCode added in v2.19.1

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceUpdateInviteJSONBody

type ProjectServiceUpdateInviteJSONBody struct {
	// Role Access level to set on the invite: 1 read, 2 write, 3 admin.
	Role *int32 `json:"role,omitempty"`
}

ProjectServiceUpdateInviteJSONBody defines parameters for ProjectServiceUpdateInvite.

type ProjectServiceUpdateInviteJSONRequestBody

type ProjectServiceUpdateInviteJSONRequestBody ProjectServiceUpdateInviteJSONBody

ProjectServiceUpdateInviteJSONRequestBody defines body for ProjectServiceUpdateInvite for application/json ContentType.

type ProjectServiceUpdateInviteResponse

type ProjectServiceUpdateInviteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1UpdateInviteResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceUpdateInviteResponse

func ParseProjectServiceUpdateInviteResponse(rsp *http.Response) (*ProjectServiceUpdateInviteResponse, error)

ParseProjectServiceUpdateInviteResponse parses an HTTP response from a ProjectServiceUpdateInviteWithResponse call

func (ProjectServiceUpdateInviteResponse) ContentType

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

func (ProjectServiceUpdateInviteResponse) GetBody

GetBody returns the raw response body bytes

func (ProjectServiceUpdateInviteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceUpdateInviteResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceUpdateInviteResponse) Status

Status returns HTTPResponse.Status

func (ProjectServiceUpdateInviteResponse) StatusCode

func (r ProjectServiceUpdateInviteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceUpdateMemberJSONBody

type ProjectServiceUpdateMemberJSONBody struct {
	// Role Access level to set: 1 read, 2 write, 3 admin.
	Role *int32 `json:"role,omitempty"`
}

ProjectServiceUpdateMemberJSONBody defines parameters for ProjectServiceUpdateMember.

type ProjectServiceUpdateMemberJSONRequestBody

type ProjectServiceUpdateMemberJSONRequestBody ProjectServiceUpdateMemberJSONBody

ProjectServiceUpdateMemberJSONRequestBody defines body for ProjectServiceUpdateMember for application/json ContentType.

type ProjectServiceUpdateMemberResponse

type ProjectServiceUpdateMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1UpdateMemberResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceUpdateMemberResponse

func ParseProjectServiceUpdateMemberResponse(rsp *http.Response) (*ProjectServiceUpdateMemberResponse, error)

ParseProjectServiceUpdateMemberResponse parses an HTTP response from a ProjectServiceUpdateMemberWithResponse call

func (ProjectServiceUpdateMemberResponse) ContentType

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

func (ProjectServiceUpdateMemberResponse) GetBody

GetBody returns the raw response body bytes

func (ProjectServiceUpdateMemberResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceUpdateMemberResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceUpdateMemberResponse) Status

Status returns HTTPResponse.Status

func (ProjectServiceUpdateMemberResponse) StatusCode

func (r ProjectServiceUpdateMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceUpdateProjectJSONBody

type ProjectServiceUpdateProjectJSONBody struct {
	// CustomDomain A custom domain to add to the project.
	CustomDomain *string `json:"customDomain,omitempty"`

	// DisableTokenEndpoint True turns off the sandbox token endpoint for the project.
	DisableTokenEndpoint *bool `json:"disableTokenEndpoint,omitempty"`

	// DiscoverableByDomain When true, adds your email domain to the project.
	DiscoverableByDomain *bool `json:"discoverableByDomain,omitempty"`

	// EgressClusterId The egress cluster for the project. Only LiveKit staff can change it. For
	//  any other caller, a value that differs from the current one returns
	//  `PermissionDenied`.
	EgressClusterId *string `json:"egressClusterId,omitempty"`
	EnableAnalytics *bool   `json:"enableAnalytics,omitempty"`

	// EnableAutoCreate True lets the first participant to join a room that does not yet exist
	//  create it.
	EnableAutoCreate      *bool `json:"enableAutoCreate,omitempty"`
	EnableEgressAutoRetry *bool `json:"enableEgressAutoRetry,omitempty"`

	// EnableEgressBackupStorage True keeps an egress that fails to upload in LiveKit backup storage for 7
	//  days.
	EnableEgressBackupStorage *bool `json:"enableEgressBackupStorage,omitempty"`

	// EnableHostedAgents True when hosted agents are enabled for the project. Only LiveKit staff can
	//  change it. For any other caller, a value that differs from the current one
	//  returns `PermissionDenied`.
	EnableHostedAgents *bool `json:"enableHostedAgents,omitempty"`

	// EnableInferenceRegionRestriction True restricts inference to the models in the same data region as the
	//  project.
	EnableInferenceRegionRestriction *bool `json:"enableInferenceRegionRestriction,omitempty"`

	// EnablePiiRedaction True redacts PII from the recorded session data.
	EnablePiiRedaction *bool `json:"enablePiiRedaction,omitempty"`

	// EnableRemoteUnmute True lets an admin unmute the tracks of another participant.
	EnableRemoteUnmute *bool `json:"enableRemoteUnmute,omitempty"`

	// EnableUserDataRecording When true, the project records traces, transcripts, and audio from agent
	//  sessions for agent observability. Data recorded earlier stays readable.
	EnableUserDataRecording *bool `json:"enableUserDataRecording,omitempty"`

	// EnableUserDataTraining True lets LiveKit use the observability data from this project to improve
	//  models and services.
	EnableUserDataTraining *bool `json:"enableUserDataTraining,omitempty"`

	// EnabledCodecs The media codecs the project allows, by MIME type, such as `video/VP9`.
	EnabledCodecs *[]string          `json:"enabledCodecs,omitempty"`
	FeatureFlags  *map[string]string `json:"featureFlags,omitempty"`

	// HideOnboarding True hides the onboarding instructions on the project dashboard.
	HideOnboarding *bool `json:"hideOnboarding,omitempty"`

	// HideSampleAppGallery True hides the sample app gallery on the project dashboard.
	HideSampleAppGallery *bool `json:"hideSampleAppGallery,omitempty"`

	// IsPrivate True gives the project its own member list instead of the members of its
	//  workspace.
	IsPrivate *bool `json:"isPrivate,omitempty"`

	// JoinableByDomain When true, adds your email domain to the project.
	JoinableByDomain *bool `json:"joinableByDomain,omitempty"`

	// Members The members to keep when the project becomes private. The caller keeps
	//  the admin role.
	Members *[]LivekitPublicapiProjectsV1CreateProjectMember `json:"members,omitempty"`

	// Name The project name.
	Name *string `json:"name,omitempty"`

	// PiiRedactionCategories A non-empty list replaces the stored set. An empty list is ignored, so
	//  the set cannot be cleared this way. Turning redaction on with nothing
	//  stored applies the default categories.
	PiiRedactionCategories *[]CloudProtocolPIIRedactionCategory `json:"piiRedactionCategories,omitempty"`

	// PinnedRegions SFU region pins. Unset leaves them unchanged; a set message replaces the
	//  stored set, so an empty regions list clears the pins. Distinct from
	//  userDataRegion, which decides where session data is stored.
	PinnedRegions *LivekitPublicapiProjectsV1PinnedRegions `json:"pinnedRegions,omitempty"`

	// RequireExplicitDispatch True rejects an agent server that registers without an explicit agent
	//  name.
	RequireExplicitDispatch *bool `json:"requireExplicitDispatch,omitempty"`

	// RoomConfigsToDelete The names of the room configurations to remove from the project.
	RoomConfigsToDelete *[]string `json:"roomConfigsToDelete,omitempty"`

	// RoomConfigsToUpsert Room configurations to add to the project. A configuration replaces the
	//  one with the same name. A configuration without a name is ignored.
	RoomConfigsToUpsert *[]LivekitRoomConfiguration `json:"roomConfigsToUpsert,omitempty"`

	// SfuAllowPause True lets the SFU pause video tracks when subscribers are congested.
	SfuAllowPause *bool `json:"sfuAllowPause,omitempty"`

	// Subdomain The project subdomain, which forms the server URL.
	Subdomain        *string `json:"subdomain,omitempty"`
	TokenEndpointKey *string `json:"tokenEndpointKey,omitempty"`
}

ProjectServiceUpdateProjectJSONBody defines parameters for ProjectServiceUpdateProject.

type ProjectServiceUpdateProjectJSONRequestBody

type ProjectServiceUpdateProjectJSONRequestBody ProjectServiceUpdateProjectJSONBody

ProjectServiceUpdateProjectJSONRequestBody defines body for ProjectServiceUpdateProject for application/json ContentType.

type ProjectServiceUpdateProjectResponse

type ProjectServiceUpdateProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1UpdateProjectResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceUpdateProjectResponse

func ParseProjectServiceUpdateProjectResponse(rsp *http.Response) (*ProjectServiceUpdateProjectResponse, error)

ParseProjectServiceUpdateProjectResponse parses an HTTP response from a ProjectServiceUpdateProjectWithResponse call

func (ProjectServiceUpdateProjectResponse) ContentType

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

func (ProjectServiceUpdateProjectResponse) GetBody

GetBody returns the raw response body bytes

func (ProjectServiceUpdateProjectResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceUpdateProjectResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceUpdateProjectResponse) Status

Status returns HTTPResponse.Status

func (ProjectServiceUpdateProjectResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ProjectServiceUpdateWebhookJSONBody added in v2.19.1

type ProjectServiceUpdateWebhookJSONBody struct {
	// FilterParams Replaces the whole filter; an empty filter delivers every event.
	FilterParams *LivekitFilterParams `json:"filterParams,omitempty"`

	// Name The project name.
	Name *string `json:"name,omitempty"`

	// SigningKey API key of this project whose secret signs deliveries. Unset or empty
	//  leaves the signing key unchanged.
	SigningKey *string `json:"signingKey,omitempty"`

	// Url The URL that receives the events.
	Url *string `json:"url,omitempty"`
}

ProjectServiceUpdateWebhookJSONBody defines parameters for ProjectServiceUpdateWebhook.

type ProjectServiceUpdateWebhookJSONRequestBody added in v2.19.1

type ProjectServiceUpdateWebhookJSONRequestBody ProjectServiceUpdateWebhookJSONBody

ProjectServiceUpdateWebhookJSONRequestBody defines body for ProjectServiceUpdateWebhook for application/json ContentType.

type ProjectServiceUpdateWebhookResponse added in v2.19.1

type ProjectServiceUpdateWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1UpdateWebhookResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseProjectServiceUpdateWebhookResponse added in v2.19.1

func ParseProjectServiceUpdateWebhookResponse(rsp *http.Response) (*ProjectServiceUpdateWebhookResponse, error)

ParseProjectServiceUpdateWebhookResponse parses an HTTP response from a ProjectServiceUpdateWebhookWithResponse call

func (ProjectServiceUpdateWebhookResponse) ContentType added in v2.19.1

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

func (ProjectServiceUpdateWebhookResponse) GetBody added in v2.19.1

GetBody returns the raw response body bytes

func (ProjectServiceUpdateWebhookResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ProjectServiceUpdateWebhookResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ProjectServiceUpdateWebhookResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (ProjectServiceUpdateWebhookResponse) StatusCode added in v2.19.1

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type SimulationServiceCancelSimulationRunResponse

type SimulationServiceCancelSimulationRunResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiSimulationsV1SimulationRunsCancelResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseSimulationServiceCancelSimulationRunResponse

func ParseSimulationServiceCancelSimulationRunResponse(rsp *http.Response) (*SimulationServiceCancelSimulationRunResponse, error)

ParseSimulationServiceCancelSimulationRunResponse parses an HTTP response from a SimulationServiceCancelSimulationRunWithResponse call

func (SimulationServiceCancelSimulationRunResponse) ContentType

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

func (SimulationServiceCancelSimulationRunResponse) GetBody

GetBody returns the raw response body bytes

func (SimulationServiceCancelSimulationRunResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SimulationServiceCancelSimulationRunResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (SimulationServiceCancelSimulationRunResponse) Status

Status returns HTTPResponse.Status

func (SimulationServiceCancelSimulationRunResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SimulationServiceConfirmSimulationSourceUploadJSONBody added in v2.19.0

type SimulationServiceConfirmSimulationSourceUploadJSONBody struct {
	// CodeEntrypoint Entrypoint of the uploaded source, for example "agent.py".
	CodeEntrypoint *string `json:"codeEntrypoint,omitempty"`
}

SimulationServiceConfirmSimulationSourceUploadJSONBody defines parameters for SimulationServiceConfirmSimulationSourceUpload.

type SimulationServiceConfirmSimulationSourceUploadJSONRequestBody added in v2.19.0

type SimulationServiceConfirmSimulationSourceUploadJSONRequestBody SimulationServiceConfirmSimulationSourceUploadJSONBody

SimulationServiceConfirmSimulationSourceUploadJSONRequestBody defines body for SimulationServiceConfirmSimulationSourceUpload for application/json ContentType.

type SimulationServiceConfirmSimulationSourceUploadResponse added in v2.19.0

type SimulationServiceConfirmSimulationSourceUploadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiSimulationsV1SimulationRunsConfirmSourceUploadResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseSimulationServiceConfirmSimulationSourceUploadResponse added in v2.19.0

func ParseSimulationServiceConfirmSimulationSourceUploadResponse(rsp *http.Response) (*SimulationServiceConfirmSimulationSourceUploadResponse, error)

ParseSimulationServiceConfirmSimulationSourceUploadResponse parses an HTTP response from a SimulationServiceConfirmSimulationSourceUploadWithResponse call

func (SimulationServiceConfirmSimulationSourceUploadResponse) ContentType added in v2.19.0

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

func (SimulationServiceConfirmSimulationSourceUploadResponse) GetBody added in v2.19.0

GetBody returns the raw response body bytes

func (SimulationServiceConfirmSimulationSourceUploadResponse) GetJSON200 added in v2.19.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SimulationServiceConfirmSimulationSourceUploadResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (SimulationServiceConfirmSimulationSourceUploadResponse) Status added in v2.19.0

Status returns HTTPResponse.Status

func (SimulationServiceConfirmSimulationSourceUploadResponse) StatusCode added in v2.19.0

StatusCode returns HTTPResponse.StatusCode

type SimulationServiceCountSimulationRunsParams added in v2.19.0

type SimulationServiceCountSimulationRunsParams struct {
	// StartTime Half-open window [startTime, endTime) on the run creation time. Both
	//  are required and endTime must be after startTime.
	StartTime *time.Time `form:"startTime,omitempty" json:"startTime,omitempty"`

	// EndTime A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
	EndTime *time.Time `form:"endTime,omitempty" json:"endTime,omitempty"`

	// Status Only runs in this status.
	Status *LivekitSimulationRunStatus `form:"status,omitempty" json:"status,omitempty"`

	// AgentName Only runs of this agent (exact name).
	AgentName *string `form:"agentName,omitempty" json:"agentName,omitempty"`

	// Mode Only runs in this conversation mode.
	Mode *LivekitSimulationMode `form:"mode,omitempty" json:"mode,omitempty"`
}

SimulationServiceCountSimulationRunsParams defines parameters for SimulationServiceCountSimulationRuns.

type SimulationServiceCountSimulationRunsResponse added in v2.19.0

type SimulationServiceCountSimulationRunsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiSimulationsV1SimulationRunsCountsResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseSimulationServiceCountSimulationRunsResponse added in v2.19.0

func ParseSimulationServiceCountSimulationRunsResponse(rsp *http.Response) (*SimulationServiceCountSimulationRunsResponse, error)

ParseSimulationServiceCountSimulationRunsResponse parses an HTTP response from a SimulationServiceCountSimulationRunsWithResponse call

func (SimulationServiceCountSimulationRunsResponse) ContentType added in v2.19.0

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

func (SimulationServiceCountSimulationRunsResponse) GetBody added in v2.19.0

GetBody returns the raw response body bytes

func (SimulationServiceCountSimulationRunsResponse) GetJSON200 added in v2.19.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SimulationServiceCountSimulationRunsResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (SimulationServiceCountSimulationRunsResponse) Status added in v2.19.0

Status returns HTTPResponse.Status

func (SimulationServiceCountSimulationRunsResponse) StatusCode added in v2.19.0

StatusCode returns HTTPResponse.StatusCode

type SimulationServiceCreateSimulationRunJSONBody

type SimulationServiceCreateSimulationRunJSONBody struct {
	// AgentName Name the agent under test is registered under; every job dispatches it
	//  into the simulation room, so it must already be deployed or running as
	//  a worker. Empty uses the default agent for the project. Recorded on
	//  the run and usable as a ListSimulationRuns filter.
	AgentName *string `json:"agentName,omitempty"`

	// BackgroundNoise Audio impairments applied to the simulated user; AUDIO mode only.
	BackgroundNoise *bool `json:"backgroundNoise,omitempty"`

	// Ci The CI pipeline this run came from, so runs can be linked back to
	//  commits.
	Ci *LivekitSimulationRunCI `json:"ci,omitempty"`

	// Concurrency Maximum jobs running in parallel, at most 20; above that the request is
	//  InvalidArgument. The concurrency quota for the project can run fewer at
	//  once. Unset uses the server default.
	Concurrency          *int32 `json:"concurrency,omitempty"`
	LowQualityMicrophone *bool  `json:"lowQualityMicrophone,omitempty"`

	// Mode Conversation mode for every job; unspecified means TEXT.
	Mode *LivekitSimulationMode `json:"mode,omitempty"`

	// NumSimulations Number of scenarios to generate from the agent source when
	//  scenarioGroup is unset.
	NumSimulations *int32 `json:"numSimulations,omitempty"`
	PacketLoss     *bool  `json:"packetLoss,omitempty"`

	// Region Reserved: must be empty, and the service chooses where the run happens.
	Region *string `json:"region,omitempty"`

	// ScenarioGroup Run exactly these scenarios (the contents of a scenarios.yaml) instead
	//  of generating numSimulations of them; the run then needs no source
	//  upload and starts immediately.
	ScenarioGroup *LivekitScenarioGroup `json:"scenarioGroup,omitempty"`
}

SimulationServiceCreateSimulationRunJSONBody defines parameters for SimulationServiceCreateSimulationRun.

type SimulationServiceCreateSimulationRunJSONRequestBody

type SimulationServiceCreateSimulationRunJSONRequestBody SimulationServiceCreateSimulationRunJSONBody

SimulationServiceCreateSimulationRunJSONRequestBody defines body for SimulationServiceCreateSimulationRun for application/json ContentType.

type SimulationServiceCreateSimulationRunResponse

type SimulationServiceCreateSimulationRunResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiSimulationsV1SimulationRunsCreateResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseSimulationServiceCreateSimulationRunResponse

func ParseSimulationServiceCreateSimulationRunResponse(rsp *http.Response) (*SimulationServiceCreateSimulationRunResponse, error)

ParseSimulationServiceCreateSimulationRunResponse parses an HTTP response from a SimulationServiceCreateSimulationRunWithResponse call

func (SimulationServiceCreateSimulationRunResponse) ContentType

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

func (SimulationServiceCreateSimulationRunResponse) GetBody

GetBody returns the raw response body bytes

func (SimulationServiceCreateSimulationRunResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SimulationServiceCreateSimulationRunResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (SimulationServiceCreateSimulationRunResponse) Status

Status returns HTTPResponse.Status

func (SimulationServiceCreateSimulationRunResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SimulationServiceGenerateScenarioFromSessionJSONBody added in v2.19.0

type SimulationServiceGenerateScenarioFromSessionJSONBody struct {
	// Region Not used. The server finds the session recording from the project and
	//  `roomId`.
	Region *string `json:"region,omitempty"`

	// RoomId Room session (RM_...) to derive the scenario from.
	RoomId *string `json:"roomId,omitempty"`
}

SimulationServiceGenerateScenarioFromSessionJSONBody defines parameters for SimulationServiceGenerateScenarioFromSession.

type SimulationServiceGenerateScenarioFromSessionJSONRequestBody added in v2.19.0

type SimulationServiceGenerateScenarioFromSessionJSONRequestBody SimulationServiceGenerateScenarioFromSessionJSONBody

SimulationServiceGenerateScenarioFromSessionJSONRequestBody defines body for SimulationServiceGenerateScenarioFromSession for application/json ContentType.

type SimulationServiceGenerateScenarioFromSessionResponse added in v2.19.0

type SimulationServiceGenerateScenarioFromSessionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiSimulationsV1ScenariosGenerateFromSessionResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseSimulationServiceGenerateScenarioFromSessionResponse added in v2.19.0

func ParseSimulationServiceGenerateScenarioFromSessionResponse(rsp *http.Response) (*SimulationServiceGenerateScenarioFromSessionResponse, error)

ParseSimulationServiceGenerateScenarioFromSessionResponse parses an HTTP response from a SimulationServiceGenerateScenarioFromSessionWithResponse call

func (SimulationServiceGenerateScenarioFromSessionResponse) ContentType added in v2.19.0

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

func (SimulationServiceGenerateScenarioFromSessionResponse) GetBody added in v2.19.0

GetBody returns the raw response body bytes

func (SimulationServiceGenerateScenarioFromSessionResponse) GetJSON200 added in v2.19.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SimulationServiceGenerateScenarioFromSessionResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (SimulationServiceGenerateScenarioFromSessionResponse) Status added in v2.19.0

Status returns HTTPResponse.Status

func (SimulationServiceGenerateScenarioFromSessionResponse) StatusCode added in v2.19.0

StatusCode returns HTTPResponse.StatusCode

type SimulationServiceGetSimulationRunResponse

type SimulationServiceGetSimulationRunResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiSimulationsV1SimulationRunsGetResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseSimulationServiceGetSimulationRunResponse

func ParseSimulationServiceGetSimulationRunResponse(rsp *http.Response) (*SimulationServiceGetSimulationRunResponse, error)

ParseSimulationServiceGetSimulationRunResponse parses an HTTP response from a SimulationServiceGetSimulationRunWithResponse call

func (SimulationServiceGetSimulationRunResponse) ContentType

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

func (SimulationServiceGetSimulationRunResponse) GetBody

GetBody returns the raw response body bytes

func (SimulationServiceGetSimulationRunResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SimulationServiceGetSimulationRunResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (SimulationServiceGetSimulationRunResponse) Status

Status returns HTTPResponse.Status

func (SimulationServiceGetSimulationRunResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type SimulationServiceGetSimulationRunSummaryResponse added in v2.19.0

type SimulationServiceGetSimulationRunSummaryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiSimulationsV1SimulationRunsGetSummaryResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseSimulationServiceGetSimulationRunSummaryResponse added in v2.19.0

func ParseSimulationServiceGetSimulationRunSummaryResponse(rsp *http.Response) (*SimulationServiceGetSimulationRunSummaryResponse, error)

ParseSimulationServiceGetSimulationRunSummaryResponse parses an HTTP response from a SimulationServiceGetSimulationRunSummaryWithResponse call

func (SimulationServiceGetSimulationRunSummaryResponse) ContentType added in v2.19.0

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

func (SimulationServiceGetSimulationRunSummaryResponse) GetBody added in v2.19.0

GetBody returns the raw response body bytes

func (SimulationServiceGetSimulationRunSummaryResponse) GetJSON200 added in v2.19.0

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SimulationServiceGetSimulationRunSummaryResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (SimulationServiceGetSimulationRunSummaryResponse) Status added in v2.19.0

Status returns HTTPResponse.Status

func (SimulationServiceGetSimulationRunSummaryResponse) StatusCode added in v2.19.0

StatusCode returns HTTPResponse.StatusCode

type SimulationServiceListSimulationRunsParams

type SimulationServiceListSimulationRunsParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`

	// Status Only runs in this status.
	Status *LivekitSimulationRunStatus `form:"status,omitempty" json:"status,omitempty"`

	// AgentName Only runs of this agent (exact name).
	AgentName *string `form:"agentName,omitempty" json:"agentName,omitempty"`

	// StartTime Half-open window [startTime, endTime) on the run creation time.
	//  Either bound may be left unset.
	StartTime *time.Time `form:"startTime,omitempty" json:"startTime,omitempty"`

	// EndTime A point in time in RFC 3339 format, with up to nanosecond precision. Output uses UTC (`Z`); input may use an offset from UTC.
	EndTime *time.Time `form:"endTime,omitempty" json:"endTime,omitempty"`

	// Mode Only runs in this conversation mode.
	Mode *LivekitSimulationMode `form:"mode,omitempty" json:"mode,omitempty"`
}

SimulationServiceListSimulationRunsParams defines parameters for SimulationServiceListSimulationRuns.

type SimulationServiceListSimulationRunsResponse

type SimulationServiceListSimulationRunsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiSimulationsV1SimulationRunsListResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseSimulationServiceListSimulationRunsResponse

func ParseSimulationServiceListSimulationRunsResponse(rsp *http.Response) (*SimulationServiceListSimulationRunsResponse, error)

ParseSimulationServiceListSimulationRunsResponse parses an HTTP response from a SimulationServiceListSimulationRunsWithResponse call

func (SimulationServiceListSimulationRunsResponse) ContentType

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

func (SimulationServiceListSimulationRunsResponse) GetBody

GetBody returns the raw response body bytes

func (SimulationServiceListSimulationRunsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (SimulationServiceListSimulationRunsResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (SimulationServiceListSimulationRunsResponse) Status

Status returns HTTPResponse.Status

func (SimulationServiceListSimulationRunsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ThreadServiceCreateThreadJSONBody added in v2.19.1

type ThreadServiceCreateThreadJSONBody struct {
	Attributes *map[string]string `json:"attributes,omitempty"`

	// IdleTtl Unset takes the server default.
	IdleTtl *GoogleProtobufDuration `json:"idleTtl,omitempty"`

	// Scope Optional scope grouping the thread (typically the user's identity),
	//  at most 256 bytes.
	Scope *string `json:"scope,omitempty"`
}

ThreadServiceCreateThreadJSONBody defines parameters for ThreadServiceCreateThread.

type ThreadServiceCreateThreadJSONRequestBody added in v2.19.1

type ThreadServiceCreateThreadJSONRequestBody ThreadServiceCreateThreadJSONBody

ThreadServiceCreateThreadJSONRequestBody defines body for ThreadServiceCreateThread for application/json ContentType.

type ThreadServiceCreateThreadResponse added in v2.19.1

type ThreadServiceCreateThreadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiThreadsV1ThreadsCreateResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseThreadServiceCreateThreadResponse added in v2.19.1

func ParseThreadServiceCreateThreadResponse(rsp *http.Response) (*ThreadServiceCreateThreadResponse, error)

ParseThreadServiceCreateThreadResponse parses an HTTP response from a ThreadServiceCreateThreadWithResponse call

func (ThreadServiceCreateThreadResponse) ContentType added in v2.19.1

func (r ThreadServiceCreateThreadResponse) ContentType() string

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

func (ThreadServiceCreateThreadResponse) GetBody added in v2.19.1

GetBody returns the raw response body bytes

func (ThreadServiceCreateThreadResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ThreadServiceCreateThreadResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ThreadServiceCreateThreadResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (ThreadServiceCreateThreadResponse) StatusCode added in v2.19.1

func (r ThreadServiceCreateThreadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ThreadServiceDeleteThreadResponse added in v2.19.1

type ThreadServiceDeleteThreadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiThreadsV1ThreadsDeleteResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseThreadServiceDeleteThreadResponse added in v2.19.1

func ParseThreadServiceDeleteThreadResponse(rsp *http.Response) (*ThreadServiceDeleteThreadResponse, error)

ParseThreadServiceDeleteThreadResponse parses an HTTP response from a ThreadServiceDeleteThreadWithResponse call

func (ThreadServiceDeleteThreadResponse) ContentType added in v2.19.1

func (r ThreadServiceDeleteThreadResponse) ContentType() string

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

func (ThreadServiceDeleteThreadResponse) GetBody added in v2.19.1

GetBody returns the raw response body bytes

func (ThreadServiceDeleteThreadResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ThreadServiceDeleteThreadResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ThreadServiceDeleteThreadResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (ThreadServiceDeleteThreadResponse) StatusCode added in v2.19.1

func (r ThreadServiceDeleteThreadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ThreadServiceGetThreadItemsParams added in v2.19.1

type ThreadServiceGetThreadItemsParams struct {
	// Agent One agent's items; empty for every agent's.
	Agent *string `form:"agent,omitempty" json:"agent,omitempty"`

	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`

	// SortOrder Direction of the item order. Defaults to ascending (oldest first) when
	//  unset; descending starts from the latest item and pages back.
	SortOrder *LivekitPublicapiCommonV1SortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
}

ThreadServiceGetThreadItemsParams defines parameters for ThreadServiceGetThreadItems.

type ThreadServiceGetThreadItemsResponse added in v2.19.1

type ThreadServiceGetThreadItemsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiThreadsV1ThreadsItemsResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseThreadServiceGetThreadItemsResponse added in v2.19.1

func ParseThreadServiceGetThreadItemsResponse(rsp *http.Response) (*ThreadServiceGetThreadItemsResponse, error)

ParseThreadServiceGetThreadItemsResponse parses an HTTP response from a ThreadServiceGetThreadItemsWithResponse call

func (ThreadServiceGetThreadItemsResponse) ContentType added in v2.19.1

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

func (ThreadServiceGetThreadItemsResponse) GetBody added in v2.19.1

GetBody returns the raw response body bytes

func (ThreadServiceGetThreadItemsResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ThreadServiceGetThreadItemsResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ThreadServiceGetThreadItemsResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (ThreadServiceGetThreadItemsResponse) StatusCode added in v2.19.1

StatusCode returns HTTPResponse.StatusCode

type ThreadServiceGetThreadResponse added in v2.19.1

type ThreadServiceGetThreadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiThreadsV1ThreadsGetResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseThreadServiceGetThreadResponse added in v2.19.1

func ParseThreadServiceGetThreadResponse(rsp *http.Response) (*ThreadServiceGetThreadResponse, error)

ParseThreadServiceGetThreadResponse parses an HTTP response from a ThreadServiceGetThreadWithResponse call

func (ThreadServiceGetThreadResponse) ContentType added in v2.19.1

func (r ThreadServiceGetThreadResponse) ContentType() string

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

func (ThreadServiceGetThreadResponse) GetBody added in v2.19.1

func (r ThreadServiceGetThreadResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ThreadServiceGetThreadResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ThreadServiceGetThreadResponse) GetJSONDefault added in v2.19.3

func (r ThreadServiceGetThreadResponse) GetJSONDefault() *GoogleRpcStatus

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ThreadServiceGetThreadResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (ThreadServiceGetThreadResponse) StatusCode added in v2.19.1

func (r ThreadServiceGetThreadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ThreadServiceGetThreadTasksParams added in v2.19.1

type ThreadServiceGetThreadTasksParams struct {
	// Status Only tasks in this status; unset for every status.
	Status *LivekitAgentAgentTaskStatus `form:"status,omitempty" json:"status,omitempty"`

	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}

ThreadServiceGetThreadTasksParams defines parameters for ThreadServiceGetThreadTasks.

type ThreadServiceGetThreadTasksResponse added in v2.19.1

type ThreadServiceGetThreadTasksResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiThreadsV1ThreadsTasksResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseThreadServiceGetThreadTasksResponse added in v2.19.1

func ParseThreadServiceGetThreadTasksResponse(rsp *http.Response) (*ThreadServiceGetThreadTasksResponse, error)

ParseThreadServiceGetThreadTasksResponse parses an HTTP response from a ThreadServiceGetThreadTasksWithResponse call

func (ThreadServiceGetThreadTasksResponse) ContentType added in v2.19.1

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

func (ThreadServiceGetThreadTasksResponse) GetBody added in v2.19.1

GetBody returns the raw response body bytes

func (ThreadServiceGetThreadTasksResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ThreadServiceGetThreadTasksResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ThreadServiceGetThreadTasksResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (ThreadServiceGetThreadTasksResponse) StatusCode added in v2.19.1

StatusCode returns HTTPResponse.StatusCode

type ThreadServiceListThreadsParams added in v2.19.1

type ThreadServiceListThreadsParams struct {
	// Scope The scope query parameter.
	Scope *string `form:"scope,omitempty" json:"scope,omitempty"`

	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}

ThreadServiceListThreadsParams defines parameters for ThreadServiceListThreads.

type ThreadServiceListThreadsResponse added in v2.19.1

type ThreadServiceListThreadsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiThreadsV1ThreadsListResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseThreadServiceListThreadsResponse added in v2.19.1

func ParseThreadServiceListThreadsResponse(rsp *http.Response) (*ThreadServiceListThreadsResponse, error)

ParseThreadServiceListThreadsResponse parses an HTTP response from a ThreadServiceListThreadsWithResponse call

func (ThreadServiceListThreadsResponse) ContentType added in v2.19.1

func (r ThreadServiceListThreadsResponse) ContentType() string

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

func (ThreadServiceListThreadsResponse) GetBody added in v2.19.1

func (r ThreadServiceListThreadsResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (ThreadServiceListThreadsResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ThreadServiceListThreadsResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ThreadServiceListThreadsResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (ThreadServiceListThreadsResponse) StatusCode added in v2.19.1

func (r ThreadServiceListThreadsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ThreadServiceUpdateThreadJSONBody added in v2.19.1

type ThreadServiceUpdateThreadJSONBody struct {
	Attributes *map[string]string      `json:"attributes,omitempty"`
	IdleTtl    *GoogleProtobufDuration `json:"idleTtl,omitempty"`
}

ThreadServiceUpdateThreadJSONBody defines parameters for ThreadServiceUpdateThread.

type ThreadServiceUpdateThreadJSONRequestBody added in v2.19.1

type ThreadServiceUpdateThreadJSONRequestBody ThreadServiceUpdateThreadJSONBody

ThreadServiceUpdateThreadJSONRequestBody defines body for ThreadServiceUpdateThread for application/json ContentType.

type ThreadServiceUpdateThreadResponse added in v2.19.1

type ThreadServiceUpdateThreadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiThreadsV1ThreadsUpdateResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseThreadServiceUpdateThreadResponse added in v2.19.1

func ParseThreadServiceUpdateThreadResponse(rsp *http.Response) (*ThreadServiceUpdateThreadResponse, error)

ParseThreadServiceUpdateThreadResponse parses an HTTP response from a ThreadServiceUpdateThreadWithResponse call

func (ThreadServiceUpdateThreadResponse) ContentType added in v2.19.1

func (r ThreadServiceUpdateThreadResponse) ContentType() string

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

func (ThreadServiceUpdateThreadResponse) GetBody added in v2.19.1

GetBody returns the raw response body bytes

func (ThreadServiceUpdateThreadResponse) GetJSON200 added in v2.19.1

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (ThreadServiceUpdateThreadResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (ThreadServiceUpdateThreadResponse) Status added in v2.19.1

Status returns HTTPResponse.Status

func (ThreadServiceUpdateThreadResponse) StatusCode added in v2.19.1

func (r ThreadServiceUpdateThreadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserServiceGetCurrentUserResponse

type UserServiceGetCurrentUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiUsersV1GetCurrentUserResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseUserServiceGetCurrentUserResponse

func ParseUserServiceGetCurrentUserResponse(rsp *http.Response) (*UserServiceGetCurrentUserResponse, error)

ParseUserServiceGetCurrentUserResponse parses an HTTP response from a UserServiceGetCurrentUserWithResponse call

func (UserServiceGetCurrentUserResponse) ContentType

func (r UserServiceGetCurrentUserResponse) ContentType() string

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

func (UserServiceGetCurrentUserResponse) GetBody

GetBody returns the raw response body bytes

func (UserServiceGetCurrentUserResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserServiceGetCurrentUserResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (UserServiceGetCurrentUserResponse) Status

Status returns HTTPResponse.Status

func (UserServiceGetCurrentUserResponse) StatusCode

func (r UserServiceGetCurrentUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserServiceGetUserResponse

type UserServiceGetUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiUsersV1GetUserResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseUserServiceGetUserResponse

func ParseUserServiceGetUserResponse(rsp *http.Response) (*UserServiceGetUserResponse, error)

ParseUserServiceGetUserResponse parses an HTTP response from a UserServiceGetUserWithResponse call

func (UserServiceGetUserResponse) ContentType

func (r UserServiceGetUserResponse) ContentType() string

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

func (UserServiceGetUserResponse) GetBody

func (r UserServiceGetUserResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UserServiceGetUserResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserServiceGetUserResponse) GetJSONDefault added in v2.19.3

func (r UserServiceGetUserResponse) GetJSONDefault() *GoogleRpcStatus

GetJSONDefault returns the response for an HTTP default `application/json` response

func (UserServiceGetUserResponse) Status

Status returns HTTPResponse.Status

func (UserServiceGetUserResponse) StatusCode

func (r UserServiceGetUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserServiceListUsersParams

type UserServiceListUsersParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`

	// ProjectId The project ID (`p_...`). Returns only the members of this project. Set
	//  `projectId`, `workspaceId`, or both. When you set both, the project must
	//  belong to the workspace.
	ProjectId *string `form:"projectId,omitempty" json:"projectId,omitempty"`

	// WorkspaceId The workspace ID (`wo_...`). Returns only the members of this workspace,
	//  unless you also set `projectId`.
	WorkspaceId *string `form:"workspaceId,omitempty" json:"workspaceId,omitempty"`
}

UserServiceListUsersParams defines parameters for UserServiceListUsers.

type UserServiceListUsersResponse

type UserServiceListUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiUsersV1ListUsersResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseUserServiceListUsersResponse

func ParseUserServiceListUsersResponse(rsp *http.Response) (*UserServiceListUsersResponse, error)

ParseUserServiceListUsersResponse parses an HTTP response from a UserServiceListUsersWithResponse call

func (UserServiceListUsersResponse) ContentType

func (r UserServiceListUsersResponse) ContentType() string

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

func (UserServiceListUsersResponse) GetBody

func (r UserServiceListUsersResponse) GetBody() []byte

GetBody returns the raw response body bytes

func (UserServiceListUsersResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (UserServiceListUsersResponse) GetJSONDefault added in v2.19.3

func (r UserServiceListUsersResponse) GetJSONDefault() *GoogleRpcStatus

GetJSONDefault returns the response for an HTTP default `application/json` response

func (UserServiceListUsersResponse) Status

Status returns HTTPResponse.Status

func (UserServiceListUsersResponse) StatusCode

func (r UserServiceListUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkspaceServiceAnswerInviteJSONBody

type WorkspaceServiceAnswerInviteJSONBody struct {
	// Accept True accepts the invite; false declines it.
	Accept *bool `json:"accept,omitempty"`
}

WorkspaceServiceAnswerInviteJSONBody defines parameters for WorkspaceServiceAnswerInvite.

type WorkspaceServiceAnswerInviteJSONRequestBody

type WorkspaceServiceAnswerInviteJSONRequestBody WorkspaceServiceAnswerInviteJSONBody

WorkspaceServiceAnswerInviteJSONRequestBody defines body for WorkspaceServiceAnswerInvite for application/json ContentType.

type WorkspaceServiceAnswerInviteResponse

type WorkspaceServiceAnswerInviteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiWorkspacesV1AnswerInviteResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseWorkspaceServiceAnswerInviteResponse

func ParseWorkspaceServiceAnswerInviteResponse(rsp *http.Response) (*WorkspaceServiceAnswerInviteResponse, error)

ParseWorkspaceServiceAnswerInviteResponse parses an HTTP response from a WorkspaceServiceAnswerInviteWithResponse call

func (WorkspaceServiceAnswerInviteResponse) ContentType

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

func (WorkspaceServiceAnswerInviteResponse) GetBody

GetBody returns the raw response body bytes

func (WorkspaceServiceAnswerInviteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WorkspaceServiceAnswerInviteResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (WorkspaceServiceAnswerInviteResponse) Status

Status returns HTTPResponse.Status

func (WorkspaceServiceAnswerInviteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkspaceServiceCreateInviteJSONBody

type WorkspaceServiceCreateInviteJSONBody struct {
	// Email The email address to invite.
	Email *string `json:"email,omitempty"`

	// Role Access level to grant: 1 read, 2 write, 3 admin.
	Role *int32 `json:"role,omitempty"`
}

WorkspaceServiceCreateInviteJSONBody defines parameters for WorkspaceServiceCreateInvite.

type WorkspaceServiceCreateInviteJSONRequestBody

type WorkspaceServiceCreateInviteJSONRequestBody WorkspaceServiceCreateInviteJSONBody

WorkspaceServiceCreateInviteJSONRequestBody defines body for WorkspaceServiceCreateInvite for application/json ContentType.

type WorkspaceServiceCreateInviteResponse

type WorkspaceServiceCreateInviteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiWorkspacesV1CreateInviteResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseWorkspaceServiceCreateInviteResponse

func ParseWorkspaceServiceCreateInviteResponse(rsp *http.Response) (*WorkspaceServiceCreateInviteResponse, error)

ParseWorkspaceServiceCreateInviteResponse parses an HTTP response from a WorkspaceServiceCreateInviteWithResponse call

func (WorkspaceServiceCreateInviteResponse) ContentType

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

func (WorkspaceServiceCreateInviteResponse) GetBody

GetBody returns the raw response body bytes

func (WorkspaceServiceCreateInviteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WorkspaceServiceCreateInviteResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (WorkspaceServiceCreateInviteResponse) Status

Status returns HTTPResponse.Status

func (WorkspaceServiceCreateInviteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkspaceServiceCreateProjectJSONBody

type WorkspaceServiceCreateProjectJSONBody = LivekitPublicapiProjectsV1CreateProjectRequest

WorkspaceServiceCreateProjectJSONBody defines parameters for WorkspaceServiceCreateProject.

type WorkspaceServiceCreateProjectJSONRequestBody

type WorkspaceServiceCreateProjectJSONRequestBody = WorkspaceServiceCreateProjectJSONBody

WorkspaceServiceCreateProjectJSONRequestBody defines body for WorkspaceServiceCreateProject for application/json ContentType.

type WorkspaceServiceCreateProjectResponse

type WorkspaceServiceCreateProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1CreateProjectResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseWorkspaceServiceCreateProjectResponse

func ParseWorkspaceServiceCreateProjectResponse(rsp *http.Response) (*WorkspaceServiceCreateProjectResponse, error)

ParseWorkspaceServiceCreateProjectResponse parses an HTTP response from a WorkspaceServiceCreateProjectWithResponse call

func (WorkspaceServiceCreateProjectResponse) ContentType

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

func (WorkspaceServiceCreateProjectResponse) GetBody

GetBody returns the raw response body bytes

func (WorkspaceServiceCreateProjectResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WorkspaceServiceCreateProjectResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (WorkspaceServiceCreateProjectResponse) Status

Status returns HTTPResponse.Status

func (WorkspaceServiceCreateProjectResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkspaceServiceCreateWorkspaceJSONRequestBody

type WorkspaceServiceCreateWorkspaceJSONRequestBody = LivekitPublicapiWorkspacesV1CreateWorkspaceRequest

WorkspaceServiceCreateWorkspaceJSONRequestBody defines body for WorkspaceServiceCreateWorkspace for application/json ContentType.

type WorkspaceServiceCreateWorkspaceResponse

type WorkspaceServiceCreateWorkspaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiWorkspacesV1CreateWorkspaceResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseWorkspaceServiceCreateWorkspaceResponse

func ParseWorkspaceServiceCreateWorkspaceResponse(rsp *http.Response) (*WorkspaceServiceCreateWorkspaceResponse, error)

ParseWorkspaceServiceCreateWorkspaceResponse parses an HTTP response from a WorkspaceServiceCreateWorkspaceWithResponse call

func (WorkspaceServiceCreateWorkspaceResponse) ContentType

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

func (WorkspaceServiceCreateWorkspaceResponse) GetBody

GetBody returns the raw response body bytes

func (WorkspaceServiceCreateWorkspaceResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WorkspaceServiceCreateWorkspaceResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (WorkspaceServiceCreateWorkspaceResponse) Status

Status returns HTTPResponse.Status

func (WorkspaceServiceCreateWorkspaceResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkspaceServiceDeleteInviteResponse

type WorkspaceServiceDeleteInviteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiWorkspacesV1DeleteInviteResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseWorkspaceServiceDeleteInviteResponse

func ParseWorkspaceServiceDeleteInviteResponse(rsp *http.Response) (*WorkspaceServiceDeleteInviteResponse, error)

ParseWorkspaceServiceDeleteInviteResponse parses an HTTP response from a WorkspaceServiceDeleteInviteWithResponse call

func (WorkspaceServiceDeleteInviteResponse) ContentType

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

func (WorkspaceServiceDeleteInviteResponse) GetBody

GetBody returns the raw response body bytes

func (WorkspaceServiceDeleteInviteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WorkspaceServiceDeleteInviteResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (WorkspaceServiceDeleteInviteResponse) Status

Status returns HTTPResponse.Status

func (WorkspaceServiceDeleteInviteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkspaceServiceDeleteMemberParams added in v2.19.3

type WorkspaceServiceDeleteMemberParams struct {
	// ConfirmedNumKeys Number of the member's API keys the caller agrees to delete. Call with 0;
	//  if the member owns keys, the call fails with a MemberRemovalNotConfirmed
	//  detail, so show its num_keys to the user and call again with it.
	ConfirmedNumKeys *int `form:"confirmedNumKeys,omitempty" json:"confirmedNumKeys,omitempty"`
}

WorkspaceServiceDeleteMemberParams defines parameters for WorkspaceServiceDeleteMember.

type WorkspaceServiceDeleteMemberResponse

type WorkspaceServiceDeleteMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiWorkspacesV1DeleteMemberResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseWorkspaceServiceDeleteMemberResponse

func ParseWorkspaceServiceDeleteMemberResponse(rsp *http.Response) (*WorkspaceServiceDeleteMemberResponse, error)

ParseWorkspaceServiceDeleteMemberResponse parses an HTTP response from a WorkspaceServiceDeleteMemberWithResponse call

func (WorkspaceServiceDeleteMemberResponse) ContentType

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

func (WorkspaceServiceDeleteMemberResponse) GetBody

GetBody returns the raw response body bytes

func (WorkspaceServiceDeleteMemberResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WorkspaceServiceDeleteMemberResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (WorkspaceServiceDeleteMemberResponse) Status

Status returns HTTPResponse.Status

func (WorkspaceServiceDeleteMemberResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkspaceServiceDeleteProjectResponse

type WorkspaceServiceDeleteProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1DeleteProjectResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseWorkspaceServiceDeleteProjectResponse

func ParseWorkspaceServiceDeleteProjectResponse(rsp *http.Response) (*WorkspaceServiceDeleteProjectResponse, error)

ParseWorkspaceServiceDeleteProjectResponse parses an HTTP response from a WorkspaceServiceDeleteProjectWithResponse call

func (WorkspaceServiceDeleteProjectResponse) ContentType

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

func (WorkspaceServiceDeleteProjectResponse) GetBody

GetBody returns the raw response body bytes

func (WorkspaceServiceDeleteProjectResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WorkspaceServiceDeleteProjectResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (WorkspaceServiceDeleteProjectResponse) Status

Status returns HTTPResponse.Status

func (WorkspaceServiceDeleteProjectResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkspaceServiceDeleteWorkspaceResponse

type WorkspaceServiceDeleteWorkspaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiWorkspacesV1DeleteWorkspaceResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseWorkspaceServiceDeleteWorkspaceResponse

func ParseWorkspaceServiceDeleteWorkspaceResponse(rsp *http.Response) (*WorkspaceServiceDeleteWorkspaceResponse, error)

ParseWorkspaceServiceDeleteWorkspaceResponse parses an HTTP response from a WorkspaceServiceDeleteWorkspaceWithResponse call

func (WorkspaceServiceDeleteWorkspaceResponse) ContentType

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

func (WorkspaceServiceDeleteWorkspaceResponse) GetBody

GetBody returns the raw response body bytes

func (WorkspaceServiceDeleteWorkspaceResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WorkspaceServiceDeleteWorkspaceResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (WorkspaceServiceDeleteWorkspaceResponse) Status

Status returns HTTPResponse.Status

func (WorkspaceServiceDeleteWorkspaceResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkspaceServiceGetInviteResponse

type WorkspaceServiceGetInviteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiWorkspacesV1GetInviteResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseWorkspaceServiceGetInviteResponse

func ParseWorkspaceServiceGetInviteResponse(rsp *http.Response) (*WorkspaceServiceGetInviteResponse, error)

ParseWorkspaceServiceGetInviteResponse parses an HTTP response from a WorkspaceServiceGetInviteWithResponse call

func (WorkspaceServiceGetInviteResponse) ContentType

func (r WorkspaceServiceGetInviteResponse) ContentType() string

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

func (WorkspaceServiceGetInviteResponse) GetBody

GetBody returns the raw response body bytes

func (WorkspaceServiceGetInviteResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WorkspaceServiceGetInviteResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (WorkspaceServiceGetInviteResponse) Status

Status returns HTTPResponse.Status

func (WorkspaceServiceGetInviteResponse) StatusCode

func (r WorkspaceServiceGetInviteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkspaceServiceGetMemberResponse

type WorkspaceServiceGetMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiWorkspacesV1GetMemberResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseWorkspaceServiceGetMemberResponse

func ParseWorkspaceServiceGetMemberResponse(rsp *http.Response) (*WorkspaceServiceGetMemberResponse, error)

ParseWorkspaceServiceGetMemberResponse parses an HTTP response from a WorkspaceServiceGetMemberWithResponse call

func (WorkspaceServiceGetMemberResponse) ContentType

func (r WorkspaceServiceGetMemberResponse) ContentType() string

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

func (WorkspaceServiceGetMemberResponse) GetBody

GetBody returns the raw response body bytes

func (WorkspaceServiceGetMemberResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WorkspaceServiceGetMemberResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (WorkspaceServiceGetMemberResponse) Status

Status returns HTTPResponse.Status

func (WorkspaceServiceGetMemberResponse) StatusCode

func (r WorkspaceServiceGetMemberResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkspaceServiceGetProjectResponse

type WorkspaceServiceGetProjectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1GetProjectResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseWorkspaceServiceGetProjectResponse

func ParseWorkspaceServiceGetProjectResponse(rsp *http.Response) (*WorkspaceServiceGetProjectResponse, error)

ParseWorkspaceServiceGetProjectResponse parses an HTTP response from a WorkspaceServiceGetProjectWithResponse call

func (WorkspaceServiceGetProjectResponse) ContentType

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

func (WorkspaceServiceGetProjectResponse) GetBody

GetBody returns the raw response body bytes

func (WorkspaceServiceGetProjectResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WorkspaceServiceGetProjectResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (WorkspaceServiceGetProjectResponse) Status

Status returns HTTPResponse.Status

func (WorkspaceServiceGetProjectResponse) StatusCode

func (r WorkspaceServiceGetProjectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkspaceServiceGetWorkspaceResponse

type WorkspaceServiceGetWorkspaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiWorkspacesV1GetWorkspaceResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseWorkspaceServiceGetWorkspaceResponse

func ParseWorkspaceServiceGetWorkspaceResponse(rsp *http.Response) (*WorkspaceServiceGetWorkspaceResponse, error)

ParseWorkspaceServiceGetWorkspaceResponse parses an HTTP response from a WorkspaceServiceGetWorkspaceWithResponse call

func (WorkspaceServiceGetWorkspaceResponse) ContentType

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

func (WorkspaceServiceGetWorkspaceResponse) GetBody

GetBody returns the raw response body bytes

func (WorkspaceServiceGetWorkspaceResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WorkspaceServiceGetWorkspaceResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (WorkspaceServiceGetWorkspaceResponse) Status

Status returns HTTPResponse.Status

func (WorkspaceServiceGetWorkspaceResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkspaceServiceListInvitesParams added in v2.19.3

type WorkspaceServiceListInvitesParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}

WorkspaceServiceListInvitesParams defines parameters for WorkspaceServiceListInvites.

type WorkspaceServiceListInvitesResponse

type WorkspaceServiceListInvitesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiWorkspacesV1ListInvitesResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseWorkspaceServiceListInvitesResponse

func ParseWorkspaceServiceListInvitesResponse(rsp *http.Response) (*WorkspaceServiceListInvitesResponse, error)

ParseWorkspaceServiceListInvitesResponse parses an HTTP response from a WorkspaceServiceListInvitesWithResponse call

func (WorkspaceServiceListInvitesResponse) ContentType

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

func (WorkspaceServiceListInvitesResponse) GetBody

GetBody returns the raw response body bytes

func (WorkspaceServiceListInvitesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WorkspaceServiceListInvitesResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (WorkspaceServiceListInvitesResponse) Status

Status returns HTTPResponse.Status

func (WorkspaceServiceListInvitesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkspaceServiceListMembersParams added in v2.19.3

type WorkspaceServiceListMembersParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}

WorkspaceServiceListMembersParams defines parameters for WorkspaceServiceListMembers.

type WorkspaceServiceListMembersResponse

type WorkspaceServiceListMembersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiWorkspacesV1ListMembersResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseWorkspaceServiceListMembersResponse

func ParseWorkspaceServiceListMembersResponse(rsp *http.Response) (*WorkspaceServiceListMembersResponse, error)

ParseWorkspaceServiceListMembersResponse parses an HTTP response from a WorkspaceServiceListMembersWithResponse call

func (WorkspaceServiceListMembersResponse) ContentType

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

func (WorkspaceServiceListMembersResponse) GetBody

GetBody returns the raw response body bytes

func (WorkspaceServiceListMembersResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WorkspaceServiceListMembersResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (WorkspaceServiceListMembersResponse) Status

Status returns HTTPResponse.Status

func (WorkspaceServiceListMembersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkspaceServiceListProjectsParams

type WorkspaceServiceListProjectsParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}

WorkspaceServiceListProjectsParams defines parameters for WorkspaceServiceListProjects.

type WorkspaceServiceListProjectsResponse

type WorkspaceServiceListProjectsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiProjectsV1ListProjectsResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseWorkspaceServiceListProjectsResponse

func ParseWorkspaceServiceListProjectsResponse(rsp *http.Response) (*WorkspaceServiceListProjectsResponse, error)

ParseWorkspaceServiceListProjectsResponse parses an HTTP response from a WorkspaceServiceListProjectsWithResponse call

func (WorkspaceServiceListProjectsResponse) ContentType

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

func (WorkspaceServiceListProjectsResponse) GetBody

GetBody returns the raw response body bytes

func (WorkspaceServiceListProjectsResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WorkspaceServiceListProjectsResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (WorkspaceServiceListProjectsResponse) Status

Status returns HTTPResponse.Status

func (WorkspaceServiceListProjectsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkspaceServiceListWorkspacesParams

type WorkspaceServiceListWorkspacesParams struct {
	// PageCursor Opaque cursor returned by a prior page (PageInfo.nextCursor). Empty starts
	//  from the beginning.
	PageCursor *string `form:"page.cursor,omitempty" json:"page.cursor,omitempty"`

	// PagePageSize Maximum items to return; 0 lets the server pick a default.
	PagePageSize *int32 `form:"page.pageSize,omitempty" json:"page.pageSize,omitempty"`
}

WorkspaceServiceListWorkspacesParams defines parameters for WorkspaceServiceListWorkspaces.

type WorkspaceServiceListWorkspacesResponse

type WorkspaceServiceListWorkspacesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiWorkspacesV1ListWorkspacesResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseWorkspaceServiceListWorkspacesResponse

func ParseWorkspaceServiceListWorkspacesResponse(rsp *http.Response) (*WorkspaceServiceListWorkspacesResponse, error)

ParseWorkspaceServiceListWorkspacesResponse parses an HTTP response from a WorkspaceServiceListWorkspacesWithResponse call

func (WorkspaceServiceListWorkspacesResponse) ContentType

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

func (WorkspaceServiceListWorkspacesResponse) GetBody

GetBody returns the raw response body bytes

func (WorkspaceServiceListWorkspacesResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WorkspaceServiceListWorkspacesResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (WorkspaceServiceListWorkspacesResponse) Status

Status returns HTTPResponse.Status

func (WorkspaceServiceListWorkspacesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkspaceServiceUpdateMemberJSONBody

type WorkspaceServiceUpdateMemberJSONBody struct {
	// Role Access level to grant: 1 read, 2 write, 3 admin.
	Role *int32 `json:"role,omitempty"`
}

WorkspaceServiceUpdateMemberJSONBody defines parameters for WorkspaceServiceUpdateMember.

type WorkspaceServiceUpdateMemberJSONRequestBody

type WorkspaceServiceUpdateMemberJSONRequestBody WorkspaceServiceUpdateMemberJSONBody

WorkspaceServiceUpdateMemberJSONRequestBody defines body for WorkspaceServiceUpdateMember for application/json ContentType.

type WorkspaceServiceUpdateMemberResponse

type WorkspaceServiceUpdateMemberResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiWorkspacesV1UpdateMemberResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseWorkspaceServiceUpdateMemberResponse

func ParseWorkspaceServiceUpdateMemberResponse(rsp *http.Response) (*WorkspaceServiceUpdateMemberResponse, error)

ParseWorkspaceServiceUpdateMemberResponse parses an HTTP response from a WorkspaceServiceUpdateMemberWithResponse call

func (WorkspaceServiceUpdateMemberResponse) ContentType

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

func (WorkspaceServiceUpdateMemberResponse) GetBody

GetBody returns the raw response body bytes

func (WorkspaceServiceUpdateMemberResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WorkspaceServiceUpdateMemberResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (WorkspaceServiceUpdateMemberResponse) Status

Status returns HTTPResponse.Status

func (WorkspaceServiceUpdateMemberResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkspaceServiceUpdateWorkspaceJSONBody

type WorkspaceServiceUpdateWorkspaceJSONBody struct {
	// Name The workspace name.
	Name *string `json:"name,omitempty"`
}

WorkspaceServiceUpdateWorkspaceJSONBody defines parameters for WorkspaceServiceUpdateWorkspace.

type WorkspaceServiceUpdateWorkspaceJSONRequestBody

type WorkspaceServiceUpdateWorkspaceJSONRequestBody WorkspaceServiceUpdateWorkspaceJSONBody

WorkspaceServiceUpdateWorkspaceJSONRequestBody defines body for WorkspaceServiceUpdateWorkspace for application/json ContentType.

type WorkspaceServiceUpdateWorkspaceResponse

type WorkspaceServiceUpdateWorkspaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	// JSON200 the response for an HTTP 200 `application/json` response
	JSON200 *LivekitPublicapiWorkspacesV1UpdateWorkspaceResponse
	// JSONDefault the response for an HTTP default `application/json` response
	JSONDefault *GoogleRpcStatus
}

func ParseWorkspaceServiceUpdateWorkspaceResponse

func ParseWorkspaceServiceUpdateWorkspaceResponse(rsp *http.Response) (*WorkspaceServiceUpdateWorkspaceResponse, error)

ParseWorkspaceServiceUpdateWorkspaceResponse parses an HTTP response from a WorkspaceServiceUpdateWorkspaceWithResponse call

func (WorkspaceServiceUpdateWorkspaceResponse) ContentType

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

func (WorkspaceServiceUpdateWorkspaceResponse) GetBody

GetBody returns the raw response body bytes

func (WorkspaceServiceUpdateWorkspaceResponse) GetJSON200

GetJSON200 returns the response for an HTTP 200 `application/json` response

func (WorkspaceServiceUpdateWorkspaceResponse) GetJSONDefault added in v2.19.3

GetJSONDefault returns the response for an HTTP default `application/json` response

func (WorkspaceServiceUpdateWorkspaceResponse) Status

Status returns HTTPResponse.Status

func (WorkspaceServiceUpdateWorkspaceResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL